@ultraviolet/ui 3.0.0-beta.2 → 3.0.0-beta.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -11
- package/dist/components/ActionBar/index.cjs +5 -30
- package/dist/components/ActionBar/index.js +5 -28
- package/dist/components/ActionBar/styles.css.cjs +11 -0
- package/dist/components/ActionBar/styles.css.d.ts +3 -0
- package/dist/components/ActionBar/styles.css.js +11 -0
- package/dist/components/Alert/index.cjs +8 -76
- package/dist/components/Alert/index.d.ts +1 -2
- package/dist/components/Alert/index.js +8 -74
- package/dist/components/Alert/styles.css.cjs +14 -0
- package/dist/components/Alert/styles.css.d.ts +35 -0
- package/dist/components/Alert/styles.css.js +14 -0
- package/dist/components/Alert/type.d.ts +2 -0
- package/dist/components/Avatar/constants.cjs +0 -9
- package/dist/components/Avatar/constants.js +0 -9
- package/dist/components/Avatar/index.cjs +42 -117
- package/dist/components/Avatar/index.js +43 -116
- package/dist/components/Avatar/styles.css.cjs +16 -0
- package/dist/components/Avatar/styles.css.d.ts +128 -0
- package/dist/components/Avatar/styles.css.js +16 -0
- package/dist/components/Avatar/variables.css.cjs +9 -0
- package/dist/components/Avatar/variables.css.d.ts +3 -0
- package/dist/components/Avatar/variables.css.js +9 -0
- package/dist/components/Badge/constant.cjs +8 -0
- package/dist/components/Badge/constant.d.ts +14 -0
- package/dist/components/Badge/constant.js +8 -0
- package/dist/components/Badge/index.cjs +10 -88
- package/dist/components/Badge/index.d.ts +2 -20
- package/dist/components/Badge/index.js +8 -84
- package/dist/components/Badge/styles.css.cjs +6 -0
- package/dist/components/Badge/styles.css.d.ts +43 -0
- package/dist/components/Badge/styles.css.js +6 -0
- package/dist/components/Banner/index.cjs +12 -69
- package/dist/components/Banner/index.d.ts +3 -5
- package/dist/components/Banner/index.js +8 -63
- package/dist/components/Banner/styles.css.cjs +10 -0
- package/dist/components/Banner/styles.css.d.ts +18 -0
- package/dist/components/Banner/styles.css.js +10 -0
- package/dist/components/BarChart/Tooltip.cjs +6 -37
- package/dist/components/BarChart/Tooltip.js +6 -35
- package/dist/components/BarChart/index.cjs +4 -4
- package/dist/components/BarChart/index.js +1 -1
- package/dist/components/BarChart/styles.css.cjs +9 -0
- package/dist/components/BarChart/styles.css.d.ts +3 -0
- package/dist/components/BarChart/styles.css.js +9 -0
- package/dist/components/BarStack/index.cjs +7 -96
- package/dist/components/BarStack/index.d.ts +2 -1
- package/dist/components/BarStack/index.js +7 -94
- package/dist/components/BarStack/styles.css.cjs +11 -0
- package/dist/components/BarStack/styles.css.d.ts +4 -0
- package/dist/components/BarStack/styles.css.js +11 -0
- package/dist/components/Breadcrumbs/components/Item.cjs +25 -42
- package/dist/components/Breadcrumbs/components/Item.d.ts +3 -2
- package/dist/components/Breadcrumbs/components/Item.js +25 -40
- package/dist/components/Breadcrumbs/components/styles.css.cjs +16 -0
- package/dist/components/Breadcrumbs/components/styles.css.d.ts +12 -0
- package/dist/components/Breadcrumbs/components/styles.css.js +16 -0
- package/dist/components/Breadcrumbs/index.cjs +2 -19
- package/dist/components/Breadcrumbs/index.js +2 -17
- package/dist/components/Breadcrumbs/styles.css.cjs +5 -0
- package/dist/components/Breadcrumbs/styles.css.d.ts +1 -0
- package/dist/components/Breadcrumbs/styles.css.js +5 -0
- package/dist/components/Bullet/constants.d.ts +10 -0
- package/dist/components/Bullet/index.cjs +9 -75
- package/dist/components/Bullet/index.d.ts +5 -14
- package/dist/components/Bullet/index.js +10 -74
- package/dist/components/Bullet/styles.css.cjs +6 -0
- package/dist/components/Bullet/styles.css.d.ts +23 -0
- package/dist/components/Bullet/styles.css.js +6 -0
- package/dist/components/Button/constants.cjs +0 -1
- package/dist/components/Button/constants.js +0 -1
- package/dist/components/Button/index.cjs +7 -6
- package/dist/components/Button/index.d.ts +4 -3
- package/dist/components/Button/index.js +6 -5
- package/dist/components/Button/styles.css.cjs +0 -2
- package/dist/components/Button/styles.css.d.ts +4 -4
- package/dist/components/Button/styles.css.js +0 -2
- package/dist/components/Card/index.cjs +9 -43
- package/dist/components/Card/index.js +4 -36
- package/dist/components/Card/styles.css.cjs +7 -0
- package/dist/components/Card/styles.css.d.ts +2 -0
- package/dist/components/Card/styles.css.js +7 -0
- package/dist/components/Carousel/index.cjs +9 -64
- package/dist/components/Carousel/index.js +9 -62
- package/dist/components/Carousel/styles.css.cjs +15 -0
- package/dist/components/Carousel/styles.css.d.ts +6 -0
- package/dist/components/Carousel/styles.css.js +15 -0
- package/dist/components/Checkbox/index.cjs +9 -207
- package/dist/components/Checkbox/index.d.ts +0 -20
- package/dist/components/Checkbox/index.js +9 -205
- package/dist/components/Checkbox/styles.css.cjs +17 -0
- package/dist/components/Checkbox/styles.css.d.ts +7 -0
- package/dist/components/Checkbox/styles.css.js +17 -0
- package/dist/components/CheckboxGroup/index.cjs +3 -34
- package/dist/components/CheckboxGroup/index.js +3 -32
- package/dist/components/CheckboxGroup/styles.css.cjs +7 -0
- package/dist/components/CheckboxGroup/styles.css.d.ts +2 -0
- package/dist/components/CheckboxGroup/styles.css.js +7 -0
- package/dist/components/Chip/ChipContext.d.ts +1 -1
- package/dist/components/Chip/ChipIcon.cjs +10 -21
- package/dist/components/Chip/ChipIcon.js +10 -19
- package/dist/components/Chip/index.cjs +2 -56
- package/dist/components/Chip/index.d.ts +1 -1
- package/dist/components/Chip/index.js +2 -54
- package/dist/components/Chip/styles.css.cjs +7 -0
- package/dist/components/Chip/styles.css.d.ts +2 -0
- package/dist/components/Chip/styles.css.js +7 -0
- package/dist/components/DateInput/components/CalendarContent.cjs +2 -20
- package/dist/components/DateInput/components/CalendarContent.js +2 -18
- package/dist/components/DateInput/components/CalendarDaily.cjs +3 -43
- package/dist/components/DateInput/components/CalendarDaily.js +3 -41
- package/dist/components/DateInput/components/CalendarMonthly.cjs +2 -24
- package/dist/components/DateInput/components/CalendarMonthly.js +2 -22
- package/dist/components/DateInput/components/Popup.cjs +2 -15
- package/dist/components/DateInput/components/Popup.js +2 -13
- package/dist/components/DateInput/components/styles.css.cjs +12 -0
- package/dist/components/DateInput/components/styles.css.d.ts +4 -0
- package/dist/components/DateInput/components/styles.css.js +12 -0
- package/dist/components/DateInput/helpers.cjs +0 -8
- package/dist/components/DateInput/helpers.d.ts +0 -2
- package/dist/components/DateInput/helpers.js +1 -9
- package/dist/components/DateInput/index.cjs +10 -30
- package/dist/components/DateInput/index.js +11 -29
- package/dist/components/DateInput/styles.css.cjs +8 -0
- package/dist/components/DateInput/styles.css.d.ts +8 -0
- package/dist/components/DateInput/styles.css.js +8 -0
- package/dist/components/Dialog/constants.d.ts +1 -1
- package/dist/components/Dialog/index.cjs +2 -2
- package/dist/components/Dialog/index.d.ts +4 -3
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/Drawer/index.cjs +14 -100
- package/dist/components/Drawer/index.d.ts +9 -16
- package/dist/components/Drawer/index.js +11 -95
- package/dist/components/Drawer/styles.css.cjs +17 -0
- package/dist/components/Drawer/styles.css.d.ts +12 -0
- package/dist/components/Drawer/styles.css.js +17 -0
- package/dist/components/EmptyState/index.cjs +11 -74
- package/dist/components/EmptyState/index.d.ts +1 -6
- package/dist/components/EmptyState/index.js +8 -69
- package/dist/components/EmptyState/styles.css.cjs +10 -0
- package/dist/components/EmptyState/styles.css.d.ts +29 -0
- package/dist/components/EmptyState/styles.css.js +10 -0
- package/dist/components/Expandable/index.cjs +5 -17
- package/dist/components/Expandable/index.d.ts +0 -6
- package/dist/components/Expandable/index.js +6 -16
- package/dist/components/Expandable/styles.css.cjs +7 -0
- package/dist/components/Expandable/styles.css.d.ts +2 -0
- package/dist/components/Expandable/styles.css.js +7 -0
- package/dist/components/ExpandableCard/index.cjs +17 -100
- package/dist/components/ExpandableCard/index.d.ts +3 -1
- package/dist/components/ExpandableCard/index.js +12 -93
- package/dist/components/ExpandableCard/styles.css.cjs +17 -0
- package/dist/components/ExpandableCard/styles.css.d.ts +7 -0
- package/dist/components/ExpandableCard/styles.css.js +17 -0
- package/dist/components/GlobalAlert/GlobalAlertLink.cjs +2 -2
- package/dist/components/GlobalAlert/GlobalAlertLink.js +1 -1
- package/dist/components/GlobalAlert/index.cjs +3 -30
- package/dist/components/GlobalAlert/index.js +3 -28
- package/dist/components/GlobalAlert/styles.css.cjs +7 -0
- package/dist/components/GlobalAlert/styles.css.d.ts +2 -0
- package/dist/components/GlobalAlert/styles.css.js +7 -0
- package/dist/components/Key/index.cjs +85 -0
- package/dist/components/Key/index.d.ts +23 -0
- package/dist/components/Key/index.js +83 -0
- package/dist/components/Label/index.cjs +20 -24
- package/dist/components/Label/index.js +20 -22
- package/dist/components/Label/styles.css.cjs +5 -0
- package/dist/components/Label/styles.css.d.ts +1 -0
- package/dist/components/Label/styles.css.js +5 -0
- package/dist/components/LineChart/CustomLegend.cjs +9 -61
- package/dist/components/LineChart/CustomLegend.js +9 -59
- package/dist/components/LineChart/Tooltip.cjs +6 -35
- package/dist/components/LineChart/Tooltip.js +6 -33
- package/dist/components/LineChart/index.cjs +5 -5
- package/dist/components/LineChart/index.js +1 -1
- package/dist/components/LineChart/styles.css.cjs +17 -0
- package/dist/components/LineChart/styles.css.d.ts +7 -0
- package/dist/components/LineChart/styles.css.js +17 -0
- package/dist/components/Link/constants.d.ts +6 -0
- package/dist/components/Link/index.cjs +11 -114
- package/dist/components/Link/index.d.ts +1 -6
- package/dist/components/Link/index.js +12 -113
- package/dist/components/Link/styles.css.cjs +14 -0
- package/dist/components/Link/styles.css.d.ts +78 -0
- package/dist/components/Link/styles.css.js +14 -0
- package/dist/components/List/index.cjs +2 -2
- package/dist/components/List/index.d.ts +1 -1
- package/dist/components/List/index.js +2 -2
- package/dist/components/Loader/index.cjs +4 -36
- package/dist/components/Loader/index.d.ts +0 -4
- package/dist/components/Loader/index.js +5 -35
- package/dist/components/Loader/styles.css.cjs +7 -0
- package/dist/components/Loader/styles.css.d.ts +2 -0
- package/dist/components/Loader/styles.css.js +7 -0
- package/dist/components/Menu/index.d.ts +1 -1
- package/dist/components/Meter/index.cjs +6 -37
- package/dist/components/Meter/index.js +6 -35
- package/dist/components/Meter/styles.css.cjs +11 -0
- package/dist/components/Meter/styles.css.d.ts +4 -0
- package/dist/components/Meter/styles.css.js +11 -0
- package/dist/components/Modal/ModalContent.cjs +2 -14
- package/dist/components/Modal/ModalContent.js +2 -12
- package/dist/components/Modal/components/Dialog.cjs +18 -82
- package/dist/components/Modal/components/Dialog.d.ts +1 -13
- package/dist/components/Modal/components/Dialog.js +19 -81
- package/dist/components/Modal/constants.d.ts +42 -2
- package/dist/components/Modal/styles.css.cjs +21 -0
- package/dist/components/Modal/styles.css.d.ts +78 -0
- package/dist/components/Modal/styles.css.js +21 -0
- package/dist/components/Notice/index.cjs +2 -12
- package/dist/components/Notice/index.js +2 -10
- package/dist/components/Notice/styles.css.cjs +5 -0
- package/dist/components/Notice/styles.css.d.ts +1 -0
- package/dist/components/Notice/styles.css.js +5 -0
- package/dist/components/Notification/index.cjs +2 -19
- package/dist/components/Notification/index.js +3 -20
- package/dist/components/Notification/styles.css.cjs +5 -0
- package/dist/components/Notification/styles.css.d.ts +1 -0
- package/dist/components/Notification/styles.css.js +5 -0
- package/dist/components/NumberInput/constant.d.ts +5 -0
- package/dist/components/NumberInput/index.cjs +43 -157
- package/dist/components/NumberInput/index.d.ts +2 -6
- package/dist/components/NumberInput/index.js +42 -154
- package/dist/components/NumberInput/styles.css.cjs +14 -0
- package/dist/components/NumberInput/styles.css.d.ts +109 -0
- package/dist/components/NumberInput/styles.css.js +14 -0
- package/dist/components/Pagination/PaginationButtons.cjs +4 -41
- package/dist/components/Pagination/PaginationButtons.js +4 -39
- package/dist/components/Pagination/PerPage.cjs +3 -20
- package/dist/components/Pagination/PerPage.js +3 -18
- package/dist/components/Pagination/styles.css.cjs +9 -0
- package/dist/components/Pagination/styles.css.d.ts +3 -0
- package/dist/components/Pagination/styles.css.js +9 -0
- package/dist/components/PasswordCheck/index.cjs +2 -12
- package/dist/components/PasswordCheck/index.js +2 -10
- package/dist/components/PasswordCheck/styles.css.cjs +5 -0
- package/dist/components/PasswordCheck/styles.css.d.ts +1 -0
- package/dist/components/PasswordCheck/styles.css.js +5 -0
- package/dist/components/PieChart/Legends.cjs +20 -124
- package/dist/components/PieChart/Legends.js +20 -122
- package/dist/components/PieChart/Tooltip.cjs +4 -35
- package/dist/components/PieChart/Tooltip.js +4 -33
- package/dist/components/PieChart/index.cjs +13 -36
- package/dist/components/PieChart/index.js +8 -29
- package/dist/components/PieChart/styles.css.cjs +36 -0
- package/dist/components/PieChart/styles.css.d.ts +49 -0
- package/dist/components/PieChart/styles.css.js +36 -0
- package/dist/components/Popover/constant.d.ts +5 -0
- package/dist/components/Popover/index.cjs +6 -41
- package/dist/components/Popover/index.d.ts +1 -5
- package/dist/components/Popover/index.js +6 -39
- package/dist/components/Popover/styles.css.cjs +8 -0
- package/dist/components/Popover/styles.css.d.ts +35 -0
- package/dist/components/Popover/styles.css.js +8 -0
- package/dist/components/Popup/helpers.cjs +8 -4
- package/dist/components/Popup/helpers.js +8 -4
- package/dist/components/Popup/index.cjs +25 -62
- package/dist/components/Popup/index.d.ts +9 -4
- package/dist/components/Popup/index.js +27 -62
- package/dist/components/Popup/styles.css.cjs +13 -0
- package/dist/components/Popup/styles.css.d.ts +45 -0
- package/dist/components/Popup/styles.css.js +13 -0
- package/dist/components/Popup/variables.css.cjs +18 -0
- package/dist/components/Popup/variables.css.d.ts +9 -0
- package/dist/components/Popup/variables.css.js +18 -0
- package/dist/components/ProgressBar/constants.d.ts +1 -0
- package/dist/components/ProgressBar/index.cjs +7 -77
- package/dist/components/ProgressBar/index.d.ts +2 -2
- package/dist/components/ProgressBar/index.js +7 -75
- package/dist/components/ProgressBar/styles.css.cjs +12 -0
- package/dist/components/ProgressBar/styles.css.d.ts +4 -0
- package/dist/components/ProgressBar/styles.css.js +12 -0
- package/dist/components/{Breadcrumbs/constants.cjs → ProgressBar/variables.css.cjs} +2 -2
- package/dist/components/ProgressBar/variables.css.d.ts +1 -0
- package/dist/components/ProgressBar/variables.css.js +4 -0
- package/dist/components/Radio/index.cjs +30 -136
- package/dist/components/Radio/index.d.ts +0 -32
- package/dist/components/Radio/index.js +31 -135
- package/dist/components/Radio/styles.css.cjs +21 -0
- package/dist/components/Radio/styles.css.d.ts +9 -0
- package/dist/components/Radio/styles.css.js +21 -0
- package/dist/components/RadioGroup/index.cjs +2 -20
- package/dist/components/RadioGroup/index.js +2 -18
- package/dist/components/RadioGroup/styles.css.cjs +5 -0
- package/dist/components/RadioGroup/styles.css.d.ts +1 -0
- package/dist/components/RadioGroup/styles.css.js +5 -0
- package/dist/components/Row/index.cjs +28 -38
- package/dist/components/Row/index.d.ts +8 -10
- package/dist/components/Row/index.js +29 -37
- package/dist/components/Row/styles.css.cjs +17 -0
- package/dist/components/Row/styles.css.d.ts +460 -0
- package/dist/components/Row/styles.css.js +17 -0
- package/dist/components/Row/variables.css.cjs +7 -0
- package/dist/components/Row/variables.css.d.ts +4 -0
- package/dist/components/Row/variables.css.js +7 -0
- package/dist/components/SearchInput/KeyGroup.cjs +3 -21
- package/dist/components/SearchInput/KeyGroup.d.ts +1 -1
- package/dist/components/SearchInput/KeyGroup.js +3 -19
- package/dist/components/SearchInput/index.cjs +2 -38
- package/dist/components/SearchInput/index.js +3 -37
- package/dist/components/SearchInput/styles.css.cjs +10 -0
- package/dist/components/SearchInput/styles.css.d.ts +3 -0
- package/dist/components/SearchInput/styles.css.js +10 -0
- package/dist/components/SelectInput/components/Dropdown.cjs +341 -0
- package/dist/components/SelectInput/{Dropdown.d.ts → components/Dropdown.d.ts} +1 -1
- package/dist/components/SelectInput/components/Dropdown.js +341 -0
- package/dist/components/SelectInput/components/DropdownOption.cjs +47 -0
- package/dist/components/SelectInput/{DropdownOption.d.ts → components/DropdownOption.d.ts} +1 -1
- package/dist/components/SelectInput/components/DropdownOption.js +47 -0
- package/dist/components/SelectInput/components/SearchBarDropdown.cjs +117 -0
- package/dist/components/SelectInput/{SearchBarDropdown.d.ts → components/SearchBarDropdown.d.ts} +1 -1
- package/dist/components/SelectInput/components/SearchBarDropdown.js +117 -0
- package/dist/components/SelectInput/components/SelectBar.cjs +237 -0
- package/dist/components/SelectInput/{SelectBar.d.ts → components/SelectBar.d.ts} +1 -12
- package/dist/components/SelectInput/components/SelectBar.js +237 -0
- package/dist/components/SelectInput/components/dropdown.css.cjs +34 -0
- package/dist/components/SelectInput/components/dropdown.css.d.ts +35 -0
- package/dist/components/SelectInput/components/dropdown.css.js +34 -0
- package/dist/components/SelectInput/components/selectBar.css.cjs +24 -0
- package/dist/components/SelectInput/components/selectBar.css.d.ts +108 -0
- package/dist/components/SelectInput/components/selectBar.css.js +24 -0
- package/dist/components/SelectInput/index.cjs +8 -33
- package/dist/components/SelectInput/index.d.ts +2 -2
- package/dist/components/SelectInput/index.js +8 -31
- package/dist/components/SelectInput/styles.css.cjs +7 -0
- package/dist/components/SelectInput/styles.css.d.ts +2 -0
- package/dist/components/SelectInput/styles.css.js +7 -0
- package/dist/components/SelectableCard/index.cjs +21 -182
- package/dist/components/SelectableCard/index.js +22 -181
- package/dist/components/SelectableCard/styles.css.cjs +21 -0
- package/dist/components/SelectableCard/styles.css.d.ts +26 -0
- package/dist/components/SelectableCard/styles.css.js +21 -0
- package/dist/components/SelectableCard/variables.css.cjs +8 -0
- package/dist/components/SelectableCard/variables.css.d.ts +3 -0
- package/dist/components/SelectableCard/variables.css.js +8 -0
- package/dist/components/SelectableCardOptionGroup/components/Option.cjs +11 -11
- package/dist/components/SelectableCardOptionGroup/components/Option.js +9 -9
- package/dist/components/Separator/index.cjs +26 -39
- package/dist/components/Separator/index.d.ts +2 -5
- package/dist/components/Separator/index.js +26 -37
- package/dist/components/Separator/styles.css.cjs +10 -0
- package/dist/components/Separator/styles.css.d.ts +125 -0
- package/dist/components/Separator/styles.css.js +10 -0
- package/dist/components/Skeleton/Block.cjs +3 -27
- package/dist/components/Skeleton/Block.js +3 -25
- package/dist/components/Skeleton/Blocks.cjs +6 -27
- package/dist/components/Skeleton/Blocks.js +6 -25
- package/dist/components/Skeleton/BoxWithIcon.cjs +6 -25
- package/dist/components/Skeleton/BoxWithIcon.js +6 -23
- package/dist/components/Skeleton/Donut.cjs +4 -45
- package/dist/components/Skeleton/Donut.js +4 -43
- package/dist/components/Skeleton/IconSkeleton.cjs +3 -21
- package/dist/components/Skeleton/IconSkeleton.d.ts +1 -4
- package/dist/components/Skeleton/IconSkeleton.js +3 -19
- package/dist/components/Skeleton/Line.cjs +6 -15
- package/dist/components/Skeleton/Line.d.ts +1 -4
- package/dist/components/Skeleton/Line.js +6 -13
- package/dist/components/Skeleton/List.cjs +4 -42
- package/dist/components/Skeleton/List.js +4 -40
- package/dist/components/Skeleton/Slider.cjs +6 -35
- package/dist/components/Skeleton/Slider.js +6 -33
- package/dist/components/Skeleton/Square.cjs +3 -11
- package/dist/components/Skeleton/Square.d.ts +1 -4
- package/dist/components/Skeleton/Square.js +3 -9
- package/dist/components/Skeleton/index.cjs +5 -47
- package/dist/components/Skeleton/index.d.ts +5 -9
- package/dist/components/Skeleton/index.js +5 -45
- package/dist/components/Skeleton/styles.css.cjs +7 -0
- package/dist/components/Skeleton/styles.css.d.ts +2 -0
- package/dist/components/Skeleton/styles.css.js +7 -0
- package/dist/components/Skeleton/stylesVariants.css.cjs +47 -0
- package/dist/components/Skeleton/stylesVariants.css.d.ts +22 -0
- package/dist/components/Skeleton/stylesVariants.css.js +47 -0
- package/dist/components/Slider/components/DoubleSlider.cjs +20 -20
- package/dist/components/Slider/components/DoubleSlider.js +6 -6
- package/dist/components/Slider/components/SingleSlider.cjs +5 -5
- package/dist/components/Slider/components/SingleSlider.js +4 -4
- package/dist/components/Slider/styles.d.ts +30 -13
- package/dist/components/Snippet/index.cjs +22 -155
- package/dist/components/Snippet/index.js +18 -149
- package/dist/components/Snippet/styles.css.cjs +26 -0
- package/dist/components/Snippet/styles.css.d.ts +48 -0
- package/dist/components/Snippet/styles.css.js +26 -0
- package/dist/components/Stack/index.cjs +69 -44
- package/dist/components/Stack/index.d.ts +17 -19
- package/dist/components/Stack/index.js +69 -42
- package/dist/components/Stack/styles.css.cjs +19 -0
- package/dist/components/Stack/styles.css.d.ts +470 -0
- package/dist/components/Stack/styles.css.js +19 -0
- package/dist/components/Stack/types.d.ts +8 -0
- package/dist/components/Stack/variables.css.cjs +11 -0
- package/dist/components/Stack/variables.css.d.ts +4 -0
- package/dist/components/Stack/variables.css.js +11 -0
- package/dist/components/Status/constant.d.ts +1 -0
- package/dist/components/Status/index.cjs +10 -66
- package/dist/components/Status/index.d.ts +2 -20
- package/dist/components/Status/index.js +10 -64
- package/dist/components/Status/styles.css.cjs +11 -0
- package/dist/components/Status/styles.css.d.ts +23 -0
- package/dist/components/Status/styles.css.js +11 -0
- package/dist/components/StepList/index.cjs +10 -42
- package/dist/components/StepList/index.d.ts +2 -1
- package/dist/components/StepList/index.js +10 -40
- package/dist/components/StepList/styles.css.cjs +10 -0
- package/dist/components/StepList/styles.css.d.ts +23 -0
- package/dist/components/StepList/styles.css.js +10 -0
- package/dist/components/Stepper/Step.cjs +43 -113
- package/dist/components/Stepper/Step.js +41 -109
- package/dist/components/Stepper/index.cjs +10 -65
- package/dist/components/Stepper/index.js +10 -63
- package/dist/components/Stepper/styles.css.cjs +20 -0
- package/dist/components/Stepper/styles.css.d.ts +122 -0
- package/dist/components/Stepper/styles.css.js +20 -0
- package/dist/components/SwitchButton/FocusOverlay.cjs +2 -18
- package/dist/components/SwitchButton/FocusOverlay.js +2 -16
- package/dist/components/SwitchButton/Option.cjs +2 -45
- package/dist/components/SwitchButton/Option.js +2 -43
- package/dist/components/SwitchButton/index.cjs +2 -27
- package/dist/components/SwitchButton/index.js +2 -25
- package/dist/components/SwitchButton/styles.css.cjs +9 -0
- package/dist/components/SwitchButton/styles.css.d.ts +7 -0
- package/dist/components/SwitchButton/styles.css.js +9 -0
- package/dist/components/Table/HeaderRow.cjs +2 -2
- package/dist/components/Table/HeaderRow.js +1 -1
- package/dist/components/Table/Row.cjs +6 -6
- package/dist/components/Table/Row.js +6 -6
- package/dist/components/Table/index.cjs +4 -4
- package/dist/components/Table/index.d.ts +1 -1
- package/dist/components/Table/index.js +3 -3
- package/dist/components/Tabs/TabMenuItem.d.ts +1 -1
- package/dist/components/Tabs/index.d.ts +2 -2
- package/dist/components/Tag/index.cjs +17 -104
- package/dist/components/Tag/index.d.ts +5 -4
- package/dist/components/Tag/index.js +13 -99
- package/dist/components/Tag/styles.css.cjs +10 -0
- package/dist/components/Tag/styles.css.d.ts +34 -0
- package/dist/components/Tag/styles.css.js +10 -0
- package/dist/components/TagInput/index.cjs +11 -88
- package/dist/components/TagInput/index.d.ts +1 -5
- package/dist/components/TagInput/index.js +11 -86
- package/dist/components/TagInput/styles.css.cjs +12 -0
- package/dist/components/TagInput/styles.css.d.ts +21 -0
- package/dist/components/TagInput/styles.css.js +12 -0
- package/dist/components/TagList/constant.cjs +5 -0
- package/dist/components/TagList/constant.d.ts +1 -0
- package/dist/components/TagList/constant.js +5 -0
- package/dist/components/TagList/index.cjs +21 -66
- package/dist/components/TagList/index.js +19 -62
- package/dist/components/TagList/styles.css.cjs +14 -0
- package/dist/components/TagList/styles.css.d.ts +11 -0
- package/dist/components/TagList/styles.css.js +14 -0
- package/dist/components/Text/constant.d.ts +6 -0
- package/dist/components/Text/index.cjs +22 -60
- package/dist/components/Text/index.d.ts +3 -7
- package/dist/components/Text/index.js +22 -58
- package/dist/components/Text/style.css.cjs +6 -0
- package/dist/components/Text/style.css.d.ts +52 -0
- package/dist/components/Text/style.css.js +6 -0
- package/dist/components/Text/variables.css.cjs +7 -0
- package/dist/components/Text/variables.css.d.ts +2 -0
- package/dist/components/Text/variables.css.js +7 -0
- package/dist/components/TextArea/index.cjs +34 -99
- package/dist/components/TextArea/index.js +34 -97
- package/dist/components/TextArea/styles.css.cjs +12 -0
- package/dist/components/TextArea/styles.css.d.ts +15 -0
- package/dist/components/TextArea/styles.css.js +12 -0
- package/dist/components/TextInput/constants.d.ts +5 -0
- package/dist/components/TextInput/index.cjs +8 -113
- package/dist/components/TextInput/index.d.ts +3 -55
- package/dist/components/TextInput/index.js +8 -111
- package/dist/components/TextInput/styles.css.cjs +17 -0
- package/dist/components/TextInput/styles.css.d.ts +8 -0
- package/dist/components/TextInput/styles.css.js +17 -0
- package/dist/components/TimeInput/constants.cjs +0 -6
- package/dist/components/TimeInput/constants.js +0 -6
- package/dist/components/TimeInput/index.cjs +16 -96
- package/dist/components/TimeInput/index.d.ts +0 -7
- package/dist/components/TimeInput/index.js +13 -91
- package/dist/components/TimeInput/styles.css.cjs +10 -0
- package/dist/components/TimeInput/styles.css.d.ts +82 -0
- package/dist/components/TimeInput/styles.css.js +10 -0
- package/dist/components/Toaster/index.cjs +3 -23
- package/dist/components/Toaster/index.js +3 -21
- package/dist/components/Toaster/styles.css.cjs +7 -0
- package/dist/components/Toaster/styles.css.d.ts +2 -0
- package/dist/components/Toaster/styles.css.js +7 -0
- package/dist/components/Toggle/index.cjs +10 -108
- package/dist/components/Toggle/index.d.ts +0 -18
- package/dist/components/Toggle/index.js +13 -109
- package/dist/components/Toggle/styles.css.cjs +10 -0
- package/dist/components/Toggle/styles.css.d.ts +108 -0
- package/dist/components/Toggle/styles.css.js +10 -0
- package/dist/components/ToggleGroup/index.cjs +2 -20
- package/dist/components/ToggleGroup/index.js +2 -18
- package/dist/components/ToggleGroup/styles.css.cjs +5 -0
- package/dist/components/ToggleGroup/styles.css.d.ts +1 -0
- package/dist/components/ToggleGroup/styles.css.js +5 -0
- package/dist/components/Tooltip/index.cjs +2 -20
- package/dist/components/Tooltip/index.d.ts +1 -1
- package/dist/components/Tooltip/index.js +2 -18
- package/dist/components/Tooltip/styles.css.cjs +5 -0
- package/dist/components/Tooltip/styles.css.d.ts +1 -0
- package/dist/components/Tooltip/styles.css.js +5 -0
- package/dist/components/UnitInput/index.cjs +30 -123
- package/dist/components/UnitInput/index.d.ts +2 -1
- package/dist/components/UnitInput/index.js +26 -117
- package/dist/components/UnitInput/styles.css.cjs +17 -0
- package/dist/components/UnitInput/styles.css.d.ts +7 -0
- package/dist/components/UnitInput/styles.css.js +17 -0
- package/dist/components/VerificationCode/constants.d.ts +12 -0
- package/dist/components/VerificationCode/index.cjs +5 -88
- package/dist/components/VerificationCode/index.d.ts +1 -1
- package/dist/components/VerificationCode/index.js +5 -86
- package/dist/components/VerificationCode/styles.css.cjs +9 -0
- package/dist/components/VerificationCode/styles.css.d.ts +3 -0
- package/dist/components/VerificationCode/styles.css.js +9 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/index.cjs +110 -103
- package/dist/index.js +3 -2
- package/dist/theme/ThemeProvider.cjs +2 -29
- package/dist/theme/ThemeProvider.js +4 -31
- package/dist/theme/index.cjs +8 -4
- package/dist/theme/index.d.ts +2 -3
- package/dist/theme/index.js +4 -6
- package/dist/ui.css +1 -1
- package/dist/utils/animationVanillaExtract.css.d.ts +3 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +9 -6
- package/dist/components/Breadcrumbs/constants.js +0 -4
- package/dist/components/Modal/constants.cjs +0 -53
- package/dist/components/Modal/constants.js +0 -53
- package/dist/components/Popup/animations.cjs +0 -25
- package/dist/components/Popup/animations.d.ts +0 -21
- package/dist/components/Popup/animations.js +0 -25
- package/dist/components/SearchInput/Key.cjs +0 -55
- package/dist/components/SearchInput/Key.d.ts +0 -21
- package/dist/components/SearchInput/Key.js +0 -53
- package/dist/components/SelectInput/Dropdown.cjs +0 -488
- package/dist/components/SelectInput/Dropdown.js +0 -486
- package/dist/components/SelectInput/DropdownOption.cjs +0 -91
- package/dist/components/SelectInput/DropdownOption.js +0 -89
- package/dist/components/SelectInput/SearchBarDropdown.cjs +0 -133
- package/dist/components/SelectInput/SearchBarDropdown.js +0 -131
- package/dist/components/SelectInput/SelectBar.cjs +0 -373
- package/dist/components/SelectInput/SelectBar.js +0 -371
- package/dist/themes/dist/vanilla/themes.css.js.vanilla.css.cjs +0 -1
- package/dist/themes/dist/vanilla/themes.css.js.vanilla.css.js +0 -1
- package/dist/themes/dist/vanilla/themes.css.ts.vanilla.css.js.vanilla.css.cjs +0 -1
- package/dist/themes/dist/vanilla/themes.css.ts.vanilla.css.js.vanilla.css.js +0 -1
- package/dist/utils/capitalize.cjs +0 -3
- package/dist/utils/capitalize.js +0 -4
- package/dist/utils/searchAlgorithm.cjs +0 -40
- package/dist/utils/searchAlgorithm.d.ts +0 -12
- package/dist/utils/searchAlgorithm.js +0 -40
|
@@ -2,42 +2,14 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
target: "e3f5lzv0",
|
|
14
|
-
label: "StyledRow"
|
|
15
|
-
})("display:grid;", ({
|
|
16
|
-
theme,
|
|
17
|
-
gap,
|
|
18
|
-
alignItems = "normal",
|
|
19
|
-
templateColumns,
|
|
20
|
-
justifyContent = "normal",
|
|
21
|
-
padding
|
|
22
|
-
}) => `
|
|
23
|
-
|
|
24
|
-
${typeof templateColumns === "object" ? Object.entries(templateColumns).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
25
|
-
grid-template-columns: ${value};
|
|
26
|
-
}`).join(" ") : `${templateColumns ? `grid-template-columns: ${templateColumns};` : ""}`}
|
|
27
|
-
|
|
28
|
-
${gap && typeof gap === "object" ? Object.entries(gap).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
29
|
-
gap: ${theme.space[value.toString()]};
|
|
30
|
-
}`).join(" ") : `${gap ? `gap: ${theme.space[gap]};` : ""}`}
|
|
31
|
-
${alignItems && typeof alignItems === "object" ? Object.entries(alignItems).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
32
|
-
align-items: ${value};
|
|
33
|
-
}`).join(" ") : `${alignItems ? `align-items: ${alignItems};` : ""}`}
|
|
34
|
-
${justifyContent && typeof justifyContent === "object" ? Object.entries(justifyContent).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
35
|
-
justify-content: ${value};
|
|
36
|
-
}`).join(" ") : `${justifyContent ? `justify-content: ${justifyContent};` : ""}`}
|
|
37
|
-
${padding && typeof padding === "object" ? Object.entries(padding).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
38
|
-
padding: ${value};
|
|
39
|
-
}`).join(" ") : `${padding ? `padding: ${padding};` : ""}`}
|
|
40
|
-
`, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1Jvdy9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBb0JrQiIsImZpbGUiOiIvaG9tZS9ydW5uZXIvd29yay91bHRyYXZpb2xldC91bHRyYXZpb2xldC9wYWNrYWdlcy91aS9zcmMvY29tcG9uZW50cy9Sb3cvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiJ3VzZSBjbGllbnQnXG5cbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHR5cGUgeyBDU1NQcm9wZXJ0aWVzLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCdcbmltcG9ydCB0eXBlIHsgVWx0cmF2aW9sZXRVSVRoZW1lIH0gZnJvbSAnLi4vLi4vdGhlbWUnXG5cbnR5cGUgU3R5bGVkUm93UHJvcHMgPSBQaWNrPFxuICBSb3dQcm9wcyxcbiAgJ2dhcCcgfCAndGVtcGxhdGVDb2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YWtwb2ludHMnXV19KSB7XG4gICAgICAgICAgICAgICAgYWxpZ24taXRlbXM6ICR7dmFsdWV9O1xuICAgICAgICAgICAgICB9YCxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5qb2luKCcgJylcbiAgICAgICAgOiBgJHthbGlnbkl0ZW1zID8gYGFsaWduLWl0ZW1zOiAke2FsaWduSXRlbXN9O2AgOiAnJ31gXG4gICAgfVxuICAgICR7XG4gICAgICBqdXN0aWZ5Q29udGVudCAmJiB0eXBlb2YganVzdGlmeUNvbnRlbnQgPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMoanVzdGlmeUNvbnRlbnQpXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoW2JyZWFrcG9pbnQsIHZhbHVlXSkgPT5cbiAgICAgICAgICAgICAgICBgQG1lZGlhIChtaW4td2lkdGg6ICR7dGhlbWUuYnJlYWtwb2ludHNbYnJlYWtwb2ludCBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ2JyZWFrcG9pbnRzJ11dfSkge1xuICAgICAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogJHt2YWx1ZX07XG4gICAgICAgICAgICAgIH1gLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLmpvaW4oJyAnKVxuICAgICAgICA6IGAke2p1c3RpZnlDb250ZW50ID8gYGp1c3RpZnktY29udGVudDogJHtqdXN0aWZ5Q29udGVudH07YCA6ICcnfWBcbiAgICB9XG4gICAgJHtcbiAgICAgIHBhZGRpbmcgJiYgdHlwZW9mIHBhZGRpbmcgPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMocGFkZGluZylcbiAgICAgICAgICAgIC5tYXAoXG4gICAgICAgICAgICAgIChbYnJlYWtwb2ludCwgdmFsdWVdKSA9PlxuICAgICAgICAgICAgICAgIGBAbWVkaWEgKG1pbi13aWR0aDogJHt0aGVtZS5icmVha3BvaW50c1ticmVha3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ZW1wbGF0ZUNvbHVtbnN9XG4gID5cbiAgICB7Y2hpbGRyZW59XG4gIDwvU3R5bGVkUm93PlxuKVxuIl19 */"));
|
|
5
|
+
const themes = require("@ultraviolet/themes");
|
|
6
|
+
const dynamic = require("@vanilla-extract/dynamic");
|
|
7
|
+
const styles_css = require("./styles.css.cjs");
|
|
8
|
+
const variables_css = require("./variables.css.cjs");
|
|
9
|
+
const mapRepsonsiveGap = (object) => object ? Object.keys(object).reduce((acc, key) => ({
|
|
10
|
+
...acc,
|
|
11
|
+
[key]: themes.consoleLightTheme.space[object[key]]
|
|
12
|
+
}), {}) : {};
|
|
41
13
|
const Row = ({
|
|
42
14
|
className,
|
|
43
15
|
"data-testid": dataTestId,
|
|
@@ -47,6 +19,24 @@ const Row = ({
|
|
|
47
19
|
justifyContent,
|
|
48
20
|
gap,
|
|
49
21
|
padding
|
|
50
|
-
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
22
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${className ? `${className} ` : ""}${styles_css.row} ${styles_css.sprinkles({
|
|
23
|
+
alignItems: typeof alignItems === "object" ? alignItems : {
|
|
24
|
+
xxsmall: alignItems
|
|
25
|
+
},
|
|
26
|
+
gap: typeof gap === "object" ? mapRepsonsiveGap(gap) : {
|
|
27
|
+
xxsmall: gap ? themes.consoleLightTheme.space[gap] : void 0
|
|
28
|
+
},
|
|
29
|
+
justifyContent: typeof justifyContent === "object" ? justifyContent : {
|
|
30
|
+
xxsmall: justifyContent
|
|
31
|
+
}
|
|
32
|
+
})}`, "data-testid": dataTestId, style: dynamic.assignInlineVars({
|
|
33
|
+
...Object.keys(variables_css.templateColumn).reduce((acc, column) => ({
|
|
34
|
+
...acc,
|
|
35
|
+
[variables_css.templateColumn[column]]: typeof templateColumns === "object" ? templateColumns[column] || "" : templateColumns
|
|
36
|
+
}), {}),
|
|
37
|
+
...Object.keys(variables_css.paddings).reduce((acc, localPadding) => ({
|
|
38
|
+
...acc,
|
|
39
|
+
[variables_css.paddings[localPadding]]: typeof padding === "object" ? padding[localPadding] || "" : padding
|
|
40
|
+
}), {})
|
|
41
|
+
}), children });
|
|
51
42
|
exports.Row = Row;
|
|
52
|
-
exports.StyledRow = StyledRow;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import type { CSSProperties, ReactNode } from 'react';
|
|
2
2
|
import type { UltravioletUITheme } from '../../theme';
|
|
3
|
-
type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
as?: React.ElementType;
|
|
7
|
-
} & StyledRowProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
import type { AlignItemsType, JustifyContentType } from './styles.css';
|
|
4
|
+
type ResponsiveProp<T> = T | Partial<Record<keyof UltravioletUITheme['breakpoints'], T>>;
|
|
5
|
+
type ToNumber<T extends string> = T extends `${infer N extends number}` ? N : never;
|
|
8
6
|
type RowProps = {
|
|
9
7
|
className?: string;
|
|
10
8
|
'data-testid'?: string;
|
|
11
9
|
children: ReactNode;
|
|
12
|
-
templateColumns:
|
|
13
|
-
gap?: keyof UltravioletUITheme['space'] |
|
|
14
|
-
alignItems?:
|
|
15
|
-
justifyContent?:
|
|
16
|
-
padding?:
|
|
10
|
+
templateColumns: ResponsiveProp<string>;
|
|
11
|
+
gap?: ResponsiveProp<keyof UltravioletUITheme['space'] | ToNumber<keyof UltravioletUITheme['space']>>;
|
|
12
|
+
alignItems?: ResponsiveProp<AlignItemsType>;
|
|
13
|
+
justifyContent?: ResponsiveProp<JustifyContentType>;
|
|
14
|
+
padding?: ResponsiveProp<CSSProperties['padding']>;
|
|
17
15
|
};
|
|
18
16
|
/**
|
|
19
17
|
* Row component is a wrapper for grid layout.
|
|
@@ -1,39 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
})("display:grid;", ({
|
|
12
|
-
theme,
|
|
13
|
-
gap,
|
|
14
|
-
alignItems = "normal",
|
|
15
|
-
templateColumns,
|
|
16
|
-
justifyContent = "normal",
|
|
17
|
-
padding
|
|
18
|
-
}) => `
|
|
19
|
-
|
|
20
|
-
${typeof templateColumns === "object" ? Object.entries(templateColumns).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
21
|
-
grid-template-columns: ${value};
|
|
22
|
-
}`).join(" ") : `${templateColumns ? `grid-template-columns: ${templateColumns};` : ""}`}
|
|
23
|
-
|
|
24
|
-
${gap && typeof gap === "object" ? Object.entries(gap).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
25
|
-
gap: ${theme.space[value.toString()]};
|
|
26
|
-
}`).join(" ") : `${gap ? `gap: ${theme.space[gap]};` : ""}`}
|
|
27
|
-
${alignItems && typeof alignItems === "object" ? Object.entries(alignItems).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
28
|
-
align-items: ${value};
|
|
29
|
-
}`).join(" ") : `${alignItems ? `align-items: ${alignItems};` : ""}`}
|
|
30
|
-
${justifyContent && typeof justifyContent === "object" ? Object.entries(justifyContent).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
31
|
-
justify-content: ${value};
|
|
32
|
-
}`).join(" ") : `${justifyContent ? `justify-content: ${justifyContent};` : ""}`}
|
|
33
|
-
${padding && typeof padding === "object" ? Object.entries(padding).map(([breakpoint, value]) => `@media (min-width: ${theme.breakpoints[breakpoint]}) {
|
|
34
|
-
padding: ${value};
|
|
35
|
-
}`).join(" ") : `${padding ? `padding: ${padding};` : ""}`}
|
|
36
|
-
`, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb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ICAgICBnYXA6ICR7dGhlbWUuc3BhY2VbdmFsdWUudG9TdHJpbmcoKSBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ3NwYWNlJ11dfTtcbiAgICAgICAgICAgICAgfWAsXG4gICAgICAgICAgICApXG4gICAgICAgICAgICAuam9pbignICcpXG4gICAgICAgIDogYCR7Z2FwID8gYGdhcDogJHt0aGVtZS5zcGFjZVtnYXAgYXMga2V5b2YgVWx0cmF2aW9sZXRVSVRoZW1lWydzcGFjZSddXX07YCA6ICcnfWBcbiAgICB9XG4gICAgJHtcbiAgICAgIGFsaWduSXRlbXMgJiYgdHlwZW9mIGFsaWduSXRlbXMgPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMoYWxpZ25JdGVtcylcbiAgICAgICAgICAgIC5tYXAoXG4gICAgICAgICAgICAgIChbYnJlYWtwb2ludCwgdmFsdWVdKSA9PlxuICAgICAgICAgICAgICAgIGBAbWVkaWEgKG1pbi13aWR0aDogJHt0aGVtZS5icmVha3BvaW50c1ticmVha3BvaW50IGFzIGtleW9mIFVsdHJhdmlvbGV0VUlUaGVtZVsnYnJlYWtwb2ludHMnXV19KSB7XG4gICAgICAgICAgICAgICAgYWxpZ24taXRlbXM6ICR7dmFsdWV9O1xuICAgICAgICAgICAgICB9YCxcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5qb2luKCcgJylcbiAgICAgICAgOiBgJHthbGlnbkl0ZW1zID8gYGFsaWduLWl0ZW1zOiAke2FsaWduSXRlbXN9O2AgOiAnJ31gXG4gICAgfVxuICAgICR7XG4gICAgICBqdXN0aWZ5Q29udGVudCAmJiB0eXBlb2YganVzdGlmeUNvbnRlbnQgPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMoanVzdGlmeUNvbnRlbnQpXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoW2JyZWFrcG9pbnQsIHZhbHVlXSkgPT5cbiAgICAgICAgICAgICAgICBgQG1lZGlhIChtaW4td2lkdGg6ICR7dGhlbWUuYnJlYWtwb2ludHNbYnJlYWtwb2ludCBhcyBrZXlvZiBVbHRyYXZpb2xldFVJVGhlbWVbJ2JyZWFrcG9pbnRzJ11dfSkge1xuICAgICAgICAgICAgICAgIGp1c3RpZnktY29udGVudDogJHt2YWx1ZX07XG4gICAgICAgICAgICAgIH1gLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLmpvaW4oJyAnKVxuICAgICAgICA6IGAke2p1c3RpZnlDb250ZW50ID8gYGp1c3RpZnktY29udGVudDogJHtqdXN0aWZ5Q29udGVudH07YCA6ICcnfWBcbiAgICB9XG4gICAgJHtcbiAgICAgIHBhZGRpbmcgJiYgdHlwZW9mIHBhZGRpbmcgPT09ICdvYmplY3QnXG4gICAgICAgID8gT2JqZWN0LmVudHJpZXMocGFkZGluZylcbiAgICAgICAgICAgIC5tYXAoXG4gICAgICAgICAgICAgIChbYnJlYWtwb2ludCwgdmFsdWVdKSA9PlxuICAgICAgICAgICAgICAgIGBAbWVkaWEgKG1pbi13aWR0aDogJHt0aGVtZS5icmVha3BvaW50c1ticmVha3BvaW50IGFzIGtleW9mIFVsdHJhdmlvbGV0VUlUaGVtZVsnYnJlYWtwb2ludHMnXV19KSB7XG4gICAgICAgICAgICAgICAgcGFkZGluZzogJHt2YWx1ZX07XG4gICAgICAgICAgICAgIH1gLFxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLmpvaW4oJyAnKVxuICAgICAgICA6IGAke3BhZGRpbmcgPyBgcGFkZGluZzogJHtwYWRkaW5nfTtgIDogJyd9YFxuICAgIH1cbiAgYH1cbmBcblxudHlwZSBSb3dQcm9wcyA9IHtcbiAgY2xhc3NOYW1lPzogc3RyaW5nXG4gICdkYXRhLXRlc3RpZCc/OiBzdHJpbmdcbiAgY2hpbGRyZW46IFJlYWN0Tm9kZVxuICB0ZW1wbGF0ZUNvbHVtbnM6XG4gICAgfCBzdHJpbmdcbiAg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b3BlcnRpZXNbJ3BhZGRpbmcnXVxuICAgICAgICA+XG4gICAgICA+XG59XG5cbi8qKlxuICogUm93IGNvbXBvbmVudCBpcyBhIHdyYXBwZXIgZm9yIGdyaWQgbGF5b3V0LlxuICovXG5leHBvcnQgY29uc3QgUm93ID0gKHtcbiAgY2xhc3NOYW1lLFxuICAnZGF0YS10ZXN0aWQnOiBkYXRhVGVzdElkLFxuICBjaGlsZHJlbixcbiAgdGVtcGxhdGVDb2x1bW5zLFxuICBhbGlnbkl0ZW1zLFxuICBqdXN0aWZ5Q29udGVudCxcbiAgZ2FwLFxuICBwYWRkaW5nLFxufTogUm93UHJvcHMpID0+IChcbiAgPFN0eWxlZFJvd1xuICAgIGFsaWduSXRlbXM9e2FsaWduSXRlbXN9XG4gICAgY2xhc3NOYW1lPXtjbGFzc05hbWV9XG4gICAgZGF0YS10ZXN0aWQ9e2RhdGFUZXN0SWR9XG4gICAgZ2FwPXtnYXB9XG4gICAganVzdGlmeUNvbnRlbnQ9e2p1c3RpZnlDb250ZW50fVxuICAgIHBhZGRpbmc9e3BhZGRpbmd9XG4gICAgdGVtcGxhdGVDb2x1bW5zPXt0ZW1wbGF0ZUNvbHVtbnN9XG4gID5cbiAgICB7Y2hpbGRyZW59XG4gIDwvU3R5bGVkUm93PlxuKVxuIl19 */"));
|
|
3
|
+
import { consoleLightTheme } from "@ultraviolet/themes";
|
|
4
|
+
import { assignInlineVars } from "@vanilla-extract/dynamic";
|
|
5
|
+
import { row, sprinkles } from "./styles.css.js";
|
|
6
|
+
import { paddings, templateColumn } from "./variables.css.js";
|
|
7
|
+
const mapRepsonsiveGap = (object) => object ? Object.keys(object).reduce((acc, key) => ({
|
|
8
|
+
...acc,
|
|
9
|
+
[key]: consoleLightTheme.space[object[key]]
|
|
10
|
+
}), {}) : {};
|
|
37
11
|
const Row = ({
|
|
38
12
|
className,
|
|
39
13
|
"data-testid": dataTestId,
|
|
@@ -43,8 +17,26 @@ const Row = ({
|
|
|
43
17
|
justifyContent,
|
|
44
18
|
gap,
|
|
45
19
|
padding
|
|
46
|
-
}) => /* @__PURE__ */ jsx(
|
|
20
|
+
}) => /* @__PURE__ */ jsx("div", { className: `${className ? `${className} ` : ""}${row} ${sprinkles({
|
|
21
|
+
alignItems: typeof alignItems === "object" ? alignItems : {
|
|
22
|
+
xxsmall: alignItems
|
|
23
|
+
},
|
|
24
|
+
gap: typeof gap === "object" ? mapRepsonsiveGap(gap) : {
|
|
25
|
+
xxsmall: gap ? consoleLightTheme.space[gap] : void 0
|
|
26
|
+
},
|
|
27
|
+
justifyContent: typeof justifyContent === "object" ? justifyContent : {
|
|
28
|
+
xxsmall: justifyContent
|
|
29
|
+
}
|
|
30
|
+
})}`, "data-testid": dataTestId, style: assignInlineVars({
|
|
31
|
+
...Object.keys(templateColumn).reduce((acc, column) => ({
|
|
32
|
+
...acc,
|
|
33
|
+
[templateColumn[column]]: typeof templateColumns === "object" ? templateColumns[column] || "" : templateColumns
|
|
34
|
+
}), {}),
|
|
35
|
+
...Object.keys(paddings).reduce((acc, localPadding) => ({
|
|
36
|
+
...acc,
|
|
37
|
+
[paddings[localPadding]]: typeof padding === "object" ? padding[localPadding] || "" : padding
|
|
38
|
+
}), {})
|
|
39
|
+
}), children });
|
|
47
40
|
export {
|
|
48
|
-
Row
|
|
49
|
-
StyledRow
|
|
41
|
+
Row
|
|
50
42
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
;/* empty css */
|
|
5
|
+
const createRuntimeSprinkles = require("@vanilla-extract/sprinkles/createRuntimeSprinkles");
|
|
6
|
+
var row = "uv_x6hyh50";
|
|
7
|
+
var responsiveProperties = function() {
|
|
8
|
+
var x = { conditions: { defaultCondition: "xxsmall", conditionNames: ["xxsmall", "xsmall", "small", "medium", "large", "xlarge"], responsiveArray: ["xxsmall", "xsmall", "small", "medium", "large"] }, styles: { gap: { values: { "0rem": { conditions: { xxsmall: "uv_x6hyh51", xsmall: "uv_x6hyh52", small: "uv_x6hyh53", medium: "uv_x6hyh54", large: "uv_x6hyh55", xlarge: "uv_x6hyh56" }, defaultClass: "uv_x6hyh51" }, "0.5rem": { conditions: { xxsmall: "uv_x6hyh57", xsmall: "uv_x6hyh58", small: "uv_x6hyh59", medium: "uv_x6hyh5a", large: "uv_x6hyh5b", xlarge: "uv_x6hyh5c" }, defaultClass: "uv_x6hyh57" }, "1rem": { conditions: { xxsmall: "uv_x6hyh5d", xsmall: "uv_x6hyh5e", small: "uv_x6hyh5f", medium: "uv_x6hyh5g", large: "uv_x6hyh5h", xlarge: "uv_x6hyh5i" }, defaultClass: "uv_x6hyh5d" }, "1.5rem": { conditions: { xxsmall: "uv_x6hyh5j", xsmall: "uv_x6hyh5k", small: "uv_x6hyh5l", medium: "uv_x6hyh5m", large: "uv_x6hyh5n", xlarge: "uv_x6hyh5o" }, defaultClass: "uv_x6hyh5j" }, "2rem": { conditions: { xxsmall: "uv_x6hyh5p", xsmall: "uv_x6hyh5q", small: "uv_x6hyh5r", medium: "uv_x6hyh5s", large: "uv_x6hyh5t", xlarge: "uv_x6hyh5u" }, defaultClass: "uv_x6hyh5p" }, "2.5rem": { conditions: { xxsmall: "uv_x6hyh5v", xsmall: "uv_x6hyh5w", small: "uv_x6hyh5x", medium: "uv_x6hyh5y", large: "uv_x6hyh5z", xlarge: "uv_x6hyh510" }, defaultClass: "uv_x6hyh5v" }, "3rem": { conditions: { xxsmall: "uv_x6hyh511", xsmall: "uv_x6hyh512", small: "uv_x6hyh513", medium: "uv_x6hyh514", large: "uv_x6hyh515", xlarge: "uv_x6hyh516" }, defaultClass: "uv_x6hyh511" }, "3.5rem": { conditions: { xxsmall: "uv_x6hyh517", xsmall: "uv_x6hyh518", small: "uv_x6hyh519", medium: "uv_x6hyh51a", large: "uv_x6hyh51b", xlarge: "uv_x6hyh51c" }, defaultClass: "uv_x6hyh517" }, "4rem": { conditions: { xxsmall: "uv_x6hyh51d", xsmall: "uv_x6hyh51e", small: "uv_x6hyh51f", medium: "uv_x6hyh51g", large: "uv_x6hyh51h", xlarge: "uv_x6hyh51i" }, defaultClass: "uv_x6hyh51d" }, "4.5rem": { conditions: { xxsmall: "uv_x6hyh51j", xsmall: "uv_x6hyh51k", small: "uv_x6hyh51l", medium: "uv_x6hyh51m", large: "uv_x6hyh51n", xlarge: "uv_x6hyh51o" }, defaultClass: "uv_x6hyh51j" }, "5rem": { conditions: { xxsmall: "uv_x6hyh51p", xsmall: "uv_x6hyh51q", small: "uv_x6hyh51r", medium: "uv_x6hyh51s", large: "uv_x6hyh51t", xlarge: "uv_x6hyh51u" }, defaultClass: "uv_x6hyh51p" }, "0.25rem": { conditions: { xxsmall: "uv_x6hyh51v", xsmall: "uv_x6hyh51w", small: "uv_x6hyh51x", medium: "uv_x6hyh51y", large: "uv_x6hyh51z", xlarge: "uv_x6hyh520" }, defaultClass: "uv_x6hyh51v" }, "0.125rem": { conditions: { xxsmall: "uv_x6hyh521", xsmall: "uv_x6hyh522", small: "uv_x6hyh523", medium: "uv_x6hyh524", large: "uv_x6hyh525", xlarge: "uv_x6hyh526" }, defaultClass: "uv_x6hyh521" }, "0.75rem": { conditions: { xxsmall: "uv_x6hyh527", xsmall: "uv_x6hyh528", small: "uv_x6hyh529", medium: "uv_x6hyh52a", large: "uv_x6hyh52b", xlarge: "uv_x6hyh52c" }, defaultClass: "uv_x6hyh527" } }, responsiveArray: void 0 }, alignItems: { values: { normal: { conditions: { xxsmall: "uv_x6hyh52d", xsmall: "uv_x6hyh52e", small: "uv_x6hyh52f", medium: "uv_x6hyh52g", large: "uv_x6hyh52h", xlarge: "uv_x6hyh52i" }, defaultClass: "uv_x6hyh52d" }, stretch: { conditions: { xxsmall: "uv_x6hyh52j", xsmall: "uv_x6hyh52k", small: "uv_x6hyh52l", medium: "uv_x6hyh52m", large: "uv_x6hyh52n", xlarge: "uv_x6hyh52o" }, defaultClass: "uv_x6hyh52j" }, center: { conditions: { xxsmall: "uv_x6hyh52p", xsmall: "uv_x6hyh52q", small: "uv_x6hyh52r", medium: "uv_x6hyh52s", large: "uv_x6hyh52t", xlarge: "uv_x6hyh52u" }, defaultClass: "uv_x6hyh52p" }, start: { conditions: { xxsmall: "uv_x6hyh52v", xsmall: "uv_x6hyh52w", small: "uv_x6hyh52x", medium: "uv_x6hyh52y", large: "uv_x6hyh52z", xlarge: "uv_x6hyh530" }, defaultClass: "uv_x6hyh52v" }, end: { conditions: { xxsmall: "uv_x6hyh531", xsmall: "uv_x6hyh532", small: "uv_x6hyh533", medium: "uv_x6hyh534", large: "uv_x6hyh535", xlarge: "uv_x6hyh536" }, defaultClass: "uv_x6hyh531" }, "flex-start": { conditions: { xxsmall: "uv_x6hyh537", xsmall: "uv_x6hyh538", small: "uv_x6hyh539", medium: "uv_x6hyh53a", large: "uv_x6hyh53b", xlarge: "uv_x6hyh53c" }, defaultClass: "uv_x6hyh537" }, "flex-end": { conditions: { xxsmall: "uv_x6hyh53d", xsmall: "uv_x6hyh53e", small: "uv_x6hyh53f", medium: "uv_x6hyh53g", large: "uv_x6hyh53h", xlarge: "uv_x6hyh53i" }, defaultClass: "uv_x6hyh53d" }, "self-start": { conditions: { xxsmall: "uv_x6hyh53j", xsmall: "uv_x6hyh53k", small: "uv_x6hyh53l", medium: "uv_x6hyh53m", large: "uv_x6hyh53n", xlarge: "uv_x6hyh53o" }, defaultClass: "uv_x6hyh53j" }, "self-end": { conditions: { xxsmall: "uv_x6hyh53p", xsmall: "uv_x6hyh53q", small: "uv_x6hyh53r", medium: "uv_x6hyh53s", large: "uv_x6hyh53t", xlarge: "uv_x6hyh53u" }, defaultClass: "uv_x6hyh53p" }, baseline: { conditions: { xxsmall: "uv_x6hyh53v", xsmall: "uv_x6hyh53w", small: "uv_x6hyh53x", medium: "uv_x6hyh53y", large: "uv_x6hyh53z", xlarge: "uv_x6hyh540" }, defaultClass: "uv_x6hyh53v" }, "first baseline": { conditions: { xxsmall: "uv_x6hyh541", xsmall: "uv_x6hyh542", small: "uv_x6hyh543", medium: "uv_x6hyh544", large: "uv_x6hyh545", xlarge: "uv_x6hyh546" }, defaultClass: "uv_x6hyh541" }, "last baseline": { conditions: { xxsmall: "uv_x6hyh547", xsmall: "uv_x6hyh548", small: "uv_x6hyh549", medium: "uv_x6hyh54a", large: "uv_x6hyh54b", xlarge: "uv_x6hyh54c" }, defaultClass: "uv_x6hyh547" }, "safe center": { conditions: { xxsmall: "uv_x6hyh54d", xsmall: "uv_x6hyh54e", small: "uv_x6hyh54f", medium: "uv_x6hyh54g", large: "uv_x6hyh54h", xlarge: "uv_x6hyh54i" }, defaultClass: "uv_x6hyh54d" }, "unsafe center": { conditions: { xxsmall: "uv_x6hyh54j", xsmall: "uv_x6hyh54k", small: "uv_x6hyh54l", medium: "uv_x6hyh54m", large: "uv_x6hyh54n", xlarge: "uv_x6hyh54o" }, defaultClass: "uv_x6hyh54j" } }, responsiveArray: void 0 }, justifyContent: { values: { normal: { conditions: { xxsmall: "uv_x6hyh54p", xsmall: "uv_x6hyh54q", small: "uv_x6hyh54r", medium: "uv_x6hyh54s", large: "uv_x6hyh54t", xlarge: "uv_x6hyh54u" }, defaultClass: "uv_x6hyh54p" }, center: { conditions: { xxsmall: "uv_x6hyh54v", xsmall: "uv_x6hyh54w", small: "uv_x6hyh54x", medium: "uv_x6hyh54y", large: "uv_x6hyh54z", xlarge: "uv_x6hyh550" }, defaultClass: "uv_x6hyh54v" }, start: { conditions: { xxsmall: "uv_x6hyh551", xsmall: "uv_x6hyh552", small: "uv_x6hyh553", medium: "uv_x6hyh554", large: "uv_x6hyh555", xlarge: "uv_x6hyh556" }, defaultClass: "uv_x6hyh551" }, end: { conditions: { xxsmall: "uv_x6hyh557", xsmall: "uv_x6hyh558", small: "uv_x6hyh559", medium: "uv_x6hyh55a", large: "uv_x6hyh55b", xlarge: "uv_x6hyh55c" }, defaultClass: "uv_x6hyh557" }, "flex-start": { conditions: { xxsmall: "uv_x6hyh55d", xsmall: "uv_x6hyh55e", small: "uv_x6hyh55f", medium: "uv_x6hyh55g", large: "uv_x6hyh55h", xlarge: "uv_x6hyh55i" }, defaultClass: "uv_x6hyh55d" }, "flex-end": { conditions: { xxsmall: "uv_x6hyh55j", xsmall: "uv_x6hyh55k", small: "uv_x6hyh55l", medium: "uv_x6hyh55m", large: "uv_x6hyh55n", xlarge: "uv_x6hyh55o" }, defaultClass: "uv_x6hyh55j" }, left: { conditions: { xxsmall: "uv_x6hyh55p", xsmall: "uv_x6hyh55q", small: "uv_x6hyh55r", medium: "uv_x6hyh55s", large: "uv_x6hyh55t", xlarge: "uv_x6hyh55u" }, defaultClass: "uv_x6hyh55p" }, right: { conditions: { xxsmall: "uv_x6hyh55v", xsmall: "uv_x6hyh55w", small: "uv_x6hyh55x", medium: "uv_x6hyh55y", large: "uv_x6hyh55z", xlarge: "uv_x6hyh560" }, defaultClass: "uv_x6hyh55v" }, "space-between": { conditions: { xxsmall: "uv_x6hyh561", xsmall: "uv_x6hyh562", small: "uv_x6hyh563", medium: "uv_x6hyh564", large: "uv_x6hyh565", xlarge: "uv_x6hyh566" }, defaultClass: "uv_x6hyh561" }, "space-around": { conditions: { xxsmall: "uv_x6hyh567", xsmall: "uv_x6hyh568", small: "uv_x6hyh569", medium: "uv_x6hyh56a", large: "uv_x6hyh56b", xlarge: "uv_x6hyh56c" }, defaultClass: "uv_x6hyh567" }, "space-evenly": { conditions: { xxsmall: "uv_x6hyh56d", xsmall: "uv_x6hyh56e", small: "uv_x6hyh56f", medium: "uv_x6hyh56g", large: "uv_x6hyh56h", xlarge: "uv_x6hyh56i" }, defaultClass: "uv_x6hyh56d" }, stretch: { conditions: { xxsmall: "uv_x6hyh56j", xsmall: "uv_x6hyh56k", small: "uv_x6hyh56l", medium: "uv_x6hyh56m", large: "uv_x6hyh56n", xlarge: "uv_x6hyh56o" }, defaultClass: "uv_x6hyh56j" } }, responsiveArray: void 0 } } };
|
|
9
|
+
x.styles.gap.responsiveArray = x.conditions.responsiveArray;
|
|
10
|
+
x.styles.alignItems.responsiveArray = x.conditions.responsiveArray;
|
|
11
|
+
x.styles.justifyContent.responsiveArray = x.conditions.responsiveArray;
|
|
12
|
+
return x;
|
|
13
|
+
}();
|
|
14
|
+
var sprinkles = createRuntimeSprinkles.createSprinkles(responsiveProperties);
|
|
15
|
+
exports.responsiveProperties = responsiveProperties;
|
|
16
|
+
exports.row = row;
|
|
17
|
+
exports.sprinkles = sprinkles;
|