@adia-ai/web-components 0.8.11 → 0.8.12

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog — @adia-ai/web-components
2
2
 
3
+ ## [0.8.12] — 2026-07-24
4
+
5
+ ### Changed
6
+ - **`tag-ui` adopts `badge-ui`'s sm/md/lg size system** (`components/tag/{tag.yaml,tag.examples.html}`; PR #401) — the `size` enum was `sm|md` only, one row short of `badge-ui` despite already sharing the identical CSS pattern (both delegate sizing entirely to the universal `[size]` system; neither has any per-size CSS of its own). Added `lg`. No CSS changes required. Also fixed a stale deck paragraph ("Supports status variants and two sizes" → "three sizes") on the compile source for `/site/components/tag`.
7
+
3
8
  ## [0.8.11] — 2026-07-23
4
9
 
5
10
  ### Added
@@ -27,11 +27,12 @@
27
27
  "default": false
28
28
  },
29
29
  "size": {
30
- "description": "Size preset controlling font-size and padding.",
30
+ "description": "Size preset controlling font-size and padding (sm/md/lg — same size system as badge-ui). For a denser or larger register, set [scale] on an ancestor.",
31
31
  "type": "string",
32
32
  "enum": [
33
33
  "sm",
34
- "md"
34
+ "md",
35
+ "lg"
35
36
  ],
36
37
  "default": "md"
37
38
  },
@@ -34,8 +34,8 @@ export class UITag extends UIElement {
34
34
  disabled: boolean;
35
35
  /** Shows a dismiss button that fires the remove event. */
36
36
  removable: boolean;
37
- /** Size preset controlling font-size and padding. */
38
- size: 'sm' | 'md';
37
+ /** Size preset controlling font-size and padding (sm/md/lg — same size system as badge-ui). For a denser or larger register, set [scale] on an ancestor. */
38
+ size: 'sm' | 'md' | 'lg';
39
39
  /** Tag text content. */
40
40
  text: string;
41
41
  /** Tag label. Renderer routes this to the `text` attribute, rendered via CSS attr(text) on ::after. */
@@ -30,12 +30,13 @@ props:
30
30
  type: boolean
31
31
  default: false
32
32
  size:
33
- description: Size preset controlling font-size and padding.
33
+ description: Size preset controlling font-size and padding (sm/md/lg — same size system as badge-ui). For a denser or larger register, set [scale] on an ancestor.
34
34
  type: string
35
35
  default: md
36
36
  enum:
37
37
  - sm
38
38
  - md
39
+ - lg
39
40
  text:
40
41
  description: Tag text content.
41
42
  type: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/web-components",
3
- "version": "0.8.11",
3
+ "version": "0.8.12",
4
4
  "description": "AdiaUI web components \u2014 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",