@mirohq/design-system-base-button 0.4.39 → 0.4.40
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 +61 -103
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -263,17 +263,17 @@ declare const StyledBaseButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
|
|
|
263
263
|
readonly body: "Open Sans, sans-serif";
|
|
264
264
|
};
|
|
265
265
|
radii: {
|
|
266
|
+
readonly 0: "0px";
|
|
266
267
|
readonly 25: "2px";
|
|
267
268
|
readonly 50: "4px";
|
|
268
269
|
readonly 75: "6px";
|
|
269
270
|
readonly 100: "8px";
|
|
270
271
|
readonly 200: "16px";
|
|
271
|
-
readonly
|
|
272
|
-
readonly none: "0px";
|
|
272
|
+
readonly round: "999px";
|
|
273
273
|
};
|
|
274
274
|
shadows: {
|
|
275
|
-
50: any;
|
|
276
275
|
100: any;
|
|
276
|
+
50: any;
|
|
277
277
|
"focus-small": any;
|
|
278
278
|
"focus-small-outline": any;
|
|
279
279
|
"focus-large": any;
|
|
@@ -303,48 +303,6 @@ declare const StyledBaseButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
|
|
|
303
303
|
readonly 1200: "96px";
|
|
304
304
|
readonly 1600: "128px";
|
|
305
305
|
};
|
|
306
|
-
'space-gap': {
|
|
307
|
-
readonly 0: any;
|
|
308
|
-
readonly 50: any;
|
|
309
|
-
readonly 100: any;
|
|
310
|
-
readonly 200: any;
|
|
311
|
-
readonly 300: any;
|
|
312
|
-
};
|
|
313
|
-
'space-inset': {
|
|
314
|
-
readonly 0: any;
|
|
315
|
-
readonly 50: any;
|
|
316
|
-
readonly 100: any;
|
|
317
|
-
readonly 150: any;
|
|
318
|
-
readonly 200: any;
|
|
319
|
-
readonly 300: any;
|
|
320
|
-
readonly 400: any;
|
|
321
|
-
readonly 500: any;
|
|
322
|
-
readonly 600: any;
|
|
323
|
-
readonly 700: any;
|
|
324
|
-
readonly 800: any;
|
|
325
|
-
readonly 1200: any;
|
|
326
|
-
readonly 1600: any;
|
|
327
|
-
};
|
|
328
|
-
'space-offset': {
|
|
329
|
-
readonly 0: any;
|
|
330
|
-
readonly 50: any;
|
|
331
|
-
readonly 100: any;
|
|
332
|
-
readonly 150: any;
|
|
333
|
-
readonly 200: any;
|
|
334
|
-
readonly 300: any;
|
|
335
|
-
readonly 400: any;
|
|
336
|
-
readonly 600: any;
|
|
337
|
-
readonly 800: any;
|
|
338
|
-
readonly 1200: any;
|
|
339
|
-
readonly 1600: any;
|
|
340
|
-
readonly 'stacking-0': any;
|
|
341
|
-
readonly 'stacking-100': any;
|
|
342
|
-
readonly 'stacking-200': any;
|
|
343
|
-
readonly 'stacking-300': any;
|
|
344
|
-
readonly 'stacking-400': any;
|
|
345
|
-
readonly 'stacking-500': any;
|
|
346
|
-
readonly 'stacking-800': any;
|
|
347
|
-
};
|
|
348
306
|
'stroke-width': {
|
|
349
307
|
readonly thin: "1.5px";
|
|
350
308
|
readonly normal: "2px";
|
|
@@ -385,7 +343,7 @@ declare const StyledBaseButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
|
|
|
385
343
|
readonly borderRightColor: "colors";
|
|
386
344
|
readonly borderRightStyle: "border-styles";
|
|
387
345
|
readonly borderRightWidth: "border-widths";
|
|
388
|
-
readonly borderSpacing: "space
|
|
346
|
+
readonly borderSpacing: "space";
|
|
389
347
|
readonly borderStyle: "border-styles";
|
|
390
348
|
readonly borderTop: "colors";
|
|
391
349
|
readonly borderTopColor: "colors";
|
|
@@ -398,42 +356,42 @@ declare const StyledBaseButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
|
|
|
398
356
|
readonly boxShadow: "shadows";
|
|
399
357
|
readonly caretColor: "colors";
|
|
400
358
|
readonly color: "colors";
|
|
401
|
-
readonly columnGap: "space
|
|
359
|
+
readonly columnGap: "space";
|
|
402
360
|
readonly columnRuleColor: "colors";
|
|
403
361
|
readonly fill: "colors";
|
|
404
362
|
readonly flexBasis: "sizes";
|
|
405
363
|
readonly fontFamily: "fonts";
|
|
406
364
|
readonly fontSize: "font-sizes";
|
|
407
365
|
readonly fontWeight: "font-weights";
|
|
408
|
-
readonly gap: "space
|
|
409
|
-
readonly gridColumnGap: "space
|
|
410
|
-
readonly gridGap: "space
|
|
411
|
-
readonly gridRowGap: "space
|
|
366
|
+
readonly gap: "space";
|
|
367
|
+
readonly gridColumnGap: "space";
|
|
368
|
+
readonly gridGap: "space";
|
|
369
|
+
readonly gridRowGap: "space";
|
|
412
370
|
readonly gridTemplateColumns: "sizes";
|
|
413
371
|
readonly gridTemplateRows: "sizes";
|
|
414
372
|
readonly height: "sizes";
|
|
415
373
|
readonly inlineSize: "sizes";
|
|
416
|
-
readonly inset: "space
|
|
417
|
-
readonly insetBlock: "space
|
|
418
|
-
readonly insetBlockEnd: "space
|
|
419
|
-
readonly insetBlockStart: "space
|
|
420
|
-
readonly insetInline: "space
|
|
421
|
-
readonly insetInlineEnd: "space
|
|
422
|
-
readonly insetInlineStart: "space
|
|
374
|
+
readonly inset: "space";
|
|
375
|
+
readonly insetBlock: "space";
|
|
376
|
+
readonly insetBlockEnd: "space";
|
|
377
|
+
readonly insetBlockStart: "space";
|
|
378
|
+
readonly insetInline: "space";
|
|
379
|
+
readonly insetInlineEnd: "space";
|
|
380
|
+
readonly insetInlineStart: "space";
|
|
423
381
|
readonly left: "space";
|
|
424
382
|
readonly letterSpacing: "letter-spacings";
|
|
425
383
|
readonly lineHeight: "line-heights";
|
|
426
|
-
readonly margin: "space
|
|
427
|
-
readonly marginBlock: "space
|
|
428
|
-
readonly marginBlockEnd: "space
|
|
429
|
-
readonly marginBlockStart: "space
|
|
430
|
-
readonly marginBottom: "space
|
|
431
|
-
readonly marginInline: "space
|
|
432
|
-
readonly marginInlineEnd: "space
|
|
433
|
-
readonly marginInlineStart: "space
|
|
434
|
-
readonly marginLeft: "space
|
|
435
|
-
readonly marginRight: "space
|
|
436
|
-
readonly marginTop: "space
|
|
384
|
+
readonly margin: "space";
|
|
385
|
+
readonly marginBlock: "space";
|
|
386
|
+
readonly marginBlockEnd: "space";
|
|
387
|
+
readonly marginBlockStart: "space";
|
|
388
|
+
readonly marginBottom: "space";
|
|
389
|
+
readonly marginInline: "space";
|
|
390
|
+
readonly marginInlineEnd: "space";
|
|
391
|
+
readonly marginInlineStart: "space";
|
|
392
|
+
readonly marginLeft: "space";
|
|
393
|
+
readonly marginRight: "space";
|
|
394
|
+
readonly marginTop: "space";
|
|
437
395
|
readonly maxBlockSize: "sizes";
|
|
438
396
|
readonly maxHeight: "sizes";
|
|
439
397
|
readonly maxInlineSize: "sizes";
|
|
@@ -444,41 +402,41 @@ declare const StyledBaseButton: react.ForwardRefExoticComponent<Omit<Omit<_miroh
|
|
|
444
402
|
readonly minWidth: "sizes";
|
|
445
403
|
readonly outline: "colors";
|
|
446
404
|
readonly outlineColor: "colors";
|
|
447
|
-
readonly padding: "space
|
|
448
|
-
readonly paddingBlock: "space
|
|
449
|
-
readonly paddingBlockEnd: "space
|
|
450
|
-
readonly paddingBlockStart: "space
|
|
451
|
-
readonly paddingBottom: "space
|
|
452
|
-
readonly paddingInline: "space
|
|
453
|
-
readonly paddingInlineEnd: "space
|
|
454
|
-
readonly paddingInlineStart: "space
|
|
455
|
-
readonly paddingLeft: "space
|
|
456
|
-
readonly paddingRight: "space
|
|
457
|
-
readonly paddingTop: "space
|
|
405
|
+
readonly padding: "space";
|
|
406
|
+
readonly paddingBlock: "space";
|
|
407
|
+
readonly paddingBlockEnd: "space";
|
|
408
|
+
readonly paddingBlockStart: "space";
|
|
409
|
+
readonly paddingBottom: "space";
|
|
410
|
+
readonly paddingInline: "space";
|
|
411
|
+
readonly paddingInlineEnd: "space";
|
|
412
|
+
readonly paddingInlineStart: "space";
|
|
413
|
+
readonly paddingLeft: "space";
|
|
414
|
+
readonly paddingRight: "space";
|
|
415
|
+
readonly paddingTop: "space";
|
|
458
416
|
readonly right: "space";
|
|
459
|
-
readonly rowGap: "space
|
|
460
|
-
readonly scrollMargin: "space
|
|
461
|
-
readonly scrollMarginBlock: "space
|
|
462
|
-
readonly scrollMarginBlockEnd: "space
|
|
463
|
-
readonly scrollMarginBlockStart: "space
|
|
464
|
-
readonly scrollMarginBottom: "space
|
|
465
|
-
readonly scrollMarginInline: "space
|
|
466
|
-
readonly scrollMarginInlineEnd: "space
|
|
467
|
-
readonly scrollMarginInlineStart: "space
|
|
468
|
-
readonly scrollMarginLeft: "space
|
|
469
|
-
readonly scrollMarginRight: "space
|
|
470
|
-
readonly scrollMarginTop: "space
|
|
471
|
-
readonly scrollPadding: "space
|
|
472
|
-
readonly scrollPaddingBlock: "space
|
|
473
|
-
readonly scrollPaddingBlockEnd: "space
|
|
474
|
-
readonly scrollPaddingBlockStart: "space
|
|
475
|
-
readonly scrollPaddingBottom: "space
|
|
476
|
-
readonly scrollPaddingInline: "space
|
|
477
|
-
readonly scrollPaddingInlineEnd: "space
|
|
478
|
-
readonly scrollPaddingInlineStart: "space
|
|
479
|
-
readonly scrollPaddingLeft: "space
|
|
480
|
-
readonly scrollPaddingRight: "space
|
|
481
|
-
readonly scrollPaddingTop: "space
|
|
417
|
+
readonly rowGap: "space";
|
|
418
|
+
readonly scrollMargin: "space";
|
|
419
|
+
readonly scrollMarginBlock: "space";
|
|
420
|
+
readonly scrollMarginBlockEnd: "space";
|
|
421
|
+
readonly scrollMarginBlockStart: "space";
|
|
422
|
+
readonly scrollMarginBottom: "space";
|
|
423
|
+
readonly scrollMarginInline: "space";
|
|
424
|
+
readonly scrollMarginInlineEnd: "space";
|
|
425
|
+
readonly scrollMarginInlineStart: "space";
|
|
426
|
+
readonly scrollMarginLeft: "space";
|
|
427
|
+
readonly scrollMarginRight: "space";
|
|
428
|
+
readonly scrollMarginTop: "space";
|
|
429
|
+
readonly scrollPadding: "space";
|
|
430
|
+
readonly scrollPaddingBlock: "space";
|
|
431
|
+
readonly scrollPaddingBlockEnd: "space";
|
|
432
|
+
readonly scrollPaddingBlockStart: "space";
|
|
433
|
+
readonly scrollPaddingBottom: "space";
|
|
434
|
+
readonly scrollPaddingInline: "space";
|
|
435
|
+
readonly scrollPaddingInlineEnd: "space";
|
|
436
|
+
readonly scrollPaddingInlineStart: "space";
|
|
437
|
+
readonly scrollPaddingLeft: "space";
|
|
438
|
+
readonly scrollPaddingRight: "space";
|
|
439
|
+
readonly scrollPaddingTop: "space";
|
|
482
440
|
readonly stroke: "colors";
|
|
483
441
|
readonly strokeWidth: "stroke-width";
|
|
484
442
|
readonly textDecorationColor: "colors";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-base-button",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.40",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@react-aria/utils": "^3.13.0",
|
|
31
31
|
"@react-types/shared": "^3.16.0",
|
|
32
32
|
"@mirohq/design-system-primitive": "^1.1.2",
|
|
33
|
-
"@mirohq/design-system-types": "^0.6.2",
|
|
34
|
-
"@mirohq/design-system-stitches": "^2.6.3",
|
|
35
33
|
"@mirohq/design-system-use-press": "^0.3.1",
|
|
36
|
-
"@mirohq/design-system-utils": "^0.15.0"
|
|
34
|
+
"@mirohq/design-system-utils": "^0.15.0",
|
|
35
|
+
"@mirohq/design-system-stitches": "^2.6.4",
|
|
36
|
+
"@mirohq/design-system-types": "^0.6.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "rollup -c ../../../../rollup.config.js",
|