@threadlabs/looma 0.24.0 → 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 (499) hide show
  1. package/README.md +1 -1
  2. package/components/shared/overlay.js +10 -2
  3. package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
  4. package/components/ui-affordance-scope/ui-affordance-scope.js +6 -1
  5. package/components/ui-avatar/ui-avatar.html +4 -4
  6. package/components/ui-avatar/ui-avatar.js +6 -1
  7. package/components/ui-avatar-group/ui-avatar-group.html +2 -2
  8. package/components/ui-avatar-group/ui-avatar-group.js +6 -1
  9. package/components/ui-badge/ui-badge.html +30 -30
  10. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
  11. package/components/ui-button/ui-button.html +33 -33
  12. package/components/ui-button/ui-button.js +6 -1
  13. package/components/ui-callout/ui-callout.html +4 -4
  14. package/components/ui-card/ui-card.html +9 -9
  15. package/components/ui-checkbox/ui-checkbox.html +11 -11
  16. package/components/ui-checkbox/ui-checkbox.js +6 -1
  17. package/components/ui-cluster/ui-cluster.html +12 -12
  18. package/components/ui-combobox/ui-combobox.html +15 -17
  19. package/components/ui-combobox/ui-combobox.js +13 -15
  20. package/components/ui-container/ui-container.html +5 -5
  21. package/components/ui-context-menu/ui-context-menu.js +6 -1
  22. package/components/ui-cover/ui-cover.html +1 -1
  23. package/components/ui-description-list/ui-description-list.html +10 -10
  24. package/components/ui-dialog/ui-dialog.html +4 -4
  25. package/components/ui-dialog/ui-dialog.js +6 -1
  26. package/components/ui-disclosure/ui-disclosure.html +13 -13
  27. package/components/ui-disclosure/ui-disclosure.js +6 -1
  28. package/components/ui-editable/ui-editable.html +1 -1
  29. package/components/ui-editable/ui-editable.js +6 -1
  30. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.js +6 -1
  31. package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +6 -1
  32. package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +6 -1
  33. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.js +6 -1
  34. package/components/ui-editor-table-overlay/ui-editor-table-overlay.js +6 -1
  35. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +6 -1
  36. package/components/ui-editor-toolbar/ui-editor-toolbar.html +4 -4
  37. package/components/ui-editor-toolbar/ui-editor-toolbar.js +6 -1
  38. package/components/ui-floating-action-button/ui-floating-action-button.html +1 -1
  39. package/components/ui-form-field/ui-form-field.html +1 -1
  40. package/components/ui-form-field/ui-form-field.js +6 -1
  41. package/components/ui-grid/ui-grid.html +7 -7
  42. package/components/ui-icon-button/ui-icon-button.html +26 -26
  43. package/components/ui-icon-button/ui-icon-button.js +6 -1
  44. package/components/ui-image/ui-image.html +11 -11
  45. package/components/ui-image/ui-image.js +6 -1
  46. package/components/ui-input/ui-input.html +9 -7
  47. package/components/ui-input/ui-input.js +6 -1
  48. package/components/ui-input-group/ui-input-group.html +3 -3
  49. package/components/ui-input-group/ui-input-group.js +6 -1
  50. package/components/ui-list/ui-list.html +6 -6
  51. package/components/ui-list-item/ui-list-item.html +8 -8
  52. package/components/ui-listbox/ui-listbox.js +6 -1
  53. package/components/ui-menu/ui-menu.html +3 -3
  54. package/components/ui-menu/ui-menu.js +6 -1
  55. package/components/ui-menu-item/ui-menu-item.html +3 -3
  56. package/components/ui-menu-item/ui-menu-item.js +6 -1
  57. package/components/ui-meter/ui-meter.html +7 -7
  58. package/components/ui-nav-item/ui-nav-item.html +6 -6
  59. package/components/ui-page-header/ui-page-header.html +2 -2
  60. package/components/ui-popover/ui-popover.html +3 -3
  61. package/components/ui-popover/ui-popover.js +6 -1
  62. package/components/ui-radio/ui-radio.html +10 -10
  63. package/components/ui-radio/ui-radio.js +6 -1
  64. package/components/ui-radio-group/ui-radio-group.html +2 -2
  65. package/components/ui-radio-group/ui-radio-group.js +6 -1
  66. package/components/ui-reel/ui-reel.html +11 -11
  67. package/components/ui-scroll-area/ui-scroll-area.html +4 -4
  68. package/components/ui-scroll-area/ui-scroll-area.js +6 -1
  69. package/components/ui-search-result-row/ui-search-result-row.html +5 -5
  70. package/components/ui-search-shell/ui-search-shell.js +6 -1
  71. package/components/ui-section/ui-section.html +4 -4
  72. package/components/ui-select/ui-select.html +3 -3
  73. package/components/ui-select/ui-select.js +6 -1
  74. package/components/ui-separator/ui-separator.html +4 -4
  75. package/components/ui-sidebar/ui-sidebar.html +6 -6
  76. package/components/ui-sidebar/ui-sidebar.js +6 -1
  77. package/components/ui-spinner/ui-spinner.html +1 -1
  78. package/components/ui-stack/ui-stack.html +12 -12
  79. package/components/ui-status-message/ui-status-message.html +4 -4
  80. package/components/ui-switch/ui-switch.html +11 -11
  81. package/components/ui-switch/ui-switch.js +6 -1
  82. package/components/ui-switcher/ui-switcher.html +11 -11
  83. package/components/ui-switcher/ui-switcher.js +6 -1
  84. package/components/ui-table/ui-table.html +2 -2
  85. package/components/ui-table/ui-table.js +6 -1
  86. package/components/ui-tabs/ui-tabs.html +8 -8
  87. package/components/ui-tabs/ui-tabs.js +6 -1
  88. package/components/ui-text/ui-text.html +20 -20
  89. package/components/ui-textarea/ui-textarea.html +4 -4
  90. package/components/ui-textarea/ui-textarea.js +6 -1
  91. package/components/ui-toast/ui-toast.html +4 -4
  92. package/components/ui-toast/ui-toast.js +6 -1
  93. package/components/ui-toast-region/ui-toast-region.html +16 -11
  94. package/components/ui-toast-region/ui-toast-region.js +12 -9
  95. package/components/ui-tooltip/ui-tooltip.html +1 -1
  96. package/components/ui-tooltip/ui-tooltip.js +6 -1
  97. package/components/ui-tree/ui-tree.html +2 -2
  98. package/components/ui-tree/ui-tree.js +6 -1
  99. package/components/ui-tree-item/ui-tree-item.html +4 -4
  100. package/components/ui-tree-item/ui-tree-item.js +6 -1
  101. package/dist/index.js +10 -4
  102. package/package.json +3 -3
  103. package/styles/ui-action-bar.css +1 -1
  104. package/styles/ui-affordance-scope.css +1 -1
  105. package/styles/ui-avatar-group.css +1 -1
  106. package/styles/ui-avatar.css +1 -1
  107. package/styles/ui-badge.css +1 -1
  108. package/styles/ui-breadcrumb-item.css +1 -1
  109. package/styles/ui-breadcrumbs.css +1 -1
  110. package/styles/ui-button.css +1 -1
  111. package/styles/ui-callout.css +1 -1
  112. package/styles/ui-card.css +1 -1
  113. package/styles/ui-checkbox.css +1 -1
  114. package/styles/ui-cluster.css +1 -1
  115. package/styles/ui-combobox.css +1 -1
  116. package/styles/ui-container.css +1 -1
  117. package/styles/ui-context-menu.css +1 -1
  118. package/styles/ui-cover.css +1 -1
  119. package/styles/ui-description-item.css +1 -1
  120. package/styles/ui-description-list.css +1 -1
  121. package/styles/ui-dialog.css +1 -1
  122. package/styles/ui-disclosure.css +2 -2
  123. package/styles/ui-editable.css +1 -1
  124. package/styles/ui-editor-insert-table-grid.css +1 -1
  125. package/styles/ui-editor-mention-menu-item.css +1 -1
  126. package/styles/ui-editor-mention-menu.css +1 -1
  127. package/styles/ui-editor-slash-menu-group.css +1 -1
  128. package/styles/ui-editor-slash-menu-item.css +1 -1
  129. package/styles/ui-editor-slash-menu.css +1 -1
  130. package/styles/ui-editor-table-context-menu.css +1 -1
  131. package/styles/ui-editor-table-overlay.css +1 -1
  132. package/styles/ui-editor-table-toolbar.css +1 -1
  133. package/styles/ui-editor-toolbar.css +1 -1
  134. package/styles/ui-floating-action-button.css +1 -1
  135. package/styles/ui-form-field.css +1 -1
  136. package/styles/ui-grid.css +1 -1
  137. package/styles/ui-icon-button.css +1 -1
  138. package/styles/ui-icon.css +1 -1
  139. package/styles/ui-image.css +1 -1
  140. package/styles/ui-input-group.css +1 -1
  141. package/styles/ui-input.css +1 -1
  142. package/styles/ui-list-item.css +1 -1
  143. package/styles/ui-list.css +1 -1
  144. package/styles/ui-listbox.css +1 -1
  145. package/styles/ui-menu-group.css +1 -1
  146. package/styles/ui-menu-item.css +1 -1
  147. package/styles/ui-menu.css +1 -1
  148. package/styles/ui-meter.css +1 -1
  149. package/styles/ui-nav-item.css +1 -1
  150. package/styles/ui-page-header.css +1 -1
  151. package/styles/ui-popover.css +1 -1
  152. package/styles/ui-radio-group.css +1 -1
  153. package/styles/ui-radio.css +1 -1
  154. package/styles/ui-reel.css +1 -1
  155. package/styles/ui-scroll-area.css +1 -1
  156. package/styles/ui-search-result-row.css +1 -1
  157. package/styles/ui-search-shell.css +1 -1
  158. package/styles/ui-section.css +1 -1
  159. package/styles/ui-select.css +1 -1
  160. package/styles/ui-separator.css +1 -1
  161. package/styles/ui-sidebar.css +2 -2
  162. package/styles/ui-spinner.css +1 -1
  163. package/styles/ui-stack.css +1 -1
  164. package/styles/ui-status-message.css +1 -1
  165. package/styles/ui-switch.css +1 -1
  166. package/styles/ui-switcher.css +1 -1
  167. package/styles/ui-table.css +1 -1
  168. package/styles/ui-tabs.css +1 -1
  169. package/styles/ui-text.css +1 -1
  170. package/styles/ui-textarea.css +1 -1
  171. package/styles/ui-toast-region.css +1 -1
  172. package/styles/ui-toast.css +1 -1
  173. package/styles/ui-tooltip.css +1 -1
  174. package/styles/ui-top-bar.css +1 -1
  175. package/styles/ui-tree-item.css +1 -1
  176. package/styles/ui-tree.css +1 -1
  177. package/vanilla/UiActionBar.d.ts +1 -1
  178. package/vanilla/UiActionBar.js +1 -1
  179. package/vanilla/UiAffordanceScope.d.ts +1 -1
  180. package/vanilla/UiAffordanceScope.js +1 -1
  181. package/vanilla/UiAvatar.d.ts +1 -1
  182. package/vanilla/UiAvatar.js +1 -1
  183. package/vanilla/UiAvatarGroup.d.ts +1 -1
  184. package/vanilla/UiAvatarGroup.js +1 -1
  185. package/vanilla/UiBadge.d.ts +1 -1
  186. package/vanilla/UiBadge.js +1 -1
  187. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  188. package/vanilla/UiBreadcrumbItem.js +1 -1
  189. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  190. package/vanilla/UiBreadcrumbs.js +1 -1
  191. package/vanilla/UiButton.d.ts +1 -1
  192. package/vanilla/UiButton.js +1 -1
  193. package/vanilla/UiCallout.d.ts +1 -1
  194. package/vanilla/UiCallout.js +1 -1
  195. package/vanilla/UiCard.d.ts +1 -1
  196. package/vanilla/UiCard.js +1 -1
  197. package/vanilla/UiCheckbox.d.ts +1 -1
  198. package/vanilla/UiCheckbox.js +1 -1
  199. package/vanilla/UiCluster.d.ts +1 -1
  200. package/vanilla/UiCluster.js +1 -1
  201. package/vanilla/UiCombobox.d.ts +1 -3
  202. package/vanilla/UiCombobox.js +2 -2
  203. package/vanilla/UiContainer.d.ts +1 -1
  204. package/vanilla/UiContainer.js +1 -1
  205. package/vanilla/UiContextMenu.d.ts +1 -1
  206. package/vanilla/UiContextMenu.js +1 -1
  207. package/vanilla/UiCover.d.ts +1 -1
  208. package/vanilla/UiCover.js +1 -1
  209. package/vanilla/UiDescriptionItem.d.ts +1 -1
  210. package/vanilla/UiDescriptionItem.js +1 -1
  211. package/vanilla/UiDescriptionList.d.ts +1 -1
  212. package/vanilla/UiDescriptionList.js +1 -1
  213. package/vanilla/UiDialog.d.ts +1 -1
  214. package/vanilla/UiDialog.js +1 -1
  215. package/vanilla/UiDisclosure.d.ts +1 -1
  216. package/vanilla/UiDisclosure.js +1 -1
  217. package/vanilla/UiEditable.d.ts +1 -1
  218. package/vanilla/UiEditable.js +1 -1
  219. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  220. package/vanilla/UiEditorInsertTableGrid.js +1 -1
  221. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  222. package/vanilla/UiEditorMentionMenu.js +1 -1
  223. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  224. package/vanilla/UiEditorMentionMenuItem.js +1 -1
  225. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  226. package/vanilla/UiEditorSlashMenu.js +1 -1
  227. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  228. package/vanilla/UiEditorSlashMenuGroup.js +1 -1
  229. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  230. package/vanilla/UiEditorSlashMenuItem.js +1 -1
  231. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  232. package/vanilla/UiEditorTableContextMenu.js +1 -1
  233. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  234. package/vanilla/UiEditorTableOverlay.js +1 -1
  235. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  236. package/vanilla/UiEditorTableToolbar.js +1 -1
  237. package/vanilla/UiEditorToolbar.d.ts +1 -1
  238. package/vanilla/UiEditorToolbar.js +1 -1
  239. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  240. package/vanilla/UiFloatingActionButton.js +1 -1
  241. package/vanilla/UiFormField.d.ts +1 -1
  242. package/vanilla/UiFormField.js +1 -1
  243. package/vanilla/UiGrid.d.ts +1 -1
  244. package/vanilla/UiGrid.js +1 -1
  245. package/vanilla/UiIcon.d.ts +1 -1
  246. package/vanilla/UiIcon.js +1 -1
  247. package/vanilla/UiIconButton.d.ts +1 -1
  248. package/vanilla/UiIconButton.js +1 -1
  249. package/vanilla/UiImage.d.ts +1 -1
  250. package/vanilla/UiImage.js +1 -1
  251. package/vanilla/UiInput.d.ts +4 -4
  252. package/vanilla/UiInput.js +2 -2
  253. package/vanilla/UiInputGroup.d.ts +1 -1
  254. package/vanilla/UiInputGroup.js +1 -1
  255. package/vanilla/UiList.d.ts +1 -1
  256. package/vanilla/UiList.js +1 -1
  257. package/vanilla/UiListItem.d.ts +1 -1
  258. package/vanilla/UiListItem.js +1 -1
  259. package/vanilla/UiListbox.d.ts +1 -1
  260. package/vanilla/UiListbox.js +1 -1
  261. package/vanilla/UiMenu.d.ts +1 -1
  262. package/vanilla/UiMenu.js +1 -1
  263. package/vanilla/UiMenuGroup.d.ts +1 -1
  264. package/vanilla/UiMenuGroup.js +1 -1
  265. package/vanilla/UiMenuItem.d.ts +1 -1
  266. package/vanilla/UiMenuItem.js +1 -1
  267. package/vanilla/UiMeter.d.ts +1 -1
  268. package/vanilla/UiMeter.js +1 -1
  269. package/vanilla/UiNavItem.d.ts +1 -1
  270. package/vanilla/UiNavItem.js +1 -1
  271. package/vanilla/UiPageHeader.d.ts +1 -1
  272. package/vanilla/UiPageHeader.js +1 -1
  273. package/vanilla/UiPopover.d.ts +1 -1
  274. package/vanilla/UiPopover.js +1 -1
  275. package/vanilla/UiRadio.d.ts +1 -1
  276. package/vanilla/UiRadio.js +1 -1
  277. package/vanilla/UiRadioGroup.d.ts +1 -1
  278. package/vanilla/UiRadioGroup.js +1 -1
  279. package/vanilla/UiReel.d.ts +1 -1
  280. package/vanilla/UiReel.js +1 -1
  281. package/vanilla/UiScrollArea.d.ts +1 -1
  282. package/vanilla/UiScrollArea.js +1 -1
  283. package/vanilla/UiSearchResultRow.d.ts +1 -1
  284. package/vanilla/UiSearchResultRow.js +1 -1
  285. package/vanilla/UiSearchShell.d.ts +1 -1
  286. package/vanilla/UiSearchShell.js +1 -1
  287. package/vanilla/UiSection.d.ts +1 -1
  288. package/vanilla/UiSection.js +1 -1
  289. package/vanilla/UiSelect.d.ts +1 -1
  290. package/vanilla/UiSelect.js +1 -1
  291. package/vanilla/UiSeparator.d.ts +1 -1
  292. package/vanilla/UiSeparator.js +1 -1
  293. package/vanilla/UiSidebar.d.ts +1 -1
  294. package/vanilla/UiSidebar.js +1 -1
  295. package/vanilla/UiSpinner.d.ts +1 -1
  296. package/vanilla/UiSpinner.js +1 -1
  297. package/vanilla/UiStack.d.ts +1 -1
  298. package/vanilla/UiStack.js +1 -1
  299. package/vanilla/UiStatusMessage.d.ts +1 -1
  300. package/vanilla/UiStatusMessage.js +1 -1
  301. package/vanilla/UiSwitch.d.ts +1 -1
  302. package/vanilla/UiSwitch.js +1 -1
  303. package/vanilla/UiSwitcher.d.ts +1 -1
  304. package/vanilla/UiSwitcher.js +1 -1
  305. package/vanilla/UiTable.d.ts +1 -1
  306. package/vanilla/UiTable.js +1 -1
  307. package/vanilla/UiTabs.d.ts +1 -1
  308. package/vanilla/UiTabs.js +1 -1
  309. package/vanilla/UiText.d.ts +1 -1
  310. package/vanilla/UiText.js +1 -1
  311. package/vanilla/UiTextarea.d.ts +1 -1
  312. package/vanilla/UiTextarea.js +1 -1
  313. package/vanilla/UiToast.d.ts +1 -1
  314. package/vanilla/UiToast.js +1 -1
  315. package/vanilla/UiToastRegion.d.ts +2 -2
  316. package/vanilla/UiToastRegion.js +2 -2
  317. package/vanilla/UiTooltip.d.ts +1 -1
  318. package/vanilla/UiTooltip.js +1 -1
  319. package/vanilla/UiTopBar.d.ts +1 -1
  320. package/vanilla/UiTopBar.js +1 -1
  321. package/vanilla/UiTree.d.ts +1 -1
  322. package/vanilla/UiTree.js +1 -1
  323. package/vanilla/UiTreeItem.d.ts +1 -1
  324. package/vanilla/UiTreeItem.js +1 -1
  325. package/vue/UiActionBar.vue +1 -1
  326. package/vue/UiAffordanceScope.vue +8 -1
  327. package/vue/UiAvatar.d.ts +6 -9
  328. package/vue/UiAvatar.vue +71 -20
  329. package/vue/UiAvatarGroup.d.ts +7 -10
  330. package/vue/UiAvatarGroup.vue +45 -12
  331. package/vue/UiBadge.vue +1 -1
  332. package/vue/UiBreadcrumbItem.vue +1 -1
  333. package/vue/UiBreadcrumbs.vue +1 -1
  334. package/vue/UiButton.vue +1 -1
  335. package/vue/UiCallout.vue +1 -1
  336. package/vue/UiCard.vue +1 -1
  337. package/vue/UiCheckbox.d.ts +8 -11
  338. package/vue/UiCheckbox.vue +34 -11
  339. package/vue/UiCluster.vue +1 -1
  340. package/vue/UiCombobox.d.ts +60 -66
  341. package/vue/UiCombobox.vue +476 -124
  342. package/vue/UiContainer.vue +1 -1
  343. package/vue/UiContextMenu.vue +18 -9
  344. package/vue/UiCover.vue +1 -1
  345. package/vue/UiDescriptionItem.vue +1 -1
  346. package/vue/UiDescriptionList.vue +1 -1
  347. package/vue/UiDialog.d.ts +8 -11
  348. package/vue/UiDialog.vue +39 -12
  349. package/vue/UiDisclosure.d.ts +12 -15
  350. package/vue/UiDisclosure.vue +70 -24
  351. package/vue/UiEditable.d.ts +3 -3
  352. package/vue/UiEditable.vue +60 -21
  353. package/vue/UiEditorInsertTableGrid.d.ts +2 -2
  354. package/vue/UiEditorInsertTableGrid.vue +75 -14
  355. package/vue/UiEditorMentionMenu.d.ts +10 -13
  356. package/vue/UiEditorMentionMenu.vue +50 -7
  357. package/vue/UiEditorMentionMenuItem.vue +1 -1
  358. package/vue/UiEditorSlashMenu.d.ts +12 -15
  359. package/vue/UiEditorSlashMenu.vue +48 -7
  360. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  361. package/vue/UiEditorSlashMenuItem.vue +1 -1
  362. package/vue/UiEditorTableContextMenu.vue +73 -4
  363. package/vue/UiEditorTableOverlay.d.ts +2 -2
  364. package/vue/UiEditorTableOverlay.vue +202 -38
  365. package/vue/UiEditorTableToolbar.d.ts +2 -2
  366. package/vue/UiEditorTableToolbar.vue +128 -7
  367. package/vue/UiEditorToolbar.vue +3 -3
  368. package/vue/UiFloatingActionButton.vue +1 -1
  369. package/vue/UiFormField.vue +1 -1
  370. package/vue/UiGrid.vue +1 -1
  371. package/vue/UiIcon.vue +1 -1
  372. package/vue/UiIconButton.vue +1 -1
  373. package/vue/UiImage.vue +7 -6
  374. package/vue/UiInput.d.ts +5 -5
  375. package/vue/UiInput.vue +15 -3
  376. package/vue/UiInputGroup.vue +1 -1
  377. package/vue/UiList.vue +1 -1
  378. package/vue/UiListItem.vue +1 -1
  379. package/vue/UiListbox.d.ts +6 -9
  380. package/vue/UiListbox.vue +70 -19
  381. package/vue/UiMenu.vue +20 -10
  382. package/vue/UiMenuGroup.vue +1 -1
  383. package/vue/UiMenuItem.d.ts +13 -16
  384. package/vue/UiMenuItem.vue +30 -7
  385. package/vue/UiMeter.vue +1 -1
  386. package/vue/UiNavItem.vue +1 -1
  387. package/vue/UiPageHeader.vue +1 -1
  388. package/vue/UiPopover.vue +12 -4
  389. package/vue/UiRadio.d.ts +8 -11
  390. package/vue/UiRadio.vue +34 -11
  391. package/vue/UiRadioGroup.vue +16 -7
  392. package/vue/UiReel.vue +1 -1
  393. package/vue/UiScrollArea.vue +3 -3
  394. package/vue/UiSearchResultRow.vue +1 -1
  395. package/vue/UiSearchShell.vue +14 -6
  396. package/vue/UiSection.vue +1 -1
  397. package/vue/UiSelect.vue +3 -2
  398. package/vue/UiSeparator.vue +1 -1
  399. package/vue/UiSidebar.d.ts +7 -10
  400. package/vue/UiSidebar.vue +44 -12
  401. package/vue/UiSpinner.vue +1 -1
  402. package/vue/UiStack.vue +1 -1
  403. package/vue/UiStatusMessage.vue +1 -1
  404. package/vue/UiSwitch.d.ts +8 -11
  405. package/vue/UiSwitch.vue +34 -11
  406. package/vue/UiSwitcher.vue +8 -1
  407. package/vue/UiTable.vue +1 -1
  408. package/vue/UiTabs.vue +30 -8
  409. package/vue/UiText.vue +1 -1
  410. package/vue/UiTextarea.vue +2 -2
  411. package/vue/UiToast.vue +7 -6
  412. package/vue/UiToastRegion.d.ts +15 -3
  413. package/vue/UiToastRegion.vue +90 -45
  414. package/vue/UiTooltip.d.ts +9 -12
  415. package/vue/UiTooltip.vue +30 -7
  416. package/vue/UiTopBar.vue +1 -1
  417. package/vue/UiTree.vue +17 -13
  418. package/vue/UiTreeItem.d.ts +15 -18
  419. package/vue/UiTreeItem.vue +79 -30
  420. package/vue/chunks/UiActionBar.js +1 -1
  421. package/vue/chunks/UiAffordanceScope.js +6 -2
  422. package/vue/chunks/UiAvatar.js +37 -10
  423. package/vue/chunks/UiAvatarGroup.js +26 -7
  424. package/vue/chunks/UiBadge.js +2 -2
  425. package/vue/chunks/UiBreadcrumbItem.js +2 -2
  426. package/vue/chunks/UiBreadcrumbs.js +2 -2
  427. package/vue/chunks/UiButton.js +2 -2
  428. package/vue/chunks/UiCallout.js +2 -2
  429. package/vue/chunks/UiCard.js +2 -2
  430. package/vue/chunks/UiCheckbox.js +25 -12
  431. package/vue/chunks/UiCluster.js +2 -2
  432. package/vue/chunks/UiCombobox.js +628 -117
  433. package/vue/chunks/UiContainer.js +2 -2
  434. package/vue/chunks/UiContextMenu.js +14 -10
  435. package/vue/chunks/UiCover.js +2 -2
  436. package/vue/chunks/UiDescriptionItem.js +2 -2
  437. package/vue/chunks/UiDescriptionList.js +2 -2
  438. package/vue/chunks/UiDialog.js +29 -11
  439. package/vue/chunks/UiDisclosure.js +44 -14
  440. package/vue/chunks/UiEditable.js +33 -9
  441. package/vue/chunks/UiEditorInsertTableGrid.js +98 -14
  442. package/vue/chunks/UiEditorMentionMenu.js +76 -9
  443. package/vue/chunks/UiEditorMentionMenuItem.js +2 -2
  444. package/vue/chunks/UiEditorSlashMenu.js +70 -11
  445. package/vue/chunks/UiEditorSlashMenuGroup.js +2 -2
  446. package/vue/chunks/UiEditorSlashMenuItem.js +2 -2
  447. package/vue/chunks/UiEditorTableContextMenu.js +120 -2
  448. package/vue/chunks/UiEditorTableOverlay.js +306 -12
  449. package/vue/chunks/UiEditorTableToolbar.js +215 -3
  450. package/vue/chunks/UiEditorToolbar.js +8 -8
  451. package/vue/chunks/UiFloatingActionButton.js +2 -2
  452. package/vue/chunks/UiFormField.js +2 -2
  453. package/vue/chunks/UiGrid.js +2 -2
  454. package/vue/chunks/UiIcon.js +2 -2
  455. package/vue/chunks/UiIconButton.js +2 -2
  456. package/vue/chunks/UiImage.js +12 -12
  457. package/vue/chunks/UiInput.js +34 -4
  458. package/vue/chunks/UiInputGroup.js +2 -2
  459. package/vue/chunks/UiList.js +2 -2
  460. package/vue/chunks/UiListItem.js +2 -2
  461. package/vue/chunks/UiListbox.js +96 -12
  462. package/vue/chunks/UiMenu.js +6 -2
  463. package/vue/chunks/UiMenuGroup.js +2 -2
  464. package/vue/chunks/UiMenuItem.js +15 -3
  465. package/vue/chunks/UiMeter.js +2 -2
  466. package/vue/chunks/UiNavItem.js +2 -2
  467. package/vue/chunks/UiPageHeader.js +2 -2
  468. package/vue/chunks/UiPopover.js +6 -2
  469. package/vue/chunks/UiRadio.js +25 -12
  470. package/vue/chunks/UiRadioGroup.js +6 -2
  471. package/vue/chunks/UiReel.js +2 -2
  472. package/vue/chunks/UiScrollArea.js +8 -8
  473. package/vue/chunks/UiSearchResultRow.js +2 -2
  474. package/vue/chunks/UiSearchShell.js +9 -4
  475. package/vue/chunks/UiSection.js +2 -2
  476. package/vue/chunks/UiSelect.js +5 -3
  477. package/vue/chunks/UiSeparator.js +2 -2
  478. package/vue/chunks/UiSidebar.js +28 -5
  479. package/vue/chunks/UiSpinner.js +2 -2
  480. package/vue/chunks/UiStack.js +2 -2
  481. package/vue/chunks/UiStatusMessage.js +2 -2
  482. package/vue/chunks/UiSwitch.js +25 -12
  483. package/vue/chunks/UiSwitcher.js +6 -2
  484. package/vue/chunks/UiTable.js +2 -2
  485. package/vue/chunks/UiTabs.js +39 -10
  486. package/vue/chunks/UiText.js +2 -2
  487. package/vue/chunks/UiTextarea.js +3 -2
  488. package/vue/chunks/UiToast.js +8 -8
  489. package/vue/chunks/UiToastRegion.js +86 -20
  490. package/vue/chunks/UiTooltip.js +15 -3
  491. package/vue/chunks/UiTopBar.js +1 -1
  492. package/vue/chunks/UiTree.js +2 -2
  493. package/vue/chunks/UiTreeItem.js +84 -51
  494. package/vue/chunks/control.js +9 -2
  495. package/vue/chunks/host.js +203 -29
  496. package/vue/chunks/props.js +43 -7
  497. package/vue/components.css +1345 -1345
  498. package/vue/editor/index.js +12 -5
  499. package/vue/host.ts +286 -42
