@redis-ui/styles 18.0.0 → 19.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2259 -7510
- package/dist/index.umd.cjs +14 -14
- package/dist/themes/index.d.ts +1 -2
- package/dist/themes/index.js +1 -5
- package/dist/themes/themeDark/theme/components/actionIconButton.js +12 -12
- package/dist/themes/themeDark/theme/components/appBar.js +10 -10
- package/dist/themes/themeDark/theme/components/appSelectionMenu.js +7 -7
- package/dist/themes/themeDark/theme/components/badge.js +39 -39
- package/dist/themes/themeDark/theme/components/boxSelectionGroup.js +22 -13
- package/dist/themes/themeDark/theme/components/breadcrumbs.js +4 -4
- package/dist/themes/themeDark/theme/components/button.js +59 -42
- package/dist/themes/themeDark/theme/components/buttonGroup.js +26 -13
- package/dist/themes/themeDark/theme/components/card.js +15 -15
- package/dist/themes/themeDark/theme/components/checkbox.js +21 -21
- package/dist/themes/themeDark/theme/components/chip.js +10 -10
- package/dist/themes/themeDark/theme/components/chipList.js +3 -3
- package/dist/themes/themeDark/theme/components/countryFlag.js +1 -1
- package/dist/themes/themeDark/theme/components/drawer.js +9 -7
- package/dist/themes/themeDark/theme/components/filters.js +4 -4
- package/dist/themes/themeDark/theme/components/formField.js +2 -2
- package/dist/themes/themeDark/theme/components/highlightedIcon.js +13 -13
- package/dist/themes/themeDark/theme/components/icon.js +2 -2
- package/dist/themes/themeDark/theme/components/iconButton.js +6 -4
- package/dist/themes/themeDark/theme/components/input.js +22 -19
- package/dist/themes/themeDark/theme/components/keyValueList.js +7 -7
- package/dist/themes/themeDark/theme/components/label.js +4 -4
- package/dist/themes/themeDark/theme/components/layouts.js +1 -1
- package/dist/themes/themeDark/theme/components/link.js +10 -11
- package/dist/themes/themeDark/theme/components/loader.js +10 -9
- package/dist/themes/themeDark/theme/components/menu.js +15 -15
- package/dist/themes/themeDark/theme/components/modal.js +9 -6
- package/dist/themes/themeDark/theme/components/moreInfoIcon.js +1 -1
- package/dist/themes/themeDark/theme/components/popover.js +3 -3
- package/dist/themes/themeDark/theme/components/popupCard.js +2 -2
- package/dist/themes/themeDark/theme/components/profileIcon.js +26 -6
- package/dist/themes/themeDark/theme/components/progressBar.js +9 -9
- package/dist/themes/themeDark/theme/components/radio.js +11 -11
- package/dist/themes/themeDark/theme/components/searchBar.js +7 -5
- package/dist/themes/themeDark/theme/components/section.js +16 -12
- package/dist/themes/themeDark/theme/components/select.js +23 -22
- package/dist/themes/themeDark/theme/components/semanticButton.js +117 -70
- package/dist/themes/themeDark/theme/components/semanticContainer.js +15 -15
- package/dist/themes/themeDark/theme/components/sideBar.js +19 -19
- package/dist/themes/themeDark/theme/components/stepper.js +8 -8
- package/dist/themes/themeDark/theme/components/switch.js +24 -24
- package/dist/themes/themeDark/theme/components/table.js +19 -19
- package/dist/themes/themeDark/theme/components/tableHeading.js +2 -2
- package/dist/themes/themeDark/theme/components/tabs.js +13 -13
- package/dist/themes/themeDark/theme/components/textButton.js +30 -23
- package/dist/themes/themeDark/theme/components/themeModeSwitch.js +2 -2
- package/dist/themes/themeDark/theme/components/toggleButton.js +17 -19
- package/dist/themes/themeDark/theme/components/tooltip.js +2 -2
- package/dist/themes/themeDark/theme/components/typography.js +2 -2
- package/dist/themes/themeDark/theme/globals/body.js +2 -2
- package/dist/themes/themeDark/theme.js +1 -1
- package/dist/themes/themeDark/tokens.js +96 -96
- package/dist/themes/themeLight/theme/components/actionIconButton.js +11 -11
- package/dist/themes/themeLight/theme/components/appBar.js +10 -10
- package/dist/themes/themeLight/theme/components/appSelectionMenu.js +7 -7
- package/dist/themes/themeLight/theme/components/badge.js +28 -28
- package/dist/themes/themeLight/theme/components/boxSelectionGroup.js +23 -14
- package/dist/themes/themeLight/theme/components/breadcrumbs.js +6 -6
- package/dist/themes/themeLight/theme/components/button.js +57 -37
- package/dist/themes/themeLight/theme/components/buttonGroup.js +27 -14
- package/dist/themes/themeLight/theme/components/card.js +14 -14
- package/dist/themes/themeLight/theme/components/checkbox.js +20 -20
- package/dist/themes/themeLight/theme/components/chip.js +10 -10
- package/dist/themes/themeLight/theme/components/chipList.js +3 -3
- package/dist/themes/themeLight/theme/components/countryFlag.js +1 -1
- package/dist/themes/themeLight/theme/components/drawer.js +8 -6
- package/dist/themes/themeLight/theme/components/filters.js +4 -4
- package/dist/themes/themeLight/theme/components/formField.js +2 -2
- package/dist/themes/themeLight/theme/components/highlightedIcon.js +9 -9
- package/dist/themes/themeLight/theme/components/icon.js +2 -2
- package/dist/themes/themeLight/theme/components/iconButton.js +6 -4
- package/dist/themes/themeLight/theme/components/input.js +19 -16
- package/dist/themes/themeLight/theme/components/keyValueList.js +7 -7
- package/dist/themes/themeLight/theme/components/label.js +4 -4
- package/dist/themes/themeLight/theme/components/layouts.js +1 -1
- package/dist/themes/themeLight/theme/components/link.js +10 -12
- package/dist/themes/themeLight/theme/components/loader.js +10 -9
- package/dist/themes/themeLight/theme/components/menu.js +10 -10
- package/dist/themes/themeLight/theme/components/modal.js +8 -5
- package/dist/themes/themeLight/theme/components/moreInfoIcon.js +1 -1
- package/dist/themes/themeLight/theme/components/profileIcon.js +6 -6
- package/dist/themes/themeLight/theme/components/progressBar.js +9 -9
- package/dist/themes/themeLight/theme/components/radio.js +11 -11
- package/dist/themes/themeLight/theme/components/searchBar.js +7 -5
- package/dist/themes/themeLight/theme/components/section.js +14 -10
- package/dist/themes/themeLight/theme/components/select.js +18 -18
- package/dist/themes/themeLight/theme/components/semanticButton.js +113 -66
- package/dist/themes/themeLight/theme/components/semanticContainer.js +8 -8
- package/dist/themes/themeLight/theme/components/sideBar.js +19 -19
- package/dist/themes/themeLight/theme/components/stepper.js +7 -7
- package/dist/themes/themeLight/theme/components/switch.js +22 -22
- package/dist/themes/themeLight/theme/components/table.js +19 -19
- package/dist/themes/themeLight/theme/components/tableHeading.js +2 -2
- package/dist/themes/themeLight/theme/components/tabs.js +11 -11
- package/dist/themes/themeLight/theme/components/textButton.js +27 -20
- package/dist/themes/themeLight/theme/components/themeModeSwitch.js +2 -2
- package/dist/themes/themeLight/theme/components/toggleButton.js +17 -19
- package/dist/themes/themeLight/theme/components/tooltip.js +2 -2
- package/dist/themes/themeLight/theme/components/typography.js +2 -2
- package/dist/themes/themeLight/theme/globals/body.js +2 -2
- package/dist/themes/themeLight/tokens.js +95 -95
- package/package.json +1 -1
- package/dist/themes/themeDark2/theme/components/actionIconButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/actionIconButton.js +0 -56
- package/dist/themes/themeDark2/theme/components/appBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/appBar.js +0 -25
- package/dist/themes/themeDark2/theme/components/appSelectionMenu.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/appSelectionMenu.js +0 -46
- package/dist/themes/themeDark2/theme/components/autoComplete.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/autoComplete.js +0 -7
- package/dist/themes/themeDark2/theme/components/badge.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/badge.js +0 -73
- package/dist/themes/themeDark2/theme/components/banner.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/banner.js +0 -14
- package/dist/themes/themeDark2/theme/components/boxSelectionGroup.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/boxSelectionGroup.js +0 -58
- package/dist/themes/themeDark2/theme/components/breadcrumbs.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/breadcrumbs.js +0 -28
- package/dist/themes/themeDark2/theme/components/button.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/button.js +0 -202
- package/dist/themes/themeDark2/theme/components/buttonGroup.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/buttonGroup.js +0 -65
- package/dist/themes/themeDark2/theme/components/card.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/card.js +0 -40
- package/dist/themes/themeDark2/theme/components/checkbox.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/checkbox.js +0 -67
- package/dist/themes/themeDark2/theme/components/chip.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/chip.js +0 -60
- package/dist/themes/themeDark2/theme/components/chipList.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/chipList.js +0 -21
- package/dist/themes/themeDark2/theme/components/countryFlag.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/countryFlag.js +0 -9
- package/dist/themes/themeDark2/theme/components/drawer.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/drawer.js +0 -30
- package/dist/themes/themeDark2/theme/components/filters.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/filters.js +0 -36
- package/dist/themes/themeDark2/theme/components/formField.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/formField.js +0 -17
- package/dist/themes/themeDark2/theme/components/highlightedIcon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/highlightedIcon.js +0 -42
- package/dist/themes/themeDark2/theme/components/icon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/icon.js +0 -14
- package/dist/themes/themeDark2/theme/components/iconButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/iconButton.js +0 -49
- package/dist/themes/themeDark2/theme/components/input.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/input.js +0 -97
- package/dist/themes/themeDark2/theme/components/keyValueList.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/keyValueList.js +0 -30
- package/dist/themes/themeDark2/theme/components/label.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/label.js +0 -24
- package/dist/themes/themeDark2/theme/components/layouts.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/layouts.js +0 -39
- package/dist/themes/themeDark2/theme/components/link.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/link.js +0 -72
- package/dist/themes/themeDark2/theme/components/loader.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/loader.js +0 -30
- package/dist/themes/themeDark2/theme/components/menu.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/menu.js +0 -79
- package/dist/themes/themeDark2/theme/components/midBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/midBar.js +0 -14
- package/dist/themes/themeDark2/theme/components/modal.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/modal.js +0 -34
- package/dist/themes/themeDark2/theme/components/moreInfoIcon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/moreInfoIcon.js +0 -5
- package/dist/themes/themeDark2/theme/components/popover.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/popover.js +0 -16
- package/dist/themes/themeDark2/theme/components/popupCard.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/popupCard.js +0 -22
- package/dist/themes/themeDark2/theme/components/profileIcon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/profileIcon.js +0 -39
- package/dist/themes/themeDark2/theme/components/progressBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/progressBar.js +0 -57
- package/dist/themes/themeDark2/theme/components/radio.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/radio.js +0 -51
- package/dist/themes/themeDark2/theme/components/searchBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/searchBar.js +0 -25
- package/dist/themes/themeDark2/theme/components/section.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/section.js +0 -52
- package/dist/themes/themeDark2/theme/components/select.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/select.js +0 -104
- package/dist/themes/themeDark2/theme/components/semanticButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/semanticButton.js +0 -250
- package/dist/themes/themeDark2/theme/components/semanticContainer.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/semanticContainer.js +0 -43
- package/dist/themes/themeDark2/theme/components/semanticIcon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/semanticIcon.js +0 -11
- package/dist/themes/themeDark2/theme/components/sideBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/sideBar.js +0 -81
- package/dist/themes/themeDark2/theme/components/skeleton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/skeleton.js +0 -30
- package/dist/themes/themeDark2/theme/components/slider.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/slider.js +0 -68
- package/dist/themes/themeDark2/theme/components/stepper.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/stepper.js +0 -62
- package/dist/themes/themeDark2/theme/components/switch.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/switch.js +0 -55
- package/dist/themes/themeDark2/theme/components/table.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/table.js +0 -91
- package/dist/themes/themeDark2/theme/components/tableHeading.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/tableHeading.js +0 -26
- package/dist/themes/themeDark2/theme/components/tabs.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/tabs.js +0 -89
- package/dist/themes/themeDark2/theme/components/textButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/textButton.js +0 -202
- package/dist/themes/themeDark2/theme/components/themeModeSwitch.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/themeModeSwitch.js +0 -18
- package/dist/themes/themeDark2/theme/components/toast.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/toast.js +0 -9
- package/dist/themes/themeDark2/theme/components/toggleButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/toggleButton.js +0 -57
- package/dist/themes/themeDark2/theme/components/tooltip.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/tooltip.js +0 -17
- package/dist/themes/themeDark2/theme/components/treeView.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/treeView.js +0 -16
- package/dist/themes/themeDark2/theme/components/typography.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/typography.js +0 -79
- package/dist/themes/themeDark2/theme/components/windowBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/windowBar.js +0 -55
- package/dist/themes/themeDark2/theme/globals/body.d.ts +0 -3
- package/dist/themes/themeDark2/theme/globals/body.js +0 -9
- package/dist/themes/themeDark2/theme/globals/scrollbar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/globals/scrollbar.js +0 -12
- package/dist/themes/themeDark2/theme.d.ts +0 -2
- package/dist/themes/themeDark2/theme.js +0 -132
- package/dist/themes/themeDark2/tokens.d.ts +0 -2
- package/dist/themes/themeDark2/tokens.js +0 -200
- package/dist/themes/themeLight2/theme/components/actionIconButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/actionIconButton.js +0 -56
- package/dist/themes/themeLight2/theme/components/appBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/appBar.js +0 -25
- package/dist/themes/themeLight2/theme/components/appSelectionMenu.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/appSelectionMenu.js +0 -46
- package/dist/themes/themeLight2/theme/components/autoComplete.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/autoComplete.js +0 -7
- package/dist/themes/themeLight2/theme/components/badge.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/badge.js +0 -73
- package/dist/themes/themeLight2/theme/components/banner.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/banner.js +0 -14
- package/dist/themes/themeLight2/theme/components/boxSelectionGroup.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/boxSelectionGroup.js +0 -58
- package/dist/themes/themeLight2/theme/components/breadcrumbs.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/breadcrumbs.js +0 -28
- package/dist/themes/themeLight2/theme/components/button.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/button.js +0 -202
- package/dist/themes/themeLight2/theme/components/buttonGroup.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/buttonGroup.js +0 -65
- package/dist/themes/themeLight2/theme/components/card.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/card.js +0 -40
- package/dist/themes/themeLight2/theme/components/checkbox.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/checkbox.js +0 -67
- package/dist/themes/themeLight2/theme/components/chip.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/chip.js +0 -60
- package/dist/themes/themeLight2/theme/components/chipList.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/chipList.js +0 -21
- package/dist/themes/themeLight2/theme/components/countryFlag.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/countryFlag.js +0 -9
- package/dist/themes/themeLight2/theme/components/drawer.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/drawer.js +0 -30
- package/dist/themes/themeLight2/theme/components/filters.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/filters.js +0 -36
- package/dist/themes/themeLight2/theme/components/formField.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/formField.js +0 -17
- package/dist/themes/themeLight2/theme/components/highlightedIcon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/highlightedIcon.js +0 -42
- package/dist/themes/themeLight2/theme/components/icon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/icon.js +0 -14
- package/dist/themes/themeLight2/theme/components/iconButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/iconButton.js +0 -49
- package/dist/themes/themeLight2/theme/components/input.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/input.js +0 -97
- package/dist/themes/themeLight2/theme/components/keyValueList.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/keyValueList.js +0 -30
- package/dist/themes/themeLight2/theme/components/label.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/label.js +0 -24
- package/dist/themes/themeLight2/theme/components/layouts.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/layouts.js +0 -39
- package/dist/themes/themeLight2/theme/components/link.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/link.js +0 -72
- package/dist/themes/themeLight2/theme/components/loader.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/loader.js +0 -30
- package/dist/themes/themeLight2/theme/components/menu.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/menu.js +0 -79
- package/dist/themes/themeLight2/theme/components/midBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/midBar.js +0 -14
- package/dist/themes/themeLight2/theme/components/modal.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/modal.js +0 -34
- package/dist/themes/themeLight2/theme/components/moreInfoIcon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/moreInfoIcon.js +0 -5
- package/dist/themes/themeLight2/theme/components/popover.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/popover.js +0 -16
- package/dist/themes/themeLight2/theme/components/popupCard.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/popupCard.js +0 -22
- package/dist/themes/themeLight2/theme/components/profileIcon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/profileIcon.js +0 -39
- package/dist/themes/themeLight2/theme/components/progressBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/progressBar.js +0 -57
- package/dist/themes/themeLight2/theme/components/radio.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/radio.js +0 -51
- package/dist/themes/themeLight2/theme/components/searchBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/searchBar.js +0 -25
- package/dist/themes/themeLight2/theme/components/section.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/section.js +0 -52
- package/dist/themes/themeLight2/theme/components/select.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/select.js +0 -103
- package/dist/themes/themeLight2/theme/components/semanticButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/semanticButton.js +0 -250
- package/dist/themes/themeLight2/theme/components/semanticContainer.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/semanticContainer.js +0 -43
- package/dist/themes/themeLight2/theme/components/semanticIcon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/semanticIcon.js +0 -11
- package/dist/themes/themeLight2/theme/components/sideBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/sideBar.js +0 -81
- package/dist/themes/themeLight2/theme/components/skeleton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/skeleton.js +0 -30
- package/dist/themes/themeLight2/theme/components/slider.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/slider.js +0 -68
- package/dist/themes/themeLight2/theme/components/stepper.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/stepper.js +0 -62
- package/dist/themes/themeLight2/theme/components/switch.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/switch.js +0 -55
- package/dist/themes/themeLight2/theme/components/table.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/table.js +0 -91
- package/dist/themes/themeLight2/theme/components/tableHeading.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/tableHeading.js +0 -26
- package/dist/themes/themeLight2/theme/components/tabs.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/tabs.js +0 -86
- package/dist/themes/themeLight2/theme/components/textButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/textButton.js +0 -203
- package/dist/themes/themeLight2/theme/components/themeModeSwitch.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/themeModeSwitch.js +0 -18
- package/dist/themes/themeLight2/theme/components/toast.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/toast.js +0 -9
- package/dist/themes/themeLight2/theme/components/toggleButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/toggleButton.js +0 -57
- package/dist/themes/themeLight2/theme/components/tooltip.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/tooltip.js +0 -17
- package/dist/themes/themeLight2/theme/components/treeView.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/treeView.js +0 -16
- package/dist/themes/themeLight2/theme/components/typography.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/typography.js +0 -79
- package/dist/themes/themeLight2/theme/components/windowBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/windowBar.js +0 -55
- package/dist/themes/themeLight2/theme/globals/body.d.ts +0 -3
- package/dist/themes/themeLight2/theme/globals/body.js +0 -9
- package/dist/themes/themeLight2/theme/globals/scrollbar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/globals/scrollbar.js +0 -12
- package/dist/themes/themeLight2/theme.d.ts +0 -2
- package/dist/themes/themeLight2/theme.js +0 -132
- package/dist/themes/themeLight2/tokens.d.ts +0 -2
- package/dist/themes/themeLight2/tokens.js +0 -200
|
@@ -14,25 +14,25 @@ const theme = {
|
|
|
14
14
|
on: {
|
|
15
15
|
normal: {
|
|
16
16
|
bgColor: tokens.semantic.color.background.primary400,
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
19
19
|
},
|
|
20
20
|
disabled: {
|
|
21
|
-
bgColor: tokens.semantic.color.background.
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
22
|
+
iconColor: tokens.semantic.color.icon.secondary600,
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
off: {
|
|
27
27
|
normal: {
|
|
28
|
-
bgColor: tokens.semantic.color.background.
|
|
29
|
-
borderColor: tokens.semantic.color.border.
|
|
30
|
-
textColor: tokens.semantic.color.text.
|
|
28
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
29
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
30
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
31
31
|
},
|
|
32
32
|
disabled: {
|
|
33
|
-
bgColor: tokens.semantic.color.background.
|
|
34
|
-
borderColor: tokens.semantic.color.border.
|
|
35
|
-
textColor: tokens.semantic.color.text.
|
|
33
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
34
|
+
borderColor: tokens.semantic.color.border.secondary800,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
},
|
|
@@ -40,25 +40,25 @@ const theme = {
|
|
|
40
40
|
on: {
|
|
41
41
|
normal: {
|
|
42
42
|
bgColor: tokens.semantic.color.background.danger500,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
44
|
+
textColor: tokens.semantic.color.text.danger400
|
|
45
45
|
},
|
|
46
46
|
disabled: {
|
|
47
|
-
bgColor: tokens.semantic.color.background.
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
bgColor: tokens.semantic.color.background.danger500,
|
|
48
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
49
|
+
textColor: tokens.semantic.color.text.danger400
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
off: {
|
|
53
53
|
normal: {
|
|
54
|
-
bgColor: tokens.semantic.color.background.
|
|
54
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
55
55
|
borderColor: tokens.semantic.color.border.danger500,
|
|
56
|
-
textColor: tokens.semantic.color.text.
|
|
56
|
+
textColor: tokens.semantic.color.text.danger400
|
|
57
57
|
},
|
|
58
58
|
disabled: {
|
|
59
|
-
bgColor: tokens.semantic.color.background.
|
|
60
|
-
borderColor: tokens.semantic.color.border.
|
|
61
|
-
textColor: tokens.semantic.color.text.
|
|
59
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
60
|
+
borderColor: tokens.semantic.color.border.danger500,
|
|
61
|
+
textColor: tokens.semantic.color.text.danger400
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -17,32 +17,32 @@ const theme = {
|
|
|
17
17
|
variant: {
|
|
18
18
|
regular: {
|
|
19
19
|
normal: {
|
|
20
|
-
bgColor: tokens.semantic.color.background.
|
|
21
|
-
textColor: tokens.semantic.color.text.
|
|
20
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary50
|
|
22
22
|
},
|
|
23
23
|
disabled: {
|
|
24
|
-
bgColor: tokens.semantic.color.background.
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
24
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
flat: {
|
|
29
29
|
normal: {
|
|
30
|
-
bgColor: tokens.semantic.color.background.
|
|
31
|
-
textColor: tokens.semantic.color.text.
|
|
30
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
31
|
+
textColor: tokens.semantic.color.text.secondary50
|
|
32
32
|
},
|
|
33
33
|
disabled: {
|
|
34
|
-
bgColor: tokens.semantic.color.background.
|
|
35
|
-
textColor: tokens.semantic.color.text.
|
|
34
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
closeButton: {
|
|
40
40
|
variant: {
|
|
41
41
|
regular: {
|
|
42
|
-
color: tokens.semantic.color.icon.
|
|
42
|
+
color: tokens.semantic.color.icon.secondary600
|
|
43
43
|
},
|
|
44
44
|
flat: {
|
|
45
|
-
color: tokens.semantic.color.icon.
|
|
45
|
+
color: tokens.semantic.color.icon.secondary600
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
size: {
|
|
@@ -9,9 +9,9 @@ const theme = {
|
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
popupList: {
|
|
12
|
-
|
|
13
|
-
color: tokens.semantic.color.text.
|
|
14
|
-
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
13
|
+
color: tokens.semantic.color.text.secondary200,
|
|
14
|
+
disabledColor: tokens.semantic.color.text.secondary800,
|
|
15
15
|
minWidth: '18rem',
|
|
16
16
|
maxHeight: '33.2rem',
|
|
17
17
|
gap: '0.4rem',
|
|
@@ -1,28 +1,30 @@
|
|
|
1
1
|
import { withOpacity } from '../../../../utils';
|
|
2
2
|
import { tokens } from '../../tokens';
|
|
3
3
|
const theme = {
|
|
4
|
-
shadow:
|
|
5
|
-
bgColor: tokens.semantic.color.background.
|
|
4
|
+
shadow: tokens.core.shadow.shadow500,
|
|
5
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
6
6
|
sidePadding: '3.2rem',
|
|
7
7
|
width: '60rem',
|
|
8
8
|
borderRadius: '0.8rem',
|
|
9
9
|
header: {
|
|
10
10
|
blockPadding: '4rem 0',
|
|
11
|
-
closeIconColor: tokens.semantic.color.icon.
|
|
12
|
-
textColor: tokens.semantic.color.text.
|
|
11
|
+
closeIconColor: tokens.semantic.color.icon.secondary200,
|
|
12
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
13
13
|
},
|
|
14
14
|
description: {
|
|
15
15
|
blockPadding: '3rem 0',
|
|
16
|
-
textColor: tokens.semantic.color.text.
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
17
17
|
},
|
|
18
18
|
body: {
|
|
19
19
|
blockPadding: '4rem 1.6rem'
|
|
20
20
|
},
|
|
21
21
|
footer: {
|
|
22
22
|
blockPadding: '1.6rem',
|
|
23
|
-
border: `1px solid ${tokens.semantic.color.border.
|
|
23
|
+
border: `1px solid ${tokens.semantic.color.border.secondary800}`,
|
|
24
24
|
buttonsGap: '1.6rem'
|
|
25
25
|
},
|
|
26
|
-
overlay: {
|
|
26
|
+
overlay: {
|
|
27
|
+
bgColor: withOpacity(tokens.semantic.color.background.secondary990, 0.8)
|
|
28
|
+
}
|
|
27
29
|
};
|
|
28
30
|
export default theme;
|
|
@@ -2,23 +2,23 @@ import { tokens } from '../../tokens';
|
|
|
2
2
|
const theme = {
|
|
3
3
|
chipList: {
|
|
4
4
|
padding: '0.8rem 1.6rem',
|
|
5
|
-
border: `1px solid ${tokens.semantic.color.border.
|
|
5
|
+
border: `1px solid ${tokens.semantic.color.border.secondary800}`
|
|
6
6
|
},
|
|
7
7
|
filtersBar: {
|
|
8
8
|
gap: '1.6rem',
|
|
9
9
|
padding: '0.8rem 1.6rem 0.8rem 0.4rem',
|
|
10
10
|
separator: {
|
|
11
11
|
width: '1px',
|
|
12
|
-
color: tokens.semantic.color.border.
|
|
12
|
+
color: tokens.semantic.color.border.secondary800
|
|
13
13
|
},
|
|
14
14
|
trigger: {
|
|
15
15
|
margin: '0.4rem 1.6rem',
|
|
16
16
|
gap: '0.4rem',
|
|
17
17
|
on: {
|
|
18
|
-
color: tokens.semantic.color.text.
|
|
18
|
+
color: tokens.semantic.color.text.secondary200
|
|
19
19
|
},
|
|
20
20
|
off: {
|
|
21
|
-
color: tokens.semantic.color.text.
|
|
21
|
+
color: tokens.semantic.color.text.secondary200
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
},
|
|
@@ -7,10 +7,10 @@ const theme = {
|
|
|
7
7
|
additionalText: {
|
|
8
8
|
margin: '0.4rem 0 0 0',
|
|
9
9
|
normal: {
|
|
10
|
-
textColor: tokens.semantic.color.text.
|
|
10
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
11
11
|
},
|
|
12
12
|
error: {
|
|
13
|
-
textColor: tokens.semantic.color.text.
|
|
13
|
+
textColor: tokens.semantic.color.text.danger400
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
};
|
|
@@ -2,39 +2,39 @@ import { tokens } from '../../tokens';
|
|
|
2
2
|
const theme = {
|
|
3
3
|
variants: {
|
|
4
4
|
primary: {
|
|
5
|
-
background: tokens.semantic.color.background.
|
|
5
|
+
background: tokens.semantic.color.background.primary950,
|
|
6
6
|
text: tokens.semantic.color.text.primary400
|
|
7
7
|
},
|
|
8
8
|
secondary: {
|
|
9
|
-
background: tokens.semantic.color.background.
|
|
9
|
+
background: tokens.semantic.color.background.secondary900,
|
|
10
10
|
text: tokens.semantic.color.text.secondary400
|
|
11
11
|
},
|
|
12
12
|
informative: {
|
|
13
|
-
background: tokens.semantic.color.background.
|
|
14
|
-
text: tokens.semantic.color.text.
|
|
13
|
+
background: tokens.semantic.color.background.informative900,
|
|
14
|
+
text: tokens.semantic.color.text.informative600
|
|
15
15
|
},
|
|
16
16
|
notice: {
|
|
17
|
-
background: tokens.semantic.color.background.
|
|
18
|
-
text: tokens.semantic.color.text.
|
|
17
|
+
background: tokens.semantic.color.background.notice900,
|
|
18
|
+
text: tokens.semantic.color.text.notice400
|
|
19
19
|
},
|
|
20
20
|
success: {
|
|
21
|
-
background: tokens.semantic.color.background.
|
|
22
|
-
text: tokens.semantic.color.text.
|
|
21
|
+
background: tokens.semantic.color.background.success900,
|
|
22
|
+
text: tokens.semantic.color.text.success400
|
|
23
23
|
},
|
|
24
24
|
attention: {
|
|
25
|
-
background: tokens.semantic.color.background.
|
|
26
|
-
text: tokens.semantic.color.text.
|
|
25
|
+
background: tokens.semantic.color.background.attention900,
|
|
26
|
+
text: tokens.semantic.color.text.attention400
|
|
27
27
|
},
|
|
28
28
|
error: {
|
|
29
|
-
background: tokens.semantic.color.background.
|
|
30
|
-
text: tokens.semantic.color.text.
|
|
29
|
+
background: tokens.semantic.color.background.danger900,
|
|
30
|
+
text: tokens.semantic.color.text.danger400
|
|
31
31
|
},
|
|
32
32
|
upsell: {
|
|
33
33
|
background: tokens.semantic.color.background.discovery900,
|
|
34
34
|
text: tokens.semantic.color.text.discovery400
|
|
35
35
|
},
|
|
36
36
|
neutral: {
|
|
37
|
-
background: tokens.semantic.color.background.
|
|
37
|
+
background: tokens.semantic.color.background.neutral950,
|
|
38
38
|
text: tokens.semantic.color.text.neutral700
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
3
|
variants: {
|
|
4
|
-
primary: tokens.semantic.color.icon.
|
|
5
|
-
secondary: tokens.semantic.color.icon.
|
|
4
|
+
primary: tokens.semantic.color.icon.secondary200,
|
|
5
|
+
secondary: tokens.semantic.color.icon.secondary400,
|
|
6
6
|
notice: tokens.semantic.color.icon.notice500,
|
|
7
7
|
success: tokens.semantic.color.icon.success500,
|
|
8
8
|
attention: tokens.semantic.color.icon.attention500,
|
|
@@ -29,17 +29,19 @@ const theme = {
|
|
|
29
29
|
states: {
|
|
30
30
|
normal: {
|
|
31
31
|
bgColor: 'transparent',
|
|
32
|
-
textColor: tokens.semantic.color.text.
|
|
32
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
33
33
|
},
|
|
34
34
|
hover: {
|
|
35
|
-
bgColor: tokens.semantic.color.background.
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
36
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
36
37
|
},
|
|
37
38
|
active: {
|
|
38
|
-
bgColor:
|
|
39
|
+
bgColor: 'transparent',
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
39
41
|
},
|
|
40
42
|
disabled: {
|
|
41
43
|
bgColor: 'transparent',
|
|
42
|
-
textColor: tokens.semantic.color.text.
|
|
44
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
43
45
|
}
|
|
44
46
|
},
|
|
45
47
|
borderRadius: '0.4rem'
|
|
@@ -7,15 +7,15 @@ const theme = {
|
|
|
7
7
|
fontSize: '1.4rem',
|
|
8
8
|
fontWeight: tokens.core.font.fontWeight.normal,
|
|
9
9
|
resetButton: {
|
|
10
|
-
iconColor: tokens.semantic.color.icon.
|
|
10
|
+
iconColor: tokens.semantic.color.icon.secondary200
|
|
11
11
|
},
|
|
12
12
|
indicator: {
|
|
13
|
-
errorTooltipTextColor: tokens.semantic.color.text.
|
|
14
|
-
errorIconColor: tokens.semantic.color.icon.
|
|
13
|
+
errorTooltipTextColor: tokens.semantic.color.text.secondary50,
|
|
14
|
+
errorIconColor: tokens.semantic.color.icon.danger400,
|
|
15
15
|
successIconColor: tokens.semantic.color.icon.success500
|
|
16
16
|
},
|
|
17
17
|
placeholder: {
|
|
18
|
-
textColor: tokens.semantic.color.text.
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
19
19
|
},
|
|
20
20
|
loader: {
|
|
21
21
|
size: 'M'
|
|
@@ -32,27 +32,27 @@ const theme = {
|
|
|
32
32
|
},
|
|
33
33
|
states: {
|
|
34
34
|
normal: {
|
|
35
|
-
bgColor: tokens.semantic.color.background.
|
|
36
|
-
textColor: tokens.semantic.color.text.
|
|
37
|
-
borderColor: tokens.semantic.color.border.
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
36
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
37
|
+
borderColor: tokens.semantic.color.border.secondary700
|
|
38
38
|
},
|
|
39
39
|
focused: {
|
|
40
|
-
borderColor: tokens.semantic.color.border.
|
|
40
|
+
borderColor: tokens.semantic.color.border.primary300
|
|
41
41
|
},
|
|
42
42
|
success: {
|
|
43
43
|
borderColor: tokens.semantic.color.border.success500
|
|
44
44
|
},
|
|
45
45
|
error: {
|
|
46
|
-
borderColor: tokens.semantic.color.border.
|
|
46
|
+
borderColor: tokens.semantic.color.border.danger400
|
|
47
47
|
},
|
|
48
48
|
disabled: {
|
|
49
|
-
bgColor: tokens.semantic.color.background.
|
|
50
|
-
textColor: tokens.semantic.color.text.
|
|
51
|
-
borderColor: tokens.semantic.color.border.
|
|
49
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
50
|
+
textColor: tokens.semantic.color.text.secondary600,
|
|
51
|
+
borderColor: tokens.semantic.color.border.secondary800
|
|
52
52
|
},
|
|
53
53
|
readonly: {
|
|
54
54
|
bgColor: 'transparent',
|
|
55
|
-
textColor: tokens.semantic.color.text.
|
|
55
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
56
56
|
borderColor: 'transparent'
|
|
57
57
|
}
|
|
58
58
|
},
|
|
@@ -68,26 +68,29 @@ const theme = {
|
|
|
68
68
|
indicatorMargin: '0.8rem 0.9rem auto auto'
|
|
69
69
|
},
|
|
70
70
|
search: {
|
|
71
|
-
iconColor: tokens.semantic.color.icon.
|
|
71
|
+
iconColor: tokens.semantic.color.icon.secondary200,
|
|
72
72
|
resetButton: {
|
|
73
|
-
iconColor: tokens.semantic.color.icon.
|
|
73
|
+
iconColor: tokens.semantic.color.icon.secondary200
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
counter: {
|
|
77
77
|
minWidth: '12rem',
|
|
78
78
|
padding: '0 0.8rem',
|
|
79
|
-
valueLabel: {
|
|
79
|
+
valueLabel: {
|
|
80
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
81
|
+
}
|
|
80
82
|
},
|
|
81
83
|
password: {
|
|
82
|
-
padding: '0 0.5rem 0 1rem'
|
|
84
|
+
padding: '0 0.5rem 0 1rem',
|
|
85
|
+
fontSizeAdjust: '1'
|
|
83
86
|
},
|
|
84
87
|
additionalText: {
|
|
85
88
|
margin: '0.4rem 0 0 0',
|
|
86
89
|
normal: {
|
|
87
|
-
textColor: tokens.semantic.color.text.
|
|
90
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
88
91
|
},
|
|
89
92
|
error: {
|
|
90
|
-
textColor: tokens.semantic.color.text.
|
|
93
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
91
94
|
}
|
|
92
95
|
}
|
|
93
96
|
};
|
|
@@ -2,29 +2,29 @@ import { tokens } from '../../tokens';
|
|
|
2
2
|
const theme = {
|
|
3
3
|
container: {
|
|
4
4
|
borderRadius: '0.8rem',
|
|
5
|
-
backgroundColor: tokens.semantic.color.background.
|
|
6
|
-
boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.
|
|
5
|
+
backgroundColor: tokens.semantic.color.background.secondary950,
|
|
6
|
+
boxShadow: `0px 0px 0px 1px ${tokens.semantic.color.border.secondary800}`
|
|
7
7
|
},
|
|
8
8
|
headerRow: {
|
|
9
9
|
minHeight: '5.6rem',
|
|
10
|
-
bgColor: tokens.semantic.color.background.
|
|
10
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
11
11
|
separator: {
|
|
12
|
-
color: tokens.semantic.color.border.
|
|
12
|
+
color: tokens.semantic.color.border.secondary800,
|
|
13
13
|
width: '1px'
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
headerCell: {
|
|
17
17
|
padding: '1rem 1.2rem',
|
|
18
|
-
color: tokens.semantic.color.text.
|
|
18
|
+
color: tokens.semantic.color.text.secondary200,
|
|
19
19
|
separator: {
|
|
20
|
-
color: tokens.semantic.color.border.
|
|
20
|
+
color: tokens.semantic.color.border.secondary800,
|
|
21
21
|
width: '1px',
|
|
22
22
|
blockPadding: '1rem'
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
bodyCell: {
|
|
26
26
|
padding: '0.4rem 1.2rem',
|
|
27
|
-
color: tokens.semantic.color.text.
|
|
27
|
+
color: tokens.semantic.color.text.secondary300
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
30
|
export default theme;
|
|
@@ -5,17 +5,17 @@ const theme = {
|
|
|
5
5
|
minHeight: '20px',
|
|
6
6
|
state: {
|
|
7
7
|
normal: {
|
|
8
|
-
textColor: tokens.semantic.color.text.
|
|
8
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
9
9
|
},
|
|
10
10
|
readonly: {
|
|
11
|
-
textColor: tokens.semantic.color.text.
|
|
11
|
+
textColor: tokens.semantic.color.text.secondary400
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
infoIcon: {
|
|
15
|
-
iconColor: tokens.semantic.color.icon.
|
|
15
|
+
iconColor: tokens.semantic.color.icon.secondary500
|
|
16
16
|
},
|
|
17
17
|
optional: {
|
|
18
|
-
textColor: tokens.semantic.color.text.
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
19
19
|
},
|
|
20
20
|
required: {
|
|
21
21
|
textColor: tokens.semantic.color.text.danger500
|
|
@@ -21,18 +21,19 @@ const theme = {
|
|
|
21
21
|
states: {
|
|
22
22
|
normal: {
|
|
23
23
|
bgColor: 'transparent',
|
|
24
|
-
textColor: tokens.semantic.color.text.
|
|
25
|
-
borderColor: 'transparent'
|
|
24
|
+
textColor: tokens.semantic.color.text.primary300
|
|
26
25
|
},
|
|
27
26
|
hover: {
|
|
28
|
-
bgColor:
|
|
27
|
+
bgColor: 'transparent',
|
|
28
|
+
textColor: tokens.semantic.color.text.primary300
|
|
29
29
|
},
|
|
30
30
|
active: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
31
|
+
bgColor: tokens.semantic.color.background.primary950,
|
|
32
|
+
textColor: tokens.semantic.color.text.primary300
|
|
32
33
|
},
|
|
33
34
|
disabled: {
|
|
34
35
|
bgColor: 'transparent',
|
|
35
|
-
textColor: tokens.semantic.color.text.
|
|
36
|
+
textColor: tokens.semantic.color.text.secondary800
|
|
36
37
|
}
|
|
37
38
|
}
|
|
38
39
|
},
|
|
@@ -53,18 +54,16 @@ const theme = {
|
|
|
53
54
|
},
|
|
54
55
|
states: {
|
|
55
56
|
normal: {
|
|
56
|
-
|
|
57
|
-
textColor: tokens.semantic.color.text.informative500
|
|
57
|
+
textColor: tokens.semantic.color.text.primary300
|
|
58
58
|
},
|
|
59
59
|
hover: {
|
|
60
|
-
textColor: tokens.semantic.color.text.
|
|
60
|
+
textColor: tokens.semantic.color.text.primary200
|
|
61
61
|
},
|
|
62
62
|
active: {
|
|
63
|
-
textColor: tokens.semantic.color.text.
|
|
63
|
+
textColor: tokens.semantic.color.text.primary300
|
|
64
64
|
},
|
|
65
65
|
disabled: {
|
|
66
|
-
|
|
67
|
-
textColor: tokens.semantic.color.text.neutral900
|
|
66
|
+
textColor: tokens.semantic.color.text.secondary800
|
|
68
67
|
}
|
|
69
68
|
}
|
|
70
69
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { withOpacity } from '../../../../utils';
|
|
1
2
|
import { tokens } from '../../tokens';
|
|
2
3
|
const theme = {
|
|
3
4
|
sizes: {
|
|
@@ -10,19 +11,19 @@ const theme = {
|
|
|
10
11
|
gap: '0.5rem',
|
|
11
12
|
variants: {
|
|
12
13
|
regular: {
|
|
13
|
-
bgColor: tokens.semantic.color.icon.
|
|
14
|
-
color: tokens.semantic.color.icon.
|
|
15
|
-
textColor: tokens.semantic.color.icon.
|
|
14
|
+
bgColor: tokens.semantic.color.icon.primary900,
|
|
15
|
+
color: tokens.semantic.color.icon.primary300,
|
|
16
|
+
textColor: tokens.semantic.color.icon.secondary200
|
|
16
17
|
},
|
|
17
18
|
pending: {
|
|
18
|
-
bgColor: tokens.semantic.color.icon.
|
|
19
|
-
color: tokens.semantic.color.icon.
|
|
20
|
-
textColor: tokens.semantic.color.icon.
|
|
19
|
+
bgColor: tokens.semantic.color.icon.attention900,
|
|
20
|
+
color: tokens.semantic.color.icon.attention500,
|
|
21
|
+
textColor: tokens.semantic.color.icon.secondary200
|
|
21
22
|
},
|
|
22
23
|
inverse: {
|
|
23
|
-
bgColor:
|
|
24
|
-
color: tokens.semantic.color.icon.
|
|
25
|
-
textColor: tokens.semantic.color.icon.
|
|
24
|
+
bgColor: withOpacity(tokens.semantic.color.icon.secondary0, 0.2),
|
|
25
|
+
color: tokens.semantic.color.icon.secondary950,
|
|
26
|
+
textColor: tokens.semantic.color.icon.secondary950
|
|
26
27
|
}
|
|
27
28
|
}
|
|
28
29
|
};
|
|
@@ -3,18 +3,18 @@ const theme = {
|
|
|
3
3
|
dropDown: {
|
|
4
4
|
minWidth: '16rem',
|
|
5
5
|
maxWidth: '40rem',
|
|
6
|
-
bgColor: tokens.semantic.color.background.
|
|
7
|
-
shadow:
|
|
6
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
7
|
+
shadow: tokens.core.shadow.shadow400,
|
|
8
8
|
borderRadius: '0.8rem',
|
|
9
9
|
arrow: {
|
|
10
10
|
width: '1.6rem',
|
|
11
11
|
height: '0.8rem',
|
|
12
|
-
shadow:
|
|
12
|
+
shadow: tokens.core.shadow.shadow400
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
separator: {
|
|
16
16
|
size: '1px',
|
|
17
|
-
bgColor: tokens.semantic.color.background.
|
|
17
|
+
bgColor: tokens.semantic.color.background.secondary800
|
|
18
18
|
},
|
|
19
19
|
label: {
|
|
20
20
|
padding: '1rem 1.6rem',
|
|
@@ -22,11 +22,11 @@ const theme = {
|
|
|
22
22
|
gap: '1rem',
|
|
23
23
|
variants: {
|
|
24
24
|
header: {
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary400,
|
|
26
26
|
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
27
27
|
},
|
|
28
28
|
sub: {
|
|
29
|
-
textColor: tokens.semantic.color.text.
|
|
29
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
30
30
|
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
31
31
|
}
|
|
32
32
|
}
|
|
@@ -36,7 +36,7 @@ const theme = {
|
|
|
36
36
|
levelOffset: '1.6rem',
|
|
37
37
|
gap: '1rem',
|
|
38
38
|
subHead: {
|
|
39
|
-
textColor: tokens.semantic.color.text.
|
|
39
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
40
40
|
},
|
|
41
41
|
check: {
|
|
42
42
|
size: '1.6rem'
|
|
@@ -47,30 +47,30 @@ const theme = {
|
|
|
47
47
|
variants: {
|
|
48
48
|
primary: {
|
|
49
49
|
normal: {
|
|
50
|
-
textColor: tokens.semantic.color.text.
|
|
50
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
51
51
|
},
|
|
52
52
|
hover: {
|
|
53
|
-
bgColor: tokens.semantic.color.background.
|
|
53
|
+
bgColor: tokens.semantic.color.background.secondary800
|
|
54
54
|
},
|
|
55
55
|
selected: {
|
|
56
|
-
textColor: tokens.semantic.color.text.
|
|
56
|
+
textColor: tokens.semantic.color.text.primary200
|
|
57
57
|
},
|
|
58
58
|
disabled: {
|
|
59
|
-
textColor: tokens.semantic.color.text.
|
|
59
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
destructive: {
|
|
63
63
|
normal: {
|
|
64
|
-
textColor: tokens.semantic.color.text.
|
|
64
|
+
textColor: tokens.semantic.color.text.danger400
|
|
65
65
|
},
|
|
66
66
|
hover: {
|
|
67
|
-
bgColor: tokens.semantic.color.background.
|
|
67
|
+
bgColor: tokens.semantic.color.background.danger900
|
|
68
68
|
},
|
|
69
69
|
selected: {
|
|
70
|
-
textColor: tokens.semantic.color.text.
|
|
70
|
+
textColor: tokens.semantic.color.text.danger400
|
|
71
71
|
},
|
|
72
72
|
disabled: {
|
|
73
|
-
textColor: tokens.semantic.color.text.
|
|
73
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|