insomnia/packages/insomnia-components/index.js
Mike Ellan b7bc88a326
Design sidebar (#2328)
* updated lock file

* Rolling sidebar from SB into application

* Type fix on the method label output

* Update packages/insomnia-components/components/sidebar.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* PR Feedback - Keys, useCallback Hook

* stubbing component breakout

* PR Feedback

- Breaking out most UI elements into components
- Filter component in place
- Various CSS tweaks

* Removing unused file

* Updating toggle

* Resuable sidebar section (#2359)

* Introduce resuable sidebar section
* Stop eslint complaining
* add react-use
* Lint fixes
* Make the storybook story less wide

* Component development

Abstracting out line level components i.e.
Section > Header > Filter > Panel > Items

Various code fixes

* Cleaning up section visibility state

* Reverting visibiilty state updater

* Adding paths on click for spec scrolling

* refreshing package-lock to resolve conflict

* PR feedback for sidebar components

* Update packages/insomnia-components/components/sidebar/sidebar-header.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Including lock

* Merge fix

* Component structuring, prop clean-up, css updates

* Cleaning up components, pr feedback, fixing styling

* array index reference clean-up/clarity

* Leveraging useToggle rather than manual useState toggling

* Cleaning up logs

* Hide info section if missing from spec.

* Update packages/insomnia-components/components/sidebar/sidebar-responses.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Update packages/insomnia-components/components/sidebar/sidebar-schemas.js

Co-authored-by: Opender Singh <opender94@gmail.com>

* Pull fragment

* Destructuring and filter cleanup

* Clearing filter value and DOM on section collapse

* Merge latest

* Merge conflict cleanup

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-07-22 09:13:06 -04:00

41 lines
1.7 KiB
JavaScript

import _Breadcrumb from './components/breadcrumb';
import _Button from './components/button';
import _Card from './components/card';
import _CardContainer from './components/card-container';
import _Dropdown from './components/dropdown/dropdown';
import _DropdownDivider from './components/dropdown/dropdown-divider';
import _DropdownItem from './components/dropdown/dropdown-item';
import _GravatarImg from './components/gravatar-img';
import _Header from './components/header';
import _MultiSwitch from './components/multi-switch';
import _NoticeTable from './components/notice-table';
import _SvgIcon from './components/svg-icon';
import _Sidebar from './components/sidebar/';
import _RadioButtonGroup from './components/radio-button-group';
import _Switch from './components/switch';
import _ToggleSwitch from './components/toggle-switch';
import * as table from './components/table';
export const Breadcrumb = _Breadcrumb;
export const Button = _Button;
export const Card = _Card;
export const CardContainer = _CardContainer;
export const Dropdown = _Dropdown;
export const DropdownDivider = _DropdownDivider;
export const DropdownItem = _DropdownItem;
export const GravatarImg = _GravatarImg;
export const Header = _Header;
export const MultiSwitch = _MultiSwitch;
export const NoticeTable = _NoticeTable;
export const RadioButtonGroup = _RadioButtonGroup;
export const SvgIcon = _SvgIcon;
export const Switch = _Switch;
export const Sidebar = _Sidebar;
export const Table = table.Table;
export const TableBody = table.TableBody;
export const TableData = table.TableData;
export const TableHead = table.TableHead;
export const TableHeader = table.TableHeader;
export const TableRow = table.TableRow;
export const ToggleSwitch = _ToggleSwitch;