@@ -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 UiButton from './UiButton.vue'
8
20
 
@@ -305,14 +317,14 @@ const emit = defineEmits<{
305
317
  }>()
306
318
 
307
319
  const root = ref<HTMLElement | null>(null)
308
- const rowElement = useTemplateRef<HTMLElement>('row')
309
- const dragHandleElement = useTemplateRef<HTMLElement>('dragHandle')
310
- const disclosureElement = useTemplateRef<HTMLElement>('disclosure')
311
- const leadingElement = useTemplateRef<HTMLElement>('leading')
312
- const labelElement = useTemplateRef<HTMLElement>('label')
313
- const labelTextElement = useTemplateRef<HTMLElement>('labelText')
314
- const actionsElement = useTemplateRef<HTMLElement>('actions')
315
- const childrenElement = useTemplateRef<HTMLElement>('children')
320
+ const rowElement = useTemplateRef<HTMLElement>('rowElement')
321
+ const dragHandleElement = useTemplateRef<HTMLElement>('dragHandleElement')
322
+ const disclosureElement = useTemplateRef<HTMLElement>('disclosureElement')
323
+ const leadingElement = useTemplateRef<HTMLElement>('leadingElement')
324
+ const labelElement = useTemplateRef<HTMLElement>('labelElement')
325
+ const labelTextElement = useTemplateRef<HTMLElement>('labelTextElement')
326
+ const actionsElement = useTemplateRef<HTMLElement>('actionsElement')
327
+ const childrenElement = useTemplateRef<HTMLElement>('childrenElement')
316
328
  const internalExpanded = ref(false)
