@threadlabs/looma 0.23.16 → 0.23.18

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 (405) hide show
  1. package/components/ui-avatar/ui-avatar.html +1 -1
  2. package/components/ui-avatar-group/ui-avatar-group.html +1 -3
  3. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -1
  4. package/components/ui-button/ui-button.html +4 -4
  5. package/components/ui-combobox/ui-combobox.html +19 -21
  6. package/components/ui-description-item/ui-description-item.html +1 -1
  7. package/components/ui-dialog/ui-dialog.html +1 -1
  8. package/components/ui-disclosure/ui-disclosure.html +1 -1
  9. package/components/ui-editable/ui-editable.html +4 -4
  10. package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +1 -1
  11. package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +2 -2
  12. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -2
  13. package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +1 -1
  14. package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +1 -1
  15. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +2 -2
  16. package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +2 -2
  17. package/components/ui-icon-button/ui-icon-button.html +1 -1
  18. package/components/ui-listbox/ui-listbox.html +2 -2
  19. package/components/ui-menu-group/ui-menu-group.html +1 -1
  20. package/components/ui-menu-item/ui-menu-item.html +1 -1
  21. package/components/ui-meter/ui-meter.html +7 -8
  22. package/components/ui-nav-item/ui-nav-item.html +2 -2
  23. package/components/ui-radio-group/ui-radio-group.html +1 -1
  24. package/components/ui-section/ui-section.html +1 -1
  25. package/components/ui-spinner/ui-spinner.html +4 -4
  26. package/components/ui-status-message/ui-status-message.html +2 -2
  27. package/components/ui-tabs/ui-tabs.html +1 -1
  28. package/components/ui-toast-region/ui-toast-region.html +1 -1
  29. package/components/ui-tree/ui-tree.js +20 -1
  30. package/components/ui-tree-item/ui-tree-item.html +3 -3
  31. package/components/ui-tree-item/ui-tree-item.js +3 -0
  32. package/dist/index.js +1 -1
  33. package/package.json +2 -2
  34. package/styles/ui-action-bar.css +1 -1
  35. package/styles/ui-affordance-scope.css +1 -1
  36. package/styles/ui-avatar-group.css +1 -1
  37. package/styles/ui-avatar.css +1 -1
  38. package/styles/ui-badge.css +1 -1
  39. package/styles/ui-breadcrumb-item.css +1 -1
  40. package/styles/ui-breadcrumbs.css +1 -1
  41. package/styles/ui-button.css +1 -1
  42. package/styles/ui-callout.css +1 -1
  43. package/styles/ui-card.css +1 -1
  44. package/styles/ui-checkbox.css +1 -1
  45. package/styles/ui-cluster.css +1 -1
  46. package/styles/ui-combobox.css +1 -1
  47. package/styles/ui-container.css +1 -1
  48. package/styles/ui-context-menu.css +1 -1
  49. package/styles/ui-cover.css +1 -1
  50. package/styles/ui-description-item.css +1 -1
  51. package/styles/ui-description-list.css +1 -1
  52. package/styles/ui-dialog.css +1 -1
  53. package/styles/ui-disclosure.css +1 -1
  54. package/styles/ui-editable.css +1 -1
  55. package/styles/ui-editor-insert-table-grid.css +1 -1
  56. package/styles/ui-editor-mention-menu-item.css +1 -1
  57. package/styles/ui-editor-mention-menu.css +1 -1
  58. package/styles/ui-editor-slash-menu-group.css +1 -1
  59. package/styles/ui-editor-slash-menu-item.css +1 -1
  60. package/styles/ui-editor-slash-menu.css +1 -1
  61. package/styles/ui-editor-table-context-menu.css +1 -1
  62. package/styles/ui-editor-table-overlay.css +1 -1
  63. package/styles/ui-editor-table-toolbar.css +1 -1
  64. package/styles/ui-editor-toolbar.css +1 -1
  65. package/styles/ui-floating-action-button.css +1 -1
  66. package/styles/ui-form-field.css +1 -1
  67. package/styles/ui-grid.css +1 -1
  68. package/styles/ui-icon-button.css +1 -1
  69. package/styles/ui-icon.css +1 -1
  70. package/styles/ui-input-group.css +1 -1
  71. package/styles/ui-input.css +1 -1
  72. package/styles/ui-list-item.css +1 -1
  73. package/styles/ui-list.css +1 -1
  74. package/styles/ui-listbox.css +1 -1
  75. package/styles/ui-menu-group.css +1 -1
  76. package/styles/ui-menu-item.css +1 -1
  77. package/styles/ui-menu.css +1 -1
  78. package/styles/ui-meter.css +1 -1
  79. package/styles/ui-nav-item.css +1 -1
  80. package/styles/ui-page-header.css +1 -1
  81. package/styles/ui-popover.css +1 -1
  82. package/styles/ui-radio-group.css +1 -1
  83. package/styles/ui-radio.css +1 -1
  84. package/styles/ui-reel.css +1 -1
  85. package/styles/ui-scroll-area.css +1 -1
  86. package/styles/ui-search-result-row.css +1 -1
  87. package/styles/ui-search-shell.css +1 -1
  88. package/styles/ui-section.css +1 -1
  89. package/styles/ui-select.css +1 -1
  90. package/styles/ui-separator.css +1 -1
  91. package/styles/ui-sidebar.css +1 -1
  92. package/styles/ui-spinner.css +1 -1
  93. package/styles/ui-stack.css +1 -1
  94. package/styles/ui-status-message.css +1 -1
  95. package/styles/ui-switch.css +1 -1
  96. package/styles/ui-switcher.css +1 -1
  97. package/styles/ui-table.css +1 -1
  98. package/styles/ui-tabs.css +1 -1
  99. package/styles/ui-text.css +1 -1
  100. package/styles/ui-textarea.css +1 -1
  101. package/styles/ui-toast-region.css +1 -1
  102. package/styles/ui-toast.css +1 -1
  103. package/styles/ui-tooltip.css +1 -1
  104. package/styles/ui-top-bar.css +1 -1
  105. package/styles/ui-tree-item.css +1 -1
  106. package/styles/ui-tree.css +1 -1
  107. package/vanilla/UiActionBar.d.ts +1 -1
  108. package/vanilla/UiActionBar.js +1 -1
  109. package/vanilla/UiAffordanceScope.d.ts +1 -1
  110. package/vanilla/UiAffordanceScope.js +1 -1
  111. package/vanilla/UiAvatar.d.ts +1 -1
  112. package/vanilla/UiAvatar.js +9 -7
  113. package/vanilla/UiAvatarGroup.d.ts +1 -1
  114. package/vanilla/UiAvatarGroup.js +4 -4
  115. package/vanilla/UiBadge.d.ts +1 -1
  116. package/vanilla/UiBadge.js +1 -1
  117. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  118. package/vanilla/UiBreadcrumbItem.js +2 -2
  119. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  120. package/vanilla/UiBreadcrumbs.js +1 -1
  121. package/vanilla/UiButton.d.ts +1 -1
  122. package/vanilla/UiButton.js +2 -2
  123. package/vanilla/UiCallout.d.ts +1 -1
  124. package/vanilla/UiCallout.js +1 -1
  125. package/vanilla/UiCard.d.ts +1 -1
  126. package/vanilla/UiCard.js +1 -1
  127. package/vanilla/UiCheckbox.d.ts +1 -1
  128. package/vanilla/UiCheckbox.js +1 -1
  129. package/vanilla/UiCluster.d.ts +1 -1
  130. package/vanilla/UiCluster.js +1 -1
  131. package/vanilla/UiCombobox.d.ts +1 -1
  132. package/vanilla/UiCombobox.js +29 -25
  133. package/vanilla/UiContainer.d.ts +1 -1
  134. package/vanilla/UiContainer.js +1 -1
  135. package/vanilla/UiContextMenu.d.ts +1 -1
  136. package/vanilla/UiContextMenu.js +1 -1
  137. package/vanilla/UiCover.d.ts +1 -1
  138. package/vanilla/UiCover.js +1 -1
  139. package/vanilla/UiDescriptionItem.d.ts +1 -1
  140. package/vanilla/UiDescriptionItem.js +5 -5
  141. package/vanilla/UiDescriptionList.d.ts +1 -1
  142. package/vanilla/UiDescriptionList.js +1 -1
  143. package/vanilla/UiDialog.d.ts +1 -1
  144. package/vanilla/UiDialog.js +16 -14
  145. package/vanilla/UiDisclosure.d.ts +1 -1
  146. package/vanilla/UiDisclosure.js +4 -4
  147. package/vanilla/UiEditable.d.ts +1 -1
  148. package/vanilla/UiEditable.js +35 -27
  149. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  150. package/vanilla/UiEditorInsertTableGrid.js +20 -18
  151. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  152. package/vanilla/UiEditorMentionMenu.js +27 -25
  153. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  154. package/vanilla/UiEditorMentionMenuItem.js +6 -4
  155. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  156. package/vanilla/UiEditorSlashMenu.js +1 -1
  157. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  158. package/vanilla/UiEditorSlashMenuGroup.js +9 -7
  159. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  160. package/vanilla/UiEditorSlashMenuItem.js +4 -2
  161. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  162. package/vanilla/UiEditorTableContextMenu.js +2 -2
  163. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  164. package/vanilla/UiEditorTableOverlay.js +1 -1
  165. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  166. package/vanilla/UiEditorTableToolbar.js +2 -2
  167. package/vanilla/UiEditorToolbar.d.ts +1 -1
  168. package/vanilla/UiEditorToolbar.js +1 -1
  169. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  170. package/vanilla/UiFloatingActionButton.js +1 -1
  171. package/vanilla/UiFormField.d.ts +1 -1
  172. package/vanilla/UiFormField.js +1 -1
  173. package/vanilla/UiGrid.d.ts +1 -1
  174. package/vanilla/UiGrid.js +1 -1
  175. package/vanilla/UiIcon.d.ts +1 -1
  176. package/vanilla/UiIcon.js +1 -1
  177. package/vanilla/UiIconButton.d.ts +1 -1
  178. package/vanilla/UiIconButton.js +2 -2
  179. package/vanilla/UiInput.d.ts +1 -1
  180. package/vanilla/UiInput.js +1 -1
  181. package/vanilla/UiInputGroup.d.ts +1 -1
  182. package/vanilla/UiInputGroup.js +1 -1
  183. package/vanilla/UiList.d.ts +1 -1
  184. package/vanilla/UiList.js +1 -1
  185. package/vanilla/UiListItem.d.ts +1 -1
  186. package/vanilla/UiListItem.js +1 -1
  187. package/vanilla/UiListbox.d.ts +1 -1
  188. package/vanilla/UiListbox.js +2 -2
  189. package/vanilla/UiMenu.d.ts +1 -1
  190. package/vanilla/UiMenu.js +1 -1
  191. package/vanilla/UiMenuGroup.d.ts +1 -1
  192. package/vanilla/UiMenuGroup.js +4 -2
  193. package/vanilla/UiMenuItem.d.ts +1 -1
  194. package/vanilla/UiMenuItem.js +2 -2
  195. package/vanilla/UiMeter.d.ts +1 -1
  196. package/vanilla/UiMeter.js +2 -2
  197. package/vanilla/UiNavItem.d.ts +1 -1
  198. package/vanilla/UiNavItem.js +2 -2
  199. package/vanilla/UiPageHeader.d.ts +1 -1
  200. package/vanilla/UiPageHeader.js +1 -1
  201. package/vanilla/UiPopover.d.ts +1 -1
  202. package/vanilla/UiPopover.js +1 -1
  203. package/vanilla/UiRadio.d.ts +1 -1
  204. package/vanilla/UiRadio.js +1 -1
  205. package/vanilla/UiRadioGroup.d.ts +1 -1
  206. package/vanilla/UiRadioGroup.js +4 -4
  207. package/vanilla/UiReel.d.ts +1 -1
  208. package/vanilla/UiReel.js +1 -1
  209. package/vanilla/UiScrollArea.d.ts +1 -1
  210. package/vanilla/UiScrollArea.js +1 -1
  211. package/vanilla/UiSearchResultRow.d.ts +1 -1
  212. package/vanilla/UiSearchResultRow.js +1 -1
  213. package/vanilla/UiSearchShell.d.ts +1 -1
  214. package/vanilla/UiSearchShell.js +1 -1
  215. package/vanilla/UiSection.d.ts +1 -1
  216. package/vanilla/UiSection.js +4 -4
  217. package/vanilla/UiSelect.d.ts +1 -1
  218. package/vanilla/UiSelect.js +1 -1
  219. package/vanilla/UiSeparator.d.ts +1 -1
  220. package/vanilla/UiSeparator.js +1 -1
  221. package/vanilla/UiSidebar.d.ts +1 -1
  222. package/vanilla/UiSidebar.js +1 -1
  223. package/vanilla/UiSpinner.d.ts +1 -1
  224. package/vanilla/UiSpinner.js +2 -2
  225. package/vanilla/UiStack.d.ts +1 -1
  226. package/vanilla/UiStack.js +1 -1
  227. package/vanilla/UiStatusMessage.d.ts +1 -1
  228. package/vanilla/UiStatusMessage.js +4 -4
  229. package/vanilla/UiSwitch.d.ts +1 -1
  230. package/vanilla/UiSwitch.js +1 -1
  231. package/vanilla/UiSwitcher.d.ts +1 -1
  232. package/vanilla/UiSwitcher.js +1 -1
  233. package/vanilla/UiTable.d.ts +1 -1
  234. package/vanilla/UiTable.js +1 -1
  235. package/vanilla/UiTabs.d.ts +1 -1
  236. package/vanilla/UiTabs.js +2 -2
  237. package/vanilla/UiText.d.ts +1 -1
  238. package/vanilla/UiText.js +1 -1
  239. package/vanilla/UiTextarea.d.ts +1 -1
  240. package/vanilla/UiTextarea.js +1 -1
  241. package/vanilla/UiToast.d.ts +1 -1
  242. package/vanilla/UiToast.js +1 -1
  243. package/vanilla/UiToastRegion.d.ts +1 -1
  244. package/vanilla/UiToastRegion.js +2 -2
  245. package/vanilla/UiTooltip.d.ts +1 -1
  246. package/vanilla/UiTooltip.js +1 -1
  247. package/vanilla/UiTopBar.d.ts +1 -1
  248. package/vanilla/UiTopBar.js +1 -1
  249. package/vanilla/UiTree.d.ts +1 -1
  250. package/vanilla/UiTree.js +1 -1
  251. package/vanilla/UiTreeItem.d.ts +1 -1
  252. package/vanilla/UiTreeItem.js +4 -4
  253. package/vue/UiActionBar.vue +1 -1
  254. package/vue/UiAffordanceScope.vue +1 -1
  255. package/vue/UiAvatar.vue +1 -1
  256. package/vue/UiAvatarGroup.vue +9 -2
  257. package/vue/UiBadge.vue +1 -1
  258. package/vue/UiBreadcrumbItem.vue +55 -9
  259. package/vue/UiBreadcrumbs.vue +1 -1
  260. package/vue/UiButton.vue +162 -37
  261. package/vue/UiCallout.vue +1 -1
  262. package/vue/UiCard.vue +1 -1
  263. package/vue/UiCheckbox.vue +8 -1
  264. package/vue/UiCluster.vue +1 -1
  265. package/vue/UiCombobox.d.ts +1 -1
  266. package/vue/UiCombobox.vue +190 -73
  267. package/vue/UiContainer.vue +1 -1
  268. package/vue/UiContextMenu.vue +1 -1
  269. package/vue/UiCover.vue +1 -1
  270. package/vue/UiDescriptionItem.vue +1 -1
  271. package/vue/UiDescriptionList.vue +1 -1
  272. package/vue/UiDialog.vue +1 -1
  273. package/vue/UiDisclosure.vue +1 -1
  274. package/vue/UiEditable.vue +9 -4
  275. package/vue/UiEditorInsertTableGrid.vue +19 -2
  276. package/vue/UiEditorMentionMenu.vue +20 -2
  277. package/vue/UiEditorMentionMenuItem.vue +1 -1
  278. package/vue/UiEditorSlashMenu.vue +1 -1
  279. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  280. package/vue/UiEditorSlashMenuItem.vue +1 -1
  281. package/vue/UiEditorTableContextMenu.vue +46 -5
  282. package/vue/UiEditorTableOverlay.vue +55 -26
  283. package/vue/UiEditorTableToolbar.vue +46 -5
  284. package/vue/UiEditorToolbar.vue +1 -1
  285. package/vue/UiFloatingActionButton.vue +1 -1
  286. package/vue/UiFormField.vue +1 -1
  287. package/vue/UiGrid.vue +1 -1
  288. package/vue/UiIcon.vue +1 -1
  289. package/vue/UiIconButton.vue +58 -14
  290. package/vue/UiInput.vue +1 -1
  291. package/vue/UiInputGroup.vue +1 -1
  292. package/vue/UiList.vue +1 -1
  293. package/vue/UiListItem.vue +1 -1
  294. package/vue/UiListbox.vue +47 -13
  295. package/vue/UiMenu.vue +1 -1
  296. package/vue/UiMenuGroup.vue +1 -1
  297. package/vue/UiMenuItem.vue +46 -10
  298. package/vue/UiMeter.d.ts +2 -2
  299. package/vue/UiMeter.vue +675 -97
  300. package/vue/UiNavItem.vue +97 -39
  301. package/vue/UiPageHeader.vue +1 -1
  302. package/vue/UiPopover.vue +1 -1
  303. package/vue/UiRadio.vue +8 -1
  304. package/vue/UiRadioGroup.vue +1 -1
  305. package/vue/UiReel.vue +1 -1
  306. package/vue/UiScrollArea.vue +1 -1
  307. package/vue/UiSearchResultRow.vue +1 -1
  308. package/vue/UiSearchShell.vue +1 -1
  309. package/vue/UiSection.vue +1 -1
  310. package/vue/UiSelect.vue +1 -1
  311. package/vue/UiSeparator.vue +1 -1
  312. package/vue/UiSidebar.vue +1 -1
  313. package/vue/UiSpinner.vue +159 -31
  314. package/vue/UiStack.vue +1 -1
  315. package/vue/UiStatusMessage.vue +42 -4
  316. package/vue/UiSwitch.vue +8 -1
  317. package/vue/UiSwitcher.vue +1 -1
  318. package/vue/UiTable.vue +1 -1
  319. package/vue/UiTabs.vue +20 -2
  320. package/vue/UiText.d.ts +1 -1
  321. package/vue/UiText.vue +1 -1
  322. package/vue/UiTextarea.vue +1 -1
  323. package/vue/UiToast.vue +1 -1
  324. package/vue/UiToastRegion.vue +20 -2
  325. package/vue/UiTooltip.vue +1 -1
  326. package/vue/UiTopBar.vue +1 -1
  327. package/vue/UiTree.vue +1 -1
  328. package/vue/UiTreeItem.vue +113 -25
  329. package/vue/chunks/UiActionBar.js +1 -1
  330. package/vue/chunks/UiAffordanceScope.js +1 -1
  331. package/vue/chunks/UiAvatar.js +1 -1
  332. package/vue/chunks/UiAvatarGroup.js +7 -2
  333. package/vue/chunks/UiBadge.js +1 -1
  334. package/vue/chunks/UiBreadcrumbItem.js +27 -12
  335. package/vue/chunks/UiBreadcrumbs.js +1 -1
  336. package/vue/chunks/UiButton.js +67 -29
  337. package/vue/chunks/UiCallout.js +1 -1
  338. package/vue/chunks/UiCard.js +1 -1
  339. package/vue/chunks/UiCheckbox.js +6 -1
  340. package/vue/chunks/UiCluster.js +1 -1
  341. package/vue/chunks/UiCombobox.js +155 -56
  342. package/vue/chunks/UiContainer.js +1 -1
  343. package/vue/chunks/UiContextMenu.js +1 -1
  344. package/vue/chunks/UiCover.js +1 -1
  345. package/vue/chunks/UiDescriptionItem.js +1 -1
  346. package/vue/chunks/UiDescriptionList.js +1 -1
  347. package/vue/chunks/UiDialog.js +1 -1
  348. package/vue/chunks/UiDisclosure.js +1 -1
  349. package/vue/chunks/UiEditable.js +10 -5
  350. package/vue/chunks/UiEditorInsertTableGrid.js +18 -3
  351. package/vue/chunks/UiEditorMentionMenu.js +8 -2
  352. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  353. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  354. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  355. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  356. package/vue/chunks/UiEditorTableContextMenu.js +13 -7
  357. package/vue/chunks/UiEditorTableOverlay.js +43 -23
  358. package/vue/chunks/UiEditorTableToolbar.js +13 -7
  359. package/vue/chunks/UiEditorToolbar.js +1 -1
  360. package/vue/chunks/UiFloatingActionButton.js +1 -1
  361. package/vue/chunks/UiFormField.js +1 -1
  362. package/vue/chunks/UiGrid.js +1 -1
  363. package/vue/chunks/UiIcon.js +1 -1
  364. package/vue/chunks/UiIconButton.js +25 -11
  365. package/vue/chunks/UiInput.js +1 -1
  366. package/vue/chunks/UiInputGroup.js +1 -1
  367. package/vue/chunks/UiList.js +1 -1
  368. package/vue/chunks/UiListItem.js +1 -1
  369. package/vue/chunks/UiListbox.js +29 -15
  370. package/vue/chunks/UiMenu.js +1 -1
  371. package/vue/chunks/UiMenuGroup.js +1 -1
  372. package/vue/chunks/UiMenuItem.js +23 -9
  373. package/vue/chunks/UiMeter.js +373 -37
  374. package/vue/chunks/UiNavItem.js +67 -39
  375. package/vue/chunks/UiPageHeader.js +1 -1
  376. package/vue/chunks/UiPopover.js +1 -1
  377. package/vue/chunks/UiRadio.js +6 -1
  378. package/vue/chunks/UiRadioGroup.js +1 -1
  379. package/vue/chunks/UiReel.js +1 -1
  380. package/vue/chunks/UiScrollArea.js +1 -1
  381. package/vue/chunks/UiSearchResultRow.js +1 -1
  382. package/vue/chunks/UiSearchShell.js +1 -1
  383. package/vue/chunks/UiSection.js +1 -1
  384. package/vue/chunks/UiSelect.js +1 -1
  385. package/vue/chunks/UiSeparator.js +1 -1
  386. package/vue/chunks/UiSidebar.js +1 -1
  387. package/vue/chunks/UiSpinner.js +75 -36
  388. package/vue/chunks/UiStack.js +1 -1
  389. package/vue/chunks/UiStatusMessage.js +21 -6
  390. package/vue/chunks/UiSwitch.js +6 -1
  391. package/vue/chunks/UiSwitcher.js +1 -1
  392. package/vue/chunks/UiTable.js +1 -1
  393. package/vue/chunks/UiTabs.js +8 -2
  394. package/vue/chunks/UiText.js +1 -1
  395. package/vue/chunks/UiTextarea.js +1 -1
  396. package/vue/chunks/UiToast.js +1 -1
  397. package/vue/chunks/UiToastRegion.js +8 -2
  398. package/vue/chunks/UiTooltip.js +1 -1
  399. package/vue/chunks/UiTopBar.js +1 -1
  400. package/vue/chunks/UiTree.js +1 -1
  401. package/vue/chunks/UiTreeItem.js +52 -19
  402. package/vue/chunks/props.js +11 -6
  403. package/vue/components.css +1302 -1302
  404. package/vue/editor/index.js +21 -10
  405. package/vue/host.ts +15 -3
