@wix/design-system 1.192.0 → 1.194.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Accordion/Accordion.st.css.js +2 -2
- package/dist/cjs/Accordion/components/AccordionItem/AccordionItem.st.css.js +2 -2
- package/dist/cjs/Accordion/components/AccordionItemCaret/AccordionItemCaret.st.css.js +2 -2
- package/dist/cjs/AddItem/AddItem.st.css.js +2 -2
- package/dist/cjs/AddressInputItem/AddressInputItem.st.css.js +2 -2
- package/dist/cjs/AnalyticsLayout/AnalyticsLayout.st.css.js +2 -2
- package/dist/cjs/AnalyticsLayout/Cell/Cell.st.css.js +2 -2
- package/dist/cjs/AnalyticsSummaryCard/AnalyticsSummaryCard.st.css.js +2 -2
- package/dist/cjs/AngleInput/AngleInput.st.css.js +2 -2
- package/dist/cjs/AnnouncementModalLayout/AnnouncementModalLayout.st.css.js +2 -2
- package/dist/cjs/AreaChart/AreaChart.st.css.js +2 -2
- package/dist/cjs/AudioPlayer/AudioPlayer.st.css.js +3 -3
- package/dist/cjs/AutoCompleteWithLabel/AutoCompleteWithLabel.st.css.js +2 -2
- package/dist/cjs/Avatar/Avatar.st.css.js +2 -2
- package/dist/cjs/Avatar/AvatarCore/AvatarCore.st.css.js +2 -2
- package/dist/cjs/AvatarGroup/AvatarGroup.st.css.js +2 -2
- package/dist/cjs/Badge/Badge.st.css.js +2 -2
- package/dist/cjs/BadgeSelect/BadgeSelect.st.css.js +2 -2
- package/dist/cjs/BadgeSelectItem/BadgeSelectItem.st.css.js +2 -2
- package/dist/cjs/BarChart/BarChart.st.css.js +3 -3
- package/dist/cjs/BaseModalLayout/BaseModalLayout.st.css.js +2 -2
- package/dist/cjs/BaseModalLayout/LayoutBlocks/Content/Content.st.css.js +2 -2
- package/dist/cjs/BaseModalLayout/LayoutBlocks/Footer/Footer.st.css.js +2 -2
- package/dist/cjs/BaseModalLayout/LayoutBlocks/Footnote/Footnote.st.css.js +2 -2
- package/dist/cjs/BaseModalLayout/LayoutBlocks/Header/Header.st.css.js +2 -2
- package/dist/cjs/BaseModalLayout/LayoutBlocks/Illustration/Illustration.st.css.js +2 -2
- package/dist/cjs/BounceAnimation/BounceAnimation.st.css.js +3 -3
- package/dist/cjs/Box/Box.st.css.js +3 -3
- package/dist/cjs/Breadcrumbs/Breadcrumbs.st.css.js +2 -2
- package/dist/cjs/BrowserPreviewWidget/BrowserPreviewWidget.st.css.js +2 -2
- package/dist/cjs/Button/Button.st.css.js +2 -2
- package/dist/cjs/Button/ButtonCore/ButtonCore.st.css.js +2 -2
- package/dist/cjs/Calendar/BaseCalendar/BaseCalendar.st.css.js +2 -2
- package/dist/cjs/Calendar/Calendar.st.css.js +2 -2
- package/dist/cjs/Calendar/DatePickerDropdown/DatePickerDropdown.st.css.js +2 -2
- package/dist/cjs/Calendar/DatePickerHead/DatePickerHead.st.css.js +2 -2
- package/dist/cjs/Calendar/DatePickerHead/MonthDropdown/MonthDropdown.st.css.js +2 -2
- package/dist/cjs/Calendar/DatePickerHead/YearDropdown/YearDropdown.st.css.js +2 -2
- package/dist/cjs/CalendarPanel/CalendarPanel.st.css.js +2 -2
- package/dist/cjs/Card/Card.st.css.js +2 -2
- package/dist/cjs/Card/components/Content/Content.st.css.js +2 -2
- package/dist/cjs/Card/components/Header/Header.st.css.js +2 -2
- package/dist/cjs/Card/components/Subheader/Subheader.st.css.js +2 -2
- package/dist/cjs/CardFolderTabs/CardFolderTabs.st.css.js +3 -3
- package/dist/cjs/CardGalleryItem/CardGalleryItem.st.css.js +2 -2
- package/dist/cjs/Carousel/Carousel.st.css.js +3 -3
- package/dist/cjs/Carousel/Pagination/Pagination.st.css.js +2 -2
- package/dist/cjs/CarouselWIP/CarouselWIP.st.css.js +3 -3
- package/dist/cjs/CheckToggle/CheckToggle.st.css.js +2 -2
- package/dist/cjs/Checkbox/Checkbox.st.css.js +2 -2
- package/dist/cjs/CircularProgressBar/CircularProgressBar.st.css.js +2 -2
- package/dist/cjs/CircularProgressBar/CircularProgressBarCore/CircularProgressBarCore.st.css.js +2 -2
- package/dist/cjs/ClickableCard/ClickableCard.st.css.js +2 -2
- package/dist/cjs/CloseButton/CloseButton.st.css.js +2 -2
- package/dist/cjs/Collapse/Collapse.st.css.js +2 -2
- package/dist/cjs/ColorInput/components/ColorViewer.st.css.js +2 -2
- package/dist/cjs/ColorInput/components/Hash.st.css.js +2 -2
- package/dist/cjs/ColorPicker/ColorPicker.st.css.js +2 -2
- package/dist/cjs/ColorPicker/ColorPickerActions.st.css.js +2 -2
- package/dist/cjs/ColorPicker/ColorPickerConverter.st.css.js +2 -2
- package/dist/cjs/ColorPicker/ColorPickerHistory.st.css.js +2 -2
- package/dist/cjs/ColorPicker/ColorPickerHsb.st.css.js +2 -2
- package/dist/cjs/ColorPicker/ColorPickerHue.st.css.js +2 -2
- package/dist/cjs/ComposerButton/ComposerButton.st.css.js +2 -2
- package/dist/cjs/ComposerHeader/ComposerHeader.st.css.js +2 -2
- package/dist/cjs/ComposerSidebar/ComposerSidebar.st.css.js +2 -2
- package/dist/cjs/CornerRadiusInput/CornerRadiusInput.st.css.js +2 -2
- package/dist/cjs/CounterBadge/CounterBadge.st.css.js +2 -2
- package/dist/cjs/CustomModalLayout/CustomModalLayout.st.css.js +2 -2
- package/dist/cjs/DatePicker/DatePicker.st.css.js +2 -2
- package/dist/cjs/Divider/Divider.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/Introduction/IntroductionExample.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableGridBase/SingleAreaGrid/SingleAreaGrid.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/ListWithDelay/ListWithDelay.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/MultiAreaList/MultiAreaList.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/MultiAreaListPreventOfDropping/MultiAreaListPreventDropping.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/MultiAreaListWithInsertionRules/MultiAreaListWithInsertionRules.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/MultiAreaListWithSortableColumns/MultiAreaListWithSortableColumns.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/MultiAreaListWithSortableColumnsWithAnimations/MultiAreaListWithSortableColumnsWithAnimations.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/NestableListBaseExample/NestableListBase.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/SingleAreaList/SingleAreaList.st.css.js +2 -2
- package/dist/cjs/DragAndDrop/docs/SortableListBase/SingleAreaListWithAnimation/SingleAreaListWithAnimation.st.css.js +2 -2
- package/dist/cjs/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/cjs/DraggableContainer/DraggableContainer.st.css.js +2 -2
- package/dist/cjs/Dropdown/Dropdown.st.css.js +2 -2
- package/dist/cjs/DropdownBase/DropdownBase.st.css.js +2 -2
- package/dist/cjs/DropdownLayout/DropdownLayout.st.css.js +2 -2
- package/dist/cjs/Dropzone/Dropzone.st.css.js +2 -2
- package/dist/cjs/EditableSelector/EditableSelector.st.css.js +2 -2
- package/dist/cjs/EditableTitle/EditableTitle.st.css.js +2 -2
- package/dist/cjs/EmptyState/EmptyState.st.css.js +2 -2
- package/dist/cjs/FacesRatingBar/FacesRatingBar.st.css.js +2 -2
- package/dist/cjs/FeatureList/FeatureList.st.css.js +2 -2
- package/dist/cjs/FieldSet/FieldSet.st.css.js +2 -2
- package/dist/cjs/FieldSet/components/Asterisk/Asterisk.st.css.js +2 -2
- package/dist/cjs/FieldSet/components/InfoContentIcon/InfoContentIcon.st.css.js +2 -2
- package/dist/cjs/FieldSet/components/InlineLabelWrapper/InlineLabelWrapper.st.css.js +2 -2
- package/dist/cjs/FieldSet/components/Label/Label.st.css.js +2 -2
- package/dist/cjs/FieldSet/components/StatusMessage/StatusMessage.st.css.js +2 -2
- package/dist/cjs/FieldSet/components/Suffix/Suffix.st.css.js +2 -2
- package/dist/cjs/FilePicker/FilePicker.st.css.js +2 -2
- package/dist/cjs/FillButton/FillButton.st.css.js +2 -2
- package/dist/cjs/FillPreview/FillPreview.st.css.js +2 -2
- package/dist/cjs/FloatingHelper/FloatingHelper.st.css.js +2 -2
- package/dist/cjs/FloatingHelper/FloatingHelperContent/FloatingHelperContent.st.css.js +2 -2
- package/dist/cjs/FloatingNotification/FloatingNotification.st.css.js +2 -2
- package/dist/cjs/FormField/FormField.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/border.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/breakpoints.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/colors.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/default-scroll-bar.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/easing.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/gradients.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/opacity.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/shadows.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/spacing.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/typography.st.css.js +2 -2
- package/dist/cjs/Foundation/stylable/z-index.st.css.js +2 -2
- package/dist/cjs/FunnelChart/FunnelBadge/FunnelBadge.st.css.js +2 -2
- package/dist/cjs/FunnelChart/FunnelBar/FunnelBar.st.css.js +2 -2
- package/dist/cjs/FunnelChart/FunnelChart.st.css.js +2 -2
- package/dist/cjs/FunnelChart/FunnelLabel/FunnelLabel.st.css.js +2 -2
- package/dist/cjs/FunnelChart/FunnelStep/FunnelStep.st.css.js +2 -2
- package/dist/cjs/GoogleAddressInput/GoogleAddressInput.st.css.js +2 -2
- package/dist/cjs/GooglePreview/GooglePreview.st.css.js +2 -2
- package/dist/cjs/Heading/Heading.st.css.js +2 -2
- package/dist/cjs/Highlighter/Highlighter.st.css.js +2 -2
- package/dist/cjs/HorizontalScroll/HorizontalScroll.st.css.js +2 -2
- package/dist/cjs/HorizontalTimeline/HorizontalTimeline.st.css.js +2 -2
- package/dist/cjs/HorizontalTimeline/HorizontalTimelineIcons.st.css.js +3 -3
- package/dist/cjs/IconButton/IconButton.st.css.js +2 -2
- package/dist/cjs/Image/Image.js +1 -1
- package/dist/cjs/Image/Image.js.map +1 -1
- package/dist/cjs/Image/Image.st.css.js +4 -3
- package/dist/cjs/ImageViewer/ImageViewer.st.css.js +2 -2
- package/dist/cjs/InfoIcon/InfoIcon.st.css.js +2 -2
- package/dist/cjs/Input/Input.st.css.js +3 -3
- package/dist/cjs/Input/components/Affix/Affix.st.css.js +2 -2
- package/dist/cjs/Input/components/Group/Group.st.css.js +2 -2
- package/dist/cjs/Input/components/IconAffix/IconAffix.st.css.js +2 -2
- package/dist/cjs/Input/components/Ticker/Ticker.st.css.js +2 -2
- package/dist/cjs/InputArea/InputArea.st.css.js +3 -3
- package/dist/cjs/InputShell/InputShell.st.css.js +3 -3
- package/dist/cjs/InputWithLabel/InputWithLabel.st.css.js +2 -2
- package/dist/cjs/InputWithOptions/InputWithOptions.st.css.js +2 -2
- package/dist/cjs/LabelledElement/LabelledElement.st.css.js +2 -2
- package/dist/cjs/Layout/Cell/Cell.st.css.js +2 -2
- package/dist/cjs/Layout/Layout.st.css.js +2 -2
- package/dist/cjs/LinearProgressBar/LinearProgressBar.st.css.js +2 -2
- package/dist/cjs/LinearProgressBar/LinearProgressBarCore/LinearProgressBarCore.st.css.js +2 -2
- package/dist/cjs/ListItemAction/ListItemAction.st.css.js +2 -2
- package/dist/cjs/ListItemEditable/ListItemEditable.st.css.js +2 -2
- package/dist/cjs/ListItemSection/ListItemSection.st.css.js +2 -2
- package/dist/cjs/ListItemSelect/ListItemSelect.st.css.js +2 -2
- package/dist/cjs/ListItemSelectIcon/ListItemSelectIcon.st.css.js +2 -2
- package/dist/cjs/LiveRegion/LiveRegion.st.css.js +2 -2
- package/dist/cjs/Loader/Loader.st.css.js +3 -3
- package/dist/cjs/MarketingLayout/MarketingLayout.st.css.js +3 -3
- package/dist/cjs/MarketingPageLayout/MarketingPageLayout.st.css.js +2 -2
- package/dist/cjs/MarketingPageLayoutContent/MarketingPageLayoutContent.st.css.js +2 -2
- package/dist/cjs/MediaOverlay/MediaOverlay.st.css.js +2 -2
- package/dist/cjs/MessageBoxFunctionalLayout/MessageBoxFunctionalLayout.st.css.js +2 -2
- package/dist/cjs/MessageBoxMarketerialLayout/MessageBoxMarketerialLayout.st.css.js +2 -2
- package/dist/cjs/MessageModalLayout/MessageModalLayout.st.css.js +2 -2
- package/dist/cjs/MobilePreviewWidget/MobilePreviewWidget.st.css.js +2 -2
- package/dist/cjs/Modal/Modal.st.css.js +2 -2
- package/dist/cjs/ModalMobileLayout/ModalMobileLayout.st.css.js +2 -2
- package/dist/cjs/ModalMobileLayout/components/Footer/Footer.st.css.js +2 -2
- package/dist/cjs/ModalMobileLayout/components/Title/Title.st.css.js +2 -2
- package/dist/cjs/ModalPreviewLayout/ModalPreviewLayout.st.css.js +2 -2
- package/dist/cjs/ModalSelectorLayout/ModalSelectorLayout.st.css.js +2 -2
- package/dist/cjs/MultiSelect/InputWithTags.st.css.js +2 -2
- package/dist/cjs/MultiSelect/MultiSelect.st.css.js +2 -2
- package/dist/cjs/MultiSelectCheckbox/MultiSelectCheckbox.st.css.js +2 -2
- package/dist/cjs/NavigationToast/NavigationToast.st.css.js +2 -2
- package/dist/cjs/NestableList/NestableList.st.css.js +2 -2
- package/dist/cjs/NestableList/NestableListTheme.st.css.js +2 -2
- package/dist/cjs/Notification/Notification.st.css.js +2 -2
- package/dist/cjs/Page/Page.st.css.js +4 -4
- package/dist/cjs/Page/components/Footer/Footer.st.css.js +2 -2
- package/dist/cjs/Page/components/Footer/components/Center/Center.st.css.js +2 -2
- package/dist/cjs/Page/components/Footer/components/End/End.st.css.js +2 -2
- package/dist/cjs/Page/components/Footer/components/Start/Start.st.css.js +2 -2
- package/dist/cjs/Page/components/Header/Header.st.css.js +2 -2
- package/dist/cjs/Page/components/Section/Section.st.css.js +2 -2
- package/dist/cjs/Page/test/examples/BMPageContainer.st.css.js +2 -2
- package/dist/cjs/Page/test/examples/PageStory.st.css.js +2 -2
- package/dist/cjs/Page/test/examples/testExamples.st.css.js +2 -2
- package/dist/cjs/Pagination/Pagination.st.css.js +2 -2
- package/dist/cjs/Pagination/PaginationCore/PaginationCore.st.css.js +2 -2
- package/dist/cjs/Pagination/PaginationCore/PaginationCoreTest.st.css.js +2 -2
- package/dist/cjs/Palette/Palette.st.css.js +2 -2
- package/dist/cjs/Popover/Popover.st.css.js +2 -2
- package/dist/cjs/PopoverMenu/PopoverMenu.st.css.js +2 -2
- package/dist/cjs/PopoverNext/PopoverNext.st.css.js +2 -2
- package/dist/cjs/PopoverNext/components/Content/Content.st.css.js +2 -2
- package/dist/cjs/PreviewWidget/PreviewWidget.st.css.js +2 -2
- package/dist/cjs/Proportion/Proportion.st.css.js +2 -2
- package/dist/cjs/PulseAnimation/PulseAnimation.st.css.js +3 -3
- package/dist/cjs/RadarChart/RadarChart.st.css.js +2 -2
- package/dist/cjs/Radio/Radio.st.css.js +2 -2
- package/dist/cjs/RadioGroup/RadioGroup.st.css.js +2 -2
- package/dist/cjs/Range/Range.st.css.js +2 -2
- package/dist/cjs/RichTextInputArea/Form/RichTextInputAreaForm.st.css.js +2 -2
- package/dist/cjs/RichTextInputArea/RichTextInputArea.st.css.js +3 -3
- package/dist/cjs/RichTextInputArea/Toolbar/RichTextToolbarButton.st.css.js +2 -2
- package/dist/cjs/Search/Search.st.css.js +2 -2
- package/dist/cjs/SectionHeader/SectionHeader.st.css.js +3 -3
- package/dist/cjs/SectionHelper/SectionHelper.st.css.js +2 -2
- package/dist/cjs/SegmentedToggle/SegmentedToggle.st.css.js +2 -2
- package/dist/cjs/SegmentedToggle/ToggleButton/ToggleButton.st.css.js +2 -2
- package/dist/cjs/SegmentedToggle/ToggleIcon/ToggleIcon.st.css.js +2 -2
- package/dist/cjs/SelectableAccordion/Item/Item.st.css.js +2 -2
- package/dist/cjs/SelectableAccordion/SelectableAccordion.st.css.js +2 -2
- package/dist/cjs/Selector/ProgressBar/ProgressBar.st.css.js +2 -2
- package/dist/cjs/Selector/Selector.st.css.js +2 -2
- package/dist/cjs/SelectorButton/SelectorButton.st.css.js +2 -2
- package/dist/cjs/SelectorList/Content/Content.st.css.js +2 -2
- package/dist/cjs/SelectorList/SelectorList.st.css.js +2 -2
- package/dist/cjs/SidePanel/SidePanel.st.css.js +2 -2
- package/dist/cjs/SidePanel/components/Content/Content.st.css.js +2 -2
- package/dist/cjs/SidePanel/components/Divider/Divider.st.css.js +2 -2
- package/dist/cjs/SidePanel/components/Field/Field.st.css.js +3 -3
- package/dist/cjs/SidePanel/components/Footer/Footer.st.css.js +2 -2
- package/dist/cjs/SidePanel/components/Header/Header.st.css.js +2 -2
- package/dist/cjs/SidePanel/components/Section/Section.st.css.js +2 -2
- package/dist/cjs/Sidebar/Sidebar.st.css.js +3 -3
- package/dist/cjs/Sidebar/colors.st.css.js +2 -2
- package/dist/cjs/SidebarBackButton/SidebarBackButton.st.css.js +3 -3
- package/dist/cjs/SidebarDivider/SidebarDivider.st.css.js +2 -2
- package/dist/cjs/SidebarDividerNext/SidebarDividerNext.st.css.js +2 -2
- package/dist/cjs/SidebarHeader/SidebarHeader.st.css.js +2 -2
- package/dist/cjs/SidebarHeaderNext/SidebarHeaderNext.st.css.js +2 -2
- package/dist/cjs/SidebarItemNext/SidebarItemNext.st.css.js +2 -2
- package/dist/cjs/SidebarNext/SidebarNext.st.css.js +2 -2
- package/dist/cjs/SidebarNext/components/SidebarSkeleton.st.css.js +3 -3
- package/dist/cjs/SidebarNext/components/ToggleButton.st.css.js +2 -2
- package/dist/cjs/SidebarSectionItem/SidebarSectionItem.st.css.js +2 -2
- package/dist/cjs/SidebarSectionTitle/SidebarSectionTitle.st.css.js +2 -2
- package/dist/cjs/SidebarSubMenuNext/SidebarSubMenuNext.st.css.js +3 -3
- package/dist/cjs/SidebarTitleItemNext/SidebarTitleItemNext.st.css.js +2 -2
- package/dist/cjs/Skeleton/Skeleton.st.css.js +3 -3
- package/dist/cjs/SkeletonCircle/SkeletonCircle.st.css.js +2 -2
- package/dist/cjs/SkeletonGroup/SkeletonGroup.st.css.js +4 -4
- package/dist/cjs/SkeletonLine/SkeletonLine.st.css.js +2 -2
- package/dist/cjs/SkeletonRectangle/SkeletonRectangle.st.css.js +2 -2
- package/dist/cjs/Slider/Slider.st.css.js +2 -2
- package/dist/cjs/SocialButton/SocialButton.st.css.js +2 -2
- package/dist/cjs/SocialPostPreview/SocialPostPreview.st.css.js +2 -2
- package/dist/cjs/SocialPostPreview/components/FacebookPost.st.css.js +2 -2
- package/dist/cjs/SocialPostPreview/components/InstagramPost.st.css.js +2 -2
- package/dist/cjs/SocialPreview/SocialPreview.st.css.js +2 -2
- package/dist/cjs/SortableGridBase/SortableGridBase.st.css.js +2 -2
- package/dist/cjs/SparklineChart/ChartTooltip.st.css.js +2 -2
- package/dist/cjs/SparklineChart/SparklineChart.st.css.js +2 -2
- package/dist/cjs/StackedBarChart/StackedBarChart.st.css.js +2 -2
- package/dist/cjs/StarsRatingBar/components/StarsRatingBar.st.css.js +2 -2
- package/dist/cjs/StarsRatingBar/index.d.js +0 -6
- package/dist/cjs/StarsRatingBar/index.d.js.map +1 -1
- package/dist/cjs/StatisticsWidget/StatisticsItem/StatisticsItem.st.css.js +2 -2
- package/dist/cjs/StatisticsWidget/StatisticsWidget.st.css.js +2 -2
- package/dist/cjs/StatusIndicator/StatusIndicator.st.css.js +4 -3
- package/dist/cjs/StatusToast/StatusToast.st.css.js +2 -2
- package/dist/cjs/Stepper/Stepper.st.css.js +2 -2
- package/dist/cjs/Stepper/components/Step.st.css.js +2 -2
- package/dist/cjs/Stepper/components/StepMarker.st.css.js +2 -2
- package/dist/cjs/Table/DataTable/DataTable.st.css.js +2 -2
- package/dist/cjs/Table/DataTable/components/DataTableRow.st.css.js +2 -2
- package/dist/cjs/Table/DataTable/components/DataTableRowVirtual.st.css.js +2 -2
- package/dist/cjs/Table/DataTable/docs/Example.st.css.js +2 -2
- package/dist/cjs/Table/FloatingScrollBar/FloatingScrollBar.st.css.js +2 -2
- package/dist/cjs/Table/Table.st.css.js +2 -2
- package/dist/cjs/TableActionCell/TableActionCell.st.css.js +2 -2
- package/dist/cjs/TableListHeader/TableListHeader.st.css.js +2 -2
- package/dist/cjs/TableListItem/TableListItem.st.css.js +3 -3
- package/dist/cjs/TableToolbar/TableToolbar.st.css.js +2 -2
- package/dist/cjs/Tabs/Tabs.st.css.js +2 -2
- package/dist/cjs/Tag/Tag.st.css.js +2 -2
- package/dist/cjs/TagList/TagList.st.css.js +2 -2
- package/dist/cjs/TestimonialList/TestimonialList.st.css.js +2 -2
- package/dist/cjs/Text/Caption.st.css.js +2 -2
- package/dist/cjs/Text/Text.st.css.js +2 -2
- package/dist/cjs/TextButton/TextButton.st.css.js +2 -2
- package/dist/cjs/Themes/brand/Brand.st.css.js +2 -2
- package/dist/cjs/Themes/brand/Foundations/colors.st.css.js +2 -2
- package/dist/cjs/Themes/brand/components/Button/Button.st.css.js +2 -2
- package/dist/cjs/Themes/brand/components/Heading/Heading.st.css.js +2 -2
- package/dist/cjs/Themes/brand/components/InputWithLabel/InputWithLabel.st.css.js +2 -2
- package/dist/cjs/Themes/brand/components/InputWithLabel/LabelledElement.st.css.js +2 -2
- package/dist/cjs/Themes/brand/components/Text/Text.st.css.js +2 -2
- package/dist/cjs/Thumbnail/Thumbnail.st.css.js +2 -2
- package/dist/cjs/TimeInput/TimeInput.st.css.js +2 -2
- package/dist/cjs/TimeTable/TimeTable.st.css.js +2 -2
- package/dist/cjs/TimeTable/components/Item.st.css.js +2 -2
- package/dist/cjs/Timeline/Timeline.st.css.js +2 -2
- package/dist/cjs/Timeline/TimelineItem.st.css.js +3 -3
- package/dist/cjs/Toast/Toast.st.css.js +2 -2
- package/dist/cjs/ToastContainer/ToastContainer.st.css.js +2 -2
- package/dist/cjs/ToggleButton/ToggleButton.st.css.js +2 -2
- package/dist/cjs/ToggleSwitch/ToggleSwitch.st.css.js +2 -2
- package/dist/cjs/ToggleSwitch/ToggleSwitchCore/ToggleSwitchCore.st.css.js +2 -2
- package/dist/cjs/ToggleSwitch/ToggleSwitchCore/ToggleSwitchCoreColor.st.css.js +2 -2
- package/dist/cjs/ToggleSwitch/ToggleSwitchCore/ToggleSwitchCoreLayout.st.css.js +2 -2
- package/dist/cjs/ToggleSwitch/ToggleSwitchCore/ToggleSwitchCoreStyle.st.css.js +2 -2
- package/dist/cjs/Tooltip/Tooltip.st.css.js +2 -2
- package/dist/cjs/TopBanner/TopBanner.st.css.js +2 -2
- package/dist/cjs/TrendIndicator/TrendIndicator.st.css.js +2 -2
- package/dist/cjs/VariableInput/VariableInput.st.css.js +3 -3
- package/dist/cjs/VerticalTabsIconItem/VerticalTabsIconItem.st.css.js +3 -3
- package/dist/cjs/VerticalTabsItem/VerticalTabsItem.st.css.js +3 -3
- package/dist/cjs/WixDesignSystemProvider/WixDesignSystemProvider.st.css.js +2 -2
- package/dist/cjs/WixDesignSystemProvider/madefor.st.css.js +2 -2
- package/dist/cjs/WixDesignSystemProvider/newColorsBranding.st.css.js +2 -2
- package/dist/cjs/common/AdaptiveHeading/AdaptiveHeading.st.css.js +2 -2
- package/dist/cjs/common/Ellipsis/Ellipsis.st.css.js +3 -3
- package/dist/cjs/common/Ellipsis/components/TextComponent/TextComponent.st.css.js +3 -3
- package/dist/cjs/common/FluidColumns/FluidColumns.st.css.js +3 -3
- package/dist/cjs/common/Focusable/Focusable.st.css.js +2 -2
- package/dist/cjs/common/styles/visuallyHidden.st.css.js +2 -2
- package/dist/cjs/dnd-styles/dnd-styles.st.css.js +2 -2
- package/dist/cjs/providers/useOverlayScrollbar/useOverlayScrollbar.initialization.st.css.js +3 -3
- package/dist/cjs/providers/useOverlayScrollbar/useOverlayScrollbar.st.css.js +2 -2
- package/dist/cjs/version.js +1 -1
- package/dist/cjs/version.js.map +1 -1
- package/dist/docs/components/AccordionExamples.md +1146 -0
- package/dist/docs/components/AddItemExamples.md +362 -0
- package/dist/docs/components/AddressInputExamples.md +252 -0
- package/dist/docs/components/AddressInputItemExamples.md +59 -0
- package/dist/docs/components/AnalyticsLayoutExamples.md +17 -0
- package/dist/docs/components/AnalyticsSummaryCardExamples.md +507 -0
- package/dist/docs/components/AngleInputExamples.md +186 -0
- package/dist/docs/components/AnnouncementModalLayoutExamples.md +17 -0
- package/dist/docs/components/AreaChartExamples.md +17 -0
- package/dist/docs/components/AtlasAddressInputExamples.md +164 -0
- package/dist/docs/components/AudioPlayerExamples.md +172 -0
- package/dist/docs/components/AutoCompleteExamples.md +562 -0
- package/dist/docs/components/AutoCompleteWithLabelExamples.md +71 -0
- package/dist/docs/components/AvatarExamples.md +427 -0
- package/dist/docs/components/AvatarGroupExamples.md +59 -0
- package/dist/docs/components/BadgeExamples.md +315 -0
- package/dist/docs/components/BadgeSelectExamples.md +17 -0
- package/dist/docs/components/BadgeSelectItemExamples.md +17 -0
- package/dist/docs/components/BarChartExamples.md +17 -0
- package/dist/docs/components/BounceAnimationExamples.md +17 -0
- package/dist/docs/components/BoxExamples.md +349 -0
- package/dist/docs/components/BreadcrumbsExamples.md +249 -0
- package/dist/docs/components/BrowserPreviewWidgetExamples.md +259 -0
- package/dist/docs/components/ButtonExamples.md +262 -0
- package/dist/docs/components/CalendarExamples.md +80 -0
- package/dist/docs/components/CalendarPanelExamples.md +84 -0
- package/dist/docs/components/CalendarPanelFooterExamples.md +45 -0
- package/dist/docs/components/CardExamples.md +440 -0
- package/dist/docs/components/CardFolderTabsExamples.md +61 -0
- package/dist/docs/components/CardGalleryItemExamples.md +322 -0
- package/dist/docs/components/CarouselExamples.md +17 -0
- package/dist/docs/components/CarouselWIPExamples.md +17 -0
- package/dist/docs/components/CheckToggleExamples.md +56 -0
- package/dist/docs/components/CheckboxExamples.md +392 -0
- package/dist/docs/components/CircularProgressBarExamples.md +196 -0
- package/dist/docs/components/ClickableCardExamples.md +17 -0
- package/dist/docs/components/CloseButtonExamples.md +145 -0
- package/dist/docs/components/CollapseExamples.md +17 -0
- package/dist/docs/components/ColorInputExamples.md +207 -0
- package/dist/docs/components/ColorPickerExamples.md +75 -0
- package/dist/docs/components/ComposerButtonExamples.md +17 -0
- package/dist/docs/components/ComposerHeaderExamples.md +842 -0
- package/dist/docs/components/ComposerSidebarExamples.md +626 -0
- package/dist/docs/components/CopyClipboardExamples.md +17 -0
- package/dist/docs/components/CornerRadiusInputExamples.md +860 -0
- package/dist/docs/components/CounterBadgeExamples.md +17 -0
- package/dist/docs/components/CustomModalLayoutExamples.md +830 -0
- package/dist/docs/components/DatePickerExamples.md +401 -0
- package/dist/docs/components/DividerExamples.md +131 -0
- package/dist/docs/components/DropdownBaseExamples.md +99 -0
- package/dist/docs/components/DropdownExamples.md +774 -0
- package/dist/docs/components/DropdownLayoutExamples.md +17 -0
- package/dist/docs/components/DropzoneExamples.md +130 -0
- package/dist/docs/components/EditableSelectorExamples.md +17 -0
- package/dist/docs/components/EditableTitleExamples.md +107 -0
- package/dist/docs/components/EmptyStateExamples.md +396 -0
- package/dist/docs/components/FacesRatingBarExamples.md +129 -0
- package/dist/docs/components/FeatureListExamples.md +47 -0
- package/dist/docs/components/FieldSetExamples.md +498 -0
- package/dist/docs/components/FilePickerExamples.md +45 -0
- package/dist/docs/components/FileUploadExamples.md +191 -0
- package/dist/docs/components/FillButtonExamples.md +66 -0
- package/dist/docs/components/FillPreviewExamples.md +271 -0
- package/dist/docs/components/FloatingHelperExamples.md +17 -0
- package/dist/docs/components/FloatingNotificationExamples.md +219 -0
- package/dist/docs/components/FormFieldExamples.md +360 -0
- package/dist/docs/components/FunnelChartExamples.md +17 -0
- package/dist/docs/components/GoogleAddressInputExamples.md +17 -0
- package/dist/docs/components/GooglePreviewExamples.md +196 -0
- package/dist/docs/components/HeadingExamples.md +266 -0
- package/dist/docs/components/HighlighterExamples.md +17 -0
- package/dist/docs/components/HorizontalScrollExamples.md +17 -0
- package/dist/docs/components/HorizontalTimelineExamples.md +75 -0
- package/dist/docs/components/IconButtonExamples.md +357 -0
- package/dist/docs/components/ImageExamples.md +244 -0
- package/dist/docs/components/ImageViewerExamples.md +125 -0
- package/dist/docs/components/InfoIconExamples.md +84 -0
- package/dist/docs/components/InputAreaExamples.md +282 -0
- package/dist/docs/components/InputExamples.md +224 -0
- package/dist/docs/components/InputShellExamples.md +17 -0
- package/dist/docs/components/InputWithLabelExamples.md +78 -0
- package/dist/docs/components/InputWithOptionsExamples.md +17 -0
- package/dist/docs/components/LayoutExamples.md +436 -0
- package/dist/docs/components/LinearProgressBarExamples.md +17 -0
- package/dist/docs/components/ListItemActionExamples.md +300 -0
- package/dist/docs/components/ListItemEditableExamples.md +17 -0
- package/dist/docs/components/ListItemSectionExamples.md +83 -0
- package/dist/docs/components/ListItemSelectExamples.md +237 -0
- package/dist/docs/components/ListItemSelectIconExamples.md +17 -0
- package/dist/docs/components/LiveRegionExamples.md +299 -0
- package/dist/docs/components/LoaderExamples.md +218 -0
- package/dist/docs/components/MarketingLayoutExamples.md +313 -0
- package/dist/docs/components/MarketingPageLayoutContentExamples.md +49 -0
- package/dist/docs/components/MarketingPageLayoutExamples.md +69 -0
- package/dist/docs/components/MediaOverlayExamples.md +121 -0
- package/dist/docs/components/MessageBoxFunctionalLayoutExamples.md +17 -0
- package/dist/docs/components/MessageBoxMarketerialLayoutExamples.md +17 -0
- package/dist/docs/components/MessageModalLayoutExamples.md +252 -0
- package/dist/docs/components/MobilePreviewWidgetExamples.md +17 -0
- package/dist/docs/components/ModalExamples.md +237 -0
- package/dist/docs/components/ModalMobileLayoutExamples.md +70 -0
- package/dist/docs/components/ModalPreviewLayoutExamples.md +17 -0
- package/dist/docs/components/ModalSelectorLayoutExamples.md +17 -0
- package/dist/docs/components/MultiSelectCheckboxExamples.md +958 -0
- package/dist/docs/components/MultiSelectExamples.md +425 -0
- package/dist/docs/components/NavigationToastExamples.md +17 -0
- package/dist/docs/components/NestableListBaseExamples.md +17 -0
- package/dist/docs/components/NestableListExamples.md +763 -0
- package/dist/docs/components/NotificationExamples.md +17 -0
- package/dist/docs/components/NumberInputExamples.md +448 -0
- package/dist/docs/components/PageExamples.md +943 -0
- package/dist/docs/components/PageFooterExamples.md +17 -0
- package/dist/docs/components/PageSectionExamples.md +17 -0
- package/dist/docs/components/PaginationExamples.md +31 -0
- package/dist/docs/components/PaletteExamples.md +60 -0
- package/dist/docs/components/PopoverExamples.md +17 -0
- package/dist/docs/components/PopoverMenuExamples.md +588 -0
- package/dist/docs/components/PreviewWidgetExamples.md +17 -0
- package/dist/docs/components/ProportionExamples.md +17 -0
- package/dist/docs/components/PulseAnimationExamples.md +17 -0
- package/dist/docs/components/RadarChartExamples.md +71 -0
- package/dist/docs/components/RadioExamples.md +159 -0
- package/dist/docs/components/RadioGroupExamples.md +351 -0
- package/dist/docs/components/RangeExamples.md +45 -0
- package/dist/docs/components/RichTextInputAreaExamples.md +115 -0
- package/dist/docs/components/SearchExamples.md +366 -0
- package/dist/docs/components/SectionHeaderExamples.md +251 -0
- package/dist/docs/components/SectionHelperExamples.md +332 -0
- package/dist/docs/components/SegmentedToggleExamples.md +391 -0
- package/dist/docs/components/SelectableAccordionExamples.md +409 -0
- package/dist/docs/components/SelectorButtonExamples.md +234 -0
- package/dist/docs/components/SelectorExamples.md +17 -0
- package/dist/docs/components/SelectorListExamples.md +1215 -0
- package/dist/docs/components/SidePanelExamples.md +908 -0
- package/dist/docs/components/SidebarBackButtonExamples.md +17 -0
- package/dist/docs/components/SidebarDividerExamples.md +17 -0
- package/dist/docs/components/SidebarDividerNextExamples.md +53 -0
- package/dist/docs/components/SidebarExamples.md +17 -0
- package/dist/docs/components/SidebarHeaderExamples.md +17 -0
- package/dist/docs/components/SidebarHeaderNextExamples.md +84 -0
- package/dist/docs/components/SidebarItemNextExamples.md +82 -0
- package/dist/docs/components/SidebarNextExamples.md +266 -0
- package/dist/docs/components/SidebarSectionItemExamples.md +17 -0
- package/dist/docs/components/SidebarSectionTitleExamples.md +17 -0
- package/dist/docs/components/SidebarSubMenuNextExamples.md +172 -0
- package/dist/docs/components/SidebarTitleItemNextExamples.md +57 -0
- package/dist/docs/components/SkeletonCircleExamples.md +17 -0
- package/dist/docs/components/SkeletonExamples.md +17 -0
- package/dist/docs/components/SkeletonGroupExamples.md +17 -0
- package/dist/docs/components/SkeletonLineExamples.md +17 -0
- package/dist/docs/components/SkeletonRectangleExamples.md +17 -0
- package/dist/docs/components/SliderExamples.md +465 -0
- package/dist/docs/components/SocialButtonExamples.md +93 -0
- package/dist/docs/components/SocialPostPreviewExamples.md +17 -0
- package/dist/docs/components/SocialPreviewExamples.md +46 -0
- package/dist/docs/components/SortableGridBaseExamples.md +17 -0
- package/dist/docs/components/SortableListBaseExamples.md +17 -0
- package/dist/docs/components/SparklineChartExamples.md +17 -0
- package/dist/docs/components/StackedBarChartExamples.md +17 -0
- package/dist/docs/components/StarsRatingBarExamples.md +156 -0
- package/dist/docs/components/StatisticsWidgetExamples.md +17 -0
- package/dist/docs/components/StatusIndicatorExamples.md +105 -0
- package/dist/docs/components/StatusToastExamples.md +540 -0
- package/dist/docs/components/StepperExamples.md +465 -0
- package/dist/docs/components/SwatchesExamples.md +62 -0
- package/dist/docs/components/TableActionCellExamples.md +657 -0
- package/dist/docs/components/TableExamples.md +2891 -0
- package/dist/docs/components/TableListHeaderExamples.md +422 -0
- package/dist/docs/components/TableListItemExamples.md +656 -0
- package/dist/docs/components/TableToolbarExamples.md +556 -0
- package/dist/docs/components/TabsExamples.md +605 -0
- package/dist/docs/components/TagExamples.md +77 -0
- package/dist/docs/components/TagListExamples.md +495 -0
- package/dist/docs/components/TestimonialListExamples.md +48 -0
- package/dist/docs/components/TextButtonExamples.md +226 -0
- package/dist/docs/components/TextExamples.md +264 -0
- package/dist/docs/components/ThemeProviderExamples.md +17 -0
- package/dist/docs/components/ThumbnailExamples.md +471 -0
- package/dist/docs/components/TimeInputExamples.md +287 -0
- package/dist/docs/components/TimeTableExamples.md +17 -0
- package/dist/docs/components/TimelineExamples.md +85 -0
- package/dist/docs/components/ToastExamples.md +17 -0
- package/dist/docs/components/ToggleButtonExamples.md +441 -0
- package/dist/docs/components/ToggleSwitchExamples.md +313 -0
- package/dist/docs/components/TooltipExamples.md +201 -0
- package/dist/docs/components/TopBannerExamples.md +367 -0
- package/dist/docs/components/TransitionExamples.md +488 -0
- package/dist/docs/components/TrendIndicatorExamples.md +17 -0
- package/dist/docs/components/VariableInputExamples.md +272 -0
- package/dist/docs/components/VerticalTabsExamples.md +132 -0
- package/dist/docs/components/VerticalTabsIconItemExamples.md +17 -0
- package/dist/docs/components/VerticalTabsItemExamples.md +40 -0
- package/dist/docs/components/WixDesignSystemProviderExamples.md +17 -0
- package/dist/docs/components/WixDesignSystemProviderProps.md +6 -0
- package/dist/docs/components/WixStyleReactEnvironmentProviderExamples.md +17 -0
- package/dist/docs/components/WixStyleReactMaskingProviderExamples.md +17 -0
- package/dist/docs/components/WixStyleReactMaskingProviderProps.md +6 -0
- package/dist/docs/components.md +983 -0
- package/dist/esm/Accordion/Accordion.st.css.js +2 -2
- package/dist/esm/Accordion/components/AccordionItem/AccordionItem.st.css.js +2 -2
- package/dist/esm/Accordion/components/AccordionItemCaret/AccordionItemCaret.st.css.js +2 -2
- package/dist/esm/AddItem/AddItem.st.css.js +2 -2
- package/dist/esm/AddressInputItem/AddressInputItem.st.css.js +2 -2
- package/dist/esm/AnalyticsLayout/AnalyticsLayout.st.css.js +2 -2
- package/dist/esm/AnalyticsLayout/Cell/Cell.st.css.js +2 -2
- package/dist/esm/AnalyticsSummaryCard/AnalyticsSummaryCard.st.css.js +2 -2
- package/dist/esm/AngleInput/AngleInput.st.css.js +2 -2
- package/dist/esm/AnnouncementModalLayout/AnnouncementModalLayout.st.css.js +2 -2
- package/dist/esm/AreaChart/AreaChart.st.css.js +2 -2
- package/dist/esm/AudioPlayer/AudioPlayer.st.css.js +3 -3
- package/dist/esm/AutoCompleteWithLabel/AutoCompleteWithLabel.st.css.js +2 -2
- package/dist/esm/Avatar/Avatar.st.css.js +2 -2
- package/dist/esm/Avatar/AvatarCore/AvatarCore.st.css.js +2 -2
- package/dist/esm/AvatarGroup/AvatarGroup.st.css.js +2 -2
- package/dist/esm/Badge/Badge.st.css.js +2 -2
- package/dist/esm/BadgeSelect/BadgeSelect.st.css.js +2 -2
- package/dist/esm/BadgeSelectItem/BadgeSelectItem.st.css.js +2 -2
- package/dist/esm/BarChart/BarChart.st.css.js +3 -3
- package/dist/esm/BaseModalLayout/BaseModalLayout.st.css.js +2 -2
- package/dist/esm/BaseModalLayout/LayoutBlocks/Content/Content.st.css.js +2 -2
- package/dist/esm/BaseModalLayout/LayoutBlocks/Footer/Footer.st.css.js +2 -2
- package/dist/esm/BaseModalLayout/LayoutBlocks/Footnote/Footnote.st.css.js +2 -2
- package/dist/esm/BaseModalLayout/LayoutBlocks/Header/Header.st.css.js +2 -2
- package/dist/esm/BaseModalLayout/LayoutBlocks/Illustration/Illustration.st.css.js +2 -2
- package/dist/esm/BounceAnimation/BounceAnimation.st.css.js +3 -3
- package/dist/esm/Box/Box.st.css.js +3 -3
- package/dist/esm/Breadcrumbs/Breadcrumbs.st.css.js +2 -2
- package/dist/esm/BrowserPreviewWidget/BrowserPreviewWidget.st.css.js +2 -2
- package/dist/esm/Button/Button.st.css.js +2 -2
- package/dist/esm/Button/ButtonCore/ButtonCore.st.css.js +2 -2
- package/dist/esm/Calendar/BaseCalendar/BaseCalendar.st.css.js +2 -2
- package/dist/esm/Calendar/Calendar.st.css.js +2 -2
- package/dist/esm/Calendar/DatePickerDropdown/DatePickerDropdown.st.css.js +2 -2
- package/dist/esm/Calendar/DatePickerHead/DatePickerHead.st.css.js +2 -2
- package/dist/esm/Calendar/DatePickerHead/MonthDropdown/MonthDropdown.st.css.js +2 -2
- package/dist/esm/Calendar/DatePickerHead/YearDropdown/YearDropdown.st.css.js +2 -2
- package/dist/esm/CalendarPanel/CalendarPanel.st.css.js +2 -2
- package/dist/esm/Card/Card.st.css.js +2 -2
- package/dist/esm/Card/components/Content/Content.st.css.js +2 -2
- package/dist/esm/Card/components/Header/Header.st.css.js +2 -2
- package/dist/esm/Card/components/Subheader/Subheader.st.css.js +2 -2
- package/dist/esm/CardFolderTabs/CardFolderTabs.st.css.js +3 -3
- package/dist/esm/CardGalleryItem/CardGalleryItem.st.css.js +2 -2
- package/dist/esm/Carousel/Carousel.st.css.js +3 -3
- package/dist/esm/Carousel/Pagination/Pagination.st.css.js +2 -2
- package/dist/esm/CarouselWIP/CarouselWIP.st.css.js +3 -3
- package/dist/esm/CheckToggle/CheckToggle.st.css.js +2 -2
- package/dist/esm/Checkbox/Checkbox.st.css.js +2 -2
- package/dist/esm/CircularProgressBar/CircularProgressBar.st.css.js +2 -2
- package/dist/esm/CircularProgressBar/CircularProgressBarCore/CircularProgressBarCore.st.css.js +2 -2
- package/dist/esm/ClickableCard/ClickableCard.st.css.js +2 -2
- package/dist/esm/CloseButton/CloseButton.st.css.js +2 -2
- package/dist/esm/Collapse/Collapse.st.css.js +2 -2
- package/dist/esm/ColorInput/components/ColorViewer.st.css.js +2 -2
- package/dist/esm/ColorInput/components/Hash.st.css.js +2 -2
- package/dist/esm/ColorPicker/ColorPicker.st.css.js +2 -2
- package/dist/esm/ColorPicker/ColorPickerActions.st.css.js +2 -2
- package/dist/esm/ColorPicker/ColorPickerConverter.st.css.js +2 -2
- package/dist/esm/ColorPicker/ColorPickerHistory.st.css.js +2 -2
- package/dist/esm/ColorPicker/ColorPickerHsb.st.css.js +2 -2
- package/dist/esm/ColorPicker/ColorPickerHue.st.css.js +2 -2
- package/dist/esm/ComposerButton/ComposerButton.st.css.js +2 -2
- package/dist/esm/ComposerHeader/ComposerHeader.st.css.js +2 -2
- package/dist/esm/ComposerSidebar/ComposerSidebar.st.css.js +2 -2
- package/dist/esm/CornerRadiusInput/CornerRadiusInput.st.css.js +2 -2
- package/dist/esm/CounterBadge/CounterBadge.st.css.js +2 -2
- package/dist/esm/CustomModalLayout/CustomModalLayout.st.css.js +2 -2
- package/dist/esm/DatePicker/DatePicker.st.css.js +2 -2
- package/dist/esm/Divider/Divider.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/Introduction/IntroductionExample.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableGridBase/SingleAreaGrid/SingleAreaGrid.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/ListWithDelay/ListWithDelay.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/MultiAreaList/MultiAreaList.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/MultiAreaListPreventOfDropping/MultiAreaListPreventDropping.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/MultiAreaListWithInsertionRules/MultiAreaListWithInsertionRules.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/MultiAreaListWithSortableColumns/MultiAreaListWithSortableColumns.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/MultiAreaListWithSortableColumnsWithAnimations/MultiAreaListWithSortableColumnsWithAnimations.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/NestableListBaseExample/NestableListBase.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/SingleAreaList/SingleAreaList.st.css.js +2 -2
- package/dist/esm/DragAndDrop/docs/SortableListBase/SingleAreaListWithAnimation/SingleAreaListWithAnimation.st.css.js +2 -2
- package/dist/esm/DragHandle/DragHandle.st.css.js +2 -2
- package/dist/esm/DraggableContainer/DraggableContainer.st.css.js +2 -2
- package/dist/esm/Dropdown/Dropdown.st.css.js +2 -2
- package/dist/esm/DropdownBase/DropdownBase.st.css.js +2 -2
- package/dist/esm/DropdownLayout/DropdownLayout.st.css.js +2 -2
- package/dist/esm/Dropzone/Dropzone.st.css.js +2 -2
- package/dist/esm/EditableSelector/EditableSelector.st.css.js +2 -2
- package/dist/esm/EditableTitle/EditableTitle.st.css.js +2 -2
- package/dist/esm/EmptyState/EmptyState.st.css.js +2 -2
- package/dist/esm/FacesRatingBar/FacesRatingBar.st.css.js +2 -2
- package/dist/esm/FeatureList/FeatureList.st.css.js +2 -2
- package/dist/esm/FieldSet/FieldSet.st.css.js +2 -2
- package/dist/esm/FieldSet/components/Asterisk/Asterisk.st.css.js +2 -2
- package/dist/esm/FieldSet/components/InfoContentIcon/InfoContentIcon.st.css.js +2 -2
- package/dist/esm/FieldSet/components/InlineLabelWrapper/InlineLabelWrapper.st.css.js +2 -2
- package/dist/esm/FieldSet/components/Label/Label.st.css.js +2 -2
- package/dist/esm/FieldSet/components/StatusMessage/StatusMessage.st.css.js +2 -2
- package/dist/esm/FieldSet/components/Suffix/Suffix.st.css.js +2 -2
- package/dist/esm/FilePicker/FilePicker.st.css.js +2 -2
- package/dist/esm/FillButton/FillButton.st.css.js +2 -2
- package/dist/esm/FillPreview/FillPreview.st.css.js +2 -2
- package/dist/esm/FloatingHelper/FloatingHelper.st.css.js +2 -2
- package/dist/esm/FloatingHelper/FloatingHelperContent/FloatingHelperContent.st.css.js +2 -2
- package/dist/esm/FloatingNotification/FloatingNotification.st.css.js +2 -2
- package/dist/esm/FormField/FormField.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/border.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/breakpoints.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/colors.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/default-scroll-bar.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/easing.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/gradients.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/opacity.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/shadows.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/spacing.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/typography.st.css.js +2 -2
- package/dist/esm/Foundation/stylable/z-index.st.css.js +2 -2
- package/dist/esm/FunnelChart/FunnelBadge/FunnelBadge.st.css.js +2 -2
- package/dist/esm/FunnelChart/FunnelBar/FunnelBar.st.css.js +2 -2
- package/dist/esm/FunnelChart/FunnelChart.st.css.js +2 -2
- package/dist/esm/FunnelChart/FunnelLabel/FunnelLabel.st.css.js +2 -2
- package/dist/esm/FunnelChart/FunnelStep/FunnelStep.st.css.js +2 -2
- package/dist/esm/GoogleAddressInput/GoogleAddressInput.st.css.js +2 -2
- package/dist/esm/GooglePreview/GooglePreview.st.css.js +2 -2
- package/dist/esm/Heading/Heading.st.css.js +2 -2
- package/dist/esm/Highlighter/Highlighter.st.css.js +2 -2
- package/dist/esm/HorizontalScroll/HorizontalScroll.st.css.js +2 -2
- package/dist/esm/HorizontalTimeline/HorizontalTimeline.st.css.js +2 -2
- package/dist/esm/HorizontalTimeline/HorizontalTimelineIcons.st.css.js +3 -3
- package/dist/esm/IconButton/IconButton.st.css.js +2 -2
- package/dist/esm/Image/Image.js +10 -2
- package/dist/esm/Image/Image.js.map +1 -1
- package/dist/esm/Image/Image.st.css.js +4 -3
- package/dist/esm/ImageViewer/ImageViewer.st.css.js +2 -2
- package/dist/esm/InfoIcon/InfoIcon.st.css.js +2 -2
- package/dist/esm/Input/Input.st.css.js +3 -3
- package/dist/esm/Input/components/Affix/Affix.st.css.js +2 -2
- package/dist/esm/Input/components/Group/Group.st.css.js +2 -2
- package/dist/esm/Input/components/IconAffix/IconAffix.st.css.js +2 -2
- package/dist/esm/Input/components/Ticker/Ticker.st.css.js +2 -2
- package/dist/esm/InputArea/InputArea.st.css.js +3 -3
- package/dist/esm/InputShell/InputShell.st.css.js +3 -3
- package/dist/esm/InputWithLabel/InputWithLabel.st.css.js +2 -2
- package/dist/esm/InputWithOptions/InputWithOptions.st.css.js +2 -2
- package/dist/esm/LabelledElement/LabelledElement.st.css.js +2 -2
- package/dist/esm/Layout/Cell/Cell.st.css.js +2 -2
- package/dist/esm/Layout/Layout.st.css.js +2 -2
- package/dist/esm/LinearProgressBar/LinearProgressBar.st.css.js +2 -2
- package/dist/esm/LinearProgressBar/LinearProgressBarCore/LinearProgressBarCore.st.css.js +2 -2
- package/dist/esm/ListItemAction/ListItemAction.st.css.js +2 -2
- package/dist/esm/ListItemEditable/ListItemEditable.st.css.js +2 -2
- package/dist/esm/ListItemSection/ListItemSection.st.css.js +2 -2
- package/dist/esm/ListItemSelect/ListItemSelect.st.css.js +2 -2
- package/dist/esm/ListItemSelectIcon/ListItemSelectIcon.st.css.js +2 -2
- package/dist/esm/LiveRegion/LiveRegion.st.css.js +2 -2
- package/dist/esm/Loader/Loader.st.css.js +3 -3
- package/dist/esm/MarketingLayout/MarketingLayout.st.css.js +3 -3
- package/dist/esm/MarketingPageLayout/MarketingPageLayout.st.css.js +2 -2
- package/dist/esm/MarketingPageLayoutContent/MarketingPageLayoutContent.st.css.js +2 -2
- package/dist/esm/MediaOverlay/MediaOverlay.st.css.js +2 -2
- package/dist/esm/MessageBoxFunctionalLayout/MessageBoxFunctionalLayout.st.css.js +2 -2
- package/dist/esm/MessageBoxMarketerialLayout/MessageBoxMarketerialLayout.st.css.js +2 -2
- package/dist/esm/MessageModalLayout/MessageModalLayout.st.css.js +2 -2
- package/dist/esm/MobilePreviewWidget/MobilePreviewWidget.st.css.js +2 -2
- package/dist/esm/Modal/Modal.st.css.js +2 -2
- package/dist/esm/ModalMobileLayout/ModalMobileLayout.st.css.js +2 -2
- package/dist/esm/ModalMobileLayout/components/Footer/Footer.st.css.js +2 -2
- package/dist/esm/ModalMobileLayout/components/Title/Title.st.css.js +2 -2
- package/dist/esm/ModalPreviewLayout/ModalPreviewLayout.st.css.js +2 -2
- package/dist/esm/ModalSelectorLayout/ModalSelectorLayout.st.css.js +2 -2
- package/dist/esm/MultiSelect/InputWithTags.st.css.js +2 -2
- package/dist/esm/MultiSelect/MultiSelect.st.css.js +2 -2
- package/dist/esm/MultiSelectCheckbox/MultiSelectCheckbox.st.css.js +2 -2
- package/dist/esm/NavigationToast/NavigationToast.st.css.js +2 -2
- package/dist/esm/NestableList/NestableList.st.css.js +2 -2
- package/dist/esm/NestableList/NestableListTheme.st.css.js +2 -2
- package/dist/esm/Notification/Notification.st.css.js +2 -2
- package/dist/esm/Page/Page.st.css.js +4 -4
- package/dist/esm/Page/components/Footer/Footer.st.css.js +2 -2
- package/dist/esm/Page/components/Footer/components/Center/Center.st.css.js +2 -2
- package/dist/esm/Page/components/Footer/components/End/End.st.css.js +2 -2
- package/dist/esm/Page/components/Footer/components/Start/Start.st.css.js +2 -2
- package/dist/esm/Page/components/Header/Header.st.css.js +2 -2
- package/dist/esm/Page/components/Section/Section.st.css.js +2 -2
- package/dist/esm/Page/test/examples/BMPageContainer.st.css.js +2 -2
- package/dist/esm/Page/test/examples/PageStory.st.css.js +2 -2
- package/dist/esm/Page/test/examples/testExamples.st.css.js +2 -2
- package/dist/esm/Pagination/Pagination.st.css.js +2 -2
- package/dist/esm/Pagination/PaginationCore/PaginationCore.st.css.js +2 -2
- package/dist/esm/Pagination/PaginationCore/PaginationCoreTest.st.css.js +2 -2
- package/dist/esm/Palette/Palette.st.css.js +2 -2
- package/dist/esm/Popover/Popover.st.css.js +2 -2
- package/dist/esm/PopoverMenu/PopoverMenu.st.css.js +2 -2
- package/dist/esm/PopoverNext/PopoverNext.st.css.js +2 -2
- package/dist/esm/PopoverNext/components/Content/Content.st.css.js +2 -2
- package/dist/esm/PreviewWidget/PreviewWidget.st.css.js +2 -2
- package/dist/esm/Proportion/Proportion.st.css.js +2 -2
- package/dist/esm/PulseAnimation/PulseAnimation.st.css.js +3 -3
- package/dist/esm/RadarChart/RadarChart.st.css.js +2 -2
- package/dist/esm/Radio/Radio.st.css.js +2 -2
- package/dist/esm/RadioGroup/RadioGroup.st.css.js +2 -2
- package/dist/esm/Range/Range.st.css.js +2 -2
- package/dist/esm/RichTextInputArea/Form/RichTextInputAreaForm.st.css.js +2 -2
- package/dist/esm/RichTextInputArea/RichTextInputArea.st.css.js +3 -3
- package/dist/esm/RichTextInputArea/Toolbar/RichTextToolbarButton.st.css.js +2 -2
- package/dist/esm/Search/Search.st.css.js +2 -2
- package/dist/esm/SectionHeader/SectionHeader.st.css.js +3 -3
- package/dist/esm/SectionHelper/SectionHelper.st.css.js +2 -2
- package/dist/esm/SegmentedToggle/SegmentedToggle.st.css.js +2 -2
- package/dist/esm/SegmentedToggle/ToggleButton/ToggleButton.st.css.js +2 -2
- package/dist/esm/SegmentedToggle/ToggleIcon/ToggleIcon.st.css.js +2 -2
- package/dist/esm/SelectableAccordion/Item/Item.st.css.js +2 -2
- package/dist/esm/SelectableAccordion/SelectableAccordion.st.css.js +2 -2
- package/dist/esm/Selector/ProgressBar/ProgressBar.st.css.js +2 -2
- package/dist/esm/Selector/Selector.st.css.js +2 -2
- package/dist/esm/SelectorButton/SelectorButton.st.css.js +2 -2
- package/dist/esm/SelectorList/Content/Content.st.css.js +2 -2
- package/dist/esm/SelectorList/SelectorList.st.css.js +2 -2
- package/dist/esm/SidePanel/SidePanel.st.css.js +2 -2
- package/dist/esm/SidePanel/components/Content/Content.st.css.js +2 -2
- package/dist/esm/SidePanel/components/Divider/Divider.st.css.js +2 -2
- package/dist/esm/SidePanel/components/Field/Field.st.css.js +3 -3
- package/dist/esm/SidePanel/components/Footer/Footer.st.css.js +2 -2
- package/dist/esm/SidePanel/components/Header/Header.st.css.js +2 -2
- package/dist/esm/SidePanel/components/Section/Section.st.css.js +2 -2
- package/dist/esm/Sidebar/Sidebar.st.css.js +3 -3
- package/dist/esm/Sidebar/colors.st.css.js +2 -2
- package/dist/esm/SidebarBackButton/SidebarBackButton.st.css.js +3 -3
- package/dist/esm/SidebarDivider/SidebarDivider.st.css.js +2 -2
- package/dist/esm/SidebarDividerNext/SidebarDividerNext.st.css.js +2 -2
- package/dist/esm/SidebarHeader/SidebarHeader.st.css.js +2 -2
- package/dist/esm/SidebarHeaderNext/SidebarHeaderNext.st.css.js +2 -2
- package/dist/esm/SidebarItemNext/SidebarItemNext.st.css.js +2 -2
- package/dist/esm/SidebarNext/SidebarNext.st.css.js +2 -2
- package/dist/esm/SidebarNext/components/SidebarSkeleton.st.css.js +3 -3
- package/dist/esm/SidebarNext/components/ToggleButton.st.css.js +2 -2
- package/dist/esm/SidebarSectionItem/SidebarSectionItem.st.css.js +2 -2
- package/dist/esm/SidebarSectionTitle/SidebarSectionTitle.st.css.js +2 -2
- package/dist/esm/SidebarSubMenuNext/SidebarSubMenuNext.st.css.js +3 -3
- package/dist/esm/SidebarTitleItemNext/SidebarTitleItemNext.st.css.js +2 -2
- package/dist/esm/Skeleton/Skeleton.st.css.js +3 -3
- package/dist/esm/SkeletonCircle/SkeletonCircle.st.css.js +2 -2
- package/dist/esm/SkeletonGroup/SkeletonGroup.st.css.js +4 -4
- package/dist/esm/SkeletonLine/SkeletonLine.st.css.js +2 -2
- package/dist/esm/SkeletonRectangle/SkeletonRectangle.st.css.js +2 -2
- package/dist/esm/Slider/Slider.st.css.js +2 -2
- package/dist/esm/SocialButton/SocialButton.st.css.js +2 -2
- package/dist/esm/SocialPostPreview/SocialPostPreview.st.css.js +2 -2
- package/dist/esm/SocialPostPreview/components/FacebookPost.st.css.js +2 -2
- package/dist/esm/SocialPostPreview/components/InstagramPost.st.css.js +2 -2
- package/dist/esm/SocialPreview/SocialPreview.st.css.js +2 -2
- package/dist/esm/SortableGridBase/SortableGridBase.st.css.js +2 -2
- package/dist/esm/SparklineChart/ChartTooltip.st.css.js +2 -2
- package/dist/esm/SparklineChart/SparklineChart.st.css.js +2 -2
- package/dist/esm/StackedBarChart/StackedBarChart.st.css.js +2 -2
- package/dist/esm/StarsRatingBar/components/StarsRatingBar.st.css.js +2 -2
- package/dist/esm/StatisticsWidget/StatisticsItem/StatisticsItem.st.css.js +2 -2
- package/dist/esm/StatisticsWidget/StatisticsWidget.st.css.js +2 -2
- package/dist/esm/StatusIndicator/StatusIndicator.st.css.js +4 -3
- package/dist/esm/StatusToast/StatusToast.st.css.js +2 -2
- package/dist/esm/Stepper/Stepper.st.css.js +2 -2
- package/dist/esm/Stepper/components/Step.st.css.js +2 -2
- package/dist/esm/Stepper/components/StepMarker.st.css.js +2 -2
- package/dist/esm/Table/DataTable/DataTable.st.css.js +2 -2
- package/dist/esm/Table/DataTable/components/DataTableRow.st.css.js +2 -2
- package/dist/esm/Table/DataTable/components/DataTableRowVirtual.st.css.js +2 -2
- package/dist/esm/Table/DataTable/docs/Example.st.css.js +2 -2
- package/dist/esm/Table/FloatingScrollBar/FloatingScrollBar.st.css.js +2 -2
- package/dist/esm/Table/Table.st.css.js +2 -2
- package/dist/esm/TableActionCell/TableActionCell.st.css.js +2 -2
- package/dist/esm/TableListHeader/TableListHeader.st.css.js +2 -2
- package/dist/esm/TableListItem/TableListItem.st.css.js +3 -3
- package/dist/esm/TableToolbar/TableToolbar.st.css.js +2 -2
- package/dist/esm/Tabs/Tabs.st.css.js +2 -2
- package/dist/esm/Tag/Tag.st.css.js +2 -2
- package/dist/esm/TagList/TagList.st.css.js +2 -2
- package/dist/esm/TestimonialList/TestimonialList.st.css.js +2 -2
- package/dist/esm/Text/Caption.st.css.js +2 -2
- package/dist/esm/Text/Text.st.css.js +2 -2
- package/dist/esm/TextButton/TextButton.st.css.js +2 -2
- package/dist/esm/Themes/brand/Brand.st.css.js +2 -2
- package/dist/esm/Themes/brand/Foundations/colors.st.css.js +2 -2
- package/dist/esm/Themes/brand/components/Button/Button.st.css.js +2 -2
- package/dist/esm/Themes/brand/components/Heading/Heading.st.css.js +2 -2
- package/dist/esm/Themes/brand/components/InputWithLabel/InputWithLabel.st.css.js +2 -2
- package/dist/esm/Themes/brand/components/InputWithLabel/LabelledElement.st.css.js +2 -2
- package/dist/esm/Themes/brand/components/Text/Text.st.css.js +2 -2
- package/dist/esm/Thumbnail/Thumbnail.st.css.js +2 -2
- package/dist/esm/TimeInput/TimeInput.st.css.js +2 -2
- package/dist/esm/TimeTable/TimeTable.st.css.js +2 -2
- package/dist/esm/TimeTable/components/Item.st.css.js +2 -2
- package/dist/esm/Timeline/Timeline.st.css.js +2 -2
- package/dist/esm/Timeline/TimelineItem.st.css.js +3 -3
- package/dist/esm/Toast/Toast.st.css.js +2 -2
- package/dist/esm/ToastContainer/ToastContainer.st.css.js +2 -2
- package/dist/esm/ToggleButton/ToggleButton.st.css.js +2 -2
- package/dist/esm/ToggleSwitch/ToggleSwitch.st.css.js +2 -2
- package/dist/esm/ToggleSwitch/ToggleSwitchCore/ToggleSwitchCore.st.css.js +2 -2
- package/dist/esm/ToggleSwitch/ToggleSwitchCore/ToggleSwitchCoreColor.st.css.js +2 -2
- package/dist/esm/ToggleSwitch/ToggleSwitchCore/ToggleSwitchCoreLayout.st.css.js +2 -2
- package/dist/esm/ToggleSwitch/ToggleSwitchCore/ToggleSwitchCoreStyle.st.css.js +2 -2
- package/dist/esm/Tooltip/Tooltip.st.css.js +2 -2
- package/dist/esm/TopBanner/TopBanner.st.css.js +2 -2
- package/dist/esm/TrendIndicator/TrendIndicator.st.css.js +2 -2
- package/dist/esm/VariableInput/VariableInput.st.css.js +3 -3
- package/dist/esm/VerticalTabsIconItem/VerticalTabsIconItem.st.css.js +3 -3
- package/dist/esm/VerticalTabsItem/VerticalTabsItem.st.css.js +3 -3
- package/dist/esm/WixDesignSystemProvider/WixDesignSystemProvider.st.css.js +2 -2
- package/dist/esm/WixDesignSystemProvider/madefor.st.css.js +2 -2
- package/dist/esm/WixDesignSystemProvider/newColorsBranding.st.css.js +2 -2
- package/dist/esm/common/AdaptiveHeading/AdaptiveHeading.st.css.js +2 -2
- package/dist/esm/common/Ellipsis/Ellipsis.st.css.js +3 -3
- package/dist/esm/common/Ellipsis/components/TextComponent/TextComponent.st.css.js +3 -3
- package/dist/esm/common/FluidColumns/FluidColumns.st.css.js +3 -3
- package/dist/esm/common/Focusable/Focusable.st.css.js +2 -2
- package/dist/esm/common/styles/visuallyHidden.st.css.js +2 -2
- package/dist/esm/dnd-styles/dnd-styles.st.css.js +2 -2
- package/dist/esm/providers/useOverlayScrollbar/useOverlayScrollbar.initialization.st.css.js +3 -3
- package/dist/esm/providers/useOverlayScrollbar/useOverlayScrollbar.st.css.js +2 -2
- package/dist/esm/version.js +1 -1
- package/dist/statics/design-system.cjs.min.js +31 -31
- package/dist/statics/design-system.esm.min.js +28 -28
- package/dist/statics/design-system.umd.js +640 -630
- package/dist/statics/design-system.umd.min.js +17 -17
- package/dist/statics/styles-default.global.css +1 -1
- package/dist/statics/styles-studio.global.css +1 -1
- package/dist/statics/styles-wixel.global.css +1 -1
- package/dist/statics/styles.global.css +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/CDN_URLS.d.ts +5 -5
- package/dist/types/Image/Image.d.ts +1 -1
- package/dist/types/Image/Image.d.ts.map +1 -1
- package/dist/types/StarsRatingBar/index.d.ts +5 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +5 -5
- package/styles-default.global.css +1 -1
- package/styles-studio.global.css +1 -1
- package/styles-wixel.global.css +1 -1
- package/styles.global.css +1 -1
|
@@ -0,0 +1,1215 @@
|
|
|
1
|
+
|
|
2
|
+
## Feature Examples
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Type
|
|
6
|
+
- description: <p>Control the type of selection users can make with the <code>multiple</code> prop:</p><li><code>false</code> allows users to select a single item only. </li><li><code>true</code> allows users to select multiple items. </li>
|
|
7
|
+
- example:
|
|
8
|
+
```jsx
|
|
9
|
+
() => {
|
|
10
|
+
const data = (searchQuery, offset, limit) =>
|
|
11
|
+
new Promise(resolve =>
|
|
12
|
+
setTimeout(() => {
|
|
13
|
+
const items = [
|
|
14
|
+
{
|
|
15
|
+
id: 0,
|
|
16
|
+
title: `Item`,
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
id: 1,
|
|
20
|
+
title: `Item`,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: 2,
|
|
24
|
+
title: `Item`,
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
|
|
28
|
+
const filtered = items.filter(({ title }) =>
|
|
29
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
30
|
+
);
|
|
31
|
+
|
|
32
|
+
resolve({
|
|
33
|
+
items: filtered.slice(offset, offset + limit),
|
|
34
|
+
totalCount: filtered.length,
|
|
35
|
+
});
|
|
36
|
+
}, 2000),
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
return (
|
|
40
|
+
<StorybookComponents.Stack flexDirection="column">
|
|
41
|
+
<SelectorList dataSource={data} />
|
|
42
|
+
<SelectorList dataSource={data} multiple />
|
|
43
|
+
</StorybookComponents.Stack>
|
|
44
|
+
);
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Item structure
|
|
49
|
+
- description: <p>Add more elements to the list items with the following props: </p><li><code>image</code> </li><li><code>title</code> (required)</li><li><code>subtitle</code> </li><p></p><p>To add additional text or other components to items, use container props.</p><li><code>subtitleNode</code> shows content below the item subtitle.</li><li><code>extraNode</code> shows content at the end of an item.</li>
|
|
50
|
+
- example:
|
|
51
|
+
```jsx
|
|
52
|
+
() => {
|
|
53
|
+
const plainData = [
|
|
54
|
+
{
|
|
55
|
+
id: 0,
|
|
56
|
+
title: `Title`,
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
id: 1,
|
|
60
|
+
title: `Title`,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: 2,
|
|
64
|
+
title: `Title`,
|
|
65
|
+
},
|
|
66
|
+
];
|
|
67
|
+
|
|
68
|
+
const dataWithImage = [
|
|
69
|
+
{
|
|
70
|
+
id: 0,
|
|
71
|
+
title: `Title`,
|
|
72
|
+
subtitle: 'Subtitle',
|
|
73
|
+
extraNode: (
|
|
74
|
+
<StorybookComponents.Placeholder>
|
|
75
|
+
Extra node
|
|
76
|
+
</StorybookComponents.Placeholder>
|
|
77
|
+
),
|
|
78
|
+
image: <Image width="100%" height="100%" />,
|
|
79
|
+
subtitleNode: (
|
|
80
|
+
<StorybookComponents.Placeholder>
|
|
81
|
+
Subtitle node
|
|
82
|
+
</StorybookComponents.Placeholder>
|
|
83
|
+
),
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
id: 1,
|
|
87
|
+
title: `Title`,
|
|
88
|
+
subtitle: 'Subtitle',
|
|
89
|
+
extraNode: (
|
|
90
|
+
<StorybookComponents.Placeholder>
|
|
91
|
+
Extra node
|
|
92
|
+
</StorybookComponents.Placeholder>
|
|
93
|
+
),
|
|
94
|
+
image: <Image width="100%" height="100%" />,
|
|
95
|
+
subtitleNode: (
|
|
96
|
+
<StorybookComponents.Placeholder>
|
|
97
|
+
Subtitle node
|
|
98
|
+
</StorybookComponents.Placeholder>
|
|
99
|
+
),
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
id: 2,
|
|
103
|
+
title: `Title`,
|
|
104
|
+
subtitle: 'Subtitle',
|
|
105
|
+
extraNode: (
|
|
106
|
+
<StorybookComponents.Placeholder>
|
|
107
|
+
Extra node
|
|
108
|
+
</StorybookComponents.Placeholder>
|
|
109
|
+
),
|
|
110
|
+
image: <Image width="100%" height="100%" />,
|
|
111
|
+
subtitleNode: (
|
|
112
|
+
<StorybookComponents.Placeholder>
|
|
113
|
+
Subtitle node
|
|
114
|
+
</StorybookComponents.Placeholder>
|
|
115
|
+
),
|
|
116
|
+
},
|
|
117
|
+
];
|
|
118
|
+
|
|
119
|
+
const dataWithNode = [
|
|
120
|
+
{
|
|
121
|
+
id: 0,
|
|
122
|
+
title: `Coffee shop 1`,
|
|
123
|
+
subtitle: 'Main street 1',
|
|
124
|
+
extraNode: <Text secondary>2 tables available</Text>,
|
|
125
|
+
image: <Image width="100%" height="100%" src="FoodExample4.jpg" />,
|
|
126
|
+
subtitleNode: (
|
|
127
|
+
<Box direction="horizontal" gap="1" paddingTop="SP1" color="D30">
|
|
128
|
+
<Tooltip content="Table seating">
|
|
129
|
+
<Icons.TableReservationSmall />
|
|
130
|
+
</Tooltip>
|
|
131
|
+
<Tooltip content="Bar">
|
|
132
|
+
<Icons.BarSmall />
|
|
133
|
+
</Tooltip>
|
|
134
|
+
</Box>
|
|
135
|
+
),
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
id: 1,
|
|
139
|
+
title: `Coffee shop 2`,
|
|
140
|
+
subtitle: 'Main street 2',
|
|
141
|
+
extraNode: <Text secondary>7 tables available</Text>,
|
|
142
|
+
image: <Image width="100%" height="100%" src="FoodExample1.jpg" />,
|
|
143
|
+
subtitleNode: (
|
|
144
|
+
<Box direction="horizontal" gap="1" paddingTop="SP1" color="D30">
|
|
145
|
+
<Tooltip content="Table seating">
|
|
146
|
+
<Icons.TableReservationSmall />
|
|
147
|
+
</Tooltip>
|
|
148
|
+
</Box>
|
|
149
|
+
),
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
id: 2,
|
|
153
|
+
title: `Coffee shop 3`,
|
|
154
|
+
subtitle: 'Main street 2',
|
|
155
|
+
extraNode: <Text secondary>1 table available</Text>,
|
|
156
|
+
image: <Image width="100%" height="100%" src="FoodExample5.jpg" />,
|
|
157
|
+
subtitleNode: (
|
|
158
|
+
<Box direction="horizontal" gap="1" paddingTop="SP1" color="D30">
|
|
159
|
+
<Tooltip content="Table seating">
|
|
160
|
+
<Icons.TableReservationSmall />
|
|
161
|
+
</Tooltip>
|
|
162
|
+
<Tooltip content="Bar">
|
|
163
|
+
<Icons.BarSmall />
|
|
164
|
+
</Tooltip>
|
|
165
|
+
</Box>
|
|
166
|
+
),
|
|
167
|
+
},
|
|
168
|
+
];
|
|
169
|
+
|
|
170
|
+
const getDataSource = data => (searchQuery, offset, limit) =>
|
|
171
|
+
new Promise(resolve =>
|
|
172
|
+
setTimeout(() => {
|
|
173
|
+
const filtered = data.filter(({ title }) =>
|
|
174
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
175
|
+
);
|
|
176
|
+
|
|
177
|
+
resolve({
|
|
178
|
+
items: filtered.slice(offset, offset + limit),
|
|
179
|
+
totalCount: filtered.length,
|
|
180
|
+
});
|
|
181
|
+
}, 2000),
|
|
182
|
+
);
|
|
183
|
+
|
|
184
|
+
return (
|
|
185
|
+
<StorybookComponents.Stack flexDirection="column">
|
|
186
|
+
<SelectorList dataSource={getDataSource(plainData)} />
|
|
187
|
+
<SelectorList dataSource={getDataSource(dataWithImage)} />
|
|
188
|
+
<SelectorList dataSource={getDataSource(dataWithNode)} />
|
|
189
|
+
</StorybookComponents.Stack>
|
|
190
|
+
);
|
|
191
|
+
};
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Image shape
|
|
195
|
+
- description: <p>Control shape of the images with the <code>imageShape</code> prop:</p><li><code>rectangular</code>is the default that's used for all common cases. </li><li><code>circle</code> is for images that show users or user initials.</li>
|
|
196
|
+
- example:
|
|
197
|
+
```jsx
|
|
198
|
+
() => {
|
|
199
|
+
const rectangularData = [
|
|
200
|
+
{
|
|
201
|
+
id: 0,
|
|
202
|
+
title: `Rectangular (default)`,
|
|
203
|
+
image: <Image weight="100%" height="100%" />,
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
id: 1,
|
|
207
|
+
title: `Rectangular (default)`,
|
|
208
|
+
image: <Image weight="100%" height="100%" />,
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
id: 2,
|
|
212
|
+
title: `Rectangular (default)`,
|
|
213
|
+
image: <Image weight="100%" height="100%" />,
|
|
214
|
+
},
|
|
215
|
+
];
|
|
216
|
+
|
|
217
|
+
const circleData = [
|
|
218
|
+
{
|
|
219
|
+
id: 0,
|
|
220
|
+
title: `Circle`,
|
|
221
|
+
image: <Image weight="100%" height="100%" />,
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
id: 1,
|
|
225
|
+
title: `Circle`,
|
|
226
|
+
image: <Image weight="100%" height="100%" />,
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
id: 2,
|
|
230
|
+
title: `Circle`,
|
|
231
|
+
image: <Image weight="100%" height="100%" />,
|
|
232
|
+
},
|
|
233
|
+
];
|
|
234
|
+
|
|
235
|
+
const getDataSource = data => (searchQuery, offset, limit) =>
|
|
236
|
+
new Promise(resolve =>
|
|
237
|
+
setTimeout(() => {
|
|
238
|
+
const filtered = data.filter(({ title }) =>
|
|
239
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
240
|
+
);
|
|
241
|
+
|
|
242
|
+
resolve({
|
|
243
|
+
items: filtered.slice(offset, offset + limit),
|
|
244
|
+
totalCount: filtered.length,
|
|
245
|
+
});
|
|
246
|
+
}, 2000),
|
|
247
|
+
);
|
|
248
|
+
|
|
249
|
+
return (
|
|
250
|
+
<StorybookComponents.Stack flexDirection="column">
|
|
251
|
+
<SelectorList dataSource={getDataSource(rectangularData)} />
|
|
252
|
+
<SelectorList
|
|
253
|
+
dataSource={getDataSource(circleData)}
|
|
254
|
+
imageShape="circle"
|
|
255
|
+
/>
|
|
256
|
+
</StorybookComponents.Stack>
|
|
257
|
+
);
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### Image size
|
|
263
|
+
- description: <p>Change the size of the images with <code>imageSize</code> props:</p><li><code>tiny</code> is for especially dense layouts.</li><li><code>small</code> is for dense layouts.</li><li><code>large</code> is the default for all common cases.</li><li><code>portrait</code> should be used to present images vertically.</li><li><code>cinema</code> should be used to present images horizontally.</li><p></p><p>Note: Only use a <code>rectangular</code> image when the size is <code>portrait</code> or <code>cinema</code>.</p>
|
|
264
|
+
- example:
|
|
265
|
+
```jsx
|
|
266
|
+
() => {
|
|
267
|
+
const tinyImageData = [
|
|
268
|
+
{
|
|
269
|
+
id: 0,
|
|
270
|
+
title: `Tiny`,
|
|
271
|
+
image: <Image weight="100%" height="100%" />,
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
id: 1,
|
|
275
|
+
title: `Tiny`,
|
|
276
|
+
image: <Image weight="100%" height="100%" />,
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
id: 2,
|
|
280
|
+
title: `Tiny`,
|
|
281
|
+
image: <Image weight="100%" height="100%" />,
|
|
282
|
+
},
|
|
283
|
+
];
|
|
284
|
+
|
|
285
|
+
const smallImageData = [
|
|
286
|
+
{
|
|
287
|
+
id: 0,
|
|
288
|
+
title: `Small`,
|
|
289
|
+
image: <Image weight="100%" height="100%" />,
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
id: 1,
|
|
293
|
+
title: `Small`,
|
|
294
|
+
image: <Image weight="100%" height="100%" />,
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
id: 2,
|
|
298
|
+
title: `Small`,
|
|
299
|
+
image: <Image weight="100%" height="100%" />,
|
|
300
|
+
},
|
|
301
|
+
];
|
|
302
|
+
|
|
303
|
+
const largeImageData = [
|
|
304
|
+
{
|
|
305
|
+
id: 0,
|
|
306
|
+
title: `Large (default)`,
|
|
307
|
+
image: <Image weight="100%" height="100%" />,
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
id: 1,
|
|
311
|
+
title: `Large (default)`,
|
|
312
|
+
image: <Image weight="100%" height="100%" />,
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
id: 2,
|
|
316
|
+
title: `Large (default)`,
|
|
317
|
+
image: <Image weight="100%" height="100%" />,
|
|
318
|
+
},
|
|
319
|
+
];
|
|
320
|
+
|
|
321
|
+
const portraitImageData = [
|
|
322
|
+
{
|
|
323
|
+
id: 0,
|
|
324
|
+
title: `Portrait`,
|
|
325
|
+
image: <Image weight="100%" height="100%" />,
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
id: 1,
|
|
329
|
+
title: `Portrait`,
|
|
330
|
+
image: <Image weight="100%" height="100%" />,
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
id: 2,
|
|
334
|
+
title: `Portrait`,
|
|
335
|
+
image: <Image weight="100%" height="100%" />,
|
|
336
|
+
},
|
|
337
|
+
];
|
|
338
|
+
|
|
339
|
+
const cinemaImageData = [
|
|
340
|
+
{
|
|
341
|
+
id: 0,
|
|
342
|
+
title: `Cinema`,
|
|
343
|
+
image: <Image weight="100%" height="100%" />,
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
id: 1,
|
|
347
|
+
title: `Cinema`,
|
|
348
|
+
image: <Image weight="100%" height="100%" />,
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
id: 2,
|
|
352
|
+
title: `Cinema`,
|
|
353
|
+
image: <Image weight="100%" height="100%" />,
|
|
354
|
+
},
|
|
355
|
+
];
|
|
356
|
+
|
|
357
|
+
const getDataSource = data => (searchQuery, offset, limit) =>
|
|
358
|
+
new Promise(resolve =>
|
|
359
|
+
setTimeout(() => {
|
|
360
|
+
const filtered = data.filter(({ title }) =>
|
|
361
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
362
|
+
);
|
|
363
|
+
|
|
364
|
+
resolve({
|
|
365
|
+
items: filtered.slice(offset, offset + limit),
|
|
366
|
+
totalCount: filtered.length,
|
|
367
|
+
});
|
|
368
|
+
}, 2000),
|
|
369
|
+
);
|
|
370
|
+
|
|
371
|
+
return (
|
|
372
|
+
<StorybookComponents.Stack flexDirection="column">
|
|
373
|
+
<SelectorList
|
|
374
|
+
dataSource={getDataSource(tinyImageData)}
|
|
375
|
+
imageSize="tiny"
|
|
376
|
+
/>
|
|
377
|
+
<SelectorList
|
|
378
|
+
dataSource={getDataSource(smallImageData)}
|
|
379
|
+
imageSize="small"
|
|
380
|
+
/>
|
|
381
|
+
<SelectorList
|
|
382
|
+
dataSource={getDataSource(largeImageData)}
|
|
383
|
+
imageSize="large"
|
|
384
|
+
/>
|
|
385
|
+
<SelectorList
|
|
386
|
+
dataSource={getDataSource(portraitImageData)}
|
|
387
|
+
imageSize="portrait"
|
|
388
|
+
/>
|
|
389
|
+
<SelectorList
|
|
390
|
+
dataSource={getDataSource(cinemaImageData)}
|
|
391
|
+
imageSize="cinema"
|
|
392
|
+
/>
|
|
393
|
+
</StorybookComponents.Stack>
|
|
394
|
+
);
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
### Height
|
|
400
|
+
- description: <p>Control the height of the selector list with these props:</p><li><code>height</code> changes the component's height in pixels or percentage.</li><li><code>maxHeight</code> sets the component's max height in pixels or percentage.</li><p></p><p>By default, the component fills in 100% of its parent container. If the selector list is longer than <code>height</code> or <code>maxHeight</code> , a vertical scrollbar appears.</p>
|
|
401
|
+
- example:
|
|
402
|
+
```jsx
|
|
403
|
+
() => {
|
|
404
|
+
const data = (searchQuery, offset, limit) =>
|
|
405
|
+
new Promise(resolve =>
|
|
406
|
+
setTimeout(() => {
|
|
407
|
+
const items = [
|
|
408
|
+
{
|
|
409
|
+
id: 0,
|
|
410
|
+
title: `Item`,
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
id: 1,
|
|
414
|
+
title: `Item`,
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
id: 3,
|
|
418
|
+
title: `Item`,
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
id: 4,
|
|
422
|
+
title: `Item`,
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
id: 5,
|
|
426
|
+
title: `Item`,
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
id: 6,
|
|
430
|
+
title: `Item`,
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
id: 7,
|
|
434
|
+
title: `Item`,
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
id: 8,
|
|
438
|
+
title: `Item`,
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
id: 9,
|
|
442
|
+
title: `Item`,
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
id: 10,
|
|
446
|
+
title: `Item`,
|
|
447
|
+
},
|
|
448
|
+
];
|
|
449
|
+
|
|
450
|
+
const filtered = items.filter(({ title }) =>
|
|
451
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
452
|
+
);
|
|
453
|
+
|
|
454
|
+
resolve({
|
|
455
|
+
items: filtered.slice(offset, offset + limit),
|
|
456
|
+
totalCount: filtered.length,
|
|
457
|
+
});
|
|
458
|
+
}, 2000),
|
|
459
|
+
);
|
|
460
|
+
return (
|
|
461
|
+
<StorybookComponents.Stack flexDirection="line">
|
|
462
|
+
<SelectorList dataSource={data} height="240px"></SelectorList>
|
|
463
|
+
<SelectorList dataSource={data} maxHeight="360px"></SelectorList>
|
|
464
|
+
</StorybookComponents.Stack>
|
|
465
|
+
);
|
|
466
|
+
};
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
### Disabled item
|
|
470
|
+
- description: <p>Mark a list item as unavailable for selection with the <code>disabled</code> prop.</p><p></p><p>The item will still be displayed in the list and search results.</p>
|
|
471
|
+
- example:
|
|
472
|
+
```jsx
|
|
473
|
+
() => {
|
|
474
|
+
const data = (searchQuery, offset, limit) =>
|
|
475
|
+
new Promise(resolve =>
|
|
476
|
+
setTimeout(() => {
|
|
477
|
+
const items = [
|
|
478
|
+
{
|
|
479
|
+
id: 0,
|
|
480
|
+
title: `Item`,
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
id: 1,
|
|
484
|
+
title: `Disabled item`,
|
|
485
|
+
disabled: true,
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
id: 2,
|
|
489
|
+
title: `Item`,
|
|
490
|
+
},
|
|
491
|
+
];
|
|
492
|
+
|
|
493
|
+
const filtered = items.filter(({ title }) =>
|
|
494
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
495
|
+
);
|
|
496
|
+
|
|
497
|
+
resolve({
|
|
498
|
+
items: filtered.slice(offset, offset + limit),
|
|
499
|
+
totalCount: filtered.length,
|
|
500
|
+
});
|
|
501
|
+
}, 2000),
|
|
502
|
+
);
|
|
503
|
+
return <SelectorList dataSource={data} />;
|
|
504
|
+
};
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
### Subtitle
|
|
508
|
+
- description: <p>Add any component inside a <code>subtitle</code> container above the search input. Together with search input, they will stick to the top when users scroll the list.</p><p></p><p>Use this container to add text, a heading or filter to selector list items.</p>
|
|
509
|
+
- example:
|
|
510
|
+
```jsx
|
|
511
|
+
() => {
|
|
512
|
+
const data = (searchQuery, offset, limit) =>
|
|
513
|
+
new Promise(resolve =>
|
|
514
|
+
setTimeout(() => {
|
|
515
|
+
const items = [
|
|
516
|
+
{
|
|
517
|
+
id: 0,
|
|
518
|
+
title: `Item`,
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
id: 1,
|
|
522
|
+
title: `Item`,
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
id: 2,
|
|
526
|
+
title: `Item`,
|
|
527
|
+
},
|
|
528
|
+
];
|
|
529
|
+
|
|
530
|
+
const filtered = items.filter(({ title }) =>
|
|
531
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
532
|
+
);
|
|
533
|
+
|
|
534
|
+
resolve({
|
|
535
|
+
items: filtered.slice(offset, offset + limit),
|
|
536
|
+
totalCount: filtered.length,
|
|
537
|
+
});
|
|
538
|
+
}, 2000),
|
|
539
|
+
);
|
|
540
|
+
return (
|
|
541
|
+
<SelectorList
|
|
542
|
+
dataSource={data}
|
|
543
|
+
subtitle=<StorybookComponents.Placeholder>
|
|
544
|
+
Subtitle
|
|
545
|
+
</StorybookComponents.Placeholder>
|
|
546
|
+
/>
|
|
547
|
+
);
|
|
548
|
+
};
|
|
549
|
+
```
|
|
550
|
+
|
|
551
|
+
### Search
|
|
552
|
+
- description: <p>The selector list has a search input field by default. Control its visibility using <code>withSearch</code> prop.</p><p></p><p>Change the search placeholder value with <code>searchPlaceholder</code> prop.</p>
|
|
553
|
+
- example:
|
|
554
|
+
```jsx
|
|
555
|
+
() => {
|
|
556
|
+
const data = (searchQuery, offset, limit) =>
|
|
557
|
+
new Promise(resolve =>
|
|
558
|
+
setTimeout(() => {
|
|
559
|
+
const items = [
|
|
560
|
+
{
|
|
561
|
+
id: 0,
|
|
562
|
+
title: `Item`,
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
id: 1,
|
|
566
|
+
title: `Item`,
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
id: 2,
|
|
570
|
+
title: `Item`,
|
|
571
|
+
},
|
|
572
|
+
];
|
|
573
|
+
|
|
574
|
+
const filtered = items.filter(({ title }) =>
|
|
575
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
576
|
+
);
|
|
577
|
+
|
|
578
|
+
resolve({
|
|
579
|
+
items: filtered.slice(offset, offset + limit),
|
|
580
|
+
totalCount: filtered.length,
|
|
581
|
+
});
|
|
582
|
+
}, 2000),
|
|
583
|
+
);
|
|
584
|
+
|
|
585
|
+
return (
|
|
586
|
+
<StorybookComponents.Stack flexDirection="column">
|
|
587
|
+
<SelectorList dataSource={data} withSearch={false} />
|
|
588
|
+
<SelectorList
|
|
589
|
+
dataSource={data}
|
|
590
|
+
searchPlaceholder="Custom placeholder"
|
|
591
|
+
/>
|
|
592
|
+
</StorybookComponents.Stack>
|
|
593
|
+
);
|
|
594
|
+
};
|
|
595
|
+
```
|
|
596
|
+
|
|
597
|
+
### Select or deselect all
|
|
598
|
+
- description: <p>Allow users to select all items at once by adding a “Select all” checkbox below the list.</p><p></p><p>When the selector list is inside a <code><CustomModalLayout/></code>, add the checkbox to its footer <code>sideActions</code> container using the <code>renderToggleAllCheckbox</code> function.</p><p></p><p>Customize checkbox labels with the properties <code>selectAllText</code> and <code>deselectAllText</code>.</p><p></p><p>Note: Make sure the “Select all” checkbox is aligned with the list checkboxes by wrapping <code>renderToggleAllCheckbox</code> function to the <code><Box/></code> with 6 px left padding.</p>
|
|
599
|
+
- example:
|
|
600
|
+
```jsx
|
|
601
|
+
() => {
|
|
602
|
+
const data = (searchQuery, offset, limit) =>
|
|
603
|
+
new Promise(resolve =>
|
|
604
|
+
setTimeout(() => {
|
|
605
|
+
const items = [
|
|
606
|
+
{
|
|
607
|
+
id: 0,
|
|
608
|
+
title: `Item`,
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
id: 1,
|
|
612
|
+
title: `Item`,
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
id: 2,
|
|
616
|
+
title: `Item`,
|
|
617
|
+
},
|
|
618
|
+
];
|
|
619
|
+
|
|
620
|
+
const filtered = items.filter(({ title }) =>
|
|
621
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
622
|
+
);
|
|
623
|
+
|
|
624
|
+
resolve({
|
|
625
|
+
items: filtered.slice(offset, offset + limit),
|
|
626
|
+
totalCount: filtered.length,
|
|
627
|
+
});
|
|
628
|
+
}, 2000),
|
|
629
|
+
);
|
|
630
|
+
return (
|
|
631
|
+
<StorybookComponents.Stack flexDirection="column">
|
|
632
|
+
<SelectorList dataSource={data} multiple>
|
|
633
|
+
{({ renderList, renderToggleAllCheckbox, selectedItems }) => (
|
|
634
|
+
<CustomModalLayout
|
|
635
|
+
title="Import items"
|
|
636
|
+
primaryButtonText="Import"
|
|
637
|
+
secondaryButtonText="Cancel"
|
|
638
|
+
onCloseButtonClick={() => {}}
|
|
639
|
+
removeContentPadding
|
|
640
|
+
showFooterDivider
|
|
641
|
+
showHeaderDivider
|
|
642
|
+
sideActions=<Box paddingLeft="1">{renderToggleAllCheckbox()}</Box>
|
|
643
|
+
>
|
|
644
|
+
{renderList()}
|
|
645
|
+
</CustomModalLayout>
|
|
646
|
+
)}
|
|
647
|
+
</SelectorList>
|
|
648
|
+
<SelectorList
|
|
649
|
+
dataSource={data}
|
|
650
|
+
multiple
|
|
651
|
+
selectAllText="Select all"
|
|
652
|
+
deselectAllText="Deselect all from importing"
|
|
653
|
+
>
|
|
654
|
+
{({ renderList, renderToggleAllCheckbox, selectedItems }) => (
|
|
655
|
+
<CustomModalLayout
|
|
656
|
+
title="Import items"
|
|
657
|
+
primaryButtonText="Import"
|
|
658
|
+
secondaryButtonText="Cancel"
|
|
659
|
+
onCloseButtonClick={() => {}}
|
|
660
|
+
removeContentPadding
|
|
661
|
+
showFooterDivider
|
|
662
|
+
showHeaderDivider
|
|
663
|
+
sideActions=<Box paddingLeft="1">{renderToggleAllCheckbox()}</Box>
|
|
664
|
+
>
|
|
665
|
+
{renderList()}
|
|
666
|
+
</CustomModalLayout>
|
|
667
|
+
)}
|
|
668
|
+
</SelectorList>
|
|
669
|
+
</StorybookComponents.Stack>
|
|
670
|
+
);
|
|
671
|
+
};
|
|
672
|
+
```
|
|
673
|
+
|
|
674
|
+
### Below node
|
|
675
|
+
- description: <p>Add text or any other component to the container below each item using the <code>belowNode</code> prop, which shows once an item is selected. Be sure to set the <code>showBelowNodeOnSelect</code> property to <code>true</code>.</p>
|
|
676
|
+
- example:
|
|
677
|
+
```jsx
|
|
678
|
+
() => {
|
|
679
|
+
const data = (searchQuery, offset, limit) =>
|
|
680
|
+
new Promise(resolve =>
|
|
681
|
+
setTimeout(() => {
|
|
682
|
+
const items = [
|
|
683
|
+
{
|
|
684
|
+
id: 0,
|
|
685
|
+
title: `Item`,
|
|
686
|
+
belowNode: (
|
|
687
|
+
<StorybookComponents.Placeholder>
|
|
688
|
+
Below node
|
|
689
|
+
</StorybookComponents.Placeholder>
|
|
690
|
+
),
|
|
691
|
+
showBelowNodeOnSelect: true,
|
|
692
|
+
selected: true,
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
id: 1,
|
|
696
|
+
title: `Item`,
|
|
697
|
+
belowNode: (
|
|
698
|
+
<StorybookComponents.Placeholder>
|
|
699
|
+
Below node
|
|
700
|
+
</StorybookComponents.Placeholder>
|
|
701
|
+
),
|
|
702
|
+
showBelowNodeOnSelect: true,
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
id: 2,
|
|
706
|
+
title: `Item`,
|
|
707
|
+
belowNode: (
|
|
708
|
+
<StorybookComponents.Placeholder>
|
|
709
|
+
Below node
|
|
710
|
+
</StorybookComponents.Placeholder>
|
|
711
|
+
),
|
|
712
|
+
showBelowNodeOnSelect: true,
|
|
713
|
+
},
|
|
714
|
+
];
|
|
715
|
+
|
|
716
|
+
const filtered = items.filter(({ title }) =>
|
|
717
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
718
|
+
);
|
|
719
|
+
|
|
720
|
+
resolve({
|
|
721
|
+
items: filtered.slice(offset, offset + limit),
|
|
722
|
+
totalCount: filtered.length,
|
|
723
|
+
});
|
|
724
|
+
}, 2000),
|
|
725
|
+
);
|
|
726
|
+
|
|
727
|
+
return <SelectorList dataSource={data} />;
|
|
728
|
+
};
|
|
729
|
+
```
|
|
730
|
+
|
|
731
|
+
### No items empty state
|
|
732
|
+
- description: <p>Use <code>emptyState</code> prop to display the <code><EmptyState/></code> component in the <code>section</code> theme when there are no items show.<a href="https://www.wix-style-react.com/storybook/?path=/story/components-layout--emptystate"></a></p><p></p><p>Make sure the illustration reflects the type of items the list should contain.</p>
|
|
733
|
+
- example:
|
|
734
|
+
```jsx
|
|
735
|
+
() => {
|
|
736
|
+
const data = (searchQuery, offset, limit) =>
|
|
737
|
+
new Promise(resolve =>
|
|
738
|
+
setTimeout(() => {
|
|
739
|
+
const items = [];
|
|
740
|
+
|
|
741
|
+
const filtered = items.filter(({ title }) =>
|
|
742
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
743
|
+
);
|
|
744
|
+
|
|
745
|
+
resolve({
|
|
746
|
+
items: filtered.slice(offset, offset + limit),
|
|
747
|
+
totalCount: filtered.length,
|
|
748
|
+
});
|
|
749
|
+
}, 2000),
|
|
750
|
+
);
|
|
751
|
+
|
|
752
|
+
return (
|
|
753
|
+
<SelectorList
|
|
754
|
+
dataSource={data}
|
|
755
|
+
imageSize="small"
|
|
756
|
+
emptyState=<Box height="280px" align="center" verticalAlign="middle">
|
|
757
|
+
<EmptyState
|
|
758
|
+
image="EmptyState_Generic1.svg"
|
|
759
|
+
title="Add your first meal"
|
|
760
|
+
subtitle="Start getting orders by adding meals to your menu."
|
|
761
|
+
>
|
|
762
|
+
<TextButton prefixIcon={<Icons.Add />}>Add Meal</TextButton>
|
|
763
|
+
</EmptyState>
|
|
764
|
+
</Box>
|
|
765
|
+
>
|
|
766
|
+
{({ renderList }) => (
|
|
767
|
+
<CustomModalLayout
|
|
768
|
+
title="Edit menu"
|
|
769
|
+
primaryButtonText="Save"
|
|
770
|
+
secondaryButtonText="Cancel"
|
|
771
|
+
onCloseButtonClick={() => {}}
|
|
772
|
+
removeContentPadding
|
|
773
|
+
showFooterDivider
|
|
774
|
+
showHeaderDivider
|
|
775
|
+
>
|
|
776
|
+
{renderList()}
|
|
777
|
+
</CustomModalLayout>
|
|
778
|
+
)}
|
|
779
|
+
</SelectorList>
|
|
780
|
+
);
|
|
781
|
+
};
|
|
782
|
+
```
|
|
783
|
+
|
|
784
|
+
### No search results empty state
|
|
785
|
+
- description: <p>Provide an empty state when users look for content via search query and no items match their criteria using the <code>renderNoResults</code> function and the <code><EmptyState/></code> in the <code>section</code> theme.</p><p></p>
|
|
786
|
+
- example:
|
|
787
|
+
```jsx
|
|
788
|
+
() => {
|
|
789
|
+
const data = (searchQuery, offset, limit) =>
|
|
790
|
+
new Promise(resolve =>
|
|
791
|
+
setTimeout(() => {
|
|
792
|
+
const items = [
|
|
793
|
+
{
|
|
794
|
+
id: 0,
|
|
795
|
+
title: `Item`,
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
id: 1,
|
|
799
|
+
title: `Item`,
|
|
800
|
+
},
|
|
801
|
+
{
|
|
802
|
+
id: 2,
|
|
803
|
+
title: `Item`,
|
|
804
|
+
},
|
|
805
|
+
];
|
|
806
|
+
|
|
807
|
+
const filtered = items.filter(({ title }) =>
|
|
808
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
809
|
+
);
|
|
810
|
+
|
|
811
|
+
resolve({
|
|
812
|
+
items: filtered.slice(offset, offset + limit),
|
|
813
|
+
totalCount: filtered.length,
|
|
814
|
+
});
|
|
815
|
+
}, 2000),
|
|
816
|
+
);
|
|
817
|
+
return (
|
|
818
|
+
<SelectorList
|
|
819
|
+
dataSource={data}
|
|
820
|
+
multiple
|
|
821
|
+
renderNoResults={() => (
|
|
822
|
+
<Box height="280px" align="center" verticalAlign="middle">
|
|
823
|
+
<EmptyState
|
|
824
|
+
image="EmptyState_Generic2.svg"
|
|
825
|
+
title="No results found"
|
|
826
|
+
subtitle="No items match your search criteria. Try to search by another keyword."
|
|
827
|
+
>
|
|
828
|
+
<TextButton>Clear Search</TextButton>
|
|
829
|
+
</EmptyState>
|
|
830
|
+
</Box>
|
|
831
|
+
)}
|
|
832
|
+
>
|
|
833
|
+
{({ renderList }) => (
|
|
834
|
+
<CustomModalLayout
|
|
835
|
+
title="Import items"
|
|
836
|
+
primaryButtonText="Import"
|
|
837
|
+
secondaryButtonText="Cancel"
|
|
838
|
+
onCloseButtonClick={() => {}}
|
|
839
|
+
removeContentPadding
|
|
840
|
+
showFooterDivider
|
|
841
|
+
showHeaderDivider
|
|
842
|
+
>
|
|
843
|
+
{renderList()}
|
|
844
|
+
</CustomModalLayout>
|
|
845
|
+
)}
|
|
846
|
+
</SelectorList>
|
|
847
|
+
);
|
|
848
|
+
};
|
|
849
|
+
```
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
## Developer Examples
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
### Number of items to load
|
|
858
|
+
- description: <p>Control the number of items that load with two properties:</p><li><code>initialAmountToLoad</code> is the number of items loaded after a search.</li><li><code>itemsPerPage</code> is the number of items that load each consecutive time a user scrolls down to the end of the list. The default is 50.</li><p></p><p>If not specified, <code>initialAmountToLoad</code> will be the same as <code>itemsPerPage</code>.</p>
|
|
859
|
+
- example:
|
|
860
|
+
```jsx
|
|
861
|
+
() => {
|
|
862
|
+
const data = (searchQuery, offset, limit) =>
|
|
863
|
+
new Promise(resolve =>
|
|
864
|
+
setTimeout(() => {
|
|
865
|
+
const items = Array(50)
|
|
866
|
+
.fill(0)
|
|
867
|
+
.map((_, i) => ({
|
|
868
|
+
id: i,
|
|
869
|
+
title: `Item ${i + 1}`,
|
|
870
|
+
}));
|
|
871
|
+
|
|
872
|
+
const filtered = items.filter(({ title }) =>
|
|
873
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
874
|
+
);
|
|
875
|
+
|
|
876
|
+
resolve({
|
|
877
|
+
items: filtered.slice(offset, offset + limit),
|
|
878
|
+
totalCount: filtered.length,
|
|
879
|
+
});
|
|
880
|
+
}, 2000),
|
|
881
|
+
);
|
|
882
|
+
return (
|
|
883
|
+
<CustomModalLayout
|
|
884
|
+
height="480px"
|
|
885
|
+
title="Select item"
|
|
886
|
+
primaryButtonText="Select"
|
|
887
|
+
secondaryButtonText="Cancel"
|
|
888
|
+
onCloseButtonClick={() => {}}
|
|
889
|
+
removeContentPadding
|
|
890
|
+
showHeaderDivider
|
|
891
|
+
showFooterDivider
|
|
892
|
+
>
|
|
893
|
+
<SelectorList
|
|
894
|
+
itemsPerPage={15}
|
|
895
|
+
initialAmountToLoad={10}
|
|
896
|
+
dataSource={data}
|
|
897
|
+
/>
|
|
898
|
+
</CustomModalLayout>
|
|
899
|
+
);
|
|
900
|
+
};
|
|
901
|
+
```
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
|
|
907
|
+
## Common Use Case Examples
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
### Single selection
|
|
911
|
+
- description: <p>Use the selector list to load and display a set of items.</p><p></p><p>If the anticipated number of items is small, hide the default search input field.</p><p></p><p>Use the <code>subtitle</code>, <code>subtitleNode</code> or <code>extraNode</code> containers to explain why an item is unavailable for selection.</p>
|
|
912
|
+
- example:
|
|
913
|
+
```jsx
|
|
914
|
+
() => {
|
|
915
|
+
const data = (searchQuery, offset, limit) =>
|
|
916
|
+
new Promise(resolve =>
|
|
917
|
+
setTimeout(() => {
|
|
918
|
+
const items = [
|
|
919
|
+
{
|
|
920
|
+
id: 0,
|
|
921
|
+
title: `Training`,
|
|
922
|
+
subtitle: `3 posts`,
|
|
923
|
+
extraNode: <Text secondary>Current category</Text>,
|
|
924
|
+
disabled: true,
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
id: 1,
|
|
928
|
+
title: `Championships`,
|
|
929
|
+
subtitle: `3 posts`,
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
id: 3,
|
|
933
|
+
title: `Inventory`,
|
|
934
|
+
subtitle: `21 post`,
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
id: 4,
|
|
938
|
+
title: `Trainers`,
|
|
939
|
+
subtitle: `18 posts`,
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
id: 5,
|
|
943
|
+
title: `Teams`,
|
|
944
|
+
subtitle: `2 posts`,
|
|
945
|
+
},
|
|
946
|
+
];
|
|
947
|
+
|
|
948
|
+
const filtered = items.filter(({ title }) =>
|
|
949
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
950
|
+
);
|
|
951
|
+
|
|
952
|
+
resolve({
|
|
953
|
+
items: filtered.slice(offset, offset + limit),
|
|
954
|
+
totalCount: filtered.length,
|
|
955
|
+
});
|
|
956
|
+
}, 2000),
|
|
957
|
+
);
|
|
958
|
+
|
|
959
|
+
return (
|
|
960
|
+
<CustomModalLayout
|
|
961
|
+
primaryButtonText="Move Post"
|
|
962
|
+
secondaryButtonText="Cancel"
|
|
963
|
+
onCloseButtonClick={() => setShown(false)}
|
|
964
|
+
title="Move post to a category"
|
|
965
|
+
removeContentPadding
|
|
966
|
+
showFooterDivider
|
|
967
|
+
showHeaderDivider
|
|
968
|
+
width="600px"
|
|
969
|
+
>
|
|
970
|
+
<SelectorList dataSource={data} withSearch={false} />
|
|
971
|
+
</CustomModalLayout>
|
|
972
|
+
);
|
|
973
|
+
};
|
|
974
|
+
```
|
|
975
|
+
|
|
976
|
+
### Multiple selection
|
|
977
|
+
- description: <p>Use the selector list to search and select multiple items.</p><p></p><p>Allow users to select and deselect all items at once using the <code>renderToggleAllCheckbox</code> function.</p>
|
|
978
|
+
- example:
|
|
979
|
+
```jsx
|
|
980
|
+
() => {
|
|
981
|
+
const data = (searchQuery, offset, limit) =>
|
|
982
|
+
new Promise(resolve =>
|
|
983
|
+
setTimeout(() => {
|
|
984
|
+
const items = [
|
|
985
|
+
{
|
|
986
|
+
id: 0,
|
|
987
|
+
title: `Science Expert`,
|
|
988
|
+
subtitle: `Monaco, Monaco`,
|
|
989
|
+
extraNode: <Text secondary>$77/h</Text>,
|
|
990
|
+
image: (
|
|
991
|
+
<Avatar
|
|
992
|
+
name="Science Expert"
|
|
993
|
+
size="size60"
|
|
994
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
995
|
+
/>
|
|
996
|
+
),
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
id: 1,
|
|
1000
|
+
title: `Yoga Expert`,
|
|
1001
|
+
subtitle: `New Delhi, India`,
|
|
1002
|
+
extraNode: <Text secondary>$78/h</Text>,
|
|
1003
|
+
image: (
|
|
1004
|
+
<Avatar
|
|
1005
|
+
name="Yoga Expert"
|
|
1006
|
+
size="size60"
|
|
1007
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1008
|
+
/>
|
|
1009
|
+
),
|
|
1010
|
+
},
|
|
1011
|
+
{
|
|
1012
|
+
id: 3,
|
|
1013
|
+
title: `History Expert`,
|
|
1014
|
+
subtitle: `Singapore, Singapore`,
|
|
1015
|
+
extraNode: <Text secondary>$52/h</Text>,
|
|
1016
|
+
image: (
|
|
1017
|
+
<Avatar
|
|
1018
|
+
name="History Expert"
|
|
1019
|
+
size="size60"
|
|
1020
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1021
|
+
/>
|
|
1022
|
+
),
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
id: 4,
|
|
1026
|
+
title: `Statistics Expert`,
|
|
1027
|
+
subtitle: `Abidjan, Ivory Coast`,
|
|
1028
|
+
extraNode: <Text secondary>$80/h</Text>,
|
|
1029
|
+
image: (
|
|
1030
|
+
<Avatar
|
|
1031
|
+
name="Statistics Expert"
|
|
1032
|
+
size="size60"
|
|
1033
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1034
|
+
/>
|
|
1035
|
+
),
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
id: 5,
|
|
1039
|
+
title: `Soccer Expert`,
|
|
1040
|
+
subtitle: `Tokyo, Japan`,
|
|
1041
|
+
extraNode: <Text secondary>$200/h</Text>,
|
|
1042
|
+
image: (
|
|
1043
|
+
<Avatar
|
|
1044
|
+
name="Soccer Expert"
|
|
1045
|
+
size="size60"
|
|
1046
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1047
|
+
/>
|
|
1048
|
+
),
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
id: 6,
|
|
1052
|
+
title: `Culinary Expert`,
|
|
1053
|
+
subtitle: `Sydney, Australia`,
|
|
1054
|
+
extraNode: <Text secondary>$102/h</Text>,
|
|
1055
|
+
image: (
|
|
1056
|
+
<Avatar
|
|
1057
|
+
name="Culinary Expert"
|
|
1058
|
+
size="size60"
|
|
1059
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1060
|
+
/>
|
|
1061
|
+
),
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
id: 7,
|
|
1065
|
+
title: `Design Expert`,
|
|
1066
|
+
subtitle: `Baku, Azerbaijan`,
|
|
1067
|
+
extraNode: <Text secondary>$75/h</Text>,
|
|
1068
|
+
image: (
|
|
1069
|
+
<Avatar
|
|
1070
|
+
name="Design Expert"
|
|
1071
|
+
size="size60"
|
|
1072
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1073
|
+
/>
|
|
1074
|
+
),
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
id: 8,
|
|
1078
|
+
title: `SEO Expert`,
|
|
1079
|
+
subtitle: `San Francisco, United States`,
|
|
1080
|
+
extraNode: <Text secondary>$115/h</Text>,
|
|
1081
|
+
image: (
|
|
1082
|
+
<Avatar
|
|
1083
|
+
name="SEO Expert"
|
|
1084
|
+
size="size60"
|
|
1085
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1086
|
+
/>
|
|
1087
|
+
),
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
id: 9,
|
|
1091
|
+
title: `Painting Expert`,
|
|
1092
|
+
subtitle: `Seoul, South Korea`,
|
|
1093
|
+
extraNode: <Text secondary>$65/h</Text>,
|
|
1094
|
+
image: (
|
|
1095
|
+
<Avatar
|
|
1096
|
+
name="Painting Expert"
|
|
1097
|
+
size="size60"
|
|
1098
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1099
|
+
/>
|
|
1100
|
+
),
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
id: 10,
|
|
1104
|
+
title: `Health Expert`,
|
|
1105
|
+
subtitle: `Paris, France`,
|
|
1106
|
+
extraNode: <Text secondary>$160/h</Text>,
|
|
1107
|
+
image: (
|
|
1108
|
+
<Avatar
|
|
1109
|
+
name="Health Expert"
|
|
1110
|
+
size="size60"
|
|
1111
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1112
|
+
/>
|
|
1113
|
+
),
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
id: 11,
|
|
1117
|
+
title: `Writing Expert`,
|
|
1118
|
+
subtitle: `Oklahoma City, United States`,
|
|
1119
|
+
extraNode: <Text secondary>$90/h</Text>,
|
|
1120
|
+
image: (
|
|
1121
|
+
<Avatar
|
|
1122
|
+
name="Writing Expert"
|
|
1123
|
+
size="size60"
|
|
1124
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1125
|
+
/>
|
|
1126
|
+
),
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
id: 12,
|
|
1130
|
+
title: `Painting Expert`,
|
|
1131
|
+
subtitle: `Phoenix, Arizona, United States`,
|
|
1132
|
+
extraNode: <Text secondary>$80/h</Text>,
|
|
1133
|
+
image: (
|
|
1134
|
+
<Avatar
|
|
1135
|
+
name="Painting Expert"
|
|
1136
|
+
size="size60"
|
|
1137
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1138
|
+
/>
|
|
1139
|
+
),
|
|
1140
|
+
},
|
|
1141
|
+
{
|
|
1142
|
+
id: 13,
|
|
1143
|
+
title: `Meditation Expert`,
|
|
1144
|
+
subtitle: `Belgrade, Serbia`,
|
|
1145
|
+
extraNode: <Text secondary>$64/h</Text>,
|
|
1146
|
+
image: (
|
|
1147
|
+
<Avatar
|
|
1148
|
+
name="Meditation Expert"
|
|
1149
|
+
size="size60"
|
|
1150
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1151
|
+
/>
|
|
1152
|
+
),
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
id: 14,
|
|
1156
|
+
title: `Career Expert`,
|
|
1157
|
+
subtitle: `Tokyo, Japan`,
|
|
1158
|
+
extraNode: <Text secondary>$130/h</Text>,
|
|
1159
|
+
image: (
|
|
1160
|
+
<Avatar
|
|
1161
|
+
name="Career Expert"
|
|
1162
|
+
size="size60"
|
|
1163
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1164
|
+
/>
|
|
1165
|
+
),
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
id: 15,
|
|
1169
|
+
title: `Sales Expert`,
|
|
1170
|
+
subtitle: `Bangkok, Thailand`,
|
|
1171
|
+
extraNode: <Text secondary>$75/h</Text>,
|
|
1172
|
+
image: (
|
|
1173
|
+
<Avatar
|
|
1174
|
+
name="Sales Expert"
|
|
1175
|
+
size="size60"
|
|
1176
|
+
imgProps={{ src: 'NotFoundImage.jpg' }}
|
|
1177
|
+
/>
|
|
1178
|
+
),
|
|
1179
|
+
},
|
|
1180
|
+
];
|
|
1181
|
+
|
|
1182
|
+
const filtered = items.filter(({ title }) =>
|
|
1183
|
+
title.toLowerCase().includes(searchQuery.toLowerCase()),
|
|
1184
|
+
);
|
|
1185
|
+
|
|
1186
|
+
resolve({
|
|
1187
|
+
items: filtered.slice(offset, offset + limit),
|
|
1188
|
+
totalCount: filtered.length,
|
|
1189
|
+
});
|
|
1190
|
+
}, 2000),
|
|
1191
|
+
);
|
|
1192
|
+
return (
|
|
1193
|
+
<SelectorList itemsPerPage={10} dataSource={data} multiple>
|
|
1194
|
+
{({ renderList, renderToggleAllCheckbox, selectedItems }) => (
|
|
1195
|
+
<CustomModalLayout
|
|
1196
|
+
width="600px"
|
|
1197
|
+
height="480px"
|
|
1198
|
+
title="Select experts"
|
|
1199
|
+
primaryButtonText="Select"
|
|
1200
|
+
secondaryButtonText="Cancel"
|
|
1201
|
+
onCloseButtonClick={() => {}}
|
|
1202
|
+
removeContentPadding
|
|
1203
|
+
showFooterDivider
|
|
1204
|
+
showHeaderDivider
|
|
1205
|
+
sideActions=<Box paddingLeft="1">{renderToggleAllCheckbox()}</Box>
|
|
1206
|
+
>
|
|
1207
|
+
{renderList()}
|
|
1208
|
+
</CustomModalLayout>
|
|
1209
|
+
)}
|
|
1210
|
+
</SelectorList>
|
|
1211
|
+
);
|
|
1212
|
+
};
|
|
1213
|
+
```
|
|
1214
|
+
|
|
1215
|
+
|