@threadlabs/looma 0.51.5 → 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 (369) 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-card/ui-card.html +7 -0
  6. package/components/ui-date-field/ui-date-field.js +0 -5
  7. package/components/ui-disclosure/ui-disclosure.js +19 -4
  8. package/components/ui-editor-link-form/ui-editor-link-form.js +5 -0
  9. package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -3
  10. package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +10 -1
  11. package/components/ui-file-input/ui-file-input.js +0 -2
  12. package/components/ui-status-message/ui-status-message.html +1 -0
  13. package/components/ui-tabs/ui-tabs.html +1 -0
  14. package/components/ui-tooltip/ui-tooltip.html +11 -32
  15. package/dist/index.js +14 -8
  16. package/docs/catalog.json +592 -131
  17. package/editor/components.css +530 -551
  18. package/editor/index.js +72 -47
  19. package/package.json +30 -35
  20. package/styles/ui-action-bar.css +8 -8
  21. package/styles/ui-affordance-scope.css +10 -10
  22. package/styles/ui-avatar-group.css +11 -11
  23. package/styles/ui-avatar.css +14 -14
  24. package/styles/ui-badge.css +67 -67
  25. package/styles/ui-breadcrumb-item.css +10 -10
  26. package/styles/ui-breadcrumbs.css +8 -8
  27. package/styles/ui-button.css +99 -99
  28. package/styles/ui-calendar.css +1 -1
  29. package/styles/ui-callout.css +14 -14
  30. package/styles/ui-card-group.css +11 -11
  31. package/styles/ui-card.css +40 -35
  32. package/styles/ui-checkbox.css +28 -28
  33. package/styles/ui-cluster.css +30 -30
  34. package/styles/ui-color-picker.css +16 -16
  35. package/styles/ui-combobox.css +50 -50
  36. package/styles/ui-compact-content.css +1 -1
  37. package/styles/ui-compact-editor.css +1 -1
  38. package/styles/ui-compact-mark.css +1 -1
  39. package/styles/ui-compact-node.css +1 -1
  40. package/styles/ui-container.css +14 -14
  41. package/styles/ui-context-menu.css +8 -8
  42. package/styles/ui-cover.css +9 -9
  43. package/styles/ui-curve-editor.css +9 -9
  44. package/styles/ui-cycle-button.css +10 -10
  45. package/styles/ui-date-field.css +1 -1
  46. package/styles/ui-date-picker.css +1 -1
  47. package/styles/ui-date-range-picker.css +1 -1
  48. package/styles/ui-description-item.css +8 -8
  49. package/styles/ui-description-list.css +18 -18
  50. package/styles/ui-dialog.css +37 -37
  51. package/styles/ui-disclosure.css +26 -26
  52. package/styles/ui-editable.css +13 -13
  53. package/styles/ui-editor-block-actions.css +1 -1
  54. package/styles/ui-editor-chip-editor.css +1 -1
  55. package/styles/ui-editor-code-language.css +1 -1
  56. package/styles/ui-editor-footnote-editor.css +1 -1
  57. package/styles/ui-editor-formatting-tools.css +1 -1
  58. package/styles/ui-editor-image-toolbar.css +1 -1
  59. package/styles/ui-editor-insert-table-grid.css +9 -9
  60. package/styles/ui-editor-link-card.css +1 -1
  61. package/styles/ui-editor-link-form.css +1 -1
  62. package/styles/ui-editor-mention-menu-item.css +13 -15
  63. package/styles/ui-editor-mention-menu.css +12 -12
  64. package/styles/ui-editor-slash-menu-group.css +7 -7
  65. package/styles/ui-editor-slash-menu-item.css +12 -12
  66. package/styles/ui-editor-slash-menu.css +13 -13
  67. package/styles/ui-editor-surface.css +8 -8
  68. package/styles/ui-editor-table-context-menu.css +19 -15
  69. package/styles/ui-editor-table-overlay.css +15 -15
  70. package/styles/ui-editor-table-toolbar.css +19 -19
  71. package/styles/ui-editor-toolbar.css +16 -16
  72. package/styles/ui-editor.css +1 -1
  73. package/styles/ui-file-input.css +1 -1
  74. package/styles/ui-floating-action-button.css +14 -14
  75. package/styles/ui-form-field.css +9 -9
  76. package/styles/ui-grid.css +19 -19
  77. package/styles/ui-icon-button.css +73 -73
  78. package/styles/ui-icon.css +11 -11
  79. package/styles/ui-image.css +23 -23
  80. package/styles/ui-input-group.css +26 -26
  81. package/styles/ui-input.css +23 -23
  82. package/styles/ui-light-editor.css +15 -15
  83. package/styles/ui-list-item.css +25 -25
  84. package/styles/ui-list.css +16 -16
  85. package/styles/ui-listbox.css +22 -22
  86. package/styles/ui-menu-group.css +7 -7
  87. package/styles/ui-menu-item.css +20 -20
  88. package/styles/ui-menu.css +20 -20
  89. package/styles/ui-meter.css +32 -32
  90. package/styles/ui-nav-item.css +18 -18
  91. package/styles/ui-number-input.css +12 -12
  92. package/styles/ui-page-header.css +10 -10
  93. package/styles/ui-pagination.css +1 -1
  94. package/styles/ui-popover.css +17 -17
  95. package/styles/ui-radio-group.css +10 -10
  96. package/styles/ui-radio.css +25 -25
  97. package/styles/ui-reel.css +21 -21
  98. package/styles/ui-scroll-area.css +20 -20
  99. package/styles/ui-search-result-row.css +16 -16
  100. package/styles/ui-search-shell.css +10 -10
  101. package/styles/ui-section.css +18 -18
  102. package/styles/ui-select.css +22 -22
  103. package/styles/ui-separator.css +12 -12
  104. package/styles/ui-sidebar.css +26 -26
  105. package/styles/ui-site-header.css +65 -65
  106. package/styles/ui-skeleton.css +18 -18
  107. package/styles/ui-slider.css +11 -11
  108. package/styles/ui-spinner.css +9 -9
  109. package/styles/ui-stack.css +22 -22
  110. package/styles/ui-status-message.css +12 -12
  111. package/styles/ui-swatch.css +14 -14
  112. package/styles/ui-switch.css +23 -23
  113. package/styles/ui-switcher.css +20 -20
  114. package/styles/ui-table.css +12 -12
  115. package/styles/ui-tabs.css +18 -17
  116. package/styles/ui-text.css +40 -40
  117. package/styles/ui-textarea.css +21 -21
  118. package/styles/ui-time-field.css +1 -1
  119. package/styles/ui-time-picker.css +1 -1
  120. package/styles/ui-toast-region.css +29 -29
  121. package/styles/ui-toast.css +19 -19
  122. package/styles/ui-tooltip.css +37 -58
  123. package/styles/ui-top-bar.css +8 -8
  124. package/styles/ui-tree-item.css +112 -112
  125. package/styles/ui-tree.css +11 -11
  126. package/vanilla/UiActionBar.d.ts +1 -1
  127. package/vanilla/UiActionBar.js +2 -2
  128. package/vanilla/UiAffordanceScope.d.ts +1 -1
  129. package/vanilla/UiAffordanceScope.js +2 -2
  130. package/vanilla/UiAvatar.d.ts +1 -1
  131. package/vanilla/UiAvatar.js +2 -2
  132. package/vanilla/UiAvatarGroup.d.ts +1 -1
  133. package/vanilla/UiAvatarGroup.js +2 -2
  134. package/vanilla/UiBadge.d.ts +1 -1
  135. package/vanilla/UiBadge.js +2 -2
  136. package/vanilla/UiBreadcrumbItem.d.ts +1 -1
  137. package/vanilla/UiBreadcrumbItem.js +2 -2
  138. package/vanilla/UiBreadcrumbs.d.ts +1 -1
  139. package/vanilla/UiBreadcrumbs.js +2 -2
  140. package/vanilla/UiButton.d.ts +1 -1
  141. package/vanilla/UiButton.js +5 -5
  142. package/vanilla/UiCalendar.d.ts +1 -1
  143. package/vanilla/UiCalendar.js +10 -10
  144. package/vanilla/UiCallout.d.ts +1 -1
  145. package/vanilla/UiCallout.js +2 -2
  146. package/vanilla/UiCard.d.ts +2 -1
  147. package/vanilla/UiCard.js +18 -18
  148. package/vanilla/UiCardGroup.d.ts +1 -1
  149. package/vanilla/UiCardGroup.js +2 -2
  150. package/vanilla/UiCheckbox.d.ts +1 -1
  151. package/vanilla/UiCheckbox.js +2 -2
  152. package/vanilla/UiCluster.d.ts +1 -1
  153. package/vanilla/UiCluster.js +2 -2
  154. package/vanilla/UiColorPicker.d.ts +1 -1
  155. package/vanilla/UiColorPicker.js +2 -2
  156. package/vanilla/UiCombobox.d.ts +1 -1
  157. package/vanilla/UiCombobox.js +8 -8
  158. package/vanilla/UiCompactContent.d.ts +1 -1
  159. package/vanilla/UiCompactContent.js +4 -4
  160. package/vanilla/UiCompactEditor.d.ts +1 -1
  161. package/vanilla/UiCompactEditor.js +2 -2
  162. package/vanilla/UiCompactMark.d.ts +1 -1
  163. package/vanilla/UiCompactMark.js +5 -5
  164. package/vanilla/UiCompactNode.d.ts +1 -1
  165. package/vanilla/UiCompactNode.js +8 -8
  166. package/vanilla/UiContainer.d.ts +1 -1
  167. package/vanilla/UiContainer.js +2 -2
  168. package/vanilla/UiContextMenu.d.ts +1 -1
  169. package/vanilla/UiContextMenu.js +2 -2
  170. package/vanilla/UiCover.d.ts +1 -1
  171. package/vanilla/UiCover.js +2 -2
  172. package/vanilla/UiCurveEditor.d.ts +1 -1
  173. package/vanilla/UiCurveEditor.js +2 -2
  174. package/vanilla/UiCycleButton.d.ts +1 -1
  175. package/vanilla/UiCycleButton.js +2 -2
  176. package/vanilla/UiDateField.d.ts +1 -1
  177. package/vanilla/UiDateField.js +2 -2
  178. package/vanilla/UiDatePicker.d.ts +1 -1
  179. package/vanilla/UiDatePicker.js +2 -2
  180. package/vanilla/UiDateRangePicker.d.ts +1 -1
  181. package/vanilla/UiDateRangePicker.js +4 -4
  182. package/vanilla/UiDescriptionItem.d.ts +1 -1
  183. package/vanilla/UiDescriptionItem.js +2 -2
  184. package/vanilla/UiDescriptionList.d.ts +1 -1
  185. package/vanilla/UiDescriptionList.js +2 -2
  186. package/vanilla/UiDialog.d.ts +1 -1
  187. package/vanilla/UiDialog.js +2 -2
  188. package/vanilla/UiDisclosure.d.ts +1 -1
  189. package/vanilla/UiDisclosure.js +2 -2
  190. package/vanilla/UiEditable.d.ts +1 -1
  191. package/vanilla/UiEditable.js +2 -2
  192. package/vanilla/UiEditor.d.ts +1 -1
  193. package/vanilla/UiEditor.js +6 -6
  194. package/vanilla/UiEditorBlockActions.d.ts +1 -1
  195. package/vanilla/UiEditorBlockActions.js +2 -2
  196. package/vanilla/UiEditorChipEditor.d.ts +1 -1
  197. package/vanilla/UiEditorChipEditor.js +2 -2
  198. package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
  199. package/vanilla/UiEditorCodeLanguage.js +4 -4
  200. package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
  201. package/vanilla/UiEditorFootnoteEditor.js +2 -2
  202. package/vanilla/UiEditorFormattingTools.d.ts +1 -1
  203. package/vanilla/UiEditorFormattingTools.js +4 -4
  204. package/vanilla/UiEditorImageToolbar.d.ts +1 -1
  205. package/vanilla/UiEditorImageToolbar.js +2 -2
  206. package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
  207. package/vanilla/UiEditorInsertTableGrid.js +4 -4
  208. package/vanilla/UiEditorLinkCard.d.ts +1 -1
  209. package/vanilla/UiEditorLinkCard.js +2 -2
  210. package/vanilla/UiEditorLinkForm.d.ts +1 -1
  211. package/vanilla/UiEditorLinkForm.js +4 -4
  212. package/vanilla/UiEditorMentionMenu.d.ts +1 -1
  213. package/vanilla/UiEditorMentionMenu.js +4 -4
  214. package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
  215. package/vanilla/UiEditorMentionMenuItem.js +2 -2
  216. package/vanilla/UiEditorSlashMenu.d.ts +1 -1
  217. package/vanilla/UiEditorSlashMenu.js +4 -4
  218. package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
  219. package/vanilla/UiEditorSlashMenuGroup.js +2 -2
  220. package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
  221. package/vanilla/UiEditorSlashMenuItem.js +2 -2
  222. package/vanilla/UiEditorSurface.d.ts +1 -1
  223. package/vanilla/UiEditorSurface.js +2 -2
  224. package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
  225. package/vanilla/UiEditorTableContextMenu.js +7 -6
  226. package/vanilla/UiEditorTableOverlay.d.ts +1 -1
  227. package/vanilla/UiEditorTableOverlay.js +5 -5
  228. package/vanilla/UiEditorTableToolbar.d.ts +1 -1
  229. package/vanilla/UiEditorTableToolbar.js +8 -8
  230. package/vanilla/UiEditorToolbar.d.ts +1 -1
  231. package/vanilla/UiEditorToolbar.js +2 -2
  232. package/vanilla/UiFileInput.d.ts +1 -1
  233. package/vanilla/UiFileInput.js +4 -4
  234. package/vanilla/UiFloatingActionButton.d.ts +1 -1
  235. package/vanilla/UiFloatingActionButton.js +2 -2
  236. package/vanilla/UiFormField.d.ts +1 -1
  237. package/vanilla/UiFormField.js +2 -2
  238. package/vanilla/UiGrid.d.ts +1 -1
  239. package/vanilla/UiGrid.js +4 -4
  240. package/vanilla/UiIcon.d.ts +1 -1
  241. package/vanilla/UiIcon.js +4 -4
  242. package/vanilla/UiIconButton.d.ts +1 -1
  243. package/vanilla/UiIconButton.js +2 -2
  244. package/vanilla/UiImage.d.ts +1 -1
  245. package/vanilla/UiImage.js +2 -2
  246. package/vanilla/UiInput.d.ts +1 -1
  247. package/vanilla/UiInput.js +2 -2
  248. package/vanilla/UiInputGroup.d.ts +1 -1
  249. package/vanilla/UiInputGroup.js +2 -2
  250. package/vanilla/UiLightEditor.d.ts +1 -1
  251. package/vanilla/UiLightEditor.js +2 -2
  252. package/vanilla/UiList.d.ts +1 -1
  253. package/vanilla/UiList.js +3 -3
  254. package/vanilla/UiListItem.d.ts +1 -1
  255. package/vanilla/UiListItem.js +2 -2
  256. package/vanilla/UiListbox.d.ts +1 -1
  257. package/vanilla/UiListbox.js +5 -5
  258. package/vanilla/UiMenu.d.ts +1 -1
  259. package/vanilla/UiMenu.js +2 -2
  260. package/vanilla/UiMenuGroup.d.ts +1 -1
  261. package/vanilla/UiMenuGroup.js +2 -2
  262. package/vanilla/UiMenuItem.d.ts +1 -1
  263. package/vanilla/UiMenuItem.js +3 -3
  264. package/vanilla/UiMeter.d.ts +1 -1
  265. package/vanilla/UiMeter.js +4 -4
  266. package/vanilla/UiNavItem.d.ts +1 -1
  267. package/vanilla/UiNavItem.js +3 -3
  268. package/vanilla/UiNumberInput.d.ts +1 -1
  269. package/vanilla/UiNumberInput.js +2 -2
  270. package/vanilla/UiPageHeader.d.ts +1 -1
  271. package/vanilla/UiPageHeader.js +2 -2
  272. package/vanilla/UiPagination.d.ts +1 -1
  273. package/vanilla/UiPagination.js +4 -4
  274. package/vanilla/UiPopover.d.ts +1 -1
  275. package/vanilla/UiPopover.js +2 -2
  276. package/vanilla/UiRadio.d.ts +1 -1
  277. package/vanilla/UiRadio.js +2 -2
  278. package/vanilla/UiRadioGroup.d.ts +1 -1
  279. package/vanilla/UiRadioGroup.js +2 -2
  280. package/vanilla/UiReel.d.ts +1 -1
  281. package/vanilla/UiReel.js +2 -2
  282. package/vanilla/UiScrollArea.d.ts +1 -1
  283. package/vanilla/UiScrollArea.js +2 -2
  284. package/vanilla/UiSearchResultRow.d.ts +1 -1
  285. package/vanilla/UiSearchResultRow.js +2 -2
  286. package/vanilla/UiSearchShell.d.ts +1 -1
  287. package/vanilla/UiSearchShell.js +2 -2
  288. package/vanilla/UiSection.d.ts +1 -1
  289. package/vanilla/UiSection.js +3 -3
  290. package/vanilla/UiSelect.d.ts +1 -1
  291. package/vanilla/UiSelect.js +2 -2
  292. package/vanilla/UiSeparator.d.ts +1 -1
  293. package/vanilla/UiSeparator.js +2 -2
  294. package/vanilla/UiSidebar.d.ts +1 -1
  295. package/vanilla/UiSidebar.js +2 -2
  296. package/vanilla/UiSiteHeader.d.ts +1 -1
  297. package/vanilla/UiSiteHeader.js +2 -2
  298. package/vanilla/UiSkeleton.d.ts +1 -1
  299. package/vanilla/UiSkeleton.js +2 -2
  300. package/vanilla/UiSlider.d.ts +1 -1
  301. package/vanilla/UiSlider.js +2 -2
  302. package/vanilla/UiSpinner.d.ts +1 -1
  303. package/vanilla/UiSpinner.js +2 -2
  304. package/vanilla/UiStack.d.ts +1 -1
  305. package/vanilla/UiStack.js +2 -2
  306. package/vanilla/UiStatusMessage.d.ts +1 -1
  307. package/vanilla/UiStatusMessage.js +2 -2
  308. package/vanilla/UiSwatch.d.ts +1 -1
  309. package/vanilla/UiSwatch.js +2 -2
  310. package/vanilla/UiSwitch.d.ts +1 -1
  311. package/vanilla/UiSwitch.js +2 -2
  312. package/vanilla/UiSwitcher.d.ts +1 -1
  313. package/vanilla/UiSwitcher.js +2 -2
  314. package/vanilla/UiTable.d.ts +1 -1
  315. package/vanilla/UiTable.js +2 -2
  316. package/vanilla/UiTabs.d.ts +1 -1
  317. package/vanilla/UiTabs.js +4 -4
  318. package/vanilla/UiText.d.ts +1 -1
  319. package/vanilla/UiText.js +13 -13
  320. package/vanilla/UiTextarea.d.ts +1 -1
  321. package/vanilla/UiTextarea.js +2 -2
  322. package/vanilla/UiTimeField.d.ts +1 -1
  323. package/vanilla/UiTimeField.js +2 -2
  324. package/vanilla/UiTimePicker.d.ts +1 -1
  325. package/vanilla/UiTimePicker.js +6 -6
  326. package/vanilla/UiToast.d.ts +1 -1
  327. package/vanilla/UiToast.js +2 -2
  328. package/vanilla/UiToastRegion.d.ts +1 -1
  329. package/vanilla/UiToastRegion.js +4 -4
  330. package/vanilla/UiTooltip.d.ts +1 -1
  331. package/vanilla/UiTooltip.js +2 -2
  332. package/vanilla/UiTopBar.d.ts +1 -1
  333. package/vanilla/UiTopBar.js +2 -2
  334. package/vanilla/UiTree.d.ts +1 -1
  335. package/vanilla/UiTree.js +2 -2
  336. package/vanilla/UiTreeItem.d.ts +1 -1
  337. package/vanilla/UiTreeItem.js +2 -2
  338. package/bin/looma-docs.mjs +0 -3
  339. package/docs/README.md +0 -323
  340. package/docs/card.html +0 -79
  341. package/docs/card.js +0 -18
  342. package/docs/catalog-view.js +0 -24
  343. package/docs/catalog-view.mjs +0 -13
  344. package/docs/catalog.mjs +0 -131
  345. package/docs/cli.mjs +0 -26
  346. package/docs/commands.mjs +0 -94
  347. package/docs/customizer-render.mjs +0 -157
  348. package/docs/customizer.js +0 -494
  349. package/docs/documentation.css +0 -14
  350. package/docs/example-invocations.mjs +0 -63
  351. package/docs/fonts.mjs +0 -73
  352. package/docs/framework-examples.d.mts +0 -9
  353. package/docs/framework-examples.mjs +0 -195
  354. package/docs/index.d.ts +0 -59
  355. package/docs/index.mjs +0 -4
  356. package/docs/local-server.mjs +0 -65
  357. package/docs/navigation.mjs +0 -26
  358. package/docs/palette.mjs +0 -68
  359. package/docs/pastoral.svg +0 -54
  360. package/docs/portrait.svg +0 -15
  361. package/docs/reference.html +0 -1
  362. package/docs/reference.js +0 -36
  363. package/docs/render.mjs +0 -97
  364. package/docs/site.mjs +0 -237
  365. package/docs/store.mjs +0 -92
  366. package/docs/theme-session.mjs +0 -72
  367. package/docs/theme.mjs +0 -669
  368. package/docs/value-editors.mjs +0 -37
  369. 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
  export interface UiColorPickerEventMap {
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, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-color-picker/ui-color-picker.js";
4
4
  import "../styles/ui-color-picker.css";
@@ -16,7 +16,7 @@ export function createUiColorPicker(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-color-picker");
19
+ element.setAttribute("component", "ui-color-picker");
20
20
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
21
21
  const v = [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 UiComboboxEventMap {
3
3
  "query-change": CustomEvent<{ readonly query: string; readonly display: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  "value-change": CustomEvent<{ readonly value?: string | null; readonly query: string; readonly option?: { readonly id: string; readonly value: string; readonly label: string; readonly group?: string | null; readonly disabled?: boolean | null; readonly description?: string | null; readonly tag?: { readonly label: string; readonly tone?: "neutral" | "accent" | "info" | "success" | "warning" | "danger" | null; readonly color?: string | null } | null } | null; readonly kind: "selection" | "clear" | "free-entry" | "create"; 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, checkReference, clearRegion, KeyedList, negate, NONCONFORMING, readDeclared, readIndex, readMember, readsChanged, rec, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeText, dispatchDeclared, detailCheck, plainObject, dispose, IndexedList, PositionalList, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, ABSENT, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, checkUnknown, warnOnce, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-combobox/ui-combobox.js";
4
4
  import "../styles/ui-combobox.css";
@@ -34,7 +34,7 @@ const T27 = ["",[]];
34
34
  const K0 = (v0) => (plainObject(v0) && "id" in v0 && typeof v0["id"] == "string" && "value" in v0 && typeof v0["value"] == "string" && "label" in v0 && typeof v0["label"] == "string" && (v0["group"] == null || typeof v0["group"] == "string") && (v0["disabled"] == null || typeof v0["disabled"] == "boolean") && (v0["description"] == null || typeof v0["description"] == "string") && (v0["tag"] == null || (plainObject(v0["tag"]) && "label" in v0["tag"] && typeof v0["tag"]["label"] == "string" && (v0["tag"]["tone"] == null || ((typeof v0["tag"]["tone"] == "string" && keywordFormat(v0["tag"]["tone"])) && ["neutral","accent","info","success","warning","danger"].includes(v0["tag"]["tone"]))) && (v0["tag"]["color"] == null || typeof v0["tag"]["color"] == "string") && Object.keys(v0["tag"]).every((v1) => ["label","tone","color"].includes(v1)))) && Object.keys(v0).every((v1) => ["id","value","label","group","disabled","description","tag"].includes(v1)));
35
35
  const K1 = (v0) => (plainObject(v0) && "id" in v0 && typeof v0["id"] == "string" && "value" in v0 && typeof v0["value"] == "string" && "label" in v0 && typeof v0["label"] == "string" && (v0["group"] == null || typeof v0["group"] == "string") && (v0["disabled"] == null || typeof v0["disabled"] == "boolean") && (v0["description"] == null || typeof v0["description"] == "string") && (v0["tag"] == null || (plainObject(v0["tag"]) && "label" in v0["tag"] && typeof v0["tag"]["label"] == "string" && (v0["tag"]["tone"] == null || ((typeof v0["tag"]["tone"] == "string" && keywordFormat(v0["tag"]["tone"])) && ["neutral","accent","info","success","warning","danger"].includes(v0["tag"]["tone"]))) && (v0["tag"]["color"] == null || typeof v0["tag"]["color"] == "string") && Object.keys(v0["tag"]).every((v1) => ["label","tone","color"].includes(v1)))) && (v0["selected"] == null || typeof v0["selected"] == "boolean") && Object.keys(v0).every((v1) => ["id","value","label","group","disabled","description","tag","selected"].includes(v1)));
36
36
  let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15, P16, P17, P18, P19, P20, P21, P22, P23, P24, P25, P26, P27;
37
- const E = new Map();
37
+ const emptyDirty = new Map();
38
38
  const S = { n: ["internalItems","raw","display","selected","expanded","rows","active","helpOpen","lookupError","validation","uid","submitted","groups","creatable","createIndex","message","statusText","validationStatus"], t: [["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]],"s","s","s","b",["l",["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]],"i","b","s",["o",["status",["p",formatOf(keywordFormat)],"touched","b","dirty","b","issues",["l",["o",["message","s"]]]],1],"s","s",["l",["o",["name","s","role",["p",formatOf(keywordFormat)],"label","s","rows",["l",["o",["id","s","value","s","label","s","group","s","disabled","b","selected","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]],"index","i","labelledBy","s","detail","s","option",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]],"selected","b"]]]]]]]],"b","i","s","s","s"], f: import.meta.url, g: "ui-combobox", d: { "query-change": [detailCheck(checkObject([["query", checkString, false], ["display", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "value-change": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "items-change": [detailCheck(checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false))), true, true, false], "free-entry": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "create-entry": [detailCheck(checkObject([["value", checkString, true], ["query", checkString, false], ["option", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), true], ["kind", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["selection","clear","free-entry","create"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["status", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["pristine","pending","valid","warning","error"]}), false], ["touched", checkBoolean, false], ["dirty", checkBoolean, false], ["issues", checkList(checkObject([["message", checkString, false], ["path", checkList(checkUnknown), true], ["severity", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["error","warning"]}), true]], false)), false], ["output", checkUnknown, true]], false)), true, true, false], "options-change": [detailCheck(checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false))), true, true, false], "add-item": [detailCheck(checkObject([["item", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), false], ["index", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "remove-item": [detailCheck(checkObject([["item", checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false), false], ["index", checkInteger, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "create-item": [detailCheck(checkObject([["query", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "selected-values-change": [detailCheck(checkObject([["selectedValues", checkList(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: [[], "", "", null, false, [], null, false, "", { "status": "pristine", "touched": false, "dirty": false, "issues": [] }, "", "", [], false, 0, "", "", "pristine"] };
39
39
  const D = { g: "ui-combobox", props: { "allowCreate": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "allowFreeText": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "autoHighlight": { "required":false,"values":["none","single"],"default":"none", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "clearQueryOnBlur": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "clearable": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disclosure": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "filter": { "required":false,"values":["label","none"],"default":"label", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "grow": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "help": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "invalid": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "items": { "required":false, c: checkList(checkObject([["id", checkString, false], ["value", checkString, false], ["label", checkString, false], ["group", checkString, true], ["disabled", checkBoolean, true], ["description", checkString, true], ["tag", checkObject([["label", checkString, false], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","accent","info","success","warning","danger"]}), true], ["color", checkString, true]], false), true]], false)), j: 1, m: ["l",["o",["id","s","value","s","label","s","group","s","disabled","b","description","s","tag",["o",["label","s","tone",["p",formatOf(keywordFormat)],"color","s"]]]]] }, "label": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "labelVisibility": { "required":false,"values":["visible","sr-only"],"default":"visible", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "loading": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "maxRows": { "required":false, c: checkInteger, t: "integer", j: 0, m: "i" }, "multiple": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "muted": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "name": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "openOnFocus": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "placeholder": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "query": { "required":false, 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" }, "selectOnTab": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "selectedValues": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "tokenSeparators": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "value": { "required":false, c: checkString, t: "string", j: 0, m: "s" } } };
40
40
  const C = (host) => activateModule(controller, host);
@@ -46,7 +46,7 @@ export function createUiCombobox(options = {}, html) {
46
46
  if (value === null || value === undefined || value === false) continue;
47
47
  element.setAttribute(name, value === true ? "" : String(value));
48
48
  }
49
- element.setAttribute("data-component", "ui-combobox");
49
+ element.setAttribute("component", "ui-combobox");
50
50
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
51
51
  const v = [[], "", "", null, false, [], null, false, "", { "status": "pristine", "touched": false, "dirty": false, "issues": [] }, "", "", [], false, 0, "", "", "pristine", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
52
52
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -83,7 +83,7 @@ export function createUiCombobox(options = {}, html) {
83
83
  const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
84
84
  const t0 = n.firstChild.nextSibling;
85
85
  const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, w: 0, v0: null, v1: null, v2: null, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined, x0: undefined };
86
- p4(r, -1, E);
86
+ p4(r, -1, emptyDirty);
87
87
  return r;
88
88
  };
89
89
  const p4 = (r, c, d) => {
@@ -173,7 +173,7 @@ export function createUiCombobox(options = {}, html) {
173
173
  const m8 = (o, j, l) => {
174
174
  const n = (P8 ??= buildTemplate(T8)).cloneNode(true);
175
175
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null, v2: null };
176
- p8(r, -1, E);
176
+ p8(r, -1, emptyDirty);
177
177
  return r;
178
178
  };
179
179
  const p8 = (r, c, d) => {
@@ -280,7 +280,7 @@ export function createUiCombobox(options = {}, html) {
280
280
  const t1 = t0.nextSibling.nextSibling.nextSibling;
281
281
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null, v1: null, a1: t0, e0: t0.nextSibling, b0: undefined, L1: new KeyedList(t1, t1.nextSibling, m15, p15, (o) => readMember(o, "id"), "row") };
282
282
  r.z = [() => { for (const row of r.L1.r) dispose(row); }];
283
- p13(r, -1, E);
283
+ p13(r, -1, emptyDirty);
284
284
  return r;
285
285
  };
286
286
  const p13 = (r, c, d) => {
@@ -320,7 +320,7 @@ export function createUiCombobox(options = {}, html) {
320
320
  const n = (P15 ??= buildTemplate(T15)).cloneNode(true);
321
321
  const t0 = n.firstChild.nextSibling;
322
322
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: false, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, a1: t0, e0: t0.nextSibling, b0: undefined, f0: undefined, x0: undefined };
323
- p15(r, -1, E);
323
+ p15(r, -1, emptyDirty);
324
324
  return r;
325
325
  };
326
326
  const p15 = (r, c, d) => {
@@ -580,7 +580,7 @@ export function createUiCombobox(options = {}, html) {
580
580
  const n = (P26 ??= buildTemplate(T26)).cloneNode(true);
581
581
  const t0 = n.firstChild;
582
582
  const r = { k: undefined, i: o, n, x: 0, y: 0, a0: t0, w: 0, v0: "" };
583
- p26(r, -1, E);
583
+ p26(r, -1, emptyDirty);
584
584
  return r;
585
585
  };
586
586
  const p26 = (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 UiCompactContentEventMap {
3
3
  }
4
4
  export interface UiCompactContentElement 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, readMember, toAttribute, trackContainer, writeAttribute, IndexedList, acceptProps, manageProps, generatedInputs, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-compact-content/ui-compact-content.js";
4
4
  import "../styles/ui-compact-content.css";
@@ -6,7 +6,7 @@ import "../styles/ui-compact-content.css";
6
6
  const T0 = ["",[],2];
7
7
  const T1 = ["ui-compact-node",[]];
8
8
  let P0, P1;
9
- const E = new Map();
9
+ const emptyDirty = new Map();
10
10
  const S = { n: [], t: [], f: import.meta.url, g: "ui-compact-content", a: (host, I) => C(host, I), b: generatedInputs };
11
11
  const D = { g: "ui-compact-content", props: { "content": { "required":false,"default":{"type":"doc","content":[]}, c: checkObject([["type", checkString, false]], true), j: 1, m: ["o",["type","s"],1] } } };
12
12
  const C = (host) => activateModule(controller, host);
@@ -19,14 +19,14 @@ export function createUiCompactContent(options = {}, html) {
19
19
  element.setAttribute(name, value === true ? "" : String(value));
20
20
  }
21
21
  element.setAttribute("class", ["looma-compact-content", element.getAttribute("class")].filter(Boolean).join(" "));
22
- element.setAttribute("data-component", "ui-compact-content");
22
+ element.setAttribute("component", "ui-compact-content");
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);
26
26
  const m1 = (o, j, l) => {
27
27
  const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
28
28
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null };
29
- p1(r, -1, E);
29
+ p1(r, -1, emptyDirty);
30
30
  return r;
31
31
  };
32
32
  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
  import type { RequestEvent } from "@nextwebwg/html-next/generated-runtime";
3
3
  export interface UiCompactEditorEventMap {
4
4
  change: CustomEvent<{ readonly content: { readonly type: string; readonly [name: string]: unknown } }>;
@@ -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, writeAttribute, dispatchDeclared, detailCheck, acceptProps, manageProps, generatedInputs, checkBoolean, checkObject, checkString, requestHost, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-compact-editor/ui-compact-editor.js";
4
4
  import "../styles/ui-compact-editor.css";
@@ -18,7 +18,7 @@ export function createUiCompactEditor(options = {}, html) {
18
18
  element.setAttribute(name, value === true ? "" : String(value));
19
19
  }
20
20
  element.setAttribute("class", ["looma-compact-editor", element.getAttribute("class")].filter(Boolean).join(" "));
21
- element.setAttribute("data-component", "ui-compact-editor");
21
+ element.setAttribute("component", "ui-compact-editor");
22
22
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
23
23
  const v = [false, 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 UiCompactMarkEventMap {
3
3
  }
4
4
  export interface UiCompactMarkElement 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, binaryValue, buildTemplate, clearRegion, readIndex, readMember, toAttribute, toText, truthy, writeAttribute, dispose, acceptProps, manageProps, generatedInputs, armElement, replaceRoot, checkInteger, checkList, checkObject, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-compact-mark.css";
4
4
 
@@ -26,28 +26,28 @@ export function createUiCompactMark(options = {}, html) {
26
26
  if (value === null || value === undefined || value === false) continue;
27
27
  element.setAttribute(name, value === true ? "" : String(value));
28
28
  }
29
- element.setAttribute("data-component", "ui-compact-mark");
29
+ element.setAttribute("component", "ui-compact-mark");
30
30
  } else if (a === 1) {
31
31
  element = document.createElement("em");
32
32
  for (const [name, value] of Object.entries(attributes)) {
33
33
  if (value === null || value === undefined || value === false) continue;
34
34
  element.setAttribute(name, value === true ? "" : String(value));
35
35
  }
36
- element.setAttribute("data-component", "ui-compact-mark");
36
+ element.setAttribute("component", "ui-compact-mark");
37
37
  } else if (a === 2) {
38
38
  element = document.createElement("code");
39
39
  for (const [name, value] of Object.entries(attributes)) {
40
40
  if (value === null || value === undefined || value === false) continue;
41
41
  element.setAttribute(name, value === true ? "" : String(value));
42
42
  }
43
- element.setAttribute("data-component", "ui-compact-mark");
43
+ element.setAttribute("component", "ui-compact-mark");
44
44
  } else {
45
45
  element = document.createElement("span");
46
46
  for (const [name, value] of Object.entries(attributes)) {
47
47
  if (value === null || value === undefined || value === false) continue;
48
48
  element.setAttribute(name, value === true ? "" : String(value));
49
49
  }
50
- element.setAttribute("data-component", "ui-compact-mark");
50
+ element.setAttribute("component", "ui-compact-mark");
51
51
  }
52
52
  B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
53
53
  const m4 = (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 UiCompactNodeEventMap {
3
3
  }
4
4
  export interface UiCompactNodeElement 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, binaryValue, buildTemplate, defaultValue, readMember, toAttribute, trackContainer, writeAttribute, dispose, IndexedList, acceptProps, manageProps, generatedInputs, armElement, replaceRoot, checkObject, checkString, defineComponent, subtract } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-compact-node.css";
4
4
 
@@ -8,7 +8,7 @@ const T3 = ["",[],["ui-compact-mark",[]]];
8
8
  const T4 = ["",[],2];
9
9
  const T5 = ["ui-compact-node",[]];
10
10
  let P0, P1, P3, P4, P5;
11
- const E = new Map();
11
+ const emptyDirty = new Map();
12
12
  const S = { n: [], t: [], f: import.meta.url, g: "ui-compact-node", b: generatedInputs };
13
13
  const A = [["p",{},[],"",[],["data-ui-compact-node-state","data-ui-compact-node-prop-node"]],["br",{},[],"",[],["data-ui-compact-node-state","data-ui-compact-node-prop-node"]],["span",{},[],"",[],["data-ui-compact-node-state","data-ui-compact-node-prop-node"]],["span",{},[],"",[],["data-ui-compact-node-state","data-ui-compact-node-prop-node"]]];
14
14
  const Q = [[],[],[],[]];
@@ -26,34 +26,34 @@ export function createUiCompactNode(options, html) {
26
26
  if (value === null || value === undefined || value === false) continue;
27
27
  element.setAttribute(name, value === true ? "" : String(value));
28
28
  }
29
- element.setAttribute("data-component", "ui-compact-node");
29
+ element.setAttribute("component", "ui-compact-node");
30
30
  } else if (a === 1) {
31
31
  element = document.createElement("br");
32
32
  for (const [name, value] of Object.entries(attributes)) {
33
33
  if (value === null || value === undefined || value === false) continue;
34
34
  element.setAttribute(name, value === true ? "" : String(value));
35
35
  }
36
- element.setAttribute("data-component", "ui-compact-node");
36
+ element.setAttribute("component", "ui-compact-node");
37
37
  } else if (a === 2) {
38
38
  element = document.createElement("span");
39
39
  for (const [name, value] of Object.entries(attributes)) {
40
40
  if (value === null || value === undefined || value === false) continue;
41
41
  element.setAttribute(name, value === true ? "" : String(value));
42
42
  }
43
- element.setAttribute("data-component", "ui-compact-node");
43
+ element.setAttribute("component", "ui-compact-node");
44
44
  } else {
45
45
  element = document.createElement("span");
46
46
  for (const [name, value] of Object.entries(attributes)) {
47
47
  if (value === null || value === undefined || value === false) continue;
48
48
  element.setAttribute(name, value === true ? "" : String(value));
49
49
  }
50
- element.setAttribute("data-component", "ui-compact-node");
50
+ element.setAttribute("component", "ui-compact-node");
51
51
  }
52
52
  B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
53
53
  const m1 = (o, j, l) => {
54
54
  const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
55
55
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null };
56
- p1(r, -1, E);
56
+ p1(r, -1, emptyDirty);
57
57
  return r;
58
58
  };
59
59
  const p1 = (r, c, d) => {
@@ -68,7 +68,7 @@ export function createUiCompactNode(options, html) {
68
68
  const m5 = (o, j, l) => {
69
69
  const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
70
70
  const r = { k: undefined, i: o, n, x: 0, y: 0, w: 0, v0: null };
71
- p5(r, -1, E);
71
+ p5(r, -1, emptyDirty);
72
72
  return r;
73
73
  };
74
74
  const p5 = (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 UiContainerEventMap {
3
3
  }
4
4
  export interface UiContainerElement 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 } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-container.css";
4
4
 
@@ -15,7 +15,7 @@ export function createUiContainer(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-container");
18
+ element.setAttribute("component", "ui-container");
19
19
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
20
20
  const v = [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.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiContextMenuEventMap {
3
3
  open: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  close: CustomEvent<{ readonly open: boolean; readonly reason: "action" | "programmatic" | "light-dismiss" | "escape"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.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, 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-context-menu/ui-context-menu.js";
4
4
  import "../styles/ui-context-menu.css";
@@ -17,7 +17,7 @@ export function createUiContextMenu(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-context-menu");
20
+ element.setAttribute("component", "ui-context-menu");
21
21
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
22
22
  const v = [false, 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 UiCoverEventMap {
3
3
  }
4
4
  export interface UiCoverElement 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, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-cover.css";
4
4
 
@@ -15,7 +15,7 @@ export function createUiCover(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-cover");
18
+ element.setAttribute("component", "ui-cover");
19
19
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
20
20
  const v = [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.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiCurveEditorEventMap {
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, buildTemplate, toAttribute, toText, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, checkBoolean, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-curve-editor/ui-curve-editor.js";
4
4
  import "../styles/ui-curve-editor.css";
@@ -16,7 +16,7 @@ export function createUiCurveEditor(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-curve-editor");
19
+ element.setAttribute("component", "ui-curve-editor");
20
20
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
21
21
  const v = ["0.25", "0.1", "0.25", "1", 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 UiCycleButtonEventMap {
3
3
  change: CustomEvent<{ readonly value: string; readonly index: number }>;
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, stateInitializers, binaryValue, buildTemplate, checkReference, defaultValue, NONCONFORMING, readDeclared, readFailing, readIndex, readMember, textCall, toAttribute, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, inputDefault, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, ABSENT, readonlyView, checkBoolean, checkFormat, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-cycle-button/ui-cycle-button.js";
4
4
  import "../styles/ui-cycle-button.css";
@@ -16,7 +16,7 @@ export function createUiCycleButton(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-cycle-button");
19
+ element.setAttribute("component", "ui-cycle-button");
20
20
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
21
21
  const v = [null, undefined, 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 UiDateFieldEventMap {
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.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, NONCONFORMING, readIndex, readMember, recordValue, textCall, toAttribute, truthy, writeAttribute, computedCycle, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, readonlyView, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-date-field/ui-date-field.js";
4
4
  import "../styles/ui-date-field.css";
@@ -16,7 +16,7 @@ export function createUiDateField(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-date-field");
19
+ element.setAttribute("component", "ui-date-field");
20
20
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
21
21
  const v = [false, null, "", [], false, undefined, null, null, null, null, null, null, null, null, null, null, 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.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiDatePickerEventMap {
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.82 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, stateInitializers, buildTemplate, checkReference, NONCONFORMING, readDeclared, readIndex, readMember, recordValue, textCall, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-date-picker/ui-date-picker.js";
4
4
  import "../styles/ui-date-picker.css";
@@ -16,7 +16,7 @@ export function createUiDatePicker(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-date-picker");
19
+ element.setAttribute("component", "ui-date-picker");
20
20
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
21
21
  const v = [null, "", "", false, false, false, "", "", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, 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.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiDateRangePickerEventMap {
3
3
  input: CustomEvent<{ readonly value: { readonly start: string; readonly end: string }; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  change: CustomEvent<{ readonly value: { readonly start: string; readonly end: 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, stateInitializers, binaryValue, buildTemplate, checkReference, logicValue, NONCONFORMING, readDeclared, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, truthyValue, writeAttribute, dispatchDeclared, detailCheck, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, RangedKeyedList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-date-range-picker/ui-date-range-picker.js";
4
4
  import "../styles/ui-date-range-picker.css";
@@ -6,7 +6,7 @@ import "../styles/ui-date-range-picker.css";
6
6
  const T0 = ["",[],"\n ",["ui-stack",["gap","s"],["ui-grid",["columns","2","gap","s"],2],"\n ",["ui-text",["data-range-error","","tone","danger","role","alert"],0]],"\n ",["input",["data-range-value","start","type","hidden"]],"\n ",["input",["data-range-value","end","type","hidden"]],"\n ",["ui-popover",["data-range-popover","","trigger","manual","size","sm","role","dialog"],["ui-stack",["gap","s"],["ui-calendar",["data-range-calendar",""]],"\n ",["ui-text",["data-range-popup-error","","tone","danger","role","alert"],0]]],"\n "];
7
7
  const T1 = ["",[],"\n ",["ui-form-field",[],["ui-text",["slot","label","as","label","variant","label"],0],["ui-input-group",[],["ui-date-field",[]],["ui-icon-button",["slot","action","variant","ghost","aria-haspopup","dialog"],["ui-icon",["name","calendar"]]]]],"\n "];
8
8
  let P0, P1;
9
- const E = new Map();
9
+ const emptyDirty = new Map();
10
10
  const S = { n: ["current","draft","selection","preview","anchor","mode","popupValue","enhanced","opened","idPrefix","activeAnchor","blocked","error"], t: [["o",["start","s","end","s"]],["o",["start","s","end","s"]],["o",["start","s","end","s"]],["o",["start","s","end","s"]],"s","s","s","b","b","s","s","b","s"], f: import.meta.url, g: "ui-date-range-picker", d: { "input": [detailCheck(checkObject([["value", checkObject([["start", checkString, false], ["end", checkString, false]], false), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkObject([["start", checkString, false], ["end", checkString, false]], false), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "query-change": [detailCheck(checkObject([["endpoint", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["start","end"]}), false], ["query", checkString, false]], false)), true, true, false], "validation-change": [detailCheck(checkObject([["invalid", checkBoolean, false], ["message", checkString, false], ["endpoint", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["start","end"]}), true]], 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, a: (host, I) => C(host, I), b: generatedInputs, i: [null, null, { "start": "", "end": "" }, { "start": "", "end": "" }, "", "range", "", false, false, "", "", false, ""] };
11
11
  const D = { g: "ui-date-range-picker", props: { "allowUnavailableWithinRange": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "allowedDates": { "required":false, c: checkList(checkString), j: 1, m: ["l","s"] }, "allowedRanges": { "required":false, c: checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), j: 1, m: ["l",["o",["start","s","end","s"]]] }, "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "disabledDates": { "required":false,"default":[], c: checkList(checkString), j: 1, m: ["l","s"] }, "disabledRanges": { "required":false,"default":[], c: checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), j: 1, m: ["l",["o",["start","s","end","s"]]] }, "disabledWeekdays": { "required":false,"default":[], c: checkList(checkInteger), j: 1, m: ["l","i"] }, "displayOptions": { "required":false, c: checkObject([["dateStyle", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["full","long","medium","short"]}), true], ["weekday", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["long","short","narrow"]}), true], ["year", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["numeric","2-digit"]}), true], ["month", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["numeric","2-digit","long","short","narrow"]}), true], ["day", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["numeric","2-digit"]}), true], ["era", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["long","short","narrow"]}), true], ["numberingSystem", checkString, true], ["localeMatcher", checkConstrained(checkString, "string", {"values":["lookup","best fit"]}), true], ["formatMatcher", checkConstrained(checkString, "string", {"values":["basic","best fit"]}), true]], false), j: 1, m: ["o",["dateStyle",["p",formatOf(keywordFormat)],"weekday",["p",formatOf(keywordFormat)],"year",["p",formatOf(keywordFormat)],"month",["p",formatOf(keywordFormat)],"day",["p",formatOf(keywordFormat)],"era",["p",formatOf(keywordFormat)],"numberingSystem","s","localeMatcher","s","formatMatcher","s"]] }, "endInputId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "endLabel": { "required":false,"default":"End date", c: checkString, t: "string", j: 0, m: "s" }, "endName": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "form": { "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":"Date range", 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" }, "model": { "required":false, c: checkObject([["startRanges", checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), false], ["endRanges", checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), false], ["calendarRanges", checkList(checkObject([["start", checkString, false], ["end", checkString, false]], false)), false], ["weekStartsOn", checkInteger, false]], false), j: 1, m: ["o",["startRanges",["l",["o",["start","s","end","s"]]],"endRanges",["l",["o",["start","s","end","s"]]],"calendarRanges",["l",["o",["start","s","end","s"]]],"weekStartsOn","i"]] }, "monthLabel": { "required":false,"default":"Choose month", c: checkString, t: "string", j: 0, m: "s" }, "nextLabel": { "required":false,"default":"Next", c: checkString, t: "string", j: 0, m: "s" }, "pickerLabel": { "required":false,"default":"Choose date range", c: checkString, t: "string", j: 0, m: "s" }, "previousLabel": { "required":false,"default":"Previous", 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" }, "size": { "required":false,"values":["sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "startInputId": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "startLabel": { "required":false,"default":"Start date", c: checkString, t: "string", j: 0, m: "s" }, "startName": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "today": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "value": { "required":false,"default":{"start":"","end":""}, c: checkObject([["start", checkString, false], ["end", checkString, false]], false), j: 1, m: ["o",["start","s","end","s"]] }, "weekStartsOn": { "required":false,"min":1,"max":7, c: checkInteger, t: "integer", j: 0, m: "i", k: boundFailures }, "yearLabel": { "required":false,"default":"Choose year", c: checkString, t: "string", j: 0, m: "s" } } };
12
12
  const C = (host) => activateModule(controller, host);
@@ -19,7 +19,7 @@ export function createUiDateRangePicker(options = {}, html) {
19
19
  element.setAttribute(name, value === true ? "" : String(value));
20
20
  }
21
21
  if (!element.hasAttribute("role")) element.setAttribute("role", "group");
22
- element.setAttribute("data-component", "ui-date-range-picker");
22
+ element.setAttribute("component", "ui-date-range-picker");
23
23
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
24
24
  const v = [null, null, { "start": "", "end": "" }, { "start": "", "end": "" }, "", "range", "", false, false, "", "", false, "", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
25
25
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -39,7 +39,7 @@ export function createUiDateRangePicker(options = {}, html) {
39
39
  n.prepend(s);
40
40
  n.append(t);
41
41
  const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, a2: t2, a3: t3, a4: t4, a5: t5, w: 0, v0: null, v1: null, v2: null, v3: null, v4: "", v5: null, v6: null, v7: null, v8: null, v9: null, v10: null, v11: null, v12: null, v13: null, v14: null, v15: null, v16: null, v17: null, v18: null, v19: null, v20: null, v21: null, v22: null, v23: null, v24: null, v25: null, v26: null, v27: null, v28: null, v29: null, v30: null, v31: null };
42
- p1(r, -1, E);
42
+ p1(r, -1, emptyDirty);
43
43
  return r;
44
44
  };
45
45
  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 UiDescriptionItemEventMap {
3
3
  }
4
4
  export interface UiDescriptionItemElement 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, toText, dispose, acceptProps, manageProps, generatedInputs, project, fillSlot, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
3
3
  import "../styles/ui-description-item.css";
4
4
 
@@ -15,7 +15,7 @@ export function createUiDescriptionItem(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-description-item");
18
+ element.setAttribute("component", "ui-description-item");
19
19
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
20
20
  const v = [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.82 for Vanilla DOM. Do not edit.
2
2
  export interface UiDescriptionListEventMap {
3
3
  }
4
4
  export interface UiDescriptionListElement extends HTMLDListElement {