@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,8 +2,6 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
4
4
|
const jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
5
|
-
const _styled = require("@emotion/styled/base");
|
|
6
|
-
const react = require("@emotion/react");
|
|
7
5
|
const Block = require("./Block.cjs");
|
|
8
6
|
const Blocks = require("./Blocks.cjs");
|
|
9
7
|
const BoxWithIcon = require("./BoxWithIcon.cjs");
|
|
@@ -12,48 +10,7 @@ const Line = require("./Line.cjs");
|
|
|
12
10
|
const List = require("./List.cjs");
|
|
13
11
|
const Slider = require("./Slider.cjs");
|
|
14
12
|
const Square = require("./Square.cjs");
|
|
15
|
-
const
|
|
16
|
-
const _styled__default = /* @__PURE__ */ _interopDefaultCompat(_styled);
|
|
17
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() {
|
|
18
|
-
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
19
|
-
}
|
|
20
|
-
const shineAnimation = react.keyframes`
|
|
21
|
-
from {
|
|
22
|
-
left: -25%;
|
|
23
|
-
}
|
|
24
|
-
to {
|
|
25
|
-
left: 100%;
|
|
26
|
-
}
|
|
27
|
-
`;
|
|
28
|
-
const StyledContainer = /* @__PURE__ */ _styled__default.default("div", process.env.NODE_ENV === "production" ? {
|
|
29
|
-
target: "e183x2r81"
|
|
30
|
-
} : {
|
|
31
|
-
target: "e183x2r81",
|
|
32
|
-
label: "StyledContainer"
|
|
33
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
34
|
-
name: "158ltsb",
|
|
35
|
-
styles: "position:relative;width:100%;overflow:hidden;cursor:progress;display:flex;flex-flow:column;height:100%"
|
|
36
|
-
} : {
|
|
37
|
-
name: "158ltsb",
|
|
38
|
-
styles: "position:relative;width:100%;overflow:hidden;cursor:progress;display:flex;flex-flow:column;height:100%/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1NrZWxldG9uL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQmtDIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1NrZWxldG9uL2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgeyBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgQmxvY2sgfSBmcm9tICcuL0Jsb2NrJ1xuaW1wb3J0IHsgQmxvY2tzIH0gZnJvbSAnLi9CbG9ja3MnXG5pbXBvcnQgeyBCb3hXaXRoSWNvbiB9IGZyb20gJy4vQm94V2l0aEljb24nXG5pbXBvcnQgeyBEb251dCB9IGZyb20gJy4vRG9udXQnXG5pbXBvcnQgeyBMaW5lIH0gZnJvbSAnLi9MaW5lJ1xuaW1wb3J0IHsgTGlzdCB9IGZyb20gJy4vTGlzdCdcbmltcG9ydCB7IFNsaWRlciB9IGZyb20gJy4vU2xpZGVyJ1xuaW1wb3J0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3J0IGNvbnN0IFNrZWxldG9uID0gKHtcbiAgdmFyaWFudCA9ICdibG9ja3MnLFxuICBsZW5ndGgsXG4gIGNvbCxcbiAgY2xhc3NOYW1lLFxuICAnYXJpYS1sYWJlbCc6IGFyaWFMYWJlbCxcbiAgJ2RhdGEtdGVzdGlkJzogZGF0YVRlc3RJZCxcbn06IFNrZWxldG9uUHJvcHMpID0+IHtcbiAgY29uc3QgQ29tcG9uZW50ID0gdmFyaWFudHNbdmFyaWFudF1cblxuICByZXR1cm4gKFxuICAgIDxTdHlsZWRDb250YWluZXJcbiAgICAgIGFyaWEtYnVzeVxuICAgICAgYXJpYS1sYWJlbD17YXJpYUxhYmVsfVxuICAgICAgYXJpYS1saXZlPVwicG9saXRlXCJcbiAgICAgIGNsYXNzTmFtZT17Y2xhc3NOYW1lfVxuICAgICAgZGF0YS10ZXN0aWQ9e2RhdGFUZXN0SWR9XG4gICAgPlxuICAgICAgPENvbXBvbmVudCBjb2w9e2NvbH0gbGVuZ3RoPXtsZW5ndGh9IC8+XG5cbiAgICAgIDxTdHlsZWREaXYgLz5cbiAgICA8L1N0eWxlZENvbnRhaW5lcj5cbiAgKVxufVxuXG5leHBvcnQgY29uc3Qgc2tlbGV0b25UeXBlcyA9IE9iamVjdC5rZXlzKHZhcmlhbnRzKSBhcyBTa2VsZXRvblZhcmlhbnRbXVxuIl19 */",
|
|
39
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
40
|
-
});
|
|
41
|
-
const StyledDiv = /* @__PURE__ */ _styled__default.default("div", process.env.NODE_ENV === "production" ? {
|
|
42
|
-
target: "e183x2r80"
|
|
43
|
-
} : {
|
|
44
|
-
target: "e183x2r80",
|
|
45
|
-
label: "StyledDiv"
|
|
46
|
-
})("position:absolute;top:0;height:100%;width:25%;opacity:0.8;background:linear-gradient(\n 90deg,\n ", ({
|
|
47
|
-
theme
|
|
48
|
-
}) => theme.colors.neutral.backgroundWeak, "00,\n ", ({
|
|
49
|
-
theme
|
|
50
|
-
}) => theme.colors.neutral.backgroundWeak, "4D,\n ", ({
|
|
51
|
-
theme
|
|
52
|
-
}) => theme.colors.neutral.backgroundWeak, "66,\n ", ({
|
|
53
|
-
theme
|
|
54
|
-
}) => theme.colors.neutral.backgroundWeak, "4D,\n ", ({
|
|
55
|
-
theme
|
|
56
|
-
}) => theme.colors.neutral.backgroundWeak, "00\n );animation:", shineAnimation, " 1s linear infinite;animation-direction:alternate;@media (prefers-reduced-motion: reduce){animation:unset;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1NrZWxldG9uL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQzRCIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1NrZWxldG9uL2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgeyBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgQmxvY2sgfSBmcm9tICcuL0Jsb2NrJ1xuaW1wb3J0IHsgQmxvY2tzIH0gZnJvbSAnLi9CbG9ja3MnXG5pbXBvcnQgeyBCb3hXaXRoSWNvbiB9IGZyb20gJy4vQm94V2l0aEljb24nXG5pbXBvcnQgeyBEb251dCB9IGZyb20gJy4vRG9udXQnXG5pbXBvcnQgeyBMaW5lIH0gZnJvbSAnLi9MaW5lJ1xuaW1wb3J0IHsgTGlzdCB9IGZyb20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IHdpbGwgZXZlbnR1YWxseSBiZSBsb2FkZWQgb24gdGhlIHNjcmVlbi5cbiAqL1xuZXhwb3J0IGNvbnN0IFNrZWxldG9uID0gKHtcbiAgdmFyaWFudCA9ICdibG9ja3MnLFxuICBsZW5ndGgsXG4gIGNvbCxcbiAgY2xhc3NOYW1lLFxuICAnYXJpYS1sYWJlbCc6IGFyaWFMYWJlbCxcbiAgJ2RhdGEtdGVzdGlkJzogZGF0YVRlc3RJZCxcbn06IFNrZWxldG9uUHJvcHMpID0+IHtcbiAgY29uc3QgQ29tcG9uZW50ID0gdmFyaWFudHNbdmFyaWFudF1cblxuICByZXR1cm4gKFxuICAgIDxTdHlsZWRDb250YWluZXJcbiAgICAgIGFyaWEtYnVzeVxuICAgICAgYXJpYS1sYWJlbD17YXJpYUxhYmVsfVxuICAgICAgYXJpYS1saXZlPVwicG9saXRlXCJcbiAgICAgIGNsYXNzTmFtZT17Y2xhc3NOYW1lfVxuICAgICAgZGF0YS10ZXN0aWQ9e2RhdGFUZXN0SWR9XG4gICAgPlxuICAgICAgPENvbXBvbmVudCBjb2w9e2NvbH0gbGVuZ3RoPXtsZW5ndGh9IC8+XG5cbiAgICAgIDxTdHlsZWREaXYgLz5cbiAgICA8L1N0eWxlZENvbnRhaW5lcj5cbiAgKVxufVxuXG5leHBvcnQgY29uc3Qgc2tlbGV0b25UeXBlcyA9IE9iamVjdC5rZXlzKHZhcmlhbnRzKSBhcyBTa2VsZXRvblZhcmlhbnRbXVxuIl19 */"));
|
|
13
|
+
const styles_css = require("./styles.css.cjs");
|
|
57
14
|
const variants = {
|
|
58
15
|
block: Block.Block,
|
|
59
16
|
blocks: Blocks.Blocks,
|
|
@@ -70,12 +27,13 @@ const Skeleton = ({
|
|
|
70
27
|
col,
|
|
71
28
|
className,
|
|
72
29
|
"aria-label": ariaLabel,
|
|
73
|
-
"data-testid": dataTestId
|
|
30
|
+
"data-testid": dataTestId,
|
|
31
|
+
style
|
|
74
32
|
}) => {
|
|
75
33
|
const Component = variants[variant];
|
|
76
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "aria-busy": true, "aria-label": ariaLabel, "aria-live": "polite", className: `${className ? `${className} ` : ""}${styles_css.skeletonContainer}`, "data-testid": dataTestId, style, children: [
|
|
77
35
|
/* @__PURE__ */ jsxRuntime.jsx(Component, { col, length }),
|
|
78
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
36
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles_css.skeletonHighlight })
|
|
79
37
|
] });
|
|
80
38
|
};
|
|
81
39
|
exports.Skeleton = Skeleton;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
1
2
|
declare const variants: {
|
|
2
3
|
readonly block: ({ length }: {
|
|
3
4
|
length?: number;
|
|
@@ -11,10 +12,7 @@ declare const variants: {
|
|
|
11
12
|
length?: number;
|
|
12
13
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
14
|
readonly donut: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
-
readonly line: import("@emotion/
|
|
15
|
-
theme?: import("@emotion/react").Theme;
|
|
16
|
-
as?: React.ElementType;
|
|
17
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
15
|
+
readonly line: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
16
|
readonly list: ({ length, col, }: {
|
|
19
17
|
length?: number;
|
|
20
18
|
col?: number;
|
|
@@ -22,10 +20,7 @@ declare const variants: {
|
|
|
22
20
|
readonly slider: ({ length }: {
|
|
23
21
|
length?: number;
|
|
24
22
|
}) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
25
|
-
readonly square: import("@emotion/
|
|
26
|
-
theme?: import("@emotion/react").Theme;
|
|
27
|
-
as?: React.ElementType;
|
|
28
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
23
|
+
readonly square: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
29
24
|
};
|
|
30
25
|
type SkeletonVariant = keyof typeof variants;
|
|
31
26
|
type SkeletonProps = {
|
|
@@ -35,12 +30,13 @@ type SkeletonProps = {
|
|
|
35
30
|
className?: string;
|
|
36
31
|
'aria-label'?: string;
|
|
37
32
|
'data-testid'?: string;
|
|
33
|
+
style?: CSSProperties;
|
|
38
34
|
};
|
|
39
35
|
/**
|
|
40
36
|
* Skeleton component is used to indicate that the data is loading.
|
|
41
37
|
* It is used to provide a better user experience by showing a temporary placeholder reflecting the dimensions of the
|
|
42
38
|
* content that will eventually be loaded on the screen.
|
|
43
39
|
*/
|
|
44
|
-
export declare const Skeleton: ({ variant, length, col, className, "aria-label": ariaLabel, "data-testid": dataTestId, }: SkeletonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare const Skeleton: ({ variant, length, col, className, "aria-label": ariaLabel, "data-testid": dataTestId, style, }: SkeletonProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
45
41
|
export declare const skeletonTypes: SkeletonVariant[];
|
|
46
42
|
export {};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs, jsx } from "@emotion/react/jsx-runtime";
|
|
3
|
-
import _styled from "@emotion/styled/base";
|
|
4
|
-
import { keyframes } from "@emotion/react";
|
|
5
3
|
import { Block } from "./Block.js";
|
|
6
4
|
import { Blocks } from "./Blocks.js";
|
|
7
5
|
import { BoxWithIcon } from "./BoxWithIcon.js";
|
|
@@ -10,46 +8,7 @@ import { Line } from "./Line.js";
|
|
|
10
8
|
import { List } from "./List.js";
|
|
11
9
|
import { Slider } from "./Slider.js";
|
|
12
10
|
import { Square } from "./Square.js";
|
|
13
|
-
|
|
14
|
-
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
15
|
-
}
|
|
16
|
-
const shineAnimation = keyframes`
|
|
17
|
-
from {
|
|
18
|
-
left: -25%;
|
|
19
|
-
}
|
|
20
|
-
to {
|
|
21
|
-
left: 100%;
|
|
22
|
-
}
|
|
23
|
-
`;
|
|
24
|
-
const StyledContainer = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? {
|
|
25
|
-
target: "e183x2r81"
|
|
26
|
-
} : {
|
|
27
|
-
target: "e183x2r81",
|
|
28
|
-
label: "StyledContainer"
|
|
29
|
-
})(process.env.NODE_ENV === "production" ? {
|
|
30
|
-
name: "158ltsb",
|
|
31
|
-
styles: "position:relative;width:100%;overflow:hidden;cursor:progress;display:flex;flex-flow:column;height:100%"
|
|
32
|
-
} : {
|
|
33
|
-
name: "158ltsb",
|
|
34
|
-
styles: "position:relative;width:100%;overflow:hidden;cursor:progress;display:flex;flex-flow:column;height:100%/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1NrZWxldG9uL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFzQmtDIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1NrZWxldG9uL2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgeyBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJ1xuaW1wb3J0IHsgQmxvY2sgfSBmcm9tICcuL0Jsb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_ERROR__
|
|
36
|
-
});
|
|
37
|
-
const StyledDiv = /* @__PURE__ */ _styled("div", process.env.NODE_ENV === "production" ? {
|
|
38
|
-
target: "e183x2r80"
|
|
39
|
-
} : {
|
|
40
|
-
target: "e183x2r80",
|
|
41
|
-
label: "StyledDiv"
|
|
42
|
-
})("position:absolute;top:0;height:100%;width:25%;opacity:0.8;background:linear-gradient(\n 90deg,\n ", ({
|
|
43
|
-
theme
|
|
44
|
-
}) => theme.colors.neutral.backgroundWeak, "00,\n ", ({
|
|
45
|
-
theme
|
|
46
|
-
}) => theme.colors.neutral.backgroundWeak, "4D,\n ", ({
|
|
47
|
-
theme
|
|
48
|
-
}) => theme.colors.neutral.backgroundWeak, "66,\n ", ({
|
|
49
|
-
theme
|
|
50
|
-
}) => theme.colors.neutral.backgroundWeak, "4D,\n ", ({
|
|
51
|
-
theme
|
|
52
|
-
}) => theme.colors.neutral.backgroundWeak, "00\n );animation:", shineAnimation, " 1s linear infinite;animation-direction:alternate;@media (prefers-reduced-motion: reduce){animation:unset;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1NrZWxldG9uL2luZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFnQzRCIiwiZmlsZSI6Ii9ob21lL3J1bm5lci93b3JrL3VsdHJhdmlvbGV0L3VsdHJhdmlvbGV0L3BhY2thZ2VzL3VpL3NyYy9jb21wb25lbnRzL1NrZWxldG9uL2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIid1c2UgY2xpZW50J1xuXG5pbXBvcnQgeyBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCdcbmltcG9ydCBzdHlsZWQgZnJvbSA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Ta2VsZXRvblZhcmlhbnRbXVxuIl19 */"));
|
|
11
|
+
import { skeletonContainer, skeletonHighlight } from "./styles.css.js";
|
|
53
12
|
const variants = {
|
|
54
13
|
block: Block,
|
|
55
14
|
blocks: Blocks,
|
|
@@ -66,12 +25,13 @@ const Skeleton = ({
|
|
|
66
25
|
col,
|
|
67
26
|
className,
|
|
68
27
|
"aria-label": ariaLabel,
|
|
69
|
-
"data-testid": dataTestId
|
|
28
|
+
"data-testid": dataTestId,
|
|
29
|
+
style
|
|
70
30
|
}) => {
|
|
71
31
|
const Component = variants[variant];
|
|
72
|
-
return /* @__PURE__ */ jsxs(
|
|
32
|
+
return /* @__PURE__ */ jsxs("div", { "aria-busy": true, "aria-label": ariaLabel, "aria-live": "polite", className: `${className ? `${className} ` : ""}${skeletonContainer}`, "data-testid": dataTestId, style, children: [
|
|
73
33
|
/* @__PURE__ */ jsx(Component, { col, length }),
|
|
74
|
-
/* @__PURE__ */ jsx(
|
|
34
|
+
/* @__PURE__ */ jsx("div", { className: skeletonHighlight })
|
|
75
35
|
] });
|
|
76
36
|
};
|
|
77
37
|
export {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
var skeletonContainer = "uv_c2hb451";
|
|
5
|
+
var skeletonHighlight = "uv_c2hb452";
|
|
6
|
+
exports.skeletonContainer = skeletonContainer;
|
|
7
|
+
exports.skeletonHighlight = skeletonHighlight;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
var columns = "var(--uv_fr4c0t0)";
|
|
5
|
+
var widthLine = "var(--uv_fr4c0t1)";
|
|
6
|
+
var sliderLength = "var(--uv_fr4c0t2)";
|
|
7
|
+
var CIRCLE_SIZE = 12.875;
|
|
8
|
+
var blockSkeletonLine = "uv_fr4c0t3";
|
|
9
|
+
var blockSkeletonList = "uv_fr4c0t4";
|
|
10
|
+
var blocksContainer = "uv_fr4c0t5";
|
|
11
|
+
var blocksSkeleton = "uv_fr4c0t6";
|
|
12
|
+
var boxWithIconSkeleton = "uv_fr4c0t7";
|
|
13
|
+
var donutSkeletonContainer = "uv_fr4c0t8";
|
|
14
|
+
var donutSkeletonSvg = "uv_fr4c0t9";
|
|
15
|
+
var donutSkeletonCircle = "uv_fr4c0ta";
|
|
16
|
+
var donutSkeletonLineList = "uv_fr4c0tb";
|
|
17
|
+
var iconSkeleton = "uv_fr4c0tc";
|
|
18
|
+
var lineSkeleton = "uv_fr4c0td";
|
|
19
|
+
var listSkeletonLi = "uv_fr4c0te";
|
|
20
|
+
var listSkeletonDiv = "uv_fr4c0tf";
|
|
21
|
+
var listSkeletonUl = "uv_fr4c0tg";
|
|
22
|
+
var sliderSkeletonContainer = "uv_fr4c0th";
|
|
23
|
+
var sliderSkeletonCard = "uv_fr4c0ti";
|
|
24
|
+
var sliderSkeletonBanner = "uv_fr4c0tj";
|
|
25
|
+
var squareSkeleton = "uv_fr4c0tk";
|
|
26
|
+
exports.CIRCLE_SIZE = CIRCLE_SIZE;
|
|
27
|
+
exports.blockSkeletonLine = blockSkeletonLine;
|
|
28
|
+
exports.blockSkeletonList = blockSkeletonList;
|
|
29
|
+
exports.blocksContainer = blocksContainer;
|
|
30
|
+
exports.blocksSkeleton = blocksSkeleton;
|
|
31
|
+
exports.boxWithIconSkeleton = boxWithIconSkeleton;
|
|
32
|
+
exports.columns = columns;
|
|
33
|
+
exports.donutSkeletonCircle = donutSkeletonCircle;
|
|
34
|
+
exports.donutSkeletonContainer = donutSkeletonContainer;
|
|
35
|
+
exports.donutSkeletonLineList = donutSkeletonLineList;
|
|
36
|
+
exports.donutSkeletonSvg = donutSkeletonSvg;
|
|
37
|
+
exports.iconSkeleton = iconSkeleton;
|
|
38
|
+
exports.lineSkeleton = lineSkeleton;
|
|
39
|
+
exports.listSkeletonDiv = listSkeletonDiv;
|
|
40
|
+
exports.listSkeletonLi = listSkeletonLi;
|
|
41
|
+
exports.listSkeletonUl = listSkeletonUl;
|
|
42
|
+
exports.sliderLength = sliderLength;
|
|
43
|
+
exports.sliderSkeletonBanner = sliderSkeletonBanner;
|
|
44
|
+
exports.sliderSkeletonCard = sliderSkeletonCard;
|
|
45
|
+
exports.sliderSkeletonContainer = sliderSkeletonContainer;
|
|
46
|
+
exports.squareSkeleton = squareSkeleton;
|
|
47
|
+
exports.widthLine = widthLine;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare const columns: `var(--${string})`;
|
|
2
|
+
export declare const widthLine: `var(--${string})`;
|
|
3
|
+
export declare const sliderLength: `var(--${string})`;
|
|
4
|
+
export declare const CIRCLE_SIZE = 12.875;
|
|
5
|
+
export declare const blockSkeletonLine: string;
|
|
6
|
+
export declare const blockSkeletonList: string;
|
|
7
|
+
export declare const blocksContainer: string;
|
|
8
|
+
export declare const blocksSkeleton: string;
|
|
9
|
+
export declare const boxWithIconSkeleton: string;
|
|
10
|
+
export declare const donutSkeletonContainer: string;
|
|
11
|
+
export declare const donutSkeletonSvg: string;
|
|
12
|
+
export declare const donutSkeletonCircle: string;
|
|
13
|
+
export declare const donutSkeletonLineList: string;
|
|
14
|
+
export declare const iconSkeleton: string;
|
|
15
|
+
export declare const lineSkeleton: string;
|
|
16
|
+
export declare const listSkeletonLi: string;
|
|
17
|
+
export declare const listSkeletonDiv: string;
|
|
18
|
+
export declare const listSkeletonUl: string;
|
|
19
|
+
export declare const sliderSkeletonContainer: string;
|
|
20
|
+
export declare const sliderSkeletonCard: string;
|
|
21
|
+
export declare const sliderSkeletonBanner: string;
|
|
22
|
+
export declare const squareSkeleton: string;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* empty css */
|
|
2
|
+
var columns = "var(--uv_fr4c0t0)";
|
|
3
|
+
var widthLine = "var(--uv_fr4c0t1)";
|
|
4
|
+
var sliderLength = "var(--uv_fr4c0t2)";
|
|
5
|
+
var CIRCLE_SIZE = 12.875;
|
|
6
|
+
var blockSkeletonLine = "uv_fr4c0t3";
|
|
7
|
+
var blockSkeletonList = "uv_fr4c0t4";
|
|
8
|
+
var blocksContainer = "uv_fr4c0t5";
|
|
9
|
+
var blocksSkeleton = "uv_fr4c0t6";
|
|
10
|
+
var boxWithIconSkeleton = "uv_fr4c0t7";
|
|
11
|
+
var donutSkeletonContainer = "uv_fr4c0t8";
|
|
12
|
+
var donutSkeletonSvg = "uv_fr4c0t9";
|
|
13
|
+
var donutSkeletonCircle = "uv_fr4c0ta";
|
|
14
|
+
var donutSkeletonLineList = "uv_fr4c0tb";
|
|
15
|
+
var iconSkeleton = "uv_fr4c0tc";
|
|
16
|
+
var lineSkeleton = "uv_fr4c0td";
|
|
17
|
+
var listSkeletonLi = "uv_fr4c0te";
|
|
18
|
+
var listSkeletonDiv = "uv_fr4c0tf";
|
|
19
|
+
var listSkeletonUl = "uv_fr4c0tg";
|
|
20
|
+
var sliderSkeletonContainer = "uv_fr4c0th";
|
|
21
|
+
var sliderSkeletonCard = "uv_fr4c0ti";
|
|
22
|
+
var sliderSkeletonBanner = "uv_fr4c0tj";
|
|
23
|
+
var squareSkeleton = "uv_fr4c0tk";
|
|
24
|
+
export {
|
|
25
|
+
CIRCLE_SIZE,
|
|
26
|
+
blockSkeletonLine,
|
|
27
|
+
blockSkeletonList,
|
|
28
|
+
blocksContainer,
|
|
29
|
+
blocksSkeleton,
|
|
30
|
+
boxWithIconSkeleton,
|
|
31
|
+
columns,
|
|
32
|
+
donutSkeletonCircle,
|
|
33
|
+
donutSkeletonContainer,
|
|
34
|
+
donutSkeletonLineList,
|
|
35
|
+
donutSkeletonSvg,
|
|
36
|
+
iconSkeleton,
|
|
37
|
+
lineSkeleton,
|
|
38
|
+
listSkeletonDiv,
|
|
39
|
+
listSkeletonLi,
|
|
40
|
+
listSkeletonUl,
|
|
41
|
+
sliderLength,
|
|
42
|
+
sliderSkeletonBanner,
|
|
43
|
+
sliderSkeletonCard,
|
|
44
|
+
sliderSkeletonContainer,
|
|
45
|
+
squareSkeleton,
|
|
46
|
+
widthLine
|
|
47
|
+
};
|