@threadlabs/looma 0.29.18 → 0.30.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (421) hide show
  1. package/components/ui-combobox/ui-combobox.html +47 -2
  2. package/components/ui-combobox/ui-combobox.js +2 -1
  3. package/components/ui-cover/ui-cover.html +2 -5
  4. package/components/ui-form-field/ui-form-field.html +1 -1
  5. package/components/ui-reel/ui-reel.html +7 -10
  6. package/components/ui-switcher/ui-switcher.html +17 -22
  7. package/components/ui-tooltip/ui-tooltip.js +2 -0
  8. package/dist/index.js +1 -1
  9. package/package.json +3 -3
  10. package/styles/ui-action-bar.css +1 -1
  11. package/styles/ui-affordance-scope.css +1 -1
  12. package/styles/ui-avatar-group.css +1 -1
  13. package/styles/ui-avatar.css +1 -1
  14. package/styles/ui-badge.css +1 -1
  15. package/styles/ui-breadcrumb-item.css +1 -1
  16. package/styles/ui-breadcrumbs.css +1 -1
  17. package/styles/ui-button.css +1 -1
  18. package/styles/ui-callout.css +1 -1
  19. package/styles/ui-card.css +1 -1
  20. package/styles/ui-checkbox.css +1 -1
  21. package/styles/ui-cluster.css +1 -1
  22. package/styles/ui-combobox.css +1 -1
  23. package/styles/ui-container.css +1 -1
  24. package/styles/ui-context-menu.css +1 -1
  25. package/styles/ui-cover.css +3 -6
  26. package/styles/ui-description-item.css +1 -1
  27. package/styles/ui-description-list.css +1 -1
  28. package/styles/ui-dialog.css +1 -1
  29. package/styles/ui-disclosure.css +1 -1
  30. package/styles/ui-editable.css +1 -1
  31. package/styles/ui-editor-block-actions.css +1 -1
  32. package/styles/ui-editor-chip-editor.css +1 -1
  33. package/styles/ui-editor-code-language.css +1 -1
  34. package/styles/ui-editor-image-toolbar.css +1 -1
  35. package/styles/ui-editor-insert-table-grid.css +1 -1
  36. package/styles/ui-editor-link-card.css +1 -1
  37. package/styles/ui-editor-link-form.css +1 -1
  38. package/styles/ui-editor-mention-menu-item.css +1 -1
  39. package/styles/ui-editor-mention-menu.css +1 -1
  40. package/styles/ui-editor-slash-menu-group.css +1 -1
  41. package/styles/ui-editor-slash-menu-item.css +1 -1
  42. package/styles/ui-editor-slash-menu.css +1 -1
  43. package/styles/ui-editor-surface.css +1 -1
  44. package/styles/ui-editor-table-context-menu.css +1 -1
  45. package/styles/ui-editor-table-overlay.css +1 -1
  46. package/styles/ui-editor-table-toolbar.css +1 -1
  47. package/styles/ui-editor-toolbar.css +1 -1
  48. package/styles/ui-floating-action-button.css +1 -1
  49. package/styles/ui-form-field.css +1 -1
  50. package/styles/ui-grid.css +1 -1
  51. package/styles/ui-icon-button.css +1 -1
  52. package/styles/ui-icon.css +1 -1
  53. package/styles/ui-image.css +1 -1
  54. package/styles/ui-input-group.css +1 -1
  55. package/styles/ui-input.css +1 -1
  56. package/styles/ui-list-item.css +1 -1
  57. package/styles/ui-list.css +1 -1
  58. package/styles/ui-listbox.css +1 -1
  59. package/styles/ui-menu-group.css +1 -1
  60. package/styles/ui-menu-item.css +1 -1
  61. package/styles/ui-menu.css +1 -1
  62. package/styles/ui-meter.css +1 -1
  63. package/styles/ui-nav-item.css +1 -1
  64. package/styles/ui-page-header.css +1 -1
  65. package/styles/ui-popover.css +1 -1
  66. package/styles/ui-radio-group.css +1 -1
  67. package/styles/ui-radio.css +1 -1
  68. package/styles/ui-reel.css +8 -11
  69. package/styles/ui-scroll-area.css +1 -1
  70. package/styles/ui-search-result-row.css +1 -1
  71. package/styles/ui-search-shell.css +1 -1
  72. package/styles/ui-section.css +1 -1
  73. package/styles/ui-select.css +1 -1
  74. package/styles/ui-separator.css +1 -1
  75. package/styles/ui-sidebar.css +1 -1
  76. package/styles/ui-spinner.css +1 -1
  77. package/styles/ui-stack.css +1 -1
  78. package/styles/ui-status-message.css +1 -1
  79. package/styles/ui-swatch.css +1 -1
  80. package/styles/ui-switch.css +1 -1
  81. package/styles/ui-switcher.css +23 -28
  82. package/styles/ui-table.css +1 -1
  83. package/styles/ui-tabs.css +1 -1
  84. package/styles/ui-text.css +1 -1
  85. package/styles/ui-textarea.css +1 -1
  86. package/styles/ui-toast-region.css +1 -1
  87. package/styles/ui-toast.css +1 -1
  88. package/styles/ui-tooltip.css +1 -1
  89. package/styles/ui-top-bar.css +1 -1
  90. package/styles/ui-tree-item.css +1 -1
  91. package/styles/ui-tree.css +1 -1
  92. package/vanilla/UiActionBar.d.ts +10 -1
  93. package/vanilla/UiActionBar.js +3 -2
  94. package/vanilla/UiAffordanceScope.d.ts +10 -1
  95. package/vanilla/UiAffordanceScope.js +3 -2
  96. package/vanilla/UiAvatar.d.ts +10 -1
  97. package/vanilla/UiAvatar.js +3 -2
  98. package/vanilla/UiAvatarGroup.d.ts +10 -1
  99. package/vanilla/UiAvatarGroup.js +3 -2
  100. package/vanilla/UiBadge.d.ts +10 -1
  101. package/vanilla/UiBadge.js +3 -2
  102. package/vanilla/UiBreadcrumbItem.d.ts +10 -1
  103. package/vanilla/UiBreadcrumbItem.js +3 -2
  104. package/vanilla/UiBreadcrumbs.d.ts +10 -1
  105. package/vanilla/UiBreadcrumbs.js +3 -2
  106. package/vanilla/UiButton.d.ts +10 -1
  107. package/vanilla/UiButton.js +3 -2
  108. package/vanilla/UiCallout.d.ts +10 -1
  109. package/vanilla/UiCallout.js +3 -2
  110. package/vanilla/UiCard.d.ts +10 -1
  111. package/vanilla/UiCard.js +3 -2
  112. package/vanilla/UiCheckbox.d.ts +10 -1
  113. package/vanilla/UiCheckbox.js +3 -2
  114. package/vanilla/UiCluster.d.ts +10 -1
  115. package/vanilla/UiCluster.js +3 -2
  116. package/vanilla/UiCombobox.d.ts +14 -1
  117. package/vanilla/UiCombobox.js +34 -11
  118. package/vanilla/UiContainer.d.ts +10 -1
  119. package/vanilla/UiContainer.js +3 -2
  120. package/vanilla/UiContextMenu.d.ts +10 -1
  121. package/vanilla/UiContextMenu.js +3 -2
  122. package/vanilla/UiCover.d.ts +10 -1
  123. package/vanilla/UiCover.js +3 -2
  124. package/vanilla/UiDescriptionItem.d.ts +10 -1
  125. package/vanilla/UiDescriptionItem.js +3 -2
  126. package/vanilla/UiDescriptionList.d.ts +10 -1
  127. package/vanilla/UiDescriptionList.js +3 -2
  128. package/vanilla/UiDialog.d.ts +10 -1
  129. package/vanilla/UiDialog.js +3 -2
  130. package/vanilla/UiDisclosure.d.ts +10 -1
  131. package/vanilla/UiDisclosure.js +3 -2
  132. package/vanilla/UiEditable.d.ts +10 -1
  133. package/vanilla/UiEditable.js +3 -2
  134. package/vanilla/UiEditorBlockActions.d.ts +10 -1
  135. package/vanilla/UiEditorBlockActions.js +3 -2
  136. package/vanilla/UiEditorChipEditor.d.ts +10 -1
  137. package/vanilla/UiEditorChipEditor.js +3 -2
  138. package/vanilla/UiEditorCodeLanguage.d.ts +10 -1
  139. package/vanilla/UiEditorCodeLanguage.js +3 -2
  140. package/vanilla/UiEditorImageToolbar.d.ts +10 -1
  141. package/vanilla/UiEditorImageToolbar.js +3 -2
  142. package/vanilla/UiEditorInsertTableGrid.d.ts +10 -1
  143. package/vanilla/UiEditorInsertTableGrid.js +3 -2
  144. package/vanilla/UiEditorLinkCard.d.ts +10 -1
  145. package/vanilla/UiEditorLinkCard.js +3 -2
  146. package/vanilla/UiEditorLinkForm.d.ts +10 -1
  147. package/vanilla/UiEditorLinkForm.js +3 -2
  148. package/vanilla/UiEditorMentionMenu.d.ts +10 -1
  149. package/vanilla/UiEditorMentionMenu.js +3 -2
  150. package/vanilla/UiEditorMentionMenuItem.d.ts +10 -1
  151. package/vanilla/UiEditorMentionMenuItem.js +3 -2
  152. package/vanilla/UiEditorSlashMenu.d.ts +10 -1
  153. package/vanilla/UiEditorSlashMenu.js +3 -2
  154. package/vanilla/UiEditorSlashMenuGroup.d.ts +10 -1
  155. package/vanilla/UiEditorSlashMenuGroup.js +3 -2
  156. package/vanilla/UiEditorSlashMenuItem.d.ts +10 -1
  157. package/vanilla/UiEditorSlashMenuItem.js +3 -2
  158. package/vanilla/UiEditorSurface.d.ts +10 -1
  159. package/vanilla/UiEditorSurface.js +3 -2
  160. package/vanilla/UiEditorTableContextMenu.d.ts +10 -1
  161. package/vanilla/UiEditorTableContextMenu.js +3 -2
  162. package/vanilla/UiEditorTableOverlay.d.ts +10 -1
  163. package/vanilla/UiEditorTableOverlay.js +3 -2
  164. package/vanilla/UiEditorTableToolbar.d.ts +10 -1
  165. package/vanilla/UiEditorTableToolbar.js +3 -2
  166. package/vanilla/UiEditorToolbar.d.ts +10 -1
  167. package/vanilla/UiEditorToolbar.js +3 -2
  168. package/vanilla/UiFloatingActionButton.d.ts +10 -1
  169. package/vanilla/UiFloatingActionButton.js +3 -2
  170. package/vanilla/UiFormField.d.ts +10 -1
  171. package/vanilla/UiFormField.js +4 -3
  172. package/vanilla/UiGrid.d.ts +10 -1
  173. package/vanilla/UiGrid.js +3 -2
  174. package/vanilla/UiIcon.d.ts +10 -1
  175. package/vanilla/UiIcon.js +3 -2
  176. package/vanilla/UiIconButton.d.ts +10 -1
  177. package/vanilla/UiIconButton.js +3 -2
  178. package/vanilla/UiImage.d.ts +10 -1
  179. package/vanilla/UiImage.js +3 -2
  180. package/vanilla/UiInput.d.ts +10 -1
  181. package/vanilla/UiInput.js +3 -2
  182. package/vanilla/UiInputGroup.d.ts +10 -1
  183. package/vanilla/UiInputGroup.js +3 -2
  184. package/vanilla/UiList.d.ts +10 -1
  185. package/vanilla/UiList.js +3 -2
  186. package/vanilla/UiListItem.d.ts +10 -1
  187. package/vanilla/UiListItem.js +3 -2
  188. package/vanilla/UiListbox.d.ts +10 -1
  189. package/vanilla/UiListbox.js +3 -2
  190. package/vanilla/UiMenu.d.ts +10 -1
  191. package/vanilla/UiMenu.js +3 -2
  192. package/vanilla/UiMenuGroup.d.ts +10 -1
  193. package/vanilla/UiMenuGroup.js +3 -2
  194. package/vanilla/UiMenuItem.d.ts +10 -1
  195. package/vanilla/UiMenuItem.js +3 -2
  196. package/vanilla/UiMeter.d.ts +10 -1
  197. package/vanilla/UiMeter.js +3 -2
  198. package/vanilla/UiNavItem.d.ts +10 -1
  199. package/vanilla/UiNavItem.js +3 -2
  200. package/vanilla/UiPageHeader.d.ts +10 -1
  201. package/vanilla/UiPageHeader.js +3 -2
  202. package/vanilla/UiPopover.d.ts +10 -1
  203. package/vanilla/UiPopover.js +3 -2
  204. package/vanilla/UiRadio.d.ts +10 -1
  205. package/vanilla/UiRadio.js +3 -2
  206. package/vanilla/UiRadioGroup.d.ts +10 -1
  207. package/vanilla/UiRadioGroup.js +3 -2
  208. package/vanilla/UiReel.d.ts +10 -1
  209. package/vanilla/UiReel.js +3 -2
  210. package/vanilla/UiScrollArea.d.ts +10 -1
  211. package/vanilla/UiScrollArea.js +3 -2
  212. package/vanilla/UiSearchResultRow.d.ts +10 -1
  213. package/vanilla/UiSearchResultRow.js +3 -2
  214. package/vanilla/UiSearchShell.d.ts +10 -1
  215. package/vanilla/UiSearchShell.js +3 -2
  216. package/vanilla/UiSection.d.ts +10 -1
  217. package/vanilla/UiSection.js +3 -2
  218. package/vanilla/UiSelect.d.ts +10 -1
  219. package/vanilla/UiSelect.js +3 -2
  220. package/vanilla/UiSeparator.d.ts +10 -1
  221. package/vanilla/UiSeparator.js +3 -2
  222. package/vanilla/UiSidebar.d.ts +10 -1
  223. package/vanilla/UiSidebar.js +3 -2
  224. package/vanilla/UiSpinner.d.ts +10 -1
  225. package/vanilla/UiSpinner.js +3 -2
  226. package/vanilla/UiStack.d.ts +10 -1
  227. package/vanilla/UiStack.js +3 -2
  228. package/vanilla/UiStatusMessage.d.ts +10 -1
  229. package/vanilla/UiStatusMessage.js +3 -2
  230. package/vanilla/UiSwatch.d.ts +10 -1
  231. package/vanilla/UiSwatch.js +3 -2
  232. package/vanilla/UiSwitch.d.ts +10 -1
  233. package/vanilla/UiSwitch.js +3 -2
  234. package/vanilla/UiSwitcher.d.ts +10 -1
  235. package/vanilla/UiSwitcher.js +4 -3
  236. package/vanilla/UiTable.d.ts +10 -1
  237. package/vanilla/UiTable.js +3 -2
  238. package/vanilla/UiTabs.d.ts +10 -1
  239. package/vanilla/UiTabs.js +3 -2
  240. package/vanilla/UiText.d.ts +10 -1
  241. package/vanilla/UiText.js +3 -2
  242. package/vanilla/UiTextarea.d.ts +10 -1
  243. package/vanilla/UiTextarea.js +3 -2
  244. package/vanilla/UiToast.d.ts +10 -1
  245. package/vanilla/UiToast.js +3 -2
  246. package/vanilla/UiToastRegion.d.ts +10 -1
  247. package/vanilla/UiToastRegion.js +3 -2
  248. package/vanilla/UiTooltip.d.ts +10 -1
  249. package/vanilla/UiTooltip.js +3 -2
  250. package/vanilla/UiTopBar.d.ts +10 -1
  251. package/vanilla/UiTopBar.js +3 -2
  252. package/vanilla/UiTree.d.ts +10 -1
  253. package/vanilla/UiTree.js +3 -2
  254. package/vanilla/UiTreeItem.d.ts +10 -1
  255. package/vanilla/UiTreeItem.js +3 -2
  256. package/vue/UiActionBar.vue +1 -1
  257. package/vue/UiAffordanceScope.vue +2 -2
  258. package/vue/UiAvatar.vue +2 -2
  259. package/vue/UiAvatarGroup.vue +2 -2
  260. package/vue/UiBadge.vue +2 -2
  261. package/vue/UiBreadcrumbItem.vue +2 -2
  262. package/vue/UiBreadcrumbs.vue +1 -1
  263. package/vue/UiButton.vue +2 -2
  264. package/vue/UiCallout.vue +2 -2
  265. package/vue/UiCard.vue +2 -2
  266. package/vue/UiCheckbox.vue +2 -2
  267. package/vue/UiCluster.vue +2 -2
  268. package/vue/UiCombobox.d.ts +36 -13
  269. package/vue/UiCombobox.vue +130 -4
  270. package/vue/UiContainer.vue +2 -2
  271. package/vue/UiContextMenu.vue +1 -1
  272. package/vue/UiCover.vue +4 -7
  273. package/vue/UiDescriptionItem.vue +1 -1
  274. package/vue/UiDescriptionList.vue +2 -2
  275. package/vue/UiDialog.vue +2 -2
  276. package/vue/UiDisclosure.vue +2 -2
  277. package/vue/UiEditable.vue +2 -2
  278. package/vue/UiEditorBlockActions.vue +1 -1
  279. package/vue/UiEditorChipEditor.vue +1 -1
  280. package/vue/UiEditorCodeLanguage.vue +1 -1
  281. package/vue/UiEditorImageToolbar.vue +7 -4
  282. package/vue/UiEditorInsertTableGrid.vue +1 -1
  283. package/vue/UiEditorLinkCard.vue +1 -1
  284. package/vue/UiEditorLinkForm.vue +45 -45
  285. package/vue/UiEditorMentionMenu.vue +1 -1
  286. package/vue/UiEditorMentionMenuItem.vue +1 -1
  287. package/vue/UiEditorSlashMenu.vue +1 -1
  288. package/vue/UiEditorSlashMenuGroup.vue +1 -1
  289. package/vue/UiEditorSlashMenuItem.vue +1 -1
  290. package/vue/UiEditorSurface.vue +2 -2
  291. package/vue/UiEditorTableContextMenu.vue +1 -1
  292. package/vue/UiEditorTableOverlay.vue +1 -1
  293. package/vue/UiEditorTableToolbar.vue +1 -1
  294. package/vue/UiEditorToolbar.vue +2 -2
  295. package/vue/UiFloatingActionButton.vue +2 -2
  296. package/vue/UiFormField.d.ts +1 -1
  297. package/vue/UiFormField.vue +3 -3
  298. package/vue/UiGrid.vue +2 -2
  299. package/vue/UiIcon.vue +2 -2
  300. package/vue/UiIconButton.vue +2 -2
  301. package/vue/UiImage.vue +2 -2
  302. package/vue/UiInput.vue +2 -2
  303. package/vue/UiInputGroup.vue +2 -2
  304. package/vue/UiList.vue +2 -2
  305. package/vue/UiListItem.vue +2 -2
  306. package/vue/UiListbox.vue +1 -1
  307. package/vue/UiMenu.vue +2 -2
  308. package/vue/UiMenuGroup.vue +1 -1
  309. package/vue/UiMenuItem.vue +2 -2
  310. package/vue/UiMeter.vue +2 -2
  311. package/vue/UiNavItem.vue +2 -2
  312. package/vue/UiPageHeader.vue +2 -2
  313. package/vue/UiPopover.vue +2 -2
  314. package/vue/UiRadio.vue +2 -2
  315. package/vue/UiRadioGroup.vue +2 -2
  316. package/vue/UiReel.vue +9 -12
  317. package/vue/UiScrollArea.vue +3 -3
  318. package/vue/UiSearchResultRow.vue +2 -2
  319. package/vue/UiSearchShell.vue +1 -1
  320. package/vue/UiSection.vue +2 -2
  321. package/vue/UiSelect.vue +2 -2
  322. package/vue/UiSeparator.vue +2 -2
  323. package/vue/UiSidebar.vue +2 -2
  324. package/vue/UiSpinner.vue +2 -2
  325. package/vue/UiStack.vue +2 -2
  326. package/vue/UiStatusMessage.vue +2 -2
  327. package/vue/UiSwatch.vue +2 -2
  328. package/vue/UiSwitch.vue +2 -2
  329. package/vue/UiSwitcher.vue +23 -27
  330. package/vue/UiTable.vue +2 -2
  331. package/vue/UiTabs.vue +2 -2
  332. package/vue/UiText.vue +2 -2
  333. package/vue/UiTextarea.vue +2 -2
  334. package/vue/UiToast.vue +2 -2
  335. package/vue/UiToastRegion.vue +2 -2
  336. package/vue/UiTooltip.vue +2 -2
  337. package/vue/UiTopBar.vue +1 -1
  338. package/vue/UiTree.vue +2 -2
  339. package/vue/UiTreeItem.vue +2 -2
  340. package/vue/chunks/UiActionBar.js +1 -1
  341. package/vue/chunks/UiAffordanceScope.js +2 -2
  342. package/vue/chunks/UiAvatar.js +2 -2
  343. package/vue/chunks/UiAvatarGroup.js +2 -2
  344. package/vue/chunks/UiBadge.js +2 -2
  345. package/vue/chunks/UiBreadcrumbItem.js +2 -2
  346. package/vue/chunks/UiBreadcrumbs.js +1 -1
  347. package/vue/chunks/UiButton.js +2 -2
  348. package/vue/chunks/UiCallout.js +2 -2
  349. package/vue/chunks/UiCard.js +2 -2
  350. package/vue/chunks/UiCheckbox.js +2 -2
  351. package/vue/chunks/UiCluster.js +2 -2
  352. package/vue/chunks/UiCombobox.js +117 -5
  353. package/vue/chunks/UiContainer.js +2 -2
  354. package/vue/chunks/UiContextMenu.js +1 -1
  355. package/vue/chunks/UiCover.js +2 -2
  356. package/vue/chunks/UiDescriptionItem.js +1 -1
  357. package/vue/chunks/UiDescriptionList.js +2 -2
  358. package/vue/chunks/UiDialog.js +2 -2
  359. package/vue/chunks/UiDisclosure.js +3 -3
  360. package/vue/chunks/UiEditable.js +2 -2
  361. package/vue/chunks/UiEditorImageToolbar.js +3 -2
  362. package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
  363. package/vue/chunks/UiEditorLinkForm.js +68 -71
  364. package/vue/chunks/UiEditorMentionMenu.js +1 -1
  365. package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
  366. package/vue/chunks/UiEditorSlashMenu.js +1 -1
  367. package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
  368. package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
  369. package/vue/chunks/UiEditorSurface.js +2 -2
  370. package/vue/chunks/UiEditorTableContextMenu.js +1 -1
  371. package/vue/chunks/UiEditorTableOverlay.js +2 -2
  372. package/vue/chunks/UiEditorTableToolbar.js +1 -1
  373. package/vue/chunks/UiEditorToolbar.js +2 -2
  374. package/vue/chunks/UiFloatingActionButton.js +2 -2
  375. package/vue/chunks/UiFormField.js +3 -3
  376. package/vue/chunks/UiGrid.js +2 -2
  377. package/vue/chunks/UiIcon.js +2 -2
  378. package/vue/chunks/UiIconButton.js +2 -2
  379. package/vue/chunks/UiImage.js +2 -2
  380. package/vue/chunks/UiInput.js +2 -2
  381. package/vue/chunks/UiInputGroup.js +2 -2
  382. package/vue/chunks/UiList.js +2 -2
  383. package/vue/chunks/UiListItem.js +2 -2
  384. package/vue/chunks/UiListbox.js +1 -1
  385. package/vue/chunks/UiMenu.js +2 -2
  386. package/vue/chunks/UiMenuGroup.js +1 -1
  387. package/vue/chunks/UiMenuItem.js +2 -2
  388. package/vue/chunks/UiMeter.js +2 -2
  389. package/vue/chunks/UiNavItem.js +2 -2
  390. package/vue/chunks/UiPageHeader.js +2 -2
  391. package/vue/chunks/UiPopover.js +2 -2
  392. package/vue/chunks/UiRadio.js +2 -2
  393. package/vue/chunks/UiRadioGroup.js +2 -2
  394. package/vue/chunks/UiReel.js +2 -2
  395. package/vue/chunks/UiScrollArea.js +4 -4
  396. package/vue/chunks/UiSearchResultRow.js +2 -2
  397. package/vue/chunks/UiSearchShell.js +1 -1
  398. package/vue/chunks/UiSection.js +2 -2
  399. package/vue/chunks/UiSelect.js +2 -2
  400. package/vue/chunks/UiSeparator.js +2 -2
  401. package/vue/chunks/UiSidebar.js +2 -2
  402. package/vue/chunks/UiSpinner.js +2 -2
  403. package/vue/chunks/UiStack.js +2 -2
  404. package/vue/chunks/UiStatusMessage.js +2 -2
  405. package/vue/chunks/UiSwatch.js +2 -2
  406. package/vue/chunks/UiSwitch.js +2 -2
  407. package/vue/chunks/UiSwitcher.js +2 -2
  408. package/vue/chunks/UiTable.js +2 -2
  409. package/vue/chunks/UiTabs.js +2 -2
  410. package/vue/chunks/UiText.js +2 -2
  411. package/vue/chunks/UiTextarea.js +2 -2
  412. package/vue/chunks/UiToast.js +2 -2
  413. package/vue/chunks/UiToastRegion.js +2 -2
  414. package/vue/chunks/UiTooltip.js +2 -2
  415. package/vue/chunks/UiTopBar.js +1 -1
  416. package/vue/chunks/UiTree.js +2 -2
  417. package/vue/chunks/UiTreeItem.js +2 -2
  418. package/vue/chunks/_plugin-vue_export-helper.js +13 -3
  419. package/vue/components.css +69 -76
  420. package/vue/editor/index.js +167 -15
  421. package/vue/host.ts +9 -5
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiEditorToolbarEventMap {
3
3
  }
