@adia-ai/web-components 0.5.7 → 0.5.8
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/demo-toggle/demo-toggle.a2ui.json +3 -1
- package/components/demo-toggle/demo-toggle.yaml +2 -0
- package/components/feed/feed.css +1 -1
- package/components/fields/fields.a2ui.json +3 -1
- package/components/fields/fields.yaml +2 -0
- package/components/nav/nav.a2ui.json +6 -1
- package/components/nav/nav.yaml +6 -0
- package/components/nav-group/nav-group.a2ui.json +5 -1
- package/components/nav-group/nav-group.css +1 -1
- package/components/nav-group/nav-group.yaml +5 -0
- package/components/nav-item/nav-item.a2ui.json +4 -1
- package/components/nav-item/nav-item.css +1 -1
- package/components/nav-item/nav-item.yaml +4 -0
- package/package.json +1 -1
- package/styles/typography.css +3 -1
|
@@ -11,6 +11,8 @@ description: >-
|
|
|
11
11
|
Used on trait detail pages to show "with trait" vs "without trait" on
|
|
12
12
|
the same chrome. data-mode="overlay" stacks the slots on the same
|
|
13
13
|
coordinates so layout never shifts.
|
|
14
|
+
composes:
|
|
15
|
+
- switch-ui
|
|
14
16
|
props:
|
|
15
17
|
labelOn:
|
|
16
18
|
description: Header label rendered when state is "on".
|
package/components/feed/feed.css
CHANGED
|
@@ -14,6 +14,8 @@ description: >-
|
|
|
14
14
|
The grid alignment lets siblings on the same row line up cleanly —
|
|
15
15
|
consistent label columns + consistent control columns — without
|
|
16
16
|
the wrap-flex jitter of <row-ui wrap>.
|
|
17
|
+
composes:
|
|
18
|
+
- field-ui
|
|
17
19
|
props:
|
|
18
20
|
inline:
|
|
19
21
|
description: >-
|
|
@@ -48,7 +48,12 @@
|
|
|
48
48
|
"x-adiaui": {
|
|
49
49
|
"anti_patterns": [],
|
|
50
50
|
"category": "layout",
|
|
51
|
-
"composes": [
|
|
51
|
+
"composes": [
|
|
52
|
+
"nav-group-ui",
|
|
53
|
+
"nav-item-ui",
|
|
54
|
+
"icon-ui",
|
|
55
|
+
"popover-ui"
|
|
56
|
+
],
|
|
52
57
|
"events": {
|
|
53
58
|
"nav-select": {
|
|
54
59
|
"description": "Bubbles from <nav-item-ui> children when one is selected. Detail: { item, text, value }.",
|
package/components/nav/nav.yaml
CHANGED
|
@@ -58,7 +58,11 @@
|
|
|
58
58
|
"x-adiaui": {
|
|
59
59
|
"anti_patterns": [],
|
|
60
60
|
"category": "layout",
|
|
61
|
-
"composes": [
|
|
61
|
+
"composes": [
|
|
62
|
+
"icon-ui",
|
|
63
|
+
"badge-ui",
|
|
64
|
+
"nav-item-ui"
|
|
65
|
+
],
|
|
62
66
|
"events": {
|
|
63
67
|
"group-toggle": {
|
|
64
68
|
"description": "Fired when the header toggles via click/keyboard. Detail: { text, open }.",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--nav-group-font-size: var(--a-ui-size);
|
|
10
10
|
--nav-group-font-size-sm: var(--a-ui-sm);
|
|
11
11
|
--nav-group-font-size-lg: var(--a-ui-lg);
|
|
12
|
-
--nav-group-font-weight: var(--a-
|
|
12
|
+
--nav-group-font-weight: var(--a-weight-normal);
|
|
13
13
|
--nav-group-fg: var(--a-fg);
|
|
14
14
|
--nav-group-fg-hover: var(--a-fg-strong);
|
|
15
15
|
--nav-group-fg-muted: var(--a-fg-muted);
|
|
@@ -63,7 +63,10 @@
|
|
|
63
63
|
"x-adiaui": {
|
|
64
64
|
"anti_patterns": [],
|
|
65
65
|
"category": "layout",
|
|
66
|
-
"composes": [
|
|
66
|
+
"composes": [
|
|
67
|
+
"icon-ui",
|
|
68
|
+
"badge-ui"
|
|
69
|
+
],
|
|
67
70
|
"events": {
|
|
68
71
|
"nav-select": {
|
|
69
72
|
"description": "Bubbles when the item is activated. Detail: { item, text, value }.",
|
|
@@ -39,7 +39,7 @@ nav-item-ui[selected] [slot="icon"]:empty::before {
|
|
|
39
39
|
--nav-item-font-size: var(--a-ui-size);
|
|
40
40
|
--nav-item-font-size-sm: var(--a-ui-sm);
|
|
41
41
|
--nav-item-font-size-lg: var(--a-ui-lg);
|
|
42
|
-
--nav-item-font-weight: var(--a-
|
|
42
|
+
--nav-item-font-weight: var(--a-weight-normal);
|
|
43
43
|
--nav-item-fg: var(--a-ui-text-subtle);
|
|
44
44
|
--nav-item-fg-hover: var(--a-ui-text-hover);
|
|
45
45
|
--nav-item-fg-selected: var(--a-ui-text-selected);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adia-ai/web-components",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.8",
|
|
4
4
|
"description": "AdiaUI web components — vanilla custom elements. A2UI runtime (renderer, registry, streams, wiring) lives in @adia-ai/a2ui-runtime.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./index.d.ts",
|
package/styles/typography.css
CHANGED
|
@@ -88,7 +88,9 @@
|
|
|
88
88
|
/* ── Font weight — single canonical scale ──
|
|
89
89
|
Conventional weights: thin=100, light=300, normal=400, medium=500,
|
|
90
90
|
semibold=600, bold=700. Fonts must provide these axes or fall back
|
|
91
|
-
gracefully. --a-font-weight-*
|
|
91
|
+
gracefully. Earlier --a-font-weight-* aliases were REMOVED in v0.5.0;
|
|
92
|
+
use --a-weight-* directly. (v0.5.8 §230 closed 3 consumer references
|
|
93
|
+
that still pointed at the removed family per FEEDBACK-20 §1.) */
|
|
92
94
|
--a-weight-thin: 100;
|
|
93
95
|
--a-weight-light: 300;
|
|
94
96
|
--a-weight-normal: 400;
|