317
329
  const structuralLevel = ref(1)
318
330
  const tabStop = ref(false)
@@ -320,14 +332,24 @@ const isContainer = ref(false)
320
332
  const moving = ref(false)
321
333
  let guardedPrevious: any
322
334
  const guarded = computed(() => {
323
- if (!(structuralLevel.value == null || Number.isInteger(structuralLevel.value))) {
324
- return guardedPrevious
325
- }
335
+ if (
336
+ !(htmlNextAuthoredCheck2(
337
+ structuralLevel.value == null || Number.isInteger(structuralLevel.value),
338
+ 'structuralLevel:structuralLevel',
339
+ './components/ui-tree-item/ui-tree-item.html: HR007: Reference structuralLevel does not satisfy its declared type.',
340
+ ))
341
+ ) return guardedPrevious
326
342
  return guardedPrevious = structuralLevel.value
327
343
  })
328
344
  let guardedBindingPrevious: any = null
329
345
  const guardedBinding = computed(() => {
330
- if (!(moving.value == null || typeof moving.value === 'boolean')) return guardedBindingPrevious
346
+ if (
347
+ !(htmlNextAuthoredCheck2(
348
+ moving.value == null || typeof moving.value === 'boolean',
349
+ '{ true: concat(\'Cancel moving \', label), false: concat(\'Drag \', label, \' to reorder\') }[concat(moving)]:moving',
350
+ './components/ui-tree-item/ui-tree-item.html: HR007: Reference moving does not satisfy its declared type.',
351
+ ))
352
+ ) return guardedBindingPrevious
331
353
  const candidate: any = ((objectValue: any, indexValue: any) =>
332
354
  objectValue === Symbol.for('html-next.invalid-result')
333
355
  || indexValue === Symbol.for('html-next.invalid-result')
@@ -406,9 +428,13 @@ const guardedBinding = computed(() => {
406
428
  })
407
429
  let guardedBinding2Previous: any
408
430
  const guardedBinding2 = computed(() => {
409
- if (!(isContainer.value == null || typeof isContainer.value === 'boolean')) {
410
- return guardedBinding2Previous
411
- }
431
+ if (
432
+ !(htmlNextAuthoredCheck2(
433
+ isContainer.value == null || typeof isContainer.value === 'boolean',
434
+ 'not isContainer:isContainer',
435
+ './components/ui-tree-item/ui-tree-item.html: HR007: Reference isContainer does not satisfy its declared type.',
436
+ ))
437
+ ) return guardedBinding2Previous
412
438
  return guardedBinding2Previous = !isContainer.value
413
439
  })
414
440
  let guardedBinding3Previous: any = null
@@ -420,8 +446,16 @@ const guardedBinding3 = computed(() => {
420
446
  let guardedBinding4Previous: any
421
447
  const guardedBinding4 = computed(() => {
422
448
  if (
423
- !((internalExpanded.value == null || typeof internalExpanded.value === 'boolean')
424
- && (isContainer.value == null || typeof isContainer.value === 'boolean'))
449
+ !(htmlNextAuthoredCheck2(
450
+ internalExpanded.value == null || typeof internalExpanded.value === 'boolean',
451
+ 'not (isContainer and internalExpanded):internalExpanded',
452
+ './components/ui-tree-item/ui-tree-item.html: HR007: Reference internalExpanded does not satisfy its declared type.',
453
+ )
454
+ && htmlNextAuthoredCheck2(
455
+ isContainer.value == null || typeof isContainer.value === 'boolean',
456
+ 'not (isContainer and internalExpanded):isContainer',
457
+ './components/ui-tree-item/ui-tree-item.html: HR007: Reference isContainer does not satisfy its declared type.',
458
+ ))
425
459
  ) return guardedBinding4Previous
426
460
  return guardedBinding4Previous = !(isContainer.value && internalExpanded.value)
427
461
  })
@@ -456,14 +490,15 @@ const hostState = computed(() =>
456
490
  ].filter(Boolean).join(' ')
457
491
  )
458
492
 
459
- const isExpandDetail = (detail: unknown): boolean =>
460
- detail !== null && typeof detail === 'object' && !Array.isArray(detail)
493
+ const isExpandDetail = (
494
+ detail: unknown,
495
+ ): boolean => (detail !== null && typeof detail === 'object' && !Array.isArray(detail)
461
496
  && typeof (detail as Record<string, unknown>)['id'] === 'string'
462
497
  && typeof (detail as Record<string, unknown>)['expanded'] === 'boolean'
463
498
  && ((detail as Record<string, unknown>)['trigger'] === 'keyboard'
464
499
  || (detail as Record<string, unknown>)['trigger'] === 'pointer'
465
500
  || (detail as Record<string, unknown>)['trigger'] === 'programmatic')
466
- && Object.keys(detail as object).every((key) => ['id', 'expanded', 'trigger'].includes(key))
501
+ && Object.keys(detail as object).every((key) => ['id', 'expanded', 'trigger'].includes(key)))
467
502
  const dispatch = createDispatch(root, emit as (name: string, detail: unknown) => void, {
468
503
  declared: { expand: { bubbles: false, composed: true, cancelable: false } },
469
504
  checks: {
@@ -475,6 +510,18 @@ const dispatch = createDispatch(root, emit as (name: string, detail: unknown) =>
475
510
  useComponentHost(() => import('../components/ui-tree-item/ui-tree-item.js'), {
476
511
  root,
477
512
  dispatch,
513
+ acceptsState: (name: string, keys: readonly string[], value: unknown) =>
514
+ acceptsControllerWrite(
515
+ value,
516
+ ({
517
+ internalExpanded: { kind: 'terminal', name: 'boolean' },
518
+ structuralLevel: { kind: 'terminal', name: 'integer' },
519
+ tabStop: { kind: 'terminal', name: 'boolean' },
520
+ isContainer: { kind: 'terminal', name: 'boolean' },
521
+ moving: { kind: 'terminal', name: 'boolean' },
522
+ } as Record<string, any>)[name],
523
+ keys,
524
+ ),
478
525
  controllerSource: {
479
526
  specifier: '../components/ui-tree-item/ui-tree-item.js',
480
527
  definition: './components/ui-tree-item/ui-tree-item.html',
@@ -577,14 +624,14 @@ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
577
624
  :data-ui-tree-item-state="hostState || undefined"
578
625
  ref="root"
579
626
  >
580
- <div class="row" ref="row">
627
+ <div class="row" ref="rowElement">
581
628
  <button
582
629
  v-if="checkedProps.sortable && !checkedProps.disabled"
583
630
  class="drag-handle"
584
631
  type="button"
585
632
  draggable="true"
586
633
  :aria-label="guardedBinding"
587
- ref="dragHandle"
634
+ ref="dragHandleElement"
588
635
  >
589
636
  <svg
590
637
  aria-hidden="true"
@@ -609,7 +656,7 @@ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
609
656
  type="button"
610
657
  :disabled="checkedProps.disabled ?? undefined"
611
658
  :hidden="guardedBinding2"
612
- ref="disclosure"
659
+ ref="disclosureElement"
613
660
  >
614
661
  <span class="disclosure-icon" aria-hidden="true"></span>
615
662
  </button>
@@ -621,11 +668,11 @@ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
621
668
  :disabled="checkedProps.disabled ?? undefined"
622
669
  :aria-label="guardedBinding3"
623
670
  ></label>
624
- <span class="leading" ref="leading"><slot name="leading" /></span>
625
- <span class="label" ref="label"><span class="label-text" ref="labelText"><slot name="label">{{
626
- checkedProps.label
627
- }}</slot></span></span>
628
- <span class="actions" ref="actions"><UiButton
671
+ <span class="leading" ref="leadingElement"><slot name="leading" /></span>
672
+ <span class="label" ref="labelElement"><span class="label-text" ref="labelTextElement"><slot
673
+ name="label"
674
+ >{{ checkedProps.label }}</slot></span></span>
675
+ <span class="actions" ref="actionsElement"><UiButton
629
676
  v-if="moving"
630
677
  data-tree-cancel-move=""
631
678
  variant="ghost"
@@ -636,7 +683,9 @@ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
636
683
  <span><slot name="actions" /></span></span>
637
684
  <span class="drop-indicator row-drop-indicator" aria-hidden="true"></span>
638
685
  </div>
639
- <div class="children" role="group" :hidden="guardedBinding4" ref="children"><slot /></div>
686
+ <div class="children" role="group" :hidden="guardedBinding4" ref="childrenElement">
687
+ <slot />
688
+ </div>
640
689
  <span class="drop-indicator subtree-drop-indicator" aria-hidden="true"></span>
641
690
  </div>
642
691
  </template>
@@ -32,6 +32,6 @@ var UiActionBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
32
32
  ])], 16);
33
33
  };
34
34
  }
35
- }), [["__scopeId", "data-v-e0615598"]]);
35
+ }), [["__scopeId", "data-v-47966a1c"]]);
36
36
  //#endregion