4
4
  export interface UiEditorToolbarElement extends HTMLDivElement {
5
5
  addEventListener<K extends keyof UiEditorToolbarEventMap>(type: K, listener: (this: UiEditorToolbarElement, event: UiEditorToolbarEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiEditorToolbarElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiEditorToolbarEventMap>(type: K, listener: (this: UiEditorToolbarElement, event: UiEditorToolbarEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiEditorToolbarElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiEditorToolbarProps {
9
13
  floating?: boolean | null;
@@ -12,3 +16,8 @@ export interface UiEditorToolbarProps {
12
16
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
13
17
  }
14
18
  export declare function createUiEditorToolbar(props?: UiEditorToolbarProps): UiEditorToolbarElement;
19
+ declare global {
20
+ interface ComponentTagMap {
21
+ "ui-editor-toolbar": { element: UiEditorToolbarElement; props: Omit<UiEditorToolbarProps, "attributes" | "children" | "slots"> };
22
+ }
23
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-editor-toolbar/ui-editor-toolbar.js";
4
4
  import "../styles/ui-editor-toolbar.css";
5
5
 
@@ -51,3 +51,4 @@ export function createUiEditorToolbar(options = {}, html) {
51
51
  I.r["strip"] = t0;
52
52
  return element;
53
53
  }
54
+ defineComponent("ui-editor-toolbar", createUiEditorToolbar, ["floating"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiFloatingActionButtonEventMap {
3
3
  }
4
4
  export interface UiFloatingActionButtonElement extends HTMLButtonElement {
5
5
  addEventListener<K extends keyof UiFloatingActionButtonEventMap>(type: K, listener: (this: UiFloatingActionButtonElement, event: UiFloatingActionButtonEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiFloatingActionButtonElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiFloatingActionButtonEventMap>(type: K, listener: (this: UiFloatingActionButtonElement, event: UiFloatingActionButtonEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiFloatingActionButtonElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiFloatingActionButtonProps {
9
13
  disabled?: boolean | null;
@@ -14,3 +18,8 @@ export interface UiFloatingActionButtonProps {
14
18
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
15
19
  }
16
20
  export declare function createUiFloatingActionButton(props?: UiFloatingActionButtonProps): UiFloatingActionButtonElement;
21
+ declare global {
22
+ interface ComponentTagMap {
23
+ "ui-floating-action-button": { element: UiFloatingActionButtonElement; props: Omit<UiFloatingActionButtonProps, "attributes" | "children" | "slots"> };
24
+ }
25
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkString } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-floating-action-button.css";
4
4
 
5
5
  const T0 = ["",[],4];
@@ -56,3 +56,4 @@ export function createUiFloatingActionButton(options = {}, html) {
56
56
  manageProps(I);
57
57
  return element;
58
58
  }
59
+ defineComponent("ui-floating-action-button", createUiFloatingActionButton, ["disabled","label","mobileOnly"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiFormFieldEventMap {
3
3
  }
4
4
  export interface UiFormFieldElement extends HTMLDivElement {
5
5
  addEventListener<K extends keyof UiFormFieldEventMap>(type: K, listener: (this: UiFormFieldElement, event: UiFormFieldEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiFormFieldElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiFormFieldEventMap>(type: K, listener: (this: UiFormFieldElement, event: UiFormFieldEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiFormFieldElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiFormFieldProps {
9
13
  disabled?: boolean | null;
@@ -14,3 +18,8 @@ export interface UiFormFieldProps {
14
18
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
15
19
  }
16
20
  export declare function createUiFormField(props?: UiFormFieldProps): UiFormFieldElement;
21
+ declare global {
22
+ interface ComponentTagMap {
23
+ "ui-form-field": { element: UiFormFieldElement; props: Omit<UiFormFieldProps, "attributes" | "children" | "slots"> };
24
+ }
25
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispose, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-form-field/ui-form-field.js";
4
4
  import "../styles/ui-form-field.css";
5
5
 
@@ -71,7 +71,7 @@ export function createUiFormField(options = {}, html) {
71
71
  const s0 = x0;
72
72
  if (s0 !== r.v0) writeAttribute(r.n, "data-ui-form-field-state", (r.v0 = s0) === "" ? null : s0);
73
73
  }
74
- if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "label-action", J, false, undefined, d);
74
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a1, r.e1, "labelAction", J, false, undefined, d);
75
75
  if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m2(d); at.before(r.b1.n); } }
76
76
  else if (r.b1 !== undefined) p2(r.b1, c, d);
77
77
  if (r.f0 === undefined) { r.f0 = 1; const at = fillSlot(r.a0, r.e0, "label", J, false, undefined, d);
@@ -101,3 +101,4 @@ export function createUiFormField(options = {}, html) {
101
101
  manageProps(I);
102
102
  return element;
103
103
  }
104
+ defineComponent("ui-form-field", createUiFormField, ["disabled","invalid","required"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiGridEventMap {
3
3
  }
4
4
  export interface UiGridElement extends HTMLDivElement {
5
5
  addEventListener<K extends keyof UiGridEventMap>(type: K, listener: (this: UiGridElement, event: UiGridEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiGridElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiGridEventMap>(type: K, listener: (this: UiGridElement, event: UiGridEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiGridElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiGridProps {
9
13
  columns?: number | null;
@@ -14,3 +18,8 @@ export interface UiGridProps {
14
18
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
15
19
  }
16
20
  export declare function createUiGrid(props?: UiGridProps): UiGridElement;
21
+ declare global {
22
+ interface ComponentTagMap {
23
+ "ui-grid": { element: UiGridElement; props: Omit<UiGridProps, "attributes" | "children" | "slots"> };
24
+ }
25
+ }
package/vanilla/UiGrid.js CHANGED
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, toText, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkFormat, checkInteger } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, toText, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkFormat, checkInteger, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-grid.css";
4
4
 
5
5
  const T0 = ["",[],4];
@@ -50,3 +50,4 @@ export function createUiGrid(options = {}, html) {
50
50
  manageProps(I);
51
51
  return element;
52
52
  }
53
+ defineComponent("ui-grid", createUiGrid, ["columns","gap","min"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiIconEventMap {
3
3
  }
4
4
  export interface UiIconElement extends HTMLSpanElement {
5
5
  addEventListener<K extends keyof UiIconEventMap>(type: K, listener: (this: UiIconElement, event: UiIconEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiIconElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiIconEventMap>(type: K, listener: (this: UiIconElement, event: UiIconEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiIconElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiIconProps {
9
13
  name?: string | null;
@@ -13,3 +17,8 @@ export interface UiIconProps {
13
17
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
14
18
  }
15
19
  export declare function createUiIcon(props?: UiIconProps): UiIconElement;
20
+ declare global {
21
+ interface ComponentTagMap {
22
+ "ui-icon": { element: UiIconElement; props: Omit<UiIconProps, "attributes" | "children" | "slots"> };
23
+ }
24
+ }
package/vanilla/UiIcon.js CHANGED
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, readIndex, readMember, toAttribute, trackContainer, writeAttribute, computedCycle, IndexedList, formatOf, keywordFormat, hostState, acceptProps, manageProps, readonlyView, checkFormat, checkString } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, clearRegion, readIndex, readMember, toAttribute, trackContainer, writeAttribute, computedCycle, IndexedList, formatOf, keywordFormat, hostState, acceptProps, manageProps, readonlyView, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-icon.css";
4
4
 
5
5
  const T0 = ["",[],"\n ",["svg",["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","focusable","false"],2],"\n "];
@@ -170,3 +170,4 @@ export function createUiIcon(options = {}, html) {
170
170
  manageProps(I);
171
171
  return element;
172
172
  }
173
+ defineComponent("ui-icon", createUiIcon, ["name","tone"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiIconButtonEventMap {
3
3
  }
4
4
  export interface UiIconButtonElement extends HTMLButtonElement {
5
5
  addEventListener<K extends keyof UiIconButtonEventMap>(type: K, listener: (this: UiIconButtonElement, event: UiIconButtonEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiIconButtonElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiIconButtonEventMap>(type: K, listener: (this: UiIconButtonElement, event: UiIconButtonEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiIconButtonElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiIconButtonProps {
9
13
  anticipatory?: boolean | null;
@@ -23,3 +27,8 @@ export interface UiIconButtonProps {
23
27
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
24
28
  }
25
29
  export declare function createUiIconButton(props?: UiIconButtonProps): UiIconButtonElement;
30
+ declare global {
31
+ interface ComponentTagMap {
32
+ "ui-icon-button": { element: UiIconButtonElement; props: Omit<UiIconButtonProps, "attributes" | "children" | "slots"> };
33
+ }
34
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkFormat, checkString } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-icon-button/ui-icon-button.js";
4
4
  import "../styles/ui-icon-button.css";
5
5
 
@@ -89,3 +89,4 @@ export function createUiIconButton(options = {}, html) {
89
89
  manageProps(I);
90
90
  return element;
91
91
  }
92
+ defineComponent("ui-icon-button", createUiIconButton, ["anticipatory","disabled","guide","label","loading","matchButton","pending","revealed","round","size","tone","variant"]);
@@ -1,10 +1,14 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiImageEventMap {
3
3
  resize: CustomEvent<{ readonly width: number; readonly height: number; readonly phase: "preview" | "commit" | "cancel"; readonly trigger: "pointer" | "keyboard" }>;
4
4
  }
5
5
  export interface UiImageElement extends HTMLElement {
6
6
  addEventListener<K extends keyof UiImageEventMap>(type: K, listener: (this: UiImageElement, event: UiImageEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiImageElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
8
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
7
9
  removeEventListener<K extends keyof UiImageEventMap>(type: K, listener: (this: UiImageElement, event: UiImageEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiImageElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
11
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
8
12
  }
9
13
  export interface UiImageProps {
10
14
  alt?: string | null;
@@ -19,3 +23,8 @@ export interface UiImageProps {
19
23
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
20
24
  }
21
25
  export declare function createUiImage(props?: UiImageProps): UiImageElement;
26
+ declare global {
27
+ interface ComponentTagMap {
28
+ "ui-image": { element: UiImageElement; props: Omit<UiImageProps, "attributes" | "children" | "slots"> };
29
+ }
30
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, toAttribute, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, toAttribute, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-image/ui-image.js";
4
4
  import "../styles/ui-image.css";
5
5
 
@@ -89,3 +89,4 @@ export function createUiImage(options = {}, html) {
89
89
  I.r["frame"] = t0;
90
90
  return element;
91
91
  }
92
+ defineComponent("ui-image", createUiImage, ["alt","height","placement","resizable","selected","src","width"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiInputEventMap {
3
3
  }
4
4
  export interface UiInputElement extends HTMLInputElement {
5
5
  addEventListener<K extends keyof UiInputEventMap>(type: K, listener: (this: UiInputElement, event: UiInputEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiInputElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiInputEventMap>(type: K, listener: (this: UiInputElement, event: UiInputEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiInputElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiInputProps<T0 extends "text" | "search" | "tel" | "url" | "email" | "password" | "date" | "month" | "week" | "time" | "datetime-local" | "number" | "range" | "color" | "file" | null = "text"> {
9
13
  disabled?: boolean | null;
@@ -18,3 +22,8 @@ export interface UiInputProps<T0 extends "text" | "search" | "tel" | "url" | "em
18
22
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
19
23
  }
20
24
  export declare function createUiInput<T0 extends "text" | "search" | "tel" | "url" | "email" | "password" | "date" | "month" | "week" | "time" | "datetime-local" | "number" | "range" | "color" | "file" | null = "text">(props?: UiInputProps<T0>): UiInputElement;
25
+ declare global {
26
+ interface ComponentTagMap {
27
+ "ui-input": { element: UiInputElement; props: Omit<UiInputProps, "attributes" | "children" | "slots"> };
28
+ }
29
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, NONCONFORMING, toAttribute, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, checkSelected, checkBoolean, checkFormat, checkNumber, checkString } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, NONCONFORMING, toAttribute, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, checkSelected, checkBoolean, checkFormat, checkNumber, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-input/ui-input.js";
4
4
  import "../styles/ui-input.css";
5
5
 
@@ -62,3 +62,4 @@ export function createUiInput(options = {}, html) {
62
62
  manageProps(I);
63
63
  return element;
64
64
  }
65
+ defineComponent("ui-input", createUiInput, ["disabled","invalid","readonly","required","size","type","value"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiInputGroupEventMap {
3
3
  }
4
4
  export interface UiInputGroupElement extends HTMLDivElement {
5
5
  addEventListener<K extends keyof UiInputGroupEventMap>(type: K, listener: (this: UiInputGroupElement, event: UiInputGroupEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiInputGroupElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiInputGroupEventMap>(type: K, listener: (this: UiInputGroupElement, event: UiInputGroupEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiInputGroupElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiInputGroupProps {
9
13
  actionPosition?: "below" | "top-end" | null;
@@ -16,3 +20,8 @@ export interface UiInputGroupProps {
16
20
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
17
21
  }
18
22
  export declare function createUiInputGroup(props?: UiInputGroupProps): UiInputGroupElement;
23
+ declare global {
24
+ interface ComponentTagMap {
25
+ "ui-input-group": { element: UiInputGroupElement; props: Omit<UiInputGroupProps, "attributes" | "children" | "slots"> };
26
+ }
27
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkFormat } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-input-group/ui-input-group.js";
4
4
  import "../styles/ui-input-group.css";
5
5
 
@@ -89,3 +89,4 @@ export function createUiInputGroup(options = {}, html) {
89
89
  manageProps(I);
90
90
  return element;
91
91
  }
92
+ defineComponent("ui-input-group", createUiInputGroup, ["actionPosition","disabled","multiline","prefixKind","variant"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiListEventMap {
3
3
  }
4
4
  export interface UiListElement extends HTMLElement {
5
5
  addEventListener<K extends keyof UiListEventMap>(type: K, listener: (this: UiListElement, event: UiListEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiListElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiListEventMap>(type: K, listener: (this: UiListElement, event: UiListEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiListElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiListProps {
9
13
  as?: "ul" | "ol" | null;
@@ -15,3 +19,8 @@ export interface UiListProps {
15
19
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
16
20
  }
17
21
  export declare function createUiList(props?: UiListProps): UiListElement;
22
+ declare global {
23
+ interface ComponentTagMap {
24
+ "ui-list": { element: UiListElement; props: Omit<UiListProps, "attributes" | "children" | "slots"> };
25
+ }
26
+ }
package/vanilla/UiList.js CHANGED
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, armElement, replaceRoot, checkFormat } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, armElement, replaceRoot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-list.css";
4
4
 
5
5
  const T0 = ["",[],4];
@@ -112,3 +112,4 @@ export function createUiList(options = {}, html) {
112
112
  manageProps(I);
113
113
  return element;
114
114
  }
115
+ defineComponent("ui-list", createUiList, ["as","density","layout","markers"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiListItemEventMap {
3
3
  }
4
4
  export interface UiListItemElement extends HTMLLIElement {
5
5
  addEventListener<K extends keyof UiListItemEventMap>(type: K, listener: (this: UiListItemElement, event: UiListItemEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiListItemElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiListItemEventMap>(type: K, listener: (this: UiListItemElement, event: UiListItemEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiListItemElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiListItemProps {
9
13
  align?: "center" | "title" | null;
@@ -17,3 +21,8 @@ export interface UiListItemProps {
17
21
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
18
22
  }
19
23
  export declare function createUiListItem(props?: UiListItemProps): UiListItemElement;
24
+ declare global {
25
+ interface ComponentTagMap {
26
+ "ui-list-item": { element: UiListItemElement; props: Omit<UiListItemProps, "attributes" | "children" | "slots"> };
27
+ }
28
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkFormat } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-list-item.css";
4
4
 
5
5
  const T0 = ["",[],"\n ",["span",["class","leading"],4],"\n ",["span",["class","content"],"\n ",["span",["class","title"],4],"\n ",["span",["class","description"],4],"\n "],"\n ",["span",["class","trailing"],4],"\n "];
@@ -92,3 +92,4 @@ export function createUiListItem(options = {}, html) {
92
92
  manageProps(I);
93
93
  return element;
94
94
  }
95
+ defineComponent("ui-list-item", createUiListItem, ["align","current","highlighted","leadingInteractive","variant","wrap"]);
@@ -1,10 +1,14 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiListboxEventMap {
3
3
  change: CustomEvent<{ readonly value: string | null; readonly values: readonly (string)[]; readonly trigger: "keyboard" | "pointer" }>;
4
4
  }
5
5
  export interface UiListboxElement extends HTMLDivElement {
6
6
  addEventListener<K extends keyof UiListboxEventMap>(type: K, listener: (this: UiListboxElement, event: UiListboxEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiListboxElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
8
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
7
9
  removeEventListener<K extends keyof UiListboxEventMap>(type: K, listener: (this: UiListboxElement, event: UiListboxEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiListboxElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
11
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
8
12
  }
9
13
  export interface UiListboxProps {
10
14
  disabled?: boolean | null;
@@ -20,3 +24,8 @@ export interface UiListboxProps {
20
24
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
21
25
  }
22
26
  export declare function createUiListbox(props?: UiListboxProps): UiListboxElement;
27
+ declare global {
28
+ interface ComponentTagMap {
29
+ "ui-listbox": { element: UiListboxElement; props: Omit<UiListboxProps, "attributes" | "children" | "slots"> };
30
+ }
31
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, visitSelected, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, keywordFormat, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkList, checkNull, checkNumber, checkObject, checkString, checkUnion } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, visitSelected, writeAttribute, dispatchDeclared, detailCheck, dispose, IndexedList, keywordFormat, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkList, checkNull, checkNumber, checkObject, checkString, checkUnion, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-listbox/ui-listbox.js";
4
4
  import "../styles/ui-listbox.css";
5
5
 
@@ -211,3 +211,4 @@ export function createUiListbox(options = {}, html) {
211
211
  I.r["validity"] = t6;
212
212
  return element;
213
213
  }
214
+ defineComponent("ui-listbox", createUiListbox, ["disabled","invalid","multiple","name","required","rows","value","values"]);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiMenuEventMap {
3
3
  select: CustomEvent<{ readonly value: string; readonly checked?: boolean; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -6,7 +6,11 @@ export interface UiMenuEventMap {
6
6
  }
7
7
  export interface UiMenuElement extends HTMLDivElement {
8
8
  addEventListener<K extends keyof UiMenuEventMap>(type: K, listener: (this: UiMenuElement, event: UiMenuEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
9
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiMenuElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
10
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9
11
  removeEventListener<K extends keyof UiMenuEventMap>(type: K, listener: (this: UiMenuElement, event: UiMenuEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
12
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiMenuElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
13
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
10
14
  }
11
15
  export interface UiMenuProps {
12
16
  density?: "comfortable" | "compact" | null;
@@ -21,3 +25,8 @@ export interface UiMenuProps {
21
25
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
22
26
  }
23
27
  export declare function createUiMenu(props?: UiMenuProps): UiMenuElement;
28
+ declare global {
29
+ interface ComponentTagMap {
30
+ "ui-menu": { element: UiMenuElement; props: Omit<UiMenuProps, "attributes" | "children" | "slots"> };
31
+ }
32
+ }
package/vanilla/UiMenu.js CHANGED
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-menu/ui-menu.js";
4
4
  import "../styles/ui-menu.css";
5
5
 
@@ -50,3 +50,4 @@ export function createUiMenu(options = {}, html) {
50
50
  manageProps(I);
51
51
  return element;
52
52
  }
53
+ defineComponent("ui-menu", createUiMenu, ["density","for","icons","inline","open","placement","size"]);
@@ -1,9 +1,13 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiMenuGroupEventMap {
3
3
  }
4
4
  export interface UiMenuGroupElement extends HTMLDivElement {
5
5
  addEventListener<K extends keyof UiMenuGroupEventMap>(type: K, listener: (this: UiMenuGroupElement, event: UiMenuGroupEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
6
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiMenuGroupElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
6
8
  removeEventListener<K extends keyof UiMenuGroupEventMap>(type: K, listener: (this: UiMenuGroupElement, event: UiMenuGroupEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
9
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiMenuGroupElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
7
11
  }
8
12
  export interface UiMenuGroupProps {
9
13
  label?: string | null;
@@ -12,3 +16,8 @@ export interface UiMenuGroupProps {
12
16
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
13
17
  }
14
18
  export declare function createUiMenuGroup(props?: UiMenuGroupProps): UiMenuGroupElement;
19
+ declare global {
20
+ interface ComponentTagMap {
21
+ "ui-menu-group": { element: UiMenuGroupElement; props: Omit<UiMenuGroupProps, "attributes" | "children" | "slots"> };
22
+ }
23
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, project, fillSlot, checkString } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, project, fillSlot, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-menu-group.css";
4
4
 
5
5
  const T0 = ["",[],"\n ",1,"\n ",4,"\n "];
@@ -66,3 +66,4 @@ export function createUiMenuGroup(options = {}, html) {
66
66
  manageProps(I);
67
67
  return element;
68
68
  }
69
+ defineComponent("ui-menu-group", createUiMenuGroup, ["label"]);
@@ -1,10 +1,14 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
2
  export interface UiMenuItemEventMap {
3
3
  change: CustomEvent<{ readonly checked: boolean; readonly value: string; readonly type: "checkbox" | "radio"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
5
5
  export interface UiMenuItemElement extends HTMLElement {
6
6
  addEventListener<K extends keyof UiMenuItemEventMap>(type: K, listener: (this: UiMenuItemElement, event: UiMenuItemEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiMenuItemElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
8
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
7
9
  removeEventListener<K extends keyof UiMenuItemEventMap>(type: K, listener: (this: UiMenuItemElement, event: UiMenuItemEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiMenuItemElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
11
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
8
12
  }
9
13
  export interface UiMenuItemProps {
10
14
  checked?: boolean | null;
@@ -18,3 +22,8 @@ export interface UiMenuItemProps {
18
22
  slots?: Readonly<Record<string, readonly (string | Node)[]>>;
19
23
  }
20
24
  export declare function createUiMenuItem(props?: UiMenuItemProps): UiMenuItemElement;
25
+ declare global {
26
+ interface ComponentTagMap {
27
+ "ui-menu-item": { element: UiMenuItemElement; props: Omit<UiMenuItemProps, "attributes" | "children" | "slots"> };
28
+ }
29
+ }
@@ -1,5 +1,5 @@
1
- // Generated by HTML Next 1.0.0-alpha.57 for Vanilla DOM. Do not edit.
2
- import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, armElement, replaceRoot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString } from "@nextwebwg/html-next/generated-runtime";
1
+ // Generated by HTML Next 1.0.0-alpha.58 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, project, fillSlot, armElement, replaceRoot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-menu-item/ui-menu-item.js";
4
4
  import "../styles/ui-menu-item.css";
5
5
 
@@ -225,3 +225,4 @@ export function createUiMenuItem(options = {}, html) {
225
225
  manageProps(I);
226
226
  return element;
227
227
  }
228
+ defineComponent("ui-menu-item", createUiMenuItem, ["checked","disabled","href","tone","type","value"]);