@redis-ui/styles 21.2.0 → 21.3.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/fonts-next.css +3 -0
- package/dist/index.js +7223 -1395
- package/dist/index.umd.cjs +14 -14
- package/dist/themes/index.d.ts +1 -0
- package/dist/themes/index.js +3 -0
- package/dist/themes/themeDark/theme/components/charts.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/charts.js +20 -0
- package/dist/themes/themeDark/theme.js +2 -0
- package/dist/themes/themeDark/tokens.js +11 -0
- package/dist/themes/themeDarkNext/theme/components/actionIconButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/actionIconButton.js +56 -0
- package/dist/themes/themeDarkNext/theme/components/appBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/appBar.js +25 -0
- package/dist/themes/themeDarkNext/theme/components/appSelectionMenu.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/appSelectionMenu.js +46 -0
- package/dist/themes/themeDarkNext/theme/components/autoComplete.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/autoComplete.js +7 -0
- package/dist/themes/themeDarkNext/theme/components/badge.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/badge.js +73 -0
- package/dist/themes/themeDarkNext/theme/components/banner.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/banner.js +14 -0
- package/dist/themes/themeDarkNext/theme/components/boxSelectionGroup.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/boxSelectionGroup.js +58 -0
- package/dist/themes/themeDarkNext/theme/components/breadcrumbs.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/breadcrumbs.js +28 -0
- package/dist/themes/themeDarkNext/theme/components/button.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/button.js +223 -0
- package/dist/themes/themeDarkNext/theme/components/buttonGroup.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/buttonGroup.js +65 -0
- package/dist/themes/themeDarkNext/theme/components/card.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/card.js +40 -0
- package/dist/themes/themeDarkNext/theme/components/charts.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/charts.js +20 -0
- package/dist/themes/themeDarkNext/theme/components/checkbox.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/checkbox.js +67 -0
- package/dist/themes/themeDarkNext/theme/components/chip.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/chip.js +60 -0
- package/dist/themes/themeDarkNext/theme/components/chipList.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/chipList.js +21 -0
- package/dist/themes/themeDarkNext/theme/components/countryFlag.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/countryFlag.js +9 -0
- package/dist/themes/themeDarkNext/theme/components/drawer.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/drawer.js +30 -0
- package/dist/themes/themeDarkNext/theme/components/filters.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/filters.js +36 -0
- package/dist/themes/themeDarkNext/theme/components/formField.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/formField.js +17 -0
- package/dist/themes/themeDarkNext/theme/components/gauge.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/gauge.js +38 -0
- package/dist/themes/themeDarkNext/theme/components/highlightedIcon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/highlightedIcon.js +42 -0
- package/dist/themes/themeDarkNext/theme/components/icon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/icon.js +14 -0
- package/dist/themes/themeDarkNext/theme/components/iconButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/iconButton.js +49 -0
- package/dist/themes/themeDarkNext/theme/components/input.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/input.js +97 -0
- package/dist/themes/themeDarkNext/theme/components/keyValueList.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/keyValueList.js +30 -0
- package/dist/themes/themeDarkNext/theme/components/label.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/label.js +24 -0
- package/dist/themes/themeDarkNext/theme/components/layouts.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/layouts.js +55 -0
- package/dist/themes/themeDarkNext/theme/components/link.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/link.js +72 -0
- package/dist/themes/themeDarkNext/theme/components/loader.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/loader.js +30 -0
- package/dist/themes/themeDarkNext/theme/components/menu.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/menu.js +79 -0
- package/dist/themes/themeDarkNext/theme/components/midBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/midBar.js +14 -0
- package/dist/themes/themeDarkNext/theme/components/modal.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/modal.js +34 -0
- package/dist/themes/themeDarkNext/theme/components/moreInfoIcon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/moreInfoIcon.js +5 -0
- package/dist/themes/themeDarkNext/theme/components/popover.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/popover.js +16 -0
- package/dist/themes/themeDarkNext/theme/components/popupCard.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/popupCard.js +22 -0
- package/dist/themes/themeDarkNext/theme/components/profileIcon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/profileIcon.js +39 -0
- package/dist/themes/themeDarkNext/theme/components/progressBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/progressBar.js +57 -0
- package/dist/themes/themeDarkNext/theme/components/radio.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/radio.js +51 -0
- package/dist/themes/themeDarkNext/theme/components/searchBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/searchBar.js +25 -0
- package/dist/themes/themeDarkNext/theme/components/section.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/section.js +52 -0
- package/dist/themes/themeDarkNext/theme/components/select.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/select.js +104 -0
- package/dist/themes/themeDarkNext/theme/components/semanticButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/semanticButton.js +250 -0
- package/dist/themes/themeDarkNext/theme/components/semanticContainer.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/semanticContainer.js +43 -0
- package/dist/themes/themeDarkNext/theme/components/semanticIcon.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/semanticIcon.js +11 -0
- package/dist/themes/themeDarkNext/theme/components/sideBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/sideBar.js +81 -0
- package/dist/themes/themeDarkNext/theme/components/skeleton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/skeleton.js +30 -0
- package/dist/themes/themeDarkNext/theme/components/slider.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/slider.js +68 -0
- package/dist/themes/themeDarkNext/theme/components/stepper.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/stepper.js +62 -0
- package/dist/themes/themeDarkNext/theme/components/switch.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/switch.js +55 -0
- package/dist/themes/themeDarkNext/theme/components/table.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/table.js +91 -0
- package/dist/themes/themeDarkNext/theme/components/tableHeading.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/tableHeading.js +26 -0
- package/dist/themes/themeDarkNext/theme/components/tabs.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/tabs.js +89 -0
- package/dist/themes/themeDarkNext/theme/components/textButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/textButton.js +202 -0
- package/dist/themes/themeDarkNext/theme/components/themeModeSwitch.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/themeModeSwitch.js +18 -0
- package/dist/themes/themeDarkNext/theme/components/toast.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/toast.js +9 -0
- package/dist/themes/themeDarkNext/theme/components/toggleButton.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/toggleButton.js +57 -0
- package/dist/themes/themeDarkNext/theme/components/tooltip.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/tooltip.js +17 -0
- package/dist/themes/themeDarkNext/theme/components/treeView.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/treeView.js +16 -0
- package/dist/themes/themeDarkNext/theme/components/typography.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/typography.js +79 -0
- package/dist/themes/themeDarkNext/theme/components/windowBar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/components/windowBar.js +55 -0
- package/dist/themes/themeDarkNext/theme/globals/body.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/globals/body.js +9 -0
- package/dist/themes/themeDarkNext/theme/globals/scrollbar.d.ts +3 -0
- package/dist/themes/themeDarkNext/theme/globals/scrollbar.js +12 -0
- package/dist/themes/themeDarkNext/theme.d.ts +2 -0
- package/dist/themes/themeDarkNext/theme.js +136 -0
- package/dist/themes/themeDarkNext/tokens.d.ts +2 -0
- package/dist/themes/themeDarkNext/tokens.js +213 -0
- package/dist/themes/themeLight/theme/components/charts.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/charts.js +20 -0
- package/dist/themes/themeLight/theme.js +2 -0
- package/dist/themes/themeLight/tokens.d.ts +11 -0
- package/dist/themes/themeLight/tokens.js +11 -0
- package/dist/themes/themeLightNext/theme/components/actionIconButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/actionIconButton.js +56 -0
- package/dist/themes/themeLightNext/theme/components/appBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/appBar.js +25 -0
- package/dist/themes/themeLightNext/theme/components/appSelectionMenu.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/appSelectionMenu.js +46 -0
- package/dist/themes/themeLightNext/theme/components/autoComplete.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/autoComplete.js +7 -0
- package/dist/themes/themeLightNext/theme/components/badge.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/badge.js +73 -0
- package/dist/themes/themeLightNext/theme/components/banner.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/banner.js +14 -0
- package/dist/themes/themeLightNext/theme/components/boxSelectionGroup.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/boxSelectionGroup.js +58 -0
- package/dist/themes/themeLightNext/theme/components/breadcrumbs.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/breadcrumbs.js +28 -0
- package/dist/themes/themeLightNext/theme/components/button.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/button.js +223 -0
- package/dist/themes/themeLightNext/theme/components/buttonGroup.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/buttonGroup.js +65 -0
- package/dist/themes/themeLightNext/theme/components/card.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/card.js +40 -0
- package/dist/themes/themeLightNext/theme/components/charts.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/charts.js +20 -0
- package/dist/themes/themeLightNext/theme/components/checkbox.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/checkbox.js +67 -0
- package/dist/themes/themeLightNext/theme/components/chip.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/chip.js +60 -0
- package/dist/themes/themeLightNext/theme/components/chipList.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/chipList.js +21 -0
- package/dist/themes/themeLightNext/theme/components/countryFlag.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/countryFlag.js +9 -0
- package/dist/themes/themeLightNext/theme/components/drawer.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/drawer.js +30 -0
- package/dist/themes/themeLightNext/theme/components/filters.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/filters.js +36 -0
- package/dist/themes/themeLightNext/theme/components/formField.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/formField.js +17 -0
- package/dist/themes/themeLightNext/theme/components/gauge.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/gauge.js +38 -0
- package/dist/themes/themeLightNext/theme/components/highlightedIcon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/highlightedIcon.js +42 -0
- package/dist/themes/themeLightNext/theme/components/icon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/icon.js +14 -0
- package/dist/themes/themeLightNext/theme/components/iconButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/iconButton.js +49 -0
- package/dist/themes/themeLightNext/theme/components/input.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/input.js +97 -0
- package/dist/themes/themeLightNext/theme/components/keyValueList.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/keyValueList.js +30 -0
- package/dist/themes/themeLightNext/theme/components/label.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/label.js +24 -0
- package/dist/themes/themeLightNext/theme/components/layouts.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/layouts.js +55 -0
- package/dist/themes/themeLightNext/theme/components/link.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/link.js +72 -0
- package/dist/themes/themeLightNext/theme/components/loader.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/loader.js +30 -0
- package/dist/themes/themeLightNext/theme/components/menu.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/menu.js +79 -0
- package/dist/themes/themeLightNext/theme/components/midBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/midBar.js +14 -0
- package/dist/themes/themeLightNext/theme/components/modal.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/modal.js +34 -0
- package/dist/themes/themeLightNext/theme/components/moreInfoIcon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/moreInfoIcon.js +5 -0
- package/dist/themes/themeLightNext/theme/components/popover.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/popover.js +16 -0
- package/dist/themes/themeLightNext/theme/components/popupCard.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/popupCard.js +22 -0
- package/dist/themes/themeLightNext/theme/components/profileIcon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/profileIcon.js +39 -0
- package/dist/themes/themeLightNext/theme/components/progressBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/progressBar.js +57 -0
- package/dist/themes/themeLightNext/theme/components/radio.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/radio.js +51 -0
- package/dist/themes/themeLightNext/theme/components/searchBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/searchBar.js +25 -0
- package/dist/themes/themeLightNext/theme/components/section.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/section.js +52 -0
- package/dist/themes/themeLightNext/theme/components/select.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/select.js +103 -0
- package/dist/themes/themeLightNext/theme/components/semanticButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/semanticButton.js +250 -0
- package/dist/themes/themeLightNext/theme/components/semanticContainer.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/semanticContainer.js +43 -0
- package/dist/themes/themeLightNext/theme/components/semanticIcon.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/semanticIcon.js +11 -0
- package/dist/themes/themeLightNext/theme/components/sideBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/sideBar.js +81 -0
- package/dist/themes/themeLightNext/theme/components/skeleton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/skeleton.js +30 -0
- package/dist/themes/themeLightNext/theme/components/slider.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/slider.js +68 -0
- package/dist/themes/themeLightNext/theme/components/stepper.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/stepper.js +62 -0
- package/dist/themes/themeLightNext/theme/components/switch.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/switch.js +55 -0
- package/dist/themes/themeLightNext/theme/components/table.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/table.js +91 -0
- package/dist/themes/themeLightNext/theme/components/tableHeading.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/tableHeading.js +26 -0
- package/dist/themes/themeLightNext/theme/components/tabs.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/tabs.js +86 -0
- package/dist/themes/themeLightNext/theme/components/textButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/textButton.js +203 -0
- package/dist/themes/themeLightNext/theme/components/themeModeSwitch.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/themeModeSwitch.js +18 -0
- package/dist/themes/themeLightNext/theme/components/toast.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/toast.js +9 -0
- package/dist/themes/themeLightNext/theme/components/toggleButton.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/toggleButton.js +57 -0
- package/dist/themes/themeLightNext/theme/components/tooltip.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/tooltip.js +17 -0
- package/dist/themes/themeLightNext/theme/components/treeView.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/treeView.js +16 -0
- package/dist/themes/themeLightNext/theme/components/typography.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/typography.js +79 -0
- package/dist/themes/themeLightNext/theme/components/windowBar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/components/windowBar.js +55 -0
- package/dist/themes/themeLightNext/theme/globals/body.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/globals/body.js +9 -0
- package/dist/themes/themeLightNext/theme/globals/scrollbar.d.ts +3 -0
- package/dist/themes/themeLightNext/theme/globals/scrollbar.js +12 -0
- package/dist/themes/themeLightNext/theme.d.ts +2 -0
- package/dist/themes/themeLightNext/theme.js +136 -0
- package/dist/themes/themeLightNext/tokens.d.ts +2 -0
- package/dist/themes/themeLightNext/tokens.js +211 -0
- package/dist/themes/types/theme/components/charts.types.d.ts +10 -0
- package/dist/themes/types/theme/components/charts.types.js +1 -0
- package/dist/themes/types/theme/components/index.d.ts +1 -0
- package/dist/themes/types/theme/components/index.js +1 -0
- package/dist/themes/types/theme/theme.types.d.ts +2 -1
- package/package.json +2 -1
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
borderRadius: '0.5rem',
|
|
4
|
+
border: `1px solid ${tokens.semantic.color.border.transparent}`,
|
|
5
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
6
|
+
fontSize: '1.4rem',
|
|
7
|
+
fontWeight: tokens.core.font.fontWeight.normal,
|
|
8
|
+
fontStyle: 'normal',
|
|
9
|
+
padding: '0.3rem',
|
|
10
|
+
gap: '0.2rem',
|
|
11
|
+
button: {
|
|
12
|
+
padding: `${tokens.core.space.space050} ${tokens.core.space.space200}`,
|
|
13
|
+
gap: tokens.core.space.space050,
|
|
14
|
+
minWidth: '6rem',
|
|
15
|
+
borderRadius: '0.3rem',
|
|
16
|
+
borderWidth: '1px',
|
|
17
|
+
toggleStates: {
|
|
18
|
+
on: {
|
|
19
|
+
normal: {
|
|
20
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
22
|
+
borderColor: tokens.semantic.color.border.primary600
|
|
23
|
+
},
|
|
24
|
+
hover: {
|
|
25
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
26
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
27
|
+
borderColor: tokens.semantic.color.border.primary600
|
|
28
|
+
},
|
|
29
|
+
active: {
|
|
30
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
31
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
32
|
+
borderColor: tokens.semantic.color.border.primary600
|
|
33
|
+
},
|
|
34
|
+
disabled: {
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
36
|
+
textColor: tokens.semantic.color.text.secondary500,
|
|
37
|
+
borderColor: 'transparent'
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
off: {
|
|
41
|
+
normal: {
|
|
42
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
43
|
+
textColor: tokens.semantic.color.text.secondary300,
|
|
44
|
+
borderColor: 'transparent'
|
|
45
|
+
},
|
|
46
|
+
hover: {
|
|
47
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
48
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
49
|
+
borderColor: 'transparent'
|
|
50
|
+
},
|
|
51
|
+
active: {
|
|
52
|
+
bgColor: tokens.semantic.color.background.secondary700,
|
|
53
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
54
|
+
borderColor: 'transparent'
|
|
55
|
+
},
|
|
56
|
+
disabled: {
|
|
57
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
58
|
+
textColor: tokens.semantic.color.text.secondary500,
|
|
59
|
+
borderColor: 'transparent'
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
export default theme;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
width: '100%',
|
|
4
|
+
height: 'fit-content',
|
|
5
|
+
variants: {
|
|
6
|
+
primary: {
|
|
7
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
8
|
+
borderColor: tokens.semantic.color.border.secondary800
|
|
9
|
+
},
|
|
10
|
+
secondary: {
|
|
11
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
12
|
+
borderColor: tokens.semantic.color.border.secondary700
|
|
13
|
+
},
|
|
14
|
+
informative: {
|
|
15
|
+
bgColor: tokens.semantic.color.background.informative900,
|
|
16
|
+
borderColor: tokens.semantic.color.border.primary500
|
|
17
|
+
},
|
|
18
|
+
success: {
|
|
19
|
+
bgColor: tokens.semantic.color.background.success900,
|
|
20
|
+
borderColor: tokens.semantic.color.border.success500
|
|
21
|
+
},
|
|
22
|
+
notice: {
|
|
23
|
+
bgColor: tokens.semantic.color.background.notice900,
|
|
24
|
+
borderColor: tokens.semantic.color.border.notice500
|
|
25
|
+
},
|
|
26
|
+
attention: {
|
|
27
|
+
bgColor: tokens.semantic.color.background.attention900,
|
|
28
|
+
borderColor: tokens.semantic.color.border.attention500
|
|
29
|
+
},
|
|
30
|
+
danger: {
|
|
31
|
+
bgColor: tokens.semantic.color.background.danger900,
|
|
32
|
+
borderColor: tokens.semantic.color.border.danger500
|
|
33
|
+
},
|
|
34
|
+
upsell: {
|
|
35
|
+
bgColor: tokens.semantic.color.background.discovery900,
|
|
36
|
+
borderColor: tokens.semantic.color.border.discovery500
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
};
|
|
40
|
+
export default theme;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
categorical: [
|
|
4
|
+
tokens.semantic.color.icon.informative400,
|
|
5
|
+
tokens.semantic.color.icon.discovery400,
|
|
6
|
+
tokens.semantic.color.icon.success400,
|
|
7
|
+
tokens.semantic.color.icon.attention400,
|
|
8
|
+
tokens.semantic.color.icon.primary400,
|
|
9
|
+
tokens.semantic.color.icon.secondary400,
|
|
10
|
+
tokens.semantic.color.icon.informative700,
|
|
11
|
+
tokens.semantic.color.icon.discovery700
|
|
12
|
+
],
|
|
13
|
+
grid: tokens.semantic.color.border.secondary700,
|
|
14
|
+
axisLabel: tokens.semantic.color.text.secondary400,
|
|
15
|
+
threshold: {
|
|
16
|
+
warning: tokens.semantic.color.icon.attention400,
|
|
17
|
+
critical: tokens.semantic.color.icon.danger500
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
export default theme;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
width: '1.8rem',
|
|
4
|
+
height: '1.8rem',
|
|
5
|
+
padding: '0',
|
|
6
|
+
borderRadius: '0.5rem',
|
|
7
|
+
borderWidth: '1px',
|
|
8
|
+
label: {
|
|
9
|
+
padding: '0 0.8rem',
|
|
10
|
+
gap: '0.8rem'
|
|
11
|
+
},
|
|
12
|
+
variants: {
|
|
13
|
+
primary: {
|
|
14
|
+
on: {
|
|
15
|
+
normal: {
|
|
16
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
17
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
18
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
19
|
+
},
|
|
20
|
+
disabled: {
|
|
21
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
22
|
+
iconColor: tokens.semantic.color.icon.secondary500,
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
off: {
|
|
27
|
+
normal: {
|
|
28
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
29
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
30
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
31
|
+
},
|
|
32
|
+
disabled: {
|
|
33
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
34
|
+
borderColor: tokens.semantic.color.border.secondary800,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
danger: {
|
|
40
|
+
on: {
|
|
41
|
+
normal: {
|
|
42
|
+
bgColor: tokens.semantic.color.background.danger500,
|
|
43
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
44
|
+
textColor: tokens.semantic.color.text.danger400
|
|
45
|
+
},
|
|
46
|
+
disabled: {
|
|
47
|
+
bgColor: tokens.semantic.color.background.danger500,
|
|
48
|
+
iconColor: tokens.semantic.color.icon.secondary0,
|
|
49
|
+
textColor: tokens.semantic.color.text.danger400
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
off: {
|
|
53
|
+
normal: {
|
|
54
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
55
|
+
borderColor: tokens.semantic.color.border.danger500,
|
|
56
|
+
textColor: tokens.semantic.color.text.danger400
|
|
57
|
+
},
|
|
58
|
+
disabled: {
|
|
59
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
60
|
+
borderColor: tokens.semantic.color.border.danger500,
|
|
61
|
+
textColor: tokens.semantic.color.text.danger400
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
export default theme;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
sizes: {
|
|
4
|
+
M: {
|
|
5
|
+
height: '2.8rem',
|
|
6
|
+
padding: '0.4rem 0.6rem',
|
|
7
|
+
borderRadius: '4px',
|
|
8
|
+
gap: '0.5rem'
|
|
9
|
+
},
|
|
10
|
+
S: {
|
|
11
|
+
height: '2.4rem',
|
|
12
|
+
padding: '0.4rem 0.6rem',
|
|
13
|
+
borderRadius: '4px',
|
|
14
|
+
gap: '0.5rem'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
variant: {
|
|
18
|
+
regular: {
|
|
19
|
+
normal: {
|
|
20
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary50
|
|
22
|
+
},
|
|
23
|
+
disabled: {
|
|
24
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
flat: {
|
|
29
|
+
normal: {
|
|
30
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
31
|
+
textColor: tokens.semantic.color.text.secondary50
|
|
32
|
+
},
|
|
33
|
+
disabled: {
|
|
34
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary700
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
closeButton: {
|
|
40
|
+
variant: {
|
|
41
|
+
regular: {
|
|
42
|
+
color: tokens.semantic.color.icon.secondary500
|
|
43
|
+
},
|
|
44
|
+
flat: {
|
|
45
|
+
color: tokens.semantic.color.icon.secondary500
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
size: {
|
|
49
|
+
M: {
|
|
50
|
+
size: '2rem',
|
|
51
|
+
borderRadius: '100%'
|
|
52
|
+
},
|
|
53
|
+
S: {
|
|
54
|
+
size: '1.6rem',
|
|
55
|
+
borderRadius: '100%'
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
export default theme;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
sizes: {
|
|
4
|
+
M: {
|
|
5
|
+
gap: '0.8rem 5px'
|
|
6
|
+
},
|
|
7
|
+
S: {
|
|
8
|
+
gap: '0.8rem 5px'
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
popupList: {
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
13
|
+
color: tokens.semantic.color.text.secondary200,
|
|
14
|
+
disabledColor: tokens.semantic.color.text.secondary800,
|
|
15
|
+
minWidth: '18rem',
|
|
16
|
+
maxHeight: '33.2rem',
|
|
17
|
+
gap: '0.4rem',
|
|
18
|
+
padding: '1.2rem 1.6rem'
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
export default theme;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { withOpacity } from '../../../../utils';
|
|
2
|
+
import { tokens } from '../../tokens';
|
|
3
|
+
const theme = {
|
|
4
|
+
shadow: tokens.core.shadow.shadow500,
|
|
5
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
6
|
+
sidePadding: '3.2rem',
|
|
7
|
+
width: '60rem',
|
|
8
|
+
borderRadius: '0.8rem',
|
|
9
|
+
header: {
|
|
10
|
+
blockPadding: '4rem 0',
|
|
11
|
+
closeIconColor: tokens.semantic.color.icon.secondary200,
|
|
12
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
13
|
+
},
|
|
14
|
+
description: {
|
|
15
|
+
blockPadding: '3rem 0',
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
17
|
+
},
|
|
18
|
+
body: {
|
|
19
|
+
blockPadding: '4rem 1.6rem'
|
|
20
|
+
},
|
|
21
|
+
footer: {
|
|
22
|
+
blockPadding: '1.6rem',
|
|
23
|
+
border: `1px solid ${tokens.semantic.color.border.secondary800}`,
|
|
24
|
+
buttonsGap: '1.6rem'
|
|
25
|
+
},
|
|
26
|
+
overlay: {
|
|
27
|
+
bgColor: withOpacity(tokens.semantic.color.background.secondary990, 0.8)
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
export default theme;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
chipList: {
|
|
4
|
+
padding: '0.8rem 1.6rem',
|
|
5
|
+
border: `1px solid ${tokens.semantic.color.border.secondary800}`
|
|
6
|
+
},
|
|
7
|
+
filtersBar: {
|
|
8
|
+
gap: '1.6rem',
|
|
9
|
+
padding: '0.8rem 1.6rem 0.8rem 0.4rem',
|
|
10
|
+
separator: {
|
|
11
|
+
width: '1px',
|
|
12
|
+
color: tokens.semantic.color.border.secondary800
|
|
13
|
+
},
|
|
14
|
+
trigger: {
|
|
15
|
+
margin: '0.4rem 1.6rem',
|
|
16
|
+
gap: '0.4rem',
|
|
17
|
+
on: {
|
|
18
|
+
color: tokens.semantic.color.text.secondary200
|
|
19
|
+
},
|
|
20
|
+
off: {
|
|
21
|
+
color: tokens.semantic.color.text.secondary200
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
filterDropdown: {
|
|
26
|
+
padding: '1rem 0 0.5rem',
|
|
27
|
+
maxHeight: '33.2rem',
|
|
28
|
+
item: {
|
|
29
|
+
padding: '0.5rem 1.5rem'
|
|
30
|
+
},
|
|
31
|
+
searchBar: {
|
|
32
|
+
padding: '0.8rem 1.6rem'
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
export default theme;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
columnGap: '1.6rem',
|
|
4
|
+
group: {
|
|
5
|
+
rowGap: '1rem'
|
|
6
|
+
},
|
|
7
|
+
additionalText: {
|
|
8
|
+
margin: '0.4rem 0 0 0',
|
|
9
|
+
normal: {
|
|
10
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
11
|
+
},
|
|
12
|
+
error: {
|
|
13
|
+
textColor: tokens.semantic.color.text.danger400
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
export default theme;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
variant: {
|
|
4
|
+
success: {
|
|
5
|
+
arcColor: tokens.semantic.color.background.success300,
|
|
6
|
+
trackColor: tokens.semantic.color.background.success700,
|
|
7
|
+
textColor: tokens.semantic.color.text.success300
|
|
8
|
+
},
|
|
9
|
+
attention: {
|
|
10
|
+
arcColor: tokens.semantic.color.background.attention200,
|
|
11
|
+
trackColor: tokens.semantic.color.background.attention600,
|
|
12
|
+
textColor: tokens.semantic.color.text.attention300
|
|
13
|
+
},
|
|
14
|
+
danger: {
|
|
15
|
+
arcColor: tokens.semantic.color.background.danger200,
|
|
16
|
+
trackColor: tokens.semantic.color.background.danger500,
|
|
17
|
+
textColor: tokens.semantic.color.text.danger300
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
size: {
|
|
21
|
+
S: {
|
|
22
|
+
diameter: '4rem',
|
|
23
|
+
strokeWidth: '12',
|
|
24
|
+
fontSize: tokens.core.font.fontSize.s10
|
|
25
|
+
},
|
|
26
|
+
M: {
|
|
27
|
+
diameter: '5.3rem',
|
|
28
|
+
strokeWidth: '11',
|
|
29
|
+
fontSize: tokens.core.font.fontSize.s12
|
|
30
|
+
},
|
|
31
|
+
L: {
|
|
32
|
+
diameter: '7.2rem',
|
|
33
|
+
strokeWidth: '10',
|
|
34
|
+
fontSize: tokens.core.font.fontSize.s16
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
};
|
|
38
|
+
export default theme;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
variants: {
|
|
4
|
+
primary: {
|
|
5
|
+
background: tokens.semantic.color.background.primary950,
|
|
6
|
+
text: tokens.semantic.color.text.primary400
|
|
7
|
+
},
|
|
8
|
+
secondary: {
|
|
9
|
+
background: tokens.semantic.color.background.secondary900,
|
|
10
|
+
text: tokens.semantic.color.text.secondary400
|
|
11
|
+
},
|
|
12
|
+
informative: {
|
|
13
|
+
background: tokens.semantic.color.background.informative900,
|
|
14
|
+
text: tokens.semantic.color.text.informative600
|
|
15
|
+
},
|
|
16
|
+
notice: {
|
|
17
|
+
background: tokens.semantic.color.background.notice900,
|
|
18
|
+
text: tokens.semantic.color.text.notice400
|
|
19
|
+
},
|
|
20
|
+
success: {
|
|
21
|
+
background: tokens.semantic.color.background.success900,
|
|
22
|
+
text: tokens.semantic.color.text.success400
|
|
23
|
+
},
|
|
24
|
+
attention: {
|
|
25
|
+
background: tokens.semantic.color.background.attention900,
|
|
26
|
+
text: tokens.semantic.color.text.attention400
|
|
27
|
+
},
|
|
28
|
+
error: {
|
|
29
|
+
background: tokens.semantic.color.background.danger900,
|
|
30
|
+
text: tokens.semantic.color.text.danger400
|
|
31
|
+
},
|
|
32
|
+
upsell: {
|
|
33
|
+
background: tokens.semantic.color.background.discovery900,
|
|
34
|
+
text: tokens.semantic.color.text.discovery400
|
|
35
|
+
},
|
|
36
|
+
neutral: {
|
|
37
|
+
background: tokens.semantic.color.background.neutral950,
|
|
38
|
+
text: tokens.semantic.color.text.neutral700
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
export default theme;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
variants: {
|
|
4
|
+
primary: tokens.semantic.color.icon.secondary200,
|
|
5
|
+
secondary: tokens.semantic.color.icon.secondary400,
|
|
6
|
+
notice: tokens.semantic.color.icon.notice500,
|
|
7
|
+
success: tokens.semantic.color.icon.success500,
|
|
8
|
+
attention: tokens.semantic.color.icon.attention500,
|
|
9
|
+
danger: tokens.semantic.color.icon.danger500,
|
|
10
|
+
upsell: tokens.semantic.color.icon.discovery500,
|
|
11
|
+
informative: tokens.semantic.color.icon.informative500
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export default theme;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { tokens } from '../../tokens';
|
|
2
|
+
const theme = {
|
|
3
|
+
sizes: {
|
|
4
|
+
XXL: {
|
|
5
|
+
width: '3.2rem',
|
|
6
|
+
height: '3.2rem'
|
|
7
|
+
},
|
|
8
|
+
XL: {
|
|
9
|
+
width: '2.4rem',
|
|
10
|
+
height: '2.4rem'
|
|
11
|
+
},
|
|
12
|
+
L: {
|
|
13
|
+
width: '2rem',
|
|
14
|
+
height: '2rem'
|
|
15
|
+
},
|
|
16
|
+
M: {
|
|
17
|
+
width: '1.6rem',
|
|
18
|
+
height: '1.6rem'
|
|
19
|
+
},
|
|
20
|
+
S: {
|
|
21
|
+
width: '1.2rem',
|
|
22
|
+
height: '1.2rem'
|
|
23
|
+
},
|
|
24
|
+
XS: {
|
|
25
|
+
width: '0.8rem',
|
|
26
|
+
height: '0.8rem'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
states: {
|
|
30
|
+
normal: {
|
|
31
|
+
bgColor: 'transparent',
|
|
32
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
33
|
+
},
|
|
34
|
+
hover: {
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
36
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
37
|
+
},
|
|
38
|
+
active: {
|
|
39
|
+
bgColor: 'transparent',
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
41
|
+
},
|
|
42
|
+
disabled: {
|
|
43
|
+
bgColor: 'transparent',
|
|
44
|
+
textColor: tokens.semantic.color.text.secondary500
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
borderRadius: '0.5rem'
|
|
48
|
+
};
|
|
49
|
+
export default theme;
|