@threadlabs/looma 0.24.1 → 0.25.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 (497) hide show
  1. package/README.md +1 -1
  2. package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
  3. package/components/ui-affordance-scope/ui-affordance-scope.js +6 -1
  4. package/components/ui-avatar/ui-avatar.html +4 -4
  5. package/components/ui-avatar/ui-avatar.js +6 -1
  6. package/components/ui-avatar-group/ui-avatar-group.html +2 -2
  7. package/components/ui-avatar-group/ui-avatar-group.js +6 -1
  8. package/components/ui-badge/ui-badge.html +30 -30
  9. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
  10. package/components/ui-button/ui-button.html +33 -33
  11. package/components/ui-button/ui-button.js +6 -1
  12. package/components/ui-callout/ui-callout.html +4 -4
  13. package/components/ui-card/ui-card.html +9 -9
  14. package/components/ui-checkbox/ui-checkbox.html +11 -11
  15. package/components/ui-checkbox/ui-checkbox.js +6 -1
  16. package/components/ui-cluster/ui-cluster.html +12 -12
  17. package/components/ui-combobox/ui-combobox.html +15 -17
  18. package/components/ui-combobox/ui-combobox.js +13 -15
  19. package/components/ui-container/ui-container.html +5 -5
  20. package/components/ui-context-menu/ui-context-menu.js +6 -1
  21. package/components/ui-cover/ui-cover.html +1 -1
  22. package/components/ui-description-list/ui-description-list.html +10 -10
  23. package/components/ui-dialog/ui-dialog.html +4 -4
  24. package/components/ui-dialog/ui-dialog.js +6 -1
  25. package/components/ui-disclosure/ui-disclosure.html +13 -13
  26. package/components/ui-disclosure/ui-disclosure.js +6 -1
  27. package/components/ui-editable/ui-editable.html +1 -1
  28. package/components/ui-editable/ui-editable.js +6 -1
  29. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +6 -1
  30. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +6 -1
  31. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +6 -1
  32. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +6 -1
  33. package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +6 -1
  34. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +6 -1
  35. package/components/ui-editor-toolbar/ui-editor-toolbar.html +4 -4
  36. package/components/ui-editor-toolbar/ui-editor-toolbar.js +6 -1
  37. package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
  38. package/components/ui-form-field/ui-form-field.html +1 -1
  39. package/components/ui-form-field/ui-form-field.js +6 -1
  40. package/components/ui-grid/ui-grid.html +7 -7
  41. package/components/ui-icon-button/ui-icon-button.html +26 -26
  42. package/components/ui-icon-button/ui-icon-button.js +6 -1
  43. package/components/ui-image/ui-image.html +11 -11
  44. package/components/ui-image/ui-image.js +6 -1
  45. package/components/ui-input/ui-input.html +9 -7
  46. package/components/ui-input/ui-input.js +6 -1
  47. package/components/ui-input-group/ui-input-group.html +3 -3
  48. package/components/ui-input-group/ui-input-group.js +6 -1
  49. package/components/ui-list/ui-list.html +6 -6
  50. package/components/ui-list-item/ui-list-item.html +8 -8
  51. package/components/ui-listbox/ui-listbox.js +6 -1
  52. package/components/ui-menu/ui-menu.html +3 -3
  53. package/components/ui-menu/ui-menu.js +6 -1
  54. package/components/ui-menu-item/ui-menu-item.html +3 -3
  55. package/components/ui-menu-item/ui-menu-item.js +6 -1
  56. package/components/ui-meter/ui-meter.html +7 -7
  57. package/components/ui-nav-item/ui-nav-item.html +6 -6
  58. package/components/ui-page-header/ui-page-header.html +2 -2
  59. package/components/ui-popover/ui-popover.html +3 -3
  60. package/components/ui-popover/ui-popover.js +6 -1
  61. package/components/ui-radio/ui-radio.html +10 -10
  62. package/components/ui-radio/ui-radio.js +6 -1
  63. package/components/ui-radio-group/ui-radio-group.html +2 -2
  64. package/components/ui-radio-group/ui-radio-group.js +6 -1
  65. package/components/ui-reel/ui-reel.html +11 -11
  66. package/components/ui-scroll-area/ui-scroll-area.html +4 -4
  67. package/components/ui-scroll-area/ui-scroll-area.js +6 -1
  68. package/components/ui-search-result-row/ui-search-result-row.html +5 -5
  69. package/components/ui-search-shell/ui-search-shell.js +6 -1
  70. package/components/ui-section/ui-section.html +4 -4
  71. package/components/ui-select/ui-select.html +3 -3
  72. package/components/ui-select/ui-select.js +6 -1
  73. package/components/ui-separator/ui-separator.html +4 -4
  74. package/components/ui-sidebar/ui-sidebar.html +6 -6
  75. package/components/ui-sidebar/ui-sidebar.js +6 -1
  76. package/components/ui-spinner/ui-spinner.html +1 -1
  77. package/components/ui-stack/ui-stack.html +12 -12
  78. package/components/ui-status-message/ui-status-message.html +4 -4
  79. package/components/ui-switch/ui-switch.html +11 -11
  80. package/components/ui-switch/ui-switch.js +6 -1
  81. package/components/ui-switcher/ui-switcher.html +11 -11
  82. package/components/ui-switcher/ui-switcher.js +6 -1
  83. package/components/ui-table/ui-table.html +2 -2
  84. package/components/ui-table/ui-table.js +6 -1
  85. package/components/ui-tabs/ui-tabs.html +8 -8
  86. package/components/ui-tabs/ui-tabs.js +6 -1
  87. package/components/ui-text/ui-text.html +20 -20
  88. package/components/ui-textarea/ui-textarea.html +4 -4
  89. package/components/ui-textarea/ui-textarea.js +6 -1
  90. package/components/ui-toast/ui-toast.html +4 -4
  91. package/components/ui-toast/ui-toast.js +6 -1
  92. package/components/ui-toast-region/ui-toast-region.html +16 -11
  93. package/components/ui-toast-region/ui-toast-region.js +12 -9
  94. package/components/ui-tooltip/ui-tooltip.html +1 -1
  95. package/components/ui-tooltip/ui-tooltip.js +6 -1
  96. package/components/ui-tree/ui-tree.html +2 -2
  97. package/components/ui-tree/ui-tree.js +6 -1
  98. package/components/ui-tree-item/ui-tree-item.html +4 -4
  99. package/components/ui-tree-item/ui-tree-item.js +6 -1
  100. package/dist/index.js +10 -4
  101. package/package.json +3 -3
  102. package/styles/ui-action-bar.css +1 -1
  103. package/styles/ui-affordance-scope.css +1 -1
  104. package/styles/ui-avatar-group.css +1 -1
  105. package/styles/ui-avatar.css +1 -1
  106. package/styles/ui-badge.css +1 -1
  107. package/styles/ui-breadcrumb-item.css +1 -1
  108. package/styles/ui-breadcrumbs.css +1 -1
  109. package/styles/ui-button.css +1 -1
  110. package/styles/ui-callout.css +1 -1
  111. package/styles/ui-card.css +1 -1
  112. package/styles/ui-checkbox.css +1 -1
  113. package/styles/ui-cluster.css +1 -1
  114. package/styles/ui-combobox.css +1 -1
  115. package/styles/ui-container.css +1 -1
  116. package/styles/ui-context-menu.css +1 -1
  117. package/styles/ui-cover.css +1 -1
  118. package/styles/ui-description-item.css +1 -1
  119. package/styles/ui-description-list.css +1 -1
  120. package/styles/ui-dialog.css +1 -1
  121. package/styles/ui-disclosure.css +2 -2
  122. package/styles/ui-editable.css +1 -1
  123. package/styles/ui-editor-insert-table-grid.css +1 -1
  124. package/styles/ui-editor-mention-menu-item.css +1 -1
  125. package/styles/ui-editor-mention-menu.css +1 -1
  126. package/styles/ui-editor-slash-menu-group.css +1 -1
  127. package/styles/ui-editor-slash-menu-item.css +1 -1
  128. package/styles/ui-editor-slash-menu.css +1 -1
  129. package/styles/ui-editor-table-context-menu.css +1 -1
  130. package/styles/ui-editor-table-overlay.css +1 -1
  131. package/styles/ui-editor-table-toolbar.css +1 -1
  132. package/styles/ui-editor-toolbar.css +1 -1
  133. package/styles/ui-floating-action-button.css +1 -1
  134. package/styles/ui-form-field.css +1 -1
  135. package/styles/ui-grid.css +1 -1
  136. package/styles/ui-icon-button.css +1 -1
  137. package/styles/ui-icon.css +1 -1
  138. package/styles/ui-image.css +1 -1
  139. package/styles/ui-input-group.css +1 -1
  140. package/styles/ui-input.css +1 -1
  141. package/styles/ui-list-item.css +1 -1
  142. package/styles/ui-list.css +1 -1
  143. package/styles/ui-listbox.css +1 -1
  144. package/styles/ui-menu-group.css +1 -1
  145. package/styles/ui-menu-item.css +1 -1
  146. package/styles/ui-menu.css +1 -1
  147. package/styles/ui-meter.css +1 -1
  148. package/styles/ui-nav-item.css +1 -1
  149. package/styles/ui-page-header.css +1 -1
  150. package/styles/ui-popover.css +1 -1
  151. package/styles/ui-radio-group.css +1 -1
  152. package/styles/ui-radio.css +1 -1
  153. package/styles/ui-reel.css +1 -1
  154. package/styles/ui-scroll-area.css +1 -1
  155. package/styles/ui-search-result-row.css +1 -1
  156. package/styles/ui-search-shell.css +1 -1
  157. package/styles/ui-section.css +1 -1
  158. package/styles/ui-select.css +1 -1
  159. package/styles/ui-separator.css +1 -1
  160. package/styles/ui-sidebar.css +2 -2
  161. package/styles/ui-spinner.css +1 -1
  162. package/styles/ui-stack.css +1 -1
  163. package/styles/ui-status-message.css +1 -1
  164. package/styles/ui-switch.css +1 -1
  165. package/styles/ui-switcher.css +1 -1
  166. package/styles/ui-table.css +1 -1
  167. package/styles/ui-tabs.css +1 -1
  168. package/styles/ui-text.css +1 -1
  169. package/styles/ui-textarea.css +1 -1
  170. package/styles/ui-toast-region.css +1 -1
  171. package/styles/ui-toast.css +1 -1
  172. package/styles/ui-tooltip.css +1 -1
  173. package/styles/ui-top-bar.css +1 -1
  174. package/styles/ui-tree-item.css +1 -1
  175. package/styles/ui-tree.css +1 -1
  176. package/vanilla/UiActionBar.d.ts +1 -1
  177. package/vanilla/UiActionBar.js +1 -1
  178. package/vanilla/UiAffordanceScope.d.ts +1 -1
  179. package/vanilla/UiAffordanceScope.js +1 -1
  180. package/vanilla/UiAvatar.d.ts +1 -1
  181. package/vanilla/UiAvatar.js +1 -1
  182. package/vanilla/UiAvatarGroup.d.ts +1 -1
  183. package/vanilla/UiAvatarGroup.js +1 -1
  184. package/vanilla/UiBadge.d.ts +1 -1
  185. package/vanilla/UiBadge.js +1 -1
  186. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  187. package/vanilla/UiBreadcrumbItem.js +1 -1
  188. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  189. package/vanilla/UiBreadcrumbs.js +1 -1
  190. package/vanilla/UiButton.d.ts +1 -1
  191. package/vanilla/UiButton.js +1 -1
  192. package/vanilla/UiCallout.d.ts +1 -1
  193. package/vanilla/UiCallout.js +1 -1
  194. package/vanilla/UiCard.d.ts +1 -1
  195. package/vanilla/UiCard.js +1 -1
  196. package/vanilla/UiCheckbox.d.ts +1 -1
  197. package/vanilla/UiCheckbox.js +1 -1
  198. package/vanilla/UiCluster.d.ts +1 -1
  199. package/vanilla/UiCluster.js +1 -1
  200. package/vanilla/UiCombobox.d.ts +1 -3
  201. package/vanilla/UiCombobox.js +2 -2
  202. package/vanilla/UiContainer.d.ts +1 -1
  203. package/vanilla/UiContainer.js +1 -1
  204. package/vanilla/UiContextMenu.d.ts +1 -1
  205. package/vanilla/UiContextMenu.js +1 -1
  206. package/vanilla/UiCover.d.ts +1 -1
  207. package/vanilla/UiCover.js +1 -1
  208. package/vanilla/UiDescriptionItem.d.ts +1 -1
  209. package/vanilla/UiDescriptionItem.js +1 -1
  210. package/vanilla/UiDescriptionList.d.ts +1 -1
  211. package/vanilla/UiDescriptionList.js +1 -1
  212. package/vanilla/UiDialog.d.ts +1 -1
  213. package/vanilla/UiDialog.js +1 -1
  214. package/vanilla/UiDisclosure.d.ts +1 -1
  215. package/vanilla/UiDisclosure.js +1 -1
  216. package/vanilla/UiEditable.d.ts +1 -1
  217. package/vanilla/UiEditable.js +1 -1
  218. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  219. package/vanilla/UiEditorInsertTableGrid.js +1 -1
  220. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  221. package/vanilla/UiEditorMentionMenu.js +1 -1
  222. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  223. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  224. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  225. package/vanilla/UiEditorSlashMenu.js +1 -1
  226. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  227. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  228. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  229. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  230. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  231. package/vanilla/UiEditorTableContextMenu.js +1 -1
  232. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  233. package/vanilla/UiEditorTableOverlay.js +1 -1
  234. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  235. package/vanilla/UiEditorTableToolbar.js +1 -1
  236. package/vanilla/UiEditorToolbar.d.ts +1 -1
  237. package/vanilla/UiEditorToolbar.js +1 -1
  238. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  239. package/vanilla/UiFloatingActionButton.js +1 -1
  240. package/vanilla/UiFormField.d.ts +1 -1
  241. package/vanilla/UiFormField.js +1 -1
  242. package/vanilla/UiGrid.d.ts +1 -1
  243. package/vanilla/UiGrid.js +1 -1
  244. package/vanilla/UiIcon.d.ts +1 -1
  245. package/vanilla/UiIcon.js +1 -1
  246. package/vanilla/UiIconButton.d.ts +1 -1
  247. package/vanilla/UiIconButton.js +1 -1
  248. package/vanilla/UiImage.d.ts +1 -1
  249. package/vanilla/UiImage.js +1 -1
  250. package/vanilla/UiInput.d.ts +4 -4
  251. package/vanilla/UiInput.js +2 -2
  252. package/vanilla/UiInputGroup.d.ts +1 -1
  253. package/vanilla/UiInputGroup.js +1 -1
  254. package/vanilla/UiList.d.ts +1 -1
  255. package/vanilla/UiList.js +1 -1
  256. package/vanilla/UiListItem.d.ts +1 -1
  257. package/vanilla/UiListItem.js +1 -1
  258. package/vanilla/UiListbox.d.ts +1 -1
  259. package/vanilla/UiListbox.js +1 -1
  260. package/vanilla/UiMenu.d.ts +1 -1
  261. package/vanilla/UiMenu.js +1 -1
  262. package/vanilla/UiMenuGroup.d.ts +1 -1
  263. package/vanilla/UiMenuGroup.js +1 -1
  264. package/vanilla/UiMenuItem.d.ts +1 -1
  265. package/vanilla/UiMenuItem.js +1 -1
  266. package/vanilla/UiMeter.d.ts +1 -1
  267. package/vanilla/UiMeter.js +1 -1
  268. package/vanilla/UiNavItem.d.ts +1 -1
  269. package/vanilla/UiNavItem.js +1 -1
  270. package/vanilla/UiPageHeader.d.ts +1 -1
  271. package/vanilla/UiPageHeader.js +1 -1
  272. package/vanilla/UiPopover.d.ts +1 -1
  273. package/vanilla/UiPopover.js +1 -1
  274. package/vanilla/UiRadio.d.ts +1 -1
  275. package/vanilla/UiRadio.js +1 -1
  276. package/vanilla/UiRadioGroup.d.ts +1 -1
  277. package/vanilla/UiRadioGroup.js +1 -1
  278. package/vanilla/UiReel.d.ts +1 -1
  279. package/vanilla/UiReel.js +1 -1
  280. package/vanilla/UiScrollArea.d.ts +1 -1
  281. package/vanilla/UiScrollArea.js +1 -1
  282. package/vanilla/UiSearchResultRow.d.ts +1 -1
  283. package/vanilla/UiSearchResultRow.js +1 -1
  284. package/vanilla/UiSearchShell.d.ts +1 -1
  285. package/vanilla/UiSearchShell.js +1 -1
  286. package/vanilla/UiSection.d.ts +1 -1
  287. package/vanilla/UiSection.js +1 -1
  288. package/vanilla/UiSelect.d.ts +1 -1
  289. package/vanilla/UiSelect.js +1 -1
  290. package/vanilla/UiSeparator.d.ts +1 -1
  291. package/vanilla/UiSeparator.js +1 -1
  292. package/vanilla/UiSidebar.d.ts +1 -1
  293. package/vanilla/UiSidebar.js +1 -1
  294. package/vanilla/UiSpinner.d.ts +1 -1
  295. package/vanilla/UiSpinner.js +1 -1
  296. package/vanilla/UiStack.d.ts +1 -1
  297. package/vanilla/UiStack.js +1 -1
  298. package/vanilla/UiStatusMessage.d.ts +1 -1
  299. package/vanilla/UiStatusMessage.js +1 -1
  300. package/vanilla/UiSwitch.d.ts +1 -1
  301. package/vanilla/UiSwitch.js +1 -1
  302. package/vanilla/UiSwitcher.d.ts +1 -1
  303. package/vanilla/UiSwitcher.js +1 -1
  304. package/vanilla/UiTable.d.ts +1 -1
  305. package/vanilla/UiTable.js +1 -1
  306. package/vanilla/UiTabs.d.ts +1 -1
  307. package/vanilla/UiTabs.js +1 -1
  308. package/vanilla/UiText.d.ts +1 -1
  309. package/vanilla/UiText.js +1 -1
  310. package/vanilla/UiTextarea.d.ts +1 -1
  311. package/vanilla/UiTextarea.js +1 -1
  312. package/vanilla/UiToast.d.ts +1 -1
  313. package/vanilla/UiToast.js +1 -1
  314. package/vanilla/UiToastRegion.d.ts +2 -2
  315. package/vanilla/UiToastRegion.js +2 -2
  316. package/vanilla/UiTooltip.d.ts +1 -1
  317. package/vanilla/UiTooltip.js +1 -1
  318. package/vanilla/UiTopBar.d.ts +1 -1
  319. package/vanilla/UiTopBar.js +1 -1
  320. package/vanilla/UiTree.d.ts +1 -1
  321. package/vanilla/UiTree.js +1 -1
  322. package/vanilla/UiTreeItem.d.ts +1 -1
  323. package/vanilla/UiTreeItem.js +1 -1
  324. package/vue/UiActionBar.vue +1 -1
  325. package/vue/UiAffordanceScope.vue +8 -1
  326. package/vue/UiAvatar.d.ts +6 -9
  327. package/vue/UiAvatar.vue +71 -20
  328. package/vue/UiAvatarGroup.d.ts +7 -10
  329. package/vue/UiAvatarGroup.vue +45 -12
  330. package/vue/UiBadge.vue +1 -1
  331. package/vue/UiBreadcrumbItem.vue +1 -1
  332. package/vue/UiBreadcrumbs.vue +1 -1
  333. package/vue/UiButton.vue +1 -1
  334. package/vue/UiCallout.vue +1 -1
  335. package/vue/UiCard.vue +1 -1
  336. package/vue/UiCheckbox.d.ts +8 -11
  337. package/vue/UiCheckbox.vue +34 -11
  338. package/vue/UiCluster.vue +1 -1
  339. package/vue/UiCombobox.d.ts +60 -66
  340. package/vue/UiCombobox.vue +476 -124
  341. package/vue/UiContainer.vue +1 -1
  342. package/vue/UiContextMenu.vue +18 -9
  343. package/vue/UiCover.vue +1 -1
  344. package/vue/UiDescriptionItem.vue +1 -1
  345. package/vue/UiDescriptionList.vue +1 -1
  346. package/vue/UiDialog.d.ts +8 -11
  347. package/vue/UiDialog.vue +39 -12
  348. package/vue/UiDisclosure.d.ts +12 -15
  349. package/vue/UiDisclosure.vue +70 -24
  350. package/vue/UiEditable.d.ts +3 -3
  351. package/vue/UiEditable.vue +60 -21
  352. package/vue/UiEditorInsertTableGrid.d.ts +2 -2
  353. package/vue/UiEditorInsertTableGrid.vue +75 -14
  354. package/vue/UiEditorMentionMenu.d.ts +10 -13
  355. package/vue/UiEditorMentionMenu.vue +50 -7
  356. package/vue/UiEditorMentionMenuItem.vue +1 -1
  357. package/vue/UiEditorSlashMenu.d.ts +12 -15
  358. package/vue/UiEditorSlashMenu.vue +48 -7
  359. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  360. package/vue/UiEditorSlashMenuItem.vue +1 -1
  361. package/vue/UiEditorTableContextMenu.vue +73 -4
  362. package/vue/UiEditorTableOverlay.d.ts +2 -2
  363. package/vue/UiEditorTableOverlay.vue +202 -38
  364. package/vue/UiEditorTableToolbar.d.ts +2 -2
  365. package/vue/UiEditorTableToolbar.vue +128 -7
  366. package/vue/UiEditorToolbar.vue +3 -3
  367. package/vue/UiFloatingActionButton.vue +1 -1
  368. package/vue/UiFormField.vue +1 -1
  369. package/vue/UiGrid.vue +1 -1
  370. package/vue/UiIcon.vue +1 -1
  371. package/vue/UiIconButton.vue +1 -1
  372. package/vue/UiImage.vue +7 -6
  373. package/vue/UiInput.d.ts +5 -5
  374. package/vue/UiInput.vue +15 -3
  375. package/vue/UiInputGroup.vue +1 -1
  376. package/vue/UiList.vue +1 -1
  377. package/vue/UiListItem.vue +1 -1
  378. package/vue/UiListbox.d.ts +6 -9
  379. package/vue/UiListbox.vue +70 -19
  380. package/vue/UiMenu.vue +20 -10
  381. package/vue/UiMenuGroup.vue +1 -1
  382. package/vue/UiMenuItem.d.ts +13 -16
  383. package/vue/UiMenuItem.vue +30 -7
  384. package/vue/UiMeter.vue +1 -1
  385. package/vue/UiNavItem.vue +1 -1
  386. package/vue/UiPageHeader.vue +1 -1
  387. package/vue/UiPopover.vue +12 -4
  388. package/vue/UiRadio.d.ts +8 -11
  389. package/vue/UiRadio.vue +34 -11
  390. package/vue/UiRadioGroup.vue +16 -7
  391. package/vue/UiReel.vue +1 -1
  392. package/vue/UiScrollArea.vue +3 -3
  393. package/vue/UiSearchResultRow.vue +1 -1
  394. package/vue/UiSearchShell.vue +14 -6
  395. package/vue/UiSection.vue +1 -1
  396. package/vue/UiSelect.vue +3 -2
  397. package/vue/UiSeparator.vue +1 -1
  398. package/vue/UiSidebar.d.ts +7 -10
  399. package/vue/UiSidebar.vue +44 -12
  400. package/vue/UiSpinner.vue +1 -1
  401. package/vue/UiStack.vue +1 -1
  402. package/vue/UiStatusMessage.vue +1 -1
  403. package/vue/UiSwitch.d.ts +8 -11
  404. package/vue/UiSwitch.vue +34 -11
  405. package/vue/UiSwitcher.vue +8 -1
  406. package/vue/UiTable.vue +1 -1
  407. package/vue/UiTabs.vue +30 -8
  408. package/vue/UiText.vue +1 -1
  409. package/vue/UiTextarea.vue +2 -2
  410. package/vue/UiToast.vue +7 -6
  411. package/vue/UiToastRegion.d.ts +15 -3
  412. package/vue/UiToastRegion.vue +90 -45
  413. package/vue/UiTooltip.d.ts +9 -12
  414. package/vue/UiTooltip.vue +30 -7
  415. package/vue/UiTopBar.vue +1 -1
  416. package/vue/UiTree.vue +17 -13
  417. package/vue/UiTreeItem.d.ts +15 -18
  418. package/vue/UiTreeItem.vue +79 -30
  419. package/vue/chunks/UiActionBar.js +1 -1
  420. package/vue/chunks/UiAffordanceScope.js +6 -2
  421. package/vue/chunks/UiAvatar.js +37 -10
  422. package/vue/chunks/UiAvatarGroup.js +26 -7
  423. package/vue/chunks/UiBadge.js +2 -2
  424. package/vue/chunks/UiBreadcrumbItem.js +2 -2
  425. package/vue/chunks/UiBreadcrumbs.js +2 -2
  426. package/vue/chunks/UiButton.js +2 -2
  427. package/vue/chunks/UiCallout.js +2 -2
  428. package/vue/chunks/UiCard.js +2 -2
  429. package/vue/chunks/UiCheckbox.js +25 -12
  430. package/vue/chunks/UiCluster.js +2 -2
  431. package/vue/chunks/UiCombobox.js +628 -117
  432. package/vue/chunks/UiContainer.js +2 -2
  433. package/vue/chunks/UiContextMenu.js +14 -10
  434. package/vue/chunks/UiCover.js +2 -2
  435. package/vue/chunks/UiDescriptionItem.js +2 -2
  436. package/vue/chunks/UiDescriptionList.js +2 -2
  437. package/vue/chunks/UiDialog.js +29 -11
  438. package/vue/chunks/UiDisclosure.js +44 -14
  439. package/vue/chunks/UiEditable.js +33 -9
  440. package/vue/chunks/UiEditorInsertTableGrid.js +98 -14
  441. package/vue/chunks/UiEditorMentionMenu.js +76 -9
  442. package/vue/chunks/UiEditorMentionMenuItem.js +2 -2
  443. package/vue/chunks/UiEditorSlashMenu.js +70 -11
  444. package/vue/chunks/UiEditorSlashMenuGroup.js +2 -2
  445. package/vue/chunks/UiEditorSlashMenuItem.js +2 -2
  446. package/vue/chunks/UiEditorTableContextMenu.js +120 -2
  447. package/vue/chunks/UiEditorTableOverlay.js +306 -12
  448. package/vue/chunks/UiEditorTableToolbar.js +215 -3
  449. package/vue/chunks/UiEditorToolbar.js +8 -8
  450. package/vue/chunks/UiFloatingActionButton.js +2 -2
  451. package/vue/chunks/UiFormField.js +2 -2
  452. package/vue/chunks/UiGrid.js +2 -2
  453. package/vue/chunks/UiIcon.js +2 -2
  454. package/vue/chunks/UiIconButton.js +2 -2
  455. package/vue/chunks/UiImage.js +12 -12
  456. package/vue/chunks/UiInput.js +34 -4
  457. package/vue/chunks/UiInputGroup.js +2 -2
  458. package/vue/chunks/UiList.js +2 -2
  459. package/vue/chunks/UiListItem.js +2 -2
  460. package/vue/chunks/UiListbox.js +96 -12
  461. package/vue/chunks/UiMenu.js +6 -2
  462. package/vue/chunks/UiMenuGroup.js +2 -2
  463. package/vue/chunks/UiMenuItem.js +15 -3
  464. package/vue/chunks/UiMeter.js +2 -2
  465. package/vue/chunks/UiNavItem.js +2 -2
  466. package/vue/chunks/UiPageHeader.js +2 -2
  467. package/vue/chunks/UiPopover.js +6 -2
  468. package/vue/chunks/UiRadio.js +25 -12
  469. package/vue/chunks/UiRadioGroup.js +6 -2
  470. package/vue/chunks/UiReel.js +2 -2
  471. package/vue/chunks/UiScrollArea.js +8 -8
  472. package/vue/chunks/UiSearchResultRow.js +2 -2
  473. package/vue/chunks/UiSearchShell.js +9 -4
  474. package/vue/chunks/UiSection.js +2 -2
  475. package/vue/chunks/UiSelect.js +5 -3
  476. package/vue/chunks/UiSeparator.js +2 -2
  477. package/vue/chunks/UiSidebar.js +28 -5
  478. package/vue/chunks/UiSpinner.js +2 -2
  479. package/vue/chunks/UiStack.js +2 -2
  480. package/vue/chunks/UiStatusMessage.js +2 -2
  481. package/vue/chunks/UiSwitch.js +25 -12
  482. package/vue/chunks/UiSwitcher.js +6 -2
  483. package/vue/chunks/UiTable.js +2 -2
  484. package/vue/chunks/UiTabs.js +39 -10
  485. package/vue/chunks/UiText.js +2 -2
  486. package/vue/chunks/UiTextarea.js +3 -2
  487. package/vue/chunks/UiToast.js +8 -8
  488. package/vue/chunks/UiToastRegion.js +86 -20
  489. package/vue/chunks/UiTooltip.js +15 -3
  490. package/vue/chunks/UiTopBar.js +1 -1
  491. package/vue/chunks/UiTree.js +2 -2
  492. package/vue/chunks/UiTreeItem.js +84 -51
  493. package/vue/chunks/control.js +9 -2
  494. package/vue/chunks/host.js +203 -29
  495. package/vue/chunks/props.js +43 -7
  496. package/vue/components.css +1345 -1345
  497. package/vue/host.ts +286 -42
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiSectionEventMap {
3
3
  }
