@unpunnyfuns/swatchbook-blocks 0.20.4 → 0.50.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/style.css CHANGED
@@ -1367,6 +1367,11 @@
1367
1367
  display: flex;
1368
1368
  }
1369
1369
 
1370
+ .sb-token-navigator__group-row:focus-visible, .sb-token-navigator__leaf-row:focus-visible {
1371
+ outline: 2px solid var(--swatchbook-accent-bg, #1d4ed8);
1372
+ outline-offset: 1px;
1373
+ }
1374
+
1370
1375
  .sb-token-navigator__leaf-row {
1371
1376
  cursor: pointer;
1372
1377
  border-radius: 4px;
@@ -1551,6 +1556,11 @@
1551
1556
  cursor: pointer;
1552
1557
  }
1553
1558
 
1559
+ .sb-token-table__row:focus-visible {
1560
+ outline: 2px solid var(--swatchbook-accent-bg, #1d4ed8);
1561
+ outline-offset: -2px;
1562
+ }
1563
+
1554
1564
  .sb-token-table__td {
1555
1565
  border-bottom: 1px solid var(--swatchbook-border-default, #80808026);
1556
1566
  vertical-align: top;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unpunnyfuns/swatchbook-blocks",
3
- "version": "0.20.4",
3
+ "version": "0.50.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>",
@@ -32,6 +32,7 @@
32
32
  "types": "./dist/index.d.mts",
33
33
  "import": "./dist/index.mjs"
34
34
  },
35
+ "./style.css": "./dist/style.css",
35
36
  "./package.json": "./package.json"
36
37
  },
37
38
  "imports": {
@@ -68,7 +69,7 @@
68
69
  "@terrazzo/token-tools": "^2.0.3",
69
70
  "clsx": "^2.1.1",
70
71
  "colorjs.io": "0.6.1",
71
- "@unpunnyfuns/swatchbook-core": "0.20.4"
72
+ "@unpunnyfuns/swatchbook-core": "0.50.0"
72
73
  },
73
74
  "scripts": {
74
75
  "build": "tsdown",