@threadlabs/looma 0.28.12 → 0.28.14

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 (427) hide show
  1. package/components/ui-affordance-scope/ui-affordance-scope.html +1 -1
  2. package/components/ui-avatar/ui-avatar.html +1 -1
  3. package/components/ui-combobox/ui-combobox.html +1 -1
  4. package/components/ui-disclosure/ui-disclosure.html +4 -4
  5. package/components/ui-editable/ui-editable.html +3 -3
  6. package/components/ui-menu/ui-menu.html +1 -1
  7. package/components/ui-popover/ui-popover.html +1 -1
  8. package/components/ui-sidebar/ui-sidebar.html +4 -4
  9. package/components/ui-switcher/ui-switcher.html +1 -1
  10. package/components/ui-tree-item/ui-tree-item.html +2 -2
  11. package/dist/index.js +1 -1
  12. package/editor/formatting-selection.d.ts +49 -0
  13. package/package.json +3 -3
  14. package/styles/ui-action-bar.css +1 -1
  15. package/styles/ui-affordance-scope.css +1 -1
  16. package/styles/ui-avatar-group.css +1 -1
  17. package/styles/ui-avatar.css +1 -1
  18. package/styles/ui-badge.css +1 -1
  19. package/styles/ui-breadcrumb-item.css +1 -1
  20. package/styles/ui-breadcrumbs.css +1 -1
  21. package/styles/ui-button.css +1 -1
  22. package/styles/ui-callout.css +1 -1
  23. package/styles/ui-card.css +1 -1
  24. package/styles/ui-checkbox.css +1 -1
  25. package/styles/ui-cluster.css +1 -1
  26. package/styles/ui-combobox.css +1 -1
  27. package/styles/ui-container.css +1 -1
  28. package/styles/ui-context-menu.css +1 -1
  29. package/styles/ui-cover.css +1 -1
  30. package/styles/ui-description-item.css +1 -1
  31. package/styles/ui-description-list.css +1 -1
  32. package/styles/ui-dialog.css +1 -1
  33. package/styles/ui-disclosure.css +2 -2
  34. package/styles/ui-editable.css +1 -1
  35. package/styles/ui-editor-block-actions.css +1 -1
  36. package/styles/ui-editor-chip-editor.css +1 -1
  37. package/styles/ui-editor-code-language.css +1 -1
  38. package/styles/ui-editor-image-toolbar.css +1 -1
  39. package/styles/ui-editor-insert-table-grid.css +1 -1
  40. package/styles/ui-editor-link-card.css +1 -1
  41. package/styles/ui-editor-link-form.css +1 -1
  42. package/styles/ui-editor-mention-menu-item.css +1 -1
  43. package/styles/ui-editor-mention-menu.css +1 -1
  44. package/styles/ui-editor-slash-menu-group.css +1 -1
  45. package/styles/ui-editor-slash-menu-item.css +1 -1
  46. package/styles/ui-editor-slash-menu.css +1 -1
  47. package/styles/ui-editor-surface.css +1 -1
  48. package/styles/ui-editor-table-context-menu.css +1 -1
  49. package/styles/ui-editor-table-overlay.css +1 -1
  50. package/styles/ui-editor-table-toolbar.css +1 -1
  51. package/styles/ui-editor-toolbar.css +1 -1
  52. package/styles/ui-floating-action-button.css +1 -1
  53. package/styles/ui-form-field.css +1 -1
  54. package/styles/ui-grid.css +1 -1
  55. package/styles/ui-icon-button.css +1 -1
  56. package/styles/ui-icon.css +1 -1
  57. package/styles/ui-image.css +1 -1
  58. package/styles/ui-input-group.css +1 -1
  59. package/styles/ui-input.css +1 -1
  60. package/styles/ui-list-item.css +1 -1
  61. package/styles/ui-list.css +1 -1
  62. package/styles/ui-listbox.css +1 -1
  63. package/styles/ui-menu-group.css +1 -1
  64. package/styles/ui-menu-item.css +1 -1
  65. package/styles/ui-menu.css +2 -2
  66. package/styles/ui-meter.css +1 -1
  67. package/styles/ui-nav-item.css +1 -1
  68. package/styles/ui-page-header.css +1 -1
  69. package/styles/ui-popover.css +2 -2
  70. package/styles/ui-radio-group.css +1 -1
  71. package/styles/ui-radio.css +1 -1
  72. package/styles/ui-reel.css +1 -1
  73. package/styles/ui-scroll-area.css +1 -1
  74. package/styles/ui-search-result-row.css +1 -1
  75. package/styles/ui-search-shell.css +1 -1
  76. package/styles/ui-section.css +1 -1
  77. package/styles/ui-select.css +1 -1
  78. package/styles/ui-separator.css +1 -1
  79. package/styles/ui-sidebar.css +2 -2
  80. package/styles/ui-spinner.css +1 -1
  81. package/styles/ui-stack.css +1 -1
  82. package/styles/ui-status-message.css +1 -1
  83. package/styles/ui-swatch.css +1 -1
  84. package/styles/ui-switch.css +1 -1
  85. package/styles/ui-switcher.css +1 -1
  86. package/styles/ui-table.css +1 -1
  87. package/styles/ui-tabs.css +1 -1
  88. package/styles/ui-text.css +1 -1
  89. package/styles/ui-textarea.css +1 -1
  90. package/styles/ui-toast-region.css +1 -1
  91. package/styles/ui-toast.css +1 -1
  92. package/styles/ui-tooltip.css +1 -1
  93. package/styles/ui-top-bar.css +1 -1
  94. package/styles/ui-tree-item.css +1 -1
  95. package/styles/ui-tree.css +1 -1
  96. package/vanilla/UiActionBar.d.ts +1 -1
  97. package/vanilla/UiActionBar.js +1 -1
  98. package/vanilla/UiAffordanceScope.d.ts +1 -1
  99. package/vanilla/UiAffordanceScope.js +2 -2
  100. package/vanilla/UiAvatar.d.ts +1 -1
  101. package/vanilla/UiAvatar.js +2 -2
  102. package/vanilla/UiAvatarGroup.d.ts +1 -1
  103. package/vanilla/UiAvatarGroup.js +2 -2
  104. package/vanilla/UiBadge.d.ts +1 -1
  105. package/vanilla/UiBadge.js +2 -2
  106. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  107. package/vanilla/UiBreadcrumbItem.js +2 -2
  108. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  109. package/vanilla/UiBreadcrumbs.js +2 -2
  110. package/vanilla/UiButton.d.ts +1 -1
  111. package/vanilla/UiButton.js +3 -3
  112. package/vanilla/UiCallout.d.ts +1 -1
  113. package/vanilla/UiCallout.js +2 -2
  114. package/vanilla/UiCard.d.ts +1 -1
  115. package/vanilla/UiCard.js +3 -3
  116. package/vanilla/UiCheckbox.d.ts +1 -1
  117. package/vanilla/UiCheckbox.js +2 -2
  118. package/vanilla/UiCluster.d.ts +1 -1
  119. package/vanilla/UiCluster.js +2 -2
  120. package/vanilla/UiCombobox.d.ts +1 -1
  121. package/vanilla/UiCombobox.js +2 -2
  122. package/vanilla/UiContainer.d.ts +1 -1
  123. package/vanilla/UiContainer.js +2 -2
  124. package/vanilla/UiContextMenu.d.ts +1 -1
  125. package/vanilla/UiContextMenu.js +2 -2
  126. package/vanilla/UiCover.d.ts +1 -1
  127. package/vanilla/UiCover.js +2 -2
  128. package/vanilla/UiDescriptionItem.d.ts +1 -1
  129. package/vanilla/UiDescriptionItem.js +2 -2
  130. package/vanilla/UiDescriptionList.d.ts +1 -1
  131. package/vanilla/UiDescriptionList.js +2 -2
  132. package/vanilla/UiDialog.d.ts +1 -1
  133. package/vanilla/UiDialog.js +2 -2
  134. package/vanilla/UiDisclosure.d.ts +1 -1
  135. package/vanilla/UiDisclosure.js +2 -2
  136. package/vanilla/UiEditable.d.ts +1 -1
  137. package/vanilla/UiEditable.js +2 -2
  138. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  139. package/vanilla/UiEditorBlockActions.js +2 -2
  140. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  141. package/vanilla/UiEditorChipEditor.js +2 -2
  142. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  143. package/vanilla/UiEditorCodeLanguage.js +2 -2
  144. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  145. package/vanilla/UiEditorImageToolbar.js +2 -2
  146. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  147. package/vanilla/UiEditorInsertTableGrid.js +2 -2
  148. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  149. package/vanilla/UiEditorLinkCard.js +2 -2
  150. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  151. package/vanilla/UiEditorLinkForm.js +2 -2
  152. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  153. package/vanilla/UiEditorMentionMenu.js +2 -2
  154. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  155. package/vanilla/UiEditorMentionMenuItem.js +3 -3
  156. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  157. package/vanilla/UiEditorSlashMenu.js +2 -2
  158. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  159. package/vanilla/UiEditorSlashMenuGroup.js +2 -2
  160. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  161. package/vanilla/UiEditorSlashMenuItem.js +3 -3
  162. package/vanilla/UiEditorSurface.d.ts +1 -1
  163. package/vanilla/UiEditorSurface.js +2 -2
  164. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  165. package/vanilla/UiEditorTableContextMenu.js +2 -2
  166. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  167. package/vanilla/UiEditorTableOverlay.js +2 -2
  168. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  169. package/vanilla/UiEditorTableToolbar.js +2 -2
  170. package/vanilla/UiEditorToolbar.d.ts +1 -1
  171. package/vanilla/UiEditorToolbar.js +2 -2
  172. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  173. package/vanilla/UiFloatingActionButton.js +2 -2
  174. package/vanilla/UiFormField.d.ts +1 -1
  175. package/vanilla/UiFormField.js +2 -2
  176. package/vanilla/UiGrid.d.ts +1 -1
  177. package/vanilla/UiGrid.js +2 -2
  178. package/vanilla/UiIcon.d.ts +1 -1
  179. package/vanilla/UiIcon.js +2 -2
  180. package/vanilla/UiIconButton.d.ts +1 -1
  181. package/vanilla/UiIconButton.js +3 -3
  182. package/vanilla/UiImage.d.ts +1 -1
  183. package/vanilla/UiImage.js +2 -2
  184. package/vanilla/UiInput.d.ts +1 -1
  185. package/vanilla/UiInput.js +2 -2
  186. package/vanilla/UiInputGroup.d.ts +1 -1
  187. package/vanilla/UiInputGroup.js +2 -2
  188. package/vanilla/UiList.d.ts +1 -1
  189. package/vanilla/UiList.js +3 -3
  190. package/vanilla/UiListItem.d.ts +1 -1
  191. package/vanilla/UiListItem.js +2 -2
  192. package/vanilla/UiListbox.d.ts +1 -1
  193. package/vanilla/UiListbox.js +2 -2
  194. package/vanilla/UiMenu.d.ts +1 -1
  195. package/vanilla/UiMenu.js +2 -2
  196. package/vanilla/UiMenuGroup.d.ts +1 -1
  197. package/vanilla/UiMenuGroup.js +2 -2
  198. package/vanilla/UiMenuItem.d.ts +1 -1
  199. package/vanilla/UiMenuItem.js +4 -4
  200. package/vanilla/UiMeter.d.ts +1 -1
  201. package/vanilla/UiMeter.js +2 -2
  202. package/vanilla/UiNavItem.d.ts +1 -1
  203. package/vanilla/UiNavItem.js +3 -3
  204. package/vanilla/UiPageHeader.d.ts +1 -1
  205. package/vanilla/UiPageHeader.js +2 -2
  206. package/vanilla/UiPopover.d.ts +1 -1
  207. package/vanilla/UiPopover.js +2 -2
  208. package/vanilla/UiRadio.d.ts +1 -1
  209. package/vanilla/UiRadio.js +2 -2
  210. package/vanilla/UiRadioGroup.d.ts +1 -1
  211. package/vanilla/UiRadioGroup.js +2 -2
  212. package/vanilla/UiReel.d.ts +1 -1
  213. package/vanilla/UiReel.js +2 -2
  214. package/vanilla/UiScrollArea.d.ts +1 -1
  215. package/vanilla/UiScrollArea.js +2 -2
  216. package/vanilla/UiSearchResultRow.d.ts +1 -1
  217. package/vanilla/UiSearchResultRow.js +2 -2
  218. package/vanilla/UiSearchShell.d.ts +1 -1
  219. package/vanilla/UiSearchShell.js +2 -2
  220. package/vanilla/UiSection.d.ts +1 -1
  221. package/vanilla/UiSection.js +2 -2
  222. package/vanilla/UiSelect.d.ts +1 -1
  223. package/vanilla/UiSelect.js +2 -2
  224. package/vanilla/UiSeparator.d.ts +1 -1
  225. package/vanilla/UiSeparator.js +2 -2
  226. package/vanilla/UiSidebar.d.ts +1 -1
  227. package/vanilla/UiSidebar.js +2 -2
  228. package/vanilla/UiSpinner.d.ts +1 -1
  229. package/vanilla/UiSpinner.js +2 -2
  230. package/vanilla/UiStack.d.ts +1 -1
  231. package/vanilla/UiStack.js +2 -2
  232. package/vanilla/UiStatusMessage.d.ts +1 -1
  233. package/vanilla/UiStatusMessage.js +2 -2
  234. package/vanilla/UiSwatch.d.ts +1 -1
  235. package/vanilla/UiSwatch.js +2 -2
  236. package/vanilla/UiSwitch.d.ts +1 -1
  237. package/vanilla/UiSwitch.js +2 -2
  238. package/vanilla/UiSwitcher.d.ts +1 -1
  239. package/vanilla/UiSwitcher.js +2 -2
  240. package/vanilla/UiTable.d.ts +1 -1
  241. package/vanilla/UiTable.js +2 -2
  242. package/vanilla/UiTabs.d.ts +1 -1
  243. package/vanilla/UiTabs.js +2 -2
  244. package/vanilla/UiText.d.ts +1 -1
  245. package/vanilla/UiText.js +3 -3
  246. package/vanilla/UiTextarea.d.ts +1 -1
  247. package/vanilla/UiTextarea.js +2 -2
  248. package/vanilla/UiToast.d.ts +1 -1
  249. package/vanilla/UiToast.js +2 -2
  250. package/vanilla/UiToastRegion.d.ts +1 -1
  251. package/vanilla/UiToastRegion.js +2 -2
  252. package/vanilla/UiTooltip.d.ts +1 -1
  253. package/vanilla/UiTooltip.js +2 -2
  254. package/vanilla/UiTopBar.d.ts +1 -1
  255. package/vanilla/UiTopBar.js +1 -1
  256. package/vanilla/UiTree.d.ts +1 -1
  257. package/vanilla/UiTree.js +2 -2
  258. package/vanilla/UiTreeItem.d.ts +1 -1
  259. package/vanilla/UiTreeItem.js +3 -3
  260. package/vue/UiActionBar.vue +23 -15
  261. package/vue/UiAffordanceScope.vue +11 -9
  262. package/vue/UiAvatar.vue +34 -27
  263. package/vue/UiAvatarGroup.vue +22 -17
  264. package/vue/UiBadge.vue +78 -69
  265. package/vue/UiBreadcrumbItem.vue +17 -14
  266. package/vue/UiBreadcrumbs.vue +9 -7
  267. package/vue/UiButton.vue +150 -138
  268. package/vue/UiCallout.vue +68 -43
  269. package/vue/UiCard.vue +52 -44
  270. package/vue/UiCheckbox.vue +48 -40
  271. package/vue/UiCluster.vue +35 -33
  272. package/vue/UiCombobox.vue +158 -107
  273. package/vue/UiContainer.vue +16 -14
  274. package/vue/UiContextMenu.vue +24 -13
  275. package/vue/UiCover.vue +10 -8
  276. package/vue/UiDescriptionItem.vue +11 -9
  277. package/vue/UiDescriptionList.vue +20 -18
  278. package/vue/UiDialog.vue +41 -37
  279. package/vue/UiDisclosure.vue +65 -51
  280. package/vue/UiEditable.vue +34 -33
  281. package/vue/UiEditorBlockActions.vue +4 -3
  282. package/vue/UiEditorChipEditor.vue +4 -3
  283. package/vue/UiEditorCodeLanguage.vue +5 -4
  284. package/vue/UiEditorImageToolbar.vue +5 -4
  285. package/vue/UiEditorInsertTableGrid.vue +19 -18
  286. package/vue/UiEditorLinkCard.vue +7 -6
  287. package/vue/UiEditorLinkForm.vue +15 -14
  288. package/vue/UiEditorMentionMenu.vue +52 -37
  289. package/vue/UiEditorMentionMenuItem.vue +30 -20
  290. package/vue/UiEditorSlashMenu.vue +49 -36
  291. package/vue/UiEditorSlashMenuGroup.vue +16 -10
  292. package/vue/UiEditorSlashMenuItem.vue +36 -26
  293. package/vue/UiEditorSurface.vue +8 -6
  294. package/vue/UiEditorTableContextMenu.vue +26 -25
  295. package/vue/UiEditorTableOverlay.vue +56 -51
  296. package/vue/UiEditorTableToolbar.vue +37 -36
  297. package/vue/UiEditorToolbar.vue +24 -20
  298. package/vue/UiFloatingActionButton.vue +17 -15
  299. package/vue/UiFormField.vue +27 -22
  300. package/vue/UiGrid.vue +17 -15
  301. package/vue/UiIcon.vue +7 -6
  302. package/vue/UiIconButton.vue +75 -70
  303. package/vue/UiImage.vue +61 -46
  304. package/vue/UiInput.vue +28 -28
  305. package/vue/UiInputGroup.vue +48 -43
  306. package/vue/UiList.vue +25 -21
  307. package/vue/UiListItem.vue +54 -44
  308. package/vue/UiListbox.vue +29 -22
  309. package/vue/UiMenu.vue +25 -23
  310. package/vue/UiMenuGroup.vue +11 -7
  311. package/vue/UiMenuItem.vue +52 -43
  312. package/vue/UiMeter.vue +42 -41
  313. package/vue/UiNavItem.vue +60 -47
  314. package/vue/UiPageHeader.vue +27 -20
  315. package/vue/UiPopover.vue +21 -19
  316. package/vue/UiRadio.vue +32 -28
  317. package/vue/UiRadioGroup.vue +24 -19
  318. package/vue/UiReel.vue +24 -22
  319. package/vue/UiScrollArea.vue +30 -24
  320. package/vue/UiSearchResultRow.vue +41 -26
  321. package/vue/UiSearchShell.vue +37 -29
  322. package/vue/UiSection.vue +31 -24
  323. package/vue/UiSelect.vue +23 -21
  324. package/vue/UiSeparator.vue +14 -13
  325. package/vue/UiSidebar.vue +48 -40
  326. package/vue/UiSpinner.vue +14 -13
  327. package/vue/UiStack.vue +26 -24
  328. package/vue/UiStatusMessage.vue +26 -21
  329. package/vue/UiSwatch.vue +13 -12
  330. package/vue/UiSwitch.vue +37 -33
  331. package/vue/UiSwitcher.vue +27 -22
  332. package/vue/UiTable.vue +23 -19
  333. package/vue/UiTabs.vue +48 -33
  334. package/vue/UiText.vue +173 -151
  335. package/vue/UiTextarea.vue +27 -27
  336. package/vue/UiToast.vue +17 -15
  337. package/vue/UiToastRegion.vue +36 -31
  338. package/vue/UiTooltip.vue +40 -34
  339. package/vue/UiTopBar.vue +17 -13
  340. package/vue/UiTree.vue +17 -15
  341. package/vue/UiTreeItem.vue +202 -133
  342. package/vue/chunks/UiActionBar.js +21 -6
  343. package/vue/chunks/UiAffordanceScope.js +8 -6
  344. package/vue/chunks/UiAvatar.js +30 -20
  345. package/vue/chunks/UiAvatarGroup.js +16 -13
  346. package/vue/chunks/UiBadge.js +19 -13
  347. package/vue/chunks/UiBreadcrumbItem.js +13 -7
  348. package/vue/chunks/UiBreadcrumbs.js +9 -4
  349. package/vue/chunks/UiButton.js +158 -124
  350. package/vue/chunks/UiCallout.js +105 -37
  351. package/vue/chunks/UiCard.js +50 -42
  352. package/vue/chunks/UiCheckbox.js +32 -22
  353. package/vue/chunks/UiCluster.js +18 -16
  354. package/vue/chunks/UiCombobox.js +130 -73
  355. package/vue/chunks/UiContainer.js +10 -8
  356. package/vue/chunks/UiContextMenu.js +7 -4
  357. package/vue/chunks/UiCover.js +7 -5
  358. package/vue/chunks/UiDescriptionItem.js +9 -3
  359. package/vue/chunks/UiDescriptionList.js +10 -8
  360. package/vue/chunks/UiDialog.js +26 -19
  361. package/vue/chunks/UiDisclosure.js +43 -25
  362. package/vue/chunks/UiEditable.js +25 -24
  363. package/vue/chunks/UiEditorBlockActions.js +4 -3
  364. package/vue/chunks/UiEditorChipEditor.js +4 -3
  365. package/vue/chunks/UiEditorCodeLanguage.js +5 -4
  366. package/vue/chunks/UiEditorImageToolbar.js +7 -6
  367. package/vue/chunks/UiEditorInsertTableGrid.js +10 -9
  368. package/vue/chunks/UiEditorLinkCard.js +11 -10
  369. package/vue/chunks/UiEditorLinkForm.js +26 -25
  370. package/vue/chunks/UiEditorMentionMenu.js +41 -24
  371. package/vue/chunks/UiEditorMentionMenuItem.js +23 -11
  372. package/vue/chunks/UiEditorSlashMenu.js +41 -20
  373. package/vue/chunks/UiEditorSlashMenuGroup.js +16 -5
  374. package/vue/chunks/UiEditorSlashMenuItem.js +28 -14
  375. package/vue/chunks/UiEditorSurface.js +6 -4
  376. package/vue/chunks/UiEditorTableContextMenu.js +14 -13
  377. package/vue/chunks/UiEditorTableOverlay.js +6 -5
  378. package/vue/chunks/UiEditorTableToolbar.js +14 -13
  379. package/vue/chunks/UiEditorToolbar.js +8 -5
  380. package/vue/chunks/UiFloatingActionButton.js +11 -9
  381. package/vue/chunks/UiFormField.js +30 -16
  382. package/vue/chunks/UiGrid.js +10 -8
  383. package/vue/chunks/UiIcon.js +6 -3
  384. package/vue/chunks/UiIconButton.js +33 -26
  385. package/vue/chunks/UiImage.js +31 -22
  386. package/vue/chunks/UiInput.js +17 -16
  387. package/vue/chunks/UiInputGroup.js +30 -16
  388. package/vue/chunks/UiList.js +24 -20
  389. package/vue/chunks/UiListItem.js +39 -22
  390. package/vue/chunks/UiListbox.js +35 -25
  391. package/vue/chunks/UiMenu.js +22 -17
  392. package/vue/chunks/UiMenuGroup.js +7 -4
  393. package/vue/chunks/UiMenuItem.js +57 -38
  394. package/vue/chunks/UiMeter.js +22 -21
  395. package/vue/chunks/UiNavItem.js +78 -42
  396. package/vue/chunks/UiPageHeader.js +30 -10
  397. package/vue/chunks/UiPopover.js +16 -11
  398. package/vue/chunks/UiRadio.js +26 -16
  399. package/vue/chunks/UiRadioGroup.js +24 -19
  400. package/vue/chunks/UiReel.js +11 -9
  401. package/vue/chunks/UiScrollArea.js +16 -13
  402. package/vue/chunks/UiSearchResultRow.js +39 -19
  403. package/vue/chunks/UiSearchShell.js +36 -18
  404. package/vue/chunks/UiSection.js +31 -13
  405. package/vue/chunks/UiSelect.js +14 -12
  406. package/vue/chunks/UiSeparator.js +11 -10
  407. package/vue/chunks/UiSidebar.js +33 -23
  408. package/vue/chunks/UiSpinner.js +7 -6
  409. package/vue/chunks/UiStack.js +14 -12
  410. package/vue/chunks/UiStatusMessage.js +23 -11
  411. package/vue/chunks/UiSwatch.js +5 -4
  412. package/vue/chunks/UiSwitch.js +26 -16
  413. package/vue/chunks/UiSwitcher.js +13 -11
  414. package/vue/chunks/UiTable.js +9 -7
  415. package/vue/chunks/UiTabs.js +23 -18
  416. package/vue/chunks/UiText.js +277 -255
  417. package/vue/chunks/UiTextarea.js +21 -20
  418. package/vue/chunks/UiToast.js +13 -7
  419. package/vue/chunks/UiToastRegion.js +15 -8
  420. package/vue/chunks/UiTooltip.js +27 -19
  421. package/vue/chunks/UiTopBar.js +21 -6
  422. package/vue/chunks/UiTree.js +18 -16
  423. package/vue/chunks/UiTreeItem.js +82 -45
  424. package/vue/chunks/_plugin-vue_export-helper.js +17 -4
  425. package/vue/components.css +1507 -1479
  426. package/vue/editor/index.js +108 -65
  427. package/vue/host.ts +26 -6
