@threadlabs/looma 0.51.6 → 0.52.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 (368) hide show
  1. package/README.md +4 -4
  2. package/components/shared/overlay.js +7 -2
  3. package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -0
  4. package/components/ui-calendar/ui-calendar.js +11 -7
  5. package/components/ui-date-field/ui-date-field.js +0 -5
  6. package/components/ui-disclosure/ui-disclosure.js +19 -4
  7. package/components/ui-editor-link-form/ui-editor-link-form.js +5 -0
  8. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -3
  9. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +10 -1
  10. package/components/ui-file-input/ui-file-input.js +0 -2
  11. package/components/ui-status-message/ui-status-message.html +1 -0
  12. package/components/ui-tabs/ui-tabs.html +1 -0
  13. package/components/ui-tooltip/ui-tooltip.html +11 -32
  14. package/dist/index.js +14 -8
  15. package/docs/catalog.json +565 -131
  16. package/editor/components.css +530 -551
  17. package/editor/index.js +72 -47
  18. package/package.json +30 -35
  19. package/styles/ui-action-bar.css +8 -8
  20. package/styles/ui-affordance-scope.css +10 -10
  21. package/styles/ui-avatar-group.css +11 -11
  22. package/styles/ui-avatar.css +14 -14
  23. package/styles/ui-badge.css +67 -67
  24. package/styles/ui-breadcrumb-item.css +10 -10
  25. package/styles/ui-breadcrumbs.css +8 -8
  26. package/styles/ui-button.css +99 -99
  27. package/styles/ui-calendar.css +1 -1
  28. package/styles/ui-callout.css +14 -14
  29. package/styles/ui-card-group.css +11 -11
  30. package/styles/ui-card.css +36 -36
  31. package/styles/ui-checkbox.css +28 -28
  32. package/styles/ui-cluster.css +30 -30
  33. package/styles/ui-color-picker.css +16 -16
  34. package/styles/ui-combobox.css +50 -50
  35. package/styles/ui-compact-content.css +1 -1
  36. package/styles/ui-compact-editor.css +1 -1
  37. package/styles/ui-compact-mark.css +1 -1
  38. package/styles/ui-compact-node.css +1 -1
  39. package/styles/ui-container.css +14 -14
  40. package/styles/ui-context-menu.css +8 -8
  41. package/styles/ui-cover.css +9 -9
  42. package/styles/ui-curve-editor.css +9 -9
  43. package/styles/ui-cycle-button.css +10 -10
  44. package/styles/ui-date-field.css +1 -1
  45. package/styles/ui-date-picker.css +1 -1
  46. package/styles/ui-date-range-picker.css +1 -1
  47. package/styles/ui-description-item.css +8 -8
  48. package/styles/ui-description-list.css +18 -18
  49. package/styles/ui-dialog.css +37 -37
  50. package/styles/ui-disclosure.css +26 -26
  51. package/styles/ui-editable.css +13 -13
  52. package/styles/ui-editor-block-actions.css +1 -1
  53. package/styles/ui-editor-chip-editor.css +1 -1
  54. package/styles/ui-editor-code-language.css +1 -1
  55. package/styles/ui-editor-footnote-editor.css +1 -1
  56. package/styles/ui-editor-formatting-tools.css +1 -1
  57. package/styles/ui-editor-image-toolbar.css +1 -1
  58. package/styles/ui-editor-insert-table-grid.css +9 -9
  59. package/styles/ui-editor-link-card.css +1 -1
  60. package/styles/ui-editor-link-form.css +1 -1
  61. package/styles/ui-editor-mention-menu-item.css +13 -15
  62. package/styles/ui-editor-mention-menu.css +12 -12
  63. package/styles/ui-editor-slash-menu-group.css +7 -7
  64. package/styles/ui-editor-slash-menu-item.css +12 -12
  65. package/styles/ui-editor-slash-menu.css +13 -13
  66. package/styles/ui-editor-surface.css +8 -8
  67. package/styles/ui-editor-table-context-menu.css +19 -15
  68. package/styles/ui-editor-table-overlay.css +15 -15
  69. package/styles/ui-editor-table-toolbar.css +19 -19
  70. package/styles/ui-editor-toolbar.css +16 -16
  71. package/styles/ui-editor.css +1 -1
  72. package/styles/ui-file-input.css +1 -1
  73. package/styles/ui-floating-action-button.css +14 -14
  74. package/styles/ui-form-field.css +9 -9
  75. package/styles/ui-grid.css +19 -19
  76. package/styles/ui-icon-button.css +73 -73
  77. package/styles/ui-icon.css +11 -11
  78. package/styles/ui-image.css +23 -23
  79. package/styles/ui-input-group.css +26 -26
  80. package/styles/ui-input.css +23 -23
  81. package/styles/ui-light-editor.css +15 -15
  82. package/styles/ui-list-item.css +25 -25
  83. package/styles/ui-list.css +16 -16
  84. package/styles/ui-listbox.css +22 -22
  85. package/styles/ui-menu-group.css +7 -7
  86. package/styles/ui-menu-item.css +20 -20
  87. package/styles/ui-menu.css +20 -20
  88. package/styles/ui-meter.css +32 -32
  89. package/styles/ui-nav-item.css +18 -18
  90. package/styles/ui-number-input.css +12 -12
  91. package/styles/ui-page-header.css +10 -10
  92. package/styles/ui-pagination.css +1 -1
  93. package/styles/ui-popover.css +17 -17
  94. package/styles/ui-radio-group.css +10 -10
  95. package/styles/ui-radio.css +25 -25
  96. package/styles/ui-reel.css +21 -21
  97. package/styles/ui-scroll-area.css +20 -20
  98. package/styles/ui-search-result-row.css +16 -16
  99. package/styles/ui-search-shell.css +10 -10
  100. package/styles/ui-section.css +18 -18
  101. package/styles/ui-select.css +22 -22
  102. package/styles/ui-separator.css +12 -12
  103. package/styles/ui-sidebar.css +26 -26
  104. package/styles/ui-site-header.css +65 -65
  105. package/styles/ui-skeleton.css +18 -18
  106. package/styles/ui-slider.css +11 -11
  107. package/styles/ui-spinner.css +9 -9
  108. package/styles/ui-stack.css +22 -22
  109. package/styles/ui-status-message.css +12 -12
  110. package/styles/ui-swatch.css +14 -14
  111. package/styles/ui-switch.css +23 -23
  112. package/styles/ui-switcher.css +20 -20
  113. package/styles/ui-table.css +12 -12
  114. package/styles/ui-tabs.css +18 -17
  115. package/styles/ui-text.css +40 -40
  116. package/styles/ui-textarea.css +21 -21
  117. package/styles/ui-time-field.css +1 -1
  118. package/styles/ui-time-picker.css +1 -1
  119. package/styles/ui-toast-region.css +29 -29
  120. package/styles/ui-toast.css +19 -19
  121. package/styles/ui-tooltip.css +37 -58
  122. package/styles/ui-top-bar.css +8 -8
  123. package/styles/ui-tree-item.css +112 -112
  124. package/styles/ui-tree.css +11 -11
  125. package/vanilla/UiActionBar.d.ts +1 -1
  126. package/vanilla/UiActionBar.js +2 -2
  127. package/vanilla/UiAffordanceScope.d.ts +1 -1
  128. package/vanilla/UiAffordanceScope.js +2 -2
  129. package/vanilla/UiAvatar.d.ts +1 -1
  130. package/vanilla/UiAvatar.js +2 -2
  131. package/vanilla/UiAvatarGroup.d.ts +1 -1
  132. package/vanilla/UiAvatarGroup.js +2 -2
  133. package/vanilla/UiBadge.d.ts +1 -1
  134. package/vanilla/UiBadge.js +2 -2
  135. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  136. package/vanilla/UiBreadcrumbItem.js +2 -2
  137. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  138. package/vanilla/UiBreadcrumbs.js +2 -2
  139. package/vanilla/UiButton.d.ts +1 -1
  140. package/vanilla/UiButton.js +5 -5
  141. package/vanilla/UiCalendar.d.ts +1 -1
  142. package/vanilla/UiCalendar.js +10 -10
  143. package/vanilla/UiCallout.d.ts +1 -1
  144. package/vanilla/UiCallout.js +2 -2
  145. package/vanilla/UiCard.d.ts +1 -1
  146. package/vanilla/UiCard.js +5 -5
  147. package/vanilla/UiCardGroup.d.ts +1 -1
  148. package/vanilla/UiCardGroup.js +2 -2
  149. package/vanilla/UiCheckbox.d.ts +1 -1
  150. package/vanilla/UiCheckbox.js +2 -2
  151. package/vanilla/UiCluster.d.ts +1 -1
  152. package/vanilla/UiCluster.js +2 -2
  153. package/vanilla/UiColorPicker.d.ts +1 -1
  154. package/vanilla/UiColorPicker.js +2 -2
  155. package/vanilla/UiCombobox.d.ts +1 -1
  156. package/vanilla/UiCombobox.js +8 -8
  157. package/vanilla/UiCompactContent.d.ts +1 -1
  158. package/vanilla/UiCompactContent.js +4 -4
  159. package/vanilla/UiCompactEditor.d.ts +1 -1
  160. package/vanilla/UiCompactEditor.js +2 -2
  161. package/vanilla/UiCompactMark.d.ts +1 -1
  162. package/vanilla/UiCompactMark.js +5 -5
  163. package/vanilla/UiCompactNode.d.ts +1 -1
  164. package/vanilla/UiCompactNode.js +8 -8
  165. package/vanilla/UiContainer.d.ts +1 -1
  166. package/vanilla/UiContainer.js +2 -2
  167. package/vanilla/UiContextMenu.d.ts +1 -1
  168. package/vanilla/UiContextMenu.js +2 -2
  169. package/vanilla/UiCover.d.ts +1 -1
  170. package/vanilla/UiCover.js +2 -2
  171. package/vanilla/UiCurveEditor.d.ts +1 -1
  172. package/vanilla/UiCurveEditor.js +2 -2
  173. package/vanilla/UiCycleButton.d.ts +1 -1
  174. package/vanilla/UiCycleButton.js +2 -2
  175. package/vanilla/UiDateField.d.ts +1 -1
  176. package/vanilla/UiDateField.js +2 -2
  177. package/vanilla/UiDatePicker.d.ts +1 -1
  178. package/vanilla/UiDatePicker.js +2 -2
  179. package/vanilla/UiDateRangePicker.d.ts +1 -1
  180. package/vanilla/UiDateRangePicker.js +4 -4
  181. package/vanilla/UiDescriptionItem.d.ts +1 -1
  182. package/vanilla/UiDescriptionItem.js +2 -2
  183. package/vanilla/UiDescriptionList.d.ts +1 -1
  184. package/vanilla/UiDescriptionList.js +2 -2
  185. package/vanilla/UiDialog.d.ts +1 -1
  186. package/vanilla/UiDialog.js +2 -2
  187. package/vanilla/UiDisclosure.d.ts +1 -1
  188. package/vanilla/UiDisclosure.js +2 -2
  189. package/vanilla/UiEditable.d.ts +1 -1
  190. package/vanilla/UiEditable.js +2 -2
  191. package/vanilla/UiEditor.d.ts +1 -1
  192. package/vanilla/UiEditor.js +6 -6
  193. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  194. package/vanilla/UiEditorBlockActions.js +2 -2
  195. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  196. package/vanilla/UiEditorChipEditor.js +2 -2
  197. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  198. package/vanilla/UiEditorCodeLanguage.js +4 -4
  199. package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
  200. package/vanilla/UiEditorFootnoteEditor.js +2 -2
  201. package/vanilla/UiEditorFormattingTools.d.ts +1 -1
  202. package/vanilla/UiEditorFormattingTools.js +4 -4
  203. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  204. package/vanilla/UiEditorImageToolbar.js +2 -2
  205. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  206. package/vanilla/UiEditorInsertTableGrid.js +4 -4
  207. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  208. package/vanilla/UiEditorLinkCard.js +2 -2
  209. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  210. package/vanilla/UiEditorLinkForm.js +4 -4
  211. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  212. package/vanilla/UiEditorMentionMenu.js +4 -4
  213. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  214. package/vanilla/UiEditorMentionMenuItem.js +2 -2
  215. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  216. package/vanilla/UiEditorSlashMenu.js +4 -4
  217. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  218. package/vanilla/UiEditorSlashMenuGroup.js +2 -2
  219. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  220. package/vanilla/UiEditorSlashMenuItem.js +2 -2
  221. package/vanilla/UiEditorSurface.d.ts +1 -1
  222. package/vanilla/UiEditorSurface.js +2 -2
  223. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  224. package/vanilla/UiEditorTableContextMenu.js +7 -6
  225. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  226. package/vanilla/UiEditorTableOverlay.js +5 -5
  227. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  228. package/vanilla/UiEditorTableToolbar.js +8 -8
  229. package/vanilla/UiEditorToolbar.d.ts +1 -1
  230. package/vanilla/UiEditorToolbar.js +2 -2
  231. package/vanilla/UiFileInput.d.ts +1 -1
  232. package/vanilla/UiFileInput.js +4 -4
  233. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  234. package/vanilla/UiFloatingActionButton.js +2 -2
  235. package/vanilla/UiFormField.d.ts +1 -1
  236. package/vanilla/UiFormField.js +2 -2
  237. package/vanilla/UiGrid.d.ts +1 -1
  238. package/vanilla/UiGrid.js +4 -4
  239. package/vanilla/UiIcon.d.ts +1 -1
  240. package/vanilla/UiIcon.js +4 -4
  241. package/vanilla/UiIconButton.d.ts +1 -1
  242. package/vanilla/UiIconButton.js +2 -2
  243. package/vanilla/UiImage.d.ts +1 -1
  244. package/vanilla/UiImage.js +2 -2
  245. package/vanilla/UiInput.d.ts +1 -1
  246. package/vanilla/UiInput.js +2 -2
  247. package/vanilla/UiInputGroup.d.ts +1 -1
  248. package/vanilla/UiInputGroup.js +2 -2
  249. package/vanilla/UiLightEditor.d.ts +1 -1
  250. package/vanilla/UiLightEditor.js +2 -2
  251. package/vanilla/UiList.d.ts +1 -1
  252. package/vanilla/UiList.js +3 -3
  253. package/vanilla/UiListItem.d.ts +1 -1
  254. package/vanilla/UiListItem.js +2 -2
  255. package/vanilla/UiListbox.d.ts +1 -1
  256. package/vanilla/UiListbox.js +5 -5
  257. package/vanilla/UiMenu.d.ts +1 -1
  258. package/vanilla/UiMenu.js +2 -2
  259. package/vanilla/UiMenuGroup.d.ts +1 -1
  260. package/vanilla/UiMenuGroup.js +2 -2
  261. package/vanilla/UiMenuItem.d.ts +1 -1
  262. package/vanilla/UiMenuItem.js +3 -3
  263. package/vanilla/UiMeter.d.ts +1 -1
  264. package/vanilla/UiMeter.js +4 -4
  265. package/vanilla/UiNavItem.d.ts +1 -1
  266. package/vanilla/UiNavItem.js +3 -3
  267. package/vanilla/UiNumberInput.d.ts +1 -1
  268. package/vanilla/UiNumberInput.js +2 -2
  269. package/vanilla/UiPageHeader.d.ts +1 -1
  270. package/vanilla/UiPageHeader.js +2 -2
  271. package/vanilla/UiPagination.d.ts +1 -1
  272. package/vanilla/UiPagination.js +4 -4
  273. package/vanilla/UiPopover.d.ts +1 -1
  274. package/vanilla/UiPopover.js +2 -2
  275. package/vanilla/UiRadio.d.ts +1 -1
  276. package/vanilla/UiRadio.js +2 -2
  277. package/vanilla/UiRadioGroup.d.ts +1 -1
  278. package/vanilla/UiRadioGroup.js +2 -2
  279. package/vanilla/UiReel.d.ts +1 -1
  280. package/vanilla/UiReel.js +2 -2
  281. package/vanilla/UiScrollArea.d.ts +1 -1
  282. package/vanilla/UiScrollArea.js +2 -2
  283. package/vanilla/UiSearchResultRow.d.ts +1 -1
  284. package/vanilla/UiSearchResultRow.js +2 -2
  285. package/vanilla/UiSearchShell.d.ts +1 -1
  286. package/vanilla/UiSearchShell.js +2 -2
  287. package/vanilla/UiSection.d.ts +1 -1
  288. package/vanilla/UiSection.js +3 -3
  289. package/vanilla/UiSelect.d.ts +1 -1
  290. package/vanilla/UiSelect.js +2 -2
  291. package/vanilla/UiSeparator.d.ts +1 -1
  292. package/vanilla/UiSeparator.js +2 -2
  293. package/vanilla/UiSidebar.d.ts +1 -1
  294. package/vanilla/UiSidebar.js +2 -2
  295. package/vanilla/UiSiteHeader.d.ts +1 -1
  296. package/vanilla/UiSiteHeader.js +2 -2
  297. package/vanilla/UiSkeleton.d.ts +1 -1
  298. package/vanilla/UiSkeleton.js +2 -2
  299. package/vanilla/UiSlider.d.ts +1 -1
  300. package/vanilla/UiSlider.js +2 -2
  301. package/vanilla/UiSpinner.d.ts +1 -1
  302. package/vanilla/UiSpinner.js +2 -2
  303. package/vanilla/UiStack.d.ts +1 -1
  304. package/vanilla/UiStack.js +2 -2
  305. package/vanilla/UiStatusMessage.d.ts +1 -1
  306. package/vanilla/UiStatusMessage.js +2 -2
  307. package/vanilla/UiSwatch.d.ts +1 -1
  308. package/vanilla/UiSwatch.js +2 -2
  309. package/vanilla/UiSwitch.d.ts +1 -1
  310. package/vanilla/UiSwitch.js +2 -2
  311. package/vanilla/UiSwitcher.d.ts +1 -1
  312. package/vanilla/UiSwitcher.js +2 -2
  313. package/vanilla/UiTable.d.ts +1 -1
  314. package/vanilla/UiTable.js +2 -2
  315. package/vanilla/UiTabs.d.ts +1 -1
  316. package/vanilla/UiTabs.js +4 -4
  317. package/vanilla/UiText.d.ts +1 -1
  318. package/vanilla/UiText.js +13 -13
  319. package/vanilla/UiTextarea.d.ts +1 -1
  320. package/vanilla/UiTextarea.js +2 -2
  321. package/vanilla/UiTimeField.d.ts +1 -1
  322. package/vanilla/UiTimeField.js +2 -2
  323. package/vanilla/UiTimePicker.d.ts +1 -1
  324. package/vanilla/UiTimePicker.js +6 -6
  325. package/vanilla/UiToast.d.ts +1 -1
  326. package/vanilla/UiToast.js +2 -2
  327. package/vanilla/UiToastRegion.d.ts +1 -1
  328. package/vanilla/UiToastRegion.js +4 -4
  329. package/vanilla/UiTooltip.d.ts +1 -1
  330. package/vanilla/UiTooltip.js +2 -2
  331. package/vanilla/UiTopBar.d.ts +1 -1
  332. package/vanilla/UiTopBar.js +2 -2
  333. package/vanilla/UiTree.d.ts +1 -1
  334. package/vanilla/UiTree.js +2 -2
  335. package/vanilla/UiTreeItem.d.ts +1 -1
  336. package/vanilla/UiTreeItem.js +2 -2
  337. package/bin/looma-docs.mjs +0 -3
  338. package/docs/README.md +0 -323
  339. package/docs/card.html +0 -79
  340. package/docs/card.js +0 -18
  341. package/docs/catalog-view.js +0 -24
  342. package/docs/catalog-view.mjs +0 -13
  343. package/docs/catalog.mjs +0 -131
  344. package/docs/cli.mjs +0 -26
  345. package/docs/commands.mjs +0 -94
  346. package/docs/customizer-render.mjs +0 -157
  347. package/docs/customizer.js +0 -494
  348. package/docs/documentation.css +0 -14
  349. package/docs/example-invocations.mjs +0 -63
  350. package/docs/fonts.mjs +0 -73
  351. package/docs/framework-examples.d.mts +0 -9
  352. package/docs/framework-examples.mjs +0 -195
  353. package/docs/index.d.ts +0 -59
  354. package/docs/index.mjs +0 -4
  355. package/docs/local-server.mjs +0 -65
  356. package/docs/navigation.mjs +0 -26
  357. package/docs/palette.mjs +0 -68
  358. package/docs/pastoral.svg +0 -54
  359. package/docs/portrait.svg +0 -15
  360. package/docs/reference.html +0 -1
  361. package/docs/reference.js +0 -36
  362. package/docs/render.mjs +0 -97
  363. package/docs/site.mjs +0 -237
  364. package/docs/store.mjs +0 -92
  365. package/docs/theme-session.mjs +0 -72
  366. package/docs/theme.mjs +0 -669
  367. package/docs/value-editors.mjs +0 -37
  368. package/docs/workspace.mjs +0 -32
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
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, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } 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";
@@ -9,7 +9,7 @@ const T2 = ["",[]];
9
9
  const T3 = ["",[],"\n ",2,"\n "];
