@threadlabs/looma 0.51.6 → 0.52.1

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 (374) 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/components/ui-wizard/ui-wizard.html +137 -0
  15. package/components/ui-wizard/ui-wizard.js +19 -0
  16. package/dist/index.js +15 -8
  17. package/docs/catalog.json +876 -131
  18. package/editor/components.css +530 -551
  19. package/editor/index.js +72 -47
  20. package/package.json +30 -35
  21. package/styles/ui-action-bar.css +8 -8
  22. package/styles/ui-affordance-scope.css +10 -10
  23. package/styles/ui-avatar-group.css +11 -11
  24. package/styles/ui-avatar.css +14 -14
  25. package/styles/ui-badge.css +67 -67
  26. package/styles/ui-breadcrumb-item.css +10 -10
  27. package/styles/ui-breadcrumbs.css +8 -8
  28. package/styles/ui-button.css +99 -99
  29. package/styles/ui-calendar.css +1 -1
  30. package/styles/ui-callout.css +14 -14
  31. package/styles/ui-card-group.css +11 -11
  32. package/styles/ui-card.css +36 -36
  33. package/styles/ui-checkbox.css +28 -28
  34. package/styles/ui-cluster.css +30 -30
  35. package/styles/ui-color-picker.css +16 -16
  36. package/styles/ui-combobox.css +50 -50
  37. package/styles/ui-compact-content.css +1 -1
  38. package/styles/ui-compact-editor.css +1 -1
  39. package/styles/ui-compact-mark.css +1 -1
  40. package/styles/ui-compact-node.css +1 -1
  41. package/styles/ui-container.css +14 -14
  42. package/styles/ui-context-menu.css +8 -8
  43. package/styles/ui-cover.css +9 -9
  44. package/styles/ui-curve-editor.css +9 -9
  45. package/styles/ui-cycle-button.css +10 -10
  46. package/styles/ui-date-field.css +1 -1
  47. package/styles/ui-date-picker.css +1 -1
  48. package/styles/ui-date-range-picker.css +1 -1
  49. package/styles/ui-description-item.css +8 -8
  50. package/styles/ui-description-list.css +18 -18
  51. package/styles/ui-dialog.css +37 -37
  52. package/styles/ui-disclosure.css +26 -26
  53. package/styles/ui-editable.css +13 -13
  54. package/styles/ui-editor-block-actions.css +1 -1
  55. package/styles/ui-editor-chip-editor.css +1 -1
  56. package/styles/ui-editor-code-language.css +1 -1
  57. package/styles/ui-editor-footnote-editor.css +1 -1
  58. package/styles/ui-editor-formatting-tools.css +1 -1
  59. package/styles/ui-editor-image-toolbar.css +1 -1
  60. package/styles/ui-editor-insert-table-grid.css +9 -9
  61. package/styles/ui-editor-link-card.css +1 -1
  62. package/styles/ui-editor-link-form.css +1 -1
  63. package/styles/ui-editor-mention-menu-item.css +13 -15
  64. package/styles/ui-editor-mention-menu.css +12 -12
  65. package/styles/ui-editor-slash-menu-group.css +7 -7
  66. package/styles/ui-editor-slash-menu-item.css +12 -12
  67. package/styles/ui-editor-slash-menu.css +13 -13
  68. package/styles/ui-editor-surface.css +8 -8
  69. package/styles/ui-editor-table-context-menu.css +19 -15
  70. package/styles/ui-editor-table-overlay.css +15 -15
  71. package/styles/ui-editor-table-toolbar.css +19 -19
  72. package/styles/ui-editor-toolbar.css +16 -16
  73. package/styles/ui-editor.css +1 -1
  74. package/styles/ui-file-input.css +1 -1
  75. package/styles/ui-floating-action-button.css +14 -14
  76. package/styles/ui-form-field.css +9 -9
  77. package/styles/ui-grid.css +19 -19
  78. package/styles/ui-icon-button.css +73 -73
  79. package/styles/ui-icon.css +11 -11
  80. package/styles/ui-image.css +23 -23
  81. package/styles/ui-input-group.css +26 -26
  82. package/styles/ui-input.css +23 -23
  83. package/styles/ui-light-editor.css +15 -15
  84. package/styles/ui-list-item.css +25 -25
  85. package/styles/ui-list.css +16 -16
  86. package/styles/ui-listbox.css +22 -22
  87. package/styles/ui-menu-group.css +7 -7
  88. package/styles/ui-menu-item.css +20 -20
  89. package/styles/ui-menu.css +20 -20
  90. package/styles/ui-meter.css +32 -32
  91. package/styles/ui-nav-item.css +18 -18
  92. package/styles/ui-number-input.css +12 -12
  93. package/styles/ui-page-header.css +10 -10
  94. package/styles/ui-pagination.css +1 -1
  95. package/styles/ui-popover.css +17 -17
  96. package/styles/ui-radio-group.css +10 -10
  97. package/styles/ui-radio.css +25 -25
  98. package/styles/ui-reel.css +21 -21
  99. package/styles/ui-scroll-area.css +20 -20
  100. package/styles/ui-search-result-row.css +16 -16
  101. package/styles/ui-search-shell.css +10 -10
  102. package/styles/ui-section.css +18 -18
  103. package/styles/ui-select.css +22 -22
  104. package/styles/ui-separator.css +12 -12
  105. package/styles/ui-sidebar.css +26 -26
  106. package/styles/ui-site-header.css +65 -65
  107. package/styles/ui-skeleton.css +18 -18
  108. package/styles/ui-slider.css +11 -11
  109. package/styles/ui-spinner.css +9 -9
  110. package/styles/ui-stack.css +22 -22
  111. package/styles/ui-status-message.css +12 -12
  112. package/styles/ui-swatch.css +14 -14
  113. package/styles/ui-switch.css +23 -23
  114. package/styles/ui-switcher.css +20 -20
  115. package/styles/ui-table.css +12 -12
  116. package/styles/ui-tabs.css +18 -17
  117. package/styles/ui-text.css +40 -40
  118. package/styles/ui-textarea.css +21 -21
  119. package/styles/ui-time-field.css +1 -1
  120. package/styles/ui-time-picker.css +1 -1
  121. package/styles/ui-toast-region.css +29 -29
  122. package/styles/ui-toast.css +19 -19
  123. package/styles/ui-tooltip.css +37 -58
  124. package/styles/ui-top-bar.css +8 -8
  125. package/styles/ui-tree-item.css +112 -112
  126. package/styles/ui-tree.css +11 -11
  127. package/styles/ui-wizard.css +162 -0
  128. package/vanilla/UiActionBar.d.ts +1 -1
  129. package/vanilla/UiActionBar.js +2 -2
  130. package/vanilla/UiAffordanceScope.d.ts +1 -1
  131. package/vanilla/UiAffordanceScope.js +2 -2
  132. package/vanilla/UiAvatar.d.ts +1 -1
  133. package/vanilla/UiAvatar.js +2 -2
  134. package/vanilla/UiAvatarGroup.d.ts +1 -1
  135. package/vanilla/UiAvatarGroup.js +2 -2
  136. package/vanilla/UiBadge.d.ts +1 -1
  137. package/vanilla/UiBadge.js +2 -2
  138. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  139. package/vanilla/UiBreadcrumbItem.js +2 -2
  140. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  141. package/vanilla/UiBreadcrumbs.js +2 -2
  142. package/vanilla/UiButton.d.ts +1 -1
  143. package/vanilla/UiButton.js +5 -5
  144. package/vanilla/UiCalendar.d.ts +1 -1
  145. package/vanilla/UiCalendar.js +10 -10
  146. package/vanilla/UiCallout.d.ts +1 -1
  147. package/vanilla/UiCallout.js +2 -2
  148. package/vanilla/UiCard.d.ts +1 -1
  149. package/vanilla/UiCard.js +5 -5
  150. package/vanilla/UiCardGroup.d.ts +1 -1
  151. package/vanilla/UiCardGroup.js +2 -2
  152. package/vanilla/UiCheckbox.d.ts +1 -1
  153. package/vanilla/UiCheckbox.js +2 -2
  154. package/vanilla/UiCluster.d.ts +1 -1
  155. package/vanilla/UiCluster.js +2 -2
  156. package/vanilla/UiColorPicker.d.ts +1 -1
  157. package/vanilla/UiColorPicker.js +2 -2
  158. package/vanilla/UiCombobox.d.ts +1 -1
  159. package/vanilla/UiCombobox.js +8 -8
  160. package/vanilla/UiCompactContent.d.ts +1 -1
  161. package/vanilla/UiCompactContent.js +4 -4
  162. package/vanilla/UiCompactEditor.d.ts +1 -1
  163. package/vanilla/UiCompactEditor.js +2 -2
  164. package/vanilla/UiCompactMark.d.ts +1 -1
  165. package/vanilla/UiCompactMark.js +5 -5
  166. package/vanilla/UiCompactNode.d.ts +1 -1
  167. package/vanilla/UiCompactNode.js +8 -8
  168. package/vanilla/UiContainer.d.ts +1 -1
  169. package/vanilla/UiContainer.js +2 -2
  170. package/vanilla/UiContextMenu.d.ts +1 -1
  171. package/vanilla/UiContextMenu.js +2 -2
  172. package/vanilla/UiCover.d.ts +1 -1
  173. package/vanilla/UiCover.js +2 -2
  174. package/vanilla/UiCurveEditor.d.ts +1 -1
  175. package/vanilla/UiCurveEditor.js +2 -2
  176. package/vanilla/UiCycleButton.d.ts +1 -1
  177. package/vanilla/UiCycleButton.js +2 -2
  178. package/vanilla/UiDateField.d.ts +1 -1
  179. package/vanilla/UiDateField.js +2 -2
  180. package/vanilla/UiDatePicker.d.ts +1 -1
  181. package/vanilla/UiDatePicker.js +2 -2
  182. package/vanilla/UiDateRangePicker.d.ts +1 -1
  183. package/vanilla/UiDateRangePicker.js +4 -4
  184. package/vanilla/UiDescriptionItem.d.ts +1 -1
  185. package/vanilla/UiDescriptionItem.js +2 -2
  186. package/vanilla/UiDescriptionList.d.ts +1 -1
  187. package/vanilla/UiDescriptionList.js +2 -2
  188. package/vanilla/UiDialog.d.ts +1 -1
  189. package/vanilla/UiDialog.js +2 -2
  190. package/vanilla/UiDisclosure.d.ts +1 -1
  191. package/vanilla/UiDisclosure.js +2 -2
  192. package/vanilla/UiEditable.d.ts +1 -1
  193. package/vanilla/UiEditable.js +2 -2
  194. package/vanilla/UiEditor.d.ts +1 -1
  195. package/vanilla/UiEditor.js +6 -6
  196. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  197. package/vanilla/UiEditorBlockActions.js +2 -2
  198. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  199. package/vanilla/UiEditorChipEditor.js +2 -2
  200. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  201. package/vanilla/UiEditorCodeLanguage.js +4 -4
  202. package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
  203. package/vanilla/UiEditorFootnoteEditor.js +2 -2
  204. package/vanilla/UiEditorFormattingTools.d.ts +1 -1
  205. package/vanilla/UiEditorFormattingTools.js +4 -4
  206. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  207. package/vanilla/UiEditorImageToolbar.js +2 -2
  208. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  209. package/vanilla/UiEditorInsertTableGrid.js +4 -4
  210. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  211. package/vanilla/UiEditorLinkCard.js +2 -2
  212. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  213. package/vanilla/UiEditorLinkForm.js +4 -4
  214. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  215. package/vanilla/UiEditorMentionMenu.js +4 -4
  216. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  217. package/vanilla/UiEditorMentionMenuItem.js +2 -2
  218. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  219. package/vanilla/UiEditorSlashMenu.js +4 -4
  220. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  221. package/vanilla/UiEditorSlashMenuGroup.js +2 -2
  222. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  223. package/vanilla/UiEditorSlashMenuItem.js +2 -2
  224. package/vanilla/UiEditorSurface.d.ts +1 -1
  225. package/vanilla/UiEditorSurface.js +2 -2
  226. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  227. package/vanilla/UiEditorTableContextMenu.js +7 -6
  228. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  229. package/vanilla/UiEditorTableOverlay.js +5 -5
  230. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  231. package/vanilla/UiEditorTableToolbar.js +8 -8
  232. package/vanilla/UiEditorToolbar.d.ts +1 -1
  233. package/vanilla/UiEditorToolbar.js +2 -2
  234. package/vanilla/UiFileInput.d.ts +1 -1
  235. package/vanilla/UiFileInput.js +4 -4
  236. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  237. package/vanilla/UiFloatingActionButton.js +2 -2
  238. package/vanilla/UiFormField.d.ts +1 -1
  239. package/vanilla/UiFormField.js +2 -2
  240. package/vanilla/UiGrid.d.ts +1 -1
  241. package/vanilla/UiGrid.js +4 -4
  242. package/vanilla/UiIcon.d.ts +1 -1
  243. package/vanilla/UiIcon.js +4 -4
  244. package/vanilla/UiIconButton.d.ts +1 -1
  245. package/vanilla/UiIconButton.js +2 -2
  246. package/vanilla/UiImage.d.ts +1 -1
  247. package/vanilla/UiImage.js +2 -2
  248. package/vanilla/UiInput.d.ts +1 -1
  249. package/vanilla/UiInput.js +2 -2
  250. package/vanilla/UiInputGroup.d.ts +1 -1
  251. package/vanilla/UiInputGroup.js +2 -2
  252. package/vanilla/UiLightEditor.d.ts +1 -1
  253. package/vanilla/UiLightEditor.js +2 -2
  254. package/vanilla/UiList.d.ts +1 -1
  255. package/vanilla/UiList.js +3 -3
  256. package/vanilla/UiListItem.d.ts +1 -1
  257. package/vanilla/UiListItem.js +2 -2
  258. package/vanilla/UiListbox.d.ts +1 -1
  259. package/vanilla/UiListbox.js +5 -5
  260. package/vanilla/UiMenu.d.ts +1 -1
  261. package/vanilla/UiMenu.js +2 -2
  262. package/vanilla/UiMenuGroup.d.ts +1 -1
  263. package/vanilla/UiMenuGroup.js +2 -2
  264. package/vanilla/UiMenuItem.d.ts +1 -1
  265. package/vanilla/UiMenuItem.js +3 -3
  266. package/vanilla/UiMeter.d.ts +1 -1
  267. package/vanilla/UiMeter.js +4 -4
  268. package/vanilla/UiNavItem.d.ts +1 -1
  269. package/vanilla/UiNavItem.js +3 -3
  270. package/vanilla/UiNumberInput.d.ts +1 -1
  271. package/vanilla/UiNumberInput.js +2 -2
  272. package/vanilla/UiPageHeader.d.ts +1 -1
  273. package/vanilla/UiPageHeader.js +2 -2
  274. package/vanilla/UiPagination.d.ts +1 -1
  275. package/vanilla/UiPagination.js +4 -4
  276. package/vanilla/UiPopover.d.ts +1 -1
  277. package/vanilla/UiPopover.js +2 -2
  278. package/vanilla/UiRadio.d.ts +1 -1
  279. package/vanilla/UiRadio.js +2 -2
  280. package/vanilla/UiRadioGroup.d.ts +1 -1
  281. package/vanilla/UiRadioGroup.js +2 -2
  282. package/vanilla/UiReel.d.ts +1 -1
  283. package/vanilla/UiReel.js +2 -2
  284. package/vanilla/UiScrollArea.d.ts +1 -1
  285. package/vanilla/UiScrollArea.js +2 -2
  286. package/vanilla/UiSearchResultRow.d.ts +1 -1
  287. package/vanilla/UiSearchResultRow.js +2 -2
  288. package/vanilla/UiSearchShell.d.ts +1 -1
  289. package/vanilla/UiSearchShell.js +2 -2
  290. package/vanilla/UiSection.d.ts +1 -1
  291. package/vanilla/UiSection.js +3 -3
  292. package/vanilla/UiSelect.d.ts +1 -1
  293. package/vanilla/UiSelect.js +2 -2
  294. package/vanilla/UiSeparator.d.ts +1 -1
  295. package/vanilla/UiSeparator.js +2 -2
  296. package/vanilla/UiSidebar.d.ts +1 -1
  297. package/vanilla/UiSidebar.js +2 -2
  298. package/vanilla/UiSiteHeader.d.ts +1 -1
  299. package/vanilla/UiSiteHeader.js +2 -2
  300. package/vanilla/UiSkeleton.d.ts +1 -1
  301. package/vanilla/UiSkeleton.js +2 -2
  302. package/vanilla/UiSlider.d.ts +1 -1
  303. package/vanilla/UiSlider.js +2 -2
  304. package/vanilla/UiSpinner.d.ts +1 -1
  305. package/vanilla/UiSpinner.js +2 -2
  306. package/vanilla/UiStack.d.ts +1 -1
  307. package/vanilla/UiStack.js +2 -2
  308. package/vanilla/UiStatusMessage.d.ts +1 -1
  309. package/vanilla/UiStatusMessage.js +2 -2
  310. package/vanilla/UiSwatch.d.ts +1 -1
  311. package/vanilla/UiSwatch.js +2 -2
  312. package/vanilla/UiSwitch.d.ts +1 -1
  313. package/vanilla/UiSwitch.js +2 -2
  314. package/vanilla/UiSwitcher.d.ts +1 -1
  315. package/vanilla/UiSwitcher.js +2 -2
  316. package/vanilla/UiTable.d.ts +1 -1
  317. package/vanilla/UiTable.js +2 -2
  318. package/vanilla/UiTabs.d.ts +1 -1
  319. package/vanilla/UiTabs.js +4 -4
  320. package/vanilla/UiText.d.ts +1 -1
  321. package/vanilla/UiText.js +13 -13
  322. package/vanilla/UiTextarea.d.ts +1 -1
  323. package/vanilla/UiTextarea.js +2 -2
  324. package/vanilla/UiTimeField.d.ts +1 -1
  325. package/vanilla/UiTimeField.js +2 -2
  326. package/vanilla/UiTimePicker.d.ts +1 -1
  327. package/vanilla/UiTimePicker.js +6 -6
  328. package/vanilla/UiToast.d.ts +1 -1
  329. package/vanilla/UiToast.js +2 -2
  330. package/vanilla/UiToastRegion.d.ts +1 -1
  331. package/vanilla/UiToastRegion.js +4 -4
  332. package/vanilla/UiTooltip.d.ts +1 -1
  333. package/vanilla/UiTooltip.js +2 -2
  334. package/vanilla/UiTopBar.d.ts +1 -1
  335. package/vanilla/UiTopBar.js +2 -2
  336. package/vanilla/UiTree.d.ts +1 -1
  337. package/vanilla/UiTree.js +2 -2
  338. package/vanilla/UiTreeItem.d.ts +1 -1
  339. package/vanilla/UiTreeItem.js +2 -2
  340. package/vanilla/UiWizard.d.ts +27 -0
  341. package/vanilla/UiWizard.js +165 -0
  342. package/vanilla/index.js +1 -0
  343. package/bin/looma-docs.mjs +0 -3
  344. package/docs/README.md +0 -323
  345. package/docs/card.html +0 -79
  346. package/docs/card.js +0 -18
  347. package/docs/catalog-view.js +0 -24
  348. package/docs/catalog-view.mjs +0 -13
  349. package/docs/catalog.mjs +0 -131
  350. package/docs/cli.mjs +0 -26
  351. package/docs/commands.mjs +0 -94
  352. package/docs/customizer-render.mjs +0 -157
  353. package/docs/customizer.js +0 -494
  354. package/docs/documentation.css +0 -14
  355. package/docs/example-invocations.mjs +0 -63
  356. package/docs/fonts.mjs +0 -73
  357. package/docs/framework-examples.d.mts +0 -9
  358. package/docs/framework-examples.mjs +0 -195
  359. package/docs/index.d.ts +0 -59
  360. package/docs/index.mjs +0 -4
  361. package/docs/local-server.mjs +0 -65
  362. package/docs/navigation.mjs +0 -26
  363. package/docs/palette.mjs +0 -68
  364. package/docs/pastoral.svg +0 -54
  365. package/docs/portrait.svg +0 -15
  366. package/docs/reference.html +0 -1
  367. package/docs/reference.js +0 -36
  368. package/docs/render.mjs +0 -97
  369. package/docs/site.mjs +0 -237
  370. package/docs/store.mjs +0 -92
  371. package/docs/theme-session.mjs +0 -72
  372. package/docs/theme.mjs +0 -669
  373. package/docs/value-editors.mjs +0 -37
  374. 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.84 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.84 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.84 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.84 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.84 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.84 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.84 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.84 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.84 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.84 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.84 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) => {
@@ -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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiSliderEventMap {
3
3
  input: CustomEvent<{ readonly value: number }>;
4
4
  change: CustomEvent<{ readonly value: number }>;
@@ -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.84 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-slider/ui-slider.js";
4
4
  import "../styles/ui-slider.css";
@@ -16,7 +16,7 @@ export function createUiSlider(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-slider");
19
+ element.setAttribute("component", "ui-slider");
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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiSpinnerEventMap {
3
3
  }
4
4
  export interface UiSpinnerElement 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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-spinner.css";
4
4
 
@@ -15,7 +15,7 @@ export function createUiSpinner(options = {}, html) {
15
15
  element.setAttribute(name, value === true ? "" : String(value));
16
16
  }
17
17
  element.setAttribute("class", ["ring", element.getAttribute("class")].filter(Boolean).join(" "));
18
- element.setAttribute("data-component", "ui-spinner");
18
+ element.setAttribute("component", "ui-spinner");
19
19
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
20
20
  const v = [null, null];
21
21
  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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiStackEventMap {
3
3
  }
4
4
  export interface UiStackElement 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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toText, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkNumber, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-stack.css";
4
4
 
@@ -15,7 +15,7 @@ export function createUiStack(options = {}, html) {
15
15
  if (value === null || value === undefined || value === false) continue;
16
16
  element.setAttribute(name, value === true ? "" : String(value));
17
17
  }
18
- element.setAttribute("data-component", "ui-stack");
18
+ element.setAttribute("component", "ui-stack");
19
19
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
20
20
  const v = [null, null, null, null, null];
21
21
  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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiStatusMessageEventMap {
3
3
  }
4
4
  export interface UiStatusMessageElement 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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, toText, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-status-message.css";
4
4
 
@@ -16,7 +16,7 @@ export function createUiStatusMessage(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-status-message");
19
+ element.setAttribute("component", "ui-status-message");
20
20
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
21
21
  const v = [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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiSwatchEventMap {
3
3
  }
4
4
  export interface UiSwatchElement extends HTMLInputElement {
@@ -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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, NONCONFORMING, readIndex, toAttribute, writeAttribute, computedCycle, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-swatch.css";
4
4
 
@@ -13,7 +13,7 @@ export function createUiSwatch(options = {}, html) {
13
13
  element.setAttribute(name, value === true ? "" : String(value));
14
14
  }
15
15
  if (!element.hasAttribute("type")) element.setAttribute("type", "radio");
16
- element.setAttribute("data-component", "ui-swatch");
16
+ element.setAttribute("component", "ui-swatch");
17
17
  const v = [undefined, null];
18
18
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
19
19
  const CS = [];
@@ -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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiSwitchEventMap {
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.84 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-switch/ui-switch.js";
4
4
  import "../styles/ui-switch.css";
@@ -18,7 +18,7 @@ export function createUiSwitch(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-switch");
21
+ element.setAttribute("component", "ui-switch");
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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiSwitcherEventMap {
3
3
  }
4
4
  export interface UiSwitcherElement 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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkInteger, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-switcher/ui-switcher.js";
4
4
  import "../styles/ui-switcher.css";
@@ -17,7 +17,7 @@ export function createUiSwitcher(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-switcher");
20
+ element.setAttribute("component", "ui-switcher");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [false, 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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiTableEventMap {
3
3
  }
4
4
  export interface UiTableElement 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.84 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-table/ui-table.js";
4
4
  import "../styles/ui-table.css";
@@ -17,7 +17,7 @@ export function createUiTable(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-table");
20
+ element.setAttribute("component", "ui-table");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiTabsEventMap {
3
3
  select: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }
package/vanilla/UiTabs.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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, KeyedList, NONCONFORMING, readMember, textCall, toAttribute, toText, trackContainer, writeAttribute, writeText, 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-tabs/ui-tabs.js";
4
4
  import "../styles/ui-tabs.css";
@@ -8,7 +8,7 @@ const T1 = ["",[],"\n ",2,"\n "];
8
8
  const T2 = ["button",["type","button","role","tab"],0];
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: ["internalValue","tabs"], t: ["s",["l",["o",["id","s","label","s"]]]], f: import.meta.url, g: "ui-tabs", d: { "select": [detailCheck(checkObject([["value", checkString, false], ["previousValue", checkString, 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, i: ["", []] };
13
13
  const D = { g: "ui-tabs", props: { "activation": { "required":false,"values":["auto","manual"],"default":"auto", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "density": { "required":false,"values":["comfortable","compact"],"default":"comfortable", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "group": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"Tabs", c: checkString, t: "string", j: 0, m: "s" }, "orientation": { "required":false,"values":["horizontal","vertical"],"default":"horizontal", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "stretch": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
14
14
  const C = (host) => activateModule(controller, host);
@@ -20,7 +20,7 @@ export function createUiTabs(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-tabs");
23
+ element.setAttribute("component", "ui-tabs");
24
24
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
25
25
  const v = ["", [], null, null, null, null, null, null, null];
26
26
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -38,7 +38,7 @@ export function createUiTabs(options = {}, html) {
38
38
  const m2 = (o, j, l) => {
39
39
  const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
40
40
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null, v2: null, v3: null, v4: undefined };
41
- p2(r, -1, E);
41
+ p2(r, -1, emptyDirty);
42
42
  return r;
43
43
  };
44
44
  const p2 = (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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiTextEventMap {
3
3
  }
4
4
  export interface UiTextElement extends HTMLElement {
package/vanilla/UiText.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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-text.css";
4
4
 
@@ -44,84 +44,84 @@ export function createUiText(options = {}, html) {
44
44
  if (value === null || value === undefined || value === false) continue;
45
45
  element.setAttribute(name, value === true ? "" : String(value));
46
46
  }
47
- element.setAttribute("data-component", "ui-text");
47
+ element.setAttribute("component", "ui-text");
48
48
  } else if (a === 1) {
49
49
  element = document.createElement("div");
50
50
  for (const [name, value] of Object.entries(attributes)) {
51
51
  if (value === null || value === undefined || value === false) continue;
52
52
  element.setAttribute(name, value === true ? "" : String(value));
53
53
  }
54
- element.setAttribute("data-component", "ui-text");
54
+ element.setAttribute("component", "ui-text");
55
55
  } else if (a === 2) {
56
56
  element = document.createElement("small");
57
57
  for (const [name, value] of Object.entries(attributes)) {
58
58
  if (value === null || value === undefined || value === false) continue;
59
59
  element.setAttribute(name, value === true ? "" : String(value));
60
60
  }
61
- element.setAttribute("data-component", "ui-text");
61
+ element.setAttribute("component", "ui-text");
62
62
  } else if (a === 3) {
63
63
  element = document.createElement("strong");
64
64
  for (const [name, value] of Object.entries(attributes)) {
65
65
  if (value === null || value === undefined || value === false) continue;
66
66
  element.setAttribute(name, value === true ? "" : String(value));
67
67
  }
68
- element.setAttribute("data-component", "ui-text");
68
+ element.setAttribute("component", "ui-text");
69
69
  } else if (a === 4) {
70
70
  element = document.createElement("label");
71
71
  for (const [name, value] of Object.entries(attributes)) {
72
72
  if (value === null || value === undefined || value === false) continue;
73
73
  element.setAttribute(name, value === true ? "" : String(value));
74
74
  }
75
- element.setAttribute("data-component", "ui-text");
75
+ element.setAttribute("component", "ui-text");
76
76
  } else if (a === 5) {
77
77
  element = document.createElement("h1");
78
78
  for (const [name, value] of Object.entries(attributes)) {
79
79
  if (value === null || value === undefined || value === false) continue;
80
80
  element.setAttribute(name, value === true ? "" : String(value));
81
81
  }
82
- element.setAttribute("data-component", "ui-text");
82
+ element.setAttribute("component", "ui-text");
83
83
  } else if (a === 6) {
84
84
  element = document.createElement("h2");
85
85
  for (const [name, value] of Object.entries(attributes)) {
86
86
  if (value === null || value === undefined || value === false) continue;
87
87
  element.setAttribute(name, value === true ? "" : String(value));
88
88
  }
89
- element.setAttribute("data-component", "ui-text");
89
+ element.setAttribute("component", "ui-text");
90
90
  } else if (a === 7) {
91
91
  element = document.createElement("h3");
92
92
  for (const [name, value] of Object.entries(attributes)) {
93
93
  if (value === null || value === undefined || value === false) continue;
94
94
  element.setAttribute(name, value === true ? "" : String(value));
95
95
  }
96
- element.setAttribute("data-component", "ui-text");
96
+ element.setAttribute("component", "ui-text");
97
97
  } else if (a === 8) {
98
98
  element = document.createElement("h4");
99
99
  for (const [name, value] of Object.entries(attributes)) {
100
100
  if (value === null || value === undefined || value === false) continue;
101
101
  element.setAttribute(name, value === true ? "" : String(value));
102
102
  }
103
- element.setAttribute("data-component", "ui-text");
103
+ element.setAttribute("component", "ui-text");
104
104
  } else if (a === 9) {
105
105
  element = document.createElement("h5");
106
106
  for (const [name, value] of Object.entries(attributes)) {
107
107
  if (value === null || value === undefined || value === false) continue;
108
108
  element.setAttribute(name, value === true ? "" : String(value));
109
109
  }
110
- element.setAttribute("data-component", "ui-text");
110
+ element.setAttribute("component", "ui-text");
111
111
  } else if (a === 10) {
112
112
  element = document.createElement("h6");
113
113
  for (const [name, value] of Object.entries(attributes)) {
114
114
  if (value === null || value === undefined || value === false) continue;
115
115
  element.setAttribute(name, value === true ? "" : String(value));
116
116
  }
117
- element.setAttribute("data-component", "ui-text");
117
+ element.setAttribute("component", "ui-text");
118
118
  } else {
119
119
  element = document.createElement("p");
120
120
  for (const [name, value] of Object.entries(attributes)) {
121
121
  if (value === null || value === undefined || value === false) continue;
122
122
  element.setAttribute(name, value === true ? "" : String(value));
123
123
  }
124
- element.setAttribute("data-component", "ui-text");
124
+ element.setAttribute("component", "ui-text");
125
125
  }
126
126
  B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
127
127
  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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiTextareaEventMap {
3
3
  }
4
4
  export interface UiTextareaElement extends HTMLTextAreaElement {
@@ -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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, toAttribute, toText, writeAttribute, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, checkInteger, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-textarea/ui-textarea.js";
4
4
  import "../styles/ui-textarea.css";
@@ -14,7 +14,7 @@ export function createUiTextarea(options = {}, html) {
14
14
  if (value === null || value === undefined || value === false) continue;
15
15
  element.setAttribute(name, value === true ? "" : String(value));
16
16
  }
17
- element.setAttribute("data-component", "ui-textarea");
17
+ element.setAttribute("component", "ui-textarea");
18
18
  const v = [null, null, null, null, null, null, null, null, null];
19
19
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
20
20
  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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiTimeFieldEventMap {
3
3
  input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ 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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-time-field/ui-time-field.js";
4
4
  import "../styles/ui-time-field.css";
@@ -16,7 +16,7 @@ export function createUiTimeField(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-time-field");
19
+ element.setAttribute("component", "ui-time-field");
20
20
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
21
21
  const v = [null, null, null, null, null, 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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiTimePickerEventMap {
3
3
  input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ 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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, formatCall, NONCONFORMING, readIndex, recordValue, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, RangedIndexedList, readonlyView, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule, multiply } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-time-picker/ui-time-picker.js";
4
4
  import "../styles/ui-time-picker.css";
@@ -8,7 +8,7 @@ const T1 = ["",[],["option",[],0]];
8
8
  const T2 = ["",[],["option",[],0]];
9
9
  const T3 = ["",[],["option",[],0]];
10
10
  let P0, P1, P2, P3;
11
- const E = new Map();
11
+ const emptyDirty = new Map();
12
12
  const S = { n: ["current","enhanced","anchorId","opened","fieldBlocked","hourFormat","showSeconds","error","hourValues","ticks"], t: ["s","b","s","b","b",["o",["hour","s","timeZone","s","hourCycle","s"]],"b","s","?","?"], f: import.meta.url, g: "ui-time-picker", k: 8, d: { "input": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "query-change": [detailCheck(checkObject([["query", checkString, false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["invalid", checkBoolean, false], ["message", checkString, false]], false)), true, true, false], "open": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "close": [detailCheck(checkObject([["open", checkBoolean, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","programmatic","light-dismiss","escape"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false] }, x: dispatchDeclared, r: readonlyView, a: (host, I) => C(host, I), b: generatedInputs, i: [null, false, "", false, false, { "hour": "numeric", "timeZone": "UTC" }, false, ""] };
13
13
  const D = { g: "ui-time-picker", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "form": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "granularity": { "required":false,"values":["minute","second"],"default":"minute", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "hourCycle": { "required":false,"values":["h11","h12","h23","h24"], c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "hourLabel": { "required":false,"default":"Hour", c: checkString, t: "string", j: 0, m: "s" }, "inputId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "locale": { "required":false,"default":"en-US", c: checkString, t: "string", j: 0, m: "s" }, "max": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "min": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "minuteLabel": { "required":false,"default":"Minute", c: checkString, t: "string", j: 0, m: "s" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "pickerLabel": { "required":false,"default":"Choose time", c: checkString, t: "string", j: 0, m: "s" }, "placeholder": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "readonly": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "required": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "secondLabel": { "required":false,"default":"Second", c: checkString, t: "string", j: 0, m: "s" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
14
14
  const C = (host) => activateModule(controller, host);
@@ -20,7 +20,7 @@ export function createUiTimePicker(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-time-picker");
23
+ element.setAttribute("component", "ui-time-picker");
24
24
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
25
25
  const v = [null, false, "", false, false, { "hour": "numeric", "timeZone": "UTC" }, false, "", undefined, undefined, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
26
26
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -50,7 +50,7 @@ export function createUiTimePicker(options = {}, html) {
50
50
  n.prepend(s);
51
51
  n.append(t);
52
52
  const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, w: 0, v0: null, v1: "", m1_1: "" };
53
- p1(r, -1, E);
53
+ p1(r, -1, emptyDirty);
54
54
  return r;
55
55
  };
56
56
  const p1 = (r, c, d) => {
@@ -78,7 +78,7 @@ export function createUiTimePicker(options = {}, html) {
78
78
  n.prepend(s);
79
79
  n.append(t);
80
80
  const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, w: 0, v0: null, v1: "", m1_1: "" };
81
- p2(r, -1, E);
81
+ p2(r, -1, emptyDirty);
82
82
  return r;
83
83
  };
84
84
  const p2 = (r, c, d) => {
@@ -106,7 +106,7 @@ export function createUiTimePicker(options = {}, html) {
106
106
  n.prepend(s);
107
107
  n.append(t);
108
108
  const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, w: 0, v0: null, v1: "", m1_1: "" };
109
- p3(r, -1, E);
109
+ p3(r, -1, emptyDirty);
110
110
  return r;
111
111
  };
112
112
  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.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiToastEventMap {
3
3
  dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  }