@@ -8,32 +8,42 @@ var _hoisted_1 = [
8
8
  "aria-level",
9
9
  "aria-selected",
10
10
  "aria-disabled",
11
- "data-accepts",
12
- "data-actions-visible",
13
- "data-container",
14
- "data-disabled",
11
+ "data-item-id",
15
12
  "data-drag-type",
16
- "data-drop-depth",
17
13
  "data-drop-scope",
18
- "data-expanded",
19
- "data-item-id",
20
- "data-label",
21
- "data-lazy",
22
- "data-marquee",
23
- "data-selected",
24
- "data-sortable",
14
+ "data-accepts",
15
+ "data-drop-depth",
25
16
  "data-subtree-depth",
17
+ "data-ui-tree-item-prop-accepts",
18
+ "data-ui-tree-item-prop-actions-visible",
19
+ "data-ui-tree-item-prop-container",
20
+ "data-ui-tree-item-prop-disabled",
21
+ "data-ui-tree-item-prop-drag-type",
22
+ "data-ui-tree-item-prop-drop-depth",
23
+ "data-ui-tree-item-prop-drop-scope",
24
+ "data-ui-tree-item-prop-expanded",
25
+ "data-ui-tree-item-prop-item-id",
26
+ "data-ui-tree-item-prop-label",
27
+ "data-ui-tree-item-prop-lazy",
28
+ "data-ui-tree-item-prop-marquee",
29
+ "data-ui-tree-item-prop-selected",
30
+ "data-ui-tree-item-prop-sortable",
31
+ "data-ui-tree-item-prop-subtree-depth",
26
32
  "data-ui-tree-item-state"
27
33
  ];
