@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-spinner.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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-spinner"] { --html-next-scope-owner: "ui-spinner" !important; }
|
|
7
|
+
:is([component~="ui-spinner"]:not(template), [data-component~="ui-spinner"]:not([component])) { --html-next-scope-owner: "ui-spinner" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-spinner"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-spinner"]:not(template), [data-component~="ui-spinner"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* A rounded SVG arc grows and recedes over a quiet full-circle track. */
|
|
11
|
-
:scope:where([data-component~="ui-spinner"]) {
|
|
11
|
+
:scope:where(:is([component~="ui-spinner"]:not(template), [data-component~="ui-spinner"]:not([component]))) {
|
|
12
12
|
display: inline-flex !important;
|
|
13
13
|
flex: none;
|
|
14
14
|
align-items: center !important;
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
line-height: 1;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
:scope:where([data-component~="ui-spinner"])[data-ui-spinner-state~="size=sm"] {
|
|
24
|
+
:scope:where(:is([component~="ui-spinner"]:not(template), [data-component~="ui-spinner"]:not([component])))[data-ui-spinner-state~="size=sm"] {
|
|
25
25
|
font-size: var(--ui-font-size-md);
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -77,11 +77,11 @@
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
80
|
-
:scope:where([data-component~="ui-spinner"])[hidden] {
|
|
80
|
+
:scope:where(:is([component~="ui-spinner"]:not(template), [data-component~="ui-spinner"]:not([component])))[hidden] {
|
|
81
81
|
display: none !important;
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
|
-
@scope ([data-component~="ui-spinner"]) to ([data-component]) {
|
|
84
|
+
@scope (:is([component~="ui-spinner"]:not(template), [data-component~="ui-spinner"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
85
85
|
/* A rounded SVG arc grows and recedes over a quiet full-circle track. */
|
|
86
86
|
|
|
87
87
|
@media (prefers-reduced-motion: reduce) {
|
package/styles/ui-stack.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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-stack"] { --html-next-scope-owner: "ui-stack" !important; }
|
|
7
|
+
:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])) { --html-next-scope-owner: "ui-stack" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-stack"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
@property --_ui-stack-height {
|
|
11
11
|
syntax: "*";
|
|
12
12
|
inherits: false;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
:scope:where([data-component~="ui-stack"]) {
|
|
15
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component]))) {
|
|
16
16
|
--_layout-gap: var(--ui-space-4);
|
|
17
17
|
display: flex !important;
|
|
18
18
|
flex-direction: column !important;
|
|
@@ -23,57 +23,57 @@
|
|
|
23
23
|
margin: 0 !important;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="fill"] {
|
|
26
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="fill"] {
|
|
27
27
|
flex: 1;
|
|
28
28
|
min-block-size: 0;
|
|
29
29
|
}
|
|
30
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="height"] {
|
|
30
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="height"] {
|
|
31
31
|
block-size: calc(var(--_ui-stack-height, 0) * 1px);
|
|
32
32
|
min-block-size: 0;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=none"] {
|
|
35
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=none"] {
|
|
36
36
|
--_layout-gap: 0px;
|
|
37
37
|
}
|
|
38
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=xs"] {
|
|
38
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=xs"] {
|
|
39
39
|
--_layout-gap: var(--ui-space-2);
|
|
40
40
|
}
|
|
41
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=s"] {
|
|
41
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=s"] {
|
|
42
42
|
--_layout-gap: var(--ui-space-3);
|
|
43
43
|
}
|
|
44
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=m"] {
|
|
44
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=m"] {
|
|
45
45
|
--_layout-gap: var(--ui-space-4);
|
|
46
46
|
}
|
|
47
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=l"] {
|
|
47
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=l"] {
|
|
48
48
|
--_layout-gap: var(--ui-space-5);
|
|
49
49
|
}
|
|
50
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=xl"] {
|
|
50
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="gap=xl"] {
|
|
51
51
|
--_layout-gap: var(--ui-space-6);
|
|
52
52
|
}
|
|
53
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=start"] {
|
|
53
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="align=start"] {
|
|
54
54
|
align-items: flex-start !important;
|
|
55
55
|
}
|
|
56
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=center"] {
|
|
56
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="align=center"] {
|
|
57
57
|
align-items: center !important;
|
|
58
58
|
}
|
|
59
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=end"] {
|
|
59
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="align=end"] {
|
|
60
60
|
align-items: flex-end !important;
|
|
61
61
|
}
|
|
62
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=center"] {
|
|
62
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="justify=center"] {
|
|
63
63
|
justify-content: center !important;
|
|
64
64
|
}
|
|
65
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=end"] {
|
|
65
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="justify=end"] {
|
|
66
66
|
justify-content: flex-end !important;
|
|
67
67
|
}
|
|
68
|
-
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=between"] {
|
|
68
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[data-ui-stack-state~="justify=between"] {
|
|
69
69
|
justify-content: space-between !important;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
73
|
-
:scope:where([data-component~="ui-stack"])[hidden] {
|
|
73
|
+
:scope:where(:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component])))[hidden] {
|
|
74
74
|
display: none !important;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
@scope ([data-component~="ui-stack"]) to ([data-component]) {
|
|
77
|
+
@scope (:is([component~="ui-stack"]:not(template), [data-component~="ui-stack"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
78
78
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
79
79
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
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-status-message"] { --html-next-scope-owner: "ui-status-message" !important; }
|
|
7
|
+
:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component])) { --html-next-scope-owner: "ui-status-message" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-status-message"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* The one way a view says it is loading, has nothing yet, or failed, with an optional next step.
|
|
11
11
|
Every view says it the same way, in the same place, at the same size. */
|
|
12
|
-
:scope:where([data-component~="ui-status-message"]) {
|
|
12
|
+
:scope:where(:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component]))) {
|
|
13
13
|
display: flex !important;
|
|
14
14
|
flex-wrap: wrap !important;
|
|
15
15
|
align-items: center !important;
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
line-height: var(--ui-line-height);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
:scope:where([data-component~="ui-status-message"])[data-ui-status-message-state~="kind=error"] {
|
|
23
|
+
:scope:where(:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component])))[data-ui-status-message-state~="kind=error"] {
|
|
24
24
|
color: var(--ui-danger-subtle-text);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
:scope:where([data-component~="ui-status-message"])[data-ui-status-message-state~="layout=panel"] {
|
|
27
|
+
:scope:where(:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component])))[data-ui-status-message-state~="layout=panel"] {
|
|
28
28
|
padding: var(--ui-space-6) !important;
|
|
29
29
|
border: var(--ui-border-width) dashed var(--ui-border-strong);
|
|
30
30
|
border-radius: var(--ui-radius-lg);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
:scope:where([data-component~="ui-status-message"])[data-ui-status-message-state~="layout=fill"] {
|
|
33
|
+
:scope:where(:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component])))[data-ui-status-message-state~="layout=fill"] {
|
|
34
34
|
flex: 1;
|
|
35
35
|
flex-direction: column !important;
|
|
36
36
|
justify-content: center !important;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
min-inline-size: 0;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
:scope:where([data-component~="ui-status-message"])[data-ui-status-message-state~="layout=fill"] .copy {
|
|
49
|
+
:scope:where(:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component])))[data-ui-status-message-state~="layout=fill"] .copy {
|
|
50
50
|
flex: none;
|
|
51
51
|
align-items: center !important;
|
|
52
52
|
}
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
70
|
-
:scope:where([data-component~="ui-status-message"])[hidden] {
|
|
70
|
+
:scope:where(:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component])))[hidden] {
|
|
71
71
|
display: none !important;
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
@scope ([data-component~="ui-status-message"]) to ([data-component]) {
|
|
74
|
+
@scope (:is([component~="ui-status-message"]:not(template), [data-component~="ui-status-message"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
75
75
|
/* The one way a view says it is loading, has nothing yet, or failed, with an optional next step.
|
|
76
76
|
Every view says it the same way, in the same place, at the same size. */
|
|
77
77
|
|
package/styles/ui-swatch.css
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
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-swatch"] { --html-next-scope-owner: "ui-swatch" !important; }
|
|
7
|
+
:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component])) { --html-next-scope-owner: "ui-swatch" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-swatch"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* A native radio drawn as a round dot. Inside a ui-radio-group the group names it, applies its
|
|
11
11
|
value, and moves between swatches with the arrow keys. */
|
|
12
|
-
:scope:where([data-component~="ui-swatch"]) {
|
|
12
|
+
:scope:where(:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component]))) {
|
|
13
13
|
--_surface: var(--ui-surface-subtle);
|
|
14
14
|
--_text: var(--ui-text-secondary);
|
|
15
15
|
|
|
@@ -25,44 +25,44 @@
|
|
|
25
25
|
cursor: pointer;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
:scope:where([data-component~="ui-swatch"])[data-ui-swatch-state~="tone=blue"] {
|
|
28
|
+
:scope:where(:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component])))[data-ui-swatch-state~="tone=blue"] {
|
|
29
29
|
--_surface: var(--ui-info-soft);
|
|
30
30
|
--_text: var(--ui-info-subtle-text);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
:scope:where([data-component~="ui-swatch"])[data-ui-swatch-state~="tone=green"] {
|
|
33
|
+
:scope:where(:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component])))[data-ui-swatch-state~="tone=green"] {
|
|
34
34
|
--_surface: var(--ui-success-soft);
|
|
35
35
|
--_text: var(--ui-success-subtle-text);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
:scope:where([data-component~="ui-swatch"])[data-ui-swatch-state~="tone=yellow"] {
|
|
38
|
+
:scope:where(:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component])))[data-ui-swatch-state~="tone=yellow"] {
|
|
39
39
|
--_surface: var(--ui-warning-soft);
|
|
40
40
|
--_text: var(--ui-warning-subtle-text);
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
:scope:where([data-component~="ui-swatch"])[data-ui-swatch-state~="tone=red"] {
|
|
43
|
+
:scope:where(:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component])))[data-ui-swatch-state~="tone=red"] {
|
|
44
44
|
--_surface: var(--ui-danger-soft);
|
|
45
45
|
--_text: var(--ui-danger-subtle-text);
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
:scope:where([data-component~="ui-swatch"])[data-ui-swatch-state~="tone=purple"] {
|
|
48
|
+
:scope:where(:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component])))[data-ui-swatch-state~="tone=purple"] {
|
|
49
49
|
--_surface: var(--ui-accent-soft);
|
|
50
50
|
--_text: var(--ui-accent-subtle-text);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/* The chosen swatch and the focused one share one ring at the focus width (2px by default), in
|
|
54
54
|
the tone or the focus colour. */
|
|
55
|
-
:scope:where([data-component~="ui-swatch"]):checked {
|
|
55
|
+
:scope:where(:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component]))):checked {
|
|
56
56
|
outline: var(--ui-focus-width) solid var(--_text);
|
|
57
57
|
outline-offset: var(--ui-focus-width);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
:scope:where([data-component~="ui-swatch"]):focus-visible {
|
|
60
|
+
:scope:where(:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component]))):focus-visible {
|
|
61
61
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
|
|
62
62
|
outline-offset: var(--ui-focus-width);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
@scope ([data-component~="ui-swatch"]) to ([data-component]) {
|
|
65
|
+
@scope (:is([component~="ui-swatch"]:not(template), [data-component~="ui-swatch"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
66
66
|
/* A native radio drawn as a round dot. Inside a ui-radio-group the group names it, applies its
|
|
67
67
|
value, and moves between swatches with the arrow keys. */
|
|
68
68
|
|
package/styles/ui-switch.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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-switch"] { --html-next-scope-owner: "ui-switch" !important; }
|
|
7
|
+
:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])) { --html-next-scope-owner: "ui-switch" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-switch"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-switch"]) {
|
|
9
|
+
@scope (:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the component root. */
|
|
12
12
|
--_ui-switch-track-width: var(--ui-switch-track-width, var(--ui-choice-track-width));
|
|
13
13
|
--_ui-switch-track-height: var(--ui-switch-track-height, var(--ui-choice-track-height));
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
margin: max(0px, calc((1lh - var(--_ui-switch-track-height, 1.5rem)) / 2)) 0 0 !important;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
input:where(:not([data-component], [data-slotted]))::after {
|
|
80
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
81
81
|
content: "";
|
|
82
82
|
position: absolute;
|
|
83
83
|
top: var(--_inset);
|
|
@@ -97,30 +97,30 @@
|
|
|
97
97
|
border-color: var(--ui-accent-solid);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
input:checked:where(:not([data-component], [data-slotted]))::after {
|
|
100
|
+
input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
101
101
|
transform: translateX(calc(var(--_ui-switch-track-width) - var(--_ui-switch-track-height)));
|
|
102
102
|
background-color: var(--ui-text-on-accent);
|
|
103
103
|
background-image: var(--ui-knob-on-accent-highlight, none);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
@media (hover: hover) and (forced-colors: none) {
|
|
107
|
-
:scope:where([data-component~="ui-switch"]):hover input:enabled {
|
|
107
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component]))):hover input:enabled {
|
|
108
108
|
--_choice-hover-wash: var(--ui-neutral-wash-hover);
|
|
109
109
|
background-image:
|
|
110
110
|
linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
|
|
111
111
|
var(--ui-surface-highlight, linear-gradient(transparent, transparent));
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
:scope:where([data-component~="ui-switch"]):hover input:enabled:not([aria-invalid="true"]) {
|
|
114
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component]))):hover input:enabled:not([aria-invalid="true"]) {
|
|
115
115
|
border-color: var(--ui-control-border-hover, var(--ui-border-strong));
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
:scope:where([data-component~="ui-switch"]):hover input:enabled:checked {
|
|
118
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component]))):hover input:enabled:checked {
|
|
119
119
|
background-color: var(--ui-choice-hover-surface);
|
|
120
120
|
background-image: var(--ui-choice-hover-highlight, none);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
:scope:where([data-component~="ui-switch"]):hover input:enabled:checked:not([aria-invalid="true"]) {
|
|
123
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component]))):hover input:enabled:checked:not([aria-invalid="true"]) {
|
|
124
124
|
border-color: var(--ui-choice-hover-surface);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
@@ -130,14 +130,14 @@
|
|
|
130
130
|
outline-offset: var(--ui-focus-width);
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
:scope:where([data-component~="ui-switch"])[data-ui-switch-state~="disabled"] {
|
|
133
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[data-ui-switch-state~="disabled"] {
|
|
134
134
|
color: var(--ui-disabled-text);
|
|
135
135
|
cursor: not-allowed;
|
|
136
136
|
}
|
|
137
|
-
:scope:where([data-component~="ui-switch"])[data-ui-switch-state~="disabled"] .description {
|
|
137
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[data-ui-switch-state~="disabled"] .description {
|
|
138
138
|
color: var(--ui-disabled-text);
|
|
139
139
|
}
|
|
140
|
-
:scope:where([data-component~="ui-switch"])[data-ui-switch-state~="disabled"] input {
|
|
140
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[data-ui-switch-state~="disabled"] input {
|
|
141
141
|
border-color: var(--ui-disabled-border);
|
|
142
142
|
background-color: var(--ui-disabled-surface);
|
|
143
143
|
background-image: none;
|
|
@@ -145,14 +145,14 @@
|
|
|
145
145
|
cursor: not-allowed;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
:scope:where([data-component~="ui-switch"])[data-ui-switch-state~="disabled"] input:where(:not([data-component], [data-slotted]))::after {
|
|
148
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[data-ui-switch-state~="disabled"] input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
149
149
|
background-color: var(--ui-disabled-text);
|
|
150
150
|
background-image: none;
|
|
151
151
|
box-shadow: none;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
@media (prefers-reduced-motion: reduce) {
|
|
155
|
-
input:where(:not([data-component], [data-slotted])), input:where(:not([data-component], [data-slotted]))::after {
|
|
155
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted])), input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
156
156
|
transition: none;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
@@ -160,29 +160,29 @@
|
|
|
160
160
|
/* A sized switch keeps its track and aligns instead: the label takes that size's field type size,
|
|
161
161
|
and the first line centres in that control height, so the label shares a row's baseline.
|
|
162
162
|
Multi-line labels and descriptions still grow downward from that first line. */
|
|
163
|
-
:scope:where([data-component~="ui-switch"])[data-ui-switch-state~="size=sm"] {
|
|
163
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[data-ui-switch-state~="size=sm"] {
|
|
164
164
|
--_font: var(--ui-font-size-sm);
|
|
165
165
|
--_row: var(--ui-control-size-sm);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
:scope:where([data-component~="ui-switch"])[data-ui-switch-state~="size=lg"] {
|
|
168
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[data-ui-switch-state~="size=lg"] {
|
|
169
169
|
--_font: var(--ui-font-size-md);
|
|
170
170
|
--_row: var(--ui-control-size-lg);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
:scope:where([data-component~="ui-switch"])[data-ui-switch-state~="size=sm"],
|
|
174
|
-
:scope:where([data-component~="ui-switch"])[data-ui-switch-state~="size=lg"] {
|
|
173
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[data-ui-switch-state~="size=sm"],
|
|
174
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[data-ui-switch-state~="size=lg"] {
|
|
175
175
|
--_line: calc(var(--_font) * var(--ui-line-height-md));
|
|
176
176
|
font-size: var(--_font);
|
|
177
177
|
padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-switch-track-height, 1.5rem))) / 2)) !important;
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
181
|
-
:scope:where([data-component~="ui-switch"])[hidden] {
|
|
181
|
+
:scope:where(:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component])))[hidden] {
|
|
182
182
|
display: none !important;
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
@scope ([data-component~="ui-switch"]) to ([data-component]) {
|
|
185
|
+
@scope (:is([component~="ui-switch"]:not(template), [data-component~="ui-switch"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
186
186
|
/* The label, and under it an optional line saying what the choice means. */
|
|
187
187
|
|
|
188
188
|
@media (hover: hover) and (forced-colors: none) {
|
package/styles/ui-switcher.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
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-switcher"] { --html-next-scope-owner: "ui-switcher" !important; }
|
|
7
|
+
:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])) { --html-next-scope-owner: "ui-switcher" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-switcher"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-switcher"]) {
|
|
9
|
+
@scope (:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component]))) {
|
|
11
11
|
--_switcher-gap: var(--ui-space-4);
|
|
12
12
|
--_switcher-threshold: 30rem;
|
|
13
13
|
--_switcher-track: clamp(1px, (var(--ui-switcher-threshold, var(--_switcher-threshold)) - 100%) * 999, 100%);
|
|
@@ -22,49 +22,49 @@
|
|
|
22
22
|
margin: 0 !important;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="overLimit"] {
|
|
25
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="overLimit"] {
|
|
26
26
|
grid-template-columns: minmax(0, 1fr);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="gap=xs"] {
|
|
29
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="gap=xs"] {
|
|
30
30
|
--_switcher-gap: var(--ui-space-2);
|
|
31
31
|
}
|
|
32
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="gap=s"] {
|
|
32
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="gap=s"] {
|
|
33
33
|
--_switcher-gap: var(--ui-space-3);
|
|
34
34
|
}
|
|
35
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="gap=m"] {
|
|
35
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="gap=m"] {
|
|
36
36
|
--_switcher-gap: var(--ui-space-4);
|
|
37
37
|
}
|
|
38
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="gap=l"] {
|
|
38
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="gap=l"] {
|
|
39
39
|
--_switcher-gap: var(--ui-space-5);
|
|
40
40
|
}
|
|
41
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="gap=xl"] {
|
|
41
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="gap=xl"] {
|
|
42
42
|
--_switcher-gap: var(--ui-space-6);
|
|
43
43
|
}
|
|
44
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="threshold=xs"] {
|
|
44
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="threshold=xs"] {
|
|
45
45
|
--_switcher-threshold: 20rem;
|
|
46
46
|
}
|
|
47
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="threshold=md"] {
|
|
47
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="threshold=md"] {
|
|
48
48
|
--_switcher-threshold: 45rem;
|
|
49
49
|
}
|
|
50
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="threshold=lg"] {
|
|
50
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="threshold=lg"] {
|
|
51
51
|
--_switcher-threshold: 60rem;
|
|
52
52
|
}
|
|
53
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="align=start"] {
|
|
53
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="align=start"] {
|
|
54
54
|
align-items: start !important;
|
|
55
55
|
}
|
|
56
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="align=center"] {
|
|
56
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="align=center"] {
|
|
57
57
|
align-items: center !important;
|
|
58
58
|
}
|
|
59
|
-
:scope:where([data-component~="ui-switcher"])[data-ui-switcher-state~="align=end"] {
|
|
59
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[data-ui-switcher-state~="align=end"] {
|
|
60
60
|
align-items: end !important;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
64
|
-
:scope:where([data-component~="ui-switcher"])[hidden] {
|
|
64
|
+
:scope:where(:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component])))[hidden] {
|
|
65
65
|
display: none !important;
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
@scope ([data-component~="ui-switcher"]) to ([data-component]) {
|
|
68
|
+
@scope (:is([component~="ui-switcher"]:not(template), [data-component~="ui-switcher"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
69
69
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
70
70
|
}
|
package/styles/ui-table.css
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
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-table"] { --html-next-scope-owner: "ui-table" !important; }
|
|
7
|
+
:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component])) { --html-next-scope-owner: "ui-table" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-table"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* Styles an authored <table> (caption, thead, tbody, th scope) without replacing it: the table is
|
|
11
11
|
meaningful before JavaScript, and a screen reader reads it as a table. The root scrolls a table
|
|
12
12
|
wider than it, or taller than a bounded height; while it does, the controller makes the root a named, focusable region so a
|
|
13
13
|
keyboard can scroll it. A cell's data-ui-align (start, center, or end; start by default) sets its
|
|
14
14
|
content along the row, such as end for a column of figures. */
|
|
15
|
-
:scope:where([data-component~="ui-table"]) {
|
|
15
|
+
:scope:where(:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component]))) {
|
|
16
16
|
--_pad-block: var(--ui-space-1);
|
|
17
17
|
--_pad-inline: var(--ui-space-3);
|
|
18
18
|
--_row-size: var(--ui-control-size);
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
calc(100% - var(--_ui-scroll-fade-size)) 100%;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
:scope:where([data-component~="ui-table"]):dir(rtl) {
|
|
46
|
+
:scope:where(:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component]))):dir(rtl) {
|
|
47
47
|
--_ui-scroll-fade-direction: to left;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
:scope:where([data-component~="ui-table"]):focus-visible {
|
|
50
|
+
:scope:where(:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component]))):focus-visible {
|
|
51
51
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
52
52
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
:scope:where([data-component~="ui-table"])[data-ui-table-state~="density=compact"] {
|
|
55
|
+
:scope:where(:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component])))[data-ui-table-state~="density=compact"] {
|
|
56
56
|
--_pad-block: var(--ui-space-0-5);
|
|
57
57
|
--_pad-inline: var(--ui-space-2);
|
|
58
58
|
--_row-size: var(--ui-control-size-sm);
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
rhythm of the rows around it. A cell's height is its minimum. */
|
|
65
65
|
|
|
66
66
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
67
|
-
:scope:where([data-component~="ui-table"])[hidden] {
|
|
67
|
+
:scope:where(:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component])))[hidden] {
|
|
68
68
|
display: none !important;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
@scope ([data-component~="ui-table"]) to ([data-component]) {
|
|
71
|
+
@scope (:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
72
72
|
/* Styles an authored <table> (caption, thead, tbody, th scope) without replacing it: the table is
|
|
73
73
|
meaningful before JavaScript, and a screen reader reads it as a table. The root scrolls a table
|
|
74
74
|
wider than it, or taller than a bounded height; while it does, the controller makes the root a named, focusable region so a
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
text-align: end;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
:scope:where([data-component~="ui-table"])[data-ui-table-state~="stickyHeader"] :where([data-slotted], [data-slotted] *):is(thead th) {
|
|
134
|
+
:scope:where(:is([component~="ui-table"]:not(template), [data-component~="ui-table"]:not([component])))[data-ui-table-state~="stickyHeader"] :where([data-slotted], [data-slotted] *):is(thead th) {
|
|
135
135
|
position: sticky;
|
|
136
136
|
inset-block-start: 0;
|
|
137
137
|
z-index: 1;
|