@adia-ai/web-components 0.0.29 → 0.0.34

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 (295) hide show
  1. package/components/accordion/accordion.a2ui.json +1 -1
  2. package/components/accordion/accordion.js +6 -6
  3. package/components/accordion/accordion.yaml +1 -1
  4. package/components/action-list/action-list.a2ui.json +1 -1
  5. package/components/action-list/action-list.js +6 -6
  6. package/components/action-list/action-list.yaml +1 -1
  7. package/components/agent-artifact/agent-artifact.a2ui.json +1 -1
  8. package/components/agent-artifact/agent-artifact.js +4 -4
  9. package/components/agent-artifact/agent-artifact.yaml +1 -1
  10. package/components/agent-feedback-bar/agent-feedback-bar.a2ui.json +1 -1
  11. package/components/agent-feedback-bar/agent-feedback-bar.js +4 -4
  12. package/components/agent-feedback-bar/agent-feedback-bar.yaml +1 -1
  13. package/components/agent-questions/agent-questions.a2ui.json +1 -1
  14. package/components/agent-questions/agent-questions.js +4 -4
  15. package/components/agent-questions/agent-questions.yaml +1 -1
  16. package/components/agent-reasoning/agent-reasoning.a2ui.json +3 -3
  17. package/components/agent-reasoning/agent-reasoning.js +4 -4
  18. package/components/agent-reasoning/agent-reasoning.yaml +3 -3
  19. package/components/agent-suggestions/agent-suggestions.a2ui.json +1 -1
  20. package/components/agent-suggestions/agent-suggestions.js +4 -4
  21. package/components/agent-suggestions/agent-suggestions.yaml +1 -1
  22. package/components/agent-trace/agent-trace.a2ui.json +1 -1
  23. package/components/agent-trace/agent-trace.js +4 -4
  24. package/components/agent-trace/agent-trace.yaml +1 -1
  25. package/components/alert/alert.a2ui.json +1 -1
  26. package/components/alert/alert.js +4 -4
  27. package/components/alert/alert.yaml +1 -1
  28. package/components/aside/aside.a2ui.json +1 -1
  29. package/components/aside/aside.yaml +1 -1
  30. package/components/avatar/avatar.a2ui.json +1 -1
  31. package/components/avatar/avatar.js +8 -8
  32. package/components/avatar/avatar.yaml +1 -1
  33. package/components/badge/badge.a2ui.json +1 -1
  34. package/components/badge/badge.js +4 -4
  35. package/components/badge/badge.yaml +1 -1
  36. package/components/block/block.a2ui.json +1 -1
  37. package/components/block/block.js +4 -4
  38. package/components/block/block.yaml +1 -1
  39. package/components/breadcrumb/breadcrumb.a2ui.json +1 -1
  40. package/components/breadcrumb/breadcrumb.js +4 -4
  41. package/components/breadcrumb/breadcrumb.yaml +1 -1
  42. package/components/button/button.a2ui.json +1 -1
  43. package/components/button/button.js +4 -4
  44. package/components/button/button.yaml +1 -1
  45. package/components/calendar-picker/calendar-picker.a2ui.json +1 -1
  46. package/components/calendar-picker/calendar-picker.js +6 -6
  47. package/components/calendar-picker/calendar-picker.yaml +1 -1
  48. package/components/canvas/canvas.a2ui.json +1 -1
  49. package/components/canvas/canvas.js +4 -4
  50. package/components/canvas/canvas.yaml +1 -1
  51. package/components/card/card.a2ui.json +1 -1
  52. package/components/card/card.js +4 -4
  53. package/components/card/card.yaml +1 -1
  54. package/components/chart/chart.a2ui.json +1 -1
  55. package/components/chart/chart.js +5 -5
  56. package/components/chart/chart.yaml +1 -1
  57. package/components/chart-legend/chart-legend.a2ui.json +1 -1
  58. package/components/chart-legend/chart-legend.js +7 -7
  59. package/components/chart-legend/chart-legend.yaml +1 -1
  60. package/components/{chat → chat-thread}/chat-input.js +5 -5
  61. package/components/{chat/chat.a2ui.json → chat-thread/chat-thread.a2ui.json} +6 -6
  62. package/components/{chat/chat.css → chat-thread/chat-thread.css} +2 -2
  63. package/components/{chat/chat.js → chat-thread/chat-thread.js} +7 -7
  64. package/components/{chat/chat.yaml → chat-thread/chat-thread.yaml} +4 -4
  65. package/components/check/check.a2ui.json +1 -1
  66. package/components/check/check.js +5 -5
  67. package/components/check/check.yaml +1 -1
  68. package/components/code/code.a2ui.json +1 -1
  69. package/components/code/code.js +4 -4
  70. package/components/code/code.yaml +1 -1
  71. package/components/col/col.a2ui.json +1 -1
  72. package/components/col/col.js +4 -4
  73. package/components/col/col.yaml +1 -1
  74. package/components/color-picker/color-picker.a2ui.json +1 -1
  75. package/components/color-picker/color-picker.js +6 -6
  76. package/components/color-picker/color-picker.yaml +1 -1
  77. package/components/command/command.a2ui.json +1 -1
  78. package/components/command/command.js +5 -5
  79. package/components/command/command.yaml +1 -1
  80. package/components/description-list/description-list.a2ui.json +1 -1
  81. package/components/description-list/description-list.js +4 -4
  82. package/components/description-list/description-list.yaml +1 -1
  83. package/components/divider/divider.a2ui.json +1 -1
  84. package/components/divider/divider.js +4 -4
  85. package/components/divider/divider.yaml +1 -1
  86. package/components/drawer/drawer.a2ui.json +1 -1
  87. package/components/drawer/drawer.js +4 -4
  88. package/components/drawer/drawer.yaml +1 -1
  89. package/components/embed/embed.a2ui.json +1 -1
  90. package/components/embed/embed.js +4 -4
  91. package/components/embed/embed.yaml +1 -1
  92. package/components/empty-state/empty-state.a2ui.json +1 -1
  93. package/components/empty-state/empty-state.js +4 -4
  94. package/components/empty-state/empty-state.yaml +1 -1
  95. package/components/feed/feed-item.yaml +2 -2
  96. package/components/feed/feed.a2ui.json +2 -2
  97. package/components/feed/feed.css +12 -3
  98. package/components/feed/feed.js +22 -22
  99. package/components/feed/feed.yaml +2 -2
  100. package/components/field/field.a2ui.json +1 -1
  101. package/components/field/field.js +10 -10
  102. package/components/field/field.yaml +2 -2
  103. package/components/footer/footer.a2ui.json +1 -1
  104. package/components/footer/footer.yaml +1 -1
  105. package/components/grid/grid.a2ui.json +1 -1
  106. package/components/grid/grid.js +4 -4
  107. package/components/grid/grid.yaml +1 -1
  108. package/components/header/header.a2ui.json +1 -1
  109. package/components/header/header.yaml +1 -1
  110. package/components/heatmap/heatmap.a2ui.json +1 -1
  111. package/components/heatmap/heatmap.js +4 -4
  112. package/components/heatmap/heatmap.yaml +1 -1
  113. package/components/icon/icon.a2ui.json +1 -1
  114. package/components/icon/icon.js +4 -4
  115. package/components/icon/icon.yaml +1 -1
  116. package/components/image/image.a2ui.json +1 -1
  117. package/components/image/image.js +4 -4
  118. package/components/image/image.yaml +1 -1
  119. package/components/index.js +89 -85
  120. package/components/input/input.a2ui.json +1 -1
  121. package/components/input/input.js +7 -7
  122. package/components/input/input.yaml +1 -1
  123. package/components/inspector/inspector.a2ui.json +1 -1
  124. package/components/inspector/inspector.js +4 -4
  125. package/components/inspector/inspector.yaml +1 -1
  126. package/components/kbd/kbd.a2ui.json +1 -1
  127. package/components/kbd/kbd.js +4 -4
  128. package/components/kbd/kbd.yaml +1 -1
  129. package/components/list/list.a2ui.json +1 -1
  130. package/components/list/list.js +6 -6
  131. package/components/list/list.yaml +1 -1
  132. package/components/menu/menu.a2ui.json +1 -1
  133. package/components/menu/menu.js +8 -8
  134. package/components/menu/menu.yaml +1 -1
  135. package/components/modal/modal.a2ui.json +1 -1
  136. package/components/modal/modal.js +4 -4
  137. package/components/modal/modal.yaml +1 -1
  138. package/components/nav/nav.a2ui.json +98 -0
  139. package/components/nav/nav.css +133 -0
  140. package/components/nav/nav.js +140 -0
  141. package/components/nav/nav.test.js +428 -0
  142. package/components/nav/nav.yaml +114 -0
  143. package/components/nav-group/nav-group.a2ui.json +100 -0
  144. package/components/nav-group/nav-group.css +317 -0
  145. package/components/nav-group/nav-group.js +142 -0
  146. package/components/nav-group/nav-group.yaml +69 -0
  147. package/components/nav-item/nav-item.a2ui.json +106 -0
  148. package/components/nav-item/nav-item.css +194 -0
  149. package/components/nav-item/nav-item.js +76 -0
  150. package/components/nav-item/nav-item.yaml +73 -0
  151. package/components/noodles/noodles.a2ui.json +1 -1
  152. package/components/noodles/noodles.js +4 -4
  153. package/components/noodles/noodles.yaml +1 -1
  154. package/components/option-card/option-card.a2ui.json +1 -1
  155. package/components/option-card/option-card.js +6 -6
  156. package/components/option-card/option-card.yaml +1 -1
  157. package/components/otp-input/otp-input.a2ui.json +1 -1
  158. package/components/otp-input/otp-input.js +5 -5
  159. package/components/otp-input/otp-input.yaml +1 -1
  160. package/components/page/page.a2ui.json +3 -3
  161. package/components/page/page.js +4 -4
  162. package/components/page/page.yaml +3 -3
  163. package/components/pagination/pagination.a2ui.json +1 -1
  164. package/components/pagination/pagination.js +4 -4
  165. package/components/pagination/pagination.yaml +1 -1
  166. package/components/pane/pane.a2ui.json +1 -1
  167. package/components/pane/pane.js +4 -4
  168. package/components/pane/pane.yaml +1 -1
  169. package/components/pipeline-status/pipeline-status.a2ui.json +1 -1
  170. package/components/pipeline-status/pipeline-status.js +4 -4
  171. package/components/pipeline-status/pipeline-status.yaml +1 -1
  172. package/components/popover/popover.a2ui.json +1 -1
  173. package/components/popover/popover.js +4 -4
  174. package/components/popover/popover.yaml +1 -1
  175. package/components/progress/progress.a2ui.json +1 -1
  176. package/components/progress/progress.js +4 -4
  177. package/components/progress/progress.yaml +1 -1
  178. package/components/progress-row/progress-row.a2ui.json +1 -1
  179. package/components/progress-row/progress-row.js +4 -4
  180. package/components/progress-row/progress-row.yaml +1 -1
  181. package/components/radio/radio.a2ui.json +1 -1
  182. package/components/radio/radio.js +5 -5
  183. package/components/radio/radio.yaml +1 -1
  184. package/components/range/range.a2ui.json +1 -1
  185. package/components/range/range.js +7 -7
  186. package/components/range/range.yaml +1 -1
  187. package/components/rating/rating.a2ui.json +1 -1
  188. package/components/rating/rating.js +6 -6
  189. package/components/rating/rating.yaml +1 -1
  190. package/components/richtext/richtext.a2ui.json +1 -1
  191. package/components/richtext/richtext.js +4 -4
  192. package/components/richtext/richtext.yaml +1 -1
  193. package/components/row/row.a2ui.json +1 -1
  194. package/components/row/row.js +4 -4
  195. package/components/row/row.yaml +1 -1
  196. package/components/search/search.a2ui.json +1 -1
  197. package/components/search/search.js +5 -5
  198. package/components/search/search.yaml +1 -1
  199. package/components/section/section.a2ui.json +1 -1
  200. package/components/section/section.yaml +1 -1
  201. package/components/segment/segment.a2ui.json +1 -1
  202. package/components/segment/segment.js +4 -4
  203. package/components/segment/segment.yaml +1 -1
  204. package/components/segmented/segmented.a2ui.json +1 -1
  205. package/components/segmented/segmented.css +6 -0
  206. package/components/segmented/segmented.js +7 -7
  207. package/components/segmented/segmented.yaml +1 -1
  208. package/components/select/select.a2ui.json +1 -1
  209. package/components/select/select.js +5 -5
  210. package/components/select/select.yaml +1 -1
  211. package/components/skeleton/skeleton.a2ui.json +1 -1
  212. package/components/skeleton/skeleton.js +4 -4
  213. package/components/skeleton/skeleton.yaml +1 -1
  214. package/components/slider/slider.a2ui.json +1 -1
  215. package/components/slider/slider.js +7 -7
  216. package/components/slider/slider.yaml +1 -1
  217. package/components/stack/stack.a2ui.json +1 -1
  218. package/components/stack/stack.js +4 -4
  219. package/components/stack/stack.yaml +1 -1
  220. package/components/stat/stat.a2ui.json +1 -1
  221. package/components/stat/stat.js +4 -4
  222. package/components/stat/stat.yaml +1 -1
  223. package/components/step-progress/step-progress.a2ui.json +111 -0
  224. package/components/step-progress/step-progress.css +61 -0
  225. package/components/step-progress/step-progress.js +88 -0
  226. package/components/step-progress/step-progress.test.js +118 -0
  227. package/components/step-progress/step-progress.yaml +93 -0
  228. package/components/stepper/stepper.a2ui.json +1 -1
  229. package/components/stepper/stepper.js +6 -6
  230. package/components/stepper/stepper.yaml +1 -1
  231. package/components/stream/stream.a2ui.json +1 -1
  232. package/components/stream/stream.js +4 -4
  233. package/components/stream/stream.yaml +1 -1
  234. package/components/swatch/swatch.a2ui.json +1 -1
  235. package/components/swatch/swatch.js +4 -4
  236. package/components/swatch/swatch.yaml +1 -1
  237. package/components/swiper/swiper.a2ui.json +1 -1
  238. package/components/swiper/swiper.js +4 -4
  239. package/components/swiper/swiper.yaml +1 -1
  240. package/components/switch/switch.a2ui.json +1 -1
  241. package/components/switch/switch.js +5 -5
  242. package/components/switch/switch.yaml +1 -1
  243. package/components/table/table.a2ui.json +1 -1
  244. package/components/table/table.js +4 -4
  245. package/components/table/table.yaml +1 -1
  246. package/components/table-toolbar/table-toolbar.a2ui.json +1 -1
  247. package/components/table-toolbar/table-toolbar.js +4 -4
  248. package/components/table-toolbar/table-toolbar.yaml +1 -1
  249. package/components/tabs/tab.js +4 -4
  250. package/components/tabs/tabs.a2ui.json +1 -1
  251. package/components/tabs/tabs.js +5 -5
  252. package/components/tabs/tabs.yaml +1 -1
  253. package/components/tag/tag.a2ui.json +1 -1
  254. package/components/tag/tag.js +4 -4
  255. package/components/tag/tag.yaml +1 -1
  256. package/components/text/text.a2ui.json +1 -1
  257. package/components/text/text.js +4 -4
  258. package/components/text/text.yaml +1 -1
  259. package/components/textarea/textarea.a2ui.json +1 -1
  260. package/components/textarea/textarea.js +5 -5
  261. package/components/textarea/textarea.yaml +1 -1
  262. package/components/timeline/timeline.a2ui.json +1 -1
  263. package/components/timeline/timeline.js +6 -6
  264. package/components/timeline/timeline.yaml +1 -1
  265. package/components/toast/toast.a2ui.json +1 -1
  266. package/components/toast/toast.js +18 -18
  267. package/components/toast/toast.yaml +1 -1
  268. package/components/toggle-group/toggle-group.a2ui.json +1 -1
  269. package/components/toggle-group/toggle-group.js +6 -6
  270. package/components/toggle-group/toggle-group.yaml +1 -1
  271. package/components/toolbar/toolbar.a2ui.json +1 -1
  272. package/components/toolbar/toolbar.js +6 -6
  273. package/components/toolbar/toolbar.yaml +1 -1
  274. package/components/tooltip/tooltip.a2ui.json +1 -1
  275. package/components/tooltip/tooltip.js +7 -7
  276. package/components/tooltip/tooltip.yaml +1 -1
  277. package/components/tree/tree.a2ui.json +1 -1
  278. package/components/tree/tree.js +6 -6
  279. package/components/tree/tree.yaml +1 -1
  280. package/components/upload/upload.a2ui.json +1 -1
  281. package/components/upload/upload.js +6 -6
  282. package/components/upload/upload.yaml +1 -1
  283. package/core/element.js +4 -4
  284. package/core/element.test.js +18 -18
  285. package/core/form.js +9 -9
  286. package/core/index.js +2 -2
  287. package/core/provider.js +7 -7
  288. package/core/template.js +1 -1
  289. package/index.css +1 -1
  290. package/index.js +10 -8
  291. package/package.json +1 -1
  292. package/styles/components.css +11 -6
  293. package/styles/resets.css +1 -1
  294. package/traits/define.js +2 -2
  295. /package/components/{chat → chat-thread}/chat-input.css +0 -0
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaPipelineStatus
4
+ name: UIPipelineStatus
5
5
  tag: pipeline-status-ui
