@redis-ui/styles 11.0.2
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/focus-indicator.d.ts +2 -0
- package/dist/fonts.css +1 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +8240 -0
- package/dist/index.umd.cjs +9 -0
- package/dist/normalized-styles.css +23 -0
- package/dist/themes/hooks/useTheme.d.ts +2 -0
- package/dist/themes/themeDark/theme/components/actionIconButton.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/appBar.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/appSelectionMenu.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/autoComplete.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/badge.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/banner.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/boxSelectionGroup.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/button.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/buttonGroup.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/card.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/checkbox.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/chip.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/chipList.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/countryFlag.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/datePicker.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/drawer.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/filters.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/formField.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/iconButton.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/input.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/label.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/link.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/loader.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/menu.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/modal.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/popover.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/popupCard.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/profileIcon.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/progressBar.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/radio.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/searchBar.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/section.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/select.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/semanticButton.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/semanticContainer.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/semanticIcon.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/sideBar.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/skeleton.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/stepper.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/switch.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/table.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/tableHeading.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/tabs.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/textButton.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/toast.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/toggleButton.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/tooltip.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/treeView.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/typography.d.ts +3 -0
- package/dist/themes/themeDark/theme/components/windowBar.d.ts +3 -0
- package/dist/themes/themeDark/theme.d.ts +2 -0
- package/dist/themes/themeDark/tokens.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/actionIconButton.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/appBar.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/appSelectionMenu.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/autoComplete.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/badge.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/banner.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/boxSelectionGroup.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/button.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/buttonGroup.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/card.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/checkbox.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/chip.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/chipList.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/countryFlag.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/datePicker.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/drawer.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/filters.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/formField.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/iconButton.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/input.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/label.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/link.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/loader.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/menu.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/modal.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/popover.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/popupCard.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/profileIcon.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/progressBar.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/radio.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/searchBar.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/section.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/select.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/semanticButton.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/semanticContainer.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/semanticIcon.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/sideBar.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/skeleton.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/stepper.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/switch.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/table.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/tableHeading.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/tabs.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/textButton.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/toast.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/toggleButton.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/tooltip.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/treeView.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/typography.d.ts +3 -0
- package/dist/themes/themeLight/theme/components/windowBar.d.ts +3 -0
- package/dist/themes/themeLight/theme.d.ts +2 -0
- package/dist/themes/themeLight/tokens.d.ts +3 -0
- package/dist/themes/themeOld/components/actionIconButton.d.ts +3 -0
- package/dist/themes/themeOld/components/appBar.d.ts +3 -0
- package/dist/themes/themeOld/components/appSelectionMenu.d.ts +3 -0
- package/dist/themes/themeOld/components/autoComplete.d.ts +3 -0
- package/dist/themes/themeOld/components/badge.d.ts +3 -0
- package/dist/themes/themeOld/components/banner.d.ts +3 -0
- package/dist/themes/themeOld/components/boxSelectionGroup.d.ts +3 -0
- package/dist/themes/themeOld/components/button.d.ts +3 -0
- package/dist/themes/themeOld/components/buttonGroup.d.ts +3 -0
- package/dist/themes/themeOld/components/card.d.ts +3 -0
- package/dist/themes/themeOld/components/checkbox.d.ts +3 -0
- package/dist/themes/themeOld/components/chip.d.ts +3 -0
- package/dist/themes/themeOld/components/chipList.d.ts +3 -0
- package/dist/themes/themeOld/components/countryFlag.d.ts +3 -0
- package/dist/themes/themeOld/components/datePicker.d.ts +3 -0
- package/dist/themes/themeOld/components/drawer.d.ts +3 -0
- package/dist/themes/themeOld/components/filters.d.ts +3 -0
- package/dist/themes/themeOld/components/formField.d.ts +3 -0
- package/dist/themes/themeOld/components/iconButton.d.ts +3 -0
- package/dist/themes/themeOld/components/input.d.ts +3 -0
- package/dist/themes/themeOld/components/label.d.ts +3 -0
- package/dist/themes/themeOld/components/link.d.ts +3 -0
- package/dist/themes/themeOld/components/loader.d.ts +3 -0
- package/dist/themes/themeOld/components/menu.d.ts +3 -0
- package/dist/themes/themeOld/components/modal.d.ts +3 -0
- package/dist/themes/themeOld/components/popover.d.ts +3 -0
- package/dist/themes/themeOld/components/popupCard.d.ts +3 -0
- package/dist/themes/themeOld/components/profileIcon.d.ts +3 -0
- package/dist/themes/themeOld/components/progressBar.d.ts +3 -0
- package/dist/themes/themeOld/components/radio.d.ts +3 -0
- package/dist/themes/themeOld/components/searchBar.d.ts +3 -0
- package/dist/themes/themeOld/components/section.d.ts +3 -0
- package/dist/themes/themeOld/components/select.d.ts +3 -0
- package/dist/themes/themeOld/components/semanticButton.d.ts +15 -0
- package/dist/themes/themeOld/components/semanticContainer.d.ts +3 -0
- package/dist/themes/themeOld/components/semanticIcon.d.ts +3 -0
- package/dist/themes/themeOld/components/sideBar.d.ts +3 -0
- package/dist/themes/themeOld/components/skeleton.d.ts +3 -0
- package/dist/themes/themeOld/components/stepper.d.ts +3 -0
- package/dist/themes/themeOld/components/switch.d.ts +3 -0
- package/dist/themes/themeOld/components/table.d.ts +3 -0
- package/dist/themes/themeOld/components/tableHeading.d.ts +3 -0
- package/dist/themes/themeOld/components/tabs.d.ts +3 -0
- package/dist/themes/themeOld/components/textButton.d.ts +3 -0
- package/dist/themes/themeOld/components/toast.d.ts +3 -0
- package/dist/themes/themeOld/components/toggleButton.d.ts +3 -0
- package/dist/themes/themeOld/components/tooltip.d.ts +3 -0
- package/dist/themes/themeOld/components/treeView.d.ts +3 -0
- package/dist/themes/themeOld/components/typography.d.ts +3 -0
- package/dist/themes/themeOld/components/windowBar.d.ts +3 -0
- package/dist/themes/themeOld/theme.d.ts +445 -0
- package/dist/themes/themeOld/tokens.d.ts +393 -0
- package/dist/themes/types/theme/components/actionIconButton.types.d.ts +11 -0
- package/dist/themes/types/theme/components/appBar.types.d.ts +15 -0
- package/dist/themes/types/theme/components/appSelectionMenu.types.d.ts +32 -0
- package/dist/themes/types/theme/components/autoComplete.types.d.ts +6 -0
- package/dist/themes/types/theme/components/badge.types.d.ts +16 -0
- package/dist/themes/types/theme/components/banner.types.d.ts +13 -0
- package/dist/themes/types/theme/components/boxSelectionGroup.types.d.ts +25 -0
- package/dist/themes/types/theme/components/button.types.d.ts +20 -0
- package/dist/themes/types/theme/components/buttonGroup.types.d.ts +20 -0
- package/dist/themes/types/theme/components/card.types.d.ts +7 -0
- package/dist/themes/types/theme/components/checkbox.types.d.ts +19 -0
- package/dist/themes/types/theme/components/chip.types.d.ts +24 -0
- package/dist/themes/types/theme/components/chipList.types.d.ts +14 -0
- package/dist/themes/types/theme/components/countryFlag.types.d.ts +7 -0
- package/dist/themes/types/theme/components/datePicker.types.d.ts +65 -0
- package/dist/themes/types/theme/components/drawer.types.d.ts +23 -0
- package/dist/themes/types/theme/components/filters.types.d.ts +34 -0
- package/dist/themes/types/theme/components/formField.types.d.ts +15 -0
- package/dist/themes/types/theme/components/global.types.d.ts +3 -0
- package/dist/themes/types/theme/components/iconButton.types.d.ts +11 -0
- package/dist/themes/types/theme/components/input.types.d.ts +70 -0
- package/dist/themes/types/theme/components/label.types.d.ts +22 -0
- package/dist/themes/types/theme/components/link.types.d.ts +14 -0
- package/dist/themes/types/theme/components/loader.types.d.ts +19 -0
- package/dist/themes/types/theme/components/menu.types.d.ts +43 -0
- package/dist/themes/types/theme/components/modal.types.d.ts +27 -0
- package/dist/themes/types/theme/components/popover.types.d.ts +14 -0
- package/dist/themes/types/theme/components/popupCard.types.d.ts +20 -0
- package/dist/themes/types/theme/components/profileIcon.types.d.ts +13 -0
- package/dist/themes/types/theme/components/progressBar.types.d.ts +27 -0
- package/dist/themes/types/theme/components/radio.types.d.ts +28 -0
- package/dist/themes/types/theme/components/searchBar.types.d.ts +23 -0
- package/dist/themes/types/theme/components/section.types.d.ts +49 -0
- package/dist/themes/types/theme/components/select.types.d.ts +70 -0
- package/dist/themes/types/theme/components/semanticButton.types.d.ts +14 -0
- package/dist/themes/types/theme/components/semanticContainer.types.d.ts +16 -0
- package/dist/themes/types/theme/components/semanticIcon.types.d.ts +8 -0
- package/dist/themes/types/theme/components/sideBar.types.d.ts +79 -0
- package/dist/themes/types/theme/components/skeleton.types.d.ts +24 -0
- package/dist/themes/types/theme/components/stepper.types.d.ts +23 -0
- package/dist/themes/types/theme/components/switch.types.d.ts +20 -0
- package/dist/themes/types/theme/components/table.types.d.ts +46 -0
- package/dist/themes/types/theme/components/tableHeading.types.d.ts +19 -0
- package/dist/themes/types/theme/components/tabs.types.d.ts +35 -0
- package/dist/themes/types/theme/components/textButton.types.d.ts +13 -0
- package/dist/themes/types/theme/components/toast.types.d.ts +13 -0
- package/dist/themes/types/theme/components/toggleButton.types.d.ts +20 -0
- package/dist/themes/types/theme/components/tooltip.types.d.ts +15 -0
- package/dist/themes/types/theme/components/treeView.types.d.ts +15 -0
- package/dist/themes/types/theme/components/typography.types.d.ts +26 -0
- package/dist/themes/types/theme/components/windowBar.types.d.ts +13 -0
- package/dist/themes/types/theme/theme.types.d.ts +50 -0
- package/dist/themes/types/theme.types.d.ts +4 -0
- package/dist/utils.d.ts +5 -0
- package/package.json +43 -0
|
@@ -0,0 +1,393 @@
|
|
|
1
|
+
declare const tokens: {
|
|
2
|
+
color: {
|
|
3
|
+
transparent: string;
|
|
4
|
+
pink500: string;
|
|
5
|
+
gray100: string;
|
|
6
|
+
gray200: string;
|
|
7
|
+
gray300: string;
|
|
8
|
+
gray400: string;
|
|
9
|
+
gray500: string;
|
|
10
|
+
gray600: string;
|
|
11
|
+
gray700: string;
|
|
12
|
+
gray800: string;
|
|
13
|
+
blue50: string;
|
|
14
|
+
blue100: string;
|
|
15
|
+
blue200: string;
|
|
16
|
+
blue300: string;
|
|
17
|
+
blue400: string;
|
|
18
|
+
blue500: string;
|
|
19
|
+
blue600: string;
|
|
20
|
+
blue700: string;
|
|
21
|
+
teal100: string;
|
|
22
|
+
teal200: string;
|
|
23
|
+
teal300: string;
|
|
24
|
+
teal500: string;
|
|
25
|
+
teal600: string;
|
|
26
|
+
teal700: string;
|
|
27
|
+
teal800: string;
|
|
28
|
+
green100: string;
|
|
29
|
+
green200: string;
|
|
30
|
+
green300: string;
|
|
31
|
+
green500: string;
|
|
32
|
+
green600: string;
|
|
33
|
+
green700: string;
|
|
34
|
+
green800: string;
|
|
35
|
+
purple100: string;
|
|
36
|
+
purple200: string;
|
|
37
|
+
purple300: string;
|
|
38
|
+
purple500: string;
|
|
39
|
+
purple600: string;
|
|
40
|
+
purple700: string;
|
|
41
|
+
purple800: string;
|
|
42
|
+
red100: string;
|
|
43
|
+
red200: string;
|
|
44
|
+
red300: string;
|
|
45
|
+
red500: string;
|
|
46
|
+
red600: string;
|
|
47
|
+
red700: string;
|
|
48
|
+
red800: string;
|
|
49
|
+
orange100: string;
|
|
50
|
+
orange200: string;
|
|
51
|
+
orange300: string;
|
|
52
|
+
orange500: string;
|
|
53
|
+
orange600: string;
|
|
54
|
+
orange700: string;
|
|
55
|
+
orange800: string;
|
|
56
|
+
dark50: string;
|
|
57
|
+
dark100: string;
|
|
58
|
+
dark200: string;
|
|
59
|
+
dark300: string;
|
|
60
|
+
dark400: string;
|
|
61
|
+
dark500: string;
|
|
62
|
+
dark600: string;
|
|
63
|
+
dark700: string;
|
|
64
|
+
dark800: string;
|
|
65
|
+
dark900: string;
|
|
66
|
+
grayscale100: string;
|
|
67
|
+
grayscale200: string;
|
|
68
|
+
grayscale300: string;
|
|
69
|
+
grayscale400: string;
|
|
70
|
+
grayscale600: string;
|
|
71
|
+
grayscale700: string;
|
|
72
|
+
grayscale800: string;
|
|
73
|
+
dusk50: string;
|
|
74
|
+
dusk100: string;
|
|
75
|
+
dusk150: string;
|
|
76
|
+
dusk200: string;
|
|
77
|
+
dusk300: string;
|
|
78
|
+
dusk400: string;
|
|
79
|
+
dusk600: string;
|
|
80
|
+
dusk700: string;
|
|
81
|
+
dusk800: string;
|
|
82
|
+
azure100: string;
|
|
83
|
+
azure200: string;
|
|
84
|
+
azure300: string;
|
|
85
|
+
azure400: string;
|
|
86
|
+
azure500: string;
|
|
87
|
+
azure600: string;
|
|
88
|
+
azure700: string;
|
|
89
|
+
azure800: string;
|
|
90
|
+
azure900: string;
|
|
91
|
+
violet50: string;
|
|
92
|
+
violet200: string;
|
|
93
|
+
violet500: string;
|
|
94
|
+
bluesky50: string;
|
|
95
|
+
bluesky200: string;
|
|
96
|
+
bluesky500: string;
|
|
97
|
+
yellow50: string;
|
|
98
|
+
yellow200: string;
|
|
99
|
+
yellow500: string;
|
|
100
|
+
};
|
|
101
|
+
semantic: {
|
|
102
|
+
color: {
|
|
103
|
+
background: {
|
|
104
|
+
transparent: string;
|
|
105
|
+
neutral100: string;
|
|
106
|
+
neutral200: string;
|
|
107
|
+
neutral300: string;
|
|
108
|
+
neutral400: string;
|
|
109
|
+
neutral500: string;
|
|
110
|
+
neutral600: string;
|
|
111
|
+
neutral700: string;
|
|
112
|
+
neutral800: string;
|
|
113
|
+
primary50: string;
|
|
114
|
+
primary100: string;
|
|
115
|
+
primary200: string;
|
|
116
|
+
primary300: string;
|
|
117
|
+
primary400: string;
|
|
118
|
+
primary500: string;
|
|
119
|
+
primary600: string;
|
|
120
|
+
primary700: string;
|
|
121
|
+
success100: string;
|
|
122
|
+
success200: string;
|
|
123
|
+
success300: string;
|
|
124
|
+
success500: string;
|
|
125
|
+
success600: string;
|
|
126
|
+
success700: string;
|
|
127
|
+
success800: string;
|
|
128
|
+
notice100: string;
|
|
129
|
+
notice200: string;
|
|
130
|
+
notice300: string;
|
|
131
|
+
notice500: string;
|
|
132
|
+
notice600: string;
|
|
133
|
+
notice700: string;
|
|
134
|
+
notice800: string;
|
|
135
|
+
informative50: string;
|
|
136
|
+
informative100: string;
|
|
137
|
+
informative200: string;
|
|
138
|
+
informative300: string;
|
|
139
|
+
informative400: string;
|
|
140
|
+
informative500: string;
|
|
141
|
+
informative600: string;
|
|
142
|
+
informative700: string;
|
|
143
|
+
attention100: string;
|
|
144
|
+
attention200: string;
|
|
145
|
+
attention300: string;
|
|
146
|
+
attention500: string;
|
|
147
|
+
attention600: string;
|
|
148
|
+
attention700: string;
|
|
149
|
+
attention800: string;
|
|
150
|
+
danger100: string;
|
|
151
|
+
danger200: string;
|
|
152
|
+
danger300: string;
|
|
153
|
+
danger500: string;
|
|
154
|
+
danger600: string;
|
|
155
|
+
danger700: string;
|
|
156
|
+
danger800: string;
|
|
157
|
+
};
|
|
158
|
+
border: {
|
|
159
|
+
transparent: string;
|
|
160
|
+
neutral100: string;
|
|
161
|
+
neutral200: string;
|
|
162
|
+
neutral300: string;
|
|
163
|
+
neutral400: string;
|
|
164
|
+
neutral500: string;
|
|
165
|
+
neutral600: string;
|
|
166
|
+
neutral700: string;
|
|
167
|
+
neutral800: string;
|
|
168
|
+
primary50: string;
|
|
169
|
+
primary100: string;
|
|
170
|
+
primary200: string;
|
|
171
|
+
primary300: string;
|
|
172
|
+
primary400: string;
|
|
173
|
+
primary500: string;
|
|
174
|
+
primary600: string;
|
|
175
|
+
primary700: string;
|
|
176
|
+
success100: string;
|
|
177
|
+
success200: string;
|
|
178
|
+
success300: string;
|
|
179
|
+
success500: string;
|
|
180
|
+
success600: string;
|
|
181
|
+
success700: string;
|
|
182
|
+
success800: string;
|
|
183
|
+
notice100: string;
|
|
184
|
+
notice200: string;
|
|
185
|
+
notice300: string;
|
|
186
|
+
notice500: string;
|
|
187
|
+
notice600: string;
|
|
188
|
+
notice700: string;
|
|
189
|
+
notice800: string;
|
|
190
|
+
informative50: string;
|
|
191
|
+
informative100: string;
|
|
192
|
+
informative200: string;
|
|
193
|
+
informative300: string;
|
|
194
|
+
informative400: string;
|
|
195
|
+
informative500: string;
|
|
196
|
+
informative600: string;
|
|
197
|
+
informative700: string;
|
|
198
|
+
attention100: string;
|
|
199
|
+
attention200: string;
|
|
200
|
+
attention300: string;
|
|
201
|
+
attention500: string;
|
|
202
|
+
attention600: string;
|
|
203
|
+
attention700: string;
|
|
204
|
+
attention800: string;
|
|
205
|
+
danger100: string;
|
|
206
|
+
danger200: string;
|
|
207
|
+
danger300: string;
|
|
208
|
+
danger500: string;
|
|
209
|
+
danger600: string;
|
|
210
|
+
danger700: string;
|
|
211
|
+
danger800: string;
|
|
212
|
+
};
|
|
213
|
+
text: {
|
|
214
|
+
transparent: string;
|
|
215
|
+
neutral100: string;
|
|
216
|
+
neutral200: string;
|
|
217
|
+
neutral300: string;
|
|
218
|
+
neutral400: string;
|
|
219
|
+
neutral500: string;
|
|
220
|
+
neutral600: string;
|
|
221
|
+
neutral700: string;
|
|
222
|
+
neutral800: string;
|
|
223
|
+
primary50: string;
|
|
224
|
+
primary100: string;
|
|
225
|
+
primary200: string;
|
|
226
|
+
primary300: string;
|
|
227
|
+
primary400: string;
|
|
228
|
+
primary500: string;
|
|
229
|
+
primary600: string;
|
|
230
|
+
primary700: string;
|
|
231
|
+
success100: string;
|
|
232
|
+
success200: string;
|
|
233
|
+
success300: string;
|
|
234
|
+
success500: string;
|
|
235
|
+
success600: string;
|
|
236
|
+
success700: string;
|
|
237
|
+
success800: string;
|
|
238
|
+
notice100: string;
|
|
239
|
+
notice200: string;
|
|
240
|
+
notice300: string;
|
|
241
|
+
notice500: string;
|
|
242
|
+
notice600: string;
|
|
243
|
+
notice700: string;
|
|
244
|
+
notice800: string;
|
|
245
|
+
informative50: string;
|
|
246
|
+
informative100: string;
|
|
247
|
+
informative200: string;
|
|
248
|
+
informative300: string;
|
|
249
|
+
informative400: string;
|
|
250
|
+
informative500: string;
|
|
251
|
+
informative600: string;
|
|
252
|
+
informative700: string;
|
|
253
|
+
attention100: string;
|
|
254
|
+
attention200: string;
|
|
255
|
+
attention300: string;
|
|
256
|
+
attention500: string;
|
|
257
|
+
attention600: string;
|
|
258
|
+
attention700: string;
|
|
259
|
+
attention800: string;
|
|
260
|
+
danger100: string;
|
|
261
|
+
danger200: string;
|
|
262
|
+
danger300: string;
|
|
263
|
+
danger500: string;
|
|
264
|
+
danger600: string;
|
|
265
|
+
danger700: string;
|
|
266
|
+
danger800: string;
|
|
267
|
+
};
|
|
268
|
+
icon: {
|
|
269
|
+
transparent: string;
|
|
270
|
+
neutral100: string;
|
|
271
|
+
neutral200: string;
|
|
272
|
+
neutral300: string;
|
|
273
|
+
neutral400: string;
|
|
274
|
+
neutral500: string;
|
|
275
|
+
neutral600: string;
|
|
276
|
+
neutral700: string;
|
|
277
|
+
neutral800: string;
|
|
278
|
+
primary50: string;
|
|
279
|
+
primary100: string;
|
|
280
|
+
primary200: string;
|
|
281
|
+
primary300: string;
|
|
282
|
+
primary400: string;
|
|
283
|
+
primary500: string;
|
|
284
|
+
primary600: string;
|
|
285
|
+
primary700: string;
|
|
286
|
+
success100: string;
|
|
287
|
+
success200: string;
|
|
288
|
+
success300: string;
|
|
289
|
+
success500: string;
|
|
290
|
+
success600: string;
|
|
291
|
+
success700: string;
|
|
292
|
+
success800: string;
|
|
293
|
+
notice100: string;
|
|
294
|
+
notice200: string;
|
|
295
|
+
notice300: string;
|
|
296
|
+
notice500: string;
|
|
297
|
+
notice600: string;
|
|
298
|
+
notice700: string;
|
|
299
|
+
notice800: string;
|
|
300
|
+
informative50: string;
|
|
301
|
+
informative100: string;
|
|
302
|
+
informative200: string;
|
|
303
|
+
informative300: string;
|
|
304
|
+
informative400: string;
|
|
305
|
+
informative500: string;
|
|
306
|
+
informative600: string;
|
|
307
|
+
informative700: string;
|
|
308
|
+
attention100: string;
|
|
309
|
+
attention200: string;
|
|
310
|
+
attention300: string;
|
|
311
|
+
attention500: string;
|
|
312
|
+
attention600: string;
|
|
313
|
+
attention700: string;
|
|
314
|
+
attention800: string;
|
|
315
|
+
danger100: string;
|
|
316
|
+
danger200: string;
|
|
317
|
+
danger300: string;
|
|
318
|
+
danger500: string;
|
|
319
|
+
danger600: string;
|
|
320
|
+
danger700: string;
|
|
321
|
+
danger800: string;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
core: {
|
|
326
|
+
space: {
|
|
327
|
+
space000: string;
|
|
328
|
+
space010: string;
|
|
329
|
+
space025: string;
|
|
330
|
+
space050: string;
|
|
331
|
+
space100: string;
|
|
332
|
+
space150: string;
|
|
333
|
+
space200: string;
|
|
334
|
+
space250: string;
|
|
335
|
+
space300: string;
|
|
336
|
+
space400: string;
|
|
337
|
+
space500: string;
|
|
338
|
+
space550: string;
|
|
339
|
+
space600: string;
|
|
340
|
+
space800: string;
|
|
341
|
+
};
|
|
342
|
+
shadow: {
|
|
343
|
+
shadow1: string;
|
|
344
|
+
shadow2: string;
|
|
345
|
+
shadow3: string;
|
|
346
|
+
shadow4: string;
|
|
347
|
+
shadow100: string;
|
|
348
|
+
shadow200: string;
|
|
349
|
+
shadow300: string;
|
|
350
|
+
shadow400: string;
|
|
351
|
+
shadow500: string;
|
|
352
|
+
shadow600: string;
|
|
353
|
+
shadow700: string;
|
|
354
|
+
};
|
|
355
|
+
zIndex: {
|
|
356
|
+
zIndex5: number;
|
|
357
|
+
zIndex9998: number;
|
|
358
|
+
zIndex9999: number;
|
|
359
|
+
};
|
|
360
|
+
font: {
|
|
361
|
+
fontFamily: {
|
|
362
|
+
regular: string;
|
|
363
|
+
sourceCodeProRegular: string;
|
|
364
|
+
};
|
|
365
|
+
fontSize: {
|
|
366
|
+
s8: string;
|
|
367
|
+
s10: string;
|
|
368
|
+
s12: string;
|
|
369
|
+
s13: string;
|
|
370
|
+
s14: string;
|
|
371
|
+
s15: string;
|
|
372
|
+
s16: string;
|
|
373
|
+
s18: string;
|
|
374
|
+
s20: string;
|
|
375
|
+
s22: string;
|
|
376
|
+
s24: string;
|
|
377
|
+
s26: string;
|
|
378
|
+
s27: string;
|
|
379
|
+
s28: string;
|
|
380
|
+
s32: string;
|
|
381
|
+
s40: string;
|
|
382
|
+
s44: string;
|
|
383
|
+
s52: string;
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
focus: {
|
|
387
|
+
margin: string;
|
|
388
|
+
size: string;
|
|
389
|
+
color: string;
|
|
390
|
+
};
|
|
391
|
+
};
|
|
392
|
+
};
|
|
393
|
+
export default tokens;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonStateColors, ButtonStatesTheme } from './button.types';
|
|
2
|
+
type ActionIconButtonSizes = 'L' | 'M' | 'S' | 'XS';
|
|
3
|
+
type ButtonVariants = 'primary' | 'secondary';
|
|
4
|
+
export type ActionIconButtonTheme = {
|
|
5
|
+
sizes: Record<ActionIconButtonSizes, {
|
|
6
|
+
size: string;
|
|
7
|
+
iconSize: string;
|
|
8
|
+
}>;
|
|
9
|
+
variants: Record<ButtonVariants, ButtonStatesTheme<ButtonStateColors>>;
|
|
10
|
+
};
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export type AppBarVariant = 'default' | 'alert';
|
|
2
|
+
export type VarientTheme = {
|
|
3
|
+
bgColor: string;
|
|
4
|
+
color: string;
|
|
5
|
+
};
|
|
6
|
+
export type AppBarTheme = {
|
|
7
|
+
height: string;
|
|
8
|
+
padding: string;
|
|
9
|
+
separator: string;
|
|
10
|
+
boxShadow: string;
|
|
11
|
+
group: {
|
|
12
|
+
gap: string;
|
|
13
|
+
};
|
|
14
|
+
variants: Record<AppBarVariant, VarientTheme>;
|
|
15
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export type TriggerToggeleState = 'on' | 'off';
|
|
2
|
+
export type TriggerState = 'normal' | 'hover';
|
|
3
|
+
export type TriggerStateColors = {
|
|
4
|
+
bgColor: string;
|
|
5
|
+
};
|
|
6
|
+
export type TriggerTheme = {
|
|
7
|
+
height: string;
|
|
8
|
+
width: string;
|
|
9
|
+
borderRadius: string;
|
|
10
|
+
padding: string;
|
|
11
|
+
toggleStates: Record<TriggerToggeleState, Partial<Record<TriggerState, TriggerStateColors>>>;
|
|
12
|
+
};
|
|
13
|
+
export type ItemTheme = {
|
|
14
|
+
gap: string;
|
|
15
|
+
buttonSize: string;
|
|
16
|
+
iconSize: string;
|
|
17
|
+
width: string;
|
|
18
|
+
height: string;
|
|
19
|
+
label: {
|
|
20
|
+
color: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
export type ContentTheme = {
|
|
24
|
+
margin: string;
|
|
25
|
+
gap: string;
|
|
26
|
+
width: string;
|
|
27
|
+
};
|
|
28
|
+
export type AppSeletionMenuTheme = {
|
|
29
|
+
trigger: TriggerTheme;
|
|
30
|
+
item: ItemTheme;
|
|
31
|
+
content: ContentTheme;
|
|
32
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type BadgeVariant = 'white' | 'light' | 'default' | 'informative' | 'success' | 'notice' | 'danger' | 'attention' | 'disabled';
|
|
2
|
+
export type BadgeVariantStyle = {
|
|
3
|
+
backgroundColor: string;
|
|
4
|
+
color: string;
|
|
5
|
+
borderColor: string;
|
|
6
|
+
iconColor: string;
|
|
7
|
+
};
|
|
8
|
+
export type BadgeTheme = {
|
|
9
|
+
variants: Record<BadgeVariant, BadgeVariantStyle>;
|
|
10
|
+
height: string;
|
|
11
|
+
padding: string;
|
|
12
|
+
gap: string;
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
borderWidth: string;
|
|
15
|
+
borderStyle: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type BoxSelectionGroupChecked = 'default' | 'checked';
|
|
2
|
+
export type BoxSelectionGroupStates = 'normal' | 'hover' | 'disabled';
|
|
3
|
+
export type BoxSelectionGroupStateColorProperties = {
|
|
4
|
+
bgColor?: string;
|
|
5
|
+
borderColor?: string;
|
|
6
|
+
markerColor?: string;
|
|
7
|
+
opacity?: string;
|
|
8
|
+
textColor?: string;
|
|
9
|
+
iconColor?: string;
|
|
10
|
+
};
|
|
11
|
+
export type BoxSelectionGroupStateColors = Record<BoxSelectionGroupStates, BoxSelectionGroupStateColorProperties>;
|
|
12
|
+
export type BoxSelectionGroupTheme = {
|
|
13
|
+
gap: string;
|
|
14
|
+
item: {
|
|
15
|
+
borderRadius: string;
|
|
16
|
+
borderWidth: string;
|
|
17
|
+
borderStyle: string;
|
|
18
|
+
markerSize: string;
|
|
19
|
+
iconSize: string;
|
|
20
|
+
states: Record<BoxSelectionGroupChecked, Partial<BoxSelectionGroupStateColors>>;
|
|
21
|
+
};
|
|
22
|
+
defaultItem: {
|
|
23
|
+
gap: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type ButtonState = 'normal' | 'hover' | 'active' | 'disabled';
|
|
2
|
+
export type ButtonStatesTheme<T extends Record<string, unknown>> = Partial<Record<ButtonState, Partial<T>>>;
|
|
3
|
+
export type ButtonStateColors = {
|
|
4
|
+
bgColor: string;
|
|
5
|
+
textColor: string;
|
|
6
|
+
borderColor?: string;
|
|
7
|
+
};
|
|
8
|
+
type ButtonVariants = 'primary' | 'destructive' | 'secondary-fill' | 'secondary-invert' | 'secondary-ghost';
|
|
9
|
+
type ButtonSizes = 'large' | 'medium' | 'small';
|
|
10
|
+
export type ButtonTheme = {
|
|
11
|
+
gap: string;
|
|
12
|
+
sizes: Record<ButtonSizes, {
|
|
13
|
+
borderRadius: string;
|
|
14
|
+
padding: string;
|
|
15
|
+
height: string;
|
|
16
|
+
lineHeight: string;
|
|
17
|
+
}>;
|
|
18
|
+
variants: Record<ButtonVariants, ButtonStatesTheme<ButtonStateColors>>;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ButtonStateColors, ButtonStatesTheme } from './button.types';
|
|
2
|
+
type ButtonGroupStates = 'on' | 'off';
|
|
3
|
+
export type ButtonGroupTheme = {
|
|
4
|
+
border: string;
|
|
5
|
+
borderRadius: string;
|
|
6
|
+
fontSize: string;
|
|
7
|
+
fontWeight: string;
|
|
8
|
+
fontStyle: string;
|
|
9
|
+
padding: string;
|
|
10
|
+
gap: string;
|
|
11
|
+
button: {
|
|
12
|
+
padding: string;
|
|
13
|
+
gap: string;
|
|
14
|
+
minWidth: string;
|
|
15
|
+
borderRadius: string;
|
|
16
|
+
border: string;
|
|
17
|
+
toggleStates: Record<ButtonGroupStates, ButtonStatesTheme<ButtonStateColors>>;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ButtonStateColors, ButtonStatesTheme } from './button.types';
|
|
2
|
+
type CheckboxVariants = 'primary' | 'danger';
|
|
3
|
+
type CheckboxStates = 'on' | 'off';
|
|
4
|
+
type CheckboxStateColors = ButtonStateColors & {
|
|
5
|
+
iconColor?: string;
|
|
6
|
+
};
|
|
7
|
+
export type CheckboxTheme = {
|
|
8
|
+
width: string;
|
|
9
|
+
height: string;
|
|
10
|
+
padding: string;
|
|
11
|
+
borderRadius: string;
|
|
12
|
+
borderWidth: string;
|
|
13
|
+
label: {
|
|
14
|
+
padding: string;
|
|
15
|
+
gap: string;
|
|
16
|
+
};
|
|
17
|
+
variants: Record<CheckboxVariants, Record<CheckboxStates, ButtonStatesTheme<CheckboxStateColors>>>;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export type ChipSize = 'M' | 'S';
|
|
2
|
+
export type ChipVariant = 'regular' | 'flat';
|
|
3
|
+
export type ChipState = 'normal' | 'disabled';
|
|
4
|
+
export type ChipTheme = {
|
|
5
|
+
sizes: Record<ChipSize, {
|
|
6
|
+
height: string;
|
|
7
|
+
padding: string;
|
|
8
|
+
borderRadius: string;
|
|
9
|
+
gap: string;
|
|
10
|
+
}>;
|
|
11
|
+
variant: Record<ChipVariant, Record<ChipState, {
|
|
12
|
+
bgColor: string;
|
|
13
|
+
textColor: string;
|
|
14
|
+
}>>;
|
|
15
|
+
closeButton: {
|
|
16
|
+
size: Record<ChipSize, {
|
|
17
|
+
size: string;
|
|
18
|
+
borderRadius: string;
|
|
19
|
+
}>;
|
|
20
|
+
variant: Record<ChipVariant, {
|
|
21
|
+
color: string;
|
|
22
|
+
}>;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ChipSize } from './chip.types';
|
|
2
|
+
export type ChipListTheme = {
|
|
3
|
+
sizes: Record<ChipSize, {
|
|
4
|
+
gap: string;
|
|
5
|
+
}>;
|
|
6
|
+
popupList: {
|
|
7
|
+
maxHeight: string;
|
|
8
|
+
minWidth: string;
|
|
9
|
+
padding: string;
|
|
10
|
+
gap: string;
|
|
11
|
+
color: string;
|
|
12
|
+
disabledColor: string;
|
|
13
|
+
};
|
|
14
|
+
};
|