package/vue/UiNavItem.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -183,6 +183,82 @@ const hydrationInstance = getCurrentInstance()
183
183
  const rootArmElement = useTemplateRef<HTMLElement>('@html-next/root')
184
184
  const root = rootArmElement
185
185
  preserveRootFocus(root)
186
+ let guardedPrevious: any = null
187
+ const guarded = computed(() => {
188
+ const candidate: any = ((objectValue: any, indexValue: any) =>
189
+ objectValue === Symbol.for('html-next.invalid-result')
190
+ || indexValue === Symbol.for('html-next.invalid-result')
191
+ ? Symbol.for('html-next.invalid-result')
192
+ : objectValue[indexValue])(
193
+ { true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
194
+ concat(checkedProps.value.current),
195
+ )
196
+ if (candidate === Symbol.for('html-next.invalid-result')) {
197
+ return guardedPrevious
198
+ }
199
+ return guardedPrevious = typeof (((objectValue: any, indexValue: any) =>
200
+ objectValue === Symbol.for('html-next.invalid-result')
201
+ || indexValue === Symbol.for('html-next.invalid-result')
202
+ ? Symbol.for('html-next.invalid-result')
203
+ : objectValue[indexValue])(
204
+ { true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
205
+ concat(checkedProps.value.current),
206
+ )) === 'boolean'
207
+ ? String(((objectValue: any, indexValue: any) =>
208
+ objectValue === Symbol.for('html-next.invalid-result')
209
+ || indexValue === Symbol.for('html-next.invalid-result')
210
+ ? Symbol.for('html-next.invalid-result')
211
+ : objectValue[indexValue])(
212
+ { true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
213
+ concat(checkedProps.value.current),
214
+ ))
215
+ : attribute(((objectValue: any, indexValue: any) =>
216
+ objectValue === Symbol.for('html-next.invalid-result')
217
+ || indexValue === Symbol.for('html-next.invalid-result')
218
+ ? Symbol.for('html-next.invalid-result')
219
+ : objectValue[indexValue])(
220
+ { true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
221
+ concat(checkedProps.value.current),
222
+ ))
223
+ })
224
+ let guardedBindingPrevious: any = null
225
+ const guardedBinding = computed(() => {
226
+ const candidate: any = ((objectValue: any, indexValue: any) =>
227
+ objectValue === Symbol.for('html-next.invalid-result')
228
+ || indexValue === Symbol.for('html-next.invalid-result')
229
+ ? Symbol.for('html-next.invalid-result')
230
+ : objectValue[indexValue])(
231
+ { true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
232
+ concat(checkedProps.value.current),
233
+ )
234
+ if (candidate === Symbol.for('html-next.invalid-result')) {
235
+ return guardedBindingPrevious
236
+ }
237
+ return guardedBindingPrevious = typeof (((objectValue: any, indexValue: any) =>
238
+ objectValue === Symbol.for('html-next.invalid-result')
239
+ || indexValue === Symbol.for('html-next.invalid-result')
240
+ ? Symbol.for('html-next.invalid-result')
241
+ : objectValue[indexValue])(
242
+ { true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
243
+ concat(checkedProps.value.current),
244
+ )) === 'boolean'
245
+ ? String(((objectValue: any, indexValue: any) =>
246
+ objectValue === Symbol.for('html-next.invalid-result')
247
+ || indexValue === Symbol.for('html-next.invalid-result')
248
+ ? Symbol.for('html-next.invalid-result')
249
+ : objectValue[indexValue])(
250
+ { true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
251
+ concat(checkedProps.value.current),
252
+ ))
253
+ : attribute(((objectValue: any, indexValue: any) =>
254
+ objectValue === Symbol.for('html-next.invalid-result')
255
+ || indexValue === Symbol.for('html-next.invalid-result')
256
+ ? Symbol.for('html-next.invalid-result')
257
+ : objectValue[indexValue])(
258
+ { true: 'page', false: null, page: 'page', step: 'step', location: 'location' },
259
+ concat(checkedProps.value.current),
260
+ ))
261
+ })
186
262
  const hydrationNode = hydrationInstance?.vnode.el
187
263
  if (
188
264
  typeof window !== 'undefined' && hydrationNode != null
@@ -225,6 +301,24 @@ function attribute(value: unknown): any {
225
301
  ) return undefined
226
302
  return value === true ? '' : text(value)
227
303
  }
304
+
305
+ // A nonempty scalar call cannot produce the invalid-result sentinel.
306
+ type ConcatResult<T extends unknown[]> = T extends
307
+ [
308
+ string | number | boolean | null | undefined,
309
+ ...(string | number | boolean | null | undefined)[],
310
+ ] ? string | undefined
311
+ : string | symbol | undefined
312
+ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
313
+ if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
314
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
315
+ }
316
+ if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
317
+ if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
318
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
319
+ }
320
+ return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
321
+ }
228
322
  </script>
229
323
 
230
324
  <template>
@@ -235,25 +329,7 @@ function attribute(value: unknown): any {
235
329
  :href="checkedProps.href ?? undefined"
236
330
  :target="checkedProps.target ?? undefined"
237
331
  :rel="checkedProps.rel ?? undefined"
238
- :aria-current="typeof ((({
239
- true: 'page',
240
- false: null,
241
- page: 'page',
242
- step: 'step',
243
- location: 'location',
244
- }) as Record<string, any>)[`${checkedProps.current ?? ''}`]) === 'boolean'
245
- ? String(
246
- (({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }) as Record<
247
- string,
248
- any
249
- >)[`${checkedProps.current ?? ''}`],
250
- )
251
- : attribute(
252
- (({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }) as Record<
253
- string,
254
- any
255
- >)[`${checkedProps.current ?? ''}`],
256
- )"
332
+ :aria-current="guarded"
257
333
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
258
334
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
259
335
  :data-current="reflectedProp('current', 'current', checkedProps.current, undefined, false)"
@@ -274,25 +350,7 @@ function attribute(value: unknown): any {
274
350
  data-component="ui-nav-item"
275
351
  type="button"
276
352
  v-bind="nativeAttrs($attrs)"
277
- :aria-current="typeof ((({
278
- true: 'page',
279
- false: null,
280
- page: 'page',
281
- step: 'step',
282
- location: 'location',
283
- }) as Record<string, any>)[`${checkedProps.current ?? ''}`]) === 'boolean'
284
- ? String(
285
- (({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }) as Record<
286
- string,
287
- any
288
- >)[`${checkedProps.current ?? ''}`],
289
- )
290
- : attribute(
291
- (({ true: 'page', false: null, page: 'page', step: 'step', location: 'location' }) as Record<
292
- string,
293
- any
294
- >)[`${checkedProps.current ?? ''}`],
295
- )"
353
+ :aria-current="guardedBinding"
296
354
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
297
355
  :data-as="reflectedProp('as', 'as', checkedProps.as, undefined, false)"
