@threadlabs/looma 0.51.6 → 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-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 +565 -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/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/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
|
@@ -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-radio-group"] { --html-next-scope-owner: "ui-radio-group" !important; }
|
|
7
|
+
:is([component~="ui-radio-group"]:not(template), [data-component~="ui-radio-group"]:not([component])) { --html-next-scope-owner: "ui-radio-group" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-radio-group"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-radio-group"]) {
|
|
9
|
+
@scope (:is([component~="ui-radio-group"]:not(template), [data-component~="ui-radio-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-radio-group"]:not(template), [data-component~="ui-radio-group"]:not([component]))) {
|
|
11
11
|
--_ui-radio-group-invalid-text: var(--ui-radio-group-invalid-text, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
12
12
|
display: inline-flex !important;
|
|
13
13
|
align-items: center !important;
|
|
@@ -40,20 +40,20 @@
|
|
|
40
40
|
white-space: nowrap;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
:scope:where([data-component~="ui-radio-group"])[data-ui-radio-group-state~="invalid"] legend {
|
|
43
|
+
:scope:where(:is([component~="ui-radio-group"]:not(template), [data-component~="ui-radio-group"]:not([component])))[data-ui-radio-group-state~="invalid"] legend {
|
|
44
44
|
color: var(--_ui-radio-group-invalid-text);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
:scope:where([data-component~="ui-radio-group"])[data-ui-radio-group-state~="orientation=vertical"] {
|
|
47
|
+
:scope:where(:is([component~="ui-radio-group"]:not(template), [data-component~="ui-radio-group"]:not([component])))[data-ui-radio-group-state~="orientation=vertical"] {
|
|
48
48
|
display: inline-grid !important;
|
|
49
49
|
justify-items: start !important;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
53
|
-
:scope:where([data-component~="ui-radio-group"])[hidden] {
|
|
53
|
+
:scope:where(:is([component~="ui-radio-group"]:not(template), [data-component~="ui-radio-group"]:not([component])))[hidden] {
|
|
54
54
|
display: none !important;
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
|
-
@scope ([data-component~="ui-radio-group"]) to ([data-component]) {
|
|
57
|
+
@scope (:is([component~="ui-radio-group"]:not(template), [data-component~="ui-radio-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
58
58
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
59
59
|
}
|
package/styles/ui-radio.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-radio"] { --html-next-scope-owner: "ui-radio" !important; }
|
|
7
|
+
:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])) { --html-next-scope-owner: "ui-radio" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-radio"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-radio"]) {
|
|
9
|
+
@scope (:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the component root. */
|
|
12
12
|
--_ui-radio-size: var(--ui-radio-size, var(--ui-choice-mark-size));
|
|
13
13
|
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
|
|
78
78
|
/* The native radio retains grouping, validation and keyboard behavior.
|
|
79
79
|
Its empty well recedes; the filled selection and its dot stay crisp. */
|
|
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
|
inset: 28%;
|
|
@@ -94,28 +94,28 @@
|
|
|
94
94
|
box-shadow: none;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
input:checked:where(:not([data-component], [data-slotted]))::after {
|
|
97
|
+
input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
98
98
|
opacity: 1;
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@media (hover: hover) and (forced-colors: none) {
|
|
102
|
-
:scope:where([data-component~="ui-radio"]):hover input:enabled {
|
|
102
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component]))):hover input:enabled {
|
|
103
103
|
--_choice-hover-wash: var(--ui-neutral-wash-hover);
|
|
104
104
|
background-image:
|
|
105
105
|
linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
|
|
106
106
|
var(--ui-surface-highlight, linear-gradient(transparent, transparent));
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
:scope:where([data-component~="ui-radio"]):hover input:enabled:not([aria-invalid="true"]) {
|
|
109
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component]))):hover input:enabled:not([aria-invalid="true"]) {
|
|
110
110
|
border-color: var(--ui-control-border-hover, var(--ui-border-strong));
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
:scope:where([data-component~="ui-radio"]):hover input:enabled:checked {
|
|
113
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component]))):hover input:enabled:checked {
|
|
114
114
|
background-color: var(--ui-choice-hover-surface);
|
|
115
115
|
background-image: none;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
:scope:where([data-component~="ui-radio"]):hover input:enabled:checked:not([aria-invalid="true"]) {
|
|
118
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component]))):hover input:enabled:checked:not([aria-invalid="true"]) {
|
|
119
119
|
border-color: var(--ui-choice-hover-surface);
|
|
120
120
|
}
|
|
121
121
|
}
|
|
@@ -125,14 +125,14 @@
|
|
|
125
125
|
outline-offset: var(--ui-focus-width);
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
:scope:where([data-component~="ui-radio"])[data-ui-radio-state~="disabled"] {
|
|
128
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[data-ui-radio-state~="disabled"] {
|
|
129
129
|
color: var(--ui-disabled-text);
|
|
130
130
|
cursor: not-allowed;
|
|
131
131
|
}
|
|
132
|
-
:scope:where([data-component~="ui-radio"])[data-ui-radio-state~="disabled"] .description {
|
|
132
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[data-ui-radio-state~="disabled"] .description {
|
|
133
133
|
color: var(--ui-disabled-text);
|
|
134
134
|
}
|
|
135
|
-
:scope:where([data-component~="ui-radio"])[data-ui-radio-state~="disabled"] input {
|
|
135
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[data-ui-radio-state~="disabled"] input {
|
|
136
136
|
border-color: var(--ui-disabled-border);
|
|
137
137
|
background-color: var(--ui-disabled-surface);
|
|
138
138
|
background-image: none;
|
|
@@ -140,13 +140,13 @@
|
|
|
140
140
|
cursor: not-allowed;
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
:scope:where([data-component~="ui-radio"])[data-ui-radio-state~="disabled"] input:where(:not([data-component], [data-slotted]))::after {
|
|
143
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[data-ui-radio-state~="disabled"] input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
144
144
|
background-color: var(--ui-disabled-text);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
@media (prefers-reduced-motion: reduce) {
|
|
148
|
-
input:where(:not([data-component], [data-slotted])),
|
|
149
|
-
input:where(:not([data-component], [data-slotted]))::after {
|
|
148
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted])),
|
|
149
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
150
150
|
transition: none;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
background: none;
|
|
159
159
|
box-shadow: none;
|
|
160
160
|
}
|
|
161
|
-
input:where(:not([data-component], [data-slotted]))::after {
|
|
161
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
162
162
|
display: none !important;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -166,29 +166,29 @@
|
|
|
166
166
|
/* A sized choice keeps its box and aligns instead: the label takes that size's field type size,
|
|
167
167
|
and the first line centres in that control height, so the label shares a row's baseline.
|
|
168
168
|
Multi-line labels and descriptions still grow downward from that first line. */
|
|
169
|
-
:scope:where([data-component~="ui-radio"])[data-ui-radio-state~="size=sm"] {
|
|
169
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[data-ui-radio-state~="size=sm"] {
|
|
170
170
|
--_font: var(--ui-font-size-sm);
|
|
171
171
|
--_row: var(--ui-control-size-sm);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
:scope:where([data-component~="ui-radio"])[data-ui-radio-state~="size=lg"] {
|
|
174
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[data-ui-radio-state~="size=lg"] {
|
|
175
175
|
--_font: var(--ui-font-size-md);
|
|
176
176
|
--_row: var(--ui-control-size-lg);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
:scope:where([data-component~="ui-radio"])[data-ui-radio-state~="size=sm"],
|
|
180
|
-
:scope:where([data-component~="ui-radio"])[data-ui-radio-state~="size=lg"] {
|
|
179
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[data-ui-radio-state~="size=sm"],
|
|
180
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[data-ui-radio-state~="size=lg"] {
|
|
181
181
|
--_line: calc(var(--_font) * var(--ui-line-height-md));
|
|
182
182
|
font-size: var(--_font);
|
|
183
183
|
padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-radio-size, 1.125rem))) / 2)) !important;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
187
|
-
:scope:where([data-component~="ui-radio"])[hidden] {
|
|
187
|
+
:scope:where(:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component])))[hidden] {
|
|
188
188
|
display: none !important;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
-
@scope ([data-component~="ui-radio"]) to ([data-component]) {
|
|
191
|
+
@scope (:is([component~="ui-radio"]:not(template), [data-component~="ui-radio"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
192
192
|
/* The label, and under it an optional line saying what the choice means. */
|
|
193
193
|
|
|
194
194
|
/* The native radio retains grouping, validation and keyboard behavior.
|
package/styles/ui-reel.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-reel"] { --html-next-scope-owner: "ui-reel" !important; }
|
|
7
|
+
:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])) { --html-next-scope-owner: "ui-reel" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-reel"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-reel"]) {
|
|
9
|
+
@scope (:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component]))) {
|
|
11
11
|
--_reel-gap: var(--ui-space-4);
|
|
12
12
|
--_reel-item-width: max-content;
|
|
13
13
|
/* Sizes its children from its own box: one row of columns, each the item width, that never
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/* Each end that hides items fades: the scroll fade every Looma scroller uses (see ui-scroll-area). */
|
|
30
|
-
:scope:where([data-component~="ui-reel"]) {
|
|
30
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component]))) {
|
|
31
31
|
--_ui-scroll-fade-direction: to right;
|
|
32
32
|
--_ui-scroll-fade-size: var(--ui-scroll-fade-size, 24px);
|
|
33
33
|
mask-image: linear-gradient(
|
|
@@ -46,49 +46,49 @@
|
|
|
46
46
|
calc(100% - var(--_ui-scroll-fade-size)) 100%;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
:scope:where([data-component~="ui-reel"]):dir(rtl) {
|
|
49
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component]))):dir(rtl) {
|
|
50
50
|
--_ui-scroll-fade-direction: to left;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="gap=xs"] {
|
|
53
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="gap=xs"] {
|
|
54
54
|
--_reel-gap: var(--ui-space-2);
|
|
55
55
|
}
|
|
56
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="gap=s"] {
|
|
56
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="gap=s"] {
|
|
57
57
|
--_reel-gap: var(--ui-space-3);
|
|
58
58
|
}
|
|
59
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="gap=m"] {
|
|
59
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="gap=m"] {
|
|
60
60
|
--_reel-gap: var(--ui-space-4);
|
|
61
61
|
}
|
|
62
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="gap=l"] {
|
|
62
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="gap=l"] {
|
|
63
63
|
--_reel-gap: var(--ui-space-5);
|
|
64
64
|
}
|
|
65
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="gap=xl"] {
|
|
65
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="gap=xl"] {
|
|
66
66
|
--_reel-gap: var(--ui-space-6);
|
|
67
67
|
}
|
|
68
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="itemWidth=sm"] {
|
|
68
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="itemWidth=sm"] {
|
|
69
69
|
--_reel-item-width: 12rem;
|
|
70
70
|
}
|
|
71
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="itemWidth=md"] {
|
|
71
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="itemWidth=md"] {
|
|
72
72
|
--_reel-item-width: 16rem;
|
|
73
73
|
}
|
|
74
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="itemWidth=lg"] {
|
|
74
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="itemWidth=lg"] {
|
|
75
75
|
--_reel-item-width: 20rem;
|
|
76
76
|
}
|
|
77
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="snap"] {
|
|
77
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="snap"] {
|
|
78
78
|
scroll-snap-type: inline mandatory;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
82
|
-
:scope:where([data-component~="ui-reel"])[hidden] {
|
|
82
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[hidden] {
|
|
83
83
|
display: none !important;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
@scope ([data-component~="ui-reel"]) to ([data-component]) {
|
|
86
|
+
@scope (:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
87
87
|
/* Each end that hides items fades: the scroll fade every Looma scroller uses (see ui-scroll-area). */
|
|
88
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="snap=start"] > :where([data-slotted], [data-slotted] *):is(*) {
|
|
88
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="snap=start"] > :where([data-slotted], [data-slotted] *):is(*) {
|
|
89
89
|
scroll-snap-align: start;
|
|
90
90
|
}
|
|
91
|
-
:scope:where([data-component~="ui-reel"])[data-ui-reel-state~="snap=center"] > :where([data-slotted], [data-slotted] *):is(*) {
|
|
91
|
+
:scope:where(:is([component~="ui-reel"]:not(template), [data-component~="ui-reel"]:not([component])))[data-ui-reel-state~="snap=center"] > :where([data-slotted], [data-slotted] *):is(*) {
|
|
92
92
|
scroll-snap-align: center;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -1,20 +1,20 @@
|
|
|
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-scroll-area"] { --html-next-scope-owner: "ui-scroll-area" !important; }
|
|
7
|
+
:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])) { --html-next-scope-owner: "ui-scroll-area" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-scroll-area"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* The controller sets each fade length from overflow and scroll position. The mask blends
|
|
11
11
|
into whatever is behind the area without needing to know its colour. Before upgrade, its
|
|
12
12
|
zero-length defaults leave the authored scroll area fully visible. */
|
|
13
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="fill"] {
|
|
13
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="fill"] {
|
|
14
14
|
flex: 1;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
:scope:where([data-component~="ui-scroll-area"]) {
|
|
17
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component]))) {
|
|
18
18
|
display: block !important;
|
|
19
19
|
box-sizing: border-box !important;
|
|
20
20
|
min-block-size: 0;
|
|
@@ -40,55 +40,55 @@
|
|
|
40
40
|
|
|
41
41
|
/* Trim projected edges without changing spacing inside an item. */
|
|
42
42
|
|
|
43
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="orientation=horizontal"] {
|
|
43
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="orientation=horizontal"] {
|
|
44
44
|
overflow-x: auto;
|
|
45
45
|
overflow-y: hidden;
|
|
46
46
|
--_ui-scroll-fade-direction: var(--_ui-scroll-fade-inline);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
:scope:where([data-component~="ui-scroll-area"]):dir(rtl) {
|
|
49
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component]))):dir(rtl) {
|
|
50
50
|
--_ui-scroll-fade-inline: to left;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="size=sm"] {
|
|
53
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="size=sm"] {
|
|
54
54
|
max-block-size: calc(9.375rem + var(--ui-scroll-fade-size, 24px));
|
|
55
55
|
}
|
|
56
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="size=md"] {
|
|
56
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="size=md"] {
|
|
57
57
|
max-block-size: 20rem;
|
|
58
58
|
}
|
|
59
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="size=lg"] {
|
|
59
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="size=lg"] {
|
|
60
60
|
max-block-size: 30rem;
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="padding=xs"] {
|
|
63
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="padding=xs"] {
|
|
64
64
|
padding: var(--ui-space-2) !important;
|
|
65
65
|
}
|
|
66
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="padding=sm"] {
|
|
66
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="padding=sm"] {
|
|
67
67
|
padding: var(--ui-space-3) !important;
|
|
68
68
|
}
|
|
69
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="padding=md"] {
|
|
69
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="padding=md"] {
|
|
70
70
|
padding: var(--ui-space-5) !important;
|
|
71
71
|
}
|
|
72
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="padding=lg"] {
|
|
72
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="padding=lg"] {
|
|
73
73
|
padding: var(--ui-space-6) !important;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
77
|
-
:scope:where([data-component~="ui-scroll-area"])[hidden] {
|
|
77
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[hidden] {
|
|
78
78
|
display: none !important;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
@scope ([data-component~="ui-scroll-area"]) to ([data-component]) {
|
|
81
|
+
@scope (:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
82
82
|
/* The controller sets each fade length from overflow and scroll position. The mask blends
|
|
83
83
|
into whatever is behind the area without needing to know its colour. Before upgrade, its
|
|
84
84
|
zero-length defaults leave the authored scroll area fully visible. */
|
|
85
85
|
|
|
86
86
|
/* Trim projected edges without changing spacing inside an item. */
|
|
87
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="trim"] .content > :where([data-slotted], [data-slotted] *):is(:first-child) {
|
|
87
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="trim"] .content > :where([data-slotted], [data-slotted] *):is(:first-child) {
|
|
88
88
|
margin-block-start: 0 !important;
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
:scope:where([data-component~="ui-scroll-area"])[data-ui-scroll-area-state~="trim"] .content > :where([data-slotted], [data-slotted] *):is(:last-child) {
|
|
91
|
+
:scope:where(:is([component~="ui-scroll-area"]:not(template), [data-component~="ui-scroll-area"]:not([component])))[data-ui-scroll-area-state~="trim"] .content > :where([data-slotted], [data-slotted] *):is(:last-child) {
|
|
92
92
|
margin-block-end: 0 !important;
|
|
93
93
|
}
|
|
94
94
|
|
|
@@ -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-search-result-row"] { --html-next-scope-owner: "ui-search-result-row" !important; }
|
|
7
|
+
:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component])) { --html-next-scope-owner: "ui-search-result-row" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-search-result-row"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-search-result-row"]) {
|
|
9
|
+
@scope (:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component]))) {
|
|
11
11
|
appearance: none;
|
|
12
12
|
inline-size: 100%;
|
|
13
13
|
min-block-size: var(--ui-search-result-row-min-height, 56px);
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
:scope:where([data-component~="ui-search-result-row"])[data-ui-search-result-row-state~="density=compact"] {
|
|
29
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component])))[data-ui-search-result-row-state~="density=compact"] {
|
|
30
30
|
min-block-size: var(--ui-search-result-row-min-height, 3.125rem);
|
|
31
31
|
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-1)) !important;
|
|
32
32
|
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-2)) !important;
|
|
@@ -36,21 +36,21 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
/* Slot wrappers own their line boxes even when an app makes buttons inherit body typography. */
|
|
39
|
-
:scope:where([data-component~="ui-search-result-row"])[data-ui-search-result-row-state~="density=compact"] .title {
|
|
39
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component])))[data-ui-search-result-row-state~="density=compact"] .title {
|
|
40
40
|
font-size: var(--ui-font-size-sm);
|
|
41
41
|
line-height: var(--ui-line-height);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
:scope:where([data-component~="ui-search-result-row"])[data-ui-search-result-row-state~="density=compact"] .meta {
|
|
44
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component])))[data-ui-search-result-row-state~="density=compact"] .meta {
|
|
45
45
|
font-size: var(--ui-font-size-xs);
|
|
46
46
|
line-height: var(--ui-line-height);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
:scope:where([data-component~="ui-search-result-row"]):hover:enabled {
|
|
49
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component]))):hover:enabled {
|
|
50
50
|
background: var(--ui-search-result-row-hover-surface, var(--_ui-selection-context-surface, color-mix(in srgb, var(--ui-surface) 85%, black 3%)));
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
:scope:where([data-component~="ui-search-result-row"])[data-ui-search-result-row-state~="selected"] {
|
|
53
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component])))[data-ui-search-result-row-state~="selected"] {
|
|
54
54
|
background: var(
|
|
55
55
|
--ui-search-result-row-selected-bg,
|
|
56
56
|
var(--_ui-selection-context-surface, var(--ui-selection-surface))
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
:scope:where([data-component~="ui-search-result-row"]):focus-visible {
|
|
61
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component]))):focus-visible {
|
|
62
62
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
63
63
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
:scope:where([data-component~="ui-search-result-row"]):disabled {
|
|
66
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component]))):disabled {
|
|
67
67
|
background: var(--ui-disabled-surface);
|
|
68
68
|
color: var(--ui-disabled-text);
|
|
69
69
|
cursor: not-allowed;
|
|
@@ -99,18 +99,18 @@
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@media (forced-colors: active) {
|
|
102
|
-
:scope:where([data-component~="ui-search-result-row"])[data-ui-search-result-row-state~="selected"]:not(:focus-visible):not(:disabled) {
|
|
102
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component])))[data-ui-search-result-row-state~="selected"]:not(:focus-visible):not(:disabled) {
|
|
103
103
|
outline: var(--ui-border-width) solid Highlight;
|
|
104
104
|
outline-offset: calc(-1 * var(--ui-border-width));
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
109
|
-
:scope:where([data-component~="ui-search-result-row"])[hidden] {
|
|
109
|
+
:scope:where(:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component])))[hidden] {
|
|
110
110
|
display: none !important;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
@scope ([data-component~="ui-search-result-row"]) to ([data-component]) {
|
|
113
|
+
@scope (:is([component~="ui-search-result-row"]:not(template), [data-component~="ui-search-result-row"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
114
114
|
/* Slot wrappers own their line boxes even when an app makes buttons inherit body typography. */
|
|
115
115
|
|
|
116
116
|
/* An unused region takes no space. */
|
|
@@ -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-search-shell"] { --html-next-scope-owner: "ui-search-shell" !important; }
|
|
7
|
+
:is([component~="ui-search-shell"]:not(template), [data-component~="ui-search-shell"]:not([component])) { --html-next-scope-owner: "ui-search-shell" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-search-shell"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-search-shell"]) {
|
|
9
|
+
@scope (:is([component~="ui-search-shell"]:not(template), [data-component~="ui-search-shell"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-search-shell"]:not(template), [data-component~="ui-search-shell"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the component root. */
|
|
12
12
|
--_ui-search-shell-z-index: var(--ui-search-shell-z-index);
|
|
13
13
|
--_ui-search-shell-padding-top: var(--ui-search-shell-padding-top);
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
color: var(--ui-text-primary);
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
dialog:modal:where(:not([data-component], [data-slotted]))::backdrop {
|
|
44
|
+
dialog:modal:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::backdrop {
|
|
45
45
|
background: var(--ui-overlay-backdrop);
|
|
46
46
|
}
|
|
47
47
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
background: transparent;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
dialog[data-ui-backdrop-hidden]:where(:not([data-component], [data-slotted]))::backdrop {
|
|
52
|
+
dialog[data-ui-backdrop-hidden]:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::backdrop {
|
|
53
53
|
background: transparent;
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -137,11 +137,11 @@
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
140
|
-
:scope:where([data-component~="ui-search-shell"])[hidden] {
|
|
140
|
+
:scope:where(:is([component~="ui-search-shell"]:not(template), [data-component~="ui-search-shell"]:not([component])))[hidden] {
|
|
141
141
|
display: none !important;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
@scope ([data-component~="ui-search-shell"]) to ([data-component]) {
|
|
144
|
+
@scope (:is([component~="ui-search-shell"]:not(template), [data-component~="ui-search-shell"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
145
145
|
:where([data-slotted], [data-slotted] *):is(input[slot="search"]) {
|
|
146
146
|
box-sizing: border-box !important;
|
|
147
147
|
inline-size: 100%;
|
package/styles/ui-section.css
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
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-section"] { --html-next-scope-owner: "ui-section" !important; }
|
|
7
|
+
:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])) { --html-next-scope-owner: "ui-section" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-section"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* A part of a view: a heading, an optional line under it, actions for the whole section at its
|
|
11
11
|
end, and the content. Sections space themselves out through the Stack around them. */
|
|
12
|
-
:scope:where([data-component~="ui-section"]) {
|
|
12
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component]))) {
|
|
13
13
|
display: flex !important;
|
|
14
14
|
flex-direction: column !important;
|
|
15
15
|
gap: var(--ui-space-4) !important;
|
|
16
16
|
min-inline-size: 0;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=card"],
|
|
20
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=fieldset"] {
|
|
19
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=card"],
|
|
20
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=fieldset"] {
|
|
21
21
|
--_ui-selection-context-surface: initial;
|
|
22
22
|
--_ui-selection-context-border: initial;
|
|
23
23
|
--_ui-selection-context-text: initial;
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
background: var(--ui-surface-raised);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=fieldset"] {
|
|
30
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=fieldset"] {
|
|
31
31
|
display: block !important;
|
|
32
32
|
box-sizing: border-box !important;
|
|
33
33
|
margin: 0 !important;
|
|
@@ -55,25 +55,25 @@
|
|
|
55
55
|
min-inline-size: 0;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=fieldset"] .body {
|
|
58
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=fieldset"] .body {
|
|
59
59
|
display: contents !important;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=fieldset"] .head:has(.description:empty):has(.actions:empty) {
|
|
62
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=fieldset"] .head:has(.description:empty):has(.actions:empty) {
|
|
63
63
|
display: none !important;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=divided"] {
|
|
66
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=divided"] {
|
|
67
67
|
padding-block-start: var(--ui-space-6) !important;
|
|
68
68
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"],
|
|
72
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=fieldset"][data-ui-section-state~="tone=danger"] {
|
|
71
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"],
|
|
72
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=fieldset"][data-ui-section-state~="tone=danger"] {
|
|
73
73
|
border-color: color-mix(in srgb, var(--ui-danger) 45%, var(--ui-border-default));
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"] {
|
|
76
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="variant=card"][data-ui-section-state~="tone=danger"] {
|
|
77
77
|
--_ui-selection-context-surface: light-dark(
|
|
78
78
|
oklch(from var(--ui-danger-soft) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
79
79
|
oklch(from var(--ui-danger-soft) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
line-height: var(--ui-line-height-tight);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
:scope:where([data-component~="ui-section"])[data-ui-section-state~="tone=danger"] .heading {
|
|
118
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[data-ui-section-state~="tone=danger"] .heading {
|
|
119
119
|
color: var(--ui-danger-subtle-text);
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -148,11 +148,11 @@
|
|
|
148
148
|
}
|
|
149
149
|
|
|
150
150
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
151
|
-
:scope:where([data-component~="ui-section"])[hidden] {
|
|
151
|
+
:scope:where(:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component])))[hidden] {
|
|
152
152
|
display: none !important;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
@scope ([data-component~="ui-section"]) to ([data-component]) {
|
|
155
|
+
@scope (:is([component~="ui-section"]:not(template), [data-component~="ui-section"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
156
156
|
/* A part of a view: a heading, an optional line under it, actions for the whole section at its
|
|
157
157
|
end, and the content. Sections space themselves out through the Stack around them. */
|
|
158
158
|
|