@threadlabs/looma 0.29.0 → 0.29.2

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 (423) hide show
  1. package/components/ui-editor-code-language/ui-editor-code-language.html +1 -1
  2. package/components/ui-editor-image-toolbar/ui-editor-image-toolbar.html +1 -2
  3. package/components/ui-editor-link-form/ui-editor-link-form.html +2 -3
  4. package/components/ui-tooltip/ui-tooltip.html +5 -2
  5. package/dist/index.js +1 -1
  6. package/editor/chip-editing.d.ts +39 -0
  7. package/package.json +3 -3
  8. package/styles/ui-action-bar.css +1 -1
  9. package/styles/ui-affordance-scope.css +1 -1
  10. package/styles/ui-avatar-group.css +1 -1
  11. package/styles/ui-avatar.css +1 -1
  12. package/styles/ui-badge.css +1 -1
  13. package/styles/ui-breadcrumb-item.css +1 -1
  14. package/styles/ui-breadcrumbs.css +1 -1
  15. package/styles/ui-button.css +1 -1
  16. package/styles/ui-callout.css +1 -1
  17. package/styles/ui-card.css +1 -1
  18. package/styles/ui-checkbox.css +1 -1
  19. package/styles/ui-cluster.css +1 -1
  20. package/styles/ui-combobox.css +1 -1
  21. package/styles/ui-container.css +1 -1
  22. package/styles/ui-context-menu.css +1 -1
  23. package/styles/ui-cover.css +1 -1
  24. package/styles/ui-description-item.css +1 -1
  25. package/styles/ui-description-list.css +1 -1
  26. package/styles/ui-dialog.css +1 -1
  27. package/styles/ui-disclosure.css +1 -1
  28. package/styles/ui-editable.css +1 -1
  29. package/styles/ui-editor-block-actions.css +1 -1
  30. package/styles/ui-editor-chip-editor.css +1 -1
  31. package/styles/ui-editor-code-language.css +1 -1
  32. package/styles/ui-editor-image-toolbar.css +1 -1
  33. package/styles/ui-editor-insert-table-grid.css +1 -1
  34. package/styles/ui-editor-link-card.css +1 -1
  35. package/styles/ui-editor-link-form.css +1 -1
  36. package/styles/ui-editor-mention-menu-item.css +1 -1
  37. package/styles/ui-editor-mention-menu.css +1 -1
  38. package/styles/ui-editor-slash-menu-group.css +1 -1
  39. package/styles/ui-editor-slash-menu-item.css +1 -1
  40. package/styles/ui-editor-slash-menu.css +1 -1
  41. package/styles/ui-editor-surface.css +1 -1
  42. package/styles/ui-editor-table-context-menu.css +1 -1
  43. package/styles/ui-editor-table-overlay.css +1 -1
  44. package/styles/ui-editor-table-toolbar.css +1 -1
  45. package/styles/ui-editor-toolbar.css +1 -1
  46. package/styles/ui-floating-action-button.css +1 -1
  47. package/styles/ui-form-field.css +1 -1
  48. package/styles/ui-grid.css +1 -1
  49. package/styles/ui-icon-button.css +1 -1
  50. package/styles/ui-icon.css +1 -1
  51. package/styles/ui-image.css +1 -1
  52. package/styles/ui-input-group.css +1 -1
  53. package/styles/ui-input.css +1 -1
  54. package/styles/ui-list-item.css +1 -1
  55. package/styles/ui-list.css +1 -1
  56. package/styles/ui-listbox.css +1 -1
  57. package/styles/ui-menu-group.css +1 -1
  58. package/styles/ui-menu-item.css +1 -1
  59. package/styles/ui-menu.css +1 -1
  60. package/styles/ui-meter.css +1 -1
  61. package/styles/ui-nav-item.css +1 -1
  62. package/styles/ui-page-header.css +1 -1
  63. package/styles/ui-popover.css +1 -1
  64. package/styles/ui-radio-group.css +1 -1
  65. package/styles/ui-radio.css +1 -1
  66. package/styles/ui-reel.css +1 -1
  67. package/styles/ui-scroll-area.css +1 -1
  68. package/styles/ui-search-result-row.css +1 -1
  69. package/styles/ui-search-shell.css +1 -1
  70. package/styles/ui-section.css +1 -1
  71. package/styles/ui-select.css +1 -1
  72. package/styles/ui-separator.css +1 -1
  73. package/styles/ui-sidebar.css +1 -1
  74. package/styles/ui-spinner.css +1 -1
  75. package/styles/ui-stack.css +1 -1
  76. package/styles/ui-status-message.css +1 -1
  77. package/styles/ui-swatch.css +1 -1
  78. package/styles/ui-switch.css +1 -1
  79. package/styles/ui-switcher.css +1 -1
  80. package/styles/ui-table.css +1 -1
  81. package/styles/ui-tabs.css +1 -1
  82. package/styles/ui-text.css +1 -1
  83. package/styles/ui-textarea.css +1 -1
  84. package/styles/ui-toast-region.css +1 -1
  85. package/styles/ui-toast.css +1 -1
  86. package/styles/ui-tooltip.css +7 -2
  87. package/styles/ui-top-bar.css +1 -1
  88. package/styles/ui-tree-item.css +1 -1
  89. package/styles/ui-tree.css +1 -1
  90. package/vanilla/UiActionBar.d.ts +1 -1
  91. package/vanilla/UiActionBar.js +6 -6
  92. package/vanilla/UiAffordanceScope.d.ts +1 -1
  93. package/vanilla/UiAffordanceScope.js +1 -1
  94. package/vanilla/UiAvatar.d.ts +1 -1
  95. package/vanilla/UiAvatar.js +7 -7
  96. package/vanilla/UiAvatarGroup.d.ts +1 -1
  97. package/vanilla/UiAvatarGroup.js +4 -4
  98. package/vanilla/UiBadge.d.ts +1 -1
  99. package/vanilla/UiBadge.js +4 -4
  100. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  101. package/vanilla/UiBreadcrumbItem.js +3 -3
  102. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  103. package/vanilla/UiBreadcrumbs.js +1 -1
  104. package/vanilla/UiButton.d.ts +1 -1
  105. package/vanilla/UiButton.js +17 -17
  106. package/vanilla/UiCallout.d.ts +1 -1
  107. package/vanilla/UiCallout.js +13 -13
  108. package/vanilla/UiCard.d.ts +1 -1
  109. package/vanilla/UiCard.js +1 -1
  110. package/vanilla/UiCheckbox.d.ts +1 -1
  111. package/vanilla/UiCheckbox.js +6 -6
  112. package/vanilla/UiCluster.d.ts +1 -1
  113. package/vanilla/UiCluster.js +1 -1
  114. package/vanilla/UiCombobox.d.ts +1 -1
  115. package/vanilla/UiCombobox.js +48 -48
  116. package/vanilla/UiContainer.d.ts +1 -1
  117. package/vanilla/UiContainer.js +1 -1
  118. package/vanilla/UiContextMenu.d.ts +1 -1
  119. package/vanilla/UiContextMenu.js +1 -1
  120. package/vanilla/UiCover.d.ts +1 -1
  121. package/vanilla/UiCover.js +1 -1
  122. package/vanilla/UiDescriptionItem.d.ts +1 -1
  123. package/vanilla/UiDescriptionItem.js +4 -4
  124. package/vanilla/UiDescriptionList.d.ts +1 -1
  125. package/vanilla/UiDescriptionList.js +1 -1
  126. package/vanilla/UiDialog.d.ts +1 -1
  127. package/vanilla/UiDialog.js +7 -7
  128. package/vanilla/UiDisclosure.d.ts +1 -1
  129. package/vanilla/UiDisclosure.js +8 -8
  130. package/vanilla/UiEditable.d.ts +1 -1
  131. package/vanilla/UiEditable.js +11 -11
  132. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  133. package/vanilla/UiEditorBlockActions.js +3 -3
  134. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  135. package/vanilla/UiEditorChipEditor.js +4 -4
  136. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  137. package/vanilla/UiEditorCodeLanguage.js +7 -12
  138. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  139. package/vanilla/UiEditorImageToolbar.js +90 -95
  140. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  141. package/vanilla/UiEditorInsertTableGrid.js +7 -7
  142. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  143. package/vanilla/UiEditorLinkCard.js +13 -13
  144. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  145. package/vanilla/UiEditorLinkForm.js +32 -44
  146. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  147. package/vanilla/UiEditorMentionMenu.js +12 -12
  148. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  149. package/vanilla/UiEditorMentionMenuItem.js +4 -4
  150. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  151. package/vanilla/UiEditorSlashMenu.js +11 -11
  152. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  153. package/vanilla/UiEditorSlashMenuGroup.js +5 -5
  154. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  155. package/vanilla/UiEditorSlashMenuItem.js +4 -4
  156. package/vanilla/UiEditorSurface.d.ts +1 -1
  157. package/vanilla/UiEditorSurface.js +1 -1
  158. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  159. package/vanilla/UiEditorTableContextMenu.js +16 -16
  160. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  161. package/vanilla/UiEditorTableOverlay.js +18 -18
  162. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  163. package/vanilla/UiEditorTableToolbar.js +33 -33
  164. package/vanilla/UiEditorToolbar.d.ts +1 -1
  165. package/vanilla/UiEditorToolbar.js +1 -1
  166. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  167. package/vanilla/UiFloatingActionButton.js +1 -1
  168. package/vanilla/UiFormField.d.ts +1 -1
  169. package/vanilla/UiFormField.js +8 -8
  170. package/vanilla/UiGrid.d.ts +1 -1
  171. package/vanilla/UiGrid.js +1 -1
  172. package/vanilla/UiIcon.d.ts +1 -1
  173. package/vanilla/UiIcon.js +4 -4
  174. package/vanilla/UiIconButton.d.ts +1 -1
  175. package/vanilla/UiIconButton.js +4 -4
  176. package/vanilla/UiImage.d.ts +1 -1
  177. package/vanilla/UiImage.js +6 -6
  178. package/vanilla/UiInput.d.ts +1 -1
  179. package/vanilla/UiInput.js +1 -1
  180. package/vanilla/UiInputGroup.d.ts +1 -1
  181. package/vanilla/UiInputGroup.js +6 -6
  182. package/vanilla/UiList.d.ts +1 -1
  183. package/vanilla/UiList.js +1 -1
  184. package/vanilla/UiListItem.d.ts +1 -1
  185. package/vanilla/UiListItem.js +7 -7
  186. package/vanilla/UiListbox.d.ts +1 -1
  187. package/vanilla/UiListbox.js +12 -12
  188. package/vanilla/UiMenu.d.ts +1 -1
  189. package/vanilla/UiMenu.js +1 -1
  190. package/vanilla/UiMenuGroup.d.ts +1 -1
  191. package/vanilla/UiMenuGroup.js +4 -4
  192. package/vanilla/UiMenuItem.d.ts +1 -1
  193. package/vanilla/UiMenuItem.js +11 -11
  194. package/vanilla/UiMeter.d.ts +1 -1
  195. package/vanilla/UiMeter.js +8 -8
  196. package/vanilla/UiNavItem.d.ts +1 -1
  197. package/vanilla/UiNavItem.js +13 -13
  198. package/vanilla/UiPageHeader.d.ts +1 -1
  199. package/vanilla/UiPageHeader.js +8 -8
  200. package/vanilla/UiPopover.d.ts +1 -1
  201. package/vanilla/UiPopover.js +1 -1
  202. package/vanilla/UiRadio.d.ts +1 -1
  203. package/vanilla/UiRadio.js +6 -6
  204. package/vanilla/UiRadioGroup.d.ts +1 -1
  205. package/vanilla/UiRadioGroup.js +4 -4
  206. package/vanilla/UiReel.d.ts +1 -1
  207. package/vanilla/UiReel.js +1 -1
  208. package/vanilla/UiScrollArea.d.ts +1 -1
  209. package/vanilla/UiScrollArea.js +1 -1
  210. package/vanilla/UiSearchResultRow.d.ts +1 -1
  211. package/vanilla/UiSearchResultRow.js +8 -8
  212. package/vanilla/UiSearchShell.d.ts +1 -1
  213. package/vanilla/UiSearchShell.js +8 -8
  214. package/vanilla/UiSection.d.ts +1 -1
  215. package/vanilla/UiSection.js +8 -8
  216. package/vanilla/UiSelect.d.ts +1 -1
  217. package/vanilla/UiSelect.js +1 -1
  218. package/vanilla/UiSeparator.d.ts +1 -1
  219. package/vanilla/UiSeparator.js +1 -1
  220. package/vanilla/UiSidebar.d.ts +1 -1
  221. package/vanilla/UiSidebar.js +4 -4
  222. package/vanilla/UiSpinner.d.ts +1 -1
  223. package/vanilla/UiSpinner.js +2 -2
  224. package/vanilla/UiStack.d.ts +1 -1
  225. package/vanilla/UiStack.js +1 -1
  226. package/vanilla/UiStatusMessage.d.ts +1 -1
  227. package/vanilla/UiStatusMessage.js +7 -7
  228. package/vanilla/UiSwatch.d.ts +1 -1
  229. package/vanilla/UiSwatch.js +1 -1
  230. package/vanilla/UiSwitch.d.ts +1 -1
  231. package/vanilla/UiSwitch.js +6 -6
  232. package/vanilla/UiSwitcher.d.ts +1 -1
  233. package/vanilla/UiSwitcher.js +1 -1
  234. package/vanilla/UiTable.d.ts +1 -1
  235. package/vanilla/UiTable.js +1 -1
  236. package/vanilla/UiTabs.d.ts +1 -1
  237. package/vanilla/UiTabs.js +7 -7
  238. package/vanilla/UiText.d.ts +1 -1
  239. package/vanilla/UiText.js +1 -1
  240. package/vanilla/UiTextarea.d.ts +1 -1
  241. package/vanilla/UiTextarea.js +1 -1
  242. package/vanilla/UiToast.d.ts +1 -1
  243. package/vanilla/UiToast.js +5 -5
  244. package/vanilla/UiToastRegion.d.ts +1 -1
  245. package/vanilla/UiToastRegion.js +8 -8
  246. package/vanilla/UiTooltip.d.ts +1 -1
  247. package/vanilla/UiTooltip.js +9 -8
  248. package/vanilla/UiTopBar.d.ts +1 -1
  249. package/vanilla/UiTopBar.js +6 -6
  250. package/vanilla/UiTree.d.ts +1 -1
  251. package/vanilla/UiTree.js +1 -1
  252. package/vanilla/UiTreeItem.d.ts +1 -1
  253. package/vanilla/UiTreeItem.js +13 -13
  254. package/vue/UiActionBar.vue +8 -5
  255. package/vue/UiAffordanceScope.vue +1 -1
  256. package/vue/UiAvatar.vue +10 -11
  257. package/vue/UiAvatarGroup.vue +2 -3
  258. package/vue/UiBadge.vue +5 -3
  259. package/vue/UiBreadcrumbItem.vue +2 -3
  260. package/vue/UiBreadcrumbs.vue +1 -1
  261. package/vue/UiButton.vue +15 -13
  262. package/vue/UiCallout.vue +8 -15
  263. package/vue/UiCard.vue +1 -1
  264. package/vue/UiCheckbox.vue +5 -4
  265. package/vue/UiCluster.vue +1 -1
  266. package/vue/UiCombobox.vue +25 -27
  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 +4 -3
  273. package/vue/UiDisclosure.vue +9 -8
  274. package/vue/UiEditable.vue +13 -9
  275. package/vue/UiEditorBlockActions.vue +5 -4
  276. package/vue/UiEditorChipEditor.vue +7 -9
  277. package/vue/UiEditorCodeLanguage.vue +2 -2
  278. package/vue/UiEditorImageToolbar.vue +25 -32
  279. package/vue/UiEditorInsertTableGrid.vue +1 -1
  280. package/vue/UiEditorLinkCard.vue +17 -20
  281. package/vue/UiEditorLinkForm.vue +21 -23
  282. package/vue/UiEditorMentionMenu.vue +9 -7
  283. package/vue/UiEditorMentionMenuItem.vue +5 -6
  284. package/vue/UiEditorSlashMenu.vue +3 -5
  285. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  286. package/vue/UiEditorSlashMenuItem.vue +5 -6
  287. package/vue/UiEditorSurface.vue +1 -1
  288. package/vue/UiEditorTableContextMenu.vue +4 -7
  289. package/vue/UiEditorTableOverlay.vue +26 -18
  290. package/vue/UiEditorTableToolbar.vue +23 -21
  291. package/vue/UiEditorToolbar.vue +1 -1
  292. package/vue/UiFloatingActionButton.vue +1 -1
  293. package/vue/UiFormField.vue +4 -3
  294. package/vue/UiGrid.vue +1 -1
  295. package/vue/UiIcon.vue +1 -1
  296. package/vue/UiIconButton.vue +4 -3
  297. package/vue/UiImage.vue +4 -7
  298. package/vue/UiInput.vue +1 -1
  299. package/vue/UiInputGroup.vue +7 -5
  300. package/vue/UiList.vue +1 -1
  301. package/vue/UiListItem.vue +10 -7
  302. package/vue/UiListbox.vue +3 -5
  303. package/vue/UiMenu.vue +1 -1
  304. package/vue/UiMenuGroup.vue +2 -3
  305. package/vue/UiMenuItem.vue +15 -10
  306. package/vue/UiMeter.vue +4 -5
  307. package/vue/UiNavItem.vue +19 -13
  308. package/vue/UiPageHeader.vue +8 -7
  309. package/vue/UiPopover.vue +1 -1
  310. package/vue/UiRadio.vue +10 -6
  311. package/vue/UiRadioGroup.vue +1 -1
  312. package/vue/UiReel.vue +1 -1
  313. package/vue/UiScrollArea.vue +1 -1
  314. package/vue/UiSearchResultRow.vue +11 -8
  315. package/vue/UiSearchShell.vue +1 -1
  316. package/vue/UiSection.vue +7 -4
  317. package/vue/UiSelect.vue +1 -1
  318. package/vue/UiSeparator.vue +1 -1
  319. package/vue/UiSidebar.vue +1 -1
  320. package/vue/UiSpinner.vue +1 -1
  321. package/vue/UiStack.vue +1 -1
  322. package/vue/UiStatusMessage.vue +10 -6
  323. package/vue/UiSwatch.vue +1 -1
  324. package/vue/UiSwitch.vue +10 -6
  325. package/vue/UiSwitcher.vue +1 -1
  326. package/vue/UiTable.vue +1 -1
  327. package/vue/UiTabs.vue +3 -3
  328. package/vue/UiText.vue +1 -1
  329. package/vue/UiTextarea.vue +1 -1
  330. package/vue/UiToast.vue +1 -1
  331. package/vue/UiToastRegion.vue +7 -5
  332. package/vue/UiTooltip.vue +10 -5
  333. package/vue/UiTopBar.vue +1 -1
  334. package/vue/UiTree.vue +1 -1
  335. package/vue/UiTreeItem.vue +14 -13
  336. package/vue/chunks/UiActionBar.js +4 -2
  337. package/vue/chunks/UiAffordanceScope.js +1 -1
  338. package/vue/chunks/UiAvatar.js +18 -12
  339. package/vue/chunks/UiAvatarGroup.js +15 -11
  340. package/vue/chunks/UiBadge.js +7 -3
  341. package/vue/chunks/UiBreadcrumbItem.js +10 -6
  342. package/vue/chunks/UiBreadcrumbs.js +1 -1
  343. package/vue/chunks/UiButton.js +10 -2
  344. package/vue/chunks/UiCallout.js +13 -3
  345. package/vue/chunks/UiCard.js +1 -1
  346. package/vue/chunks/UiCheckbox.js +35 -27
  347. package/vue/chunks/UiCluster.js +1 -1
  348. package/vue/chunks/UiCombobox.js +108 -74
  349. package/vue/chunks/UiContainer.js +1 -1
  350. package/vue/chunks/UiContextMenu.js +1 -1
  351. package/vue/chunks/UiCover.js +1 -1
  352. package/vue/chunks/UiDescriptionItem.js +1 -1
  353. package/vue/chunks/UiDescriptionList.js +1 -1
  354. package/vue/chunks/UiDialog.js +14 -10
  355. package/vue/chunks/UiDisclosure.js +3 -1
  356. package/vue/chunks/UiEditable.js +36 -24
  357. package/vue/chunks/UiEditorBlockActions.js +3 -1
  358. package/vue/chunks/UiEditorChipEditor.js +31 -22
  359. package/vue/chunks/UiEditorCodeLanguage.js +1 -1
  360. package/vue/chunks/UiEditorImageToolbar.js +45 -27
  361. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  362. package/vue/chunks/UiEditorLinkCard.js +58 -42
  363. package/vue/chunks/UiEditorLinkForm.js +110 -90
  364. package/vue/chunks/UiEditorMentionMenu.js +23 -14
  365. package/vue/chunks/UiEditorMentionMenuItem.js +6 -2
  366. package/vue/chunks/UiEditorSlashMenu.js +24 -16
  367. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  368. package/vue/chunks/UiEditorSlashMenuItem.js +10 -6
  369. package/vue/chunks/UiEditorSurface.js +1 -1
  370. package/vue/chunks/UiEditorTableContextMenu.js +65 -53
  371. package/vue/chunks/UiEditorTableOverlay.js +60 -40
  372. package/vue/chunks/UiEditorTableToolbar.js +100 -74
  373. package/vue/chunks/UiEditorToolbar.js +1 -1
  374. package/vue/chunks/UiFloatingActionButton.js +1 -1
  375. package/vue/chunks/UiFormField.js +7 -3
  376. package/vue/chunks/UiGrid.js +1 -1
  377. package/vue/chunks/UiIcon.js +1 -1
  378. package/vue/chunks/UiIconButton.js +11 -7
  379. package/vue/chunks/UiImage.js +5 -2
  380. package/vue/chunks/UiInput.js +1 -1
  381. package/vue/chunks/UiInputGroup.js +5 -2
  382. package/vue/chunks/UiList.js +1 -1
  383. package/vue/chunks/UiListItem.js +9 -3
  384. package/vue/chunks/UiListbox.js +17 -11
  385. package/vue/chunks/UiMenu.js +1 -1
  386. package/vue/chunks/UiMenuGroup.js +7 -3
  387. package/vue/chunks/UiMenuItem.js +7 -2
  388. package/vue/chunks/UiMeter.js +28 -16
  389. package/vue/chunks/UiNavItem.js +20 -6
  390. package/vue/chunks/UiPageHeader.js +4 -2
  391. package/vue/chunks/UiPopover.js +1 -1
  392. package/vue/chunks/UiRadio.js +32 -24
  393. package/vue/chunks/UiRadioGroup.js +1 -1
  394. package/vue/chunks/UiReel.js +1 -1
  395. package/vue/chunks/UiScrollArea.js +1 -1
  396. package/vue/chunks/UiSearchResultRow.js +6 -2
  397. package/vue/chunks/UiSearchShell.js +1 -1
  398. package/vue/chunks/UiSection.js +15 -7
  399. package/vue/chunks/UiSelect.js +1 -1
  400. package/vue/chunks/UiSeparator.js +1 -1
  401. package/vue/chunks/UiSidebar.js +1 -1
  402. package/vue/chunks/UiSpinner.js +1 -1
  403. package/vue/chunks/UiStack.js +1 -1
  404. package/vue/chunks/UiStatusMessage.js +13 -7
  405. package/vue/chunks/UiSwatch.js +1 -1
  406. package/vue/chunks/UiSwitch.js +33 -25
  407. package/vue/chunks/UiSwitcher.js +1 -1
  408. package/vue/chunks/UiTable.js +1 -1
  409. package/vue/chunks/UiTabs.js +21 -17
  410. package/vue/chunks/UiText.js +1 -1
  411. package/vue/chunks/UiTextarea.js +1 -1
  412. package/vue/chunks/UiToast.js +1 -1
  413. package/vue/chunks/UiToastRegion.js +39 -31
  414. package/vue/chunks/UiTooltip.js +11 -3
  415. package/vue/chunks/UiTopBar.js +1 -1
  416. package/vue/chunks/UiTree.js +1 -1
  417. package/vue/chunks/UiTreeItem.js +25 -15
  418. package/vue/chunks/_plugin-vue_export-helper.js +1 -0
  419. package/vue/components.css +25 -21
  420. package/vue/editor/LoomaEditor.d.ts +2 -2
  421. package/vue/editor/compact/index.d.ts +2 -2
  422. package/vue/editor/index.js +241 -77
  423. package/vue/host.ts +4 -1