4
4
  export interface UiSectionElement extends HTMLElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import "../styles/ui-section.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiSelectEventMap {
3
3
  }
4
4
  export interface UiSelectElement extends HTMLSelectElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-select/ui-select.js";
4
4
  import "../styles/ui-select.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiSeparatorEventMap {
3
3
  }
4
4
  export interface UiSeparatorElement extends HTMLHRElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageGeneratedProps } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-separator.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiSidebarEventMap {
3
3
  resize: CustomEvent<{ readonly width: number; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  toggle: CustomEvent<{ readonly open: boolean; readonly mode: "docked" | "drawer"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-sidebar/ui-sidebar.js";
4
4
  import "../styles/ui-sidebar.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiSpinnerEventMap {
3
3
  }
4
4
  export interface UiSpinnerElement extends HTMLSpanElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import "../styles/ui-spinner.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiStackEventMap {
3
3
  }
4
4
  export interface UiStackElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageGeneratedProps } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-stack.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiStatusMessageEventMap {
3
3
  }
4
4
  export interface UiStatusMessageElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import "../styles/ui-status-message.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiSwitchEventMap {
3
3
  change: CustomEvent<{ readonly checked: boolean; readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-switch/ui-switch.js";
4
4
  import "../styles/ui-switch.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiSwitcherEventMap {
3
3
  }
