@unpunnyfuns/swatchbook-blocks 0.57.0 → 0.58.0
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/index.mjs +156 -77
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +36 -0
- package/package.json +2 -2
package/dist/style.css
CHANGED
|
@@ -487,6 +487,18 @@
|
|
|
487
487
|
.sb-copy-button--copied {
|
|
488
488
|
color: var(--swatchbook-accent-default, Highlight);
|
|
489
489
|
}
|
|
490
|
+
|
|
491
|
+
.sb-copy-button__sr-status {
|
|
492
|
+
clip: rect(0, 0, 0, 0);
|
|
493
|
+
white-space: nowrap;
|
|
494
|
+
border: 0;
|
|
495
|
+
width: 1px;
|
|
496
|
+
height: 1px;
|
|
497
|
+
margin: -1px;
|
|
498
|
+
padding: 0;
|
|
499
|
+
position: absolute;
|
|
500
|
+
overflow: hidden;
|
|
501
|
+
}
|
|
490
502
|
.sb-diagnostics__summary {
|
|
491
503
|
cursor: pointer;
|
|
492
504
|
align-items: center;
|
|
@@ -1457,6 +1469,18 @@
|
|
|
1457
1469
|
margin-left: 8px;
|
|
1458
1470
|
display: inline-block;
|
|
1459
1471
|
}
|
|
1472
|
+
|
|
1473
|
+
.sb-token-navigator__sr-status {
|
|
1474
|
+
clip: rect(0, 0, 0, 0);
|
|
1475
|
+
white-space: nowrap;
|
|
1476
|
+
border: 0;
|
|
1477
|
+
width: 1px;
|
|
1478
|
+
height: 1px;
|
|
1479
|
+
margin: -1px;
|
|
1480
|
+
padding: 0;
|
|
1481
|
+
position: absolute;
|
|
1482
|
+
overflow: hidden;
|
|
1483
|
+
}
|
|
1460
1484
|
.sb-detail-overlay__backdrop {
|
|
1461
1485
|
z-index: 10000;
|
|
1462
1486
|
background: #0006;
|
|
@@ -1626,6 +1650,18 @@
|
|
|
1626
1650
|
.sb-token-table__row:hover .sb-token-table__copy-wrap, .sb-token-table__row:focus-within .sb-token-table__copy-wrap {
|
|
1627
1651
|
opacity: 1;
|
|
1628
1652
|
}
|
|
1653
|
+
|
|
1654
|
+
.sb-token-table__sr-status {
|
|
1655
|
+
clip: rect(0, 0, 0, 0);
|
|
1656
|
+
white-space: nowrap;
|
|
1657
|
+
border: 0;
|
|
1658
|
+
width: 1px;
|
|
1659
|
+
height: 1px;
|
|
1660
|
+
margin: -1px;
|
|
1661
|
+
padding: 0;
|
|
1662
|
+
position: absolute;
|
|
1663
|
+
overflow: hidden;
|
|
1664
|
+
}
|
|
1629
1665
|
.sb-typography-scale__row {
|
|
1630
1666
|
border-bottom: 1px solid var(--swatchbook-border-default, #80808033);
|
|
1631
1667
|
grid-template-columns: minmax(160px, 220px) 1fr;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unpunnyfuns/swatchbook-blocks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.58.0",
|
|
4
4
|
"description": "Storybook MDX doc blocks for DTCG design tokens — TokenTable, ColorPalette, TypographyScale, TokenDetail.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "unpunnyfuns <unpunnyfuns@gmail.com>",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"@terrazzo/token-tools": "^2.0.3",
|
|
72
72
|
"clsx": "^2.1.1",
|
|
73
73
|
"colorjs.io": "0.6.1",
|
|
74
|
-
"@unpunnyfuns/swatchbook-core": "0.
|
|
74
|
+
"@unpunnyfuns/swatchbook-core": "0.58.0"
|
|
75
75
|
},
|
|
76
76
|
"scripts": {
|
|
77
77
|
"build": "tsdown",
|