28
34
  var _hoisted_2 = ["aria-label"];
29
35
  var _hoisted_3 = ["disabled", "hidden"];
30
- var _hoisted_4 = { class: "selection-hit" };
36
+ var _hoisted_4 = {
37
+ class: "selection-hit",
38
+ "data-hn-ui-tree-item": ""
39
+ };
31
40
  var _hoisted_5 = [
32
41
  "^checked",
33
42
  "disabled",
34
43
  "aria-label"
35
44
  ];
36
- var _hoisted_6 = ["hidden"];
45
+ var _hoisted_6 = { "data-hn-ui-tree-item": "" };
46
+ var _hoisted_7 = ["hidden"];
37
47
  //#endregion
38
48
  //#region .build/vue/UiTreeItem.vue
39
49
  var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -395,7 +405,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
395
405
  provide("html-next:ui-tree-item:isContainer", isContainer);
396
406
  provide("html-next:ui-tree-item:moving", moving);
397
407
  checkHydratedRoot("div", "ui-tree-item");
398
- /** The values the styles' :host-state() rules test. */
408
+ /** The values the styles' :host() prop and state rules test. */
399
409
  const hostState = computed(() => [
400
410
  checkedProps.value.selected && "selected",
401
411
  checkedProps.value.disabled && "disabled",
@@ -495,31 +505,40 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
495
505
  class: "ui-tree-item",
496
506
  role: "treeitem"
497
507
  }, unref(nativeAttrs)(_ctx.$attrs), {
508
+ "data-hn": "",
509
+ "data-hn-ui-tree-item": "",
498
510
  "aria-label": checkedProps.value.label ?? void 0,
499
511
  "aria-level": structuralLevel.value,
500
512
  "aria-selected": checkedProps.value.selected ?? void 0,
501
513
  "aria-disabled": checkedProps.value.disabled ?? void 0,
502
- "data-accepts": unref(reflectedProp)("accepts", "accepts", checkedProps.value.accepts, void 0, true),
503
- "data-actions-visible": unref(reflectedProp)("actionsVisible", "actions-visible", checkedProps.value.actionsVisible, void 0, false),
504
- "data-container": unref(reflectedProp)("container", "container", checkedProps.value.container, void 0, false),
505
- "data-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
506
- "data-drag-type": unref(reflectedProp)("dragType", "drag-type", checkedProps.value.dragType, void 0, true),
507
- "data-drop-depth": unref(reflectedProp)("dropDepth", "drop-depth", checkedProps.value.dropDepth, void 0, true),
508
- "data-drop-scope": unref(reflectedProp)("dropScope", "drop-scope", checkedProps.value.dropScope, void 0, true),
509
- "data-expanded": unref(reflectedProp)("expanded", "expanded", checkedProps.value.expanded, void 0, false),
510
- "data-item-id": unref(reflectedProp)("itemId", "item-id", checkedProps.value.itemId, void 0, true),
511
- "data-label": unref(reflectedProp)("label", "label", checkedProps.value.label, void 0, false),
512
- "data-lazy": unref(reflectedProp)("lazy", "lazy", checkedProps.value.lazy, void 0, false),
513
- "data-marquee": unref(reflectedProp)("marquee", "marquee", checkedProps.value.marquee, void 0, false),
514
- "data-selected": unref(reflectedProp)("selected", "selected", checkedProps.value.selected, void 0, false),
515
- "data-sortable": unref(reflectedProp)("sortable", "sortable", checkedProps.value.sortable, void 0, false),
516
- "data-subtree-depth": unref(reflectedProp)("subtreeDepth", "subtree-depth", checkedProps.value.subtreeDepth, void 0, true),
514
+ "data-item-id": checkedProps.value.itemId ?? void 0,
515
+ "data-drag-type": checkedProps.value.dragType ?? void 0,
516
+ "data-drop-scope": checkedProps.value.dropScope ?? void 0,
517
+ "data-accepts": checkedProps.value.accepts ?? void 0,
518
+ "data-drop-depth": checkedProps.value.dropDepth ?? void 0,
519
+ "data-subtree-depth": checkedProps.value.subtreeDepth ?? void 0,
520
+ "data-ui-tree-item-prop-accepts": unref(reflectedProp)("accepts", "accepts", checkedProps.value.accepts, void 0, false),
521
+ "data-ui-tree-item-prop-actions-visible": unref(reflectedProp)("actionsVisible", "actions-visible", checkedProps.value.actionsVisible, void 0, false),
522
+ "data-ui-tree-item-prop-container": unref(reflectedProp)("container", "container", checkedProps.value.container, void 0, false),
523
+ "data-ui-tree-item-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
524
+ "data-ui-tree-item-prop-drag-type": unref(reflectedProp)("dragType", "drag-type", checkedProps.value.dragType, void 0, false),
525
+ "data-ui-tree-item-prop-drop-depth": unref(reflectedProp)("dropDepth", "drop-depth", checkedProps.value.dropDepth, void 0, false),
526
+ "data-ui-tree-item-prop-drop-scope": unref(reflectedProp)("dropScope", "drop-scope", checkedProps.value.dropScope, void 0, false),
527
+ "data-ui-tree-item-prop-expanded": unref(reflectedProp)("expanded", "expanded", checkedProps.value.expanded, void 0, false),
528
+ "data-ui-tree-item-prop-item-id": unref(reflectedProp)("itemId", "item-id", checkedProps.value.itemId, void 0, false),
529
+ "data-ui-tree-item-prop-label": unref(reflectedProp)("label", "label", checkedProps.value.label, void 0, false),
530
+ "data-ui-tree-item-prop-lazy": unref(reflectedProp)("lazy", "lazy", checkedProps.value.lazy, void 0, false),
531
+ "data-ui-tree-item-prop-marquee": unref(reflectedProp)("marquee", "marquee", checkedProps.value.marquee, void 0, false),
532
+ "data-ui-tree-item-prop-selected": unref(reflectedProp)("selected", "selected", checkedProps.value.selected, void 0, false),
533
+ "data-ui-tree-item-prop-sortable": unref(reflectedProp)("sortable", "sortable", checkedProps.value.sortable, void 0, false),
534
+ "data-ui-tree-item-prop-subtree-depth": unref(reflectedProp)("subtreeDepth", "subtree-depth", checkedProps.value.subtreeDepth, void 0, false),
517
535
  "data-ui-tree-item-state": hostState.value || void 0,
518
536
  ref_key: "root",
519
537
  ref: root
520
538
  }), [
521
539
  createElementVNode("div", {
522
540
  class: "row",
541
+ "data-hn-ui-tree-item": "",
523
542
  ref_key: "rowElement",
524
543
  ref: rowElement
525
544
  }, [
@@ -528,6 +547,7 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
528
547
  class: "drag-handle",
529
548
  type: "button",
530
549
  draggable: "true",
550
+ "data-hn-ui-tree-item": "",
531
551
  "aria-label": guarded.value,
532
552
  ref_key: "dragHandleElement",
533
553
  ref: dragHandleElement
@@ -539,74 +559,88 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
539
559
  stroke: "currentColor",
540
560
  "stroke-width": "2",
541
561
  "stroke-linecap": "round",
542
- "stroke-linejoin": "round"
562
+ "stroke-linejoin": "round",
563
+ "data-hn-ui-tree-item": ""
543
564
  }, [
544
565
  createElementVNode("circle", {
545
566
  cx: "9",
546
567
  cy: "12",
547
- r: "1"
568
+ r: "1",
569
+ "data-hn-ui-tree-item": ""
548
570
  }),
549
571
  createElementVNode("circle", {
550
572
  cx: "9",
551
573
  cy: "5",
552
- r: "1"
574
+ r: "1",
575
+ "data-hn-ui-tree-item": ""
553
576
  }),
554
577
  createElementVNode("circle", {
555
578
  cx: "9",
556
579
  cy: "19",
557
- r: "1"
580
+ r: "1",
581
+ "data-hn-ui-tree-item": ""
558
582
  }),
559
583
  createElementVNode("circle", {
560
584
  cx: "15",
561
585
  cy: "12",
562
- r: "1"
586
+ r: "1",
587
+ "data-hn-ui-tree-item": ""
563
588
  }),
564
589
  createElementVNode("circle", {
565
590
  cx: "15",
566
591
  cy: "5",
567
- r: "1"
592
+ r: "1",
593
+ "data-hn-ui-tree-item": ""
568
594
  }),
569
595
  createElementVNode("circle", {
570
596
  cx: "15",
571
597
  cy: "19",
572
- r: "1"
598
+ r: "1",
599
+ "data-hn-ui-tree-item": ""
573
600
  })
574
601
  ], -1)])], 8, _hoisted_2)) : createCommentVNode("v-if", true),
