@mirohq/design-system-link 1.2.6 → 1.2.8
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/types.d.ts +429 -417
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { ComponentPropsWithRef, ReactNode } from 'react';
|
|
3
3
|
import { AriaLinkProps } from '@react-types/link';
|
|
4
|
+
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
4
5
|
import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
|
|
5
6
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
6
|
-
import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
|
|
7
7
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
8
8
|
|
|
9
9
|
declare const StyledLink: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
@@ -14,434 +14,446 @@ declare const StyledLink: react.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
14
14
|
variant?: "primary" | "secondary" | undefined;
|
|
15
15
|
dashed?: boolean | "true" | undefined;
|
|
16
16
|
disabled?: boolean | "true" | undefined;
|
|
17
|
-
}, {}> & _mirohq_design_system_stitches.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
readonly 'blue-400': any;
|
|
29
|
-
readonly 'blue-500': any;
|
|
30
|
-
readonly 'blue-600': any;
|
|
31
|
-
readonly 'blue-700': any;
|
|
32
|
-
readonly 'blue-800': any;
|
|
33
|
-
readonly 'blue-900': any;
|
|
34
|
-
readonly 'blue-1000': any;
|
|
35
|
-
readonly 'gray-100': any;
|
|
36
|
-
readonly 'gray-200': any;
|
|
37
|
-
readonly 'gray-300': any;
|
|
38
|
-
readonly 'gray-400': any;
|
|
39
|
-
readonly 'gray-500': any;
|
|
40
|
-
readonly 'gray-600': any;
|
|
41
|
-
readonly 'gray-700': any;
|
|
42
|
-
readonly 'gray-800': any;
|
|
43
|
-
readonly 'gray-900': any;
|
|
44
|
-
readonly 'indigo-100': any;
|
|
45
|
-
readonly 'indigo-200': any;
|
|
46
|
-
readonly 'indigo-300': any;
|
|
47
|
-
readonly 'indigo-400': any;
|
|
48
|
-
readonly 'indigo-500': any;
|
|
49
|
-
readonly 'indigo-600': any;
|
|
50
|
-
readonly 'indigo-700': any;
|
|
51
|
-
readonly 'indigo-800': any;
|
|
52
|
-
readonly 'indigo-900': any;
|
|
53
|
-
readonly 'red-100': any;
|
|
54
|
-
readonly 'red-200': any;
|
|
55
|
-
readonly 'red-300': any;
|
|
56
|
-
readonly 'red-400': any;
|
|
57
|
-
readonly 'red-500': any;
|
|
58
|
-
readonly 'red-600': any;
|
|
59
|
-
readonly 'red-700': any;
|
|
60
|
-
readonly 'red-800': any;
|
|
61
|
-
readonly 'red-900': any;
|
|
62
|
-
readonly 'yellow-100': any;
|
|
63
|
-
readonly 'yellow-200': any;
|
|
64
|
-
readonly 'yellow-300': any;
|
|
65
|
-
readonly 'yellow-400': any;
|
|
66
|
-
readonly 'yellow-500': any;
|
|
67
|
-
readonly 'yellow-600': any;
|
|
68
|
-
readonly 'yellow-700': any;
|
|
69
|
-
readonly 'yellow-800': any;
|
|
70
|
-
readonly 'yellow-900': any;
|
|
71
|
-
readonly 'green-100': any;
|
|
72
|
-
readonly 'green-200': any;
|
|
73
|
-
readonly 'green-300': any;
|
|
74
|
-
readonly 'green-400': any;
|
|
75
|
-
readonly 'green-500': any;
|
|
76
|
-
readonly 'green-600': any;
|
|
77
|
-
readonly 'green-700': any;
|
|
78
|
-
readonly 'green-800': any;
|
|
79
|
-
readonly 'green-900': any;
|
|
80
|
-
readonly black: any;
|
|
81
|
-
readonly white: any;
|
|
82
|
-
readonly transparent: any;
|
|
83
|
-
readonly 'background-neutrals'?: any;
|
|
84
|
-
readonly 'background-neutrals-body'?: any;
|
|
85
|
-
readonly 'background-neutrals-container'?: any;
|
|
86
|
-
readonly 'background-neutrals-inverted'?: any;
|
|
87
|
-
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
88
|
-
readonly 'background-neutrals-subtle'?: any;
|
|
89
|
-
readonly 'background-neutrals-subtle-hover'?: any;
|
|
90
|
-
readonly 'background-neutrals-subtle-active'?: any;
|
|
91
|
-
readonly 'background-neutrals-disabled'?: any;
|
|
92
|
-
readonly 'background-neutrals-controls-disabled'?: any;
|
|
93
|
-
readonly 'background-neutrals-scrolls'?: any;
|
|
94
|
-
readonly 'background-neutrals-inactive'?: any;
|
|
95
|
-
readonly 'background-neutrals-inactive-hover'?: any;
|
|
96
|
-
readonly 'background-primary-prominent'?: any;
|
|
97
|
-
readonly 'background-primary-prominent-hover'?: any;
|
|
98
|
-
readonly 'background-primary-prominent-active'?: any;
|
|
99
|
-
readonly 'background-primary-prominent-selected'?: any;
|
|
100
|
-
readonly 'background-primary-subtle'?: any;
|
|
101
|
-
readonly 'background-primary-subtle-hover'?: any;
|
|
102
|
-
readonly 'background-primary-subtle-active'?: any;
|
|
103
|
-
readonly 'background-primary-subtle-selected'?: any;
|
|
104
|
-
readonly 'background-danger-prominent'?: any;
|
|
105
|
-
readonly 'background-danger-prominent-hover'?: any;
|
|
106
|
-
readonly 'background-danger-prominent-active'?: any;
|
|
107
|
-
readonly 'background-danger'?: any;
|
|
108
|
-
readonly 'background-danger-hover'?: any;
|
|
109
|
-
readonly 'background-success'?: any;
|
|
110
|
-
readonly 'background-warning-subtle'?: any;
|
|
111
|
-
readonly 'background-warning-prominent'?: any;
|
|
112
|
-
readonly 'text-neutrals-inverted'?: any;
|
|
113
|
-
readonly 'text-neutrals'?: any;
|
|
114
|
-
readonly 'text-neutrals-subtle'?: any;
|
|
115
|
-
readonly 'text-neutrals-placeholder-only'?: any;
|
|
116
|
-
readonly 'text-neutrals-placeholder'?: any;
|
|
117
|
-
readonly 'text-neutrals-disabled'?: any;
|
|
118
|
-
readonly 'text-primary-inverted'?: any;
|
|
119
|
-
readonly 'text-primary'?: any;
|
|
120
|
-
readonly 'text-primary-hover'?: any;
|
|
121
|
-
readonly 'text-primary-active'?: any;
|
|
122
|
-
readonly 'text-primary-selected'?: any;
|
|
123
|
-
readonly 'text-primary-inverted-subtle'?: any;
|
|
124
|
-
readonly 'text-danger-inverted'?: any;
|
|
125
|
-
readonly 'text-danger'?: any;
|
|
126
|
-
readonly 'text-danger-hover'?: any;
|
|
127
|
-
readonly 'text-danger-active'?: any;
|
|
128
|
-
readonly 'text-success'?: any;
|
|
129
|
-
readonly 'text-warning'?: any;
|
|
130
|
-
readonly 'icon-neutrals-inverted'?: any;
|
|
131
|
-
readonly 'icon-neutrals'?: any;
|
|
132
|
-
readonly 'icon-neutrals-with-text'?: any;
|
|
133
|
-
readonly 'icon-neutrals-subtle'?: any;
|
|
134
|
-
readonly 'icon-neutrals-disabled'?: any;
|
|
135
|
-
readonly 'icon-neutrals-search'?: any;
|
|
136
|
-
readonly 'icon-neutrals-inactive'?: any;
|
|
137
|
-
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
138
|
-
readonly 'icon-primary-inverted'?: any;
|
|
139
|
-
readonly 'icon-primary'?: any;
|
|
140
|
-
readonly 'icon-primary-hover'?: any;
|
|
141
|
-
readonly 'icon-primary-active'?: any;
|
|
142
|
-
readonly 'icon-primary-selected'?: any;
|
|
143
|
-
readonly 'icon-danger-inverted'?: any;
|
|
144
|
-
readonly 'icon-danger'?: any;
|
|
145
|
-
readonly 'icon-danger-hover'?: any;
|
|
146
|
-
readonly 'icon-danger-active'?: any;
|
|
147
|
-
readonly 'icon-success-inverted'?: any;
|
|
148
|
-
readonly 'icon-success'?: any;
|
|
149
|
-
readonly 'icon-warning'?: any;
|
|
150
|
-
readonly 'border-focus-outer'?: any;
|
|
151
|
-
readonly 'border-focus-middle'?: any;
|
|
152
|
-
readonly 'border-focus-inner'?: any;
|
|
153
|
-
readonly 'border-neutrals'?: any;
|
|
154
|
-
readonly 'border-neutrals-hover'?: any;
|
|
155
|
-
readonly 'border-neutrals-active'?: any;
|
|
156
|
-
readonly 'border-neutrals-disabled'?: any;
|
|
157
|
-
readonly 'border-neutrals-controls'?: any;
|
|
158
|
-
readonly 'border-neutrals-controls-disabled'?: any;
|
|
159
|
-
readonly 'border-neutrals-subtle'?: any;
|
|
160
|
-
readonly 'border-neutrals-inverted'?: any;
|
|
161
|
-
readonly 'border-primary'?: any;
|
|
162
|
-
readonly 'border-primary-hover'?: any;
|
|
163
|
-
readonly 'border-primary-active'?: any;
|
|
164
|
-
readonly 'border-primary-inverted'?: any;
|
|
165
|
-
readonly 'border-danger'?: any;
|
|
166
|
-
readonly 'border-success'?: any;
|
|
167
|
-
readonly 'border-warning'?: any;
|
|
168
|
-
};
|
|
169
|
-
'font-sizes': {
|
|
170
|
-
readonly 150: "0.75rem";
|
|
171
|
-
readonly 175: "0.875rem";
|
|
172
|
-
readonly 200: "1rem";
|
|
173
|
-
readonly 225: "1.125rem";
|
|
174
|
-
readonly 250: "1.25rem";
|
|
175
|
-
readonly 300: "1.5rem";
|
|
176
|
-
readonly 400: "2rem";
|
|
177
|
-
readonly 500: "2.5rem";
|
|
178
|
-
readonly 600: "3rem";
|
|
179
|
-
readonly 800: "4rem";
|
|
180
|
-
readonly 900: "4.5rem";
|
|
181
|
-
};
|
|
182
|
-
radii: {
|
|
183
|
-
readonly none: 0;
|
|
184
|
-
readonly half: "999em";
|
|
185
|
-
readonly 25: "2px";
|
|
186
|
-
readonly 50: "4px";
|
|
187
|
-
readonly 75: "6px";
|
|
188
|
-
readonly 100: "8px";
|
|
189
|
-
readonly 200: "16px";
|
|
190
|
-
};
|
|
191
|
-
shadows: {
|
|
192
|
-
readonly 50: "0 4px 16px #05003812";
|
|
193
|
-
readonly 100: "0 8px 32px #05003808";
|
|
194
|
-
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";
|
|
195
|
-
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";
|
|
196
|
-
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";
|
|
197
|
-
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";
|
|
198
|
-
};
|
|
199
|
-
sizes: {
|
|
200
|
-
readonly number: string;
|
|
201
|
-
readonly 'icon-200': "16px";
|
|
202
|
-
readonly 'icon-300': "24px";
|
|
203
|
-
readonly 'icon-400': "32px";
|
|
204
|
-
};
|
|
205
|
-
space: {
|
|
206
|
-
readonly none: 0;
|
|
207
|
-
readonly 50: "4px";
|
|
208
|
-
readonly 100: "8px";
|
|
209
|
-
readonly 150: "12px";
|
|
210
|
-
readonly 200: "16px";
|
|
211
|
-
readonly 300: "24px";
|
|
212
|
-
readonly 400: "32px";
|
|
213
|
-
readonly 500: "64px";
|
|
214
|
-
readonly 600: "48px";
|
|
215
|
-
readonly 800: "64px";
|
|
216
|
-
readonly 1200: "96px";
|
|
217
|
-
readonly 1600: "128px";
|
|
218
|
-
};
|
|
219
|
-
'space-gap': {
|
|
220
|
-
readonly none: any;
|
|
221
|
-
readonly 50: any;
|
|
222
|
-
readonly 100: any;
|
|
223
|
-
readonly 200: any;
|
|
224
|
-
readonly 300: any;
|
|
225
|
-
};
|
|
226
|
-
'space-inset': {
|
|
227
|
-
readonly none: any;
|
|
228
|
-
readonly 50: any;
|
|
229
|
-
readonly 100: any;
|
|
230
|
-
readonly 150: any;
|
|
231
|
-
readonly 200: any;
|
|
232
|
-
readonly 300: any;
|
|
233
|
-
readonly 400: any;
|
|
234
|
-
readonly 600: any;
|
|
235
|
-
readonly 800: any;
|
|
236
|
-
readonly 1200: any;
|
|
237
|
-
readonly 1600: any;
|
|
238
|
-
};
|
|
239
|
-
'space-offset': {
|
|
240
|
-
readonly none: any;
|
|
241
|
-
readonly 50: any;
|
|
242
|
-
readonly 100: any;
|
|
243
|
-
readonly 150: any;
|
|
244
|
-
readonly 200: any;
|
|
245
|
-
readonly 300: any;
|
|
246
|
-
readonly 400: any;
|
|
247
|
-
readonly 600: any;
|
|
248
|
-
readonly 800: any;
|
|
249
|
-
readonly 1200: any;
|
|
250
|
-
readonly 1600: any;
|
|
251
|
-
readonly 'stacking-none': any;
|
|
252
|
-
readonly 'stacking-100': any;
|
|
253
|
-
readonly 'stacking-200': any;
|
|
254
|
-
readonly 'stacking-300': any;
|
|
255
|
-
readonly 'stacking-400': any;
|
|
256
|
-
readonly 'stacking-500': any;
|
|
257
|
-
readonly 'stacking-800': any;
|
|
258
|
-
};
|
|
259
|
-
'z-indices': {
|
|
260
|
-
readonly dropdownMenu: 100;
|
|
261
|
-
readonly popover: 200;
|
|
262
|
-
readonly tooltip: 300;
|
|
263
|
-
};
|
|
264
|
-
}, {
|
|
265
|
-
readonly background: "colors";
|
|
266
|
-
readonly backgroundColor: "colors";
|
|
267
|
-
readonly backgroundImage: "colors";
|
|
268
|
-
readonly blockSize: "sizes";
|
|
269
|
-
readonly border: "colors";
|
|
270
|
-
readonly borderBlock: "colors";
|
|
271
|
-
readonly borderBlockEnd: "colors";
|
|
272
|
-
readonly borderBlockStart: "colors";
|
|
273
|
-
readonly borderBottom: "colors";
|
|
274
|
-
readonly borderBottomColor: "colors";
|
|
275
|
-
readonly borderBottomLeftRadius: "radii";
|
|
276
|
-
readonly borderBottomRightRadius: "radii";
|
|
277
|
-
readonly borderBottomStyle: "border-styles";
|
|
278
|
-
readonly borderBottomWidth: "border-widths";
|
|
279
|
-
readonly borderColor: "colors";
|
|
280
|
-
readonly borderImage: "colors";
|
|
281
|
-
readonly borderInline: "colors";
|
|
282
|
-
readonly borderInlineEnd: "colors";
|
|
283
|
-
readonly borderInlineStart: "colors";
|
|
284
|
-
readonly borderLeft: "colors";
|
|
285
|
-
readonly borderLeftColor: "colors";
|
|
286
|
-
readonly borderLeftStyle: "border-styles";
|
|
287
|
-
readonly borderLeftWidth: "border-widths";
|
|
288
|
-
readonly borderRadius: "radii";
|
|
289
|
-
readonly borderRight: "colors";
|
|
290
|
-
readonly borderRightColor: "colors";
|
|
291
|
-
readonly borderRightStyle: "border-styles";
|
|
292
|
-
readonly borderRightWidth: "border-widths";
|
|
293
|
-
readonly borderStyle: "border-styles";
|
|
294
|
-
readonly borderTop: "colors";
|
|
295
|
-
readonly borderTopColor: "colors";
|
|
296
|
-
readonly borderTopLeftRadius: "radii";
|
|
297
|
-
readonly borderTopRightRadius: "radii";
|
|
298
|
-
readonly borderTopStyle: "border-styles";
|
|
299
|
-
readonly borderTopWidth: "border-widths";
|
|
300
|
-
readonly borderWidth: "border-widths";
|
|
301
|
-
readonly bottom: "space";
|
|
302
|
-
readonly boxShadow: "shadows";
|
|
303
|
-
readonly caretColor: "colors";
|
|
304
|
-
readonly color: "colors";
|
|
305
|
-
readonly columnGap: "space-gap";
|
|
306
|
-
readonly columnRuleColor: "colors";
|
|
307
|
-
readonly fill: "colors";
|
|
308
|
-
readonly flexBasis: "sizes";
|
|
309
|
-
readonly fontFamily: "fonts";
|
|
310
|
-
readonly fontSize: "font-sizes";
|
|
311
|
-
readonly fontWeight: "font-weights";
|
|
312
|
-
readonly gap: "space-gap";
|
|
313
|
-
readonly gridColumnGap: "space-gap";
|
|
314
|
-
readonly gridGap: "space-gap";
|
|
315
|
-
readonly gridRowGap: "space-gap";
|
|
316
|
-
readonly gridTemplateColumns: "sizes";
|
|
317
|
-
readonly gridTemplateRows: "sizes";
|
|
318
|
-
readonly height: "sizes";
|
|
319
|
-
readonly inlineSize: "sizes";
|
|
320
|
-
readonly inset: "space-inset";
|
|
321
|
-
readonly insetBlock: "space-inset";
|
|
322
|
-
readonly insetBlockEnd: "space-inset";
|
|
323
|
-
readonly insetBlockStart: "space-inset";
|
|
324
|
-
readonly insetInline: "space-inset";
|
|
325
|
-
readonly insetInlineEnd: "space-inset";
|
|
326
|
-
readonly insetInlineStart: "space-inset";
|
|
327
|
-
readonly left: "space";
|
|
328
|
-
readonly letterSpacing: "letter-spacings";
|
|
329
|
-
readonly lineHeight: "line-heights";
|
|
330
|
-
readonly margin: "space-offset";
|
|
331
|
-
readonly marginBlock: "space-offset";
|
|
332
|
-
readonly marginBlockEnd: "space-offset";
|
|
333
|
-
readonly marginBlockStart: "space-offset";
|
|
334
|
-
readonly marginBottom: "space-offset";
|
|
335
|
-
readonly marginInline: "space-offset";
|
|
336
|
-
readonly marginInlineEnd: "space-offset";
|
|
337
|
-
readonly marginInlineStart: "space-offset";
|
|
338
|
-
readonly marginLeft: "space-offset";
|
|
339
|
-
readonly marginRight: "space-offset";
|
|
340
|
-
readonly marginTop: "space-offset";
|
|
341
|
-
readonly maxBlockSize: "sizes";
|
|
342
|
-
readonly maxHeight: "sizes";
|
|
343
|
-
readonly maxInlineSize: "sizes";
|
|
344
|
-
readonly maxWidth: "sizes";
|
|
345
|
-
readonly minBlockSize: "sizes";
|
|
346
|
-
readonly minHeight: "sizes";
|
|
347
|
-
readonly minInlineSize: "sizes";
|
|
348
|
-
readonly minWidth: "sizes";
|
|
349
|
-
readonly outline: "colors";
|
|
350
|
-
readonly outlineColor: "colors";
|
|
351
|
-
readonly padding: "space-inset";
|
|
352
|
-
readonly paddingBlock: "space-inset";
|
|
353
|
-
readonly paddingBlockEnd: "space-inset";
|
|
354
|
-
readonly paddingBlockStart: "space-inset";
|
|
355
|
-
readonly paddingBottom: "space-inset";
|
|
356
|
-
readonly paddingInline: "space-inset";
|
|
357
|
-
readonly paddingInlineEnd: "space-inset";
|
|
358
|
-
readonly paddingInlineStart: "space-inset";
|
|
359
|
-
readonly paddingLeft: "space-inset";
|
|
360
|
-
readonly paddingRight: "space-inset";
|
|
361
|
-
readonly paddingTop: "space-inset";
|
|
362
|
-
readonly right: "space";
|
|
363
|
-
readonly rowGap: "space-gap";
|
|
364
|
-
readonly scrollMargin: "space-offset";
|
|
365
|
-
readonly scrollMarginBlock: "space-offset";
|
|
366
|
-
readonly scrollMarginBlockEnd: "space-offset";
|
|
367
|
-
readonly scrollMarginBlockStart: "space-offset";
|
|
368
|
-
readonly scrollMarginBottom: "space-offset";
|
|
369
|
-
readonly scrollMarginInline: "space-offset";
|
|
370
|
-
readonly scrollMarginInlineEnd: "space-offset";
|
|
371
|
-
readonly scrollMarginInlineStart: "space-offset";
|
|
372
|
-
readonly scrollMarginLeft: "space-offset";
|
|
373
|
-
readonly scrollMarginRight: "space-offset";
|
|
374
|
-
readonly scrollMarginTop: "space-offset";
|
|
375
|
-
readonly scrollPadding: "space-inset";
|
|
376
|
-
readonly scrollPaddingBlock: "space-inset";
|
|
377
|
-
readonly scrollPaddingBlockEnd: "space-inset";
|
|
378
|
-
readonly scrollPaddingBlockStart: "space-inset";
|
|
379
|
-
readonly scrollPaddingBottom: "space-inset";
|
|
380
|
-
readonly scrollPaddingInline: "space-inset";
|
|
381
|
-
readonly scrollPaddingInlineEnd: "space-inset";
|
|
382
|
-
readonly scrollPaddingInlineStart: "space-inset";
|
|
383
|
-
readonly scrollPaddingLeft: "space-inset";
|
|
384
|
-
readonly scrollPaddingRight: "space-inset";
|
|
385
|
-
readonly scrollPaddingTop: "space-inset";
|
|
386
|
-
readonly stroke: "colors";
|
|
387
|
-
readonly textDecorationColor: "colors";
|
|
388
|
-
readonly textShadow: "shadows";
|
|
389
|
-
readonly top: "space";
|
|
390
|
-
readonly transition: "transitions";
|
|
391
|
-
readonly width: "sizes";
|
|
392
|
-
readonly zIndex: "z-indices";
|
|
393
|
-
}, {
|
|
394
|
-
paddingX: (value: {
|
|
395
|
-
readonly [$$PropertyValue]: "padding";
|
|
396
|
-
}) => {
|
|
397
|
-
paddingLeft: {
|
|
398
|
-
readonly [$$PropertyValue]: "padding";
|
|
17
|
+
}, {}> & _mirohq_design_system_stitches.SafeProps<Omit<Pick<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "key" | keyof react.AnchorHTMLAttributes<HTMLAnchorElement>> & {
|
|
18
|
+
ref?: ((instance: HTMLAnchorElement | null) => void) | react.RefObject<HTMLAnchorElement> | null | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
asChild?: boolean | undefined;
|
|
21
|
+
}, "css"> & _stitches_react_types_styled_component.TransformProps<{}, {}> & {
|
|
22
|
+
css?: _stitches_react_types_css_util.CSS<{}, {
|
|
23
|
+
'border-widths': {
|
|
24
|
+
readonly none: 0;
|
|
25
|
+
readonly sm: "1px";
|
|
26
|
+
readonly md: "2px";
|
|
27
|
+
readonly lg: "4px";
|
|
399
28
|
};
|
|
400
|
-
|
|
401
|
-
readonly
|
|
29
|
+
colors: {
|
|
30
|
+
readonly 'blue-100': any;
|
|
31
|
+
readonly 'blue-200': any;
|
|
32
|
+
readonly 'blue-300': any;
|
|
33
|
+
readonly 'blue-400': any;
|
|
34
|
+
readonly 'blue-500': any;
|
|
35
|
+
readonly 'blue-600': any;
|
|
36
|
+
readonly 'blue-700': any;
|
|
37
|
+
readonly 'blue-800': any;
|
|
38
|
+
readonly 'blue-900': any;
|
|
39
|
+
readonly 'blue-1000': any;
|
|
40
|
+
readonly 'gray-100': any;
|
|
41
|
+
readonly 'gray-200': any;
|
|
42
|
+
readonly 'gray-300': any;
|
|
43
|
+
readonly 'gray-400': any;
|
|
44
|
+
readonly 'gray-500': any;
|
|
45
|
+
readonly 'gray-600': any;
|
|
46
|
+
readonly 'gray-700': any;
|
|
47
|
+
readonly 'gray-800': any;
|
|
48
|
+
readonly 'gray-900': any;
|
|
49
|
+
readonly 'indigo-100': any;
|
|
50
|
+
readonly 'indigo-200': any;
|
|
51
|
+
readonly 'indigo-300': any;
|
|
52
|
+
readonly 'indigo-400': any;
|
|
53
|
+
readonly 'indigo-500': any;
|
|
54
|
+
readonly 'indigo-600': any;
|
|
55
|
+
readonly 'indigo-700': any;
|
|
56
|
+
readonly 'indigo-800': any;
|
|
57
|
+
readonly 'indigo-900': any;
|
|
58
|
+
readonly 'red-100': any;
|
|
59
|
+
readonly 'red-200': any;
|
|
60
|
+
readonly 'red-300': any;
|
|
61
|
+
readonly 'red-400': any;
|
|
62
|
+
readonly 'red-500': any;
|
|
63
|
+
readonly 'red-600': any;
|
|
64
|
+
readonly 'red-700': any;
|
|
65
|
+
readonly 'red-800': any;
|
|
66
|
+
readonly 'red-900': any;
|
|
67
|
+
readonly 'yellow-100': any;
|
|
68
|
+
readonly 'yellow-200': any;
|
|
69
|
+
readonly 'yellow-300': any;
|
|
70
|
+
readonly 'yellow-400': any;
|
|
71
|
+
readonly 'yellow-500': any;
|
|
72
|
+
readonly 'yellow-600': any;
|
|
73
|
+
readonly 'yellow-700': any;
|
|
74
|
+
readonly 'yellow-800': any;
|
|
75
|
+
readonly 'yellow-900': any;
|
|
76
|
+
readonly 'green-100': any;
|
|
77
|
+
readonly 'green-200': any;
|
|
78
|
+
readonly 'green-300': any;
|
|
79
|
+
readonly 'green-400': any;
|
|
80
|
+
readonly 'green-500': any;
|
|
81
|
+
readonly 'green-600': any;
|
|
82
|
+
readonly 'green-700': any;
|
|
83
|
+
readonly 'green-800': any;
|
|
84
|
+
readonly 'green-900': any;
|
|
85
|
+
readonly black: any;
|
|
86
|
+
readonly white: any;
|
|
87
|
+
readonly transparent: any;
|
|
88
|
+
readonly 'background-danger'?: any;
|
|
89
|
+
readonly 'background-danger-hover'?: any;
|
|
90
|
+
readonly 'background-danger-prominent'?: any;
|
|
91
|
+
readonly 'background-danger-prominent-active'?: any;
|
|
92
|
+
readonly 'background-danger-prominent-hover'?: any;
|
|
93
|
+
readonly 'background-neutrals'?: any;
|
|
94
|
+
readonly 'background-neutrals-body'?: any;
|
|
95
|
+
readonly 'background-neutrals-container'?: any;
|
|
96
|
+
readonly 'background-neutrals-controls-disabled'?: any;
|
|
97
|
+
readonly 'background-neutrals-disabled'?: any;
|
|
98
|
+
readonly 'background-neutrals-inactive'?: any;
|
|
99
|
+
readonly 'background-neutrals-inactive-hover'?: any;
|
|
100
|
+
readonly 'background-neutrals-inverted'?: any;
|
|
101
|
+
readonly 'background-neutrals-inverted-subtle'?: any;
|
|
102
|
+
readonly 'background-neutrals-scrolls'?: any;
|
|
103
|
+
readonly 'background-neutrals-scrolls-hover'?: any;
|
|
104
|
+
readonly 'background-neutrals-subtle'?: any;
|
|
105
|
+
readonly 'background-neutrals-subtle-active'?: any;
|
|
106
|
+
readonly 'background-neutrals-subtle-hover'?: any;
|
|
107
|
+
readonly 'background-primary-prominent'?: any;
|
|
108
|
+
readonly 'background-primary-prominent-active'?: any;
|
|
109
|
+
readonly 'background-primary-prominent-hover'?: any;
|
|
110
|
+
readonly 'background-primary-prominent-selected'?: any;
|
|
111
|
+
readonly 'background-primary-subtle'?: any;
|
|
112
|
+
readonly 'background-primary-subtle-active'?: any;
|
|
113
|
+
readonly 'background-primary-subtle-hover'?: any;
|
|
114
|
+
readonly 'background-primary-subtle-selected'?: any;
|
|
115
|
+
readonly 'background-success'?: any;
|
|
116
|
+
readonly 'background-warning-prominent'?: any;
|
|
117
|
+
readonly 'background-warning-subtle'?: any;
|
|
118
|
+
readonly 'text-danger'?: any;
|
|
119
|
+
readonly 'text-danger-active'?: any;
|
|
120
|
+
readonly 'text-danger-hover'?: any;
|
|
121
|
+
readonly 'text-danger-inverted'?: any;
|
|
122
|
+
readonly 'text-neutrals'?: any;
|
|
123
|
+
readonly 'text-neutrals-disabled'?: any;
|
|
124
|
+
readonly 'text-neutrals-inverted'?: any;
|
|
125
|
+
readonly 'text-neutrals-link'?: any;
|
|
126
|
+
readonly 'text-neutrals-link-active'?: any;
|
|
127
|
+
readonly 'text-neutrals-link-hover'?: any;
|
|
128
|
+
readonly 'text-neutrals-placeholder'?: any;
|
|
129
|
+
readonly 'text-neutrals-placeholder-only'?: any;
|
|
130
|
+
readonly 'text-neutrals-subtle'?: any;
|
|
131
|
+
readonly 'text-primary'?: any;
|
|
132
|
+
readonly 'text-primary-active'?: any;
|
|
133
|
+
readonly 'text-primary-hover'?: any;
|
|
134
|
+
readonly 'text-primary-inverted'?: any;
|
|
135
|
+
readonly 'text-primary-inverted-subtle'?: any;
|
|
136
|
+
readonly 'text-primary-selected'?: any;
|
|
137
|
+
readonly 'text-success'?: any;
|
|
138
|
+
readonly 'text-warning'?: any;
|
|
139
|
+
readonly 'icon-danger'?: any;
|
|
140
|
+
readonly 'icon-danger-active'?: any;
|
|
141
|
+
readonly 'icon-danger-hover'?: any;
|
|
142
|
+
readonly 'icon-danger-inverted'?: any;
|
|
143
|
+
readonly 'icon-neutrals'?: any;
|
|
144
|
+
readonly 'icon-neutrals-disabled'?: any;
|
|
145
|
+
readonly 'icon-neutrals-inactive'?: any;
|
|
146
|
+
readonly 'icon-neutrals-inactive-hover'?: any;
|
|
147
|
+
readonly 'icon-neutrals-inverted'?: any;
|
|
148
|
+
readonly 'icon-neutrals-search'?: any;
|
|
149
|
+
readonly 'icon-neutrals-subtle'?: any;
|
|
150
|
+
readonly 'icon-neutrals-with-text'?: any;
|
|
151
|
+
readonly 'icon-primary'?: any;
|
|
152
|
+
readonly 'icon-primary-active'?: any;
|
|
153
|
+
readonly 'icon-primary-hover'?: any;
|
|
154
|
+
readonly 'icon-primary-inverted'?: any;
|
|
155
|
+
readonly 'icon-primary-selected'?: any;
|
|
156
|
+
readonly 'icon-success'?: any;
|
|
157
|
+
readonly 'icon-success-inverted'?: any;
|
|
158
|
+
readonly 'icon-warning'?: any;
|
|
159
|
+
readonly 'border-danger'?: any;
|
|
160
|
+
readonly 'border-focus-inner'?: any;
|
|
161
|
+
readonly 'border-focus-middle'?: any;
|
|
162
|
+
readonly 'border-focus-outer'?: any;
|
|
163
|
+
readonly 'border-neutrals'?: any;
|
|
164
|
+
readonly 'border-neutrals-active'?: any;
|
|
165
|
+
readonly 'border-neutrals-controls'?: any;
|
|
166
|
+
readonly 'border-neutrals-controls-disabled'?: any;
|
|
167
|
+
readonly 'border-neutrals-disabled'?: any;
|
|
168
|
+
readonly 'border-neutrals-hover'?: any;
|
|
169
|
+
readonly 'border-neutrals-inverted'?: any;
|
|
170
|
+
readonly 'border-neutrals-subtle'?: any;
|
|
171
|
+
readonly 'border-primary'?: any;
|
|
172
|
+
readonly 'border-primary-active'?: any;
|
|
173
|
+
readonly 'border-primary-hover'?: any;
|
|
174
|
+
readonly 'border-primary-inverted'?: any;
|
|
175
|
+
readonly 'border-success'?: any;
|
|
176
|
+
readonly 'border-warning'?: any;
|
|
402
177
|
};
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
readonly
|
|
178
|
+
'font-sizes': {
|
|
179
|
+
readonly 150: "0.75rem";
|
|
180
|
+
readonly 175: "0.875rem";
|
|
181
|
+
readonly 200: "1rem";
|
|
182
|
+
readonly 225: "1.125rem";
|
|
183
|
+
readonly 250: "1.25rem";
|
|
184
|
+
readonly 300: "1.5rem";
|
|
185
|
+
readonly 400: "2rem";
|
|
186
|
+
readonly 500: "2.5rem";
|
|
187
|
+
readonly 600: "3rem";
|
|
188
|
+
readonly 800: "4rem";
|
|
189
|
+
readonly 900: "4.5rem";
|
|
409
190
|
};
|
|
410
|
-
|
|
411
|
-
readonly
|
|
191
|
+
radii: {
|
|
192
|
+
readonly none: 0;
|
|
193
|
+
readonly half: "999em";
|
|
194
|
+
readonly 25: "2px";
|
|
195
|
+
readonly 50: "4px";
|
|
196
|
+
readonly 75: "6px";
|
|
197
|
+
readonly 100: "8px";
|
|
198
|
+
readonly 200: "16px";
|
|
412
199
|
};
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
readonly
|
|
200
|
+
shadows: {
|
|
201
|
+
readonly 50: "0 4px 16px #05003812";
|
|
202
|
+
readonly 100: "0 8px 32px #05003808";
|
|
203
|
+
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";
|
|
204
|
+
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";
|
|
205
|
+
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";
|
|
206
|
+
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";
|
|
419
207
|
};
|
|
420
|
-
|
|
421
|
-
readonly
|
|
208
|
+
sizes: {
|
|
209
|
+
readonly number: string;
|
|
210
|
+
readonly 'icon-200': "16px";
|
|
211
|
+
readonly 'icon-300': "24px";
|
|
212
|
+
readonly 'icon-400': "32px";
|
|
422
213
|
};
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
readonly
|
|
214
|
+
space: {
|
|
215
|
+
readonly none: 0;
|
|
216
|
+
readonly 50: "4px";
|
|
217
|
+
readonly 100: "8px";
|
|
218
|
+
readonly 150: "12px";
|
|
219
|
+
readonly 200: "16px";
|
|
220
|
+
readonly 300: "24px";
|
|
221
|
+
readonly 400: "32px";
|
|
222
|
+
readonly 500: "64px";
|
|
223
|
+
readonly 600: "48px";
|
|
224
|
+
readonly 800: "64px";
|
|
225
|
+
readonly 1200: "96px";
|
|
226
|
+
readonly 1600: "128px";
|
|
227
|
+
};
|
|
228
|
+
'space-gap': {
|
|
229
|
+
readonly none: any;
|
|
230
|
+
readonly 50: any;
|
|
231
|
+
readonly 100: any;
|
|
232
|
+
readonly 200: any;
|
|
233
|
+
readonly 300: any;
|
|
429
234
|
};
|
|
430
|
-
|
|
235
|
+
'space-inset': {
|
|
236
|
+
readonly none: any;
|
|
237
|
+
readonly 50: any;
|
|
238
|
+
readonly 100: any;
|
|
239
|
+
readonly 150: any;
|
|
240
|
+
readonly 200: any;
|
|
241
|
+
readonly 300: any;
|
|
242
|
+
readonly 400: any;
|
|
243
|
+
readonly 600: any;
|
|
244
|
+
readonly 800: any;
|
|
245
|
+
readonly 1200: any;
|
|
246
|
+
readonly 1600: any;
|
|
247
|
+
};
|
|
248
|
+
'space-offset': {
|
|
249
|
+
readonly none: any;
|
|
250
|
+
readonly 50: any;
|
|
251
|
+
readonly 100: any;
|
|
252
|
+
readonly 150: any;
|
|
253
|
+
readonly 200: any;
|
|
254
|
+
readonly 300: any;
|
|
255
|
+
readonly 400: any;
|
|
256
|
+
readonly 600: any;
|
|
257
|
+
readonly 800: any;
|
|
258
|
+
readonly 1200: any;
|
|
259
|
+
readonly 1600: any;
|
|
260
|
+
readonly 'stacking-none': any;
|
|
261
|
+
readonly 'stacking-100': any;
|
|
262
|
+
readonly 'stacking-200': any;
|
|
263
|
+
readonly 'stacking-300': any;
|
|
264
|
+
readonly 'stacking-400': any;
|
|
265
|
+
readonly 'stacking-500': any;
|
|
266
|
+
readonly 'stacking-800': any;
|
|
267
|
+
};
|
|
268
|
+
'z-indices': {
|
|
269
|
+
readonly dropdownMenu: 100;
|
|
270
|
+
readonly popover: 200;
|
|
271
|
+
readonly tooltip: 300;
|
|
272
|
+
};
|
|
273
|
+
}, {
|
|
274
|
+
readonly background: "colors";
|
|
275
|
+
readonly backgroundColor: "colors";
|
|
276
|
+
readonly backgroundImage: "colors";
|
|
277
|
+
readonly blockSize: "sizes";
|
|
278
|
+
readonly border: "colors";
|
|
279
|
+
readonly borderBlock: "colors";
|
|
280
|
+
readonly borderBlockEnd: "colors";
|
|
281
|
+
readonly borderBlockStart: "colors";
|
|
282
|
+
readonly borderBottom: "colors";
|
|
283
|
+
readonly borderBottomColor: "colors";
|
|
284
|
+
readonly borderBottomLeftRadius: "radii";
|
|
285
|
+
readonly borderBottomRightRadius: "radii";
|
|
286
|
+
readonly borderBottomStyle: "border-styles";
|
|
287
|
+
readonly borderBottomWidth: "border-widths";
|
|
288
|
+
readonly borderColor: "colors";
|
|
289
|
+
readonly borderImage: "colors";
|
|
290
|
+
readonly borderInline: "colors";
|
|
291
|
+
readonly borderInlineEnd: "colors";
|
|
292
|
+
readonly borderInlineStart: "colors";
|
|
293
|
+
readonly borderLeft: "colors";
|
|
294
|
+
readonly borderLeftColor: "colors";
|
|
295
|
+
readonly borderLeftStyle: "border-styles";
|
|
296
|
+
readonly borderLeftWidth: "border-widths";
|
|
297
|
+
readonly borderRadius: "radii";
|
|
298
|
+
readonly borderRight: "colors";
|
|
299
|
+
readonly borderRightColor: "colors";
|
|
300
|
+
readonly borderRightStyle: "border-styles";
|
|
301
|
+
readonly borderRightWidth: "border-widths";
|
|
302
|
+
readonly borderStyle: "border-styles";
|
|
303
|
+
readonly borderTop: "colors";
|
|
304
|
+
readonly borderTopColor: "colors";
|
|
305
|
+
readonly borderTopLeftRadius: "radii";
|
|
306
|
+
readonly borderTopRightRadius: "radii";
|
|
307
|
+
readonly borderTopStyle: "border-styles";
|
|
308
|
+
readonly borderTopWidth: "border-widths";
|
|
309
|
+
readonly borderWidth: "border-widths";
|
|
310
|
+
readonly bottom: "space";
|
|
311
|
+
readonly boxShadow: "shadows";
|
|
312
|
+
readonly caretColor: "colors";
|
|
313
|
+
readonly color: "colors";
|
|
314
|
+
readonly columnGap: "space-gap";
|
|
315
|
+
readonly columnRuleColor: "colors";
|
|
316
|
+
readonly fill: "colors";
|
|
317
|
+
readonly flexBasis: "sizes";
|
|
318
|
+
readonly fontFamily: "fonts";
|
|
319
|
+
readonly fontSize: "font-sizes";
|
|
320
|
+
readonly fontWeight: "font-weights";
|
|
321
|
+
readonly gap: "space-gap";
|
|
322
|
+
readonly gridColumnGap: "space-gap";
|
|
323
|
+
readonly gridGap: "space-gap";
|
|
324
|
+
readonly gridRowGap: "space-gap";
|
|
325
|
+
readonly gridTemplateColumns: "sizes";
|
|
326
|
+
readonly gridTemplateRows: "sizes";
|
|
327
|
+
readonly height: "sizes";
|
|
328
|
+
readonly inlineSize: "sizes";
|
|
329
|
+
readonly inset: "space-inset";
|
|
330
|
+
readonly insetBlock: "space-inset";
|
|
331
|
+
readonly insetBlockEnd: "space-inset";
|
|
332
|
+
readonly insetBlockStart: "space-inset";
|
|
333
|
+
readonly insetInline: "space-inset";
|
|
334
|
+
readonly insetInlineEnd: "space-inset";
|
|
335
|
+
readonly insetInlineStart: "space-inset";
|
|
336
|
+
readonly left: "space";
|
|
337
|
+
readonly letterSpacing: "letter-spacings";
|
|
338
|
+
readonly lineHeight: "line-heights";
|
|
339
|
+
readonly margin: "space-offset";
|
|
340
|
+
readonly marginBlock: "space-offset";
|
|
341
|
+
readonly marginBlockEnd: "space-offset";
|
|
342
|
+
readonly marginBlockStart: "space-offset";
|
|
343
|
+
readonly marginBottom: "space-offset";
|
|
344
|
+
readonly marginInline: "space-offset";
|
|
345
|
+
readonly marginInlineEnd: "space-offset";
|
|
346
|
+
readonly marginInlineStart: "space-offset";
|
|
347
|
+
readonly marginLeft: "space-offset";
|
|
348
|
+
readonly marginRight: "space-offset";
|
|
349
|
+
readonly marginTop: "space-offset";
|
|
350
|
+
readonly maxBlockSize: "sizes";
|
|
351
|
+
readonly maxHeight: "sizes";
|
|
352
|
+
readonly maxInlineSize: "sizes";
|
|
353
|
+
readonly maxWidth: "sizes";
|
|
354
|
+
readonly minBlockSize: "sizes";
|
|
355
|
+
readonly minHeight: "sizes";
|
|
356
|
+
readonly minInlineSize: "sizes";
|
|
357
|
+
readonly minWidth: "sizes";
|
|
358
|
+
readonly outline: "colors";
|
|
359
|
+
readonly outlineColor: "colors";
|
|
360
|
+
readonly padding: "space-inset";
|
|
361
|
+
readonly paddingBlock: "space-inset";
|
|
362
|
+
readonly paddingBlockEnd: "space-inset";
|
|
363
|
+
readonly paddingBlockStart: "space-inset";
|
|
364
|
+
readonly paddingBottom: "space-inset";
|
|
365
|
+
readonly paddingInline: "space-inset";
|
|
366
|
+
readonly paddingInlineEnd: "space-inset";
|
|
367
|
+
readonly paddingInlineStart: "space-inset";
|
|
368
|
+
readonly paddingLeft: "space-inset";
|
|
369
|
+
readonly paddingRight: "space-inset";
|
|
370
|
+
readonly paddingTop: "space-inset";
|
|
371
|
+
readonly right: "space";
|
|
372
|
+
readonly rowGap: "space-gap";
|
|
373
|
+
readonly scrollMargin: "space-offset";
|
|
374
|
+
readonly scrollMarginBlock: "space-offset";
|
|
375
|
+
readonly scrollMarginBlockEnd: "space-offset";
|
|
376
|
+
readonly scrollMarginBlockStart: "space-offset";
|
|
377
|
+
readonly scrollMarginBottom: "space-offset";
|
|
378
|
+
readonly scrollMarginInline: "space-offset";
|
|
379
|
+
readonly scrollMarginInlineEnd: "space-offset";
|
|
380
|
+
readonly scrollMarginInlineStart: "space-offset";
|
|
381
|
+
readonly scrollMarginLeft: "space-offset";
|
|
382
|
+
readonly scrollMarginRight: "space-offset";
|
|
383
|
+
readonly scrollMarginTop: "space-offset";
|
|
384
|
+
readonly scrollPadding: "space-inset";
|
|
385
|
+
readonly scrollPaddingBlock: "space-inset";
|
|
386
|
+
readonly scrollPaddingBlockEnd: "space-inset";
|
|
387
|
+
readonly scrollPaddingBlockStart: "space-inset";
|
|
388
|
+
readonly scrollPaddingBottom: "space-inset";
|
|
389
|
+
readonly scrollPaddingInline: "space-inset";
|
|
390
|
+
readonly scrollPaddingInlineEnd: "space-inset";
|
|
391
|
+
readonly scrollPaddingInlineStart: "space-inset";
|
|
392
|
+
readonly scrollPaddingLeft: "space-inset";
|
|
393
|
+
readonly scrollPaddingRight: "space-inset";
|
|
394
|
+
readonly scrollPaddingTop: "space-inset";
|
|
395
|
+
readonly stroke: "colors";
|
|
396
|
+
readonly textDecorationColor: "colors";
|
|
397
|
+
readonly textShadow: "shadows";
|
|
398
|
+
readonly top: "space";
|
|
399
|
+
readonly transition: "transitions";
|
|
400
|
+
readonly width: "sizes";
|
|
401
|
+
readonly zIndex: "z-indices";
|
|
402
|
+
}, {
|
|
403
|
+
paddingX: (value: {
|
|
404
|
+
readonly [$$PropertyValue]: "padding";
|
|
405
|
+
}) => {
|
|
406
|
+
paddingLeft: {
|
|
407
|
+
readonly [$$PropertyValue]: "padding";
|
|
408
|
+
};
|
|
409
|
+
paddingRight: {
|
|
410
|
+
readonly [$$PropertyValue]: "padding";
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
paddingY: (value: {
|
|
414
|
+
readonly [$$PropertyValue]: "padding";
|
|
415
|
+
}) => {
|
|
416
|
+
paddingTop: {
|
|
417
|
+
readonly [$$PropertyValue]: "padding";
|
|
418
|
+
};
|
|
419
|
+
paddingBottom: {
|
|
420
|
+
readonly [$$PropertyValue]: "padding";
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
marginX: (value: {
|
|
431
424
|
readonly [$$PropertyValue]: "margin";
|
|
425
|
+
}) => {
|
|
426
|
+
marginLeft: {
|
|
427
|
+
readonly [$$PropertyValue]: "margin";
|
|
428
|
+
};
|
|
429
|
+
marginRight: {
|
|
430
|
+
readonly [$$PropertyValue]: "margin";
|
|
431
|
+
};
|
|
432
432
|
};
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
433
|
+
marginY: (value: {
|
|
434
|
+
readonly [$$PropertyValue]: "margin";
|
|
435
|
+
}) => {
|
|
436
|
+
marginTop: {
|
|
437
|
+
readonly [$$PropertyValue]: "margin";
|
|
438
|
+
};
|
|
439
|
+
marginBottom: {
|
|
440
|
+
readonly [$$PropertyValue]: "margin";
|
|
441
|
+
};
|
|
439
442
|
};
|
|
440
|
-
|
|
443
|
+
square: (value: {
|
|
441
444
|
readonly [$$PropertyValue]: "width";
|
|
445
|
+
}) => {
|
|
446
|
+
width: {
|
|
447
|
+
readonly [$$PropertyValue]: "width";
|
|
448
|
+
};
|
|
449
|
+
height: {
|
|
450
|
+
readonly [$$PropertyValue]: "width";
|
|
451
|
+
};
|
|
442
452
|
};
|
|
443
|
-
};
|
|
444
|
-
}
|
|
453
|
+
}> | undefined;
|
|
454
|
+
}> & {
|
|
455
|
+
children?: react.ReactNode;
|
|
456
|
+
} & _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" | "disabled" | "type" | "referrerPolicy" | "media" | "target" | "href" | "download" | "hrefLang" | "ping" | "rel" | "asChild" | "dashed" | keyof _mirohq_design_system_stitches.CustomStylesProps | "variant"> & react.RefAttributes<HTMLAnchorElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"a">>, {
|
|
445
457
|
variant?: "primary" | "secondary" | undefined;
|
|
446
458
|
dashed?: boolean | "true" | undefined;
|
|
447
459
|
disabled?: boolean | "true" | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-link",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.8",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
"@react-aria/utils": "^3.13.0",
|
|
32
32
|
"@react-types/link": "^3.3.0",
|
|
33
33
|
"@mirohq/design-system-primitive": "^1.1.0",
|
|
34
|
-
"@mirohq/design-system-
|
|
35
|
-
"@mirohq/design-system-styles": "^1.0.
|
|
36
|
-
"@mirohq/design-system-
|
|
34
|
+
"@mirohq/design-system-utils": "^0.13.1",
|
|
35
|
+
"@mirohq/design-system-styles": "^1.0.21",
|
|
36
|
+
"@mirohq/design-system-stitches": "^2.2.5"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "rollup -c ../../../rollup.config.js",
|