37
37
  export { UiActionBar_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { r as useComponentHost, t as createDispatch } from "./host.js";
3
- import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
3
+ import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
4
4
  import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiAffordanceScope.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
@@ -100,6 +100,10 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
100
100
  useComponentHost(() => import("@threadlabs/looma/components/ui-affordance-scope/ui-affordance-scope.js"), {
101
101
  root,
102
102
  dispatch,
103
+ acceptsState: (name, keys, value) => acceptsControllerWrite(value, { engaged: {
104
+ kind: "terminal",
105
+ name: "boolean"
106
+ } }[name], keys),
103
107
  controllerSource: {
104
108
  specifier: "../components/ui-affordance-scope/ui-affordance-scope.js",
105
109
  definition: "./components/ui-affordance-scope/ui-affordance-scope.html"
@@ -130,6 +134,6 @@ var UiAffordanceScope_default = /*#__PURE__*/ _plugin_vue_export_helper_default(
130
134
  }]]);
131
135
  };
132
136
  }
133
- }), [["__scopeId", "data-v-c541c0bf"]]);
137
+ }), [["__scopeId", "data-v-4483d92e"]]);
134
138
  //#endregion
135
139
  export { UiAffordanceScope_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { r as useComponentHost, t as createDispatch } from "./host.js";
3
- import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
3
+ import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
4
4
  import { t as UiIcon_default } from "./UiIcon.js";
5
5
  import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
6
6
  //#region .build/vue/UiAvatar.vue?vue&type=script&setup=true&lang.ts
@@ -19,6 +19,14 @@ var _hoisted_2 = ["src", "hidden"];
19
19
  var _hoisted_3 = ["aria-hidden", "hidden"];
20
20
  var _hoisted_4 = ["hidden"];
21
21
  var _hoisted_5 = ["hidden"];
22
+ var htmlNextAuthoredCheck2Reported = /* @__PURE__ */ new Set();
23
+ function htmlNextAuthoredCheck2(accepted, location, message) {
24
+ if (!accepted && !htmlNextAuthoredCheck2Reported.has(location)) {
25
+ htmlNextAuthoredCheck2Reported.add(location);
26
+ console.warn(message);
27
+ }
28
+ return accepted;
29
+ }
22
30
  //#endregion
23
31
  //#region .build/vue/UiAvatar.vue
24
32
  var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -209,39 +217,39 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
209
217
  }