575
602
  createElementVNode("button", {
576
603
  class: "disclosure",
577
604
  type: "button",
605
+ "data-hn-ui-tree-item": "",
578
606
  disabled: checkedProps.value.disabled ?? void 0,
579
607
  hidden: !isContainer.value,
580
608
  ref_key: "disclosureElement",
581
609
  ref: disclosureElement
582
610
  }, [..._cache[1] || (_cache[1] = [createElementVNode("span", {
583
611
  class: "disclosure-icon",
584
- "aria-hidden": "true"
612
+ "aria-hidden": "true",
613
+ "data-hn-ui-tree-item": ""
585
614
  }, null, -1)])], 8, _hoisted_3),
586
615
  createElementVNode("label", _hoisted_4, [createElementVNode("input", {
587
616
  class: "selection-checkbox",
588
617
  type: "checkbox",
589
618
  tabindex: "-1",
619
+ "data-hn-ui-tree-item": "",
590
620
  "^checked": checkedProps.value.selected ? true : void 0,
591
621
  disabled: checkedProps.value.disabled ?? void 0,
592
622
  "aria-label": guardedBinding.value
593
623
  }, null, 8, _hoisted_5)]),
594
624
  createElementVNode("span", {
595
625
  class: "leading",
626
+ "data-hn-ui-tree-item": "",
596
627
  ref_key: "leadingElement",
597
628
  ref: leadingElement
598
- }, [renderSlot(_ctx.$slots, "leading")], 512),
629
+ }, [renderSlot(_ctx.$slots, "leading", {}, void 0, true)], 512),
599
630
  createElementVNode("span", {
600
631
  class: "label",
632
+ "data-hn-ui-tree-item": "",
601
633
  ref_key: "labelElement",
602
634
  ref: labelElement
603
635
  }, [createElementVNode("span", {
604
636
  class: "label-text",
637
+ "data-hn-ui-tree-item": "",
605
638
  ref_key: "labelTextElement",
606
639
  ref: labelTextElement
607
- }, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(checkedProps.value.label), 1)])], 512)], 512),
640
+ }, [renderSlot(_ctx.$slots, "label", {}, () => [createTextVNode(toDisplayString(checkedProps.value.label), 1)], true)], 512)], 512),
608
641
  createElementVNode("span", {
609
642
  class: "actions",
643
+ "data-hn-ui-tree-item": "",
610
644
  ref_key: "actionsElement",
611
645
  ref: actionsElement
612
646
  }, [moving.value ? (openBlock(), createBlock(UiButton_default, {
@@ -620,22 +654,25 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
620
654
  }, {
621
655
  default: withCtx(() => [..._cache[2] || (_cache[2] = [createTextVNode("Cancel", -1)])]),
622
656
  _: 1
623
- })) : createCommentVNode("v-if", true), createElementVNode("span", null, [renderSlot(_ctx.$slots, "actions")])], 512),
657
+ })) : createCommentVNode("v-if", true), createElementVNode("span", _hoisted_6, [renderSlot(_ctx.$slots, "actions", {}, void 0, true)])], 512),
624
658
  _cache[3] || (_cache[3] = createElementVNode("span", {
625
659
  class: "drop-indicator row-drop-indicator",
626
- "aria-hidden": "true"
660
+ "aria-hidden": "true",
661
+ "data-hn-ui-tree-item": ""
627
662
  }, null, -1))
