@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, readIndex, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-toast/ui-toast.js";
4
4
  import "../styles/ui-toast.css";
@@ -18,7 +18,7 @@ export function createUiToast(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-toast");
21
+ element.setAttribute("component", "ui-toast");
22
22
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
23
23
  const v = [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 UiToastRegionEventMap {
3
3
  dismiss: CustomEvent<{ readonly id: string; readonly reason: "action" | "timeout"; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  "show-toast": CustomEvent<{ readonly message: string; readonly id?: string | null; readonly tone?: "neutral" | "info" | "success" | "warning" | "danger" | null; readonly duration?: number | null }>;
@@ -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, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkConstrained, checkFormat, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-toast-region/ui-toast-region.js";
4
4
  import "../styles/ui-toast-region.css";
@@ -7,7 +7,7 @@ const T0 = ["",[],"\n ",4,"\n ",2,"\n "];
7
7
  const T1 = ["",[]];
8
8
  const T2 = ["div",["class","toast"],"\n ",["span",["class","message"],0],"\n ",["span",["class","dismiss"],"\n ",["ui-icon-button",["size","sm","variant","ghost"],["ui-icon",["name","x"]]],"\n "],"\n "];
9
9
  let P0, P1, P2;
10
- const E = new Map();
10
+ const emptyDirty = new Map();
11
11
  const S = { n: ["toasts"], t: [["l",["o",["id","s","message","s","tone",["p",formatOf(keywordFormat)],"role",["p",formatOf(keywordFormat)],"closing","b"]]]], f: import.meta.url, g: "ui-toast-region", d: { "dismiss": [detailCheck(checkObject([["id", checkString, false], ["reason", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["action","timeout"]}), false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "show-toast": [detailCheck(checkObject([["message", checkString, false], ["id", checkString, true], ["tone", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["neutral","info","success","warning","danger"]}), true], ["duration", checkNumber, true]], false)), true, true, false] }, x: dispatchDeclared, a: (host, I) => C(host, I), b: generatedInputs, i: [[]] };
12
12
  const D = { g: "ui-toast-region", props: { "duration": { "required":false,"default":0, c: checkNumber, t: "number", j: 0, m: "n" }, "placement": { "required":false,"values":["top","top-start","top-end","bottom","bottom-start","bottom-end"],"default":"top", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
13
13
  const C = (host) => activateModule(controller, host);
@@ -23,7 +23,7 @@ export function createUiToastRegion(options = {}, html) {
23
23
  if (!element.hasAttribute("aria-label")) element.setAttribute("aria-label", "Notifications");
24
24
  if (!element.hasAttribute("aria-live")) element.setAttribute("aria-live", "polite");
25
25
  if (!element.hasAttribute("popover")) element.setAttribute("popover", "manual");
26
- element.setAttribute("data-component", "ui-toast-region");
26
+ element.setAttribute("component", "ui-toast-region");
27
27
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
28
28
  const v = [[], null, null];
29
29
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -42,7 +42,7 @@ export function createUiToastRegion(options = {}, html) {
42
42
  const t2 = t0.nextSibling.nextSibling;
43
43
  const t3 = t2.firstChild.nextSibling;
44
44
  const r = { k: undefined, i: o, n, x: 0, y: 0, a1: t1, a2: t2, a3: t3, w: 0, v0: false, v1: null, v2: null, v3: null, v4: "", v5: null, v6: null, v7: null };
45
- p2(r, -1, E);
45
+ p2(r, -1, emptyDirty);
46
46
  return r;
47
47
  };
48
48
  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 UiTooltipEventMap {
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.84 for Vanilla DOM. Do not edit.
2
2
  import { attachGeneratedController, buildTemplate, toAttribute, 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-tooltip/ui-tooltip.js";
4
4
  import "../styles/ui-tooltip.css";
@@ -19,7 +19,7 @@ export function createUiTooltip(options = {}, html) {
19
19
  element.setAttribute(name, value === true ? "" : String(value));
20
20
  }
21
21
  if (!element.hasAttribute("role")) element.setAttribute("role", "tooltip");
22
- element.setAttribute("data-component", "ui-tooltip");
22
+ element.setAttribute("component", "ui-tooltip");
23
23
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
24
24
  const v = [false, null, null, null, null, null, null, null];
25
25
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiTopBarEventMap {
3
3
  }
4
4
  export interface UiTopBarElement 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, NONCONFORMING, toAttribute, writeAttribute, computedCycle, dispose, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, project, fillSlot, readonlyView, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-top-bar/ui-top-bar.js";
4
4
  import "../styles/ui-top-bar.css";
@@ -20,7 +20,7 @@ export function createUiTopBar(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-top-bar");
23
+ element.setAttribute("component", "ui-top-bar");
24
24
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
25
25
  const v = [false, undefined, 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 UiTreeEventMap {
3
3
  reorder: CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly sourceType: string; readonly targetType: string; readonly sourceScope: string; readonly targetScope: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
4
  "reorder-rejected": CustomEvent<{ readonly sourceId: string; readonly targetId: string; readonly position: "before" | "inside" | "after"; readonly reason: "max-depth"; readonly maxDepth: number; readonly resultingDepth: number; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
package/vanilla/UiTree.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, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkNumber, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
3
3
  import * as controller from "../components/ui-tree/ui-tree.js";
4
4
  import "../styles/ui-tree.css";
@@ -18,7 +18,7 @@ export function createUiTree(options = {}, html) {
18
18
  element.setAttribute(name, value === true ? "" : String(value));
19
19
  }
20
20
  if (!element.hasAttribute("role")) element.setAttribute("role", "tree");
21
- element.setAttribute("data-component", "ui-tree");
21
+ element.setAttribute("component", "ui-tree");
22
22
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
23
23
  const v = [null, null, null, null, null, null, null];
24
24
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -1,4 +1,4 @@
1
- // Generated by HTML Next 1.0.0-alpha.79 for Vanilla DOM. Do not edit.
1
+ // Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
2
2
  export interface UiTreeItemEventMap {
3
3
  expand: CustomEvent<{ readonly id: string; readonly expanded: boolean; 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, clearRegion, NONCONFORMING, readIndex, recordValue, textCall, toAttribute, toText, truthy, writeAttribute, dispatchDeclared, detailCheck, dispose, 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-tree-item/ui-tree-item.js";
4
4
  import "../styles/ui-tree-item.css";
@@ -24,7 +24,7 @@ export function createUiTreeItem(options = {}, html) {
24
24
  element.setAttribute(name, value === true ? "" : String(value));
25
25
  }
26
26
  if (!element.hasAttribute("role")) element.setAttribute("role", "treeitem");
27
- element.setAttribute("data-component", "ui-tree-item");
27
+ element.setAttribute("component", "ui-tree-item");
28
28
  element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
29
29
  const v = [false, 1, false, false, false, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null];
30
30
  const B = acceptProps(element, D, S.n, v, componentProps, [], html);
@@ -0,0 +1,27 @@
1
+ // Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
2
+ export interface UiWizardEventMap {
3
+ navigate: CustomEvent<{ readonly value: string; readonly previousValue: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
4
+ }
5
+ export interface UiWizardElement extends HTMLDivElement {
6
+ addEventListener<K extends keyof UiWizardEventMap>(type: K, listener: (this: UiWizardElement, event: UiWizardEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
7
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiWizardElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void;
8
+ addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
9
+ removeEventListener<K extends keyof UiWizardEventMap>(type: K, listener: (this: UiWizardElement, event: UiWizardEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
10
+ removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: UiWizardElement, event: HTMLElementEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void;
11
+ removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
12
+ }
13
+ export interface UiWizardProps {
14
+ disabled?: boolean | null;
15
+ label?: string | null;
16
+ steps?: readonly ({ readonly value: string; readonly label: string; readonly complete?: boolean | null; readonly disabled?: boolean | null; readonly href?: string | null })[] | null;
17
+ value?: string | null;
18
+ attributes?: Readonly<Record<string, string | number | boolean | null | undefined>>;
19
+ children?: readonly (string | Node)[];
20
+ slots?: Readonly<Record<string, readonly (string | Node)[]>>;
21
+ }
22
+ export declare function createUiWizard(props?: UiWizardProps): UiWizardElement;
23
+ declare global {
24
+ interface ComponentTagMap {
25
+ "ui-wizard": { element: UiWizardElement; props: Omit<UiWizardProps, "attributes" | "children" | "slots"> };
26
+ }
27
+ }
@@ -0,0 +1,165 @@
1
+ // Generated by HTML Next 1.0.0-alpha.84 for Vanilla DOM. Do not edit.
2
+ import { attachGeneratedController, binaryValue, buildTemplate, clearRegion, defaultValue, formatCall, NONCONFORMING, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, writeUrlAttribute, dispatchDeclared, detailCheck, dispose, PositionalList, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkList, checkObject, checkString, defineComponent, activateModule, add } from "@nextwebwg/html-next/generated-runtime";
3
+ import * as controller from "../components/ui-wizard/ui-wizard.js";
4
+ import "../styles/ui-wizard.css";
5
+
6
+ const T0 = ["",[],"\n ",["nav",[],"\n ",["ol",[],"\n ",2,"\n "],"\n "],"\n ",["div",["class","content"],4],"\n ",["ui-action-bar",[],["template",["slot","secondary"]],["template",["slot","primary"]]],"\n "];
7
+ const T1 = ["li",[],"\n ",["ui-button",["variant","ghost","align","start","stretch",""],["span",["class","marker","aria-hidden","true","data-slotted","ui-wizard"],1,1],"\n ",["span",["class","step-label","data-slotted","ui-wizard"],1,0]],"\n "];
8
+ const T2 = ["ui-icon",["name","check"]];
9
+ const T3 = ["span",[],0];
10
+ const T4 = ["span",["class","status"],"Completed: "];
11
+ const T5 = ["",[]];
12
+ let P0, P1, P2, P3, P4, P5;
13
+ const emptyDirty = new Map();
14
+ const S = { n: [], t: [], f: import.meta.url, g: "ui-wizard", d: { "navigate": [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 };
15
+ const D = { g: "ui-wizard", props: { "disabled": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "label": { "required":false,"default":"Progress", c: checkString, t: "string", j: 0, m: "s" }, "steps": { "required":false,"default":[], c: checkList(checkObject([["value", checkString, false], ["label", checkString, false], ["complete", checkBoolean, true], ["disabled", checkBoolean, true], ["href", checkString, true]], false)), j: 1, m: ["l",["o",["value","s","label","s","complete","b","disabled","b","href","s"]]] }, "value": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" } } };
16
+ const C = (host) => activateModule(controller, host);
17
+
18
+ export function createUiWizard(options = {}, html) {
19
+ const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
20
+ const element = document.createElement("div");
21
+ for (const [name, value] of Object.entries(attributes)) {
22
+ if (value === null || value === undefined || value === false) continue;
23
+ element.setAttribute(name, value === true ? "" : String(value));
24
+ }
25
+ element.setAttribute("component", "ui-wizard");
26
+ element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
27
+ const v = [null, null, null, null];
28
+ const B = acceptProps(element, D, S.n, v, componentProps, [], html);
29
+ const m1 = (o, j, l) => {
30
+ const n = (P1 ??= buildTemplate(T1)).cloneNode(true);
31
+ const t0 = n.firstChild.nextSibling;
32
+ const t1 = t0.firstChild;
33
+ const t2 = t1.firstChild;
34
+ const t3 = t2.nextSibling.nextSibling;
35
+ const t4 = t1.nextSibling.nextSibling;
36
+ const t5 = t4.firstChild;
37
+ const t6 = t5.nextSibling.nextSibling;
38
+ const r = { k: undefined, i: o, n, x: 0, y: 0, j, l, a1: t0, a2: t1, a6: t6, w: 0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, v8: "", a3: t2, e0: t2.nextSibling, b0: undefined, a4: t3, e1: t3.nextSibling, b1: undefined, a5: t5, e2: t5.nextSibling, b2: undefined };
39
+ p1(r, -1, emptyDirty);
40
+ return r;
41
+ };
42
+ const p1 = (r, c, d) => {
43
+ const o = r.i;
44
+ if (c & 1073741824) r.w = 0;
45
+ if (c & 1073741832) {
46
+ const x0 = trackContainer(r, readIndex(recordValue(["true","false"], ["current", readIndex({ "true": "complete", "false": "upcoming" }, textCall("concat", [trackContainer(r, defaultValue(readMember(o, "complete"), false))]))]), textCall("concat", [(readMember(o, "value") === v[3])])));
47
+ if (x0 !== NONCONFORMING) {
48
+ const s0 = toAttribute(x0, "data-state");
49
+ if (s0 !== r.v0) writeAttribute(r.n, "data-state", r.v0 = s0);
50
+ }
51
+ const x1 = (readMember(o, "value") === v[3]);
52
+ const s1 = toAttribute(x1, "selected");
53
+ if (s1 !== r.v1) writeAttribute(r.a1, "selected", r.v1 = s1);
54
+ }
55
+ if (c & 1073741825) {
56
+ const x2 = (truthy(v[0]) || truthy(trackContainer(r, defaultValue(readMember(o, "disabled"), false))));
57
+ const s2 = toAttribute(x2, "disabled");
58
+ if (s2 !== r.v2) writeAttribute(r.a1, "disabled", r.v2 = s2);
59
+ }
60
+ if (c & 1073741824) {
61
+ const x3 = trackContainer(r, readMember(o, "href"));
62
+ const s3 = toAttribute(x3, "href");
63
+ if (s3 !== r.v3) writeUrlAttribute(r.a1, "href", r.v3 = s3);
64
+ }
65
+ if (c & 1073741832) {
66
+ const x4 = trackContainer(r, readIndex({ "true": "step", "false": null }, textCall("concat", [(readMember(o, "value") === v[3])])));
67
+ if (x4 !== NONCONFORMING) {
68
+ const s4 = toAttribute(x4, "aria-current");
69
+ if (s4 !== r.v4) writeAttribute(r.a1, "aria-current", r.v4 = s4);
70
+ }
71
+ const x5 = textCall("concat", [(readMember(o, "value") === v[3])]);
72
+ if (x5 !== NONCONFORMING) {
73
+ const s6 = toAttribute(x5, "data-current");
74
+ if (s6 !== r.v6) writeAttribute(r.a2, "data-current", r.v6 = s6);
75
+ }
76
+ const x6 = textCall("concat", [(truthy(trackContainer(r, defaultValue(readMember(o, "complete"), false))) && (readMember(o, "value") !== v[3]))]);
77
+ if (x6 !== NONCONFORMING) {
78
+ const s7 = toAttribute(x6, "data-complete");
79
+ if (s7 !== r.v7) writeAttribute(r.a2, "data-complete", r.v7 = s7);
80
+ }
81
+ }
82
+ if (c & 1073741824) {
83
+ const x7 = trackContainer(r, readMember(o, "value"));
84
+ const s5 = toAttribute(x7, "data-wizard-value");
85
+ if (s5 !== r.v5) writeAttribute(r.a1, "data-wizard-value", r.v5 = s5);
86
+ const x8 = trackContainer(r, readMember(o, "label"));
87
+ const s8 = toText(x8);
88
+ if (s8 !== r.v8) r.a6.data = r.v8 = s8;
89
+ }
90
+ if (c & 1073741832 && !((truthy(trackContainer(r, readMember(o, "complete"))) && (readMember(o, "value") !== v[3]))) !== !r.b0) {
91
+ if (r.b0) { r.b0 = undefined; clearRegion(r.a3, r.e0); }
92
+ else { r.b0 = m2(d); r.e0.before(r.b0.n); }
93
+ } else if (r.b0 !== undefined) p2(r.b0, c, d);
94
+ if (c & 1073741832 && !((!truthy(trackContainer(r, readMember(o, "complete"))) || (readMember(o, "value") === v[3]))) !== !r.b1) {
95
+ if (r.b1) { r.b1 = undefined; clearRegion(r.a4, r.e1); }
96
+ else { r.b1 = m3(d, undefined, r); r.e1.before(r.b1.n); }
97
+ } else if (r.b1 !== undefined) p3(r.b1, c, d);
98
+ if (c & 1073741832 && !((truthy(trackContainer(r, readMember(o, "complete"))) && (readMember(o, "value") !== v[3]))) !== !r.b2) {
99
+ if (r.b2) { r.b2 = undefined; clearRegion(r.a5, r.e2); }
100
+ else { r.b2 = m4(d); r.e2.before(r.b2.n); }
101
+ } else if (r.b2 !== undefined) p4(r.b2, c, d);
102
+ };
103
+ const m2 = (d) => {
104
+ const n = (P2 ??= buildTemplate(T2)).cloneNode(true);
105
+ const r = { n };
106
+ p2(r, -1, d);
107
+ return r;
108
+ };
109
+ const p2 = (r, c, d) => {
110
+ };
111
+ const m3 = (d, o, u) => {
112
+ const n = (P3 ??= buildTemplate(T3)).cloneNode(true);
113
+ const t0 = n.firstChild;
114
+ const r = { n, u, a0: t0, v0: "" };
115
+ p3(r, -1, d);
116
+ return r;
117
+ };
118
+ const p3 = (r, c, d) => {
119
+ if (c & -1073741824) {
120
+ const x0 = formatCall("format", [binaryValue("+", r.u.j, 1, undefined, undefined, add), "number"], "number");
121
+ if (x0 !== NONCONFORMING) {
122
+ const s0 = toText(x0);
123
+ if (s0 !== r.v0) r.a0.data = r.v0 = s0;
124
+ }
125
+ }
126
+ };
127
+ const m4 = (d) => {
128
+ const n = (P4 ??= buildTemplate(T4)).cloneNode(true);
129
+ const r = { n };
130
+ p4(r, -1, d);
131
+ return r;
132
+ };
133
+ const p4 = (r, c, d) => {
134
+ };
135
+ const m5 = (d) => {
136
+ const n = (P5 ??= buildTemplate(T5)).cloneNode(true);
137
+ const r = { n };
138
+ p5(r, -1, d);
139
+ return r;
140
+ };
141
+ const p5 = (r, c, d) => {
142
+ };
143
+ const p0 = (r, c, d) => {
144
+ if (c & 2) {
145
+ const x0 = v[1];
146
+ const s0 = toAttribute(x0, "aria-label");
147
+ if (s0 !== r.v0) writeAttribute(r.a0, "aria-label", r.v0 = s0);
148
+ }
149
+ if (c & 1073741828) r.L0.update(v[2], d, c);
150
+ if (c !== -1 && c & 9) r.L0.each(c, d);
151
+ if (r.f1 === undefined) { r.f1 = 1; const at = fillSlot(r.a2, r.e1, "", J, false, undefined, d);
152
+ if (Array.isArray(at)) (r.z ??= []).push(() => { at[0].l.delete(at[1]); dispose(at[1]); }); else if (at !== undefined) { r.b1 = m5(d); at.before(r.b1.n); } }
153
+ else if (r.b1 !== undefined) p5(r.b1, c, d);
154
+ };
155
+ const t0 = element.firstChild.nextSibling;
156
+ const t1 = t0.firstChild.nextSibling.firstChild.nextSibling;
157
+ const t2 = t0.nextSibling.nextSibling.firstChild;
158
+ const R = { a0: t0, v0: null, L0: new PositionalList(t1, t1.nextSibling, m1, p1, (o) => readMember(o, "value"), "step"), a2: t2, e1: t2.nextSibling, b1: undefined, f1: undefined };
159
+ const I = { B };
160
+ const J = project(I, children, slots);
161
+ attachGeneratedController(element, S, v, ((c, d) => p0(R, c, d)), undefined, undefined, I);
162
+ manageProps(I);
163
+ return element;
164
+ }
165
+ defineComponent("ui-wizard", createUiWizard, ["disabled","label","steps","value"]);
package/vanilla/index.js CHANGED
@@ -104,3 +104,4 @@ export * from "./UiTooltip.js";
104
104
  export * from "./UiTopBar.js";
105
105
  export * from "./UiTree.js";
106
106
  export * from "./UiTreeItem.js";
107
+ export * from "./UiWizard.js";
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- // Keep the command linkable before the workspace build creates docs/.
3
- import '../docs/cli.mjs';