6
6
  component: PipelineStatus
7
7
  category: agent
@@ -85,7 +85,7 @@
85
85
  "context-menu",
86
86
  "right-click"
87
87
  ],
88
- "name": "AdiaPopover",
88
+ "name": "UIPopover",
89
89
  "related": [
90
90
  "button",
91
91
  "divider"
@@ -13,12 +13,12 @@
13
13
  * Triggers: click | hover | manual. ESC closes click/manual popovers.
14
14
  */
15
15
 
16
- import { AdiaElement } from '../../core/element.js';
16
+ import { UIElement } from '../../core/element.js';
17
17
  import { anchorPopover } from '../../core/anchor.js';
18
18
 
19
19
  const HOVER_CLOSE_DELAY = 120;
20
20
 
21
- class AdiaPopover extends AdiaElement {
21
+ class UIPopover extends UIElement {
22
22
  static properties = {
23
23
  placement: { type: String, default: 'bottom', reflect: true },
24
24
  gap: { type: Number, default: 4, reflect: true },
@@ -180,5 +180,5 @@ class AdiaPopover extends AdiaElement {
180
180
  }
181
181
  }
182
182
 
183
- customElements.define('popover-ui', AdiaPopover);
184
- export { AdiaPopover };
183
+ customElements.define('popover-ui', UIPopover);
184
+ export { UIPopover };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaPopover
4
+ name: UIPopover
5
5
  tag: popover-ui
6
6
  component: Popover
7
7
  category: container
@@ -72,7 +72,7 @@
72
72
  "percent",
73
73
  "gamification"
74
74
  ],
75
- "name": "AdiaProgress",
75
+ "name": "UIProgress",
76
76
  "related": [
77
77
  "grid",
78
78
  "button",
@@ -8,9 +8,9 @@
8
8
  * (Legacy `value="-1"` is still treated as indeterminate for back-compat.)
9
9
  */
10
10
 
11
- import { AdiaElement } from '../../core/element.js';
11
+ import { UIElement } from '../../core/element.js';
12
12
 
13
- class AdiaProgress extends AdiaElement {
13
+ class UIProgress extends UIElement {
14
14
  static properties = {
15
15
  value: { type: Number, default: null, reflect: true },
16
16
  variant: { type: String, default: 'bar', reflect: true },
@@ -59,6 +59,6 @@ class AdiaProgress extends AdiaElement {
59
59
  this.#fill = null;
60
60
  }
61
61
  }
62
- customElements.define('progress-ui', AdiaProgress);
62
+ customElements.define('progress-ui', UIProgress);
63
63
 
64
- export { AdiaProgress };
64
+ export { UIProgress };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaProgress
4
+ name: UIProgress
5
5
  tag: progress-ui
6
6
  component: Progress
7
7
  category: display
@@ -66,7 +66,7 @@
66
66
  "progress",
67
67
  "row"
68
68
  ],
69
- "name": "AdiaProgressRow",
69
+ "name": "UIProgressRow",
70
70
  "related": [],
71
71
  "slots": {
72
72
  "label": {
@@ -17,9 +17,9 @@
17
17
  * variant — success | warning | danger (colors the fill; inherits otherwise)
18
18
  */
19
19
 
20
- import { AdiaElement } from '../../core/element.js';
20
+ import { UIElement } from '../../core/element.js';
21
21
 
22
- class AdiaProgressRow extends AdiaElement {
22
+ class UIProgressRow extends UIElement {
23
23
  static properties = {
24
24
  label: { type: String, default: '', reflect: true },
25
25
  value: { type: Number, default: null, reflect: true },
@@ -96,6 +96,6 @@ class AdiaProgressRow extends AdiaElement {
96
96
  }
97
97
  }
98
98
 
99
- customElements.define('progress-row-ui', AdiaProgressRow);
99
+ customElements.define('progress-row-ui', UIProgressRow);
100
100
 
101
- export { AdiaProgressRow };
101
+ export { UIProgressRow };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaProgressRow
4
+ name: UIProgressRow
5
5
  tag: progress-row-ui
6
6
  component: ProgressRow
7
7
  category: data
@@ -92,7 +92,7 @@
92
92
  "questionnaire",
93
93
  "poll"
94
94
  ],
95
- "name": "AdiaRadio",
95
+ "name": "UIRadio",
96
96
  "related": [
97
97
  "button"
98
98
  ],
@@ -3,12 +3,12 @@
3
3
  * Pure CSS dot via [slot="dot"]::after inner circle. No SVG, no inset shadow hack.
4
4
  */
5
5
 
6
- import { AdiaFormElement } from '../../core/form.js';
6
+ import { UIFormElement } from '../../core/form.js';
7
7
  import { html } from '../../core/element.js';
8
8
 
9
- class AdiaRadio extends AdiaFormElement {
9
+ class UIRadio extends UIFormElement {
10
10
  static properties = {
11
- ...AdiaFormElement.properties,
11
+ ...UIFormElement.properties,
12
12
  checked: { type: Boolean, default: false, reflect: true },
13
13
  label: { type: String, default: '', reflect: true },
14
14
  };
@@ -68,6 +68,6 @@ class AdiaRadio extends AdiaFormElement {
68
68
  this.removeEventListener('keydown', this.#onKey);
69
69
  }
70
70
  }
71
- customElements.define('radio-ui', AdiaRadio);
71
+ customElements.define('radio-ui', UIRadio);
72
72
 
73
- export { AdiaRadio };
73
+ export { UIRadio };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaRadio
4
+ name: UIRadio
5
5
  tag: radio-ui
6
6
  component: Radio
7
7
  category: input
@@ -93,7 +93,7 @@
93
93
  "range",
94
94
  "volume"
95
95
  ],
96
- "name": "AdiaRange",
96
+ "name": "UIRange",
97
97
  "related": [
98
98
  "input",
99
99
  "button"
@@ -11,10 +11,10 @@
11
11
  * - While dragging: accent highlight on the field
12
12
  */
13
13
 
14
- import { AdiaFormElement } from '../../core/form.js';
14
+ import { UIFormElement } from '../../core/form.js';
15
15
 
16
- class AdiaRange extends AdiaFormElement {
17
- // Opt out of AdiaFormElement's per-control `label` deprecation warning.
16
+ class UIRange extends UIFormElement {
17
+ // Opt out of UIFormElement's per-control `label` deprecation warning.
18
18
  // range-ui's `label` is a first-class API: it renders as the in-track
19
19
  // caption next to the value (the entire field is the scrubber surface)
20
20
  // and the host gets `aria-label` wired from it for proper screen-reader
@@ -22,8 +22,8 @@ class AdiaRange extends AdiaFormElement {
22
22
  static labelDeprecated = false;
23
23
 
24
24
  static properties = {
25
- ...AdiaFormElement.properties,
26
- /** value: Number — overrides AdiaFormElement.value (String); syncs as string on form submit. */
25
+ ...UIFormElement.properties,
26
+ /** value: Number — overrides UIFormElement.value (String); syncs as string on form submit. */
27
27
  value: { type: Number, default: 0, reflect: true },
28
28
  min: { type: Number, default: 0, reflect: true },
29
29
  max: { type: Number, default: 100, reflect: true },
@@ -179,6 +179,6 @@ class AdiaRange extends AdiaFormElement {
179
179
  this.#valueEl = null;
180
180
  }
181
181
  }
182
- customElements.define('range-ui', AdiaRange);
182
+ customElements.define('range-ui', UIRange);
183
183
 
184
- export { AdiaRange };
184
+ export { UIRange };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaRange
4
+ name: UIRange
5
5
  tag: range-ui
6
6
  component: Range
7
7
  category: input
@@ -90,7 +90,7 @@
90
90
  "heart",
91
91
  "like"
92
92
  ],
93
- "name": "AdiaRating",
93
+ "name": "UIRating",
94
94
  "related": [],
95
95
  "slots": {},
96
96
  "states": [
@@ -9,12 +9,12 @@
9
9
  * <rating-ui value="5" readonly></rating-ui>
10
10
  */
11
11
 
12
- import { AdiaFormElement } from '../../core/form.js';
12
+ import { UIFormElement } from '../../core/form.js';
13
13
 
14
- class AdiaRating extends AdiaFormElement {
14
+ class UIRating extends UIFormElement {
15
15
  static properties = {
16
- ...AdiaFormElement.properties,
17
- /** value: Number — overrides AdiaFormElement.value (String); syncs as string on form submit. */
16
+ ...UIFormElement.properties,
17
+ /** value: Number — overrides UIFormElement.value (String); syncs as string on form submit. */
18
18
  value: { type: Number, default: 0, reflect: true },
19
19
  max: { type: Number, default: 5, reflect: true },
20
20
  icon: { type: String, default: 'star', reflect: true },
@@ -134,5 +134,5 @@ class AdiaRating extends AdiaFormElement {
134
134
  }
135
135
  }
136
136
 
137
- customElements.define('rating-ui', AdiaRating);
138
- export { AdiaRating };
137
+ customElements.define('rating-ui', UIRating);
138
+ export { UIRating };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaRating
4
+ name: UIRating
5
5
  tag: rating-ui
6
6
  component: Rating
7
7
  category: form
@@ -60,7 +60,7 @@
60
60
  "keywords": [
61
61
  "richtext"
62
62
  ],
63
- "name": "AdiaRichtext",
63
+ "name": "UIRichtext",
64
64
  "related": [],
65
65
  "slots": {
66
66
  "default": {
@@ -1,4 +1,4 @@
1
- import { AdiaElement } from '../../core/element.js';
1
+ import { UIElement } from '../../core/element.js';
2
2
  import { renderMarkdown } from '../../core/markdown.js';
3
3
 
4
4
  /**
@@ -15,7 +15,7 @@ import { renderMarkdown } from '../../core/markdown.js';
15
15
  * const el = document.querySelector('richtext-ui');
16
16
  * el.markdown = '# Title\nParagraph text.';
17
17
  */
18
- class AdiaRichText extends AdiaElement {
18
+ class UIRichText extends UIElement {
19
19
  static properties = {
20
20
  src: { type: String, default: '', reflect: true },
21
21
  // Markdown bodies can be arbitrarily large; reflecting to the attribute
@@ -73,5 +73,5 @@ class AdiaRichText extends AdiaElement {
73
73
  }
74
74
  }
75
75
 
76
- customElements.define('richtext-ui', AdiaRichText);
77
- export { AdiaRichText };
76
+ customElements.define('richtext-ui', UIRichText);
77
+ export { UIRichText };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaRichtext
4
+ name: UIRichtext
5
5
  tag: richtext-ui
6
6
  component: Richtext
7
7
  category: forms
@@ -69,7 +69,7 @@
69
69
  "keywords": [
70
70
  "row"
71
71
  ],
72
- "name": "AdiaRow",
72
+ "name": "UIRow",
73
73
  "related": [
74
74
  "avatar",
75
75
  "input",
@@ -5,10 +5,10 @@
5
5
  * <row-ui draggable>...</row-ui> wires the draggable trait, emits drag-end
6
6
  */
7
7
 
8
- import { AdiaElement } from '../../core/element.js';
8
+ import { UIElement } from '../../core/element.js';
9
9
  import { draggable } from '../../traits/draggable.js';
10
10
 
11
- class AdiaRow extends AdiaElement {
11
+ class UIRow extends UIElement {
12
12
  static properties = {
13
13
  justify: { type: String, default: 'start', reflect: true },
14
14
  align: { type: String, default: 'center', reflect: true },
@@ -34,6 +34,6 @@ class AdiaRow extends AdiaElement {
34
34
  }
35
35
  }
36
36
  }
37
- customElements.define('row-ui', AdiaRow);
37
+ customElements.define('row-ui', UIRow);
38
38
 
39
- export { AdiaRow };
39
+ export { UIRow };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaRow
4
+ name: UIRow
5
5
  tag: row-ui
6
6
  component: Row
7
7
  category: layout
@@ -83,7 +83,7 @@
83
83
  "omnibar",
84
84
  "combobox"
85
85
  ],
86
- "name": "AdiaSearch",
86
+ "name": "UISearch",
87
87
  "related": [],
88
88
  "slots": {
89
89
  "clear": {
@@ -7,11 +7,11 @@
7
7
  * Fires debounced 'search' event. Clear button resets and fires immediately.
8
8
  */
9
9
 
10
- import { AdiaFormElement } from '../../core/form.js';
10
+ import { UIFormElement } from '../../core/form.js';
11
11
 
12
- class AdiaSearch extends AdiaFormElement {
12
+ class UISearch extends UIFormElement {
13
13
  static properties = {
14
- ...AdiaFormElement.properties,
14
+ ...UIFormElement.properties,
15
15
  placeholder: { type: String, default: 'Search...', reflect: true },
16
16
  debounce: { type: Number, default: 300, reflect: true },
17
17
  };
@@ -119,6 +119,6 @@ class AdiaSearch extends AdiaFormElement {
119
119
  this.#suffixEl = null;
120
120
  }
121
121
  }
122
- customElements.define('search-ui', AdiaSearch);
122
+ customElements.define('search-ui', UISearch);
123
123
 
124
- export { AdiaSearch };
124
+ export { UISearch };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaSearch
4
+ name: UISearch
5
5
  tag: search-ui
6
6
  component: Search
7
7
  category: input
@@ -50,7 +50,7 @@
50
50
  "keywords": [
51
51
  "section"
52
52
  ],
53
- "name": "AdiaSection",
53
+ "name": "UISection",
54
54
  "related": [
55
55
  "avatar",
56
56
  "input",
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaSection
4
+ name: UISection
5
5
  tag: section-ui
6
6
  component: Section
7
7
  category: container
@@ -80,7 +80,7 @@
80
80
  "keywords": [
81
81
  "segment"
82
82
  ],
83
- "name": "AdiaSegment",
83
+ "name": "UISegment",
84
84
  "related": [
85
85
  "segmented-control"
86
86
  ],
@@ -6,9 +6,9 @@
6
6
  * Mirrors the button-ui pattern.
7
7
  */
8
8
 
9
- import { AdiaElement } from '../../core/element.js';
9
+ import { UIElement } from '../../core/element.js';
10
10
 
11
- class AdiaSegment extends AdiaElement {
11
+ class UISegment extends UIElement {
12
12
  static properties = {
13
13
  value: { type: String, default: '', reflect: true },
14
14
  text: { type: String, default: '', reflect: true },
@@ -47,6 +47,6 @@ class AdiaSegment extends AdiaElement {
47
47
  }
48
48
  }
49
49
  }
50
- customElements.define('segment-ui', AdiaSegment);
50
+ customElements.define('segment-ui', UISegment);
51
51
 
52
- export { AdiaSegment };
52
+ export { UISegment };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaSegment
4
+ name: UISegment
5
5
  tag: segment-ui
6
6
  component: Segment
7
7
  category: navigation
@@ -51,7 +51,7 @@
51
51
  "tabs",
52
52
  "button-group"
53
53
  ],
54
- "name": "AdiaSegmented",
54
+ "name": "UISegmented",
55
55
  "related": [],
56
56
  "slots": {},
57
57
  "states": [
@@ -32,6 +32,12 @@
32
32
  grid-auto-columns: 1fr;
33
33
  align-items: stretch;
34
34
  position: relative;
35
+ /* Children use `position: relative; z-index: 1` (segments) so they
36
+ paint above the absolute indicator. Without an own stacking context
37
+ here, those z-indexed children escape into the parent context and
38
+ can paint above sticky/fixed siblings (e.g. a sticky page header).
39
+ `isolation: isolate` scopes the inner z-index to this element. */
40
+ isolation: isolate;
35
41
  overflow: hidden;
36
42
 
37
43
  min-height: var(--segmented-height);
@@ -9,12 +9,12 @@
9
9
  * Indicator uses CSS transform (GPU-accelerated).
10
10
  */
11
11
 
12
- import { AdiaFormElement } from '../../core/form.js';
13
- import '@components/segment/segment.js';
12
+ import { UIFormElement } from '../../core/form.js';
13
+ import '../segment/segment.js';
14
14
 
15
- class AdiaSegmented extends AdiaFormElement {
15
+ class UISegmented extends UIFormElement {
16
16
  static properties = {
17
- ...AdiaFormElement.properties,
17
+ ...UIFormElement.properties,
18
18
  value: { type: String, default: '', reflect: true },
19
19
  };
20
20
 
@@ -129,7 +129,7 @@ class AdiaSegmented extends AdiaFormElement {
129
129
 
130
130
  #handleKeydown = (e) => {
131
131
  const target = e.target;
132
- if (target.tagName !== 'SEGMENT-N') return;
132
+ if (target.tagName !== 'SEGMENT-UI') return;
133
133
  const segs = this.#enabledSegments;
134
134
  const idx = segs.indexOf(target);
135
135
  if (idx < 0) return;
@@ -150,6 +150,6 @@ class AdiaSegmented extends AdiaFormElement {
150
150
  this.#select(segs[next]);
151
151
  };
152
152
  }
153
- customElements.define('segmented-ui', AdiaSegmented);
153
+ customElements.define('segmented-ui', UISegmented);
154
154
 
155
- export { AdiaSegmented };
155
+ export { UISegmented };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaSegmented
4
+ name: UISegmented
5
5
  tag: segmented-ui
6
6
  component: Segmented
7
7
  category: navigation
@@ -148,7 +148,7 @@
148
148
  "combobox",
149
149
  "autocomplete"
150
150
  ],
151
- "name": "AdiaSelect",
151
+ "name": "UISelect",
152
152
  "related": [
153
153
  "image",
154
154
  "button",
@@ -1,13 +1,13 @@
1
- import { AdiaFormElement } from '../../core/form.js';
1
+ import { UIFormElement } from '../../core/form.js';
2
2
  import { anchorPopover } from '../../core/anchor.js';
3
3
 
4
4
  function escapeHTML(s) {
5
5
  return s.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
6
6
  }
7
7
 
8
- class AdiaSelect extends AdiaFormElement {
8
+ class UISelect extends UIFormElement {
9
9
  static properties = {
10
- ...AdiaFormElement.properties,
10
+ ...UIFormElement.properties,
11
11
  placeholder: { type: String, default: 'Select...', reflect: true },
12
12
  open: { type: Boolean, default: false, reflect: true },
13
13
  label: { type: String, default: '', reflect: true },
@@ -393,6 +393,6 @@ class AdiaSelect extends AdiaFormElement {
393
393
  this.#listbox = null;
394
394
  }
395
395
  }
396
- customElements.define('select-ui', AdiaSelect);
396
+ customElements.define('select-ui', UISelect);
397
397
 
398
- export { AdiaSelect };
398
+ export { UISelect };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaSelect
4
+ name: UISelect
5
5
  tag: select-ui
6
6
  component: Select
7
7
  category: input
@@ -66,7 +66,7 @@
66
66
  "placeholder",
67
67
  "shimmer"
68
68
  ],
69
- "name": "AdiaSkeleton",
69
+ "name": "UISkeleton",
70
70
  "related": [],
71
71
  "slots": {},
72
72
  "states": [
@@ -11,9 +11,9 @@
11
11
  * Radius: none, sm (default), md, lg, full
12
12
  */
13
13
 
14
- import { AdiaElement } from '../../core/element.js';
14
+ import { UIElement } from '../../core/element.js';
15
15
 
16
- class AdiaSkeleton extends AdiaElement {
16
+ class UISkeleton extends UIElement {
17
17
  static properties = {
18
18
  width: { type: String, default: '100%', reflect: true },
19
19
  height: { type: String, default: '1.2em', reflect: true },
@@ -38,6 +38,6 @@ class AdiaSkeleton extends AdiaElement {
38
38
  }
39
39
  }
40
40
 
41
- customElements.define('skeleton-ui', AdiaSkeleton);
41
+ customElements.define('skeleton-ui', UISkeleton);
42
42
 
43
- export { AdiaSkeleton };
43
+ export { UISkeleton };
@@ -1,7 +1,7 @@
1
1
  # Generated by scripts/migrate-yamls-to-v1.mjs — migrated to v1 contract.
2
2
  # Edit this file; run `npm run build:components` to regenerate a2ui.json.
3
3
  $schema: ../../../../scripts/schemas/component.yaml.schema.json
4
- name: AdiaSkeleton
4
+ name: UISkeleton
5
5
  tag: skeleton-ui
6
6
  component: Skeleton
7
7
  category: display
@@ -99,7 +99,7 @@
99
99
  "range",
100
100
  "volume"
101
101
  ],
102
- "name": "AdiaSlider",
102
+ "name": "UISlider",
103
103
  "related": [
104
104
  "input",
105
105
  "select",