insomnia/packages/insomnia-components/index.js
Mike Ellan 1774bc72e2
Unit testing test output (#2533)
* Adding list group component with stubbed badge & list item

* Cleaning up stories, error padding tweak

* Results list item padding fix

* Review feedback and component provisioning

Shift to functional components
Abstract both list and list item away for re-use
Roll unit test result specific styling into UT source
Roll supporting UI over including badges > extend SC for flavors
Shift timestamp to render the value, JSX handling formatting

* Renaming UT specific badges

* List group and unit test wrapper component updates

- Pulled unit test results list item into SB
- All unique aspects of UT results are bundled in the IC which extend base item
- Cleansed UT wrapper of inline components
- Setting up list group and list group item base for middle area

* Abstrating badges, timestamp and updating unit test wrapper

* Update packages/insomnia-components/components/list-group/unit-test-result-badge.js

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

* Update packages/insomnia-components/components/list-group/unit-test-result-item.js

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

* Dep cleanup, PR feedback

Co-authored-by: Opender Singh <opender94@gmail.com>
2020-08-27 18:09:13 -04:00

47 lines
2.0 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 _ListGroup from './components/list-group/list-group';
import _ListGroupItem from './components/list-group/list-group-item';
import _UnitTestResultItem from './components/list-group/unit-test-result-item';
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 ListGroup = _ListGroup;
export const ListGroupItem = _ListGroupItem;
export const UnitTestResultItem = _UnitTestResultItem;
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;