4
4
  export interface UiSwitcherElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-switcher/ui-switcher.js";
4
4
  import "../styles/ui-switcher.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiTableEventMap {
3
3
  }
4
4
  export interface UiTableElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-table/ui-table.js";
4
4
  import "../styles/ui-table.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiTabsEventMap {
3
3
  select: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
package/vanilla/UiTabs.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-tabs/ui-tabs.js";
4
4
  import "../styles/ui-tabs.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiTextEventMap {
3
3
  }
4
4
  export interface UiTextElement extends HTMLElement {
package/vanilla/UiText.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { componentRootIndex, manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import "../styles/ui-text.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiTextareaEventMap {
3
3
  }
4
4
  export interface UiTextareaElement extends HTMLTextAreaElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-textarea/ui-textarea.js";
4
4
  import "../styles/ui-textarea.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiToastEventMap {
3
3
  dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-toast/ui-toast.js";
4
4
  import "../styles/ui-toast.css";
@@ -1,9 +1,9 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiToastRegionEventMap {
3
3
  dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
+ "show-toast": CustomEvent<{ readonly message: string; readonly id?: string; readonly tone?: "neutral" | "info" | "success" | "warning" | "danger"; readonly duration?: number }>;
4
5
  }
5
6
  export interface UiToastRegionElement extends HTMLDivElement {
6
- show(): Promise<string>;
7
7
  addEventListener<K extends keyof UiToastRegionEventMap>(type: K, listener: (this: UiToastRegionElement, event: UiToastRegionEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
8
8
  removeEventListener<K extends keyof UiToastRegionEventMap>(type: K, listener: (this: UiToastRegionElement, event: UiToastRegionEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
9
  }
@@ -1,9 +1,9 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-toast-region/ui-toast-region.js";
4
4
  import "../styles/ui-toast-region.css";
5
5
 
6
- const definition = {...{"contract":{"tag":"ui-toast-region","props":{"duration":{"type":"number","required":false,"target":{"attribute":"duration"},"default":0},"placement":{"type":{"kind":"terminal","name":"keyword"},"values":["top","top-start","top-end","bottom","bottom-start","bottom-end"],"required":false,"target":{"attribute":"placement"},"default":"top"}}},"template":{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"role","value":"region"},{"kind":"literal","name":"aria-label","value":"Notifications"},{"kind":"literal","name":"aria-live","value":"polite"},{"kind":"literal","name":"popover","value":"manual"}],"children":[{"kind":"slot"},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"toast"},{"kind":"attribute","name":"closing","expression":"toast.closing","expressionPlan":{"source":"toast.closing","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"closing"},"dependencies":["toast.closing"]},"target":"class"},{"kind":"attribute","name":"id","expression":"toast.id","expressionPlan":{"source":"toast.id","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"id"},"dependencies":["toast.id"]}},{"kind":"attribute","name":"role","expression":"toast.role","expressionPlan":{"source":"toast.role","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"role"},"dependencies":["toast.role"]}},{"kind":"attribute","name":"data-tone","expression":"toast.tone","expressionPlan":{"source":"toast.tone","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"tone"},"dependencies":["toast.tone"]}}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"message"}],"children":[{"kind":"text","value":"$toast.message","expressionPlan":{"source":"$toast.message","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"message"},"dependencies":["toast.message"]}}]},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"dismiss"},{"kind":"attribute","name":"data-toast","expression":"toast.id","expressionPlan":{"source":"toast.id","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"id"},"dependencies":["toast.id"]}}],"children":[{"kind":"element","name":"ui-icon-button","attributes":[{"kind":"literal","name":"size","value":"sm"},{"kind":"literal","name":"variant","value":"ghost"},{"kind":"attribute","name":"round","expression":"true","expressionPlan":{"source":"true","ast":{"kind":"literal","value":true},"dependencies":[]}},{"kind":"attribute","name":"label","expression":"concat('Dismiss ', toast.message)","expressionPlan":{"source":"concat('Dismiss ', toast.message)","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"Dismiss "},{"kind":"member","object":{"kind":"id","name":"toast"},"key":"message"}]},"dependencies":["toast.message"]}}],"children":[{"kind":"element","name":"ui-icon","attributes":[{"kind":"literal","name":"name","value":"x"}],"children":[]}]}]}],"flow":{"kind":"each","item":"toast","list":"toasts","listPlan":{"source":"toasts","ast":{"kind":"id","name":"toasts"},"dependencies":["toasts"]},"key":"toast.id","keyPlan":{"source":"toast.id","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"id"},"dependencies":["toast.id"]}}}]},"declarations":[{"kind":"state","name":"toasts","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"message","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","info","success","warning","danger"]},"optional":false},{"name":"role","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["alert","status"]},"optional":false},{"name":"closing","type":{"kind":"terminal","name":"boolean"},"optional":false}],"open":false}},"type":"list","value":"[]","expression":{"source":"[]","ast":{"kind":"array","items":[]},"dependencies":[]}},{"kind":"event","name":"dismiss","type":"object","shape":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"reason","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["action","timeout"]},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"method","name":"show","exportName":"show","returns":"promise(string)"}],"root":{"kind":"native","element":"div","choices":["div"]}},source:{file:import.meta.url},css:""};
6
+ const definition = {...{"contract":{"tag":"ui-toast-region","props":{"duration":{"type":"number","required":false,"target":{"attribute":"duration"},"default":0},"placement":{"type":{"kind":"terminal","name":"keyword"},"values":["top","top-start","top-end","bottom","bottom-start","bottom-end"],"required":false,"target":{"attribute":"placement"},"default":"top"}}},"template":{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"role","value":"region"},{"kind":"literal","name":"aria-label","value":"Notifications"},{"kind":"literal","name":"aria-live","value":"polite"},{"kind":"literal","name":"popover","value":"manual"}],"children":[{"kind":"slot"},{"kind":"element","name":"div","attributes":[{"kind":"literal","name":"class","value":"toast"},{"kind":"attribute","name":"closing","expression":"toast.closing","expressionPlan":{"source":"toast.closing","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"closing"},"dependencies":["toast.closing"]},"target":"class"},{"kind":"attribute","name":"id","expression":"toast.id","expressionPlan":{"source":"toast.id","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"id"},"dependencies":["toast.id"]}},{"kind":"attribute","name":"role","expression":"toast.role","expressionPlan":{"source":"toast.role","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"role"},"dependencies":["toast.role"]}},{"kind":"attribute","name":"data-tone","expression":"toast.tone","expressionPlan":{"source":"toast.tone","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"tone"},"dependencies":["toast.tone"]}}],"children":[{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"message"}],"children":[{"kind":"text","value":"$toast.message","expressionPlan":{"source":"$toast.message","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"message"},"dependencies":["toast.message"]}}]},{"kind":"element","name":"span","attributes":[{"kind":"literal","name":"class","value":"dismiss"},{"kind":"attribute","name":"data-toast","expression":"toast.id","expressionPlan":{"source":"toast.id","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"id"},"dependencies":["toast.id"]}}],"children":[{"kind":"element","name":"ui-icon-button","attributes":[{"kind":"literal","name":"size","value":"sm"},{"kind":"literal","name":"variant","value":"ghost"},{"kind":"attribute","name":"round","expression":"true","expressionPlan":{"source":"true","ast":{"kind":"literal","value":true},"dependencies":[]}},{"kind":"attribute","name":"label","expression":"concat('Dismiss ', toast.message)","expressionPlan":{"source":"concat('Dismiss ', toast.message)","ast":{"kind":"call","fn":"concat","args":[{"kind":"literal","value":"Dismiss "},{"kind":"member","object":{"kind":"id","name":"toast"},"key":"message"}]},"dependencies":["toast.message"]}}],"children":[{"kind":"element","name":"ui-icon","attributes":[{"kind":"literal","name":"name","value":"x"}],"children":[]}]}]}],"flow":{"kind":"each","item":"toast","list":"toasts","listPlan":{"source":"toasts","ast":{"kind":"id","name":"toasts"},"dependencies":["toasts"]},"key":"toast.id","keyPlan":{"source":"toast.id","ast":{"kind":"member","object":{"kind":"id","name":"toast"},"key":"id"},"dependencies":["toast.id"]}}}]},"declarations":[{"kind":"state","name":"toasts","shape":{"kind":"list","item":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"message","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","info","success","warning","danger"]},"optional":false},{"name":"role","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["alert","status"]},"optional":false},{"name":"closing","type":{"kind":"terminal","name":"boolean"},"optional":false}],"open":false}},"type":"list","value":"[]","expression":{"source":"[]","ast":{"kind":"array","items":[]},"dependencies":[]}},{"kind":"event","name":"dismiss","type":"object","shape":{"kind":"object","fields":[{"name":"id","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"reason","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["action","timeout"]},"optional":false},{"name":"trigger","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["keyboard","pointer","programmatic"]},"optional":false}],"open":false},"bubbles":true,"composed":true,"cancelable":false},{"kind":"event","name":"show-toast","type":"object","shape":{"kind":"object","fields":[{"name":"message","type":{"kind":"terminal","name":"string"},"optional":false},{"name":"id","type":{"kind":"terminal","name":"string"},"optional":true},{"name":"tone","type":{"kind":"constrained","base":{"kind":"terminal","name":"keyword"},"values":["neutral","info","success","warning","danger"]},"optional":true},{"name":"duration","type":{"kind":"terminal","name":"number"},"optional":true}],"open":false},"bubbles":true,"composed":true,"cancelable":false}],"root":{"kind":"native","element":"div","choices":["div"]}},source:{file:import.meta.url},css:""};
7
7
 
