@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
@@ -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,
@@ -891,77 +891,178 @@ const createIndex = ref(0)
891
891
  const message = ref('')
892
892
  const statusText = ref('')
893
893
  const validationStatus = ref('pristine')
894
- let guardedPrevious: any
894
+ let guardedPrevious: any = null
895
895
  const guarded = computed(() => {
896
- if (!(expanded.value == null || typeof expanded.value === 'boolean')) return guardedPrevious
897
- return guardedPrevious = expanded.value
896
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedPrevious
897
+ const candidate: any = concat(uid.value, '-input')
898
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedPrevious
899
+ return guardedPrevious = candidate
898
900
  })
899
- let guardedBindingPrevious: any
901
+ let guardedBindingPrevious: any = null
900
902
  const guardedBinding = computed(() => {
903
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedBindingPrevious
904
+ const candidate: any = concat(uid.value, '-input')
905
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBindingPrevious
906
+ return guardedBindingPrevious = candidate
907
+ })
908
+ let guardedBinding2Previous: any = null
909
+ const guardedBinding2 = computed(() => {
910
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedBinding2Previous
911
+ const candidate: any = concat(uid.value, '-listbox')
912
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding2Previous
913
+ return guardedBinding2Previous = candidate
914
+ })
915
+ let guardedBinding3Previous: any
916
+ const guardedBinding3 = computed(() => {
917
+ if (!(expanded.value == null || typeof expanded.value === 'boolean')) {
918
+ return guardedBinding3Previous
919
+ }
920
+ return guardedBinding3Previous = expanded.value
921
+ })
922
+ let guardedBinding4Previous: any
923
+ const guardedBinding4 = computed(() => {
901
924
  if (!(validationStatus.value == null || typeof validationStatus.value === 'string')) {
902
- return guardedBindingPrevious
925
+ return guardedBinding4Previous
903
926
  }
904
- return guardedBindingPrevious = checkedProps.value.invalid || validationStatus.value === 'error'
927
+ return guardedBinding4Previous = checkedProps.value.invalid || validationStatus.value === 'error'
905
928
  })
