@mirohq/design-system-button 3.1.4 → 3.1.5-use-press.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/main.js +21 -24
- package/dist/main.js.map +1 -1
- package/dist/module.js +22 -25
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +2264 -9
- package/package.json +7 -11
package/dist/types.d.ts
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ComponentPropsWithRef } from 'react';
|
|
3
|
+
import { BaseButtonProps } from '@mirohq/design-system-base-button';
|
|
4
|
+
import * as packages_components_internal_base_button_src_base_button from 'packages/components/internal/base-button/src/base-button';
|
|
5
|
+
import * as _mirohq_design_system_hooks_use_press from '@mirohq/design-system-hooks/use-press';
|
|
3
6
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
4
7
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
5
|
-
import * as _mirohq_design_system_base_button from '@mirohq/design-system-base-button';
|
|
6
8
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
7
9
|
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
8
10
|
|
|
9
|
-
declare const StyledButton: react.ForwardRefExoticComponent<
|
|
11
|
+
declare const StyledButton: react.ForwardRefExoticComponent<Omit<Omit<{
|
|
10
12
|
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
11
13
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
12
14
|
rounded?: boolean | "true" | undefined;
|
|
@@ -16,7 +18,2258 @@ declare const StyledButton: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
16
18
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
17
19
|
rounded?: boolean | "true" | undefined;
|
|
18
20
|
fluid?: boolean | "true" | undefined;
|
|
19
|
-
}, {}> & _mirohq_design_system_stitches.SafeProps<Omit<
|
|
21
|
+
}, {}> & _mirohq_design_system_stitches.SafeProps<(Omit<Omit<Omit<Omit<{}, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
22
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
23
|
+
} & {
|
|
24
|
+
asChild?: boolean | undefined;
|
|
25
|
+
}, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
|
|
26
|
+
css?: _stitches_react_types_css_util.CSS<{}, {
|
|
27
|
+
'border-widths': {
|
|
28
|
+
readonly none: 0;
|
|
29
|
+
readonly sm: "1px";
|
|
30
|
+
readonly md: "2px";
|
|
31
|
+
readonly lg: "4px";
|
|
32
|
+
};
|
|
33
|
+
colors: {
|
|
34
|
+
readonly 'blue-100': any;
|
|
35
|
+
readonly 'blue-200': any;
|
|
36
|
+
readonly 'blue-300': any;
|
|
37
|
+
readonly 'blue-400': any;
|
|
38
|
+
readonly 'blue-500': any;
|
|
39
|
+
readonly 'blue-600': any;
|
|
40
|
+
readonly 'blue-700': any;
|
|
41
|
+
readonly 'blue-800': any;
|
|
42
|
+
readonly 'blue-900': any;
|
|
43
|
+
readonly 'blue-1000': any;
|
|
44
|
+
readonly 'gray-100': any;
|
|
45
|
+
readonly 'gray-200': any;
|
|
46
|
+
readonly 'gray-300': any;
|
|
47
|
+
readonly 'gray-400': any;
|
|
48
|
+
readonly 'gray-500': any;
|
|
49
|
+
readonly 'gray-600': any;
|
|
50
|
+
readonly 'gray-700': any;
|
|
51
|
+
readonly 'gray-800': any;
|
|
52
|
+
readonly 'gray-900': any;
|
|
53
|
+
readonly 'indigo-100': any;
|
|
54
|
+
readonly 'indigo-200': any;
|
|
55
|
+
readonly 'indigo-300': any;
|
|
56
|
+
readonly 'indigo-400': any;
|
|
57
|
+
readonly 'indigo-500': any;
|
|
58
|
+
readonly 'indigo-600': any;
|
|
59
|
+
readonly 'indigo-700': any;
|
|
60
|
+
readonly 'indigo-800': any;
|
|
61
|
+
readonly 'indigo-900': any;
|
|
62
|
+
readonly 'red-100': any;
|
|
63
|
+
readonly 'red-200': any;
|
|
64
|
+
readonly 'red-300': any;
|
|
65
|
+
readonly 'red-400': any;
|
|
66
|
+
readonly 'red-500': any;
|
|
67
|
+
readonly 'red-600': any;
|
|
68
|
+
readonly 'red-700': any;
|
|
69
|
+
readonly 'red-800': any;
|
|
70
|
+
readonly 'red-900': any;
|
|
71
|
+
readonly 'yellow-100': any;
|
|
72
|
+
readonly 'yellow-200': any;
|
|
73
|
+
readonly 'yellow-300': any;
|
|
74
|
+
readonly 'yellow-400': any;
|
|
75
|
+
readonly 'yellow-500': any;
|
|
76
|
+
readonly 'yellow-600': any;
|
|
77
|
+
readonly 'yellow-700': any;
|
|
78
|
+
readonly 'yellow-800': any;
|
|
79
|
+
readonly 'yellow-900': any;
|
|
80
|
+
readonly 'green-100': any;
|
|
81
|
+
readonly 'green-200': any;
|
|
82
|
+
readonly 'green-300': any;
|
|
83
|
+
readonly 'green-400': any;
|
|
84
|
+
readonly 'green-500': any;
|
|
85
|
+
readonly 'green-600': any;
|
|
86
|
+
readonly 'green-700': any;
|
|
87
|
+
readonly 'green-800': any;
|
|
88
|
+
readonly 'green-900': any;
|
|
89
|
+
readonly black: any;
|
|
90
|
+
readonly white: any;
|
|
91
|
+
readonly transparent: any;
|
|
92
|
+
readonly 'background-danger'?: any;
|
|
93
|
+
readonly 'background-danger-hover'?: any;
|
|
94
|
+
readonly 'background-danger-prominent'?: any;
|
|
95
|
+
readonly 'background-danger-prominent-active'?: any;
|
|
96
|
+
readonly 'background-danger-prominent-hover'?: any;
|
|
97
|
+
readonly 'background-neutrals'?: any;
|
|
98
|
+
readonly 'background-neutrals-container'?: any;
|
|
99
|
+
readonly 'background-neutrals-controls-disabled'?: any;
|
|
100
|
+
readonly 'background-neutrals-disabled'?: any;
|
|
101
|
+
readonly 'background-neutrals-inactive'?: any;
|
|
102
|
+
readonly 'background-neutrals-inactive-hover'?: any;
|
|
103
|
+
readonly 'background-neutrals-inverted'?: any;
|
|
104
|
+
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
105
|
+
readonly 'background-neutrals-page'?: any;
|
|
106
|
+
readonly 'background-neutrals-page-subtle'?: any;
|
|
107
|
+
readonly 'background-neutrals-scrolls'?: any;
|
|
108
|
+
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
109
|
+
readonly 'background-neutrals-subtle'?: any;
|
|
110
|
+
readonly 'background-neutrals-subtle-active'?: any;
|
|
111
|
+
readonly 'background-neutrals-subtle-hover'?: any;
|
|
112
|
+
readonly 'background-primary-prominent'?: any;
|
|
113
|
+
readonly 'background-primary-prominent-active'?: any;
|
|
114
|
+
readonly 'background-primary-prominent-hover'?: any;
|
|
115
|
+
readonly 'background-primary-prominent-selected'?: any;
|
|
116
|
+
readonly 'background-primary-subtle'?: any;
|
|
117
|
+
readonly 'background-primary-subtle-active'?: any;
|
|
118
|
+
readonly 'background-primary-subtle-hover'?: any;
|
|
119
|
+
readonly 'background-primary-subtle-selected'?: any;
|
|
120
|
+
readonly 'background-success'?: any;
|
|
121
|
+
readonly 'background-warning-prominent'?: any;
|
|
122
|
+
readonly 'background-warning-subtle'?: any;
|
|
123
|
+
readonly 'text-danger'?: any;
|
|
124
|
+
readonly 'text-danger-active'?: any;
|
|
125
|
+
readonly 'text-danger-hover'?: any;
|
|
126
|
+
readonly 'text-danger-inverted'?: any;
|
|
127
|
+
readonly 'text-neutrals'?: any;
|
|
128
|
+
readonly 'text-neutrals-disabled'?: any;
|
|
129
|
+
readonly 'text-neutrals-inverted'?: any;
|
|
130
|
+
readonly 'text-neutrals-placeholder'?: any;
|
|
131
|
+
readonly 'text-neutrals-placeholder-only'?: any;
|
|
132
|
+
readonly 'text-neutrals-subtle'?: any;
|
|
133
|
+
readonly 'text-neutrals-subtle-active'?: any;
|
|
134
|
+
readonly 'text-neutrals-subtle-hover'?: any;
|
|
135
|
+
readonly 'text-primary'?: any;
|
|
136
|
+
readonly 'text-primary-active'?: any;
|
|
137
|
+
readonly 'text-primary-hover'?: any;
|
|
138
|
+
readonly 'text-primary-inverted'?: any;
|
|
139
|
+
readonly 'text-primary-inverted-subtle'?: any;
|
|
140
|
+
readonly 'text-primary-selected'?: any;
|
|
141
|
+
readonly 'text-success'?: any;
|
|
142
|
+
readonly 'text-warning'?: any;
|
|
143
|
+
readonly 'icon-danger'?: any;
|
|
144
|
+
readonly 'icon-danger-active'?: any;
|
|
145
|
+
readonly 'icon-danger-hover'?: any;
|
|
146
|
+
readonly 'icon-danger-inverted'?: any;
|
|
147
|
+
readonly 'icon-neutrals'?: any;
|
|
148
|
+
readonly 'icon-neutrals-disabled'?: any;
|
|
149
|
+
readonly 'icon-neutrals-inactive'?: any;
|
|
150
|
+
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
151
|
+
readonly 'icon-neutrals-inverted'?: any;
|
|
152
|
+
readonly 'icon-neutrals-search'?: any;
|
|
153
|
+
readonly 'icon-neutrals-subtle'?: any;
|
|
154
|
+
readonly 'icon-neutrals-text'?: any;
|
|
155
|
+
readonly 'icon-primary'?: any;
|
|
156
|
+
readonly 'icon-primary-active'?: any;
|
|
157
|
+
readonly 'icon-primary-hover'?: any;
|
|
158
|
+
readonly 'icon-primary-inverted'?: any;
|
|
159
|
+
readonly 'icon-primary-selected'?: any;
|
|
160
|
+
readonly 'icon-success'?: any;
|
|
161
|
+
readonly 'icon-success-inverted'?: any;
|
|
162
|
+
readonly 'icon-warning'?: any;
|
|
163
|
+
readonly 'icon-warning-prominent'?: any;
|
|
164
|
+
readonly 'border-danger'?: any;
|
|
165
|
+
readonly 'border-danger-active'?: any;
|
|
166
|
+
readonly 'border-danger-hover'?: any;
|
|
167
|
+
readonly 'border-focus-inner'?: any;
|
|
168
|
+
readonly 'border-focus-middle'?: any;
|
|
169
|
+
readonly 'border-focus-outer'?: any;
|
|
170
|
+
readonly 'border-neutrals'?: any;
|
|
171
|
+
readonly 'border-neutrals-active'?: any;
|
|
172
|
+
readonly 'border-neutrals-controls'?: any;
|
|
173
|
+
readonly 'border-neutrals-controls-disabled'?: any;
|
|
174
|
+
readonly 'border-neutrals-disabled'?: any;
|
|
175
|
+
readonly 'border-neutrals-hover'?: any;
|
|
176
|
+
readonly 'border-neutrals-inverted'?: any;
|
|
177
|
+
readonly 'border-neutrals-subtle'?: any;
|
|
178
|
+
readonly 'border-neutrals-text-subtle'?: any;
|
|
179
|
+
readonly 'border-neutrals-text-subtle-active'?: any;
|
|
180
|
+
readonly 'border-neutrals-text-subtle-hover'?: any;
|
|
181
|
+
readonly 'border-primary'?: any;
|
|
182
|
+
readonly 'border-primary-active'?: any;
|
|
183
|
+
readonly 'border-primary-hover'?: any;
|
|
184
|
+
readonly 'border-primary-inverted'?: any;
|
|
185
|
+
readonly 'border-success'?: any;
|
|
186
|
+
readonly 'border-warning'?: any;
|
|
187
|
+
};
|
|
188
|
+
'font-sizes': {
|
|
189
|
+
readonly 150: "0.75rem";
|
|
190
|
+
readonly 175: "0.875rem";
|
|
191
|
+
readonly 200: "1rem";
|
|
192
|
+
readonly 225: "1.125rem";
|
|
193
|
+
readonly 250: "1.25rem";
|
|
194
|
+
readonly 300: "1.5rem";
|
|
195
|
+
readonly 400: "2rem";
|
|
196
|
+
readonly 500: "2.5rem";
|
|
197
|
+
readonly 600: "3rem";
|
|
198
|
+
readonly 800: "4rem";
|
|
199
|
+
readonly 900: "4.5rem";
|
|
200
|
+
};
|
|
201
|
+
radii: {
|
|
202
|
+
readonly none: 0;
|
|
203
|
+
readonly half: "999em";
|
|
204
|
+
readonly 25: "2px";
|
|
205
|
+
readonly 50: "4px";
|
|
206
|
+
readonly 75: "6px";
|
|
207
|
+
readonly 100: "8px";
|
|
208
|
+
readonly 200: "16px";
|
|
209
|
+
};
|
|
210
|
+
shadows: {
|
|
211
|
+
readonly 50: "0 4px 16px #05003812";
|
|
212
|
+
readonly 100: "0 8px 32px #05003808";
|
|
213
|
+
readonly 'focus-small': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-inner";
|
|
214
|
+
readonly 'focus-small-outline': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 1px $colors$border-focus-middle, inset 0 0 0 2px $colors$border-focus-inner";
|
|
215
|
+
readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
|
|
216
|
+
readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
|
|
217
|
+
};
|
|
218
|
+
sizes: {
|
|
219
|
+
readonly number: string;
|
|
220
|
+
readonly 'icon-200': "16px";
|
|
221
|
+
readonly 'icon-300': "24px";
|
|
222
|
+
readonly 'icon-400': "32px";
|
|
223
|
+
};
|
|
224
|
+
space: {
|
|
225
|
+
readonly 0: 0;
|
|
226
|
+
readonly 50: "4px";
|
|
227
|
+
readonly 100: "8px";
|
|
228
|
+
readonly 150: "12px";
|
|
229
|
+
readonly 200: "16px";
|
|
230
|
+
readonly 300: "24px";
|
|
231
|
+
readonly 400: "32px";
|
|
232
|
+
readonly 500: "40px";
|
|
233
|
+
readonly 600: "48px";
|
|
234
|
+
readonly 800: "64px";
|
|
235
|
+
readonly 1200: "96px";
|
|
236
|
+
readonly 1600: "128px";
|
|
237
|
+
};
|
|
238
|
+
'space-gap': {
|
|
239
|
+
readonly 0: any;
|
|
240
|
+
readonly 50: any;
|
|
241
|
+
readonly 100: any;
|
|
242
|
+
readonly 200: any;
|
|
243
|
+
readonly 300: any;
|
|
244
|
+
};
|
|
245
|
+
'space-inset': {
|
|
246
|
+
readonly 0: any;
|
|
247
|
+
readonly 50: any;
|
|
248
|
+
readonly 100: any;
|
|
249
|
+
readonly 150: any;
|
|
250
|
+
readonly 200: any;
|
|
251
|
+
readonly 300: any;
|
|
252
|
+
readonly 400: any;
|
|
253
|
+
readonly 600: any;
|
|
254
|
+
readonly 800: any;
|
|
255
|
+
readonly 1200: any;
|
|
256
|
+
readonly 1600: any;
|
|
257
|
+
};
|
|
258
|
+
'space-offset': {
|
|
259
|
+
readonly 0: any;
|
|
260
|
+
readonly 50: any;
|
|
261
|
+
readonly 100: any;
|
|
262
|
+
readonly 150: any;
|
|
263
|
+
readonly 200: any;
|
|
264
|
+
readonly 300: any;
|
|
265
|
+
readonly 400: any;
|
|
266
|
+
readonly 600: any;
|
|
267
|
+
readonly 800: any;
|
|
268
|
+
readonly 1200: any;
|
|
269
|
+
readonly 1600: any;
|
|
270
|
+
readonly 'stacking-0': any;
|
|
271
|
+
readonly 'stacking-100': any;
|
|
272
|
+
readonly 'stacking-200': any;
|
|
273
|
+
readonly 'stacking-300': any;
|
|
274
|
+
readonly 'stacking-400': any;
|
|
275
|
+
readonly 'stacking-500': any;
|
|
276
|
+
readonly 'stacking-800': any;
|
|
277
|
+
};
|
|
278
|
+
'stroke-width': {
|
|
279
|
+
readonly thin: "1.5px";
|
|
280
|
+
readonly normal: "2px";
|
|
281
|
+
readonly bold: "4px";
|
|
282
|
+
};
|
|
283
|
+
'z-indices': {
|
|
284
|
+
readonly dropdownMenu: 100;
|
|
285
|
+
readonly popover: 200;
|
|
286
|
+
readonly tooltip: 300;
|
|
287
|
+
};
|
|
288
|
+
}, {
|
|
289
|
+
readonly background: "colors";
|
|
290
|
+
readonly backgroundColor: "colors";
|
|
291
|
+
readonly backgroundImage: "colors";
|
|
292
|
+
readonly blockSize: "sizes";
|
|
293
|
+
readonly border: "colors";
|
|
294
|
+
readonly borderBlock: "colors";
|
|
295
|
+
readonly borderBlockEnd: "colors";
|
|
296
|
+
readonly borderBlockStart: "colors";
|
|
297
|
+
readonly borderBottom: "colors";
|
|
298
|
+
readonly borderBottomColor: "colors";
|
|
299
|
+
readonly borderBottomLeftRadius: "radii";
|
|
300
|
+
readonly borderBottomRightRadius: "radii";
|
|
301
|
+
readonly borderBottomStyle: "border-styles";
|
|
302
|
+
readonly borderBottomWidth: "border-widths";
|
|
303
|
+
readonly borderColor: "colors";
|
|
304
|
+
readonly borderImage: "colors";
|
|
305
|
+
readonly borderInline: "colors";
|
|
306
|
+
readonly borderInlineEnd: "colors";
|
|
307
|
+
readonly borderInlineStart: "colors";
|
|
308
|
+
readonly borderLeft: "colors";
|
|
309
|
+
readonly borderLeftColor: "colors";
|
|
310
|
+
readonly borderLeftStyle: "border-styles";
|
|
311
|
+
readonly borderLeftWidth: "border-widths";
|
|
312
|
+
readonly borderRadius: "radii";
|
|
313
|
+
readonly borderRight: "colors";
|
|
314
|
+
readonly borderRightColor: "colors";
|
|
315
|
+
readonly borderRightStyle: "border-styles";
|
|
316
|
+
readonly borderRightWidth: "border-widths";
|
|
317
|
+
readonly borderStyle: "border-styles";
|
|
318
|
+
readonly borderTop: "colors";
|
|
319
|
+
readonly borderTopColor: "colors";
|
|
320
|
+
readonly borderTopLeftRadius: "radii";
|
|
321
|
+
readonly borderTopRightRadius: "radii";
|
|
322
|
+
readonly borderTopStyle: "border-styles";
|
|
323
|
+
readonly borderTopWidth: "border-widths";
|
|
324
|
+
readonly borderWidth: "border-widths";
|
|
325
|
+
readonly bottom: "space";
|
|
326
|
+
readonly boxShadow: "shadows";
|
|
327
|
+
readonly caretColor: "colors";
|
|
328
|
+
readonly color: "colors";
|
|
329
|
+
readonly columnGap: "space-gap";
|
|
330
|
+
readonly columnRuleColor: "colors";
|
|
331
|
+
readonly fill: "colors";
|
|
332
|
+
readonly flexBasis: "sizes";
|
|
333
|
+
readonly fontFamily: "fonts";
|
|
334
|
+
readonly fontSize: "font-sizes";
|
|
335
|
+
readonly fontWeight: "font-weights";
|
|
336
|
+
readonly gap: "space-gap";
|
|
337
|
+
readonly gridColumnGap: "space-gap";
|
|
338
|
+
readonly gridGap: "space-gap";
|
|
339
|
+
readonly gridRowGap: "space-gap";
|
|
340
|
+
readonly gridTemplateColumns: "sizes";
|
|
341
|
+
readonly gridTemplateRows: "sizes";
|
|
342
|
+
readonly height: "sizes";
|
|
343
|
+
readonly inlineSize: "sizes";
|
|
344
|
+
readonly inset: "space-inset";
|
|
345
|
+
readonly insetBlock: "space-inset";
|
|
346
|
+
readonly insetBlockEnd: "space-inset";
|
|
347
|
+
readonly insetBlockStart: "space-inset";
|
|
348
|
+
readonly insetInline: "space-inset";
|
|
349
|
+
readonly insetInlineEnd: "space-inset";
|
|
350
|
+
readonly insetInlineStart: "space-inset";
|
|
351
|
+
readonly left: "space";
|
|
352
|
+
readonly letterSpacing: "letter-spacings";
|
|
353
|
+
readonly lineHeight: "line-heights";
|
|
354
|
+
readonly margin: "space-offset";
|
|
355
|
+
readonly marginBlock: "space-offset";
|
|
356
|
+
readonly marginBlockEnd: "space-offset";
|
|
357
|
+
readonly marginBlockStart: "space-offset";
|
|
358
|
+
readonly marginBottom: "space-offset";
|
|
359
|
+
readonly marginInline: "space-offset";
|
|
360
|
+
readonly marginInlineEnd: "space-offset";
|
|
361
|
+
readonly marginInlineStart: "space-offset";
|
|
362
|
+
readonly marginLeft: "space-offset";
|
|
363
|
+
readonly marginRight: "space-offset";
|
|
364
|
+
readonly marginTop: "space-offset";
|
|
365
|
+
readonly maxBlockSize: "sizes";
|
|
366
|
+
readonly maxHeight: "sizes";
|
|
367
|
+
readonly maxInlineSize: "sizes";
|
|
368
|
+
readonly maxWidth: "sizes";
|
|
369
|
+
readonly minBlockSize: "sizes";
|
|
370
|
+
readonly minHeight: "sizes";
|
|
371
|
+
readonly minInlineSize: "sizes";
|
|
372
|
+
readonly minWidth: "sizes";
|
|
373
|
+
readonly outline: "colors";
|
|
374
|
+
readonly outlineColor: "colors";
|
|
375
|
+
readonly padding: "space-inset";
|
|
376
|
+
readonly paddingBlock: "space-inset";
|
|
377
|
+
readonly paddingBlockEnd: "space-inset";
|
|
378
|
+
readonly paddingBlockStart: "space-inset";
|
|
379
|
+
readonly paddingBottom: "space-inset";
|
|
380
|
+
readonly paddingInline: "space-inset";
|
|
381
|
+
readonly paddingInlineEnd: "space-inset";
|
|
382
|
+
readonly paddingInlineStart: "space-inset";
|
|
383
|
+
readonly paddingLeft: "space-inset";
|
|
384
|
+
readonly paddingRight: "space-inset";
|
|
385
|
+
readonly paddingTop: "space-inset";
|
|
386
|
+
readonly right: "space";
|
|
387
|
+
readonly rowGap: "space-gap";
|
|
388
|
+
readonly scrollMargin: "space-offset";
|
|
389
|
+
readonly scrollMarginBlock: "space-offset";
|
|
390
|
+
readonly scrollMarginBlockEnd: "space-offset";
|
|
391
|
+
readonly scrollMarginBlockStart: "space-offset";
|
|
392
|
+
readonly scrollMarginBottom: "space-offset";
|
|
393
|
+
readonly scrollMarginInline: "space-offset";
|
|
394
|
+
readonly scrollMarginInlineEnd: "space-offset";
|
|
395
|
+
readonly scrollMarginInlineStart: "space-offset";
|
|
396
|
+
readonly scrollMarginLeft: "space-offset";
|
|
397
|
+
readonly scrollMarginRight: "space-offset";
|
|
398
|
+
readonly scrollMarginTop: "space-offset";
|
|
399
|
+
readonly scrollPadding: "space-inset";
|
|
400
|
+
readonly scrollPaddingBlock: "space-inset";
|
|
401
|
+
readonly scrollPaddingBlockEnd: "space-inset";
|
|
402
|
+
readonly scrollPaddingBlockStart: "space-inset";
|
|
403
|
+
readonly scrollPaddingBottom: "space-inset";
|
|
404
|
+
readonly scrollPaddingInline: "space-inset";
|
|
405
|
+
readonly scrollPaddingInlineEnd: "space-inset";
|
|
406
|
+
readonly scrollPaddingInlineStart: "space-inset";
|
|
407
|
+
readonly scrollPaddingLeft: "space-inset";
|
|
408
|
+
readonly scrollPaddingRight: "space-inset";
|
|
409
|
+
readonly scrollPaddingTop: "space-inset";
|
|
410
|
+
readonly stroke: "colors";
|
|
411
|
+
readonly strokeWidth: "stroke-width";
|
|
412
|
+
readonly textDecorationColor: "colors";
|
|
413
|
+
readonly textShadow: "shadows";
|
|
414
|
+
readonly top: "space";
|
|
415
|
+
readonly transition: "transitions";
|
|
416
|
+
readonly width: "sizes";
|
|
417
|
+
readonly zIndex: "z-indices";
|
|
418
|
+
}, {
|
|
419
|
+
paddingX: (value: {
|
|
420
|
+
readonly [$$PropertyValue]: "padding";
|
|
421
|
+
}) => {
|
|
422
|
+
paddingLeft: {
|
|
423
|
+
readonly [$$PropertyValue]: "padding";
|
|
424
|
+
};
|
|
425
|
+
paddingRight: {
|
|
426
|
+
readonly [$$PropertyValue]: "padding";
|
|
427
|
+
};
|
|
428
|
+
};
|
|
429
|
+
paddingY: (value: {
|
|
430
|
+
readonly [$$PropertyValue]: "padding";
|
|
431
|
+
}) => {
|
|
432
|
+
paddingTop: {
|
|
433
|
+
readonly [$$PropertyValue]: "padding";
|
|
434
|
+
};
|
|
435
|
+
paddingBottom: {
|
|
436
|
+
readonly [$$PropertyValue]: "padding";
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
marginX: (value: {
|
|
440
|
+
readonly [$$PropertyValue]: "margin";
|
|
441
|
+
}) => {
|
|
442
|
+
marginLeft: {
|
|
443
|
+
readonly [$$PropertyValue]: "margin";
|
|
444
|
+
};
|
|
445
|
+
marginRight: {
|
|
446
|
+
readonly [$$PropertyValue]: "margin";
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
marginY: (value: {
|
|
450
|
+
readonly [$$PropertyValue]: "margin";
|
|
451
|
+
}) => {
|
|
452
|
+
marginTop: {
|
|
453
|
+
readonly [$$PropertyValue]: "margin";
|
|
454
|
+
};
|
|
455
|
+
marginBottom: {
|
|
456
|
+
readonly [$$PropertyValue]: "margin";
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
square: (value: {
|
|
460
|
+
readonly [$$PropertyValue]: "width";
|
|
461
|
+
}) => {
|
|
462
|
+
width: {
|
|
463
|
+
readonly [$$PropertyValue]: "width";
|
|
464
|
+
};
|
|
465
|
+
height: {
|
|
466
|
+
readonly [$$PropertyValue]: "width";
|
|
467
|
+
};
|
|
468
|
+
};
|
|
469
|
+
}> | undefined;
|
|
470
|
+
}> & {
|
|
471
|
+
children?: react.ReactNode;
|
|
472
|
+
} & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
|
|
473
|
+
css?: _stitches_react_types_css_util.CSS<{}, {
|
|
474
|
+
'border-widths': {
|
|
475
|
+
readonly none: 0;
|
|
476
|
+
readonly sm: "1px";
|
|
477
|
+
readonly md: "2px";
|
|
478
|
+
readonly lg: "4px";
|
|
479
|
+
};
|
|
480
|
+
colors: {
|
|
481
|
+
readonly 'blue-100': any;
|
|
482
|
+
readonly 'blue-200': any;
|
|
483
|
+
readonly 'blue-300': any;
|
|
484
|
+
readonly 'blue-400': any;
|
|
485
|
+
readonly 'blue-500': any;
|
|
486
|
+
readonly 'blue-600': any;
|
|
487
|
+
readonly 'blue-700': any;
|
|
488
|
+
readonly 'blue-800': any;
|
|
489
|
+
readonly 'blue-900': any;
|
|
490
|
+
readonly 'blue-1000': any;
|
|
491
|
+
readonly 'gray-100': any;
|
|
492
|
+
readonly 'gray-200': any;
|
|
493
|
+
readonly 'gray-300': any;
|
|
494
|
+
readonly 'gray-400': any;
|
|
495
|
+
readonly 'gray-500': any;
|
|
496
|
+
readonly 'gray-600': any;
|
|
497
|
+
readonly 'gray-700': any;
|
|
498
|
+
readonly 'gray-800': any;
|
|
499
|
+
readonly 'gray-900': any;
|
|
500
|
+
readonly 'indigo-100': any;
|
|
501
|
+
readonly 'indigo-200': any;
|
|
502
|
+
readonly 'indigo-300': any;
|
|
503
|
+
readonly 'indigo-400': any;
|
|
504
|
+
readonly 'indigo-500': any;
|
|
505
|
+
readonly 'indigo-600': any;
|
|
506
|
+
readonly 'indigo-700': any;
|
|
507
|
+
readonly 'indigo-800': any;
|
|
508
|
+
readonly 'indigo-900': any;
|
|
509
|
+
readonly 'red-100': any;
|
|
510
|
+
readonly 'red-200': any;
|
|
511
|
+
readonly 'red-300': any;
|
|
512
|
+
readonly 'red-400': any;
|
|
513
|
+
readonly 'red-500': any;
|
|
514
|
+
readonly 'red-600': any;
|
|
515
|
+
readonly 'red-700': any;
|
|
516
|
+
readonly 'red-800': any;
|
|
517
|
+
readonly 'red-900': any;
|
|
518
|
+
readonly 'yellow-100': any;
|
|
519
|
+
readonly 'yellow-200': any;
|
|
520
|
+
readonly 'yellow-300': any;
|
|
521
|
+
readonly 'yellow-400': any;
|
|
522
|
+
readonly 'yellow-500': any;
|
|
523
|
+
readonly 'yellow-600': any;
|
|
524
|
+
readonly 'yellow-700': any;
|
|
525
|
+
readonly 'yellow-800': any;
|
|
526
|
+
readonly 'yellow-900': any;
|
|
527
|
+
readonly 'green-100': any;
|
|
528
|
+
readonly 'green-200': any;
|
|
529
|
+
readonly 'green-300': any;
|
|
530
|
+
readonly 'green-400': any;
|
|
531
|
+
readonly 'green-500': any;
|
|
532
|
+
readonly 'green-600': any;
|
|
533
|
+
readonly 'green-700': any;
|
|
534
|
+
readonly 'green-800': any;
|
|
535
|
+
readonly 'green-900': any;
|
|
536
|
+
readonly black: any;
|
|
537
|
+
readonly white: any;
|
|
538
|
+
readonly transparent: any;
|
|
539
|
+
readonly 'background-danger'?: any;
|
|
540
|
+
readonly 'background-danger-hover'?: any;
|
|
541
|
+
readonly 'background-danger-prominent'?: any;
|
|
542
|
+
readonly 'background-danger-prominent-active'?: any;
|
|
543
|
+
readonly 'background-danger-prominent-hover'?: any;
|
|
544
|
+
readonly 'background-neutrals'?: any;
|
|
545
|
+
readonly 'background-neutrals-container'?: any;
|
|
546
|
+
readonly 'background-neutrals-controls-disabled'?: any;
|
|
547
|
+
readonly 'background-neutrals-disabled'?: any;
|
|
548
|
+
readonly 'background-neutrals-inactive'?: any;
|
|
549
|
+
readonly 'background-neutrals-inactive-hover'?: any;
|
|
550
|
+
readonly 'background-neutrals-inverted'?: any;
|
|
551
|
+
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
552
|
+
readonly 'background-neutrals-page'?: any;
|
|
553
|
+
readonly 'background-neutrals-page-subtle'?: any;
|
|
554
|
+
readonly 'background-neutrals-scrolls'?: any;
|
|
555
|
+
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
556
|
+
readonly 'background-neutrals-subtle'?: any;
|
|
557
|
+
readonly 'background-neutrals-subtle-active'?: any;
|
|
558
|
+
readonly 'background-neutrals-subtle-hover'?: any;
|
|
559
|
+
readonly 'background-primary-prominent'?: any;
|
|
560
|
+
readonly 'background-primary-prominent-active'?: any;
|
|
561
|
+
readonly 'background-primary-prominent-hover'?: any;
|
|
562
|
+
readonly 'background-primary-prominent-selected'?: any;
|
|
563
|
+
readonly 'background-primary-subtle'?: any;
|
|
564
|
+
readonly 'background-primary-subtle-active'?: any;
|
|
565
|
+
readonly 'background-primary-subtle-hover'?: any;
|
|
566
|
+
readonly 'background-primary-subtle-selected'?: any;
|
|
567
|
+
readonly 'background-success'?: any;
|
|
568
|
+
readonly 'background-warning-prominent'?: any;
|
|
569
|
+
readonly 'background-warning-subtle'?: any;
|
|
570
|
+
readonly 'text-danger'?: any;
|
|
571
|
+
readonly 'text-danger-active'?: any;
|
|
572
|
+
readonly 'text-danger-hover'?: any;
|
|
573
|
+
readonly 'text-danger-inverted'?: any;
|
|
574
|
+
readonly 'text-neutrals'?: any;
|
|
575
|
+
readonly 'text-neutrals-disabled'?: any;
|
|
576
|
+
readonly 'text-neutrals-inverted'?: any;
|
|
577
|
+
readonly 'text-neutrals-placeholder'?: any;
|
|
578
|
+
readonly 'text-neutrals-placeholder-only'?: any;
|
|
579
|
+
readonly 'text-neutrals-subtle'?: any;
|
|
580
|
+
readonly 'text-neutrals-subtle-active'?: any;
|
|
581
|
+
readonly 'text-neutrals-subtle-hover'?: any;
|
|
582
|
+
readonly 'text-primary'?: any;
|
|
583
|
+
readonly 'text-primary-active'?: any;
|
|
584
|
+
readonly 'text-primary-hover'?: any;
|
|
585
|
+
readonly 'text-primary-inverted'?: any;
|
|
586
|
+
readonly 'text-primary-inverted-subtle'?: any;
|
|
587
|
+
readonly 'text-primary-selected'?: any;
|
|
588
|
+
readonly 'text-success'?: any;
|
|
589
|
+
readonly 'text-warning'?: any;
|
|
590
|
+
readonly 'icon-danger'?: any;
|
|
591
|
+
readonly 'icon-danger-active'?: any;
|
|
592
|
+
readonly 'icon-danger-hover'?: any;
|
|
593
|
+
readonly 'icon-danger-inverted'?: any;
|
|
594
|
+
readonly 'icon-neutrals'?: any;
|
|
595
|
+
readonly 'icon-neutrals-disabled'?: any;
|
|
596
|
+
readonly 'icon-neutrals-inactive'?: any;
|
|
597
|
+
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
598
|
+
readonly 'icon-neutrals-inverted'?: any;
|
|
599
|
+
readonly 'icon-neutrals-search'?: any;
|
|
600
|
+
readonly 'icon-neutrals-subtle'?: any;
|
|
601
|
+
readonly 'icon-neutrals-text'?: any;
|
|
602
|
+
readonly 'icon-primary'?: any;
|
|
603
|
+
readonly 'icon-primary-active'?: any;
|
|
604
|
+
readonly 'icon-primary-hover'?: any;
|
|
605
|
+
readonly 'icon-primary-inverted'?: any;
|
|
606
|
+
readonly 'icon-primary-selected'?: any;
|
|
607
|
+
readonly 'icon-success'?: any;
|
|
608
|
+
readonly 'icon-success-inverted'?: any;
|
|
609
|
+
readonly 'icon-warning'?: any;
|
|
610
|
+
readonly 'icon-warning-prominent'?: any;
|
|
611
|
+
readonly 'border-danger'?: any;
|
|
612
|
+
readonly 'border-danger-active'?: any;
|
|
613
|
+
readonly 'border-danger-hover'?: any;
|
|
614
|
+
readonly 'border-focus-inner'?: any;
|
|
615
|
+
readonly 'border-focus-middle'?: any;
|
|
616
|
+
readonly 'border-focus-outer'?: any;
|
|
617
|
+
readonly 'border-neutrals'?: any;
|
|
618
|
+
readonly 'border-neutrals-active'?: any;
|
|
619
|
+
readonly 'border-neutrals-controls'?: any;
|
|
620
|
+
readonly 'border-neutrals-controls-disabled'?: any;
|
|
621
|
+
readonly 'border-neutrals-disabled'?: any;
|
|
622
|
+
readonly 'border-neutrals-hover'?: any;
|
|
623
|
+
readonly 'border-neutrals-inverted'?: any;
|
|
624
|
+
readonly 'border-neutrals-subtle'?: any;
|
|
625
|
+
readonly 'border-neutrals-text-subtle'?: any;
|
|
626
|
+
readonly 'border-neutrals-text-subtle-active'?: any;
|
|
627
|
+
readonly 'border-neutrals-text-subtle-hover'?: any;
|
|
628
|
+
readonly 'border-primary'?: any;
|
|
629
|
+
readonly 'border-primary-active'?: any;
|
|
630
|
+
readonly 'border-primary-hover'?: any;
|
|
631
|
+
readonly 'border-primary-inverted'?: any;
|
|
632
|
+
readonly 'border-success'?: any;
|
|
633
|
+
readonly 'border-warning'?: any;
|
|
634
|
+
};
|
|
635
|
+
'font-sizes': {
|
|
636
|
+
readonly 150: "0.75rem";
|
|
637
|
+
readonly 175: "0.875rem";
|
|
638
|
+
readonly 200: "1rem";
|
|
639
|
+
readonly 225: "1.125rem";
|
|
640
|
+
readonly 250: "1.25rem";
|
|
641
|
+
readonly 300: "1.5rem";
|
|
642
|
+
readonly 400: "2rem";
|
|
643
|
+
readonly 500: "2.5rem";
|
|
644
|
+
readonly 600: "3rem";
|
|
645
|
+
readonly 800: "4rem";
|
|
646
|
+
readonly 900: "4.5rem";
|
|
647
|
+
};
|
|
648
|
+
radii: {
|
|
649
|
+
readonly none: 0;
|
|
650
|
+
readonly half: "999em";
|
|
651
|
+
readonly 25: "2px";
|
|
652
|
+
readonly 50: "4px";
|
|
653
|
+
readonly 75: "6px";
|
|
654
|
+
readonly 100: "8px";
|
|
655
|
+
readonly 200: "16px";
|
|
656
|
+
};
|
|
657
|
+
shadows: {
|
|
658
|
+
readonly 50: "0 4px 16px #05003812";
|
|
659
|
+
readonly 100: "0 8px 32px #05003808";
|
|
660
|
+
readonly 'focus-small': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-inner";
|
|
661
|
+
readonly 'focus-small-outline': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 1px $colors$border-focus-middle, inset 0 0 0 2px $colors$border-focus-inner";
|
|
662
|
+
readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
|
|
663
|
+
readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
|
|
664
|
+
};
|
|
665
|
+
sizes: {
|
|
666
|
+
readonly number: string;
|
|
667
|
+
readonly 'icon-200': "16px";
|
|
668
|
+
readonly 'icon-300': "24px";
|
|
669
|
+
readonly 'icon-400': "32px";
|
|
670
|
+
};
|
|
671
|
+
space: {
|
|
672
|
+
readonly 0: 0;
|
|
673
|
+
readonly 50: "4px";
|
|
674
|
+
readonly 100: "8px";
|
|
675
|
+
readonly 150: "12px";
|
|
676
|
+
readonly 200: "16px";
|
|
677
|
+
readonly 300: "24px";
|
|
678
|
+
readonly 400: "32px";
|
|
679
|
+
readonly 500: "40px";
|
|
680
|
+
readonly 600: "48px";
|
|
681
|
+
readonly 800: "64px";
|
|
682
|
+
readonly 1200: "96px";
|
|
683
|
+
readonly 1600: "128px";
|
|
684
|
+
};
|
|
685
|
+
'space-gap': {
|
|
686
|
+
readonly 0: any;
|
|
687
|
+
readonly 50: any;
|
|
688
|
+
readonly 100: any;
|
|
689
|
+
readonly 200: any;
|
|
690
|
+
readonly 300: any;
|
|
691
|
+
};
|
|
692
|
+
'space-inset': {
|
|
693
|
+
readonly 0: any;
|
|
694
|
+
readonly 50: any;
|
|
695
|
+
readonly 100: any;
|
|
696
|
+
readonly 150: any;
|
|
697
|
+
readonly 200: any;
|
|
698
|
+
readonly 300: any;
|
|
699
|
+
readonly 400: any;
|
|
700
|
+
readonly 600: any;
|
|
701
|
+
readonly 800: any;
|
|
702
|
+
readonly 1200: any;
|
|
703
|
+
readonly 1600: any;
|
|
704
|
+
};
|
|
705
|
+
'space-offset': {
|
|
706
|
+
readonly 0: any;
|
|
707
|
+
readonly 50: any;
|
|
708
|
+
readonly 100: any;
|
|
709
|
+
readonly 150: any;
|
|
710
|
+
readonly 200: any;
|
|
711
|
+
readonly 300: any;
|
|
712
|
+
readonly 400: any;
|
|
713
|
+
readonly 600: any;
|
|
714
|
+
readonly 800: any;
|
|
715
|
+
readonly 1200: any;
|
|
716
|
+
readonly 1600: any;
|
|
717
|
+
readonly 'stacking-0': any;
|
|
718
|
+
readonly 'stacking-100': any;
|
|
719
|
+
readonly 'stacking-200': any;
|
|
720
|
+
readonly 'stacking-300': any;
|
|
721
|
+
readonly 'stacking-400': any;
|
|
722
|
+
readonly 'stacking-500': any;
|
|
723
|
+
readonly 'stacking-800': any;
|
|
724
|
+
};
|
|
725
|
+
'stroke-width': {
|
|
726
|
+
readonly thin: "1.5px";
|
|
727
|
+
readonly normal: "2px";
|
|
728
|
+
readonly bold: "4px";
|
|
729
|
+
};
|
|
730
|
+
'z-indices': {
|
|
731
|
+
readonly dropdownMenu: 100;
|
|
732
|
+
readonly popover: 200;
|
|
733
|
+
readonly tooltip: 300;
|
|
734
|
+
};
|
|
735
|
+
}, {
|
|
736
|
+
readonly background: "colors";
|
|
737
|
+
readonly backgroundColor: "colors";
|
|
738
|
+
readonly backgroundImage: "colors";
|
|
739
|
+
readonly blockSize: "sizes";
|
|
740
|
+
readonly border: "colors";
|
|
741
|
+
readonly borderBlock: "colors";
|
|
742
|
+
readonly borderBlockEnd: "colors";
|
|
743
|
+
readonly borderBlockStart: "colors";
|
|
744
|
+
readonly borderBottom: "colors";
|
|
745
|
+
readonly borderBottomColor: "colors";
|
|
746
|
+
readonly borderBottomLeftRadius: "radii";
|
|
747
|
+
readonly borderBottomRightRadius: "radii";
|
|
748
|
+
readonly borderBottomStyle: "border-styles";
|
|
749
|
+
readonly borderBottomWidth: "border-widths";
|
|
750
|
+
readonly borderColor: "colors";
|
|
751
|
+
readonly borderImage: "colors";
|
|
752
|
+
readonly borderInline: "colors";
|
|
753
|
+
readonly borderInlineEnd: "colors";
|
|
754
|
+
readonly borderInlineStart: "colors";
|
|
755
|
+
readonly borderLeft: "colors";
|
|
756
|
+
readonly borderLeftColor: "colors";
|
|
757
|
+
readonly borderLeftStyle: "border-styles";
|
|
758
|
+
readonly borderLeftWidth: "border-widths";
|
|
759
|
+
readonly borderRadius: "radii";
|
|
760
|
+
readonly borderRight: "colors";
|
|
761
|
+
readonly borderRightColor: "colors";
|
|
762
|
+
readonly borderRightStyle: "border-styles";
|
|
763
|
+
readonly borderRightWidth: "border-widths";
|
|
764
|
+
readonly borderStyle: "border-styles";
|
|
765
|
+
readonly borderTop: "colors";
|
|
766
|
+
readonly borderTopColor: "colors";
|
|
767
|
+
readonly borderTopLeftRadius: "radii";
|
|
768
|
+
readonly borderTopRightRadius: "radii";
|
|
769
|
+
readonly borderTopStyle: "border-styles";
|
|
770
|
+
readonly borderTopWidth: "border-widths";
|
|
771
|
+
readonly borderWidth: "border-widths";
|
|
772
|
+
readonly bottom: "space";
|
|
773
|
+
readonly boxShadow: "shadows";
|
|
774
|
+
readonly caretColor: "colors";
|
|
775
|
+
readonly color: "colors";
|
|
776
|
+
readonly columnGap: "space-gap";
|
|
777
|
+
readonly columnRuleColor: "colors";
|
|
778
|
+
readonly fill: "colors";
|
|
779
|
+
readonly flexBasis: "sizes";
|
|
780
|
+
readonly fontFamily: "fonts";
|
|
781
|
+
readonly fontSize: "font-sizes";
|
|
782
|
+
readonly fontWeight: "font-weights";
|
|
783
|
+
readonly gap: "space-gap";
|
|
784
|
+
readonly gridColumnGap: "space-gap";
|
|
785
|
+
readonly gridGap: "space-gap";
|
|
786
|
+
readonly gridRowGap: "space-gap";
|
|
787
|
+
readonly gridTemplateColumns: "sizes";
|
|
788
|
+
readonly gridTemplateRows: "sizes";
|
|
789
|
+
readonly height: "sizes";
|
|
790
|
+
readonly inlineSize: "sizes";
|
|
791
|
+
readonly inset: "space-inset";
|
|
792
|
+
readonly insetBlock: "space-inset";
|
|
793
|
+
readonly insetBlockEnd: "space-inset";
|
|
794
|
+
readonly insetBlockStart: "space-inset";
|
|
795
|
+
readonly insetInline: "space-inset";
|
|
796
|
+
readonly insetInlineEnd: "space-inset";
|
|
797
|
+
readonly insetInlineStart: "space-inset";
|
|
798
|
+
readonly left: "space";
|
|
799
|
+
readonly letterSpacing: "letter-spacings";
|
|
800
|
+
readonly lineHeight: "line-heights";
|
|
801
|
+
readonly margin: "space-offset";
|
|
802
|
+
readonly marginBlock: "space-offset";
|
|
803
|
+
readonly marginBlockEnd: "space-offset";
|
|
804
|
+
readonly marginBlockStart: "space-offset";
|
|
805
|
+
readonly marginBottom: "space-offset";
|
|
806
|
+
readonly marginInline: "space-offset";
|
|
807
|
+
readonly marginInlineEnd: "space-offset";
|
|
808
|
+
readonly marginInlineStart: "space-offset";
|
|
809
|
+
readonly marginLeft: "space-offset";
|
|
810
|
+
readonly marginRight: "space-offset";
|
|
811
|
+
readonly marginTop: "space-offset";
|
|
812
|
+
readonly maxBlockSize: "sizes";
|
|
813
|
+
readonly maxHeight: "sizes";
|
|
814
|
+
readonly maxInlineSize: "sizes";
|
|
815
|
+
readonly maxWidth: "sizes";
|
|
816
|
+
readonly minBlockSize: "sizes";
|
|
817
|
+
readonly minHeight: "sizes";
|
|
818
|
+
readonly minInlineSize: "sizes";
|
|
819
|
+
readonly minWidth: "sizes";
|
|
820
|
+
readonly outline: "colors";
|
|
821
|
+
readonly outlineColor: "colors";
|
|
822
|
+
readonly padding: "space-inset";
|
|
823
|
+
readonly paddingBlock: "space-inset";
|
|
824
|
+
readonly paddingBlockEnd: "space-inset";
|
|
825
|
+
readonly paddingBlockStart: "space-inset";
|
|
826
|
+
readonly paddingBottom: "space-inset";
|
|
827
|
+
readonly paddingInline: "space-inset";
|
|
828
|
+
readonly paddingInlineEnd: "space-inset";
|
|
829
|
+
readonly paddingInlineStart: "space-inset";
|
|
830
|
+
readonly paddingLeft: "space-inset";
|
|
831
|
+
readonly paddingRight: "space-inset";
|
|
832
|
+
readonly paddingTop: "space-inset";
|
|
833
|
+
readonly right: "space";
|
|
834
|
+
readonly rowGap: "space-gap";
|
|
835
|
+
readonly scrollMargin: "space-offset";
|
|
836
|
+
readonly scrollMarginBlock: "space-offset";
|
|
837
|
+
readonly scrollMarginBlockEnd: "space-offset";
|
|
838
|
+
readonly scrollMarginBlockStart: "space-offset";
|
|
839
|
+
readonly scrollMarginBottom: "space-offset";
|
|
840
|
+
readonly scrollMarginInline: "space-offset";
|
|
841
|
+
readonly scrollMarginInlineEnd: "space-offset";
|
|
842
|
+
readonly scrollMarginInlineStart: "space-offset";
|
|
843
|
+
readonly scrollMarginLeft: "space-offset";
|
|
844
|
+
readonly scrollMarginRight: "space-offset";
|
|
845
|
+
readonly scrollMarginTop: "space-offset";
|
|
846
|
+
readonly scrollPadding: "space-inset";
|
|
847
|
+
readonly scrollPaddingBlock: "space-inset";
|
|
848
|
+
readonly scrollPaddingBlockEnd: "space-inset";
|
|
849
|
+
readonly scrollPaddingBlockStart: "space-inset";
|
|
850
|
+
readonly scrollPaddingBottom: "space-inset";
|
|
851
|
+
readonly scrollPaddingInline: "space-inset";
|
|
852
|
+
readonly scrollPaddingInlineEnd: "space-inset";
|
|
853
|
+
readonly scrollPaddingInlineStart: "space-inset";
|
|
854
|
+
readonly scrollPaddingLeft: "space-inset";
|
|
855
|
+
readonly scrollPaddingRight: "space-inset";
|
|
856
|
+
readonly scrollPaddingTop: "space-inset";
|
|
857
|
+
readonly stroke: "colors";
|
|
858
|
+
readonly strokeWidth: "stroke-width";
|
|
859
|
+
readonly textDecorationColor: "colors";
|
|
860
|
+
readonly textShadow: "shadows";
|
|
861
|
+
readonly top: "space";
|
|
862
|
+
readonly transition: "transitions";
|
|
863
|
+
readonly width: "sizes";
|
|
864
|
+
readonly zIndex: "z-indices";
|
|
865
|
+
}, {
|
|
866
|
+
paddingX: (value: {
|
|
867
|
+
readonly [$$PropertyValue]: "padding";
|
|
868
|
+
}) => {
|
|
869
|
+
paddingLeft: {
|
|
870
|
+
readonly [$$PropertyValue]: "padding";
|
|
871
|
+
};
|
|
872
|
+
paddingRight: {
|
|
873
|
+
readonly [$$PropertyValue]: "padding";
|
|
874
|
+
};
|
|
875
|
+
};
|
|
876
|
+
paddingY: (value: {
|
|
877
|
+
readonly [$$PropertyValue]: "padding";
|
|
878
|
+
}) => {
|
|
879
|
+
paddingTop: {
|
|
880
|
+
readonly [$$PropertyValue]: "padding";
|
|
881
|
+
};
|
|
882
|
+
paddingBottom: {
|
|
883
|
+
readonly [$$PropertyValue]: "padding";
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
marginX: (value: {
|
|
887
|
+
readonly [$$PropertyValue]: "margin";
|
|
888
|
+
}) => {
|
|
889
|
+
marginLeft: {
|
|
890
|
+
readonly [$$PropertyValue]: "margin";
|
|
891
|
+
};
|
|
892
|
+
marginRight: {
|
|
893
|
+
readonly [$$PropertyValue]: "margin";
|
|
894
|
+
};
|
|
895
|
+
};
|
|
896
|
+
marginY: (value: {
|
|
897
|
+
readonly [$$PropertyValue]: "margin";
|
|
898
|
+
}) => {
|
|
899
|
+
marginTop: {
|
|
900
|
+
readonly [$$PropertyValue]: "margin";
|
|
901
|
+
};
|
|
902
|
+
marginBottom: {
|
|
903
|
+
readonly [$$PropertyValue]: "margin";
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
square: (value: {
|
|
907
|
+
readonly [$$PropertyValue]: "width";
|
|
908
|
+
}) => {
|
|
909
|
+
width: {
|
|
910
|
+
readonly [$$PropertyValue]: "width";
|
|
911
|
+
};
|
|
912
|
+
height: {
|
|
913
|
+
readonly [$$PropertyValue]: "width";
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
}> | undefined;
|
|
917
|
+
}) | (Omit<Omit<Omit<Omit<{}, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
918
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
919
|
+
} & {
|
|
920
|
+
asChild?: boolean | undefined;
|
|
921
|
+
}, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
|
|
922
|
+
css?: _stitches_react_types_css_util.CSS<{}, {
|
|
923
|
+
'border-widths': {
|
|
924
|
+
readonly none: 0;
|
|
925
|
+
readonly sm: "1px";
|
|
926
|
+
readonly md: "2px";
|
|
927
|
+
readonly lg: "4px";
|
|
928
|
+
};
|
|
929
|
+
colors: {
|
|
930
|
+
readonly 'blue-100': any;
|
|
931
|
+
readonly 'blue-200': any;
|
|
932
|
+
readonly 'blue-300': any;
|
|
933
|
+
readonly 'blue-400': any;
|
|
934
|
+
readonly 'blue-500': any;
|
|
935
|
+
readonly 'blue-600': any;
|
|
936
|
+
readonly 'blue-700': any;
|
|
937
|
+
readonly 'blue-800': any;
|
|
938
|
+
readonly 'blue-900': any;
|
|
939
|
+
readonly 'blue-1000': any;
|
|
940
|
+
readonly 'gray-100': any;
|
|
941
|
+
readonly 'gray-200': any;
|
|
942
|
+
readonly 'gray-300': any;
|
|
943
|
+
readonly 'gray-400': any;
|
|
944
|
+
readonly 'gray-500': any;
|
|
945
|
+
readonly 'gray-600': any;
|
|
946
|
+
readonly 'gray-700': any;
|
|
947
|
+
readonly 'gray-800': any;
|
|
948
|
+
readonly 'gray-900': any;
|
|
949
|
+
readonly 'indigo-100': any;
|
|
950
|
+
readonly 'indigo-200': any;
|
|
951
|
+
readonly 'indigo-300': any;
|
|
952
|
+
readonly 'indigo-400': any;
|
|
953
|
+
readonly 'indigo-500': any;
|
|
954
|
+
readonly 'indigo-600': any;
|
|
955
|
+
readonly 'indigo-700': any;
|
|
956
|
+
readonly 'indigo-800': any;
|
|
957
|
+
readonly 'indigo-900': any;
|
|
958
|
+
readonly 'red-100': any;
|
|
959
|
+
readonly 'red-200': any;
|
|
960
|
+
readonly 'red-300': any;
|
|
961
|
+
readonly 'red-400': any;
|
|
962
|
+
readonly 'red-500': any;
|
|
963
|
+
readonly 'red-600': any;
|
|
964
|
+
readonly 'red-700': any;
|
|
965
|
+
readonly 'red-800': any;
|
|
966
|
+
readonly 'red-900': any;
|
|
967
|
+
readonly 'yellow-100': any;
|
|
968
|
+
readonly 'yellow-200': any;
|
|
969
|
+
readonly 'yellow-300': any;
|
|
970
|
+
readonly 'yellow-400': any;
|
|
971
|
+
readonly 'yellow-500': any;
|
|
972
|
+
readonly 'yellow-600': any;
|
|
973
|
+
readonly 'yellow-700': any;
|
|
974
|
+
readonly 'yellow-800': any;
|
|
975
|
+
readonly 'yellow-900': any;
|
|
976
|
+
readonly 'green-100': any;
|
|
977
|
+
readonly 'green-200': any;
|
|
978
|
+
readonly 'green-300': any;
|
|
979
|
+
readonly 'green-400': any;
|
|
980
|
+
readonly 'green-500': any;
|
|
981
|
+
readonly 'green-600': any;
|
|
982
|
+
readonly 'green-700': any;
|
|
983
|
+
readonly 'green-800': any;
|
|
984
|
+
readonly 'green-900': any;
|
|
985
|
+
readonly black: any;
|
|
986
|
+
readonly white: any;
|
|
987
|
+
readonly transparent: any;
|
|
988
|
+
readonly 'background-danger'?: any;
|
|
989
|
+
readonly 'background-danger-hover'?: any;
|
|
990
|
+
readonly 'background-danger-prominent'?: any;
|
|
991
|
+
readonly 'background-danger-prominent-active'?: any;
|
|
992
|
+
readonly 'background-danger-prominent-hover'?: any;
|
|
993
|
+
readonly 'background-neutrals'?: any;
|
|
994
|
+
readonly 'background-neutrals-container'?: any;
|
|
995
|
+
readonly 'background-neutrals-controls-disabled'?: any;
|
|
996
|
+
readonly 'background-neutrals-disabled'?: any;
|
|
997
|
+
readonly 'background-neutrals-inactive'?: any;
|
|
998
|
+
readonly 'background-neutrals-inactive-hover'?: any;
|
|
999
|
+
readonly 'background-neutrals-inverted'?: any;
|
|
1000
|
+
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
1001
|
+
readonly 'background-neutrals-page'?: any;
|
|
1002
|
+
readonly 'background-neutrals-page-subtle'?: any;
|
|
1003
|
+
readonly 'background-neutrals-scrolls'?: any;
|
|
1004
|
+
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
1005
|
+
readonly 'background-neutrals-subtle'?: any;
|
|
1006
|
+
readonly 'background-neutrals-subtle-active'?: any;
|
|
1007
|
+
readonly 'background-neutrals-subtle-hover'?: any;
|
|
1008
|
+
readonly 'background-primary-prominent'?: any;
|
|
1009
|
+
readonly 'background-primary-prominent-active'?: any;
|
|
1010
|
+
readonly 'background-primary-prominent-hover'?: any;
|
|
1011
|
+
readonly 'background-primary-prominent-selected'?: any;
|
|
1012
|
+
readonly 'background-primary-subtle'?: any;
|
|
1013
|
+
readonly 'background-primary-subtle-active'?: any;
|
|
1014
|
+
readonly 'background-primary-subtle-hover'?: any;
|
|
1015
|
+
readonly 'background-primary-subtle-selected'?: any;
|
|
1016
|
+
readonly 'background-success'?: any;
|
|
1017
|
+
readonly 'background-warning-prominent'?: any;
|
|
1018
|
+
readonly 'background-warning-subtle'?: any;
|
|
1019
|
+
readonly 'text-danger'?: any;
|
|
1020
|
+
readonly 'text-danger-active'?: any;
|
|
1021
|
+
readonly 'text-danger-hover'?: any;
|
|
1022
|
+
readonly 'text-danger-inverted'?: any;
|
|
1023
|
+
readonly 'text-neutrals'?: any;
|
|
1024
|
+
readonly 'text-neutrals-disabled'?: any;
|
|
1025
|
+
readonly 'text-neutrals-inverted'?: any;
|
|
1026
|
+
readonly 'text-neutrals-placeholder'?: any;
|
|
1027
|
+
readonly 'text-neutrals-placeholder-only'?: any;
|
|
1028
|
+
readonly 'text-neutrals-subtle'?: any;
|
|
1029
|
+
readonly 'text-neutrals-subtle-active'?: any;
|
|
1030
|
+
readonly 'text-neutrals-subtle-hover'?: any;
|
|
1031
|
+
readonly 'text-primary'?: any;
|
|
1032
|
+
readonly 'text-primary-active'?: any;
|
|
1033
|
+
readonly 'text-primary-hover'?: any;
|
|
1034
|
+
readonly 'text-primary-inverted'?: any;
|
|
1035
|
+
readonly 'text-primary-inverted-subtle'?: any;
|
|
1036
|
+
readonly 'text-primary-selected'?: any;
|
|
1037
|
+
readonly 'text-success'?: any;
|
|
1038
|
+
readonly 'text-warning'?: any;
|
|
1039
|
+
readonly 'icon-danger'?: any;
|
|
1040
|
+
readonly 'icon-danger-active'?: any;
|
|
1041
|
+
readonly 'icon-danger-hover'?: any;
|
|
1042
|
+
readonly 'icon-danger-inverted'?: any;
|
|
1043
|
+
readonly 'icon-neutrals'?: any;
|
|
1044
|
+
readonly 'icon-neutrals-disabled'?: any;
|
|
1045
|
+
readonly 'icon-neutrals-inactive'?: any;
|
|
1046
|
+
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
1047
|
+
readonly 'icon-neutrals-inverted'?: any;
|
|
1048
|
+
readonly 'icon-neutrals-search'?: any;
|
|
1049
|
+
readonly 'icon-neutrals-subtle'?: any;
|
|
1050
|
+
readonly 'icon-neutrals-text'?: any;
|
|
1051
|
+
readonly 'icon-primary'?: any;
|
|
1052
|
+
readonly 'icon-primary-active'?: any;
|
|
1053
|
+
readonly 'icon-primary-hover'?: any;
|
|
1054
|
+
readonly 'icon-primary-inverted'?: any;
|
|
1055
|
+
readonly 'icon-primary-selected'?: any;
|
|
1056
|
+
readonly 'icon-success'?: any;
|
|
1057
|
+
readonly 'icon-success-inverted'?: any;
|
|
1058
|
+
readonly 'icon-warning'?: any;
|
|
1059
|
+
readonly 'icon-warning-prominent'?: any;
|
|
1060
|
+
readonly 'border-danger'?: any;
|
|
1061
|
+
readonly 'border-danger-active'?: any;
|
|
1062
|
+
readonly 'border-danger-hover'?: any;
|
|
1063
|
+
readonly 'border-focus-inner'?: any;
|
|
1064
|
+
readonly 'border-focus-middle'?: any;
|
|
1065
|
+
readonly 'border-focus-outer'?: any;
|
|
1066
|
+
readonly 'border-neutrals'?: any;
|
|
1067
|
+
readonly 'border-neutrals-active'?: any;
|
|
1068
|
+
readonly 'border-neutrals-controls'?: any;
|
|
1069
|
+
readonly 'border-neutrals-controls-disabled'?: any;
|
|
1070
|
+
readonly 'border-neutrals-disabled'?: any;
|
|
1071
|
+
readonly 'border-neutrals-hover'?: any;
|
|
1072
|
+
readonly 'border-neutrals-inverted'?: any;
|
|
1073
|
+
readonly 'border-neutrals-subtle'?: any;
|
|
1074
|
+
readonly 'border-neutrals-text-subtle'?: any;
|
|
1075
|
+
readonly 'border-neutrals-text-subtle-active'?: any;
|
|
1076
|
+
readonly 'border-neutrals-text-subtle-hover'?: any;
|
|
1077
|
+
readonly 'border-primary'?: any;
|
|
1078
|
+
readonly 'border-primary-active'?: any;
|
|
1079
|
+
readonly 'border-primary-hover'?: any;
|
|
1080
|
+
readonly 'border-primary-inverted'?: any;
|
|
1081
|
+
readonly 'border-success'?: any;
|
|
1082
|
+
readonly 'border-warning'?: any;
|
|
1083
|
+
};
|
|
1084
|
+
'font-sizes': {
|
|
1085
|
+
readonly 150: "0.75rem";
|
|
1086
|
+
readonly 175: "0.875rem";
|
|
1087
|
+
readonly 200: "1rem";
|
|
1088
|
+
readonly 225: "1.125rem";
|
|
1089
|
+
readonly 250: "1.25rem";
|
|
1090
|
+
readonly 300: "1.5rem";
|
|
1091
|
+
readonly 400: "2rem";
|
|
1092
|
+
readonly 500: "2.5rem";
|
|
1093
|
+
readonly 600: "3rem";
|
|
1094
|
+
readonly 800: "4rem";
|
|
1095
|
+
readonly 900: "4.5rem";
|
|
1096
|
+
};
|
|
1097
|
+
radii: {
|
|
1098
|
+
readonly none: 0;
|
|
1099
|
+
readonly half: "999em";
|
|
1100
|
+
readonly 25: "2px";
|
|
1101
|
+
readonly 50: "4px";
|
|
1102
|
+
readonly 75: "6px";
|
|
1103
|
+
readonly 100: "8px";
|
|
1104
|
+
readonly 200: "16px";
|
|
1105
|
+
};
|
|
1106
|
+
shadows: {
|
|
1107
|
+
readonly 50: "0 4px 16px #05003812";
|
|
1108
|
+
readonly 100: "0 8px 32px #05003808";
|
|
1109
|
+
readonly 'focus-small': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-inner";
|
|
1110
|
+
readonly 'focus-small-outline': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 1px $colors$border-focus-middle, inset 0 0 0 2px $colors$border-focus-inner";
|
|
1111
|
+
readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
|
|
1112
|
+
readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
|
|
1113
|
+
};
|
|
1114
|
+
sizes: {
|
|
1115
|
+
readonly number: string;
|
|
1116
|
+
readonly 'icon-200': "16px";
|
|
1117
|
+
readonly 'icon-300': "24px";
|
|
1118
|
+
readonly 'icon-400': "32px";
|
|
1119
|
+
};
|
|
1120
|
+
space: {
|
|
1121
|
+
readonly 0: 0;
|
|
1122
|
+
readonly 50: "4px";
|
|
1123
|
+
readonly 100: "8px";
|
|
1124
|
+
readonly 150: "12px";
|
|
1125
|
+
readonly 200: "16px";
|
|
1126
|
+
readonly 300: "24px";
|
|
1127
|
+
readonly 400: "32px";
|
|
1128
|
+
readonly 500: "40px";
|
|
1129
|
+
readonly 600: "48px";
|
|
1130
|
+
readonly 800: "64px";
|
|
1131
|
+
readonly 1200: "96px";
|
|
1132
|
+
readonly 1600: "128px";
|
|
1133
|
+
};
|
|
1134
|
+
'space-gap': {
|
|
1135
|
+
readonly 0: any;
|
|
1136
|
+
readonly 50: any;
|
|
1137
|
+
readonly 100: any;
|
|
1138
|
+
readonly 200: any;
|
|
1139
|
+
readonly 300: any;
|
|
1140
|
+
};
|
|
1141
|
+
'space-inset': {
|
|
1142
|
+
readonly 0: any;
|
|
1143
|
+
readonly 50: any;
|
|
1144
|
+
readonly 100: any;
|
|
1145
|
+
readonly 150: any;
|
|
1146
|
+
readonly 200: any;
|
|
1147
|
+
readonly 300: any;
|
|
1148
|
+
readonly 400: any;
|
|
1149
|
+
readonly 600: any;
|
|
1150
|
+
readonly 800: any;
|
|
1151
|
+
readonly 1200: any;
|
|
1152
|
+
readonly 1600: any;
|
|
1153
|
+
};
|
|
1154
|
+
'space-offset': {
|
|
1155
|
+
readonly 0: any;
|
|
1156
|
+
readonly 50: any;
|
|
1157
|
+
readonly 100: any;
|
|
1158
|
+
readonly 150: any;
|
|
1159
|
+
readonly 200: any;
|
|
1160
|
+
readonly 300: any;
|
|
1161
|
+
readonly 400: any;
|
|
1162
|
+
readonly 600: any;
|
|
1163
|
+
readonly 800: any;
|
|
1164
|
+
readonly 1200: any;
|
|
1165
|
+
readonly 1600: any;
|
|
1166
|
+
readonly 'stacking-0': any;
|
|
1167
|
+
readonly 'stacking-100': any;
|
|
1168
|
+
readonly 'stacking-200': any;
|
|
1169
|
+
readonly 'stacking-300': any;
|
|
1170
|
+
readonly 'stacking-400': any;
|
|
1171
|
+
readonly 'stacking-500': any;
|
|
1172
|
+
readonly 'stacking-800': any;
|
|
1173
|
+
};
|
|
1174
|
+
'stroke-width': {
|
|
1175
|
+
readonly thin: "1.5px";
|
|
1176
|
+
readonly normal: "2px";
|
|
1177
|
+
readonly bold: "4px";
|
|
1178
|
+
};
|
|
1179
|
+
'z-indices': {
|
|
1180
|
+
readonly dropdownMenu: 100;
|
|
1181
|
+
readonly popover: 200;
|
|
1182
|
+
readonly tooltip: 300;
|
|
1183
|
+
};
|
|
1184
|
+
}, {
|
|
1185
|
+
readonly background: "colors";
|
|
1186
|
+
readonly backgroundColor: "colors";
|
|
1187
|
+
readonly backgroundImage: "colors";
|
|
1188
|
+
readonly blockSize: "sizes";
|
|
1189
|
+
readonly border: "colors";
|
|
1190
|
+
readonly borderBlock: "colors";
|
|
1191
|
+
readonly borderBlockEnd: "colors";
|
|
1192
|
+
readonly borderBlockStart: "colors";
|
|
1193
|
+
readonly borderBottom: "colors";
|
|
1194
|
+
readonly borderBottomColor: "colors";
|
|
1195
|
+
readonly borderBottomLeftRadius: "radii";
|
|
1196
|
+
readonly borderBottomRightRadius: "radii";
|
|
1197
|
+
readonly borderBottomStyle: "border-styles";
|
|
1198
|
+
readonly borderBottomWidth: "border-widths";
|
|
1199
|
+
readonly borderColor: "colors";
|
|
1200
|
+
readonly borderImage: "colors";
|
|
1201
|
+
readonly borderInline: "colors";
|
|
1202
|
+
readonly borderInlineEnd: "colors";
|
|
1203
|
+
readonly borderInlineStart: "colors";
|
|
1204
|
+
readonly borderLeft: "colors";
|
|
1205
|
+
readonly borderLeftColor: "colors";
|
|
1206
|
+
readonly borderLeftStyle: "border-styles";
|
|
1207
|
+
readonly borderLeftWidth: "border-widths";
|
|
1208
|
+
readonly borderRadius: "radii";
|
|
1209
|
+
readonly borderRight: "colors";
|
|
1210
|
+
readonly borderRightColor: "colors";
|
|
1211
|
+
readonly borderRightStyle: "border-styles";
|
|
1212
|
+
readonly borderRightWidth: "border-widths";
|
|
1213
|
+
readonly borderStyle: "border-styles";
|
|
1214
|
+
readonly borderTop: "colors";
|
|
1215
|
+
readonly borderTopColor: "colors";
|
|
1216
|
+
readonly borderTopLeftRadius: "radii";
|
|
1217
|
+
readonly borderTopRightRadius: "radii";
|
|
1218
|
+
readonly borderTopStyle: "border-styles";
|
|
1219
|
+
readonly borderTopWidth: "border-widths";
|
|
1220
|
+
readonly borderWidth: "border-widths";
|
|
1221
|
+
readonly bottom: "space";
|
|
1222
|
+
readonly boxShadow: "shadows";
|
|
1223
|
+
readonly caretColor: "colors";
|
|
1224
|
+
readonly color: "colors";
|
|
1225
|
+
readonly columnGap: "space-gap";
|
|
1226
|
+
readonly columnRuleColor: "colors";
|
|
1227
|
+
readonly fill: "colors";
|
|
1228
|
+
readonly flexBasis: "sizes";
|
|
1229
|
+
readonly fontFamily: "fonts";
|
|
1230
|
+
readonly fontSize: "font-sizes";
|
|
1231
|
+
readonly fontWeight: "font-weights";
|
|
1232
|
+
readonly gap: "space-gap";
|
|
1233
|
+
readonly gridColumnGap: "space-gap";
|
|
1234
|
+
readonly gridGap: "space-gap";
|
|
1235
|
+
readonly gridRowGap: "space-gap";
|
|
1236
|
+
readonly gridTemplateColumns: "sizes";
|
|
1237
|
+
readonly gridTemplateRows: "sizes";
|
|
1238
|
+
readonly height: "sizes";
|
|
1239
|
+
readonly inlineSize: "sizes";
|
|
1240
|
+
readonly inset: "space-inset";
|
|
1241
|
+
readonly insetBlock: "space-inset";
|
|
1242
|
+
readonly insetBlockEnd: "space-inset";
|
|
1243
|
+
readonly insetBlockStart: "space-inset";
|
|
1244
|
+
readonly insetInline: "space-inset";
|
|
1245
|
+
readonly insetInlineEnd: "space-inset";
|
|
1246
|
+
readonly insetInlineStart: "space-inset";
|
|
1247
|
+
readonly left: "space";
|
|
1248
|
+
readonly letterSpacing: "letter-spacings";
|
|
1249
|
+
readonly lineHeight: "line-heights";
|
|
1250
|
+
readonly margin: "space-offset";
|
|
1251
|
+
readonly marginBlock: "space-offset";
|
|
1252
|
+
readonly marginBlockEnd: "space-offset";
|
|
1253
|
+
readonly marginBlockStart: "space-offset";
|
|
1254
|
+
readonly marginBottom: "space-offset";
|
|
1255
|
+
readonly marginInline: "space-offset";
|
|
1256
|
+
readonly marginInlineEnd: "space-offset";
|
|
1257
|
+
readonly marginInlineStart: "space-offset";
|
|
1258
|
+
readonly marginLeft: "space-offset";
|
|
1259
|
+
readonly marginRight: "space-offset";
|
|
1260
|
+
readonly marginTop: "space-offset";
|
|
1261
|
+
readonly maxBlockSize: "sizes";
|
|
1262
|
+
readonly maxHeight: "sizes";
|
|
1263
|
+
readonly maxInlineSize: "sizes";
|
|
1264
|
+
readonly maxWidth: "sizes";
|
|
1265
|
+
readonly minBlockSize: "sizes";
|
|
1266
|
+
readonly minHeight: "sizes";
|
|
1267
|
+
readonly minInlineSize: "sizes";
|
|
1268
|
+
readonly minWidth: "sizes";
|
|
1269
|
+
readonly outline: "colors";
|
|
1270
|
+
readonly outlineColor: "colors";
|
|
1271
|
+
readonly padding: "space-inset";
|
|
1272
|
+
readonly paddingBlock: "space-inset";
|
|
1273
|
+
readonly paddingBlockEnd: "space-inset";
|
|
1274
|
+
readonly paddingBlockStart: "space-inset";
|
|
1275
|
+
readonly paddingBottom: "space-inset";
|
|
1276
|
+
readonly paddingInline: "space-inset";
|
|
1277
|
+
readonly paddingInlineEnd: "space-inset";
|
|
1278
|
+
readonly paddingInlineStart: "space-inset";
|
|
1279
|
+
readonly paddingLeft: "space-inset";
|
|
1280
|
+
readonly paddingRight: "space-inset";
|
|
1281
|
+
readonly paddingTop: "space-inset";
|
|
1282
|
+
readonly right: "space";
|
|
1283
|
+
readonly rowGap: "space-gap";
|
|
1284
|
+
readonly scrollMargin: "space-offset";
|
|
1285
|
+
readonly scrollMarginBlock: "space-offset";
|
|
1286
|
+
readonly scrollMarginBlockEnd: "space-offset";
|
|
1287
|
+
readonly scrollMarginBlockStart: "space-offset";
|
|
1288
|
+
readonly scrollMarginBottom: "space-offset";
|
|
1289
|
+
readonly scrollMarginInline: "space-offset";
|
|
1290
|
+
readonly scrollMarginInlineEnd: "space-offset";
|
|
1291
|
+
readonly scrollMarginInlineStart: "space-offset";
|
|
1292
|
+
readonly scrollMarginLeft: "space-offset";
|
|
1293
|
+
readonly scrollMarginRight: "space-offset";
|
|
1294
|
+
readonly scrollMarginTop: "space-offset";
|
|
1295
|
+
readonly scrollPadding: "space-inset";
|
|
1296
|
+
readonly scrollPaddingBlock: "space-inset";
|
|
1297
|
+
readonly scrollPaddingBlockEnd: "space-inset";
|
|
1298
|
+
readonly scrollPaddingBlockStart: "space-inset";
|
|
1299
|
+
readonly scrollPaddingBottom: "space-inset";
|
|
1300
|
+
readonly scrollPaddingInline: "space-inset";
|
|
1301
|
+
readonly scrollPaddingInlineEnd: "space-inset";
|
|
1302
|
+
readonly scrollPaddingInlineStart: "space-inset";
|
|
1303
|
+
readonly scrollPaddingLeft: "space-inset";
|
|
1304
|
+
readonly scrollPaddingRight: "space-inset";
|
|
1305
|
+
readonly scrollPaddingTop: "space-inset";
|
|
1306
|
+
readonly stroke: "colors";
|
|
1307
|
+
readonly strokeWidth: "stroke-width";
|
|
1308
|
+
readonly textDecorationColor: "colors";
|
|
1309
|
+
readonly textShadow: "shadows";
|
|
1310
|
+
readonly top: "space";
|
|
1311
|
+
readonly transition: "transitions";
|
|
1312
|
+
readonly width: "sizes";
|
|
1313
|
+
readonly zIndex: "z-indices";
|
|
1314
|
+
}, {
|
|
1315
|
+
paddingX: (value: {
|
|
1316
|
+
readonly [$$PropertyValue]: "padding";
|
|
1317
|
+
}) => {
|
|
1318
|
+
paddingLeft: {
|
|
1319
|
+
readonly [$$PropertyValue]: "padding";
|
|
1320
|
+
};
|
|
1321
|
+
paddingRight: {
|
|
1322
|
+
readonly [$$PropertyValue]: "padding";
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
paddingY: (value: {
|
|
1326
|
+
readonly [$$PropertyValue]: "padding";
|
|
1327
|
+
}) => {
|
|
1328
|
+
paddingTop: {
|
|
1329
|
+
readonly [$$PropertyValue]: "padding";
|
|
1330
|
+
};
|
|
1331
|
+
paddingBottom: {
|
|
1332
|
+
readonly [$$PropertyValue]: "padding";
|
|
1333
|
+
};
|
|
1334
|
+
};
|
|
1335
|
+
marginX: (value: {
|
|
1336
|
+
readonly [$$PropertyValue]: "margin";
|
|
1337
|
+
}) => {
|
|
1338
|
+
marginLeft: {
|
|
1339
|
+
readonly [$$PropertyValue]: "margin";
|
|
1340
|
+
};
|
|
1341
|
+
marginRight: {
|
|
1342
|
+
readonly [$$PropertyValue]: "margin";
|
|
1343
|
+
};
|
|
1344
|
+
};
|
|
1345
|
+
marginY: (value: {
|
|
1346
|
+
readonly [$$PropertyValue]: "margin";
|
|
1347
|
+
}) => {
|
|
1348
|
+
marginTop: {
|
|
1349
|
+
readonly [$$PropertyValue]: "margin";
|
|
1350
|
+
};
|
|
1351
|
+
marginBottom: {
|
|
1352
|
+
readonly [$$PropertyValue]: "margin";
|
|
1353
|
+
};
|
|
1354
|
+
};
|
|
1355
|
+
square: (value: {
|
|
1356
|
+
readonly [$$PropertyValue]: "width";
|
|
1357
|
+
}) => {
|
|
1358
|
+
width: {
|
|
1359
|
+
readonly [$$PropertyValue]: "width";
|
|
1360
|
+
};
|
|
1361
|
+
height: {
|
|
1362
|
+
readonly [$$PropertyValue]: "width";
|
|
1363
|
+
};
|
|
1364
|
+
};
|
|
1365
|
+
}> | undefined;
|
|
1366
|
+
}> & {
|
|
1367
|
+
children?: react.ReactNode;
|
|
1368
|
+
} & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
|
|
1369
|
+
href: string;
|
|
1370
|
+
}, "ref"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
|
|
1371
|
+
css?: _stitches_react_types_css_util.CSS<{}, {
|
|
1372
|
+
'border-widths': {
|
|
1373
|
+
readonly none: 0;
|
|
1374
|
+
readonly sm: "1px";
|
|
1375
|
+
readonly md: "2px";
|
|
1376
|
+
readonly lg: "4px";
|
|
1377
|
+
};
|
|
1378
|
+
colors: {
|
|
1379
|
+
readonly 'blue-100': any;
|
|
1380
|
+
readonly 'blue-200': any;
|
|
1381
|
+
readonly 'blue-300': any;
|
|
1382
|
+
readonly 'blue-400': any;
|
|
1383
|
+
readonly 'blue-500': any;
|
|
1384
|
+
readonly 'blue-600': any;
|
|
1385
|
+
readonly 'blue-700': any;
|
|
1386
|
+
readonly 'blue-800': any;
|
|
1387
|
+
readonly 'blue-900': any;
|
|
1388
|
+
readonly 'blue-1000': any;
|
|
1389
|
+
readonly 'gray-100': any;
|
|
1390
|
+
readonly 'gray-200': any;
|
|
1391
|
+
readonly 'gray-300': any;
|
|
1392
|
+
readonly 'gray-400': any;
|
|
1393
|
+
readonly 'gray-500': any;
|
|
1394
|
+
readonly 'gray-600': any;
|
|
1395
|
+
readonly 'gray-700': any;
|
|
1396
|
+
readonly 'gray-800': any;
|
|
1397
|
+
readonly 'gray-900': any;
|
|
1398
|
+
readonly 'indigo-100': any;
|
|
1399
|
+
readonly 'indigo-200': any;
|
|
1400
|
+
readonly 'indigo-300': any;
|
|
1401
|
+
readonly 'indigo-400': any;
|
|
1402
|
+
readonly 'indigo-500': any;
|
|
1403
|
+
readonly 'indigo-600': any;
|
|
1404
|
+
readonly 'indigo-700': any;
|
|
1405
|
+
readonly 'indigo-800': any;
|
|
1406
|
+
readonly 'indigo-900': any;
|
|
1407
|
+
readonly 'red-100': any;
|
|
1408
|
+
readonly 'red-200': any;
|
|
1409
|
+
readonly 'red-300': any;
|
|
1410
|
+
readonly 'red-400': any;
|
|
1411
|
+
readonly 'red-500': any;
|
|
1412
|
+
readonly 'red-600': any;
|
|
1413
|
+
readonly 'red-700': any;
|
|
1414
|
+
readonly 'red-800': any;
|
|
1415
|
+
readonly 'red-900': any;
|
|
1416
|
+
readonly 'yellow-100': any;
|
|
1417
|
+
readonly 'yellow-200': any;
|
|
1418
|
+
readonly 'yellow-300': any;
|
|
1419
|
+
readonly 'yellow-400': any;
|
|
1420
|
+
readonly 'yellow-500': any;
|
|
1421
|
+
readonly 'yellow-600': any;
|
|
1422
|
+
readonly 'yellow-700': any;
|
|
1423
|
+
readonly 'yellow-800': any;
|
|
1424
|
+
readonly 'yellow-900': any;
|
|
1425
|
+
readonly 'green-100': any;
|
|
1426
|
+
readonly 'green-200': any;
|
|
1427
|
+
readonly 'green-300': any;
|
|
1428
|
+
readonly 'green-400': any;
|
|
1429
|
+
readonly 'green-500': any;
|
|
1430
|
+
readonly 'green-600': any;
|
|
1431
|
+
readonly 'green-700': any;
|
|
1432
|
+
readonly 'green-800': any;
|
|
1433
|
+
readonly 'green-900': any;
|
|
1434
|
+
readonly black: any;
|
|
1435
|
+
readonly white: any;
|
|
1436
|
+
readonly transparent: any;
|
|
1437
|
+
readonly 'background-danger'?: any;
|
|
1438
|
+
readonly 'background-danger-hover'?: any;
|
|
1439
|
+
readonly 'background-danger-prominent'?: any;
|
|
1440
|
+
readonly 'background-danger-prominent-active'?: any;
|
|
1441
|
+
readonly 'background-danger-prominent-hover'?: any;
|
|
1442
|
+
readonly 'background-neutrals'?: any;
|
|
1443
|
+
readonly 'background-neutrals-container'?: any;
|
|
1444
|
+
readonly 'background-neutrals-controls-disabled'?: any;
|
|
1445
|
+
readonly 'background-neutrals-disabled'?: any;
|
|
1446
|
+
readonly 'background-neutrals-inactive'?: any;
|
|
1447
|
+
readonly 'background-neutrals-inactive-hover'?: any;
|
|
1448
|
+
readonly 'background-neutrals-inverted'?: any;
|
|
1449
|
+
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
1450
|
+
readonly 'background-neutrals-page'?: any;
|
|
1451
|
+
readonly 'background-neutrals-page-subtle'?: any;
|
|
1452
|
+
readonly 'background-neutrals-scrolls'?: any;
|
|
1453
|
+
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
1454
|
+
readonly 'background-neutrals-subtle'?: any;
|
|
1455
|
+
readonly 'background-neutrals-subtle-active'?: any;
|
|
1456
|
+
readonly 'background-neutrals-subtle-hover'?: any;
|
|
1457
|
+
readonly 'background-primary-prominent'?: any;
|
|
1458
|
+
readonly 'background-primary-prominent-active'?: any;
|
|
1459
|
+
readonly 'background-primary-prominent-hover'?: any;
|
|
1460
|
+
readonly 'background-primary-prominent-selected'?: any;
|
|
1461
|
+
readonly 'background-primary-subtle'?: any;
|
|
1462
|
+
readonly 'background-primary-subtle-active'?: any;
|
|
1463
|
+
readonly 'background-primary-subtle-hover'?: any;
|
|
1464
|
+
readonly 'background-primary-subtle-selected'?: any;
|
|
1465
|
+
readonly 'background-success'?: any;
|
|
1466
|
+
readonly 'background-warning-prominent'?: any;
|
|
1467
|
+
readonly 'background-warning-subtle'?: any;
|
|
1468
|
+
readonly 'text-danger'?: any;
|
|
1469
|
+
readonly 'text-danger-active'?: any;
|
|
1470
|
+
readonly 'text-danger-hover'?: any;
|
|
1471
|
+
readonly 'text-danger-inverted'?: any;
|
|
1472
|
+
readonly 'text-neutrals'?: any;
|
|
1473
|
+
readonly 'text-neutrals-disabled'?: any;
|
|
1474
|
+
readonly 'text-neutrals-inverted'?: any;
|
|
1475
|
+
readonly 'text-neutrals-placeholder'?: any;
|
|
1476
|
+
readonly 'text-neutrals-placeholder-only'?: any;
|
|
1477
|
+
readonly 'text-neutrals-subtle'?: any;
|
|
1478
|
+
readonly 'text-neutrals-subtle-active'?: any;
|
|
1479
|
+
readonly 'text-neutrals-subtle-hover'?: any;
|
|
1480
|
+
readonly 'text-primary'?: any;
|
|
1481
|
+
readonly 'text-primary-active'?: any;
|
|
1482
|
+
readonly 'text-primary-hover'?: any;
|
|
1483
|
+
readonly 'text-primary-inverted'?: any;
|
|
1484
|
+
readonly 'text-primary-inverted-subtle'?: any;
|
|
1485
|
+
readonly 'text-primary-selected'?: any;
|
|
1486
|
+
readonly 'text-success'?: any;
|
|
1487
|
+
readonly 'text-warning'?: any;
|
|
1488
|
+
readonly 'icon-danger'?: any;
|
|
1489
|
+
readonly 'icon-danger-active'?: any;
|
|
1490
|
+
readonly 'icon-danger-hover'?: any;
|
|
1491
|
+
readonly 'icon-danger-inverted'?: any;
|
|
1492
|
+
readonly 'icon-neutrals'?: any;
|
|
1493
|
+
readonly 'icon-neutrals-disabled'?: any;
|
|
1494
|
+
readonly 'icon-neutrals-inactive'?: any;
|
|
1495
|
+
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
1496
|
+
readonly 'icon-neutrals-inverted'?: any;
|
|
1497
|
+
readonly 'icon-neutrals-search'?: any;
|
|
1498
|
+
readonly 'icon-neutrals-subtle'?: any;
|
|
1499
|
+
readonly 'icon-neutrals-text'?: any;
|
|
1500
|
+
readonly 'icon-primary'?: any;
|
|
1501
|
+
readonly 'icon-primary-active'?: any;
|
|
1502
|
+
readonly 'icon-primary-hover'?: any;
|
|
1503
|
+
readonly 'icon-primary-inverted'?: any;
|
|
1504
|
+
readonly 'icon-primary-selected'?: any;
|
|
1505
|
+
readonly 'icon-success'?: any;
|
|
1506
|
+
readonly 'icon-success-inverted'?: any;
|
|
1507
|
+
readonly 'icon-warning'?: any;
|
|
1508
|
+
readonly 'icon-warning-prominent'?: any;
|
|
1509
|
+
readonly 'border-danger'?: any;
|
|
1510
|
+
readonly 'border-danger-active'?: any;
|
|
1511
|
+
readonly 'border-danger-hover'?: any;
|
|
1512
|
+
readonly 'border-focus-inner'?: any;
|
|
1513
|
+
readonly 'border-focus-middle'?: any;
|
|
1514
|
+
readonly 'border-focus-outer'?: any;
|
|
1515
|
+
readonly 'border-neutrals'?: any;
|
|
1516
|
+
readonly 'border-neutrals-active'?: any;
|
|
1517
|
+
readonly 'border-neutrals-controls'?: any;
|
|
1518
|
+
readonly 'border-neutrals-controls-disabled'?: any;
|
|
1519
|
+
readonly 'border-neutrals-disabled'?: any;
|
|
1520
|
+
readonly 'border-neutrals-hover'?: any;
|
|
1521
|
+
readonly 'border-neutrals-inverted'?: any;
|
|
1522
|
+
readonly 'border-neutrals-subtle'?: any;
|
|
1523
|
+
readonly 'border-neutrals-text-subtle'?: any;
|
|
1524
|
+
readonly 'border-neutrals-text-subtle-active'?: any;
|
|
1525
|
+
readonly 'border-neutrals-text-subtle-hover'?: any;
|
|
1526
|
+
readonly 'border-primary'?: any;
|
|
1527
|
+
readonly 'border-primary-active'?: any;
|
|
1528
|
+
readonly 'border-primary-hover'?: any;
|
|
1529
|
+
readonly 'border-primary-inverted'?: any;
|
|
1530
|
+
readonly 'border-success'?: any;
|
|
1531
|
+
readonly 'border-warning'?: any;
|
|
1532
|
+
};
|
|
1533
|
+
'font-sizes': {
|
|
1534
|
+
readonly 150: "0.75rem";
|
|
1535
|
+
readonly 175: "0.875rem";
|
|
1536
|
+
readonly 200: "1rem";
|
|
1537
|
+
readonly 225: "1.125rem";
|
|
1538
|
+
readonly 250: "1.25rem";
|
|
1539
|
+
readonly 300: "1.5rem";
|
|
1540
|
+
readonly 400: "2rem";
|
|
1541
|
+
readonly 500: "2.5rem";
|
|
1542
|
+
readonly 600: "3rem";
|
|
1543
|
+
readonly 800: "4rem";
|
|
1544
|
+
readonly 900: "4.5rem";
|
|
1545
|
+
};
|
|
1546
|
+
radii: {
|
|
1547
|
+
readonly none: 0;
|
|
1548
|
+
readonly half: "999em";
|
|
1549
|
+
readonly 25: "2px";
|
|
1550
|
+
readonly 50: "4px";
|
|
1551
|
+
readonly 75: "6px";
|
|
1552
|
+
readonly 100: "8px";
|
|
1553
|
+
readonly 200: "16px";
|
|
1554
|
+
};
|
|
1555
|
+
shadows: {
|
|
1556
|
+
readonly 50: "0 4px 16px #05003812";
|
|
1557
|
+
readonly 100: "0 8px 32px #05003808";
|
|
1558
|
+
readonly 'focus-small': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-inner";
|
|
1559
|
+
readonly 'focus-small-outline': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 1px $colors$border-focus-middle, inset 0 0 0 2px $colors$border-focus-inner";
|
|
1560
|
+
readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
|
|
1561
|
+
readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
|
|
1562
|
+
};
|
|
1563
|
+
sizes: {
|
|
1564
|
+
readonly number: string;
|
|
1565
|
+
readonly 'icon-200': "16px";
|
|
1566
|
+
readonly 'icon-300': "24px";
|
|
1567
|
+
readonly 'icon-400': "32px";
|
|
1568
|
+
};
|
|
1569
|
+
space: {
|
|
1570
|
+
readonly 0: 0;
|
|
1571
|
+
readonly 50: "4px";
|
|
1572
|
+
readonly 100: "8px";
|
|
1573
|
+
readonly 150: "12px";
|
|
1574
|
+
readonly 200: "16px";
|
|
1575
|
+
readonly 300: "24px";
|
|
1576
|
+
readonly 400: "32px";
|
|
1577
|
+
readonly 500: "40px";
|
|
1578
|
+
readonly 600: "48px";
|
|
1579
|
+
readonly 800: "64px";
|
|
1580
|
+
readonly 1200: "96px";
|
|
1581
|
+
readonly 1600: "128px";
|
|
1582
|
+
};
|
|
1583
|
+
'space-gap': {
|
|
1584
|
+
readonly 0: any;
|
|
1585
|
+
readonly 50: any;
|
|
1586
|
+
readonly 100: any;
|
|
1587
|
+
readonly 200: any;
|
|
1588
|
+
readonly 300: any;
|
|
1589
|
+
};
|
|
1590
|
+
'space-inset': {
|
|
1591
|
+
readonly 0: any;
|
|
1592
|
+
readonly 50: any;
|
|
1593
|
+
readonly 100: any;
|
|
1594
|
+
readonly 150: any;
|
|
1595
|
+
readonly 200: any;
|
|
1596
|
+
readonly 300: any;
|
|
1597
|
+
readonly 400: any;
|
|
1598
|
+
readonly 600: any;
|
|
1599
|
+
readonly 800: any;
|
|
1600
|
+
readonly 1200: any;
|
|
1601
|
+
readonly 1600: any;
|
|
1602
|
+
};
|
|
1603
|
+
'space-offset': {
|
|
1604
|
+
readonly 0: any;
|
|
1605
|
+
readonly 50: any;
|
|
1606
|
+
readonly 100: any;
|
|
1607
|
+
readonly 150: any;
|
|
1608
|
+
readonly 200: any;
|
|
1609
|
+
readonly 300: any;
|
|
1610
|
+
readonly 400: any;
|
|
1611
|
+
readonly 600: any;
|
|
1612
|
+
readonly 800: any;
|
|
1613
|
+
readonly 1200: any;
|
|
1614
|
+
readonly 1600: any;
|
|
1615
|
+
readonly 'stacking-0': any;
|
|
1616
|
+
readonly 'stacking-100': any;
|
|
1617
|
+
readonly 'stacking-200': any;
|
|
1618
|
+
readonly 'stacking-300': any;
|
|
1619
|
+
readonly 'stacking-400': any;
|
|
1620
|
+
readonly 'stacking-500': any;
|
|
1621
|
+
readonly 'stacking-800': any;
|
|
1622
|
+
};
|
|
1623
|
+
'stroke-width': {
|
|
1624
|
+
readonly thin: "1.5px";
|
|
1625
|
+
readonly normal: "2px";
|
|
1626
|
+
readonly bold: "4px";
|
|
1627
|
+
};
|
|
1628
|
+
'z-indices': {
|
|
1629
|
+
readonly dropdownMenu: 100;
|
|
1630
|
+
readonly popover: 200;
|
|
1631
|
+
readonly tooltip: 300;
|
|
1632
|
+
};
|
|
1633
|
+
}, {
|
|
1634
|
+
readonly background: "colors";
|
|
1635
|
+
readonly backgroundColor: "colors";
|
|
1636
|
+
readonly backgroundImage: "colors";
|
|
1637
|
+
readonly blockSize: "sizes";
|
|
1638
|
+
readonly border: "colors";
|
|
1639
|
+
readonly borderBlock: "colors";
|
|
1640
|
+
readonly borderBlockEnd: "colors";
|
|
1641
|
+
readonly borderBlockStart: "colors";
|
|
1642
|
+
readonly borderBottom: "colors";
|
|
1643
|
+
readonly borderBottomColor: "colors";
|
|
1644
|
+
readonly borderBottomLeftRadius: "radii";
|
|
1645
|
+
readonly borderBottomRightRadius: "radii";
|
|
1646
|
+
readonly borderBottomStyle: "border-styles";
|
|
1647
|
+
readonly borderBottomWidth: "border-widths";
|
|
1648
|
+
readonly borderColor: "colors";
|
|
1649
|
+
readonly borderImage: "colors";
|
|
1650
|
+
readonly borderInline: "colors";
|
|
1651
|
+
readonly borderInlineEnd: "colors";
|
|
1652
|
+
readonly borderInlineStart: "colors";
|
|
1653
|
+
readonly borderLeft: "colors";
|
|
1654
|
+
readonly borderLeftColor: "colors";
|
|
1655
|
+
readonly borderLeftStyle: "border-styles";
|
|
1656
|
+
readonly borderLeftWidth: "border-widths";
|
|
1657
|
+
readonly borderRadius: "radii";
|
|
1658
|
+
readonly borderRight: "colors";
|
|
1659
|
+
readonly borderRightColor: "colors";
|
|
1660
|
+
readonly borderRightStyle: "border-styles";
|
|
1661
|
+
readonly borderRightWidth: "border-widths";
|
|
1662
|
+
readonly borderStyle: "border-styles";
|
|
1663
|
+
readonly borderTop: "colors";
|
|
1664
|
+
readonly borderTopColor: "colors";
|
|
1665
|
+
readonly borderTopLeftRadius: "radii";
|
|
1666
|
+
readonly borderTopRightRadius: "radii";
|
|
1667
|
+
readonly borderTopStyle: "border-styles";
|
|
1668
|
+
readonly borderTopWidth: "border-widths";
|
|
1669
|
+
readonly borderWidth: "border-widths";
|
|
1670
|
+
readonly bottom: "space";
|
|
1671
|
+
readonly boxShadow: "shadows";
|
|
1672
|
+
readonly caretColor: "colors";
|
|
1673
|
+
readonly color: "colors";
|
|
1674
|
+
readonly columnGap: "space-gap";
|
|
1675
|
+
readonly columnRuleColor: "colors";
|
|
1676
|
+
readonly fill: "colors";
|
|
1677
|
+
readonly flexBasis: "sizes";
|
|
1678
|
+
readonly fontFamily: "fonts";
|
|
1679
|
+
readonly fontSize: "font-sizes";
|
|
1680
|
+
readonly fontWeight: "font-weights";
|
|
1681
|
+
readonly gap: "space-gap";
|
|
1682
|
+
readonly gridColumnGap: "space-gap";
|
|
1683
|
+
readonly gridGap: "space-gap";
|
|
1684
|
+
readonly gridRowGap: "space-gap";
|
|
1685
|
+
readonly gridTemplateColumns: "sizes";
|
|
1686
|
+
readonly gridTemplateRows: "sizes";
|
|
1687
|
+
readonly height: "sizes";
|
|
1688
|
+
readonly inlineSize: "sizes";
|
|
1689
|
+
readonly inset: "space-inset";
|
|
1690
|
+
readonly insetBlock: "space-inset";
|
|
1691
|
+
readonly insetBlockEnd: "space-inset";
|
|
1692
|
+
readonly insetBlockStart: "space-inset";
|
|
1693
|
+
readonly insetInline: "space-inset";
|
|
1694
|
+
readonly insetInlineEnd: "space-inset";
|
|
1695
|
+
readonly insetInlineStart: "space-inset";
|
|
1696
|
+
readonly left: "space";
|
|
1697
|
+
readonly letterSpacing: "letter-spacings";
|
|
1698
|
+
readonly lineHeight: "line-heights";
|
|
1699
|
+
readonly margin: "space-offset";
|
|
1700
|
+
readonly marginBlock: "space-offset";
|
|
1701
|
+
readonly marginBlockEnd: "space-offset";
|
|
1702
|
+
readonly marginBlockStart: "space-offset";
|
|
1703
|
+
readonly marginBottom: "space-offset";
|
|
1704
|
+
readonly marginInline: "space-offset";
|
|
1705
|
+
readonly marginInlineEnd: "space-offset";
|
|
1706
|
+
readonly marginInlineStart: "space-offset";
|
|
1707
|
+
readonly marginLeft: "space-offset";
|
|
1708
|
+
readonly marginRight: "space-offset";
|
|
1709
|
+
readonly marginTop: "space-offset";
|
|
1710
|
+
readonly maxBlockSize: "sizes";
|
|
1711
|
+
readonly maxHeight: "sizes";
|
|
1712
|
+
readonly maxInlineSize: "sizes";
|
|
1713
|
+
readonly maxWidth: "sizes";
|
|
1714
|
+
readonly minBlockSize: "sizes";
|
|
1715
|
+
readonly minHeight: "sizes";
|
|
1716
|
+
readonly minInlineSize: "sizes";
|
|
1717
|
+
readonly minWidth: "sizes";
|
|
1718
|
+
readonly outline: "colors";
|
|
1719
|
+
readonly outlineColor: "colors";
|
|
1720
|
+
readonly padding: "space-inset";
|
|
1721
|
+
readonly paddingBlock: "space-inset";
|
|
1722
|
+
readonly paddingBlockEnd: "space-inset";
|
|
1723
|
+
readonly paddingBlockStart: "space-inset";
|
|
1724
|
+
readonly paddingBottom: "space-inset";
|
|
1725
|
+
readonly paddingInline: "space-inset";
|
|
1726
|
+
readonly paddingInlineEnd: "space-inset";
|
|
1727
|
+
readonly paddingInlineStart: "space-inset";
|
|
1728
|
+
readonly paddingLeft: "space-inset";
|
|
1729
|
+
readonly paddingRight: "space-inset";
|
|
1730
|
+
readonly paddingTop: "space-inset";
|
|
1731
|
+
readonly right: "space";
|
|
1732
|
+
readonly rowGap: "space-gap";
|
|
1733
|
+
readonly scrollMargin: "space-offset";
|
|
1734
|
+
readonly scrollMarginBlock: "space-offset";
|
|
1735
|
+
readonly scrollMarginBlockEnd: "space-offset";
|
|
1736
|
+
readonly scrollMarginBlockStart: "space-offset";
|
|
1737
|
+
readonly scrollMarginBottom: "space-offset";
|
|
1738
|
+
readonly scrollMarginInline: "space-offset";
|
|
1739
|
+
readonly scrollMarginInlineEnd: "space-offset";
|
|
1740
|
+
readonly scrollMarginInlineStart: "space-offset";
|
|
1741
|
+
readonly scrollMarginLeft: "space-offset";
|
|
1742
|
+
readonly scrollMarginRight: "space-offset";
|
|
1743
|
+
readonly scrollMarginTop: "space-offset";
|
|
1744
|
+
readonly scrollPadding: "space-inset";
|
|
1745
|
+
readonly scrollPaddingBlock: "space-inset";
|
|
1746
|
+
readonly scrollPaddingBlockEnd: "space-inset";
|
|
1747
|
+
readonly scrollPaddingBlockStart: "space-inset";
|
|
1748
|
+
readonly scrollPaddingBottom: "space-inset";
|
|
1749
|
+
readonly scrollPaddingInline: "space-inset";
|
|
1750
|
+
readonly scrollPaddingInlineEnd: "space-inset";
|
|
1751
|
+
readonly scrollPaddingInlineStart: "space-inset";
|
|
1752
|
+
readonly scrollPaddingLeft: "space-inset";
|
|
1753
|
+
readonly scrollPaddingRight: "space-inset";
|
|
1754
|
+
readonly scrollPaddingTop: "space-inset";
|
|
1755
|
+
readonly stroke: "colors";
|
|
1756
|
+
readonly strokeWidth: "stroke-width";
|
|
1757
|
+
readonly textDecorationColor: "colors";
|
|
1758
|
+
readonly textShadow: "shadows";
|
|
1759
|
+
readonly top: "space";
|
|
1760
|
+
readonly transition: "transitions";
|
|
1761
|
+
readonly width: "sizes";
|
|
1762
|
+
readonly zIndex: "z-indices";
|
|
1763
|
+
}, {
|
|
1764
|
+
paddingX: (value: {
|
|
1765
|
+
readonly [$$PropertyValue]: "padding";
|
|
1766
|
+
}) => {
|
|
1767
|
+
paddingLeft: {
|
|
1768
|
+
readonly [$$PropertyValue]: "padding";
|
|
1769
|
+
};
|
|
1770
|
+
paddingRight: {
|
|
1771
|
+
readonly [$$PropertyValue]: "padding";
|
|
1772
|
+
};
|
|
1773
|
+
};
|
|
1774
|
+
paddingY: (value: {
|
|
1775
|
+
readonly [$$PropertyValue]: "padding";
|
|
1776
|
+
}) => {
|
|
1777
|
+
paddingTop: {
|
|
1778
|
+
readonly [$$PropertyValue]: "padding";
|
|
1779
|
+
};
|
|
1780
|
+
paddingBottom: {
|
|
1781
|
+
readonly [$$PropertyValue]: "padding";
|
|
1782
|
+
};
|
|
1783
|
+
};
|
|
1784
|
+
marginX: (value: {
|
|
1785
|
+
readonly [$$PropertyValue]: "margin";
|
|
1786
|
+
}) => {
|
|
1787
|
+
marginLeft: {
|
|
1788
|
+
readonly [$$PropertyValue]: "margin";
|
|
1789
|
+
};
|
|
1790
|
+
marginRight: {
|
|
1791
|
+
readonly [$$PropertyValue]: "margin";
|
|
1792
|
+
};
|
|
1793
|
+
};
|
|
1794
|
+
marginY: (value: {
|
|
1795
|
+
readonly [$$PropertyValue]: "margin";
|
|
1796
|
+
}) => {
|
|
1797
|
+
marginTop: {
|
|
1798
|
+
readonly [$$PropertyValue]: "margin";
|
|
1799
|
+
};
|
|
1800
|
+
marginBottom: {
|
|
1801
|
+
readonly [$$PropertyValue]: "margin";
|
|
1802
|
+
};
|
|
1803
|
+
};
|
|
1804
|
+
square: (value: {
|
|
1805
|
+
readonly [$$PropertyValue]: "width";
|
|
1806
|
+
}) => {
|
|
1807
|
+
width: {
|
|
1808
|
+
readonly [$$PropertyValue]: "width";
|
|
1809
|
+
};
|
|
1810
|
+
height: {
|
|
1811
|
+
readonly [$$PropertyValue]: "width";
|
|
1812
|
+
};
|
|
1813
|
+
};
|
|
1814
|
+
}> | undefined;
|
|
1815
|
+
})> & {
|
|
1816
|
+
children?: react.ReactNode;
|
|
1817
|
+
} & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<(Omit<Omit<Omit<{}, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
1818
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
1819
|
+
} & {
|
|
1820
|
+
asChild?: boolean | undefined;
|
|
1821
|
+
}, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
|
|
1822
|
+
css?: _stitches_react_types_css_util.CSS<{}, {
|
|
1823
|
+
'border-widths': {
|
|
1824
|
+
readonly none: 0;
|
|
1825
|
+
readonly sm: "1px";
|
|
1826
|
+
readonly md: "2px";
|
|
1827
|
+
readonly lg: "4px";
|
|
1828
|
+
};
|
|
1829
|
+
colors: {
|
|
1830
|
+
readonly 'blue-100': any;
|
|
1831
|
+
readonly 'blue-200': any;
|
|
1832
|
+
readonly 'blue-300': any;
|
|
1833
|
+
readonly 'blue-400': any;
|
|
1834
|
+
readonly 'blue-500': any;
|
|
1835
|
+
readonly 'blue-600': any;
|
|
1836
|
+
readonly 'blue-700': any;
|
|
1837
|
+
readonly 'blue-800': any;
|
|
1838
|
+
readonly 'blue-900': any;
|
|
1839
|
+
readonly 'blue-1000': any;
|
|
1840
|
+
readonly 'gray-100': any;
|
|
1841
|
+
readonly 'gray-200': any;
|
|
1842
|
+
readonly 'gray-300': any;
|
|
1843
|
+
readonly 'gray-400': any;
|
|
1844
|
+
readonly 'gray-500': any;
|
|
1845
|
+
readonly 'gray-600': any;
|
|
1846
|
+
readonly 'gray-700': any;
|
|
1847
|
+
readonly 'gray-800': any;
|
|
1848
|
+
readonly 'gray-900': any;
|
|
1849
|
+
readonly 'indigo-100': any;
|
|
1850
|
+
readonly 'indigo-200': any;
|
|
1851
|
+
readonly 'indigo-300': any;
|
|
1852
|
+
readonly 'indigo-400': any;
|
|
1853
|
+
readonly 'indigo-500': any;
|
|
1854
|
+
readonly 'indigo-600': any;
|
|
1855
|
+
readonly 'indigo-700': any;
|
|
1856
|
+
readonly 'indigo-800': any;
|
|
1857
|
+
readonly 'indigo-900': any;
|
|
1858
|
+
readonly 'red-100': any;
|
|
1859
|
+
readonly 'red-200': any;
|
|
1860
|
+
readonly 'red-300': any;
|
|
1861
|
+
readonly 'red-400': any;
|
|
1862
|
+
readonly 'red-500': any;
|
|
1863
|
+
readonly 'red-600': any;
|
|
1864
|
+
readonly 'red-700': any;
|
|
1865
|
+
readonly 'red-800': any;
|
|
1866
|
+
readonly 'red-900': any;
|
|
1867
|
+
readonly 'yellow-100': any;
|
|
1868
|
+
readonly 'yellow-200': any;
|
|
1869
|
+
readonly 'yellow-300': any;
|
|
1870
|
+
readonly 'yellow-400': any;
|
|
1871
|
+
readonly 'yellow-500': any;
|
|
1872
|
+
readonly 'yellow-600': any;
|
|
1873
|
+
readonly 'yellow-700': any;
|
|
1874
|
+
readonly 'yellow-800': any;
|
|
1875
|
+
readonly 'yellow-900': any;
|
|
1876
|
+
readonly 'green-100': any;
|
|
1877
|
+
readonly 'green-200': any;
|
|
1878
|
+
readonly 'green-300': any;
|
|
1879
|
+
readonly 'green-400': any;
|
|
1880
|
+
readonly 'green-500': any;
|
|
1881
|
+
readonly 'green-600': any;
|
|
1882
|
+
readonly 'green-700': any;
|
|
1883
|
+
readonly 'green-800': any;
|
|
1884
|
+
readonly 'green-900': any;
|
|
1885
|
+
readonly black: any;
|
|
1886
|
+
readonly white: any;
|
|
1887
|
+
readonly transparent: any;
|
|
1888
|
+
readonly 'background-danger'?: any;
|
|
1889
|
+
readonly 'background-danger-hover'?: any;
|
|
1890
|
+
readonly 'background-danger-prominent'?: any;
|
|
1891
|
+
readonly 'background-danger-prominent-active'?: any;
|
|
1892
|
+
readonly 'background-danger-prominent-hover'?: any;
|
|
1893
|
+
readonly 'background-neutrals'?: any;
|
|
1894
|
+
readonly 'background-neutrals-container'?: any;
|
|
1895
|
+
readonly 'background-neutrals-controls-disabled'?: any;
|
|
1896
|
+
readonly 'background-neutrals-disabled'?: any;
|
|
1897
|
+
readonly 'background-neutrals-inactive'?: any;
|
|
1898
|
+
readonly 'background-neutrals-inactive-hover'?: any;
|
|
1899
|
+
readonly 'background-neutrals-inverted'?: any;
|
|
1900
|
+
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
1901
|
+
readonly 'background-neutrals-page'?: any;
|
|
1902
|
+
readonly 'background-neutrals-page-subtle'?: any;
|
|
1903
|
+
readonly 'background-neutrals-scrolls'?: any;
|
|
1904
|
+
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
1905
|
+
readonly 'background-neutrals-subtle'?: any;
|
|
1906
|
+
readonly 'background-neutrals-subtle-active'?: any;
|
|
1907
|
+
readonly 'background-neutrals-subtle-hover'?: any;
|
|
1908
|
+
readonly 'background-primary-prominent'?: any;
|
|
1909
|
+
readonly 'background-primary-prominent-active'?: any;
|
|
1910
|
+
readonly 'background-primary-prominent-hover'?: any;
|
|
1911
|
+
readonly 'background-primary-prominent-selected'?: any;
|
|
1912
|
+
readonly 'background-primary-subtle'?: any;
|
|
1913
|
+
readonly 'background-primary-subtle-active'?: any;
|
|
1914
|
+
readonly 'background-primary-subtle-hover'?: any;
|
|
1915
|
+
readonly 'background-primary-subtle-selected'?: any;
|
|
1916
|
+
readonly 'background-success'?: any;
|
|
1917
|
+
readonly 'background-warning-prominent'?: any;
|
|
1918
|
+
readonly 'background-warning-subtle'?: any;
|
|
1919
|
+
readonly 'text-danger'?: any;
|
|
1920
|
+
readonly 'text-danger-active'?: any;
|
|
1921
|
+
readonly 'text-danger-hover'?: any;
|
|
1922
|
+
readonly 'text-danger-inverted'?: any;
|
|
1923
|
+
readonly 'text-neutrals'?: any;
|
|
1924
|
+
readonly 'text-neutrals-disabled'?: any;
|
|
1925
|
+
readonly 'text-neutrals-inverted'?: any;
|
|
1926
|
+
readonly 'text-neutrals-placeholder'?: any;
|
|
1927
|
+
readonly 'text-neutrals-placeholder-only'?: any;
|
|
1928
|
+
readonly 'text-neutrals-subtle'?: any;
|
|
1929
|
+
readonly 'text-neutrals-subtle-active'?: any;
|
|
1930
|
+
readonly 'text-neutrals-subtle-hover'?: any;
|
|
1931
|
+
readonly 'text-primary'?: any;
|
|
1932
|
+
readonly 'text-primary-active'?: any;
|
|
1933
|
+
readonly 'text-primary-hover'?: any;
|
|
1934
|
+
readonly 'text-primary-inverted'?: any;
|
|
1935
|
+
readonly 'text-primary-inverted-subtle'?: any;
|
|
1936
|
+
readonly 'text-primary-selected'?: any;
|
|
1937
|
+
readonly 'text-success'?: any;
|
|
1938
|
+
readonly 'text-warning'?: any;
|
|
1939
|
+
readonly 'icon-danger'?: any;
|
|
1940
|
+
readonly 'icon-danger-active'?: any;
|
|
1941
|
+
readonly 'icon-danger-hover'?: any;
|
|
1942
|
+
readonly 'icon-danger-inverted'?: any;
|
|
1943
|
+
readonly 'icon-neutrals'?: any;
|
|
1944
|
+
readonly 'icon-neutrals-disabled'?: any;
|
|
1945
|
+
readonly 'icon-neutrals-inactive'?: any;
|
|
1946
|
+
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
1947
|
+
readonly 'icon-neutrals-inverted'?: any;
|
|
1948
|
+
readonly 'icon-neutrals-search'?: any;
|
|
1949
|
+
readonly 'icon-neutrals-subtle'?: any;
|
|
1950
|
+
readonly 'icon-neutrals-text'?: any;
|
|
1951
|
+
readonly 'icon-primary'?: any;
|
|
1952
|
+
readonly 'icon-primary-active'?: any;
|
|
1953
|
+
readonly 'icon-primary-hover'?: any;
|
|
1954
|
+
readonly 'icon-primary-inverted'?: any;
|
|
1955
|
+
readonly 'icon-primary-selected'?: any;
|
|
1956
|
+
readonly 'icon-success'?: any;
|
|
1957
|
+
readonly 'icon-success-inverted'?: any;
|
|
1958
|
+
readonly 'icon-warning'?: any;
|
|
1959
|
+
readonly 'icon-warning-prominent'?: any;
|
|
1960
|
+
readonly 'border-danger'?: any;
|
|
1961
|
+
readonly 'border-danger-active'?: any;
|
|
1962
|
+
readonly 'border-danger-hover'?: any;
|
|
1963
|
+
readonly 'border-focus-inner'?: any;
|
|
1964
|
+
readonly 'border-focus-middle'?: any;
|
|
1965
|
+
readonly 'border-focus-outer'?: any;
|
|
1966
|
+
readonly 'border-neutrals'?: any;
|
|
1967
|
+
readonly 'border-neutrals-active'?: any;
|
|
1968
|
+
readonly 'border-neutrals-controls'?: any;
|
|
1969
|
+
readonly 'border-neutrals-controls-disabled'?: any;
|
|
1970
|
+
readonly 'border-neutrals-disabled'?: any;
|
|
1971
|
+
readonly 'border-neutrals-hover'?: any;
|
|
1972
|
+
readonly 'border-neutrals-inverted'?: any;
|
|
1973
|
+
readonly 'border-neutrals-subtle'?: any;
|
|
1974
|
+
readonly 'border-neutrals-text-subtle'?: any;
|
|
1975
|
+
readonly 'border-neutrals-text-subtle-active'?: any;
|
|
1976
|
+
readonly 'border-neutrals-text-subtle-hover'?: any;
|
|
1977
|
+
readonly 'border-primary'?: any;
|
|
1978
|
+
readonly 'border-primary-active'?: any;
|
|
1979
|
+
readonly 'border-primary-hover'?: any;
|
|
1980
|
+
readonly 'border-primary-inverted'?: any;
|
|
1981
|
+
readonly 'border-success'?: any;
|
|
1982
|
+
readonly 'border-warning'?: any;
|
|
1983
|
+
};
|
|
1984
|
+
'font-sizes': {
|
|
1985
|
+
readonly 150: "0.75rem";
|
|
1986
|
+
readonly 175: "0.875rem";
|
|
1987
|
+
readonly 200: "1rem";
|
|
1988
|
+
readonly 225: "1.125rem";
|
|
1989
|
+
readonly 250: "1.25rem";
|
|
1990
|
+
readonly 300: "1.5rem";
|
|
1991
|
+
readonly 400: "2rem";
|
|
1992
|
+
readonly 500: "2.5rem";
|
|
1993
|
+
readonly 600: "3rem";
|
|
1994
|
+
readonly 800: "4rem";
|
|
1995
|
+
readonly 900: "4.5rem";
|
|
1996
|
+
};
|
|
1997
|
+
radii: {
|
|
1998
|
+
readonly none: 0;
|
|
1999
|
+
readonly half: "999em";
|
|
2000
|
+
readonly 25: "2px";
|
|
2001
|
+
readonly 50: "4px";
|
|
2002
|
+
readonly 75: "6px";
|
|
2003
|
+
readonly 100: "8px";
|
|
2004
|
+
readonly 200: "16px";
|
|
2005
|
+
};
|
|
2006
|
+
shadows: {
|
|
2007
|
+
readonly 50: "0 4px 16px #05003812";
|
|
2008
|
+
readonly 100: "0 8px 32px #05003808";
|
|
2009
|
+
readonly 'focus-small': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-inner";
|
|
2010
|
+
readonly 'focus-small-outline': "0 0 0 2px $colors$border-focus-outer, inset 0 0 0 1px $colors$border-focus-middle, inset 0 0 0 2px $colors$border-focus-inner";
|
|
2011
|
+
readonly 'focus-large': "0 0 0 4px $colors$border-focus-inner, inset 0 0 0 2px $colors$border-focus-middle, inset 0 0 0 3px $colors$border-focus-outer";
|
|
2012
|
+
readonly 'focus-controls': "0 0 0 1px $colors$border-focus-inner, 0 0 0 3px $colors$border-focus-middle, 0 0 0 5px $colors$border-focus-outer";
|
|
2013
|
+
};
|
|
2014
|
+
sizes: {
|
|
2015
|
+
readonly number: string;
|
|
2016
|
+
readonly 'icon-200': "16px";
|
|
2017
|
+
readonly 'icon-300': "24px";
|
|
2018
|
+
readonly 'icon-400': "32px";
|
|
2019
|
+
};
|
|
2020
|
+
space: {
|
|
2021
|
+
readonly 0: 0;
|
|
2022
|
+
readonly 50: "4px";
|
|
2023
|
+
readonly 100: "8px";
|
|
2024
|
+
readonly 150: "12px";
|
|
2025
|
+
readonly 200: "16px";
|
|
2026
|
+
readonly 300: "24px";
|
|
2027
|
+
readonly 400: "32px";
|
|
2028
|
+
readonly 500: "40px";
|
|
2029
|
+
readonly 600: "48px";
|
|
2030
|
+
readonly 800: "64px";
|
|
2031
|
+
readonly 1200: "96px";
|
|
2032
|
+
readonly 1600: "128px";
|
|
2033
|
+
};
|
|
2034
|
+
'space-gap': {
|
|
2035
|
+
readonly 0: any;
|
|
2036
|
+
readonly 50: any;
|
|
2037
|
+
readonly 100: any;
|
|
2038
|
+
readonly 200: any;
|
|
2039
|
+
readonly 300: any;
|
|
2040
|
+
};
|
|
2041
|
+
'space-inset': {
|
|
2042
|
+
readonly 0: any;
|
|
2043
|
+
readonly 50: any;
|
|
2044
|
+
readonly 100: any;
|
|
2045
|
+
readonly 150: any;
|
|
2046
|
+
readonly 200: any;
|
|
2047
|
+
readonly 300: any;
|
|
2048
|
+
readonly 400: any;
|
|
2049
|
+
readonly 600: any;
|
|
2050
|
+
readonly 800: any;
|
|
2051
|
+
readonly 1200: any;
|
|
2052
|
+
readonly 1600: any;
|
|
2053
|
+
};
|
|
2054
|
+
'space-offset': {
|
|
2055
|
+
readonly 0: any;
|
|
2056
|
+
readonly 50: any;
|
|
2057
|
+
readonly 100: any;
|
|
2058
|
+
readonly 150: any;
|
|
2059
|
+
readonly 200: any;
|
|
2060
|
+
readonly 300: any;
|
|
2061
|
+
readonly 400: any;
|
|
2062
|
+
readonly 600: any;
|
|
2063
|
+
readonly 800: any;
|
|
2064
|
+
readonly 1200: any;
|
|
2065
|
+
readonly 1600: any;
|
|
2066
|
+
readonly 'stacking-0': any;
|
|
2067
|
+
readonly 'stacking-100': any;
|
|
2068
|
+
readonly 'stacking-200': any;
|
|
2069
|
+
readonly 'stacking-300': any;
|
|
2070
|
+
readonly 'stacking-400': any;
|
|
2071
|
+
readonly 'stacking-500': any;
|
|
2072
|
+
readonly 'stacking-800': any;
|
|
2073
|
+
};
|
|
2074
|
+
'stroke-width': {
|
|
2075
|
+
readonly thin: "1.5px";
|
|
2076
|
+
readonly normal: "2px";
|
|
2077
|
+
readonly bold: "4px";
|
|
2078
|
+
};
|
|
2079
|
+
'z-indices': {
|
|
2080
|
+
readonly dropdownMenu: 100;
|
|
2081
|
+
readonly popover: 200;
|
|
2082
|
+
readonly tooltip: 300;
|
|
2083
|
+
};
|
|
2084
|
+
}, {
|
|
2085
|
+
readonly background: "colors";
|
|
2086
|
+
readonly backgroundColor: "colors";
|
|
2087
|
+
readonly backgroundImage: "colors";
|
|
2088
|
+
readonly blockSize: "sizes";
|
|
2089
|
+
readonly border: "colors";
|
|
2090
|
+
readonly borderBlock: "colors";
|
|
2091
|
+
readonly borderBlockEnd: "colors";
|
|
2092
|
+
readonly borderBlockStart: "colors";
|
|
2093
|
+
readonly borderBottom: "colors";
|
|
2094
|
+
readonly borderBottomColor: "colors";
|
|
2095
|
+
readonly borderBottomLeftRadius: "radii";
|
|
2096
|
+
readonly borderBottomRightRadius: "radii";
|
|
2097
|
+
readonly borderBottomStyle: "border-styles";
|
|
2098
|
+
readonly borderBottomWidth: "border-widths";
|
|
2099
|
+
readonly borderColor: "colors";
|
|
2100
|
+
readonly borderImage: "colors";
|
|
2101
|
+
readonly borderInline: "colors";
|
|
2102
|
+
readonly borderInlineEnd: "colors";
|
|
2103
|
+
readonly borderInlineStart: "colors";
|
|
2104
|
+
readonly borderLeft: "colors";
|
|
2105
|
+
readonly borderLeftColor: "colors";
|
|
2106
|
+
readonly borderLeftStyle: "border-styles";
|
|
2107
|
+
readonly borderLeftWidth: "border-widths";
|
|
2108
|
+
readonly borderRadius: "radii";
|
|
2109
|
+
readonly borderRight: "colors";
|
|
2110
|
+
readonly borderRightColor: "colors";
|
|
2111
|
+
readonly borderRightStyle: "border-styles";
|
|
2112
|
+
readonly borderRightWidth: "border-widths";
|
|
2113
|
+
readonly borderStyle: "border-styles";
|
|
2114
|
+
readonly borderTop: "colors";
|
|
2115
|
+
readonly borderTopColor: "colors";
|
|
2116
|
+
readonly borderTopLeftRadius: "radii";
|
|
2117
|
+
readonly borderTopRightRadius: "radii";
|
|
2118
|
+
readonly borderTopStyle: "border-styles";
|
|
2119
|
+
readonly borderTopWidth: "border-widths";
|
|
2120
|
+
readonly borderWidth: "border-widths";
|
|
2121
|
+
readonly bottom: "space";
|
|
2122
|
+
readonly boxShadow: "shadows";
|
|
2123
|
+
readonly caretColor: "colors";
|
|
2124
|
+
readonly color: "colors";
|
|
2125
|
+
readonly columnGap: "space-gap";
|
|
2126
|
+
readonly columnRuleColor: "colors";
|
|
2127
|
+
readonly fill: "colors";
|
|
2128
|
+
readonly flexBasis: "sizes";
|
|
2129
|
+
readonly fontFamily: "fonts";
|
|
2130
|
+
readonly fontSize: "font-sizes";
|
|
2131
|
+
readonly fontWeight: "font-weights";
|
|
2132
|
+
readonly gap: "space-gap";
|
|
2133
|
+
readonly gridColumnGap: "space-gap";
|
|
2134
|
+
readonly gridGap: "space-gap";
|
|
2135
|
+
readonly gridRowGap: "space-gap";
|
|
2136
|
+
readonly gridTemplateColumns: "sizes";
|
|
2137
|
+
readonly gridTemplateRows: "sizes";
|
|
2138
|
+
readonly height: "sizes";
|
|
2139
|
+
readonly inlineSize: "sizes";
|
|
2140
|
+
readonly inset: "space-inset";
|
|
2141
|
+
readonly insetBlock: "space-inset";
|
|
2142
|
+
readonly insetBlockEnd: "space-inset";
|
|
2143
|
+
readonly insetBlockStart: "space-inset";
|
|
2144
|
+
readonly insetInline: "space-inset";
|
|
2145
|
+
readonly insetInlineEnd: "space-inset";
|
|
2146
|
+
readonly insetInlineStart: "space-inset";
|
|
2147
|
+
readonly left: "space";
|
|
2148
|
+
readonly letterSpacing: "letter-spacings";
|
|
2149
|
+
readonly lineHeight: "line-heights";
|
|
2150
|
+
readonly margin: "space-offset";
|
|
2151
|
+
readonly marginBlock: "space-offset";
|
|
2152
|
+
readonly marginBlockEnd: "space-offset";
|
|
2153
|
+
readonly marginBlockStart: "space-offset";
|
|
2154
|
+
readonly marginBottom: "space-offset";
|
|
2155
|
+
readonly marginInline: "space-offset";
|
|
2156
|
+
readonly marginInlineEnd: "space-offset";
|
|
2157
|
+
readonly marginInlineStart: "space-offset";
|
|
2158
|
+
readonly marginLeft: "space-offset";
|
|
2159
|
+
readonly marginRight: "space-offset";
|
|
2160
|
+
readonly marginTop: "space-offset";
|
|
2161
|
+
readonly maxBlockSize: "sizes";
|
|
2162
|
+
readonly maxHeight: "sizes";
|
|
2163
|
+
readonly maxInlineSize: "sizes";
|
|
2164
|
+
readonly maxWidth: "sizes";
|
|
2165
|
+
readonly minBlockSize: "sizes";
|
|
2166
|
+
readonly minHeight: "sizes";
|
|
2167
|
+
readonly minInlineSize: "sizes";
|
|
2168
|
+
readonly minWidth: "sizes";
|
|
2169
|
+
readonly outline: "colors";
|
|
2170
|
+
readonly outlineColor: "colors";
|
|
2171
|
+
readonly padding: "space-inset";
|
|
2172
|
+
readonly paddingBlock: "space-inset";
|
|
2173
|
+
readonly paddingBlockEnd: "space-inset";
|
|
2174
|
+
readonly paddingBlockStart: "space-inset";
|
|
2175
|
+
readonly paddingBottom: "space-inset";
|
|
2176
|
+
readonly paddingInline: "space-inset";
|
|
2177
|
+
readonly paddingInlineEnd: "space-inset";
|
|
2178
|
+
readonly paddingInlineStart: "space-inset";
|
|
2179
|
+
readonly paddingLeft: "space-inset";
|
|
2180
|
+
readonly paddingRight: "space-inset";
|
|
2181
|
+
readonly paddingTop: "space-inset";
|
|
2182
|
+
readonly right: "space";
|
|
2183
|
+
readonly rowGap: "space-gap";
|
|
2184
|
+
readonly scrollMargin: "space-offset";
|
|
2185
|
+
readonly scrollMarginBlock: "space-offset";
|
|
2186
|
+
readonly scrollMarginBlockEnd: "space-offset";
|
|
2187
|
+
readonly scrollMarginBlockStart: "space-offset";
|
|
2188
|
+
readonly scrollMarginBottom: "space-offset";
|
|
2189
|
+
readonly scrollMarginInline: "space-offset";
|
|
2190
|
+
readonly scrollMarginInlineEnd: "space-offset";
|
|
2191
|
+
readonly scrollMarginInlineStart: "space-offset";
|
|
2192
|
+
readonly scrollMarginLeft: "space-offset";
|
|
2193
|
+
readonly scrollMarginRight: "space-offset";
|
|
2194
|
+
readonly scrollMarginTop: "space-offset";
|
|
2195
|
+
readonly scrollPadding: "space-inset";
|
|
2196
|
+
readonly scrollPaddingBlock: "space-inset";
|
|
2197
|
+
readonly scrollPaddingBlockEnd: "space-inset";
|
|
2198
|
+
readonly scrollPaddingBlockStart: "space-inset";
|
|
2199
|
+
readonly scrollPaddingBottom: "space-inset";
|
|
2200
|
+
readonly scrollPaddingInline: "space-inset";
|
|
2201
|
+
readonly scrollPaddingInlineEnd: "space-inset";
|
|
2202
|
+
readonly scrollPaddingInlineStart: "space-inset";
|
|
2203
|
+
readonly scrollPaddingLeft: "space-inset";
|
|
2204
|
+
readonly scrollPaddingRight: "space-inset";
|
|
2205
|
+
readonly scrollPaddingTop: "space-inset";
|
|
2206
|
+
readonly stroke: "colors";
|
|
2207
|
+
readonly strokeWidth: "stroke-width";
|
|
2208
|
+
readonly textDecorationColor: "colors";
|
|
2209
|
+
readonly textShadow: "shadows";
|
|
2210
|
+
readonly top: "space";
|
|
2211
|
+
readonly transition: "transitions";
|
|
2212
|
+
readonly width: "sizes";
|
|
2213
|
+
readonly zIndex: "z-indices";
|
|
2214
|
+
}, {
|
|
2215
|
+
paddingX: (value: {
|
|
2216
|
+
readonly [$$PropertyValue]: "padding";
|
|
2217
|
+
}) => {
|
|
2218
|
+
paddingLeft: {
|
|
2219
|
+
readonly [$$PropertyValue]: "padding";
|
|
2220
|
+
};
|
|
2221
|
+
paddingRight: {
|
|
2222
|
+
readonly [$$PropertyValue]: "padding";
|
|
2223
|
+
};
|
|
2224
|
+
};
|
|
2225
|
+
paddingY: (value: {
|
|
2226
|
+
readonly [$$PropertyValue]: "padding";
|
|
2227
|
+
}) => {
|
|
2228
|
+
paddingTop: {
|
|
2229
|
+
readonly [$$PropertyValue]: "padding";
|
|
2230
|
+
};
|
|
2231
|
+
paddingBottom: {
|
|
2232
|
+
readonly [$$PropertyValue]: "padding";
|
|
2233
|
+
};
|
|
2234
|
+
};
|
|
2235
|
+
marginX: (value: {
|
|
2236
|
+
readonly [$$PropertyValue]: "margin";
|
|
2237
|
+
}) => {
|
|
2238
|
+
marginLeft: {
|
|
2239
|
+
readonly [$$PropertyValue]: "margin";
|
|
2240
|
+
};
|
|
2241
|
+
marginRight: {
|
|
2242
|
+
readonly [$$PropertyValue]: "margin";
|
|
2243
|
+
};
|
|
2244
|
+
};
|
|
2245
|
+
marginY: (value: {
|
|
2246
|
+
readonly [$$PropertyValue]: "margin";
|
|
2247
|
+
}) => {
|
|
2248
|
+
marginTop: {
|
|
2249
|
+
readonly [$$PropertyValue]: "margin";
|
|
2250
|
+
};
|
|
2251
|
+
marginBottom: {
|
|
2252
|
+
readonly [$$PropertyValue]: "margin";
|
|
2253
|
+
};
|
|
2254
|
+
};
|
|
2255
|
+
square: (value: {
|
|
2256
|
+
readonly [$$PropertyValue]: "width";
|
|
2257
|
+
}) => {
|
|
2258
|
+
width: {
|
|
2259
|
+
readonly [$$PropertyValue]: "width";
|
|
2260
|
+
};
|
|
2261
|
+
height: {
|
|
2262
|
+
readonly [$$PropertyValue]: "width";
|
|
2263
|
+
};
|
|
2264
|
+
};
|
|
2265
|
+
}> | undefined;
|
|
2266
|
+
}> & {
|
|
2267
|
+
children?: react.ReactNode;
|
|
2268
|
+
} & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> | Omit<Omit<Omit<{}, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
2269
|
+
ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
|
|
2270
|
+
} & {
|
|
2271
|
+
asChild?: boolean | undefined;
|
|
2272
|
+
}, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
|
|
20
2273
|
css?: _stitches_react_types_css_util.CSS<{}, {
|
|
21
2274
|
'border-widths': {
|
|
22
2275
|
readonly none: 0;
|
|
@@ -463,7 +2716,9 @@ declare const StyledButton: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
463
2716
|
}> | undefined;
|
|
464
2717
|
}> & {
|
|
465
2718
|
children?: react.ReactNode;
|
|
466
|
-
} & _mirohq_design_system_stitches.CustomStylesProps, "form" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "size" | "target" | "href" | "rel" | "asChild" | keyof _mirohq_design_system_stitches.CustomStylesProps | "onPress" | "onPressStart" | "onPressEnd" | "onPressChange" | "onFocusChange" | "excludeFromTabOrder" | "onHoverStart" | "onHoverEnd" | "onHoverChange" | "variant" | "rounded" | "fluid"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<Pick<_mirohq_design_system_base_button.BaseButtonProps, "form" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "target" | "href" | "rel" | "asChild" | "css" | "UNSAFE_style" | "onPress" | "onPressStart" | "onPressEnd" | "onPressChange" | "onFocusChange" | "excludeFromTabOrder" | "onHoverStart" | "onHoverEnd" | "onHoverChange"> & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {
|
|
2719
|
+
} & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
|
|
2720
|
+
href: string;
|
|
2721
|
+
}, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>, {
|
|
467
2722
|
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
468
2723
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
469
2724
|
rounded?: boolean | "true" | undefined;
|
|
@@ -471,7 +2726,7 @@ declare const StyledButton: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
471
2726
|
}, {}>;
|
|
472
2727
|
declare type StyledButtonProps = ComponentPropsWithRef<typeof StyledButton>;
|
|
473
2728
|
|
|
474
|
-
declare const StyledIconSlot: react__default.ForwardRefExoticComponent<
|
|
2729
|
+
declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Omit<Omit<{}, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Omit<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
475
2730
|
ref?: ((instance: HTMLDivElement | null) => void) | react__default.RefObject<HTMLDivElement> | null | undefined;
|
|
476
2731
|
} & {
|
|
477
2732
|
asChild?: boolean | undefined;
|
|
@@ -922,7 +3177,7 @@ declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Pick<Omit
|
|
|
922
3177
|
}> | undefined;
|
|
923
3178
|
}> & {
|
|
924
3179
|
children?: react__default.ReactNode;
|
|
925
|
-
} & _mirohq_design_system_stitches.CustomStylesProps, "
|
|
3180
|
+
} & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
|
|
926
3181
|
declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
|
|
927
3182
|
interface IconSlotProps extends StyledIconSlotProps {
|
|
928
3183
|
/**
|
|
@@ -930,11 +3185,11 @@ interface IconSlotProps extends StyledIconSlotProps {
|
|
|
930
3185
|
*/
|
|
931
3186
|
children: react__default.ReactNode;
|
|
932
3187
|
}
|
|
933
|
-
declare const IconSlot: react__default.ForwardRefExoticComponent<
|
|
3188
|
+
declare const IconSlot: react__default.ForwardRefExoticComponent<Omit<IconSlotProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
934
3189
|
|
|
935
3190
|
declare const Label: react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"span">>;
|
|
936
3191
|
|
|
937
|
-
|
|
3192
|
+
declare type ButtonProps = {
|
|
938
3193
|
/**
|
|
939
3194
|
* Change the button style.
|
|
940
3195
|
*/
|
|
@@ -955,7 +3210,7 @@ interface ButtonProps extends StyledButtonProps {
|
|
|
955
3210
|
* Make width 100%.
|
|
956
3211
|
*/
|
|
957
3212
|
fluid?: StyledButtonProps['fluid'];
|
|
958
|
-
}
|
|
3213
|
+
} & BaseButtonProps;
|
|
959
3214
|
declare const Button: react__default.ForwardRefExoticComponent<ButtonProps> & Partials;
|
|
960
3215
|
interface Partials {
|
|
961
3216
|
IconSlot: typeof IconSlot;
|