298
356
  :data-current="reflectedProp('current', 'current', checkedProps.current, undefined, false)"
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiPopover.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiRadio.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -176,6 +176,13 @@ const root = ref<HTMLElement | null>(null)
176
176
  const inputElement = useTemplateRef<HTMLElement>('input')
177
177
  const descriptionElement = useTemplateRef<HTMLElement>('description')
178
178
  const internalChecked = ref(false)
179
+ let guardedPrevious: any
180
+ const guarded = computed(() => {
181
+ if (!(internalChecked.value == null || typeof internalChecked.value === 'boolean')) {
182
+ return guardedPrevious
183
+ }
184
+ return guardedPrevious = internalChecked.value
185
+ })
179
186
  provide('html-next:ui-radio:internalChecked', internalChecked)
180
187
  const hydrationNode = hydrationInstance?.vnode.el
181
188
  if (
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiReel.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiSection.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiSelect.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiSidebar.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiSpinner.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -85,6 +85,142 @@ function reflectedProp(
85
85
  }
86
86
  const hydrationInstance = getCurrentInstance()
87
87
 
88
+ let guardedPrevious: any = null
89
+ const guarded = computed(() => {
90
+ const candidate: any = ((objectValue: any, indexValue: any) =>
91
+ objectValue === Symbol.for('html-next.invalid-result')
92
+ || indexValue === Symbol.for('html-next.invalid-result')
93
+ ? Symbol.for('html-next.invalid-result')
94
+ : objectValue[indexValue])(
95
+ { true: 'status', false: null },
96
+ concat(checkedProps.value.label !== ''),
97
+ )
98
+ if (candidate === Symbol.for('html-next.invalid-result')) {
99
+ return guardedPrevious
100
+ }
101
+ return guardedPrevious = attribute(((objectValue: any, indexValue: any) =>
102
+ objectValue === Symbol.for('html-next.invalid-result')
103
+ || indexValue === Symbol.for('html-next.invalid-result')
104
+ ? Symbol.for('html-next.invalid-result')
105
+ : objectValue[indexValue])(
106
+ { true: 'status', false: null },
107
+ concat(checkedProps.value.label !== ''),
108
+ ))
109
+ })
110
+ let guardedBindingPrevious: any = null
111
+ const guardedBinding = computed(() => {
112
+ const candidate: any = ((objectValue: any, indexValue: any) =>
113
+ objectValue === Symbol.for('html-next.invalid-result')
114
+ || indexValue === Symbol.for('html-next.invalid-result')
115
+ ? Symbol.for('html-next.invalid-result')
116
+ : objectValue[indexValue])(
117
+ { true: checkedProps.value.label, false: null },
118
+ concat(checkedProps.value.label !== ''),
119
+ )
120
+ if (candidate === Symbol.for('html-next.invalid-result')) {
121
+ return guardedBindingPrevious
122
+ }
123
+ return guardedBindingPrevious = typeof (((objectValue: any, indexValue: any) =>
124
+ objectValue === Symbol.for('html-next.invalid-result')
125
+ || indexValue === Symbol.for('html-next.invalid-result')
126
+ ? Symbol.for('html-next.invalid-result')
127
+ : objectValue[indexValue])(
128
+ { true: checkedProps.value.label, false: null },
129
+ concat(checkedProps.value.label !== ''),
130
+ )) === 'boolean'
131
+ ? String(((objectValue: any, indexValue: any) =>
132
+ objectValue === Symbol.for('html-next.invalid-result')
133
+ || indexValue === Symbol.for('html-next.invalid-result')
134
+ ? Symbol.for('html-next.invalid-result')
135
+ : objectValue[indexValue])(
136
+ { true: checkedProps.value.label, false: null },
137
+ concat(checkedProps.value.label !== ''),
138
+ ))
139
+ : attribute(((objectValue: any, indexValue: any) =>
140
+ objectValue === Symbol.for('html-next.invalid-result')
141
+ || indexValue === Symbol.for('html-next.invalid-result')
142
+ ? Symbol.for('html-next.invalid-result')
143
+ : objectValue[indexValue])(
144
+ { true: checkedProps.value.label, false: null },
145
+ concat(checkedProps.value.label !== ''),
146
+ ))
147
+ })
148
+ let guardedBinding2Previous: any = null
149
+ const guardedBinding2 = computed(() => {
150
+ const candidate: any = ((objectValue: any, indexValue: any) =>
151
+ objectValue === Symbol.for('html-next.invalid-result')
152
+ || indexValue === Symbol.for('html-next.invalid-result')
153
+ ? Symbol.for('html-next.invalid-result')
154
+ : objectValue[indexValue])(
155
+ { true: 'polite', false: null },
156
+ concat(checkedProps.value.label !== ''),
157
+ )
158
+ if (candidate === Symbol.for('html-next.invalid-result')) {
159
+ return guardedBinding2Previous
160
+ }
161
+ return guardedBinding2Previous = typeof (((objectValue: any, indexValue: any) =>
162
+ objectValue === Symbol.for('html-next.invalid-result')
163
+ || indexValue === Symbol.for('html-next.invalid-result')
164
+ ? Symbol.for('html-next.invalid-result')
165
+ : objectValue[indexValue])(
166
+ { true: 'polite', false: null },
167
+ concat(checkedProps.value.label !== ''),
168
+ )) === 'boolean'
169
+ ? String(((objectValue: any, indexValue: any) =>
170
+ objectValue === Symbol.for('html-next.invalid-result')
171
+ || indexValue === Symbol.for('html-next.invalid-result')
172
+ ? Symbol.for('html-next.invalid-result')
173
+ : objectValue[indexValue])(
174
+ { true: 'polite', false: null },
175
+ concat(checkedProps.value.label !== ''),
176
+ ))
177
+ : attribute(((objectValue: any, indexValue: any) =>
178
+ objectValue === Symbol.for('html-next.invalid-result')
179
+ || indexValue === Symbol.for('html-next.invalid-result')
180
+ ? Symbol.for('html-next.invalid-result')
181
+ : objectValue[indexValue])(
182
+ { true: 'polite', false: null },
183
+ concat(checkedProps.value.label !== ''),
184
+ ))
185
+ })
186
+ let guardedBinding3Previous: any = null
187
+ const guardedBinding3 = computed(() => {
188
+ const candidate: any = ((objectValue: any, indexValue: any) =>
189
+ objectValue === Symbol.for('html-next.invalid-result')
190
+ || indexValue === Symbol.for('html-next.invalid-result')
191
+ ? Symbol.for('html-next.invalid-result')
192
+ : objectValue[indexValue])(
193
+ { true: null, false: 'true' },
194
+ concat(checkedProps.value.label !== ''),
195
+ )
196
+ if (candidate === Symbol.for('html-next.invalid-result')) {
197
+ return guardedBinding3Previous
198
+ }
199
+ return guardedBinding3Previous = typeof (((objectValue: any, indexValue: any) =>
200
+ objectValue === Symbol.for('html-next.invalid-result')
201
+ || indexValue === Symbol.for('html-next.invalid-result')
202
+ ? Symbol.for('html-next.invalid-result')
203
+ : objectValue[indexValue])(
204
+ { true: null, false: 'true' },
205
+ concat(checkedProps.value.label !== ''),
206
+ )) === 'boolean'
207
+ ? String(((objectValue: any, indexValue: any) =>
208
+ objectValue === Symbol.for('html-next.invalid-result')
209
+ || indexValue === Symbol.for('html-next.invalid-result')
210
+ ? Symbol.for('html-next.invalid-result')
211
+ : objectValue[indexValue])(
212
+ { true: null, false: 'true' },
213
+ concat(checkedProps.value.label !== ''),
214
+ ))
215
+ : attribute(((objectValue: any, indexValue: any) =>
216
+ objectValue === Symbol.for('html-next.invalid-result')
217
+ || indexValue === Symbol.for('html-next.invalid-result')
218
+ ? Symbol.for('html-next.invalid-result')
219
+ : objectValue[indexValue])(
220
+ { true: null, false: 'true' },
221
+ concat(checkedProps.value.label !== ''),
222
+ ))
223
+ })
88
224
  const hydrationNode = hydrationInstance?.vnode.el
89
225
  if (
90
226
  typeof window !== 'undefined' && hydrationNode != null
@@ -122,6 +258,24 @@ function attribute(value: unknown): any {
122
258
  ) return undefined
123
259
  return value === true ? '' : text(value)
124
260
  }
261
+
262
+ // A nonempty scalar call cannot produce the invalid-result sentinel.
263
+ type ConcatResult<T extends unknown[]> = T extends
264
+ [
265
+ string | number | boolean | null | undefined,
266
+ ...(string | number | boolean | null | undefined)[],
267
+ ] ? string | undefined
268
+ : string | symbol | undefined
269
+ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
270
+ if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
271
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
272
+ }
273
+ if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
274
+ if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
275
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
276
+ }
277
+ return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
278
+ }
125
279
  </script>