@@ -1,26 +1,26 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkNull, checkObject, checkString, checkUnion, checkUnknown } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-combobox/ui-combobox.js";
4
4
  import "../styles/ui-combobox.css";
5
5
 
6
- const T0 = ["",[],["label",[],0,1],["div",["class","control"],["div",["class","field"],["div",["class","entry"],4,1,["input",["role","combobox","aria-autocomplete","list","autocomplete","off"]]],1,1,1,1],1],1,["div",["class","popup"],["div",["role","listbox"],2,1,1,1],4],["div",["class","message"],2],["div",["class","sr-only","role","status","aria-live","polite","aria-atomic","true"],0],["div",["class","authored-options","hidden","","aria-hidden","true"],4]];
6
+ const T0 = ["",[],"\n ",["label",[],0,1],"\n ",["div",["class","control"],"\n ",["div",["class","field"],"\n ",["div",["class","entry"],"\n ",4,"\n ",1,"\n ",["input",["role","combobox","aria-autocomplete","list","autocomplete","off"]],"\n "],"\n ",1,"\n ",1,"\n ",1,"\n ",1,"\n "],"\n ",1,"\n "],"\n ",1,"\n ",["div",["class","popup"],"\n ",["div",["role","listbox"],"\n ",2,"\n ",1,"\n ",1,"\n ",1,"\n "],"\n ",4,"\n "],"\n ",["div",["class","message"],"\n ",2,"\n "],"\n ",["div",["class","sr-only","role","status","aria-live","polite","aria-atomic","true"],0],"\n ",["div",["class","authored-options","hidden","","aria-hidden","true"],4],"\n "];
7
7
  const T1 = ["",[],"\n *"];
