@mmb-digital/design-system-web 0.1.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.
Files changed (127) hide show
  1. package/.babelrc.json +16 -0
  2. package/.eslintrc.js +165 -0
  3. package/.prettierrc.js +15 -0
  4. package/.storybook/main.ts +23 -0
  5. package/.storybook/preview.tsx +27 -0
  6. package/dist/cjs/index.js +131 -0
  7. package/dist/cjs/index.js.map +1 -0
  8. package/dist/cjs/types/jest.config.d.ts +7 -0
  9. package/dist/cjs/types/src/components/button/button.d.ts +4 -0
  10. package/dist/cjs/types/src/components/button/button.styles.d.ts +4 -0
  11. package/dist/cjs/types/src/components/button/button.test.d.ts +1 -0
  12. package/dist/cjs/types/src/components/button/button.types.d.ts +29 -0
  13. package/dist/cjs/types/src/components/form/hint/formHint.d.ts +4 -0
  14. package/dist/cjs/types/src/components/form/hint/formHint.style.d.ts +1 -0
  15. package/dist/cjs/types/src/components/form/hint/formHint.types.d.ts +4 -0
  16. package/dist/cjs/types/src/components/slider/slider/slider.d.ts +5 -0
  17. package/dist/cjs/types/src/components/slider/slider/slider.style.d.ts +5 -0
  18. package/dist/cjs/types/src/components/slider/slider/slider.types.d.ts +47 -0
  19. package/dist/cjs/types/src/components/slider/slider/sliderFunction/default/sliderFunctionDefault.d.ts +2 -0
  20. package/dist/cjs/types/src/components/slider/slider/sliderFunction/default/sliderStep.d.ts +7 -0
  21. package/dist/cjs/types/src/components/slider/slider/sliderFunction/default/sliderStep.test.d.ts +1 -0
  22. package/dist/cjs/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderFunctionLinearVisualSteps.d.ts +2 -0
  23. package/dist/cjs/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderMax.d.ts +8 -0
  24. package/dist/cjs/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderMax.test.d.ts +1 -0
  25. package/dist/cjs/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderValueByValue.d.ts +9 -0
  26. package/dist/cjs/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderValueByValue.test.d.ts +1 -0
  27. package/dist/cjs/types/src/components/slider/slider/sliderFunction/linearVisualSteps/valueBySliderValue.d.ts +2 -0
  28. package/dist/cjs/types/src/components/slider/slider/sliderFunction/linearVisualSteps/valueBySliderValue.test.d.ts +1 -0
  29. package/dist/cjs/types/src/components/slider/slider/sliderHandleSvgHandler.d.ts +2 -0
  30. package/dist/cjs/types/src/components/storeButton/assets/androidSvg.d.ts +8 -0
  31. package/dist/cjs/types/src/components/storeButton/assets/appleSvg.d.ts +8 -0
  32. package/dist/cjs/types/src/components/storeButton/storeButton.d.ts +4 -0
  33. package/dist/cjs/types/src/components/storeButton/storeButton.styles.d.ts +3 -0
  34. package/dist/cjs/types/src/components/storeButton/storeButton.test.d.ts +1 -0
  35. package/dist/cjs/types/src/components/storeButton/storeButton.types.d.ts +13 -0
  36. package/dist/cjs/types/src/icons/systemIcon.d.ts +8 -0
  37. package/dist/cjs/types/src/index.d.ts +1 -0
  38. package/dist/cjs/types/src/provider/storybook/storybookProvider.d.ts +4 -0
  39. package/dist/cjs/types/src/provider/storybook/storybookProvider.types.d.ts +4 -0
  40. package/dist/cjs/types/src/provider/styledComponents/theme/styledComponentsThemeProvider.d.ts +4 -0
  41. package/dist/cjs/types/src/provider/styledComponents/theme/styledComponentsThemeProvider.types..d.ts +4 -0
  42. package/dist/cjs/types/src/style/styledComponents/theme.d.ts +441 -0
  43. package/dist/esm/index.js +131 -0
  44. package/dist/esm/index.js.map +1 -0
  45. package/dist/esm/types/jest.config.d.ts +7 -0
  46. package/dist/esm/types/src/components/button/button.d.ts +4 -0
  47. package/dist/esm/types/src/components/button/button.styles.d.ts +4 -0
  48. package/dist/esm/types/src/components/button/button.test.d.ts +1 -0
  49. package/dist/esm/types/src/components/button/button.types.d.ts +29 -0
  50. package/dist/esm/types/src/components/form/hint/formHint.d.ts +4 -0
  51. package/dist/esm/types/src/components/form/hint/formHint.style.d.ts +1 -0
  52. package/dist/esm/types/src/components/form/hint/formHint.types.d.ts +4 -0
  53. package/dist/esm/types/src/components/slider/slider/slider.d.ts +5 -0
  54. package/dist/esm/types/src/components/slider/slider/slider.style.d.ts +5 -0
  55. package/dist/esm/types/src/components/slider/slider/slider.types.d.ts +47 -0
  56. package/dist/esm/types/src/components/slider/slider/sliderFunction/default/sliderFunctionDefault.d.ts +2 -0
  57. package/dist/esm/types/src/components/slider/slider/sliderFunction/default/sliderStep.d.ts +7 -0
  58. package/dist/esm/types/src/components/slider/slider/sliderFunction/default/sliderStep.test.d.ts +1 -0
  59. package/dist/esm/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderFunctionLinearVisualSteps.d.ts +2 -0
  60. package/dist/esm/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderMax.d.ts +8 -0
  61. package/dist/esm/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderMax.test.d.ts +1 -0
  62. package/dist/esm/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderValueByValue.d.ts +9 -0
  63. package/dist/esm/types/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderValueByValue.test.d.ts +1 -0
  64. package/dist/esm/types/src/components/slider/slider/sliderFunction/linearVisualSteps/valueBySliderValue.d.ts +2 -0
  65. package/dist/esm/types/src/components/slider/slider/sliderFunction/linearVisualSteps/valueBySliderValue.test.d.ts +1 -0
  66. package/dist/esm/types/src/components/slider/slider/sliderHandleSvgHandler.d.ts +2 -0
  67. package/dist/esm/types/src/components/storeButton/assets/androidSvg.d.ts +8 -0
  68. package/dist/esm/types/src/components/storeButton/assets/appleSvg.d.ts +8 -0
  69. package/dist/esm/types/src/components/storeButton/storeButton.d.ts +4 -0
  70. package/dist/esm/types/src/components/storeButton/storeButton.styles.d.ts +3 -0
  71. package/dist/esm/types/src/components/storeButton/storeButton.test.d.ts +1 -0
  72. package/dist/esm/types/src/components/storeButton/storeButton.types.d.ts +13 -0
  73. package/dist/esm/types/src/icons/systemIcon.d.ts +8 -0
  74. package/dist/esm/types/src/index.d.ts +1 -0
  75. package/dist/esm/types/src/provider/storybook/storybookProvider.d.ts +4 -0
  76. package/dist/esm/types/src/provider/storybook/storybookProvider.types.d.ts +4 -0
  77. package/dist/esm/types/src/provider/styledComponents/theme/styledComponentsThemeProvider.d.ts +4 -0
  78. package/dist/esm/types/src/provider/styledComponents/theme/styledComponentsThemeProvider.types..d.ts +4 -0
  79. package/dist/esm/types/src/style/styledComponents/theme.d.ts +441 -0
  80. package/jest.config.ts +197 -0
  81. package/package.json +97 -0
  82. package/readme.md +39 -0
  83. package/rollup.config.js +33 -0
  84. package/src/@types/json.d.ts +5 -0
  85. package/src/@types/styledComponentCssProps.d.ts +11 -0
  86. package/src/@types/styledComponentTheme.d.ts +9 -0
  87. package/src/components/button/button.stories.tsx +97 -0
  88. package/src/components/button/button.styles.ts +162 -0
  89. package/src/components/button/button.test.tsx +25 -0
  90. package/src/components/button/button.tsx +31 -0
  91. package/src/components/button/button.types.ts +33 -0
  92. package/src/components/form/hint/formHint.style.ts +10 -0
  93. package/src/components/form/hint/formHint.tsx +13 -0
  94. package/src/components/form/hint/formHint.types.ts +5 -0
  95. package/src/components/slider/slider/slider.stories.tsx +176 -0
  96. package/src/components/slider/slider/slider.style.ts +29 -0
  97. package/src/components/slider/slider/slider.tsx +136 -0
  98. package/src/components/slider/slider/slider.types.ts +58 -0
  99. package/src/components/slider/slider/sliderFunction/default/sliderFunctionDefault.ts +21 -0
  100. package/src/components/slider/slider/sliderFunction/default/sliderStep.test.ts +90 -0
  101. package/src/components/slider/slider/sliderFunction/default/sliderStep.ts +18 -0
  102. package/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderFunctionLinearVisualSteps.ts +28 -0
  103. package/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderMax.test.ts +83 -0
  104. package/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderMax.ts +34 -0
  105. package/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderValueByValue.test.ts +249 -0
  106. package/src/components/slider/slider/sliderFunction/linearVisualSteps/sliderValueByValue.ts +41 -0
  107. package/src/components/slider/slider/sliderFunction/linearVisualSteps/valueBySliderValue.test.ts +204 -0
  108. package/src/components/slider/slider/sliderFunction/linearVisualSteps/valueBySliderValue.ts +35 -0
  109. package/src/components/slider/slider/sliderHandleSvgHandler.ts +26 -0
  110. package/src/components/storeButton/assets/androidSvg.tsx +159 -0
  111. package/src/components/storeButton/assets/appleSvg.tsx +31 -0
  112. package/src/components/storeButton/storeButton.stories.tsx +67 -0
  113. package/src/components/storeButton/storeButton.styles.ts +36 -0
  114. package/src/components/storeButton/storeButton.test.tsx +22 -0
  115. package/src/components/storeButton/storeButton.tsx +30 -0
  116. package/src/components/storeButton/storeButton.types.tsx +15 -0
  117. package/src/icons/systemIcon.tsx +26 -0
  118. package/src/index.ts +1 -0
  119. package/src/provider/storybook/storybookProvider.tsx +11 -0
  120. package/src/provider/storybook/storybookProvider.types.ts +5 -0
  121. package/src/provider/styledComponents/theme/styledComponentsThemeProvider.tsx +14 -0
  122. package/src/provider/styledComponents/theme/styledComponentsThemeProvider.types..ts +5 -0
  123. package/src/style/styledComponents/mmb_variables-5224.json +958 -0
  124. package/src/style/styledComponents/theme.ts +450 -0
  125. package/stylelint.config.js +15 -0
  126. package/tsconfig.json +29 -0
  127. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,47 @@