10
10
  const T4 = ["input",["type","hidden"]];
11
11
  let P0, P1, P2, P3, P4;
12
- const E = new Map();
12
+ const emptyDirty = new Map();
13
13
  const S = { n: ["choices","selection","hasSelection","active","uid","validationError"], t: [["l",["o",["value","s","label","s","disabled","b","selected","b","index","i"]]],["l","s"],"b","i","s","b"], f: import.meta.url, g: "ui-listbox", d: { "change": [detailCheck(checkObject([["value", checkString, true], ["values", checkList(checkString), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[], [], false, null, "", false] };
14
14
  const D = { g: "ui-listbox", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "multiple": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "rows": { "required":false,"default":5, c: checkNumber, t: "number", j: 0, m: "n" }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" }, "values": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] } } };
15
15
  const C = (host) => activateModule(controller, host);
@@ -22,7 +22,7 @@ export function createUiListbox(options = {}, html) {
22
22
  element.setAttribute(name, value === true ? "" : String(value));
23
23
  }
24
24
  if (!element.hasAttribute("role")) element.setAttribute("role", "listbox");
25
- element.setAttribute("data-component", "ui-listbox");
25
+ element.setAttribute("component", "ui-listbox");
26
26
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
27
27
  const v = [[], [], false, null, "", false, null, null, null, null, null, null, null, null];
28
28
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -32,7 +32,7 @@ export function createUiListbox(options = {}, html) {
32
32
  const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
33
33
  const t0 = n.firstChild.nextSibling.firstChild;
34
34
  const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t0, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: null, v6: "" };
35
- p1(r, -1, E);
35
+ p1(r, -1, emptyDirty);
36
36
  return r;
37
37
  };
38
38
  const p1 = (r, c, d) => {
@@ -94,7 +94,7 @@ export function createUiListbox(options = {}, html) {
94
94
  const m4 = (o, j, l) => {
95
95
  const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
96
96
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null };
97
- p4(r, -1, E);
97
+ p4(r, -1, emptyDirty);
98
98
  return r;
99
99
  };
100
100
  const p4 = (r, c, d) => {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiMenuEventMap {
3
3
  select: CustomEvent<{ readonly value: string; readonly checked?: boolean | null; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
package/vanilla/UiMenu.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } 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";
@@ -19,7 +19,7 @@ export function createUiMenu(options = {}, html) {
19
19
  }
20
20
  if (!element.hasAttribute("role")) element.setAttribute("role", "menu");
21
21
  if (!element.hasAttribute("aria-orientation")) element.setAttribute("aria-orientation", "vertical");
22
- element.setAttribute("data-component", "ui-menu");
22
+ element.setAttribute("component", "ui-menu");
23
23
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
24
24
  const v = [false, null, null, null, null, null, null, null];
25
25
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiMenuGroupEventMap {
3
3
  }
4
4
  export interface UiMenuGroupElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, clearRegion, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, generatedInputs, project, fillSlot, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-menu-group.css";
4
4
 
@@ -17,7 +17,7 @@ export function createUiMenuGroup(options = {}, html) {
17
17
  element.setAttribute(name, value === true ? "" : String(value));
18
18
  }
19
19
  if (!element.hasAttribute("role")) element.setAttribute("role", "group");
20
- element.setAttribute("data-component", "ui-menu-group");
20
+ element.setAttribute("component", "ui-menu-group");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [null];
23
23
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 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
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, textCall, toAttribute, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } 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";
@@ -33,7 +33,7 @@ export function createUiMenuItem(options = {}, html) {
33
33
  }
34
34
  if (!element.hasAttribute("role")) element.setAttribute("role", "menuitem");
35
35
  if (!element.hasAttribute("tabindex")) element.setAttribute("tabindex", "-1");
36
- element.setAttribute("data-component", "ui-menu-item");
36
+ element.setAttribute("component", "ui-menu-item");
37
37
  } else {
38
38
  element = document.createElement("div");
39
39
  for (const [name, value] of Object.entries(attributes)) {
@@ -41,7 +41,7 @@ export function createUiMenuItem(options = {}, html) {
41
41
  element.setAttribute(name, value === true ? "" : String(value));
42
42
  }
43
43
  if (!element.hasAttribute("tabindex")) element.setAttribute("tabindex", "-1");
44
- element.setAttribute("data-component", "ui-menu-item");
44
+ element.setAttribute("component", "ui-menu-item");
45
45
  }
46
46
  B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
47
47
  const m1 = (d) => {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiMeterEventMap {
3
3
  }
4
4
  export interface UiMeterElement extends HTMLSpanElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, binaryValue, buildTemplate, clearRegion, formatCall, mathCall, NONCONFORMING, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, computedCycle, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, RangedIndexedList, readonlyView, checkFormat, checkList, checkNumber, checkObject, checkString, defineComponent, subtract, multiply } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-meter.css";
4
4
 
@@ -8,7 +8,7 @@ const T2 = ["",[],"\n ",2,"\n "];
8
8
  const T3 = ["",[],"\n ",1,"\n "];
9
9
  const T4 = ["span",["class","part","aria-hidden","true"]];
10
10
  let P0, P1, P2, P3, P4;
11
- const E = new Map();
11
+ const emptyDirty = new Map();
12
12
  const S = { n: ["amount","percent"], t: ["?","?"], f: import.meta.url, g: "ui-meter", k: 0, r: readonlyView, b: generatedInputs };
13
13
  const D = { g: "ui-meter", props: { "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "max": { "required":false,"default":1, c: checkNumber, t: "number", j: 0, m: "n" }, "parts": { "required":false,"default":[], c: checkList(checkObject([["value", checkNumber, false], ["color", checkString, false]], false)), j: 1, m: ["l",["o",["value","n","color","s"]]] }, "segments": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "size": { "required":false,"values":["sm","md"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "tone": { "required":false,"values":["neutral","accent","accent-secondary","accent-tertiary","info","success","warning","danger"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "valueText": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "variant": { "required":false,"values":["progress","distribution"],"default":"progress", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
14
14
 
@@ -19,7 +19,7 @@ export function createUiMeter(options = {}, html) {
19
19
  if (value === null || value === undefined || value === false) continue;
20
20
  element.setAttribute(name, value === true ? "" : String(value));
21
21
  }
22
- element.setAttribute("data-component", "ui-meter");
22
+ element.setAttribute("component", "ui-meter");
23
23
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
24
24
  const v = [undefined, undefined, null, null, null, null, null, null, null, null, null];
25
25
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -72,7 +72,7 @@ export function createUiMeter(options = {}, html) {
72
72
  n.prepend(s);
73
73
  n.append(t);
74
74
  const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, e0: t0.nextSibling, b0: undefined };
75
- p3(r, -1, E);
75
+ p3(r, -1, emptyDirty);
76
76
  return r;
77
77
  };
78
78
  const p3 = (r, c, d) => {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiNavItemEventMap {
3
3
  }
4
4
  export interface UiNavItemElement extends HTMLElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, writeAttribute, writeUrlAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-nav-item.css";
4
4
 
@@ -30,7 +30,7 @@ export function createUiNavItem(options = {}, html) {
30
30
  if (value === null || value === undefined || value === false) continue;
31
31
  element.setAttribute(name, value === true ? "" : String(value));
32
32
  }
33
- element.setAttribute("data-component", "ui-nav-item");
33
+ element.setAttribute("component", "ui-nav-item");
34
34
  } else {
35
35
  element = document.createElement("button");
36
36
  for (const [name, value] of Object.entries(attributes)) {
@@ -38,7 +38,7 @@ export function createUiNavItem(options = {}, html) {
38
38
  element.setAttribute(name, value === true ? "" : String(value));
39
39
  }
40
40
  if (!element.hasAttribute("type")) element.setAttribute("type", "button");
41
- element.setAttribute("data-component", "ui-nav-item");
41
+ element.setAttribute("component", "ui-nav-item");
42
42
  }
43
43
  B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
44
44
  const m1 = (d) => {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiNumberInputEventMap {
3
3
  input: CustomEvent<{ readonly value: string }>;
4
4
  change: CustomEvent<{ readonly value: string }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, stateInitializers, buildTemplate, checkReference, NONCONFORMING, textCall, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, checkBoolean, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-number-input/ui-number-input.js";
4
4
  import "../styles/ui-number-input.css";
@@ -16,7 +16,7 @@ export function createUiNumberInput(options = {}, html) {
16
16
  if (value === null || value === undefined || value === false) continue;
17
17
  element.setAttribute(name, value === true ? "" : String(value));
18
18
  }
19
- element.setAttribute("data-component", "ui-number-input");
19
+ element.setAttribute("component", "ui-number-input");
20
20
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
21
21
  const v = [null, null, null, null, null, null, null, null, null, null, null];
22
22
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiPageHeaderEventMap {
3
3
  }
4
4
  export interface UiPageHeaderElement extends HTMLElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-page-header.css";
4
4
 
@@ -19,7 +19,7 @@ export function createUiPageHeader(options = {}, html) {
19
19
  if (value === null || value === undefined || value === false) continue;
20
20
  element.setAttribute(name, value === true ? "" : String(value));
21
21
  }
22
- element.setAttribute("data-component", "ui-page-header");
22
+ element.setAttribute("component", "ui-page-header");
23
23
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
24
24
  const v = [null];
25
25
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiPaginationEventMap {
3
3
  navigate: CustomEvent<{ readonly page: number; readonly previousPage: number; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, binaryValue, buildTemplate, clearRegion, defaultValue, formatCall, NONCONFORMING, readIndex, readMember, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, RangedPositionalList, checkBoolean, checkConstrained, checkFormat, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule, add, subtract } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-pagination/ui-pagination.js";
4
4
  import "../styles/ui-pagination.css";
@@ -8,7 +8,7 @@ const T1 = ["",[],"\n ",1,"\n ",["ui-button",["square",""],0],"\n
8
8
  const T2 = ["span",["aria-hidden","true"],"…"];
9
9
  const T3 = ["",[]];
10
10
  let P0, P1, P2, P3;
11
- const E = new Map();
11
+ const emptyDirty = new Map();
12
12
  const S = { n: [], t: [], f: import.meta.url, g: "ui-pagination", d: { "navigate": [detailCheck(checkObject([["page", checkNumber, false], ["previousPage", checkNumber, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs };
13
13
  const D = { g: "ui-pagination", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "hasNext": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "hasPrevious": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "label": { "required":false,"default":"Results pages", c: checkString, t: "string", j: 0, m: "s" }, "nextHref": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "nextLabel": { "required":false,"default":"Next", c: checkString, t: "string", j: 0, m: "s" }, "page": { "required":false,"default":1, c: checkNumber, t: "number", j: 0, m: "n" }, "pageLabel": { "required":false,"default":"Page", c: checkString, t: "string", j: 0, m: "s" }, "pages": { "required":false,"default":[], c: checkList(checkObject([["value", checkNumber, false], ["href", checkString, true]], false)), j: 1, m: ["l",["o",["value","n","href","s"]]] }, "previousHref": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "previousLabel": { "required":false,"default":"Previous", c: checkString, t: "string", j: 0, m: "s" }, "size": { "required":false,"values":["sm","md","lg"],"default":"sm", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
14
14
  const C = (host) => activateModule(controller, host);
@@ -20,7 +20,7 @@ export function createUiPagination(options = {}, html) {
20
20
  if (value === null || value === undefined || value === false) continue;
21
21
  element.setAttribute(name, value === true ? "" : String(value));
22
22
  }
23
- element.setAttribute("data-component", "ui-pagination");
23
+ element.setAttribute("component", "ui-pagination");
24
24
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
25
25
  const v = [null, null, null, null, null, null, null, null, null, null, null, null];
26
26
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -33,7 +33,7 @@ export function createUiPagination(options = {}, html) {
33
33
  n.prepend(s);
34
34
  n.append(t);
35
35
  const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, j, l, a1: t1, a2: t2, w: 0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, v8: "", a0: t0, e0: t0.nextSibling, b0: undefined };
36
- p1(r, -1, E);
36
+ p1(r, -1, emptyDirty);
37
37
  return r;
38
38
  };
39
39
  const p1 = (r, c, d) => {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiPopoverEventMap {
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.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-popover/ui-popover.js";
4
4
  import "../styles/ui-popover.css";
@@ -17,7 +17,7 @@ export function createUiPopover(options = {}, html) {
17
17
  if (value === null || value === undefined || value === false) continue;
18
18
  element.setAttribute(name, value === true ? "" : String(value));
19
19
  }
20
- element.setAttribute("data-component", "ui-popover");
20
+ element.setAttribute("component", "ui-popover");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [false, null, null, null, null, null, null];
23
23
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiRadioEventMap {
3
3
  change: CustomEvent<{ readonly checked: boolean; readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, readsChanged, rec, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-radio/ui-radio.js";
4
4
  import "../styles/ui-radio.css";
@@ -18,7 +18,7 @@ export function createUiRadio(options = {}, html) {
18
18
  if (value === null || value === undefined || value === false) continue;
19
19
  element.setAttribute(name, value === true ? "" : String(value));
20
20
  }
21
- element.setAttribute("data-component", "ui-radio");
21
+ element.setAttribute("component", "ui-radio");
22
22
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
23
23
  const v = [false, null, null, null, null, null, null];
24
24
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiRadioGroupEventMap {
3
3
  select: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ readonly checked: boolean; readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-radio-group/ui-radio-group.js";
4
4
  import "../styles/ui-radio-group.css";
@@ -18,7 +18,7 @@ export function createUiRadioGroup(options = {}, html) {
18
18
  element.setAttribute(name, value === true ? "" : String(value));
19
19
  }
20
20
  if (!element.hasAttribute("role")) element.setAttribute("role", "radiogroup");
21
- element.setAttribute("data-component", "ui-radio-group");
21
+ element.setAttribute("component", "ui-radio-group");
22
22
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
23
23
  const v = ["", null, null, null, null, null, null, null, null, null];
24
24
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiReelEventMap {
3
3
  }
4
4
  export interface UiReelElement extends HTMLDivElement {
package/vanilla/UiReel.js CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-reel.css";
4
4
 
@@ -17,7 +17,7 @@ export function createUiReel(options = {}, html) {
17
17
  }
18
18
  if (!element.hasAttribute("role")) element.setAttribute("role", "region");
19
19
  if (!element.hasAttribute("tabindex")) element.setAttribute("tabindex", "0");
20
- element.setAttribute("data-component", "ui-reel");
20
+ element.setAttribute("component", "ui-reel");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [null, null, null];
23
23
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiScrollAreaEventMap {
3
3
  }
4
4
  export interface UiScrollAreaElement extends HTMLDivElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-scroll-area/ui-scroll-area.js";
4
4
  import "../styles/ui-scroll-area.css";
@@ -17,7 +17,7 @@ export function createUiScrollArea(options = {}, html) {
17
17
  if (value === null || value === undefined || value === false) continue;
18
18
  element.setAttribute(name, value === true ? "" : String(value));
19
19
  }
20
- element.setAttribute("data-component", "ui-scroll-area");
20
+ element.setAttribute("component", "ui-scroll-area");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [null, null, null, null, null];
23
23
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiSearchResultRowEventMap {
3
3
  }
4
4
  export interface UiSearchResultRowElement extends HTMLButtonElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-search-result-row.css";
4
4
 
@@ -20,7 +20,7 @@ export function createUiSearchResultRow(options = {}, html) {
20
20
  element.setAttribute(name, value === true ? "" : String(value));
21
21
  }
22
22
  if (!element.hasAttribute("type")) element.setAttribute("type", "button");
23
- element.setAttribute("data-component", "ui-search-result-row");
23
+ element.setAttribute("component", "ui-search-result-row");
24
24
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
25
25
  const v = [null, null, null];
26
26
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiSearchShellEventMap {
3
3
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-search-shell/ui-search-shell.js";
4
4
  import "../styles/ui-search-shell.css";
@@ -20,7 +20,7 @@ export function createUiSearchShell(options = {}, html) {
20
20
  if (value === null || value === undefined || value === false) continue;
21
21
  element.setAttribute(name, value === true ? "" : String(value));
22
22
  }
23
- element.setAttribute("data-component", "ui-search-shell");
23
+ element.setAttribute("component", "ui-search-shell");
24
24
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
25
25
  const v = [false, null, null, null, null];
26
26
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiSectionEventMap {
3
3
  }
4
4
  export interface UiSectionElement extends HTMLElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, toText, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-section.css";
4
4
 
@@ -28,14 +28,14 @@ export function createUiSection(options = {}, html) {
28
28
  if (value === null || value === undefined || value === false) continue;
29
29
  element.setAttribute(name, value === true ? "" : String(value));
30
30
  }
31
- element.setAttribute("data-component", "ui-section");
31
+ element.setAttribute("component", "ui-section");
32
32
  } else {
33
33
  element = document.createElement("section");
34
34
  for (const [name, value] of Object.entries(attributes)) {
35
35
  if (value === null || value === undefined || value === false) continue;
36
36
  element.setAttribute(name, value === true ? "" : String(value));
37
37
  }
38
- element.setAttribute("data-component", "ui-section");
38
+ element.setAttribute("component", "ui-section");
39
39
  }
40
40
  B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
41
41
  const m1 = (d) => {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiSelectEventMap {
3
3
  }
4
4
  export interface UiSelectElement extends HTMLSelectElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-select/ui-select.js";
4
4
  import "../styles/ui-select.css";
@@ -17,7 +17,7 @@ export function createUiSelect(options = {}, html) {
17
17
  if (value === null || value === undefined || value === false) continue;
18
18
  element.setAttribute(name, value === true ? "" : String(value));
19
19
  }
20
- element.setAttribute("data-component", "ui-select");
20
+ element.setAttribute("component", "ui-select");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [null, null, null, null, null, null];
23
23
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiSeparatorEventMap {
3
3
  }
4
4
  export interface UiSeparatorElement extends HTMLHRElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, toAttribute, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-separator.css";
4
4
 
@@ -12,7 +12,7 @@ export function createUiSeparator(options = {}, html) {
12
12
  if (value === null || value === undefined || value === false) continue;
13
13
  element.setAttribute(name, value === true ? "" : String(value));
14
14
  }
15
- element.setAttribute("data-component", "ui-separator");
15
+ element.setAttribute("component", "ui-separator");
16
16
  const v = [null, null, null, null];
17
17
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
18
18
  const p0 = (r, c, d) => {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiSidebarEventMap {
3
3
  resize: CustomEvent<{ readonly width: number; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  toggle: CustomEvent<{ readonly open: boolean; readonly mode: "docked" | "drawer"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-sidebar/ui-sidebar.js";
4
4
  import "../styles/ui-sidebar.css";
@@ -17,7 +17,7 @@ export function createUiSidebar(options = {}, html) {
17
17
  if (value === null || value === undefined || value === false) continue;
18
18
  element.setAttribute(name, value === true ? "" : String(value));
19
19
  }
20
- element.setAttribute("data-component", "ui-sidebar");
20
+ element.setAttribute("component", "ui-sidebar");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [false, false, false, null, null, null, null, null, null, null, null, null];
23
23
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiSiteHeaderEventMap {
3
3
  }
4
4
  export interface UiSiteHeaderElement extends HTMLElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-site-header/ui-site-header.js";
4
4
  import "../styles/ui-site-header.css";
@@ -20,7 +20,7 @@ export function createUiSiteHeader(options = {}, html) {
20
20
  if (value === null || value === undefined || value === false) continue;
21
21
  element.setAttribute(name, value === true ? "" : String(value));
22
22
  }
23
- element.setAttribute("data-component", "ui-site-header");
23
+ element.setAttribute("component", "ui-site-header");
24
24
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
25
25
  const v = [false, false, null, null, null, null, null];
26
26
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiSkeletonEventMap {
3
3
  }
4
4
  export interface UiSkeletonElement extends HTMLSpanElement {
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, toText, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-skeleton/ui-skeleton.js";
4
4
  import "../styles/ui-skeleton.css";
@@ -15,7 +15,7 @@ export function createUiSkeleton(options = {}, html) {
15
15
  element.setAttribute(name, value === true ? "" : String(value));
16
16
  }
17
17
  if (!element.hasAttribute("aria-hidden")) element.setAttribute("aria-hidden", "true");
18
- element.setAttribute("data-component", "ui-skeleton");
18
+ element.setAttribute("component", "ui-skeleton");
19
19
  const v = [null, null, null, null];
20
20
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
21
21
  const p0 = (r, c, d) => {