628
663
  ], 512),
629
664
  createElementVNode("div", {
630
665
  class: "children",
631
666
  role: "group",
667
+ "data-hn-ui-tree-item": "",
632
668
  hidden: !(isContainer.value && internalExpanded.value),
633
669
  ref_key: "childrenElement",
634
670
  ref: childrenElement
635
- }, [renderSlot(_ctx.$slots, "default")], 8, _hoisted_6),
671
+ }, [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 8, _hoisted_7),
636
672
  _cache[4] || (_cache[4] = createElementVNode("span", {
637
673
  class: "drop-indicator subtree-drop-indicator",
638
- "aria-hidden": "true"
674
+ "aria-hidden": "true",
675
+ "data-hn-ui-tree-item": ""
639
676
  }, null, -1))
640
677
  ], 16, _hoisted_1)), [[unref(vPropValidity), {
641
678
  contract: propValidityContract,
@@ -643,6 +680,6 @@ var UiTreeItem_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
643
680
  }]]);
644
681
  };
645
682
  }
646
- }), [["__scopeId", "data-v-89627b2f"]]);
683
+ }), [["__scopeId", "data-v-54a4ba48"]]);
647
684
  //#endregion
648
685
  export { UiTreeItem_default as t };
@@ -123,6 +123,16 @@ function dispatchToTargets(recorded, send) {
123
123
  const targets = (recorded instanceof Set ? [...recorded] : Array.isArray(recorded) ? [...recorded] : [recorded]).map((ref) => ref?.nodeType === 1 ? ref : ref?.$el).filter((element) => element?.nodeType === 1 && element.isConnected).sort((a, b) => a === b ? 0 : a.compareDocumentPosition(b) & 4 ? -1 : 1);
124
124
  for (const target of targets) if (target.isConnected) send(target);
125
125
  }
