@adia-ai/web-components 0.4.8 → 0.5.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.
Files changed (112) hide show
  1. package/USAGE.md +255 -2
  2. package/components/action-list/action-list.a2ui.json +15 -1
  3. package/components/action-list/action-list.d.ts +10 -1
  4. package/components/action-list/action-list.yaml +10 -0
  5. package/components/agent-artifact/agent-artifact.a2ui.json +7 -1
  6. package/components/agent-artifact/agent-artifact.d.ts +6 -1
  7. package/components/agent-artifact/agent-artifact.yaml +4 -0
  8. package/components/agent-feedback-bar/agent-feedback-bar.a2ui.json +7 -1
  9. package/components/agent-feedback-bar/agent-feedback-bar.d.ts +6 -1
  10. package/components/agent-feedback-bar/agent-feedback-bar.yaml +4 -0
  11. package/components/agent-questions/agent-questions.a2ui.json +11 -1
  12. package/components/agent-questions/agent-questions.d.ts +8 -1
  13. package/components/agent-questions/agent-questions.yaml +7 -0
  14. package/components/agent-reasoning/agent-reasoning.a2ui.json +25 -3
  15. package/components/agent-reasoning/agent-reasoning.d.ts +20 -3
  16. package/components/agent-reasoning/agent-reasoning.yaml +15 -0
  17. package/components/agent-suggestions/agent-suggestions.a2ui.json +15 -1
  18. package/components/agent-suggestions/agent-suggestions.d.ts +10 -1
  19. package/components/agent-suggestions/agent-suggestions.yaml +10 -0
  20. package/components/agent-trace/agent-trace.a2ui.json +7 -1
  21. package/components/agent-trace/agent-trace.d.ts +6 -1
  22. package/components/agent-trace/agent-trace.yaml +4 -0
  23. package/components/canvas/canvas.yaml +9 -7
  24. package/components/chart/chart.a2ui.json +3 -0
  25. package/components/chart/chart.d.ts +2 -0
  26. package/components/chart/chart.yaml +5 -0
  27. package/components/chart-legend/chart-legend.a2ui.json +15 -1
  28. package/components/chart-legend/chart-legend.d.ts +10 -1
  29. package/components/chart-legend/chart-legend.yaml +10 -0
  30. package/components/chat-thread/chat-thread.a2ui.json +11 -1
  31. package/components/chat-thread/chat-thread.d.ts +8 -1
  32. package/components/chat-thread/chat-thread.yaml +7 -0
  33. package/components/code/code.a2ui.json +36 -7
  34. package/components/code/code.d.ts +30 -0
  35. package/components/code/code.yaml +29 -6
  36. package/components/color-picker/class.js +59 -1
  37. package/components/color-picker/color-picker.a2ui.json +34 -0
  38. package/components/color-picker/color-picker.d.ts +70 -8
  39. package/components/color-picker/color-picker.yaml +49 -0
  40. package/components/command/command.a2ui.json +11 -1
  41. package/components/command/command.d.ts +8 -1
  42. package/components/command/command.yaml +7 -0
  43. package/components/demo-toggle/demo-toggle.a2ui.json +7 -1
  44. package/components/demo-toggle/demo-toggle.d.ts +6 -1
  45. package/components/demo-toggle/demo-toggle.yaml +4 -0
  46. package/components/heatmap/heatmap.a2ui.json +11 -2
  47. package/components/heatmap/heatmap.d.ts +6 -0
  48. package/components/heatmap/heatmap.yaml +17 -2
  49. package/components/link/link.a2ui.json +11 -1
  50. package/components/link/link.d.ts +8 -1
  51. package/components/link/link.yaml +7 -0
  52. package/components/list/list.a2ui.json +11 -1
  53. package/components/list/list.d.ts +8 -1
  54. package/components/list/list.yaml +7 -0
  55. package/components/menu/menu.a2ui.json +11 -1
  56. package/components/menu/menu.d.ts +8 -1
  57. package/components/menu/menu.yaml +7 -0
  58. package/components/nav/nav.a2ui.json +15 -1
  59. package/components/nav/nav.d.ts +10 -1
  60. package/components/nav/nav.yaml +10 -0
  61. package/components/nav-group/nav-group.a2ui.json +11 -1
  62. package/components/nav-group/nav-group.d.ts +8 -1
  63. package/components/nav-group/nav-group.yaml +7 -0
  64. package/components/nav-item/nav-item.a2ui.json +15 -1
  65. package/components/nav-item/nav-item.d.ts +10 -1
  66. package/components/nav-item/nav-item.yaml +10 -0
  67. package/components/noodles/noodles.a2ui.json +46 -2
  68. package/components/noodles/noodles.d.ts +28 -2
  69. package/components/noodles/noodles.yaml +32 -0
  70. package/components/otp-input/otp-input.a2ui.json +14 -2
  71. package/components/otp-input/otp-input.d.ts +11 -0
  72. package/components/otp-input/otp-input.yaml +10 -2
  73. package/components/pagination/pagination.a2ui.json +7 -1
  74. package/components/pagination/pagination.d.ts +6 -1
  75. package/components/pagination/pagination.yaml +4 -0
  76. package/components/stream/stream.a2ui.json +7 -1
  77. package/components/stream/stream.d.ts +6 -1
  78. package/components/stream/stream.yaml +4 -0
  79. package/components/swatch/class.js +362 -15
  80. package/components/swatch/swatch.a2ui.json +68 -1
  81. package/components/swatch/swatch.css +150 -0
  82. package/components/swatch/swatch.d.ts +43 -0
  83. package/components/swatch/swatch.yaml +67 -1
  84. package/components/swiper/swiper.a2ui.json +18 -2
  85. package/components/swiper/swiper.d.ts +14 -2
  86. package/components/swiper/swiper.yaml +11 -0
  87. package/components/table/table.a2ui.json +80 -5
  88. package/components/table/table.d.ts +58 -5
  89. package/components/table/table.yaml +54 -2
  90. package/components/tabs/tabs.a2ui.json +7 -1
  91. package/components/tabs/tabs.d.ts +6 -1
  92. package/components/tabs/tabs.yaml +4 -0
  93. package/components/tag/tag.a2ui.json +11 -1
  94. package/components/tag/tag.d.ts +8 -1
  95. package/components/tag/tag.yaml +7 -0
  96. package/components/timeline/timeline.a2ui.json +3 -7
  97. package/components/timeline/timeline.d.ts +2 -4
  98. package/components/timeline/timeline.yaml +3 -6
  99. package/components/toggle-group/toggle-group.a2ui.json +7 -1
  100. package/components/toggle-group/toggle-group.d.ts +6 -1
  101. package/components/toggle-group/toggle-group.yaml +4 -0
  102. package/components/toggle-scheme/toggle-scheme.a2ui.json +11 -1
  103. package/components/toggle-scheme/toggle-scheme.d.ts +8 -1
  104. package/components/toggle-scheme/toggle-scheme.yaml +7 -0
  105. package/components/tree/tree.a2ui.json +15 -1
  106. package/components/tree/tree.d.ts +10 -1
  107. package/components/tree/tree.yaml +10 -0
  108. package/core/data-stream.d.ts +56 -0
  109. package/core/element.d.ts +10 -0
  110. package/core/index.d.ts +6 -0
  111. package/index.d.ts +9 -2
  112. package/package.json +2 -2
