@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
|
@@ -2,23 +2,23 @@ import { tokens } from '../../tokens';
|
|
|
2
2
|
const theme = {
|
|
3
3
|
height: '7rem',
|
|
4
4
|
padding: '1.4rem 1.4rem 1.4rem 2.4rem',
|
|
5
|
-
separator: `1px solid ${tokens.semantic.color.border.
|
|
6
|
-
boxShadow: `0px 1px 0px 0px ${tokens.semantic.color.border.
|
|
5
|
+
separator: `1px solid ${tokens.semantic.color.border.secondary200}`,
|
|
6
|
+
boxShadow: `0px 1px 0px 0px ${tokens.semantic.color.border.secondary200}`,
|
|
7
7
|
group: {
|
|
8
8
|
gap: '1.6rem'
|
|
9
9
|
},
|
|
10
10
|
variants: {
|
|
11
11
|
default: {
|
|
12
|
-
bgColor: tokens.semantic.color.background.
|
|
13
|
-
color: tokens.semantic.color.background.
|
|
14
|
-
userNameColor: tokens.semantic.color.background.
|
|
15
|
-
accountNameColor: tokens.semantic.color.background.
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
13
|
+
color: tokens.semantic.color.background.primary400,
|
|
14
|
+
userNameColor: tokens.semantic.color.background.secondary700,
|
|
15
|
+
accountNameColor: tokens.semantic.color.background.secondary950
|
|
16
16
|
},
|
|
17
17
|
alert: {
|
|
18
|
-
bgColor: tokens.semantic.color.background.
|
|
19
|
-
color: tokens.semantic.color.text.
|
|
20
|
-
userNameColor: tokens.semantic.color.text.
|
|
21
|
-
accountNameColor: tokens.semantic.color.text.
|
|
18
|
+
bgColor: tokens.semantic.color.background.danger200,
|
|
19
|
+
color: tokens.semantic.color.text.secondary950,
|
|
20
|
+
userNameColor: tokens.semantic.color.text.secondary950,
|
|
21
|
+
accountNameColor: tokens.semantic.color.text.secondary950
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
};
|
|
@@ -8,21 +8,21 @@ const theme = {
|
|
|
8
8
|
toggleStates: {
|
|
9
9
|
on: {
|
|
10
10
|
normal: {
|
|
11
|
-
bgColor: tokens.semantic.color.background.
|
|
12
|
-
borderColor: tokens.semantic.color.
|
|
13
|
-
textColor: tokens.semantic.color.text.
|
|
11
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
12
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
off: {
|
|
17
17
|
normal: {
|
|
18
18
|
bgColor: 'transparent',
|
|
19
19
|
borderColor: 'transparent',
|
|
20
|
-
textColor: tokens.semantic.color.text.
|
|
20
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
21
21
|
},
|
|
22
22
|
hover: {
|
|
23
|
-
bgColor: tokens.semantic.color.background.
|
|
24
|
-
borderColor: tokens.semantic.color.border.
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
23
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
24
|
+
borderColor: tokens.semantic.color.border.secondary100,
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -9,51 +9,51 @@ const theme = {
|
|
|
9
9
|
borderStyle: 'solid',
|
|
10
10
|
variants: {
|
|
11
11
|
white: {
|
|
12
|
-
backgroundColor: tokens.semantic.color.background.
|
|
13
|
-
color: tokens.semantic.color.text.
|
|
14
|
-
borderColor: tokens.semantic.color.border.
|
|
15
|
-
iconColor:
|
|
12
|
+
backgroundColor: tokens.semantic.color.background.secondary0,
|
|
13
|
+
color: tokens.semantic.color.text.secondary700,
|
|
14
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
15
|
+
iconColor: tokens.semantic.color.text.secondary600
|
|
16
16
|
},
|
|
17
17
|
light: {
|
|
18
|
-
backgroundColor: tokens.semantic.color.background.
|
|
19
|
-
color: tokens.semantic.color.text.
|
|
20
|
-
borderColor: tokens.semantic.color.border.
|
|
21
|
-
iconColor:
|
|
18
|
+
backgroundColor: tokens.semantic.color.background.secondary50,
|
|
19
|
+
color: tokens.semantic.color.text.secondary700,
|
|
20
|
+
borderColor: tokens.semantic.color.border.secondary200,
|
|
21
|
+
iconColor: tokens.semantic.color.text.secondary600
|
|
22
22
|
},
|
|
23
23
|
default: {
|
|
24
|
-
backgroundColor: tokens.semantic.color.background.
|
|
25
|
-
color: tokens.semantic.color.text.
|
|
26
|
-
borderColor: tokens.semantic.color.border.
|
|
27
|
-
iconColor:
|
|
24
|
+
backgroundColor: tokens.semantic.color.background.informative0,
|
|
25
|
+
color: tokens.semantic.color.text.informative800,
|
|
26
|
+
borderColor: tokens.semantic.color.border.informative200,
|
|
27
|
+
iconColor: tokens.semantic.color.text.primary600
|
|
28
28
|
},
|
|
29
29
|
informative: {
|
|
30
|
-
backgroundColor: tokens.semantic.color.background.
|
|
31
|
-
color: tokens.semantic.color.text.
|
|
32
|
-
borderColor: tokens.semantic.color.border.
|
|
33
|
-
iconColor:
|
|
30
|
+
backgroundColor: tokens.semantic.color.background.informative0,
|
|
31
|
+
color: tokens.semantic.color.text.primary700,
|
|
32
|
+
borderColor: tokens.semantic.color.border.informative100,
|
|
33
|
+
iconColor: tokens.semantic.color.text.informative600
|
|
34
34
|
},
|
|
35
35
|
success: {
|
|
36
|
-
backgroundColor: tokens.semantic.color.background.
|
|
37
|
-
color: tokens.semantic.color.text.
|
|
38
|
-
borderColor: tokens.semantic.color.border.
|
|
39
|
-
iconColor: tokens.semantic.color.text.
|
|
36
|
+
backgroundColor: tokens.semantic.color.background.success0,
|
|
37
|
+
color: tokens.semantic.color.text.success800,
|
|
38
|
+
borderColor: tokens.semantic.color.border.success200,
|
|
39
|
+
iconColor: tokens.semantic.color.text.success700
|
|
40
40
|
},
|
|
41
41
|
notice: {
|
|
42
|
-
backgroundColor: tokens.semantic.color.background.
|
|
42
|
+
backgroundColor: tokens.semantic.color.background.notice0,
|
|
43
43
|
color: tokens.semantic.color.text.notice700,
|
|
44
44
|
borderColor: tokens.semantic.color.border.notice200,
|
|
45
|
-
iconColor: tokens.semantic.color.text.
|
|
45
|
+
iconColor: tokens.semantic.color.text.notice700
|
|
46
46
|
},
|
|
47
47
|
danger: {
|
|
48
|
-
backgroundColor: tokens.semantic.color.background.
|
|
48
|
+
backgroundColor: tokens.semantic.color.background.danger0,
|
|
49
49
|
color: tokens.semantic.color.text.danger700,
|
|
50
50
|
borderColor: tokens.semantic.color.border.danger200,
|
|
51
51
|
iconColor: tokens.semantic.color.text.danger600
|
|
52
52
|
},
|
|
53
53
|
attention: {
|
|
54
|
-
backgroundColor: tokens.semantic.color.background.
|
|
54
|
+
backgroundColor: tokens.semantic.color.background.attention0,
|
|
55
55
|
color: tokens.semantic.color.text.attention700,
|
|
56
|
-
borderColor: tokens.semantic.color.border.
|
|
56
|
+
borderColor: tokens.semantic.color.border.attention200,
|
|
57
57
|
iconColor: tokens.semantic.color.text.attention600
|
|
58
58
|
},
|
|
59
59
|
upsell: {
|
|
@@ -63,10 +63,10 @@ const theme = {
|
|
|
63
63
|
iconColor: tokens.semantic.color.text.discovery600
|
|
64
64
|
},
|
|
65
65
|
disabled: {
|
|
66
|
-
backgroundColor: tokens.semantic.color.background.
|
|
67
|
-
color: tokens.semantic.color.text.
|
|
66
|
+
backgroundColor: tokens.semantic.color.background.neutral100,
|
|
67
|
+
color: tokens.semantic.color.text.neutral400,
|
|
68
68
|
borderColor: tokens.semantic.color.border.neutral300,
|
|
69
|
-
iconColor: tokens.semantic.color.text.
|
|
69
|
+
iconColor: tokens.semantic.color.text.neutral400
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
};
|
|
@@ -10,33 +10,42 @@ const theme = {
|
|
|
10
10
|
states: {
|
|
11
11
|
default: {
|
|
12
12
|
normal: {
|
|
13
|
-
bgColor: tokens.semantic.color.background.
|
|
14
|
-
borderColor: tokens.semantic.color.border.
|
|
13
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
14
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
15
15
|
markerColor: 'transparent',
|
|
16
|
-
textColor: tokens.semantic.color.text.
|
|
17
|
-
iconColor: tokens.semantic.color.icon.
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
17
|
+
iconColor: tokens.semantic.color.icon.secondary950
|
|
18
18
|
},
|
|
19
19
|
hover: {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
21
|
+
borderColor: tokens.semantic.color.border.primary500,
|
|
22
|
+
markerColor: tokens.semantic.color.border.primary500,
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
24
|
+
iconColor: tokens.semantic.color.icon.secondary950
|
|
22
25
|
},
|
|
23
26
|
disabled: {
|
|
24
|
-
|
|
27
|
+
bgColor: tokens.semantic.color.background.neutral0,
|
|
28
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
29
|
+
markerColor: 'transparent',
|
|
30
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
31
|
+
iconColor: tokens.semantic.color.icon.secondary300,
|
|
25
32
|
opacity: '0.5'
|
|
26
33
|
}
|
|
27
34
|
},
|
|
28
35
|
checked: {
|
|
29
36
|
normal: {
|
|
30
|
-
bgColor: tokens.semantic.color.background.
|
|
31
|
-
borderColor: tokens.semantic.color.border.
|
|
32
|
-
markerColor: tokens.semantic.color.border.
|
|
33
|
-
textColor: tokens.semantic.color.text.
|
|
34
|
-
iconColor: tokens.semantic.color.icon.
|
|
37
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
38
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
39
|
+
markerColor: tokens.semantic.color.border.primary400,
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
41
|
+
iconColor: tokens.semantic.color.icon.secondary950
|
|
35
42
|
},
|
|
36
43
|
disabled: {
|
|
37
44
|
bgColor: tokens.semantic.color.background.neutral200,
|
|
38
|
-
borderColor: tokens.semantic.color.border.
|
|
39
|
-
markerColor: tokens.semantic.color.border.
|
|
45
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
46
|
+
markerColor: tokens.semantic.color.border.neutral200,
|
|
47
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
48
|
+
iconColor: tokens.semantic.color.icon.secondary950,
|
|
40
49
|
opacity: '0.5'
|
|
41
50
|
}
|
|
42
51
|
}
|
|
@@ -4,25 +4,25 @@ const theme = {
|
|
|
4
4
|
link: {
|
|
5
5
|
states: {
|
|
6
6
|
normal: {
|
|
7
|
-
textColor: tokens.semantic.color.text.
|
|
7
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
8
8
|
},
|
|
9
9
|
hover: {
|
|
10
|
-
textColor: tokens.semantic.color.text.
|
|
10
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
11
11
|
},
|
|
12
12
|
active: {
|
|
13
|
-
textColor: tokens.semantic.color.text.
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
14
14
|
},
|
|
15
15
|
disabled: {
|
|
16
|
-
textColor: tokens.semantic.color.text.
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
current: {
|
|
21
|
-
textColor: tokens.semantic.color.text.
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
22
22
|
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
23
23
|
},
|
|
24
24
|
separator: {
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
export default theme;
|
|
@@ -24,98 +24,118 @@ const theme = {
|
|
|
24
24
|
variants: {
|
|
25
25
|
primary: {
|
|
26
26
|
normal: {
|
|
27
|
-
bgColor: tokens.semantic.color.background.
|
|
28
|
-
|
|
27
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
28
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
29
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
29
30
|
},
|
|
30
31
|
hover: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
32
|
+
bgColor: tokens.semantic.color.background.primary500,
|
|
33
|
+
borderColor: tokens.semantic.color.border.primary600,
|
|
34
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
32
35
|
},
|
|
33
36
|
active: {
|
|
34
|
-
bgColor: tokens.semantic.color.background.
|
|
37
|
+
bgColor: tokens.semantic.color.background.primary600,
|
|
38
|
+
borderColor: tokens.semantic.color.border.primary800,
|
|
39
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
35
40
|
},
|
|
36
41
|
disabled: {
|
|
37
|
-
bgColor: tokens.semantic.color.background.
|
|
38
|
-
|
|
42
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
43
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
44
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
39
45
|
}
|
|
40
46
|
},
|
|
41
47
|
destructive: {
|
|
42
48
|
normal: {
|
|
43
49
|
bgColor: tokens.semantic.color.background.danger500,
|
|
44
|
-
|
|
50
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
51
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
45
52
|
},
|
|
46
53
|
hover: {
|
|
47
|
-
bgColor: tokens.semantic.color.background.
|
|
54
|
+
bgColor: tokens.semantic.color.background.danger600,
|
|
55
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
56
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
48
57
|
},
|
|
49
58
|
active: {
|
|
50
|
-
bgColor: tokens.semantic.color.background.
|
|
59
|
+
bgColor: tokens.semantic.color.background.danger700,
|
|
60
|
+
borderColor: tokens.semantic.color.border.danger800,
|
|
61
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
51
62
|
},
|
|
52
63
|
disabled: {
|
|
53
|
-
bgColor: tokens.semantic.color.background.
|
|
54
|
-
|
|
64
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
65
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
66
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
55
67
|
}
|
|
56
68
|
},
|
|
57
69
|
'secondary-fill': {
|
|
58
70
|
normal: {
|
|
59
|
-
bgColor: tokens.semantic.color.background.
|
|
60
|
-
|
|
71
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
72
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
73
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
61
74
|
},
|
|
62
75
|
hover: {
|
|
63
|
-
bgColor: tokens.semantic.color.background.
|
|
76
|
+
bgColor: tokens.semantic.color.background.secondary200,
|
|
77
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
78
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
64
79
|
},
|
|
65
80
|
active: {
|
|
66
|
-
bgColor: tokens.semantic.color.background.
|
|
81
|
+
bgColor: tokens.semantic.color.background.secondary300,
|
|
82
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
83
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
67
84
|
},
|
|
68
85
|
disabled: {
|
|
69
|
-
bgColor: tokens.semantic.color.background.
|
|
70
|
-
|
|
86
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
87
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
88
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
71
89
|
}
|
|
72
90
|
},
|
|
73
91
|
'secondary-invert': {
|
|
74
92
|
normal: {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
textColor: tokens.semantic.color.text.
|
|
93
|
+
bgColor: tokens.semantic.color.background.primary0,
|
|
94
|
+
borderColor: tokens.semantic.color.border.primary100,
|
|
95
|
+
textColor: tokens.semantic.color.text.primary600
|
|
78
96
|
},
|
|
79
97
|
hover: {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
textColor: tokens.semantic.color.text.
|
|
98
|
+
bgColor: tokens.semantic.color.background.primary50,
|
|
99
|
+
borderColor: tokens.semantic.color.border.primary200,
|
|
100
|
+
textColor: tokens.semantic.color.text.primary600
|
|
83
101
|
},
|
|
84
102
|
active: {
|
|
103
|
+
bgColor: tokens.semantic.color.background.primary100,
|
|
85
104
|
borderColor: tokens.semantic.color.border.primary200,
|
|
86
|
-
|
|
87
|
-
textColor: tokens.semantic.color.text.secondary600
|
|
105
|
+
textColor: tokens.semantic.color.text.primary600
|
|
88
106
|
},
|
|
89
107
|
disabled: {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
textColor: tokens.semantic.color.text.
|
|
108
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
109
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
110
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
93
111
|
}
|
|
94
112
|
},
|
|
95
113
|
'secondary-ghost': {
|
|
96
114
|
normal: {
|
|
97
|
-
borderColor: tokens.semantic.color.border.secondary800,
|
|
98
115
|
bgColor: 'transparent',
|
|
99
|
-
|
|
116
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
117
|
+
textColor: tokens.semantic.color.text.primary400
|
|
100
118
|
},
|
|
101
119
|
hover: {
|
|
102
|
-
|
|
103
|
-
|
|
120
|
+
bgColor: 'transparent',
|
|
121
|
+
borderColor: tokens.semantic.color.border.primary500,
|
|
122
|
+
textColor: tokens.semantic.color.text.primary500
|
|
104
123
|
},
|
|
105
124
|
active: {
|
|
106
|
-
|
|
107
|
-
|
|
125
|
+
bgColor: 'transparent',
|
|
126
|
+
borderColor: tokens.semantic.color.border.primary600,
|
|
127
|
+
textColor: tokens.semantic.color.text.primary600
|
|
108
128
|
},
|
|
109
129
|
disabled: {
|
|
110
|
-
borderColor: tokens.semantic.color.border.secondary300,
|
|
111
130
|
bgColor: 'transparent',
|
|
112
|
-
|
|
131
|
+
borderColor: tokens.semantic.color.border.neutral200,
|
|
132
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
113
133
|
}
|
|
114
134
|
},
|
|
115
135
|
upsell: {
|
|
116
136
|
normal: {
|
|
117
137
|
bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.discovery500} 0%, ${tokens.semantic.color.background.discovery400} 78%)`,
|
|
118
|
-
textColor: tokens.semantic.color.text.
|
|
138
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
119
139
|
borderColor: tokens.semantic.color.border.discovery600
|
|
120
140
|
},
|
|
121
141
|
hover: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
3
|
borderRadius: '0.4rem',
|
|
4
|
-
border: `1px solid ${tokens.semantic.color.border.
|
|
5
|
-
bgColor: tokens.semantic.color.background.
|
|
4
|
+
border: `1px solid ${tokens.semantic.color.border.transparent}`,
|
|
5
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
6
6
|
fontSize: '1.4rem',
|
|
7
7
|
fontWeight: tokens.core.font.fontWeight.normal,
|
|
8
8
|
fontStyle: 'normal',
|
|
@@ -12,36 +12,49 @@ const theme = {
|
|
|
12
12
|
padding: `${tokens.core.space.space050} ${tokens.core.space.space200}`,
|
|
13
13
|
gap: tokens.core.space.space050,
|
|
14
14
|
minWidth: '6rem',
|
|
15
|
-
borderRadius: '0.
|
|
15
|
+
borderRadius: '0.3rem',
|
|
16
|
+
borderWidth: '1px',
|
|
16
17
|
toggleStates: {
|
|
17
18
|
on: {
|
|
18
19
|
normal: {
|
|
19
|
-
bgColor: tokens.semantic.color.background.
|
|
20
|
-
textColor: tokens.semantic.color.text.
|
|
21
|
-
borderColor:
|
|
20
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
22
|
+
borderColor: tokens.semantic.color.border.secondary400
|
|
23
|
+
},
|
|
24
|
+
hover: {
|
|
25
|
+
bgColor: tokens.semantic.color.background.secondary50,
|
|
26
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
27
|
+
borderColor: tokens.semantic.color.border.secondary400
|
|
28
|
+
},
|
|
29
|
+
active: {
|
|
30
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
31
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
32
|
+
borderColor: tokens.semantic.color.border.secondary400
|
|
22
33
|
},
|
|
23
34
|
disabled: {
|
|
24
|
-
bgColor: tokens.semantic.color.background.
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
26
|
-
borderColor:
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary50,
|
|
36
|
+
textColor: tokens.semantic.color.text.neutral500,
|
|
37
|
+
borderColor: tokens.semantic.color.border.secondary400
|
|
27
38
|
}
|
|
28
39
|
},
|
|
29
40
|
off: {
|
|
30
41
|
normal: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
32
|
-
textColor: tokens.semantic.color.text.
|
|
42
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
43
|
+
textColor: tokens.semantic.color.text.secondary900,
|
|
33
44
|
borderColor: 'transparent'
|
|
34
45
|
},
|
|
35
46
|
hover: {
|
|
36
|
-
bgColor: tokens.semantic.color.background.
|
|
47
|
+
bgColor: tokens.semantic.color.background.secondary300,
|
|
48
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
37
49
|
borderColor: 'transparent'
|
|
38
50
|
},
|
|
39
51
|
active: {
|
|
40
|
-
bgColor: tokens.semantic.color.background.
|
|
52
|
+
bgColor: tokens.semantic.color.background.neutral300,
|
|
53
|
+
textColor: tokens.semantic.color.text.secondary950,
|
|
41
54
|
borderColor: 'transparent'
|
|
42
55
|
},
|
|
43
56
|
disabled: {
|
|
44
|
-
bgColor: tokens.semantic.color.background.
|
|
57
|
+
bgColor: tokens.semantic.color.background.secondary100,
|
|
45
58
|
textColor: tokens.semantic.color.text.neutral500,
|
|
46
59
|
borderColor: 'transparent'
|
|
47
60
|
}
|
|
@@ -4,32 +4,32 @@ const theme = {
|
|
|
4
4
|
height: 'fit-content',
|
|
5
5
|
variants: {
|
|
6
6
|
primary: {
|
|
7
|
-
bgColor: tokens.semantic.color.background.
|
|
8
|
-
borderColor: tokens.semantic.color.border.
|
|
7
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
8
|
+
borderColor: tokens.semantic.color.border.secondary200
|
|
9
9
|
},
|
|
10
10
|
secondary: {
|
|
11
|
-
bgColor: tokens.semantic.color.background.
|
|
12
|
-
borderColor: tokens.semantic.color.border.
|
|
11
|
+
bgColor: tokens.semantic.color.background.neutral100,
|
|
12
|
+
borderColor: tokens.semantic.color.border.secondary300
|
|
13
13
|
},
|
|
14
14
|
informative: {
|
|
15
|
-
bgColor: tokens.semantic.color.background.
|
|
16
|
-
borderColor: tokens.semantic.color.border.
|
|
15
|
+
bgColor: tokens.semantic.color.background.informative0,
|
|
16
|
+
borderColor: tokens.semantic.color.border.informative100
|
|
17
17
|
},
|
|
18
18
|
success: {
|
|
19
|
-
bgColor: tokens.semantic.color.background.
|
|
20
|
-
borderColor: tokens.semantic.color.border.
|
|
19
|
+
bgColor: tokens.semantic.color.background.success0,
|
|
20
|
+
borderColor: tokens.semantic.color.border.success100
|
|
21
21
|
},
|
|
22
22
|
notice: {
|
|
23
|
-
bgColor: tokens.semantic.color.background.
|
|
24
|
-
borderColor: tokens.semantic.color.border.
|
|
23
|
+
bgColor: tokens.semantic.color.background.notice0,
|
|
24
|
+
borderColor: tokens.semantic.color.border.notice100
|
|
25
25
|
},
|
|
26
26
|
attention: {
|
|
27
|
-
bgColor: tokens.semantic.color.background.
|
|
28
|
-
borderColor: tokens.semantic.color.border.
|
|
27
|
+
bgColor: tokens.semantic.color.background.attention0,
|
|
28
|
+
borderColor: tokens.semantic.color.border.attention100
|
|
29
29
|
},
|
|
30
30
|
danger: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
32
|
-
borderColor: tokens.semantic.color.border.
|
|
31
|
+
bgColor: tokens.semantic.color.background.danger0,
|
|
32
|
+
borderColor: tokens.semantic.color.border.danger100
|
|
33
33
|
},
|
|
34
34
|
upsell: {
|
|
35
35
|
bgColor: tokens.semantic.color.background.discovery0,
|
|
@@ -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.secondary950
|
|
19
19
|
},
|
|
20
20
|
disabled: {
|
|
21
|
-
bgColor: tokens.semantic.color.background.
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
bgColor: tokens.semantic.color.background.secondary300,
|
|
22
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
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.secondary0,
|
|
29
|
+
borderColor: tokens.semantic.color.border.secondary600,
|
|
30
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
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.secondary0,
|
|
34
|
+
borderColor: tokens.semantic.color.border.secondary300,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary300
|
|
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.danger500
|
|
45
45
|
},
|
|
46
46
|
disabled: {
|
|
47
|
-
bgColor: tokens.semantic.color.background.
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
bgColor: tokens.semantic.color.background.danger100,
|
|
48
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
49
|
+
textColor: tokens.semantic.color.text.danger100
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
52
|
off: {
|
|
53
53
|
normal: {
|
|
54
|
-
bgColor: tokens.semantic.color.background.
|
|
54
|
+
bgColor: tokens.semantic.color.background.secondary0,
|
|
55
55
|
borderColor: tokens.semantic.color.border.danger500,
|
|
56
56
|
textColor: tokens.semantic.color.text.danger500
|
|
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.secondary0,
|
|
60
|
+
borderColor: tokens.semantic.color.border.danger100,
|
|
61
|
+
textColor: tokens.semantic.color.text.danger100
|
|
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.secondary200,
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
22
22
|
},
|
|
23
23
|
disabled: {
|
|
24
|
-
bgColor: tokens.semantic.color.background.
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
24
|
+
bgColor: tokens.semantic.color.background.neutral200,
|
|
25
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
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.secondary200,
|
|
31
|
+
textColor: tokens.semantic.color.text.secondary950
|
|
32
32
|
},
|
|
33
33
|
disabled: {
|
|
34
|
-
bgColor: tokens.semantic.color.background.
|
|
35
|
-
textColor: tokens.semantic.color.text.
|
|
34
|
+
bgColor: tokens.semantic.color.background.neutral200,
|
|
35
|
+
textColor: tokens.semantic.color.text.neutral400
|
|
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.secondary700
|
|
43
43
|
},
|
|
44
44
|
flat: {
|
|
45
|
-
color: tokens.semantic.color.icon.
|
|
45
|
+
color: tokens.semantic.color.icon.secondary700
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
size: {
|