@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-toast.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-toast"] { --html-next-scope-owner: "ui-toast" !important; }
|
|
7
|
+
:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])) { --html-next-scope-owner: "ui-toast" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-toast"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* Component hooks stay on this toast; group overlay values may inherit from the region. */
|
|
11
11
|
|
|
12
|
-
:scope:where([data-component~="ui-toast"]) {
|
|
12
|
+
:scope:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component]))) {
|
|
13
13
|
--_ui-toast-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
14
14
|
--_ui-surface-text: var(--ui-text-primary);
|
|
15
15
|
--_ui-toast-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
@@ -35,22 +35,22 @@
|
|
|
35
35
|
pointer-events: auto;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
:scope:where([data-component~="ui-toast"])[data-ui-toast-state~="tone=info"] {
|
|
38
|
+
:scope:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[data-ui-toast-state~="tone=info"] {
|
|
39
39
|
--_ui-toast-accent: var(--ui-info-soft-border);
|
|
40
40
|
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
41
41
|
--_ui-toast-surface: var(--ui-info-soft);
|
|
42
42
|
}
|
|
43
|
-
:scope:where([data-component~="ui-toast"])[data-ui-toast-state~="tone=success"] {
|
|
43
|
+
:scope:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[data-ui-toast-state~="tone=success"] {
|
|
44
44
|
--_ui-toast-accent: var(--ui-success-soft-border);
|
|
45
45
|
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
46
46
|
--_ui-toast-surface: var(--ui-success-soft);
|
|
47
47
|
}
|
|
48
|
-
:scope:where([data-component~="ui-toast"])[data-ui-toast-state~="tone=warning"] {
|
|
48
|
+
:scope:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[data-ui-toast-state~="tone=warning"] {
|
|
49
49
|
--_ui-toast-accent: var(--ui-warning-soft-border);
|
|
50
50
|
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
51
51
|
--_ui-toast-surface: var(--ui-warning-soft);
|
|
52
52
|
}
|
|
53
|
-
:scope:where([data-component~="ui-toast"])[data-ui-toast-state~="tone=danger"] {
|
|
53
|
+
:scope:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[data-ui-toast-state~="tone=danger"] {
|
|
54
54
|
--_ui-toast-accent: var(--ui-danger-soft-border);
|
|
55
55
|
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
56
56
|
--_ui-toast-surface: var(--ui-danger-soft);
|
|
@@ -63,17 +63,17 @@
|
|
|
63
63
|
.action:not(:has(> *)) {
|
|
64
64
|
display: none !important;
|
|
65
65
|
}
|
|
66
|
-
:scope:where([data-component~="ui-toast"])[hidden] {
|
|
66
|
+
:scope:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[hidden] {
|
|
67
67
|
display: none !important;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
@scope ([data-component~="ui-toast"]) to ([data-component]) {
|
|
70
|
+
@scope (:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
71
71
|
/* Component hooks stay on this toast; group overlay values may inherit from the region. */
|
|
72
72
|
}
|
|
73
|
-
@scope ([data-slotted~="ui-toast"]:not([data-component])) to ([data-component], [data-slotted]) {
|
|
73
|
+
@scope ([data-slotted~="ui-toast"]:not(:is([component]:not(template), [data-component]:not([component])))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
74
74
|
/* Component hooks stay on this toast; group overlay values may inherit from the region. */
|
|
75
75
|
|
|
76
|
-
:where([data-component~="ui-toast"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
76
|
+
:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component]))):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
77
77
|
--_ui-toast-accent: var(--ui-overlay-border, var(--ui-border-strong));
|
|
78
78
|
--_ui-surface-text: var(--ui-text-primary);
|
|
79
79
|
--_ui-toast-surface: var(--ui-overlay-surface, var(--ui-surface-muted));
|
|
@@ -99,22 +99,22 @@
|
|
|
99
99
|
pointer-events: auto;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
:where([data-component~="ui-toast"])[data-ui-toast-state~="tone=info"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
102
|
+
:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[data-ui-toast-state~="tone=info"]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
103
103
|
--_ui-toast-accent: var(--ui-info-soft-border);
|
|
104
104
|
--_ui-surface-text: var(--ui-info-subtle-text);
|
|
105
105
|
--_ui-toast-surface: var(--ui-info-soft);
|
|
106
106
|
}
|
|
107
|
-
:where([data-component~="ui-toast"])[data-ui-toast-state~="tone=success"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
107
|
+
:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[data-ui-toast-state~="tone=success"]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
108
108
|
--_ui-toast-accent: var(--ui-success-soft-border);
|
|
109
109
|
--_ui-surface-text: var(--ui-success-subtle-text);
|
|
110
110
|
--_ui-toast-surface: var(--ui-success-soft);
|
|
111
111
|
}
|
|
112
|
-
:where([data-component~="ui-toast"])[data-ui-toast-state~="tone=warning"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
112
|
+
:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[data-ui-toast-state~="tone=warning"]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
113
113
|
--_ui-toast-accent: var(--ui-warning-soft-border);
|
|
114
114
|
--_ui-surface-text: var(--ui-warning-subtle-text);
|
|
115
115
|
--_ui-toast-surface: var(--ui-warning-soft);
|
|
116
116
|
}
|
|
117
|
-
:where([data-component~="ui-toast"])[data-ui-toast-state~="tone=danger"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
117
|
+
:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[data-ui-toast-state~="tone=danger"]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
118
118
|
--_ui-toast-accent: var(--ui-danger-soft-border);
|
|
119
119
|
--_ui-surface-text: var(--ui-danger-subtle-text);
|
|
120
120
|
--_ui-toast-surface: var(--ui-danger-soft);
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
.action:not(:has(> *)):where(:scope, :scope *) {
|
|
128
128
|
display: none !important;
|
|
129
129
|
}
|
|
130
|
-
:where([data-component~="ui-toast"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
130
|
+
:where(:is([component~="ui-toast"]:not(template), [data-component~="ui-toast"]:not([component])))[hidden]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
131
131
|
display: none !important;
|
|
132
132
|
}
|
|
133
133
|
}
|
package/styles/ui-tooltip.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-tooltip"] { --html-next-scope-owner: "ui-tooltip" !important; }
|
|
7
|
+
:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])) { --html-next-scope-owner: "ui-tooltip" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-tooltip"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-tooltip"]) {
|
|
9
|
+
@scope (:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))) {
|
|
11
11
|
--_ui-material-scale: 0.08;
|
|
12
12
|
/* Resolve shared part values at the component root. */
|
|
13
13
|
--_ui-tooltip-border: var(--ui-tooltip-border);
|
|
@@ -43,56 +43,35 @@
|
|
|
43
43
|
|
|
44
44
|
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
45
45
|
.surface {
|
|
46
|
-
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border
|
|
46
|
+
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border)));
|
|
47
47
|
position: relative;
|
|
48
48
|
display: flex !important;
|
|
49
49
|
align-items: baseline !important;
|
|
50
|
-
gap: var(--ui-space-
|
|
50
|
+
gap: var(--ui-space-1) !important;
|
|
51
51
|
box-sizing: border-box !important;
|
|
52
52
|
max-inline-size: var(--_ui-tooltip-max-inline-size, 18rem);
|
|
53
53
|
border: var(--ui-border-width) solid var(--_tooltip-line);
|
|
54
|
-
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-
|
|
54
|
+
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-sm)));
|
|
55
55
|
background: var(--_ui-tooltip-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
56
56
|
color: var(--_ui-tooltip-text, var(--ui-text-primary));
|
|
57
|
-
padding: var(--ui-space-
|
|
57
|
+
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
58
58
|
font-family: var(--ui-font-family-sans);
|
|
59
|
-
font-size: var(--ui-font-size-
|
|
59
|
+
font-size: var(--ui-font-size-xs);
|
|
60
60
|
line-height: var(--ui-line-height-tight);
|
|
61
|
-
box-shadow: var(--_ui-tooltip-shadow, var(--ui-overlay-shadow, var(--ui-elevation-tooltip, var(--ui-shadow-
|
|
61
|
+
box-shadow: var(--_ui-tooltip-shadow, var(--ui-overlay-shadow, var(--ui-elevation-tooltip, var(--ui-shadow-sm))));
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
/*
|
|
65
|
-
|
|
64
|
+
/* A hint keeps one edge and a quiet lift. The shared palette supplies its tint;
|
|
65
|
+
the nearly opaque label plane and matching arrow remain readable over content. */
|
|
66
66
|
.surface {
|
|
67
67
|
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
68
|
-
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
69
|
-
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
70
|
-
--_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 8px);
|
|
71
68
|
--_ui-material-content-color: var(
|
|
72
69
|
--_ui-tooltip-surface,
|
|
73
|
-
var(--
|
|
70
|
+
var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated)))
|
|
74
71
|
);
|
|
75
|
-
--_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
|
|
76
72
|
background:
|
|
77
|
-
var(--ui-material-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent))) padding-box,
|
|
78
73
|
linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color)) padding-box,
|
|
79
|
-
linear-gradient(
|
|
80
|
-
border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
|
|
81
|
-
border-color: var(
|
|
82
|
-
--_ui-tooltip-border,
|
|
83
|
-
color-mix(in oklab, var(--ui-overlay-border, var(--ui-border-strong)) calc((1 - var(--_ui-material-active)) * 100%), transparent)
|
|
84
|
-
);
|
|
85
|
-
box-shadow: var(
|
|
86
|
-
--_ui-tooltip-shadow,
|
|
87
|
-
var(
|
|
88
|
-
--ui-overlay-shadow,
|
|
89
|
-
0 calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 8px) calc(
|
|
90
|
-
var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 24px
|
|
91
|
-
) color-mix(in oklab, var(--ui-text-primary) 15%, transparent),
|
|
92
|
-
inset 0 0 0 calc(var(--_ui-material-active) * var(--ui-border-width)) var(--ui-material-edge, var(--ui-border-strong)),
|
|
93
|
-
var(--ui-elevation-tooltip, var(--ui-shadow-md))
|
|
94
|
-
)
|
|
95
|
-
);
|
|
74
|
+
linear-gradient(transparent, transparent) border-box;
|
|
96
75
|
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.08) * 32px));
|
|
97
76
|
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.08) * 32px));
|
|
98
77
|
}
|
|
@@ -129,7 +108,7 @@
|
|
|
129
108
|
padding-inline-start: var(--ui-space-2) !important;
|
|
130
109
|
border-inline-start: 1px solid color-mix(in oklab, currentColor 28%, transparent);
|
|
131
110
|
color: color-mix(in oklab, currentColor 72%, transparent);
|
|
132
|
-
font-size: var(--ui-font-size-
|
|
111
|
+
font-size: var(--ui-font-size-2xs);
|
|
133
112
|
font-weight: var(--ui-font-normal);
|
|
134
113
|
white-space: nowrap;
|
|
135
114
|
vertical-align: baseline;
|
|
@@ -141,7 +120,7 @@
|
|
|
141
120
|
|
|
142
121
|
/* A <kbd> takes the browser's monospace; the hint reads in the tooltip's own type. */
|
|
143
122
|
|
|
144
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-tooltip-state~="inverse"] .surface {
|
|
123
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-tooltip-state~="inverse"] .surface {
|
|
145
124
|
--_tooltip-line: var(--_ui-tooltip-inverse-surface, var(--ui-text-primary));
|
|
146
125
|
background: var(--_ui-tooltip-inverse-surface, var(--ui-text-primary));
|
|
147
126
|
color: var(--_ui-tooltip-inverse-text, var(--ui-surface-default));
|
|
@@ -149,7 +128,7 @@
|
|
|
149
128
|
|
|
150
129
|
/* A rotated square shares the surface fill and draws the two outward border edges. Its centre sits on
|
|
151
130
|
* the surface border line, so the fill covers that stretch of border and the outline runs unbroken. */
|
|
152
|
-
.surface:where(:not([data-component], [data-slotted]))::after {
|
|
131
|
+
.surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
153
132
|
content: "";
|
|
154
133
|
position: absolute;
|
|
155
134
|
z-index: 1;
|
|
@@ -167,7 +146,7 @@
|
|
|
167
146
|
transform: scale(1.25, 0.85) rotate(45deg);
|
|
168
147
|
}
|
|
169
148
|
|
|
170
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="bottom"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
149
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="bottom"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
171
150
|
inset-block-start: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
172
151
|
inset-block-end: auto;
|
|
173
152
|
border-inline-end-width: 0;
|
|
@@ -178,74 +157,74 @@
|
|
|
178
157
|
border-start-start-radius: var(--ui-border-width);
|
|
179
158
|
}
|
|
180
159
|
|
|
181
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-align="center"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
160
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-align="center"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
182
161
|
inset-inline-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.625rem) / 2);
|
|
183
162
|
}
|
|
184
163
|
|
|
185
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
164
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-align="end"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
186
165
|
inset-inline-start: auto;
|
|
187
166
|
inset-inline-end: var(--ui-space-3);
|
|
188
167
|
}
|
|
189
168
|
|
|
190
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
191
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
169
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="left"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
170
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="right"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
192
171
|
inset-block-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.625rem) / 2);
|
|
193
172
|
inset-block-end: auto;
|
|
194
173
|
border: 0 solid var(--_tooltip-line);
|
|
195
174
|
}
|
|
196
175
|
|
|
197
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
176
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="left"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
198
177
|
inset-inline-start: auto;
|
|
199
178
|
inset-inline-end: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
200
179
|
border-inline-end-width: var(--ui-border-width);
|
|
201
180
|
border-block-start-width: var(--ui-border-width);
|
|
202
181
|
}
|
|
203
182
|
|
|
204
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
183
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="right"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
205
184
|
inset-inline-start: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
206
185
|
inset-inline-end: auto;
|
|
207
186
|
border-inline-start-width: var(--ui-border-width);
|
|
208
187
|
border-block-end-width: var(--ui-border-width);
|
|
209
188
|
}
|
|
210
189
|
|
|
211
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"][data-ui-actual-align="start"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
212
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"][data-ui-actual-align="start"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
190
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="left"][data-ui-actual-align="start"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
191
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="right"][data-ui-actual-align="start"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
213
192
|
inset-block-start: var(--ui-space-3);
|
|
214
193
|
}
|
|
215
194
|
|
|
216
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"][data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
217
|
-
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"][data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
195
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="left"][data-ui-actual-align="end"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after,
|
|
196
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[data-ui-actual-placement="right"][data-ui-actual-align="end"] .surface:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
218
197
|
inset-block-start: auto;
|
|
219
198
|
inset-block-end: var(--ui-space-3);
|
|
220
199
|
}
|
|
221
200
|
|
|
222
|
-
:scope:where([data-component~="ui-tooltip"]):popover-open {
|
|
201
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))):popover-open {
|
|
223
202
|
opacity: 1;
|
|
224
203
|
transform: translateY(0);
|
|
225
204
|
}
|
|
226
205
|
|
|
227
206
|
@starting-style {
|
|
228
|
-
:scope:where([data-component~="ui-tooltip"]):popover-open {
|
|
207
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))):popover-open {
|
|
229
208
|
opacity: 0;
|
|
230
209
|
transform: translateY(4px);
|
|
231
210
|
}
|
|
232
211
|
}
|
|
233
212
|
|
|
234
|
-
:scope:where([data-component~="ui-tooltip"])[hidden] {
|
|
213
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component])))[hidden] {
|
|
235
214
|
display: none !important;
|
|
236
215
|
}
|
|
237
216
|
|
|
238
217
|
@media (prefers-reduced-motion: reduce) {
|
|
239
|
-
:scope:where([data-component~="ui-tooltip"]) {
|
|
218
|
+
:scope:where(:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))) {
|
|
240
219
|
transition: none;
|
|
241
220
|
}
|
|
242
221
|
}
|
|
243
222
|
}
|
|
244
|
-
@scope ([data-component~="ui-tooltip"]) to ([data-component]) {
|
|
223
|
+
@scope (:is([component~="ui-tooltip"]:not(template), [data-component~="ui-tooltip"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
245
224
|
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
246
225
|
|
|
247
|
-
/*
|
|
248
|
-
|
|
226
|
+
/* A hint keeps one edge and a quiet lift. The shared palette supplies its tint;
|
|
227
|
+
the nearly opaque label plane and matching arrow remain readable over content. */
|
|
249
228
|
|
|
250
229
|
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
251
230
|
}
|
package/styles/ui-top-bar.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-top-bar"] { --html-next-scope-owner: "ui-top-bar" !important; }
|
|
7
|
+
:is([component~="ui-top-bar"]:not(template), [data-component~="ui-top-bar"]:not([component])) { --html-next-scope-owner: "ui-top-bar" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-top-bar"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-top-bar"]) {
|
|
9
|
+
@scope (:is([component~="ui-top-bar"]:not(template), [data-component~="ui-top-bar"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-top-bar"]:not(template), [data-component~="ui-top-bar"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the component root. */
|
|
12
12
|
--_ui-top-bar-actions-gap: var(--ui-top-bar-actions-gap);
|
|
13
13
|
|
|
@@ -70,11 +70,11 @@
|
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
73
|
-
:scope:where([data-component~="ui-top-bar"])[hidden] {
|
|
73
|
+
:scope:where(:is([component~="ui-top-bar"]:not(template), [data-component~="ui-top-bar"]:not([component])))[hidden] {
|
|
74
74
|
display: none !important;
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
@scope ([data-component~="ui-top-bar"]) to ([data-component]) {
|
|
77
|
+
@scope (:is([component~="ui-top-bar"]:not(template), [data-component~="ui-top-bar"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
78
78
|
@media (prefers-reduced-motion: reduce) {
|
|
79
79
|
}
|
|
80
80
|
|