126
280
 
127
281
  <template>
@@ -129,36 +283,10 @@ function attribute(value: unknown): any {
129
283
  data-component="ui-spinner"
130
284
  class="ring"
131
285
  v-bind="nativeAttrs($attrs)"
132
- :role="attribute(
133
- (({ true: 'status', false: null }) as Record<string, any>)[`${checkedProps.label !== ''}`],
134
- )"
135
- :aria-label="typeof ((({ true: checkedProps.label, false: null }) as Record<string, any>)[
136
- `${checkedProps.label !== ''}`
137
- ]) === 'boolean'
138
- ? String(
139
- (({ true: checkedProps.label, false: null }) as Record<string, any>)[
140
- `${checkedProps.label !== ''}`
141
- ],
142
- )
143
- : attribute(
144
- (({ true: checkedProps.label, false: null }) as Record<string, any>)[
145
- `${checkedProps.label !== ''}`
146
- ],
147
- )"
148
- :aria-live="typeof ((({ true: 'polite', false: null }) as Record<string, any>)[`${checkedProps.label !== ''}`])
149
- === 'boolean'
150
- ? String(
151
- (({ true: 'polite', false: null }) as Record<string, any>)[`${checkedProps.label !== ''}`],
152
- )
153
- : attribute(
154
- (({ true: 'polite', false: null }) as Record<string, any>)[`${checkedProps.label !== ''}`],
155
- )"
156
- :aria-hidden="typeof ((({ true: null, false: 'true' }) as Record<string, any>)[`${checkedProps.label !== ''}`])
157
- === 'boolean'
158
- ? String((({ true: null, false: 'true' }) as Record<string, any>)[`${checkedProps.label !== ''}`])
159
- : attribute(
160
- (({ true: null, false: 'true' }) as Record<string, any>)[`${checkedProps.label !== ''}`],
161
- )"
286
+ :role="guarded"
287
+ :aria-label="guardedBinding"
288
+ :aria-live="guardedBinding2"
289
+ :aria-hidden="guardedBinding3"
162
290
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
163
291
  :data-label="reflectedProp('label', 'label', checkedProps.label, undefined, false)"
