@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.
- 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-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/components/ui-wizard/ui-wizard.html +137 -0
- package/components/ui-wizard/ui-wizard.js +19 -0
- package/dist/index.js +15 -8
- package/docs/catalog.json +876 -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 +36 -36
- 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/styles/ui-wizard.css +162 -0
- 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 +1 -1
- package/vanilla/UiCard.js +5 -5
- 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/vanilla/UiWizard.d.ts +27 -0
- package/vanilla/UiWizard.js +165 -0
- package/vanilla/index.js +1 -0
- 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-menu.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-menu"] { --html-next-scope-owner: "ui-menu" !important; }
|
|
7
|
+
:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])) { --html-next-scope-owner: "ui-menu" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-menu"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
11
11
|
still win. */
|
|
12
|
-
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="density=compact"] {
|
|
12
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[data-ui-menu-state~="density=compact"] {
|
|
13
13
|
--_ui-default-menu-item-padding-block: var(--ui-space-1);
|
|
14
14
|
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
15
15
|
--_ui-default-menu-item-font-size: var(--ui-font-size-sm);
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/* Small follows its trigger down: an item's own hooks still win. */
|
|
22
|
-
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="size=sm"] {
|
|
22
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[data-ui-menu-state~="size=sm"] {
|
|
23
23
|
--_ui-default-menu-item-padding-block: var(--ui-space-0-5);
|
|
24
24
|
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
25
25
|
--_ui-default-menu-item-font-size: var(--ui-font-size-xs);
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
gap: 0 !important;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="icons"] {
|
|
34
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[data-ui-menu-state~="icons"] {
|
|
35
35
|
--_ui-default-menu-icon-display: inline-flex;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
:scope:where([data-component~="ui-menu"]) {
|
|
38
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))) {
|
|
39
39
|
--_ui-material-scale: 0.28;
|
|
40
40
|
--_ui-menu-surface: var(--ui-menu-surface);
|
|
41
41
|
--_ui-menu-border: var(--ui-menu-border);
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
|
|
81
81
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
82
82
|
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
83
|
-
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
83
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([inline]) .surface {
|
|
84
84
|
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
85
85
|
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
86
86
|
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
}
|
|
117
117
|
|
|
118
118
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
119
|
-
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
119
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([inline]) .surface {
|
|
120
120
|
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
@media (prefers-reduced-transparency: reduce) {
|
|
125
|
-
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
125
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([inline]) .surface {
|
|
126
126
|
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
127
127
|
-webkit-backdrop-filter: none;
|
|
128
128
|
backdrop-filter: none;
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
}
|
|
131
131
|
|
|
132
132
|
@media (forced-colors: active) {
|
|
133
|
-
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
133
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([inline]) .surface {
|
|
134
134
|
background: Canvas;
|
|
135
135
|
border-color: CanvasText;
|
|
136
136
|
box-shadow: none;
|
|
@@ -147,11 +147,11 @@
|
|
|
147
147
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
:scope:where([data-component~="ui-menu"]):not([data-ui-menu-state~="internalOpen"]):not(:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="inline"]) {
|
|
150
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))):not([data-ui-menu-state~="internalOpen"]):not(:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[data-ui-menu-state~="inline"]) {
|
|
151
151
|
display: none !important;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
:scope:where([data-component~="ui-menu"])[popover] {
|
|
154
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[popover] {
|
|
155
155
|
position: fixed;
|
|
156
156
|
inset: auto;
|
|
157
157
|
margin: 0 !important;
|
|
@@ -166,29 +166,29 @@
|
|
|
166
166
|
overlay var(--ui-motion-fast) allow-discrete;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
:scope:where([data-component~="ui-menu"])[popover]:popover-open {
|
|
169
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[popover]:popover-open {
|
|
170
170
|
opacity: 1;
|
|
171
171
|
transform: translateY(0) scale(1);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
@starting-style {
|
|
175
|
-
:scope:where([data-component~="ui-menu"])[popover]:popover-open {
|
|
175
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[popover]:popover-open {
|
|
176
176
|
opacity: 0;
|
|
177
177
|
transform: translateY(-4px) scale(0.99);
|
|
178
178
|
}
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
:scope:where([data-component~="ui-menu"])[hidden] {
|
|
181
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[hidden] {
|
|
182
182
|
display: none !important;
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
@media (prefers-reduced-motion: reduce) {
|
|
186
|
-
:scope:where([data-component~="ui-menu"])[popover] {
|
|
186
|
+
:scope:where(:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component])))[popover] {
|
|
187
187
|
transition: none;
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
@scope ([data-component~="ui-menu"]) to ([data-component]) {
|
|
191
|
+
@scope (:is([component~="ui-menu"]:not(template), [data-component~="ui-menu"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
192
192
|
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
193
193
|
still win. */
|
|
194
194
|
|
package/styles/ui-meter.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-meter"] { --html-next-scope-owner: "ui-meter" !important; }
|
|
7
|
+
:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])) { --html-next-scope-owner: "ui-meter" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-meter"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* How far along something is: a track, filled from the start in the tone's colour. The track is a
|
|
11
11
|
quiet border colour, so an empty meter still shows; every tone's fill keeps 3:1 against the
|
|
12
12
|
track and the page. */
|
|
13
13
|
|
|
14
|
-
:scope:where([data-component~="ui-meter"]) {
|
|
14
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component]))) {
|
|
15
15
|
--_meter-fill: var(--ui-text-muted);
|
|
16
16
|
|
|
17
17
|
display: inline-block !important;
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
outline: var(--ui-border-width) solid transparent;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="size=sm"] {
|
|
31
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="size=sm"] {
|
|
32
32
|
inline-size: var(--ui-meter-inline-size, 5rem);
|
|
33
33
|
block-size: var(--ui-space-1);
|
|
34
34
|
}
|
|
@@ -48,31 +48,31 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=accent-secondary"] {
|
|
51
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="tone=accent-secondary"] {
|
|
52
52
|
--_meter-fill: var(--ui-accent-secondary-subtle-text);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=accent-tertiary"] {
|
|
55
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="tone=accent-tertiary"] {
|
|
56
56
|
--_meter-fill: var(--ui-accent-tertiary-subtle-text);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=accent"] {
|
|
59
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="tone=accent"] {
|
|
60
60
|
--_meter-fill: var(--ui-accent-subtle-text);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=info"] {
|
|
63
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="tone=info"] {
|
|
64
64
|
--_meter-fill: var(--ui-info-subtle-text);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=success"] {
|
|
67
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="tone=success"] {
|
|
68
68
|
--_meter-fill: var(--ui-success-subtle-text);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=warning"] {
|
|
71
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="tone=warning"] {
|
|
72
72
|
--_meter-fill: var(--ui-warning-subtle-text);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="tone=danger"] {
|
|
75
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="tone=danger"] {
|
|
76
76
|
--_meter-fill: var(--ui-danger-subtle-text);
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -84,51 +84,51 @@
|
|
|
84
84
|
The count arrives as an attribute, not an inline custom property (which would add a style
|
|
85
85
|
attribute to every meter), so a continuous meter renders exactly as before, and the rules below
|
|
86
86
|
turn it into a number. That caps it at 12, until attr() with a type reads any count in every engine. */
|
|
87
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="2"] {
|
|
87
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="2"] {
|
|
88
88
|
--_segments: 2;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="3"] {
|
|
91
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="3"] {
|
|
92
92
|
--_segments: 3;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="4"] {
|
|
95
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="4"] {
|
|
96
96
|
--_segments: 4;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="5"] {
|
|
99
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="5"] {
|
|
100
100
|
--_segments: 5;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="6"] {
|
|
103
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="6"] {
|
|
104
104
|
--_segments: 6;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="7"] {
|
|
107
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="7"] {
|
|
108
108
|
--_segments: 7;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="8"] {
|
|
111
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="8"] {
|
|
112
112
|
--_segments: 8;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="9"] {
|
|
115
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="9"] {
|
|
116
116
|
--_segments: 9;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="10"] {
|
|
119
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="10"] {
|
|
120
120
|
--_segments: 10;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="11"] {
|
|
123
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="11"] {
|
|
124
124
|
--_segments: 11;
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments="12"] {
|
|
127
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments="12"] {
|
|
128
128
|
--_segments: 12;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments] {
|
|
131
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments] {
|
|
132
132
|
--_meter-gap: var(--ui-space-1);
|
|
133
133
|
--_meter-period: calc((100% + var(--_meter-gap)) / var(--_segments));
|
|
134
134
|
--_meter-segment: calc(var(--_meter-period) - var(--_meter-gap));
|
|
@@ -136,20 +136,20 @@
|
|
|
136
136
|
mask-image: repeating-linear-gradient(to right, #000 0 var(--_meter-segment), transparent 0 var(--_meter-period));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="size=sm"][data-ui-meter-segments] {
|
|
139
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="size=sm"][data-ui-meter-segments] {
|
|
140
140
|
--_meter-gap: var(--ui-space-0-5);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
/* A categorical distribution uses flex ratios, avoiding rounded percentages and retaining
|
|
144
144
|
identical geometry before hydration. It has no progress mask or growing-value animation. */
|
|
145
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="variant=distribution"] {
|
|
145
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="variant=distribution"] {
|
|
146
146
|
display: flex !important;
|
|
147
147
|
inline-size: 100%;
|
|
148
148
|
block-size: var(--ui-space-4);
|
|
149
149
|
gap: var(--ui-space-0-5) !important;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-state~="variant=distribution"][size="sm"] {
|
|
152
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-state~="variant=distribution"][size="sm"] {
|
|
153
153
|
block-size: var(--ui-space-2);
|
|
154
154
|
}
|
|
155
155
|
|
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
|
|
178
178
|
/* The mask clips the track's outline, so each segment draws its own: the inset shadow draws the
|
|
179
179
|
top and bottom edges and the gradient the ends. */
|
|
180
|
-
:scope:where([data-component~="ui-meter"])[data-ui-meter-segments] {
|
|
180
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[data-ui-meter-segments] {
|
|
181
181
|
forced-color-adjust: none;
|
|
182
182
|
background: repeating-linear-gradient(
|
|
183
183
|
to right,
|
|
@@ -191,11 +191,11 @@
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
194
|
-
:scope:where([data-component~="ui-meter"])[hidden] {
|
|
194
|
+
:scope:where(:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component])))[hidden] {
|
|
195
195
|
display: none !important;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
@scope ([data-component~="ui-meter"]) to ([data-component]) {
|
|
198
|
+
@scope (:is([component~="ui-meter"]:not(template), [data-component~="ui-meter"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
199
199
|
/* How far along something is: a track, filled from the start in the tone's colour. The track is a
|
|
200
200
|
quiet border colour, so an empty meter still shows; every tone's fill keeps 3:1 against the
|
|
201
201
|
track and the page. */
|
package/styles/ui-nav-item.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-nav-item"] { --html-next-scope-owner: "ui-nav-item" !important; }
|
|
7
|
+
:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])) { --html-next-scope-owner: "ui-nav-item" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-nav-item"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
11
11
|
default slot), and an optional line under it (description), such as the record a section
|
|
12
12
|
belongs to. Label and description are one line each and end in an ellipsis, so every item in a
|
|
13
13
|
navigation has the same height and the rail never grows sideways. */
|
|
14
|
-
:scope:where([data-component~="ui-nav-item"]) {
|
|
14
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component]))) {
|
|
15
15
|
--_indicator-width: var(--ui-nav-item-indicator-width, var(--ui-accent-line-width));
|
|
16
16
|
--_indicator-color: var(--ui-nav-item-indicator-color, var(--ui-accent));
|
|
17
17
|
position: relative;
|
|
@@ -38,29 +38,29 @@
|
|
|
38
38
|
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease), color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
:scope:where([data-component~="ui-nav-item"]):hover:not([aria-current]) {
|
|
41
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component]))):hover:not([aria-current]) {
|
|
42
42
|
background: var(--_ui-selection-context-surface, var(--ui-nav-hover-surface));
|
|
43
43
|
color: var(--ui-text-primary);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/* The ring is an outline, drawn inside the item: forced colors keep an outline where they drop a
|
|
47
47
|
box shadow, and a scrolling rail cannot clip a ring that stays within the item. */
|
|
48
|
-
:scope:where([data-component~="ui-nav-item"]):focus-visible {
|
|
48
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component]))):focus-visible {
|
|
49
49
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
50
50
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
:scope:where([data-component~="ui-nav-item"])[aria-current] {
|
|
53
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[aria-current] {
|
|
54
54
|
background: var(--ui-nav-item-current-surface, var(--_ui-selection-context-surface, var(--ui-selection-surface)));
|
|
55
55
|
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/* A complete inset edge separates pale fills without changing rail geometry. */
|
|
59
|
-
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="variant=surface"]:is(:hover, [aria-current]) {
|
|
59
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[data-ui-nav-item-state~="variant=surface"]:is(:hover, [aria-current]) {
|
|
60
60
|
box-shadow: inset 0 0 0 var(--ui-border-width) var(--_ui-selection-context-border, var(--ui-selection-border));
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="variant=line"] {
|
|
63
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[data-ui-nav-item-state~="variant=line"] {
|
|
64
64
|
border-radius: 0;
|
|
65
65
|
}
|
|
66
66
|
|
|
@@ -77,14 +77,14 @@
|
|
|
77
77
|
border-inline-start: var(--_indicator-width) solid var(--_indicator-color);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="variant=line"][aria-current] .indicator {
|
|
80
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[data-ui-nav-item-state~="variant=line"][aria-current] .indicator {
|
|
81
81
|
display: block !important;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
@media (forced-colors: active) {
|
|
85
85
|
/* System colors may erase the selected fill. Trace the complete surface, without
|
|
86
86
|
creating an edge stripe; the stronger keyboard focus outline keeps precedence. */
|
|
87
|
-
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="variant=surface"][aria-current]:not(:focus-visible) {
|
|
87
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[data-ui-nav-item-state~="variant=surface"][aria-current]:not(:focus-visible) {
|
|
88
88
|
outline: var(--ui-border-width) solid Highlight;
|
|
89
89
|
outline-offset: calc(-1 * var(--ui-border-width));
|
|
90
90
|
}
|
|
@@ -133,17 +133,17 @@
|
|
|
133
133
|
line-height: var(--ui-line-height-tight);
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="density=compact"] {
|
|
136
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[data-ui-nav-item-state~="density=compact"] {
|
|
137
137
|
min-block-size: var(--ui-nav-compact-min-block-size);
|
|
138
138
|
padding-block: var(--ui-nav-compact-padding-block) !important;
|
|
139
139
|
padding-inline: var(--ui-nav-compact-padding-inline) !important;
|
|
140
140
|
}
|
|
141
|
-
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="density=compact"] .label {
|
|
141
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[data-ui-nav-item-state~="density=compact"] .label {
|
|
142
142
|
font-size: var(--ui-font-size-sm);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
@media (pointer: coarse) {
|
|
146
|
-
:scope:where([data-component~="ui-nav-item"])[data-ui-nav-item-state~="density=compact"] {
|
|
146
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[data-ui-nav-item-state~="density=compact"] {
|
|
147
147
|
min-block-size: var(--ui-control-min-block-size);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -156,11 +156,11 @@
|
|
|
156
156
|
}
|
|
157
157
|
|
|
158
158
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
159
|
-
:scope:where([data-component~="ui-nav-item"])[hidden] {
|
|
159
|
+
:scope:where(:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component])))[hidden] {
|
|
160
160
|
display: none !important;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
|
-
@scope ([data-component~="ui-nav-item"]) to ([data-component]) {
|
|
163
|
+
@scope (:is([component~="ui-nav-item"]:not(template), [data-component~="ui-nav-item"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
164
164
|
/* One destination in a side or rail navigation: an icon to find it by (leading), its name (the
|
|
165
165
|
default slot), and an optional line under it (description), such as the record a section
|
|
166
166
|
belongs to. Label and description are one line each and end in an ellipsis, so every item in a
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-number-input"] { --html-next-scope-owner: "ui-number-input" !important; }
|
|
7
|
+
:is([component~="ui-number-input"]:not(template), [data-component~="ui-number-input"]:not([component])) { --html-next-scope-owner: "ui-number-input" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-number-input"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-number-input"]) {
|
|
9
|
+
@scope (:is([component~="ui-number-input"]:not(template), [data-component~="ui-number-input"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-number-input"]:not(template), [data-component~="ui-number-input"]:not([component]))) {
|
|
11
11
|
display: flex !important;
|
|
12
12
|
align-items: center !important;
|
|
13
13
|
gap: var(--ui-space-1) !important;
|
|
@@ -15,15 +15,15 @@
|
|
|
15
15
|
padding: 0 !important;
|
|
16
16
|
min-inline-size: 0;
|
|
17
17
|
}
|
|
18
|
-
:scope:where([data-component~="ui-number-input"])[data-ui-number-input-state~="compact"] {
|
|
18
|
+
:scope:where(:is([component~="ui-number-input"]:not(template), [data-component~="ui-number-input"]:not([component])))[data-ui-number-input-state~="compact"] {
|
|
19
19
|
inline-size: 5rem;
|
|
20
20
|
}
|
|
21
|
-
:scope:where([data-component~="ui-number-input"])[hidden] {
|
|
21
|
+
:scope:where(:is([component~="ui-number-input"]:not(template), [data-component~="ui-number-input"]:not([component])))[hidden] {
|
|
22
22
|
display: none !important;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
@scope ([data-slotted~="ui-number-input"]:not([data-component])) to ([data-component], [data-slotted]) {
|
|
26
|
-
:where([data-component~="ui-number-input"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-number-input"]))) {
|
|
25
|
+
@scope ([data-slotted~="ui-number-input"]:not(:is([component]:not(template), [data-component]:not([component])))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
26
|
+
:where(:is([component~="ui-number-input"]:not(template), [data-component~="ui-number-input"]:not([component]))):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-number-input"]))) {
|
|
27
27
|
display: flex !important;
|
|
28
28
|
align-items: center !important;
|
|
29
29
|
gap: var(--ui-space-1) !important;
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
padding: 0 !important;
|
|
32
32
|
min-inline-size: 0;
|
|
33
33
|
}
|
|
34
|
-
:where([data-component~="ui-number-input"])[data-ui-number-input-state~="compact"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-number-input"]))) {
|
|
34
|
+
:where(:is([component~="ui-number-input"]:not(template), [data-component~="ui-number-input"]:not([component])))[data-ui-number-input-state~="compact"]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-number-input"]))) {
|
|
35
35
|
inline-size: 5rem;
|
|
36
36
|
}
|
|
37
|
-
:where([data-component~="ui-number-input"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-number-input"]))) {
|
|
37
|
+
:where(:is([component~="ui-number-input"]:not(template), [data-component~="ui-number-input"]:not([component])))[hidden]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-number-input"]))) {
|
|
38
38
|
display: none !important;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-page-header"] { --html-next-scope-owner: "ui-page-header" !important; }
|
|
7
|
+
:is([component~="ui-page-header"]:not(template), [data-component~="ui-page-header"]:not([component])) { --html-next-scope-owner: "ui-page-header" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-page-header"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-page-header"]:not(template), [data-component~="ui-page-header"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* The top of a view: its title (the page's one h1), with an optional icon or mark before it, a
|
|
11
11
|
short eyebrow above it, a line or two of description under it, and the view's own actions at
|
|
12
12
|
the end. Every view titles itself the same way, at the same size. */
|
|
13
|
-
:scope:where([data-component~="ui-page-header"]) {
|
|
13
|
+
:scope:where(:is([component~="ui-page-header"]:not(template), [data-component~="ui-page-header"]:not([component]))) {
|
|
14
14
|
display: flex !important;
|
|
15
15
|
flex-wrap: wrap !important;
|
|
16
16
|
inline-size: 100%;
|
|
@@ -67,12 +67,12 @@
|
|
|
67
67
|
gap: var(--ui-space-2) !important;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
:scope:where([data-component~="ui-page-header"])[data-ui-page-header-state~="align=center"] {
|
|
70
|
+
:scope:where(:is([component~="ui-page-header"]:not(template), [data-component~="ui-page-header"]:not([component])))[data-ui-page-header-state~="align=center"] {
|
|
71
71
|
flex-direction: column !important;
|
|
72
72
|
text-align: center;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
:scope:where([data-component~="ui-page-header"])[data-ui-page-header-state~="align=center"] .copy {
|
|
75
|
+
:scope:where(:is([component~="ui-page-header"]:not(template), [data-component~="ui-page-header"]:not([component])))[data-ui-page-header-state~="align=center"] .copy {
|
|
76
76
|
align-items: center !important;
|
|
77
77
|
flex-basis: auto;
|
|
78
78
|
}
|
|
@@ -85,11 +85,11 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
88
|
-
:scope:where([data-component~="ui-page-header"])[hidden] {
|
|
88
|
+
:scope:where(:is([component~="ui-page-header"]:not(template), [data-component~="ui-page-header"]:not([component])))[hidden] {
|
|
89
89
|
display: none !important;
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
@scope ([data-component~="ui-page-header"]) to ([data-component]) {
|
|
92
|
+
@scope (:is([component~="ui-page-header"]:not(template), [data-component~="ui-page-header"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
93
93
|
/* The top of a view: its title (the page's one h1), with an optional icon or mark before it, a
|
|
94
94
|
short eyebrow above it, a line or two of description under it, and the view's own actions at
|
|
95
95
|
the end. Every view titles itself the same way, at the same size. */
|
package/styles/ui-pagination.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. Do not edit. */
|
package/styles/ui-popover.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.84. 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-popover"] { --html-next-scope-owner: "ui-popover" !important; }
|
|
7
|
+
:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])) { --html-next-scope-owner: "ui-popover" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-popover"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-popover"]) {
|
|
9
|
+
@scope (:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component]))) {
|
|
11
11
|
--_ui-material-scale: 0.55;
|
|
12
12
|
--_ui-popover-surface: var(--ui-popover-surface);
|
|
13
13
|
--_ui-popover-border: var(--ui-popover-border);
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
/* A toolbar or card can supply its own surface, including an unclipped shadow. */
|
|
106
|
-
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="bare"] .surface {
|
|
106
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[data-ui-popover-state~="bare"] .surface {
|
|
107
107
|
overflow: visible;
|
|
108
108
|
padding: 0 !important;
|
|
109
109
|
border: 0;
|
|
@@ -113,11 +113,11 @@
|
|
|
113
113
|
backdrop-filter: none;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
:scope:where([data-component~="ui-popover"]):not([data-ui-popover-state~="internalOpen"]) {
|
|
116
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component]))):not([data-ui-popover-state~="internalOpen"]) {
|
|
117
117
|
display: none !important;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
:scope:where([data-component~="ui-popover"])[popover] {
|
|
120
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[popover] {
|
|
121
121
|
position: fixed;
|
|
122
122
|
inset: auto;
|
|
123
123
|
margin: 0 !important;
|
|
@@ -130,42 +130,42 @@
|
|
|
130
130
|
overlay var(--ui-motion-fast) allow-discrete;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
:scope:where([data-component~="ui-popover"])[popover]:popover-open {
|
|
133
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[popover]:popover-open {
|
|
134
134
|
opacity: 1;
|
|
135
135
|
transform: translateY(0) scale(1);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
@starting-style {
|
|
139
|
-
:scope:where([data-component~="ui-popover"])[popover]:popover-open {
|
|
139
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[popover]:popover-open {
|
|
140
140
|
opacity: 0;
|
|
141
141
|
transform: translateY(-4px) scale(0.99);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=sm"] {
|
|
145
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[data-ui-popover-state~="size=sm"] {
|
|
146
146
|
inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
147
147
|
max-inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
148
148
|
}
|
|
149
|
-
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=md"] {
|
|
149
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[data-ui-popover-state~="size=md"] {
|
|
150
150
|
inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
151
151
|
max-inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
152
152
|
}
|
|
153
|
-
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=lg"] {
|
|
153
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[data-ui-popover-state~="size=lg"] {
|
|
154
154
|
inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
155
155
|
max-inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
:scope:where([data-component~="ui-popover"])[hidden] {
|
|
158
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[hidden] {
|
|
159
159
|
display: none !important;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
@media (prefers-reduced-motion: reduce) {
|
|
163
|
-
:scope:where([data-component~="ui-popover"])[popover] {
|
|
163
|
+
:scope:where(:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component])))[popover] {
|
|
164
164
|
transition: none;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
@scope ([data-component~="ui-popover"]) to ([data-component]) {
|
|
168
|
+
@scope (:is([component~="ui-popover"]:not(template), [data-component~="ui-popover"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
169
169
|
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
170
170
|
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
171
171
|
|