906
- let guardedBinding2Previous: any
907
- const guardedBinding2 = computed(() => {
929
+ let guardedBinding5Previous: any
930
+ const guardedBinding5 = computed(() => {
908
931
  if (!(validationStatus.value == null || typeof validationStatus.value === 'string')) {
909
- return guardedBinding2Previous
932
+ return guardedBinding5Previous
910
933
  }
911
- return guardedBinding2Previous = checkedProps.value.loading
934
+ return guardedBinding5Previous = checkedProps.value.loading
912
935
  || validationStatus.value === 'pending'
913
936
  })
914
- let guardedBinding3Previous: any
915
- const guardedBinding3 = computed(() => {
937
+ let guardedBinding6Previous: any
938
+ const guardedBinding6 = computed(() => {
939
+ if (!(display.value == null || typeof display.value === 'string')) return guardedBinding6Previous
940
+ return guardedBinding6Previous = display.value
941
+ })
942
+ let guardedBinding7Previous: any
943
+ const guardedBinding7 = computed(() => {
916
944
  if (
917
945
  !(internalItems.value?.['0'] == null
918
946
  || (typeof internalItems.value?.['0'] === 'object' && internalItems.value?.['0'] !== null
919
947
  && !Array.isArray(internalItems.value?.['0'])))
920
- ) return guardedBinding3Previous
921
- return guardedBinding3Previous = checkedProps.value.required
948
+ ) return guardedBinding7Previous
949
+ return guardedBinding7Previous = checkedProps.value.required
922
950
  && !(checkedProps.value.multiple && internalItems.value[0])
923
951
  })
924
- let guardedBinding4Previous: any
925
- const guardedBinding4 = computed(() => {
952
+ let guardedBinding8Previous: any
953
+ const guardedBinding8 = computed(() => {
926
954
  if (!(submitted.value == null || typeof submitted.value === 'string')) {
927
- return guardedBinding4Previous
955
+ return guardedBinding8Previous
928
956
  }
929
- return guardedBinding4Previous = submitted.value
957
+ return guardedBinding8Previous = submitted.value
930
958
  })
931
- let guardedBinding5Previous: any
932
- const guardedBinding5 = computed(() => {
959
+ let guardedBinding9Previous: any
960
+ const guardedBinding9 = computed(() => {
933
961
  if (
934
962
  !((raw.value == null || typeof raw.value === 'string')
935
963
  && (selected.value == null || typeof selected.value === 'string'))
936
- ) return guardedBinding5Previous
937
- return guardedBinding5Previous = checkedProps.value.disabled || checkedProps.value.readonly
964
+ ) return guardedBinding9Previous
965
+ return guardedBinding9Previous = checkedProps.value.disabled || checkedProps.value.readonly
938
966
  || (!raw.value && (checkedProps.value.multiple || selected.value === null))
939
967
  })
940
- let guardedBinding6Previous: any
941
- const guardedBinding6 = computed(() => {
968
+ let guardedBinding10Previous: any = null
969
+ const guardedBinding10 = computed(() => {
970
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedBinding10Previous
971
+ const candidate: any = concat(uid.value, '-listbox')
972
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding10Previous
973
+ return guardedBinding10Previous = candidate
974
+ })
975
+ let guardedBinding11Previous: any = null
976
+ const guardedBinding11 = computed(() => {
977
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedBinding11Previous
978
+ const candidate: any = concat(uid.value, '-help')
979
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding11Previous
980
+ return guardedBinding11Previous = candidate
981
+ })
982
+ let guardedBinding12Previous: any = null
983
+ const guardedBinding12 = computed(() => {
984
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedBinding12Previous
985
+ const candidate: any = concat(uid.value, '-help-text')
986
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding12Previous
987
+ return guardedBinding12Previous = candidate
988
+ })
989
+ let guardedBinding13Previous: any = null
990
+ const guardedBinding13 = computed(() => {
991
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedBinding13Previous
992
+ const candidate: any = concat(uid.value, '-help')
993
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding13Previous
994
+ return guardedBinding13Previous = candidate
995
+ })
996
+ let guardedBinding14Previous: any
997
+ const guardedBinding14 = computed(() => {
942
998
  if (!(expanded.value == null || typeof expanded.value === 'boolean')) {
943
- return guardedBinding6Previous
999
+ return guardedBinding14Previous
944
1000
  }
945
- return guardedBinding6Previous = !expanded.value
1001
+ return guardedBinding14Previous = !expanded.value
946
1002
  })
947
- let guardedBinding7Previous: any
948
- const guardedBinding7 = computed(() => {
1003
+ let guardedBinding15Previous: any = null
1004
+ const guardedBinding15 = computed(() => {
1005
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedBinding15Previous
1006
+ const candidate: any = concat(uid.value, '-listbox')
1007
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding15Previous
1008
+ return guardedBinding15Previous = candidate
1009
+ })
1010
+ let guardedBinding16Previous: any = null
1011
+ const guardedBinding16 = computed(() => {
1012
+ const candidate: any = concat(checkedProps.value.label, ' suggestions')
1013
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding16Previous
1014
+ return guardedBinding16Previous = candidate
1015
+ })
1016
+ let guardedBinding17Previous: any
1017
+ const guardedBinding17 = computed(() => {
1018
+ if (
1019
+ !((active.value == null || Number.isInteger(active.value))
1020
+ && (createIndex.value == null || Number.isInteger(createIndex.value)))
1021
+ ) return guardedBinding17Previous
1022
+ return guardedBinding17Previous = createIndex.value === active.value
1023
+ })
1024
+ let guardedBinding18Previous: any = null
1025
+ const guardedBinding18 = computed(() => {
1026
+ if (
1027
+ !((createIndex.value == null || Number.isInteger(createIndex.value))
1028
+ && (uid.value == null || typeof uid.value === 'string'))
1029
+ ) return guardedBinding18Previous
1030
+ const candidate: any = concat(uid.value, '-option-', createIndex.value)
1031
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding18Previous
1032
+ return guardedBinding18Previous = candidate
1033
+ })
1034
+ let guardedBinding19Previous: any
1035
+ const guardedBinding19 = computed(() => {
949
1036
  if (!(createIndex.value == null || Number.isInteger(createIndex.value))) {
950
- return guardedBinding7Previous
1037
+ return guardedBinding19Previous
951
1038
  }
952
- return guardedBinding7Previous = createIndex.value
1039
+ return guardedBinding19Previous = createIndex.value
953
1040
  })
954
- let guardedBinding8Previous: any
955
- const guardedBinding8 = computed(() => {
956
- if (!(message.value == null || typeof message.value === 'string')) return guardedBinding8Previous
957
- return guardedBinding8Previous = message.value
1041
+ let guardedBinding20Previous: any = null
1042
+ const guardedBinding20 = computed(() => {
1043
+ if (!(raw.value == null || typeof raw.value === 'string')) return guardedBinding20Previous
1044
+ const candidate: any = concat('Create “', raw.value, '”')
1045
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding20Previous
1046
+ return guardedBinding20Previous = candidate
958
1047
  })
959
- let guardedBinding9Previous: any
960
- const guardedBinding9 = computed(() => {
1048
+ let guardedBinding21Previous: any
1049
+ const guardedBinding21 = computed(() => {
1050
+ if (!(message.value == null || typeof message.value === 'string')) return guardedBinding21Previous
1051
+ return guardedBinding21Previous = message.value
1052
+ })
1053
+ let guardedBinding22Previous: any = null
1054
+ const guardedBinding22 = computed(() => {
1055
+ if (!(uid.value == null || typeof uid.value === 'string')) return guardedBinding22Previous
1056
+ const candidate: any = concat(uid.value, '-validation')
1057
+ if (candidate === Symbol.for('html-next.invalid-result')) return guardedBinding22Previous
1058
+ return guardedBinding22Previous = candidate
1059
+ })
1060
+ let guardedBinding23Previous: any
1061
+ const guardedBinding23 = computed(() => {
961
1062
  if (!(statusText.value == null || typeof statusText.value === 'string')) {
962
- return guardedBinding9Previous
1063
+ return guardedBinding23Previous
963
1064
  }
964
- return guardedBinding9Previous = statusText.value
1065
+ return guardedBinding23Previous = statusText.value
965
1066
  })
966
1067
  provide('html-next:ui-combobox:internalItems', internalItems)
967
1068
  provide('html-next:ui-combobox:raw', raw)
@@ -1403,6 +1504,24 @@ function text(value: unknown): string {
1403
1504
  return value === null || value === undefined || typeof value === 'object' ? '' : String(value)
1404
1505
  }
1405
1506
 
1507
+ // A nonempty scalar call cannot produce the invalid-result sentinel.
1508
+ type ConcatResult<T extends unknown[]> = T extends
1509
+ [
1510
+ string | number | boolean | null | undefined,
1511
+ ...(string | number | boolean | null | undefined)[],
1512
+ ] ? string | undefined
1513
+ : string | symbol | undefined
1514
+ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
1515
+ if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
1516
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
1517
+ }
1518
+ if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
1519
+ if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
1520
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
1521
+ }
1522
+ return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
1523
+ }
1524
+
1406
1525
  function uniqueKeys<T>(
1407
1526
  items: readonly T[],
1408
1527
  keyOf: (
@@ -1465,11 +1584,9 @@ function uniqueKeys<T>(
1465
1584
  :data-ui-combobox-state="hostState || undefined"
1466
1585
  ref="root"
1467
1586
  >
1468
- <label
1469
- :for="`${uid}-input`"
1470
- :class="{ 'sr-only': checkedProps.labelVisibility === 'sr-only' }"
1471
- >{{ checkedProps.label }}
1472
- <template v-if="checkedProps.required">
1587
+ <label :for="guarded" :class="{ 'sr-only': checkedProps.labelVisibility === 'sr-only' }">{{
1588
+ checkedProps.label
1589
+ }}<template v-if="checkedProps.required">
1473
1590
  *</template></label>
1474
1591
  <div class="control">
1475
1592
  <div class="field" ref="field">
@@ -1483,24 +1600,24 @@ function uniqueKeys<T>(
1483
1600
  tabindex="-1"
1484
1601
  :data-index="index"
1485
1602
  :disabled="checkedProps.disabled || checkedProps.readonly || item.disabled"
1486
- :aria-label="`${item.label}, press Delete or Backspace to remove`"
1603
+ :aria-label="concat(item.label, ', press Delete or Backspace to remove')"
1487
1604
  >
1488
- <slot :name="`item-${item.id}`"><UiBadge>{{ item.label }}</UiBadge></slot>
1605
+ <slot :name="concat('item-', item.id)"><UiBadge>{{ item.label }}</UiBadge></slot>
1489
1606
  </button></KeyedBoundary></template>
1490
1607
  <input
1491
1608
  role="combobox"
1492
1609
  aria-autocomplete="list"
1493
1610
  autocomplete="off"
1494
1611
  v-bind-control="{ tag: 'input', name: 'value', value: display, nativeProperty: true, defaultValue: '' }"
1495
- :id="`${uid}-input`"
1496
- :aria-controls="`${uid}-listbox`"
1497
- :aria-expanded="guarded"
1498
- :aria-invalid="guardedBinding"
1499
- :aria-busy="guardedBinding2"
1612
+ :id="guardedBinding"
1613
+ :aria-controls="guardedBinding2"
1614
+ :aria-expanded="guardedBinding3"
1615
+ :aria-invalid="guardedBinding4"
1616
+ :aria-busy="guardedBinding5"
1500
1617
  :placeholder="checkedProps.placeholder ?? undefined"
1501
1618
  :disabled="checkedProps.disabled ?? undefined"
1502
1619
  :readonly="checkedProps.readonly ?? undefined"
1503
- :required="guardedBinding3"
1620
+ :required="guardedBinding7"
1504
1621
  ref="input"
1505
1622
  >
1506
1623
  </div>
@@ -1508,7 +1625,7 @@ function uniqueKeys<T>(
1508
1625
  v-if="checkedProps.name && !checkedProps.multiple"
1509
1626
  type="hidden"
1510
1627
  :name="checkedProps.name ?? undefined"
1511
- :value.attr="guardedBinding4"
1628
+ :value.attr="guardedBinding8"
1512
1629
  :disabled="checkedProps.disabled ?? undefined"
1513
1630
  >
1514
1631
  <template v-if="checkedProps.name && checkedProps.multiple"><KeyedBoundary><input
@@ -1524,7 +1641,7 @@ function uniqueKeys<T>(
1524
1641
  type="button"
1525
1642
  data-combobox-action="clear"
1526
1643
  aria-label="Clear"
1527
- :disabled="guardedBinding5"
1644
+ :disabled="guardedBinding9"
1528
1645
  >
1529
1646
  <svg
1530
1647
  class="affordance-icon"
@@ -1544,7 +1661,7 @@ function uniqueKeys<T>(
1544
1661
  data-combobox-action="disclosure"
1545
1662
  tabindex="-1"
1546
1663
  aria-label="Show suggestions"
1547
- :aria-controls="`${uid}-listbox`"
1664
+ :aria-controls="guardedBinding10"
1548
1665
  :disabled="checkedProps.disabled || checkedProps.readonly"
1549
1666
  >
1550
1667
  <svg
@@ -1566,7 +1683,7 @@ function uniqueKeys<T>(
1566
1683
  class="help"
1567
1684
  type="button"
1568
1685
  aria-label="Help"
1569
- :id="`${uid}-help`"
1686
+ :id="guardedBinding11"
1570
1687
  :disabled="checkedProps.disabled ?? undefined"
1571
1688
  >
1572
1689
  <svg
@@ -1588,14 +1705,14 @@ function uniqueKeys<T>(
1588
1705
  <UiTooltip
1589
1706
  v-if="checkedProps.help"
1590
1707
  trigger="click"
1591
- :id="`${uid}-help-text`"
1592
- :for="`${uid}-help`"
1708
+ :id="guardedBinding12"
1709
+ :for="guardedBinding13"
1593
1710
  >{{ checkedProps.help }}</UiTooltip>
1594
- <div class="popup" :hidden="guardedBinding6" ref="popup">
1711
+ <div class="popup" :hidden="guardedBinding14" ref="popup">
1595
1712
  <div
1596
1713
  role="listbox"
1597
- :id="`${uid}-listbox`"
1598
- :aria-label="`${checkedProps.label ?? ''} suggestions`"
1714
+ :id="guardedBinding15"
1715
+ :aria-label="guardedBinding16"
1599
1716
  :aria-busy="checkedProps.loading ?? undefined"
1600
1717
  ref="listbox"
1601
1718
  >
@@ -1613,7 +1730,7 @@ function uniqueKeys<T>(
1613
1730
  role="option"
1614
1731
  data-ui-choice-option=""
1615
1732
  :data-multiple="checkedProps.multiple ? '' : undefined"
1616
- :id="`${uid}-option-${row.index}`"
1733
+ :id="concat(uid, '-option-', row.index)"
1617
1734
  :aria-selected="row.selected"
1618
1735
  :aria-disabled="row.disabled"
1619
1736
  :data-index="row.index"
@@ -1621,22 +1738,22 @@ function uniqueKeys<T>(
1621
1738
  :aria-describedby="row.detail ?? undefined"
1622
1739
  :class="{ active: row.index === active }"
1623
1740
  >
1624
- <slot :name="`option-${row.id}`"><span v-if="row.detail" class="detail"><span
1741
+ <slot :name="concat('option-', row.id)"><span v-if="row.detail" class="detail"><span
1625
1742
  class="line"
1626
- ><span class="primary" :id="`${uid}-option-${row.index}-label`">{{
1743
+ ><span class="primary" :id="concat(uid, '-option-', row.index, '-label')">{{
1627
1744
  row.label
1628
1745
  }}</span>
1629
1746
  <UiBadge
1630
1747
  v-if="row.tag"
1631
1748
  :tone="row.tag?.tone"
1632
1749
  :style="{ '--ui-badge-color': row.tag?.color ?? undefined }"
1633
- ><span :id="`${uid}-option-${row.index}-tag`">{{
1750
+ ><span :id="concat(uid, '-option-', row.index, '-tag')">{{
1634
1751
  row.tag?.label
1635
1752
  }}</span></UiBadge></span>
1636
1753
  <span
1637
1754
  v-if="row.description"
1638
1755
  class="description"
1639
- :id="`${uid}-option-${row.index}-description`"
1756
+ :id="concat(uid, '-option-', row.index, '-description')"
1640
1757
  >{{ row.description }}</span></span>
1641
1758
  <span v-if="!row.detail" class="primary">{{ row.label }}</span></slot>
1642
1759
  </div></KeyedBoundary>
@@ -1648,13 +1765,13 @@ function uniqueKeys<T>(
1648
1765
  data-ui-choice-option=""
1649
1766
  aria-selected="false"
1650
1767
  :data-multiple="checkedProps.multiple ? '' : undefined"
1651
- :id="`${uid}-option-${createIndex}`"
1652
- :data-index="guardedBinding7"
1653
- :class="{ active: createIndex === active }"
1768
+ :id="guardedBinding18"
1769
+ :data-index="guardedBinding19"
1770
+ :class="{ active: guardedBinding17 }"
1654
1771
  >
1655
- {{ `Create “${raw}”` }}
1772
+ {{ guardedBinding20 }}
1656
1773
  </div>
1657
- <div v-if="message" class="message">{{ guardedBinding8 }}</div>
1774
+ <div v-if="message" class="message">{{ guardedBinding21 }}</div>
1658
1775
  <div
1659
1776
  v-if="!checkedProps.loading && !(rows[0]) && !creatable && !lookupError"
1660
1777
  class="message"
@@ -1664,13 +1781,13 @@ function uniqueKeys<T>(
1664
1781
  </div>
1665
1782
  <slot name="footer" />
1666
1783
  </div>
1667
- <div class="message" :id="`${uid}-validation`" :hidden="!validation.issues.length">
1784
+ <div class="message" :id="guardedBinding22" :hidden="!validation.issues.length">
1668
1785
  <div v-for="(issue, indexLoop3) in validation.issues" :key="indexLoop3">
1669
1786
  {{ issue.message }}
1670
1787
  </div>
1671
1788
  </div>
1672
1789
  <div class="sr-only" role="status" aria-live="polite" aria-atomic="true">
1673
- {{ guardedBinding9 }}
1790
+ {{ guardedBinding23 }}
1674
1791
  </div>
1675
1792
  <div class="authored-options" hidden="" aria-hidden="true" ref="options"><slot /></div>
1676
1793
  </div>
@@ -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/UiCover.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'
@@ -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/UiDialog.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'
@@ -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'
@@ -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'
@@ -283,10 +283,15 @@ const guarded = computed(() => {
283
283
  })
284
284
  let guardedBindingPrevious: any
285
285
  const guardedBinding = computed(() => {
286
+ if (!(draft.value == null || typeof draft.value === 'string')) return guardedBindingPrevious
287
+ return guardedBindingPrevious = draft.value
288
+ })
289
+ let guardedBinding2Previous: any
290
+ const guardedBinding2 = computed(() => {
286
291
  if (!(internalEdit.value == null || typeof internalEdit.value === 'boolean')) {
287
- return guardedBindingPrevious
292
+ return guardedBinding2Previous
288
293
  }
289
- return guardedBindingPrevious = checkedProps.value.disabled || !internalEdit.value
294
+ return guardedBinding2Previous = checkedProps.value.disabled || !internalEdit.value
290
295
  })
291
296
  provide('html-next:ui-editable:internalEdit', internalEdit)
292
297
  provide('html-next:ui-editable:internalValue', internalValue)
@@ -428,7 +433,7 @@ useComponentHost(() => import('../components/ui-editable/ui-editable.js'), {
428
433
  :aria-label="checkedProps.label ?? undefined"
429
434
  :placeholder="checkedProps.placeholder ?? undefined"
430
435
  :required="checkedProps.required ?? undefined"
431
- :disabled="guardedBinding"
436
+ :disabled="guardedBinding2"
432
437
  ref="input"
433
438
  >
434
439
  </div>
@@ -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,
@@ -177,6 +177,23 @@ const guarded = computed(() => {
177
177
  if (!(hint.value == null || typeof hint.value === 'string')) return guardedPrevious
178
178
  return guardedPrevious = hint.value
179
179
  })
180
+ let guardedBindingPrevious: any
181
+ const guardedBinding = computed(() => {
182
+ if (!(rows.value == null || Number.isInteger(rows.value))) return guardedBindingPrevious
183
+ return guardedBindingPrevious = rows.value
184
+ })
185
+ let guardedBinding2Previous: any
186
+ const guardedBinding2 = computed(() => {
187
+ if (!(cols.value == null || Number.isInteger(cols.value))) return guardedBinding2Previous
188
+ return guardedBinding2Previous = cols.value
189
+ })
190
+ let guardedBinding3Previous: any
191
+ const guardedBinding3 = computed(() => {
192
+ if (!(withHeaderRow.value == null || typeof withHeaderRow.value === 'boolean')) {
193
+ return guardedBinding3Previous
194
+ }
195
+ return guardedBinding3Previous = withHeaderRow.value
196
+ })
180
197
  provide('html-next:ui-editor-insert-table-grid:cells', cells)
181
198
  provide('html-next:ui-editor-insert-table-grid:rows', rows)
182
199
  provide('html-next:ui-editor-insert-table-grid:cols', cols)
@@ -287,7 +304,7 @@ function uniqueKeys<T>(
287
304
  class="grid"
288
305
  role="group"
289
306
  aria-label="Table dimensions"
290
- :style="{ '--_rows': rows, '--_cols': cols }"
307
+ :style="{ '--_rows': guardedBinding, '--_cols': guardedBinding2 }"
291
308
  ref="grid"
292
309
  >
293
310
  <KeyedBoundary><button
@@ -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'
@@ -354,6 +354,24 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
354
354
  refs: { empty: emptyElement },
355
355
  state: { visible, rows, searching, active, prefix },
356
356
  })
357
+
358
+ // A nonempty scalar call cannot produce the invalid-result sentinel.
359
+ type ConcatResult<T extends unknown[]> = T extends
360
+ [
361
+ string | number | boolean | null | undefined,
362
+ ...(string | number | boolean | null | undefined)[],
363
+ ] ? string | undefined
364
+ : string | symbol | undefined
365
+ function concat<T extends unknown[]>(...values: T): ConcatResult<T> {
366
+ if (values.some(value => value === Symbol.for('html-next.invalid-result'))) {
367
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
368
+ }
369
+ if (values.some(value => value === undefined)) return undefined as ConcatResult<T>
370
+ if (values.length === 0 || values.some(value => typeof value === 'object' && value !== null)) {
371
+ return Symbol.for('html-next.invalid-result') as ConcatResult<T>
372
+ }
373
+ return values.map(value => value === null ? '' : String(value)).join('') as ConcatResult<T>
374
+ }
357
375
  </script>
358
376
 
359
377
  <template>
@@ -382,7 +400,7 @@ useComponentHost(() => import('../components/ui-editor-mention-menu/ui-editor-me
382
400
  :key="index"
383
401
  class="item"
384
402
  role="option"
385
- :id="`${prefix}-option-${index}`"
403
+ :id="concat(prefix, '-option-', index)"
386
404
  :aria-selected="index === active"
387
405
  :data-index="index"
388
406
  :data-value="row.id"
@@ -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'
@@ -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'