1
+ export interface SliderMapFunctionParam {
2
+ readonly max: number;
3
+ readonly min: number;
4
+ readonly steps: SliderSteps;
5
+ readonly value: number;
6
+ }
7
+ export interface SliderMapFunctionReturn {
8
+ readonly sliderMax: number;
9
+ readonly sliderMin: number;
10
+ readonly sliderStep: number | undefined;
11
+ readonly sliderValue: number;
12
+ }
13
+ export type SliderMapFunction = (param: SliderMapFunctionParam) => SliderMapFunctionReturn;
14
+ export interface SliderMapOnChangeFunctionParam {
15
+ readonly max: number;
16
+ readonly min: number;
17
+ readonly sliderValue: number;
18
+ readonly steps: SliderSteps;
19
+ }
20
+ export type SliderMapOnChangeFunction = (param: SliderMapOnChangeFunctionParam) => number;
21
+ export interface SliderBreakpoint {
22
+ readonly bottomBreakpoint: number;
23
+ readonly step: number;
24
+ }
25
+ export interface SliderSteps {
26
+ readonly baseStep: number;
27
+ readonly breakpointList: SliderBreakpoint[];
28
+ }
29
+ export declare enum SliderStepType {
30
+ DEFAULT = "default",// step changes dynamically (visually steps are of different sizes)
31
+ LINEAR_VISUAL_STEP = "linearVisualStep"
32
+ }
33
+ export interface MinMaxLabels {
34
+ readonly max: string;
35
+ readonly min: string;
36
+ }
37
+ export interface Props {
38
+ readonly disable?: boolean | undefined;
39
+ readonly max: number;
40
+ readonly min: number;
41
+ readonly minMaxLabels: MinMaxLabels | undefined;
42
+ readonly onChange: (values: number) => void;
43
+ readonly onFinalChange: (values: number) => void;
44
+ readonly stepType: SliderStepType;
45
+ readonly steps: SliderSteps;
46
+ readonly value: number;
47
+ }
@@ -0,0 +1,2 @@
1
+ import { SliderMapFunction } from '@/components/slider/slider/slider.types';
2
+ export declare const sliderFunctionDefault: SliderMapFunction;
@@ -0,0 +1,7 @@
1
+ import { SliderSteps } from '@/components/slider/slider/slider.types';
2
+ interface GetSliderStepParam {
3
+ readonly steps: SliderSteps;
4
+ readonly value: number;
5
+ }
6
+ export declare const getSliderStep: (param: GetSliderStepParam) => number;
7
+ export {};
@@ -0,0 +1,2 @@
1
+ import { SliderMapFunction } from '@/components/slider/slider/slider.types';
2
+ export declare const sliderFunctionLinearVisualSteps: SliderMapFunction;
@@ -0,0 +1,8 @@
1
+ import { SliderSteps } from '@/components/slider/slider/slider.types';
2
+ interface GetSliderMaxParam {
3
+ readonly max: number;
4
+ readonly min: number;
5
+ readonly steps: SliderSteps;
6
+ }
7
+ export declare const getSliderMax: (param: GetSliderMaxParam) => number;
8
+ export {};
@@ -0,0 +1,9 @@
1
+ import { SliderSteps } from '@/components/slider/slider/slider.types';
2
+ interface GetSliderValueByValueParam {
3
+ readonly max: number;
4
+ readonly min: number;
5
+ readonly steps: SliderSteps;
6
+ readonly value: number;
7
+ }
8
+ export declare const getSliderValueByValue: (param: GetSliderValueByValueParam) => number;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import { SliderMapOnChangeFunction } from '@/components/slider/slider/slider.types';
2
+ export declare const getValueBySliderValue: SliderMapOnChangeFunction;
@@ -0,0 +1,2 @@
1
+ export declare const getSliderHandleBackgroundSvg: (disable: boolean) => string;
2
+ export declare const getSliderHandleBackgroundSvgBase64: (disable: boolean) => string;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ className?: string;
4
+ height?: string;
5
+ width?: string;
6
+ }
7
+ export declare const AndroidSvg: React.FC<Props>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ className?: string;
4
+ height?: string;
5
+ width?: string;
6
+ }
7
+ export declare const AppleSvg: React.FC<Props>;
8
+ export {};
@@ -0,0 +1,4 @@
1
+ import { FC } from 'react';
2
+ import { Props } from './storeButton.types';
3
+ declare const StoreButton: FC<Props>;
4
+ export default StoreButton;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { Props } from './storeButton.types';
3
+ export declare const StoreButtonStyled: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, Partial<Props>>>;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,13 @@
1
+ export declare enum StoreButtonVariant {
2
+ ANDROID = "android",
3
+ APPLE = "apple"
4
+ }
5
+ export declare enum StoreButtonSize {
6
+ BIG = "big",
7
+ SMALL = "small"
8
+ }
9
+ export interface Props {
10
+ href: string;
11
+ size: StoreButtonSize;
12
+ variant: StoreButtonVariant;
13
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ className?: string;
4
+ color?: string;
5
+ width?: string;
6
+ }
7
+ export declare const SystemIcon: ({ className, color, width }: Props) => React.JSX.Element;
8
+ export {};
@@ -0,0 +1 @@
1
+ export * from './components/button/button';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { Props } from '@/provider/storybook/storybookProvider.types';
3
+ declare const StorybookProvider: React.FC<Props>;
4
+ export default StorybookProvider;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ readonly children: React.ReactNode;
4
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { Props } from '@/provider/styledComponents/theme/styledComponentsThemeProvider.types.';
3
+ declare const StyledComponentsThemeProvider: React.FC<Props>;
4
+ export default StyledComponentsThemeProvider;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export interface Props {
3
+ readonly children: React.ReactNode;
4
+ }
@@ -0,0 +1,441 @@
1
+ export declare const theme: {
2
+ palette: {
3
+ gold100: string;
4
+ gold200: string;
5
+ gold500: string;
6
+ gold600: string;
7
+ gold700: string;
8
+ gold800: string;
9
+ pink100: string;
10
+ pink200: string;
11
+ pink300: string;
12
+ pink400: string;
13
+ pink500: string;
14
+ pink600: string;
15
+ pink700: string;
16
+ pink800: string;
17
+ pink900: string;
18
+ pink1000: string;
19
+ grey100: string;
20
+ grey200: string;
21
+ grey300: string;
22
+ grey400: string;
23
+ grey500: string;
24
+ grey600: string;
25
+ grey700: string;
26
+ grey800: string;
27
+ grey900: string;
28
+ grey1000: string;
29
+ black: string;
30
+ white: string;
31
+ transparent: string;
32
+ yellow100: string;
33
+ yellow200: string;
34
+ yellow300: string;
35
+ yellow400: string;
36
+ yellow500: string;
37
+ yellow600: string;
38
+ yellow700: string;
39
+ yellow800: string;
40
+ yellow900: string;
41
+ yellow1000: string;
42
+ green100: string;
43
+ green200: string;
44
+ green300: string;
45
+ green400: string;
46
+ green500: string;
47
+ green600: string;
48
+ green700: string;
49
+ green800: string;
50
+ green900: string;
51
+ green1000: string;
52
+ red100: string;
53
+ red200: string;
54
+ red300: string;
55
+ red400: string;
56
+ red500: string;
57
+ red600: string;
58
+ red700: string;
59
+ red800: string;
60
+ red900: string;
61
+ red1000: string;
62
+ blue100: string;
63
+ blue200: string;
64
+ blue300: string;
65
+ blue400: string;
66
+ blue500: string;
67
+ blue600: string;
68
+ blue700: string;
69
+ blue800: string;
70
+ blue900: string;
71
+ blue1000: string;
72
+ };
73
+ colors: {
74
+ fg: {
75
+ neutral: {
76
+ default: {
77
+ light: string;
78
+ dark: string;
79
+ };
80
+ subtle: {
81
+ light: string;
82
+ dark: string;
83
+ };
84
+ subtlest: {
85
+ light: string;
86
+ dark: string;
87
+ };
88
+ white: {
89
+ light: string;
90
+ dark: string;
91
+ };
92
+ };
93
+ disabled: {
94
+ light: string;
95
+ dark: string;
96
+ };
97
+ inverse: {
98
+ light: string;
99
+ dark: string;
100
+ };
101
+ link: {
102
+ default: {
103
+ light: string;
104
+ dark: string;
105
+ };
106
+ hover: {
107
+ light: string;
108
+ dark: string;
109
+ };
110
+ pressed: {
111
+ light: string;
112
+ dark: string;
113
+ };
114
+ };
115
+ success: {
116
+ light: string;
117
+ dark: string;
118
+ };
119
+ warning: {
120
+ light: string;
121
+ dark: string;
122
+ };
123
+ error: {
124
+ light: string;
125
+ dark: string;
126
+ };
127
+ info: {
128
+ light: string;
129
+ dark: string;
130
+ };
131
+ promo: {
132
+ light: string;
133
+ dark: string;
134
+ };
135
+ brand: {
136
+ default: {
137
+ light: string;
138
+ dark: string;
139
+ };
140
+ bold: {
141
+ light: string;
142
+ dark: string;
143
+ };
144
+ };
145
+ accent: {
146
+ default: {
147
+ light: string;
148
+ dark: string;
149
+ };
150
+ bold: {
151
+ light: string;
152
+ dark: string;
153
+ };
154
+ };
155
+ };
156
+ bg: {
157
+ neutral: {
158
+ default: {
159
+ light: string;
160
+ dark: string;
161
+ };
162
+ subtle: {
163
+ light: string;
164
+ dark: string;
165
+ };
166
+ subtlest: {
167
+ light: string;
168
+ dark: string;
169
+ };
170
+ white: {
171
+ light: string;
172
+ dark: string;
173
+ };
174
+ };
175
+ disabled: {
176
+ light: string;
177
+ dark: string;
178
+ };
179
+ promo: {
180
+ default: {
181
+ light: string;
182
+ dark: string;
183
+ };
184
+ bold: {
185
+ light: string;
186
+ dark: string;
187
+ };
188
+ };
189
+ error: {
190
+ default: {
191
+ light: string;
192
+ dark: string;
193
+ };
194
+ bold: {
195
+ light: string;
196
+ dark: string;
197
+ };
198
+ };
199
+ warning: {
200
+ default: {
201
+ light: string;
202
+ dark: string;
203
+ };
204
+ bold: {
205
+ light: string;
206
+ dark: string;
207
+ };
208
+ };
209
+ inverse: {
210
+ light: string;
211
+ dark: string;
212
+ };
213
+ success: {
214
+ default: {
215
+ light: string;
216
+ dark: string;
217
+ };
218
+ bold: {
219
+ light: string;
220
+ dark: string;
221
+ };
222
+ };
223
+ info: {
224
+ default: {
225
+ light: string;
226
+ dark: string;
227
+ };
228
+ bold: {
229
+ light: string;
230
+ dark: string;
231
+ };
232
+ };
233
+ accent: {
234
+ light: string;
235
+ dark: string;
236
+ };
237
+ brand: {
238
+ default: {
239
+ light: string;
240
+ dark: string;
241
+ hover: {
242
+ light: string;
243
+ dark: string;
244
+ };
245
+ pressed: {
246
+ light: string;
247
+ dark: string;
248
+ };
249
+ };
250
+ bold: {
251
+ light: string;
252
+ dark: string;
253
+ hover: {
254
+ light: string;
255
+ dark: string;
256
+ };
257
+ pressed: {
258
+ light: string;
259
+ dark: string;
260
+ };
261
+ };
262
+ };
263
+ };
264
+ surface: {
265
+ overlay: {
266
+ light: string;
267
+ dark: string;
268
+ };
269
+ risen: {
270
+ light: string;
271
+ dark: string;
272
+ };
273
+ default: {
274
+ light: string;
275
+ dark: string;
276
+ };
277
+ sunken: {
278
+ light: string;
279
+ dark: string;
280
+ };
281
+ };
282
+ border: {
283
+ neutral: {
284
+ default: {
285
+ light: string;
286
+ dark: string;
287
+ };
288
+ subtle: {
289
+ light: string;
290
+ dark: string;
291
+ };
292
+ subtlest: {
293
+ light: string;
294
+ dark: string;
295
+ };
296
+ };
297
+ disabled: {
298
+ light: string;
299
+ dark: string;
300
+ };
301
+ success: {
302
+ light: string;
303
+ dark: string;
304
+ };
305
+ warning: {
306
+ light: string;
307
+ dark: string;
308
+ };
309
+ error: {
310
+ light: string;
311
+ dark: string;
312
+ };
313
+ promo: {
314
+ light: string;
315
+ dark: string;
316
+ };
317
+ brand: {
318
+ bold: {
319
+ light: string;
320
+ dark: string;
321
+ };
322
+ default: {
323
+ light: string;
324
+ dark: string;
325
+ };
326
+ subtle: {
327
+ light: string;
328
+ dark: string;
329
+ };
330
+ subtlest: {
331
+ light: string;
332
+ dark: string;
333
+ };
334
+ };
335
+ inverse: {
336
+ light: string;
337
+ dark: string;
338
+ };
339
+ accent: {
340
+ light: string;
341
+ dark: string;
342
+ };
343
+ };
344
+ icon: {
345
+ bg: {
346
+ light: string;
347
+ dark: string;
348
+ };
349
+ brand: {
350
+ light: string;
351
+ dark: string;
352
+ };
353
+ neutral: {
354
+ light: string;
355
+ dark: string;
356
+ };
357
+ inverse: {
358
+ light: string;
359
+ dark: string;
360
+ };
361
+ disabled: {
362
+ light: string;
363
+ dark: string;
364
+ };
365
+ error: {
366
+ light: string;
367
+ dark: string;
368
+ };
369
+ };
370
+ shadow: {
371
+ buttonFocus: string;
372
+ };
373
+ };
374
+ font: {
375
+ size: {
376
+ body: {
377
+ xs: string;
378
+ sm: string;
379
+ md: string;
380
+ lg: string;
381
+ };
382
+ };
383
+ lineHeight: {
384
+ body: {
385
+ xs: string;
386
+ sm: string;
387
+ md: string;
388
+ lg: string;
389
+ };
390
+ };
391
+ weight: {
392
+ thin: number;
393
+ extraLight: number;
394
+ light: number;
395
+ normal: number;
396
+ medium: number;
397
+ semiBold: number;
398
+ bold: number;
399
+ extraBold: number;
400
+ heavy: number;
401
+ ultra: number;
402
+ };
403
+ letterSpacing: {
404
+ body: {
405
+ md: string;
406
+ };
407
+ };
408
+ };
409
+ spacing: {
410
+ xxs: string;
411
+ xs: string;
412
+ sm: string;
413
+ md: string;
414
+ lg: string;
415
+ xl: string;
416
+ xxl: string;
417
+ xxxl: string;
418
+ xxxxl: string;
419
+ xxxxxl: string;
420
+ };
421
+ borderRadius: {
422
+ xxs: string;
423
+ xs: string;
424
+ sm: string;
425
+ md: string;
426
+ lg: string;
427
+ xl: string;
428
+ full: string;
429
+ };
430
+ container: {
431
+ xl: string;
432
+ };
433
+ breakpoints: {
434
+ xs: string;
435
+ sm: string;
436
+ md: string;
437
+ lg: string;
438
+ xl: string;
439
+ xxl: string;
440
+ };
441
+ };