164
292
  :data-size="reflectedProp('size', 'size', checkedProps.size, undefined, false)"
package/vue/UiStack.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -109,6 +109,28 @@ function reflectedProp(
109
109
  }
110
110
  const hydrationInstance = getCurrentInstance()
111
111
 
112
+ let guardedPrevious: any = null
113
+ const guarded = computed(() => {
114
+ const candidate: any = ((objectValue: any, indexValue: any) =>
115
+ objectValue === Symbol.for('html-next.invalid-result')
116
+ || indexValue === Symbol.for('html-next.invalid-result')
117
+ ? Symbol.for('html-next.invalid-result')
118
+ : objectValue[indexValue])(
119
+ { true: 'alert', false: 'status' },
120
+ concat(checkedProps.value.kind === 'error'),
121
+ )
122
+ if (candidate === Symbol.for('html-next.invalid-result')) {
123
+ return guardedPrevious
124
+ }
125
+ return guardedPrevious = attribute(((objectValue: any, indexValue: any) =>
126
+ objectValue === Symbol.for('html-next.invalid-result')
127
+ || indexValue === Symbol.for('html-next.invalid-result')
128
+ ? Symbol.for('html-next.invalid-result')
129
+ : objectValue[indexValue])(
130
+ { true: 'alert', false: 'status' },
131
+ concat(checkedProps.value.kind === 'error'),
132
+ ))
133
+ })
112
134
  const hydrationNode = hydrationInstance?.vnode.el