@@ -74,15 +74,67 @@ props:
74
74
  default: false
75
75
  events:
76
76
  cell-click:
77
- description: Fired when a data cell is clicked.
77
+ description: Fired when a data cell is clicked. detail carries the cell location + value.
78
+ detail:
79
+ key:
80
+ type: string
81
+ description: Column key.
82
+ row:
83
+ type: object
84
+ description: Row data object.
85
+ value:
86
+ description: Cell value (type depends on column).
87
+ dataIndex:
88
+ type: number
89
+ description: Row index in the underlying data array.
90
+ filter-change:
91
+ description: Fired when an interactive filter row applies / clears. detail.filters is the current filter map.
92
+ detail:
93
+ filters:
94
+ type: object
95
+ description: "Map of `{ [columnKey]: filterValue }` reflecting active filters."
78
96
  page:
79
97
  description: Fired when the user navigates to a different page.
98
+ detail:
99
+ page:
100
+ type: number
101
+ description: New active page index (1-based).
80
102
  resize:
81
103
  description: Fired when a column is resized via drag.
104
+ detail:
105
+ key:
106
+ type: string
107
+ description: Column key being resized.
108
+ width:
109
+ type: number
110
+ description: New column width in pixels.
111
+ row-expand:
112
+ description: Fired when an expandable row's chevron is activated. detail.index is the row position; detail.row is the row data.
113
+ detail:
114
+ index:
115
+ type: number
116
+ description: Row index in the underlying data array.
117
+ row:
118
+ type: object
119
+ description: Row data object.
82
120
  select:
