@threadlabs/looma 0.52.2 → 0.52.3
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/components/ui-card/ui-card.html +4 -4
- package/dist/index.js +1 -1
- package/docs/catalog.json +6 -6
- package/package.json +1 -1
- package/styles/ui-card.css +2 -2
package/docs/catalog.json
CHANGED
|
@@ -752,7 +752,7 @@
|
|
|
752
752
|
],
|
|
753
753
|
"schemaVersion": 1,
|
|
754
754
|
"package": "@threadlabs/looma",
|
|
755
|
-
"version": "0.52.
|
|
755
|
+
"version": "0.52.3",
|
|
756
756
|
"groups": [
|
|
757
757
|
{
|
|
758
758
|
"id": "layout",
|
|
@@ -6161,7 +6161,7 @@
|
|
|
6161
6161
|
"tag": "ui-card",
|
|
6162
6162
|
"package": "@threadlabs/looma",
|
|
6163
6163
|
"root": "div",
|
|
6164
|
-
"description": "A surface that groups content with shared spacing and corners. Choose outlined, subtle, elevated or placeholder; placeholder marks an empty content area with
|
|
6164
|
+
"description": "A surface that groups content with shared spacing and corners. Choose outlined, subtle, elevated or placeholder; placeholder marks an empty content area with secondary text and a visible dashed border. Standard or expressive treatment independently follows the theme's material. Tones change colour without changing geometry. All slots are optional; content uses the default slot. Omit the header to keep the title and description together in the body. Use ActionBar in the actions slot, with the main action in its primary slot. CardGroup aligns these regions with native subgrid; ordinary cards keep their stacked layout.",
|
|
6165
6165
|
"designTokens": {
|
|
6166
6166
|
"sources": [
|
|
6167
6167
|
"packages/looma/src/components/ui-card/ui-card.html"
|
|
@@ -6304,10 +6304,10 @@
|
|
|
6304
6304
|
]
|
|
6305
6305
|
},
|
|
6306
6306
|
{
|
|
6307
|
-
"name": "--ui-text-
|
|
6307
|
+
"name": "--ui-text-primary"
|
|
6308
6308
|
},
|
|
6309
6309
|
{
|
|
6310
|
-
"name": "--ui-text-
|
|
6310
|
+
"name": "--ui-text-secondary"
|
|
6311
6311
|
},
|
|
6312
6312
|
{
|
|
6313
6313
|
"name": "--ui-warning-soft"
|
|
@@ -6422,7 +6422,7 @@
|
|
|
6422
6422
|
{
|
|
6423
6423
|
"name": "variant",
|
|
6424
6424
|
"property": "variant",
|
|
6425
|
-
"description": "The surface. outlined is a bordered panel on the page; subtle is a quiet filled one with no border, for supporting details set apart from the flow; elevated adds a subtle lift above the page, for a view's one card, such as sign-in. placeholder marks an empty content area with a
|
|
6425
|
+
"description": "The surface. outlined is a bordered panel on the page; subtle is a quiet filled one with no border, for supporting details set apart from the flow; elevated adds a subtle lift above the page, for a view's one card, such as sign-in. placeholder marks an empty content area with a visible dashed border and secondary text, keeping the outlined card's dimensions. Treatment independently controls decorative material.",
|
|
6426
6426
|
"type": "keyword",
|
|
6427
6427
|
"valueType": {
|
|
6428
6428
|
"kind": "terminal",
|
|
@@ -6508,7 +6508,7 @@
|
|
|
6508
6508
|
},
|
|
6509
6509
|
{
|
|
6510
6510
|
"name": "variant",
|
|
6511
|
-
"description": "The surface. outlined is a bordered panel on the page; subtle is a quiet filled one with no border, for supporting details set apart from the flow; elevated adds a subtle lift above the page, for a view's one card, such as sign-in. placeholder marks an empty content area with a
|
|
6511
|
+
"description": "The surface. outlined is a bordered panel on the page; subtle is a quiet filled one with no border, for supporting details set apart from the flow; elevated adds a subtle lift above the page, for a view's one card, such as sign-in. placeholder marks an empty content area with a visible dashed border and secondary text, keeping the outlined card's dimensions. Treatment independently controls decorative material.",
|
|
6512
6512
|
"type": "\"outlined\" | \"subtle\" | \"elevated\" | \"placeholder\"",
|
|
6513
6513
|
"default": "outlined",
|
|
6514
6514
|
"options": [
|
package/package.json
CHANGED
package/styles/ui-card.css
CHANGED
|
@@ -79,8 +79,8 @@
|
|
|
79
79
|
|
|
80
80
|
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="variant=placeholder"] {
|
|
81
81
|
border-style: dashed;
|
|
82
|
-
border-color: var(--ui-border-
|
|
83
|
-
--_ui-surface-text: var(--ui-text-
|
|
82
|
+
border-color: var(--ui-border-strong);
|
|
83
|
+
--_ui-surface-text: var(--ui-text-secondary);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="variant=elevated"] {
|