@cloudgrid-io/ui 0.27.2 → 0.29.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/README.md +8 -1
- package/dist/blocks/avatar.d.ts +10 -4
- package/dist/blocks/avatar.d.ts.map +1 -1
- package/dist/blocks/avatar.js +8 -2
- package/dist/blocks/avatar.js.map +1 -1
- package/dist/console.css +65 -0
- package/dist/fonts.css +38 -9
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/cloudgrid-cn.d.ts +1 -1
- package/dist/lib/cloudgrid-cn.d.ts.map +1 -1
- package/dist/lib/cloudgrid-cn.js +17 -0
- package/dist/lib/cloudgrid-cn.js.map +1 -1
- package/dist/theme.css +139 -0
- package/dist/tokens/base.json +489 -4
- package/dist/tokens/surface-ink.json +10 -0
- package/dist/tokens/surface-panel.json +10 -0
- package/dist/tokens.css +731 -11
- package/dist/tokens.json +53 -2
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/button.js +28 -0
- package/dist/ui/button.js.map +1 -1
- package/dist/ui/dialog.d.ts +17 -1
- package/dist/ui/dialog.d.ts.map +1 -1
- package/dist/ui/dialog.js +18 -2
- package/dist/ui/dialog.js.map +1 -1
- package/dist/ui/drawer.d.ts +208 -0
- package/dist/ui/drawer.d.ts.map +1 -0
- package/dist/ui/drawer.js +265 -0
- package/dist/ui/drawer.js.map +1 -0
- package/package.json +3 -1
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
+
"text-muted-strong": {
|
|
31
|
+
"$value": "rgba(255, 255, 255, 0.68)",
|
|
32
|
+
"$type": "color",
|
|
33
|
+
"$description": "8.02:1 on --cg-surface-code. Ink is the one ground where --cg-text-muted\nalready clears the body floor (5.92:1), so this rung exists there for\nconsistency of meaning rather than to fix a ratio: a component that reaches for\ntext-faint-strong must resolve to something on all three surfaces, and\nresolving to the base #6a6a6a inside a dark scope would be the CLAUDE.md rule-3\nfailure. It sits between the ink scope's muted (0.56) and its secondary (0.78).",
|
|
34
|
+
"$extensions": {
|
|
35
|
+
"io.cloudgrid": {
|
|
36
|
+
"css": "--cg-text-muted-strong"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
30
40
|
"text-accent": {
|
|
31
41
|
"$value": "{brand.secondary}",
|
|
32
42
|
"$extensions": {
|
|
@@ -27,6 +27,16 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
|
+
"text-muted-strong": {
|
|
31
|
+
"$value": "rgba(255, 255, 255, 0.86)",
|
|
32
|
+
"$type": "color",
|
|
33
|
+
"$description": "4.75:1 on --cg-surface-panel. See the base note: on this ground nothing dimmer\nthan 0.84 white clears the 4.5:1 floor, so this rung is necessarily brighter\nthan the panel's own --cg-text-secondary (0.82, 4.47:1). The surface is what\nwould have to move to change that, not this value.",
|
|
34
|
+
"$extensions": {
|
|
35
|
+
"io.cloudgrid": {
|
|
36
|
+
"css": "--cg-text-muted-strong"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
30
40
|
"text-accent": {
|
|
31
41
|
"$value": "#ffffff",
|
|
32
42
|
"$type": "color",
|