@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.
@@ -53,7 +53,9 @@
53
53
  "x-adiaui": {
54
54
  "anti_patterns": [],
55
55
  "category": "container",
56
- "composes": [],
56
+ "composes": [
57
+ "switch-ui"
58
+ ],
57
59
  "events": {
58
60
  "change": {
59
61
  "description": "Fired when the toggle flips. detail contains { state }.",
@@ -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".
@@ -133,7 +133,7 @@ feed-item-ui[data-closing] {
133
133
  gap: 0.125rem;
134
134
  }
135
135
  :scope > [slot="body"] strong {
136
- font-weight: var(--a-font-weight-strong, 600);
136
+ font-weight: var(--a-weight-semibold);
137
137
  }
138
138
  :scope > [data-feed-close] {
139
139
  flex-shrink: 0;
@@ -43,7 +43,9 @@
43
43
  }
44
44
  ],
45
45
  "category": "form",
46
- "composes": [],
46
+ "composes": [
47
+ "field-ui"
48
+ ],
47
49
  "events": {},
48
50
  "examples": [
49
51
  {
@@ -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 }.",
@@ -14,6 +14,12 @@ description: |
14
14
  collapsed. [variant="section"] is a subnav rail with quieter chrome
15
15
  and a [heading] kicker rendered via CSS.
16
16
 
17
+ composes:
18
+ - nav-group-ui
19
+ - nav-item-ui
20
+ - icon-ui
21
+ - popover-ui
22
+
17
23
  props:
18
24
  variant:
19
25
  type: string
@@ -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-font-weight-normal);
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);
@@ -14,6 +14,11 @@ description: |
14
14
  expansion. Inline click + keyboard (Enter/Space) toggle is supported
15
15
  when [collapsible] (default true).
16
16
 
17
+ composes:
18
+ - icon-ui
19
+ - badge-ui
20
+ - nav-item-ui
21
+
17
22
  props:
18
23
  text:
19
24
  type: string
@@ -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-font-weight-normal);
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);
@@ -14,6 +14,10 @@ description: |
14
14
  <nav-ui>; clicking or activating an item calls nav.select(this) and
15
15
  bubbles a `nav-select` event.
16
16
 
17
+ composes:
18
+ - icon-ui
19
+ - badge-ui
20
+
17
21
  props:
18
22
  text:
19
23
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/web-components",
3
- "version": "0.5.7",
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",
@@ -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-* are backcompat aliases (to be removed). */
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;