@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,36 +1,40 @@
|
|
|
1
|
-
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
1
|
+
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
2
2
|
|
|
3
3
|
//#region src/components/LineChart/helpers.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
4
|
+
var parse, getMin, getMax, getAverage, getMaxChartValue, getMinChartValue, getCurrent, getSelected;
|
|
5
|
+
var init_helpers = __esmMin(() => {
|
|
6
|
+
parse = (data) => {
|
|
7
|
+
if (typeof data === "number") return data || 0;
|
|
8
|
+
if (typeof data === "string") return Number.parseFloat(data) || 0;
|
|
9
|
+
if (data instanceof Date) return data.getTime();
|
|
10
|
+
return 0;
|
|
11
|
+
};
|
|
12
|
+
getMin = (values = []) => values.length > 0 ? Math.min(...values.map((data) => parse(data))) : 0;
|
|
13
|
+
getMax = (values = []) => values.length > 0 ? Math.max(...values.map((data) => parse(data))) : 0;
|
|
14
|
+
getAverage = (values = []) => values.length > 0 ? Math.round(values.reduce((sum, curr) => sum + parse(curr), 0) / values.length * 100) / 100 : 0;
|
|
15
|
+
getMaxChartValue = (preppedData) => {
|
|
16
|
+
if (!(preppedData === null || preppedData === void 0 ? void 0 : preppedData.length)) return 0;
|
|
17
|
+
const maximum = Math.max(...preppedData.map(({ data }) => getMax(data.map(({ y }) => y !== null && y !== void 0 ? y : 0))));
|
|
18
|
+
return Math.ceil(maximum + maximum * .1);
|
|
19
|
+
};
|
|
20
|
+
getMinChartValue = (preppedData) => {
|
|
21
|
+
if (!(preppedData === null || preppedData === void 0 ? void 0 : preppedData.length)) return 0;
|
|
22
|
+
const minimum = Math.min(...preppedData.map(({ data }) => getMin(data.map(({ y }) => y !== null && y !== void 0 ? y : 0))));
|
|
23
|
+
return Math.floor(minimum - minimum * .1);
|
|
24
|
+
};
|
|
25
|
+
getCurrent = (values = []) => {
|
|
26
|
+
const val = values.at(-1);
|
|
27
|
+
return val !== null && val !== void 0 ? val : 0;
|
|
28
|
+
};
|
|
29
|
+
getSelected = (label, index, selected = []) => {
|
|
30
|
+
const labelIndexed = label + index.toString();
|
|
31
|
+
const found = selected.indexOf(labelIndexed);
|
|
32
|
+
if (found !== -1) selected.splice(found, 1);
|
|
33
|
+
else selected.push(labelIndexed);
|
|
34
|
+
return selected;
|
|
35
|
+
};
|
|
36
|
+
});
|
|
34
37
|
|
|
35
38
|
//#endregion
|
|
36
|
-
|
|
39
|
+
init_helpers();
|
|
40
|
+
export { getAverage, getCurrent, getMax, getMaxChartValue, getMin, getMinChartValue, getSelected, init_helpers };
|
|
@@ -1,103 +1,108 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import { _objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.
|
|
4
|
-
import { getLegendColor } from "../../helpers/legend.js";
|
|
5
|
-
import { getNivoTheme } from "../../helpers/nivoTheme.js";
|
|
6
|
-
import { getMaxChartValue, getMinChartValue } from "./helpers.js";
|
|
7
|
-
import { CustomLegend } from "./CustomLegend.js";
|
|
8
|
-
import { LineChartTooltip } from "./Tooltip.js";
|
|
2
|
+
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import { _objectSpread2, init_objectSpread2 } from "../../_virtual/_@oxc-project_runtime@0.115.0/helpers/objectSpread2.js";
|
|
4
|
+
import { getLegendColor, init_legend } from "../../helpers/legend.js";
|
|
5
|
+
import { getNivoTheme, init_nivoTheme } from "../../helpers/nivoTheme.js";
|
|
6
|
+
import { getMaxChartValue, getMinChartValue, init_helpers } from "./helpers.js";
|
|
7
|
+
import { CustomLegend, init_CustomLegend } from "./CustomLegend.js";
|
|
8
|
+
import { LineChartTooltip, init_Tooltip } from "./Tooltip.js";
|
|
9
9
|
import { useEffect, useState } from "react";
|
|
10
10
|
import { useTheme } from "@ultraviolet/themes";
|
|
11
11
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { ResponsiveLine } from "@nivo/line";
|
|
13
13
|
|
|
14
14
|
//#region src/components/LineChart/index.tsx
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
15
|
+
var DEFAULT_MARGIN, DEFAULT_XSCALE, DEFAULT_YSCALE, DEFAULT_CHARTPROPS, createCustomTooltip, LineChart;
|
|
16
|
+
var init_LineChart = __esmMin(() => {
|
|
17
|
+
init_legend();
|
|
18
|
+
init_nivoTheme();
|
|
19
|
+
init_CustomLegend();
|
|
20
|
+
init_helpers();
|
|
21
|
+
init_Tooltip();
|
|
22
|
+
init_objectSpread2();
|
|
23
|
+
DEFAULT_MARGIN = {
|
|
24
|
+
bottom: 50,
|
|
25
|
+
left: 60,
|
|
26
|
+
right: 25,
|
|
27
|
+
top: 50
|
|
28
|
+
};
|
|
29
|
+
DEFAULT_XSCALE = {
|
|
30
|
+
format: "%Y-%m-%dT%H:%M:%S%Z",
|
|
31
|
+
precision: "minute",
|
|
32
|
+
type: "time",
|
|
33
|
+
useUTC: false
|
|
34
|
+
};
|
|
35
|
+
DEFAULT_YSCALE = { type: "linear" };
|
|
36
|
+
DEFAULT_CHARTPROPS = {};
|
|
37
|
+
createCustomTooltip = (tooltipFunction) => (props) => {
|
|
38
|
+
const customProps = tooltipFunction ? tooltipFunction(props) : {};
|
|
39
|
+
return /* @__PURE__ */ jsx(LineChartTooltip, {
|
|
40
|
+
point: props.point,
|
|
41
|
+
xFormatted: customProps.xFormatted,
|
|
42
|
+
yFormatted: customProps.yFormatted
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
LineChart = ({ height = "537px", margin = DEFAULT_MARGIN, xScale = DEFAULT_XSCALE, yScale = DEFAULT_YSCALE, data, withLegend = false, tooltipFunction, axisFormatters, pointFormatters, tickValues, chartProps = DEFAULT_CHARTPROPS, style, "data-testid": dataTestId }) => {
|
|
46
|
+
var _dataset$datasets;
|
|
47
|
+
var _dataset$datasets2;
|
|
48
|
+
const theme = useTheme();
|
|
49
|
+
const dataset = { datasets: data === null || data === void 0 ? void 0 : data.map((d) => ({
|
|
50
|
+
data: d.data,
|
|
51
|
+
id: d.id,
|
|
52
|
+
label: d === null || d === void 0 ? void 0 : d["label"]
|
|
53
|
+
})) };
|
|
54
|
+
const [selected, setSelected] = useState((_dataset$datasets = dataset.datasets) === null || _dataset$datasets === void 0 ? void 0 : _dataset$datasets.map(({ id }, index) => `${id}${index}`));
|
|
55
|
+
const finalData = (_dataset$datasets2 = dataset.datasets) === null || _dataset$datasets2 === void 0 ? void 0 : _dataset$datasets2.filter(({ id }, index) => selected ? selected.includes(`${id}${index}`) : false);
|
|
56
|
+
useEffect(() => {
|
|
57
|
+
var _dataset$datasets3;
|
|
58
|
+
if (selected !== void 0) return;
|
|
59
|
+
setSelected((_dataset$datasets3 = dataset.datasets) === null || _dataset$datasets3 === void 0 ? void 0 : _dataset$datasets3.map(({ id }, index) => `${id}${index}`));
|
|
60
|
+
}, [dataset.datasets, selected]);
|
|
61
|
+
const localColors = getLegendColor(theme);
|
|
62
|
+
const CustomTooltip = createCustomTooltip(tooltipFunction);
|
|
63
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("div", {
|
|
64
|
+
style: _objectSpread2({ height }, style),
|
|
65
|
+
children: /* @__PURE__ */ jsx(ResponsiveLine, _objectSpread2({
|
|
66
|
+
axisBottom: {
|
|
67
|
+
format: axisFormatters === null || axisFormatters === void 0 ? void 0 : axisFormatters.bottom,
|
|
68
|
+
tickPadding: 5,
|
|
69
|
+
tickRotation: 0,
|
|
70
|
+
tickSize: 5,
|
|
71
|
+
tickValues: tickValues === null || tickValues === void 0 ? void 0 : tickValues.bottom
|
|
72
|
+
},
|
|
73
|
+
axisLeft: {
|
|
74
|
+
format: axisFormatters === null || axisFormatters === void 0 ? void 0 : axisFormatters.left,
|
|
75
|
+
tickPadding: 5,
|
|
76
|
+
tickRotation: 0,
|
|
77
|
+
tickSize: 5,
|
|
78
|
+
tickValues: tickValues === null || tickValues === void 0 ? void 0 : tickValues.left
|
|
79
|
+
},
|
|
80
|
+
colors: localColors,
|
|
81
|
+
curve: "monotoneX",
|
|
82
|
+
data: finalData !== null && finalData !== void 0 ? finalData : [],
|
|
83
|
+
"data-testid": dataTestId,
|
|
84
|
+
margin,
|
|
85
|
+
pointSize: 10,
|
|
86
|
+
theme: getNivoTheme(theme),
|
|
87
|
+
tooltip: CustomTooltip,
|
|
88
|
+
useMesh: true,
|
|
89
|
+
xFormat: pointFormatters === null || pointFormatters === void 0 ? void 0 : pointFormatters.x,
|
|
90
|
+
xScale,
|
|
91
|
+
yFormat: pointFormatters === null || pointFormatters === void 0 ? void 0 : pointFormatters.y,
|
|
92
|
+
yScale: _objectSpread2({
|
|
93
|
+
max: getMaxChartValue(finalData),
|
|
94
|
+
min: getMinChartValue(finalData)
|
|
95
|
+
}, yScale)
|
|
96
|
+
}, chartProps))
|
|
97
|
+
}), withLegend && /* @__PURE__ */ jsx(CustomLegend, {
|
|
98
|
+
axisTransformer: axisFormatters === null || axisFormatters === void 0 ? void 0 : axisFormatters.left,
|
|
99
|
+
data: dataset.datasets,
|
|
100
|
+
selected: selected !== null && selected !== void 0 ? selected : [],
|
|
101
|
+
setSelected
|
|
102
|
+
})] });
|
|
103
|
+
};
|
|
104
|
+
});
|
|
101
105
|
|
|
102
106
|
//#endregion
|
|
103
|
-
|
|
107
|
+
init_LineChart();
|
|
108
|
+
export { LineChart, init_LineChart };
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
export declare const colorLine: `var(--${string})`;
|
|
2
2
|
export declare const backgroundColorLegend: `var(--${string})`;
|
|
3
|
-
export declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
3
|
+
export declare const lineChartStyle: {
|
|
4
|
+
textLegend: string;
|
|
5
|
+
cellValueContainer: string;
|
|
6
|
+
longContainer: string;
|
|
7
|
+
container: string;
|
|
8
|
+
lineTooltipContainer: string;
|
|
9
|
+
row: string;
|
|
10
|
+
lineColorSquare: string;
|
|
11
|
+
body: string;
|
|
12
|
+
head: string;
|
|
13
|
+
headTitle: string;
|
|
14
|
+
legend: string;
|
|
15
|
+
content: string;
|
|
16
|
+
};
|
|
15
17
|
//# sourceMappingURL=styles.css.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/LineChart/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,oBAAc,CAAA;AACpC,eAAO,MAAM,qBAAqB,oBAAc,CAAA;
|
|
1
|
+
{"version":3,"file":"styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/LineChart/styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,oBAAc,CAAA;AACpC,eAAO,MAAM,qBAAqB,oBAAc,CAAA;AAiFhD,eAAO,MAAM,cAAc;;;;;;;;;;;;;CAa1B,CAAA"}
|
|
@@ -1,20 +1,28 @@
|
|
|
1
|
-
|
|
1
|
+
import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
import { init_styles_css_ts_vanilla } from "./styles.css.ts.vanilla.js";
|
|
2
3
|
|
|
3
4
|
//#region src/components/LineChart/styles.css.ts
|
|
4
|
-
var colorLine
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
5
|
+
var colorLine, backgroundColorLegend, lineChartStyle;
|
|
6
|
+
var init_styles_css = __esmMin(() => {
|
|
7
|
+
init_styles_css_ts_vanilla();
|
|
8
|
+
colorLine = "var(--uv_8i9lug0)";
|
|
9
|
+
backgroundColorLegend = "var(--uv_8i9lug1)";
|
|
10
|
+
lineChartStyle = {
|
|
11
|
+
textLegend: "uv_8i9lug2",
|
|
12
|
+
cellValueContainer: "uv_8i9lug3",
|
|
13
|
+
longContainer: "uv_8i9lug4",
|
|
14
|
+
container: "uv_8i9lug5",
|
|
15
|
+
lineTooltipContainer: "uv_8i9lug6",
|
|
16
|
+
row: "uv_8i9lugc",
|
|
17
|
+
lineColorSquare: "uv_8i9lug7",
|
|
18
|
+
body: "uv_8i9lug8",
|
|
19
|
+
head: "uv_8i9lug9",
|
|
20
|
+
headTitle: "uv_8i9luga",
|
|
21
|
+
legend: "uv_8i9lugb",
|
|
22
|
+
content: "uv_8i9lugd"
|
|
23
|
+
};
|
|
24
|
+
});
|
|
18
25
|
|
|
19
26
|
//#endregion
|
|
20
|
-
|
|
27
|
+
init_styles_css();
|
|
28
|
+
export { backgroundColorLegend, colorLine, init_styles_css, lineChartStyle };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { __esmMin } from "../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
|
|
3
|
+
//#region src/components/LineChart/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":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Link/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EAEb,yBAAyB,EACzB,iBAAiB,EACjB,SAAS,EAEV,MAAM,OAAO,CAAA;AAId,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Link/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAEpD,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EAEb,yBAAyB,EACzB,iBAAiB,EACjB,SAAS,EAEV,MAAM,OAAO,CAAA;AAId,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAG9C,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,WAAW,CAAA;AAEtD,KAAK,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,QAAQ,CAAA;AAC7C,KAAK,gBAAgB,GAAG,MAAM,GAAG,OAAO,CAAA;AAExC,KAAK,SAAS,GAAG;IACf,QAAQ,EAAE,SAAS,CAAA;IACnB,MAAM,CAAC,EAAE,yBAAyB,CAAA;IAClC,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC3B,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CAAA;IAC9B,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,YAAY,CAAC,EAAE,gBAAgB,CAAA;IAC/B,GAAG,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,KAAK,CAAC,CAAA;IACpD,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,OAAO,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,CAAA;IAC9C,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,cAAc,CAAC,CAAA;IACxE,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAA;IACjC,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,GAAG,GAAG,CACL;IACE;QACE,IAAI,CAAC,EAAE,MAAM,CAAA;KACd;IACD;QACE;;;;;;;;;;;;WAYG;QACH,MAAM,EAAE,UAAU,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,CAAC,CAAA;KAC5D;CACF,CACF,CAAA;AAKD;;;GAGG;AACH,eAAO,MAAM,IAAI,yGAmHhB,CAAA"}
|
|
@@ -1,99 +1,102 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import { __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
-
import recursivelyGetChildrenString from "../../helpers/recursivelyGetChildrenString.js";
|
|
4
|
-
import { Tooltip } from "../Tooltip/index.js";
|
|
5
|
-
import {
|
|
2
|
+
import { __esmMin, __name } from "../../_virtual/_rolldown/runtime.js";
|
|
3
|
+
import recursivelyGetChildrenString, { init_recursivelyGetChildrenString } from "../../helpers/recursivelyGetChildrenString.js";
|
|
4
|
+
import { Tooltip, init_Tooltip } from "../Tooltip/index.js";
|
|
5
|
+
import { init_styles_css, linkStyle } from "./styles.css.js";
|
|
6
6
|
import { forwardRef, useEffect, useMemo, useRef, useState } from "react";
|
|
7
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
7
|
import { cn, renderElement } from "@ultraviolet/utils";
|
|
8
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { OpenInNewIcon } from "@ultraviolet/icons/OpenInNewIcon";
|
|
10
10
|
import { ArrowRightIcon } from "@ultraviolet/icons/ArrowRightIcon";
|
|
11
11
|
import { ArrowLeftIcon } from "@ultraviolet/icons/ArrowLeftIcon";
|
|
12
12
|
|
|
13
13
|
//#region src/components/Link/index.tsx
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
children,
|
|
53
|
-
className: computedClassName,
|
|
54
|
-
"data-testid": dataTestId,
|
|
55
|
-
"data-variant": variant,
|
|
56
|
-
ref: usedRef,
|
|
57
|
-
style
|
|
58
|
-
})
|
|
59
|
-
});
|
|
60
|
-
return /* @__PURE__ */ jsx(Tooltip, {
|
|
61
|
-
text: oneLine && isTruncated ? finalStringChildren : "",
|
|
62
|
-
children: /* @__PURE__ */ jsxs("a", {
|
|
63
|
-
"aria-current": ariaCurrent,
|
|
64
|
-
"aria-keyshortcuts": ariaKeyshortcuts,
|
|
65
|
-
"aria-label": ariaLabel,
|
|
66
|
-
className: computedClassName,
|
|
67
|
-
"data-testid": dataTestId,
|
|
68
|
-
"data-variant": variant,
|
|
69
|
-
download,
|
|
70
|
-
href,
|
|
71
|
-
onClick,
|
|
72
|
-
ref: usedRef,
|
|
73
|
-
rel: computedRel,
|
|
74
|
-
style,
|
|
75
|
-
target,
|
|
76
|
-
children: [
|
|
77
|
-
!isBlank && iconPosition === "left" ? /* @__PURE__ */ jsx(ArrowLeftIcon, {
|
|
78
|
-
className: iconLeftLink,
|
|
79
|
-
size: ICON_SIZE
|
|
80
|
-
}) : null,
|
|
14
|
+
var ICON_SIZE, BLANK_TARGET_ICON_SIZE, Link;
|
|
15
|
+
var init_Link = __esmMin(() => {
|
|
16
|
+
init_recursivelyGetChildrenString();
|
|
17
|
+
init_Tooltip();
|
|
18
|
+
init_styles_css();
|
|
19
|
+
ICON_SIZE = "small";
|
|
20
|
+
BLANK_TARGET_ICON_SIZE = "small";
|
|
21
|
+
Link = forwardRef(({ children, href, target, download, sentiment = "info", prominence, size = "large", iconPosition, rel, className, onClick, "aria-label": ariaLabel, "aria-current": ariaCurrent, "aria-keyshortcuts": ariaKeyshortcuts, oneLine = false, "data-testid": dataTestId, variant = "standalone", style, render }, ref) => {
|
|
22
|
+
const isBlank = target === "_blank";
|
|
23
|
+
const computedRel = rel !== null && rel !== void 0 ? rel : isBlank ? "noopener noreferrer" : void 0;
|
|
24
|
+
const [isTruncated, setIsTruncated] = useState(false);
|
|
25
|
+
const elementRef = useRef(null);
|
|
26
|
+
const usedRef = ref !== null && ref !== void 0 ? ref : elementRef;
|
|
27
|
+
const finalStringChildren = recursivelyGetChildrenString(children);
|
|
28
|
+
const textVariant = useMemo(() => {
|
|
29
|
+
if (size === "xsmall") return "captionStrong";
|
|
30
|
+
if (size === "small") return "bodySmallStrong";
|
|
31
|
+
return "bodyStrong";
|
|
32
|
+
}, [size]);
|
|
33
|
+
useEffect(() => {
|
|
34
|
+
if (oneLine && (usedRef === null || usedRef === void 0 ? void 0 : usedRef.current)) {
|
|
35
|
+
const { offsetWidth, scrollWidth } = usedRef.current;
|
|
36
|
+
setIsTruncated(offsetWidth < scrollWidth);
|
|
37
|
+
}
|
|
38
|
+
}, [
|
|
39
|
+
oneLine,
|
|
40
|
+
ref,
|
|
41
|
+
usedRef
|
|
42
|
+
]);
|
|
43
|
+
const computedClassName = cn(className, linkStyle.link({
|
|
44
|
+
oneLine,
|
|
45
|
+
prominence,
|
|
46
|
+
sentiment,
|
|
47
|
+
type: variant,
|
|
48
|
+
variant: textVariant
|
|
49
|
+
}), linkStyle.defaultLink);
|
|
50
|
+
if (render) return /* @__PURE__ */ jsx(Tooltip, {
|
|
51
|
+
text: oneLine && isTruncated ? finalStringChildren : "",
|
|
52
|
+
children: renderElement(render, {
|
|
81
53
|
children,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
54
|
+
className: computedClassName,
|
|
55
|
+
"data-testid": dataTestId,
|
|
56
|
+
"data-variant": variant,
|
|
57
|
+
ref: usedRef,
|
|
58
|
+
style
|
|
59
|
+
})
|
|
60
|
+
});
|
|
61
|
+
return /* @__PURE__ */ jsx(Tooltip, {
|
|
62
|
+
text: oneLine && isTruncated ? finalStringChildren : "",
|
|
63
|
+
children: /* @__PURE__ */ jsxs("a", {
|
|
64
|
+
"aria-current": ariaCurrent,
|
|
65
|
+
"aria-keyshortcuts": ariaKeyshortcuts,
|
|
66
|
+
"aria-label": ariaLabel,
|
|
67
|
+
className: computedClassName,
|
|
68
|
+
"data-testid": dataTestId,
|
|
69
|
+
"data-variant": variant,
|
|
70
|
+
download,
|
|
71
|
+
href,
|
|
72
|
+
onClick,
|
|
73
|
+
ref: usedRef,
|
|
74
|
+
rel: computedRel,
|
|
75
|
+
style,
|
|
76
|
+
target,
|
|
77
|
+
children: [
|
|
78
|
+
!isBlank && iconPosition === "left" ? /* @__PURE__ */ jsx(ArrowLeftIcon, {
|
|
79
|
+
className: linkStyle.iconLeft,
|
|
80
|
+
size: ICON_SIZE
|
|
81
|
+
}) : null,
|
|
82
|
+
children,
|
|
83
|
+
isBlank ? /* @__PURE__ */ jsx("span", {
|
|
84
|
+
className: linkStyle.containerIcon,
|
|
85
|
+
children: /* @__PURE__ */ jsx(OpenInNewIcon, {
|
|
86
|
+
className: linkStyle.iconRight,
|
|
87
|
+
size: BLANK_TARGET_ICON_SIZE
|
|
88
|
+
})
|
|
89
|
+
}) : null,
|
|
90
|
+
!isBlank && iconPosition === "right" ? /* @__PURE__ */ jsx(ArrowRightIcon, {
|
|
91
|
+
className: linkStyle.iconRight,
|
|
92
|
+
size: ICON_SIZE
|
|
93
|
+
}) : null
|
|
94
|
+
]
|
|
95
|
+
})
|
|
96
|
+
});
|
|
95
97
|
});
|
|
96
98
|
});
|
|
97
99
|
|
|
98
100
|
//#endregion
|
|
99
|
-
|
|
101
|
+
init_Link();
|
|
102
|
+
export { Link, init_Link };
|