woocommerce/plugins/woocommerce-admin/packages/components/src/index.js

72 lines
3.6 KiB
JavaScript
Raw Normal View History

/**
* External dependencies
*/
import 'react-dates/initialize';
// The above: Turn on react-dates classes/styles, see https://github.com/airbnb/react-dates#initialize
export { default as AdvancedFilters } from './advanced-filters';
export { default as AnimationSlider } from './animation-slider';
export { default as Chart } from './chart';
export { default as ChartPlaceholder } from './chart/placeholder';
export { default as Card } from './card';
export { default as Count } from './count';
export { CompareButton, CompareFilter } from './compare-filter';
export { default as Date } from './date';
export { default as DateRangeFilterPicker } from './date-range-filter-picker';
2018-12-11 01:50:26 +00:00
export { default as DateRange } from './calendar/date-range';
export { default as DatePicker } from './calendar/date-picker';
export { default as DropdownButton } from './dropdown-button';
export { default as EllipsisMenu } from './ellipsis-menu';
export { default as EmptyContent } from './empty-content';
export { default as Flag } from './flag';
export { default as Form } from './form';
export { default as FilterPicker } from './filter-picker';
export { default as Gravatar } from './gravatar';
export { H, Section } from './section';
export { default as ImageUpload } from './image-upload';
export { default as Link } from './link';
Refactor <List> to support custom markup (https://github.com/woocommerce/woocommerce-admin/pull/6787) * Create the new experimental list, default to rendering it when items are not supplied. * Remove typings from the List, ListItem. * Add react-transition-group as dependency. * Fix warnings by wrapping with CSS transition, pass down props from List. * Remove type annotations left in list-item. * Duplicate some styles in the higher level woocommerce-list-item element, to make them work in the new list. * Fix accessibility issues, adjust the role logic * Add more testing of the roles logic. * Mark the old list stories as deprecated, add a basic story for the new style. * Expose ListItem without Experimental in the name. * Remove some redundant code changes. * Fix linting issues * Add types package. * Cast the type of children to TransitionGroup. * Adjust the list to assume a purpose of being a list of links. * Adjust the tests for the new behaviour. * Fix css mangled by prettier. * Fix types that are optional. * Rework the list item. * Export new list as experimental, fix accessibility styles and deprecation notice. * Make the basic transition opt-in. * Update classnames to get types. * Add tests, adjust behaviour for css disable. * Fix css lint, remove types/classnames, update tetsing-library/user-event. * Fix the basic story for ExperimentalList. * Conditionally add keyDown and role based on onClick handler. Adjust tests to new behaviour. * tabIndex only on hasAction * Update the package-lock * Add changelog * Fix transition styling Co-authored-by: Paul Sealock <psealock@gmail.com> Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-04-23 18:47:43 +00:00
export {
default as List,
ExperimentalList as __experimentalList,
ExperimentalListItem as __experimentalListItem,
ExperimentalListItemCollapse as __experimentalListItemCollapse,
ExperimentalCollapsibleList as __experimentalCollapsibleList,
Refactor <List> to support custom markup (https://github.com/woocommerce/woocommerce-admin/pull/6787) * Create the new experimental list, default to rendering it when items are not supplied. * Remove typings from the List, ListItem. * Add react-transition-group as dependency. * Fix warnings by wrapping with CSS transition, pass down props from List. * Remove type annotations left in list-item. * Duplicate some styles in the higher level woocommerce-list-item element, to make them work in the new list. * Fix accessibility issues, adjust the role logic * Add more testing of the roles logic. * Mark the old list stories as deprecated, add a basic story for the new style. * Expose ListItem without Experimental in the name. * Remove some redundant code changes. * Fix linting issues * Add types package. * Cast the type of children to TransitionGroup. * Adjust the list to assume a purpose of being a list of links. * Adjust the tests for the new behaviour. * Fix css mangled by prettier. * Fix types that are optional. * Rework the list item. * Export new list as experimental, fix accessibility styles and deprecation notice. * Make the basic transition opt-in. * Update classnames to get types. * Add tests, adjust behaviour for css disable. * Fix css lint, remove types/classnames, update tetsing-library/user-event. * Fix the basic story for ExperimentalList. * Conditionally add keyDown and role based on onClick handler. Adjust tests to new behaviour. * tabIndex only on hasAction * Update the package-lock * Add changelog * Fix transition styling Co-authored-by: Paul Sealock <psealock@gmail.com> Co-authored-by: Lourens Schep <lourensschep@gmail.com>
2021-04-23 18:47:43 +00:00
} from './list';
export { default as MenuItem } from './ellipsis-menu/menu-item';
export { default as MenuTitle } from './ellipsis-menu/menu-title';
export { default as OrderStatus } from './order-status';
export { default as Pagination } from './pagination';
export { default as Pill } from './pill';
export { default as Plugins } from './plugins';
export { default as ProductImage } from './product-image';
export { default as ProductRating } from './rating/product';
export { default as Rating } from './rating';
export { default as ReportFilters } from './filters';
export { default as ReviewRating } from './rating/review';
export { default as Search } from './search';
export { default as SearchListControl } from './search-list-control';
export { default as SearchListItem } from './search-list-control/item';
export { default as SectionHeader } from './section-header';
export { default as SegmentedSelection } from './segmented-selection';
export { default as SelectControl } from './select-control';
export { default as ScrollTo } from './scroll-to';
export { default as Spinner } from './spinner';
export { default as Stepper } from './stepper';
export { default as SummaryList } from './summary';
export { default as SummaryListPlaceholder } from './summary/placeholder';
export { SummaryNumberPlaceholder } from './summary/placeholder';
export { default as SummaryNumber } from './summary/number';
export { default as Table } from './table/table';
export { default as TableCard } from './table';
export { default as EmptyTable } from './table/empty';
export { default as TablePlaceholder } from './table/placeholder';
export { default as TableSummary } from './table/summary';
export { default as Tag } from './tag';
export { default as TextControl } from './text-control';
export { default as TextControlWithAffixes } from './text-control-with-affixes';
export { default as Timeline } from './timeline';
export { default as useFilters } from './higher-order/use-filters';
export { default as ViewMoreList } from './view-more-list';
export { default as WebPreview } from './web-preview';
export { Badge } from './badge';