@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.
- package/README.md +4 -4
- package/components/shared/overlay.js +7 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -0
- package/components/ui-calendar/ui-calendar.js +11 -7
- package/components/ui-card/ui-card.html +7 -0
- package/components/ui-date-field/ui-date-field.js +0 -5
- package/components/ui-disclosure/ui-disclosure.js +19 -4
- package/components/ui-editor-link-form/ui-editor-link-form.js +5 -0
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +10 -1
- package/components/ui-file-input/ui-file-input.js +0 -2
- package/components/ui-status-message/ui-status-message.html +1 -0
- package/components/ui-tabs/ui-tabs.html +1 -0
- package/components/ui-tooltip/ui-tooltip.html +11 -32
- package/dist/index.js +14 -8
- package/docs/catalog.json +592 -131
- package/editor/components.css +530 -551
- package/editor/index.js +72 -47
- package/package.json +30 -35
- package/styles/ui-action-bar.css +8 -8
- package/styles/ui-affordance-scope.css +10 -10
- package/styles/ui-avatar-group.css +11 -11
- package/styles/ui-avatar.css +14 -14
- package/styles/ui-badge.css +67 -67
- package/styles/ui-breadcrumb-item.css +10 -10
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +99 -99
- package/styles/ui-calendar.css +1 -1
- package/styles/ui-callout.css +14 -14
- package/styles/ui-card-group.css +11 -11
- package/styles/ui-card.css +40 -35
- package/styles/ui-checkbox.css +28 -28
- package/styles/ui-cluster.css +30 -30
- package/styles/ui-color-picker.css +16 -16
- package/styles/ui-combobox.css +50 -50
- package/styles/ui-compact-content.css +1 -1
- package/styles/ui-compact-editor.css +1 -1
- package/styles/ui-compact-mark.css +1 -1
- package/styles/ui-compact-node.css +1 -1
- package/styles/ui-container.css +14 -14
- package/styles/ui-context-menu.css +8 -8
- package/styles/ui-cover.css +9 -9
- package/styles/ui-curve-editor.css +9 -9
- package/styles/ui-cycle-button.css +10 -10
- package/styles/ui-date-field.css +1 -1
- package/styles/ui-date-picker.css +1 -1
- package/styles/ui-date-range-picker.css +1 -1
- package/styles/ui-description-item.css +8 -8
- package/styles/ui-description-list.css +18 -18
- package/styles/ui-dialog.css +37 -37
- package/styles/ui-disclosure.css +26 -26
- package/styles/ui-editable.css +13 -13
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-footnote-editor.css +1 -1
- package/styles/ui-editor-formatting-tools.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +9 -9
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +13 -15
- package/styles/ui-editor-mention-menu.css +12 -12
- package/styles/ui-editor-slash-menu-group.css +7 -7
- package/styles/ui-editor-slash-menu-item.css +12 -12
- package/styles/ui-editor-slash-menu.css +13 -13
- package/styles/ui-editor-surface.css +8 -8
- package/styles/ui-editor-table-context-menu.css +19 -15
- package/styles/ui-editor-table-overlay.css +15 -15
- package/styles/ui-editor-table-toolbar.css +19 -19
- package/styles/ui-editor-toolbar.css +16 -16
- package/styles/ui-editor.css +1 -1
- package/styles/ui-file-input.css +1 -1
- package/styles/ui-floating-action-button.css +14 -14
- package/styles/ui-form-field.css +9 -9
- package/styles/ui-grid.css +19 -19
- package/styles/ui-icon-button.css +73 -73
- package/styles/ui-icon.css +11 -11
- package/styles/ui-image.css +23 -23
- package/styles/ui-input-group.css +26 -26
- package/styles/ui-input.css +23 -23
- package/styles/ui-light-editor.css +15 -15
- package/styles/ui-list-item.css +25 -25
- package/styles/ui-list.css +16 -16
- package/styles/ui-listbox.css +22 -22
- package/styles/ui-menu-group.css +7 -7
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +20 -20
- package/styles/ui-meter.css +32 -32
- package/styles/ui-nav-item.css +18 -18
- package/styles/ui-number-input.css +12 -12
- package/styles/ui-page-header.css +10 -10
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +17 -17
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +25 -25
- package/styles/ui-reel.css +21 -21
- package/styles/ui-scroll-area.css +20 -20
- package/styles/ui-search-result-row.css +16 -16
- package/styles/ui-search-shell.css +10 -10
- package/styles/ui-section.css +18 -18
- package/styles/ui-select.css +22 -22
- package/styles/ui-separator.css +12 -12
- package/styles/ui-sidebar.css +26 -26
- package/styles/ui-site-header.css +65 -65
- package/styles/ui-skeleton.css +18 -18
- package/styles/ui-slider.css +11 -11
- package/styles/ui-spinner.css +9 -9
- package/styles/ui-stack.css +22 -22
- package/styles/ui-status-message.css +12 -12
- package/styles/ui-swatch.css +14 -14
- package/styles/ui-switch.css +23 -23
- package/styles/ui-switcher.css +20 -20
- package/styles/ui-table.css +12 -12
- package/styles/ui-tabs.css +18 -17
- package/styles/ui-text.css +40 -40
- package/styles/ui-textarea.css +21 -21
- package/styles/ui-time-field.css +1 -1
- package/styles/ui-time-picker.css +1 -1
- package/styles/ui-toast-region.css +29 -29
- package/styles/ui-toast.css +19 -19
- package/styles/ui-tooltip.css +37 -58
- package/styles/ui-top-bar.css +8 -8
- package/styles/ui-tree-item.css +112 -112
- package/styles/ui-tree.css +11 -11
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +2 -2
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +2 -2
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +2 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +5 -5
- package/vanilla/UiCalendar.d.ts +1 -1
- package/vanilla/UiCalendar.js +10 -10
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +2 -2
- package/vanilla/UiCard.d.ts +2 -1
- package/vanilla/UiCard.js +18 -18
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +2 -2
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +2 -2
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +8 -8
- package/vanilla/UiCompactContent.d.ts +1 -1
- package/vanilla/UiCompactContent.js +4 -4
- package/vanilla/UiCompactEditor.d.ts +1 -1
- package/vanilla/UiCompactEditor.js +2 -2
- package/vanilla/UiCompactMark.d.ts +1 -1
- package/vanilla/UiCompactMark.js +5 -5
- package/vanilla/UiCompactNode.d.ts +1 -1
- package/vanilla/UiCompactNode.js +8 -8
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +2 -2
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +2 -2
- package/vanilla/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +2 -2
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.js +2 -2
- package/vanilla/UiDateField.d.ts +1 -1
- package/vanilla/UiDateField.js +2 -2
- package/vanilla/UiDatePicker.d.ts +1 -1
- package/vanilla/UiDatePicker.js +2 -2
- package/vanilla/UiDateRangePicker.d.ts +1 -1
- package/vanilla/UiDateRangePicker.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +2 -2
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +2 -2
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditor.d.ts +1 -1
- package/vanilla/UiEditor.js +6 -6
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +2 -2
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +2 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +4 -4
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +2 -2
- package/vanilla/UiEditorFormattingTools.d.ts +1 -1
- package/vanilla/UiEditorFormattingTools.js +4 -4
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +4 -4
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +2 -2
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +4 -4
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +4 -4
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +2 -2
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +4 -4
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +2 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +2 -2
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +2 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +7 -6
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +5 -5
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +8 -8
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +2 -2
- package/vanilla/UiFileInput.d.ts +1 -1
- package/vanilla/UiFileInput.js +4 -4
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +2 -2
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +2 -2
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +4 -4
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +2 -2
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +2 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +3 -3
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +2 -2
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +5 -5
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +2 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +3 -3
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +4 -4
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +3 -3
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +2 -2
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +2 -2
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +2 -2
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +2 -2
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +2 -2
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +3 -3
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +2 -2
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +2 -2
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +2 -2
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +2 -2
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +2 -2
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +2 -2
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +2 -2
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +2 -2
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +2 -2
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +13 -13
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +2 -2
- package/vanilla/UiTimeField.d.ts +1 -1
- package/vanilla/UiTimeField.js +2 -2
- package/vanilla/UiTimePicker.d.ts +1 -1
- package/vanilla/UiTimePicker.js +6 -6
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +2 -2
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +2 -2
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +2 -2
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +2 -2
- package/bin/looma-docs.mjs +0 -3
- package/docs/README.md +0 -323
- package/docs/card.html +0 -79
- package/docs/card.js +0 -18
- package/docs/catalog-view.js +0 -24
- package/docs/catalog-view.mjs +0 -13
- package/docs/catalog.mjs +0 -131
- package/docs/cli.mjs +0 -26
- package/docs/commands.mjs +0 -94
- package/docs/customizer-render.mjs +0 -157
- package/docs/customizer.js +0 -494
- package/docs/documentation.css +0 -14
- package/docs/example-invocations.mjs +0 -63
- package/docs/fonts.mjs +0 -73
- package/docs/framework-examples.d.mts +0 -9
- package/docs/framework-examples.mjs +0 -195
- package/docs/index.d.ts +0 -59
- package/docs/index.mjs +0 -4
- package/docs/local-server.mjs +0 -65
- package/docs/navigation.mjs +0 -26
- package/docs/palette.mjs +0 -68
- package/docs/pastoral.svg +0 -54
- package/docs/portrait.svg +0 -15
- package/docs/reference.html +0 -1
- package/docs/reference.js +0 -36
- package/docs/render.mjs +0 -97
- package/docs/site.mjs +0 -237
- package/docs/store.mjs +0 -92
- package/docs/theme-session.mjs +0 -72
- package/docs/theme.mjs +0 -669
- package/docs/value-editors.mjs +0 -37
- package/docs/workspace.mjs +0 -32
package/styles/ui-tree.css
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-tree"] { --html-next-scope-owner: "ui-tree" !important; }
|
|
7
|
+
:is([component~="ui-tree"]:not(template), [data-component~="ui-tree"]:not([component])) { --html-next-scope-owner: "ui-tree" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-tree"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-tree"]:not(template), [data-component~="ui-tree"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* Reaches the items the way density does, so the setting lives on the tree the way a reader
|
|
11
11
|
thinks about it: this list scrolls its long names. */
|
|
12
|
-
:scope:where([data-component~="ui-tree"])[data-ui-tree-state~="marquee"] {
|
|
12
|
+
:scope:where(:is([component~="ui-tree"]:not(template), [data-component~="ui-tree"]:not([component])))[data-ui-tree-state~="marquee"] {
|
|
13
13
|
--_ui-default-tree-item-marquee: 1;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/* The items' defaults for this density: an item's own hook still wins. */
|
|
17
|
-
:scope:where([data-component~="ui-tree"])[data-ui-tree-state~="density=compact"] {
|
|
17
|
+
:scope:where(:is([component~="ui-tree"]:not(template), [data-component~="ui-tree"]:not([component])))[data-ui-tree-state~="density=compact"] {
|
|
18
18
|
--_ui-default-tree-item-min-block-size: var(--ui-control-size-sm);
|
|
19
19
|
--_ui-default-tree-item-font-size: var(--ui-font-size-sm);
|
|
20
20
|
--_ui-default-tree-item-label-padding-block: 0;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
:scope:where([data-component~="ui-tree"]) {
|
|
23
|
+
:scope:where(:is([component~="ui-tree"]:not(template), [data-component~="ui-tree"]:not([component]))) {
|
|
24
24
|
/* Resolve tree hooks here and reset private density defaults for nested trees. */
|
|
25
25
|
--_ui-tree-indent: var(--ui-tree-indent);
|
|
26
26
|
--_ui-tree-drop-color: var(--ui-tree-drop-color);
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
padding-inline-start: var(--ui-tree-gutter, 0px) !important;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
:scope:where([data-component~="ui-tree"])[data-move-mode]::after {
|
|
36
|
+
:scope:where(:is([component~="ui-tree"]:not(template), [data-component~="ui-tree"]:not([component])))[data-move-mode]::after {
|
|
37
37
|
content: "Choose a destination row, or use Up and Down; Right nests inside a branch. Enter places it, Escape cancels.";
|
|
38
38
|
display: block !important;
|
|
39
39
|
padding: var(--ui-space-2) !important;
|
|
@@ -42,11 +42,11 @@
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
45
|
-
:scope:where([data-component~="ui-tree"])[hidden] {
|
|
45
|
+
:scope:where(:is([component~="ui-tree"]:not(template), [data-component~="ui-tree"]:not([component])))[hidden] {
|
|
46
46
|
display: none !important;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
@scope ([data-component~="ui-tree"]) to ([data-component]) {
|
|
49
|
+
@scope (:is([component~="ui-tree"]:not(template), [data-component~="ui-tree"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
50
50
|
/* Reaches the items the way density does, so the setting lives on the tree the way a reader
|
|
51
51
|
thinks about it: this list scrolls its long names. */
|
|
52
52
|
|
package/vanilla/UiActionBar.d.ts
CHANGED
package/vanilla/UiActionBar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, dispose, project, fillSlot, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-action-bar.css";
|
|
4
4
|
|
|
@@ -17,7 +17,7 @@ export function createUiActionBar(options = {}) {
|
|
|
17
17
|
if (value === null || value === undefined || value === false) continue;
|
|
18
18
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
19
19
|
}
|
|
20
|
-
element.setAttribute("
|
|
20
|
+
element.setAttribute("component", "ui-action-bar");
|
|
21
21
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
22
22
|
const v = [];
|
|
23
23
|
const m1 = (d) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
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, checkNumber, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-affordance-scope/ui-affordance-scope.js";
|
|
4
4
|
import "../styles/ui-affordance-scope.css";
|
|
@@ -17,7 +17,7 @@ export function createUiAffordanceScope(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("
|
|
20
|
+
element.setAttribute("component", "ui-affordance-scope");
|
|
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);
|
package/vanilla/UiAvatar.d.ts
CHANGED
package/vanilla/UiAvatar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, toText, writeAttribute, writeUrlAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-avatar/ui-avatar.js";
|
|
4
4
|
import "../styles/ui-avatar.css";
|
|
@@ -17,7 +17,7 @@ export function createUiAvatar(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("
|
|
20
|
+
element.setAttribute("component", "ui-avatar");
|
|
21
21
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
22
22
|
const v = [false, false, "?", false, null, null, null, null, null, null, null, null];
|
|
23
23
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
package/vanilla/UiAvatarGroup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, toText, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkInteger, checkNumber, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-avatar-group/ui-avatar-group.js";
|
|
4
4
|
import "../styles/ui-avatar-group.css";
|
|
@@ -18,7 +18,7 @@ export function createUiAvatarGroup(options = {}, html) {
|
|
|
18
18
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
19
19
|
}
|
|
20
20
|
if (!element.hasAttribute("role")) element.setAttribute("role", "group");
|
|
21
|
-
element.setAttribute("
|
|
21
|
+
element.setAttribute("component", "ui-avatar-group");
|
|
22
22
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
23
|
const v = [0, "", null, null, null, null, null];
|
|
24
24
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
package/vanilla/UiBadge.d.ts
CHANGED
package/vanilla/UiBadge.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
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-badge.css";
|
|
4
4
|
|
|
@@ -16,7 +16,7 @@ export function createUiBadge(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("
|
|
19
|
+
element.setAttribute("component", "ui-badge");
|
|
20
20
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
21
21
|
const v = [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.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, NONCONFORMING, readIndex, textCall, toAttribute, writeAttribute, dispose, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-breadcrumb-item.css";
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ export function createUiBreadcrumbItem(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("
|
|
18
|
+
element.setAttribute("component", "ui-breadcrumb-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);
|
package/vanilla/UiBreadcrumbs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, acceptProps, manageProps, generatedInputs, project, fillSlot, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-breadcrumbs.css";
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ export function createUiBreadcrumbs(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("
|
|
18
|
+
element.setAttribute("component", "ui-breadcrumbs");
|
|
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);
|
package/vanilla/UiButton.d.ts
CHANGED
package/vanilla/UiButton.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, NONCONFORMING, readIndex, recordValue, textCall, toAttribute, truthy, writeAttribute, writeUrlAttribute, computedCycle, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, awaitInput, evaluateInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, notifyPropertySet, project, fillSlot, armElement, replaceRoot, readonlyView, checkBoolean, checkFormat, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-button/ui-button.js";
|
|
4
4
|
import "../styles/ui-button.css";
|
|
@@ -59,28 +59,28 @@ export function createUiButton(options = {}, html) {
|
|
|
59
59
|
if (value === null || value === undefined || value === false) continue;
|
|
60
60
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
61
61
|
}
|
|
62
|
-
element.setAttribute("
|
|
62
|
+
element.setAttribute("component", "ui-button");
|
|
63
63
|
} else if (a === 1) {
|
|
64
64
|
element = document.createElement("button");
|
|
65
65
|
for (const [name, value] of Object.entries(attributes)) {
|
|
66
66
|
if (value === null || value === undefined || value === false) continue;
|
|
67
67
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
68
68
|
}
|
|
69
|
-
element.setAttribute("
|
|
69
|
+
element.setAttribute("component", "ui-button");
|
|
70
70
|
} else if (a === 2) {
|
|
71
71
|
element = document.createElement("a");
|
|
72
72
|
for (const [name, value] of Object.entries(attributes)) {
|
|
73
73
|
if (value === null || value === undefined || value === false) continue;
|
|
74
74
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
75
75
|
}
|
|
76
|
-
element.setAttribute("
|
|
76
|
+
element.setAttribute("component", "ui-button");
|
|
77
77
|
} else {
|
|
78
78
|
element = document.createElement("button");
|
|
79
79
|
for (const [name, value] of Object.entries(attributes)) {
|
|
80
80
|
if (value === null || value === undefined || value === false) continue;
|
|
81
81
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
82
82
|
}
|
|
83
|
-
element.setAttribute("
|
|
83
|
+
element.setAttribute("component", "ui-button");
|
|
84
84
|
}
|
|
85
85
|
B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
|
|
86
86
|
const m1 = (d) => {
|
package/vanilla/UiCalendar.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiCalendarEventMap {
|
|
3
3
|
input: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
change: CustomEvent<{ readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
package/vanilla/UiCalendar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, stateInitializers, binaryValue, buildTemplate, checkReference, formatCall, NONCONFORMING, readDeclared, readIndex, readMember, recordValue, textCall, toAttribute, toText, trackContainer, truthy, writeAttribute, dispatchDeclared, detailCheck, keywordFormat, acceptProps, manageProps, generatedInputs, awaitInput, inputRead, READY_INPUT, UNRESOLVED_INPUT, RangedKeyedList, RangedPositionalList, checkBoolean, checkConstrained, checkFormat, checkInteger, checkList, checkObject, checkString, boundFailures, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-calendar/ui-calendar.js";
|
|
4
4
|
import "../styles/ui-calendar.css";
|
|
@@ -12,7 +12,7 @@ const T5 = ["",[],["span",["role","gridcell"],["ui-button",["size","sm","stretch
|
|
|
12
12
|
const T6 = ["",[],["ui-grid",["fixed","","columns","3","gap","xs","role","row"],2]];
|
|
13
13
|
const T7 = ["",[],["span",["role","gridcell"],["ui-button",["size","sm","stretch","","variant","ghost","shape","pill"],0]]];
|
|
14
14
|
let P0, P1, P2, P3, P4, P5, P6, P7;
|
|
15
|
-
const
|
|
15
|
+
const emptyDirty = new Map();
|
|
16
16
|
const S = { n: ["current","visibleMonth","focusedDate","yearPageStart","mode","viewHeight","yearError"], t: ["s","s","s","i","s","n","s"], f: import.meta.url, g: "ui-calendar", d: { "input": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "change": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "select": [detailCheck(checkObject([["value", checkString, false], ["trigger", checkConstrained(checkFormat("keyword", keywordFormat), "keyword", {"values":["keyboard","pointer","programmatic"]}), false]], false)), true, true, false], "month-change": [detailCheck(checkObject([["month", 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, null, "", 0, "days", null, ""] };
|
|
17
17
|
const D = { g: "ui-calendar", props: { "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"] }, "emptyLabel": { "required":false,"default":"No available dates this month.", c: checkString, t: "string", j: 0, m: "s" }, "end": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "label": { "required":false,"default":"Calendar", 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([["rangeBands", checkList(checkObject([["start", checkInteger, false], ["end", checkInteger, false]], false)), false], ["month", checkString, false], ["title", checkString, false], ["monthLabel", checkString, false], ["yearLabel", checkString, false], ["weekStartsOn", checkInteger, false], ["weekendColumns", checkList(checkInteger), false], ["weekdays", checkList(checkObject([["day", checkInteger, false], ["label", checkString, false], ["fullLabel", checkString, false]], false)), false], ["rows", checkList(checkList(checkObject([["value", checkString, false], ["day", checkInteger, false], ["outside", checkBoolean, false], ["label", checkString, false], ["disabled", checkBoolean, false], ["selected", checkBoolean, false], ["today", checkBoolean, false], ["rangeStart", checkBoolean, false], ["rangeEnd", checkBoolean, false], ["inRange", checkBoolean, false], ["tabIndex", checkInteger, false]], false))), false], ["focusDate", checkString, false], ["empty", checkBoolean, false], ["previousMonth", checkString, false], ["nextMonth", checkString, false], ["months", checkList(checkObject([["value", checkString, false], ["label", checkString, false], ["fullLabel", checkString, false], ["current", checkBoolean, false], ["outsideBounds", checkBoolean, false], ["disabled", checkBoolean, false], ["tabIndex", checkInteger, false]], false)), false], ["years", checkList(checkObject([["value", checkInteger, false], ["label", checkString, false], ["current", checkBoolean, false], ["outsideBounds", checkBoolean, false], ["disabled", checkBoolean, false], ["tabIndex", checkInteger, false]], false)), false], ["yearPageStart", checkInteger, false], ["yearPageLabel", checkString, false], ["monthRows", checkList(checkList(checkObject([["value", checkString, false], ["label", checkString, false], ["fullLabel", checkString, false], ["current", checkBoolean, false], ["outsideBounds", checkBoolean, false], ["disabled", checkBoolean, false], ["tabIndex", checkInteger, false]], false))), false], ["yearRows", checkList(checkList(checkObject([["value", checkInteger, false], ["label", checkString, false], ["current", checkBoolean, false], ["outsideBounds", checkBoolean, false], ["disabled", checkBoolean, false], ["tabIndex", checkInteger, false]], false))), false]], false), j: 1, m: ["o",["rangeBands",["l",["o",["start","i","end","i"]]],"month","s","title","s","monthLabel","s","yearLabel","s","weekStartsOn","i","weekendColumns",["l","i"],"weekdays",["l",["o",["day","i","label","s","fullLabel","s"]]],"rows",["l",["l",["o",["value","s","day","i","outside","b","label","s","disabled","b","selected","b","today","b","rangeStart","b","rangeEnd","b","inRange","b","tabIndex","i"]]]],"focusDate","s","empty","b","previousMonth","s","nextMonth","s","months",["l",["o",["value","s","label","s","fullLabel","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]],"years",["l",["o",["value","i","label","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]],"yearPageStart","i","yearPageLabel","s","monthRows",["l",["l",["o",["value","s","label","s","fullLabel","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]]],"yearRows",["l",["l",["o",["value","i","label","s","current","b","outsideBounds","b","disabled","b","tabIndex","i"]]]]]] }, "month": { "required":false,"default":"", c: checkString, t: "string", j: 0, m: "s" }, "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" }, "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" }, "start": { "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":"", c: checkString, t: "string", j: 0, m: "s" }, "weekStartsOn": { "required":false,"min":1,"max":7, c: checkInteger, t: "integer", j: 0, m: "i", k: boundFailures }, "yearErrorLabel": { "required":false,"default":"Enter a year from 1 to 9999.", c: checkString, t: "string", j: 0, m: "s" }, "yearLabel": { "required":false,"default":"Choose year", c: checkString, t: "string", j: 0, m: "s" } } };
|
|
18
18
|
const C = (host) => activateModule(controller, host);
|
|
@@ -25,7 +25,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
25
25
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
26
26
|
}
|
|
27
27
|
if (!element.hasAttribute("role")) element.setAttribute("role", "group");
|
|
28
|
-
element.setAttribute("
|
|
28
|
+
element.setAttribute("component", "ui-calendar");
|
|
29
29
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
30
30
|
const v = [null, null, "", 0, "days", 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];
|
|
31
31
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
|
@@ -41,7 +41,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
41
41
|
n.prepend(s);
|
|
42
42
|
n.append(t);
|
|
43
43
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, w: 0, v0: null, v1: "" };
|
|
44
|
-
p1(r, -1,
|
|
44
|
+
p1(r, -1, emptyDirty);
|
|
45
45
|
return r;
|
|
46
46
|
};
|
|
47
47
|
const p1 = (r, c, d) => {
|
|
@@ -64,7 +64,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
64
64
|
n.prepend(s);
|
|
65
65
|
n.append(t);
|
|
66
66
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, j, l, a0: t0, w: 0, v0: null, v1: null, v2: null, L0: new RangedKeyedList(t1, t1.nextSibling, m3, p3, (o) => readMember(o, "value"), "day") };
|
|
67
|
-
p2(r, -1,
|
|
67
|
+
p2(r, -1, emptyDirty);
|
|
68
68
|
return r;
|
|
69
69
|
};
|
|
70
70
|
const p2 = (r, c, d) => {
|
|
@@ -102,7 +102,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
102
102
|
n.prepend(s);
|
|
103
103
|
n.append(t);
|
|
104
104
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, a2: t2, a3: t3, w: 0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: null, v8: null, v9: null, v10: "" };
|
|
105
|
-
p3(r, -1,
|
|
105
|
+
p3(r, -1, emptyDirty);
|
|
106
106
|
return r;
|
|
107
107
|
};
|
|
108
108
|
const p3 = (r, c, d) => {
|
|
@@ -169,7 +169,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
169
169
|
n.prepend(s);
|
|
170
170
|
n.append(t);
|
|
171
171
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, L0: new RangedKeyedList(t0, t0.nextSibling, m5, p5, (o) => readMember(o, "value"), "choice") };
|
|
172
|
-
p4(r, -1,
|
|
172
|
+
p4(r, -1, emptyDirty);
|
|
173
173
|
return r;
|
|
174
174
|
};
|
|
175
175
|
const p4 = (r, c, d) => {
|
|
@@ -186,7 +186,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
186
186
|
n.prepend(s);
|
|
187
187
|
n.append(t);
|
|
188
188
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, a2: t2, w: 0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: null, v6: null, v7: "" };
|
|
189
|
-
p5(r, -1,
|
|
189
|
+
p5(r, -1, emptyDirty);
|
|
190
190
|
return r;
|
|
191
191
|
};
|
|
192
192
|
const p5 = (r, c, d) => {
|
|
@@ -228,7 +228,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
228
228
|
n.prepend(s);
|
|
229
229
|
n.append(t);
|
|
230
230
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, L0: new RangedKeyedList(t0, t0.nextSibling, m7, p7, (o) => readMember(o, "value"), "year") };
|
|
231
|
-
p6(r, -1,
|
|
231
|
+
p6(r, -1, emptyDirty);
|
|
232
232
|
return r;
|
|
233
233
|
};
|
|
234
234
|
const p6 = (r, c, d) => {
|
|
@@ -245,7 +245,7 @@ export function createUiCalendar(options = {}, html) {
|
|
|
245
245
|
n.prepend(s);
|
|
246
246
|
n.append(t);
|
|
247
247
|
const r = { k: undefined, i: o, n: s, t, x: 0, y: 0, a0: t0, a1: t1, a2: t2, w: 0, v0: null, v1: null, v2: null, v3: null, v4: null, v5: "" };
|
|
248
|
-
p7(r, -1,
|
|
248
|
+
p7(r, -1, emptyDirty);
|
|
249
249
|
return r;
|
|
250
250
|
};
|
|
251
251
|
const p7 = (r, c, d) => {
|
package/vanilla/UiCallout.d.ts
CHANGED
package/vanilla/UiCallout.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, clearRegion, toText, truthy, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkString, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-callout.css";
|
|
4
4
|
|
|
@@ -24,7 +24,7 @@ export function createUiCallout(options = {}, html) {
|
|
|
24
24
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
25
25
|
}
|
|
26
26
|
if (!element.hasAttribute("role")) element.setAttribute("role", "note");
|
|
27
|
-
element.setAttribute("
|
|
27
|
+
element.setAttribute("component", "ui-callout");
|
|
28
28
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
29
29
|
const v = [null, null];
|
|
30
30
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
package/vanilla/UiCard.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiCardEventMap {
|
|
3
3
|
}
|
|
4
4
|
export interface UiCardElement extends HTMLElement {
|
|
@@ -11,6 +11,7 @@ export interface UiCardElement extends HTMLElement {
|
|
|
11
11
|
}
|
|
12
12
|
export interface UiCardProps {
|
|
13
13
|
as?: "div" | "section" | "article" | "aside" | null;
|
|
14
|
+
fill?: boolean | null;
|
|
14
15
|
padding?: "xs" | "sm" | "md" | "lg" | null;
|
|
15
16
|
size?: "content" | "sm" | "md" | "lg" | null;
|
|
16
17
|
tone?: "neutral" | "accent" | "accent-secondary" | "accent-tertiary" | "info" | "success" | "warning" | "danger" | null;
|
package/vanilla/UiCard.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
2
|
-
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
|
+
import { attachGeneratedController, buildTemplate, writeAttribute, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, armElement, replaceRoot, checkBoolean, checkFormat, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-card.css";
|
|
4
4
|
|
|
5
5
|
const T0 = ["",[],"\n ",["div",["class","header"],4],"\n ",["div",["class","content"],4],"\n ",["div",["class","actions"],4],"\n "];
|
|
@@ -20,13 +20,13 @@ const T14 = ["",[]];
|
|
|
20
20
|
const T15 = ["",[]];
|
|
21
21
|
let P0, P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11, P12, P13, P14, P15;
|
|
22
22
|
const S = { n: [], t: [], f: import.meta.url, g: "ui-card", b: generatedInputs };
|
|
23
|
-
const A = [["section",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["article",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["aside",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["div",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]]];
|
|
23
|
+
const A = [["section",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-fill","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["article",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-fill","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["aside",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-fill","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]],["div",{},[],"",[],["data-ui-card-state","data-ui-card-prop-as","data-ui-card-prop-fill","data-ui-card-prop-padding","data-ui-card-prop-size","data-ui-card-prop-tone","data-ui-card-prop-treatment","data-ui-card-prop-variant"]]];
|
|
24
24
|
const Q = [[],[],[],[]];
|
|
25
|
-
const D = { g: "ui-card", props: { "as": { "required":false,"values":["div","section","article","aside"],"default":"div", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "padding": { "required":false,"values":["xs","sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "size": { "required":false,"values":["content","sm","md","lg"],"default":"content", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "tone": { "required":false,"values":["neutral","accent","accent-secondary","accent-tertiary","info","success","warning","danger"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "treatment": { "required":false,"values":["standard","expressive"],"default":"standard", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "variant": { "required":false,"values":["outlined","subtle","elevated"],"default":"outlined", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
25
|
+
const D = { g: "ui-card", props: { "as": { "required":false,"values":["div","section","article","aside"],"default":"div", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "fill": { "required":false,"default":false, c: checkBoolean, t: "boolean", j: 0, m: "b" }, "padding": { "required":false,"values":["xs","sm","md","lg"],"default":"md", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "size": { "required":false,"values":["content","sm","md","lg"],"default":"content", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "tone": { "required":false,"values":["neutral","accent","accent-secondary","accent-tertiary","info","success","warning","danger"],"default":"neutral", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "treatment": { "required":false,"values":["standard","expressive"],"default":"standard", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] }, "variant": { "required":false,"values":["outlined","subtle","elevated"],"default":"outlined", c: checkFormat("keyword", keywordFormat), t: "keyword", j: 0, m: ["p",formatOf(keywordFormat)] } } };
|
|
26
26
|
|
|
27
27
|
export function createUiCard(options = {}, html) {
|
|
28
28
|
const { attributes = {}, children = [], slots = {}, ...componentProps } = options;
|
|
29
|
-
const v = [null, null, null, null, null, null];
|
|
29
|
+
const v = [null, null, null, null, null, null, null];
|
|
30
30
|
let B = acceptProps(undefined, D, S.n, v, componentProps, [], html);
|
|
31
31
|
let a = ((v[0] === "section") ? 0 : (v[0] === "article") ? 1 : (v[0] === "aside") ? 2 : 3);
|
|
32
32
|
let element;
|
|
@@ -36,28 +36,28 @@ export function createUiCard(options = {}, html) {
|
|
|
36
36
|
if (value === null || value === undefined || value === false) continue;
|
|
37
37
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
38
38
|
}
|
|
39
|
-
element.setAttribute("
|
|
39
|
+
element.setAttribute("component", "ui-card");
|
|
40
40
|
} else if (a === 1) {
|
|
41
41
|
element = document.createElement("article");
|
|
42
42
|
for (const [name, value] of Object.entries(attributes)) {
|
|
43
43
|
if (value === null || value === undefined || value === false) continue;
|
|
44
44
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
45
45
|
}
|
|
46
|
-
element.setAttribute("
|
|
46
|
+
element.setAttribute("component", "ui-card");
|
|
47
47
|
} else if (a === 2) {
|
|
48
48
|
element = document.createElement("aside");
|
|
49
49
|
for (const [name, value] of Object.entries(attributes)) {
|
|
50
50
|
if (value === null || value === undefined || value === false) continue;
|
|
51
51
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
52
52
|
}
|
|
53
|
-
element.setAttribute("
|
|
53
|
+
element.setAttribute("component", "ui-card");
|
|
54
54
|
} else {
|
|
55
55
|
element = document.createElement("div");
|
|
56
56
|
for (const [name, value] of Object.entries(attributes)) {
|
|
57
57
|
if (value === null || value === undefined || value === false) continue;
|
|
58
58
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
59
59
|
}
|
|
60
|
-
element.setAttribute("
|
|
60
|
+
element.setAttribute("component", "ui-card");
|
|
61
61
|
}
|
|
62
62
|
B = acceptProps(element, D, S.n, v, componentProps, Q[a], html);
|
|
63
63
|
const m1 = (d) => {
|
|
@@ -168,8 +168,8 @@ export function createUiCard(options = {}, html) {
|
|
|
168
168
|
return r;
|
|
169
169
|
};
|
|
170
170
|
const p0 = (r, c, d) => {
|
|
171
|
-
if (c &
|
|
172
|
-
const x0 = hostState(["padding","variant","treatment","tone","size"], [v[1], v[
|
|
171
|
+
if (c & 126) {
|
|
172
|
+
const x0 = hostState(["fill","padding","variant","treatment","tone","size"], [v[1], v[2], v[6], v[5], v[4], v[3]]);
|
|
173
173
|
const s0 = x0;
|
|
174
174
|
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-card-state", (r.v0 = s0) === "" ? null : s0);
|
|
175
175
|
}
|
|
@@ -195,8 +195,8 @@ export function createUiCard(options = {}, html) {
|
|
|
195
195
|
return r;
|
|
196
196
|
};
|
|
197
197
|
const p4 = (r, c, d) => {
|
|
198
|
-
if (c &
|
|
199
|
-
const x0 = hostState(["padding","variant","treatment","tone","size"], [v[1], v[
|
|
198
|
+
if (c & 126) {
|
|
199
|
+
const x0 = hostState(["fill","padding","variant","treatment","tone","size"], [v[1], v[2], v[6], v[5], v[4], v[3]]);
|
|
200
200
|
const s0 = x0;
|
|
201
201
|
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-card-state", (r.v0 = s0) === "" ? null : s0);
|
|
202
202
|
}
|
|
@@ -222,8 +222,8 @@ export function createUiCard(options = {}, html) {
|
|
|
222
222
|
return r;
|
|
223
223
|
};
|
|
224
224
|
const p8 = (r, c, d) => {
|
|
225
|
-
if (c &
|
|
226
|
-
const x0 = hostState(["padding","variant","treatment","tone","size"], [v[1], v[
|
|
225
|
+
if (c & 126) {
|
|
226
|
+
const x0 = hostState(["fill","padding","variant","treatment","tone","size"], [v[1], v[2], v[6], v[5], v[4], v[3]]);
|
|
227
227
|
const s0 = x0;
|
|
228
228
|
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-card-state", (r.v0 = s0) === "" ? null : s0);
|
|
229
229
|
}
|
|
@@ -249,8 +249,8 @@ export function createUiCard(options = {}, html) {
|
|
|
249
249
|
return r;
|
|
250
250
|
};
|
|
251
251
|
const p12 = (r, c, d) => {
|
|
252
|
-
if (c &
|
|
253
|
-
const x0 = hostState(["padding","variant","treatment","tone","size"], [v[1], v[
|
|
252
|
+
if (c & 126) {
|
|
253
|
+
const x0 = hostState(["fill","padding","variant","treatment","tone","size"], [v[1], v[2], v[6], v[5], v[4], v[3]]);
|
|
254
254
|
const s0 = x0;
|
|
255
255
|
if (s0 !== r.v0) writeAttribute(r.n, "data-ui-card-state", (r.v0 = s0) === "" ? null : s0);
|
|
256
256
|
}
|
|
@@ -291,4 +291,4 @@ export function createUiCard(options = {}, html) {
|
|
|
291
291
|
manageProps(I);
|
|
292
292
|
return element;
|
|
293
293
|
}
|
|
294
|
-
defineComponent("ui-card", createUiCard, ["as","padding","size","tone","treatment","variant"]);
|
|
294
|
+
defineComponent("ui-card", createUiCard, ["as","fill","padding","size","tone","treatment","variant"]);
|
package/vanilla/UiCardGroup.d.ts
CHANGED
package/vanilla/UiCardGroup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispose, formatOf, keywordFormat, acceptProps, manageProps, generatedInputs, project, fillSlot, checkFormat, checkInteger, defineComponent } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import "../styles/ui-card-group.css";
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ export function createUiCardGroup(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("
|
|
18
|
+
element.setAttribute("component", "ui-card-group");
|
|
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);
|
package/vanilla/UiCheckbox.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
export interface UiCheckboxEventMap {
|
|
3
3
|
change: CustomEvent<{ readonly checked: boolean; readonly value: string; readonly trigger: "keyboard" | "pointer" | "programmatic" }>;
|
|
4
4
|
}
|
package/vanilla/UiCheckbox.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, readsChanged, rec, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkConstrained, checkFormat, checkObject, checkString, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-checkbox/ui-checkbox.js";
|
|
4
4
|
import "../styles/ui-checkbox.css";
|
|
@@ -18,7 +18,7 @@ export function createUiCheckbox(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("
|
|
21
|
+
element.setAttribute("component", "ui-checkbox");
|
|
22
22
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
23
23
|
const v = [false, null, null, null, null, null, null, null, null, null];
|
|
24
24
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|
package/vanilla/UiCluster.d.ts
CHANGED
package/vanilla/UiCluster.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
// Generated by HTML Next 1.0.0-alpha.82 for Vanilla DOM. Do not edit.
|
|
2
2
|
import { attachGeneratedController, buildTemplate, toAttribute, writeAttribute, dispatchDeclared, detailCheck, dispose, formatOf, keywordFormat, hostState, acceptProps, manageProps, generatedInputs, project, fillSlot, checkBoolean, checkFormat, checkInteger, checkObject, defineComponent, activateModule } from "@nextwebwg/html-next/generated-runtime";
|
|
3
3
|
import * as controller from "../components/ui-cluster/ui-cluster.js";
|
|
4
4
|
import "../styles/ui-cluster.css";
|
|
@@ -19,7 +19,7 @@ export function createUiCluster(options = {}, html) {
|
|
|
19
19
|
if (value === null || value === undefined || value === false) continue;
|
|
20
20
|
element.setAttribute(name, value === true ? "" : String(value));
|
|
21
21
|
}
|
|
22
|
-
element.setAttribute("
|
|
22
|
+
element.setAttribute("component", "ui-cluster");
|
|
23
23
|
element.append((P0 ??= buildTemplate(T0)).cloneNode(true));
|
|
24
24
|
const v = [0, null, null, null, null, null, null, null, null];
|
|
25
25
|
const B = acceptProps(element, D, S.n, v, componentProps, [], html);
|