8
8
  const T2 = ["",[]];
9
- const T3 = ["",[],2];
10
- const T4 = ["button",["class","item","type","button","tabindex","-1"],4];
9
+ const T3 = ["",[],"\n ",2,"\n "];
10
+ const T4 = ["button",["class","item","type","button","tabindex","-1"],"\n ",4,"\n "];
11
11
  const T5 = ["",[],["ui-badge",[],0]];
12
12
  const T6 = ["input",["type","hidden"]];
13
- const T7 = ["",[],2];
13
+ const T7 = ["",[],"\n ",2,"\n "];
14
14
  const T8 = ["input",["type","hidden"]];
15
- const T9 = ["button",["type","button","data-combobox-action","clear","aria-label","Clear"],["svg",["class","affordance-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["path",["d","M7 7l10 10M17 7 7 17"]]]];
16
- const T10 = ["button",["type","button","data-combobox-action","disclosure","tabindex","-1","aria-label","Show suggestions"],["svg",["class","affordance-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.25","stroke-linecap","round","stroke-linejoin","round"],["path",["d","m6 9 6 6 6-6"]]]];
17
- const T11 = ["button",["class","help","type","button","aria-label","Help"],["svg",["class","help-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["circle",["cx","12","cy","12","r","10"]],["path",["d","M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3"]],["path",["d","M12 17h.01"]]]];
15
+ const T9 = ["button",["type","button","data-combobox-action","clear","aria-label","Clear"],"\n ",["svg",["class","affordance-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round"],["path",["d","M7 7l10 10M17 7 7 17"]]],"\n "];
16
+ const T10 = ["button",["type","button","data-combobox-action","disclosure","tabindex","-1","aria-label","Show suggestions"],"\n ",["svg",["class","affordance-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2.25","stroke-linecap","round","stroke-linejoin","round"],["path",["d","m6 9 6 6 6-6"]]],"\n "];
17
+ const T11 = ["button",["class","help","type","button","aria-label","Help"],"\n ",["svg",["class","help-icon","aria-hidden","true","viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round"],["circle",["cx","12","cy","12","r","10"]],["path",["d","M9.1 9a3 3 0 0 1 5.8 1c0 2-3 3-3 3"]],["path",["d","M12 17h.01"]]],"\n "];
18
18
  const T12 = ["ui-tooltip",["trigger","click"],0];
19
- const T13 = ["div",[],1,2];
19
+ const T13 = ["div",[],"\n ",1,"\n ",2,"\n "];
20
20
  const T14 = ["div",["class","group"],0];
21
- const T15 = ["div",["class","option","role","option","data-ui-choice-option",""],4];
22
- const T16 = ["",[],1,1];
23
- const T17 = ["span",["class","detail"],["span",["class","line"],["span",["class","primary"],0],1],1];
21
+ const T15 = ["div",["class","option","role","option","data-ui-choice-option",""],"\n ",4,"\n "];
22
+ const T16 = ["",[],"\n ",1,"\n ",1,"\n "];
23
+ const T17 = ["span",["class","detail"],"\n ",["span",["class","line"],"\n ",["span",["class","primary"],0],"\n ",1,"\n "],"\n ",1,"\n "];
24
24
  const T18 = ["ui-badge",[],["span",[],0]];
25
25
  const T19 = ["span",["class","description"],0];
26
26
  const T20 = ["span",["class","primary"],0];
@@ -67,7 +67,7 @@ export function createUiCombobox(options = {}, html) {
67
67
  };
68
68
  const m3 = (d) => {
69
69
  const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
70
- const t0 = n.firstChild;
70
+ const t0 = n.firstChild.nextSibling;
71
71
  const r = { n, L0: new PositionalList(t0, t0.nextSibling, m4, p4, (o) => readMember(o, "id"), "item") };
72
72
  r.z = [() => { for (const row of r.L0.r) dispose(row); }];
73
73
  p3(r, -1, d);
@@ -79,7 +79,7 @@ export function createUiCombobox(options = {}, html) {
79
79
  };
80
80
  const m4 = (o, j, l) => {
81
81
  const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
82
- const t0 = n.firstChild;
82
+ const t0 = n.firstChild.nextSibling;
83
83
  const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, w: 0, v0: null, v1: null, v2: null, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
84
84
  p4(r, -1, E);
85
85
  return r;
@@ -148,7 +148,7 @@ export function createUiCombobox(options = {}, html) {
148
148
  };
149
149
  const m7 = (d) => {
150
150
  const n = (P7 ??= buildTemplate(T7)).cloneNode(true);
151
- const t0 = n.firstChild;
151
+ const t0 = n.firstChild.nextSibling;
152
152
  const r = { n, L0: new KeyedList(t0, t0.nextSibling, m8, p8, (o) => readMember(o, "id"), "item") };
153
153
  p7(r, -1, d);
154
154
  return r;
@@ -263,8 +263,8 @@ export function createUiCombobox(options = {}, html) {
263
263
  };
264
264
  const m13 = (o, j, l) => {
265
265
  const n = (P13 ??= buildTemplate(T13)).cloneNode(true);
266
- const t0 = n.firstChild;
267
- const t1 = t0.nextSibling.nextSibling;
266
+ const t0 = n.firstChild.nextSibling;
267
+ const t1 = t0.nextSibling.nextSibling.nextSibling;
268
268
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null, a1: t0, e0: t0.nextSibling, b0: undefined, L1: new KeyedList(t1, t1.nextSibling, m15, p15, (o) => readMember(o, "id"), "row") };
269
269
  r.z = [() => { for (const row of r.L1.r) dispose(row); }];
270
270
  p13(r, -1, E);
@@ -305,7 +305,7 @@ export function createUiCombobox(options = {}, html) {
305
305
  };
306
306
  const m15 = (o, j, l) => {
307
307
  const n = (P15 ??= buildTemplate(T15)).cloneNode(true);
308
- const t0 = n.firstChild;
308
+ const t0 = n.firstChild.nextSibling;
309
309
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined };
310
310
  p15(r, -1, E);
311
311
  return r;
@@ -355,8 +355,8 @@ export function createUiCombobox(options = {}, html) {
355
355
  };
356
356
  const m16 = (d, o, u) => {
357
357
  const n = (P16 ??= buildTemplate(T16)).cloneNode(true);
358
- const t0 = n.firstChild;
359
- const t1 = t0.nextSibling.nextSibling;
358
+ const t0 = n.firstChild.nextSibling;
359
+ const t1 = t0.nextSibling.nextSibling.nextSibling;
360
360
  const r = { n, u, a0: t0, e0: t0.nextSibling, b0: undefined, a1: t1, e1: t1.nextSibling, b1: undefined };
361
361
  p16(r, -1, d);
362
362
  return r;
@@ -373,11 +373,11 @@ export function createUiCombobox(options = {}, html) {
373
373
  };
374
374
  const m17 = (d, o, u) => {
375
375
  const n = (P17 ??= buildTemplate(T17)).cloneNode(true);
376
- const t0 = n.firstChild;
377
- const t1 = t0.firstChild;
376
+ const t0 = n.firstChild.nextSibling;
377
+ const t1 = t0.firstChild.nextSibling;
378
378
  const t2 = t1.firstChild;
379
- const t3 = t1.nextSibling;
380
- const t4 = t0.nextSibling;
379
+ const t3 = t1.nextSibling.nextSibling;
380
+ const t4 = t0.nextSibling.nextSibling;
381
381
  const r = { n, u, a0: t1, a1: t2, w: 0, v0: null, v1: "", a2: t3, e0: t3.nextSibling, b0: undefined, a3: t4, e1: t4.nextSibling, b1: undefined };
382
382
  p17(r, -1, d);
383
383
  return r;
@@ -741,33 +741,33 @@ export function createUiCombobox(options = {}, html) {
741
741
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b15 = m27(d); at.before(r.b15.n); } }
742
742
  else if (r.b15 !== undefined) p27(r.b15, c, d);
743
743
  };
744
- const t0 = element.firstChild;
744
+ const t0 = element.firstChild.nextSibling;
745
745
  const t1 = t0.firstChild;
746
746
  const t2 = t1.nextSibling;
747
- const t3 = t0.nextSibling;
748
- const t4 = t3.firstChild;
749
- const t5 = t4.firstChild;
750
- const t6 = t5.firstChild;
751
- const t7 = t6.nextSibling.nextSibling;
752
- const t8 = t7.nextSibling.nextSibling;
753
- const t9 = t5.nextSibling;
754
- const t10 = t9.nextSibling.nextSibling;
755
- const t11 = t10.nextSibling.nextSibling;
756
- const t12 = t11.nextSibling.nextSibling;
757
- const t13 = t4.nextSibling;
758
- const t14 = t3.nextSibling;
759
- const t15 = t14.nextSibling.nextSibling;
760
- const t16 = t15.firstChild;
761
- const t17 = t16.firstChild;
762
- const t18 = t17.nextSibling.nextSibling;
763
- const t19 = t18.nextSibling.nextSibling;
764
- const t20 = t19.nextSibling.nextSibling;
765
- const t21 = t16.nextSibling;
766
- const t22 = t15.nextSibling;
767
- const t23 = t22.firstChild;
768
- const t24 = t22.nextSibling;
747
+ const t3 = t0.nextSibling.nextSibling;
748
+ const t4 = t3.firstChild.nextSibling;
749
+ const t5 = t4.firstChild.nextSibling;
750
+ const t6 = t5.firstChild.nextSibling;
751
+ const t7 = t6.nextSibling.nextSibling.nextSibling;
752
+ const t8 = t7.nextSibling.nextSibling.nextSibling;
753
+ const t9 = t5.nextSibling.nextSibling;
754
+ const t10 = t9.nextSibling.nextSibling.nextSibling;
755
+ const t11 = t10.nextSibling.nextSibling.nextSibling;
756
+ const t12 = t11.nextSibling.nextSibling.nextSibling;
757
+ const t13 = t4.nextSibling.nextSibling;
758
+ const t14 = t3.nextSibling.nextSibling;
759
+ const t15 = t14.nextSibling.nextSibling.nextSibling;
760
+ const t16 = t15.firstChild.nextSibling;
761
+ const t17 = t16.firstChild.nextSibling;
762
+ const t18 = t17.nextSibling.nextSibling.nextSibling;
763
+ const t19 = t18.nextSibling.nextSibling.nextSibling;
764
+ const t20 = t19.nextSibling.nextSibling.nextSibling;
765
+ const t21 = t16.nextSibling.nextSibling;
766
+ const t22 = t15.nextSibling.nextSibling;
767
+ const t23 = t22.firstChild.nextSibling;
768
+ const t24 = t22.nextSibling.nextSibling;
769
769
  const t25 = t24.firstChild;
770
- const t26 = t24.nextSibling;
770
+ const t26 = t24.nextSibling.nextSibling;
771
771
  const t27 = t26.firstChild;
772
772
  const R = { n: element, a0: t0, a1: t1, a6: t8, a13: t15, a14: t16, a20: t22, a22: t25, v0: null, v1: false, v2: "", v3: null, v4: null, v5: null, v6: null, v7: null, v8: undefined, v9: null, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: "", v20: undefined, a2: t2, e0: t2.nextSibling, b0: undefined, a4: t6, e1: t6.nextSibling, b1: undefined, f1: undefined, a5: t7, e2: t7.nextSibling, b2: undefined, a7: t9, e3: t9.nextSibling, b3: undefined, a8: t10, e4: t10.nextSibling, b4: undefined, a9: t11, e5: t11.nextSibling, b5: undefined, a10: t12, e6: t12.nextSibling, b6: undefined, a11: t13, e7: t13.nextSibling, b7: undefined, a12: t14, e8: t14.nextSibling, b8: undefined, L9: new KeyedList(t17, t17.nextSibling, m13, p13, (o) => readMember(o, "name"), "group"), a16: t18, e10: t18.nextSibling, b10: undefined, a17: t19, e11: t19.nextSibling, b11: undefined, a18: t20, e12: t20.nextSibling, b12: undefined, a19: t21, e13: t21.nextSibling, b13: undefined, f13: undefined, L14: new IndexedList(t23, t23.nextSibling, m26, p26, undefined, "issue"), a24: t27, e15: t27.nextSibling, b15: undefined, f15: undefined };
773
773
  const I = { B };
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiContainerEventMap {
3
3
  }
4
4
  export interface UiContainerElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkFormat } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-container.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiContextMenuEventMap {
3
3
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, dispatchDeclared, detailCheck, dispose, keywordFormat, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-context-menu/ui-context-menu.js";
4
4
  import "../styles/ui-context-menu.css";
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiCoverEventMap {
3
3
  }
4
4
  export interface UiCoverElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkFormat } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-cover.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiDescriptionItemEventMap {
3
3
  }
4
4
  export interface UiDescriptionItemElement extends HTMLDivElement {
@@ -1,8 +1,8 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toText, dispose, acceptProps, manageProps, project, fillSlot, checkString } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-description-item.css";
4
4
 
5
- const T0 = ["",[],["dt",[],0],["dd",[],4]];
5
+ const T0 = ["",[],"\n ",["dt",[],0],"\n ",["dd",[],4],"\n "];
6
6
  const T1 = ["",[]];
7
7
  let P0, P1;
8
8
  const S = { n: [], t: [], f: import.meta.url, g: "ui-description-item" };
@@ -37,9 +37,9 @@ export function createUiDescriptionItem(options = {}, html) {
37
37
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b0 = m1(d); at.before(r.b0.n); } }
38
38
  else if (r.b0 !== undefined) p1(r.b0, c, d);
39
39
  };
40
- const t0 = element.firstChild;
40
+ const t0 = element.firstChild.nextSibling;
41
41
  const t1 = t0.firstChild;
42
- const t2 = t0.nextSibling.firstChild;
42
+ const t2 = t0.nextSibling.nextSibling.firstChild;
43
43
  const R = { a0: t1, v0: "", a1: t2, e0: t2.nextSibling, b0: undefined, f0: undefined };
44
44
  const I = { B };
45
45
  const J = project(I, children, slots);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiDescriptionListEventMap {
3
3
  }
4
4
  export interface UiDescriptionListElement extends HTMLDListElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkFormat } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-description-list.css";
4
4
 
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiDialogEventMap {
3
3
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,9 +1,9 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-dialog/ui-dialog.js";
4
4
  import "../styles/ui-dialog.css";
5
5
 
6
- const T0 = ["",[],["header",[],1,["button",["class","close","type","button","aria-label","Close"]]],["div",["class","body"],["ui-scroll-area",[],4]],["footer",[],4]];
6
+ const T0 = ["",[],"\n ",["header",[],"\n ",1,"\n ",["button",["class","close","type","button","aria-label","Close"]],"\n "],"\n ",["div",["class","body"],["ui-scroll-area",[],4]],"\n ",["footer",[],4],"\n "];
7
7
  const T1 = ["h2",["class","title"],0];
8
8
  const T2 = ["",[]];
9
9
  const T3 = ["",[]];
@@ -80,13 +80,13 @@ export function createUiDialog(options = {}, html) {
80
80
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b2 = m3(d); at.before(r.b2.n); } }
81
81
  else if (r.b2 !== undefined) p3(r.b2, c, d);
82
82
  };
83
- const t0 = element.firstChild;
84
- const t1 = t0.firstChild;
85
- const t2 = t1.nextSibling.nextSibling;
86
- const t3 = t0.nextSibling;
83
+ const t0 = element.firstChild.nextSibling;
84
+ const t1 = t0.firstChild.nextSibling;
85
+ const t2 = t1.nextSibling.nextSibling.nextSibling;
86
+ const t3 = t0.nextSibling.nextSibling;
87
87
  const t4 = t3.firstChild;
88
88
  const t5 = t4.firstChild;
89
- const t6 = t3.nextSibling;
89
+ const t6 = t3.nextSibling.nextSibling;
90
90
  const t7 = t6.firstChild;
91
91
  const R = { n: element, a5: t4, v0: undefined, v1: null, v2: undefined, a2: t1, e0: t1.nextSibling, b0: undefined, a6: t5, e1: t5.nextSibling, b1: undefined, f1: undefined, a8: t7, e2: t7.nextSibling, b2: undefined, f2: undefined };
92
92
  const I = { B };
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiDisclosureEventMap {
3
3
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,9 +1,9 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-disclosure/ui-disclosure.js";
4
4
  import "../styles/ui-disclosure.css";
5
5
 
6
- const T0 = ["",[],["div",["class","heading"],["button",["class","trigger","type","button"],["span",["class","leading"],4],["span",["class","summary"],4],["span",["class","indicator","aria-hidden","true"],4]]],["div",["class","panel"],["div",["class","panel-inner"],4]]];
6
+ const T0 = ["",[],"\n ",["div",["class","heading"],"\n ",["button",["class","trigger","type","button"],"\n ",["span",["class","leading"],4],"\n ",["span",["class","summary"],4],"\n ",["span",["class","indicator","aria-hidden","true"],4],"\n "],"\n "],"\n ",["div",["class","panel"],["div",["class","panel-inner"],4]],"\n "];
7
7
  const T1 = ["",[]];
8
8
  const T2 = ["",[],0];
9
9
  const T3 = ["",[],["span",["class","chevron"]]];
@@ -108,14 +108,14 @@ export function createUiDisclosure(options = {}, html) {
108
108
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b3 = m4(d); at.before(r.b3.n); } }
109
109
  else if (r.b3 !== undefined) p4(r.b3, c, d);
110
110
  };
111
- const t0 = element.firstChild;
112
- const t1 = t0.firstChild;
113
- const t2 = t1.firstChild;
111
+ const t0 = element.firstChild.nextSibling;
112
+ const t1 = t0.firstChild.nextSibling;
113
+ const t2 = t1.firstChild.nextSibling;
114
114
  const t3 = t2.firstChild;
115
- const t4 = t2.nextSibling;
115
+ const t4 = t2.nextSibling.nextSibling;
116
116
  const t5 = t4.firstChild;
117
- const t6 = t4.nextSibling.firstChild;
118
- const t7 = t0.nextSibling;
117
+ const t6 = t4.nextSibling.nextSibling.firstChild;
118
+ const t7 = t0.nextSibling.nextSibling;
119
119
  const t8 = t7.firstChild.firstChild;
120
120
  const R = { n: element, a0: t0, a1: t1, a5: t7, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: undefined, a2: t3, e0: t3.nextSibling, b0: undefined, f0: undefined, a3: t5, e1: t5.nextSibling, b1: undefined, f1: undefined, a4: t6, e2: t6.nextSibling, b2: undefined, f2: undefined, a6: t8, e3: t8.nextSibling, b3: undefined, f3: undefined };
121
121
  const I = { B };
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditableEventMap {
3
3
  input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,11 +1,11 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, clearRegion, readsChanged, rec, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, hostState, acceptProps, manageProps, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editable/ui-editable.js";
4
4
  import "../styles/ui-editable.css";
5
5
 
6
- const T0 = ["",[],["div",["class","field"],["button",["class","preview","type","button"],["span",["class","text"],0],1],["input",["class","input","type","text"]]],1];
6
+ const T0 = ["",[],"\n ",["div",["class","field"],"\n ",["button",["class","preview","type","button"],"\n ",["span",["class","text"],0],"\n ",1,"\n "],"\n ",["input",["class","input","type","text"]],"\n "],"\n ",1,"\n "];
7
7
  const T1 = ["span",["class","hint","aria-hidden","true"],0];
8
- const T2 = ["div",["class","actions"],["button",["class","save","type","button"],0],["button",["class","cancel","type","button"],0]];
8
+ const T2 = ["div",["class","actions"],"\n ",["button",["class","save","type","button"],0],"\n ",["button",["class","cancel","type","button"],0],"\n "];
9
9
  let P0, P1, P2;
10
10
  const S = { n: ["internalEdit","internalValue","draft"], t: ["b","s","s"], f: import.meta.url, g: "ui-editable", d: { "input": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "edit-change": [detailCheck(checkObject([["edit", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["activate","commit","cancel","light-dismiss","escape","programmatic"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
11
11
  const D = { g: "ui-editable", props: { "actions": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "cancelLabel": { "required":false,"default":"Cancel", c: checkString, t: "string", j: 0, m: "s" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "edit": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "hint": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"Edit value", c: checkString, t: "string", j: 0, m: "s" }, "maxLength": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "placeholder": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "saveLabel": { "required":false,"default":"Save", c: checkString, t: "string", j: 0, m: "s" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
@@ -38,9 +38,9 @@ export function createUiEditable(options = {}, html) {
38
38
  };
39
39
  const m2 = (d) => {
40
40
  const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
41
- const t0 = n.firstChild;
41
+ const t0 = n.firstChild.nextSibling;
42
42
  const t1 = t0.firstChild;
43
- const t2 = t0.nextSibling.firstChild;
43
+ const t2 = t0.nextSibling.nextSibling.firstChild;
44
44
  const r = { n, a0: t1, a1: t2, v0: "", v1: "" };
45
45
  p2(r, -1, d);
46
46
  return r;
@@ -108,13 +108,13 @@ export function createUiEditable(options = {}, html) {
108
108
  else { r.b1 = m2(d); r.e1.before(r.b1.n); }
109
109
  } else if (r.b1 !== undefined) p2(r.b1, c, d);
110
110
  };
111
- const t0 = element.firstChild;
112
- const t1 = t0.firstChild;
113
- const t2 = t1.firstChild;
111
+ const t0 = element.firstChild.nextSibling;
112
+ const t1 = t0.firstChild.nextSibling;
113
+ const t2 = t1.firstChild.nextSibling;
114
114
  const t3 = t2.firstChild;
115
- const t4 = t2.nextSibling;
116
- const t5 = t1.nextSibling;
117
- const t6 = t0.nextSibling;
115
+ const t4 = t2.nextSibling.nextSibling;
116
+ const t5 = t1.nextSibling.nextSibling;
117
+ const t6 = t0.nextSibling.nextSibling;
118
118
  const R = { n: element, a0: t1, a1: t3, a3: t5, v0: null, v1: "", v2: undefined, v3: null, v4: null, v5: null, v6: null, v7: undefined, a2: t4, e0: t4.nextSibling, b0: undefined, a4: t6, e1: t6.nextSibling, b1: undefined };
119
119
  const I = { B };
120
120
  I.R = new Set();
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorBlockActionsEventMap {
3
3
  action: CustomEvent<{ readonly action: "insert-below" | "duplicate" | "delete" }>;
4
4
  }
@@ -1,9 +1,9 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, checkConstrained, checkFormat, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-block-actions/ui-editor-block-actions.js";
4
4
  import "../styles/ui-editor-block-actions.css";
5
5
 
6
- const T0 = ["",[],["ui-menu",["aria-label","Block actions"],["ui-menu-item",["value","insert-below"],"Insert paragraph below"],["ui-menu-item",["value","duplicate"],"Duplicate block"],["ui-menu-item",["value","delete"],"Delete block"]]];
6
+ const T0 = ["",[],"\n ",["ui-menu",["aria-label","Block actions"],["ui-menu-item",["value","insert-below"],"Insert paragraph below"],"\n ",["ui-menu-item",["value","duplicate"],"Duplicate block"],"\n ",["ui-menu-item",["value","delete"],"Delete block"]],"\n "];
7
7
  let P0;
8
8
  const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-block-actions", d: { "action": [detailCheck(checkObject([["action", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["insert-below","duplicate","delete"]}), false]], false)), true, true, false] }, x: dispatchDeclared };
9
9
  const D = { g: "ui-editor-block-actions", props: { "for": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "placement": { "required":false,"values":["bottom-start","top-start"],"default":"bottom-start", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] } } };
@@ -32,7 +32,7 @@ export function createUiEditorBlockActions(options = {}, html) {
32
32
  if (s1 !== r.v1) writeAttribute(r.a0, "placement", r.v1 = s1);
33
33
  }
34
34
  };
35
- const t0 = element.firstChild;
35
+ const t0 = element.firstChild.nextSibling;
36
36
  const R = { a0: t0, v0: null, v1: null };
37
37
  const I = { B };
38
38
  attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorChipEditorEventMap {
3
3
  label: CustomEvent<{ readonly label: string }>;
4
4
  color: CustomEvent<{ readonly color: "neutral" | "blue" | "green" | "yellow" | "red" | "purple" }>;
@@ -1,9 +1,9 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, checkConstrained, checkFormat, checkObject, checkRecord, checkString, checkUnknown } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-chip-editor/ui-editor-chip-editor.js";
4
4
  import "../styles/ui-editor-chip-editor.css";
5
5
 
6
- const T0 = ["",[],["ui-stack",["gap","s"],["ui-input",["data-chip-label","","size","sm","placeholder","Set a label","aria-label","Chip text"]],["ui-radio-group",["label","Chip color","label-visibility","sr-only"],["ui-swatch",["tone","neutral"]],["ui-swatch",["tone","blue"]],["ui-swatch",["tone","green"]],["ui-swatch",["tone","yellow"]],["ui-swatch",["tone","red"]],["ui-swatch",["tone","purple"]]]]];
6
+ const T0 = ["",[],"\n ",["ui-stack",["gap","s"],["ui-input",["data-chip-label","","size","sm","placeholder","Set a label","aria-label","Chip text"]],"\n ",["ui-radio-group",["label","Chip color","label-visibility","sr-only"],["ui-swatch",["tone","neutral"]],"\n ",["ui-swatch",["tone","blue"]],"\n ",["ui-swatch",["tone","green"]],"\n ",["ui-swatch",["tone","yellow"]],"\n ",["ui-swatch",["tone","red"]],"\n ",["ui-swatch",["tone","purple"]]]],"\n "];
7
7
  let P0;
8
8
  const S = { n: [], t: [], f: import.meta.url, g: "ui-editor-chip-editor", d: { "label": [detailCheck(checkObject([["label", checkString, false]], false)), true, true, false], "color": [detailCheck(checkObject([["color", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","blue","green","yellow","red","purple"]}), false]], false)), true, true, false], "done": [detailCheck(checkRecord(checkUnknown)), true, true, false] }, x: dispatchDeclared };
9
9
  const D = { g: "ui-editor-chip-editor", props: { "color": { "required":false,"values":["neutral","blue","green","yellow","red","purple"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat),false] }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
@@ -34,9 +34,9 @@ export function createUiEditorChipEditor(options = {}, html) {
34
34
  if (s1 !== r.v1) writeAttribute(r.a1, "value", r.v1 = s1);
35
35
  }
36
36
  };
37
- const t0 = element.firstChild;
37
+ const t0 = element.firstChild.nextSibling;
38
38
  const t1 = t0.firstChild;
39
- const t2 = t1.nextSibling;
39
+ const t2 = t1.nextSibling.nextSibling;
40
40
  const R = { a0: t1, a1: t2, v0: null, v1: null };
41
41
  const I = { B };
42
42
  attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorCodeLanguageEventMap {
3
3
  language: CustomEvent<{ readonly value: string }>;
4
4
  }
@@ -1,9 +1,9 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, KeyedList, readMember, toAttribute, toText, trackContainer, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, checkList, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-code-language/ui-editor-code-language.js";
4
4
  import "../styles/ui-editor-code-language.css";
5
5
 
6
- const T0 = ["",[],["ui-combobox",["label","Code language","label-visibility","sr-only","size","sm","filter","label"],2]];
6
+ const T0 = ["",[],"\n ",["ui-combobox",["label","Code language","label-visibility","sr-only","size","sm","disclosure","","filter","label"],2],"\n "];
7
7
  const T1 = ["option",[],0];
8
8
  let P0, P1;
9
9
  const E = new Map();
@@ -42,21 +42,16 @@ export function createUiEditorCodeLanguage(options = {}, html) {
42
42
  }
43
43
  };
44
44
  const p0 = (r, c, d) => {
45
- if (c === -1) {
46
- const x0 = true;
47
- const s0 = toAttribute(x0, "disclosure");
48
- if (s0 !== r.v0) writeAttribute(r.a0, "disclosure", r.v0 = s0);
49
- }
50
45
  if (c & 2) {
51
- const x1 = v[1];
52
- const s1 = toAttribute(x1, "value");
53
- if (s1 !== r.v1) writeAttribute(r.a0, "value", r.v1 = s1);
46
+ const x0 = v[1];
47
+ const s0 = toAttribute(x0, "value");
48
+ if (s0 !== r.v0) writeAttribute(r.a0, "value", r.v0 = s0);
54
49
  }
55
50
  if (c & 1073741825) r.L0.update(v[0], d, c);
56
51
  };
57
- const t0 = element.firstChild;
52
+ const t0 = element.firstChild.nextSibling;
58
53
  const t1 = t0.firstChild;
59
- const R = { a0: t0, v0: null, v1: null, L0: new KeyedList(t1, t1.nextSibling, m1, p1, (o) => readMember(o, "value"), "language") };
54
+ const R = { a0: t0, v0: null, L0: new KeyedList(t1, t1.nextSibling, m1, p1, (o) => readMember(o, "value"), "language") };
60
55
  const I = { B };
61
56
  attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), C, undefined, I);
62
57
  manageProps(I);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.53 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.54 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorImageToolbarEventMap {
3
3
  placement: CustomEvent<{ readonly placement: "block" | "center" | "wrap-left" | "wrap-right" }>;
4
4
  describe: CustomEvent<{ readonly alt: string }>;