@mirohq/design-system-button 3.2.0-icon-types.0 → 4.0.0-button-api-changes.1
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 +146 -113
- package/dist/main.js.map +1 -1
- package/dist/module.js +146 -113
- package/dist/module.js.map +1 -1
- package/dist/types.d.ts +26 -900
- package/package.json +9 -19
package/dist/types.d.ts
CHANGED
|
@@ -1,918 +1,39 @@
|
|
|
1
|
+
import { BaseButtonProps } from '@mirohq/design-system-base-button';
|
|
1
2
|
import * as react from 'react';
|
|
2
3
|
import react__default, { ComponentPropsWithRef } from 'react';
|
|
3
|
-
import * as
|
|
4
|
-
import * as
|
|
5
|
-
import * as _mirohq_design_system_base_button 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';
|
|
6
6
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
7
|
+
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
7
8
|
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
8
9
|
|
|
9
|
-
declare const StyledButton: react.ForwardRefExoticComponent<
|
|
10
|
-
|
|
10
|
+
declare const StyledButton: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _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<HTMLAnchorElement | HTMLButtonElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
11
|
+
children?: react.ReactNode;
|
|
12
|
+
}, "size" | "variant" | "rounded" | "fluid"> & _stitches_react_types_styled_component.TransformProps<{
|
|
13
|
+
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "ghost-subtle" | "danger" | "danger-secondary" | "ghost-danger" | undefined;
|
|
11
14
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
12
15
|
rounded?: boolean | "true" | undefined;
|
|
13
16
|
fluid?: boolean | "true" | undefined;
|
|
17
|
+
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _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"> & {
|
|
18
|
+
href: string;
|
|
19
|
+
}, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
20
|
+
children?: react.ReactNode;
|
|
14
21
|
}, "size" | "variant" | "rounded" | "fluid"> & _stitches_react_types_styled_component.TransformProps<{
|
|
15
|
-
variant?: "
|
|
22
|
+
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "ghost-subtle" | "danger" | "danger-secondary" | "ghost-danger" | undefined;
|
|
16
23
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
17
24
|
rounded?: boolean | "true" | undefined;
|
|
18
25
|
fluid?: boolean | "true" | undefined;
|
|
19
|
-
}, {}> & _mirohq_design_system_stitches.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
readonly sm: "1px";
|
|
24
|
-
readonly md: "2px";
|
|
25
|
-
readonly lg: "4px";
|
|
26
|
-
};
|
|
27
|
-
colors: {
|
|
28
|
-
readonly 'blue-100': any;
|
|
29
|
-
readonly 'blue-200': any;
|
|
30
|
-
readonly 'blue-300': any;
|
|
31
|
-
readonly 'blue-400': any;
|
|
32
|
-
readonly 'blue-500': any;
|
|
33
|
-
readonly 'blue-600': any;
|
|
34
|
-
readonly 'blue-700': any;
|
|
35
|
-
readonly 'blue-800': any;
|
|
36
|
-
readonly 'blue-900': any;
|
|
37
|
-
readonly 'blue-1000': any;
|
|
38
|
-
readonly 'gray-100': any;
|
|
39
|
-
readonly 'gray-200': any;
|
|
40
|
-
readonly 'gray-300': any;
|
|
41
|
-
readonly 'gray-400': any;
|
|
42
|
-
readonly 'gray-500': any;
|
|
43
|
-
readonly 'gray-600': any;
|
|
44
|
-
readonly 'gray-700': any;
|
|
45
|
-
readonly 'gray-800': any;
|
|
46
|
-
readonly 'gray-900': any;
|
|
47
|
-
readonly 'indigo-100': any;
|
|
48
|
-
readonly 'indigo-200': any;
|
|
49
|
-
readonly 'indigo-300': any;
|
|
50
|
-
readonly 'indigo-400': any;
|
|
51
|
-
readonly 'indigo-500': any;
|
|
52
|
-
readonly 'indigo-600': any;
|
|
53
|
-
readonly 'indigo-700': any;
|
|
54
|
-
readonly 'indigo-800': any;
|
|
55
|
-
readonly 'indigo-900': any;
|
|
56
|
-
readonly 'red-100': any;
|
|
57
|
-
readonly 'red-200': any;
|
|
58
|
-
readonly 'red-300': any;
|
|
59
|
-
readonly 'red-400': any;
|
|
60
|
-
readonly 'red-500': any;
|
|
61
|
-
readonly 'red-600': any;
|
|
62
|
-
readonly 'red-700': any;
|
|
63
|
-
readonly 'red-800': any;
|
|
64
|
-
readonly 'red-900': any;
|
|
65
|
-
readonly 'yellow-100': any;
|
|
66
|
-
readonly 'yellow-200': any;
|
|
67
|
-
readonly 'yellow-300': any;
|
|
68
|
-
readonly 'yellow-400': any;
|
|
69
|
-
readonly 'yellow-500': any;
|
|
70
|
-
readonly 'yellow-600': any;
|
|
71
|
-
readonly 'yellow-700': any;
|
|
72
|
-
readonly 'yellow-800': any;
|
|
73
|
-
readonly 'yellow-900': any;
|
|
74
|
-
readonly 'green-100': any;
|
|
75
|
-
readonly 'green-200': any;
|
|
76
|
-
readonly 'green-300': any;
|
|
77
|
-
readonly 'green-400': any;
|
|
78
|
-
readonly 'green-500': any;
|
|
79
|
-
readonly 'green-600': any;
|
|
80
|
-
readonly 'green-700': any;
|
|
81
|
-
readonly 'green-800': any;
|
|
82
|
-
readonly 'green-900': any;
|
|
83
|
-
readonly black: any;
|
|
84
|
-
readonly white: any;
|
|
85
|
-
readonly transparent: any;
|
|
86
|
-
readonly 'background-danger'?: any;
|
|
87
|
-
readonly 'background-danger-hover'?: any;
|
|
88
|
-
readonly 'background-danger-prominent'?: any;
|
|
89
|
-
readonly 'background-danger-prominent-active'?: any;
|
|
90
|
-
readonly 'background-danger-prominent-hover'?: any;
|
|
91
|
-
readonly 'background-neutrals'?: any;
|
|
92
|
-
readonly 'background-neutrals-body'?: any;
|
|
93
|
-
readonly 'background-neutrals-container'?: any;
|
|
94
|
-
readonly 'background-neutrals-controls-disabled'?: any;
|
|
95
|
-
readonly 'background-neutrals-disabled'?: any;
|
|
96
|
-
readonly 'background-neutrals-inactive'?: any;
|
|
97
|
-
readonly 'background-neutrals-inactive-hover'?: any;
|
|
98
|
-
readonly 'background-neutrals-inverted'?: any;
|
|
99
|
-
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
100
|
-
readonly 'background-neutrals-scrolls'?: any;
|
|
101
|
-
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
102
|
-
readonly 'background-neutrals-subtle'?: any;
|
|
103
|
-
readonly 'background-neutrals-subtle-active'?: any;
|
|
104
|
-
readonly 'background-neutrals-subtle-hover'?: any;
|
|
105
|
-
readonly 'background-primary-prominent'?: any;
|
|
106
|
-
readonly 'background-primary-prominent-active'?: any;
|
|
107
|
-
readonly 'background-primary-prominent-hover'?: any;
|
|
108
|
-
readonly 'background-primary-prominent-selected'?: any;
|
|
109
|
-
readonly 'background-primary-subtle'?: any;
|
|
110
|
-
readonly 'background-primary-subtle-active'?: any;
|
|
111
|
-
readonly 'background-primary-subtle-hover'?: any;
|
|
112
|
-
readonly 'background-primary-subtle-selected'?: any;
|
|
113
|
-
readonly 'background-success'?: any;
|
|
114
|
-
readonly 'background-warning-prominent'?: any;
|
|
115
|
-
readonly 'background-warning-subtle'?: any;
|
|
116
|
-
readonly 'text-danger'?: any;
|
|
117
|
-
readonly 'text-danger-active'?: any;
|
|
118
|
-
readonly 'text-danger-hover'?: any;
|
|
119
|
-
readonly 'text-danger-inverted'?: any;
|
|
120
|
-
readonly 'text-neutrals'?: any;
|
|
121
|
-
readonly 'text-neutrals-disabled'?: any;
|
|
122
|
-
readonly 'text-neutrals-inverted'?: any;
|
|
123
|
-
readonly 'text-neutrals-link'?: any;
|
|
124
|
-
readonly 'text-neutrals-link-active'?: any;
|
|
125
|
-
readonly 'text-neutrals-link-hover'?: any;
|
|
126
|
-
readonly 'text-neutrals-placeholder'?: any;
|
|
127
|
-
readonly 'text-neutrals-placeholder-only'?: any;
|
|
128
|
-
readonly 'text-neutrals-subtle'?: any;
|
|
129
|
-
readonly 'text-primary'?: any;
|
|
130
|
-
readonly 'text-primary-active'?: any;
|
|
131
|
-
readonly 'text-primary-hover'?: any;
|
|
132
|
-
readonly 'text-primary-inverted'?: any;
|
|
133
|
-
readonly 'text-primary-inverted-subtle'?: any;
|
|
134
|
-
readonly 'text-primary-selected'?: any;
|
|
135
|
-
readonly 'text-success'?: any;
|
|
136
|
-
readonly 'text-warning'?: any;
|
|
137
|
-
readonly 'icon-danger'?: any;
|
|
138
|
-
readonly 'icon-danger-active'?: any;
|
|
139
|
-
readonly 'icon-danger-hover'?: any;
|
|
140
|
-
readonly 'icon-danger-inverted'?: any;
|
|
141
|
-
readonly 'icon-neutrals'?: any;
|
|
142
|
-
readonly 'icon-neutrals-disabled'?: any;
|
|
143
|
-
readonly 'icon-neutrals-inactive'?: any;
|
|
144
|
-
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
145
|
-
readonly 'icon-neutrals-inverted'?: any;
|
|
146
|
-
readonly 'icon-neutrals-search'?: any;
|
|
147
|
-
readonly 'icon-neutrals-subtle'?: any;
|
|
148
|
-
readonly 'icon-neutrals-with-text'?: any;
|
|
149
|
-
readonly 'icon-primary'?: any;
|
|
150
|
-
readonly 'icon-primary-active'?: any;
|
|
151
|
-
readonly 'icon-primary-hover'?: any;
|
|
152
|
-
readonly 'icon-primary-inverted'?: any;
|
|
153
|
-
readonly 'icon-primary-selected'?: any;
|
|
154
|
-
readonly 'icon-success'?: any;
|
|
155
|
-
readonly 'icon-success-inverted'?: any;
|
|
156
|
-
readonly 'icon-warning'?: any;
|
|
157
|
-
readonly 'border-danger'?: any;
|
|
158
|
-
readonly 'border-focus-inner'?: any;
|
|
159
|
-
readonly 'border-focus-middle'?: any;
|
|
160
|
-
readonly 'border-focus-outer'?: any;
|
|
161
|
-
readonly 'border-neutrals'?: any;
|
|
162
|
-
readonly 'border-neutrals-active'?: any;
|
|
163
|
-
readonly 'border-neutrals-controls'?: any;
|
|
164
|
-
readonly 'border-neutrals-controls-disabled'?: any;
|
|
165
|
-
readonly 'border-neutrals-disabled'?: any;
|
|
166
|
-
readonly 'border-neutrals-hover'?: any;
|
|
167
|
-
readonly 'border-neutrals-inverted'?: any;
|
|
168
|
-
readonly 'border-neutrals-subtle'?: any;
|
|
169
|
-
readonly 'border-primary'?: any;
|
|
170
|
-
readonly 'border-primary-active'?: any;
|
|
171
|
-
readonly 'border-primary-hover'?: any;
|
|
172
|
-
readonly 'border-primary-inverted'?: any;
|
|
173
|
-
readonly 'border-success'?: any;
|
|
174
|
-
readonly 'border-warning'?: any;
|
|
175
|
-
};
|
|
176
|
-
'font-sizes': {
|
|
177
|
-
readonly 150: "0.75rem";
|
|
178
|
-
readonly 175: "0.875rem";
|
|
179
|
-
readonly 200: "1rem";
|
|
180
|
-
readonly 225: "1.125rem";
|
|
181
|
-
readonly 250: "1.25rem";
|
|
182
|
-
readonly 300: "1.5rem";
|
|
183
|
-
readonly 400: "2rem";
|
|
184
|
-
readonly 500: "2.5rem";
|
|
185
|
-
readonly 600: "3rem";
|
|
186
|
-
readonly 800: "4rem";
|
|
187
|
-
readonly 900: "4.5rem";
|
|
188
|
-
};
|
|
189
|
-
radii: {
|
|
190
|
-
readonly none: 0;
|
|
191
|
-
readonly half: "999em";
|
|
192
|
-
readonly 25: "2px";
|
|
193
|
-
readonly 50: "4px";
|
|
194
|
-
readonly 75: "6px";
|
|
195
|
-
readonly 100: "8px";
|
|
196
|
-
readonly 200: "16px";
|
|
197
|
-
};
|
|
198
|
-
shadows: {
|
|
199
|
-
readonly 50: "0 4px 16px #05003812";
|
|
200
|
-
readonly 100: "0 8px 32px #05003808";
|
|
201
|
-
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";
|
|
202
|
-
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";
|
|
203
|
-
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";
|
|
204
|
-
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";
|
|
205
|
-
};
|
|
206
|
-
sizes: {
|
|
207
|
-
readonly number: string;
|
|
208
|
-
readonly 'icon-200': "16px";
|
|
209
|
-
readonly 'icon-300': "24px";
|
|
210
|
-
readonly 'icon-400': "32px";
|
|
211
|
-
};
|
|
212
|
-
space: {
|
|
213
|
-
readonly none: 0;
|
|
214
|
-
readonly 50: "4px";
|
|
215
|
-
readonly 100: "8px";
|
|
216
|
-
readonly 150: "12px";
|
|
217
|
-
readonly 200: "16px";
|
|
218
|
-
readonly 300: "24px";
|
|
219
|
-
readonly 400: "32px";
|
|
220
|
-
readonly 500: "64px";
|
|
221
|
-
readonly 600: "48px";
|
|
222
|
-
readonly 800: "64px";
|
|
223
|
-
readonly 1200: "96px";
|
|
224
|
-
readonly 1600: "128px";
|
|
225
|
-
};
|
|
226
|
-
'space-gap': {
|
|
227
|
-
readonly none: any;
|
|
228
|
-
readonly 50: any;
|
|
229
|
-
readonly 100: any;
|
|
230
|
-
readonly 200: any;
|
|
231
|
-
readonly 300: any;
|
|
232
|
-
};
|
|
233
|
-
'space-inset': {
|
|
234
|
-
readonly none: any;
|
|
235
|
-
readonly 50: any;
|
|
236
|
-
readonly 100: any;
|
|
237
|
-
readonly 150: any;
|
|
238
|
-
readonly 200: any;
|
|
239
|
-
readonly 300: any;
|
|
240
|
-
readonly 400: any;
|
|
241
|
-
readonly 600: any;
|
|
242
|
-
readonly 800: any;
|
|
243
|
-
readonly 1200: any;
|
|
244
|
-
readonly 1600: any;
|
|
245
|
-
};
|
|
246
|
-
'space-offset': {
|
|
247
|
-
readonly none: any;
|
|
248
|
-
readonly 50: any;
|
|
249
|
-
readonly 100: any;
|
|
250
|
-
readonly 150: any;
|
|
251
|
-
readonly 200: any;
|
|
252
|
-
readonly 300: any;
|
|
253
|
-
readonly 400: any;
|
|
254
|
-
readonly 600: any;
|
|
255
|
-
readonly 800: any;
|
|
256
|
-
readonly 1200: any;
|
|
257
|
-
readonly 1600: any;
|
|
258
|
-
readonly 'stacking-none': any;
|
|
259
|
-
readonly 'stacking-100': any;
|
|
260
|
-
readonly 'stacking-200': any;
|
|
261
|
-
readonly 'stacking-300': any;
|
|
262
|
-
readonly 'stacking-400': any;
|
|
263
|
-
readonly 'stacking-500': any;
|
|
264
|
-
readonly 'stacking-800': any;
|
|
265
|
-
};
|
|
266
|
-
'stroke-width': {
|
|
267
|
-
readonly thin: "1.5px";
|
|
268
|
-
readonly normal: "2px";
|
|
269
|
-
readonly bold: "4px";
|
|
270
|
-
};
|
|
271
|
-
'z-indices': {
|
|
272
|
-
readonly dropdownMenu: 100;
|
|
273
|
-
readonly popover: 200;
|
|
274
|
-
readonly tooltip: 300;
|
|
275
|
-
};
|
|
276
|
-
}, {
|
|
277
|
-
readonly background: "colors";
|
|
278
|
-
readonly backgroundColor: "colors";
|
|
279
|
-
readonly backgroundImage: "colors";
|
|
280
|
-
readonly blockSize: "sizes";
|
|
281
|
-
readonly border: "colors";
|
|
282
|
-
readonly borderBlock: "colors";
|
|
283
|
-
readonly borderBlockEnd: "colors";
|
|
284
|
-
readonly borderBlockStart: "colors";
|
|
285
|
-
readonly borderBottom: "colors";
|
|
286
|
-
readonly borderBottomColor: "colors";
|
|
287
|
-
readonly borderBottomLeftRadius: "radii";
|
|
288
|
-
readonly borderBottomRightRadius: "radii";
|
|
289
|
-
readonly borderBottomStyle: "border-styles";
|
|
290
|
-
readonly borderBottomWidth: "border-widths";
|
|
291
|
-
readonly borderColor: "colors";
|
|
292
|
-
readonly borderImage: "colors";
|
|
293
|
-
readonly borderInline: "colors";
|
|
294
|
-
readonly borderInlineEnd: "colors";
|
|
295
|
-
readonly borderInlineStart: "colors";
|
|
296
|
-
readonly borderLeft: "colors";
|
|
297
|
-
readonly borderLeftColor: "colors";
|
|
298
|
-
readonly borderLeftStyle: "border-styles";
|
|
299
|
-
readonly borderLeftWidth: "border-widths";
|
|
300
|
-
readonly borderRadius: "radii";
|
|
301
|
-
readonly borderRight: "colors";
|
|
302
|
-
readonly borderRightColor: "colors";
|
|
303
|
-
readonly borderRightStyle: "border-styles";
|
|
304
|
-
readonly borderRightWidth: "border-widths";
|
|
305
|
-
readonly borderStyle: "border-styles";
|
|
306
|
-
readonly borderTop: "colors";
|
|
307
|
-
readonly borderTopColor: "colors";
|
|
308
|
-
readonly borderTopLeftRadius: "radii";
|
|
309
|
-
readonly borderTopRightRadius: "radii";
|
|
310
|
-
readonly borderTopStyle: "border-styles";
|
|
311
|
-
readonly borderTopWidth: "border-widths";
|
|
312
|
-
readonly borderWidth: "border-widths";
|
|
313
|
-
readonly bottom: "space";
|
|
314
|
-
readonly boxShadow: "shadows";
|
|
315
|
-
readonly caretColor: "colors";
|
|
316
|
-
readonly color: "colors";
|
|
317
|
-
readonly columnGap: "space-gap";
|
|
318
|
-
readonly columnRuleColor: "colors";
|
|
319
|
-
readonly fill: "colors";
|
|
320
|
-
readonly flexBasis: "sizes";
|
|
321
|
-
readonly fontFamily: "fonts";
|
|
322
|
-
readonly fontSize: "font-sizes";
|
|
323
|
-
readonly fontWeight: "font-weights";
|
|
324
|
-
readonly gap: "space-gap";
|
|
325
|
-
readonly gridColumnGap: "space-gap";
|
|
326
|
-
readonly gridGap: "space-gap";
|
|
327
|
-
readonly gridRowGap: "space-gap";
|
|
328
|
-
readonly gridTemplateColumns: "sizes";
|
|
329
|
-
readonly gridTemplateRows: "sizes";
|
|
330
|
-
readonly height: "sizes";
|
|
331
|
-
readonly inlineSize: "sizes";
|
|
332
|
-
readonly inset: "space-inset";
|
|
333
|
-
readonly insetBlock: "space-inset";
|
|
334
|
-
readonly insetBlockEnd: "space-inset";
|
|
335
|
-
readonly insetBlockStart: "space-inset";
|
|
336
|
-
readonly insetInline: "space-inset";
|
|
337
|
-
readonly insetInlineEnd: "space-inset";
|
|
338
|
-
readonly insetInlineStart: "space-inset";
|
|
339
|
-
readonly left: "space";
|
|
340
|
-
readonly letterSpacing: "letter-spacings";
|
|
341
|
-
readonly lineHeight: "line-heights";
|
|
342
|
-
readonly margin: "space-offset";
|
|
343
|
-
readonly marginBlock: "space-offset";
|
|
344
|
-
readonly marginBlockEnd: "space-offset";
|
|
345
|
-
readonly marginBlockStart: "space-offset";
|
|
346
|
-
readonly marginBottom: "space-offset";
|
|
347
|
-
readonly marginInline: "space-offset";
|
|
348
|
-
readonly marginInlineEnd: "space-offset";
|
|
349
|
-
readonly marginInlineStart: "space-offset";
|
|
350
|
-
readonly marginLeft: "space-offset";
|
|
351
|
-
readonly marginRight: "space-offset";
|
|
352
|
-
readonly marginTop: "space-offset";
|
|
353
|
-
readonly maxBlockSize: "sizes";
|
|
354
|
-
readonly maxHeight: "sizes";
|
|
355
|
-
readonly maxInlineSize: "sizes";
|
|
356
|
-
readonly maxWidth: "sizes";
|
|
357
|
-
readonly minBlockSize: "sizes";
|
|
358
|
-
readonly minHeight: "sizes";
|
|
359
|
-
readonly minInlineSize: "sizes";
|
|
360
|
-
readonly minWidth: "sizes";
|
|
361
|
-
readonly outline: "colors";
|
|
362
|
-
readonly outlineColor: "colors";
|
|
363
|
-
readonly padding: "space-inset";
|
|
364
|
-
readonly paddingBlock: "space-inset";
|
|
365
|
-
readonly paddingBlockEnd: "space-inset";
|
|
366
|
-
readonly paddingBlockStart: "space-inset";
|
|
367
|
-
readonly paddingBottom: "space-inset";
|
|
368
|
-
readonly paddingInline: "space-inset";
|
|
369
|
-
readonly paddingInlineEnd: "space-inset";
|
|
370
|
-
readonly paddingInlineStart: "space-inset";
|
|
371
|
-
readonly paddingLeft: "space-inset";
|
|
372
|
-
readonly paddingRight: "space-inset";
|
|
373
|
-
readonly paddingTop: "space-inset";
|
|
374
|
-
readonly right: "space";
|
|
375
|
-
readonly rowGap: "space-gap";
|
|
376
|
-
readonly scrollMargin: "space-offset";
|
|
377
|
-
readonly scrollMarginBlock: "space-offset";
|
|
378
|
-
readonly scrollMarginBlockEnd: "space-offset";
|
|
379
|
-
readonly scrollMarginBlockStart: "space-offset";
|
|
380
|
-
readonly scrollMarginBottom: "space-offset";
|
|
381
|
-
readonly scrollMarginInline: "space-offset";
|
|
382
|
-
readonly scrollMarginInlineEnd: "space-offset";
|
|
383
|
-
readonly scrollMarginInlineStart: "space-offset";
|
|
384
|
-
readonly scrollMarginLeft: "space-offset";
|
|
385
|
-
readonly scrollMarginRight: "space-offset";
|
|
386
|
-
readonly scrollMarginTop: "space-offset";
|
|
387
|
-
readonly scrollPadding: "space-inset";
|
|
388
|
-
readonly scrollPaddingBlock: "space-inset";
|
|
389
|
-
readonly scrollPaddingBlockEnd: "space-inset";
|
|
390
|
-
readonly scrollPaddingBlockStart: "space-inset";
|
|
391
|
-
readonly scrollPaddingBottom: "space-inset";
|
|
392
|
-
readonly scrollPaddingInline: "space-inset";
|
|
393
|
-
readonly scrollPaddingInlineEnd: "space-inset";
|
|
394
|
-
readonly scrollPaddingInlineStart: "space-inset";
|
|
395
|
-
readonly scrollPaddingLeft: "space-inset";
|
|
396
|
-
readonly scrollPaddingRight: "space-inset";
|
|
397
|
-
readonly scrollPaddingTop: "space-inset";
|
|
398
|
-
readonly stroke: "colors";
|
|
399
|
-
readonly strokeWidth: "stroke-width";
|
|
400
|
-
readonly textDecorationColor: "colors";
|
|
401
|
-
readonly textShadow: "shadows";
|
|
402
|
-
readonly top: "space";
|
|
403
|
-
readonly transition: "transitions";
|
|
404
|
-
readonly width: "sizes";
|
|
405
|
-
readonly zIndex: "z-indices";
|
|
406
|
-
}, {
|
|
407
|
-
paddingX: (value: {
|
|
408
|
-
readonly [$$PropertyValue]: "padding";
|
|
409
|
-
}) => {
|
|
410
|
-
paddingLeft: {
|
|
411
|
-
readonly [$$PropertyValue]: "padding";
|
|
412
|
-
};
|
|
413
|
-
paddingRight: {
|
|
414
|
-
readonly [$$PropertyValue]: "padding";
|
|
415
|
-
};
|
|
416
|
-
};
|
|
417
|
-
paddingY: (value: {
|
|
418
|
-
readonly [$$PropertyValue]: "padding";
|
|
419
|
-
}) => {
|
|
420
|
-
paddingTop: {
|
|
421
|
-
readonly [$$PropertyValue]: "padding";
|
|
422
|
-
};
|
|
423
|
-
paddingBottom: {
|
|
424
|
-
readonly [$$PropertyValue]: "padding";
|
|
425
|
-
};
|
|
426
|
-
};
|
|
427
|
-
marginX: (value: {
|
|
428
|
-
readonly [$$PropertyValue]: "margin";
|
|
429
|
-
}) => {
|
|
430
|
-
marginLeft: {
|
|
431
|
-
readonly [$$PropertyValue]: "margin";
|
|
432
|
-
};
|
|
433
|
-
marginRight: {
|
|
434
|
-
readonly [$$PropertyValue]: "margin";
|
|
435
|
-
};
|
|
436
|
-
};
|
|
437
|
-
marginY: (value: {
|
|
438
|
-
readonly [$$PropertyValue]: "margin";
|
|
439
|
-
}) => {
|
|
440
|
-
marginTop: {
|
|
441
|
-
readonly [$$PropertyValue]: "margin";
|
|
442
|
-
};
|
|
443
|
-
marginBottom: {
|
|
444
|
-
readonly [$$PropertyValue]: "margin";
|
|
445
|
-
};
|
|
446
|
-
};
|
|
447
|
-
square: (value: {
|
|
448
|
-
readonly [$$PropertyValue]: "width";
|
|
449
|
-
}) => {
|
|
450
|
-
width: {
|
|
451
|
-
readonly [$$PropertyValue]: "width";
|
|
452
|
-
};
|
|
453
|
-
height: {
|
|
454
|
-
readonly [$$PropertyValue]: "width";
|
|
455
|
-
};
|
|
456
|
-
};
|
|
457
|
-
}> | undefined;
|
|
458
|
-
}> & {
|
|
459
|
-
children?: react.ReactNode;
|
|
460
|
-
} & _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>>, {
|
|
461
|
-
variant?: "solid-prominent" | "outline-prominent" | "ghost-prominent" | "solid-subtle" | "outline-subtle" | "ghost-subtle" | "solid-danger" | "outline-danger" | "ghost-danger" | undefined;
|
|
26
|
+
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<(Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _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<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _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"> & {
|
|
27
|
+
href: string;
|
|
28
|
+
}, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {
|
|
29
|
+
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "ghost-subtle" | "danger" | "danger-secondary" | "ghost-danger" | undefined;
|
|
462
30
|
size?: "small" | "medium" | "large" | "x-large" | undefined;
|
|
463
31
|
rounded?: boolean | "true" | undefined;
|
|
464
32
|
fluid?: boolean | "true" | undefined;
|
|
465
33
|
}, {}>;
|
|
466
34
|
declare type StyledButtonProps = ComponentPropsWithRef<typeof StyledButton>;
|
|
467
35
|
|
|
468
|
-
declare const StyledIconSlot: react__default.ForwardRefExoticComponent<
|
|
469
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react__default.RefObject<HTMLDivElement> | null | undefined;
|
|
470
|
-
} & {
|
|
471
|
-
asChild?: boolean | undefined;
|
|
472
|
-
}, "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-body'?: any;
|
|
546
|
-
readonly 'background-neutrals-container'?: any;
|
|
547
|
-
readonly 'background-neutrals-controls-disabled'?: any;
|
|
548
|
-
readonly 'background-neutrals-disabled'?: any;
|
|
549
|
-
readonly 'background-neutrals-inactive'?: any;
|
|
550
|
-
readonly 'background-neutrals-inactive-hover'?: any;
|
|
551
|
-
readonly 'background-neutrals-inverted'?: any;
|
|
552
|
-
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
553
|
-
readonly 'background-neutrals-scrolls'?: any;
|
|
554
|
-
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
555
|
-
readonly 'background-neutrals-subtle'?: any;
|
|
556
|
-
readonly 'background-neutrals-subtle-active'?: any;
|
|
557
|
-
readonly 'background-neutrals-subtle-hover'?: any;
|
|
558
|
-
readonly 'background-primary-prominent'?: any;
|
|
559
|
-
readonly 'background-primary-prominent-active'?: any;
|
|
560
|
-
readonly 'background-primary-prominent-hover'?: any;
|
|
561
|
-
readonly 'background-primary-prominent-selected'?: any;
|
|
562
|
-
readonly 'background-primary-subtle'?: any;
|
|
563
|
-
readonly 'background-primary-subtle-active'?: any;
|
|
564
|
-
readonly 'background-primary-subtle-hover'?: any;
|
|
565
|
-
readonly 'background-primary-subtle-selected'?: any;
|
|
566
|
-
readonly 'background-success'?: any;
|
|
567
|
-
readonly 'background-warning-prominent'?: any;
|
|
568
|
-
readonly 'background-warning-subtle'?: any;
|
|
569
|
-
readonly 'text-danger'?: any;
|
|
570
|
-
readonly 'text-danger-active'?: any;
|
|
571
|
-
readonly 'text-danger-hover'?: any;
|
|
572
|
-
readonly 'text-danger-inverted'?: any;
|
|
573
|
-
readonly 'text-neutrals'?: any;
|
|
574
|
-
readonly 'text-neutrals-disabled'?: any;
|
|
575
|
-
readonly 'text-neutrals-inverted'?: any;
|
|
576
|
-
readonly 'text-neutrals-link'?: any;
|
|
577
|
-
readonly 'text-neutrals-link-active'?: any;
|
|
578
|
-
readonly 'text-neutrals-link-hover'?: any;
|
|
579
|
-
readonly 'text-neutrals-placeholder'?: any;
|
|
580
|
-
readonly 'text-neutrals-placeholder-only'?: any;
|
|
581
|
-
readonly 'text-neutrals-subtle'?: 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-with-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 'border-danger'?: any;
|
|
611
|
-
readonly 'border-focus-inner'?: any;
|
|
612
|
-
readonly 'border-focus-middle'?: any;
|
|
613
|
-
readonly 'border-focus-outer'?: any;
|
|
614
|
-
readonly 'border-neutrals'?: any;
|
|
615
|
-
readonly 'border-neutrals-active'?: any;
|
|
616
|
-
readonly 'border-neutrals-controls'?: any;
|
|
617
|
-
readonly 'border-neutrals-controls-disabled'?: any;
|
|
618
|
-
readonly 'border-neutrals-disabled'?: any;
|
|
619
|
-
readonly 'border-neutrals-hover'?: any;
|
|
620
|
-
readonly 'border-neutrals-inverted'?: any;
|
|
621
|
-
readonly 'border-neutrals-subtle'?: any;
|
|
622
|
-
readonly 'border-primary'?: any;
|
|
623
|
-
readonly 'border-primary-active'?: any;
|
|
624
|
-
readonly 'border-primary-hover'?: any;
|
|
625
|
-
readonly 'border-primary-inverted'?: any;
|
|
626
|
-
readonly 'border-success'?: any;
|
|
627
|
-
readonly 'border-warning'?: any;
|
|
628
|
-
};
|
|
629
|
-
'font-sizes': {
|
|
630
|
-
readonly 150: "0.75rem";
|
|
631
|
-
readonly 175: "0.875rem";
|
|
632
|
-
readonly 200: "1rem";
|
|
633
|
-
readonly 225: "1.125rem";
|
|
634
|
-
readonly 250: "1.25rem";
|
|
635
|
-
readonly 300: "1.5rem";
|
|
636
|
-
readonly 400: "2rem";
|
|
637
|
-
readonly 500: "2.5rem";
|
|
638
|
-
readonly 600: "3rem";
|
|
639
|
-
readonly 800: "4rem";
|
|
640
|
-
readonly 900: "4.5rem";
|
|
641
|
-
};
|
|
642
|
-
radii: {
|
|
643
|
-
readonly none: 0;
|
|
644
|
-
readonly half: "999em";
|
|
645
|
-
readonly 25: "2px";
|
|
646
|
-
readonly 50: "4px";
|
|
647
|
-
readonly 75: "6px";
|
|
648
|
-
readonly 100: "8px";
|
|
649
|
-
readonly 200: "16px";
|
|
650
|
-
};
|
|
651
|
-
shadows: {
|
|
652
|
-
readonly 50: "0 4px 16px #05003812";
|
|
653
|
-
readonly 100: "0 8px 32px #05003808";
|
|
654
|
-
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";
|
|
655
|
-
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";
|
|
656
|
-
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";
|
|
657
|
-
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";
|
|
658
|
-
};
|
|
659
|
-
sizes: {
|
|
660
|
-
readonly number: string;
|
|
661
|
-
readonly 'icon-200': "16px";
|
|
662
|
-
readonly 'icon-300': "24px";
|
|
663
|
-
readonly 'icon-400': "32px";
|
|
664
|
-
};
|
|
665
|
-
space: {
|
|
666
|
-
readonly none: 0;
|
|
667
|
-
readonly 50: "4px";
|
|
668
|
-
readonly 100: "8px";
|
|
669
|
-
readonly 150: "12px";
|
|
670
|
-
readonly 200: "16px";
|
|
671
|
-
readonly 300: "24px";
|
|
672
|
-
readonly 400: "32px";
|
|
673
|
-
readonly 500: "64px";
|
|
674
|
-
readonly 600: "48px";
|
|
675
|
-
readonly 800: "64px";
|
|
676
|
-
readonly 1200: "96px";
|
|
677
|
-
readonly 1600: "128px";
|
|
678
|
-
};
|
|
679
|
-
'space-gap': {
|
|
680
|
-
readonly none: any;
|
|
681
|
-
readonly 50: any;
|
|
682
|
-
readonly 100: any;
|
|
683
|
-
readonly 200: any;
|
|
684
|
-
readonly 300: any;
|
|
685
|
-
};
|
|
686
|
-
'space-inset': {
|
|
687
|
-
readonly none: any;
|
|
688
|
-
readonly 50: any;
|
|
689
|
-
readonly 100: any;
|
|
690
|
-
readonly 150: any;
|
|
691
|
-
readonly 200: any;
|
|
692
|
-
readonly 300: any;
|
|
693
|
-
readonly 400: any;
|
|
694
|
-
readonly 600: any;
|
|
695
|
-
readonly 800: any;
|
|
696
|
-
readonly 1200: any;
|
|
697
|
-
readonly 1600: any;
|
|
698
|
-
};
|
|
699
|
-
'space-offset': {
|
|
700
|
-
readonly none: any;
|
|
701
|
-
readonly 50: any;
|
|
702
|
-
readonly 100: any;
|
|
703
|
-
readonly 150: any;
|
|
704
|
-
readonly 200: any;
|
|
705
|
-
readonly 300: any;
|
|
706
|
-
readonly 400: any;
|
|
707
|
-
readonly 600: any;
|
|
708
|
-
readonly 800: any;
|
|
709
|
-
readonly 1200: any;
|
|
710
|
-
readonly 1600: any;
|
|
711
|
-
readonly 'stacking-none': any;
|
|
712
|
-
readonly 'stacking-100': any;
|
|
713
|
-
readonly 'stacking-200': any;
|
|
714
|
-
readonly 'stacking-300': any;
|
|
715
|
-
readonly 'stacking-400': any;
|
|
716
|
-
readonly 'stacking-500': any;
|
|
717
|
-
readonly 'stacking-800': any;
|
|
718
|
-
};
|
|
719
|
-
'stroke-width': {
|
|
720
|
-
readonly thin: "1.5px";
|
|
721
|
-
readonly normal: "2px";
|
|
722
|
-
readonly bold: "4px";
|
|
723
|
-
};
|
|
724
|
-
'z-indices': {
|
|
725
|
-
readonly dropdownMenu: 100;
|
|
726
|
-
readonly popover: 200;
|
|
727
|
-
readonly tooltip: 300;
|
|
728
|
-
};
|
|
729
|
-
}, {
|
|
730
|
-
readonly background: "colors";
|
|
731
|
-
readonly backgroundColor: "colors";
|
|
732
|
-
readonly backgroundImage: "colors";
|
|
733
|
-
readonly blockSize: "sizes";
|
|
734
|
-
readonly border: "colors";
|
|
735
|
-
readonly borderBlock: "colors";
|
|
736
|
-
readonly borderBlockEnd: "colors";
|
|
737
|
-
readonly borderBlockStart: "colors";
|
|
738
|
-
readonly borderBottom: "colors";
|
|
739
|
-
readonly borderBottomColor: "colors";
|
|
740
|
-
readonly borderBottomLeftRadius: "radii";
|
|
741
|
-
readonly borderBottomRightRadius: "radii";
|
|
742
|
-
readonly borderBottomStyle: "border-styles";
|
|
743
|
-
readonly borderBottomWidth: "border-widths";
|
|
744
|
-
readonly borderColor: "colors";
|
|
745
|
-
readonly borderImage: "colors";
|
|
746
|
-
readonly borderInline: "colors";
|
|
747
|
-
readonly borderInlineEnd: "colors";
|
|
748
|
-
readonly borderInlineStart: "colors";
|
|
749
|
-
readonly borderLeft: "colors";
|
|
750
|
-
readonly borderLeftColor: "colors";
|
|
751
|
-
readonly borderLeftStyle: "border-styles";
|
|
752
|
-
readonly borderLeftWidth: "border-widths";
|
|
753
|
-
readonly borderRadius: "radii";
|
|
754
|
-
readonly borderRight: "colors";
|
|
755
|
-
readonly borderRightColor: "colors";
|
|
756
|
-
readonly borderRightStyle: "border-styles";
|
|
757
|
-
readonly borderRightWidth: "border-widths";
|
|
758
|
-
readonly borderStyle: "border-styles";
|
|
759
|
-
readonly borderTop: "colors";
|
|
760
|
-
readonly borderTopColor: "colors";
|
|
761
|
-
readonly borderTopLeftRadius: "radii";
|
|
762
|
-
readonly borderTopRightRadius: "radii";
|
|
763
|
-
readonly borderTopStyle: "border-styles";
|
|
764
|
-
readonly borderTopWidth: "border-widths";
|
|
765
|
-
readonly borderWidth: "border-widths";
|
|
766
|
-
readonly bottom: "space";
|
|
767
|
-
readonly boxShadow: "shadows";
|
|
768
|
-
readonly caretColor: "colors";
|
|
769
|
-
readonly color: "colors";
|
|
770
|
-
readonly columnGap: "space-gap";
|
|
771
|
-
readonly columnRuleColor: "colors";
|
|
772
|
-
readonly fill: "colors";
|
|
773
|
-
readonly flexBasis: "sizes";
|
|
774
|
-
readonly fontFamily: "fonts";
|
|
775
|
-
readonly fontSize: "font-sizes";
|
|
776
|
-
readonly fontWeight: "font-weights";
|
|
777
|
-
readonly gap: "space-gap";
|
|
778
|
-
readonly gridColumnGap: "space-gap";
|
|
779
|
-
readonly gridGap: "space-gap";
|
|
780
|
-
readonly gridRowGap: "space-gap";
|
|
781
|
-
readonly gridTemplateColumns: "sizes";
|
|
782
|
-
readonly gridTemplateRows: "sizes";
|
|
783
|
-
readonly height: "sizes";
|
|
784
|
-
readonly inlineSize: "sizes";
|
|
785
|
-
readonly inset: "space-inset";
|
|
786
|
-
readonly insetBlock: "space-inset";
|
|
787
|
-
readonly insetBlockEnd: "space-inset";
|
|
788
|
-
readonly insetBlockStart: "space-inset";
|
|
789
|
-
readonly insetInline: "space-inset";
|
|
790
|
-
readonly insetInlineEnd: "space-inset";
|
|
791
|
-
readonly insetInlineStart: "space-inset";
|
|
792
|
-
readonly left: "space";
|
|
793
|
-
readonly letterSpacing: "letter-spacings";
|
|
794
|
-
readonly lineHeight: "line-heights";
|
|
795
|
-
readonly margin: "space-offset";
|
|
796
|
-
readonly marginBlock: "space-offset";
|
|
797
|
-
readonly marginBlockEnd: "space-offset";
|
|
798
|
-
readonly marginBlockStart: "space-offset";
|
|
799
|
-
readonly marginBottom: "space-offset";
|
|
800
|
-
readonly marginInline: "space-offset";
|
|
801
|
-
readonly marginInlineEnd: "space-offset";
|
|
802
|
-
readonly marginInlineStart: "space-offset";
|
|
803
|
-
readonly marginLeft: "space-offset";
|
|
804
|
-
readonly marginRight: "space-offset";
|
|
805
|
-
readonly marginTop: "space-offset";
|
|
806
|
-
readonly maxBlockSize: "sizes";
|
|
807
|
-
readonly maxHeight: "sizes";
|
|
808
|
-
readonly maxInlineSize: "sizes";
|
|
809
|
-
readonly maxWidth: "sizes";
|
|
810
|
-
readonly minBlockSize: "sizes";
|
|
811
|
-
readonly minHeight: "sizes";
|
|
812
|
-
readonly minInlineSize: "sizes";
|
|
813
|
-
readonly minWidth: "sizes";
|
|
814
|
-
readonly outline: "colors";
|
|
815
|
-
readonly outlineColor: "colors";
|
|
816
|
-
readonly padding: "space-inset";
|
|
817
|
-
readonly paddingBlock: "space-inset";
|
|
818
|
-
readonly paddingBlockEnd: "space-inset";
|
|
819
|
-
readonly paddingBlockStart: "space-inset";
|
|
820
|
-
readonly paddingBottom: "space-inset";
|
|
821
|
-
readonly paddingInline: "space-inset";
|
|
822
|
-
readonly paddingInlineEnd: "space-inset";
|
|
823
|
-
readonly paddingInlineStart: "space-inset";
|
|
824
|
-
readonly paddingLeft: "space-inset";
|
|
825
|
-
readonly paddingRight: "space-inset";
|
|
826
|
-
readonly paddingTop: "space-inset";
|
|
827
|
-
readonly right: "space";
|
|
828
|
-
readonly rowGap: "space-gap";
|
|
829
|
-
readonly scrollMargin: "space-offset";
|
|
830
|
-
readonly scrollMarginBlock: "space-offset";
|
|
831
|
-
readonly scrollMarginBlockEnd: "space-offset";
|
|
832
|
-
readonly scrollMarginBlockStart: "space-offset";
|
|
833
|
-
readonly scrollMarginBottom: "space-offset";
|
|
834
|
-
readonly scrollMarginInline: "space-offset";
|
|
835
|
-
readonly scrollMarginInlineEnd: "space-offset";
|
|
836
|
-
readonly scrollMarginInlineStart: "space-offset";
|
|
837
|
-
readonly scrollMarginLeft: "space-offset";
|
|
838
|
-
readonly scrollMarginRight: "space-offset";
|
|
839
|
-
readonly scrollMarginTop: "space-offset";
|
|
840
|
-
readonly scrollPadding: "space-inset";
|
|
841
|
-
readonly scrollPaddingBlock: "space-inset";
|
|
842
|
-
readonly scrollPaddingBlockEnd: "space-inset";
|
|
843
|
-
readonly scrollPaddingBlockStart: "space-inset";
|
|
844
|
-
readonly scrollPaddingBottom: "space-inset";
|
|
845
|
-
readonly scrollPaddingInline: "space-inset";
|
|
846
|
-
readonly scrollPaddingInlineEnd: "space-inset";
|
|
847
|
-
readonly scrollPaddingInlineStart: "space-inset";
|
|
848
|
-
readonly scrollPaddingLeft: "space-inset";
|
|
849
|
-
readonly scrollPaddingRight: "space-inset";
|
|
850
|
-
readonly scrollPaddingTop: "space-inset";
|
|
851
|
-
readonly stroke: "colors";
|
|
852
|
-
readonly strokeWidth: "stroke-width";
|
|
853
|
-
readonly textDecorationColor: "colors";
|
|
854
|
-
readonly textShadow: "shadows";
|
|
855
|
-
readonly top: "space";
|
|
856
|
-
readonly transition: "transitions";
|
|
857
|
-
readonly width: "sizes";
|
|
858
|
-
readonly zIndex: "z-indices";
|
|
859
|
-
}, {
|
|
860
|
-
paddingX: (value: {
|
|
861
|
-
readonly [$$PropertyValue]: "padding";
|
|
862
|
-
}) => {
|
|
863
|
-
paddingLeft: {
|
|
864
|
-
readonly [$$PropertyValue]: "padding";
|
|
865
|
-
};
|
|
866
|
-
paddingRight: {
|
|
867
|
-
readonly [$$PropertyValue]: "padding";
|
|
868
|
-
};
|
|
869
|
-
};
|
|
870
|
-
paddingY: (value: {
|
|
871
|
-
readonly [$$PropertyValue]: "padding";
|
|
872
|
-
}) => {
|
|
873
|
-
paddingTop: {
|
|
874
|
-
readonly [$$PropertyValue]: "padding";
|
|
875
|
-
};
|
|
876
|
-
paddingBottom: {
|
|
877
|
-
readonly [$$PropertyValue]: "padding";
|
|
878
|
-
};
|
|
879
|
-
};
|
|
880
|
-
marginX: (value: {
|
|
881
|
-
readonly [$$PropertyValue]: "margin";
|
|
882
|
-
}) => {
|
|
883
|
-
marginLeft: {
|
|
884
|
-
readonly [$$PropertyValue]: "margin";
|
|
885
|
-
};
|
|
886
|
-
marginRight: {
|
|
887
|
-
readonly [$$PropertyValue]: "margin";
|
|
888
|
-
};
|
|
889
|
-
};
|
|
890
|
-
marginY: (value: {
|
|
891
|
-
readonly [$$PropertyValue]: "margin";
|
|
892
|
-
}) => {
|
|
893
|
-
marginTop: {
|
|
894
|
-
readonly [$$PropertyValue]: "margin";
|
|
895
|
-
}; /**
|
|
896
|
-
* The icon.
|
|
897
|
-
*/
|
|
898
|
-
marginBottom: {
|
|
899
|
-
readonly [$$PropertyValue]: "margin";
|
|
900
|
-
};
|
|
901
|
-
};
|
|
902
|
-
square: (value: {
|
|
903
|
-
readonly [$$PropertyValue]: "width";
|
|
904
|
-
}) => {
|
|
905
|
-
width: {
|
|
906
|
-
readonly [$$PropertyValue]: "width";
|
|
907
|
-
};
|
|
908
|
-
height: {
|
|
909
|
-
readonly [$$PropertyValue]: "width";
|
|
910
|
-
};
|
|
911
|
-
};
|
|
912
|
-
}> | undefined;
|
|
913
|
-
}> & {
|
|
914
|
-
children?: react__default.ReactNode;
|
|
915
|
-
} & _mirohq_design_system_stitches.CustomStylesProps, "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" | "asChild" | keyof _mirohq_design_system_stitches.CustomStylesProps> & react__default.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
|
|
36
|
+
declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
|
|
916
37
|
declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
|
|
917
38
|
interface IconSlotProps extends StyledIconSlotProps {
|
|
918
39
|
/**
|
|
@@ -920,32 +41,37 @@ interface IconSlotProps extends StyledIconSlotProps {
|
|
|
920
41
|
*/
|
|
921
42
|
children: react__default.ReactNode;
|
|
922
43
|
}
|
|
923
|
-
declare const IconSlot: react__default.ForwardRefExoticComponent<
|
|
44
|
+
declare const IconSlot: react__default.ForwardRefExoticComponent<Omit<IconSlotProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
924
45
|
|
|
925
46
|
declare const Label: react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"span">>;
|
|
926
47
|
|
|
927
|
-
|
|
48
|
+
declare type ButtonProps = {
|
|
928
49
|
/**
|
|
929
50
|
* Change the button style.
|
|
51
|
+
* @default 'primary'
|
|
930
52
|
*/
|
|
931
53
|
variant?: StyledButtonProps['variant'];
|
|
932
54
|
/**
|
|
933
55
|
* Change the button size.
|
|
56
|
+
* @default 'large'
|
|
934
57
|
*/
|
|
935
58
|
size?: StyledButtonProps['size'];
|
|
936
59
|
/**
|
|
937
60
|
* Make button border rounded.
|
|
61
|
+
* @default false
|
|
938
62
|
*/
|
|
939
63
|
rounded?: StyledButtonProps['rounded'];
|
|
940
64
|
/**
|
|
941
65
|
* Add spinner and disable.
|
|
66
|
+
* @default false
|
|
942
67
|
*/
|
|
943
68
|
loading?: boolean;
|
|
944
69
|
/**
|
|
945
70
|
* Make width 100%.
|
|
71
|
+
* @default false
|
|
946
72
|
*/
|
|
947
73
|
fluid?: StyledButtonProps['fluid'];
|
|
948
|
-
}
|
|
74
|
+
} & BaseButtonProps;
|
|
949
75
|
declare const Button: react__default.ForwardRefExoticComponent<ButtonProps> & Partials;
|
|
950
76
|
interface Partials {
|
|
951
77
|
IconSlot: typeof IconSlot;
|