210
218
  const hydrationInstance = getCurrentInstance();
211
219
  const root = ref(null);
212
- const imageElement = useTemplateRef("image");
220
+ const imageElement = useTemplateRef("imageElement");
213
221
  const hasImage = ref(false);
214
222
  const hasAuthoredImage = ref(false);
215
223
  const initials = ref("?");
216
224
  const showGlyph = ref(false);
217
225
  let guardedPrevious;
218
226
  const guarded = computed(() => {
219
- if (!((hasAuthoredImage.value == null || typeof hasAuthoredImage.value === "boolean") && (hasImage.value == null || typeof hasImage.value === "boolean"))) return guardedPrevious;
227
+ if (!(htmlNextAuthoredCheck2(hasAuthoredImage.value == null || typeof hasAuthoredImage.value === "boolean", "hasAuthoredImage or not hasImage:hasAuthoredImage", "./components/ui-avatar/ui-avatar.html: HR007: Reference hasAuthoredImage does not satisfy its declared type.") && htmlNextAuthoredCheck2(hasImage.value == null || typeof hasImage.value === "boolean", "hasAuthoredImage or not hasImage:hasImage", "./components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type."))) return guardedPrevious;
220
228
  return guardedPrevious = hasAuthoredImage.value || !hasImage.value;
221
229
  });
