@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
package/styles/ui-calendar.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
package/styles/ui-callout.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-callout"] { --html-next-scope-owner: "ui-callout" !important; }
|
|
7
|
+
:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])) { --html-next-scope-owner: "ui-callout" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-callout"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-callout"]) {
|
|
9
|
+
@scope (:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the component root. */
|
|
12
12
|
--_ui-callout-icon-column: var(--ui-callout-icon-column);
|
|
13
13
|
--_ui-callout-icon: var(--ui-callout-icon);
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
font-weight: var(--ui-font-semibold);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=neutral"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=note"] {
|
|
75
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=neutral"], :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=note"] {
|
|
76
76
|
--_ui-selection-context-surface: initial;
|
|
77
77
|
--_ui-selection-context-border: initial;
|
|
78
78
|
--_ui-selection-context-text: initial;
|
|
@@ -82,35 +82,35 @@
|
|
|
82
82
|
--_callout-icon: var(--ui-text-secondary);
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=tip"] {
|
|
85
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=tip"] {
|
|
86
86
|
--_callout-border: var(--ui-info-soft-border);
|
|
87
87
|
--_callout-surface: var(--ui-info-soft);
|
|
88
88
|
--_callout-tone-text: var(--ui-info-subtle-text);
|
|
89
89
|
--_callout-icon: var(--ui-info-subtle-text);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=important"] {
|
|
92
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=important"] {
|
|
93
93
|
--_callout-border: var(--ui-accent-soft-border);
|
|
94
94
|
--_callout-surface: var(--ui-accent-soft);
|
|
95
95
|
--_callout-tone-text: var(--ui-accent-subtle-text);
|
|
96
96
|
--_callout-icon: var(--ui-accent-subtle-text);
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=warning"] {
|
|
99
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=warning"] {
|
|
100
100
|
--_callout-border: var(--ui-warning-soft-border);
|
|
101
101
|
--_callout-surface: var(--ui-warning-soft);
|
|
102
102
|
--_callout-tone-text: var(--ui-warning-subtle-text);
|
|
103
103
|
--_callout-icon: var(--ui-warning-subtle-text);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=success"] {
|
|
106
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=success"] {
|
|
107
107
|
--_callout-border: var(--ui-success-soft-border);
|
|
108
108
|
--_callout-surface: var(--ui-success-soft);
|
|
109
109
|
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
110
110
|
--_callout-icon: var(--ui-success-subtle-text);
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=danger"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=caution"] {
|
|
113
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=danger"], :scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[data-ui-callout-state~="tone=caution"] {
|
|
114
114
|
--_callout-border: var(--ui-danger-soft-border);
|
|
115
115
|
--_callout-surface: var(--ui-danger-soft);
|
|
116
116
|
--_callout-tone-text: var(--ui-danger-subtle-text);
|
|
@@ -120,11 +120,11 @@
|
|
|
120
120
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
121
121
|
|
|
122
122
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
123
|
-
:scope:where([data-component~="ui-callout"])[hidden] {
|
|
123
|
+
:scope:where(:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component])))[hidden] {
|
|
124
124
|
display: none !important;
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
@scope ([data-component~="ui-callout"]) to ([data-component]) {
|
|
127
|
+
@scope (:is([component~="ui-callout"]:not(template), [data-component~="ui-callout"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
128
128
|
/* One line box tall, so the icon centres on the first line of text. */
|
|
129
129
|
|
|
130
130
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
package/styles/ui-card-group.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-card-group"] { --html-next-scope-owner: "ui-card-group" !important; }
|
|
7
|
+
:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component])) { --html-next-scope-owner: "ui-card-group" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-card-group"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* Grid owns columns and spacing; Card owns its surface and three aligned regions. */
|
|
11
|
-
:scope:where([data-component~="ui-card-group"]) {
|
|
11
|
+
:scope:where(:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component]))) {
|
|
12
12
|
display: block !important;
|
|
13
13
|
min-inline-size: 0;
|
|
14
14
|
max-inline-size: 100%;
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
--_ui-card-group-span: span 3;
|
|
18
18
|
--_ui-card-group-region-layout: flex;
|
|
19
19
|
}
|
|
20
|
-
:scope:where([data-component~="ui-card-group"])[hidden] {
|
|
20
|
+
:scope:where(:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component])))[hidden] {
|
|
21
21
|
display: none !important;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
@scope ([data-component~="ui-card-group"]) to ([data-component]) {
|
|
24
|
+
@scope (:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
25
25
|
/* Grid owns columns and spacing; Card owns its surface and three aligned regions. */
|
|
26
26
|
}
|
|
27
|
-
@scope ([data-slotted~="ui-card-group"]:not([data-component])) to ([data-component], [data-slotted]) {
|
|
27
|
+
@scope ([data-slotted~="ui-card-group"]:not(:is([component]:not(template), [data-component]:not([component])))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
28
28
|
/* Grid owns columns and spacing; Card owns its surface and three aligned regions. */
|
|
29
|
-
:where([data-component~="ui-card-group"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-card-group"]))) {
|
|
29
|
+
:where(:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component]))):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-card-group"]))) {
|
|
30
30
|
display: block !important;
|
|
31
31
|
min-inline-size: 0;
|
|
32
32
|
max-inline-size: 100%;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
--_ui-card-group-span: span 3;
|
|
36
36
|
--_ui-card-group-region-layout: flex;
|
|
37
37
|
}
|
|
38
|
-
:where([data-component~="ui-card-group"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-card-group"]))) {
|
|
38
|
+
:where(:is([component~="ui-card-group"]:not(template), [data-component~="ui-card-group"]:not([component])))[hidden]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-card-group"]))) {
|
|
39
39
|
display: none !important;
|
|
40
40
|
}
|
|
41
41
|
}
|
package/styles/ui-card.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-card"] { --html-next-scope-owner: "ui-card" !important; }
|
|
7
|
+
:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])) { --html-next-scope-owner: "ui-card" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-card"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* A surface that groups content. Its children stack with even space between them, so a card
|
|
11
11
|
needs no layout of its own. */
|
|
12
|
-
:scope:where([data-component~="ui-card"]) {
|
|
12
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component]))) {
|
|
13
13
|
--_ui-card-surface: var(--ui-surface-raised);
|
|
14
14
|
--_ui-surface-text: initial;
|
|
15
15
|
--_ui-card-elevation: 0 0 0 transparent;
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
--_ui-card-group-region-layout: initial;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="fill"] {
|
|
49
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="fill"] {
|
|
50
50
|
flex: 1;
|
|
51
51
|
min-block-size: 0;
|
|
52
52
|
}
|
|
@@ -59,31 +59,31 @@
|
|
|
59
59
|
grid-row: span 2 !important;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=xs"] {
|
|
62
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="padding=xs"] {
|
|
63
63
|
gap: var(--ui-space-1) !important;
|
|
64
64
|
padding: var(--ui-space-2) !important;
|
|
65
65
|
}
|
|
66
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=sm"] {
|
|
66
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="padding=sm"] {
|
|
67
67
|
gap: var(--ui-space-2) !important;
|
|
68
68
|
padding: var(--ui-space-3) !important;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=lg"] {
|
|
71
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="padding=lg"] {
|
|
72
72
|
padding: var(--ui-space-6) !important;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="variant=subtle"] {
|
|
75
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="variant=subtle"] {
|
|
76
76
|
border-color: transparent;
|
|
77
77
|
--_ui-card-surface: var(--ui-surface-muted);
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="variant=elevated"] {
|
|
80
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="variant=elevated"] {
|
|
81
81
|
--_ui-card-elevation: var(--ui-shadow-lg);
|
|
82
82
|
border-color: var(--ui-border-subtle);
|
|
83
83
|
box-shadow: var(--ui-shadow-lg);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="treatment=expressive"] {
|
|
86
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="treatment=expressive"] {
|
|
87
87
|
--_ui-card-material-content: color-mix(in srgb, var(--_ui-card-surface) calc(var(--_ui-material-content-alpha, 1) * 100%), transparent);
|
|
88
88
|
--_ui-panel-glass: clamp(0, var(--ui-glassiness, 0), 1);
|
|
89
89
|
--_ui-panel-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
@@ -102,12 +102,12 @@
|
|
|
102
102
|
backdrop-filter: blur(calc(var(--_ui-panel-glass) * 32px));
|
|
103
103
|
}
|
|
104
104
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
105
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="treatment=expressive"] {
|
|
105
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="treatment=expressive"] {
|
|
106
106
|
background: var(--_ui-card-surface);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
@media (prefers-reduced-transparency: reduce) {
|
|
110
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="treatment=expressive"] {
|
|
110
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="treatment=expressive"] {
|
|
111
111
|
background: var(--_ui-card-surface);
|
|
112
112
|
border-width: var(--ui-border-width);
|
|
113
113
|
border-color: var(--ui-border-strong);
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
@media (forced-colors: active) {
|
|
119
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="treatment=expressive"] {
|
|
119
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="treatment=expressive"] {
|
|
120
120
|
background: Canvas;
|
|
121
121
|
color: CanvasText;
|
|
122
122
|
border: var(--ui-border-width) solid CanvasText;
|
|
@@ -126,60 +126,60 @@
|
|
|
126
126
|
}
|
|
127
127
|
}
|
|
128
128
|
|
|
129
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent-secondary"] {
|
|
129
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent-secondary"] {
|
|
130
130
|
border-color: var(--ui-accent-secondary-soft-border);
|
|
131
131
|
--_ui-card-surface: var(--ui-accent-secondary-soft);
|
|
132
132
|
--_ui-surface-text: var(--ui-accent-secondary-subtle-text);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent-tertiary"] {
|
|
135
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent-tertiary"] {
|
|
136
136
|
border-color: var(--ui-accent-tertiary-soft-border);
|
|
137
137
|
--_ui-card-surface: var(--ui-accent-tertiary-soft);
|
|
138
138
|
--_ui-surface-text: var(--ui-accent-tertiary-subtle-text);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent"] {
|
|
141
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent"] {
|
|
142
142
|
border-color: var(--ui-accent-soft-border);
|
|
143
143
|
--_ui-card-surface: var(--ui-accent-soft);
|
|
144
144
|
--_ui-surface-text: var(--ui-accent-subtle-text);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=info"] {
|
|
147
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=info"] {
|
|
148
148
|
border-color: var(--ui-info-soft-border);
|
|
149
149
|
--_ui-card-surface: var(--ui-info-soft);
|
|
150
150
|
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
151
151
|
}
|
|
152
152
|
|
|
153
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=success"] {
|
|
153
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=success"] {
|
|
154
154
|
border-color: var(--ui-success-soft-border);
|
|
155
155
|
--_ui-card-surface: var(--ui-success-soft);
|
|
156
156
|
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=warning"] {
|
|
159
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=warning"] {
|
|
160
160
|
border-color: var(--ui-warning-soft-border);
|
|
161
161
|
--_ui-card-surface: var(--ui-warning-soft);
|
|
162
162
|
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="variant=subtle"]:is([data-ui-card-state~="tone=accent"], [data-ui-card-state~="tone=accent-secondary"], [data-ui-card-state~="tone=accent-tertiary"], [data-ui-card-state~="tone=info"], [data-ui-card-state~="tone=success"], [data-ui-card-state~="tone=warning"]) {
|
|
165
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="variant=subtle"]:is([data-ui-card-state~="tone=accent"], [data-ui-card-state~="tone=accent-secondary"], [data-ui-card-state~="tone=accent-tertiary"], [data-ui-card-state~="tone=info"], [data-ui-card-state~="tone=success"], [data-ui-card-state~="tone=warning"]) {
|
|
166
166
|
border-color: transparent;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=danger"] {
|
|
169
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=danger"] {
|
|
170
170
|
border-color: var(--ui-danger-soft-border);
|
|
171
171
|
--_ui-card-surface: var(--ui-danger-soft);
|
|
172
172
|
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
/* A colored panel shades rows in its own hue, without changing button intent. */
|
|
176
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent"],
|
|
177
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent-secondary"],
|
|
178
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=accent-tertiary"],
|
|
179
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=info"],
|
|
180
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=success"],
|
|
181
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=warning"],
|
|
182
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="tone=danger"] {
|
|
176
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent"],
|
|
177
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent-secondary"],
|
|
178
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=accent-tertiary"],
|
|
179
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=info"],
|
|
180
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=success"],
|
|
181
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=warning"],
|
|
182
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="tone=danger"] {
|
|
183
183
|
--_ui-selection-context-surface: light-dark(
|
|
184
184
|
oklch(from var(--_ui-card-surface) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
185
185
|
oklch(from var(--_ui-card-surface) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
@@ -191,25 +191,25 @@
|
|
|
191
191
|
--_ui-selection-context-text: var(--ui-text-primary);
|
|
192
192
|
}
|
|
193
193
|
|
|
194
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="size=sm"] {
|
|
194
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="size=sm"] {
|
|
195
195
|
inline-size: min(22rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
196
196
|
max-inline-size: min(22rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
197
197
|
}
|
|
198
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="size=md"] {
|
|
198
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="size=md"] {
|
|
199
199
|
inline-size: min(28rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
200
200
|
max-inline-size: min(28rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
201
201
|
}
|
|
202
|
-
:scope:where([data-component~="ui-card"])[data-ui-card-state~="size=lg"] {
|
|
202
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[data-ui-card-state~="size=lg"] {
|
|
203
203
|
inline-size: min(36rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
204
204
|
max-inline-size: min(36rem, 100%, calc(100vw - var(--ui-space-2) * 2));
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
208
|
-
:scope:where([data-component~="ui-card"])[hidden] {
|
|
208
|
+
:scope:where(:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component])))[hidden] {
|
|
209
209
|
display: none !important;
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
|
-
@scope ([data-component~="ui-card"]) to ([data-component]) {
|
|
212
|
+
@scope (:is([component~="ui-card"]:not(template), [data-component~="ui-card"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
213
213
|
/* A surface that groups content. Its children stack with even space between them, so a card
|
|
214
214
|
needs no layout of its own. */
|
|
215
215
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
package/styles/ui-checkbox.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-checkbox"] { --html-next-scope-owner: "ui-checkbox" !important; }
|
|
7
|
+
:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])) { --html-next-scope-owner: "ui-checkbox" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-checkbox"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-checkbox"]) {
|
|
9
|
+
@scope (:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the component root. */
|
|
12
12
|
--_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
|
|
13
13
|
--_ui-checkbox-invalid-border: var(--ui-checkbox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
input:where(:not([data-component], [data-slotted]))::after {
|
|
90
|
+
input:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
91
91
|
content: "";
|
|
92
92
|
position: absolute !important;
|
|
93
93
|
transform: none !important;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
|
|
106
106
|
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|
|
107
107
|
Centre that box directly; rotated border boxes do not centre the visible check. */
|
|
108
|
-
input:checked:where(:not([data-component], [data-slotted]))::after {
|
|
108
|
+
input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
109
109
|
inset: 50% auto auto 50% !important;
|
|
110
110
|
inline-size: calc(var(--_ui-checkbox-size) * 0.7) !important;
|
|
111
111
|
block-size: calc(var(--_ui-checkbox-size) * 0.7) !important;
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
animation: ui-checkbox-check var(--ui-motion-base) var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
input:indeterminate:where(:not([data-component], [data-slotted]))::after {
|
|
120
|
+
input:indeterminate:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
121
121
|
mask: none;
|
|
122
122
|
animation: none;
|
|
123
123
|
inset: 50% calc(var(--_ui-checkbox-size) * 0.23 / 1.125) auto !important;
|
|
@@ -145,9 +145,9 @@
|
|
|
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,
|
|
150
|
-
input:checked: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
|
+
input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
151
151
|
transition: none;
|
|
152
152
|
animation: none;
|
|
153
153
|
}
|
|
@@ -160,31 +160,31 @@
|
|
|
160
160
|
background: Highlight;
|
|
161
161
|
border-color: Highlight;
|
|
162
162
|
}
|
|
163
|
-
input:checked:where(:not([data-component], [data-slotted]))::after,
|
|
164
|
-
input:indeterminate:where(:not([data-component], [data-slotted]))::after {
|
|
163
|
+
input:checked:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
164
|
+
input:indeterminate:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
165
165
|
forced-color-adjust: none;
|
|
166
166
|
background: HighlightText;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
@media (hover: hover) and (forced-colors: none) {
|
|
171
|
-
:scope:where([data-component~="ui-checkbox"]):hover input:enabled {
|
|
171
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled {
|
|
172
172
|
--_choice-hover-wash: var(--ui-neutral-wash-hover);
|
|
173
173
|
background-image:
|
|
174
174
|
linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
|
|
175
175
|
var(--ui-surface-highlight, linear-gradient(transparent, transparent));
|
|
176
176
|
}
|
|
177
177
|
|
|
178
|
-
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:not([aria-invalid="true"]) {
|
|
178
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:not([aria-invalid="true"]) {
|
|
179
179
|
border-color: var(--ui-control-border-hover, var(--ui-border-strong));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate) {
|
|
182
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:is(:checked, :indeterminate) {
|
|
183
183
|
background-color: var(--ui-choice-hover-surface);
|
|
184
184
|
background-image: var(--ui-choice-hover-highlight, none);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]) {
|
|
187
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))):hover input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]) {
|
|
188
188
|
border-color: var(--ui-choice-hover-surface);
|
|
189
189
|
}
|
|
190
190
|
}
|
|
@@ -194,18 +194,18 @@
|
|
|
194
194
|
outline-offset: var(--ui-focus-width);
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="invalid"] input {
|
|
197
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="invalid"] input {
|
|
198
198
|
border-color: var(--_ui-checkbox-invalid-border);
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] {
|
|
201
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] {
|
|
202
202
|
color: var(--ui-disabled-text);
|
|
203
203
|
cursor: not-allowed;
|
|
204
204
|
}
|
|
205
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] .description {
|
|
205
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] .description {
|
|
206
206
|
color: var(--ui-disabled-text);
|
|
207
207
|
}
|
|
208
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] input {
|
|
208
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="disabled"] input {
|
|
209
209
|
border-color: var(--ui-disabled-border);
|
|
210
210
|
background: var(--ui-disabled-surface);
|
|
211
211
|
box-shadow: none;
|
|
@@ -215,29 +215,29 @@
|
|
|
215
215
|
/* A sized choice keeps its box and aligns instead: the label takes that size's field type size,
|
|
216
216
|
and the first line centres in that control height, so the label shares a row's baseline.
|
|
217
217
|
Multi-line labels and descriptions still grow downward from that first line. */
|
|
218
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"] {
|
|
218
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=sm"] {
|
|
219
219
|
--_font: var(--ui-font-size-sm);
|
|
220
220
|
--_row: var(--ui-control-size-sm);
|
|
221
221
|
}
|
|
222
222
|
|
|
223
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
|
|
223
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=lg"] {
|
|
224
224
|
--_font: var(--ui-font-size-md);
|
|
225
225
|
--_row: var(--ui-control-size-lg);
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"],
|
|
229
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
|
|
228
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=sm"],
|
|
229
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[data-ui-checkbox-state~="size=lg"] {
|
|
230
230
|
--_line: calc(var(--_font) * var(--ui-line-height-md));
|
|
231
231
|
font-size: var(--_font);
|
|
232
232
|
padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-checkbox-size, 1.125rem))) / 2)) !important;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
235
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
236
|
-
:scope:where([data-component~="ui-checkbox"])[hidden] {
|
|
236
|
+
:scope:where(:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component])))[hidden] {
|
|
237
237
|
display: none !important;
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
-
@scope ([data-component~="ui-checkbox"]) to ([data-component]) {
|
|
240
|
+
@scope (:is([component~="ui-checkbox"]:not(template), [data-component~="ui-checkbox"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
241
241
|
/* The label, and under it an optional line saying what the choice means. */
|
|
242
242
|
|
|
243
243
|
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|