@pingux/astro 1.41.0-alpha.5 → 1.42.0-alpha.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/CHANGELOG.md +24 -0
- package/README.md +1 -2
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.js +6 -6
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +28 -5
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.test.js +8 -8
- package/lib/cjs/components/AccordionGridItem/AccordionGridItem.js +4 -4
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemBody.js +4 -4
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.js +8 -6
- package/lib/cjs/components/AccordionGroup/AccordionGroup.js +3 -3
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +7 -7
- package/lib/cjs/components/AccordionGroup/AccordionGroup.test.js +15 -15
- package/lib/cjs/components/AccordionItem/AccordionItem.js +10 -8
- package/lib/cjs/components/ArrayField/ArrayField.js +20 -18
- package/lib/cjs/components/ArrayField/ArrayField.stories.js +4 -4
- package/lib/cjs/components/ArrayField/ArrayFieldItem.js +50 -0
- package/lib/cjs/components/Box/Box.js +2 -2
- package/lib/cjs/components/Bracket/Bracket.js +1 -1
- package/lib/cjs/components/Bracket/Bracket.stories.js +6 -7
- package/lib/cjs/components/Breadcrumbs/BreadcrumbItem.js +6 -4
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.js +7 -5
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +6 -6
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.test.js +6 -6
- package/lib/cjs/components/Button/Button.js +18 -5
- package/lib/cjs/components/Button/Button.stories.js +1 -1
- package/lib/cjs/components/CheckboxField/CheckboxField.js +19 -14
- package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +18 -5
- package/lib/cjs/components/{Badge → Chip}/Badge.js +1 -1
- package/lib/cjs/components/{Badge → Chip}/Badge.stories.js +26 -29
- package/lib/cjs/components/{Badge → Chip}/Badge.test.js +6 -6
- package/lib/cjs/components/Chip/Chip.js +58 -0
- package/lib/cjs/components/{Badge → Chip}/index.js +2 -2
- package/lib/cjs/components/CodeView/CodeView.js +2 -2
- package/lib/cjs/components/CodeView/CodeView.stories.js +1 -1
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.js +9 -7
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +2 -2
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelBadge.js +2 -2
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelContainer.js +4 -4
- package/lib/cjs/components/CollapsiblePanelItem/CollapsiblePanelItem.js +1 -1
- package/lib/cjs/components/ColorField/ColorField.js +31 -23
- package/lib/cjs/components/ColorField/ColorField.stories.js +17 -4
- package/lib/cjs/components/ComboBox/ComboBoxInput.js +24 -20
- package/lib/cjs/components/ComboBoxField/ComboBoxField.js +14 -10
- package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +3 -3
- package/lib/cjs/components/CopyText/CopyButton.js +3 -2
- package/lib/cjs/components/CopyText/CopyText.js +10 -8
- package/lib/cjs/components/DataTable/DataTable.js +26 -46
- package/lib/cjs/components/DataTable/DataTable.stories.js +7 -7
- package/lib/cjs/components/DataTable/DataTable.styles.js +3 -3
- package/lib/cjs/components/DataTable/DataTable.test.js +8 -8
- package/lib/cjs/components/DataTable/{DataTableBadge.js → DataTableChip.js} +4 -4
- package/lib/cjs/components/DataTable/{DataTableBadge.test.js → DataTableChip.test.js} +1 -1
- package/lib/cjs/components/DataTable/index.js +3 -3
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +18 -14
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +23 -23
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +5 -3
- package/lib/cjs/components/FieldHelperText/FieldHelperText.js +1 -1
- package/lib/cjs/components/FileInputField/FileInputField.js +13 -16
- package/lib/cjs/components/FileInputField/FileInputField.stories.js +2 -4
- package/lib/cjs/components/FileInputField/FileItem.js +7 -7
- package/lib/cjs/components/FileInputField/FileSelect.js +1 -1
- package/lib/cjs/components/HelpHint/HelpHint.js +4 -3
- package/lib/cjs/components/IconButton/IconButton.js +11 -9
- package/lib/cjs/components/IconButton/IconButton.stories.js +2 -2
- package/lib/cjs/components/ImageUploadField/ImagePreviewButton.js +8 -6
- package/lib/cjs/components/ImageUploadField/ImageUploadField.js +2 -4
- package/lib/cjs/components/ImageUploadField/ImageUploadField.stories.js +2 -4
- package/lib/cjs/components/ImageUploadField/ImageUploadFieldBase.js +7 -8
- package/lib/cjs/components/Link/Link.js +9 -5
- package/lib/cjs/components/Link/Link.stories.js +2 -2
- package/lib/cjs/components/LinkSelectField/LinkSelectField.js +19 -10
- package/lib/cjs/components/LinkSelectField/LinkSelectField.stories.js +9 -10
- package/lib/cjs/{styles/themeOverrides/withUiLibraryCss.js → components/List/List.js} +24 -26
- package/lib/cjs/components/List/List.stories.js +66 -0
- package/lib/cjs/components/List/List.test.js +36 -0
- package/lib/cjs/components/List/index.js +18 -0
- package/lib/cjs/components/ListBox/ListBox.js +6 -6
- package/lib/cjs/components/ListBox/ListBox.test.js +3 -3
- package/lib/cjs/components/ListBox/ListBoxSection.js +3 -3
- package/lib/cjs/components/ListBox/Option.js +2 -2
- package/lib/cjs/components/ListItem/ListItem.js +1 -1
- package/lib/cjs/components/ListView/ListView.stories.js +10 -8
- package/lib/cjs/components/ListView/ListView.test.js +8 -8
- package/lib/cjs/components/ListViewItem/ListViewItem.js +9 -7
- package/lib/cjs/components/Menu/Menu.js +9 -7
- package/lib/cjs/components/Menu/Menu.stories.js +4 -4
- package/lib/cjs/components/MenuItem/MenuItem.js +5 -3
- package/lib/cjs/components/Messages/Message.js +3 -3
- package/lib/cjs/components/Messages/Messages.js +1 -1
- package/lib/cjs/components/Messages/Messages.stories.js +14 -14
- package/lib/cjs/components/Messages/Messages.test.js +4 -4
- package/lib/cjs/components/Modal/Modal.js +24 -9
- package/lib/cjs/components/MultivaluesField/MultivaluesField.js +18 -15
- package/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +8 -10
- package/lib/cjs/components/MultivaluesField/MultivaluesField.test.js +14 -14
- package/lib/cjs/components/NavBar/NavBar.stories.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarItem.js +9 -7
- package/lib/cjs/components/NavBarSection/NavBarItemBody.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarItemButton.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarItemLink.js +1 -1
- package/lib/cjs/components/NavBarSection/NavBarSection.js +2 -2
- package/lib/cjs/components/NumberField/NumberField.js +29 -31
- package/lib/cjs/components/NumberField/NumberField.stories.js +2 -4
- package/lib/cjs/components/OverlayPanel/OverlayPanel.js +4 -4
- package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +6 -6
- package/lib/cjs/components/PasswordField/PasswordField.js +25 -20
- package/lib/cjs/components/PasswordField/PasswordField.stories.js +2 -4
- package/lib/cjs/components/PopoverContainer/PopoverContainer.js +31 -7
- package/lib/cjs/components/PopoverMenu/PopoverMenu.js +12 -8
- package/lib/cjs/components/RadioField/RadioField.js +19 -15
- package/lib/cjs/components/RadioGroupField/RadioGroupField.js +8 -12
- package/lib/cjs/components/RockerButton/RockerButton.js +5 -5
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.js +6 -6
- package/lib/cjs/components/ScrollBox/ScrollBox.js +3 -3
- package/lib/cjs/components/SearchField/SearchField.js +22 -16
- package/lib/cjs/components/SearchField/SearchField.stories.js +5 -4
- package/lib/cjs/components/SelectField/SelectField.js +9 -5
- package/lib/cjs/components/SelectField/SelectField.stories.js +11 -12
- package/lib/cjs/components/SelectField/SelectField.test.js +2 -2
- package/lib/cjs/components/SelectFieldBase/SelectFieldBase.js +16 -19
- package/lib/cjs/components/Separator/Separator.js +2 -2
- package/lib/cjs/components/Stepper/Step.js +4 -4
- package/lib/cjs/components/Switch/Switch.js +2 -2
- package/lib/cjs/components/SwitchField/SwitchField.js +23 -17
- package/lib/cjs/components/SwitchField/SwitchField.stories.js +5 -4
- package/lib/cjs/components/Tab/Tab.js +11 -7
- package/lib/cjs/components/TabPicker/TabPicker.js +5 -5
- package/lib/cjs/components/Table/Table.js +1 -1
- package/lib/cjs/components/TableBody/TableBody.js +1 -1
- package/lib/cjs/components/TableCaption/TableCaption.js +1 -1
- package/lib/cjs/components/TableCell/TableCell.js +1 -1
- package/lib/cjs/components/TableRow/TableRow.js +1 -1
- package/lib/cjs/components/Tabs/Tabs.js +5 -5
- package/lib/cjs/components/Tabs/Tabs.stories.js +1 -1
- package/lib/cjs/components/TextAreaField/TextAreaField.js +24 -18
- package/lib/cjs/components/TextAreaField/TextAreaField.stories.js +5 -4
- package/lib/cjs/components/TextField/TextField.js +19 -11
- package/lib/cjs/components/TextField/TextField.stories.js +2 -4
- package/lib/cjs/components/TimeZonePicker/TimeZonePicker.js +4 -4
- package/lib/cjs/components/TooltipTrigger/Tooltip.js +4 -4
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.js +8 -6
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.stories.js +6 -6
- package/lib/cjs/hooks/useField/useField.js +20 -43
- package/lib/cjs/hooks/useField/useField.test.js +16 -55
- package/lib/cjs/hooks/useModalState/useModalState.js +2 -2
- package/lib/cjs/hooks/useOverlayPanelState/useOverlayPanelState.js +2 -2
- package/lib/cjs/hooks/useOverlayPanelState/useOverlayPanelState.test.js +1 -2
- package/lib/cjs/hooks/useSelectField/useSelectField.js +14 -12
- package/lib/cjs/index.js +119 -82
- package/lib/cjs/recipes/ApplicationSearchDropdown.stories.js +7 -7
- package/lib/cjs/recipes/AttributeMappingReadOnlyField.stories.js +4 -4
- package/lib/cjs/recipes/CollapsiblePanel.stories.js +3 -3
- package/lib/cjs/recipes/ConditionalFilter.stories.js +21 -21
- package/lib/cjs/recipes/CountryPicker.stories.js +3 -3
- package/lib/cjs/recipes/DatePicker.stories.js +5 -48
- package/lib/cjs/recipes/FlippableCaretMenuButton.stories.js +2 -2
- package/lib/cjs/recipes/LinkedListView.stories.js +15 -26
- package/lib/cjs/recipes/ListAndPanel.stories.js +9 -9
- package/lib/cjs/recipes/LogoTabs.stories.js +2 -2
- package/lib/cjs/recipes/MaskedValue.stories.js +1 -12
- package/lib/cjs/recipes/OneWayToBidirectionalArrow.stories.js +2 -2
- package/lib/cjs/recipes/RowLineChart.stories.js +99 -184
- package/lib/cjs/recipes/ScrollableListView.stories.js +4 -4
- package/lib/cjs/recipes/Slider.stories.js +19 -13
- package/lib/cjs/styles/ColorDocumentation.js +2 -2
- package/lib/cjs/{components/Checkbox/Checkbox.styles.js → styles/forms/checkbox.js} +0 -0
- package/lib/cjs/{components/ColorField/ColorField.styles.js → styles/forms/comboBox.js} +9 -9
- package/lib/cjs/styles/forms/index.js +13 -25
- package/lib/cjs/{components/Input/Input.styles.js → styles/forms/input.js} +15 -21
- package/lib/cjs/{components/Label/Label.styles.js → styles/forms/label.js} +4 -4
- package/lib/cjs/{components/ComboBox/ComboBox.styles.js → styles/forms/radio.js} +19 -27
- package/lib/cjs/{components/SearchField/Search.styles.js → styles/forms/search.js} +4 -4
- package/lib/cjs/{components/SelectField/Select.styles.js → styles/forms/select.js} +6 -6
- package/lib/cjs/{components/Switch/Switch.styles.js → styles/forms/switch.js} +2 -2
- package/lib/cjs/styles/forms/textarea.js +46 -0
- package/lib/cjs/styles/theme.js +3 -3
- package/lib/cjs/styles/themeOverrides/uiLibraryOverride.js +52 -69
- package/lib/cjs/styles/themes/astro-nano/astro-nano.js +19 -19
- package/lib/cjs/styles/variants/accordion.js +92 -0
- package/lib/cjs/{components/FieldHelperText/FieldHelperText.styles.js → styles/variants/bidirectionalIconButton.js} +17 -21
- package/lib/cjs/styles/variants/boxes.js +439 -0
- package/lib/cjs/styles/variants/buttons.js +815 -0
- package/lib/cjs/{components/CodeView/CodeView.styles.js → styles/variants/codeView.js} +0 -0
- package/lib/cjs/{components/CollapsiblePanel/CollapsiblePanel.styles.js → styles/variants/collapsiblePanel.js} +13 -72
- package/lib/cjs/styles/variants/imageUpload.js +29 -0
- package/lib/cjs/{components/Image/Image.styles.js → styles/variants/images.js} +0 -0
- package/lib/cjs/styles/variants/index.js +22 -51
- package/lib/cjs/{components/Link/Link.styles.js → styles/variants/links.js} +3 -3
- package/lib/cjs/{components/ListBox/ListBox.styles.js → styles/variants/listBox.js} +3 -11
- package/lib/cjs/{components/Loader/Loader.styles.js → styles/variants/loader.js} +0 -0
- package/lib/cjs/{components/Menu/Menu.styles.js → styles/variants/menu.js} +0 -0
- package/lib/cjs/{components/MenuItem/MenuItem.styles.js → styles/variants/menuItem.js} +0 -0
- package/lib/cjs/styles/variants/messages.js +53 -0
- package/lib/cjs/{components/Modal/Modal.styles.js → styles/variants/modal.js} +16 -13
- package/lib/cjs/{components/NavBar/NavBar.styles.js → styles/variants/navBar.js} +10 -96
- package/lib/cjs/{components/NumberField/NumberField.styles.js → styles/variants/numberField.js} +3 -13
- package/lib/cjs/{components/OverlayPanel/OverlayPanel.styles.js → styles/variants/overlayPanel.js} +6 -6
- package/lib/cjs/{components/PopoverMenu/PopoverMenu.styles.js → styles/variants/popoverMenu.js} +0 -0
- package/lib/cjs/styles/variants/rockerbutton.js +25 -0
- package/lib/cjs/{components/Separator/Separator.styles.js → styles/variants/separator.js} +0 -0
- package/lib/cjs/{components/Stepper/Stepper.styles.js → styles/variants/stepper.js} +4 -4
- package/lib/cjs/{components/Table/Table.styles.js → styles/variants/table.js} +15 -15
- package/lib/cjs/{components/Tabs/Tabs.style.js → styles/variants/tabs.js} +4 -17
- package/lib/cjs/{components/Text/Text.styles.js → styles/variants/text.js} +195 -4
- package/lib/cjs/{components/Box/Box.styles.js → styles/variants/tooltip.js} +3 -3
- package/lib/cjs/styles/variants/variants.js +46 -70
- package/lib/cjs/utils/devUtils/constants/variants.js +4 -4
- package/lib/components/AccordionGridGroup/AccordionGridGroup.js +3 -3
- package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +25 -2
- package/lib/components/AccordionGridGroup/AccordionGridGroup.test.js +1 -1
- package/lib/components/AccordionGridItem/AccordionGridItem.js +2 -2
- package/lib/components/AccordionGridItem/AccordionGridItemBody.js +2 -2
- package/lib/components/AccordionGridItem/AccordionGridItemHeader.js +3 -2
- package/lib/components/AccordionGroup/AccordionGroup.js +1 -1
- package/lib/components/AccordionGroup/AccordionGroup.stories.js +1 -1
- package/lib/components/AccordionGroup/AccordionGroup.test.js +1 -1
- package/lib/components/AccordionItem/AccordionItem.js +6 -5
- package/lib/components/ArrayField/ArrayField.js +15 -15
- package/lib/components/ArrayField/ArrayField.stories.js +1 -1
- package/lib/components/ArrayField/ArrayFieldItem.js +31 -0
- package/lib/components/Box/Box.js +2 -2
- package/lib/components/Bracket/Bracket.js +1 -1
- package/lib/components/Bracket/Bracket.stories.js +7 -8
- package/lib/components/Breadcrumbs/BreadcrumbItem.js +3 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.js +4 -3
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +2 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.test.js +3 -3
- package/lib/components/Button/Button.js +13 -2
- package/lib/components/Button/Button.stories.js +1 -1
- package/lib/components/CheckboxField/CheckboxField.js +18 -12
- package/lib/components/CheckboxField/CheckboxField.stories.js +18 -4
- package/lib/components/{Badge → Chip}/Badge.js +1 -1
- package/lib/components/{Badge → Chip}/Badge.stories.js +31 -34
- package/lib/components/{Badge → Chip}/Badge.test.js +6 -6
- package/lib/components/Chip/Chip.js +38 -0
- package/lib/components/Chip/index.js +1 -0
- package/lib/components/CodeView/CodeView.js +2 -2
- package/lib/components/CodeView/CodeView.stories.js +1 -1
- package/lib/components/CollapsiblePanel/CollapsiblePanel.js +5 -4
- package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +3 -3
- package/lib/components/CollapsiblePanelContainer/CollapsiblePanelBadge.js +2 -2
- package/lib/components/CollapsiblePanelContainer/CollapsiblePanelContainer.js +3 -3
- package/lib/components/CollapsiblePanelItem/CollapsiblePanelItem.js +1 -1
- package/lib/components/ColorField/ColorField.js +22 -15
- package/lib/components/ColorField/ColorField.stories.js +17 -3
- package/lib/components/ComboBox/ComboBoxInput.js +20 -17
- package/lib/components/ComboBoxField/ComboBoxField.js +6 -4
- package/lib/components/ComboBoxField/ComboBoxField.stories.js +2 -2
- package/lib/components/CopyText/CopyButton.js +3 -2
- package/lib/components/CopyText/CopyText.js +4 -3
- package/lib/components/DataTable/DataTable.js +8 -31
- package/lib/components/DataTable/DataTable.stories.js +6 -6
- package/lib/components/DataTable/DataTable.styles.js +1 -1
- package/lib/components/DataTable/DataTable.test.js +1 -1
- package/lib/components/DataTable/{DataTableBadge.js → DataTableChip.js} +5 -5
- package/lib/components/DataTable/{DataTableBadge.test.js → DataTableChip.test.js} +2 -2
- package/lib/components/DataTable/index.js +1 -1
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +10 -8
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +22 -22
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +3 -2
- package/lib/components/FieldHelperText/FieldHelperText.js +1 -1
- package/lib/components/FileInputField/FileInputField.js +10 -13
- package/lib/components/FileInputField/FileInputField.stories.js +2 -3
- package/lib/components/FileInputField/FileItem.js +5 -5
- package/lib/components/FileInputField/FileSelect.js +1 -1
- package/lib/components/HelpHint/HelpHint.js +4 -3
- package/lib/components/IconButton/IconButton.js +5 -5
- package/lib/components/IconButton/IconButton.stories.js +2 -2
- package/lib/components/ImageUploadField/ImagePreviewButton.js +5 -4
- package/lib/components/ImageUploadField/ImageUploadField.js +2 -3
- package/lib/components/ImageUploadField/ImageUploadField.stories.js +2 -3
- package/lib/components/ImageUploadField/ImageUploadFieldBase.js +5 -6
- package/lib/components/Link/Link.js +3 -1
- package/lib/components/Link/Link.stories.js +1 -1
- package/lib/components/LinkSelectField/LinkSelectField.js +19 -9
- package/lib/components/LinkSelectField/LinkSelectField.stories.js +5 -5
- package/lib/components/List/List.js +26 -0
- package/lib/components/List/List.stories.js +43 -0
- package/lib/components/List/List.test.js +24 -0
- package/lib/components/List/index.js +1 -0
- package/lib/components/ListBox/ListBox.js +3 -3
- package/lib/components/ListBox/ListBox.test.js +1 -1
- package/lib/components/ListBox/ListBoxSection.js +2 -2
- package/lib/components/ListBox/Option.js +1 -1
- package/lib/components/ListItem/ListItem.js +1 -1
- package/lib/components/ListView/ListView.stories.js +4 -3
- package/lib/components/ListView/ListView.test.js +2 -2
- package/lib/components/ListViewItem/ListViewItem.js +4 -3
- package/lib/components/Menu/Menu.js +4 -3
- package/lib/components/Menu/Menu.stories.js +1 -1
- package/lib/components/MenuItem/MenuItem.js +2 -1
- package/lib/components/Messages/Message.js +3 -3
- package/lib/components/Messages/Messages.js +1 -1
- package/lib/components/Messages/Messages.stories.js +1 -1
- package/lib/components/Messages/Messages.test.js +1 -1
- package/lib/components/Modal/Modal.js +14 -2
- package/lib/components/MultivaluesField/MultivaluesField.js +14 -11
- package/lib/components/MultivaluesField/MultivaluesField.stories.js +8 -9
- package/lib/components/MultivaluesField/MultivaluesField.test.js +14 -14
- package/lib/components/NavBar/NavBar.stories.js +1 -1
- package/lib/components/NavBarSection/NavBarItem.js +4 -3
- package/lib/components/NavBarSection/NavBarItemBody.js +1 -1
- package/lib/components/NavBarSection/NavBarItemButton.js +1 -1
- package/lib/components/NavBarSection/NavBarItemHeader.js +1 -1
- package/lib/components/NavBarSection/NavBarItemLink.js +1 -1
- package/lib/components/NavBarSection/NavBarSection.js +2 -2
- package/lib/components/NumberField/NumberField.js +23 -25
- package/lib/components/NumberField/NumberField.stories.js +2 -3
- package/lib/components/OverlayPanel/OverlayPanel.js +3 -3
- package/lib/components/OverlayPanel/OverlayPanel.stories.js +2 -2
- package/lib/components/PasswordField/PasswordField.js +24 -18
- package/lib/components/PasswordField/PasswordField.stories.js +2 -3
- package/lib/components/PopoverContainer/PopoverContainer.js +26 -3
- package/lib/components/PopoverMenu/PopoverMenu.js +4 -2
- package/lib/components/RadioField/RadioField.js +18 -13
- package/lib/components/RadioGroupField/RadioGroupField.js +6 -9
- package/lib/components/RockerButton/RockerButton.js +3 -3
- package/lib/components/RockerButtonGroup/RockerButtonGroup.js +4 -4
- package/lib/components/ScrollBox/ScrollBox.js +3 -3
- package/lib/components/SearchField/SearchField.js +18 -11
- package/lib/components/SearchField/SearchField.stories.js +5 -3
- package/lib/components/SelectField/SelectField.js +9 -4
- package/lib/components/SelectField/SelectField.stories.js +5 -5
- package/lib/components/SelectField/SelectField.test.js +1 -1
- package/lib/components/SelectFieldBase/SelectFieldBase.js +15 -18
- package/lib/components/Separator/Separator.js +1 -1
- package/lib/components/Stepper/Step.js +2 -2
- package/lib/components/Switch/Switch.js +1 -1
- package/lib/components/SwitchField/SwitchField.js +20 -13
- package/lib/components/SwitchField/SwitchField.stories.js +5 -3
- package/lib/components/Tab/Tab.js +4 -2
- package/lib/components/TabPicker/TabPicker.js +3 -3
- package/lib/components/Table/Table.js +1 -1
- package/lib/components/TableBody/TableBody.js +1 -1
- package/lib/components/TableCaption/TableCaption.js +1 -1
- package/lib/components/TableCell/TableCell.js +1 -1
- package/lib/components/TableRow/TableRow.js +1 -1
- package/lib/components/Tabs/Tabs.js +2 -2
- package/lib/components/Tabs/Tabs.stories.js +2 -2
- package/lib/components/TextAreaField/TextAreaField.js +24 -17
- package/lib/components/TextAreaField/TextAreaField.stories.js +5 -3
- package/lib/components/TextField/TextField.js +19 -10
- package/lib/components/TextField/TextField.stories.js +2 -3
- package/lib/components/TimeZonePicker/TimeZonePicker.js +4 -4
- package/lib/components/TooltipTrigger/Tooltip.js +3 -3
- package/lib/components/TooltipTrigger/TooltipTrigger.js +3 -2
- package/lib/components/TooltipTrigger/TooltipTrigger.stories.js +4 -4
- package/lib/hooks/useField/useField.js +14 -39
- package/lib/hooks/useField/useField.test.js +16 -55
- package/lib/hooks/useModalState/useModalState.js +1 -1
- package/lib/hooks/useOverlayPanelState/useOverlayPanelState.js +1 -1
- package/lib/hooks/useOverlayPanelState/useOverlayPanelState.test.js +1 -2
- package/lib/hooks/useSelectField/useSelectField.js +6 -6
- package/lib/index.js +9 -5
- package/lib/recipes/ApplicationSearchDropdown.stories.js +4 -4
- package/lib/recipes/AttributeMappingReadOnlyField.stories.js +5 -5
- package/lib/recipes/CollapsiblePanel.stories.js +4 -4
- package/lib/recipes/ConditionalFilter.stories.js +22 -22
- package/lib/recipes/CountryPicker.stories.js +3 -3
- package/lib/recipes/DatePicker.stories.js +5 -47
- package/lib/recipes/FlippableCaretMenuButton.stories.js +1 -1
- package/lib/recipes/LinkedListView.stories.js +10 -22
- package/lib/recipes/ListAndPanel.stories.js +2 -2
- package/lib/recipes/LogoTabs.stories.js +1 -1
- package/lib/recipes/MaskedValue.stories.js +1 -12
- package/lib/recipes/OneWayToBidirectionalArrow.stories.js +2 -2
- package/lib/recipes/RowLineChart.stories.js +95 -176
- package/lib/recipes/ScrollableListView.stories.js +2 -2
- package/lib/recipes/Slider.stories.js +7 -4
- package/lib/styles/ColorDocumentation.js +1 -1
- package/lib/{components/Checkbox/Checkbox.styles.js → styles/forms/checkbox.js} +0 -0
- package/lib/{components/ColorField/ColorField.styles.js → styles/forms/comboBox.js} +9 -8
- package/lib/styles/forms/index.js +12 -21
- package/lib/{components/Input/Input.styles.js → styles/forms/input.js} +12 -18
- package/lib/{components/Label/Label.styles.js → styles/forms/label.js} +1 -1
- package/lib/{components/FieldHelperText/FieldHelperText.styles.js → styles/forms/radio.js} +15 -21
- package/lib/{components/SearchField/Search.styles.js → styles/forms/search.js} +2 -2
- package/lib/{components/SelectField/Select.styles.js → styles/forms/select.js} +3 -3
- package/lib/{components/Switch/Switch.styles.js → styles/forms/switch.js} +1 -1
- package/lib/styles/forms/textarea.js +25 -0
- package/lib/styles/theme.js +4 -4
- package/lib/styles/themeOverrides/uiLibraryOverride.js +52 -69
- package/lib/styles/themes/astro-nano/astro-nano.js +19 -19
- package/lib/styles/variants/accordion.js +82 -0
- package/lib/{components/ComboBox/ComboBox.styles.js → styles/variants/bidirectionalIconButton.js} +19 -26
- package/lib/styles/variants/boxes.js +418 -0
- package/lib/styles/variants/buttons.js +792 -0
- package/lib/{components/CodeView/CodeView.styles.js → styles/variants/codeView.js} +0 -0
- package/lib/{components/CollapsiblePanel/CollapsiblePanel.styles.js → styles/variants/collapsiblePanel.js} +11 -65
- package/lib/styles/variants/imageUpload.js +19 -0
- package/lib/{components/Image/Image.styles.js → styles/variants/images.js} +0 -0
- package/lib/styles/variants/index.js +6 -25
- package/lib/{components/Link/Link.styles.js → styles/variants/links.js} +1 -1
- package/lib/{components/ListBox/ListBox.styles.js → styles/variants/listBox.js} +1 -9
- package/lib/{components/Loader/Loader.styles.js → styles/variants/loader.js} +0 -0
- package/lib/{components/Menu/Menu.styles.js → styles/variants/menu.js} +0 -0
- package/lib/{components/MenuItem/MenuItem.styles.js → styles/variants/menuItem.js} +0 -0
- package/lib/styles/variants/messages.js +43 -0
- package/lib/{components/Modal/Modal.styles.js → styles/variants/modal.js} +14 -10
- package/lib/{components/NavBar/NavBar.styles.js → styles/variants/navBar.js} +10 -94
- package/lib/{components/NumberField/NumberField.styles.js → styles/variants/numberField.js} +3 -12
- package/lib/{components/OverlayPanel/OverlayPanel.styles.js → styles/variants/overlayPanel.js} +6 -6
- package/lib/{components/PopoverMenu/PopoverMenu.styles.js → styles/variants/popoverMenu.js} +0 -0
- package/lib/styles/variants/rockerbutton.js +15 -0
- package/lib/{components/Separator/Separator.styles.js → styles/variants/separator.js} +0 -0
- package/lib/{components/Stepper/Stepper.styles.js → styles/variants/stepper.js} +3 -3
- package/lib/{components/Table/Table.styles.js → styles/variants/table.js} +15 -15
- package/lib/{components/Tabs/Tabs.style.js → styles/variants/tabs.js} +2 -12
- package/lib/{components/Text/Text.styles.js → styles/variants/text.js} +196 -3
- package/lib/styles/variants/tooltip.js +6 -0
- package/lib/styles/variants/variants.js +31 -47
- package/lib/utils/devUtils/constants/variants.js +2 -2
- package/package.json +54 -24
- package/lib/cjs/components/AccordionGridGroup/AccordionGrid.styles.js +0 -85
- package/lib/cjs/components/AccordionGroup/Accordion.styles.js +0 -86
- package/lib/cjs/components/Badge/Badge.styles.js +0 -191
- package/lib/cjs/components/Bracket/Bracket.styles.js +0 -19
- package/lib/cjs/components/Breadcrumbs/Breadcrumb.styles.js +0 -65
- package/lib/cjs/components/Button/Buttons.styles.js +0 -276
- package/lib/cjs/components/Card/Card.styles.js +0 -23
- package/lib/cjs/components/CopyText/CopyText.styles.js +0 -69
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumb.styles.js +0 -69
- package/lib/cjs/components/FileInputField/FileInputField.styles.js +0 -78
- package/lib/cjs/components/HelpHint/HelpHint.styles.js +0 -74
- package/lib/cjs/components/IconButton/IconButton.styles.js +0 -194
- package/lib/cjs/components/ImageUploadField/imageUpload.js +0 -69
- package/lib/cjs/components/ListItem/ListItem.styles.js +0 -31
- package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +0 -88
- package/lib/cjs/components/Messages/Message.styles.js +0 -110
- package/lib/cjs/components/Radio/Radio.styles.js +0 -75
- package/lib/cjs/components/RockerButton/RockerButton.styles.js +0 -72
- package/lib/cjs/components/ScrollBox/ScrollBox.styles.js +0 -53
- package/lib/cjs/components/TextArea/TextArea.styles.js +0 -69
- package/lib/cjs/components/TimeZonePicker/TimeZone.styles.js +0 -40
- package/lib/cjs/components/TooltipTrigger/Tooltip.styles.js +0 -93
- package/lib/cjs/styles/theme-ui/ThemeView.js +0 -27
- package/lib/cjs/styles/themeOverrides/stories/AccordionGroup.chromatic.stories.js +0 -37
- package/lib/cjs/styles/themeOverrides/stories/Button.chromatic.stories.js +0 -72
- package/lib/cjs/styles/themeOverrides/stories/EnvironmentBreadcrumb.chromatic.stories.js +0 -145
- package/lib/cjs/styles/themeOverrides/stories/IconButton.chromatic.stories.js +0 -49
- package/lib/cjs/styles/themeOverrides/stories/Label.chromatic.stories.js +0 -32
- package/lib/cjs/styles/themeOverrides/stories/Link.chromatic.stories.js +0 -34
- package/lib/cjs/styles/themeOverrides/stories/NavBar.chromatic.stories.js +0 -395
- package/lib/cjs/styles/themeOverrides/stories/NumberField.chromatic.stories.js +0 -32
- package/lib/cjs/styles/themeOverrides/stories/RockerButtonGroup.chromatic.stories.js +0 -41
- package/lib/cjs/styles/themeOverrides/stories/SearchField.chromatic.stories.js +0 -40
- package/lib/cjs/styles/themeOverrides/stories/SelectField.chromatic.stories.js +0 -42
- package/lib/cjs/utils/devUtils/props/fieldAttributes.js +0 -74
- package/lib/components/AccordionGridGroup/AccordionGrid.styles.js +0 -65
- package/lib/components/AccordionGroup/Accordion.styles.js +0 -66
- package/lib/components/Badge/Badge.styles.js +0 -163
- package/lib/components/Badge/index.js +0 -1
- package/lib/components/Box/Box.styles.js +0 -6
- package/lib/components/Bracket/Bracket.styles.js +0 -9
- package/lib/components/Breadcrumbs/Breadcrumb.styles.js +0 -45
- package/lib/components/Button/Buttons.styles.js +0 -246
- package/lib/components/Card/Card.styles.js +0 -13
- package/lib/components/CopyText/CopyText.styles.js +0 -48
- package/lib/components/EnvironmentBreadcrumb/EnvironmentalBreadcrumb.styles.js +0 -49
- package/lib/components/FileInputField/FileInputField.styles.js +0 -58
- package/lib/components/HelpHint/HelpHint.styles.js +0 -53
- package/lib/components/IconButton/IconButton.styles.js +0 -164
- package/lib/components/ImageUploadField/imageUpload.js +0 -49
- package/lib/components/ListItem/ListItem.styles.js +0 -21
- package/lib/components/ListViewItem/ListViewItem.styles.js +0 -69
- package/lib/components/Messages/Message.styles.js +0 -99
- package/lib/components/Radio/Radio.styles.js +0 -55
- package/lib/components/RockerButton/RockerButton.styles.js +0 -52
- package/lib/components/ScrollBox/ScrollBox.styles.js +0 -43
- package/lib/components/TextArea/TextArea.styles.js +0 -47
- package/lib/components/TimeZonePicker/TimeZone.styles.js +0 -30
- package/lib/components/TooltipTrigger/Tooltip.styles.js +0 -71
- package/lib/styles/theme-ui/ThemeView.js +0 -9
- package/lib/styles/themeOverrides/stories/AccordionGroup.chromatic.stories.js +0 -17
- package/lib/styles/themeOverrides/stories/Button.chromatic.stories.js +0 -37
- package/lib/styles/themeOverrides/stories/EnvironmentBreadcrumb.chromatic.stories.js +0 -108
- package/lib/styles/themeOverrides/stories/IconButton.chromatic.stories.js +0 -25
- package/lib/styles/themeOverrides/stories/Label.chromatic.stories.js +0 -12
- package/lib/styles/themeOverrides/stories/Link.chromatic.stories.js +0 -14
- package/lib/styles/themeOverrides/stories/NavBar.chromatic.stories.js +0 -367
- package/lib/styles/themeOverrides/stories/NumberField.chromatic.stories.js +0 -12
- package/lib/styles/themeOverrides/stories/RockerButtonGroup.chromatic.stories.js +0 -21
- package/lib/styles/themeOverrides/stories/SearchField.chromatic.stories.js +0 -19
- package/lib/styles/themeOverrides/stories/SelectField.chromatic.stories.js +0 -21
- package/lib/styles/themeOverrides/withUiLibraryCss.js +0 -28
- package/lib/utils/devUtils/props/fieldAttributes.js +0 -52
@@ -5,8 +5,9 @@ import _findIndexInstanceProperty from "@babel/runtime-corejs3/core-js-stable/in
|
|
5
5
|
import _spliceInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/splice";
|
6
6
|
import _concatInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/concat";
|
7
7
|
import React, { useState } from 'react';
|
8
|
+
import { Item } from '@react-stately/collections';
|
8
9
|
import DotsVerticalIcon from 'mdi-react/DotsVerticalIcon';
|
9
|
-
import {
|
10
|
+
import { ListView, Text, Box, Icon, IconButton, Chip, Separator, OverlayProvider, PopoverMenu, Menu } from '../index';
|
10
11
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
11
12
|
export default {
|
12
13
|
title: 'Recipes/LinkedListView',
|
@@ -67,7 +68,7 @@ var testData = [{
|
|
67
68
|
// I.e. the staging rows will need to immediately follow the prod row that they correspond to.
|
68
69
|
// This flat, sorted array will then be passed into the listview component as the items prop.
|
69
70
|
// You may not need these functions if you are able to change the data shape on the back end
|
70
|
-
// (which is
|
71
|
+
// (which is reccomended for performance reasons)
|
71
72
|
|
72
73
|
var flattenArray = function flattenArray(array) {
|
73
74
|
var newArray = array;
|
@@ -249,8 +250,8 @@ export var Default = function Default(_ref) {
|
|
249
250
|
}; // made these separate components because staging and production both use them.
|
250
251
|
|
251
252
|
|
252
|
-
var
|
253
|
-
return ___EmotionJSX(
|
253
|
+
var DefaultChip = function DefaultChip() {
|
254
|
+
return ___EmotionJSX(Chip, {
|
254
255
|
label: "Default",
|
255
256
|
bg: "active",
|
256
257
|
sx: {
|
@@ -262,7 +263,7 @@ export var Default = function Default(_ref) {
|
|
262
263
|
});
|
263
264
|
};
|
264
265
|
|
265
|
-
var
|
266
|
+
var ExprirationChip = function ExprirationChip(props) {
|
266
267
|
var expirationText = props.expirationText,
|
267
268
|
chipText = props.chipText;
|
268
269
|
return ___EmotionJSX(Box, {
|
@@ -272,7 +273,7 @@ export var Default = function Default(_ref) {
|
|
272
273
|
flexGrow: 1,
|
273
274
|
alignItems: "center",
|
274
275
|
alignSelf: "center"
|
275
|
-
}, ___EmotionJSX(
|
276
|
+
}, ___EmotionJSX(Chip, {
|
276
277
|
bg: "white",
|
277
278
|
sx: {
|
278
279
|
border: 'solid 1px',
|
@@ -325,7 +326,7 @@ export var Default = function Default(_ref) {
|
|
325
326
|
color: 'text.secondary',
|
326
327
|
fontSize: 'sm'
|
327
328
|
}
|
328
|
-
}, "Policy Id: ", policyId)), chipText && ___EmotionJSX(
|
329
|
+
}, "Policy Id: ", policyId)), chipText && ___EmotionJSX(DefaultChip, null)), ___EmotionJSX(IconWithPopover, null));
|
329
330
|
}; // jsx of the staging row.
|
330
331
|
|
331
332
|
|
@@ -366,7 +367,7 @@ export var Default = function Default(_ref) {
|
|
366
367
|
color: 'text.secondary',
|
367
368
|
fontSize: 'sm'
|
368
369
|
}
|
369
|
-
}, "Policy Id: ", policyId))), chipText && ___EmotionJSX(
|
370
|
+
}, "Policy Id: ", policyId))), chipText && ___EmotionJSX(DefaultChip, null), expirationText && ___EmotionJSX(ExprirationChip, {
|
370
371
|
expirationText: expirationText
|
371
372
|
}), ___EmotionJSX(IconWithPopover, null));
|
372
373
|
};
|
@@ -378,20 +379,7 @@ export var Default = function Default(_ref) {
|
|
378
379
|
textValue: item.name,
|
379
380
|
"data-id": item.key,
|
380
381
|
listItemProps: {
|
381
|
-
|
382
|
-
sx: {
|
383
|
-
'&.has-inset-separator': {
|
384
|
-
'&:before': {
|
385
|
-
content: '""',
|
386
|
-
position: 'absolute',
|
387
|
-
width: 'calc(100% - 43px)',
|
388
|
-
right: 0,
|
389
|
-
bottom: 0,
|
390
|
-
borderBottom: '1px solid',
|
391
|
-
borderBottomColor: 'line.hairline'
|
392
|
-
}
|
393
|
-
}
|
394
|
-
}
|
382
|
+
variant: 'boxes.linkedListViewItem'
|
395
383
|
}
|
396
384
|
}), item.parentId ? ___EmotionJSX(Staging, _extends({}, item, {
|
397
385
|
hasInsetSeparator: true
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
|
2
2
|
import _findIndexInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/find-index";
|
3
3
|
import React, { useRef, useState } from 'react';
|
4
|
+
import { FocusScope } from '@react-aria/focus';
|
5
|
+
import { Item } from '@react-stately/collections';
|
4
6
|
import AccountIcon from 'mdi-react/AccountIcon';
|
5
7
|
import CloseIcon from 'mdi-react/CloseIcon';
|
6
8
|
import MoreVertIcon from 'mdi-react/MoreVertIcon';
|
7
9
|
import PencilIcon from 'mdi-react/PencilIcon';
|
8
10
|
import PlusIcon from 'mdi-react/PlusIcon';
|
9
|
-
import { FocusScope } from 'react-aria';
|
10
|
-
import { Item } from 'react-stately';
|
11
11
|
import { Avatar, Box, Icon, IconButton, Link, ListView, Menu, OverlayPanel, PopoverMenu, SearchField, Separator, SwitchField, Tab, Tabs, Text } from '../index';
|
12
12
|
import { useOverlayPanelState } from '../hooks';
|
13
13
|
import { pingImg } from '../utils/devUtils/constants/images';
|
@@ -18,7 +18,7 @@ import React, { useState } from 'react';
|
|
18
18
|
import ShuffleVariant from 'mdi-react/ShuffleVariantIcon';
|
19
19
|
import Filter from 'mdi-react/FilterIcon';
|
20
20
|
import { Tabs, Tab, Text, Icon, Box, Separator } from '../index';
|
21
|
-
import { tab } from '../
|
21
|
+
import { tab } from '../styles/variants/tabs';
|
22
22
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
23
23
|
export default {
|
24
24
|
title: 'Recipes/Logo Tabs'
|
@@ -35,17 +35,6 @@ var sx = {
|
|
35
35
|
width: 'fit-content',
|
36
36
|
marginLeft: 'sm',
|
37
37
|
alignSelf: 'auto'
|
38
|
-
},
|
39
|
-
maskedItem: {
|
40
|
-
color: 'black',
|
41
|
-
fontSize: '16px',
|
42
|
-
width: 252,
|
43
|
-
wordBreak: 'break-all',
|
44
|
-
'&.is-masked': {
|
45
|
-
whiteSpace: 'nowrap',
|
46
|
-
overflow: 'hidden',
|
47
|
-
fontWeight: 3
|
48
|
-
}
|
49
38
|
}
|
50
39
|
};
|
51
40
|
export var Default = function Default(_ref) {
|
@@ -70,7 +59,7 @@ export var Default = function Default(_ref) {
|
|
70
59
|
isRow: true,
|
71
60
|
alignItems: "center"
|
72
61
|
}, ___EmotionJSX(Text, {
|
73
|
-
|
62
|
+
variant: "maskedValue",
|
74
63
|
className: classNames
|
75
64
|
}, isMasked ? _repeatInstanceProperty(_context = '•').call(_context, 99) : secretData), ___EmotionJSX(IconButton, {
|
76
65
|
"aria-label": isMasked ? 'Show content' : 'Hide content',
|
@@ -123,7 +123,7 @@ export var Default = function Default() {
|
|
123
123
|
size: 'xs'
|
124
124
|
},
|
125
125
|
buttonProps: {
|
126
|
-
variant: '
|
126
|
+
variant: 'bidirectionalIconButton'
|
127
127
|
}
|
128
128
|
})), ___EmotionJSX(ComboBoxField, {
|
129
129
|
items: items,
|
@@ -195,7 +195,7 @@ export var Default = function Default() {
|
|
195
195
|
size: 8
|
196
196
|
},
|
197
197
|
buttonProps: {
|
198
|
-
variant: '
|
198
|
+
variant: 'bidirectionalIconButton'
|
199
199
|
}
|
200
200
|
})), ___EmotionJSX(ComboBoxField, {
|
201
201
|
items: items,
|
@@ -1,23 +1,9 @@
|
|
1
|
-
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
2
|
-
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
3
|
-
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
4
|
-
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
5
|
-
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
6
|
-
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
7
|
-
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
8
|
-
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
9
1
|
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
10
|
-
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
11
|
-
|
12
|
-
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
13
|
-
|
14
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
15
|
-
|
16
2
|
import React, { useCallback, useMemo } from 'react';
|
17
|
-
import { useVisuallyHidden } from 'react-aria';
|
18
3
|
import { Line, LineChart, ResponsiveContainer } from 'recharts';
|
19
|
-
import useResizeObserver from 'use-resize-observer';
|
20
4
|
import { action } from '@storybook/addon-actions';
|
5
|
+
import useResizeObserver from 'use-resize-observer';
|
6
|
+
import { useVisuallyHidden } from '@react-aria/visually-hidden';
|
21
7
|
import { neutral } from '../styles/colors';
|
22
8
|
import { Box, Button, SwitchField, Text, Tooltip, TooltipTrigger } from '../index';
|
23
9
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
@@ -152,16 +138,6 @@ var zeroData = [{
|
|
152
138
|
id: 12,
|
153
139
|
value: 0
|
154
140
|
}];
|
155
|
-
var expandableRowSharedStyle = {
|
156
|
-
textOverflow: 'ellipsis',
|
157
|
-
overflow: 'hidden',
|
158
|
-
whiteSpace: 'nowrap'
|
159
|
-
};
|
160
|
-
var alignCellRightWrapper = {
|
161
|
-
display: 'flex',
|
162
|
-
flexDirection: 'column',
|
163
|
-
alignItems: 'flex-end'
|
164
|
-
};
|
165
141
|
var sx = {
|
166
142
|
container: {
|
167
143
|
backgroundColor: 'accent.99',
|
@@ -169,7 +145,14 @@ var sx = {
|
|
169
145
|
justifyContent: 'space-between',
|
170
146
|
pr: '20px'
|
171
147
|
},
|
172
|
-
|
148
|
+
button: {
|
149
|
+
ml: 'md',
|
150
|
+
pr: 'md'
|
151
|
+
},
|
152
|
+
chartTitleContainer: {
|
153
|
+
ml: '20px',
|
154
|
+
pr: 'md'
|
155
|
+
},
|
173
156
|
chartContainer: {
|
174
157
|
width: '100%',
|
175
158
|
height: '100%'
|
@@ -181,90 +164,6 @@ var sx = {
|
|
181
164
|
chartTrendContainer: {
|
182
165
|
ml: 'md',
|
183
166
|
width: '50px'
|
184
|
-
},
|
185
|
-
expandableRow: {
|
186
|
-
titleWrapper: {
|
187
|
-
maxWidth: '50%',
|
188
|
-
p: 'md'
|
189
|
-
},
|
190
|
-
lineChart: {
|
191
|
-
title: _objectSpread(_objectSpread({}, alignCellRightWrapper), {}, {
|
192
|
-
ml: '20px',
|
193
|
-
pr: 'md'
|
194
|
-
}),
|
195
|
-
content: _objectSpread(_objectSpread({}, alignCellRightWrapper), {}, {
|
196
|
-
width: 100
|
197
|
-
}),
|
198
|
-
chart: {
|
199
|
-
width: '50px',
|
200
|
-
height: '18px'
|
201
|
-
},
|
202
|
-
chartWrapper: {
|
203
|
-
'&:hover': {
|
204
|
-
backgroundColor: '#4462ED1A'
|
205
|
-
}
|
206
|
-
},
|
207
|
-
divider: {
|
208
|
-
backgroundColor: 'neutral.80',
|
209
|
-
height: '35px',
|
210
|
-
width: '1px'
|
211
|
-
}
|
212
|
-
}
|
213
|
-
},
|
214
|
-
expandableRowButton: {
|
215
|
-
chartWrapper: {
|
216
|
-
display: 'flex',
|
217
|
-
flexDirection: 'row',
|
218
|
-
alignItems: 'center',
|
219
|
-
color: 'black',
|
220
|
-
background: 'none',
|
221
|
-
cursor: 'pointer',
|
222
|
-
height: 60,
|
223
|
-
padding: 0,
|
224
|
-
ml: 'md',
|
225
|
-
pr: 'md',
|
226
|
-
border: 'none',
|
227
|
-
'&:hover': {
|
228
|
-
backgroundColor: '#4462ED1A'
|
229
|
-
}
|
230
|
-
}
|
231
|
-
},
|
232
|
-
expandableRowText: {
|
233
|
-
title: _objectSpread({
|
234
|
-
fontSize: 'lg',
|
235
|
-
color: 'neutral.20'
|
236
|
-
}, expandableRowSharedStyle),
|
237
|
-
subtitle: _objectSpread({
|
238
|
-
fontSize: 'sm',
|
239
|
-
color: 'neutral.60'
|
240
|
-
}, expandableRowSharedStyle),
|
241
|
-
lineChart: {
|
242
|
-
title: _objectSpread({
|
243
|
-
fontSize: 'sm',
|
244
|
-
color: 'neutral.40',
|
245
|
-
maxWidth: '100%'
|
246
|
-
}, expandableRowSharedStyle),
|
247
|
-
count: {
|
248
|
-
color: 'neutral.20',
|
249
|
-
fontSize: 22,
|
250
|
-
fontWeight: 2
|
251
|
-
},
|
252
|
-
countLabel: {
|
253
|
-
fontSize: 'xs',
|
254
|
-
color: 'neutral.50'
|
255
|
-
},
|
256
|
-
chartLabel: {
|
257
|
-
fontSize: 'xs',
|
258
|
-
color: 'neutral.50',
|
259
|
-
minWidth: '60px'
|
260
|
-
},
|
261
|
-
trend: {
|
262
|
-
color: 'neutral.20',
|
263
|
-
fontSize: 'sm',
|
264
|
-
fontWeight: 3,
|
265
|
-
whiteSpace: 'nowrap'
|
266
|
-
}
|
267
|
-
}
|
268
167
|
}
|
269
168
|
};
|
270
169
|
export var Default = function Default() {
|
@@ -293,34 +192,38 @@ export var Default = function Default() {
|
|
293
192
|
sx: sx.container,
|
294
193
|
ref: ref
|
295
194
|
}, ___EmotionJSX(Box, {
|
296
|
-
|
195
|
+
p: "md",
|
196
|
+
variant: "boxes.expandableRow.titleWrapper"
|
297
197
|
}, ___EmotionJSX(Text, {
|
298
|
-
|
198
|
+
variant: "expandableRow.title"
|
299
199
|
}, "Expanded Row with Line Chart"), ___EmotionJSX(Text, {
|
300
|
-
|
200
|
+
variant: "expandableRow.subtitle"
|
301
201
|
}, "Empty Data")), ___EmotionJSX(Box, {
|
302
202
|
isRow: true,
|
303
203
|
alignItems: "center"
|
304
204
|
}, ___EmotionJSX(Box, _extends({
|
305
|
-
|
205
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
206
|
+
sx: sx.chartTitleContainer
|
306
207
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
307
|
-
|
208
|
+
variant: "expandableRow.lineChart.title"
|
308
209
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
309
|
-
|
210
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
211
|
+
width: 100
|
310
212
|
}, hideIfTablet()), ___EmotionJSX(Text, {
|
311
|
-
|
213
|
+
variant: "expandableRow.lineChart.count"
|
312
214
|
}, "0"), ___EmotionJSX(Text, {
|
313
|
-
|
215
|
+
variant: "expandableRow.lineChart.countLabel"
|
314
216
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
315
|
-
|
217
|
+
variant: "expandableRow.chartWrapper",
|
316
218
|
onPress: action('seeContributingDataAction'),
|
219
|
+
sx: sx.button,
|
317
220
|
"aria-label": "line-chart button"
|
318
221
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
319
|
-
|
222
|
+
variant: "boxes.expandableRow.lineChart.divider"
|
320
223
|
}), ___EmotionJSX(Box, {
|
321
224
|
ml: 15
|
322
225
|
}, ___EmotionJSX(Box, {
|
323
|
-
|
226
|
+
variant: "boxes.expandableRow.lineChart.chart"
|
324
227
|
}, ___EmotionJSX(ResponsiveContainer, {
|
325
228
|
sx: sx.chartContainer
|
326
229
|
}, ___EmotionJSX(LineChart, {
|
@@ -332,12 +235,12 @@ export var Default = function Default() {
|
|
332
235
|
dot: false,
|
333
236
|
stroke: neutral[20]
|
334
237
|
})))), ___EmotionJSX(Text, {
|
335
|
-
|
238
|
+
variant: "expandableRow.lineChart.chartLabel"
|
336
239
|
}, "No data yet")), ___EmotionJSX(Box, {
|
337
240
|
size: "sm",
|
338
241
|
sx: sx.chartTrendContainer
|
339
242
|
}, ___EmotionJSX(Text, {
|
340
|
-
|
243
|
+
variant: "expandableRow.lineChart.trend"
|
341
244
|
}, "+ 0%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
342
245
|
size: "sm"
|
343
246
|
}, ___EmotionJSX(SwitchField, {
|
@@ -349,34 +252,38 @@ export var Default = function Default() {
|
|
349
252
|
sx: sx.container,
|
350
253
|
mt: 20
|
351
254
|
}, ___EmotionJSX(Box, {
|
352
|
-
|
255
|
+
p: "md",
|
256
|
+
variant: "boxes.expandableRow.titleWrapper"
|
353
257
|
}, ___EmotionJSX(Text, {
|
354
|
-
|
258
|
+
variant: "expandableRow.title"
|
355
259
|
}, "Expanded Row with Line Chart"), ___EmotionJSX(Text, {
|
356
|
-
|
260
|
+
variant: "expandableRow.subtitle"
|
357
261
|
}, "Full Data")), ___EmotionJSX(Box, {
|
358
262
|
isRow: true,
|
359
263
|
alignItems: "center"
|
360
264
|
}, ___EmotionJSX(Box, _extends({
|
361
|
-
|
265
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
266
|
+
sx: sx.chartTitleContainer
|
362
267
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
363
|
-
|
268
|
+
variant: "expandableRow.lineChart.title"
|
364
269
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
365
|
-
|
270
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
271
|
+
width: 100
|
366
272
|
}, hideIfTablet()), ___EmotionJSX(Text, {
|
367
|
-
|
273
|
+
variant: "expandableRow.lineChart.count"
|
368
274
|
}, "1,234,234"), ___EmotionJSX(Text, {
|
369
|
-
|
275
|
+
variant: "expandableRow.lineChart.countLabel"
|
370
276
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
371
|
-
|
277
|
+
variant: "expandableRow.chartWrapper",
|
372
278
|
onPress: action('seeContributingDataAction'),
|
279
|
+
sx: sx.button,
|
373
280
|
"aria-label": "line-chart button"
|
374
281
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
375
|
-
|
282
|
+
variant: "boxes.expandableRow.lineChart.divider"
|
376
283
|
}), ___EmotionJSX(Box, {
|
377
284
|
ml: 15
|
378
285
|
}, ___EmotionJSX(Box, {
|
379
|
-
|
286
|
+
variant: "boxes.expandableRow.lineChart.chart",
|
380
287
|
width: 50
|
381
288
|
}, ___EmotionJSX(ResponsiveContainer, {
|
382
289
|
sx: sx.chartContainer
|
@@ -389,12 +296,12 @@ export var Default = function Default() {
|
|
389
296
|
dot: false,
|
390
297
|
stroke: neutral[20]
|
391
298
|
})))), ___EmotionJSX(Text, {
|
392
|
-
|
299
|
+
variant: "expandableRow.lineChart.chartLabel"
|
393
300
|
}, "12 wk trend")), ___EmotionJSX(Box, {
|
394
301
|
size: "sm",
|
395
302
|
sx: sx.chartTrendContainer
|
396
303
|
}, ___EmotionJSX(Text, {
|
397
|
-
|
304
|
+
variant: "expandableRow.lineChart.trend"
|
398
305
|
}, "+ 8.6%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
399
306
|
size: "sm"
|
400
307
|
}, ___EmotionJSX(SwitchField, {
|
@@ -406,34 +313,38 @@ export var Default = function Default() {
|
|
406
313
|
sx: sx.container,
|
407
314
|
mt: 20
|
408
315
|
}, ___EmotionJSX(Box, {
|
409
|
-
|
316
|
+
p: "md",
|
317
|
+
variant: "boxes.expandableRow.titleWrapper"
|
410
318
|
}, ___EmotionJSX(Text, {
|
411
|
-
|
319
|
+
variant: "expandableRow.title"
|
412
320
|
}, "Expanded Row with Line Chart"), ___EmotionJSX(Text, {
|
413
|
-
|
321
|
+
variant: "expandableRow.subtitle"
|
414
322
|
}, "Partial Data")), ___EmotionJSX(Box, {
|
415
323
|
isRow: true,
|
416
324
|
alignItems: "center"
|
417
325
|
}, ___EmotionJSX(Box, _extends({
|
418
|
-
|
326
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
327
|
+
sx: sx.chartTitleContainer
|
419
328
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
420
|
-
|
329
|
+
variant: "expandableRow.lineChart.title"
|
421
330
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
422
|
-
|
331
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
332
|
+
width: 100
|
423
333
|
}, hideIfTablet()), ___EmotionJSX(Text, {
|
424
|
-
|
334
|
+
variant: "expandableRow.lineChart.count"
|
425
335
|
}, "234,234"), ___EmotionJSX(Text, {
|
426
|
-
|
336
|
+
variant: "expandableRow.lineChart.countLabel"
|
427
337
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
428
|
-
|
338
|
+
variant: "expandableRow.chartWrapper",
|
429
339
|
onPress: action('seeContributingDataAction'),
|
340
|
+
sx: sx.button,
|
430
341
|
"aria-label": "line-chart button"
|
431
342
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
432
|
-
|
343
|
+
variant: "boxes.expandableRow.lineChart.divider"
|
433
344
|
}), ___EmotionJSX(Box, {
|
434
345
|
ml: 15
|
435
346
|
}, ___EmotionJSX(Box, {
|
436
|
-
|
347
|
+
variant: "boxes.expandableRow.lineChart.chart",
|
437
348
|
width: 50
|
438
349
|
}, ___EmotionJSX(ResponsiveContainer, {
|
439
350
|
sx: sx.chartContainer
|
@@ -446,12 +357,12 @@ export var Default = function Default() {
|
|
446
357
|
dot: false,
|
447
358
|
stroke: neutral[20]
|
448
359
|
})))), ___EmotionJSX(Text, {
|
449
|
-
|
360
|
+
variant: "expandableRow.lineChart.chartLabel"
|
450
361
|
}, "12 wk trend")), ___EmotionJSX(Box, {
|
451
362
|
size: "sm",
|
452
363
|
sx: sx.chartTrendContainer
|
453
364
|
}, ___EmotionJSX(Text, {
|
454
|
-
|
365
|
+
variant: "expandableRow.lineChart.trend"
|
455
366
|
}, "- 8.6%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
456
367
|
size: "sm"
|
457
368
|
}, ___EmotionJSX(SwitchField, {
|
@@ -463,34 +374,38 @@ export var Default = function Default() {
|
|
463
374
|
sx: sx.container,
|
464
375
|
mt: 20
|
465
376
|
}, ___EmotionJSX(Box, {
|
466
|
-
|
377
|
+
p: "md",
|
378
|
+
variant: "boxes.expandableRow.titleWrapper"
|
467
379
|
}, ___EmotionJSX(Text, {
|
468
|
-
|
380
|
+
variant: "expandableRow.title"
|
469
381
|
}, "Expanded Row with Line Chart"), ___EmotionJSX(Text, {
|
470
|
-
|
382
|
+
variant: "expandableRow.subtitle"
|
471
383
|
}, "Zero Data")), ___EmotionJSX(Box, {
|
472
384
|
isRow: true,
|
473
385
|
alignItems: "center"
|
474
386
|
}, ___EmotionJSX(Box, _extends({
|
475
|
-
|
387
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
388
|
+
sx: sx.chartTitleContainer
|
476
389
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
477
|
-
|
390
|
+
variant: "expandableRow.lineChart.title"
|
478
391
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
479
|
-
|
392
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
393
|
+
width: 100
|
480
394
|
}, hideIfTablet()), ___EmotionJSX(Text, {
|
481
|
-
|
395
|
+
variant: "expandableRow.lineChart.count"
|
482
396
|
}, "0"), ___EmotionJSX(Text, {
|
483
|
-
|
397
|
+
variant: "expandableRow.lineChart.countLabel"
|
484
398
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
485
|
-
|
399
|
+
variant: "expandableRow.chartWrapper",
|
486
400
|
onPress: action('seeContributingDataAction'),
|
401
|
+
sx: sx.button,
|
487
402
|
"aria-label": "line-chart button"
|
488
403
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
489
|
-
|
404
|
+
variant: "boxes.expandableRow.lineChart.divider"
|
490
405
|
}), ___EmotionJSX(Box, {
|
491
406
|
ml: 15
|
492
407
|
}, ___EmotionJSX(Box, {
|
493
|
-
|
408
|
+
variant: "boxes.expandableRow.lineChart.chart",
|
494
409
|
width: 50
|
495
410
|
}, ___EmotionJSX(ResponsiveContainer, {
|
496
411
|
sx: sx.chartContainer
|
@@ -503,12 +418,12 @@ export var Default = function Default() {
|
|
503
418
|
dot: false,
|
504
419
|
stroke: neutral[20]
|
505
420
|
})))), ___EmotionJSX(Text, {
|
506
|
-
|
421
|
+
variant: "expandableRow.lineChart.chartLabel"
|
507
422
|
}, "12 wk trend")), ___EmotionJSX(Box, {
|
508
423
|
size: "sm",
|
509
424
|
sx: sx.chartTrendContainer
|
510
425
|
}, ___EmotionJSX(Text, {
|
511
|
-
|
426
|
+
variant: "expandableRow.lineChart.trend"
|
512
427
|
}, "+ 0%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
513
428
|
size: "sm"
|
514
429
|
}, ___EmotionJSX(SwitchField, {
|
@@ -520,34 +435,38 @@ export var Default = function Default() {
|
|
520
435
|
sx: sx.container,
|
521
436
|
mt: 20
|
522
437
|
}, ___EmotionJSX(Box, {
|
523
|
-
|
438
|
+
p: "md",
|
439
|
+
variant: "boxes.expandableRow.titleWrapper"
|
524
440
|
}, ___EmotionJSX(Text, {
|
525
|
-
|
441
|
+
variant: "expandableRow.title"
|
526
442
|
}, "Expanded Row with Line Chart"), ___EmotionJSX(Text, {
|
527
|
-
|
443
|
+
variant: "expandableRow.subtitle"
|
528
444
|
}, "Zero Values")), ___EmotionJSX(Box, {
|
529
445
|
isRow: true,
|
530
446
|
alignItems: "center"
|
531
447
|
}, ___EmotionJSX(Box, _extends({
|
532
|
-
|
448
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
449
|
+
sx: sx.chartTitleContainer
|
533
450
|
}, hideIfMobile()), ___EmotionJSX(Text, {
|
534
|
-
|
451
|
+
variant: "expandableRow.lineChart.title"
|
535
452
|
}, "Avg daily sign-ons:")), ___EmotionJSX(Box, _extends({
|
536
|
-
|
453
|
+
variant: "boxes.expandableRow.lineChart.alignCellRightWrapper",
|
454
|
+
width: 100
|
537
455
|
}, hideIfTablet()), ___EmotionJSX(Text, {
|
538
|
-
|
456
|
+
variant: "expandableRow.lineChart.count"
|
539
457
|
}, "0"), ___EmotionJSX(Text, {
|
540
|
-
|
458
|
+
variant: "expandableRow.lineChart.countLabel"
|
541
459
|
}, "Past 7 days")), ___EmotionJSX(TooltipTrigger, null, ___EmotionJSX(Button, _extends({
|
542
|
-
|
460
|
+
variant: "expandableRow.chartWrapper",
|
543
461
|
onPress: action('seeContributingDataAction'),
|
462
|
+
sx: sx.button,
|
544
463
|
"aria-label": "line-chart button"
|
545
464
|
}, hideIfTablet()), ___EmotionJSX(Box, {
|
546
|
-
|
465
|
+
variant: "boxes.expandableRow.lineChart.divider"
|
547
466
|
}), ___EmotionJSX(Box, {
|
548
467
|
ml: 15
|
549
468
|
}, ___EmotionJSX(Box, {
|
550
|
-
|
469
|
+
variant: "boxes.expandableRow.lineChart.chart",
|
551
470
|
width: 50
|
552
471
|
}, ___EmotionJSX(ResponsiveContainer, {
|
553
472
|
sx: sx.chartContainer
|
@@ -560,12 +479,12 @@ export var Default = function Default() {
|
|
560
479
|
dot: false,
|
561
480
|
stroke: neutral[20]
|
562
481
|
})))), ___EmotionJSX(Text, {
|
563
|
-
|
482
|
+
variant: "expandableRow.lineChart.chartLabel"
|
564
483
|
}, "12 wk trend")), ___EmotionJSX(Box, {
|
565
484
|
size: "sm",
|
566
485
|
sx: sx.chartTrendContainer
|
567
486
|
}, ___EmotionJSX(Text, {
|
568
|
-
|
487
|
+
variant: "expandableRow.lineChart.trend"
|
569
488
|
}, "+ 0%"))), ___EmotionJSX(Tooltip, null, "See Contributing Data")), ___EmotionJSX(Box, {
|
570
489
|
size: "sm"
|
571
490
|
}, ___EmotionJSX(SwitchField, {
|
@@ -3,10 +3,10 @@ import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
|
3
3
|
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
4
4
|
import _includesInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/includes";
|
5
5
|
import React, { useState } from 'react';
|
6
|
+
import { Item } from '@react-stately/collections';
|
6
7
|
import CreateIcon from 'mdi-react/CreateIcon';
|
7
|
-
import FormSelectIcon from 'mdi-react/FormSelectIcon';
|
8
8
|
import MoreVertIcon from 'mdi-react/MoreVertIcon';
|
9
|
-
import
|
9
|
+
import FormSelectIcon from 'mdi-react/FormSelectIcon';
|
10
10
|
import { SearchField, ListView, Box, IconButton, ScrollBox, Text, Icon } from '../index';
|
11
11
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
12
12
|
export default {
|