222
230
  let guardedBindingPrevious;
223
231
  const guardedBinding = computed(() => {
224
- if (!(hasImage.value == null || typeof hasImage.value === "boolean")) return guardedBindingPrevious;
232
+ if (!htmlNextAuthoredCheck2(hasImage.value == null || typeof hasImage.value === "boolean", "hasImage:hasImage", "./components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type.")) return guardedBindingPrevious;
225
233
  return guardedBindingPrevious = hasImage.value;
226
234
  });
227
235
  let guardedBinding2Previous;
228
236
  const guardedBinding2 = computed(() => {
229
- if (!(hasImage.value == null || typeof hasImage.value === "boolean")) return guardedBinding2Previous;
237
+ if (!htmlNextAuthoredCheck2(hasImage.value == null || typeof hasImage.value === "boolean", "hasImage:hasImage", "./components/ui-avatar/ui-avatar.html: HR007: Reference hasImage does not satisfy its declared type.")) return guardedBinding2Previous;
230
238
  return guardedBinding2Previous = hasImage.value;
231
239
  });
232
240
  let guardedBinding3Previous;
233
241
  const guardedBinding3 = computed(() => {
234
- if (!(showGlyph.value == null || typeof showGlyph.value === "boolean")) return guardedBinding3Previous;
242
+ if (!htmlNextAuthoredCheck2(showGlyph.value == null || typeof showGlyph.value === "boolean", "showGlyph:showGlyph", "./components/ui-avatar/ui-avatar.html: HR007: Reference showGlyph does not satisfy its declared type.")) return guardedBinding3Previous;
235
243
  return guardedBinding3Previous = showGlyph.value;
236
244
  });
237
245
  let guardedBinding4Previous;
238
246
  const guardedBinding4 = computed(() => {
239
- if (!(initials.value == null || typeof initials.value === "string")) return guardedBinding4Previous;
247
+ if (!htmlNextAuthoredCheck2(initials.value == null || typeof initials.value === "string", "$initials:initials", "./components/ui-avatar/ui-avatar.html: HR007: Reference initials does not satisfy its declared type.")) return guardedBinding4Previous;
240
248
  return guardedBinding4Previous = initials.value;
241
249
  });
242
250
  let guardedBinding5Previous;
243
251
  const guardedBinding5 = computed(() => {
244
- if (!(showGlyph.value == null || typeof showGlyph.value === "boolean")) return guardedBinding5Previous;
252
+ if (!htmlNextAuthoredCheck2(showGlyph.value == null || typeof showGlyph.value === "boolean", "not showGlyph:showGlyph", "./components/ui-avatar/ui-avatar.html: HR007: Reference showGlyph does not satisfy its declared type.")) return guardedBinding5Previous;
245
253
  return guardedBinding5Previous = !showGlyph.value;
246
254
  });