126
+ /** Vue refs a component invocation as its public instance; the ref is the root element it lowered to. */
127
+ function refElement(ref) {
128
+ return ref == null || ref.nodeType === 1 ? ref : ref.$el;
129
+ }
130
+ /** The root ref as an element: a delegating component's root ref holds the invoked component. */
131
+ function rootElement(root) {
132
+ return { get value() {
133
+ return refElement(root.value);
134
+ } };
135
+ }
126
136
  var runtimeKey = Symbol.for("@nextwebwg/html-next.runtime.v1");
127
137
  function observeConnection(element, check) {
128
138
  const document = element.ownerDocument;
@@ -156,7 +166,8 @@ function observeConnection(element, check) {
156
166
  };
157
167
  }
158
168
  /** Keep native focus on the corresponding control when a root-level $match replaces its element. */
159
- function preserveRootFocus(root) {
169
+ function preserveRootFocus(componentRoot) {
170
+ const root = rootElement(componentRoot);
160
171
  const focusable = "a[href], button, input, select, textarea, summary, [tabindex], [contenteditable]";
161
172
  let previous = null;
162
173
  let active = null;
@@ -190,7 +201,8 @@ function slottedElements(nodes) {
190
201
  * and reinsertion without treating an in-tree move as a new connection.
191
202
  */
192
203
  function useComponentHost(controllerLoader, options) {
193
- const { root, dispatch, props, propInputs = () => null, propNames = [], refs = {}, state = {}, computed: computedValues = {}, data = {}, context = {} } = options;
204
+ const root = rootElement(options.root);
205
+ const { dispatch, props, propInputs = () => null, propNames = [], refs = {}, state = {}, computed: computedValues = {}, data = {}, context = {} } = options;
194
206
  const vueSlots = useSlots();
195
207
  const component = getCurrentInstance();
196
208
  const report = (error) => {
@@ -290,7 +302,7 @@ function useComponentHost(controllerLoader, options) {
290
302
  props: Object.freeze(propHandles),
291
303
  refs: Object.defineProperties({}, Object.fromEntries(Object.entries(refs).map(([name, ref]) => [name, {
292
304
  enumerable: true,
293
- get: () => Array.isArray(ref.value) ? inDocumentOrder(ref.value) : ref.value
305
+ get: () => Array.isArray(ref.value) ? inDocumentOrder(ref.value.map(refElement)) : refElement(ref.value)
294
306
  }]))),
295
307
  slots: new Proxy({}, {
296
308
  get: (_target, name) => {
@@ -415,7 +427,8 @@ var HtmlDiagnosticError = class extends Error {
415
427
  }
416
428
  };
417
429
  /** Reports declared CustomEvents to Vue and dispatches them through the DOM. */
418
- function createDispatch(root, emit, options = {}) {
430
+ function createDispatch(componentRoot, emit, options = {}) {
431
+ const root = rootElement(componentRoot);
419
432
  const { declared = {}, checks = {}, modeled = [] } = options;
420
433
  const reported = /* @__PURE__ */ new Map();
421
434
  return (name, detail, targets) => {