8
8
  export function createUiToastRegion(options = {}) {
9
9
  const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiTooltipEventMap {
3
3
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-tooltip/ui-tooltip.js";
4
4
  import "../styles/ui-tooltip.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiTopBarEventMap {
3
3
  }
4
4
  export interface UiTopBarElement extends HTMLElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import "../styles/ui-top-bar.css";
3
3
 
4
4
  export function createUiTopBar(options = {}) {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiTreeEventMap {
3
3
  reorder: CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly sourceType: string; readonly targetType: string; readonly sourceScope: string; readonly targetScope: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  "reorder-rejected": CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly reason: "max-depth"; readonly maxDepth: number; readonly resultingDepth: number; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
package/vanilla/UiTree.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-tree/ui-tree.js";
4
4
  import "../styles/ui-tree.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  export interface UiTreeItemEventMap {
3
3
  expand: CustomEvent<{ readonly id: string; readonly expanded: boolean; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.26 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.29 for Vanilla DOM. Do not edit.
2
2
  import { manageComponentLifecycle } from "@nextwebwg/html-next/runtime";
3
3
  import * as controller from "../components/ui-tree-item/ui-tree-item.js";
4
4
  import "../styles/ui-tree-item.css";
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { getCurrentInstance } from 'vue'
4
4
 
@@ -1,8 +1,9 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
5
5
  import { createDispatch, useComponentHost } from './host'
6
+ import { acceptsControllerWrite } from './props'
6
7
  import { checkedProp, propValidityState, vPropValidity } from './props'
7
8
 
8
9
  defineOptions({ inheritAttrs: false })
@@ -120,6 +121,12 @@ const dispatch = createDispatch(root)
120
121
  useComponentHost(() => import('../components/ui-affordance-scope/ui-affordance-scope.js'), {
121
122
  root,
122
123
  dispatch,
124
+ acceptsState: (name: string, keys: readonly string[], value: unknown) =>
125
+ acceptsControllerWrite(
126
+ value,
127
+ ({ engaged: { kind: 'terminal', name: 'boolean' } } as Record<string, any>)[name],
128
+ keys,
129
+ ),
123
130
  controllerSource: {
124
131
  specifier: '../components/ui-affordance-scope/ui-affordance-scope.js',
125
132
  definition: './components/ui-affordance-scope/ui-affordance-scope.html',
package/vue/UiAvatar.d.ts CHANGED
@@ -1,9 +1,7 @@
1
1
  import type { PropType } from 'vue';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
5
  active: {
8
6
  type: PropType<boolean | null>;
9
7
  default: boolean;
@@ -78,10 +76,9 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
78
76
  fallback: string | null;
79
77
  size: "xs" | "sm" | "md" | null;
80
78
  src: string | null;
81
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
82
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
83
- declare const _default: typeof __VLS_export;
84
- export default _default;
79
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
80
+ default?: (props: {}) => any;
81
+ }>;
85
82
  type __VLS_WithSlots<T, S> = T & {
86
83
  new (): {
87
84
  $slots: S;
package/vue/UiAvatar.vue CHANGED
@@ -1,8 +1,20 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.26 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.29 for Vue 3.5. Do not edit. -->
2
+ <script lang="ts">
3
+ const htmlNextAuthoredCheck2Reported = new Set<string>()
4
+ function htmlNextAuthoredCheck2(accepted: boolean, location: string, message: string): boolean {
5
+ if (!accepted && !htmlNextAuthoredCheck2Reported.has(location)) {
6
+ htmlNextAuthoredCheck2Reported.add(location)
7
+ console.warn(message)
8
+ }
9
+ return accepted
10
+ }
11
+ </script>
12
+
2
13
  <script setup lang="ts">
3
14
  import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
15
  import type { PropType } from 'vue'
5
16
  import { createDispatch, useComponentHost } from './host'
17
+ import { acceptsControllerWrite } from './props'
6
18
  import { checkedProp, propValidityState, vPropValidity } from './props'
7
19
  import UiIcon from './UiIcon.vue'
8
20
 
@@ -193,7 +205,7 @@ function reflectedProp(
193
205
  const hydrationInstance = getCurrentInstance()
194
206
 
195
207
  const root = ref<HTMLElement | null>(null)
196
- const imageElement = useTemplateRef<HTMLElement>('image')
208
+ const imageElement = useTemplateRef<HTMLElement>('imageElement')
197
209
  const hasImage = ref(false)
198
210
  const hasAuthoredImage = ref(false)
199
211
  const initials = ref('?')
@@ -201,44 +213,72 @@ const showGlyph = ref(false)
201
213
  let guardedPrevious: any
202
214
  const guarded = computed(() => {
203
215
  if (
204
- !((hasAuthoredImage.value == null || typeof hasAuthoredImage.value === 'boolean')
205
- && (hasImage.value == null || typeof hasImage.value === 'boolean'))
216
+ !(htmlNextAuthoredCheck2(
217
+ hasAuthoredImage.value == null || typeof hasAuthoredImage.value === 'boolean',
218
+ 'hasAuthoredImage or not hasImage:hasAuthoredImage',
219
+ './components/ui-avatar/ui-avatar.html: HR007: Reference hasAuthoredImage does not satisfy its declared type.',
220
+ )
221
+ && htmlNextAuthoredCheck2(
222
+ hasImage.value == null || typeof hasImage.value === 'boolean',
223
+ 'hasAuthoredImage or not hasImage:hasImage',
224
+ './components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type.',
225
+ ))
206
226
  ) return guardedPrevious
207
227
  return guardedPrevious = hasAuthoredImage.value || !hasImage.value
208
228
  })
209
229
  let guardedBindingPrevious: any
210
230
  const guardedBinding = computed(() => {
211
- if (!(hasImage.value == null || typeof hasImage.value === 'boolean')) {
212
- return guardedBindingPrevious
213
- }
231
+ if (
232
+ !(htmlNextAuthoredCheck2(
233
+ hasImage.value == null || typeof hasImage.value === 'boolean',
234
+ 'hasImage:hasImage',
235
+ './components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type.',
236
+ ))
237
+ ) return guardedBindingPrevious
214
238
  return guardedBindingPrevious = hasImage.value
215
239
  })
216
240
  let guardedBinding2Previous: any
217
241
  const guardedBinding2 = computed(() => {
218
- if (!(hasImage.value == null || typeof hasImage.value === 'boolean')) {
219
- return guardedBinding2Previous
220
- }
242
+ if (
243
+ !(htmlNextAuthoredCheck2(
244
+ hasImage.value == null || typeof hasImage.value === 'boolean',
245
+ 'hasImage:hasImage',
246
+ './components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type.',
247
+ ))
248
+ ) return guardedBinding2Previous
221
249
  return guardedBinding2Previous = hasImage.value
222
250
  })
223
251
  let guardedBinding3Previous: any
224
252
  const guardedBinding3 = computed(() => {
225
- if (!(showGlyph.value == null || typeof showGlyph.value === 'boolean')) {
226
- return guardedBinding3Previous
227
- }
253
+ if (
254
+ !(htmlNextAuthoredCheck2(
255
+ showGlyph.value == null || typeof showGlyph.value === 'boolean',
256
+ 'showGlyph:showGlyph',
257
+ './components/ui-avatar/ui-avatar.html: HR007: Reference showGlyph does not satisfy its declared type.',
258
+ ))
259
+ ) return guardedBinding3Previous
228
260
  return guardedBinding3Previous = showGlyph.value
229
261
  })
230
262
  let guardedBinding4Previous: any
231
263
  const guardedBinding4 = computed(() => {
232
- if (!(initials.value == null || typeof initials.value === 'string')) {
233
- return guardedBinding4Previous
234
- }
264
+ if (
265
+ !(htmlNextAuthoredCheck2(
266
+ initials.value == null || typeof initials.value === 'string',
267
+ '$initials:initials',
268
+ './components/ui-avatar/ui-avatar.html: HR007: Reference initials does not satisfy its declared type.',
269
+ ))
270
+ ) return guardedBinding4Previous
235
271
  return guardedBinding4Previous = initials.value
236
272
  })
237
273
  let guardedBinding5Previous: any
238
274
  const guardedBinding5 = computed(() => {
239
- if (!(showGlyph.value == null || typeof showGlyph.value === 'boolean')) {
240
- return guardedBinding5Previous
241
- }
275
+ if (
276
+ !(htmlNextAuthoredCheck2(
277
+ showGlyph.value == null || typeof showGlyph.value === 'boolean',
278
+ 'not showGlyph:showGlyph',
279
+ './components/ui-avatar/ui-avatar.html: HR007: Reference showGlyph does not satisfy its declared type.',
280
+ ))
281
+ ) return guardedBinding5Previous
242
282
  return guardedBinding5Previous = !showGlyph.value
243
283
  })
244
284
  provide('html-next:ui-avatar:hasImage', hasImage)
@@ -276,6 +316,17 @@ const dispatch = createDispatch(root)
276
316
  useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
277
317
  root,
278
318
  dispatch,
319
+ acceptsState: (name: string, keys: readonly string[], value: unknown) =>
320
+ acceptsControllerWrite(
321
+ value,
322
+ ({
323
+ hasImage: { kind: 'terminal', name: 'boolean' },
324
+ hasAuthoredImage: { kind: 'terminal', name: 'boolean' },
325
+ initials: { kind: 'terminal', name: 'string' },
326
+ showGlyph: { kind: 'terminal', name: 'boolean' },
327
+ } as Record<string, any>)[name],
328
+ keys,
329
+ ),
279
330
  controllerSource: {
280
331
  specifier: '../components/ui-avatar/ui-avatar.js',
281
332
  definition: './components/ui-avatar/ui-avatar.html',
@@ -318,7 +369,7 @@ useComponentHost(() => import('../components/ui-avatar/ui-avatar.js'), {
318
369
  aria-hidden="true"
319
370
  :src="checkedProps.src ?? undefined"
320
371
  :hidden="guarded"
321
- ref="image"
372
+ ref="imageElement"
322
373
  >
323
374
  <span class="fallback" :aria-hidden="guardedBinding" :hidden="guardedBinding2"><span
324
375
  :hidden="guardedBinding3"
@@ -1,9 +1,7 @@
1
1
  import type { PropType } from 'vue';
2
- declare var __VLS_1: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_1) => any;
5
- };
6
- declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
5
  label: {
8
6
  type: PropType<string | null>;
9
7
  default: string;
@@ -49,12 +47,11 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
49
47
  label: string | null;
50
48
  size: "xs" | "sm" | "md" | null;
51
49
  max: number | null;
52
- total: number | null;
53
50
  overflowLabel: string | null;
54
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
55
- declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
56
- declare const _default: typeof __VLS_export;
57
- export default _default;
51
+ total: number | null;
52
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
53
+ default?: (props: {}) => any;
54
+ }>;
58
55
  type __VLS_WithSlots<T, S> = T & {
59
56
  new (): {
60
57
  $slots: S;