113
135
  if (
114
136
  typeof window !== 'undefined' && hydrationNode != null
@@ -148,15 +170,31 @@ function attribute(value: unknown): any {
148
170
  ) return undefined
149
171
  return value === true ? '' : text(value)
150
172
  }
173
+
174
+ // A nonempty scalar call cannot produce the invalid-result sentinel.
175
+ type ConcatResult<T extends unknown[]> = T extends
176
+ [
177
+ string | number | boolean | null | undefined,
178
+ ...(string | number | boolean | null | undefined)[],
179
+ ] ? string | undefined
180
+ : string | symbol | undefined
181
+ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
182
+ if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
183
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
184
+ }
185
+ if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
186
+ if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
187
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
188
+ }
189
+ return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
190
+ }
151
191
  </script>
152
192
 
153
193
  <template>
154
194
  <div
155
195
  data-component="ui-status-message"
156
196
  v-bind="nativeAttrs($attrs)"
157
- :role="attribute(
158
- (({ true: 'alert', false: 'status' }) as Record<string, any>)[`${checkedProps.kind === 'error'}`],
159
- )"
197
+ :role="guarded"
160
198
  v-prop-validity="{ contract: propValidityContract, values: { ...props } }"
161
199
  :data-heading="reflectedProp('heading', 'heading', checkedProps.heading, undefined, false)"