83
- description: Fired when row selection changes.
121
+ description: Fired when row selection changes. detail.selected is an array of row indices or IDs.
122
+ detail:
123
+ selected:
124
+ type: array
125
+ description: Array of selected row indices or IDs (driven by [select-mode]).
84
126
  sort:
85
127
  description: Fired when sort state changes via header click.
128
+ detail:
129
+ key:
130
+ type: string
131
+ description: Column key being sorted.
132
+ dir:
133
+ type: string
134
+ description: Sort direction — "asc" / "desc" / null (cleared).
135
+ sortState:
136
+ type: array
137
+ description: Full sort state array (multi-column support).
86
138
  slots: {}
87
139
  states:
88
140
  - name: idle
@@ -51,7 +51,13 @@
51
51
  ],
52
52
  "events": {
53
53
  "change": {
54
- "description": "Fired when the value changes (on blur for inputs, on selection for pickers)."
54
+ "description": "Fired when the value changes (on blur for inputs, on selection for pickers).",
55
+ "detail": {
56
+ "value": {
57
+ "description": "New active tab value.",
58
+ "type": "string"
59
+ }
60
+ }
55
61
  }
56
62
  },
57
63
  "examples": [
@@ -12,7 +12,12 @@
12
12
 
13
13
  import { UIElement } from '../../core/element.js';
14
14
 
15
- export type TabsChangeEvent = CustomEvent<unknown>;
15
+ export interface TabsChangeEventDetail {
16
+ /** New active tab value. */
17
+ value: string;
18
+ }
19
+
20
+ export type TabsChangeEvent = CustomEvent<TabsChangeEventDetail>;
16
21
 
17
22
  export class UITabs extends UIElement {
18
23
  /** Tab strip orientation. Set to 'vertical' for vertical layout; empty/omitted for horizontal. */
@@ -29,6 +29,10 @@ props:
29
29
  events:
30
30
  change:
31
31
  description: "Fired when the value changes (on blur for inputs, on selection for pickers)."
32
+ detail:
33
+ value:
34
+ type: string
35
+ description: New active tab value.
32
36
  slots:
33
37
  default:
34
38
  description: Child tab-ui elements that form the tab strip
@@ -67,7 +67,17 @@
67
67
  "composes": [],
68
68
  "events": {
69
69
  "remove": {
70
- "description": "Fired when the dismiss button is activated."
70
+ "description": "Fired when the dismiss button is activated.",
71
+ "detail": {
72
+ "text": {
73
+ "description": "Tag text content.",
74
+ "type": "string"
75
+ },
76
+ "value": {
77
+ "description": "Tag value (same as text).",
78
+ "type": "string"
79
+ }
80
+ }
71
81
  }
72
82
  },
73
83
  "examples": [
@@ -12,7 +12,14 @@
12
12
 
13
13
  import { UIElement } from '../../core/element.js';
14
14
 
15
- export type TagRemoveEvent = CustomEvent<unknown>;
15
+ export interface TagRemoveEventDetail {
16
+ /** Tag text content. */
17
+ text: string;
18
+ /** Tag value (same as text). */
19
+ value: string;
20
+ }
21
+
22
+ export type TagRemoveEvent = CustomEvent<TagRemoveEventDetail>;
16
23
 
17
24
  export class UITag extends UIElement {
18
25
  /** Disables interaction and dims the tag. */
@@ -45,6 +45,13 @@ props:
45
45
  events:
46
46
  remove:
47
47
  description: Fired when the dismiss button is activated.
48
+ detail:
49
+ text:
50
+ type: string
51
+ description: Tag text content.
52
+ value:
53
+ type: string
54
+ description: Tag value (same as text).
48
55
  slots: {}
49
56
  states:
50
57
  - name: idle
@@ -47,14 +47,10 @@
47
47
  ],
48
48
  "events": {
49
49
  "timeline-toggle": {
50
- "description": "Fired when a collapsible timeline item is expanded or collapsed. Detail carries the toggled item's id + new open state.",
50
+ "description": "Fired when a collapsible timeline item is expanded or collapsed. detail.expanded carries the new open state.",
51
51
  "detail": {
52
- "id": {
53
- "description": "Item id (matches the timeline-item-ui's data-id attr).",
54
- "type": "string"
55
- },
56
- "open": {
57
- "description": "New open state after the toggle.",
52
+ "expanded": {
53
+ "description": "New open state of the toggled item after the press.",
58
54
  "type": "boolean"
59
55
  }
60
56
  }
@@ -13,10 +13,8 @@
13
13
  import { UIElement } from '../../core/element.js';
14
14
 
15
15
  export interface TimelineToggleEventDetail {
16
- /** Item id (matches the timeline-item-ui's data-id attr). */
17
- id: string;
18
- /** New open state after the toggle. */
19
- open: boolean;
16
+ /** New open state of the toggled item after the press. */
17
+ expanded: boolean;
20
18
  }
21
19
 
22
20
  export type TimelineToggleEvent = CustomEvent<TimelineToggleEventDetail>;
@@ -27,14 +27,11 @@ props:
27
27
  enum: [sm, md]
28
28
  events:
29
29
  timeline-toggle:
30
- description: Fired when a collapsible timeline item is expanded or collapsed. Detail carries the toggled item's id + new open state.
30
+ description: Fired when a collapsible timeline item is expanded or collapsed. detail.expanded carries the new open state.
31
31
  detail:
32
- id:
33
- type: string
34
- description: Item id (matches the timeline-item-ui's data-id attr).
35
- open:
32
+ expanded:
36
33
  type: boolean
37
- description: New open state after the toggle.
34
+ description: New open state of the toggled item after the press.
38
35
  slots:
39
36
  default:
40
37
  description: Accepts <timeline-item-ui> children.
@@ -37,7 +37,13 @@
37
37
  "composes": [],
38
38
  "events": {
39
39
  "change": {
40
- "description": "Fired when selection changes. detail: { value }"
40
+ "description": "Fired when selection changes. detail: { value }",
41
+ "detail": {
42
+ "value": {
43
+ "description": "New toggle-group value.",
44
+ "type": "string"
45
+ }
46
+ }
41
47
  }
42
48
  },
43
49
  "examples": [
@@ -12,7 +12,12 @@
12
12
 
13
13
  import { UIElement } from '../../core/element.js';
14
14
 
15
- export type ToggleGroupChangeEvent = CustomEvent<unknown>;
15
+ export interface ToggleGroupChangeEventDetail {
16
+ /** New toggle-group value. */
17
+ value: string;
18
+ }
19
+
20
+ export type ToggleGroupChangeEvent = CustomEvent<ToggleGroupChangeEventDetail>;
16
21
 
17
22
  export class UIToggleGroup extends UIElement {
18
23
  /** When true, restrict to one active option (single-select). */
@@ -19,6 +19,10 @@ props:
19
19
  events:
20
20
  change:
21
21
  description: "Fired when selection changes. detail: { value }"
22
+ detail:
23
+ value:
24
+ type: string
25
+ description: New toggle-group value.
22
26
  slots:
23
27
  default:
24
28
  description: "Default slot — primary child content."
@@ -129,7 +129,17 @@
129
129
  ],
130
130
  "events": {
131
131
  "scheme-change": {
132
- "description": "Fired when the active scheme changes. detail contains { scheme: \"light\" | \"dark\", source: \"press\" | \"media\" | \"programmatic\" }."
132
+ "description": "Fired when the active scheme changes. detail contains { scheme: \"light\" | \"dark\", source: \"press\" | \"media\" | \"programmatic\" }.",
133
+ "detail": {
134
+ "scheme": {
135
+ "description": "Active color scheme (\"light\" or \"dark\").",
136
+ "type": "string"
137
+ },
138
+ "source": {
139
+ "description": "Change source — \"press\" / \"media\" / \"programmatic\".",
140
+ "type": "string"
141
+ }
142
+ }
133
143
  }
134
144
  },
135
145
  "examples": [
@@ -12,7 +12,14 @@
12
12
 
13
13
  import { UIElement } from '../../core/element.js';
14
14
 
15
- export type ToggleSchemeSchemeChangeEvent = CustomEvent<unknown>;
15
+ export interface ToggleSchemeSchemeChangeEventDetail {
16
+ /** Active color scheme ("light" or "dark"). */
17
+ scheme: string;
18
+ /** Change source — "press" / "media" / "programmatic". */
19
+ source: string;
20
+ }
21
+
22
+ export type ToggleSchemeSchemeChangeEvent = CustomEvent<ToggleSchemeSchemeChangeEventDetail>;
16
23
 
17
24
  export class UIToggleScheme extends UIElement {
18
25
  /** Resolved scheme ("light" | "dark"). Read-only; mutate via .setScheme() or .toggle(). */
@@ -124,6 +124,13 @@ events:
124
124
  description: >-
125
125
  Fired when the active scheme changes. detail contains
126
126
  { scheme: "light" | "dark", source: "press" | "media" | "programmatic" }.
127
+ detail:
128
+ scheme:
129
+ type: string
130
+ description: Active color scheme ("light" or "dark").
131
+ source:
132
+ type: string
133
+ description: Change source — "press" / "media" / "programmatic".
127
134
  slots: {}
128
135
  states:
129
136
  - name: idle
@@ -29,7 +29,21 @@
29
29
  ],
30
30
  "events": {
31
31
  "tree-select": {
32
- "description": "Fired when an item is selected. detail: { item, text, value }"
32
+ "description": "Fired when an item is selected. detail: { item, text, value }",
33
+ "detail": {
34
+ "item": {
35
+ "description": "Selected tree-item element.",
36
+ "type": "object"
37
+ },
38
+ "text": {
39
+ "description": "Item text content.",
40
+ "type": "string"
41
+ },
42
+ "value": {
43
+ "description": "Item value attribute.",
44
+ "type": "string"
45
+ }
46
+ }
33
47
  }
34
48
  },
35
49
  "examples": [
@@ -12,7 +12,16 @@
12
12
 
13
13
  import { UIElement } from '../../core/element.js';
14
14
 
15
- export type TreeSelectEvent = CustomEvent<unknown>;
15
+ export interface TreeSelectEventDetail {
16
+ /** Selected tree-item element. */
17
+ item: Record<string, unknown>;
18
+ /** Item text content. */
19
+ text: string;
20
+ /** Item value attribute. */
21
+ value: string;
22
+ }
23
+
24
+ export type TreeSelectEvent = CustomEvent<TreeSelectEventDetail>;
16
25
 
17
26
  export class UITree extends UIElement {
18
27
 
@@ -16,6 +16,16 @@ props: {}
16
16
  events:
17
17
  tree-select:
18
18
  description: "Fired when an item is selected. detail: { item, text, value }"
19
+ detail:
20
+ item:
21
+ type: object
22
+ description: Selected tree-item element.
23
+ text:
24
+ type: string
25
+ description: Item text content.
26
+ value:
27
+ type: string
28
+ description: Item value attribute.
19
29
  slots:
20
30
  default (tree-item-ui children):
21
31
  description: "Child content region for the `default (tree-item-ui children)` slot."
@@ -0,0 +1,56 @@
1
+ /**
2
+ * data-stream — attribute-driven data ingestion, signal-backed.
3
+ *
4
+ * Public API surface: read the shared registry (`streams`) or await a
5
+ * stream's registration (`whenStream`). The internal MutationObserver
6
+ * + transport machinery (HTTP / SSE / WS / JSON / CSV / TSV / JSONL /
7
+ * text) is implementation-only — consumers see the signal + the events
8
+ * (`stream-load`, `stream-error`) on the element.
9
+ *
10
+ * @see ../USAGE.md
11
+ */
12
+
13
+ import type { ReadonlySignal, Signal } from './signals.js';
14
+
15
+ /**
16
+ * One entry in the shared streams registry. `signal.value` carries the
17
+ * parsed payload (shape depends on the transport's `parse` option).
18
+ * `refs` is the active subscriber count; the registry tears the entry
19
+ * down when it returns to 0.
20
+ */
21
+ export interface StreamEntry {
22
+ /** Signal whose `.value` carries the parsed payload. Subscribe with `effect()`. */
23
+ signal: ReadonlySignal<unknown>;
24
+ /** Active subscriber count. */
25
+ refs: number;
26
+ /** Transport metadata — opaque to consumers. */
27
+ transport: unknown;
28
+ /** Resolved options for the stream — opaque to consumers. */
29
+ opts: unknown;
30
+ }
31
+
32
+ /**
33
+ * Read-only public view of the streams registry. App code can do:
34
+ *
35
+ * import { streams } from '@adia-ai/web-components/core/data-stream';
36
+ * streams.get('rev')?.signal.value
37
+ *
38
+ * Subscribe via `effect()` on the entry's `signal`.
39
+ */
40
+ export const streams: {
41
+ get(id: string): StreamEntry | undefined;
42
+ has(id: string): boolean;
43
+ keys(): MapIterator<string>;
44
+ size(): number;
45
+ };
46
+
47
+ /**
48
+ * Resolves with the stream entry once it's registered. If the stream
49
+ * already exists, resolves synchronously on the next microtask; if not,
50
+ * resolves the moment the first DOM consumer (or any caller of
51
+ * acquireStream) creates it. Useful for cross-package adapters
52
+ * (streams-bridge, A2UI surfaces) that may run before the DOM source
53
+ * has connected. The promise never rejects — pair with AbortSignal at
54
+ * the caller if you need cancellation.
55
+ */
56
+ export function whenStream(id: string): Promise<StreamEntry>;
package/core/element.d.ts CHANGED
@@ -13,6 +13,16 @@
13
13
  import type { ReadonlySignal, Signal } from './signals.js';
14
14
  import type { TemplateResult } from './template.js';
15
15
 
16
+ // Mirror the runtime re-exports from element.js so a single import of
17
+ // `@adia-ai/web-components/core/element` resolves both the UIElement
18
+ // class AND the reactive/template helpers — matches the canonical
19
+ // pattern documented in USAGE.md and the `element.js` runtime export
20
+ // surface. Closes FEEDBACK-05 P1 (drift caught post-v0.4.9 upgrade).
21
+ export { signal, computed, effect, batch, untracked, isSignal } from './signals.js';
22
+ export type { ReadonlySignal, Signal, ComputedSignal, EffectOptions, EffectDisposer } from './signals.js';
23
+ export { html, css, repeat } from './template.js';
24
+ export type { TemplateResult } from './template.js';
25
+
16
26
  /** Property declaration in a component's `static properties = { … }` map. */
17
27
  export interface PropertyConfig<T = unknown> {
18
28
  /** Coercion target — `Boolean`, `Number`, `String`, or custom. */
package/core/index.d.ts CHANGED
@@ -9,3 +9,9 @@ export * from './template.js';
9
9
  export * from './element.js';
10
10
  export * from './form.js';
11
11
  export * from './register.js';
12
+ // Mirror the explicit re-export in core/index.js — `streams` + `whenStream`
13
+ // (the public surface of the data-stream attribute-driven ingestion module).
14
+ // `export *` from data-stream.js would also expose internals; keep the
15
+ // explicit form so the type barrel matches the runtime exactly.
16
+ export { streams, whenStream } from './data-stream.js';
17
+ export type { StreamEntry } from './data-stream.js';
package/index.d.ts CHANGED
@@ -86,6 +86,8 @@ export type {
86
86
  UIOtpInput,
87
87
  OtpInputEvent,
88
88
  OtpInputEventDetail,
89
+ OtpInputCompleteEvent,
90
+ OtpInputCompleteEventDetail,
89
91
  } from './components/otp-input/otp-input.js';
90
92
 
91
93
  export type {
@@ -99,9 +101,10 @@ export type {
99
101
  ColorFormat,
100
102
  ColorPickerChangeEvent,
101
103
  ColorPickerInputEvent,
102
- ColorPickerFormatChangeEvent,
103
104
  ColorPickerChangeEventDetail,
104
- ColorPickerFormatChangeEventDetail,
105
+ ColorPickerClampRecord,
106
+ ColorPickerConstraintClampEvent,
107
+ ColorPickerConstraintClampEventDetail,
105
108
  } from './components/color-picker/color-picker.js';
106
109
 
107
110
  export type {
@@ -115,6 +118,10 @@ export type {
115
118
  CodeChangeEvent,
116
119
  CodeInputEvent,
117
120
  CodeChangeEventDetail,
121
+ CodeSaveEvent,
122
+ CodeSaveEventDetail,
123
+ CodeLanguageLoadErrorEvent,
124
+ CodeLanguageLoadErrorEventDetail,
118
125
  } from './components/code/code.js';
119
126
 
120
127
  export type {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adia-ai/web-components",
3
- "version": "0.4.8",
3
+ "version": "0.5.0",
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",
@@ -58,7 +58,7 @@
58
58
  "./core/icons-phosphor.js"
59
59
  ],
60
60
  "dependencies": {
61
- "@adia-ai/a2ui-runtime": "^0.4.0"
61
+ "@adia-ai/a2ui-runtime": "^0.5.0"
62
62
  },
63
63
  "publishConfig": {
64
64
  "access": "public",