@ultraviolet/ui 3.11.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/defineProperty.js +19 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.114.0 → _@oxc-project_runtime@0.115.0}/helpers/objectSpread2.js +8 -4
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutProperties.js +22 -0
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/objectWithoutPropertiesLoose.js +17 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.114.0 → _@oxc-project_runtime@0.115.0}/helpers/toPrimitive.js +8 -4
- package/dist/_virtual/_@oxc-project_runtime@0.115.0/helpers/toPropertyKey.js +17 -0
- package/dist/_virtual/{_@oxc-project_runtime@0.114.0 → _@oxc-project_runtime@0.115.0}/helpers/typeof.js +5 -3
- package/dist/_virtual/_rolldown/runtime.js +2 -1
- package/dist/components/ActionBar/index.js +24 -24
- package/dist/components/ActionBar/styles.css.d.ts +4 -2
- package/dist/components/ActionBar/styles.css.d.ts.map +1 -1
- package/dist/components/ActionBar/styles.css.js +15 -6
- package/dist/components/ActionBar/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Alert/index.d.ts.map +1 -1
- package/dist/components/Alert/index.js +85 -80
- package/dist/components/Alert/styles.css.d.ts +46 -6
- package/dist/components/Alert/styles.css.d.ts.map +1 -1
- package/dist/components/Alert/styles.css.js +37 -29
- package/dist/components/Alert/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Avatar/constants.js +18 -14
- package/dist/components/Avatar/index.d.ts.map +1 -1
- package/dist/components/Avatar/index.js +87 -81
- package/dist/components/Avatar/styles.css.d.ts +117 -115
- package/dist/components/Avatar/styles.css.d.ts.map +1 -1
- package/dist/components/Avatar/styles.css.js +169 -159
- package/dist/components/Avatar/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Avatar/variables.css.js +9 -5
- package/dist/components/Avatar/variables.css.ts.vanilla.js +8 -0
- package/dist/components/Badge/constant.js +13 -7
- package/dist/components/Badge/index.js +35 -31
- package/dist/components/Badge/styles.css.d.ts +46 -1
- package/dist/components/Badge/styles.css.d.ts.map +1 -1
- package/dist/components/Badge/styles.css.js +109 -103
- package/dist/components/Badge/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Banner/assets/default-image-small.js +8 -2
- package/dist/components/Banner/assets/default-image.js +8 -2
- package/dist/components/Banner/index.js +115 -107
- package/dist/components/Banner/styles.css.d.ts +20 -3
- package/dist/components/Banner/styles.css.d.ts.map +1 -1
- package/dist/components/Banner/styles.css.js +48 -40
- package/dist/components/Banner/styles.css.ts.vanilla.js +8 -0
- package/dist/components/BarChart/Tooltip.d.ts.map +1 -1
- package/dist/components/BarChart/Tooltip.js +27 -21
- package/dist/components/BarChart/index.js +61 -58
- package/dist/components/BarChart/styles.css.d.ts +4 -2
- package/dist/components/BarChart/styles.css.d.ts.map +1 -1
- package/dist/components/BarChart/styles.css.js +13 -5
- package/dist/components/BarChart/styles.css.ts.vanilla.js +8 -0
- package/dist/components/BarStack/index.d.ts.map +1 -1
- package/dist/components/BarStack/index.js +99 -93
- package/dist/components/BarStack/styles.css.d.ts +48 -45
- package/dist/components/BarStack/styles.css.d.ts.map +1 -1
- package/dist/components/BarStack/styles.css.js +40 -30
- package/dist/components/BarStack/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Breadcrumbs/components/Item.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/components/Item.js +58 -48
- package/dist/components/Breadcrumbs/components/styles.css.d.ts +4 -4
- package/dist/components/Breadcrumbs/components/styles.css.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/components/styles.css.js +15 -13
- package/dist/components/Breadcrumbs/components/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Breadcrumbs/index.js +20 -17
- package/dist/components/Breadcrumbs/styles.css.d.ts +14 -1
- package/dist/components/Breadcrumbs/styles.css.d.ts.map +1 -1
- package/dist/components/Breadcrumbs/styles.css.js +24 -3
- package/dist/components/Breadcrumbs/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Bullet/index.js +25 -22
- package/dist/components/Bullet/styles.css.d.ts +23 -21
- package/dist/components/Bullet/styles.css.d.ts.map +1 -1
- package/dist/components/Bullet/styles.css.js +107 -101
- package/dist/components/Bullet/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Button/constants.js +13 -7
- package/dist/components/Button/index.js +115 -113
- package/dist/components/Button/styles.css.d.ts +84 -1
- package/dist/components/Button/styles.css.d.ts.map +1 -1
- package/dist/components/Button/styles.css.js +156 -150
- package/dist/components/Button/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Card/index.js +48 -44
- package/dist/components/Card/styles.css.d.ts +4 -2
- package/dist/components/Card/styles.css.d.ts.map +1 -1
- package/dist/components/Card/styles.css.js +12 -4
- package/dist/components/Card/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Carousel/index.d.ts.map +1 -1
- package/dist/components/Carousel/index.js +100 -97
- package/dist/components/Carousel/styles.css.d.ts +7 -5
- package/dist/components/Carousel/styles.css.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css.js +16 -8
- package/dist/components/Carousel/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Checkbox/CheckboxIconContainer.js +37 -31
- package/dist/components/Checkbox/index.d.ts.map +1 -1
- package/dist/components/Checkbox/index.js +105 -99
- package/dist/components/Checkbox/styles.css.d.ts +10 -8
- package/dist/components/Checkbox/styles.css.d.ts.map +1 -1
- package/dist/components/Checkbox/styles.css.js +37 -22
- package/dist/components/Checkbox/styles.css.ts.vanilla.js +8 -0
- package/dist/components/CheckboxGroup/index.js +107 -101
- package/dist/components/CheckboxGroup/styles.css.d.ts +4 -2
- package/dist/components/CheckboxGroup/styles.css.d.ts.map +1 -1
- package/dist/components/CheckboxGroup/styles.css.js +12 -4
- package/dist/components/CheckboxGroup/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Chip/ChipContext.js +7 -2
- package/dist/components/Chip/ChipIcon.d.ts +3 -5
- package/dist/components/Chip/ChipIcon.d.ts.map +1 -1
- package/dist/components/Chip/ChipIcon.js +39 -45
- package/dist/components/Chip/index.d.ts +2 -2
- package/dist/components/Chip/index.js +73 -67
- package/dist/components/Chip/styles.css.d.ts +4 -2
- package/dist/components/Chip/styles.css.d.ts.map +1 -1
- package/dist/components/Chip/styles.css.js +12 -4
- package/dist/components/Chip/styles.css.ts.vanilla.js +8 -0
- package/dist/components/CopyButton/index.js +29 -27
- package/dist/components/DateInput/Context.js +23 -19
- package/dist/components/DateInput/components/CalendarContent.js +79 -67
- package/dist/components/DateInput/components/CalendarDaily.js +151 -139
- package/dist/components/DateInput/components/CalendarMonthly.d.ts.map +1 -1
- package/dist/components/DateInput/components/CalendarMonthly.js +93 -84
- package/dist/components/DateInput/components/Popup.js +42 -35
- package/dist/components/DateInput/components/styles.css.d.ts +0 -1
- package/dist/components/DateInput/components/styles.css.d.ts.map +1 -1
- package/dist/components/DateInput/components/styles.css.ts.vanilla.js +8 -0
- package/dist/components/DateInput/constants.js +8 -2
- package/dist/components/DateInput/helpers.js +59 -55
- package/dist/components/DateInput/helpersLocale.js +55 -51
- package/dist/components/DateInput/index.d.ts.map +1 -1
- package/dist/components/DateInput/index.js +243 -232
- package/dist/components/DateInput/styles.css.d.ts +13 -7
- package/dist/components/DateInput/styles.css.d.ts.map +1 -1
- package/dist/components/DateInput/styles.css.js +22 -8
- package/dist/components/DateInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Dialog/Context.js +12 -8
- package/dist/components/Dialog/components/Button.js +20 -14
- package/dist/components/Dialog/components/Buttons.js +13 -8
- package/dist/components/Dialog/components/CancelButton.js +15 -10
- package/dist/components/Dialog/components/Stack.js +12 -7
- package/dist/components/Dialog/components/Text.js +14 -9
- package/dist/components/Dialog/index.js +70 -59
- package/dist/components/Dialog/styles.css.d.ts +4 -2
- package/dist/components/Dialog/styles.css.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css.js +12 -4
- package/dist/components/Dialog/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Drawer/DrawerContent.js +11 -6
- package/dist/components/Drawer/index.d.ts.map +1 -1
- package/dist/components/Drawer/index.js +109 -99
- package/dist/components/Drawer/styles.css.d.ts +11 -9
- package/dist/components/Drawer/styles.css.d.ts.map +1 -1
- package/dist/components/Drawer/styles.css.js +23 -15
- package/dist/components/Drawer/styles.css.ts.vanilla.js +8 -0
- package/dist/components/EmptyState/index.js +78 -73
- package/dist/components/EmptyState/styles.css.d.ts +22 -20
- package/dist/components/EmptyState/styles.css.d.ts.map +1 -1
- package/dist/components/EmptyState/styles.css.js +30 -22
- package/dist/components/EmptyState/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Expandable/index.js +110 -109
- package/dist/components/Expandable/styles.css.d.ts +3 -1
- package/dist/components/Expandable/styles.css.d.ts.map +1 -1
- package/dist/components/Expandable/styles.css.js +10 -4
- package/dist/components/Expandable/styles.css.ts.vanilla.js +8 -0
- package/dist/components/ExpandableCard/components/Title.js +15 -10
- package/dist/components/ExpandableCard/index.d.ts.map +1 -1
- package/dist/components/ExpandableCard/index.js +148 -140
- package/dist/components/ExpandableCard/styles.css.d.ts +9 -7
- package/dist/components/ExpandableCard/styles.css.d.ts.map +1 -1
- package/dist/components/ExpandableCard/styles.css.js +17 -9
- package/dist/components/ExpandableCard/styles.css.ts.vanilla.js +8 -0
- package/dist/components/FileInput/FileInputProvider.js +12 -8
- package/dist/components/FileInput/components/Button.js +29 -21
- package/dist/components/FileInput/components/List.d.ts.map +1 -1
- package/dist/components/FileInput/components/List.js +138 -127
- package/dist/components/FileInput/helpers.js +37 -33
- package/dist/components/FileInput/index.js +232 -224
- package/dist/components/FileInput/styles.css.d.ts +29 -27
- package/dist/components/FileInput/styles.css.d.ts.map +1 -1
- package/dist/components/FileInput/styles.css.js +58 -49
- package/dist/components/FileInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/GlobalAlert/GlobalAlertLink.js +27 -22
- package/dist/components/GlobalAlert/index.js +54 -49
- package/dist/components/GlobalAlert/styles.css.d.ts +4 -2
- package/dist/components/GlobalAlert/styles.css.d.ts.map +1 -1
- package/dist/components/GlobalAlert/styles.css.js +16 -8
- package/dist/components/GlobalAlert/styles.css.ts.vanilla.js +8 -0
- package/dist/components/InfiniteScroll/index.js +72 -71
- package/dist/components/Key/constants.js +15 -9
- package/dist/components/Key/index.js +44 -40
- package/dist/components/Key/styles.css.d.ts +27 -25
- package/dist/components/Key/styles.css.d.ts.map +1 -1
- package/dist/components/Key/styles.css.js +57 -51
- package/dist/components/Key/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Label/index.js +69 -65
- package/dist/components/Label/styles.css.d.ts +3 -1
- package/dist/components/Label/styles.css.d.ts.map +1 -1
- package/dist/components/Label/styles.css.js +13 -7
- package/dist/components/Label/styles.css.ts.vanilla.js +8 -0
- package/dist/components/LineChart/CustomLegend.d.ts.map +1 -1
- package/dist/components/LineChart/CustomLegend.js +100 -91
- package/dist/components/LineChart/Tooltip.js +28 -22
- package/dist/components/LineChart/helpers.js +36 -32
- package/dist/components/LineChart/index.js +99 -94
- package/dist/components/LineChart/styles.css.d.ts +14 -12
- package/dist/components/LineChart/styles.css.d.ts.map +1 -1
- package/dist/components/LineChart/styles.css.js +24 -16
- package/dist/components/LineChart/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Link/index.d.ts.map +1 -1
- package/dist/components/Link/index.js +89 -86
- package/dist/components/Link/styles.css.d.ts +71 -69
- package/dist/components/Link/styles.css.d.ts.map +1 -1
- package/dist/components/Link/styles.css.js +82 -74
- package/dist/components/Link/styles.css.ts.vanilla.js +8 -0
- package/dist/components/List/Cell.js +41 -32
- package/dist/components/List/ColumnProvider.d.ts.map +1 -1
- package/dist/components/List/ColumnProvider.js +23 -12
- package/dist/components/List/HeaderCell.js +60 -52
- package/dist/components/List/HeaderRow.d.ts.map +1 -1
- package/dist/components/List/HeaderRow.js +39 -31
- package/dist/components/List/ListContext.js +209 -202
- package/dist/components/List/Row.d.ts.map +1 -1
- package/dist/components/List/Row.js +153 -141
- package/dist/components/List/SelectBar.js +34 -27
- package/dist/components/List/SkeletonRows.d.ts.map +1 -1
- package/dist/components/List/SkeletonRows.js +35 -26
- package/dist/components/List/index.d.ts.map +1 -1
- package/dist/components/List/index.js +71 -59
- package/dist/components/List/styles.css.d.ts +27 -25
- package/dist/components/List/styles.css.d.ts.map +1 -1
- package/dist/components/List/styles.css.js +48 -41
- package/dist/components/List/styles.css.ts.vanilla.js +8 -0
- package/dist/components/List/variables.css.js +18 -12
- package/dist/components/List/variables.css.ts.vanilla.js +8 -0
- package/dist/components/Loader/constants.js +15 -9
- package/dist/components/Loader/index.js +56 -52
- package/dist/components/Loader/styles.css.d.ts +5 -3
- package/dist/components/Loader/styles.css.d.ts.map +1 -1
- package/dist/components/Loader/styles.css.js +13 -5
- package/dist/components/Loader/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Menu/MenuContent.d.ts.map +1 -1
- package/dist/components/Menu/MenuContent.js +193 -183
- package/dist/components/Menu/MenuProvider.js +45 -41
- package/dist/components/Menu/components/Group.js +31 -24
- package/dist/components/Menu/components/Item.js +150 -141
- package/dist/components/Menu/helpers.js +31 -30
- package/dist/components/Menu/index.js +36 -26
- package/dist/components/Menu/styles.css.d.ts +40 -38
- package/dist/components/Menu/styles.css.d.ts.map +1 -1
- package/dist/components/Menu/styles.css.js +80 -72
- package/dist/components/Menu/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Meter/index.js +52 -49
- package/dist/components/Meter/styles.css.d.ts +5 -3
- package/dist/components/Meter/styles.css.d.ts.map +1 -1
- package/dist/components/Meter/styles.css.js +14 -6
- package/dist/components/Meter/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Modal/ModalContent.js +47 -40
- package/dist/components/Modal/ModalProvider.js +42 -38
- package/dist/components/Modal/components/Dialog.d.ts.map +1 -1
- package/dist/components/Modal/components/Dialog.js +165 -157
- package/dist/components/Modal/components/Disclosure.js +39 -35
- package/dist/components/Modal/index.js +89 -86
- package/dist/components/Modal/styles.css.d.ts +72 -70
- package/dist/components/Modal/styles.css.d.ts.map +1 -1
- package/dist/components/Modal/styles.css.js +86 -73
- package/dist/components/Modal/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Notice/index.js +22 -19
- package/dist/components/Notice/styles.css.d.ts +3 -1
- package/dist/components/Notice/styles.css.d.ts.map +1 -1
- package/dist/components/Notice/styles.css.js +9 -3
- package/dist/components/Notice/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Notification/Notification.js +39 -31
- package/dist/components/Notification/NotificationContainer.js +21 -16
- package/dist/components/Notification/index.js +10 -0
- package/dist/components/Notification/styles.css.d.ts +3 -1
- package/dist/components/Notification/styles.css.d.ts.map +1 -1
- package/dist/components/Notification/styles.css.js +9 -3
- package/dist/components/Notification/styles.css.ts.vanilla.js +8 -0
- package/dist/components/NumberInput/index.d.ts.map +1 -1
- package/dist/components/NumberInput/index.js +202 -194
- package/dist/components/NumberInput/styles.css.d.ts +105 -95
- package/dist/components/NumberInput/styles.css.d.ts.map +1 -1
- package/dist/components/NumberInput/styles.css.js +82 -69
- package/dist/components/NumberInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Pagination/PaginationButtons.d.ts.map +1 -1
- package/dist/components/Pagination/PaginationButtons.js +96 -87
- package/dist/components/Pagination/PerPage.js +72 -65
- package/dist/components/Pagination/getPageNumbers.js +20 -23
- package/dist/components/Pagination/index.js +48 -45
- package/dist/components/Pagination/styles.css.d.ts +5 -3
- package/dist/components/Pagination/styles.css.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css.js +19 -11
- package/dist/components/Pagination/styles.css.ts.vanilla.js +8 -0
- package/dist/components/PasswordCheck/index.js +35 -32
- package/dist/components/PasswordCheck/styles.css.d.ts +3 -1
- package/dist/components/PasswordCheck/styles.css.d.ts.map +1 -1
- package/dist/components/PasswordCheck/styles.css.js +9 -3
- package/dist/components/PasswordCheck/styles.css.ts.vanilla.js +8 -0
- package/dist/components/PieChart/Legends.d.ts.map +1 -1
- package/dist/components/PieChart/Legends.js +56 -49
- package/dist/components/PieChart/Tooltip.js +47 -41
- package/dist/components/PieChart/index.d.ts.map +1 -1
- package/dist/components/PieChart/index.js +98 -93
- package/dist/components/PieChart/styles.css.d.ts +45 -43
- package/dist/components/PieChart/styles.css.d.ts.map +1 -1
- package/dist/components/PieChart/styles.css.js +57 -49
- package/dist/components/PieChart/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Popover/index.js +88 -82
- package/dist/components/Popover/styles.css.d.ts +31 -29
- package/dist/components/Popover/styles.css.d.ts.map +1 -1
- package/dist/components/Popover/styles.css.js +26 -18
- package/dist/components/Popover/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Popup/helpers.js +235 -251
- package/dist/components/Popup/index.d.ts.map +1 -1
- package/dist/components/Popup/index.js +325 -322
- package/dist/components/Popup/styles.css.d.ts +40 -38
- package/dist/components/Popup/styles.css.d.ts.map +1 -1
- package/dist/components/Popup/styles.css.js +42 -33
- package/dist/components/Popup/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Popup/variables.css.js +15 -9
- package/dist/components/Popup/variables.css.ts.vanilla.js +8 -0
- package/dist/components/ProgressBar/index.d.ts.map +1 -1
- package/dist/components/ProgressBar/index.js +76 -70
- package/dist/components/ProgressBar/styles.css.d.ts +6 -4
- package/dist/components/ProgressBar/styles.css.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css.js +26 -17
- package/dist/components/ProgressBar/styles.css.ts.vanilla.js +8 -0
- package/dist/components/ProgressBar/variables.css.js +8 -2
- package/dist/components/ProgressBar/variables.css.ts.vanilla.js +8 -0
- package/dist/components/Radio/index.d.ts.map +1 -1
- package/dist/components/Radio/index.js +96 -91
- package/dist/components/Radio/styles.css.d.ts +12 -10
- package/dist/components/Radio/styles.css.d.ts.map +1 -1
- package/dist/components/Radio/styles.css.js +26 -16
- package/dist/components/Radio/styles.css.ts.vanilla.js +8 -0
- package/dist/components/RadioGroup/index.js +104 -98
- package/dist/components/RadioGroup/styles.css.d.ts +3 -1
- package/dist/components/RadioGroup/styles.css.d.ts.map +1 -1
- package/dist/components/RadioGroup/styles.css.js +9 -3
- package/dist/components/RadioGroup/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Row/index.js +23 -19
- package/dist/components/Row/styles.css.d.ts +3 -1
- package/dist/components/Row/styles.css.d.ts.map +1 -1
- package/dist/components/Row/styles.css.js +491 -485
- package/dist/components/Row/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Row/variables.css.js +24 -18
- package/dist/components/Row/variables.css.ts.vanilla.js +8 -0
- package/dist/components/SearchInput/KeyGroup.d.ts.map +1 -1
- package/dist/components/SearchInput/KeyGroup.js +22 -15
- package/dist/components/SearchInput/index.js +198 -195
- package/dist/components/SearchInput/styles.css.d.ts +5 -3
- package/dist/components/SearchInput/styles.css.d.ts.map +1 -1
- package/dist/components/SearchInput/styles.css.js +13 -5
- package/dist/components/SearchInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/SelectInput/SelectInputProvider.js +165 -161
- package/dist/components/SelectInput/components/Dropdown.d.ts.map +1 -1
- package/dist/components/SelectInput/components/Dropdown.js +669 -651
- package/dist/components/SelectInput/components/DropdownOption.d.ts.map +1 -1
- package/dist/components/SelectInput/components/DropdownOption.js +121 -113
- package/dist/components/SelectInput/components/SearchBarDropdown.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SearchBarDropdown.js +102 -93
- package/dist/components/SelectInput/components/SelectBar.d.ts.map +1 -1
- package/dist/components/SelectInput/components/SelectBar.js +289 -274
- package/dist/components/SelectInput/components/dropdown.css.js +33 -42
- package/dist/components/SelectInput/components/dropdown.css.ts.vanilla.js +8 -0
- package/dist/components/SelectInput/components/selectBar.css.d.ts +1 -1
- package/dist/components/SelectInput/components/selectBar.css.d.ts.map +1 -1
- package/dist/components/SelectInput/components/selectBar.css.js +50 -54
- package/dist/components/SelectInput/components/selectBar.css.ts.vanilla.js +8 -0
- package/dist/components/SelectInput/constants.js +18 -12
- package/dist/components/SelectInput/findOptionInOptions.js +12 -8
- package/dist/components/SelectInput/index.js +112 -104
- package/dist/components/SelectInput/styles.css.d.ts +164 -2
- package/dist/components/SelectInput/styles.css.d.ts.map +1 -1
- package/dist/components/SelectInput/styles.css.js +115 -4
- package/dist/components/SelectInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/SelectableCard/IllustrationContainer.d.ts +6 -2
- package/dist/components/SelectableCard/IllustrationContainer.d.ts.map +1 -1
- package/dist/components/SelectableCard/IllustrationContainer.js +43 -55
- package/dist/components/SelectableCard/MultiStateInput.js +77 -68
- package/dist/components/SelectableCard/SelectableCard.d.ts.map +1 -1
- package/dist/components/SelectableCard/SelectableCard.js +113 -106
- package/dist/components/SelectableCard/index.js +11 -0
- package/dist/components/SelectableCard/styles.css.d.ts +28 -26
- package/dist/components/SelectableCard/styles.css.d.ts.map +1 -1
- package/dist/components/SelectableCard/styles.css.js +36 -28
- package/dist/components/SelectableCard/styles.css.ts.vanilla.js +8 -0
- package/dist/components/SelectableCard/types.d.ts +8 -5
- package/dist/components/SelectableCard/types.d.ts.map +1 -1
- package/dist/components/SelectableCard/variables.css.js +10 -4
- package/dist/components/SelectableCard/variables.css.ts.vanilla.js +8 -0
- package/dist/components/SelectableCardGroup/index.js +101 -93
- package/dist/components/SelectableCardGroup/styles.css.d.ts +3 -1
- package/dist/components/SelectableCardGroup/styles.css.d.ts.map +1 -1
- package/dist/components/SelectableCardGroup/styles.css.js +9 -3
- package/dist/components/SelectableCardGroup/styles.css.ts.vanilla.js +8 -0
- package/dist/components/SelectableCardOptionGroup/Provider.js +20 -16
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/SelectableCardOptionGroup.js +73 -68
- package/dist/components/SelectableCardOptionGroup/components/Image.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Image.js +20 -15
- package/dist/components/SelectableCardOptionGroup/components/Option.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/components/Option.js +86 -73
- package/dist/components/SelectableCardOptionGroup/index.js +9 -0
- package/dist/components/SelectableCardOptionGroup/styles.css.d.ts +10 -8
- package/dist/components/SelectableCardOptionGroup/styles.css.d.ts.map +1 -1
- package/dist/components/SelectableCardOptionGroup/styles.css.js +18 -10
- package/dist/components/SelectableCardOptionGroup/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Separator/index.d.ts.map +1 -1
- package/dist/components/Separator/index.js +44 -42
- package/dist/components/Separator/styles.css.d.ts +127 -66
- package/dist/components/Separator/styles.css.d.ts.map +1 -1
- package/dist/components/Separator/styles.css.js +60 -50
- package/dist/components/Separator/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Skeleton/Block.js +18 -11
- package/dist/components/Skeleton/Blocks.d.ts.map +1 -1
- package/dist/components/Skeleton/Blocks.js +21 -12
- package/dist/components/Skeleton/BoxWithIcon.d.ts.map +1 -1
- package/dist/components/Skeleton/BoxWithIcon.js +21 -12
- package/dist/components/Skeleton/Donut.d.ts.map +1 -1
- package/dist/components/Skeleton/Donut.js +30 -22
- package/dist/components/Skeleton/IconSkeleton.d.ts.map +1 -1
- package/dist/components/Skeleton/IconSkeleton.js +9 -4
- package/dist/components/Skeleton/Line.d.ts.map +1 -1
- package/dist/components/Skeleton/Line.js +20 -13
- package/dist/components/Skeleton/List.d.ts.map +1 -1
- package/dist/components/Skeleton/List.js +20 -14
- package/dist/components/Skeleton/Slider.d.ts.map +1 -1
- package/dist/components/Skeleton/Slider.js +17 -10
- package/dist/components/Skeleton/Square.d.ts.map +1 -1
- package/dist/components/Skeleton/Square.js +9 -4
- package/dist/components/Skeleton/index.js +51 -43
- package/dist/components/Skeleton/styles.css.d.ts +22 -2
- package/dist/components/Skeleton/styles.css.d.ts.map +1 -1
- package/dist/components/Skeleton/styles.css.js +32 -4
- package/dist/components/Skeleton/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Skeleton/stylesVariants.css.js +12 -24
- package/dist/components/Skeleton/stylesVariants.css.ts.vanilla.js +8 -0
- package/dist/components/Slider/components/DoubleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/DoubleSlider.js +287 -272
- package/dist/components/Slider/components/Options.js +39 -33
- package/dist/components/Slider/components/SingleSlider.d.ts.map +1 -1
- package/dist/components/Slider/components/SingleSlider.js +201 -191
- package/dist/components/Slider/constant.js +8 -0
- package/dist/components/Slider/index.js +102 -98
- package/dist/components/Slider/styles.css.d.ts +145 -141
- package/dist/components/Slider/styles.css.d.ts.map +1 -1
- package/dist/components/Slider/styles.css.js +110 -100
- package/dist/components/Slider/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Snippet/index.d.ts.map +1 -1
- package/dist/components/Snippet/index.js +117 -110
- package/dist/components/Snippet/styles.css.d.ts +42 -40
- package/dist/components/Snippet/styles.css.d.ts.map +1 -1
- package/dist/components/Snippet/styles.css.js +58 -50
- package/dist/components/Snippet/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Stack/index.d.ts.map +1 -1
- package/dist/components/Stack/index.js +62 -60
- package/dist/components/Stack/styles.css.d.ts +3 -1
- package/dist/components/Stack/styles.css.d.ts.map +1 -1
- package/dist/components/Stack/styles.css.js +578 -572
- package/dist/components/Stack/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Stack/variables.css.js +12 -6
- package/dist/components/Stack/variables.css.ts.vanilla.js +8 -0
- package/dist/components/Status/index.js +19 -16
- package/dist/components/Status/styles.css.d.ts +22 -20
- package/dist/components/Status/styles.css.d.ts.map +1 -1
- package/dist/components/Status/styles.css.js +41 -32
- package/dist/components/Status/styles.css.ts.vanilla.js +8 -0
- package/dist/components/StepList/index.js +31 -29
- package/dist/components/StepList/styles.css.d.ts +23 -21
- package/dist/components/StepList/styles.css.d.ts.map +1 -1
- package/dist/components/StepList/styles.css.js +28 -20
- package/dist/components/StepList/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Stepper/Step.d.ts.map +1 -1
- package/dist/components/Stepper/Step.js +85 -76
- package/dist/components/Stepper/StepperProvider.js +39 -38
- package/dist/components/Stepper/index.js +51 -43
- package/dist/components/Stepper/styles.css.d.ts +101 -87
- package/dist/components/Stepper/styles.css.d.ts.map +1 -1
- package/dist/components/Stepper/styles.css.js +155 -126
- package/dist/components/Stepper/styles.css.ts.vanilla.js +8 -0
- package/dist/components/SwitchButton/FocusOverlay.js +16 -9
- package/dist/components/SwitchButton/Option.d.ts.map +1 -1
- package/dist/components/SwitchButton/Option.js +47 -39
- package/dist/components/SwitchButton/SwitchButtonContext.js +12 -8
- package/dist/components/SwitchButton/constant.js +8 -0
- package/dist/components/SwitchButton/index.js +140 -131
- package/dist/components/SwitchButton/styles.css.d.ts +7 -8
- package/dist/components/SwitchButton/styles.css.d.ts.map +1 -1
- package/dist/components/SwitchButton/styles.css.js +21 -13
- package/dist/components/SwitchButton/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Table/Body.js +7 -3
- package/dist/components/Table/Cell.js +35 -27
- package/dist/components/Table/Header.js +11 -6
- package/dist/components/Table/HeaderCell.d.ts.map +1 -1
- package/dist/components/Table/HeaderCell.js +69 -60
- package/dist/components/Table/HeaderRow.js +35 -26
- package/dist/components/Table/Row.d.ts.map +1 -1
- package/dist/components/Table/Row.js +123 -111
- package/dist/components/Table/SelectBar.js +34 -27
- package/dist/components/Table/SkeletonRows.d.ts.map +1 -1
- package/dist/components/Table/SkeletonRows.js +24 -17
- package/dist/components/Table/TableContext.js +56 -49
- package/dist/components/Table/constants.js +8 -0
- package/dist/components/Table/index.js +82 -69
- package/dist/components/Table/styles.css.d.ts +65 -63
- package/dist/components/Table/styles.css.d.ts.map +1 -1
- package/dist/components/Table/styles.css.js +56 -47
- package/dist/components/Table/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Table/variables.css.js +13 -7
- package/dist/components/Table/variables.css.ts.vanilla.js +8 -0
- package/dist/components/Tabs/Tab.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.js +95 -83
- package/dist/components/Tabs/TabMenu.js +46 -38
- package/dist/components/Tabs/TabMenuItem.js +35 -26
- package/dist/components/Tabs/TabsContext.js +8 -4
- package/dist/components/Tabs/index.js +85 -77
- package/dist/components/Tabs/styles.css.d.ts +11 -9
- package/dist/components/Tabs/styles.css.d.ts.map +1 -1
- package/dist/components/Tabs/styles.css.js +22 -14
- package/dist/components/Tabs/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Tag/index.js +78 -73
- package/dist/components/Tag/styles.css.d.ts +28 -26
- package/dist/components/Tag/styles.css.d.ts.map +1 -1
- package/dist/components/Tag/styles.css.js +62 -54
- package/dist/components/Tag/styles.css.ts.vanilla.js +8 -0
- package/dist/components/TagInput/index.d.ts.map +1 -1
- package/dist/components/TagInput/index.js +196 -187
- package/dist/components/TagInput/styles.css.d.ts +20 -18
- package/dist/components/TagInput/styles.css.d.ts.map +1 -1
- package/dist/components/TagInput/styles.css.js +22 -14
- package/dist/components/TagInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/TagList/constant.js +7 -2
- package/dist/components/TagList/index.d.ts.map +1 -1
- package/dist/components/TagList/index.js +170 -164
- package/dist/components/TagList/styles.css.d.ts +12 -10
- package/dist/components/TagList/styles.css.d.ts.map +1 -1
- package/dist/components/TagList/styles.css.js +20 -12
- package/dist/components/TagList/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Text/index.js +50 -43
- package/dist/components/Text/style.css.d.ts +48 -1
- package/dist/components/Text/style.css.d.ts.map +1 -1
- package/dist/components/Text/style.css.js +448 -442
- package/dist/components/Text/style.css.ts.vanilla.js +8 -0
- package/dist/components/Text/variables.css.js +12 -6
- package/dist/components/Text/variables.css.ts.vanilla.js +8 -0
- package/dist/components/TextArea/index.d.ts.map +1 -1
- package/dist/components/TextArea/index.js +154 -144
- package/dist/components/TextArea/styles.css.d.ts +14 -12
- package/dist/components/TextArea/styles.css.d.ts.map +1 -1
- package/dist/components/TextArea/styles.css.js +24 -16
- package/dist/components/TextArea/styles.css.ts.vanilla.js +8 -0
- package/dist/components/TextInput/index.d.ts.map +1 -1
- package/dist/components/TextInput/index.js +202 -196
- package/dist/components/TextInput/styles.css.d.ts +9 -7
- package/dist/components/TextInput/styles.css.d.ts.map +1 -1
- package/dist/components/TextInput/styles.css.js +23 -14
- package/dist/components/TextInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/TimeInput/constants.js +19 -13
- package/dist/components/TimeInput/helpers.js +46 -42
- package/dist/components/TimeInput/index.js +304 -296
- package/dist/components/TimeInput/styles.css.d.ts +69 -67
- package/dist/components/TimeInput/styles.css.d.ts.map +1 -1
- package/dist/components/TimeInput/styles.css.js +34 -26
- package/dist/components/TimeInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Toaster/Toaster.js +34 -27
- package/dist/components/Toaster/ToasterContainer.js +27 -29
- package/dist/components/Toaster/components/CloseButton.js +17 -11
- package/dist/components/Toaster/components/Content.js +19 -13
- package/dist/components/Toaster/constants.js +8 -2
- package/dist/components/Toaster/index.js +10 -0
- package/dist/components/Toaster/styles.css.d.ts +5 -3
- package/dist/components/Toaster/styles.css.d.ts.map +1 -1
- package/dist/components/Toaster/styles.css.js +13 -4
- package/dist/components/Toaster/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Toggle/index.js +93 -84
- package/dist/components/Toggle/styles.css.d.ts +83 -81
- package/dist/components/Toggle/styles.css.d.ts.map +1 -1
- package/dist/components/Toggle/styles.css.js +54 -46
- package/dist/components/Toggle/styles.css.ts.vanilla.js +8 -0
- package/dist/components/ToggleGroup/index.d.ts.map +1 -1
- package/dist/components/ToggleGroup/index.js +100 -94
- package/dist/components/ToggleGroup/styles.css.d.ts +3 -1
- package/dist/components/ToggleGroup/styles.css.d.ts.map +1 -1
- package/dist/components/ToggleGroup/styles.css.js +9 -3
- package/dist/components/ToggleGroup/styles.css.ts.vanilla.js +8 -0
- package/dist/components/Tooltip/index.js +31 -29
- package/dist/components/Tooltip/styles.css.d.ts +3 -1
- package/dist/components/Tooltip/styles.css.d.ts.map +1 -1
- package/dist/components/Tooltip/styles.css.js +9 -3
- package/dist/components/Tooltip/styles.css.ts.vanilla.js +8 -0
- package/dist/components/TreeMapChart/Tooltip.js +24 -18
- package/dist/components/TreeMapChart/index.js +54 -50
- package/dist/components/TreeMapChart/styles.css.d.ts +4 -2
- package/dist/components/TreeMapChart/styles.css.d.ts.map +1 -1
- package/dist/components/TreeMapChart/styles.css.js +12 -4
- package/dist/components/TreeMapChart/styles.css.ts.vanilla.js +8 -0
- package/dist/components/UnitInput/index.d.ts.map +1 -1
- package/dist/components/UnitInput/index.js +134 -124
- package/dist/components/UnitInput/styles.css.d.ts +8 -6
- package/dist/components/UnitInput/styles.css.d.ts.map +1 -1
- package/dist/components/UnitInput/styles.css.js +31 -23
- package/dist/components/UnitInput/styles.css.ts.vanilla.js +8 -0
- package/dist/components/VerificationCode/index.d.ts.map +1 -1
- package/dist/components/VerificationCode/index.js +153 -149
- package/dist/components/VerificationCode/styles.css.d.ts +5 -3
- package/dist/components/VerificationCode/styles.css.d.ts.map +1 -1
- package/dist/components/VerificationCode/styles.css.js +18 -10
- package/dist/components/VerificationCode/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/CodeEditor/index.d.ts.map +1 -1
- package/dist/components/compositions/CodeEditor/index.js +123 -113
- package/dist/components/compositions/CodeEditor/styles.css.d.ts +17 -15
- package/dist/components/compositions/CodeEditor/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/CodeEditor/styles.css.js +32 -24
- package/dist/components/compositions/CodeEditor/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/ContentCard/Content.d.ts.map +1 -1
- package/dist/components/compositions/ContentCard/Content.js +62 -55
- package/dist/components/compositions/ContentCard/Skeleton.d.ts.map +1 -1
- package/dist/components/compositions/ContentCard/Skeleton.js +32 -25
- package/dist/components/compositions/ContentCard/index.d.ts.map +1 -1
- package/dist/components/compositions/ContentCard/index.js +71 -68
- package/dist/components/compositions/ContentCard/styles.css.d.ts +22 -17
- package/dist/components/compositions/ContentCard/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/ContentCard/styles.css.js +41 -30
- package/dist/components/compositions/ContentCard/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/ContentCardGroup/Card.d.ts.map +1 -1
- package/dist/components/compositions/ContentCardGroup/Card.js +57 -50
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.d.ts.map +1 -1
- package/dist/components/compositions/ContentCardGroup/SkeletonCard.js +30 -23
- package/dist/components/compositions/ContentCardGroup/index.js +22 -14
- package/dist/components/compositions/ContentCardGroup/styles.css.d.ts +9 -7
- package/dist/components/compositions/ContentCardGroup/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/ContentCardGroup/styles.css.js +17 -9
- package/dist/components/compositions/ContentCardGroup/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/Conversation/index.d.ts.map +1 -1
- package/dist/components/compositions/Conversation/index.js +54 -46
- package/dist/components/compositions/Conversation/styles.css.d.ts +9 -7
- package/dist/components/compositions/Conversation/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/Conversation/styles.css.js +26 -18
- package/dist/components/compositions/Conversation/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/CustomerSatisfaction/assets/1-5.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/1-5NB.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/2-5.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/2-5NB.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/3-5.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/3-5NB.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/4-5.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/4-5NB.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/5-5.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/assets/5-5NB.js +8 -2
- package/dist/components/compositions/CustomerSatisfaction/index.d.ts.map +1 -1
- package/dist/components/compositions/CustomerSatisfaction/index.js +99 -82
- package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts +18 -16
- package/dist/components/compositions/CustomerSatisfaction/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/CustomerSatisfaction/styles.css.js +24 -14
- package/dist/components/compositions/CustomerSatisfaction/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/EstimateCost/CompactEstimateCost.js +33 -26
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/Components/ContentComponents.js +114 -103
- package/dist/components/compositions/EstimateCost/Components/CustomUnitInput.js +38 -32
- package/dist/components/compositions/EstimateCost/Components/Item.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/Components/Item.js +159 -148
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/Components/ItemLeftSide.js +80 -67
- package/dist/components/compositions/EstimateCost/Components/ItemPrice.js +56 -49
- package/dist/components/compositions/EstimateCost/Components/LineThrough.js +19 -12
- package/dist/components/compositions/EstimateCost/Components/NumberInput.js +36 -28
- package/dist/components/compositions/EstimateCost/Components/Region.js +37 -29
- package/dist/components/compositions/EstimateCost/Components/Regular.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/Components/Regular.js +20 -14
- package/dist/components/compositions/EstimateCost/Components/Strong.js +14 -9
- package/dist/components/compositions/EstimateCost/Components/Unit.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/Components/Unit.js +52 -43
- package/dist/components/compositions/EstimateCost/Components/Zone.js +36 -28
- package/dist/components/compositions/EstimateCost/Components/components.css.d.ts +12 -12
- package/dist/components/compositions/EstimateCost/Components/components.css.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/Components/components.css.js +63 -64
- package/dist/components/compositions/EstimateCost/Components/components.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/EstimateCost/EstimateCostContent.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/EstimateCostContent.js +203 -186
- package/dist/components/compositions/EstimateCost/EstimateCostProvider.js +31 -25
- package/dist/components/compositions/EstimateCost/OverlayComponent.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/OverlayComponent.js +101 -90
- package/dist/components/compositions/EstimateCost/OverlayContext.js +11 -7
- package/dist/components/compositions/EstimateCost/constants.js +29 -23
- package/dist/components/compositions/EstimateCost/helper.js +12 -7
- package/dist/components/compositions/EstimateCost/index.js +106 -86
- package/dist/components/compositions/EstimateCost/locales/en.js +28 -22
- package/dist/components/compositions/EstimateCost/styles.css.d.ts +150 -71
- package/dist/components/compositions/EstimateCost/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/EstimateCost/styles.css.js +142 -66
- package/dist/components/compositions/EstimateCost/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/FAQ/index.d.ts +3 -5
- package/dist/components/compositions/FAQ/index.d.ts.map +1 -1
- package/dist/components/compositions/FAQ/index.js +20 -15
- package/dist/components/compositions/FAQ/styles.css.d.ts +3 -1
- package/dist/components/compositions/FAQ/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/FAQ/styles.css.js +11 -3
- package/dist/components/compositions/FAQ/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/InfoTable/Context.js +7 -2
- package/dist/components/compositions/InfoTable/components/Cell.js +39 -32
- package/dist/components/compositions/InfoTable/components/Row.js +23 -15
- package/dist/components/compositions/InfoTable/index.d.ts +5 -7
- package/dist/components/compositions/InfoTable/index.d.ts.map +1 -1
- package/dist/components/compositions/InfoTable/index.js +31 -21
- package/dist/components/compositions/InfoTable/styles.css.d.ts +8 -6
- package/dist/components/compositions/InfoTable/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/InfoTable/styles.css.js +17 -9
- package/dist/components/compositions/InfoTable/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/Navigation/Footer.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/Footer.js +62 -54
- package/dist/components/compositions/Navigation/Header.js +22 -15
- package/dist/components/compositions/Navigation/NavigationContent.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/NavigationContent.js +105 -93
- package/dist/components/compositions/Navigation/NavigationProvider.js +121 -113
- package/dist/components/compositions/Navigation/animations.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/Navigation/components/Group.js +42 -33
- package/dist/components/compositions/Navigation/components/Item.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/Item.js +190 -179
- package/dist/components/compositions/Navigation/components/ItemExpanded.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/ItemExpanded.js +207 -196
- package/dist/components/compositions/Navigation/components/ItemFragments.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/ItemFragments.js +61 -53
- package/dist/components/compositions/Navigation/components/ItemMenu.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/ItemMenu.js +135 -122
- package/dist/components/compositions/Navigation/components/ItemProvider.js +14 -10
- package/dist/components/compositions/Navigation/components/PinnedItems.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/PinnedItems.js +103 -94
- package/dist/components/compositions/Navigation/components/Separator.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/Separator.js +11 -5
- package/dist/components/compositions/Navigation/components/ShowHide.js +50 -42
- package/dist/components/compositions/Navigation/components/items.css.d.ts +22 -22
- package/dist/components/compositions/Navigation/components/items.css.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/items.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/Navigation/components/styles.css.d.ts +7 -7
- package/dist/components/compositions/Navigation/components/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/components/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/Navigation/constants.js +8 -0
- package/dist/components/compositions/Navigation/index.js +34 -28
- package/dist/components/compositions/Navigation/locales/en.js +16 -10
- package/dist/components/compositions/Navigation/styles.css.d.ts +156 -33
- package/dist/components/compositions/Navigation/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/Navigation/styles.css.js +186 -30
- package/dist/components/compositions/Navigation/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/Navigation/variables.css.js +8 -2
- package/dist/components/compositions/Navigation/variables.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/OfferList/OfferListProvider.d.ts.map +1 -1
- package/dist/components/compositions/OfferList/OfferListProvider.js +41 -23
- package/dist/components/compositions/OfferList/components/Banner.d.ts.map +1 -1
- package/dist/components/compositions/OfferList/components/Banner.js +35 -27
- package/dist/components/compositions/OfferList/components/Cell.d.ts.map +1 -1
- package/dist/components/compositions/OfferList/components/Cell.js +35 -26
- package/dist/components/compositions/OfferList/components/OfferListRowProvider.js +10 -6
- package/dist/components/compositions/OfferList/components/Row.d.ts.map +1 -1
- package/dist/components/compositions/OfferList/components/Row.js +176 -160
- package/dist/components/compositions/OfferList/index.js +54 -45
- package/dist/components/compositions/OfferList/styles.css.d.ts +40 -37
- package/dist/components/compositions/OfferList/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/OfferList/styles.css.js +127 -118
- package/dist/components/compositions/OfferList/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/OptionSelector/components/ArrowIcon.js +18 -13
- package/dist/components/compositions/OptionSelector/components/IconWithContent.js +13 -8
- package/dist/components/compositions/OptionSelector/components/RevealOnHover.d.ts.map +1 -1
- package/dist/components/compositions/OptionSelector/components/RevealOnHover.js +17 -12
- package/dist/components/compositions/OptionSelector/components/Selector.d.ts.map +1 -1
- package/dist/components/compositions/OptionSelector/components/Selector.js +33 -27
- package/dist/components/compositions/OptionSelector/components/SelectorLabel.d.ts.map +1 -1
- package/dist/components/compositions/OptionSelector/components/SelectorLabel.js +17 -11
- package/dist/components/compositions/OptionSelector/index.d.ts.map +1 -1
- package/dist/components/compositions/OptionSelector/index.js +147 -140
- package/dist/components/compositions/OptionSelector/styles.css.d.ts +25 -23
- package/dist/components/compositions/OptionSelector/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/OptionSelector/styles.css.js +37 -28
- package/dist/components/compositions/OptionSelector/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/OrderSummary/NonScrollableContent.d.ts.map +1 -1
- package/dist/components/compositions/OrderSummary/NonScrollableContent.js +92 -83
- package/dist/components/compositions/OrderSummary/Provider.js +20 -14
- package/dist/components/compositions/OrderSummary/ScrollableContent.d.ts.map +1 -1
- package/dist/components/compositions/OrderSummary/ScrollableContent.js +220 -210
- package/dist/components/compositions/OrderSummary/constants.js +21 -15
- package/dist/components/compositions/OrderSummary/helpers.js +132 -125
- package/dist/components/compositions/OrderSummary/index.d.ts.map +1 -1
- package/dist/components/compositions/OrderSummary/index.js +142 -128
- package/dist/components/compositions/OrderSummary/locales/en.js +16 -10
- package/dist/components/compositions/OrderSummary/styles.css.d.ts +21 -19
- package/dist/components/compositions/OrderSummary/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/OrderSummary/styles.css.js +34 -26
- package/dist/components/compositions/OrderSummary/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/Plans/FeatureHint.js +39 -32
- package/dist/components/compositions/Plans/PlanHeader.d.ts.map +1 -1
- package/dist/components/compositions/Plans/PlanHeader.js +99 -89
- package/dist/components/compositions/Plans/index.d.ts.map +1 -1
- package/dist/components/compositions/Plans/index.js +159 -148
- package/dist/components/compositions/Plans/locales/en.js +12 -6
- package/dist/components/compositions/Plans/styles.css.d.ts +53 -51
- package/dist/components/compositions/Plans/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/Plans/styles.css.js +41 -33
- package/dist/components/compositions/Plans/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/SteppedListCard/Step.js +47 -39
- package/dist/components/compositions/SteppedListCard/SteppedListContent.d.ts.map +1 -1
- package/dist/components/compositions/SteppedListCard/SteppedListContent.js +56 -48
- package/dist/components/compositions/SteppedListCard/helper.js +27 -27
- package/dist/components/compositions/SteppedListCard/index.d.ts.map +1 -1
- package/dist/components/compositions/SteppedListCard/index.js +98 -88
- package/dist/components/compositions/SteppedListCard/styles.css.d.ts +10 -8
- package/dist/components/compositions/SteppedListCard/styles.css.d.ts.map +1 -1
- package/dist/components/compositions/SteppedListCard/styles.css.js +18 -10
- package/dist/components/compositions/SteppedListCard/styles.css.ts.vanilla.js +8 -0
- package/dist/components/compositions/index.js +35 -14
- package/dist/components/compositions/styles.d.ts +15 -0
- package/dist/components/compositions/styles.d.ts.map +1 -0
- package/dist/components/compositions/styles.js +37 -0
- package/dist/components/index.js +167 -0
- package/dist/components/styles.d.ts +75 -0
- package/dist/components/styles.d.ts.map +1 -0
- package/dist/components/styles.js +157 -0
- package/dist/helpers/isClientSide.js +9 -6
- package/dist/helpers/legend.js +13 -9
- package/dist/helpers/nivoTheme.js +20 -16
- package/dist/helpers/recursivelyGetChildrenString.js +16 -12
- package/dist/helpers/treeMap.js +25 -103
- package/dist/hooks/useIsOverflowing.js +25 -24
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +96 -8
- package/dist/theme/ThemeProvider.js +46 -49
- package/dist/theme/index.js +19 -20
- package/dist/themes/dist/vanilla/themes.css.js.vanilla.js +8 -0
- package/dist/ui.css +1 -1
- package/dist/utils/animations/animations.js +8 -0
- package/dist/utils/animations/animations2.js +33 -27
- package/dist/utils/animations/{animationsVE.css.d.ts → animationsVanillaExtract.css.d.ts} +1 -1
- package/dist/utils/animations/animationsVanillaExtract.css.d.ts.map +1 -0
- package/dist/utils/animations/animationsVanillaExtract.css.js +39 -0
- package/dist/utils/animations/animationsVanillaExtract.css.ts.vanilla.js +8 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +10 -2
- package/dist/utils/normalize.js +7 -3
- package/dist/utils/responsive/utilities.js +15 -10
- package/package.json +12 -6
- package/dist/_virtual/_@oxc-project_runtime@0.114.0/helpers/asyncToGenerator.js +0 -32
- package/dist/_virtual/_@oxc-project_runtime@0.114.0/helpers/defineProperty.js +0 -15
- package/dist/_virtual/_@oxc-project_runtime@0.114.0/helpers/objectWithoutProperties.js +0 -18
- package/dist/_virtual/_@oxc-project_runtime@0.114.0/helpers/objectWithoutPropertiesLoose.js +0 -15
- package/dist/_virtual/_@oxc-project_runtime@0.114.0/helpers/toPropertyKey.js +0 -12
- package/dist/components/DateInput/components/styles.css.js +0 -11
- package/dist/components/compositions/Navigation/components/items.css.js +0 -124
- package/dist/components/compositions/Navigation/components/styles.css.js +0 -29
- package/dist/helpers/isJSON.d.ts +0 -3
- package/dist/helpers/isJSON.d.ts.map +0 -1
- package/dist/utils/animations/animationsVE.css.d.ts.map +0 -1
- package/dist/utils/animations/animationsVE.css.js +0 -33
|
@@ -1,159 +1,166 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { Label } from "../../Label/index.js";
|
|
4
|
-
import {
|
|
5
|
-
import { Arrow } from "./components/ArrowIcon.js";
|
|
6
|
-
import { IconWithContent } from "./components/IconWithContent.js";
|
|
7
|
-
import { RevealOnHover } from "./components/RevealOnHover.js";
|
|
8
|
-
import { Selector } from "./components/Selector.js";
|
|
9
|
-
import { SelectorHelper } from "./components/SelectorLabel.js";
|
|
2
|
+
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { Label, init_Label } from "../../Label/index.js";
|
|
4
|
+
import { init_styles_css, optionSelectorStyle } from "./styles.css.js";
|
|
5
|
+
import { Arrow, init_ArrowIcon } from "./components/ArrowIcon.js";
|
|
6
|
+
import { IconWithContent, init_IconWithContent } from "./components/IconWithContent.js";
|
|
7
|
+
import { RevealOnHover, init_RevealOnHover } from "./components/RevealOnHover.js";
|
|
8
|
+
import { Selector, init_Selector } from "./components/Selector.js";
|
|
9
|
+
import { SelectorHelper, init_SelectorLabel } from "./components/SelectorLabel.js";
|
|
10
10
|
import { useMemo } from "react";
|
|
11
|
-
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
11
|
import { cn } from "@ultraviolet/utils";
|
|
12
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
|
|
14
14
|
//#region src/components/compositions/OptionSelector/index.tsx
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
var makeSelectInputOptions, OptionSelector;
|
|
16
|
+
var init_OptionSelector = __esmMin(() => {
|
|
17
|
+
init_Label();
|
|
18
|
+
init_ArrowIcon();
|
|
19
|
+
init_IconWithContent();
|
|
20
|
+
init_RevealOnHover();
|
|
21
|
+
init_Selector();
|
|
22
|
+
init_SelectorLabel();
|
|
23
|
+
init_styles_css();
|
|
24
|
+
makeSelectInputOptions = (options) => options.map((option) => {
|
|
25
|
+
const optionLabel = option.hoverContent ? /* @__PURE__ */ jsx(RevealOnHover, {
|
|
26
|
+
content: /* @__PURE__ */ jsx(IconWithContent, {
|
|
27
|
+
content: option.content,
|
|
28
|
+
icon: option.icon
|
|
29
|
+
}),
|
|
30
|
+
hoverContent: /* @__PURE__ */ jsx(IconWithContent, {
|
|
31
|
+
content: option.hoverContent,
|
|
32
|
+
icon: option.icon
|
|
33
|
+
})
|
|
34
|
+
}, option.value) : /* @__PURE__ */ jsx(IconWithContent, {
|
|
18
35
|
content: option.content,
|
|
19
36
|
icon: option.icon
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
37
|
+
}, option.value);
|
|
38
|
+
return {
|
|
39
|
+
disabled: option.disabled,
|
|
40
|
+
label: optionLabel,
|
|
41
|
+
optionalInfo: option.optionalInfo,
|
|
42
|
+
searchText: option.value,
|
|
43
|
+
tooltip: option.tooltip,
|
|
44
|
+
value: option.value
|
|
45
|
+
};
|
|
46
|
+
});
|
|
47
|
+
OptionSelector = ({ className, style, "data-testid": dataTestId, firstSelector, secondSelector, size = "large", disabled, readOnly, "aria-label": ariaLabel, error, required, onChange, name, value, hideWhenEmpty, direction = "horizontal" }) => {
|
|
48
|
+
const firstValue = useMemo(() => {
|
|
49
|
+
if (value === null || value === void 0 ? void 0 : value.first) return value.first;
|
|
50
|
+
if (firstSelector.options.length === 1) {
|
|
51
|
+
onChange === null || onChange === void 0 || onChange({
|
|
52
|
+
first: firstSelector.options[0].value,
|
|
53
|
+
second: value === null || value === void 0 ? void 0 : value.second,
|
|
54
|
+
changingValue: "first"
|
|
55
|
+
});
|
|
56
|
+
return firstSelector.options[0].value;
|
|
57
|
+
}
|
|
58
|
+
}, [
|
|
59
|
+
value === null || value === void 0 ? void 0 : value.first,
|
|
60
|
+
value === null || value === void 0 ? void 0 : value.second,
|
|
61
|
+
onChange,
|
|
62
|
+
firstSelector
|
|
63
|
+
]);
|
|
64
|
+
const secondValue = useMemo(() => {
|
|
65
|
+
if (value === null || value === void 0 ? void 0 : value.second) return value.second;
|
|
66
|
+
if ((secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.options.length) === 1) {
|
|
67
|
+
onChange === null || onChange === void 0 || onChange({
|
|
68
|
+
first: value === null || value === void 0 ? void 0 : value.first,
|
|
69
|
+
second: secondSelector.options[0].value,
|
|
70
|
+
changingValue: "second"
|
|
71
|
+
});
|
|
72
|
+
return secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.options[0].value;
|
|
73
|
+
}
|
|
74
|
+
}, [
|
|
75
|
+
secondSelector,
|
|
76
|
+
value === null || value === void 0 ? void 0 : value.first,
|
|
77
|
+
value === null || value === void 0 ? void 0 : value.second,
|
|
78
|
+
onChange
|
|
79
|
+
]);
|
|
80
|
+
const firstSelectorOptions = makeSelectInputOptions(firstSelector.options);
|
|
81
|
+
const secondSelectorOptions = (secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.options) ? makeSelectInputOptions(secondSelector.options) : void 0;
|
|
82
|
+
const onChangeFirstSelector = (val) => {
|
|
46
83
|
onChange === null || onChange === void 0 || onChange({
|
|
47
|
-
first:
|
|
84
|
+
first: val,
|
|
48
85
|
second: value === null || value === void 0 ? void 0 : value.second,
|
|
49
86
|
changingValue: "first"
|
|
50
87
|
});
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}, [
|
|
54
|
-
value === null || value === void 0 ? void 0 : value.first,
|
|
55
|
-
value === null || value === void 0 ? void 0 : value.second,
|
|
56
|
-
onChange,
|
|
57
|
-
firstSelector
|
|
58
|
-
]);
|
|
59
|
-
const secondValue = useMemo(() => {
|
|
60
|
-
if (value === null || value === void 0 ? void 0 : value.second) return value.second;
|
|
61
|
-
if ((secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.options.length) === 1) {
|
|
88
|
+
};
|
|
89
|
+
const onChangeSecondSelector = (val) => {
|
|
62
90
|
onChange === null || onChange === void 0 || onChange({
|
|
63
91
|
first: value === null || value === void 0 ? void 0 : value.first,
|
|
64
|
-
second:
|
|
92
|
+
second: val,
|
|
65
93
|
changingValue: "second"
|
|
66
94
|
});
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
95
|
+
};
|
|
96
|
+
const isReadOnly = (selector) => selector.options.length === 1 || selector.readOnly || readOnly;
|
|
97
|
+
const isHorizontal = direction === "horizontal";
|
|
98
|
+
const firstSelectorStringError = typeof firstSelector.error === "string";
|
|
99
|
+
const secondSelectorStringError = typeof (secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.error) === "string";
|
|
100
|
+
return /* @__PURE__ */ jsxs("fieldset", {
|
|
101
|
+
"aria-label": ariaLabel,
|
|
102
|
+
className: cn(className, optionSelectorStyle.wrapper({ direction })),
|
|
103
|
+
"data-testid": dataTestId,
|
|
104
|
+
name,
|
|
105
|
+
style,
|
|
106
|
+
children: [
|
|
107
|
+
isHorizontal ? /* @__PURE__ */ jsx(Label, {
|
|
108
|
+
className: optionSelectorStyle.firstLabel,
|
|
109
|
+
required,
|
|
110
|
+
size,
|
|
111
|
+
children: firstSelector.label
|
|
112
|
+
}) : null,
|
|
113
|
+
firstValue && secondSelector && secondSelectorOptions && isHorizontal ? /* @__PURE__ */ jsx(Label, {
|
|
114
|
+
className: optionSelectorStyle.secondLabel,
|
|
115
|
+
required,
|
|
116
|
+
children: secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.label
|
|
117
|
+
}) : null,
|
|
118
|
+
/* @__PURE__ */ jsx(Selector, {
|
|
119
|
+
direction,
|
|
120
|
+
disabled,
|
|
121
|
+
error,
|
|
122
|
+
firstSelector,
|
|
123
|
+
isFirst: true,
|
|
124
|
+
isHorizontal,
|
|
125
|
+
onChange: onChangeFirstSelector,
|
|
126
|
+
options: firstSelectorOptions,
|
|
127
|
+
readOnly: isReadOnly(firstSelector),
|
|
128
|
+
required,
|
|
129
|
+
size,
|
|
130
|
+
value: firstValue
|
|
131
|
+
}),
|
|
132
|
+
secondSelector && secondSelectorOptions && !(hideWhenEmpty && !firstValue) ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Arrow, {
|
|
133
|
+
direction,
|
|
134
|
+
size
|
|
135
|
+
}), /* @__PURE__ */ jsx(Selector, {
|
|
136
|
+
direction,
|
|
137
|
+
disabled: disabled || !firstValue || !!firstSelector.error,
|
|
138
|
+
error,
|
|
139
|
+
firstSelector: secondSelector,
|
|
140
|
+
isHorizontal,
|
|
141
|
+
onChange: onChangeSecondSelector,
|
|
142
|
+
options: secondSelectorOptions,
|
|
143
|
+
readOnly: isReadOnly(secondSelector),
|
|
144
|
+
required,
|
|
145
|
+
size,
|
|
146
|
+
value: secondValue
|
|
147
|
+
})] }) : null,
|
|
148
|
+
isHorizontal && (firstSelectorStringError || firstSelector.helper) ? /* @__PURE__ */ jsx(SelectorHelper, {
|
|
149
|
+
error: firstSelector.error,
|
|
150
|
+
helper: firstSelector.helper,
|
|
151
|
+
isError: firstSelectorStringError,
|
|
152
|
+
isFirst: true
|
|
153
|
+
}) : null,
|
|
154
|
+
secondSelector && isHorizontal && (secondSelectorStringError || (secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.helper)) ? /* @__PURE__ */ jsx(SelectorHelper, {
|
|
155
|
+
error: secondSelector.error,
|
|
156
|
+
helper: secondSelector.helper,
|
|
157
|
+
isError: secondSelectorStringError
|
|
158
|
+
}) : null
|
|
159
|
+
]
|
|
89
160
|
});
|
|
90
161
|
};
|
|
91
|
-
|
|
92
|
-
const isHorizontal = direction === "horizontal";
|
|
93
|
-
const firstSelectorStringError = typeof firstSelector.error === "string";
|
|
94
|
-
const secondSelectorStringError = typeof (secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.error) === "string";
|
|
95
|
-
return /* @__PURE__ */ jsxs("fieldset", {
|
|
96
|
-
"aria-label": ariaLabel,
|
|
97
|
-
className: cn(className, optionSelectorWrapper({ direction })),
|
|
98
|
-
"data-testid": dataTestId,
|
|
99
|
-
name,
|
|
100
|
-
style,
|
|
101
|
-
children: [
|
|
102
|
-
isHorizontal ? /* @__PURE__ */ jsx(Label, {
|
|
103
|
-
className: firstLabel,
|
|
104
|
-
required,
|
|
105
|
-
size,
|
|
106
|
-
children: firstSelector.label
|
|
107
|
-
}) : null,
|
|
108
|
-
firstValue && secondSelector && secondSelectorOptions && isHorizontal ? /* @__PURE__ */ jsx(Label, {
|
|
109
|
-
className: secondLabel,
|
|
110
|
-
required,
|
|
111
|
-
children: secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.label
|
|
112
|
-
}) : null,
|
|
113
|
-
/* @__PURE__ */ jsx(Selector, {
|
|
114
|
-
direction,
|
|
115
|
-
disabled,
|
|
116
|
-
error,
|
|
117
|
-
firstSelector,
|
|
118
|
-
isFirst: true,
|
|
119
|
-
isHorizontal,
|
|
120
|
-
onChange: onChangeFirstSelector,
|
|
121
|
-
options: firstSelectorOptions,
|
|
122
|
-
readOnly: isReadOnly(firstSelector),
|
|
123
|
-
required,
|
|
124
|
-
size,
|
|
125
|
-
value: firstValue
|
|
126
|
-
}),
|
|
127
|
-
secondSelector && secondSelectorOptions && !(hideWhenEmpty && !firstValue) ? /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Arrow, {
|
|
128
|
-
direction,
|
|
129
|
-
size
|
|
130
|
-
}), /* @__PURE__ */ jsx(Selector, {
|
|
131
|
-
direction,
|
|
132
|
-
disabled: disabled || !firstValue || !!firstSelector.error,
|
|
133
|
-
error,
|
|
134
|
-
firstSelector: secondSelector,
|
|
135
|
-
isHorizontal,
|
|
136
|
-
onChange: onChangeSecondSelector,
|
|
137
|
-
options: secondSelectorOptions,
|
|
138
|
-
readOnly: isReadOnly(secondSelector),
|
|
139
|
-
required,
|
|
140
|
-
size,
|
|
141
|
-
value: secondValue
|
|
142
|
-
})] }) : null,
|
|
143
|
-
isHorizontal && (firstSelectorStringError || firstSelector.helper) ? /* @__PURE__ */ jsx(SelectorHelper, {
|
|
144
|
-
error: firstSelector.error,
|
|
145
|
-
helper: firstSelector.helper,
|
|
146
|
-
isError: firstSelectorStringError,
|
|
147
|
-
isFirst: true
|
|
148
|
-
}) : null,
|
|
149
|
-
secondSelector && isHorizontal && (secondSelectorStringError || (secondSelector === null || secondSelector === void 0 ? void 0 : secondSelector.helper)) ? /* @__PURE__ */ jsx(SelectorHelper, {
|
|
150
|
-
error: secondSelector.error,
|
|
151
|
-
helper: secondSelector.helper,
|
|
152
|
-
isError: secondSelectorStringError
|
|
153
|
-
}) : null
|
|
154
|
-
]
|
|
155
|
-
});
|
|
156
|
-
};
|
|
162
|
+
});
|
|
157
163
|
|
|
158
164
|
//#endregion
|
|
159
|
-
|
|
165
|
+
init_OptionSelector();
|
|
166
|
+
export { OptionSelector, init_OptionSelector };
|
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
export declare const optionSelectorStyle: {
|
|
2
|
+
arrow: Record<"horizontal" | "vertical", string>;
|
|
3
|
+
errorFirstSelector: string;
|
|
4
|
+
errorSecondSelector: string;
|
|
5
|
+
wrapper: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
6
|
+
direction: {
|
|
7
|
+
horizontal: {
|
|
8
|
+
display: "grid";
|
|
9
|
+
alignItems: "center";
|
|
10
|
+
gridTemplateColumns: `1fr var(--${string}) 1fr`;
|
|
11
|
+
gap: `var(--${string})`;
|
|
12
|
+
};
|
|
13
|
+
vertical: {
|
|
14
|
+
display: "flex";
|
|
15
|
+
flexDirection: "column";
|
|
16
|
+
alignItems: "start";
|
|
17
|
+
gap: `var(--${string})`;
|
|
18
|
+
};
|
|
8
19
|
};
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}>;
|
|
17
|
-
export declare const revealOnHover: string;
|
|
18
|
-
export declare const firstLabel: string;
|
|
19
|
-
export declare const secondLabel: string;
|
|
20
|
-
export declare const firstSelectInput: Record<"horizontal" | "vertical", string>;
|
|
21
|
-
export declare const secondSelectInput: Record<"horizontal" | "vertical", string>;
|
|
22
|
-
export declare const arrow: Record<"horizontal" | "vertical", string>;
|
|
23
|
-
export declare const errorFirstSelector: string;
|
|
24
|
-
export declare const errorSecondSelector: string;
|
|
20
|
+
}>;
|
|
21
|
+
revealOnHover: string;
|
|
22
|
+
firstLabel: string;
|
|
23
|
+
secondLabel: string;
|
|
24
|
+
firstSelectInput: Record<"horizontal" | "vertical", string>;
|
|
25
|
+
secondSelectInput: Record<"horizontal" | "vertical", string>;
|
|
26
|
+
};
|
|
25
27
|
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OptionSelector/styles.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OptionSelector/styles.css.ts"],"names":[],"mappings":"AA8FA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;CAU/B,CAAA"}
|
|
@@ -1,34 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { init_dropdown_css_ts_vanilla } from "../../SelectInput/components/dropdown.css.ts.vanilla.js";
|
|
3
|
+
import { init_styles_css_ts_vanilla } from "./styles.css.ts.vanilla.js";
|
|
3
4
|
import { createRuntimeFn } from "@vanilla-extract/recipes/createRuntimeFn";
|
|
4
5
|
|
|
5
6
|
//#region src/components/compositions/OptionSelector/styles.css.ts
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
var optionSelectorStyle;
|
|
8
|
+
var init_styles_css = __esmMin(() => {
|
|
9
|
+
init_dropdown_css_ts_vanilla();
|
|
10
|
+
init_styles_css_ts_vanilla();
|
|
11
|
+
optionSelectorStyle = {
|
|
12
|
+
arrow: {
|
|
13
|
+
horizontal: "uv_12opk3la",
|
|
14
|
+
vertical: "uv_12opk3lb"
|
|
15
|
+
},
|
|
16
|
+
errorFirstSelector: "uv_12opk3lc",
|
|
17
|
+
errorSecondSelector: "uv_12opk3ld",
|
|
18
|
+
wrapper: createRuntimeFn({
|
|
19
|
+
defaultClassName: "uv_12opk3l0",
|
|
20
|
+
variantClassNames: { direction: {
|
|
21
|
+
horizontal: "uv_12opk3l1",
|
|
22
|
+
vertical: "uv_12opk3l2"
|
|
23
|
+
} },
|
|
24
|
+
defaultVariants: { direction: "horizontal" },
|
|
25
|
+
compoundVariants: []
|
|
26
|
+
}),
|
|
27
|
+
revealOnHover: "uv_12opk3l3",
|
|
28
|
+
firstLabel: "uv_12opk3l4",
|
|
29
|
+
secondLabel: "uv_12opk3l5",
|
|
30
|
+
firstSelectInput: {
|
|
31
|
+
horizontal: "uv_12opk3l6",
|
|
32
|
+
vertical: "uv_12opk3l7"
|
|
33
|
+
},
|
|
34
|
+
secondSelectInput: {
|
|
35
|
+
horizontal: "uv_12opk3l8",
|
|
36
|
+
vertical: "uv_12opk3l9"
|
|
37
|
+
}
|
|
38
|
+
};
|
|
14
39
|
});
|
|
15
|
-
var revealOnHover = "uv_12opk3l3";
|
|
16
|
-
var firstLabel = "uv_12opk3l4";
|
|
17
|
-
var secondLabel = "uv_12opk3l5";
|
|
18
|
-
var firstSelectInput = {
|
|
19
|
-
horizontal: "uv_12opk3l6",
|
|
20
|
-
vertical: "uv_12opk3l7"
|
|
21
|
-
};
|
|
22
|
-
var secondSelectInput = {
|
|
23
|
-
horizontal: "uv_12opk3l8",
|
|
24
|
-
vertical: "uv_12opk3l9"
|
|
25
|
-
};
|
|
26
|
-
var arrow = {
|
|
27
|
-
horizontal: "uv_12opk3la",
|
|
28
|
-
vertical: "uv_12opk3lb"
|
|
29
|
-
};
|
|
30
|
-
var errorFirstSelector = "uv_12opk3lc";
|
|
31
|
-
var errorSecondSelector = "uv_12opk3ld";
|
|
32
40
|
|
|
33
41
|
//#endregion
|
|
34
|
-
|
|
42
|
+
init_styles_css();
|
|
43
|
+
export { init_styles_css, optionSelectorStyle };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __esmMin } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
|
|
3
|
+
//#region src/components/compositions/OptionSelector/styles.css.ts.vanilla.css
|
|
4
|
+
var init_styles_css_ts_vanilla = __esmMin(() => {});
|
|
5
|
+
|
|
6
|
+
//#endregion
|
|
7
|
+
init_styles_css_ts_vanilla();
|
|
8
|
+
export { init_styles_css_ts_vanilla };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NonScrollableContent.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OrderSummary/NonScrollableContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"NonScrollableContent.d.ts","sourceRoot":"","sources":["../../../../src/components/compositions/OrderSummary/NonScrollableContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAOtC,OAAO,KAAK,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAExD,KAAK,yBAAyB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,eAAe,CAAA;IAC3B,MAAM,EAAE,SAAS,CAAA;IACjB,QAAQ,EAAE,SAAS,CAAA;IACnB,cAAc,CAAC,EAAE,SAAS,CAAA;IAC1B,uBAAuB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC1C,qBAAqB,CAAC,EAAE,SAAS,CAAA;IACjC,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,IAAI,EAAE,QAAQ,CAAA;IACd,gBAAgB,CAAC,EAAE,SAAS,CAAA;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,uBAAuB,EAAE,OAAO,CAAA;IAChC,gBAAgB,EAAE,MAAM,CAAA;CACzB,CAAA;AAED,eAAO,MAAM,oBAAoB,+QAyHhC,CAAA"}
|
|
@@ -1,89 +1,65 @@
|
|
|
1
|
-
import { __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import { Stack } from "../../Stack/index.js";
|
|
3
|
-
import { Text } from "../../Text/index.js";
|
|
4
|
-
import { OrderSummaryContext } from "./Provider.js";
|
|
5
|
-
import { DisplayPrice } from "./helpers.js";
|
|
6
|
-
import {
|
|
1
|
+
import { __esmMin, __name } from "../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { Stack, init_Stack } from "../../Stack/index.js";
|
|
3
|
+
import { Text, init_Text } from "../../Text/index.js";
|
|
4
|
+
import { OrderSummaryContext, init_Provider } from "./Provider.js";
|
|
5
|
+
import { DisplayPrice, init_helpers } from "./helpers.js";
|
|
6
|
+
import { init_styles_css, orderSummaryStyle } from "./styles.css.js";
|
|
7
7
|
import { useContext } from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
|
|
10
10
|
//#region src/components/compositions/OrderSummary/NonScrollableContent.tsx
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
11
|
+
var NonScrollableContent;
|
|
12
|
+
var init_NonScrollableContent = __esmMin(() => {
|
|
13
|
+
init_Stack();
|
|
14
|
+
init_Text();
|
|
15
|
+
init_helpers();
|
|
16
|
+
init_Provider();
|
|
17
|
+
init_styles_css();
|
|
18
|
+
NonScrollableContent = ({ totalPrice, footer, children, totalPriceInfo, totalPriceInfoPlacement, unit, totalPriceDescription, additionalInfo, priceInformation, hideBeforePrice, defaultPriceInformation, timePeriodAmount }) => {
|
|
19
|
+
const { locales } = useContext(OrderSummaryContext);
|
|
20
|
+
const unitSingular = unit.endsWith("s") ? unit.slice(0, -1) : unit;
|
|
21
|
+
const divisor = defaultPriceInformation ? timePeriodAmount : void 0;
|
|
22
|
+
return /* @__PURE__ */ jsxs(Stack, {
|
|
23
|
+
className: orderSummaryStyle.nonScrollableContainer,
|
|
24
|
+
gap: 3,
|
|
25
|
+
children: [
|
|
26
|
+
children,
|
|
27
|
+
/* @__PURE__ */ jsxs(Stack, {
|
|
25
28
|
alignItems: "center",
|
|
26
29
|
direction: "row",
|
|
27
|
-
|
|
28
|
-
children: [/* @__PURE__ */ jsxs(
|
|
29
|
-
as: "span",
|
|
30
|
-
prominence: "strong",
|
|
31
|
-
sentiment: "neutral",
|
|
32
|
-
variant: "bodyStrong",
|
|
33
|
-
children: [locales["order.summary.total"], ":"]
|
|
34
|
-
}), totalPriceDescription]
|
|
35
|
-
}), totalPriceInfo] }) : /* @__PURE__ */ jsxs(Stack, {
|
|
36
|
-
alignItems: "center",
|
|
37
|
-
direction: "row",
|
|
38
|
-
gap: 1,
|
|
39
|
-
children: [/* @__PURE__ */ jsxs(Text, {
|
|
40
|
-
as: "span",
|
|
41
|
-
prominence: "strong",
|
|
42
|
-
sentiment: "neutral",
|
|
43
|
-
variant: "bodyStrong",
|
|
44
|
-
children: [
|
|
45
|
-
locales["order.summary.total"],
|
|
46
|
-
additionalInfo ? ` ${additionalInfo}` : null,
|
|
47
|
-
":"
|
|
48
|
-
]
|
|
49
|
-
}), totalPriceDescription]
|
|
50
|
-
}), /* @__PURE__ */ jsxs(Stack, {
|
|
51
|
-
alignItems: "flex-end",
|
|
52
|
-
direction: "column",
|
|
53
|
-
children: [totalPrice.totalPrice === totalPrice.totalPriceWithDiscount || hideBeforePrice ? /* @__PURE__ */ jsxs(Text, {
|
|
54
|
-
as: "span",
|
|
55
|
-
className: orderSummaryTotalPrice[defaultPriceInformation && !priceInformation ? "default" : "priceInformation"],
|
|
56
|
-
"data-testid": "total-price",
|
|
57
|
-
prominence: "strong",
|
|
58
|
-
sentiment: "neutral",
|
|
59
|
-
variant: "headingSmallStrong",
|
|
60
|
-
children: [
|
|
61
|
-
/* @__PURE__ */ jsx(DisplayPrice, {
|
|
62
|
-
beforeOrAfter: "after",
|
|
63
|
-
divisor,
|
|
64
|
-
price: totalPrice
|
|
65
|
-
}),
|
|
66
|
-
defaultPriceInformation ? `/${unitSingular}` : null,
|
|
67
|
-
priceInformation
|
|
68
|
-
]
|
|
69
|
-
}) : /* @__PURE__ */ jsxs(Stack, {
|
|
30
|
+
justifyContent: "space-between",
|
|
31
|
+
children: [totalPriceInfo && totalPriceInfoPlacement === "left" ? /* @__PURE__ */ jsxs(Stack, { children: [/* @__PURE__ */ jsxs(Stack, {
|
|
70
32
|
alignItems: "center",
|
|
71
33
|
direction: "row",
|
|
72
34
|
gap: 1,
|
|
73
|
-
children: [/* @__PURE__ */
|
|
35
|
+
children: [/* @__PURE__ */ jsxs(Text, {
|
|
74
36
|
as: "span",
|
|
75
|
-
prominence: "
|
|
37
|
+
prominence: "strong",
|
|
76
38
|
sentiment: "neutral",
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
39
|
+
variant: "bodyStrong",
|
|
40
|
+
children: [locales["order.summary.total"], ":"]
|
|
41
|
+
}), totalPriceDescription]
|
|
42
|
+
}), totalPriceInfo] }) : /* @__PURE__ */ jsxs(Stack, {
|
|
43
|
+
alignItems: "center",
|
|
44
|
+
direction: "row",
|
|
45
|
+
gap: 1,
|
|
46
|
+
children: [/* @__PURE__ */ jsxs(Text, {
|
|
85
47
|
as: "span",
|
|
86
|
-
|
|
48
|
+
prominence: "strong",
|
|
49
|
+
sentiment: "neutral",
|
|
50
|
+
variant: "bodyStrong",
|
|
51
|
+
children: [
|
|
52
|
+
locales["order.summary.total"],
|
|
53
|
+
additionalInfo ? ` ${additionalInfo}` : null,
|
|
54
|
+
":"
|
|
55
|
+
]
|
|
56
|
+
}), totalPriceDescription]
|
|
57
|
+
}), /* @__PURE__ */ jsxs(Stack, {
|
|
58
|
+
alignItems: "flex-end",
|
|
59
|
+
direction: "column",
|
|
60
|
+
children: [totalPrice.totalPrice === totalPrice.totalPriceWithDiscount || hideBeforePrice ? /* @__PURE__ */ jsxs(Text, {
|
|
61
|
+
as: "span",
|
|
62
|
+
className: orderSummaryStyle.totalPrice[defaultPriceInformation && !priceInformation ? "default" : "priceInformation"],
|
|
87
63
|
"data-testid": "total-price",
|
|
88
64
|
prominence: "strong",
|
|
89
65
|
sentiment: "neutral",
|
|
@@ -97,14 +73,47 @@ const NonScrollableContent = ({ totalPrice, footer, children, totalPriceInfo, to
|
|
|
97
73
|
defaultPriceInformation ? `/${unitSingular}` : null,
|
|
98
74
|
priceInformation
|
|
99
75
|
]
|
|
100
|
-
})
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
76
|
+
}) : /* @__PURE__ */ jsxs(Stack, {
|
|
77
|
+
alignItems: "center",
|
|
78
|
+
direction: "row",
|
|
79
|
+
gap: 1,
|
|
80
|
+
children: [/* @__PURE__ */ jsx(Text, {
|
|
81
|
+
as: "span",
|
|
82
|
+
prominence: "weak",
|
|
83
|
+
sentiment: "neutral",
|
|
84
|
+
strikeThrough: true,
|
|
85
|
+
variant: "bodySmallStrong",
|
|
86
|
+
children: /* @__PURE__ */ jsx(DisplayPrice, {
|
|
87
|
+
beforeOrAfter: "before",
|
|
88
|
+
divisor,
|
|
89
|
+
price: totalPrice
|
|
90
|
+
})
|
|
91
|
+
}), /* @__PURE__ */ jsxs(Text, {
|
|
92
|
+
as: "span",
|
|
93
|
+
className: orderSummaryStyle.totalPrice[priceInformation ? "priceInformation" : "default"],
|
|
94
|
+
"data-testid": "total-price",
|
|
95
|
+
prominence: "strong",
|
|
96
|
+
sentiment: "neutral",
|
|
97
|
+
variant: "headingSmallStrong",
|
|
98
|
+
children: [
|
|
99
|
+
/* @__PURE__ */ jsx(DisplayPrice, {
|
|
100
|
+
beforeOrAfter: "after",
|
|
101
|
+
divisor,
|
|
102
|
+
price: totalPrice
|
|
103
|
+
}),
|
|
104
|
+
defaultPriceInformation ? `/${unitSingular}` : null,
|
|
105
|
+
priceInformation
|
|
106
|
+
]
|
|
107
|
+
})]
|
|
108
|
+
}), totalPriceInfo && totalPriceInfoPlacement === "right" ? totalPriceInfo : null]
|
|
109
|
+
})]
|
|
110
|
+
}),
|
|
111
|
+
footer
|
|
112
|
+
]
|
|
113
|
+
});
|
|
114
|
+
};
|
|
115
|
+
});
|
|
108
116
|
|
|
109
117
|
//#endregion
|
|
110
|
-
|
|
118
|
+
init_NonScrollableContent();
|
|
119
|
+
export { NonScrollableContent, init_NonScrollableContent };
|