247
255
  provide("html-next:ui-avatar:hasImage", hasImage);
@@ -269,6 +277,24 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
269
277
  useComponentHost(() => import("@threadlabs/looma/components/ui-avatar/ui-avatar.js"), {
270
278
  root,
271
279
  dispatch,
280
+ acceptsState: (name, keys, value) => acceptsControllerWrite(value, {
281
+ hasImage: {
282
+ kind: "terminal",
283
+ name: "boolean"
284
+ },
285
+ hasAuthoredImage: {
286
+ kind: "terminal",
287
+ name: "boolean"
288
+ },
289
+ initials: {
290
+ kind: "terminal",
291
+ name: "string"
292
+ },
293
+ showGlyph: {
294
+ kind: "terminal",
295
+ name: "boolean"
296
+ }
297
+ }[name], keys),
272
298
  controllerSource: {
273
299
  specifier: "../components/ui-avatar/ui-avatar.js",
274
300
  definition: "./components/ui-avatar/ui-avatar.html"
@@ -322,7 +348,8 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
322
348
  "aria-hidden": "true",
323
349
  src: checkedProps.value.src ?? void 0,
324
350
  hidden: guarded.value,
325
- ref: "image"
351
+ ref_key: "imageElement",
352
+ ref: imageElement
326
353
  }, null, 8, _hoisted_2),
327
354
  createElementVNode("span", {
328
355
  class: "fallback",
@@ -335,6 +362,6 @@ var UiAvatar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
335
362
  }]]);
336
363
  };
337
364
  }
338
- }), [["__scopeId", "data-v-5b9584a4"]]);
365
+ }), [["__scopeId", "data-v-b539c7e9"]]);
339
366
  //#endregion
340
367
  export { UiAvatar_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { r as useComponentHost, t as createDispatch } from "./host.js";
3
- import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
3
+ import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
4
4
  import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiAvatarGroup.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
@@ -13,6 +13,14 @@ var _hoisted_1 = [
13
13
  "data-ui-avatar-group-state"
14
14
  ];
15
15
  var _hoisted_2 = ["hidden", "aria-label"];
16
+ var htmlNextAuthoredCheck2Reported = /* @__PURE__ */ new Set();
17
+ function htmlNextAuthoredCheck2(accepted, location, message) {
18
+ if (!accepted && !htmlNextAuthoredCheck2Reported.has(location)) {
19
+ htmlNextAuthoredCheck2Reported.add(location);
20
+ console.warn(message);
21
+ }
22
+ return accepted;
23
+ }
16
24
  //#endregion
17
25
  //#region .build/vue/UiAvatarGroup.vue
18
26
  var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -145,22 +153,22 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
145
153
  }
146
154
  const hydrationInstance = getCurrentInstance();
147
155
  const root = ref(null);
148
- const overflowElement = useTemplateRef("overflow");
156
+ const overflowElement = useTemplateRef("overflowElement");
149
157
  const overflowCount = ref(0);
150
158
  const overflowAnnouncement = ref("");
151
159
  let guardedPrevious;
152
160
  const guarded = computed(() => {
153
- if (!(overflowCount.value == null || Number.isInteger(overflowCount.value))) return guardedPrevious;
161
+ if (!htmlNextAuthoredCheck2(overflowCount.value == null || Number.isInteger(overflowCount.value), "not overflowCount:overflowCount", "./components/ui-avatar-group/ui-avatar-group.html: HR007: Reference overflowCount does not satisfy its declared type.")) return guardedPrevious;
154
162
  return guardedPrevious = !overflowCount.value;
155
163
  });
156
164
  let guardedBindingPrevious;
157
165
  const guardedBinding = computed(() => {
158
- if (!(overflowAnnouncement.value == null || typeof overflowAnnouncement.value === "string")) return guardedBindingPrevious;
166
+ if (!htmlNextAuthoredCheck2(overflowAnnouncement.value == null || typeof overflowAnnouncement.value === "string", "overflowAnnouncement:overflowAnnouncement", "./components/ui-avatar-group/ui-avatar-group.html: HR007: Reference overflowAnnouncement does not satisfy its declared type.")) return guardedBindingPrevious;
159
167
  return guardedBindingPrevious = overflowAnnouncement.value;
160
168
  });
161
169
  let guardedBinding2Previous;
162
170
  const guardedBinding2 = computed(() => {
163
- if (!(overflowCount.value == null || Number.isInteger(overflowCount.value))) return guardedBinding2Previous;
171
+ if (!htmlNextAuthoredCheck2(overflowCount.value == null || Number.isInteger(overflowCount.value), "$overflowCount:overflowCount", "./components/ui-avatar-group/ui-avatar-group.html: HR007: Reference overflowCount does not satisfy its declared type.")) return guardedBinding2Previous;
164
172
  return guardedBinding2Previous = overflowCount.value;
165
173
  });
166
174
  provide("html-next:ui-avatar-group:overflowCount", overflowCount);
@@ -179,6 +187,16 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
179
187
  useComponentHost(() => import("@threadlabs/looma/components/ui-avatar-group/ui-avatar-group.js"), {
180
188
  root,
181
189
  dispatch,
190
+ acceptsState: (name, keys, value) => acceptsControllerWrite(value, {
191
+ overflowCount: {
192
+ kind: "terminal",
193
+ name: "integer"
194
+ },
195
+ overflowAnnouncement: {
196
+ kind: "terminal",
197
+ name: "string"
198
+ }
199
+ }[name], keys),
182
200
  controllerSource: {
183
201
  specifier: "../components/ui-avatar-group/ui-avatar-group.js",
184
202
  definition: "./components/ui-avatar-group/ui-avatar-group.html"
@@ -225,13 +243,14 @@ var UiAvatarGroup_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
225
243
  role: "img",
226
244
  hidden: guarded.value,
227
245
  "aria-label": guardedBinding.value,
228
- ref: "overflow"
246
+ ref_key: "overflowElement",
247
+ ref: overflowElement
229
248
  }, toDisplayString("+" + (guardedBinding2.value ?? "")), 9, _hoisted_2)], 16, _hoisted_1)), [[unref(vPropValidity), {
230
249
  contract: propValidityContract,
231
250
  values: { ...props }
232
251
  }]]);
233
252
  };
234
253
  }
235
- }), [["__scopeId", "data-v-85029628"]]);
254
+ }), [["__scopeId", "data-v-7e72d264"]]);
236
255
  //#endregion
237
256
  export { UiAvatarGroup_default as t };
@@ -1,5 +1,5 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { i as vPropValidity, t as checkedProp } from "./props.js";
2
+ import { a as vPropValidity, n as checkedProp } from "./props.js";
3
3
  import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiBadge.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -169,6 +169,6 @@ var UiBadge_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE
169
169
  }]]);
170
170
  };
171
171
  }
172
- }), [["__scopeId", "data-v-9da6c6bc"]]);
172
+ }), [["__scopeId", "data-v-b1009c5d"]]);
173
173
  //#endregion
174
174
  export { UiBadge_default as t };
@@ -1,5 +1,5 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { i as vPropValidity, t as checkedProp } from "./props.js";
2
+ import { a as vPropValidity, n as checkedProp } from "./props.js";
3
3
  import { t as UiIcon_default } from "./UiIcon.js";
4
4
  import { computed, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiBreadcrumbItem.vue?vue&type=script&setup=true&lang.ts
@@ -108,6 +108,6 @@ var UiBreadcrumbItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/
108
108
  }]]);
109
109
  };
110
110
  }
111
- }), [["__scopeId", "data-v-a24a4f55"]]);
111
+ }), [["__scopeId", "data-v-fc0641df"]]);
112
112
  //#endregion
