@ultraviolet/ui 3.14.0 → 3.15.1
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/README.md +5 -19
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.128.0}/helpers/defineProperty.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.128.0}/helpers/objectSpread2.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.128.0}/helpers/objectWithoutProperties.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.128.0}/helpers/objectWithoutPropertiesLoose.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.128.0}/helpers/toPrimitive.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.128.0}/helpers/toPropertyKey.js +1 -1
- package/dist/_virtual/{_@oxc-project_runtime@0.124.0 → _@oxc-project_runtime@0.128.0}/helpers/typeof.js +1 -1
- package/dist/components/ActionBar/index.d.ts.map +1 -1
- package/dist/components/ActionBar/index.js +1 -1
- package/dist/components/ActionBar/styles.css.d.ts.map +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Alert/index.d.ts.map +1 -1
- package/dist/components/Alert/styles.css.d.ts.map +1 -1
- package/dist/components/Alert/type.d.ts.map +1 -1
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Avatar/styles.css.d.ts.map +1 -1
- package/dist/components/Avatar/types.d.ts +1 -1
- package/dist/components/Avatar/types.d.ts.map +1 -1
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/styles.css.d.ts.map +1 -1
- package/dist/components/Banner/index.d.ts +1 -1
- package/dist/components/Banner/index.d.ts.map +1 -1
- package/dist/components/Banner/styles.css.d.ts.map +1 -1
- package/dist/components/BarChart/Tooltip.d.ts.map +1 -1
- package/dist/components/BarChart/index.d.ts +5 -2
- package/dist/components/BarChart/index.d.ts.map +1 -1
- package/dist/components/BarChart/index.js +8 -2
- package/dist/components/BarStack/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/components/Item.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +1 -1
- package/dist/components/Breadcrumbs/index.d.ts +1 -1
- package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/styles.css.d.ts.map +1 -1
- package/dist/components/Bullet/index.d.ts +1 -1
- package/dist/components/Bullet/index.d.ts.map +1 -1
- package/dist/components/Bullet/styles.css.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts +5 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/index.js +4 -1
- package/dist/components/Button/styles.css.d.ts.map +1 -1
- package/dist/components/Card/index.d.ts.map +1 -1
- package/dist/components/Carousel/Item.d.ts +1 -1
- package/dist/components/Carousel/Item.d.ts.map +1 -1
- package/dist/components/Carousel/Item.js +1 -1
- package/dist/components/Carousel/index.d.ts +1 -1
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/Checkbox/CheckboxIconContainer.d.ts +1 -1
- package/dist/components/Checkbox/CheckboxIconContainer.d.ts.map +1 -1
- package/dist/components/Checkbox/index.d.ts +2 -2
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +13 -20
- package/dist/components/Checkbox/styles.css.d.ts +0 -1
- package/dist/components/Checkbox/styles.css.d.ts.map +1 -1
- package/dist/components/Checkbox/styles.css.js +10 -11
- package/dist/components/CheckboxGroup/Context.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/SingleCheckbox.d.ts +1 -1
- package/dist/components/CheckboxGroup/SingleCheckbox.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.d.ts +5 -5
- package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.js +38 -43
- package/dist/components/Chip/ChipContext.d.ts.map +1 -1
- package/dist/components/Chip/ChipIcon.d.ts +1 -1
- package/dist/components/Chip/ChipIcon.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +2 -2
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/CopyButton/index.d.ts.map +1 -1
- package/dist/components/DateInput/Context.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarContent.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarContent.js +1 -1
- package/dist/components/DateInput/components/CalendarDaily.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarDaily.js +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.d.ts.map +1 -1
- package/dist/components/DateInput/components/Popup.d.ts +1 -1
- package/dist/components/DateInput/components/Popup.d.ts.map +1 -1
- package/dist/components/DateInput/components/Popup.js +1 -1
- package/dist/components/DateInput/components/styles.css.d.ts.map +1 -1
- package/dist/components/DateInput/helpers.d.ts.map +1 -1
- package/dist/components/DateInput/index.d.ts +4 -3
- package/dist/components/DateInput/index.d.ts.map +1 -1
- package/dist/components/DateInput/index.js +2 -1
- package/dist/components/DateInput/styles.css.d.ts.map +1 -1
- package/dist/components/Description/index.d.ts +15 -0
- package/dist/components/Description/index.d.ts.map +1 -0
- package/dist/components/Description/index.js +48 -0
- package/dist/components/Dialog/Context.d.ts.map +1 -1
- package/dist/components/Dialog/components/Button.d.ts +2 -2
- package/dist/components/Dialog/components/Button.d.ts.map +1 -1
- package/dist/components/Dialog/components/Buttons.d.ts +1 -1
- package/dist/components/Dialog/components/Buttons.d.ts.map +1 -1
- package/dist/components/Dialog/components/CancelButton.d.ts +2 -2
- package/dist/components/Dialog/components/CancelButton.d.ts.map +1 -1
- package/dist/components/Dialog/components/Stack.d.ts.map +1 -1
- package/dist/components/Dialog/components/Text.d.ts.map +1 -1
- package/dist/components/Dialog/constants.d.ts.map +1 -1
- package/dist/components/Dialog/index.d.ts +13 -124
- package/dist/components/Dialog/index.d.ts.map +1 -1
- package/dist/components/Drawer/DrawerContent.d.ts.map +1 -1
- package/dist/components/Drawer/index.d.ts +1 -1
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +2 -2
- package/dist/components/Drawer/styles.css.d.ts.map +1 -1
- package/dist/components/EmptyState/index.d.ts +1 -1
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/Expandable/AnimatedExpandable.d.ts.map +1 -1
- package/dist/components/Expandable/AnimatedExpandable.js +1 -1
- package/dist/components/Expandable/NonAnimatedExpandable.js +1 -1
- package/dist/components/Expandable/index.d.ts.map +1 -1
- package/dist/components/ExpandableCard/components/Title.d.ts +2 -2
- package/dist/components/ExpandableCard/components/Title.d.ts.map +1 -1
- package/dist/components/ExpandableCard/index.d.ts +2 -2
- package/dist/components/ExpandableCard/index.d.ts.map +1 -1
- package/dist/components/FileInput/DropzoneContent.d.ts +1 -1
- package/dist/components/FileInput/DropzoneContent.d.ts.map +1 -1
- package/dist/components/FileInput/FileInputProvider.d.ts +1 -1
- package/dist/components/FileInput/FileInputProvider.d.ts.map +1 -1
- package/dist/components/FileInput/components/Button.d.ts +1 -1
- package/dist/components/FileInput/components/Button.d.ts.map +1 -1
- package/dist/components/FileInput/components/Button.js +2 -2
- package/dist/components/FileInput/components/List.d.ts +1 -1
- package/dist/components/FileInput/components/List.d.ts.map +1 -1
- package/dist/components/FileInput/helpers.d.ts.map +1 -1
- package/dist/components/FileInput/index.d.ts +3 -59
- package/dist/components/FileInput/index.d.ts.map +1 -1
- package/dist/components/FileInput/index.js +15 -12
- package/dist/components/FileInput/styles.css.d.ts.map +1 -1
- package/dist/components/FileInput/types.d.ts +4 -4
- package/dist/components/FileInput/types.d.ts.map +1 -1
- package/dist/components/GlobalAlert/GlobalAlertLink.d.ts +1 -1
- package/dist/components/GlobalAlert/GlobalAlertLink.d.ts.map +1 -1
- package/dist/components/GlobalAlert/index.d.ts +5 -5
- package/dist/components/GlobalAlert/index.d.ts.map +1 -1
- package/dist/components/GlobalAlert/styles.css.d.ts.map +1 -1
- package/dist/components/InfiniteScroll/index.d.ts.map +1 -1
- package/dist/components/InfiniteScroll/index.js +1 -1
- package/dist/components/Key/index.d.ts.map +1 -1
- package/dist/components/Label/LabelContent.d.ts.map +1 -1
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/Label/type.d.ts +1 -1
- package/dist/components/Label/type.d.ts.map +1 -1
- package/dist/components/LineChart/CustomLegend.d.ts +1 -1
- package/dist/components/LineChart/CustomLegend.d.ts.map +1 -1
- package/dist/components/LineChart/LegendCell.d.ts +1 -1
- package/dist/components/LineChart/LegendCell.d.ts.map +1 -1
- package/dist/components/LineChart/Tooltip.d.ts +3 -3
- package/dist/components/LineChart/Tooltip.d.ts.map +1 -1
- package/dist/components/LineChart/Tooltip.js +1 -1
- package/dist/components/LineChart/helpers.d.ts +10 -6
- package/dist/components/LineChart/helpers.d.ts.map +1 -1
- package/dist/components/LineChart/index.d.ts +8 -7
- package/dist/components/LineChart/index.d.ts.map +1 -1
- package/dist/components/LineChart/index.js +2 -2
- package/dist/components/Link/index.d.ts +1 -1
- package/dist/components/Link/index.d.ts.map +1 -1
- package/dist/components/Link/styles.css.d.ts.map +1 -1
- package/dist/components/List/Cell.d.ts.map +1 -1
- package/dist/components/List/Cell.js +1 -1
- package/dist/components/List/ColumnProvider.d.ts +1 -1
- package/dist/components/List/ColumnProvider.d.ts.map +1 -1
- package/dist/components/List/ExpandButtonCell.d.ts +1 -1
- package/dist/components/List/ExpandButtonCell.d.ts.map +1 -1
- package/dist/components/List/HeaderCell.d.ts.map +1 -1
- package/dist/components/List/HeaderRow.d.ts.map +1 -1
- package/dist/components/List/ListContext.d.ts +1 -1
- package/dist/components/List/ListContext.d.ts.map +1 -1
- package/dist/components/List/ListContext.js +3 -3
- package/dist/components/List/Row.d.ts +1 -1
- package/dist/components/List/Row.d.ts.map +1 -1
- package/dist/components/List/SelectBar.d.ts +1 -1
- package/dist/components/List/SelectBar.d.ts.map +1 -1
- package/dist/components/List/SelectRowCell.d.ts.map +1 -1
- package/dist/components/List/SkeletonRows.d.ts +1 -1
- package/dist/components/List/SkeletonRows.d.ts.map +1 -1
- package/dist/components/List/SortIcon.d.ts.map +1 -1
- package/dist/components/List/TableContainer.d.ts.map +1 -1
- package/dist/components/List/index.d.ts +1 -1
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js +1 -1
- package/dist/components/List/styles.css.d.ts.map +1 -1
- package/dist/components/List/types.d.ts +1 -1
- package/dist/components/List/types.d.ts.map +1 -1
- package/dist/components/Loader/index.d.ts +2 -2
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Loader/index.js +1 -1
- package/dist/components/Menu/MenuContent.d.ts +4 -4
- package/dist/components/Menu/MenuContent.d.ts.map +1 -1
- package/dist/components/Menu/MenuContent.js +0 -4
- package/dist/components/Menu/MenuProvider.d.ts.map +1 -1
- package/dist/components/Menu/components/Group.d.ts +1 -1
- package/dist/components/Menu/components/Group.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.d.ts +1 -0
- package/dist/components/Menu/components/Item.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.js +5 -7
- package/dist/components/Menu/helpers.d.ts.map +1 -1
- package/dist/components/Menu/index.d.ts +5 -4
- package/dist/components/Menu/index.d.ts.map +1 -1
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Menu/styles.css.d.ts.map +1 -1
- package/dist/components/Menu/types.d.ts +1 -1
- package/dist/components/Menu/types.d.ts.map +1 -1
- package/dist/components/Meter/index.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent.d.ts +1 -1
- package/dist/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/ModalProvider.d.ts.map +1 -1
- package/dist/components/Modal/components/Dialog.d.ts.map +1 -1
- package/dist/components/Modal/components/Dialog.js +1 -1
- package/dist/components/Modal/components/Disclosure.d.ts +1 -1
- package/dist/components/Modal/components/Disclosure.d.ts.map +1 -1
- package/dist/components/Modal/index.d.ts +1 -1
- package/dist/components/Modal/index.d.ts.map +1 -1
- package/dist/components/Modal/styles.css.d.ts.map +1 -1
- package/dist/components/Notice/index.d.ts +1 -1
- package/dist/components/Notice/index.d.ts.map +1 -1
- package/dist/components/Notification/Notification.d.ts.map +1 -1
- package/dist/components/Notification/Notification.js +1 -1
- package/dist/components/Notification/NotificationContainer.d.ts.map +1 -1
- package/dist/components/NumberInput/components/Controls.d.ts +1 -1
- package/dist/components/NumberInput/components/Controls.d.ts.map +1 -1
- package/dist/components/NumberInput/index.d.ts +3 -3
- package/dist/components/NumberInput/index.d.ts.map +1 -1
- package/dist/components/NumberInput/index.js +14 -16
- package/dist/components/NumberInput/styles.css.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationButton.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationButtons.d.ts.map +1 -1
- package/dist/components/Pagination/PerPage.d.ts.map +1 -1
- package/dist/components/Pagination/getPageNumbers.d.ts.map +1 -1
- package/dist/components/Pagination/index.d.ts.map +1 -1
- package/dist/components/PasswordCheck/index.d.ts +1 -1
- package/dist/components/PasswordCheck/index.d.ts.map +1 -1
- package/dist/components/PieChart/Legends.d.ts +1 -1
- package/dist/components/PieChart/Legends.d.ts.map +1 -1
- package/dist/components/PieChart/Legends.js +1 -1
- package/dist/components/PieChart/Tooltip.d.ts.map +1 -1
- package/dist/components/PieChart/index.d.ts +1 -1
- package/dist/components/PieChart/index.d.ts.map +1 -1
- package/dist/components/PieChart/index.js +1 -1
- package/dist/components/PieChart/styles.css.d.ts.map +1 -1
- package/dist/components/Popover/ContentWrapper.d.ts +1 -1
- package/dist/components/Popover/ContentWrapper.d.ts.map +1 -1
- package/dist/components/Popover/index.d.ts +4 -4
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/styles.css.d.ts.map +1 -1
- package/dist/components/Popover/types.d.ts +1 -1
- package/dist/components/Popover/types.d.ts.map +1 -1
- package/dist/components/Popup/helpers.d.ts +1 -1
- package/dist/components/Popup/helpers.d.ts.map +1 -1
- package/dist/components/Popup/helpers.js +60 -52
- package/dist/components/Popup/index.d.ts +2 -2
- package/dist/components/Popup/index.d.ts.map +1 -1
- package/dist/components/Popup/index.js +2 -2
- package/dist/components/Popup/styles.css.d.ts.map +1 -1
- package/dist/components/ProgressBar/constants.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css.d.ts.map +1 -1
- package/dist/components/Radio/index.d.ts +2 -2
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +13 -9
- package/dist/components/Radio/styles.css.d.ts.map +1 -1
- package/dist/components/RadioGroup/Context.d.ts.map +1 -1
- package/dist/components/RadioGroup/SingleRadio.d.ts +1 -1
- package/dist/components/RadioGroup/SingleRadio.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.d.ts +3 -3
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +38 -43
- package/dist/components/Row/index.d.ts +1 -1
- package/dist/components/Row/index.d.ts.map +1 -1
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Row/styles.css.d.ts.map +1 -1
- package/dist/components/Row/variables.css.d.ts +1 -1
- package/dist/components/Row/variables.css.d.ts.map +1 -1
- package/dist/components/SearchInput/KeyGroup.d.ts +1 -1
- package/dist/components/SearchInput/KeyGroup.d.ts.map +1 -1
- package/dist/components/SearchInput/index.d.ts.map +1 -1
- package/dist/components/SearchInput/types.d.ts +1 -1
- package/dist/components/SearchInput/types.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInputProvider.d.ts +1 -1
- package/dist/components/SelectInput/SelectInputProvider.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/AddOption.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Content.js +2 -2
- package/dist/components/SelectInput/components/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Dropdown.js +4 -4
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/Item.js +1 -1
- package/dist/components/SelectInput/components/Dropdown/Option.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts +2 -2
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown/SearchBar.js +2 -2
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts +1 -1
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts +5 -2
- package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar/SelectBar.js +5 -2
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts +1 -1
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar/selectBar.css.d.ts.map +1 -1
- package/dist/components/SelectInput/components/helpers.d.ts +1 -1
- package/dist/components/SelectInput/components/helpers.d.ts.map +1 -1
- package/dist/components/SelectInput/constants.d.ts.map +1 -1
- package/dist/components/SelectInput/index.d.ts +5 -5
- package/dist/components/SelectInput/index.d.ts.map +1 -1
- package/dist/components/SelectInput/index.js +61 -65
- package/dist/components/SelectInput/reducerFunctions.d.ts.map +1 -1
- package/dist/components/SelectInput/styles.css.d.ts.map +1 -1
- package/dist/components/SelectableCard/IllustrationContainer.d.ts +1 -1
- package/dist/components/SelectableCard/IllustrationContainer.d.ts.map +1 -1
- package/dist/components/SelectableCard/MultiStateInput.d.ts.map +1 -1
- package/dist/components/SelectableCard/MultiStateInput.js +1 -1
- package/dist/components/SelectableCard/SelectableCard.d.ts.map +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +1 -1
- package/dist/components/SelectableCard/styles.css.d.ts.map +1 -1
- package/dist/components/SelectableCard/types.d.ts +1 -1
- package/dist/components/SelectableCard/types.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/Context.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/SingleCard.d.ts +1 -1
- package/dist/components/SelectableCardGroup/SingleCard.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/index.d.ts +3 -3
- package/dist/components/SelectableCardGroup/index.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/index.js +28 -35
- package/dist/components/SelectableCardOptionGroup/Provider.d.ts +1 -1
- package/dist/components/SelectableCardOptionGroup/Provider.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.d.ts +3 -3
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.js +15 -11
- package/dist/components/SelectableCardOptionGroup/components/Image.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.d.ts +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +2 -2
- package/dist/components/Separator/index.d.ts +6 -2
- package/dist/components/Separator/index.d.ts.map +1 -1
- package/dist/components/Separator/index.js +3 -1
- package/dist/components/Separator/styles.css.d.ts.map +1 -1
- package/dist/components/Skeleton/Block.d.ts.map +1 -1
- package/dist/components/Skeleton/Blocks.d.ts +1 -1
- package/dist/components/Skeleton/Blocks.d.ts.map +1 -1
- package/dist/components/Skeleton/BoxWithIcon.d.ts +1 -1
- package/dist/components/Skeleton/BoxWithIcon.d.ts.map +1 -1
- package/dist/components/Skeleton/Line.d.ts.map +1 -1
- package/dist/components/Skeleton/List.d.ts +1 -1
- package/dist/components/Skeleton/List.d.ts.map +1 -1
- package/dist/components/Skeleton/Slider.d.ts.map +1 -1
- package/dist/components/Skeleton/index.d.ts +3 -3
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Skeleton/styles.css.d.ts.map +1 -1
- package/dist/components/Slider/components/DoubleSlider.d.ts +1 -1
- package/dist/components/Slider/components/DoubleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/DoubleSlider.js +9 -4
- package/dist/components/Slider/components/Options.d.ts +1 -1
- package/dist/components/Slider/components/Options.d.ts.map +1 -1
- package/dist/components/Slider/components/Options.js +4 -2
- package/dist/components/Slider/components/SingleSlider.d.ts +1 -1
- package/dist/components/Slider/components/SingleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/SingleSlider.js +5 -4
- package/dist/components/Slider/index.d.ts +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/index.js +15 -11
- package/dist/components/Slider/styles.css.d.ts +2 -0
- package/dist/components/Slider/styles.css.d.ts.map +1 -1
- package/dist/components/Slider/types.d.ts +2 -2
- package/dist/components/Slider/types.d.ts.map +1 -1
- package/dist/components/Snippet/CodeContent.d.ts.map +1 -1
- package/dist/components/Snippet/index.d.ts +4 -3
- package/dist/components/Snippet/index.d.ts.map +1 -1
- package/dist/components/Snippet/index.js +12 -9
- package/dist/components/Snippet/styles.css.d.ts.map +1 -1
- package/dist/components/Stack/index.d.ts +2 -2
- package/dist/components/Stack/index.d.ts.map +1 -1
- package/dist/components/Stack/index.js +2 -2
- package/dist/components/Stack/styles.css.d.ts.map +1 -1
- package/dist/components/Stack/types.d.ts.map +1 -1
- package/dist/components/Status/constant.d.ts.map +1 -1
- package/dist/components/Status/index.d.ts +1 -1
- package/dist/components/Status/index.d.ts.map +1 -1
- package/dist/components/Status/styles.css.d.ts.map +1 -1
- package/dist/components/StepList/Item.d.ts +1 -1
- package/dist/components/StepList/Item.d.ts.map +1 -1
- package/dist/components/StepList/index.d.ts +2 -2
- package/dist/components/StepList/index.d.ts.map +1 -1
- package/dist/components/Stepper/Bullet.d.ts.map +1 -1
- package/dist/components/Stepper/Step.d.ts.map +1 -1
- package/dist/components/Stepper/StepperProvider.d.ts.map +1 -1
- package/dist/components/Stepper/index.d.ts +1 -1
- package/dist/components/Stepper/index.d.ts.map +1 -1
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/SwitchButton/FocusOverlay.d.ts +1 -1
- package/dist/components/SwitchButton/FocusOverlay.d.ts.map +1 -1
- package/dist/components/SwitchButton/Option.d.ts +1 -1
- package/dist/components/SwitchButton/Option.d.ts.map +1 -1
- package/dist/components/SwitchButton/Option.js +1 -1
- package/dist/components/SwitchButton/SwitchButtonContext.d.ts.map +1 -1
- package/dist/components/SwitchButton/index.d.ts +2 -2
- package/dist/components/SwitchButton/index.d.ts.map +1 -1
- package/dist/components/SwitchButton/index.js +1 -1
- package/dist/components/SwitchButton/styles.css.d.ts.map +1 -1
- package/dist/components/Table/Cell.d.ts +2 -2
- package/dist/components/Table/Cell.d.ts.map +1 -1
- package/dist/components/Table/Cell.js +1 -1
- package/dist/components/Table/Header.d.ts.map +1 -1
- package/dist/components/Table/HeaderCell.d.ts.map +1 -1
- package/dist/components/Table/HeaderRow.d.ts.map +1 -1
- package/dist/components/Table/Row.d.ts.map +1 -1
- package/dist/components/Table/Row.js +2 -2
- package/dist/components/Table/SelectBar.d.ts +1 -1
- package/dist/components/Table/SelectBar.d.ts.map +1 -1
- package/dist/components/Table/SkeletonRows.d.ts.map +1 -1
- package/dist/components/Table/SortIcon.d.ts.map +1 -1
- package/dist/components/Table/TableContainer.d.ts.map +1 -1
- package/dist/components/Table/TableContext.d.ts.map +1 -1
- package/dist/components/Table/TableContext.js +2 -2
- package/dist/components/Table/index.d.ts +3 -3
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Table/styles.css.d.ts.map +1 -1
- package/dist/components/Table/types.d.ts +1 -1
- package/dist/components/Table/types.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.js +4 -4
- package/dist/components/Tabs/TabMenu.d.ts +1 -1
- package/dist/components/Tabs/TabMenu.d.ts.map +1 -1
- package/dist/components/Tabs/TabMenu.js +2 -2
- package/dist/components/Tabs/TabMenuItem.d.ts +1 -1
- package/dist/components/Tabs/TabMenuItem.d.ts.map +1 -1
- package/dist/components/Tabs/TabMenuItem.js +4 -4
- package/dist/components/Tabs/index.d.ts +3 -226
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.js +4 -4
- package/dist/components/Tabs/styles.css.d.ts.map +1 -1
- package/dist/components/Tag/TagInner.d.ts +1 -1
- package/dist/components/Tag/TagInner.d.ts.map +1 -1
- package/dist/components/Tag/TagInner.js +3 -4
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +7 -3
- package/dist/components/Tag/styles.css.d.ts +6 -1
- package/dist/components/Tag/styles.css.d.ts.map +1 -1
- package/dist/components/Tag/styles.css.js +47 -47
- package/dist/components/Tag/type.d.ts +1 -1
- package/dist/components/Tag/type.d.ts.map +1 -1
- package/dist/components/TagInput/index.d.ts +3 -2
- package/dist/components/TagInput/index.d.ts.map +1 -1
- package/dist/components/TagInput/index.js +16 -17
- package/dist/components/TagList/index.d.ts +1 -1
- package/dist/components/TagList/index.d.ts.map +1 -1
- package/dist/components/TagList/index.js +1 -1
- package/dist/components/TagList/styles.css.d.ts.map +1 -1
- package/dist/components/Text/index.d.ts +2 -2
- package/dist/components/Text/index.d.ts.map +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Text/style.css.d.ts.map +1 -1
- package/dist/components/TextArea/Icon.d.ts +1 -1
- package/dist/components/TextArea/Icon.d.ts.map +1 -1
- package/dist/components/TextArea/Notice.d.ts +2 -2
- package/dist/components/TextArea/Notice.d.ts.map +1 -1
- package/dist/components/TextArea/Notice.js +11 -8
- package/dist/components/TextArea/index.d.ts +2 -5
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +8 -9
- package/dist/components/TextInput/PrefixSuffix.d.ts +1 -1
- package/dist/components/TextInput/PrefixSuffix.d.ts.map +1 -1
- package/dist/components/TextInput/RightIcon.d.ts +1 -1
- package/dist/components/TextInput/RightIcon.d.ts.map +1 -1
- package/dist/components/TextInput/ShowHidePassword.d.ts +1 -1
- package/dist/components/TextInput/ShowHidePassword.d.ts.map +1 -1
- package/dist/components/TextInput/index.d.ts +2 -2
- package/dist/components/TextInput/index.d.ts.map +1 -1
- package/dist/components/TextInput/index.js +13 -7
- package/dist/components/TextInput/styles.css.d.ts.map +1 -1
- package/dist/components/TextInput/type.d.ts +2 -2
- package/dist/components/TextInput/type.d.ts.map +1 -1
- package/dist/components/TimeInput/RightIcon.d.ts.map +1 -1
- package/dist/components/TimeInput/helpers.d.ts.map +1 -1
- package/dist/components/TimeInput/index.d.ts +2 -1
- package/dist/components/TimeInput/index.d.ts.map +1 -1
- package/dist/components/TimeInput/index.js +17 -10
- package/dist/components/TimeInput/styles.css.d.ts.map +1 -1
- package/dist/components/Toaster/Toaster.d.ts.map +1 -1
- package/dist/components/Toaster/Toaster.js +1 -1
- package/dist/components/Toaster/ToasterContainer.d.ts.map +1 -1
- package/dist/components/Toaster/components/Button.d.ts +1 -1
- package/dist/components/Toaster/components/Button.d.ts.map +1 -1
- package/dist/components/Toaster/components/CloseButton.d.ts +1 -1
- package/dist/components/Toaster/components/CloseButton.d.ts.map +1 -1
- package/dist/components/Toaster/components/Content.d.ts.map +1 -1
- package/dist/components/Toaster/components/Link.d.ts +1 -1
- package/dist/components/Toaster/components/Link.d.ts.map +1 -1
- package/dist/components/Toaster/index.d.ts +2 -89
- package/dist/components/Toaster/index.d.ts.map +1 -1
- package/dist/components/Toggle/index.d.ts +1 -1
- package/dist/components/Toggle/index.d.ts.map +1 -1
- package/dist/components/Toggle/index.js +29 -34
- package/dist/components/ToggleGroup/Context.d.ts.map +1 -1
- package/dist/components/ToggleGroup/SingleToggle.d.ts +1 -1
- package/dist/components/ToggleGroup/SingleToggle.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.d.ts +3 -3
- package/dist/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.js +38 -44
- package/dist/components/Tooltip/index.d.ts +2 -2
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/TreeMapChart/Tooltip.d.ts +1 -1
- package/dist/components/TreeMapChart/Tooltip.d.ts.map +1 -1
- package/dist/components/TreeMapChart/index.d.ts +2 -2
- package/dist/components/TreeMapChart/index.d.ts.map +1 -1
- package/dist/components/TreeMapChart/index.js +2 -2
- package/dist/components/UnitInput/index.d.ts +4 -4
- package/dist/components/UnitInput/index.d.ts.map +1 -1
- package/dist/components/UnitInput/index.js +15 -16
- package/dist/components/VerificationCode/index.d.ts +2 -1
- package/dist/components/VerificationCode/index.d.ts.map +1 -1
- package/dist/components/VerificationCode/index.js +14 -18
- package/dist/components/VerificationCode/styles.css.d.ts.map +1 -1
- package/dist/components/styles.js +4 -4
- package/dist/compositions/CodeEditor/components/CopyButton.d.ts.map +1 -1
- package/dist/compositions/CodeEditor/components/Expandable.d.ts.map +1 -1
- package/dist/compositions/CodeEditor/index.d.ts +1 -1
- package/dist/compositions/CodeEditor/index.d.ts.map +1 -1
- package/dist/compositions/CodeEditor/index.js +16 -18
- package/dist/compositions/CodeEditor/styles.css.d.ts.map +1 -1
- package/dist/compositions/CodeEditor/type.d.ts +1 -0
- package/dist/compositions/CodeEditor/type.d.ts.map +1 -1
- package/dist/compositions/ContentCard/Content.d.ts.map +1 -1
- package/dist/compositions/ContentCard/ImageContent.d.ts.map +1 -1
- package/dist/compositions/ContentCard/LinkContent.d.ts +1 -1
- package/dist/compositions/ContentCard/LinkContent.d.ts.map +1 -1
- package/dist/compositions/ContentCard/Skeleton.d.ts.map +1 -1
- package/dist/compositions/ContentCard/index.d.ts.map +1 -1
- package/dist/compositions/ContentCardGroup/Card.d.ts.map +1 -1
- package/dist/compositions/ContentCardGroup/SkeletonCard.d.ts.map +1 -1
- package/dist/compositions/ContentCardGroup/index.d.ts +1 -1
- package/dist/compositions/ContentCardGroup/index.d.ts.map +1 -1
- package/dist/compositions/Conversation/components/Date.d.ts +1 -1
- package/dist/compositions/Conversation/components/Date.d.ts.map +1 -1
- package/dist/compositions/Conversation/components/Message.d.ts +1 -1
- package/dist/compositions/Conversation/components/Message.d.ts.map +1 -1
- package/dist/compositions/Conversation/components/MessageInfos.d.ts.map +1 -1
- package/dist/compositions/Conversation/components/MessageTag.d.ts +1 -1
- package/dist/compositions/Conversation/components/MessageTag.d.ts.map +1 -1
- package/dist/compositions/Conversation/index.d.ts +3 -3
- package/dist/compositions/Conversation/index.d.ts.map +1 -1
- package/dist/compositions/Conversation/styles.css.d.ts.map +1 -1
- package/dist/compositions/CustomerSatisfaction/index.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/CompactEstimateCost.d.ts +2 -1
- package/dist/compositions/EstimateCost/CompactEstimateCost.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/CompactEstimateCost.js +2 -2
- package/dist/compositions/EstimateCost/Components/Children.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Children.js +1 -1
- package/dist/compositions/EstimateCost/Components/CustomUnitInput.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Description.d.ts +2 -2
- package/dist/compositions/EstimateCost/Components/Description.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Item.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Item.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Item.js +2 -2
- package/dist/compositions/EstimateCost/Components/ItemLeftSide.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/ItemPrice.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/LineThrough.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/LineThrough.js +2 -2
- package/dist/compositions/EstimateCost/Components/NumberInput.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/NumberInput.js +1 -1
- package/dist/compositions/EstimateCost/Components/Region.d.ts +2 -2
- package/dist/compositions/EstimateCost/Components/Region.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Region.js +1 -1
- package/dist/compositions/EstimateCost/Components/Regular.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Regular.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Strong.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Title.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Total.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Total.js +1 -1
- package/dist/compositions/EstimateCost/Components/Unit.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Unit.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Unit.js +2 -2
- package/dist/compositions/EstimateCost/Components/Zone.d.ts +1 -1
- package/dist/compositions/EstimateCost/Components/Zone.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Components/Zone.js +1 -1
- package/dist/compositions/EstimateCost/Components/components.css.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Ellipsis.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Ellipsis.js +1 -1
- package/dist/compositions/EstimateCost/EstimateCostContent.d.ts +1 -1
- package/dist/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/EstimateCostContent.js +3 -2
- package/dist/compositions/EstimateCost/EstimateCostProvider.d.ts +2 -2
- package/dist/compositions/EstimateCost/EstimateCostProvider.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/EstimateCostProvider.js +1 -1
- package/dist/compositions/EstimateCost/Image.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/Image.js +1 -1
- package/dist/compositions/EstimateCost/OverlayComponent.d.ts +1 -1
- package/dist/compositions/EstimateCost/OverlayComponent.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/OverlayContext.d.ts +1 -1
- package/dist/compositions/EstimateCost/OverlayContext.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/helper.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/index.d.ts +8 -8
- package/dist/compositions/EstimateCost/index.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/index.js +2 -1
- package/dist/compositions/EstimateCost/locales/en.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/styles.css.d.ts +1 -1
- package/dist/compositions/EstimateCost/styles.css.d.ts.map +1 -1
- package/dist/compositions/EstimateCost/styles.css.js +5 -2
- package/dist/compositions/EstimateCost/types.d.ts +6 -2
- package/dist/compositions/EstimateCost/types.d.ts.map +1 -1
- package/dist/compositions/FAQ/index.d.ts +1 -1
- package/dist/compositions/FAQ/index.d.ts.map +1 -1
- package/dist/compositions/InfoTable/components/Cell.d.ts +1 -1
- package/dist/compositions/InfoTable/components/Cell.d.ts.map +1 -1
- package/dist/compositions/InfoTable/components/CellWithCopyButton.d.ts +1 -1
- package/dist/compositions/InfoTable/components/CellWithCopyButton.d.ts.map +1 -1
- package/dist/compositions/InfoTable/components/Row.d.ts +1 -1
- package/dist/compositions/InfoTable/components/Row.d.ts.map +1 -1
- package/dist/compositions/InfoTable/components/Row.js +1 -1
- package/dist/compositions/InfoTable/index.d.ts +5 -17
- package/dist/compositions/InfoTable/index.d.ts.map +1 -1
- package/dist/compositions/Navigation/Footer.d.ts +1 -1
- package/dist/compositions/Navigation/Footer.d.ts.map +1 -1
- package/dist/compositions/Navigation/Header.d.ts.map +1 -1
- package/dist/compositions/Navigation/NavigationContent.d.ts.map +1 -1
- package/dist/compositions/Navigation/NavigationContent.js +28 -17
- package/dist/compositions/Navigation/NavigationProvider.d.ts +6 -3
- package/dist/compositions/Navigation/NavigationProvider.d.ts.map +1 -1
- package/dist/compositions/Navigation/NavigationProvider.js +36 -12
- package/dist/compositions/Navigation/components/ComponentsTypes.d.ts +6 -1
- package/dist/compositions/Navigation/components/ComponentsTypes.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Group.d.ts +1 -1
- package/dist/compositions/Navigation/components/Group.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Group.js +22 -23
- package/dist/compositions/Navigation/components/Item/Badge.d.ts +1 -3
- package/dist/compositions/Navigation/components/Item/Badge.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/Badge.js +1 -1
- package/dist/compositions/Navigation/components/Item/Children.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/Children.js +6 -8
- package/dist/compositions/Navigation/components/Item/Content.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/Content.js +5 -3
- package/dist/compositions/Navigation/components/Item/Item.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/Item.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/Item.js +8 -14
- package/dist/compositions/Navigation/components/Item/ItemExpanded.d.ts +1 -1
- package/dist/compositions/Navigation/components/Item/ItemExpanded.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/ItemExpanded.js +14 -23
- package/dist/compositions/Navigation/components/Item/ItemProvider.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Item/PinnedButton.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Menu/Menu.d.ts +1 -1
- package/dist/compositions/Navigation/components/Menu/Menu.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Menu/Menu.js +6 -4
- package/dist/compositions/Navigation/components/Menu/MenuItem.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Menu/MenuItem.js +4 -9
- package/dist/compositions/Navigation/components/Menu/NestedMenu.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Menu/NestedMenu.js +1 -1
- package/dist/compositions/Navigation/components/PinnedItems.d.ts +1 -1
- package/dist/compositions/Navigation/components/PinnedItems.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/PinnedItems.js +4 -5
- package/dist/compositions/Navigation/components/Separator.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/Separator.js +8 -1
- package/dist/compositions/Navigation/components/ShowHide.d.ts +1 -1
- package/dist/compositions/Navigation/components/ShowHide.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/ShowHide.js +4 -4
- package/dist/compositions/Navigation/components/items.css.d.ts +22 -31
- package/dist/compositions/Navigation/components/items.css.d.ts.map +1 -1
- package/dist/compositions/Navigation/components/styles.css.d.ts +8 -6
- package/dist/compositions/Navigation/components/styles.css.d.ts.map +1 -1
- package/dist/compositions/Navigation/constants.d.ts +2 -1
- package/dist/compositions/Navigation/constants.d.ts.map +1 -1
- package/dist/compositions/Navigation/constants.js +5 -2
- package/dist/compositions/Navigation/index.d.ts +6 -6
- package/dist/compositions/Navigation/index.d.ts.map +1 -1
- package/dist/compositions/Navigation/locales/en.d.ts.map +1 -1
- package/dist/compositions/Navigation/styles.css.d.ts +41 -53
- package/dist/compositions/Navigation/styles.css.d.ts.map +1 -1
- package/dist/compositions/Navigation/styles.css.js +66 -107
- package/dist/compositions/Navigation/variables.css.d.ts +13 -0
- package/dist/compositions/Navigation/variables.css.d.ts.map +1 -1
- package/dist/compositions/Navigation/variables.css.js +4 -2
- package/dist/compositions/OfferList/OfferListProvider.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Banner.d.ts +1 -1
- package/dist/compositions/OfferList/components/Banner.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Cell.d.ts +1 -1
- package/dist/compositions/OfferList/components/Cell.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Cell.js +2 -2
- package/dist/compositions/OfferList/components/Row.d.ts +2 -2
- package/dist/compositions/OfferList/components/Row.d.ts.map +1 -1
- package/dist/compositions/OfferList/components/Row.js +2 -2
- package/dist/compositions/OfferList/components/SelectableCell.d.ts +1 -1
- package/dist/compositions/OfferList/components/SelectableCell.d.ts.map +1 -1
- package/dist/compositions/OfferList/index.d.ts +4 -24
- package/dist/compositions/OfferList/index.d.ts.map +1 -1
- package/dist/compositions/OfferList/styles.css.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/__mock__/resources.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/components/ArrowIcon.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/components/IconWithContent.d.ts +1 -1
- package/dist/compositions/OptionSelector/components/IconWithContent.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/components/RevealOnHover.d.ts +1 -1
- package/dist/compositions/OptionSelector/components/RevealOnHover.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/components/Selector.d.ts +2 -1
- package/dist/compositions/OptionSelector/components/Selector.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/components/Selector.js +2 -1
- package/dist/compositions/OptionSelector/index.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/index.js +21 -10
- package/dist/compositions/OptionSelector/styles.css.d.ts.map +1 -1
- package/dist/compositions/OptionSelector/styles.css.js +9 -9
- package/dist/compositions/OptionSelector/types.d.ts +1 -1
- package/dist/compositions/OptionSelector/types.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/NonScrollableContent.d.ts +4 -2
- package/dist/compositions/OrderSummary/NonScrollableContent.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/NonScrollableContent.js +18 -4
- package/dist/compositions/OrderSummary/Provider.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/ScrollableContent.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/components/Category.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/components/SubCategory.d.ts +1 -1
- package/dist/compositions/OrderSummary/components/SubCategory.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/components/SubCategory.js +1 -1
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.d.ts +1 -1
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/constants.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/helpers.d.ts +1 -1
- package/dist/compositions/OrderSummary/helpers.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/helpers.js +1 -1
- package/dist/compositions/OrderSummary/index.d.ts +1 -1
- package/dist/compositions/OrderSummary/index.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/index.js +5 -3
- package/dist/compositions/OrderSummary/locales/en.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/styles.css.d.ts +22 -2
- package/dist/compositions/OrderSummary/styles.css.d.ts.map +1 -1
- package/dist/compositions/OrderSummary/styles.css.js +32 -15
- package/dist/compositions/OrderSummary/types.d.ts +16 -2
- package/dist/compositions/OrderSummary/types.d.ts.map +1 -1
- package/dist/compositions/Plans/FeatureHint.d.ts.map +1 -1
- package/dist/compositions/Plans/PlanHeader.d.ts.map +1 -1
- package/dist/compositions/Plans/index.d.ts +1 -1
- package/dist/compositions/Plans/index.d.ts.map +1 -1
- package/dist/compositions/Plans/locales/en.d.ts.map +1 -1
- package/dist/compositions/Plans/styles.css.d.ts.map +1 -1
- package/dist/compositions/Plans/types.d.ts +1 -1
- package/dist/compositions/Plans/types.d.ts.map +1 -1
- package/dist/compositions/SteppedListCard/Step.d.ts +1 -1
- package/dist/compositions/SteppedListCard/Step.d.ts.map +1 -1
- package/dist/compositions/SteppedListCard/SteppedListContent.d.ts.map +1 -1
- package/dist/compositions/SteppedListCard/helper.d.ts.map +1 -1
- package/dist/compositions/SteppedListCard/index.d.ts +1 -1
- package/dist/compositions/SteppedListCard/index.d.ts.map +1 -1
- package/dist/helpers/hasHelperText.d.ts +4 -0
- package/dist/helpers/hasHelperText.d.ts.map +1 -0
- package/dist/helpers/hasHelperText.js +12 -0
- package/dist/helpers/isClientSide.d.ts.map +1 -1
- package/dist/helpers/keycode.d.ts.map +1 -1
- package/dist/helpers/legend.d.ts.map +1 -1
- package/dist/helpers/numbers.d.ts.map +1 -1
- package/dist/helpers/recursivelyGetChildrenString.d.ts.map +1 -1
- package/dist/helpers/treeMap.d.ts.map +1 -1
- package/dist/hooks/useIsOverflowing.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/mocks/list.d.ts.map +1 -1
- package/dist/theme/ThemeProvider.d.ts +1 -1
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/utils/normalize.d.ts.map +1 -1
- package/dist/utils/responsive/utilities.d.ts.map +1 -1
- package/package.json +23 -21
- package/dist/components/TextInput/BottomText.d.ts +0 -3
- package/dist/components/TextInput/BottomText.d.ts.map +0 -1
- package/dist/components/TextInput/BottomText.js +0 -29
- package/dist/compositions/Navigation/animations.css.d.ts +0 -7
- package/dist/compositions/Navigation/animations.css.d.ts.map +0 -1
- package/dist/compositions/Navigation/animations.css.ts.vanilla.js +0 -8
- package/dist/compositions/OptionSelector/components/SelectorLabel.d.ts +0 -8
- package/dist/compositions/OptionSelector/components/SelectorLabel.d.ts.map +0 -1
- package/dist/compositions/OptionSelector/components/SelectorLabel.js +0 -23
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/compositions/FAQ/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/compositions/FAQ/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOrD,KAAK,QAAQ,GAAG;IACd,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,GAAG,wEAAyE,QAAQ,4CAsBhG,CAAA"}
|
|
@@ -5,5 +5,5 @@ export type CellProps = {
|
|
|
5
5
|
multiline?: boolean;
|
|
6
6
|
style?: CSSProperties;
|
|
7
7
|
};
|
|
8
|
-
export declare const InfoTableCell: ({ children, title, multiline, style
|
|
8
|
+
export declare const InfoTableCell: ({ children, title, multiline, style }: CellProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=Cell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../src/compositions/InfoTable/components/Cell.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../src/compositions/InfoTable/components/Cell.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,MAAM,MAAM,SAAS,GAAG;IACtB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,SAAS,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,aAAa,0CAAmD,SAAS,4CAgBrF,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ComponentProps } from 'react';
|
|
1
2
|
import { CopyButton } from '../../../components/CopyButton';
|
|
2
3
|
import type { CellProps } from './Cell';
|
|
3
|
-
import type { ComponentProps } from 'react';
|
|
4
4
|
export declare const CellWithCopyButton: ({ copyContent, title, multiline, style, children, buttonSize, copiedText, copyText, onCopy, }: {
|
|
5
5
|
copyContent: string;
|
|
6
6
|
buttonSize?: ComponentProps<typeof CopyButton>['size'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellWithCopyButton.d.ts","sourceRoot":"","sources":["../../../../src/compositions/InfoTable/components/CellWithCopyButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"CellWithCopyButton.d.ts","sourceRoot":"","sources":["../../../../src/compositions/InfoTable/components/CellWithCopyButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAA;AAI3D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAA;AAEvC,eAAO,MAAM,kBAAkB,kGAU5B;IACD,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,CAAC,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAA;CACvD,GAAG,SAAS,GACX,IAAI,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,QAAQ,CAAC,4CAgB9E,CAAA"}
|
|
@@ -4,6 +4,6 @@ type RowProps = {
|
|
|
4
4
|
templateColumns: string;
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
};
|
|
7
|
-
export declare const InfoTableRow: ({ children, templateColumns, style
|
|
7
|
+
export declare const InfoTableRow: ({ children, templateColumns, style }: RowProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=Row.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../src/compositions/InfoTable/components/Row.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Row.d.ts","sourceRoot":"","sources":["../../../../src/compositions/InfoTable/components/Row.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAKrD,KAAK,QAAQ,GAAG;IACd,QAAQ,EAAE,SAAS,CAAA;IACnB,eAAe,EAAE,MAAM,CAAA;IACvB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAED,eAAO,MAAM,YAAY,yCAA0C,QAAQ,4CAiB1E,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.128.0/helpers/objectSpread2.js";
|
|
4
4
|
import { Row, init_Row as init_Row$1 } from "../../../components/Row/index.js";
|
|
5
5
|
import { infoTableStyle, init_styles_css, rowWidth } from "../styles.css.js";
|
|
6
6
|
import { InfoTableContext, init_Context } from "../Context.js";
|
|
@@ -6,29 +6,17 @@ type InfoTableProps = {
|
|
|
6
6
|
'data-testid'?: string;
|
|
7
7
|
style?: CSSProperties;
|
|
8
8
|
};
|
|
9
|
-
export declare const InfoTable: (({ children, width, className, style, 'data-testid': dataTestId
|
|
10
|
-
Row: ({ children, templateColumns, style
|
|
9
|
+
export declare const InfoTable: (({ children, width, className, style, 'data-testid': dataTestId }: InfoTableProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
10
|
+
Row: ({ children, templateColumns, style }: {
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
templateColumns: string;
|
|
13
13
|
style?: CSSProperties;
|
|
14
14
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
Cell: ({ children, title, multiline, style
|
|
15
|
+
Cell: ({ children, title, multiline, style }: import("./components/Cell").CellProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
CellWithCopyButton: ({ copyContent, title, multiline, style, children, buttonSize, copiedText, copyText, onCopy, }: {
|
|
17
17
|
copyContent: string;
|
|
18
|
-
buttonSize?: "
|
|
19
|
-
} & import("./components/Cell").CellProps & Pick<
|
|
20
|
-
size?: 'xsmall' | 'small' | 'medium' | 'large';
|
|
21
|
-
value: string;
|
|
22
|
-
copyText?: string;
|
|
23
|
-
copiedText?: string;
|
|
24
|
-
sentiment?: 'primary' | 'neutral';
|
|
25
|
-
bordered?: boolean;
|
|
26
|
-
className?: string;
|
|
27
|
-
'data-testid'?: string;
|
|
28
|
-
children?: string;
|
|
29
|
-
onCopy?: () => void;
|
|
30
|
-
style?: CSSProperties;
|
|
31
|
-
}, 'copiedText' | 'copyText' | 'onCopy'>) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
buttonSize?: import("react").ComponentProps<typeof import("../..").CopyButton>['size'];
|
|
19
|
+
} & import("./components/Cell").CellProps & Pick<import("react").ComponentProps<typeof import("../..").CopyButton>, 'copiedText' | 'copyText' | 'onCopy'>) => import("react/jsx-runtime").JSX.Element;
|
|
32
20
|
};
|
|
33
21
|
export {};
|
|
34
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/compositions/InfoTable/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/compositions/InfoTable/index.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOrD,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAkBD,eAAO,MAAM,SAAS,sEAZmE,cAAc;;;;;;;;;;;CAgBrG,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/Footer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/Footer.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,eAAe,CAAC,gBAAgB,CAAC,CAAA;IACjD,UAAU,EAAE,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,CAAA;CAC7C,CAAA;AAED,eAAO,MAAM,MAAM,mCAAoC,WAAW,4CAwEjE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/Header.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/Header.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAG9C,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;CAC9B,CAAA;AAED,eAAO,MAAM,MAAM,iDAAmB,WAAW,6CAc/C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationContent.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/NavigationContent.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationContent.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/NavigationContent.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAY9C,eAAO,MAAM,iBAAiB,iGAQ3B,eAAe,4CA+GjB,CAAA"}
|
|
@@ -2,17 +2,20 @@
|
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
3
|
import { Stack, init_Stack } from "../../components/Stack/index.js";
|
|
4
4
|
import { init_constants } from "./constants.js";
|
|
5
|
+
import { init_variables_css, widthNavigationContainer, widthNavigationContainerDuration, widthNavigationContainerExpanded } from "./variables.css.js";
|
|
5
6
|
import { init_NavigationProvider, useNavigation } from "./NavigationProvider.js";
|
|
6
7
|
import { init_styles_css, navigationStyle } from "./styles.css.js";
|
|
7
8
|
import { Footer, init_Footer } from "./Footer.js";
|
|
8
9
|
import { Header, init_Header } from "./Header.js";
|
|
9
|
-
import { init_variables_css, widthNavigationContainer } from "./variables.css.js";
|
|
10
10
|
import { useEffect, useRef } from "react";
|
|
11
11
|
import { cn } from "@ultraviolet/utils";
|
|
12
|
-
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
12
|
+
import { assignInlineVars, setElementVars } from "@vanilla-extract/dynamic";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
|
|
15
15
|
//#region src/compositions/Navigation/NavigationContent.tsx
|
|
16
|
+
function clamp(min, value, max) {
|
|
17
|
+
return Math.min(max, Math.max(min, value));
|
|
18
|
+
}
|
|
16
19
|
var NavigationContent;
|
|
17
20
|
var init_NavigationContent = __esmMin(() => {
|
|
18
21
|
init_Stack();
|
|
@@ -25,7 +28,8 @@ var init_NavigationContent = __esmMin(() => {
|
|
|
25
28
|
NavigationContent = ({ children, logo, onWidthResize, className, "data-testid": dataTestId, id, onToggleExpand }) => {
|
|
26
29
|
const context = useNavigation();
|
|
27
30
|
if (!context) throw new Error("Navigation should be inside NavigationProvider to use it properly.");
|
|
28
|
-
const { setWidth, width, expanded, toggleExpand,
|
|
31
|
+
const { setWidth, width, expanded, toggleExpand, navigationRef, allowNavigationResize, shouldAnimate } = context;
|
|
32
|
+
const clampedWidth = clamp(220, width, 320);
|
|
29
33
|
const sliderRef = useRef(null);
|
|
30
34
|
const contentRef = useRef(null);
|
|
31
35
|
useEffect(() => {
|
|
@@ -36,22 +40,25 @@ var init_NavigationContent = __esmMin(() => {
|
|
|
36
40
|
const mouseMove = (event) => {
|
|
37
41
|
if (prevX !== void 0) {
|
|
38
42
|
var _navRect$width;
|
|
39
|
-
const newWidth = ((_navRect$width = navRect === null || navRect === void 0 ? void 0 : navRect.width) !== null && _navRect$width !== void 0 ? _navRect$width : 0) + (event.clientX - prevX);
|
|
40
|
-
if (navigationRef.current && expanded)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
const newWidth = clamp(220, ((_navRect$width = navRect === null || navRect === void 0 ? void 0 : navRect.width) !== null && _navRect$width !== void 0 ? _navRect$width : 0) + (event.clientX - prevX), 320);
|
|
44
|
+
if (navigationRef.current && expanded) {
|
|
45
|
+
navigationRef.current.style.width = `${newWidth}px`;
|
|
46
|
+
setElementVars(navigationRef.current, { [widthNavigationContainerExpanded]: `${newWidth}px` });
|
|
47
|
+
}
|
|
48
|
+
shouldCollapseOnMouseUp = newWidth <= 220;
|
|
49
|
+
shouldExpandOnMouseUp = !expanded && newWidth >= 64;
|
|
45
50
|
}
|
|
46
51
|
};
|
|
47
52
|
const mousedown = (event) => {
|
|
48
53
|
var _navigationRef$curren;
|
|
49
54
|
prevX = event.clientX;
|
|
50
55
|
navRect = (_navigationRef$curren = navigationRef.current) === null || _navigationRef$curren === void 0 ? void 0 : _navigationRef$curren.getBoundingClientRect();
|
|
56
|
+
if (navigationRef.current) setElementVars(navigationRef.current, { [widthNavigationContainerDuration]: "0" });
|
|
51
57
|
const mouseup = () => {
|
|
52
58
|
if (shouldCollapseOnMouseUp || shouldExpandOnMouseUp) {
|
|
53
59
|
toggleExpand();
|
|
54
60
|
onToggleExpand === null || onToggleExpand === void 0 || onToggleExpand(!expanded);
|
|
61
|
+
if (navigationRef.current) setElementVars(navigationRef.current, { [widthNavigationContainerExpanded]: `${clampedWidth}px` });
|
|
55
62
|
}
|
|
56
63
|
if (navigationRef.current) {
|
|
57
64
|
if (!(shouldCollapseOnMouseUp || shouldExpandOnMouseUp)) {
|
|
@@ -59,6 +66,7 @@ var init_NavigationContent = __esmMin(() => {
|
|
|
59
66
|
setWidth === null || setWidth === void 0 || setWidth(navigationRef.current.offsetWidth);
|
|
60
67
|
}
|
|
61
68
|
if (!expanded) navigationRef.current.style.width = "";
|
|
69
|
+
setElementVars(navigationRef.current, { [widthNavigationContainerDuration]: `${shouldAnimate ? 250 : 0}ms` });
|
|
62
70
|
}
|
|
63
71
|
document.removeEventListener("mousemove", mouseMove);
|
|
64
72
|
window.removeEventListener("mouseup", mouseup);
|
|
@@ -77,23 +85,26 @@ var init_NavigationContent = __esmMin(() => {
|
|
|
77
85
|
onToggleExpand,
|
|
78
86
|
onWidthResize,
|
|
79
87
|
setWidth,
|
|
80
|
-
toggleExpand
|
|
88
|
+
toggleExpand,
|
|
89
|
+
shouldAnimate,
|
|
90
|
+
clampedWidth
|
|
81
91
|
]);
|
|
82
92
|
return /* @__PURE__ */ jsxs("nav", {
|
|
83
93
|
className: cn(className, navigationStyle.navigation),
|
|
84
94
|
"data-testid": dataTestId,
|
|
85
95
|
id,
|
|
86
96
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
87
|
-
className: navigationStyle.container(
|
|
88
|
-
animation: shouldAnimate ? animation : void 0,
|
|
89
|
-
expanded
|
|
90
|
-
}),
|
|
97
|
+
className: navigationStyle.container(),
|
|
91
98
|
ref: navigationRef,
|
|
92
|
-
style: assignInlineVars({
|
|
99
|
+
style: assignInlineVars({
|
|
100
|
+
[widthNavigationContainer]: `${expanded ? clampedWidth : 64}px`,
|
|
101
|
+
[widthNavigationContainerExpanded]: `${clampedWidth}px`,
|
|
102
|
+
[widthNavigationContainerDuration]: `${shouldAnimate ? 250 : 0}ms`
|
|
103
|
+
}),
|
|
93
104
|
children: [logo ? /* @__PURE__ */ jsx(Header, { logo }) : null, /* @__PURE__ */ jsxs("div", {
|
|
94
|
-
className: cn(navigationStyle.contentContainer
|
|
105
|
+
className: cn(navigationStyle.contentContainer),
|
|
95
106
|
children: [/* @__PURE__ */ jsx(Stack, {
|
|
96
|
-
className: navigationStyle.content,
|
|
107
|
+
className: navigationStyle.content({ collapsed: !expanded }),
|
|
97
108
|
gap: .25,
|
|
98
109
|
ref: contentRef,
|
|
99
110
|
children
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Dispatch, ReactNode, RefObject } from 'react';
|
|
1
2
|
import NavigationLocales from './locales/en';
|
|
2
3
|
import type { PinUnPinType } from './types';
|
|
3
|
-
import type { Dispatch, ReactNode, RefObject } from 'react';
|
|
4
4
|
type Item = {
|
|
5
5
|
label: string;
|
|
6
6
|
active?: boolean;
|
|
@@ -11,7 +11,9 @@ type Items = Record<string, Item>;
|
|
|
11
11
|
type AnimationType = 'simple' | 'complex';
|
|
12
12
|
type ContextProps = {
|
|
13
13
|
expanded: boolean;
|
|
14
|
-
toggleExpand: (toggle?: boolean
|
|
14
|
+
toggleExpand: (toggle?: boolean, options?: {
|
|
15
|
+
immediate?: boolean;
|
|
16
|
+
}) => void;
|
|
15
17
|
animation: boolean | 'expand' | 'collapse';
|
|
16
18
|
pinnedFeature?: boolean;
|
|
17
19
|
onClickPinUnpin?: (pinned: string[]) => void;
|
|
@@ -85,10 +87,11 @@ type NavigationProviderProps = {
|
|
|
85
87
|
animation?: boolean;
|
|
86
88
|
/**
|
|
87
89
|
* type of animation
|
|
90
|
+
* @deprecated use the `animation` prop to enable or disable the animation completely. This one has no effect.
|
|
88
91
|
*/
|
|
89
92
|
animationType?: AnimationType;
|
|
90
93
|
showHide?: 'show' | 'hide';
|
|
91
94
|
};
|
|
92
|
-
export declare const NavigationProvider: ({ children, pinnedFeature, initialPinned, initialExpanded, locales, pinLimit, onExpandChange, initialWidth, initialAllowNavigationResize, animation:
|
|
95
|
+
export declare const NavigationProvider: ({ children, pinnedFeature, initialPinned, initialExpanded, locales, pinLimit, onExpandChange, initialWidth, initialAllowNavigationResize, animation: animationEnabled, animationType, showHide, }: NavigationProviderProps) => import("react/jsx-runtime").JSX.Element;
|
|
93
96
|
export {};
|
|
94
97
|
//# sourceMappingURL=NavigationProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationProvider.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/NavigationProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavigationProvider.d.ts","sourceRoot":"","sources":["../../../src/compositions/Navigation/NavigationProvider.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { init_constants } from "./constants.js";
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.128.0/helpers/objectSpread2.js";
|
|
4
|
+
import { ANIMATION_EASING, init_constants } from "./constants.js";
|
|
5
5
|
import en_default, { init_en } from "./locales/en.js";
|
|
6
|
+
import { init_variables_css, widthNavigationContainerDuration } from "./variables.css.js";
|
|
6
7
|
import { createContext, useCallback, useContext, useMemo, useReducer, useRef, useState } from "react";
|
|
8
|
+
import { setElementVars } from "@vanilla-extract/dynamic";
|
|
7
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
import { useFlip, usePrefersReducedMotion } from "@ultraviolet/animations";
|
|
8
11
|
|
|
9
12
|
//#region src/compositions/Navigation/NavigationProvider.tsx
|
|
10
13
|
var NavigationContext, useNavigation, NavigationProvider;
|
|
11
14
|
var init_NavigationProvider = __esmMin(() => {
|
|
12
15
|
init_constants();
|
|
13
16
|
init_en();
|
|
17
|
+
init_variables_css();
|
|
14
18
|
init_objectSpread2();
|
|
15
19
|
NavigationContext = createContext({
|
|
16
20
|
allowNavigationResize: true,
|
|
@@ -29,34 +33,54 @@ var init_NavigationProvider = __esmMin(() => {
|
|
|
29
33
|
setPinnedItems: () => {},
|
|
30
34
|
setWidth: () => {},
|
|
31
35
|
shouldAnimate: true,
|
|
36
|
+
/**
|
|
37
|
+
* This function will trigger the expand/collapse of the navigation and
|
|
38
|
+
* will also trigger the animation
|
|
39
|
+
*/
|
|
32
40
|
toggleExpand: () => {},
|
|
33
41
|
unpinItem: () => [],
|
|
34
42
|
width: 280
|
|
35
43
|
});
|
|
36
44
|
useNavigation = () => useContext(NavigationContext);
|
|
37
|
-
NavigationProvider = ({ children, pinnedFeature = false, initialPinned, initialExpanded = true, locales = en_default, pinLimit = 7, onExpandChange, initialWidth = 280, initialAllowNavigationResize = true, animation:
|
|
45
|
+
NavigationProvider = ({ children, pinnedFeature = false, initialPinned, initialExpanded = true, locales = en_default, pinLimit = 7, onExpandChange, initialWidth = 280, initialAllowNavigationResize = true, animation: animationEnabled = true, animationType, showHide }) => {
|
|
38
46
|
const [expanded, setExpanded] = useState(initialExpanded);
|
|
39
47
|
const [pinnedItems, setPinnedItems] = useState(initialPinned !== null && initialPinned !== void 0 ? initialPinned : []);
|
|
48
|
+
const prefersReducedMotion = usePrefersReducedMotion();
|
|
49
|
+
const shouldAnimate = animationEnabled && !prefersReducedMotion;
|
|
40
50
|
const [animation, setAnimation] = useState(false);
|
|
41
51
|
const [width, setWidth] = useState(initialWidth);
|
|
42
52
|
const [allowNavigationResize, setAllowNavigationResize] = useState(initialAllowNavigationResize);
|
|
43
53
|
const [items, registerItem] = useReducer((oldState, newState) => _objectSpread2(_objectSpread2({}, oldState), newState), {});
|
|
44
54
|
const navigationRef = useRef(null);
|
|
45
|
-
const
|
|
55
|
+
const { prepareAnimation, animate } = useFlip(navigationRef, {
|
|
56
|
+
duration: 250,
|
|
57
|
+
easing: ANIMATION_EASING
|
|
58
|
+
});
|
|
59
|
+
const toggleExpand = useCallback((toggle, options) => {
|
|
46
60
|
if (typeof toggle !== "boolean" && toggle !== void 0) throw new Error("toggleExpand only accepts boolean or undefined as parameter. You most likely did <button onClick={toggleExpand}> instead of <button onClick={() => toggleExpand()}>");
|
|
47
61
|
if (toggle !== void 0 && toggle === expanded) return;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
62
|
+
const isNowExpanded = toggle !== null && toggle !== void 0 ? toggle : !expanded;
|
|
63
|
+
const immediate = options === null || options === void 0 ? void 0 : options.immediate;
|
|
64
|
+
onExpandChange === null || onExpandChange === void 0 || onExpandChange(!isNowExpanded);
|
|
65
|
+
setExpanded(isNowExpanded);
|
|
66
|
+
if (navigationRef.current) {
|
|
67
|
+
navigationRef.current.style.width = "";
|
|
68
|
+
setElementVars(navigationRef.current, { [widthNavigationContainerDuration]: `${shouldAnimate && !immediate ? 250 : 0}ms` });
|
|
69
|
+
}
|
|
70
|
+
if (!shouldAnimate || immediate) return;
|
|
71
|
+
prepareAnimation();
|
|
72
|
+
setAnimation(isNowExpanded ? "expand" : "collapse");
|
|
73
|
+
requestAnimationFrame(() => {
|
|
74
|
+
animate().then(() => {
|
|
75
|
+
if (navigationRef.current) setElementVars(navigationRef.current, { [widthNavigationContainerDuration]: `${shouldAnimate ? 250 : 0}ms` });
|
|
54
76
|
setAnimation(false);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
77
|
+
}).catch(() => {});
|
|
78
|
+
});
|
|
57
79
|
}, [
|
|
58
80
|
expanded,
|
|
59
81
|
onExpandChange,
|
|
82
|
+
prepareAnimation,
|
|
83
|
+
animate,
|
|
60
84
|
shouldAnimate
|
|
61
85
|
]);
|
|
62
86
|
const pinItem = useCallback((item) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ComponentProps, CSSProperties, DragEvent, ElementType, ReactNode } from 'react';
|
|
1
2
|
import type { Badge } from '../../../components/Badge';
|
|
2
3
|
import type { ItemType, PinUnPinType } from '../types';
|
|
3
|
-
import type { ComponentProps, CSSProperties, DragEvent, ElementType, ReactNode } from 'react';
|
|
4
4
|
export type ItemExpandedType = {
|
|
5
5
|
categoryIcon: ReactNode;
|
|
6
6
|
containerTag: ElementType;
|
|
@@ -12,6 +12,7 @@ export type ItemExpandedType = {
|
|
|
12
12
|
shouldShowPinnedButton: boolean;
|
|
13
13
|
children: ReactNode;
|
|
14
14
|
dataTestId?: string;
|
|
15
|
+
dataFlipId?: string | null;
|
|
15
16
|
type: ItemType;
|
|
16
17
|
href?: HTMLAnchorElement['href'];
|
|
17
18
|
rel?: HTMLAnchorElement['rel'];
|
|
@@ -39,6 +40,10 @@ export type ItemMenuType = {
|
|
|
39
40
|
hasActiveChildren: boolean;
|
|
40
41
|
categoryIcon?: ReactNode;
|
|
41
42
|
active?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* @private
|
|
45
|
+
*/
|
|
46
|
+
'data-flip-id'?: string;
|
|
42
47
|
};
|
|
43
48
|
export type ItemMenuItemType = {
|
|
44
49
|
active?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ComponentsTypes.d.ts","sourceRoot":"","sources":["../../../../src/compositions/Navigation/components/ComponentsTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ComponentsTypes.d.ts","sourceRoot":"","sources":["../../../../src/compositions/Navigation/components/ComponentsTypes.ts"],"names":[],"mappings":"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"}
|
|
@@ -5,6 +5,6 @@ type GroupProps = {
|
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
additionalData?: ReactNode;
|
|
7
7
|
};
|
|
8
|
-
export declare const Group: ({ children, label, style, additionalData
|
|
8
|
+
export declare const Group: ({ children, label, style, additionalData }: GroupProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
9
9
|
export {};
|
|
10
10
|
//# sourceMappingURL=Group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../src/compositions/Navigation/components/Group.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../../../../src/compositions/Navigation/components/Group.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMrD,KAAK,UAAU,GAAG;IAChB,QAAQ,EAAE,SAAS,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,aAAa,CAAA;IACrB,cAAc,CAAC,EAAE,SAAS,CAAA;CAC3B,CAAA;AAED,eAAO,MAAM,KAAK,+CAAgD,UAAU,mDAuC3E,CAAA"}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2, init_objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.124.0/helpers/objectSpread2.js";
|
|
4
3
|
import { Stack, init_Stack } from "../../../components/Stack/index.js";
|
|
5
4
|
import { Text, init_Text } from "../../../components/Text/index.js";
|
|
6
5
|
import { init_NavigationProvider, useNavigation } from "../NavigationProvider.js";
|
|
7
6
|
import { init_styles_css, navigationStyle } from "../styles.css.js";
|
|
8
|
-
import { Children } from "react";
|
|
7
|
+
import { Children, useId } from "react";
|
|
9
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
9
|
|
|
11
10
|
//#region src/compositions/Navigation/components/Group.tsx
|
|
@@ -15,30 +14,30 @@ var init_Group = __esmMin(() => {
|
|
|
15
14
|
init_Text();
|
|
16
15
|
init_NavigationProvider();
|
|
17
16
|
init_styles_css();
|
|
18
|
-
init_objectSpread2();
|
|
19
17
|
Group = ({ children, label, style, additionalData }) => {
|
|
20
18
|
const context = useNavigation();
|
|
19
|
+
const id = useId();
|
|
21
20
|
if (!context) throw new Error("Navigation.Group can only be used inside a NavigationProvider.");
|
|
22
|
-
const { expanded, animation
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}) :
|
|
41
|
-
})
|
|
21
|
+
const { expanded, animation } = context;
|
|
22
|
+
if (Children.count(children) > 0) return /* @__PURE__ */ jsxs(Stack, {
|
|
23
|
+
gap: .25,
|
|
24
|
+
direction: "column",
|
|
25
|
+
style,
|
|
26
|
+
"data-flip-id": id,
|
|
27
|
+
className: navigationStyle.groupStack,
|
|
28
|
+
children: [expanded ? /* @__PURE__ */ jsx(Text, {
|
|
29
|
+
as: "span",
|
|
30
|
+
className: navigationStyle.groupText({ animation: animation === "expand" ? "expand" : void 0 }),
|
|
31
|
+
prominence: "weak",
|
|
32
|
+
sentiment: "neutral",
|
|
33
|
+
variant: "bodySmallStrong",
|
|
34
|
+
children: additionalData ? /* @__PURE__ */ jsxs(Stack, {
|
|
35
|
+
direction: "row",
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
justifyContent: "space-between",
|
|
38
|
+
children: [label, additionalData]
|
|
39
|
+
}) : label
|
|
40
|
+
}) : null, children]
|
|
42
41
|
});
|
|
43
42
|
return null;
|
|
44
43
|
};
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
import type { ItemExpandedType } from '../ComponentsTypes';
|
|
2
|
-
export declare const ItemBadge: ({ badgeText,
|
|
3
|
-
animation: boolean;
|
|
4
|
-
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
2
|
+
export declare const ItemBadge: ({ badgeText, disabled, badgeSentiment, }: Pick<ItemExpandedType, 'badgeText' | 'badgeSentiment' | 'disabled'>) => import("react/jsx-runtime").JSX.Element | null;
|
|
5
3
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/Badge.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/Badge.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,eAAO,MAAM,SAAS,6CAInB,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,gBAAgB,GAAG,UAAU,CAAC,mDAW5D,CAAA"}
|
|
@@ -8,7 +8,7 @@ var ItemBadge;
|
|
|
8
8
|
var init_Badge = __esmMin(() => {
|
|
9
9
|
init_Badge$1();
|
|
10
10
|
init_styles_css();
|
|
11
|
-
ItemBadge = ({ badgeText,
|
|
11
|
+
ItemBadge = ({ badgeText, disabled, badgeSentiment }) => badgeText ? /* @__PURE__ */ jsx(Badge, {
|
|
12
12
|
className: navigationStyle.itemBadge,
|
|
13
13
|
disabled,
|
|
14
14
|
prominence: "strong",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Children.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/Children.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Children.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/Children.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAI1D,eAAO,MAAM,YAAY,oDAKtB,IAAI,CAAC,gBAAgB,EAAE,UAAU,GAAG,MAAM,GAAG,UAAU,CAAC,GAAG;IAC5D,gBAAgB,EAAE,OAAO,CAAA;CAC1B,4CA0BA,CAAA"}
|
|
@@ -12,22 +12,20 @@ var init_Children = __esmMin(() => {
|
|
|
12
12
|
init_Expandable();
|
|
13
13
|
init_Stack();
|
|
14
14
|
init_NavigationProvider();
|
|
15
|
-
init_styles_css();
|
|
16
15
|
init_ItemProvider();
|
|
16
|
+
init_styles_css();
|
|
17
17
|
ItemChildren = ({ noExpand, type, children, internalExpanded }) => {
|
|
18
|
-
|
|
19
|
-
if (!context) throw new Error("Navigation.Item can only be used inside a NavigationProvider.");
|
|
20
|
-
const { animation, animationType, shouldAnimate } = context;
|
|
18
|
+
if (!useNavigation()) throw new Error("Navigation.Item can only be used inside a NavigationProvider.");
|
|
21
19
|
return /* @__PURE__ */ jsx(Fragment, { children: noExpand ? /* @__PURE__ */ jsx(ItemProvider, { children: /* @__PURE__ */ jsx(Stack, {
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
gap: .25,
|
|
21
|
+
className: noExpand || type === "pinnedGroup" ? "" : navigationStyle.itemPaddingStack,
|
|
24
22
|
children
|
|
25
23
|
}) }) : /* @__PURE__ */ jsx(ItemProvider, { children: /* @__PURE__ */ jsx(Expandable, {
|
|
26
24
|
animationDuration: 0,
|
|
27
25
|
opened: internalExpanded,
|
|
28
26
|
children: /* @__PURE__ */ jsx(Stack, {
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
gap: .25,
|
|
28
|
+
className: noExpand || type === "pinnedGroup" ? "" : navigationStyle.itemPaddingStack,
|
|
31
29
|
children
|
|
32
30
|
})
|
|
33
31
|
}) }) });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/Content.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/Content.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAI1D,eAAO,MAAM,WAAW,8GAUrB,IAAI,CACL,gBAAgB,EACd,UAAU,GACV,QAAQ,GACR,cAAc,GACd,MAAM,GACN,OAAO,GACP,mBAAmB,GACnB,kBAAkB,GAClB,UAAU,GACV,UAAU,CACb,4CAkEA,CAAA"}
|
|
@@ -14,8 +14,8 @@ var init_Content = __esmMin(() => {
|
|
|
14
14
|
init_Stack();
|
|
15
15
|
init_Text();
|
|
16
16
|
init_NavigationProvider();
|
|
17
|
-
init_styles_css();
|
|
18
17
|
init_ItemProvider();
|
|
18
|
+
init_styles_css();
|
|
19
19
|
ItemContent = ({ disabled, active, categoryIcon, type, label, hasActiveChildren, labelDescription, noExpand, subLabel }) => {
|
|
20
20
|
const context = useNavigation();
|
|
21
21
|
if (!context) throw new Error("Navigation.Item can only be used inside a NavigationProvider.");
|
|
@@ -40,10 +40,11 @@ var init_Content = __esmMin(() => {
|
|
|
40
40
|
sentiment: "neutral",
|
|
41
41
|
size: "small"
|
|
42
42
|
}) : null,
|
|
43
|
-
/* @__PURE__ */ jsxs(Stack, { children: [
|
|
43
|
+
/* @__PURE__ */ jsxs(Stack, { children: [/* @__PURE__ */ jsxs(Text, {
|
|
44
44
|
as: "span",
|
|
45
45
|
className: navigationStyle.itemWrapText({
|
|
46
46
|
disabled,
|
|
47
|
+
animation,
|
|
47
48
|
weak: hasActiveChildren && !noExpand && !disabled && !!active
|
|
48
49
|
}),
|
|
49
50
|
"data-animation": animation,
|
|
@@ -56,10 +57,11 @@ var init_Content = __esmMin(() => {
|
|
|
56
57
|
className: navigationStyle.itemPadded,
|
|
57
58
|
children: labelDescription
|
|
58
59
|
}) : null]
|
|
59
|
-
}), subLabel &&
|
|
60
|
+
}), subLabel && expanded ? /* @__PURE__ */ jsx(Text, {
|
|
60
61
|
as: "span",
|
|
61
62
|
className: navigationStyle.itemWrapText({
|
|
62
63
|
disabled,
|
|
64
|
+
animation,
|
|
63
65
|
weak: hasActiveChildren && !noExpand && !disabled && !!active
|
|
64
66
|
}),
|
|
65
67
|
"data-animation": animation,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ComponentProps, CSSProperties, ElementType, ReactNode } from 'react';
|
|
1
2
|
import type { Badge } from '../../../../components/Badge';
|
|
2
3
|
import type { ItemType, PinUnPinType } from '../../types';
|
|
3
|
-
import type { ComponentProps, CSSProperties, ElementType, ReactNode } from 'react';
|
|
4
4
|
type ItemProps = {
|
|
5
5
|
children?: ReactNode;
|
|
6
6
|
/**
|