@clicktap/ui 0.13.0 → 0.14.11
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/assets/image-DzfFRUBL.js +3 -0
- package/assets/react-number-format.es-LSEUnuG5.js +1 -0
- package/components/Accordion/Accordion.d.ts +1 -0
- package/components/Accordion/Accordion.js +1 -1
- package/components/Accordion/index.d.ts +1 -1
- package/components/Accordion/index.js +1 -1
- package/components/Avatar/Avatar.js +1 -1
- package/components/Avatar/AvatarGroup/AvatarGroup.js +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Badge/Badge.js +1 -1
- package/components/Badge/index.js +1 -1
- package/components/Breadcrumbs/BreadcrumbItem.js +1 -1
- package/components/Breadcrumbs/BreadcrumbLink.js +1 -1
- package/components/Breadcrumbs/BreadcrumbSeparator.js +1 -1
- package/components/Breadcrumbs/Breadcrumbs.js +1 -1
- package/components/Breadcrumbs/index.js +1 -1
- package/components/Button/Button.d.ts +1 -1
- package/components/Button/Button.js +1 -1
- package/components/Button/index.js +1 -1
- package/components/Card/Card.js +1 -1
- package/components/Card/index.js +1 -1
- package/components/Checkbox/Checkbox.js +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Collapsible/Collapsible.js +1 -1
- package/components/Collapsible/CollapsibleTrigger.js +1 -1
- package/components/Collapsible/index.js +1 -1
- package/components/Container/Container.js +1 -1
- package/components/Container/index.js +1 -1
- package/components/ContextMenu/ContextMenu.js +1 -1
- package/components/ContextMenu/index.js +1 -1
- package/components/CreditCardExpirationInput/CreditCardExpirationInput.js +1 -1
- package/components/CreditCardExpirationInput/index.js +1 -1
- package/components/CreditCardInput/CreditCardInput.js +1 -1
- package/components/CreditCardInput/index.js +1 -1
- package/components/DateInput/DateInput.js +1 -1
- package/components/DateInput/index.js +1 -1
- package/components/DateTimeFormat/DateTimeFormat.d.ts +3 -0
- package/components/DateTimeFormat/DateTimeFormat.js +1 -0
- package/components/DateTimeFormat/DateTimeFormat.types.d.ts +6 -0
- package/components/DateTimeFormat/index.d.ts +2 -0
- package/components/DateTimeFormat/index.js +1 -0
- package/components/Dialog/Dialog.js +1 -1
- package/components/Dialog/index.js +1 -1
- package/components/Divider/Divider.js +1 -1
- package/components/Divider/index.js +1 -1
- package/components/DobInput/DobInput.d.ts +3 -0
- package/components/DobInput/DobInput.js +1 -0
- package/components/DobInput/index.d.ts +1 -0
- package/components/DobInput/index.js +1 -0
- package/components/Drawer/Drawer.js +1 -1
- package/components/Drawer/index.js +1 -1
- package/components/Icon/Account.d.ts +3 -0
- package/components/Icon/Account.js +1 -0
- package/components/Icon/Cart.d.ts +3 -0
- package/components/Icon/Cart.js +1 -0
- package/components/Icon/Checkmark.d.ts +2 -0
- package/components/Icon/Checkmark.js +1 -0
- package/components/Icon/Cross.d.ts +3 -0
- package/components/Icon/Cross.js +1 -0
- package/components/Icon/DownArrow.d.ts +3 -0
- package/components/Icon/DownArrow.js +1 -0
- package/components/Icon/Hamburger.d.ts +3 -0
- package/components/Icon/Hamburger.js +1 -0
- package/components/Icon/Icon.types.d.ts +5 -0
- package/components/Icon/LinkArrow.d.ts +3 -0
- package/components/Icon/LinkArrow.js +1 -0
- package/components/Icon/Minus.d.ts +2 -0
- package/components/Icon/Minus.js +1 -0
- package/components/Icon/Plus.d.ts +2 -0
- package/components/Icon/Plus.js +1 -0
- package/components/Icon/Search.d.ts +3 -0
- package/components/Icon/Search.js +1 -0
- package/components/Icon/Trash.d.ts +2 -0
- package/components/Icon/Trash.js +1 -0
- package/components/Icon/Verified.d.ts +2 -0
- package/components/Icon/Verified.js +1 -0
- package/components/Icon/index.d.ts +13 -0
- package/components/Icon/index.js +1 -0
- package/components/Image/Image.d.ts +3 -0
- package/components/Image/Image.js +1 -0
- package/components/Image/index.d.ts +1 -0
- package/components/Image/index.js +1 -0
- package/components/Input/Input.d.ts +1 -1
- package/components/Input/Input.js +1 -1
- package/components/Input/Input.types.d.ts +3 -2
- package/components/Input/index.js +1 -1
- package/components/Link/Link.d.ts +2 -2
- package/components/Link/Link.js +1 -1
- package/components/Link/index.js +1 -1
- package/components/Loader/CircularEasing.js +1 -1
- package/components/Loader/Pulse.js +1 -1
- package/components/Loader/index.js +1 -1
- package/components/Menu/ContextMenu.d.ts +3 -0
- package/components/Menu/ContextMenu.js +1 -0
- package/components/Menu/Menu.d.ts +3 -0
- package/components/Menu/Menu.js +1 -0
- package/components/Menu/Menu.types.d.ts +33 -0
- package/components/Menu/index.d.ts +3 -0
- package/components/Menu/index.js +1 -0
- package/components/Meter/Meter.js +1 -1
- package/components/Meter/index.js +1 -1
- package/components/Modal/Modal.js +1 -1
- package/components/Modal/index.js +1 -1
- package/components/ModalOverlay/ModalOverlay.js +1 -1
- package/components/ModalOverlay/index.js +1 -1
- package/components/NumberFormat/NumberFormat.d.ts +3 -0
- package/components/NumberFormat/NumberFormat.js +1 -0
- package/components/NumberFormat/NumberFormat.types.d.ts +7 -0
- package/components/NumberFormat/index.d.ts +2 -0
- package/components/NumberFormat/index.js +1 -0
- package/components/NumberInput/NumberInput.js +1 -1
- package/components/NumberInput/index.js +1 -1
- package/components/NumberTicker/DigitResolver.d.ts +3 -0
- package/components/NumberTicker/DigitResolver.js +1 -0
- package/components/NumberTicker/DigitResolver.types.d.ts +12 -0
- package/components/NumberTicker/NumberTicker.d.ts +3 -0
- package/components/NumberTicker/NumberTicker.js +1 -0
- package/components/NumberTicker/NumberTicker.types.d.ts +88 -0
- package/components/NumberTicker/hooks/useColumnTransition.d.ts +7 -0
- package/components/NumberTicker/hooks/useColumnTransition.js +1 -0
- package/components/NumberTicker/hooks/useNumberDelta.d.ts +2 -0
- package/components/NumberTicker/hooks/useNumberDelta.js +1 -0
- package/components/NumberTicker/hooks/useNumberTicker.d.ts +6 -0
- package/components/NumberTicker/hooks/useNumberTicker.js +1 -0
- package/components/NumberTicker/index.d.ts +4 -0
- package/components/NumberTicker/index.js +1 -0
- package/components/Pagination/Pagination.d.ts +3 -0
- package/components/Pagination/Pagination.js +1 -0
- package/components/Pagination/index.d.ts +1 -0
- package/components/Pagination/index.js +1 -0
- package/components/PasswordCheck/PasswordCheck.d.ts +3 -0
- package/components/PasswordCheck/PasswordCheck.js +1 -0
- package/components/PasswordCheck/PasswordCheck.types.d.ts +4 -0
- package/components/PasswordCheck/PasswordCheck.utils.d.ts +9 -0
- package/components/PasswordCheck/PasswordCheck.utils.js +1 -0
- package/components/PasswordCheck/index.d.ts +1 -0
- package/components/PasswordCheck/index.js +1 -0
- package/components/PhoneInput/PhoneInput.d.ts +23 -0
- package/components/PhoneInput/PhoneInput.js +1 -0
- package/components/PhoneInput/index.d.ts +1 -0
- package/components/PhoneInput/index.js +1 -0
- package/components/PinInput/PinInput.js +1 -1
- package/components/PinInput/index.js +1 -1
- package/components/Progressbar/CircularProgressbar.js +1 -1
- package/components/Progressbar/LinearProgressbar.js +1 -1
- package/components/Progressbar/index.js +1 -1
- package/components/Radio/Radio.js +1 -1
- package/components/Radio/index.js +1 -1
- package/components/RadioGroup/RadioGroup.d.ts +3 -0
- package/components/RadioGroup/RadioGroup.js +1 -0
- package/components/RadioGroup/RadioGroup.types.d.ts +6 -0
- package/components/RadioGroup/index.d.ts +2 -0
- package/components/RadioGroup/index.js +1 -0
- package/components/Select/Option.js +1 -1
- package/components/Select/Select.js +1 -1
- package/components/Select/index.js +1 -1
- package/components/Skeleton/Skeleton.d.ts +3 -0
- package/components/Skeleton/Skeleton.js +1 -0
- package/components/Skeleton/Skeleton.types.d.ts +3 -0
- package/components/Skeleton/index.d.ts +2 -0
- package/components/Skeleton/index.js +1 -0
- package/components/Slider/Slider.js +1 -1
- package/components/Slider/index.js +1 -1
- package/components/Switch/Switch.js +1 -1
- package/components/Switch/index.js +1 -1
- package/components/Table/Table.d.ts +3 -0
- package/components/Table/Table.js +1 -0
- package/components/Table/Table.types.d.ts +16 -0
- package/components/Table/index.d.ts +2 -0
- package/components/Table/index.js +1 -0
- package/components/Tabs/Tab.js +1 -1
- package/components/Tabs/TabList.js +1 -1
- package/components/Tabs/TabPanel.js +1 -1
- package/components/Tabs/Tabs.context.d.ts +3 -0
- package/components/Tabs/Tabs.context.js +1 -0
- package/components/Tabs/Tabs.d.ts +7 -2
- package/components/Tabs/Tabs.js +1 -1
- package/components/Tabs/index.d.ts +2 -1
- package/components/Tabs/index.js +1 -1
- package/components/TimeInput/TimeInput.js +1 -1
- package/components/TimeInput/index.js +1 -1
- package/components/ToggleButton/ToggleButton.js +1 -1
- package/components/ToggleButton/index.js +1 -1
- package/components/Tooltip/Tooltip.js +1 -1
- package/components/Tooltip/index.js +1 -1
- package/components/UploadImage/UploadImage.d.ts +3 -0
- package/components/UploadImage/UploadImage.js +1 -0
- package/components/UploadImage/UploadImage.types.d.ts +14 -0
- package/components/UploadImage/index.d.ts +2 -0
- package/components/UploadImage/index.js +1 -0
- package/hooks/useIsClient.d.ts +2 -0
- package/hooks/useIsClient.js +1 -0
- package/package.json +8 -12
- package/utils/breakpoint.d.ts +8 -0
- package/utils/breakpoint.js +1 -0
- package/utils/cn.js +1 -1
- package/assets/cn-CytzSlOG.js +0 -1
- package/assets/react-number-format.es-DAlzZXlB.js +0 -1
- package/utils/defaultTheme.d.ts +0 -501
- package/utils/defaultTheme.js +0 -1
package/utils/defaultTheme.d.ts
DELETED
|
@@ -1,501 +0,0 @@
|
|
|
1
|
-
import { MergeDeep, PartialDeep } from 'type-fest';
|
|
2
|
-
export declare const defaultTheme: {
|
|
3
|
-
fontFamily: {
|
|
4
|
-
sans: string[];
|
|
5
|
-
serif: string[];
|
|
6
|
-
monospace: string[];
|
|
7
|
-
};
|
|
8
|
-
fontSize: {
|
|
9
|
-
xs: (string | {
|
|
10
|
-
lineHeight: string;
|
|
11
|
-
})[];
|
|
12
|
-
sm: (string | {
|
|
13
|
-
lineHeight: string;
|
|
14
|
-
})[];
|
|
15
|
-
base: (string | {
|
|
16
|
-
lineHeight: string;
|
|
17
|
-
})[];
|
|
18
|
-
lg: (string | {
|
|
19
|
-
lineHeight: string;
|
|
20
|
-
})[];
|
|
21
|
-
xl: (string | {
|
|
22
|
-
lineHeight: string;
|
|
23
|
-
})[];
|
|
24
|
-
'2xl': (string | {
|
|
25
|
-
lineHeight: string;
|
|
26
|
-
})[];
|
|
27
|
-
'3xl': (string | {
|
|
28
|
-
lineHeight: string;
|
|
29
|
-
})[];
|
|
30
|
-
'4xl': (string | {
|
|
31
|
-
lineHeight: string;
|
|
32
|
-
})[];
|
|
33
|
-
'5xl': (string | {
|
|
34
|
-
lineHeight: string;
|
|
35
|
-
})[];
|
|
36
|
-
'6xl': (string | {
|
|
37
|
-
lineHeight: string;
|
|
38
|
-
})[];
|
|
39
|
-
'7xl': (string | {
|
|
40
|
-
lineHeight: string;
|
|
41
|
-
})[];
|
|
42
|
-
'8xl': (string | {
|
|
43
|
-
lineHeight: string;
|
|
44
|
-
})[];
|
|
45
|
-
'9xl': (string | {
|
|
46
|
-
lineHeight: string;
|
|
47
|
-
})[];
|
|
48
|
-
};
|
|
49
|
-
fontWeight: {
|
|
50
|
-
thin: number;
|
|
51
|
-
extralight: number;
|
|
52
|
-
light: number;
|
|
53
|
-
normal: number;
|
|
54
|
-
medium: number;
|
|
55
|
-
semibold: number;
|
|
56
|
-
bold: number;
|
|
57
|
-
extrabold: number;
|
|
58
|
-
black: number;
|
|
59
|
-
};
|
|
60
|
-
letterSpacing: {
|
|
61
|
-
tighter: string;
|
|
62
|
-
tight: string;
|
|
63
|
-
normal: string;
|
|
64
|
-
wide: string;
|
|
65
|
-
wider: string;
|
|
66
|
-
widest: string;
|
|
67
|
-
};
|
|
68
|
-
lineHeight: {
|
|
69
|
-
3: string;
|
|
70
|
-
4: string;
|
|
71
|
-
5: string;
|
|
72
|
-
6: string;
|
|
73
|
-
7: string;
|
|
74
|
-
8: string;
|
|
75
|
-
9: string;
|
|
76
|
-
10: string;
|
|
77
|
-
none: string;
|
|
78
|
-
tight: string;
|
|
79
|
-
snug: string;
|
|
80
|
-
normal: string;
|
|
81
|
-
relaxed: string;
|
|
82
|
-
loose: string;
|
|
83
|
-
};
|
|
84
|
-
borderRadius: {
|
|
85
|
-
0.5: string;
|
|
86
|
-
1: string;
|
|
87
|
-
1.5: string;
|
|
88
|
-
2: string;
|
|
89
|
-
};
|
|
90
|
-
listStyleType: {
|
|
91
|
-
none: string;
|
|
92
|
-
disc: string;
|
|
93
|
-
decimal: string;
|
|
94
|
-
};
|
|
95
|
-
screens: {
|
|
96
|
-
sm: string;
|
|
97
|
-
md: string;
|
|
98
|
-
lg: string;
|
|
99
|
-
xl: string;
|
|
100
|
-
'2xl': string;
|
|
101
|
-
};
|
|
102
|
-
colors: {
|
|
103
|
-
primary: string;
|
|
104
|
-
secondary: string;
|
|
105
|
-
tertiary: string;
|
|
106
|
-
background: string;
|
|
107
|
-
inherit: string;
|
|
108
|
-
current: string;
|
|
109
|
-
transparent: string;
|
|
110
|
-
black: string;
|
|
111
|
-
white: string;
|
|
112
|
-
slate: {
|
|
113
|
-
50: string;
|
|
114
|
-
100: string;
|
|
115
|
-
200: string;
|
|
116
|
-
300: string;
|
|
117
|
-
400: string;
|
|
118
|
-
500: string;
|
|
119
|
-
600: string;
|
|
120
|
-
700: string;
|
|
121
|
-
800: string;
|
|
122
|
-
900: string;
|
|
123
|
-
};
|
|
124
|
-
gray: {
|
|
125
|
-
50: string;
|
|
126
|
-
100: string;
|
|
127
|
-
200: string;
|
|
128
|
-
300: string;
|
|
129
|
-
400: string;
|
|
130
|
-
500: string;
|
|
131
|
-
600: string;
|
|
132
|
-
700: string;
|
|
133
|
-
800: string;
|
|
134
|
-
900: string;
|
|
135
|
-
};
|
|
136
|
-
zinc: {
|
|
137
|
-
50: string;
|
|
138
|
-
100: string;
|
|
139
|
-
200: string;
|
|
140
|
-
300: string;
|
|
141
|
-
400: string;
|
|
142
|
-
500: string;
|
|
143
|
-
600: string;
|
|
144
|
-
700: string;
|
|
145
|
-
800: string;
|
|
146
|
-
900: string;
|
|
147
|
-
};
|
|
148
|
-
neutral: {
|
|
149
|
-
50: string;
|
|
150
|
-
100: string;
|
|
151
|
-
200: string;
|
|
152
|
-
300: string;
|
|
153
|
-
400: string;
|
|
154
|
-
500: string;
|
|
155
|
-
600: string;
|
|
156
|
-
700: string;
|
|
157
|
-
800: string;
|
|
158
|
-
900: string;
|
|
159
|
-
};
|
|
160
|
-
stone: {
|
|
161
|
-
50: string;
|
|
162
|
-
100: string;
|
|
163
|
-
200: string;
|
|
164
|
-
300: string;
|
|
165
|
-
400: string;
|
|
166
|
-
500: string;
|
|
167
|
-
600: string;
|
|
168
|
-
700: string;
|
|
169
|
-
800: string;
|
|
170
|
-
900: string;
|
|
171
|
-
};
|
|
172
|
-
red: {
|
|
173
|
-
50: string;
|
|
174
|
-
100: string;
|
|
175
|
-
200: string;
|
|
176
|
-
300: string;
|
|
177
|
-
400: string;
|
|
178
|
-
500: string;
|
|
179
|
-
600: string;
|
|
180
|
-
700: string;
|
|
181
|
-
800: string;
|
|
182
|
-
900: string;
|
|
183
|
-
};
|
|
184
|
-
orange: {
|
|
185
|
-
50: string;
|
|
186
|
-
100: string;
|
|
187
|
-
200: string;
|
|
188
|
-
300: string;
|
|
189
|
-
400: string;
|
|
190
|
-
500: string;
|
|
191
|
-
600: string;
|
|
192
|
-
700: string;
|
|
193
|
-
800: string;
|
|
194
|
-
900: string;
|
|
195
|
-
};
|
|
196
|
-
amber: {
|
|
197
|
-
50: string;
|
|
198
|
-
100: string;
|
|
199
|
-
200: string;
|
|
200
|
-
300: string;
|
|
201
|
-
400: string;
|
|
202
|
-
500: string;
|
|
203
|
-
600: string;
|
|
204
|
-
700: string;
|
|
205
|
-
800: string;
|
|
206
|
-
900: string;
|
|
207
|
-
};
|
|
208
|
-
yellow: {
|
|
209
|
-
50: string;
|
|
210
|
-
100: string;
|
|
211
|
-
200: string;
|
|
212
|
-
300: string;
|
|
213
|
-
400: string;
|
|
214
|
-
500: string;
|
|
215
|
-
600: string;
|
|
216
|
-
700: string;
|
|
217
|
-
800: string;
|
|
218
|
-
900: string;
|
|
219
|
-
};
|
|
220
|
-
lime: {
|
|
221
|
-
50: string;
|
|
222
|
-
100: string;
|
|
223
|
-
200: string;
|
|
224
|
-
300: string;
|
|
225
|
-
400: string;
|
|
226
|
-
500: string;
|
|
227
|
-
600: string;
|
|
228
|
-
700: string;
|
|
229
|
-
800: string;
|
|
230
|
-
900: string;
|
|
231
|
-
};
|
|
232
|
-
green: {
|
|
233
|
-
50: string;
|
|
234
|
-
100: string;
|
|
235
|
-
200: string;
|
|
236
|
-
300: string;
|
|
237
|
-
400: string;
|
|
238
|
-
500: string;
|
|
239
|
-
600: string;
|
|
240
|
-
700: string;
|
|
241
|
-
800: string;
|
|
242
|
-
900: string;
|
|
243
|
-
};
|
|
244
|
-
emerald: {
|
|
245
|
-
50: string;
|
|
246
|
-
100: string;
|
|
247
|
-
200: string;
|
|
248
|
-
300: string;
|
|
249
|
-
400: string;
|
|
250
|
-
500: string;
|
|
251
|
-
600: string;
|
|
252
|
-
700: string;
|
|
253
|
-
800: string;
|
|
254
|
-
900: string;
|
|
255
|
-
};
|
|
256
|
-
teal: {
|
|
257
|
-
50: string;
|
|
258
|
-
100: string;
|
|
259
|
-
200: string;
|
|
260
|
-
300: string;
|
|
261
|
-
400: string;
|
|
262
|
-
500: string;
|
|
263
|
-
600: string;
|
|
264
|
-
700: string;
|
|
265
|
-
800: string;
|
|
266
|
-
900: string;
|
|
267
|
-
};
|
|
268
|
-
cyan: {
|
|
269
|
-
50: string;
|
|
270
|
-
100: string;
|
|
271
|
-
200: string;
|
|
272
|
-
300: string;
|
|
273
|
-
400: string;
|
|
274
|
-
500: string;
|
|
275
|
-
600: string;
|
|
276
|
-
700: string;
|
|
277
|
-
800: string;
|
|
278
|
-
900: string;
|
|
279
|
-
};
|
|
280
|
-
sky: {
|
|
281
|
-
50: string;
|
|
282
|
-
100: string;
|
|
283
|
-
200: string;
|
|
284
|
-
300: string;
|
|
285
|
-
400: string;
|
|
286
|
-
500: string;
|
|
287
|
-
600: string;
|
|
288
|
-
700: string;
|
|
289
|
-
800: string;
|
|
290
|
-
900: string;
|
|
291
|
-
};
|
|
292
|
-
blue: {
|
|
293
|
-
50: string;
|
|
294
|
-
100: string;
|
|
295
|
-
200: string;
|
|
296
|
-
300: string;
|
|
297
|
-
400: string;
|
|
298
|
-
500: string;
|
|
299
|
-
600: string;
|
|
300
|
-
700: string;
|
|
301
|
-
800: string;
|
|
302
|
-
900: string;
|
|
303
|
-
};
|
|
304
|
-
indigo: {
|
|
305
|
-
50: string;
|
|
306
|
-
100: string;
|
|
307
|
-
200: string;
|
|
308
|
-
300: string;
|
|
309
|
-
400: string;
|
|
310
|
-
500: string;
|
|
311
|
-
600: string;
|
|
312
|
-
700: string;
|
|
313
|
-
800: string;
|
|
314
|
-
900: string;
|
|
315
|
-
};
|
|
316
|
-
violet: {
|
|
317
|
-
50: string;
|
|
318
|
-
100: string;
|
|
319
|
-
200: string;
|
|
320
|
-
300: string;
|
|
321
|
-
400: string;
|
|
322
|
-
500: string;
|
|
323
|
-
600: string;
|
|
324
|
-
700: string;
|
|
325
|
-
800: string;
|
|
326
|
-
900: string;
|
|
327
|
-
};
|
|
328
|
-
purple: {
|
|
329
|
-
50: string;
|
|
330
|
-
100: string;
|
|
331
|
-
200: string;
|
|
332
|
-
300: string;
|
|
333
|
-
400: string;
|
|
334
|
-
500: string;
|
|
335
|
-
600: string;
|
|
336
|
-
700: string;
|
|
337
|
-
800: string;
|
|
338
|
-
900: string;
|
|
339
|
-
};
|
|
340
|
-
fuchsia: {
|
|
341
|
-
50: string;
|
|
342
|
-
100: string;
|
|
343
|
-
200: string;
|
|
344
|
-
300: string;
|
|
345
|
-
400: string;
|
|
346
|
-
500: string;
|
|
347
|
-
600: string;
|
|
348
|
-
700: string;
|
|
349
|
-
800: string;
|
|
350
|
-
900: string;
|
|
351
|
-
};
|
|
352
|
-
pink: {
|
|
353
|
-
50: string;
|
|
354
|
-
100: string;
|
|
355
|
-
200: string;
|
|
356
|
-
300: string;
|
|
357
|
-
400: string;
|
|
358
|
-
500: string;
|
|
359
|
-
600: string;
|
|
360
|
-
700: string;
|
|
361
|
-
800: string;
|
|
362
|
-
900: string;
|
|
363
|
-
};
|
|
364
|
-
rose: {
|
|
365
|
-
50: string;
|
|
366
|
-
100: string;
|
|
367
|
-
200: string;
|
|
368
|
-
300: string;
|
|
369
|
-
400: string;
|
|
370
|
-
500: string;
|
|
371
|
-
600: string;
|
|
372
|
-
700: string;
|
|
373
|
-
800: string;
|
|
374
|
-
900: string;
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
|
-
spacing: {
|
|
378
|
-
px: string;
|
|
379
|
-
0: string;
|
|
380
|
-
0.5: string;
|
|
381
|
-
1: string;
|
|
382
|
-
1.5: string;
|
|
383
|
-
2: string;
|
|
384
|
-
2.5: string;
|
|
385
|
-
3: string;
|
|
386
|
-
3.5: string;
|
|
387
|
-
4: string;
|
|
388
|
-
5: string;
|
|
389
|
-
6: string;
|
|
390
|
-
7: string;
|
|
391
|
-
8: string;
|
|
392
|
-
9: string;
|
|
393
|
-
10: string;
|
|
394
|
-
11: string;
|
|
395
|
-
12: string;
|
|
396
|
-
14: string;
|
|
397
|
-
16: string;
|
|
398
|
-
20: string;
|
|
399
|
-
24: string;
|
|
400
|
-
28: string;
|
|
401
|
-
32: string;
|
|
402
|
-
36: string;
|
|
403
|
-
40: string;
|
|
404
|
-
44: string;
|
|
405
|
-
48: string;
|
|
406
|
-
52: string;
|
|
407
|
-
56: string;
|
|
408
|
-
60: string;
|
|
409
|
-
64: string;
|
|
410
|
-
72: string;
|
|
411
|
-
80: string;
|
|
412
|
-
96: string;
|
|
413
|
-
};
|
|
414
|
-
height: {
|
|
415
|
-
auto: string;
|
|
416
|
-
px: string;
|
|
417
|
-
0: string;
|
|
418
|
-
0.5: string;
|
|
419
|
-
1: string;
|
|
420
|
-
1.5: string;
|
|
421
|
-
2: string;
|
|
422
|
-
2.5: string;
|
|
423
|
-
3: string;
|
|
424
|
-
3.5: string;
|
|
425
|
-
4: string;
|
|
426
|
-
5: string;
|
|
427
|
-
6: string;
|
|
428
|
-
7: string;
|
|
429
|
-
8: string;
|
|
430
|
-
9: string;
|
|
431
|
-
10: string;
|
|
432
|
-
11: string;
|
|
433
|
-
12: string;
|
|
434
|
-
14: string;
|
|
435
|
-
16: string;
|
|
436
|
-
20: string;
|
|
437
|
-
24: string;
|
|
438
|
-
28: string;
|
|
439
|
-
32: string;
|
|
440
|
-
36: string;
|
|
441
|
-
40: string;
|
|
442
|
-
44: string;
|
|
443
|
-
48: string;
|
|
444
|
-
52: string;
|
|
445
|
-
56: string;
|
|
446
|
-
60: string;
|
|
447
|
-
64: string;
|
|
448
|
-
72: string;
|
|
449
|
-
80: string;
|
|
450
|
-
96: string;
|
|
451
|
-
'1/2': string;
|
|
452
|
-
'1/3': string;
|
|
453
|
-
'2/3': string;
|
|
454
|
-
'1/4': string;
|
|
455
|
-
'2/4': string;
|
|
456
|
-
'3/4': string;
|
|
457
|
-
'1/5': string;
|
|
458
|
-
'2/5': string;
|
|
459
|
-
'3/5': string;
|
|
460
|
-
'4/5': string;
|
|
461
|
-
'1/6': string;
|
|
462
|
-
'2/6': string;
|
|
463
|
-
'3/6': string;
|
|
464
|
-
'4/6': string;
|
|
465
|
-
'5/6': string;
|
|
466
|
-
full: string;
|
|
467
|
-
screen: string;
|
|
468
|
-
min: string;
|
|
469
|
-
max: string;
|
|
470
|
-
fit: string;
|
|
471
|
-
};
|
|
472
|
-
components: {
|
|
473
|
-
button: {
|
|
474
|
-
primary: {
|
|
475
|
-
color: string;
|
|
476
|
-
backgroundColor: string;
|
|
477
|
-
};
|
|
478
|
-
};
|
|
479
|
-
Card: {
|
|
480
|
-
border: string;
|
|
481
|
-
padding: string;
|
|
482
|
-
backgroundColor: string;
|
|
483
|
-
borderRadius: string;
|
|
484
|
-
boxShadow: string;
|
|
485
|
-
};
|
|
486
|
-
'Card.Content': {
|
|
487
|
-
padding: number;
|
|
488
|
-
fontSize: string;
|
|
489
|
-
};
|
|
490
|
-
'Card.Header': {
|
|
491
|
-
fontSize: string;
|
|
492
|
-
fontWeight: string;
|
|
493
|
-
marginBottom: string;
|
|
494
|
-
};
|
|
495
|
-
};
|
|
496
|
-
};
|
|
497
|
-
export type Theme = typeof defaultTheme;
|
|
498
|
-
/**
|
|
499
|
-
* Performs a deep merge of source into target
|
|
500
|
-
*/
|
|
501
|
-
export declare function mergeTheme<T extends Record<string, any>, S extends PartialDeep<T>>(target: T, source: S): MergeDeep<T, S>;
|
package/utils/defaultTheme.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const o={fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont","Segoe UI","Roboto","Helvetica Neue","Arial","Noto Sans","sans-serif","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"],serif:["ui-serif","Georgia","Cambria","Times New Roman","Times","serif"],monospace:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas","Liberation Mono","Courier New","monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:100,extralight:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},borderRadius:{.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{primary:"#4785ff",secondary:"#b8cfff",tertiary:"#d6e4ff",background:"#f0f5ff",inherit:"inherit",current:"currentColor",transparent:"transparent",black:"rgb(0 0 0)",white:"rgb(255 255 255)",slate:{50:"rgb(248 250 252)",100:"rgb(241 245 249)",200:"rgb(226 232 240)",300:"rgb(203 213 225)",400:"rgb(148 163 184)",500:"rgb(100 116 139)",600:"rgb(71 85 105)",700:"rgb(51 65 85)",800:"rgb(30 41 59)",900:"rgb(15 23 42)"},gray:{50:"rgb(249 250 251)",100:"rgb(243 244 246)",200:"rgb(229 231 235)",300:"rgb(209 213 219)",400:"rgb(156 163 175)",500:"rgb(107 114 128)",600:"rgb(75 85 99)",700:"rgb(55 65 81)",800:"rgb(31 41 55)",900:"rgb(17 24 39)"},zinc:{50:"rgb(250 250 250)",100:"rgb(244 244 245)",200:"rgb(228 228 231)",300:"rgb(212 212 216)",400:"rgb(161 161 170)",500:"rgb(113 113 122)",600:"rgb(82 82 91)",700:"rgb(63 63 70)",800:"rgb(39 39 42)",900:"rgb(24 24 27)"},neutral:{50:"rgb(250 250 250)",100:"rgb(245 245 245)",200:"rgb(229 229 229)",300:"rgb(212 212 212)",400:"rgb(163 163 163)",500:"rgb(115 115 115)",600:"rgb(82 82 82)",700:"rgb(64 64 64)",800:"rgb(38 38 38)",900:"rgb(23 23 23)"},stone:{50:"rgb(250 250 249)",100:"rgb(245 245 244)",200:"rgb(231 229 228)",300:"rgb(214 211 209)",400:"rgb(168 162 158)",500:"rgb(120 113 108)",600:"rgb(87 83 78)",700:"rgb(68 64 60)",800:"rgb(41 37 36)",900:"rgb(28 25 23)"},red:{50:"rgb(254 242 242)",100:"rgb(254 226 226)",200:"rgb(254 202 202)",300:"rgb(252 165 165)",400:"rgb(248 113 113)",500:"rgb(239 68 68)",600:"rgb(220 38 38)",700:"rgb(185 28 28)",800:"rgb(153 27 27)",900:"rgb(127 29 29)"},orange:{50:"rgb(255 247 237)",100:"rgb(255 237 213)",200:"rgb(254 215 170)",300:"rgb(253 186 116)",400:"rgb(251 146 60)",500:"rgb(249 115 22)",600:"rgb(234 88 12)",700:"rgb(194 65 12)",800:"rgb(154 52 18)",900:"rgb(124 45 18)"},amber:{50:"rgb(255 251 235)",100:"rgb(254 243 199)",200:"rgb(253 230 138)",300:"rgb(252 211 77)",400:"rgb(251 191 36)",500:"rgb(245 158 11)",600:"rgb(217 119 6)",700:"rgb(180 83 9)",800:"rgb(146 64 14)",900:"rgb(120 53 15)"},yellow:{50:"rgb(254 252 232)",100:"rgb(254 249 195)",200:"rgb(254 240 138)",300:"rgb(253 224 71)",400:"rgb(250 204 21)",500:"rgb(234 179 8)",600:"rgb(202 138 4)",700:"rgb(161 98 7)",800:"rgb(133 77 14)",900:"rgb(113 63 18)"},lime:{50:"rgb(247 254 231)",100:"rgb(236 252 203)",200:"rgb(217 249 157)",300:"rgb(190 242 100)",400:"rgb(163 230 53)",500:"rgb(132 204 22)",600:"rgb(101 163 13)",700:"rgb(77 124 15)",800:"rgb(63 98 18)",900:"rgb(54 83 20)"},green:{50:"rgb(240 253 244)",100:"rgb(220 252 231)",200:"rgb(187 247 208)",300:"rgb(134 239 172)",400:"rgb(74 222 128)",500:"rgb(34 197 94)",600:"rgb(22 163 74)",700:"rgb(21 128 61)",800:"rgb(22 101 52)",900:"rgb(20 83 45)"},emerald:{50:"rgb(236 253 245)",100:"rgb(209 250 229)",200:"rgb(167 243 208)",300:"rgb(110 231 183)",400:"rgb(52 211 153)",500:"rgb(16 185 129)",600:"rgb(5 150 105)",700:"rgb(4 120 87)",800:"rgb(6 95 70)",900:"rgb(6 78 59)"},teal:{50:"rgb(240 253 250)",100:"rgb(204 251 241)",200:"rgb(153 246 228)",300:"rgb(94 234 212)",400:"rgb(45 212 191)",500:"rgb(20 184 166)",600:"rgb(13 148 136)",700:"rgb(15 118 110)",800:"rgb(17 94 89)",900:"rgb(19 78 74)"},cyan:{50:"rgb(236 254 255)",100:"rgb(207 250 254)",200:"rgb(165 243 252)",300:"rgb(103 232 249)",400:"rgb(34 211 238)",500:"rgb(6 182 212)",600:"rgb(8 145 178)",700:"rgb(14 116 144)",800:"rgb(21 94 117)",900:"rgb(22 78 99)"},sky:{50:"rgb(240 249 255)",100:"rgb(224 242 254)",200:"rgb(186 230 253)",300:"rgb(125 211 252)",400:"rgb(56 189 248)",500:"rgb(14 165 233)",600:"rgb(2 132 199)",700:"rgb(3 105 161)",800:"rgb(7 89 133)",900:"rgb(12 74 110)"},blue:{50:"rgb(239 246 255)",100:"rgb(219 234 254)",200:"rgb(191 219 254)",300:"rgb(147 197 253)",400:"rgb(96 165 250)",500:"rgb(59 130 246)",600:"rgb(37 99 235)",700:"rgb(29 78 216)",800:"rgb(30 64 175)",900:"rgb(30 58 138)"},indigo:{50:"rgb(238 242 255)",100:"rgb(224 231 255)",200:"rgb(199 210 254)",300:"rgb(165 180 252)",400:"rgb(129 140 248)",500:"rgb(99 102 241)",600:"rgb(79 70 229)",700:"rgb(67 56 202)",800:"rgb(55 48 163)",900:"rgb(49 46 129)"},violet:{50:"rgb(245 243 255)",100:"rgb(237 233 254)",200:"rgb(221 214 254)",300:"rgb(196 181 253)",400:"rgb(167 139 250)",500:"rgb(139 92 246)",600:"rgb(124 58 237)",700:"rgb(109 40 217)",800:"rgb(91 33 182)",900:"rgb(76 29 149)"},purple:{50:"rgb(250 245 255)",100:"rgb(243 232 255)",200:"rgb(233 213 255)",300:"rgb(216 180 254)",400:"rgb(192 132 252)",500:"rgb(168 85 247)",600:"rgb(147 51 234)",700:"rgb(126 34 206)",800:"rgb(107 33 168)",900:"rgb(88 28 135)"},fuchsia:{50:"rgb(253 244 255)",100:"rgb(250 232 255)",200:"rgb(245 208 254)",300:"rgb(240 171 252)",400:"rgb(232 121 249)",500:"rgb(217 70 239)",600:"rgb(192 38 211)",700:"rgb(162 28 175)",800:"rgb(134 25 143)",900:"rgb(112 26 117)"},pink:{50:"rgb(253 242 248)",100:"rgb(252 231 243)",200:"rgb(251 207 232)",300:"rgb(249 168 212)",400:"rgb(244 114 182)",500:"rgb(236 72 153)",600:"rgb(219 39 119)",700:"rgb(190 24 93)",800:"rgb(157 23 77)",900:"rgb(131 24 67)"},rose:{50:"rgb(255 241 242)",100:"rgb(255 228 230)",200:"rgb(254 205 211)",300:"rgb(253 164 175)",400:"rgb(251 113 133)",500:"rgb(244 63 94)",600:"rgb(225 29 72)",700:"rgb(190 18 60)",800:"rgb(159 18 57)",900:"rgb(136 19 55)"}},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},height:{auto:"auto",px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},components:{button:{primary:{color:"#FFF",backgroundColor:"#000"}},Card:{border:"1px solid rgb(226 232 240)",padding:"1rem",backgroundColor:"transparent",borderRadius:"2px",boxShadow:"rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.1) 0px 1px 2px -1px"},"Card.Content":{padding:0,fontSize:"0.9rem"},"Card.Header":{fontSize:"1.125rem",fontWeight:"700",marginBottom:"1rem"}}};function i(e,m){const r={...e};return Object.entries(m).forEach(([g,b])=>{b!==null&&typeof b=="object"&&!Array.isArray(b)?((r[g]===void 0||r[g]===null)&&(r[g]={}),r[g]=i(r[g],b)):r[g]=b}),r}export{o as defaultTheme,i as mergeTheme};
|