@ultraviolet/ui 3.12.3 → 3.13.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/dist/_virtual/_@oxc-project_runtime@0.122.0/helpers/defineProperty.js +19 -0
- package/dist/_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js +32 -0
- package/dist/_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutProperties.js +22 -0
- package/dist/_virtual/_@oxc-project_runtime@0.122.0/helpers/objectWithoutPropertiesLoose.js +17 -0
- package/dist/_virtual/_@oxc-project_runtime@0.122.0/helpers/toPrimitive.js +21 -0
- package/dist/_virtual/_@oxc-project_runtime@0.122.0/helpers/toPropertyKey.js +17 -0
- package/dist/_virtual/_@oxc-project_runtime@0.122.0/helpers/typeof.js +16 -0
- package/dist/components/ActionBar/index.d.ts.map +1 -1
- package/dist/components/ActionBar/index.js +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 +1 -1
- package/dist/components/Alert/type.d.ts.map +1 -1
- package/dist/components/Avatar/constants.d.ts +13 -762
- package/dist/components/Avatar/constants.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/styles.css.js +0 -2
- package/dist/components/Badge/constant.d.ts +8 -8
- package/dist/components/Badge/constant.d.ts.map +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.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.map +1 -1
- package/dist/components/BarChart/index.js +1 -1
- package/dist/components/BarStack/index.d.ts.map +1 -1
- package/dist/components/BarStack/styles.css.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/Bullet/constants.d.ts +6 -6
- package/dist/components/Bullet/constants.d.ts.map +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/constants.d.ts +5 -5
- package/dist/components/Button/constants.d.ts.map +1 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/styles.css.d.ts.map +1 -1
- package/dist/components/Carousel/Item.d.ts +9 -0
- package/dist/components/Carousel/Item.d.ts.map +1 -0
- package/dist/components/Carousel/Item.js +22 -0
- package/dist/components/Carousel/index.d.ts +6 -8
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/Carousel/index.js +4 -11
- 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.map +1 -1
- package/dist/components/Checkbox/index.js +13 -12
- package/dist/components/Checkbox/styles.css.js +0 -4
- package/dist/components/CheckboxGroup/Context.d.ts +9 -0
- package/dist/components/CheckboxGroup/Context.d.ts.map +1 -0
- package/dist/components/CheckboxGroup/Context.js +13 -0
- package/dist/components/CheckboxGroup/SingleCheckbox.d.ts +8 -0
- package/dist/components/CheckboxGroup/SingleCheckbox.d.ts.map +1 -0
- package/dist/components/CheckboxGroup/SingleCheckbox.js +46 -0
- package/dist/components/CheckboxGroup/index.d.ts +25 -9
- package/dist/components/CheckboxGroup/index.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/index.js +7 -32
- package/dist/components/Chip/ChipIcon.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +2 -2
- package/dist/components/CopyButton/index.d.ts.map +1 -1
- package/dist/components/CopyButton/index.js +4 -3
- package/dist/components/DateInput/components/CalendarDaily.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarDaily.js +5 -4
- package/dist/components/DateInput/components/CalendarMonthly.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.js +5 -4
- package/dist/components/DateInput/components/Popup.d.ts.map +1 -1
- package/dist/components/DateInput/helpers.d.ts +6 -2
- package/dist/components/DateInput/helpers.d.ts.map +1 -1
- package/dist/components/DateInput/helpers.js +18 -9
- package/dist/components/DateInput/helpersLocale.d.ts +3 -3
- package/dist/components/DateInput/helpersLocale.d.ts.map +1 -1
- package/dist/components/DateInput/index.d.ts +1 -1
- package/dist/components/DateInput/index.d.ts.map +1 -1
- package/dist/components/DateInput/index.js +2 -2
- package/dist/components/DateInput/styles.css.d.ts.map +1 -1
- package/dist/components/Dialog/components/Button.d.ts.map +1 -1
- package/dist/components/Dialog/components/Buttons.d.ts.map +1 -1
- 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/index.d.ts +150 -38
- 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.map +1 -1
- package/dist/components/Drawer/styles.css.d.ts.map +1 -1
- package/dist/components/EmptyState/index.d.ts.map +1 -1
- package/dist/components/EmptyState/styles.css.d.ts.map +1 -1
- package/dist/components/Expandable/AnimatedExpandable.d.ts +3 -0
- package/dist/components/Expandable/AnimatedExpandable.d.ts.map +1 -0
- package/dist/components/Expandable/AnimatedExpandable.js +95 -0
- package/dist/components/Expandable/NonAnimatedExpandable.d.ts +3 -0
- package/dist/components/Expandable/NonAnimatedExpandable.d.ts.map +1 -0
- package/dist/components/Expandable/NonAnimatedExpandable.js +22 -0
- package/dist/components/Expandable/constant.d.ts +2 -0
- package/dist/components/Expandable/constant.d.ts.map +1 -0
- package/dist/components/Expandable/constant.js +8 -0
- package/dist/components/Expandable/index.d.ts +1 -24
- package/dist/components/Expandable/index.d.ts.map +1 -1
- package/dist/components/Expandable/index.js +8 -94
- package/dist/components/Expandable/types.d.ts +23 -0
- package/dist/components/Expandable/types.d.ts.map +1 -0
- package/dist/components/ExpandableCard/components/Title.d.ts.map +1 -1
- package/dist/components/ExpandableCard/constants.d.ts +1 -1
- package/dist/components/ExpandableCard/constants.d.ts.map +1 -1
- package/dist/components/ExpandableCard/index.d.ts.map +1 -1
- package/dist/components/FileInput/DropzoneContent.d.ts +10 -0
- package/dist/components/FileInput/DropzoneContent.d.ts.map +1 -0
- package/dist/components/FileInput/DropzoneContent.js +30 -0
- package/dist/components/FileInput/FileInputProvider.d.ts +2 -2
- package/dist/components/FileInput/FileInputProvider.d.ts.map +1 -1
- package/dist/components/FileInput/components/Button.d.ts +3 -57
- 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.map +1 -1
- package/dist/components/FileInput/components/List.js +11 -9
- package/dist/components/FileInput/helpers.d.ts +1 -1
- package/dist/components/FileInput/helpers.d.ts.map +1 -1
- package/dist/components/FileInput/index.d.ts +32 -32
- package/dist/components/FileInput/index.d.ts.map +1 -1
- package/dist/components/FileInput/index.js +40 -66
- package/dist/components/FileInput/styles.css.d.ts.map +1 -1
- package/dist/components/GlobalAlert/GlobalAlertLink.d.ts.map +1 -1
- package/dist/components/GlobalAlert/index.d.ts +36 -36
- package/dist/components/InfiniteScroll/index.d.ts.map +1 -1
- package/dist/components/InfiniteScroll/index.js +1 -1
- package/dist/components/Key/constants.d.ts +6 -6
- package/dist/components/Key/constants.d.ts.map +1 -1
- package/dist/components/Key/index.d.ts.map +1 -1
- package/dist/components/Key/styles.css.d.ts.map +1 -1
- package/dist/components/Label/LabelContent.d.ts +3 -0
- package/dist/components/Label/LabelContent.d.ts.map +1 -0
- package/dist/components/Label/LabelContent.js +61 -0
- package/dist/components/Label/index.d.ts +1 -19
- package/dist/components/Label/index.d.ts.map +1 -1
- package/dist/components/Label/index.js +3 -47
- package/dist/components/Label/type.d.ts +19 -0
- package/dist/components/Label/type.d.ts.map +1 -0
- package/dist/components/LineChart/CustomLegend.d.ts.map +1 -1
- package/dist/components/LineChart/CustomLegend.js +4 -9
- package/dist/components/LineChart/LegendCell.d.ts +10 -0
- package/dist/components/LineChart/LegendCell.d.ts.map +1 -0
- package/dist/components/LineChart/LegendCell.js +23 -0
- package/dist/components/LineChart/Tooltip.d.ts.map +1 -1
- package/dist/components/LineChart/helpers.d.ts +6 -6
- package/dist/components/LineChart/helpers.d.ts.map +1 -1
- package/dist/components/LineChart/index.d.ts.map +1 -1
- package/dist/components/LineChart/index.js +1 -1
- package/dist/components/Link/constants.d.ts +4 -4
- package/dist/components/Link/constants.d.ts.map +1 -1
- package/dist/components/Link/styles.css.d.ts.map +1 -1
- package/dist/components/List/Cell.js +1 -1
- package/dist/components/List/ColumnProvider.d.ts.map +1 -1
- package/dist/components/List/ExpandButtonCell.d.ts +10 -0
- package/dist/components/List/ExpandButtonCell.d.ts.map +1 -0
- package/dist/components/List/ExpandButtonCell.js +44 -0
- package/dist/components/List/HeaderCell.d.ts.map +1 -1
- package/dist/components/List/HeaderCell.js +4 -8
- package/dist/components/List/HeaderRow.d.ts.map +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.map +1 -1
- package/dist/components/List/Row.js +21 -50
- package/dist/components/List/SelectBar.d.ts.map +1 -1
- package/dist/components/List/SelectRowCell.d.ts +8 -0
- package/dist/components/List/SelectRowCell.d.ts.map +1 -0
- package/dist/components/List/SelectRowCell.js +49 -0
- package/dist/components/List/SkeletonRows.d.ts.map +1 -1
- package/dist/components/List/SortIcon.d.ts +4 -0
- package/dist/components/List/SortIcon.d.ts.map +1 -0
- package/dist/components/List/SortIcon.js +19 -0
- package/dist/components/List/TableContainer.d.ts +5 -0
- package/dist/components/List/TableContainer.d.ts.map +1 -0
- package/dist/components/List/TableContainer.js +31 -0
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js +4 -16
- package/dist/components/Loader/constants.d.ts +6 -6
- package/dist/components/Loader/constants.d.ts.map +1 -1
- 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 +42 -41
- package/dist/components/Menu/MenuContent.d.ts.map +1 -1
- package/dist/components/Menu/MenuContent.js +28 -22
- package/dist/components/Menu/MenuProvider.d.ts.map +1 -1
- package/dist/components/Menu/components/Group.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.d.ts.map +1 -1
- package/dist/components/Menu/components/Item.js +8 -6
- package/dist/components/Menu/constants.d.ts.map +1 -1
- package/dist/components/Menu/helpers.d.ts.map +1 -1
- package/dist/components/Menu/index.d.ts +51 -51
- package/dist/components/Menu/index.js +2 -2
- package/dist/components/Menu/styles.css.d.ts.map +1 -1
- package/dist/components/Meter/index.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent.js +4 -4
- 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 +14 -12
- package/dist/components/Modal/components/Disclosure.d.ts.map +1 -1
- package/dist/components/Modal/constants.d.ts.map +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.map +1 -1
- package/dist/components/Notification/Notification.d.ts +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 +13 -0
- package/dist/components/NumberInput/components/Controls.d.ts.map +1 -0
- package/dist/components/NumberInput/components/Controls.js +78 -0
- package/dist/components/NumberInput/components/Unit.d.ts +8 -0
- package/dist/components/NumberInput/components/Unit.d.ts.map +1 -0
- package/dist/components/NumberInput/components/Unit.js +28 -0
- package/dist/components/NumberInput/constant.d.ts +3 -3
- package/dist/components/NumberInput/constant.d.ts.map +1 -1
- package/dist/components/NumberInput/index.d.ts +16 -13
- package/dist/components/NumberInput/index.d.ts.map +1 -1
- package/dist/components/NumberInput/index.js +33 -86
- package/dist/components/NumberInput/styles.css.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationButton.d.ts +11 -0
- package/dist/components/Pagination/PaginationButton.d.ts.map +1 -0
- package/dist/components/Pagination/PaginationButton.js +39 -0
- package/dist/components/Pagination/PaginationButtons.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationButtons.js +4 -25
- 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.map +1 -1
- package/dist/components/PieChart/Legends.d.ts.map +1 -1
- package/dist/components/PieChart/Tooltip.d.ts.map +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 +3 -0
- package/dist/components/Popover/ContentWrapper.d.ts.map +1 -0
- package/dist/components/Popover/ContentWrapper.js +49 -0
- package/dist/components/Popover/constant.d.ts.map +1 -1
- package/dist/components/Popover/index.d.ts +40 -45
- package/dist/components/Popover/index.d.ts.map +1 -1
- package/dist/components/Popover/index.js +4 -37
- package/dist/components/Popover/styles.css.d.ts.map +1 -1
- package/dist/components/Popover/types.d.ts +26 -0
- package/dist/components/Popover/types.d.ts.map +1 -0
- 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 +124 -123
- package/dist/components/Popup/index.d.ts.map +1 -1
- package/dist/components/Popup/index.js +3 -2
- package/dist/components/Popup/styles.css.d.ts.map +1 -1
- package/dist/components/Popup/styles.css.js +3 -3
- package/dist/components/ProgressBar/constants.d.ts +1 -1
- package/dist/components/ProgressBar/constants.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.js +63 -60
- package/dist/components/ProgressBar/styles.css.js +0 -2
- package/dist/components/Radio/MarkedIcon.d.ts +2 -0
- package/dist/components/Radio/MarkedIcon.d.ts.map +1 -0
- package/dist/components/Radio/MarkedIcon.js +33 -0
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +3 -21
- package/dist/components/Radio/styles.css.js +3 -3
- package/dist/components/RadioGroup/Context.d.ts +9 -0
- package/dist/components/RadioGroup/Context.d.ts.map +1 -0
- package/dist/components/RadioGroup/Context.js +12 -0
- package/dist/components/RadioGroup/SingleRadio.d.ts +6 -0
- package/dist/components/RadioGroup/SingleRadio.d.ts.map +1 -0
- package/dist/components/RadioGroup/SingleRadio.js +40 -0
- package/dist/components/RadioGroup/index.d.ts +2 -4
- package/dist/components/RadioGroup/index.d.ts.map +1 -1
- package/dist/components/RadioGroup/index.js +6 -28
- package/dist/components/Row/index.d.ts.map +1 -1
- package/dist/components/Row/index.js +1 -1
- package/dist/components/Row/styles.css.js +2 -2
- package/dist/components/SearchInput/KeyGroup.d.ts.map +1 -1
- package/dist/components/SearchInput/index.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInputProvider.d.ts.map +1 -1
- package/dist/components/SelectInput/SelectInputProvider.js +8 -63
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts +12 -0
- package/dist/components/SelectInput/components/Dropdown/AddOption.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/AddOption.js +48 -0
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts +20 -0
- package/dist/components/SelectInput/components/Dropdown/Content.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Content.js +217 -0
- package/dist/components/SelectInput/components/Dropdown/Dropdown.d.ts +26 -0
- package/dist/components/SelectInput/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Dropdown.js +218 -0
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts +5 -0
- package/dist/components/SelectInput/components/Dropdown/Group.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Group.js +79 -0
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts +13 -0
- package/dist/components/SelectInput/components/Dropdown/Item.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Item.js +87 -0
- package/dist/components/SelectInput/components/Dropdown/Option.d.ts +10 -0
- package/dist/components/SelectInput/components/Dropdown/Option.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/Option.js +139 -0
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts +10 -0
- package/dist/components/SelectInput/components/Dropdown/SearchBar.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/SearchBar.js +114 -0
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts +4 -0
- package/dist/components/SelectInput/components/Dropdown/SelectAll.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/SelectAll.js +84 -0
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts +55 -0
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.d.ts.map +1 -0
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.js +42 -0
- package/dist/components/SelectInput/components/Dropdown/dropdown.css.ts.vanilla.js +8 -0
- package/dist/components/SelectInput/components/Dropdown.d.ts.map +1 -1
- package/dist/components/SelectInput/components/DropdownOption.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SearchBarDropdown.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar/SelectBar.d.ts.map +1 -0
- package/dist/components/SelectInput/components/SelectBar/SelectBar.js +205 -0
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts +20 -0
- package/dist/components/SelectInput/components/SelectBar/Values.d.ts.map +1 -0
- package/dist/components/SelectInput/components/SelectBar/Values.js +93 -0
- package/dist/components/SelectInput/components/SelectBar/selectBar.css.d.ts.map +1 -0
- package/dist/components/SelectInput/components/SelectBar/selectBar.css.js +58 -0
- package/dist/components/SelectInput/components/SelectBar/selectBar.css.ts.vanilla.js +8 -0
- package/dist/components/SelectInput/components/helpers.d.ts +24 -0
- package/dist/components/SelectInput/components/helpers.d.ts.map +1 -0
- package/dist/components/SelectInput/components/helpers.js +77 -0
- package/dist/components/SelectInput/components/index.d.ts +3 -0
- package/dist/components/SelectInput/components/index.d.ts.map +1 -0
- package/dist/components/SelectInput/constants.d.ts +3 -3
- package/dist/components/SelectInput/constants.d.ts.map +1 -1
- package/dist/components/SelectInput/findOptionInOptions.d.ts.map +1 -1
- package/dist/components/SelectInput/index.d.ts +1 -1
- package/dist/components/SelectInput/index.d.ts.map +1 -1
- package/dist/components/SelectInput/index.js +2 -2
- package/dist/components/SelectInput/reducerFunctions.d.ts +28 -0
- package/dist/components/SelectInput/reducerFunctions.d.ts.map +1 -0
- package/dist/components/SelectInput/reducerFunctions.js +76 -0
- package/dist/components/SelectInput/styles.css.d.ts +4 -2
- package/dist/components/SelectInput/styles.css.d.ts.map +1 -1
- package/dist/components/SelectInput/styles.css.js +52 -50
- package/dist/components/SelectableCard/IllustrationContainer.d.ts +3 -6
- 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.js +5 -4
- package/dist/components/SelectableCard/styles.css.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/Context.d.ts +11 -0
- package/dist/components/SelectableCardGroup/Context.d.ts.map +1 -0
- package/dist/components/SelectableCardGroup/Context.js +13 -0
- package/dist/components/SelectableCardGroup/SingleCard.d.ts +5 -0
- package/dist/components/SelectableCardGroup/SingleCard.d.ts.map +1 -0
- package/dist/components/SelectableCardGroup/SingleCard.js +42 -0
- package/dist/components/SelectableCardGroup/index.d.ts +2 -4
- package/dist/components/SelectableCardGroup/index.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/index.js +6 -30
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Image.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +1 -1
- package/dist/components/Separator/index.d.ts.map +1 -1
- package/dist/components/Separator/styles.css.d.ts.map +1 -1
- package/dist/components/Skeleton/Block.d.ts +1 -1
- package/dist/components/Skeleton/Block.d.ts.map +1 -1
- package/dist/components/Skeleton/Blocks.d.ts +2 -2
- package/dist/components/Skeleton/Blocks.d.ts.map +1 -1
- package/dist/components/Skeleton/BoxWithIcon.d.ts +2 -2
- package/dist/components/Skeleton/BoxWithIcon.d.ts.map +1 -1
- package/dist/components/Skeleton/List.d.ts +2 -2
- package/dist/components/Skeleton/List.d.ts.map +1 -1
- package/dist/components/Skeleton/List.js +8 -9
- package/dist/components/Skeleton/Slider.d.ts +1 -1
- package/dist/components/Skeleton/Slider.d.ts.map +1 -1
- package/dist/components/Skeleton/index.d.ts +9 -9
- package/dist/components/Skeleton/index.d.ts.map +1 -1
- package/dist/components/Skeleton/index.js +1 -2
- package/dist/components/Slider/components/DoubleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/Options.d.ts.map +1 -1
- package/dist/components/Slider/components/SingleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/SingleSlider.js +1 -1
- package/dist/components/Slider/index.d.ts.map +1 -1
- package/dist/components/Slider/styles.css.d.ts.map +1 -1
- package/dist/components/Snippet/CodeContent.d.ts +14 -0
- package/dist/components/Snippet/CodeContent.d.ts.map +1 -0
- package/dist/components/Snippet/CodeContent.js +36 -0
- package/dist/components/Snippet/index.d.ts +1 -1
- package/dist/components/Snippet/index.d.ts.map +1 -1
- package/dist/components/Snippet/index.js +6 -22
- package/dist/components/Stack/index.d.ts +1 -1
- 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 +2 -2
- package/dist/components/Stack/styles.css.d.ts.map +1 -1
- package/dist/components/Stack/styles.css.js +2 -2
- package/dist/components/Status/constant.d.ts +1 -1
- package/dist/components/Status/constant.d.ts.map +1 -1
- package/dist/components/Status/index.d.ts.map +1 -1
- package/dist/components/StepList/Item.d.ts +17 -0
- package/dist/components/StepList/Item.d.ts.map +1 -0
- package/dist/components/StepList/Item.js +32 -0
- package/dist/components/StepList/index.d.ts +12 -15
- package/dist/components/StepList/index.d.ts.map +1 -1
- package/dist/components/StepList/index.js +4 -19
- package/dist/components/StepList/styles.css.d.ts.map +1 -1
- package/dist/components/Stepper/Bullet.d.ts +7 -0
- package/dist/components/Stepper/Bullet.d.ts.map +1 -0
- package/dist/components/Stepper/Bullet.js +42 -0
- package/dist/components/Stepper/Step.d.ts.map +1 -1
- package/dist/components/Stepper/Step.js +8 -24
- package/dist/components/Stepper/StepperProvider.d.ts.map +1 -1
- package/dist/components/Stepper/index.d.ts +6 -6
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Stepper/styles.css.d.ts.map +1 -1
- package/dist/components/SwitchButton/FocusOverlay.d.ts.map +1 -1
- package/dist/components/SwitchButton/Option.d.ts.map +1 -1
- package/dist/components/SwitchButton/index.d.ts +4 -4
- package/dist/components/Table/Body.d.ts.map +1 -1
- 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/HeaderCell.js +6 -12
- package/dist/components/Table/HeaderRow.d.ts.map +1 -1
- package/dist/components/Table/Row.d.ts.map +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 +4 -0
- package/dist/components/Table/SortIcon.d.ts.map +1 -0
- package/dist/components/Table/SortIcon.js +19 -0
- package/dist/components/Table/TableContainer.d.ts +5 -0
- package/dist/components/Table/TableContainer.d.ts.map +1 -0
- package/dist/components/Table/TableContainer.js +31 -0
- 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 +37 -37
- package/dist/components/Table/index.d.ts.map +1 -1
- package/dist/components/Table/index.js +6 -22
- package/dist/components/Table/styles.css.d.ts.map +1 -1
- package/dist/components/Table/styles.css.js +0 -2
- package/dist/components/Tabs/Tab.js +2 -2
- package/dist/components/Tabs/TabMenu.d.ts +4 -3
- 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.map +1 -1
- package/dist/components/Tabs/TabMenuItem.js +2 -2
- package/dist/components/Tabs/index.d.ts +246 -22
- package/dist/components/Tabs/index.d.ts.map +1 -1
- package/dist/components/Tabs/index.js +2 -2
- package/dist/components/Tag/TagInner.d.ts +5 -0
- package/dist/components/Tag/TagInner.d.ts.map +1 -0
- package/dist/components/Tag/TagInner.js +48 -0
- package/dist/components/Tag/index.d.ts +1 -31
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/index.js +7 -40
- package/dist/components/Tag/styles.css.d.ts +1 -1
- package/dist/components/Tag/styles.css.d.ts.map +1 -1
- package/dist/components/Tag/type.d.ts +31 -0
- package/dist/components/Tag/type.d.ts.map +1 -0
- package/dist/components/TagInput/index.d.ts.map +1 -1
- package/dist/components/TagInput/index.js +1 -1
- package/dist/components/TagInput/styles.css.d.ts +3 -3
- package/dist/components/TagInput/styles.css.d.ts.map +1 -1
- package/dist/components/TagList/constant.d.ts +2 -0
- package/dist/components/TagList/constant.d.ts.map +1 -1
- package/dist/components/TagList/constant.js +3 -2
- 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 +33 -27
- package/dist/components/TagList/styles.css.d.ts.map +1 -1
- package/dist/components/Text/constants.d.ts +4 -4
- package/dist/components/Text/constants.d.ts.map +1 -1
- 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/Text/style.css.js +0 -2
- package/dist/components/TextArea/Icon.d.ts +5 -0
- package/dist/components/TextArea/Icon.d.ts.map +1 -0
- package/dist/components/TextArea/Icon.js +19 -0
- package/dist/components/TextArea/Notice.d.ts +11 -0
- package/dist/components/TextArea/Notice.d.ts.map +1 -0
- package/dist/components/TextArea/Notice.js +41 -0
- package/dist/components/TextArea/constant.d.ts +2 -0
- package/dist/components/TextArea/constant.d.ts.map +1 -0
- package/dist/components/TextArea/constant.js +11 -0
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +29 -48
- package/dist/components/TextArea/styles.css.d.ts.map +1 -1
- package/dist/components/TextInput/BottomText.d.ts +3 -0
- package/dist/components/TextInput/BottomText.d.ts.map +1 -0
- package/dist/components/TextInput/BottomText.js +29 -0
- package/dist/components/TextInput/PrefixSuffix.d.ts +7 -0
- package/dist/components/TextInput/PrefixSuffix.d.ts.map +1 -0
- package/dist/components/TextInput/PrefixSuffix.js +30 -0
- package/dist/components/TextInput/RightIcon.d.ts +10 -0
- package/dist/components/TextInput/RightIcon.d.ts.map +1 -0
- package/dist/components/TextInput/RightIcon.js +62 -0
- package/dist/components/TextInput/ShowHidePassword.d.ts +7 -0
- package/dist/components/TextInput/ShowHidePassword.d.ts.map +1 -0
- package/dist/components/TextInput/ShowHidePassword.js +36 -0
- package/dist/components/TextInput/constants.d.ts +3 -3
- package/dist/components/TextInput/constants.d.ts.map +1 -1
- package/dist/components/TextInput/index.d.ts +21 -22
- package/dist/components/TextInput/index.d.ts.map +1 -1
- package/dist/components/TextInput/index.js +46 -106
- package/dist/components/TextInput/type.d.ts +25 -0
- package/dist/components/TextInput/type.d.ts.map +1 -0
- package/dist/components/TimeInput/RightIcon.d.ts +9 -0
- package/dist/components/TimeInput/RightIcon.d.ts.map +1 -0
- package/dist/components/TimeInput/RightIcon.js +36 -0
- package/dist/components/TimeInput/constants.d.ts +6 -6
- package/dist/components/TimeInput/constants.d.ts.map +1 -1
- package/dist/components/TimeInput/helpers.d.ts +6 -5
- package/dist/components/TimeInput/helpers.d.ts.map +1 -1
- package/dist/components/TimeInput/index.d.ts.map +1 -1
- package/dist/components/TimeInput/index.js +17 -29
- package/dist/components/TimeInput/styles.css.d.ts.map +1 -1
- package/dist/components/Toaster/Toaster.d.ts +3 -3
- 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 +3 -57
- package/dist/components/Toaster/components/Button.d.ts.map +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 +3 -32
- package/dist/components/Toaster/components/Link.d.ts.map +1 -1
- package/dist/components/Toaster/index.d.ts +50 -50
- package/dist/components/Toaster/index.d.ts.map +1 -1
- package/dist/components/Toggle/index.d.ts +8 -8
- package/dist/components/Toggle/index.d.ts.map +1 -1
- package/dist/components/Toggle/styles.css.d.ts.map +1 -1
- package/dist/components/ToggleGroup/Context.d.ts +9 -0
- package/dist/components/ToggleGroup/Context.d.ts.map +1 -0
- package/dist/components/ToggleGroup/Context.js +13 -0
- package/dist/components/ToggleGroup/SingleToggle.d.ts +11 -0
- package/dist/components/ToggleGroup/SingleToggle.d.ts.map +1 -0
- package/dist/components/ToggleGroup/SingleToggle.js +37 -0
- package/dist/components/ToggleGroup/index.d.ts +2 -9
- package/dist/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.js +6 -25
- package/dist/components/Tooltip/index.d.ts +28 -27
- package/dist/components/Tooltip/index.d.ts.map +1 -1
- package/dist/components/TreeMapChart/Tooltip.d.ts.map +1 -1
- package/dist/components/TreeMapChart/index.d.ts.map +1 -1
- package/dist/components/TreeMapChart/index.js +1 -1
- package/dist/components/UnitInput/index.d.ts.map +1 -1
- package/dist/components/VerificationCode/constants.d.ts +8 -8
- package/dist/components/VerificationCode/constants.d.ts.map +1 -1
- package/dist/components/VerificationCode/index.d.ts.map +1 -1
- package/dist/components/VerificationCode/index.js +2 -3
- package/dist/components/index.js +5 -4
- package/dist/components/styles.js +20 -20
- package/dist/composition.d.ts +4 -0
- package/dist/composition.d.ts.map +1 -0
- package/dist/composition.js +124 -0
- package/dist/compositions/CodeEditor/components/CopyButton.d.ts +6 -0
- package/dist/compositions/CodeEditor/components/CopyButton.d.ts.map +1 -0
- package/dist/compositions/CodeEditor/components/CopyButton.js +24 -0
- package/dist/compositions/CodeEditor/components/Expandable.d.ts +8 -0
- package/dist/compositions/CodeEditor/components/Expandable.d.ts.map +1 -0
- package/dist/compositions/CodeEditor/components/Expandable.js +37 -0
- package/dist/compositions/CodeEditor/index.d.ts +6 -0
- package/dist/compositions/CodeEditor/index.d.ts.map +1 -0
- package/dist/compositions/CodeEditor/index.js +112 -0
- package/dist/compositions/CodeEditor/styles.css.d.ts.map +1 -0
- package/dist/compositions/CodeEditor/styles.css.js +38 -0
- package/dist/compositions/CodeEditor/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/CodeEditor/type.d.ts +38 -0
- package/dist/compositions/CodeEditor/type.d.ts.map +1 -0
- package/dist/compositions/ContentCard/Content.d.ts +3 -0
- package/dist/compositions/ContentCard/Content.d.ts.map +1 -0
- package/dist/compositions/ContentCard/Content.js +44 -0
- package/dist/compositions/ContentCard/ImageContent.d.ts +7 -0
- package/dist/compositions/ContentCard/ImageContent.d.ts.map +1 -0
- package/dist/compositions/ContentCard/ImageContent.js +23 -0
- package/dist/compositions/ContentCard/LinkContent.d.ts +5 -0
- package/dist/compositions/ContentCard/LinkContent.d.ts.map +1 -0
- package/dist/compositions/ContentCard/LinkContent.js +30 -0
- package/dist/compositions/ContentCard/Skeleton.d.ts.map +1 -0
- package/dist/compositions/ContentCard/Skeleton.js +40 -0
- package/dist/compositions/ContentCard/index.d.ts.map +1 -0
- package/dist/compositions/ContentCard/index.js +87 -0
- package/dist/compositions/ContentCard/styles.css.d.ts.map +1 -0
- package/dist/compositions/ContentCard/styles.css.js +47 -0
- package/dist/compositions/ContentCard/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/ContentCard/type.d.ts.map +1 -0
- package/dist/compositions/ContentCardGroup/Card.d.ts.map +1 -0
- package/dist/compositions/ContentCardGroup/Card.js +65 -0
- package/dist/compositions/ContentCardGroup/SkeletonCard.d.ts.map +1 -0
- package/dist/compositions/ContentCardGroup/SkeletonCard.js +37 -0
- package/dist/compositions/ContentCardGroup/index.d.ts +21 -0
- package/dist/compositions/ContentCardGroup/index.d.ts.map +1 -0
- package/dist/compositions/ContentCardGroup/index.js +29 -0
- package/dist/compositions/ContentCardGroup/styles.css.d.ts.map +1 -0
- package/dist/compositions/ContentCardGroup/styles.css.js +21 -0
- package/dist/compositions/ContentCardGroup/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/Conversation/components/Date.d.ts +6 -0
- package/dist/compositions/Conversation/components/Date.d.ts.map +1 -0
- package/dist/compositions/Conversation/components/Date.js +23 -0
- package/dist/compositions/Conversation/components/Message.d.ts +11 -0
- package/dist/compositions/Conversation/components/Message.d.ts.map +1 -0
- package/dist/compositions/Conversation/components/Message.js +28 -0
- package/dist/compositions/Conversation/components/MessageInfos.d.ts +7 -0
- package/dist/compositions/Conversation/components/MessageInfos.d.ts.map +1 -0
- package/dist/compositions/Conversation/components/MessageInfos.js +18 -0
- package/dist/compositions/Conversation/components/MessageTag.d.ts +6 -0
- package/dist/compositions/Conversation/components/MessageTag.d.ts.map +1 -0
- package/dist/compositions/Conversation/components/MessageTag.js +20 -0
- package/dist/compositions/Conversation/index.d.ts +35 -0
- package/dist/compositions/Conversation/index.d.ts.map +1 -0
- package/dist/compositions/Conversation/index.js +30 -0
- package/dist/compositions/Conversation/styles.css.d.ts.map +1 -0
- package/dist/compositions/Conversation/styles.css.js +30 -0
- package/dist/compositions/Conversation/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/CustomerSatisfaction/assets/1-5.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/1-5NB.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/2-5.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/2-5NB.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/3-5.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/3-5NB.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/4-5.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/4-5NB.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/5-5.js +11 -0
- package/dist/compositions/CustomerSatisfaction/assets/5-5NB.js +11 -0
- package/dist/compositions/CustomerSatisfaction/index.d.ts.map +1 -0
- package/dist/compositions/CustomerSatisfaction/index.js +106 -0
- package/dist/compositions/CustomerSatisfaction/styles.css.d.ts.map +1 -0
- package/dist/compositions/CustomerSatisfaction/styles.css.js +30 -0
- package/dist/compositions/CustomerSatisfaction/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/EstimateCost/CompactEstimateCost.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/CompactEstimateCost.js +45 -0
- package/dist/compositions/EstimateCost/Components/Children.d.ts +3 -0
- package/dist/compositions/EstimateCost/Components/Children.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Children.js +52 -0
- package/dist/compositions/EstimateCost/Components/CustomUnitInput.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/CustomUnitInput.js +47 -0
- package/dist/compositions/EstimateCost/Components/Description.d.ts +7 -0
- package/dist/compositions/EstimateCost/Components/Description.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Description.js +19 -0
- package/dist/compositions/EstimateCost/Components/Item.d.ts +118 -0
- package/dist/compositions/EstimateCost/Components/Item.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Item.js +179 -0
- package/dist/compositions/EstimateCost/Components/ItemLeftSide.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/ItemLeftSide.js +88 -0
- package/dist/compositions/EstimateCost/Components/ItemPrice.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/ItemPrice.js +61 -0
- package/dist/compositions/EstimateCost/Components/LineThrough.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/LineThrough.js +25 -0
- package/dist/compositions/EstimateCost/Components/NumberInput.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/NumberInput.js +43 -0
- package/dist/compositions/EstimateCost/Components/Region.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Region.js +46 -0
- package/dist/compositions/EstimateCost/Components/Regular.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Regular.js +29 -0
- package/dist/compositions/EstimateCost/Components/Strong.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Strong.js +21 -0
- package/dist/compositions/EstimateCost/Components/Title.d.ts +5 -0
- package/dist/compositions/EstimateCost/Components/Title.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Title.js +23 -0
- package/dist/compositions/EstimateCost/Components/Total.d.ts +3 -0
- package/dist/compositions/EstimateCost/Components/Total.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Total.js +77 -0
- package/dist/compositions/EstimateCost/Components/Unit.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Unit.js +59 -0
- package/dist/compositions/EstimateCost/Components/Zone.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/Zone.js +45 -0
- package/dist/compositions/EstimateCost/Components/components.css.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Components/components.css.js +69 -0
- package/dist/compositions/EstimateCost/Components/components.css.ts.vanilla.js +8 -0
- package/dist/compositions/EstimateCost/Ellipsis.d.ts +7 -0
- package/dist/compositions/EstimateCost/Ellipsis.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Ellipsis.js +37 -0
- package/dist/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/EstimateCostContent.js +219 -0
- package/dist/compositions/EstimateCost/EstimateCostProvider.d.ts +26 -0
- package/dist/compositions/EstimateCost/EstimateCostProvider.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/EstimateCostProvider.js +39 -0
- package/dist/compositions/EstimateCost/Image.d.ts +3 -0
- package/dist/compositions/EstimateCost/Image.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/Image.js +21 -0
- package/dist/compositions/EstimateCost/OverlayComponent.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/OverlayComponent.js +111 -0
- package/dist/compositions/EstimateCost/OverlayContext.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/OverlayContext.js +19 -0
- package/dist/compositions/EstimateCost/constants.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/constants.js +32 -0
- package/dist/compositions/EstimateCost/helper.d.ts +10 -0
- package/dist/compositions/EstimateCost/helper.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/helper.js +16 -0
- package/dist/compositions/EstimateCost/index.d.ts +176 -0
- package/dist/compositions/EstimateCost/index.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/index.js +87 -0
- package/dist/compositions/EstimateCost/locales/en.d.ts +23 -0
- package/dist/compositions/EstimateCost/locales/en.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/locales/en.js +31 -0
- package/dist/compositions/EstimateCost/styles.css.d.ts.map +1 -0
- package/dist/compositions/EstimateCost/styles.css.js +148 -0
- package/dist/compositions/EstimateCost/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/EstimateCost/types.d.ts +226 -0
- package/dist/compositions/EstimateCost/types.d.ts.map +1 -0
- package/dist/compositions/FAQ/index.d.ts.map +1 -0
- package/dist/compositions/FAQ/index.js +48 -0
- package/dist/compositions/FAQ/styles.css.d.ts.map +1 -0
- package/dist/compositions/FAQ/styles.css.js +13 -0
- package/dist/compositions/FAQ/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/InfoTable/Context.d.ts +4 -0
- package/dist/compositions/InfoTable/Context.d.ts.map +1 -0
- package/dist/compositions/InfoTable/Context.js +12 -0
- package/dist/compositions/InfoTable/components/Cell.d.ts.map +1 -0
- package/dist/compositions/InfoTable/components/Cell.js +42 -0
- package/dist/compositions/InfoTable/components/CellWithCopyButton.d.ts +8 -0
- package/dist/compositions/InfoTable/components/CellWithCopyButton.d.ts.map +1 -0
- package/dist/compositions/InfoTable/components/CellWithCopyButton.js +42 -0
- package/dist/compositions/InfoTable/components/Row.d.ts.map +1 -0
- package/dist/compositions/InfoTable/components/Row.js +31 -0
- package/dist/compositions/InfoTable/index.d.ts +34 -0
- package/dist/compositions/InfoTable/index.d.ts.map +1 -0
- package/dist/compositions/InfoTable/index.js +41 -0
- package/dist/compositions/InfoTable/styles.css.d.ts +11 -0
- package/dist/compositions/InfoTable/styles.css.d.ts.map +1 -0
- package/dist/compositions/InfoTable/styles.css.js +22 -0
- package/dist/compositions/InfoTable/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/Navigation/Footer.d.ts.map +1 -0
- package/dist/compositions/Navigation/Footer.js +73 -0
- package/dist/compositions/Navigation/Header.d.ts.map +1 -0
- package/dist/compositions/Navigation/Header.js +31 -0
- package/dist/compositions/Navigation/NavigationContent.d.ts.map +1 -0
- package/dist/compositions/Navigation/NavigationContent.js +116 -0
- package/dist/compositions/Navigation/NavigationProvider.d.ts.map +1 -0
- package/dist/compositions/Navigation/NavigationProvider.js +129 -0
- package/dist/compositions/Navigation/animations.css.d.ts.map +1 -0
- package/dist/compositions/Navigation/animations.css.ts.vanilla.js +8 -0
- package/dist/compositions/Navigation/components/ComponentsTypes.d.ts +65 -0
- package/dist/compositions/Navigation/components/ComponentsTypes.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Group.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Group.js +49 -0
- package/dist/compositions/Navigation/components/Item/Badge.d.ts +5 -0
- package/dist/compositions/Navigation/components/Item/Badge.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Item/Badge.js +23 -0
- package/dist/compositions/Navigation/components/Item/Children.d.ts +5 -0
- package/dist/compositions/Navigation/components/Item/Children.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Item/Children.js +39 -0
- package/dist/compositions/Navigation/components/Item/Content.d.ts +3 -0
- package/dist/compositions/Navigation/components/Item/Content.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Item/Content.js +80 -0
- package/dist/compositions/Navigation/components/Item/Item.d.ts +88 -0
- package/dist/compositions/Navigation/components/Item/Item.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Item/Item.js +238 -0
- package/dist/compositions/Navigation/components/Item/ItemExpanded.d.ts +3 -0
- package/dist/compositions/Navigation/components/Item/ItemExpanded.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Item/ItemExpanded.js +149 -0
- package/dist/compositions/Navigation/components/Item/ItemProvider.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Item/ItemProvider.js +21 -0
- package/dist/compositions/Navigation/components/Item/PinnedButton.d.ts +3 -0
- package/dist/compositions/Navigation/components/Item/PinnedButton.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Item/PinnedButton.js +61 -0
- package/dist/compositions/Navigation/components/Menu/Menu.d.ts +3 -0
- package/dist/compositions/Navigation/components/Menu/Menu.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Menu/Menu.js +73 -0
- package/dist/compositions/Navigation/components/Menu/MenuItem.d.ts +3 -0
- package/dist/compositions/Navigation/components/Menu/MenuItem.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Menu/MenuItem.js +99 -0
- package/dist/compositions/Navigation/components/Menu/NestedMenu.d.ts +3 -0
- package/dist/compositions/Navigation/components/Menu/NestedMenu.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Menu/NestedMenu.js +51 -0
- package/dist/compositions/Navigation/components/PinnedItems.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/PinnedItems.js +114 -0
- package/dist/compositions/Navigation/components/Separator.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/Separator.js +17 -0
- package/dist/compositions/Navigation/components/ShowHide.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/ShowHide.js +62 -0
- package/dist/compositions/Navigation/components/items.css.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/items.css.ts.vanilla.js +8 -0
- package/dist/compositions/Navigation/components/styles.css.d.ts.map +1 -0
- package/dist/compositions/Navigation/components/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/Navigation/constants.d.ts.map +1 -0
- package/dist/compositions/Navigation/constants.js +8 -0
- package/dist/compositions/Navigation/index.d.ts +65 -0
- package/dist/compositions/Navigation/index.d.ts.map +1 -0
- package/dist/compositions/Navigation/index.js +41 -0
- package/dist/compositions/Navigation/locales/en.d.ts +11 -0
- package/dist/compositions/Navigation/locales/en.d.ts.map +1 -0
- package/dist/compositions/Navigation/locales/en.js +19 -0
- package/dist/compositions/Navigation/styles.css.d.ts.map +1 -0
- package/dist/compositions/Navigation/styles.css.js +193 -0
- package/dist/compositions/Navigation/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/Navigation/types.d.ts.map +1 -0
- package/dist/compositions/Navigation/variables.css.d.ts.map +1 -0
- package/dist/compositions/Navigation/variables.css.js +11 -0
- package/dist/compositions/Navigation/variables.css.ts.vanilla.js +8 -0
- package/dist/compositions/OfferList/OfferListProvider.d.ts.map +1 -0
- package/dist/compositions/OfferList/OfferListProvider.js +47 -0
- package/dist/compositions/OfferList/components/Banner.d.ts +13 -0
- package/dist/compositions/OfferList/components/Banner.d.ts.map +1 -0
- package/dist/compositions/OfferList/components/Banner.js +49 -0
- package/dist/compositions/OfferList/components/Cell.d.ts +4 -0
- package/dist/compositions/OfferList/components/Cell.d.ts.map +1 -0
- package/dist/compositions/OfferList/components/Cell.js +41 -0
- package/dist/compositions/OfferList/components/OfferListRowProvider.d.ts.map +1 -0
- package/dist/compositions/OfferList/components/OfferListRowProvider.js +16 -0
- package/dist/compositions/OfferList/components/Row.d.ts +19 -0
- package/dist/compositions/OfferList/components/Row.d.ts.map +1 -0
- package/dist/compositions/OfferList/components/Row.js +162 -0
- package/dist/compositions/OfferList/components/SelectableCell.d.ts +22 -0
- package/dist/compositions/OfferList/components/SelectableCell.d.ts.map +1 -0
- package/dist/compositions/OfferList/components/SelectableCell.js +71 -0
- package/dist/compositions/OfferList/index.d.ts +74 -0
- package/dist/compositions/OfferList/index.d.ts.map +1 -0
- package/dist/compositions/OfferList/index.js +62 -0
- package/dist/compositions/OfferList/styles.css.d.ts.map +1 -0
- package/dist/compositions/OfferList/styles.css.js +133 -0
- package/dist/compositions/OfferList/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/OptionSelector/__mock__/resources.d.ts.map +1 -0
- package/dist/compositions/OptionSelector/components/ArrowIcon.d.ts +5 -0
- package/dist/compositions/OptionSelector/components/ArrowIcon.d.ts.map +1 -0
- package/dist/compositions/OptionSelector/components/ArrowIcon.js +26 -0
- package/dist/compositions/OptionSelector/components/IconWithContent.d.ts.map +1 -0
- package/dist/compositions/OptionSelector/components/IconWithContent.js +19 -0
- package/dist/compositions/OptionSelector/components/RevealOnHover.d.ts.map +1 -0
- package/dist/compositions/OptionSelector/components/RevealOnHover.js +22 -0
- package/dist/compositions/OptionSelector/components/Selector.d.ts +10 -0
- package/dist/compositions/OptionSelector/components/Selector.d.ts.map +1 -0
- package/dist/compositions/OptionSelector/components/Selector.js +39 -0
- package/dist/compositions/OptionSelector/components/SelectorLabel.d.ts +8 -0
- package/dist/compositions/OptionSelector/components/SelectorLabel.d.ts.map +1 -0
- package/dist/compositions/OptionSelector/components/SelectorLabel.js +23 -0
- package/dist/compositions/OptionSelector/index.d.ts.map +1 -0
- package/dist/compositions/OptionSelector/index.js +166 -0
- package/dist/compositions/OptionSelector/styles.css.d.ts.map +1 -0
- package/dist/compositions/OptionSelector/styles.css.js +219 -0
- package/dist/compositions/OptionSelector/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/OptionSelector/types.d.ts +42 -0
- package/dist/compositions/OptionSelector/types.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/NonScrollableContent.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/NonScrollableContent.js +119 -0
- package/dist/compositions/OrderSummary/Provider.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/Provider.js +26 -0
- package/dist/compositions/OrderSummary/ScrollableContent.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/ScrollableContent.js +43 -0
- package/dist/compositions/OrderSummary/components/Category.d.ts +5 -0
- package/dist/compositions/OrderSummary/components/Category.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/components/Category.js +125 -0
- package/dist/compositions/OrderSummary/components/SubCategory.d.ts +5 -0
- package/dist/compositions/OrderSummary/components/SubCategory.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/components/SubCategory.js +104 -0
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.d.ts +5 -0
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/components/SubCategoryPrice.js +50 -0
- package/dist/compositions/OrderSummary/constants.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/constants.js +24 -0
- package/dist/compositions/OrderSummary/helpers.d.ts +36 -0
- package/dist/compositions/OrderSummary/helpers.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/helpers.js +155 -0
- package/dist/compositions/OrderSummary/index.d.ts +7 -0
- package/dist/compositions/OrderSummary/index.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/index.js +149 -0
- package/dist/compositions/OrderSummary/locales/en.d.ts +11 -0
- package/dist/compositions/OrderSummary/locales/en.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/locales/en.js +19 -0
- package/dist/compositions/OrderSummary/styles.css.d.ts.map +1 -0
- package/dist/compositions/OrderSummary/styles.css.js +40 -0
- package/dist/compositions/OrderSummary/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/OrderSummary/types.d.ts +127 -0
- package/dist/compositions/OrderSummary/types.d.ts.map +1 -0
- package/dist/compositions/Plans/FeatureHint.d.ts.map +1 -0
- package/dist/compositions/Plans/FeatureHint.js +50 -0
- package/dist/compositions/Plans/PlanHeader.d.ts.map +1 -0
- package/dist/compositions/Plans/PlanHeader.js +113 -0
- package/dist/compositions/Plans/index.d.ts +25 -0
- package/dist/compositions/Plans/index.d.ts.map +1 -0
- package/dist/compositions/Plans/index.js +188 -0
- package/dist/compositions/Plans/locales/en.d.ts.map +1 -0
- package/dist/compositions/Plans/locales/en.js +15 -0
- package/dist/compositions/Plans/styles.css.d.ts.map +1 -0
- package/dist/compositions/Plans/styles.css.js +47 -0
- package/dist/compositions/Plans/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/Plans/types.d.ts +38 -0
- package/dist/compositions/Plans/types.d.ts.map +1 -0
- package/dist/compositions/SteppedListCard/Step.d.ts.map +1 -0
- package/dist/compositions/SteppedListCard/Step.js +55 -0
- package/dist/compositions/SteppedListCard/SteppedListContent.d.ts.map +1 -0
- package/dist/compositions/SteppedListCard/SteppedListContent.js +64 -0
- package/dist/compositions/SteppedListCard/helper.d.ts.map +1 -0
- package/dist/compositions/SteppedListCard/helper.js +33 -0
- package/dist/compositions/SteppedListCard/index.d.ts +65 -0
- package/dist/compositions/SteppedListCard/index.d.ts.map +1 -0
- package/dist/compositions/SteppedListCard/index.js +106 -0
- package/dist/compositions/SteppedListCard/styles.css.d.ts.map +1 -0
- package/dist/compositions/SteppedListCard/styles.css.js +24 -0
- package/dist/compositions/SteppedListCard/styles.css.ts.vanilla.js +8 -0
- package/dist/compositions/index.d.ts.map +1 -0
- package/dist/compositions/index.js +39 -0
- package/dist/compositions/styles.d.ts.map +1 -0
- package/dist/compositions/styles.js +37 -0
- package/dist/helpers/legend.d.ts +2 -751
- package/dist/helpers/legend.d.ts.map +1 -1
- package/dist/helpers/nivoTheme.d.ts +2 -751
- package/dist/helpers/nivoTheme.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 +4 -751
- package/dist/helpers/treeMap.d.ts.map +1 -1
- package/dist/hooks/useIsOverflowing.d.ts +1 -1
- package/dist/hooks/useIsOverflowing.d.ts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -9
- package/dist/mocks/list.d.ts +2 -2
- package/dist/mocks/list.d.ts.map +1 -1
- package/dist/theme/ThemeProvider.d.ts +15 -15
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/index.d.ts +14 -1514
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/utils/responsive/utilities.d.ts +3 -2
- package/dist/utils/responsive/utilities.d.ts.map +1 -1
- package/package.json +20 -14
- package/dist/_virtual/_@oxc-project_runtime@0.120.0/helpers/defineProperty.js +0 -19
- package/dist/_virtual/_@oxc-project_runtime@0.120.0/helpers/objectSpread2.js +0 -32
- package/dist/_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutProperties.js +0 -22
- package/dist/_virtual/_@oxc-project_runtime@0.120.0/helpers/objectWithoutPropertiesLoose.js +0 -17
- package/dist/_virtual/_@oxc-project_runtime@0.120.0/helpers/toPrimitive.js +0 -21
- package/dist/_virtual/_@oxc-project_runtime@0.120.0/helpers/toPropertyKey.js +0 -17
- package/dist/_virtual/_@oxc-project_runtime@0.120.0/helpers/typeof.js +0 -16
- package/dist/components/SelectInput/components/Dropdown.js +0 -741
- package/dist/components/SelectInput/components/DropdownOption.js +0 -163
- package/dist/components/SelectInput/components/SearchBarDropdown.js +0 -118
- package/dist/components/SelectInput/components/SelectBar.d.ts.map +0 -1
- package/dist/components/SelectInput/components/SelectBar.js +0 -306
- package/dist/components/SelectInput/components/dropdown.css.d.ts +0 -53
- package/dist/components/SelectInput/components/dropdown.css.d.ts.map +0 -1
- package/dist/components/SelectInput/components/dropdown.css.js +0 -40
- package/dist/components/SelectInput/components/dropdown.css.ts.vanilla.js +0 -8
- package/dist/components/SelectInput/components/selectBar.css.d.ts.map +0 -1
- package/dist/components/SelectInput/components/selectBar.css.js +0 -58
- package/dist/components/SelectInput/components/selectBar.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/CodeEditor/index.d.ts +0 -40
- package/dist/components/compositions/CodeEditor/index.d.ts.map +0 -1
- package/dist/components/compositions/CodeEditor/index.js +0 -139
- package/dist/components/compositions/CodeEditor/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/CodeEditor/styles.css.js +0 -38
- package/dist/components/compositions/CodeEditor/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/ContentCard/Content.d.ts +0 -13
- package/dist/components/compositions/ContentCard/Content.d.ts.map +0 -1
- package/dist/components/compositions/ContentCard/Content.js +0 -72
- package/dist/components/compositions/ContentCard/Skeleton.d.ts.map +0 -1
- package/dist/components/compositions/ContentCard/Skeleton.js +0 -40
- package/dist/components/compositions/ContentCard/index.d.ts.map +0 -1
- package/dist/components/compositions/ContentCard/index.js +0 -83
- package/dist/components/compositions/ContentCard/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/ContentCard/styles.css.js +0 -47
- package/dist/components/compositions/ContentCard/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/ContentCard/type.d.ts.map +0 -1
- package/dist/components/compositions/ContentCardGroup/Card.d.ts.map +0 -1
- package/dist/components/compositions/ContentCardGroup/Card.js +0 -65
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.d.ts.map +0 -1
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.js +0 -37
- package/dist/components/compositions/ContentCardGroup/index.d.ts +0 -21
- package/dist/components/compositions/ContentCardGroup/index.d.ts.map +0 -1
- package/dist/components/compositions/ContentCardGroup/index.js +0 -29
- package/dist/components/compositions/ContentCardGroup/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/ContentCardGroup/styles.css.js +0 -21
- package/dist/components/compositions/ContentCardGroup/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/Conversation/index.d.ts +0 -50
- package/dist/components/compositions/Conversation/index.d.ts.map +0 -1
- package/dist/components/compositions/Conversation/index.js +0 -61
- package/dist/components/compositions/Conversation/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/Conversation/styles.css.js +0 -30
- package/dist/components/compositions/Conversation/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/CustomerSatisfaction/assets/1-5.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/1-5NB.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/2-5.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/2-5NB.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/3-5.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/3-5NB.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/4-5.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/4-5NB.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/5-5.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/assets/5-5NB.js +0 -11
- package/dist/components/compositions/CustomerSatisfaction/index.d.ts.map +0 -1
- package/dist/components/compositions/CustomerSatisfaction/index.js +0 -106
- package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/CustomerSatisfaction/styles.css.js +0 -30
- package/dist/components/compositions/CustomerSatisfaction/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.js +0 -45
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts +0 -12
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.js +0 -125
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.js +0 -47
- package/dist/components/compositions/EstimateCost/Components/Item.d.ts +0 -118
- package/dist/components/compositions/EstimateCost/Components/Item.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/Item.js +0 -179
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.js +0 -88
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.js +0 -61
- package/dist/components/compositions/EstimateCost/Components/LineThrough.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/LineThrough.js +0 -25
- package/dist/components/compositions/EstimateCost/Components/NumberInput.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/NumberInput.js +0 -43
- package/dist/components/compositions/EstimateCost/Components/Region.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/Region.js +0 -46
- package/dist/components/compositions/EstimateCost/Components/Regular.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/Regular.js +0 -29
- package/dist/components/compositions/EstimateCost/Components/Strong.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/Strong.js +0 -21
- package/dist/components/compositions/EstimateCost/Components/Unit.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/Unit.js +0 -59
- package/dist/components/compositions/EstimateCost/Components/Zone.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/Zone.js +0 -45
- package/dist/components/compositions/EstimateCost/Components/components.css.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/Components/components.css.js +0 -70
- package/dist/components/compositions/EstimateCost/Components/components.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/EstimateCostContent.js +0 -215
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.d.ts +0 -26
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.js +0 -39
- package/dist/components/compositions/EstimateCost/OverlayComponent.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/OverlayComponent.js +0 -111
- package/dist/components/compositions/EstimateCost/OverlayContext.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/OverlayContext.js +0 -19
- package/dist/components/compositions/EstimateCost/constants.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/constants.js +0 -32
- package/dist/components/compositions/EstimateCost/helper.d.ts +0 -10
- package/dist/components/compositions/EstimateCost/helper.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/helper.js +0 -16
- package/dist/components/compositions/EstimateCost/index.d.ts +0 -177
- package/dist/components/compositions/EstimateCost/index.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/index.js +0 -117
- package/dist/components/compositions/EstimateCost/locales/en.d.ts +0 -23
- package/dist/components/compositions/EstimateCost/locales/en.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/locales/en.js +0 -31
- package/dist/components/compositions/EstimateCost/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/EstimateCost/styles.css.js +0 -148
- package/dist/components/compositions/EstimateCost/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/EstimateCost/types.d.ts +0 -226
- package/dist/components/compositions/EstimateCost/types.d.ts.map +0 -1
- package/dist/components/compositions/FAQ/index.d.ts.map +0 -1
- package/dist/components/compositions/FAQ/index.js +0 -48
- package/dist/components/compositions/FAQ/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/FAQ/styles.css.js +0 -13
- package/dist/components/compositions/FAQ/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/InfoTable/Context.d.ts +0 -4
- package/dist/components/compositions/InfoTable/Context.d.ts.map +0 -1
- package/dist/components/compositions/InfoTable/Context.js +0 -12
- package/dist/components/compositions/InfoTable/components/Cell.d.ts.map +0 -1
- package/dist/components/compositions/InfoTable/components/Cell.js +0 -41
- package/dist/components/compositions/InfoTable/components/CellWithCopyButton.d.ts +0 -18
- package/dist/components/compositions/InfoTable/components/CellWithCopyButton.d.ts.map +0 -1
- package/dist/components/compositions/InfoTable/components/CellWithCopyButton.js +0 -42
- package/dist/components/compositions/InfoTable/components/Row.d.ts.map +0 -1
- package/dist/components/compositions/InfoTable/components/Row.js +0 -31
- package/dist/components/compositions/InfoTable/index.d.ts +0 -34
- package/dist/components/compositions/InfoTable/index.d.ts.map +0 -1
- package/dist/components/compositions/InfoTable/index.js +0 -41
- package/dist/components/compositions/InfoTable/styles.css.d.ts +0 -10
- package/dist/components/compositions/InfoTable/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/InfoTable/styles.css.js +0 -23
- package/dist/components/compositions/InfoTable/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/Navigation/Footer.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/Footer.js +0 -73
- package/dist/components/compositions/Navigation/Header.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/Header.js +0 -31
- package/dist/components/compositions/Navigation/NavigationContent.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/NavigationContent.js +0 -116
- package/dist/components/compositions/Navigation/NavigationProvider.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/NavigationProvider.js +0 -129
- package/dist/components/compositions/Navigation/animations.css.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/animations.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/Navigation/components/ComponentsTypes.d.ts +0 -65
- package/dist/components/compositions/Navigation/components/ComponentsTypes.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/Group.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/Group.js +0 -49
- package/dist/components/compositions/Navigation/components/Item.d.ts +0 -88
- package/dist/components/compositions/Navigation/components/Item.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/Item.js +0 -211
- package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts +0 -3
- package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ItemExpanded.js +0 -225
- package/dist/components/compositions/Navigation/components/ItemFragments.d.ts +0 -6
- package/dist/components/compositions/Navigation/components/ItemFragments.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ItemFragments.js +0 -71
- package/dist/components/compositions/Navigation/components/ItemMenu.d.ts +0 -4
- package/dist/components/compositions/Navigation/components/ItemMenu.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ItemMenu.js +0 -148
- package/dist/components/compositions/Navigation/components/ItemProvider.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ItemProvider.js +0 -21
- package/dist/components/compositions/Navigation/components/PinnedItems.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/PinnedItems.js +0 -114
- package/dist/components/compositions/Navigation/components/Separator.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/Separator.js +0 -17
- package/dist/components/compositions/Navigation/components/ShowHide.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/ShowHide.js +0 -62
- package/dist/components/compositions/Navigation/components/items.css.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/items.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/Navigation/components/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/components/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/Navigation/constants.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/constants.js +0 -8
- package/dist/components/compositions/Navigation/index.d.ts +0 -65
- package/dist/components/compositions/Navigation/index.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/index.js +0 -41
- package/dist/components/compositions/Navigation/locales/en.d.ts +0 -11
- package/dist/components/compositions/Navigation/locales/en.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/locales/en.js +0 -19
- package/dist/components/compositions/Navigation/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/styles.css.js +0 -193
- package/dist/components/compositions/Navigation/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/Navigation/types.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/variables.css.d.ts.map +0 -1
- package/dist/components/compositions/Navigation/variables.css.js +0 -11
- package/dist/components/compositions/Navigation/variables.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/OfferList/OfferListProvider.d.ts.map +0 -1
- package/dist/components/compositions/OfferList/OfferListProvider.js +0 -47
- package/dist/components/compositions/OfferList/components/Banner.d.ts +0 -13
- package/dist/components/compositions/OfferList/components/Banner.d.ts.map +0 -1
- package/dist/components/compositions/OfferList/components/Banner.js +0 -49
- package/dist/components/compositions/OfferList/components/Cell.d.ts +0 -8
- package/dist/components/compositions/OfferList/components/Cell.d.ts.map +0 -1
- package/dist/components/compositions/OfferList/components/Cell.js +0 -41
- package/dist/components/compositions/OfferList/components/OfferListRowProvider.d.ts.map +0 -1
- package/dist/components/compositions/OfferList/components/OfferListRowProvider.js +0 -16
- package/dist/components/compositions/OfferList/components/Row.d.ts +0 -19
- package/dist/components/compositions/OfferList/components/Row.d.ts.map +0 -1
- package/dist/components/compositions/OfferList/components/Row.js +0 -196
- package/dist/components/compositions/OfferList/index.d.ts +0 -60
- package/dist/components/compositions/OfferList/index.d.ts.map +0 -1
- package/dist/components/compositions/OfferList/index.js +0 -62
- package/dist/components/compositions/OfferList/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/OfferList/styles.css.js +0 -133
- package/dist/components/compositions/OfferList/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/OptionSelector/__mock__/resources.d.ts.map +0 -1
- package/dist/components/compositions/OptionSelector/components/ArrowIcon.d.ts +0 -5
- package/dist/components/compositions/OptionSelector/components/ArrowIcon.d.ts.map +0 -1
- package/dist/components/compositions/OptionSelector/components/ArrowIcon.js +0 -26
- package/dist/components/compositions/OptionSelector/components/IconWithContent.d.ts.map +0 -1
- package/dist/components/compositions/OptionSelector/components/IconWithContent.js +0 -19
- package/dist/components/compositions/OptionSelector/components/RevealOnHover.d.ts.map +0 -1
- package/dist/components/compositions/OptionSelector/components/RevealOnHover.js +0 -22
- package/dist/components/compositions/OptionSelector/components/Selector.d.ts +0 -10
- package/dist/components/compositions/OptionSelector/components/Selector.d.ts.map +0 -1
- package/dist/components/compositions/OptionSelector/components/Selector.js +0 -39
- package/dist/components/compositions/OptionSelector/components/SelectorLabel.d.ts +0 -8
- package/dist/components/compositions/OptionSelector/components/SelectorLabel.d.ts.map +0 -1
- package/dist/components/compositions/OptionSelector/components/SelectorLabel.js +0 -23
- package/dist/components/compositions/OptionSelector/index.d.ts.map +0 -1
- package/dist/components/compositions/OptionSelector/index.js +0 -166
- package/dist/components/compositions/OptionSelector/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/OptionSelector/styles.css.js +0 -43
- package/dist/components/compositions/OptionSelector/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/OptionSelector/types.d.ts +0 -42
- package/dist/components/compositions/OptionSelector/types.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/NonScrollableContent.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/NonScrollableContent.js +0 -119
- package/dist/components/compositions/OrderSummary/Provider.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/Provider.js +0 -26
- package/dist/components/compositions/OrderSummary/ScrollableContent.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/ScrollableContent.js +0 -258
- package/dist/components/compositions/OrderSummary/constants.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/constants.js +0 -24
- package/dist/components/compositions/OrderSummary/helpers.d.ts +0 -36
- package/dist/components/compositions/OrderSummary/helpers.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/helpers.js +0 -155
- package/dist/components/compositions/OrderSummary/index.d.ts +0 -3
- package/dist/components/compositions/OrderSummary/index.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/index.js +0 -149
- package/dist/components/compositions/OrderSummary/locales/en.d.ts +0 -11
- package/dist/components/compositions/OrderSummary/locales/en.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/locales/en.js +0 -19
- package/dist/components/compositions/OrderSummary/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/OrderSummary/styles.css.js +0 -40
- package/dist/components/compositions/OrderSummary/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/OrderSummary/types.d.ts +0 -127
- package/dist/components/compositions/OrderSummary/types.d.ts.map +0 -1
- package/dist/components/compositions/Plans/FeatureHint.d.ts.map +0 -1
- package/dist/components/compositions/Plans/FeatureHint.js +0 -50
- package/dist/components/compositions/Plans/PlanHeader.d.ts.map +0 -1
- package/dist/components/compositions/Plans/PlanHeader.js +0 -113
- package/dist/components/compositions/Plans/index.d.ts +0 -22
- package/dist/components/compositions/Plans/index.d.ts.map +0 -1
- package/dist/components/compositions/Plans/index.js +0 -188
- package/dist/components/compositions/Plans/locales/en.d.ts.map +0 -1
- package/dist/components/compositions/Plans/locales/en.js +0 -15
- package/dist/components/compositions/Plans/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/Plans/styles.css.js +0 -47
- package/dist/components/compositions/Plans/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/Plans/types.d.ts +0 -38
- package/dist/components/compositions/Plans/types.d.ts.map +0 -1
- package/dist/components/compositions/SteppedListCard/Step.d.ts.map +0 -1
- package/dist/components/compositions/SteppedListCard/Step.js +0 -55
- package/dist/components/compositions/SteppedListCard/SteppedListContent.d.ts.map +0 -1
- package/dist/components/compositions/SteppedListCard/SteppedListContent.js +0 -64
- package/dist/components/compositions/SteppedListCard/helper.d.ts.map +0 -1
- package/dist/components/compositions/SteppedListCard/helper.js +0 -33
- package/dist/components/compositions/SteppedListCard/index.d.ts +0 -65
- package/dist/components/compositions/SteppedListCard/index.d.ts.map +0 -1
- package/dist/components/compositions/SteppedListCard/index.js +0 -106
- package/dist/components/compositions/SteppedListCard/styles.css.d.ts.map +0 -1
- package/dist/components/compositions/SteppedListCard/styles.css.js +0 -22
- package/dist/components/compositions/SteppedListCard/styles.css.ts.vanilla.js +0 -8
- package/dist/components/compositions/index.d.ts.map +0 -1
- package/dist/components/compositions/index.js +0 -39
- package/dist/components/compositions/styles.d.ts.map +0 -1
- package/dist/components/compositions/styles.js +0 -37
- /package/dist/components/SelectInput/components/{SelectBar.d.ts → SelectBar/SelectBar.d.ts} +0 -0
- /package/dist/components/SelectInput/components/{selectBar.css.d.ts → SelectBar/selectBar.css.d.ts} +0 -0
- /package/dist/{components/compositions → compositions}/CodeEditor/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/ContentCard/Skeleton.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/ContentCard/index.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/ContentCard/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/ContentCard/type.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/ContentCardGroup/Card.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/ContentCardGroup/SkeletonCard.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/ContentCardGroup/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Conversation/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/CustomerSatisfaction/index.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/CustomerSatisfaction/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/CompactEstimateCost.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/CustomUnitInput.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/ItemLeftSide.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/ItemPrice.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/LineThrough.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/NumberInput.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/Region.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/Regular.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/Strong.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/Unit.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/Zone.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/Components/components.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/EstimateCostContent.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/OverlayComponent.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/OverlayContext.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/constants.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/EstimateCost/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/FAQ/index.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/FAQ/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/InfoTable/components/Cell.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/InfoTable/components/Row.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/Footer.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/Header.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/NavigationContent.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/NavigationProvider.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/animations.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/components/Group.d.ts +0 -0
- /package/dist/{components/compositions/Navigation/components → compositions/Navigation/components/Item}/ItemProvider.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/components/PinnedItems.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/components/Separator.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/components/ShowHide.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/components/items.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/components/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/constants.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/types.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Navigation/variables.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OfferList/OfferListProvider.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OfferList/components/OfferListRowProvider.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OfferList/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OptionSelector/__mock__/resources.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OptionSelector/components/IconWithContent.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OptionSelector/components/RevealOnHover.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OptionSelector/index.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OptionSelector/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OrderSummary/NonScrollableContent.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OrderSummary/Provider.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OrderSummary/ScrollableContent.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OrderSummary/constants.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/OrderSummary/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Plans/FeatureHint.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Plans/PlanHeader.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Plans/locales/en.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/Plans/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/SteppedListCard/Step.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/SteppedListCard/SteppedListContent.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/SteppedListCard/helper.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/SteppedListCard/styles.css.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/index.d.ts +0 -0
- /package/dist/{components/compositions → compositions}/styles.d.ts +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __esmMin, __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { Stack, init_Stack } from "../../../../components/Stack/index.js";
|
|
3
|
+
import { init_NavigationProvider, useNavigation } from "../../NavigationProvider.js";
|
|
4
|
+
import { init_styles_css, navigationStyle } from "../../styles.css.js";
|
|
5
|
+
import { ItemProvider, init_ItemProvider } from "./ItemProvider.js";
|
|
6
|
+
import { Expandable, init_Expandable } from "../../../../components/Expandable/index.js";
|
|
7
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/compositions/Navigation/components/Item/Children.tsx
|
|
10
|
+
var ItemChildren;
|
|
11
|
+
var init_Children = __esmMin(() => {
|
|
12
|
+
init_Expandable();
|
|
13
|
+
init_Stack();
|
|
14
|
+
init_NavigationProvider();
|
|
15
|
+
init_styles_css();
|
|
16
|
+
init_ItemProvider();
|
|
17
|
+
ItemChildren = ({ noExpand, type, children, internalExpanded }) => {
|
|
18
|
+
const context = useNavigation();
|
|
19
|
+
if (!context) throw new Error("Navigation.Item can only be used inside a NavigationProvider.");
|
|
20
|
+
const { animation, animationType, shouldAnimate } = context;
|
|
21
|
+
return /* @__PURE__ */ jsx(Fragment, { children: noExpand ? /* @__PURE__ */ jsx(ItemProvider, { children: /* @__PURE__ */ jsx(Stack, {
|
|
22
|
+
className: noExpand || type === "pinnedGroup" ? "" : navigationStyle.itemPaddingStack({ hide: shouldAnimate && animationType === "complex" && animation === "expand" }),
|
|
23
|
+
width: animation ? "100%" : void 0,
|
|
24
|
+
children
|
|
25
|
+
}) }) : /* @__PURE__ */ jsx(ItemProvider, { children: /* @__PURE__ */ jsx(Expandable, {
|
|
26
|
+
animationDuration: 0,
|
|
27
|
+
opened: internalExpanded,
|
|
28
|
+
children: /* @__PURE__ */ jsx(Stack, {
|
|
29
|
+
className: noExpand || type === "pinnedGroup" ? "" : navigationStyle.itemPaddingStack({ hide: shouldAnimate && animationType === "complex" && animation === "expand" }),
|
|
30
|
+
width: animation ? "100%" : void 0,
|
|
31
|
+
children
|
|
32
|
+
})
|
|
33
|
+
}) }) });
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
init_Children();
|
|
39
|
+
export { ItemChildren, init_Children };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ItemExpandedType } from '../ComponentsTypes';
|
|
2
|
+
export declare const ItemContent: ({ disabled, active, categoryIcon, type, label, hasActiveChildren, labelDescription, noExpand, subLabel, }: Pick<ItemExpandedType, 'disabled' | 'active' | 'categoryIcon' | 'type' | 'label' | 'hasActiveChildren' | 'labelDescription' | 'noExpand' | 'subLabel'>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=Content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/Content.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAE1D,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,4CAmFA,CAAA"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { __esmMin, __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { Stack, init_Stack } from "../../../../components/Stack/index.js";
|
|
3
|
+
import { Text, init_Text } from "../../../../components/Text/index.js";
|
|
4
|
+
import { init_NavigationProvider, useNavigation } from "../../NavigationProvider.js";
|
|
5
|
+
import { init_styles_css, navigationStyle } from "../../styles.css.js";
|
|
6
|
+
import { ItemContext, init_ItemProvider } from "./ItemProvider.js";
|
|
7
|
+
import { useContext } from "react";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { DragIcon } from "@ultraviolet/icons/DragIcon";
|
|
10
|
+
|
|
11
|
+
//#region src/compositions/Navigation/components/Item/Content.tsx
|
|
12
|
+
var ItemContent;
|
|
13
|
+
var init_Content = __esmMin(() => {
|
|
14
|
+
init_Stack();
|
|
15
|
+
init_Text();
|
|
16
|
+
init_NavigationProvider();
|
|
17
|
+
init_styles_css();
|
|
18
|
+
init_ItemProvider();
|
|
19
|
+
ItemContent = ({ disabled, active, categoryIcon, type, label, hasActiveChildren, labelDescription, noExpand, subLabel }) => {
|
|
20
|
+
const context = useNavigation();
|
|
21
|
+
if (!context) throw new Error("Navigation.Item can only be used inside a NavigationProvider.");
|
|
22
|
+
const { expanded, animation } = context;
|
|
23
|
+
const hasParents = !!useContext(ItemContext);
|
|
24
|
+
return /* @__PURE__ */ jsxs(Stack, {
|
|
25
|
+
alignItems: categoryIcon ? "flex-start" : "center",
|
|
26
|
+
direction: "row",
|
|
27
|
+
gap: 1,
|
|
28
|
+
justifyContent: "center",
|
|
29
|
+
children: [
|
|
30
|
+
categoryIcon ? /* @__PURE__ */ jsx(Stack, {
|
|
31
|
+
alignItems: "center",
|
|
32
|
+
className: navigationStyle.itemCategoryIcon,
|
|
33
|
+
justifyContent: "center",
|
|
34
|
+
children: categoryIcon
|
|
35
|
+
}) : null,
|
|
36
|
+
type === "pinned" && expanded ? /* @__PURE__ */ jsx(DragIcon, {
|
|
37
|
+
className: navigationStyle.itemDragIcon,
|
|
38
|
+
disabled,
|
|
39
|
+
prominence: "default",
|
|
40
|
+
sentiment: "neutral",
|
|
41
|
+
size: "small"
|
|
42
|
+
}) : null,
|
|
43
|
+
/* @__PURE__ */ jsxs(Stack, { children: [animation ? null : /* @__PURE__ */ jsxs(Text, {
|
|
44
|
+
as: "span",
|
|
45
|
+
className: navigationStyle.itemWrapText({
|
|
46
|
+
disabled,
|
|
47
|
+
weak: hasActiveChildren && !noExpand && !disabled && !!active
|
|
48
|
+
}),
|
|
49
|
+
"data-animation": animation,
|
|
50
|
+
disabled,
|
|
51
|
+
prominence: (categoryIcon || !hasParents) && !active ? "strong" : "default",
|
|
52
|
+
sentiment: active ? "primary" : "neutral",
|
|
53
|
+
variant: "bodySmallStrong",
|
|
54
|
+
whiteSpace: "pre-wrap",
|
|
55
|
+
children: [label, labelDescription ? /* @__PURE__ */ jsx("span", {
|
|
56
|
+
className: navigationStyle.itemPadded,
|
|
57
|
+
children: labelDescription
|
|
58
|
+
}) : null]
|
|
59
|
+
}), subLabel && !animation ? /* @__PURE__ */ jsx(Text, {
|
|
60
|
+
as: "span",
|
|
61
|
+
className: navigationStyle.itemWrapText({
|
|
62
|
+
disabled,
|
|
63
|
+
weak: hasActiveChildren && !noExpand && !disabled && !!active
|
|
64
|
+
}),
|
|
65
|
+
"data-animation": animation,
|
|
66
|
+
disabled,
|
|
67
|
+
prominence: "weak",
|
|
68
|
+
sentiment: "neutral",
|
|
69
|
+
variant: "caption",
|
|
70
|
+
whiteSpace: "pre-wrap",
|
|
71
|
+
children: subLabel
|
|
72
|
+
}) : null] })
|
|
73
|
+
]
|
|
74
|
+
});
|
|
75
|
+
};
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
//#endregion
|
|
79
|
+
init_Content();
|
|
80
|
+
export { ItemContent, init_Content };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import type { Badge } from '../../../../components/Badge';
|
|
2
|
+
import type { ItemType, PinUnPinType } from '../../types';
|
|
3
|
+
import type { ComponentProps, CSSProperties, ElementType, ReactNode } from 'react';
|
|
4
|
+
type ItemProps = {
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
/**
|
|
7
|
+
* Sets a category icon on the left of the item
|
|
8
|
+
*/
|
|
9
|
+
categoryIcon?: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* The label of the item that will be shown.
|
|
12
|
+
* It is also used as the key for pinning.
|
|
13
|
+
*/
|
|
14
|
+
label: string;
|
|
15
|
+
/**
|
|
16
|
+
* It will be added after the label when you want to have complementory information with the label
|
|
17
|
+
*/
|
|
18
|
+
labelDescription?: ReactNode;
|
|
19
|
+
/**
|
|
20
|
+
* It should be a unique id and will be used for pin/unpin and show/hide feature.
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* Text shown under the label with a lighter color and smaller font size
|
|
25
|
+
*/
|
|
26
|
+
subLabel?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Badge is added on the right of the item. It is hidden on hover if pinned
|
|
29
|
+
* feature is enabled
|
|
30
|
+
*/
|
|
31
|
+
badgeText?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Defined the sentiment of the badge according to Badge component from
|
|
34
|
+
* `@ultraviolet/ui`
|
|
35
|
+
*/
|
|
36
|
+
badgeSentiment?: ComponentProps<typeof Badge>['sentiment'];
|
|
37
|
+
href?: HTMLAnchorElement['href'];
|
|
38
|
+
target?: HTMLAnchorElement['target'];
|
|
39
|
+
rel?: HTMLAnchorElement['rel'];
|
|
40
|
+
/**
|
|
41
|
+
* This function will be triggered on click of the item. If the item is expandable
|
|
42
|
+
* toggle will be passed with it.
|
|
43
|
+
*/
|
|
44
|
+
onToggle?: (toggle: boolean) => void;
|
|
45
|
+
onClickPinUnpin?: (parameters: PinUnPinType) => void;
|
|
46
|
+
/**
|
|
47
|
+
* This prop is used to control if the item is expanded or collapsed
|
|
48
|
+
*/
|
|
49
|
+
toggle?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Set this to true if your current page is this item.
|
|
52
|
+
*/
|
|
53
|
+
active?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* If you want to remove pin button on your item use this prop
|
|
56
|
+
*/
|
|
57
|
+
noPinButton?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* You don't need to use this prop it's used internally to control the type of the item
|
|
60
|
+
*/
|
|
61
|
+
type?: ItemType;
|
|
62
|
+
/**
|
|
63
|
+
* You don't need to use this prop it's used internally for pinned item to be reorganized with drag and drop
|
|
64
|
+
*/
|
|
65
|
+
index?: number;
|
|
66
|
+
/**
|
|
67
|
+
* When the item has href it becomes a link if not it is a button.
|
|
68
|
+
* When using an external routing tool you might need to remove both of them and use
|
|
69
|
+
* a non focusable element. This option allows you to choose the tag of the
|
|
70
|
+
* item.
|
|
71
|
+
*/
|
|
72
|
+
as?: ElementType;
|
|
73
|
+
/**
|
|
74
|
+
* Use this prop if you want to remove the expand behavior when the item
|
|
75
|
+
* has sub items.
|
|
76
|
+
*/
|
|
77
|
+
noExpand?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* When set to true, the item is still visible even when `showHide='hide'` (NavigationProvider)
|
|
80
|
+
*/
|
|
81
|
+
alwaysVisible?: boolean;
|
|
82
|
+
disabled?: boolean;
|
|
83
|
+
'data-testid'?: string;
|
|
84
|
+
style?: CSSProperties;
|
|
85
|
+
};
|
|
86
|
+
export declare const Item: import("react").MemoExoticComponent<({ children, categoryIcon, label, labelDescription, subLabel, badgeText, badgeSentiment, href, target, rel, onToggle, onClickPinUnpin, toggle, active, noPinButton, type, as, disabled, noExpand, index, id, 'data-testid': dataTestId, style, alwaysVisible, }: ItemProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
87
|
+
export {};
|
|
88
|
+
//# sourceMappingURL=Item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/Item.tsx"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAA;AACzD,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AACzD,OAAO,KAAK,EACV,cAAc,EACd,aAAa,EAEb,WAAW,EACX,SAAS,EACV,MAAM,OAAO,CAAA;AAMd,KAAK,SAAS,GAAG;IACf,QAAQ,CAAC,EAAE,SAAS,CAAA;IACpB;;OAEG;IACH,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB;;;OAGG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;OAEG;IACH,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IACV;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC,WAAW,CAAC,CAAA;IAC1D,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAA;IACpC,GAAG,CAAC,EAAE,iBAAiB,CAAC,KAAK,CAAC,CAAA;IAC9B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IACpC,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,YAAY,KAAK,IAAI,CAAA;IACpD;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAA;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd;;;;;OAKG;IACH,EAAE,CAAC,EAAE,WAAW,CAAA;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAOD,eAAO,MAAM,IAAI,uSA0BZ,SAAS,oDA4Qb,CAAA"}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __esmMin, __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { Stack, init_Stack } from "../../../../components/Stack/index.js";
|
|
4
|
+
import { Tooltip, init_Tooltip } from "../../../../components/Tooltip/index.js";
|
|
5
|
+
import { init_NavigationProvider, useNavigation } from "../../NavigationProvider.js";
|
|
6
|
+
import { init_styles_css, navigationStyle } from "../../styles.css.js";
|
|
7
|
+
import { ItemContext, init_ItemProvider } from "./ItemProvider.js";
|
|
8
|
+
import { ItemMenu, init_Menu } from "../Menu/Menu.js";
|
|
9
|
+
import { ItemMenuItem, init_MenuItem } from "../Menu/MenuItem.js";
|
|
10
|
+
import { NestedMenu, init_NestedMenu } from "../Menu/NestedMenu.js";
|
|
11
|
+
import { ItemExpanded, init_ItemExpanded } from "./ItemExpanded.js";
|
|
12
|
+
import { Children, isValidElement, memo, useContext, useEffect, useMemo, useRef } from "react";
|
|
13
|
+
import { cn } from "@ultraviolet/utils";
|
|
14
|
+
import { jsx } from "react/jsx-runtime";
|
|
15
|
+
import { OpenInNewIcon } from "@ultraviolet/icons/OpenInNewIcon";
|
|
16
|
+
|
|
17
|
+
//#region src/compositions/Navigation/components/Item/Item.tsx
|
|
18
|
+
var onDragStopTrigger, Item;
|
|
19
|
+
var init_Item = __esmMin(() => {
|
|
20
|
+
init_Stack();
|
|
21
|
+
init_Tooltip();
|
|
22
|
+
init_NavigationProvider();
|
|
23
|
+
init_styles_css();
|
|
24
|
+
init_Menu();
|
|
25
|
+
init_MenuItem();
|
|
26
|
+
init_NestedMenu();
|
|
27
|
+
init_ItemExpanded();
|
|
28
|
+
init_ItemProvider();
|
|
29
|
+
onDragStopTrigger = (event) => {
|
|
30
|
+
const element = event.currentTarget;
|
|
31
|
+
element.style.opacity = "1";
|
|
32
|
+
};
|
|
33
|
+
Item = memo(({ children, categoryIcon, label, labelDescription, subLabel, badgeText, badgeSentiment, href, target, rel, onToggle, onClickPinUnpin, toggle, active, noPinButton, type = "default", as, disabled, noExpand = false, index, id, "data-testid": dataTestId, style, alwaysVisible }) => {
|
|
34
|
+
const context = useNavigation();
|
|
35
|
+
if (!context) throw new Error("Navigation.Item can only be used inside a NavigationProvider.");
|
|
36
|
+
const hasParents = !!useContext(ItemContext);
|
|
37
|
+
const { expanded, locales, pinnedFeature, pinnedItems, pinLimit, animation, registerItem, shouldAnimate, animationType, showHide } = context;
|
|
38
|
+
const makeRegisterRef = useRef(null);
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
makeRegisterRef.current = () => registerItem({ [id]: {
|
|
41
|
+
active,
|
|
42
|
+
label,
|
|
43
|
+
onClickPinUnpin,
|
|
44
|
+
onToggle
|
|
45
|
+
} });
|
|
46
|
+
}, [
|
|
47
|
+
active,
|
|
48
|
+
id,
|
|
49
|
+
label,
|
|
50
|
+
onClickPinUnpin,
|
|
51
|
+
registerItem,
|
|
52
|
+
onToggle
|
|
53
|
+
]);
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
if (type !== "pinnedGroup" && pinnedFeature) {
|
|
56
|
+
var _makeRegisterRef$curr;
|
|
57
|
+
(_makeRegisterRef$curr = makeRegisterRef.current) === null || _makeRegisterRef$curr === void 0 || _makeRegisterRef$curr.call(makeRegisterRef);
|
|
58
|
+
}
|
|
59
|
+
}, [
|
|
60
|
+
type,
|
|
61
|
+
pinnedFeature,
|
|
62
|
+
active,
|
|
63
|
+
id,
|
|
64
|
+
label,
|
|
65
|
+
registerItem
|
|
66
|
+
]);
|
|
67
|
+
const hasHrefAndNoChildren = href && !children;
|
|
68
|
+
const hasPinnedFeatureAndNoChildren = pinnedFeature && !children && !noPinButton;
|
|
69
|
+
const isItemPinned = pinnedItems.includes(id);
|
|
70
|
+
const shouldShowPinnedButton = useMemo(() => {
|
|
71
|
+
if (href || disabled) return false;
|
|
72
|
+
if (hasPinnedFeatureAndNoChildren && type !== "default") return true;
|
|
73
|
+
if (hasPinnedFeatureAndNoChildren) return true;
|
|
74
|
+
return false;
|
|
75
|
+
}, [
|
|
76
|
+
disabled,
|
|
77
|
+
hasPinnedFeatureAndNoChildren,
|
|
78
|
+
href,
|
|
79
|
+
type
|
|
80
|
+
]);
|
|
81
|
+
const hasActiveChildren = useMemo(() => {
|
|
82
|
+
if (!children) return false;
|
|
83
|
+
return Children.map(children, (child) => {
|
|
84
|
+
if (isValidElement(child)) {
|
|
85
|
+
if ("to" in child.props) {
|
|
86
|
+
var _child$props$children;
|
|
87
|
+
return (_child$props$children = child.props.children) === null || _child$props$children === void 0 ? void 0 : _child$props$children.props.active;
|
|
88
|
+
}
|
|
89
|
+
return child.props.active;
|
|
90
|
+
}
|
|
91
|
+
return null;
|
|
92
|
+
}).includes(true);
|
|
93
|
+
}, [children]);
|
|
94
|
+
const isPinDisabled = pinnedItems.length >= pinLimit;
|
|
95
|
+
const containerTag = useMemo(() => {
|
|
96
|
+
if (as) return as;
|
|
97
|
+
if (hasHrefAndNoChildren) return "a";
|
|
98
|
+
if (noExpand || shouldShowPinnedButton) return "div";
|
|
99
|
+
return "button";
|
|
100
|
+
}, [
|
|
101
|
+
as,
|
|
102
|
+
hasHrefAndNoChildren,
|
|
103
|
+
noExpand,
|
|
104
|
+
shouldShowPinnedButton
|
|
105
|
+
]);
|
|
106
|
+
const pinTooltipLocale = useMemo(() => {
|
|
107
|
+
if (isPinDisabled) return locales["navigation.pin.limit"];
|
|
108
|
+
if (isItemPinned) return locales["navigation.unpin.tooltip"];
|
|
109
|
+
return locales["navigation.pin.tooltip"];
|
|
110
|
+
}, [
|
|
111
|
+
isItemPinned,
|
|
112
|
+
isPinDisabled,
|
|
113
|
+
locales
|
|
114
|
+
]);
|
|
115
|
+
if (!alwaysVisible && showHide === "hide") return null;
|
|
116
|
+
const computedAnimation = animation === "collapse" ? "collapse" : "expand";
|
|
117
|
+
if (expanded || !expanded && animation === "expand") return /* @__PURE__ */ jsx(ItemExpanded, {
|
|
118
|
+
active,
|
|
119
|
+
badgeSentiment,
|
|
120
|
+
badgeText,
|
|
121
|
+
categoryIcon,
|
|
122
|
+
containerTag,
|
|
123
|
+
dataTestId,
|
|
124
|
+
disabled,
|
|
125
|
+
hasActiveChildren,
|
|
126
|
+
hasPinnedFeatureAndNoChildren,
|
|
127
|
+
href,
|
|
128
|
+
id,
|
|
129
|
+
index,
|
|
130
|
+
isItemPinned,
|
|
131
|
+
isPinDisabled,
|
|
132
|
+
label,
|
|
133
|
+
labelDescription,
|
|
134
|
+
noExpand,
|
|
135
|
+
onClickPinUnpin,
|
|
136
|
+
onDragStopTrigger,
|
|
137
|
+
onToggle,
|
|
138
|
+
pinTooltipLocale,
|
|
139
|
+
rel,
|
|
140
|
+
shouldShowPinnedButton,
|
|
141
|
+
style,
|
|
142
|
+
subLabel,
|
|
143
|
+
target,
|
|
144
|
+
toggle,
|
|
145
|
+
type,
|
|
146
|
+
children
|
|
147
|
+
});
|
|
148
|
+
if (categoryIcon || Children.count(children) > 0 && !hasParents) return /* @__PURE__ */ jsx(ItemMenu, {
|
|
149
|
+
active,
|
|
150
|
+
categoryIcon,
|
|
151
|
+
hasActiveChildren,
|
|
152
|
+
label,
|
|
153
|
+
style,
|
|
154
|
+
children
|
|
155
|
+
});
|
|
156
|
+
if (Children.count(children) > 0 && hasParents) return /* @__PURE__ */ jsx(NestedMenu, {
|
|
157
|
+
active,
|
|
158
|
+
badgeSentiment,
|
|
159
|
+
badgeText,
|
|
160
|
+
disabled,
|
|
161
|
+
hasActiveChildren,
|
|
162
|
+
hasHrefAndNoChildren,
|
|
163
|
+
href,
|
|
164
|
+
id,
|
|
165
|
+
isItemPinned,
|
|
166
|
+
isPinDisabled,
|
|
167
|
+
label,
|
|
168
|
+
labelDescription,
|
|
169
|
+
noExpand,
|
|
170
|
+
onClickPinUnpin,
|
|
171
|
+
onToggle,
|
|
172
|
+
pinTooltipLocale,
|
|
173
|
+
rel,
|
|
174
|
+
shouldShowPinnedButton,
|
|
175
|
+
style,
|
|
176
|
+
target,
|
|
177
|
+
children
|
|
178
|
+
});
|
|
179
|
+
if (hasParents) return /* @__PURE__ */ jsx(ItemMenuItem, {
|
|
180
|
+
active,
|
|
181
|
+
badgeSentiment,
|
|
182
|
+
badgeText,
|
|
183
|
+
disabled,
|
|
184
|
+
hasActiveChildren,
|
|
185
|
+
hasHrefAndNoChildren,
|
|
186
|
+
href,
|
|
187
|
+
id,
|
|
188
|
+
isItemPinned,
|
|
189
|
+
isPinDisabled,
|
|
190
|
+
label,
|
|
191
|
+
labelDescription,
|
|
192
|
+
noExpand,
|
|
193
|
+
onClickPinUnpin,
|
|
194
|
+
onToggle,
|
|
195
|
+
pinTooltipLocale,
|
|
196
|
+
rel,
|
|
197
|
+
shouldShowPinnedButton,
|
|
198
|
+
style,
|
|
199
|
+
target
|
|
200
|
+
});
|
|
201
|
+
if (!hasParents && href) return /* @__PURE__ */ jsx(Tooltip, {
|
|
202
|
+
placement: "right",
|
|
203
|
+
text: label,
|
|
204
|
+
children: /* @__PURE__ */ jsx(Stack, {
|
|
205
|
+
alignItems: "flex-start",
|
|
206
|
+
className: navigationStyle.itemMenuStack,
|
|
207
|
+
gap: 1,
|
|
208
|
+
justifyContent: "flex-start",
|
|
209
|
+
children: /* @__PURE__ */ jsx(Stack, {
|
|
210
|
+
alignItems: "center",
|
|
211
|
+
as: containerTag,
|
|
212
|
+
className: cn(navigationStyle.itemContainer({ disabled }), navigationStyle.itemContainerAnimated({
|
|
213
|
+
animated: shouldAnimate && animationType === "complex",
|
|
214
|
+
animation: computedAnimation
|
|
215
|
+
})),
|
|
216
|
+
gap: 1,
|
|
217
|
+
href,
|
|
218
|
+
justifyContent: "center",
|
|
219
|
+
rel,
|
|
220
|
+
target,
|
|
221
|
+
children: /* @__PURE__ */ jsx(OpenInNewIcon, {
|
|
222
|
+
className: navigationStyle.itemAnimatedIcon({
|
|
223
|
+
animated: shouldAnimate && animationType === "complex",
|
|
224
|
+
animation: computedAnimation
|
|
225
|
+
}),
|
|
226
|
+
prominence: "weak",
|
|
227
|
+
sentiment: "neutral"
|
|
228
|
+
})
|
|
229
|
+
})
|
|
230
|
+
})
|
|
231
|
+
});
|
|
232
|
+
return null;
|
|
233
|
+
});
|
|
234
|
+
});
|
|
235
|
+
|
|
236
|
+
//#endregion
|
|
237
|
+
init_Item();
|
|
238
|
+
export { Item, init_Item };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ItemExpandedType } from '../ComponentsTypes';
|
|
2
|
+
export declare const ItemExpanded: ({ categoryIcon, containerTag, disabled, active, noExpand, subLabel, shouldShowPinnedButton, children, dataTestId, type, href, rel, id, style, target, label, labelDescription, hasPinnedFeatureAndNoChildren, badgeText, badgeSentiment, isItemPinned, pinTooltipLocale, onClickPinUnpin, isPinDisabled, onToggle, index, onDragStopTrigger, toggle, hasActiveChildren, }: ItemExpandedType) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=ItemExpanded.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemExpanded.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/ItemExpanded.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,eAAO,MAAM,YAAY,8WA8BtB,gBAAgB,4CA8KlB,CAAA"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { __esmMin, __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { Stack, init_Stack } from "../../../../components/Stack/index.js";
|
|
3
|
+
import { init_NavigationProvider, useNavigation } from "../../NavigationProvider.js";
|
|
4
|
+
import { init_styles_css, navigationStyle } from "../../styles.css.js";
|
|
5
|
+
import { ItemBadge, init_Badge } from "./Badge.js";
|
|
6
|
+
import { ItemPinnedButton, init_PinnedButton } from "./PinnedButton.js";
|
|
7
|
+
import { ItemChildren, init_Children } from "./Children.js";
|
|
8
|
+
import { ItemContent, init_Content } from "./Content.js";
|
|
9
|
+
import { useCallback, useMemo, useReducer } from "react";
|
|
10
|
+
import { cn } from "@ultraviolet/utils";
|
|
11
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { OpenInNewIcon } from "@ultraviolet/icons/OpenInNewIcon";
|
|
13
|
+
import { ArrowRightIcon } from "@ultraviolet/icons/ArrowRightIcon";
|
|
14
|
+
import { ArrowDownIcon } from "@ultraviolet/icons/ArrowDownIcon";
|
|
15
|
+
|
|
16
|
+
//#region src/compositions/Navigation/components/Item/ItemExpanded.tsx
|
|
17
|
+
var ItemExpanded;
|
|
18
|
+
var init_ItemExpanded = __esmMin(() => {
|
|
19
|
+
init_Stack();
|
|
20
|
+
init_NavigationProvider();
|
|
21
|
+
init_styles_css();
|
|
22
|
+
init_Badge();
|
|
23
|
+
init_Children();
|
|
24
|
+
init_Content();
|
|
25
|
+
init_PinnedButton();
|
|
26
|
+
ItemExpanded = ({ categoryIcon, containerTag, disabled, active, noExpand, subLabel, shouldShowPinnedButton, children, dataTestId, type, href, rel, id, style, target, label, labelDescription, hasPinnedFeatureAndNoChildren, badgeText, badgeSentiment, isItemPinned, pinTooltipLocale, onClickPinUnpin, isPinDisabled, onToggle, index, onDragStopTrigger, toggle, hasActiveChildren }) => {
|
|
27
|
+
const context = useNavigation();
|
|
28
|
+
const [internalExpanded, onToggleExpand] = useReducer((prevState) => !prevState, Boolean(toggle));
|
|
29
|
+
if (!context) throw new Error("Navigation.Item can only be used inside a NavigationProvider.");
|
|
30
|
+
const { expanded, animation, shouldAnimate, animationType, pinnedFeature } = context;
|
|
31
|
+
const showDraggableIcon = !noExpand && pinnedFeature && shouldShowPinnedButton && !disabled;
|
|
32
|
+
const showPinIcon = !(noExpand || disabled) && shouldShowPinnedButton && pinnedFeature;
|
|
33
|
+
const shouldHaveWeakText = !!children && !active && shouldShowPinnedButton && !disabled;
|
|
34
|
+
const hasHrefAndNoChildren = href && !children;
|
|
35
|
+
const triggerToggle = useCallback(() => {
|
|
36
|
+
onToggleExpand();
|
|
37
|
+
onToggle === null || onToggle === void 0 || onToggle(internalExpanded);
|
|
38
|
+
}, [internalExpanded, onToggle]);
|
|
39
|
+
const ArrowIcon = useMemo(() => internalExpanded ? ArrowDownIcon : ArrowRightIcon, [internalExpanded]);
|
|
40
|
+
const onDragStart = useCallback((event) => {
|
|
41
|
+
if (expanded) {
|
|
42
|
+
event.dataTransfer.setData("text/plain", JSON.stringify({
|
|
43
|
+
index,
|
|
44
|
+
label
|
|
45
|
+
}));
|
|
46
|
+
const element = event.currentTarget;
|
|
47
|
+
element.style.opacity = "0.5";
|
|
48
|
+
}
|
|
49
|
+
}, [
|
|
50
|
+
expanded,
|
|
51
|
+
index,
|
|
52
|
+
label
|
|
53
|
+
]);
|
|
54
|
+
const onDragEnd = useCallback((event) => expanded ? onDragStopTrigger(event) : void 0, [expanded, onDragStopTrigger]);
|
|
55
|
+
const ariaExpanded = useMemo(() => {
|
|
56
|
+
if (hasHrefAndNoChildren && internalExpanded) return true;
|
|
57
|
+
if (hasHrefAndNoChildren && !internalExpanded) return false;
|
|
58
|
+
}, [hasHrefAndNoChildren, internalExpanded]);
|
|
59
|
+
const computedAnimation = animation === "collapse" ? "collapse" : "expand";
|
|
60
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs(Stack, {
|
|
61
|
+
alignItems: categoryIcon ? "flex-start" : "center",
|
|
62
|
+
"aria-expanded": ariaExpanded,
|
|
63
|
+
as: containerTag,
|
|
64
|
+
className: cn(navigationStyle.itemContainer({
|
|
65
|
+
disabled,
|
|
66
|
+
hasActive: hasActiveChildren,
|
|
67
|
+
isActive: !!active,
|
|
68
|
+
noExpand,
|
|
69
|
+
subLabel: !!subLabel
|
|
70
|
+
}), navigationStyle.itemContainerAnimated({
|
|
71
|
+
animated: shouldAnimate && animationType === "complex",
|
|
72
|
+
animation: computedAnimation
|
|
73
|
+
}), navigationStyle.itemVariants({
|
|
74
|
+
shouldHaveWeakText,
|
|
75
|
+
showDraggableIcon,
|
|
76
|
+
showPinIcon
|
|
77
|
+
})),
|
|
78
|
+
"data-testid": dataTestId,
|
|
79
|
+
direction: "row",
|
|
80
|
+
disabled: containerTag === "button" ? disabled : void 0,
|
|
81
|
+
draggable: type === "pinned" && expanded,
|
|
82
|
+
gap: 1,
|
|
83
|
+
href,
|
|
84
|
+
id,
|
|
85
|
+
justifyContent: "space-between",
|
|
86
|
+
onClick: triggerToggle,
|
|
87
|
+
onDragEnd,
|
|
88
|
+
onDragStart,
|
|
89
|
+
rel,
|
|
90
|
+
style,
|
|
91
|
+
target,
|
|
92
|
+
children: [/* @__PURE__ */ jsx(ItemContent, {
|
|
93
|
+
active,
|
|
94
|
+
categoryIcon,
|
|
95
|
+
disabled,
|
|
96
|
+
hasActiveChildren,
|
|
97
|
+
label,
|
|
98
|
+
labelDescription,
|
|
99
|
+
noExpand,
|
|
100
|
+
subLabel,
|
|
101
|
+
type
|
|
102
|
+
}), /* @__PURE__ */ jsxs(Stack, {
|
|
103
|
+
alignItems: "center",
|
|
104
|
+
direction: "row",
|
|
105
|
+
gap: href ? 1 : void 0,
|
|
106
|
+
children: [
|
|
107
|
+
badgeText || hasPinnedFeatureAndNoChildren ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(ItemBadge, {
|
|
108
|
+
animation: !!animation,
|
|
109
|
+
badgeSentiment,
|
|
110
|
+
badgeText,
|
|
111
|
+
disabled
|
|
112
|
+
}), /* @__PURE__ */ jsx(ItemPinnedButton, {
|
|
113
|
+
active,
|
|
114
|
+
id,
|
|
115
|
+
isItemPinned,
|
|
116
|
+
isPinDisabled,
|
|
117
|
+
onClickPinUnpin,
|
|
118
|
+
pinTooltipLocale,
|
|
119
|
+
shouldShowPinnedButton
|
|
120
|
+
})] }) : null,
|
|
121
|
+
hasHrefAndNoChildren && target === "_blank" && !animation ? /* @__PURE__ */ jsx(OpenInNewIcon, {
|
|
122
|
+
disabled,
|
|
123
|
+
prominence: "default",
|
|
124
|
+
sentiment: "neutral"
|
|
125
|
+
}) : null,
|
|
126
|
+
children && !animation && !noExpand ? /* @__PURE__ */ jsx(Stack, {
|
|
127
|
+
alignItems: "center",
|
|
128
|
+
className: navigationStyle.itemStackIcon,
|
|
129
|
+
direction: "row",
|
|
130
|
+
gap: 1,
|
|
131
|
+
children: /* @__PURE__ */ jsx(ArrowIcon, {
|
|
132
|
+
prominence: "weak",
|
|
133
|
+
sentiment: "neutral"
|
|
134
|
+
})
|
|
135
|
+
}) : null
|
|
136
|
+
]
|
|
137
|
+
})]
|
|
138
|
+
}), children ? /* @__PURE__ */ jsx(ItemChildren, {
|
|
139
|
+
internalExpanded,
|
|
140
|
+
noExpand,
|
|
141
|
+
type,
|
|
142
|
+
children
|
|
143
|
+
}) : null] });
|
|
144
|
+
};
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
//#endregion
|
|
148
|
+
init_ItemExpanded();
|
|
149
|
+
export { ItemExpanded, init_ItemExpanded };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemProvider.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/ItemProvider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,eAAO,MAAM,WAAW,kCAAuB,CAAA;AAE/C,KAAK,iBAAiB,GAAG;IACvB,QAAQ,EAAE,SAAS,CAAA;CACpB,CAAA;AAED,eAAO,MAAM,YAAY,iBAAkB,iBAAiB,4CAI3D,CAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { __esmMin, __name } from "../../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { createContext, useMemo } from "react";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/compositions/Navigation/components/Item/ItemProvider.tsx
|
|
7
|
+
var ItemContext, ItemProvider;
|
|
8
|
+
var init_ItemProvider = __esmMin(() => {
|
|
9
|
+
ItemContext = createContext(false);
|
|
10
|
+
ItemProvider = ({ children }) => {
|
|
11
|
+
const value = useMemo(() => true, []);
|
|
12
|
+
return /* @__PURE__ */ jsx(ItemContext.Provider, {
|
|
13
|
+
value,
|
|
14
|
+
children
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
init_ItemProvider();
|
|
21
|
+
export { ItemContext, ItemProvider, init_ItemProvider };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ItemExpandedType } from '../ComponentsTypes';
|
|
2
|
+
export declare const ItemPinnedButton: ({ shouldShowPinnedButton, isItemPinned, pinTooltipLocale, isPinDisabled, id, active, onClickPinUnpin, }: Pick<ItemExpandedType, 'shouldShowPinnedButton' | 'isItemPinned' | 'pinTooltipLocale' | 'isPinDisabled' | 'id' | 'active' | 'onClickPinUnpin'>) => import("react/jsx-runtime").JSX.Element | null;
|
|
3
|
+
//# sourceMappingURL=PinnedButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinnedButton.d.ts","sourceRoot":"","sources":["../../../../../src/compositions/Navigation/components/Item/PinnedButton.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAG1D,eAAO,MAAM,gBAAgB,4GAQ1B,IAAI,CACL,gBAAgB,EACd,wBAAwB,GACxB,cAAc,GACd,kBAAkB,GAClB,eAAe,GACf,IAAI,GACJ,QAAQ,GACR,iBAAiB,CACpB,mDA6DA,CAAA"}
|