113
113
  export { UiBreadcrumbItem_default as t };
@@ -1,5 +1,5 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { i as vPropValidity, t as checkedProp } from "./props.js";
2
+ import { a as vPropValidity, n as checkedProp } from "./props.js";
3
3
  import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiBreadcrumbs.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = ["aria-label", "data-label"];
@@ -64,6 +64,6 @@ var UiBreadcrumbs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
64
64
  }]]);
65
65
  };
66
66
  }
67
- }), [["__scopeId", "data-v-0cddfec8"]]);
67
+ }), [["__scopeId", "data-v-e86cf7cf"]]);
68
68
  //#endregion
69
69
  export { UiBreadcrumbs_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { n as preserveRootFocus, r as useComponentHost, t as createDispatch } from "./host.js";
3
- import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
3
+ import { a as vPropValidity, n as checkedProp, r as propValidityState } from "./props.js";
4
4
  import { t as UiIcon_default } from "./UiIcon.js";
5
5
  import { t as UiSpinner_default } from "./UiSpinner.js";
6
6
  import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
@@ -755,6 +755,6 @@ var UiButton_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PUR
755
755
  }]]);
756
756
  };
757
757
  }
758
- }), [["__scopeId", "data-v-ecae2439"]]);
758
+ }), [["__scopeId", "data-v-5c174bca"]]);
759
759
  //#endregion
760
760
  export { UiButton_default as t };
@@ -1,5 +1,5 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { i as vPropValidity, t as checkedProp } from "./props.js";
2
+ import { a as vPropValidity, n as checkedProp } from "./props.js";
3
3
  import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiCallout.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = ["data-tone", "data-ui-callout-state"];
@@ -160,6 +160,6 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
160
160
  }]]);
161
161
  };
162
162
  }
163
- }), [["__scopeId", "data-v-3384cc00"]]);
163
+ }), [["__scopeId", "data-v-317e6e6e"]]);
164
164
  //#endregion
165
165
  export { UiCallout_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { n as preserveRootFocus } from "./host.js";
3
- import { i as vPropValidity, t as checkedProp } from "./props.js";
3
+ import { a as vPropValidity, n as checkedProp } from "./props.js";
4
4
  import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiCard.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = [
@@ -267,6 +267,6 @@ var UiCard_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
267
267
  }]]);
268
268
  };
269
269
  }
270
- }), [["__scopeId", "data-v-397f2e1f"]]);
270
+ }), [["__scopeId", "data-v-fa2ae386"]]);
271
271
  //#endregion
272
272
  export { UiCard_default as t };
@@ -1,6 +1,6 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
2
  import { r as useComponentHost, t as createDispatch } from "./host.js";
3
- import { i as vPropValidity, n as propValidityState, t as checkedProp } from "./props.js";
3
+ import { a as vPropValidity, n as checkedProp, r as propValidityState, t as acceptsControllerWrite } from "./props.js";
4
4
  import { r as vBindControl } from "./control.js";
5
5
  import { computed, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
6
6
  //#region .build/vue/UiCheckbox.vue?vue&type=script&setup=true&lang.ts
@@ -25,11 +25,14 @@ var _hoisted_2 = [
25
25
  ];
26
26
  var _hoisted_3 = { class: "text" };
27
27
  var _hoisted_4 = { class: "label" };
28
- var _hoisted_5 = {
29
- class: "description",
30
- "aria-hidden": "true",
31
- ref: "description"
32
- };
28
+ var htmlNextAuthoredCheck2Reported = /* @__PURE__ */ new Set();
29
+ function htmlNextAuthoredCheck2(accepted, location, message) {
30
+ if (!accepted && !htmlNextAuthoredCheck2Reported.has(location)) {
31
+ htmlNextAuthoredCheck2Reported.add(location);
32
+ console.warn(message);
33
+ }
34
+ return accepted;
35
+ }
33
36
  //#endregion
34
37
  //#region .build/vue/UiCheckbox.vue
35
38
  var UiCheckbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -226,12 +229,12 @@ var UiCheckbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
226
229
  const hydrationInstance = getCurrentInstance();
227
230
  const emit = __emit;
228
231
  const root = ref(null);
229
- const inputElement = useTemplateRef("input");
230
- const descriptionElement = useTemplateRef("description");
232
+ const inputElement = useTemplateRef("inputElement");
233
+ const descriptionElement = useTemplateRef("descriptionElement");
231
234
  const internalChecked = ref(false);
232
235
  let guardedPrevious;
233
236
  computed(() => {
234
- if (!(internalChecked.value == null || typeof internalChecked.value === "boolean")) return guardedPrevious;
237
+ if (!htmlNextAuthoredCheck2(internalChecked.value == null || typeof internalChecked.value === "boolean", "internalChecked:internalChecked", "./components/ui-checkbox/ui-checkbox.html: HR007: Reference internalChecked does not satisfy its declared type.")) return guardedPrevious;
235
238
  return guardedPrevious = internalChecked.value;
236
239
  });
237
240
  provide("html-next:ui-checkbox:internalChecked", internalChecked);
@@ -262,6 +265,10 @@ var UiCheckbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
262
265
  useComponentHost(() => import("@threadlabs/looma/components/ui-checkbox/ui-checkbox.js"), {
263
266
  root,
264
267
  dispatch,
268
+ acceptsState: (name, keys, value) => acceptsControllerWrite(value, { internalChecked: {
269
+ kind: "terminal",
270
+ name: "boolean"
271
+ } }[name], keys),
265
272
  controllerSource: {
266
273
  specifier: "../components/ui-checkbox/ui-checkbox.js",
267
274
  definition: "./components/ui-checkbox/ui-checkbox.html"
@@ -313,19 +320,25 @@ var UiCheckbox_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
313
320
  required: checkedProps.value.required ?? void 0,
314
321
  name: checkedProps.value.name ?? void 0,
315
322
  "^value": checkedProps.value.value ?? void 0,
316
- ref: "input"
323
+ ref_key: "inputElement",
324
+ ref: inputElement
317
325
  }, null, 40, _hoisted_2), [[unref(vBindControl), {
318
326
  tag: "input",
319
327
  name: "checked",
320
328
  value: internalChecked.value,
321
329
  nativeProperty: true,
322
330
  defaultChecked: false
323
- }]]), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), createElementVNode("span", _hoisted_5, [renderSlot(_ctx.$slots, "description", {}, void 0, true)], 512)])], 16, _hoisted_1)), [[unref(vPropValidity), {
331
+ }]]), createElementVNode("span", _hoisted_3, [createElementVNode("span", _hoisted_4, [renderSlot(_ctx.$slots, "default", {}, void 0, true)]), createElementVNode("span", {
332
+ class: "description",
333
+ "aria-hidden": "true",
334
+ ref_key: "descriptionElement",
335
+ ref: descriptionElement
336
+ }, [renderSlot(_ctx.$slots, "description", {}, void 0, true)], 512)])], 16, _hoisted_1)), [[unref(vPropValidity), {
324
337
  contract: propValidityContract,
325
338
  values: { ...props }
326
339
  }]]);
327
340
  };
328
341
  }
329
- }), [["__scopeId", "data-v-158b8c9b"]]);
342
+ }), [["__scopeId", "data-v-ce204e6e"]]);
330
343
  //#endregion
331
344
  export { UiCheckbox_default as t };
@@ -1,5 +1,5 @@
1
1
  import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
- import { i as vPropValidity, t as checkedProp } from "./props.js";
2
+ import { a as vPropValidity, n as checkedProp } from "./props.js";
3
3
  import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiCluster.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -164,6 +164,6 @@ var UiCluster_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
164
164
  }]]);
165
165
  };
166
166
  }
167
- }), [["__scopeId", "data-v-dde65f80"]]);
167
+ }), [["__scopeId", "data-v-fafdad21"]]);
168
168
  //#endregion
169
169
  export { UiCluster_default as t };