@unpunnyfuns/swatchbook-blocks 0.6.0 → 0.6.2
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 +134 -54
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +25 -2
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -736,6 +736,29 @@
|
|
|
736
736
|
color: var(--swatchbook-text-muted, CanvasText);
|
|
737
737
|
}
|
|
738
738
|
|
|
739
|
+
.sb-token-detail__breakdown-value {
|
|
740
|
+
flex-direction: column;
|
|
741
|
+
align-items: flex-start;
|
|
742
|
+
gap: 4px;
|
|
743
|
+
min-width: 0;
|
|
744
|
+
display: flex;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
.sb-token-detail__breakdown-alias {
|
|
748
|
+
opacity: .8;
|
|
749
|
+
flex-wrap: wrap;
|
|
750
|
+
align-items: center;
|
|
751
|
+
gap: 4px;
|
|
752
|
+
font-size: 11px;
|
|
753
|
+
display: flex;
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
.sb-token-detail__breakdown-alias-step {
|
|
757
|
+
align-items: center;
|
|
758
|
+
gap: 4px;
|
|
759
|
+
display: inline-flex;
|
|
760
|
+
}
|
|
761
|
+
|
|
739
762
|
.sb-token-detail__breakdown-layer-header {
|
|
740
763
|
text-transform: uppercase;
|
|
741
764
|
letter-spacing: .5px;
|
|
@@ -1036,8 +1059,8 @@
|
|
|
1036
1059
|
font-size: 16px;
|
|
1037
1060
|
line-height: 1;
|
|
1038
1061
|
position: absolute;
|
|
1039
|
-
top:
|
|
1040
|
-
right:
|
|
1062
|
+
top: 16px;
|
|
1063
|
+
right: 16px;
|
|
1041
1064
|
}
|
|
1042
1065
|
.sb-token-table__table {
|
|
1043
1066
|
border-collapse: collapse;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unpunnyfuns/swatchbook-blocks",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
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>",
|