162
200
  :data-kind="reflectedProp('kind', 'kind', checkedProps.kind, undefined, false)"
package/vue/UiSwitch.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -175,6 +175,13 @@ const root = ref<HTMLElement | null>(null)
175
175
  const inputElement = useTemplateRef<HTMLElement>('input')
176
176
  const descriptionElement = useTemplateRef<HTMLElement>('description')
177
177
  const internalChecked = ref(false)
178
+ let guardedPrevious: any
179
+ const guarded = computed(() => {
180
+ if (!(internalChecked.value == null || typeof internalChecked.value === 'boolean')) {
181
+ return guardedPrevious
182
+ }
183
+ return guardedPrevious = internalChecked.value
184
+ })
178
185
  provide('html-next:ui-switch:internalChecked', internalChecked)
179
186
  const hydrationNode = hydrationInstance?.vnode.el
180
187
  if (
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, provide, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiTable.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
package/vue/UiTabs.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import {
4
4
  computed,
@@ -290,6 +290,24 @@ function text(value: unknown): string {
290
290
  return value === null || value === undefined || typeof value === 'object' ? '' : String(value)
291
291
  }
292
292
 
293
+ // A nonempty scalar call cannot produce the invalid-result sentinel.
294
+ type ConcatResult<T extends unknown[]> = T extends
295
+ [
296
+ string | number | boolean | null | undefined,
297
+ ...(string | number | boolean | null | undefined)[],
298
+ ] ? string | undefined
299
+ : string | symbol | undefined
300
+ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
301
+ if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
302
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
303
+ }
304
+ if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
305
+ if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
306
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
307
+ }
308
+ return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
309
+ }
310
+
293
311
  function uniqueKeys<T>(
294
312
  items: readonly T[],
295
313
  keyOf: (
@@ -345,7 +363,7 @@ function uniqueKeys<T>(
345
363
  :key="tab.id"
346
364
  type="button"
347
365
  role="tab"
348
- :id="`${tab.id}-tab`"
366
+ :id="concat(tab.id, '-tab')"
349
367
  :value="tab.id"
350
368
  :aria-controls="tab.id"
351
369
  :aria-selected="tab.id === internalValue"
package/vue/UiText.d.ts CHANGED
@@ -106,7 +106,7 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
106
106
  as: "div" | "h2" | "h3" | "h4" | "h5" | "h6" | "label" | "p" | "small" | "span" | "strong" | null;
107
107
  wrap: "normal" | "anywhere" | null;
108
108
  truncate: boolean | null;
109
- weight: "inherit" | "normal" | "medium" | "semibold" | null;
109
+ weight: "inherit" | "medium" | "normal" | "semibold" | null;
110
110
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
111
111
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
112
112
  declare const _default: typeof __VLS_export;
package/vue/UiText.vue CHANGED
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, useTemplateRef, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'
@@ -1,4 +1,4 @@
1
- <!-- Generated by HTML Next 1.0.0-alpha.19 for Vue 3.5. Do not edit. -->
1
+ <!-- Generated by HTML Next 1.0.0-alpha.25 for Vue 3.5. Do not edit. -->
2
2
  <script setup lang="ts">
3
3
  import { computed, getCurrentInstance, ref, watchSyncEffect } from 'vue'
4
4
  import type { PropType } from 'vue'