@threadlabs/looma 0.47.5 → 0.49.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 +39 -16
- package/components/shared/input-modality.d.ts +2 -0
- package/components/shared/input-modality.js +2 -0
- package/components/shared/overlay.js +9 -0
- package/components/ui-card/ui-card.html +8 -0
- package/components/ui-compact-content/ui-compact-content.html +8 -0
- package/components/ui-compact-content/ui-compact-content.js +1 -0
- package/components/ui-compact-editor/ui-compact-editor.css +39 -0
- package/components/ui-compact-editor/ui-compact-editor.html +22 -0
- package/components/ui-compact-editor/ui-compact-editor.js +30 -0
- package/components/ui-compact-mark/ui-compact-mark.html +26 -0
- package/components/ui-compact-node/ui-compact-node.html +14 -0
- package/components/ui-dialog/ui-dialog.html +4 -1
- package/components/ui-editor/ui-editor.css +531 -0
- package/components/ui-editor/ui-editor.html +399 -0
- package/components/ui-editor/ui-editor.js +87 -0
- package/components/ui-editor-chip-editor/ui-editor-chip-editor.html +2 -1
- package/components/ui-editor-chip-editor/ui-editor-chip-editor.js +6 -0
- package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.html +59 -0
- package/components/ui-editor-formatting-tools/ui-editor-formatting-tools.js +44 -0
- package/components/ui-editor-link-form/ui-editor-link-form.html +1 -0
- package/components/ui-editor-link-form/ui-editor-link-form.js +7 -0
- package/components/ui-editor-surface/ui-editor-surface.css +109 -0
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +1 -1
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.js +7 -4
- package/components/ui-menu/ui-menu.html +4 -1
- package/components/ui-meter/ui-meter.html +7 -7
- package/components/ui-popover/ui-popover.html +4 -1
- package/components/ui-radio-group/ui-radio-group.html +3 -1
- package/components/ui-radio-group/ui-radio-group.js +5 -0
- package/dist/index.js +57 -53
- package/docs/README.md +5 -7
- package/docs/catalog.json +945 -86
- package/docs/catalog.mjs +2 -2
- package/docs/framework-examples.d.mts +7 -0
- package/docs/framework-examples.mjs +89 -0
- package/docs/index.d.ts +1 -1
- package/docs/render.mjs +3 -40
- package/editor/chunks/content.js +29 -0
- package/{vue/chunks/compact.js → editor/chunks/dist.js} +103 -230
- package/editor/chunks/expressmark.js +1 -24
- package/editor/chunks/extensions.js +63 -455
- package/editor/chunks/session.js +61 -0
- package/editor/chunks/{ui.js → table-overlay.js} +51 -1
- package/editor/compact.d.ts +22 -0
- package/editor/compact.js +63 -0
- package/editor/components.css +3699 -0
- package/editor/document-session.d.ts +274 -0
- package/editor/extensions/index.js +2 -2
- package/editor/index.d.ts +4 -0
- package/editor/index.js +15578 -4
- package/editor/session.d.ts +1 -1
- package/editor/toolbar-tooltip.d.ts +5 -1
- package/editor/ui.js +1 -2
- package/package.json +31 -46
- package/styles/ui-action-bar.css +1 -1
- package/styles/ui-affordance-scope.css +1 -1
- package/styles/ui-avatar-group.css +1 -1
- package/styles/ui-avatar.css +1 -1
- package/styles/ui-badge.css +1 -1
- package/styles/ui-breadcrumb-item.css +1 -1
- package/styles/ui-breadcrumbs.css +1 -1
- package/styles/ui-button.css +1 -1
- package/styles/ui-callout.css +1 -1
- package/styles/ui-card-group.css +1 -1
- package/styles/ui-card.css +9 -1
- package/styles/ui-checkbox.css +1 -1
- package/styles/ui-cluster.css +1 -1
- package/styles/ui-color-picker.css +1 -1
- package/styles/ui-combobox.css +1 -1
- package/styles/ui-compact-content.css +1 -0
- package/styles/ui-compact-editor.css +1 -0
- package/styles/ui-compact-mark.css +1 -0
- package/styles/ui-compact-node.css +1 -0
- package/styles/ui-container.css +1 -1
- package/styles/ui-context-menu.css +1 -1
- package/styles/ui-cover.css +1 -1
- package/styles/ui-curve-editor.css +1 -1
- package/styles/ui-cycle-button.css +1 -1
- package/styles/ui-description-item.css +1 -1
- package/styles/ui-description-list.css +1 -1
- package/styles/ui-dialog.css +9 -3
- package/styles/ui-disclosure.css +1 -1
- package/styles/ui-editable.css +1 -1
- 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 -0
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +1 -1
- 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 +1 -1
- package/styles/ui-editor-mention-menu.css +1 -1
- package/styles/ui-editor-slash-menu-group.css +1 -1
- package/styles/ui-editor-slash-menu-item.css +1 -1
- package/styles/ui-editor-slash-menu.css +1 -1
- package/styles/ui-editor-surface.css +1 -1
- package/styles/ui-editor-table-context-menu.css +1 -1
- package/styles/ui-editor-table-overlay.css +1 -1
- package/styles/ui-editor-table-toolbar.css +1 -1
- package/styles/ui-editor-toolbar.css +1 -1
- package/styles/ui-editor.css +1 -0
- package/styles/ui-floating-action-button.css +1 -1
- package/styles/ui-form-field.css +1 -1
- package/styles/ui-grid.css +1 -1
- package/styles/ui-icon-button.css +1 -1
- package/styles/ui-icon.css +1 -1
- package/styles/ui-image.css +1 -1
- package/styles/ui-input-group.css +1 -1
- package/styles/ui-input.css +1 -1
- package/styles/ui-light-editor.css +1 -1
- package/styles/ui-list-item.css +1 -1
- package/styles/ui-list.css +1 -1
- package/styles/ui-listbox.css +1 -1
- package/styles/ui-menu-group.css +1 -1
- package/styles/ui-menu-item.css +1 -1
- package/styles/ui-menu.css +5 -2
- package/styles/ui-meter.css +8 -8
- package/styles/ui-nav-item.css +1 -1
- package/styles/ui-number-input.css +1 -1
- package/styles/ui-page-header.css +1 -1
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +5 -2
- package/styles/ui-radio-group.css +1 -1
- package/styles/ui-radio.css +1 -1
- package/styles/ui-reel.css +1 -1
- package/styles/ui-scroll-area.css +1 -1
- package/styles/ui-search-result-row.css +1 -1
- package/styles/ui-search-shell.css +1 -1
- package/styles/ui-section.css +1 -1
- package/styles/ui-select.css +1 -1
- package/styles/ui-separator.css +1 -1
- package/styles/ui-sidebar.css +1 -1
- package/styles/ui-site-header.css +1 -1
- package/styles/ui-skeleton.css +1 -1
- package/styles/ui-slider.css +1 -1
- package/styles/ui-spinner.css +1 -1
- package/styles/ui-stack.css +1 -1
- package/styles/ui-status-message.css +1 -1
- package/styles/ui-swatch.css +1 -1
- package/styles/ui-switch.css +1 -1
- package/styles/ui-switcher.css +1 -1
- package/styles/ui-table.css +1 -1
- package/styles/ui-tabs.css +1 -1
- package/styles/ui-text.css +1 -1
- package/styles/ui-textarea.css +1 -1
- package/styles/ui-toast-region.css +1 -1
- package/styles/ui-toast.css +1 -1
- package/styles/ui-tooltip.css +1 -1
- package/styles/ui-top-bar.css +1 -1
- package/styles/ui-tree-item.css +1 -1
- package/styles/ui-tree.css +1 -1
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +1 -1
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +1 -1
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +1 -1
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +1 -1
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +1 -1
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +1 -1
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +1 -1
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +1 -1
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +1 -1
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +1 -1
- package/vanilla/UiCompactContent.d.ts +23 -0
- package/vanilla/UiCompactContent.js +51 -0
- package/vanilla/UiCompactEditor.d.ts +29 -0
- package/vanilla/UiCompactEditor.js +59 -0
- package/vanilla/UiCompactMark.d.ts +25 -0
- package/vanilla/UiCompactMark.js +206 -0
- package/vanilla/UiCompactNode.d.ts +23 -0
- package/vanilla/UiCompactNode.js +156 -0
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +1 -1
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +1 -1
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +1 -1
- package/vanilla/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +1 -1
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.js +1 -1
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +1 -1
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +1 -1
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +1 -1
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +1 -1
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +1 -1
- package/vanilla/UiEditor.d.ts +57 -0
- package/vanilla/UiEditor.js +1067 -0
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +1 -1
- package/vanilla/UiEditorChipEditor.d.ts +2 -1
- package/vanilla/UiEditorChipEditor.js +10 -10
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +1 -1
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +1 -1
- package/vanilla/UiEditorFormattingTools.d.ts +27 -0
- package/vanilla/UiEditorFormattingTools.js +188 -0
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +1 -1
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +1 -1
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +1 -1
- package/vanilla/UiEditorLinkForm.d.ts +2 -1
- package/vanilla/UiEditorLinkForm.js +41 -41
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +1 -1
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +1 -1
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +1 -1
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +1 -1
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +1 -1
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +1 -1
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +10 -5
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +1 -1
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +1 -1
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +1 -1
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +1 -1
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +1 -1
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +1 -1
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +1 -1
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +1 -1
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +1 -1
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +1 -1
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +1 -1
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +1 -1
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +1 -1
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +1 -1
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +1 -1
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +1 -1
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +1 -1
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +1 -1
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +1 -1
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +1 -1
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +1 -1
- package/vanilla/UiRadioGroup.d.ts +2 -1
- package/vanilla/UiRadioGroup.js +33 -28
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +1 -1
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +1 -1
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +1 -1
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +1 -1
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +1 -1
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +1 -1
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +1 -1
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +1 -1
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +1 -1
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +1 -1
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +1 -1
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +1 -1
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +1 -1
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +1 -1
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +1 -1
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +1 -1
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +1 -1
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +1 -1
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +1 -1
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +1 -1
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +1 -1
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +1 -1
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +1 -1
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +1 -1
- package/vanilla/index.js +6 -0
- package/editor/chunks/table-backgrounds.js +0 -51
- package/vue/UiActionBar.d.ts +0 -19
- package/vue/UiActionBar.js +0 -2
- package/vue/UiActionBar.vue +0 -90
- package/vue/UiAffordanceScope.d.ts +0 -35
- package/vue/UiAffordanceScope.js +0 -2
- package/vue/UiAffordanceScope.vue +0 -182
- package/vue/UiAvatar.d.ts +0 -71
- package/vue/UiAvatar.js +0 -2
- package/vue/UiAvatar.vue +0 -394
- package/vue/UiAvatarGroup.d.ts +0 -53
- package/vue/UiAvatarGroup.js +0 -2
- package/vue/UiAvatarGroup.vue +0 -305
- package/vue/UiBadge.d.ts +0 -49
- package/vue/UiBadge.js +0 -2
- package/vue/UiBadge.vue +0 -810
- package/vue/UiBreadcrumbItem.d.ts +0 -29
- package/vue/UiBreadcrumbItem.js +0 -2
- package/vue/UiBreadcrumbItem.vue +0 -192
- package/vue/UiBreadcrumbs.d.ts +0 -29
- package/vue/UiBreadcrumbs.js +0 -2
- package/vue/UiBreadcrumbs.vue +0 -117
- package/vue/UiButton.d.ts +0 -131
- package/vue/UiButton.js +0 -2
- package/vue/UiButton.vue +0 -1609
- package/vue/UiCallout.d.ts +0 -35
- package/vue/UiCallout.js +0 -2
- package/vue/UiCallout.vue +0 -418
- package/vue/UiCard.d.ts +0 -81
- package/vue/UiCard.js +0 -2
- package/vue/UiCard.vue +0 -522
- package/vue/UiCardGroup.d.ts +0 -41
- package/vue/UiCardGroup.js +0 -2
- package/vue/UiCardGroup.vue +0 -168
- package/vue/UiCheckbox.d.ts +0 -95
- package/vue/UiCheckbox.js +0 -2
- package/vue/UiCheckbox.vue +0 -601
- package/vue/UiCluster.d.ts +0 -65
- package/vue/UiCluster.js +0 -2
- package/vue/UiCluster.vue +0 -304
- package/vue/UiColorPicker.d.ts +0 -71
- package/vue/UiColorPicker.js +0 -2
- package/vue/UiColorPicker.vue +0 -563
- package/vue/UiCombobox.d.ts +0 -538
- package/vue/UiCombobox.js +0 -2
- package/vue/UiCombobox.vue +0 -2894
- package/vue/UiContainer.d.ts +0 -41
- package/vue/UiContainer.js +0 -2
- package/vue/UiContainer.vue +0 -177
- package/vue/UiContextMenu.d.ts +0 -69
- package/vue/UiContextMenu.js +0 -2
- package/vue/UiContextMenu.vue +0 -289
- package/vue/UiCover.d.ts +0 -29
- package/vue/UiCover.js +0 -2
- package/vue/UiCover.vue +0 -127
- package/vue/UiCurveEditor.d.ts +0 -59
- package/vue/UiCurveEditor.js +0 -2
- package/vue/UiCurveEditor.vue +0 -429
- package/vue/UiCycleButton.d.ts +0 -69
- package/vue/UiCycleButton.js +0 -2
- package/vue/UiCycleButton.vue +0 -403
- package/vue/UiDescriptionItem.d.ts +0 -29
- package/vue/UiDescriptionItem.js +0 -2
- package/vue/UiDescriptionItem.vue +0 -124
- package/vue/UiDescriptionList.d.ts +0 -41
- package/vue/UiDescriptionList.js +0 -2
- package/vue/UiDescriptionList.vue +0 -217
- package/vue/UiDialog.d.ts +0 -97
- package/vue/UiDialog.js +0 -2
- package/vue/UiDialog.vue +0 -817
- package/vue/UiDisclosure.d.ts +0 -107
- package/vue/UiDisclosure.js +0 -2
- package/vue/UiDisclosure.vue +0 -605
- package/vue/UiEditable.d.ts +0 -113
- package/vue/UiEditable.js +0 -2
- package/vue/UiEditable.vue +0 -582
- package/vue/UiEditorBlockActions.d.ts +0 -33
- package/vue/UiEditorBlockActions.js +0 -2
- package/vue/UiEditorBlockActions.vue +0 -163
- package/vue/UiEditorChipEditor.d.ts +0 -45
- package/vue/UiEditorChipEditor.js +0 -2
- package/vue/UiEditorChipEditor.vue +0 -208
- package/vue/UiEditorCodeLanguage.d.ts +0 -41
- package/vue/UiEditorCodeLanguage.js +0 -2
- package/vue/UiEditorCodeLanguage.vue +0 -200
- package/vue/UiEditorFootnoteEditor.d.ts +0 -39
- package/vue/UiEditorFootnoteEditor.js +0 -2
- package/vue/UiEditorFootnoteEditor.vue +0 -152
- package/vue/UiEditorImageToolbar.d.ts +0 -51
- package/vue/UiEditorImageToolbar.js +0 -2
- package/vue/UiEditorImageToolbar.vue +0 -446
- package/vue/UiEditorInsertTableGrid.d.ts +0 -49
- package/vue/UiEditorInsertTableGrid.js +0 -2
- package/vue/UiEditorInsertTableGrid.vue +0 -367
- package/vue/UiEditorLinkCard.d.ts +0 -49
- package/vue/UiEditorLinkCard.js +0 -2
- package/vue/UiEditorLinkCard.vue +0 -385
- package/vue/UiEditorLinkForm.d.ts +0 -131
- package/vue/UiEditorLinkForm.js +0 -2
- package/vue/UiEditorLinkForm.vue +0 -664
- package/vue/UiEditorMentionMenu.d.ts +0 -121
- package/vue/UiEditorMentionMenu.js +0 -2
- package/vue/UiEditorMentionMenu.vue +0 -596
- package/vue/UiEditorMentionMenuItem.d.ts +0 -43
- package/vue/UiEditorMentionMenuItem.js +0 -2
- package/vue/UiEditorMentionMenuItem.vue +0 -205
- package/vue/UiEditorSlashMenu.d.ts +0 -111
- package/vue/UiEditorSlashMenu.js +0 -2
- package/vue/UiEditorSlashMenu.vue +0 -549
- package/vue/UiEditorSlashMenuGroup.d.ts +0 -29
- package/vue/UiEditorSlashMenuGroup.js +0 -2
- package/vue/UiEditorSlashMenuGroup.vue +0 -113
- package/vue/UiEditorSlashMenuItem.d.ts +0 -53
- package/vue/UiEditorSlashMenuItem.js +0 -2
- package/vue/UiEditorSlashMenuItem.vue +0 -249
- package/vue/UiEditorSurface.d.ts +0 -29
- package/vue/UiEditorSurface.js +0 -2
- package/vue/UiEditorSurface.vue +0 -117
- package/vue/UiEditorTableContextMenu.d.ts +0 -57
- package/vue/UiEditorTableContextMenu.js +0 -2
- package/vue/UiEditorTableContextMenu.vue +0 -694
- package/vue/UiEditorTableOverlay.d.ts +0 -191
- package/vue/UiEditorTableOverlay.js +0 -2
- package/vue/UiEditorTableOverlay.vue +0 -1099
- package/vue/UiEditorTableToolbar.d.ts +0 -57
- package/vue/UiEditorTableToolbar.js +0 -2
- package/vue/UiEditorTableToolbar.vue +0 -834
- package/vue/UiEditorToolbar.d.ts +0 -29
- package/vue/UiEditorToolbar.js +0 -2
- package/vue/UiEditorToolbar.vue +0 -296
- package/vue/UiFloatingActionButton.d.ts +0 -41
- package/vue/UiFloatingActionButton.js +0 -2
- package/vue/UiFloatingActionButton.vue +0 -201
- package/vue/UiFormField.d.ts +0 -49
- package/vue/UiFormField.js +0 -2
- package/vue/UiFormField.vue +0 -256
- package/vue/UiGrid.d.ts +0 -41
- package/vue/UiGrid.js +0 -2
- package/vue/UiGrid.vue +0 -190
- package/vue/UiIcon.d.ts +0 -25
- package/vue/UiIcon.js +0 -2
- package/vue/UiIcon.vue +0 -612
- package/vue/UiIconButton.d.ts +0 -101
- package/vue/UiIconButton.js +0 -2
- package/vue/UiIconButton.vue +0 -1141
- package/vue/UiImage.d.ts +0 -85
- package/vue/UiImage.js +0 -2
- package/vue/UiImage.vue +0 -462
- package/vue/UiInput.d.ts +0 -50
- package/vue/UiInput.js +0 -2
- package/vue/UiInput.vue +0 -671
- package/vue/UiInputGroup.d.ts +0 -59
- package/vue/UiInputGroup.js +0 -2
- package/vue/UiInputGroup.vue +0 -447
- package/vue/UiLightEditor.d.ts +0 -83
- package/vue/UiLightEditor.js +0 -2
- package/vue/UiLightEditor.vue +0 -537
- package/vue/UiList.d.ts +0 -49
- package/vue/UiList.js +0 -2
- package/vue/UiList.vue +0 -260
- package/vue/UiListItem.d.ts +0 -65
- package/vue/UiListItem.js +0 -2
- package/vue/UiListItem.vue +0 -407
- package/vue/UiListbox.d.ts +0 -87
- package/vue/UiListbox.js +0 -2
- package/vue/UiListbox.vue +0 -554
- package/vue/UiMenu.d.ts +0 -99
- package/vue/UiMenu.js +0 -2
- package/vue/UiMenu.vue +0 -541
- package/vue/UiMenuGroup.d.ts +0 -29
- package/vue/UiMenuGroup.js +0 -2
- package/vue/UiMenuGroup.vue +0 -105
- package/vue/UiMenuItem.d.ts +0 -89
- package/vue/UiMenuItem.js +0 -2
- package/vue/UiMenuItem.vue +0 -532
- package/vue/UiMeter.d.ts +0 -73
- package/vue/UiMeter.js +0 -2
- package/vue/UiMeter.vue +0 -1112
- package/vue/UiNavItem.d.ts +0 -79
- package/vue/UiNavItem.js +0 -2
- package/vue/UiNavItem.vue +0 -493
- package/vue/UiNumberInput.d.ts +0 -89
- package/vue/UiNumberInput.js +0 -2
- package/vue/UiNumberInput.vue +0 -445
- package/vue/UiPageHeader.d.ts +0 -37
- package/vue/UiPageHeader.js +0 -2
- package/vue/UiPageHeader.vue +0 -192
- package/vue/UiPagination.d.ts +0 -115
- package/vue/UiPagination.js +0 -2
- package/vue/UiPagination.vue +0 -596
- package/vue/UiPopover.d.ts +0 -77
- package/vue/UiPopover.js +0 -2
- package/vue/UiPopover.vue +0 -495
- package/vue/UiRadio.d.ts +0 -77
- package/vue/UiRadio.js +0 -2
- package/vue/UiRadio.vue +0 -475
- package/vue/UiRadioGroup.d.ts +0 -95
- package/vue/UiRadioGroup.js +0 -2
- package/vue/UiRadioGroup.vue +0 -393
- package/vue/UiReel.d.ts +0 -41
- package/vue/UiReel.js +0 -2
- package/vue/UiReel.vue +0 -223
- package/vue/UiScrollArea.d.ts +0 -53
- package/vue/UiScrollArea.js +0 -2
- package/vue/UiScrollArea.vue +0 -307
- package/vue/UiSearchResultRow.d.ts +0 -49
- package/vue/UiSearchResultRow.js +0 -2
- package/vue/UiSearchResultRow.vue +0 -268
- package/vue/UiSearchShell.d.ts +0 -67
- package/vue/UiSearchShell.js +0 -2
- package/vue/UiSearchShell.vue +0 -391
- package/vue/UiSection.d.ts +0 -51
- package/vue/UiSection.js +0 -2
- package/vue/UiSection.vue +0 -331
- package/vue/UiSelect.d.ts +0 -69
- package/vue/UiSelect.js +0 -2
- package/vue/UiSelect.vue +0 -391
- package/vue/UiSeparator.d.ts +0 -37
- package/vue/UiSeparator.js +0 -2
- package/vue/UiSeparator.vue +0 -199
- package/vue/UiSidebar.d.ts +0 -99
- package/vue/UiSidebar.js +0 -2
- package/vue/UiSidebar.vue +0 -579
- package/vue/UiSiteHeader.d.ts +0 -59
- package/vue/UiSiteHeader.js +0 -2
- package/vue/UiSiteHeader.vue +0 -904
- package/vue/UiSkeleton.d.ts +0 -37
- package/vue/UiSkeleton.js +0 -2
- package/vue/UiSkeleton.vue +0 -287
- package/vue/UiSlider.d.ts +0 -89
- package/vue/UiSlider.js +0 -2
- package/vue/UiSlider.vue +0 -448
- package/vue/UiSpinner.d.ts +0 -25
- package/vue/UiSpinner.js +0 -2
- package/vue/UiSpinner.vue +0 -330
- package/vue/UiStack.d.ts +0 -53
- package/vue/UiStack.js +0 -2
- package/vue/UiStack.vue +0 -247
- package/vue/UiStatusMessage.d.ts +0 -43
- package/vue/UiStatusMessage.js +0 -2
- package/vue/UiStatusMessage.vue +0 -239
- package/vue/UiSwatch.d.ts +0 -19
- package/vue/UiSwatch.js +0 -2
- package/vue/UiSwatch.vue +0 -188
- package/vue/UiSwitch.d.ts +0 -77
- package/vue/UiSwitch.js +0 -2
- package/vue/UiSwitch.vue +0 -478
- package/vue/UiSwitcher.d.ts +0 -47
- package/vue/UiSwitcher.js +0 -2
- package/vue/UiSwitcher.vue +0 -258
- package/vue/UiTable.d.ts +0 -35
- package/vue/UiTable.js +0 -2
- package/vue/UiTable.vue +0 -280
- package/vue/UiTabs.d.ts +0 -81
- package/vue/UiTabs.js +0 -2
- package/vue/UiTabs.vue +0 -493
- package/vue/UiText.d.ts +0 -111
- package/vue/UiText.js +0 -2
- package/vue/UiText.vue +0 -836
- package/vue/UiTextarea.d.ts +0 -77
- package/vue/UiTextarea.js +0 -2
- package/vue/UiTextarea.vue +0 -477
- package/vue/UiToast.d.ts +0 -49
- package/vue/UiToast.js +0 -2
- package/vue/UiToast.vue +0 -337
- package/vue/UiToastRegion.d.ts +0 -61
- package/vue/UiToastRegion.js +0 -2
- package/vue/UiToastRegion.vue +0 -631
- package/vue/UiTooltip.d.ts +0 -93
- package/vue/UiTooltip.js +0 -2
- package/vue/UiTooltip.vue +0 -627
- package/vue/UiTopBar.d.ts +0 -35
- package/vue/UiTopBar.js +0 -2
- package/vue/UiTopBar.vue +0 -240
- package/vue/UiTree.d.ts +0 -123
- package/vue/UiTree.js +0 -2
- package/vue/UiTree.vue +0 -419
- package/vue/UiTreeItem.d.ts +0 -133
- package/vue/UiTreeItem.js +0 -2
- package/vue/UiTreeItem.vue +0 -1962
- package/vue/chunks/UiActionBar.js +0 -42
- package/vue/chunks/UiAffordanceScope.js +0 -136
- package/vue/chunks/UiAvatar.js +0 -341
- package/vue/chunks/UiAvatarGroup.js +0 -234
- package/vue/chunks/UiBadge.js +0 -188
- package/vue/chunks/UiBreadcrumbItem.js +0 -104
- package/vue/chunks/UiBreadcrumbs.js +0 -67
- package/vue/chunks/UiButton.js +0 -881
- package/vue/chunks/UiCallout.js +0 -302
- package/vue/chunks/UiCard.js +0 -369
- package/vue/chunks/UiCardGroup.js +0 -153
- package/vue/chunks/UiCheckbox.js +0 -361
- package/vue/chunks/UiCluster.js +0 -236
- package/vue/chunks/UiColorPicker.js +0 -375
- package/vue/chunks/UiCombobox.js +0 -2186
- package/vue/chunks/UiContainer.js +0 -122
- package/vue/chunks/UiContextMenu.js +0 -157
- package/vue/chunks/UiCover.js +0 -66
- package/vue/chunks/UiCurveEditor.js +0 -415
- package/vue/chunks/UiCycleButton.js +0 -352
- package/vue/chunks/UiDescriptionItem.js +0 -64
- package/vue/chunks/UiDescriptionList.js +0 -133
- package/vue/chunks/UiDialog.js +0 -367
- package/vue/chunks/UiDisclosure.js +0 -403
- package/vue/chunks/UiEditable.js +0 -436
- package/vue/chunks/UiEditorBlockActions.js +0 -157
- package/vue/chunks/UiEditorChipEditor.js +0 -191
- package/vue/chunks/UiEditorCodeLanguage.js +0 -181
- package/vue/chunks/UiEditorFootnoteEditor.js +0 -114
- package/vue/chunks/UiEditorImageToolbar.js +0 -531
- package/vue/chunks/UiEditorInsertTableGrid.js +0 -325
- package/vue/chunks/UiEditorLinkCard.js +0 -391
- package/vue/chunks/UiEditorLinkForm.js +0 -711
- package/vue/chunks/UiEditorMentionMenu.js +0 -618
- package/vue/chunks/UiEditorMentionMenuItem.js +0 -140
- package/vue/chunks/UiEditorSlashMenu.js +0 -555
- package/vue/chunks/UiEditorSlashMenuGroup.js +0 -78
- package/vue/chunks/UiEditorSlashMenuItem.js +0 -197
- package/vue/chunks/UiEditorSurface.js +0 -66
- package/vue/chunks/UiEditorTableContextMenu.js +0 -500
- package/vue/chunks/UiEditorTableOverlay.js +0 -987
- package/vue/chunks/UiEditorTableToolbar.js +0 -707
- package/vue/chunks/UiEditorToolbar.js +0 -103
- package/vue/chunks/UiFloatingActionButton.js +0 -123
- package/vue/chunks/UiFormField.js +0 -172
- package/vue/chunks/UiGrid.js +0 -127
- package/vue/chunks/UiIcon.js +0 -1361
- package/vue/chunks/UiIconButton.js +0 -469
- package/vue/chunks/UiImage.js +0 -312
- package/vue/chunks/UiInput.js +0 -709
- package/vue/chunks/UiInputGroup.js +0 -225
- package/vue/chunks/UiLightEditor.js +0 -365
- package/vue/chunks/UiList.js +0 -178
- package/vue/chunks/UiListItem.js +0 -219
- package/vue/chunks/UiListbox.js +0 -489
- package/vue/chunks/UiMenu.js +0 -286
- package/vue/chunks/UiMenuGroup.js +0 -75
- package/vue/chunks/UiMenuItem.js +0 -374
- package/vue/chunks/UiMeter.js +0 -540
- package/vue/chunks/UiNavItem.js +0 -380
- package/vue/chunks/UiNumberInput.js +0 -432
- package/vue/chunks/UiPageHeader.js +0 -100
- package/vue/chunks/UiPagination.js +0 -537
- package/vue/chunks/UiPopover.js +0 -243
- package/vue/chunks/UiRadio.js +0 -291
- package/vue/chunks/UiRadioGroup.js +0 -300
- package/vue/chunks/UiReel.js +0 -133
- package/vue/chunks/UiScrollArea.js +0 -219
- package/vue/chunks/UiSearchResultRow.js +0 -164
- package/vue/chunks/UiSearchShell.js +0 -215
- package/vue/chunks/UiSection.js +0 -228
- package/vue/chunks/UiSelect.js +0 -251
- package/vue/chunks/UiSeparator.js +0 -144
- package/vue/chunks/UiSidebar.js +0 -358
- package/vue/chunks/UiSiteHeader.js +0 -335
- package/vue/chunks/UiSkeleton.js +0 -183
- package/vue/chunks/UiSlider.js +0 -427
- package/vue/chunks/UiSpinner.js +0 -181
- package/vue/chunks/UiStack.js +0 -177
- package/vue/chunks/UiStatusMessage.js +0 -176
- package/vue/chunks/UiSwatch.js +0 -93
- package/vue/chunks/UiSwitch.js +0 -292
- package/vue/chunks/UiSwitcher.js +0 -194
- package/vue/chunks/UiTable.js +0 -128
- package/vue/chunks/UiTabs.js +0 -334
- package/vue/chunks/UiText.js +0 -747
- package/vue/chunks/UiTextarea.js +0 -313
- package/vue/chunks/UiToast.js +0 -174
- package/vue/chunks/UiToastRegion.js +0 -275
- package/vue/chunks/UiTooltip.js +0 -297
- package/vue/chunks/UiTopBar.js +0 -129
- package/vue/chunks/UiTree.js +0 -282
- package/vue/chunks/UiTreeItem.js +0 -699
- package/vue/chunks/_plugin-vue_export-helper.js +0 -1265
- package/vue/chunks/control.js +0 -214
- package/vue/chunks/props.js +0 -1228
- package/vue/components.css +0 -17539
- package/vue/editor/LoomaEditor.d.ts +0 -433
- package/vue/editor/compact/index.d.ts +0 -84
- package/vue/editor/compact/index.js +0 -2
- package/vue/editor/index.d.ts +0 -5
- package/vue/editor/index.js +0 -17281
- package/vue/editor/primitives.d.ts +0 -120
- package/vue/host.ts +0 -2272
- package/vue/index.d.ts +0 -94
- package/vue/index.js +0 -95
- package/vue/props.d.ts +0 -272
- /package/{vue → editor}/chunks/1c.js +0 -0
- /package/{vue → editor}/chunks/abnf.js +0 -0
- /package/{vue → editor}/chunks/accesslog.js +0 -0
- /package/{vue → editor}/chunks/actionscript.js +0 -0
- /package/{vue → editor}/chunks/ada.js +0 -0
- /package/{vue → editor}/chunks/angelscript.js +0 -0
- /package/{vue → editor}/chunks/apache.js +0 -0
- /package/{vue → editor}/chunks/applescript.js +0 -0
- /package/{vue → editor}/chunks/arcade.js +0 -0
- /package/{vue → editor}/chunks/arduino.js +0 -0
- /package/{vue → editor}/chunks/armasm.js +0 -0
- /package/{vue → editor}/chunks/asciidoc.js +0 -0
- /package/{vue → editor}/chunks/aspectj.js +0 -0
- /package/{vue → editor}/chunks/autohotkey.js +0 -0
- /package/{vue → editor}/chunks/autoit.js +0 -0
- /package/{vue → editor}/chunks/avrasm.js +0 -0
- /package/{vue → editor}/chunks/awk.js +0 -0
- /package/{vue → editor}/chunks/axapta.js +0 -0
- /package/{vue → editor}/chunks/bash.js +0 -0
- /package/{vue → editor}/chunks/basic.js +0 -0
- /package/{vue → editor}/chunks/bnf.js +0 -0
- /package/{vue → editor}/chunks/brainfuck.js +0 -0
- /package/{vue → editor}/chunks/c.js +0 -0
- /package/{vue → editor}/chunks/cal.js +0 -0
- /package/{vue → editor}/chunks/capnproto.js +0 -0
- /package/{vue → editor}/chunks/ceylon.js +0 -0
- /package/{vue → editor}/chunks/clean.js +0 -0
- /package/{vue → editor}/chunks/clojure-repl.js +0 -0
- /package/{vue → editor}/chunks/clojure.js +0 -0
- /package/{vue → editor}/chunks/cmake.js +0 -0
- /package/{vue → editor}/chunks/coffeescript.js +0 -0
- /package/{vue → editor}/chunks/coq.js +0 -0
- /package/{vue → editor}/chunks/cos.js +0 -0
- /package/{vue → editor}/chunks/cpp.js +0 -0
- /package/{vue → editor}/chunks/crmsh.js +0 -0
- /package/{vue → editor}/chunks/crystal.js +0 -0
- /package/{vue → editor}/chunks/csharp.js +0 -0
- /package/{vue → editor}/chunks/csp.js +0 -0
- /package/{vue → editor}/chunks/css.js +0 -0
- /package/{vue → editor}/chunks/d.js +0 -0
- /package/{vue → editor}/chunks/dart.js +0 -0
- /package/{vue → editor}/chunks/delphi.js +0 -0
- /package/{vue → editor}/chunks/diff.js +0 -0
- /package/{vue → editor}/chunks/django.js +0 -0
- /package/{vue → editor}/chunks/dns.js +0 -0
- /package/{vue → editor}/chunks/dockerfile.js +0 -0
- /package/{vue → editor}/chunks/dos.js +0 -0
- /package/{vue → editor}/chunks/dsconfig.js +0 -0
- /package/{vue → editor}/chunks/dts.js +0 -0
- /package/{vue → editor}/chunks/dust.js +0 -0
- /package/{vue → editor}/chunks/ebnf.js +0 -0
- /package/{vue → editor}/chunks/elixir.js +0 -0
- /package/{vue → editor}/chunks/elm.js +0 -0
- /package/{vue → editor}/chunks/erb.js +0 -0
- /package/{vue → editor}/chunks/erlang-repl.js +0 -0
- /package/{vue → editor}/chunks/erlang.js +0 -0
- /package/{vue → editor}/chunks/excel.js +0 -0
- /package/{vue → editor}/chunks/fix.js +0 -0
- /package/{vue → editor}/chunks/flix.js +0 -0
- /package/{vue → editor}/chunks/fortran.js +0 -0
- /package/{vue → editor}/chunks/fsharp.js +0 -0
- /package/{vue → editor}/chunks/gams.js +0 -0
- /package/{vue → editor}/chunks/gauss.js +0 -0
- /package/{vue → editor}/chunks/gcode.js +0 -0
- /package/{vue → editor}/chunks/gherkin.js +0 -0
- /package/{vue → editor}/chunks/glsl.js +0 -0
- /package/{vue → editor}/chunks/gml.js +0 -0
- /package/{vue → editor}/chunks/go.js +0 -0
- /package/{vue → editor}/chunks/golo.js +0 -0
- /package/{vue → editor}/chunks/gradle.js +0 -0
- /package/{vue → editor}/chunks/graphql.js +0 -0
- /package/{vue → editor}/chunks/groovy.js +0 -0
- /package/{vue → editor}/chunks/haml.js +0 -0
- /package/{vue → editor}/chunks/handlebars.js +0 -0
- /package/{vue → editor}/chunks/haskell.js +0 -0
- /package/{vue → editor}/chunks/haxe.js +0 -0
- /package/{vue → editor}/chunks/hsp.js +0 -0
- /package/{vue → editor}/chunks/http.js +0 -0
- /package/{vue → editor}/chunks/hy.js +0 -0
- /package/{vue → editor}/chunks/inform7.js +0 -0
- /package/{vue → editor}/chunks/ini.js +0 -0
- /package/{vue → editor}/chunks/irpf90.js +0 -0
- /package/{vue → editor}/chunks/isbl.js +0 -0
- /package/{vue → editor}/chunks/java.js +0 -0
- /package/{vue → editor}/chunks/javascript.js +0 -0
- /package/{vue → editor}/chunks/jboss-cli.js +0 -0
- /package/{vue → editor}/chunks/json.js +0 -0
- /package/{vue → editor}/chunks/julia-repl.js +0 -0
- /package/{vue → editor}/chunks/julia.js +0 -0
- /package/{vue → editor}/chunks/kotlin.js +0 -0
- /package/{vue → editor}/chunks/lasso.js +0 -0
- /package/{vue → editor}/chunks/latex.js +0 -0
- /package/{vue → editor}/chunks/ldif.js +0 -0
- /package/{vue → editor}/chunks/leaf.js +0 -0
- /package/{vue → editor}/chunks/less.js +0 -0
- /package/{vue → editor}/chunks/lisp.js +0 -0
- /package/{vue → editor}/chunks/livecodeserver.js +0 -0
- /package/{vue → editor}/chunks/livescript.js +0 -0
- /package/{vue → editor}/chunks/llvm.js +0 -0
- /package/{vue → editor}/chunks/lsl.js +0 -0
- /package/{vue → editor}/chunks/lua.js +0 -0
- /package/{vue → editor}/chunks/makefile.js +0 -0
- /package/{vue → editor}/chunks/markdown.js +0 -0
- /package/{vue → editor}/chunks/mathematica.js +0 -0
- /package/{vue → editor}/chunks/matlab.js +0 -0
- /package/{vue → editor}/chunks/maxima.js +0 -0
- /package/{vue → editor}/chunks/mel.js +0 -0
- /package/{vue → editor}/chunks/mercury.js +0 -0
- /package/{vue → editor}/chunks/mipsasm.js +0 -0
- /package/{vue → editor}/chunks/mizar.js +0 -0
- /package/{vue → editor}/chunks/mojolicious.js +0 -0
- /package/{vue → editor}/chunks/monkey.js +0 -0
- /package/{vue → editor}/chunks/moonscript.js +0 -0
- /package/{vue → editor}/chunks/n1ql.js +0 -0
- /package/{vue → editor}/chunks/nestedtext.js +0 -0
- /package/{vue → editor}/chunks/nginx.js +0 -0
- /package/{vue → editor}/chunks/nim.js +0 -0
- /package/{vue → editor}/chunks/nix.js +0 -0
- /package/{vue → editor}/chunks/node-repl.js +0 -0
- /package/{vue → editor}/chunks/nsis.js +0 -0
- /package/{vue → editor}/chunks/objectivec.js +0 -0
- /package/{vue → editor}/chunks/ocaml.js +0 -0
- /package/{vue → editor}/chunks/openscad.js +0 -0
- /package/{vue → editor}/chunks/oxygene.js +0 -0
- /package/{vue → editor}/chunks/parser3.js +0 -0
- /package/{vue → editor}/chunks/perl.js +0 -0
- /package/{vue → editor}/chunks/pf.js +0 -0
- /package/{vue → editor}/chunks/pgsql.js +0 -0
- /package/{vue → editor}/chunks/php-template.js +0 -0
- /package/{vue → editor}/chunks/php.js +0 -0
- /package/{vue → editor}/chunks/plaintext.js +0 -0
- /package/{vue → editor}/chunks/pony.js +0 -0
- /package/{vue → editor}/chunks/powershell.js +0 -0
- /package/{vue → editor}/chunks/processing.js +0 -0
- /package/{vue → editor}/chunks/profile.js +0 -0
- /package/{vue → editor}/chunks/prolog.js +0 -0
- /package/{vue → editor}/chunks/properties.js +0 -0
- /package/{vue → editor}/chunks/protobuf.js +0 -0
- /package/{vue → editor}/chunks/puppet.js +0 -0
- /package/{vue → editor}/chunks/purebasic.js +0 -0
- /package/{vue → editor}/chunks/python-repl.js +0 -0
- /package/{vue → editor}/chunks/python.js +0 -0
- /package/{vue → editor}/chunks/q.js +0 -0
- /package/{vue → editor}/chunks/qml.js +0 -0
- /package/{vue → editor}/chunks/r.js +0 -0
- /package/{vue → editor}/chunks/reasonml.js +0 -0
- /package/{vue → editor}/chunks/rib.js +0 -0
- /package/{vue → editor}/chunks/roboconf.js +0 -0
- /package/{vue → editor}/chunks/routeros.js +0 -0
- /package/{vue → editor}/chunks/rsl.js +0 -0
- /package/{vue → editor}/chunks/ruby.js +0 -0
- /package/{vue → editor}/chunks/ruleslanguage.js +0 -0
- /package/{vue → editor}/chunks/rust.js +0 -0
- /package/{vue → editor}/chunks/sas.js +0 -0
- /package/{vue → editor}/chunks/scala.js +0 -0
- /package/{vue → editor}/chunks/scheme.js +0 -0
- /package/{vue → editor}/chunks/scilab.js +0 -0
- /package/{vue → editor}/chunks/scss.js +0 -0
- /package/{vue → editor}/chunks/shell.js +0 -0
- /package/{vue → editor}/chunks/smali.js +0 -0
- /package/{vue → editor}/chunks/smalltalk.js +0 -0
- /package/{vue → editor}/chunks/sml.js +0 -0
- /package/{vue → editor}/chunks/sqf.js +0 -0
- /package/{vue → editor}/chunks/sql.js +0 -0
- /package/{vue → editor}/chunks/stan.js +0 -0
- /package/{vue → editor}/chunks/stata.js +0 -0
- /package/{vue → editor}/chunks/step21.js +0 -0
- /package/{vue → editor}/chunks/stylus.js +0 -0
- /package/{vue → editor}/chunks/subunit.js +0 -0
- /package/{vue → editor}/chunks/swift.js +0 -0
- /package/{vue → editor}/chunks/taggerscript.js +0 -0
- /package/{vue → editor}/chunks/tap.js +0 -0
- /package/{vue → editor}/chunks/tcl.js +0 -0
- /package/{vue → editor}/chunks/thrift.js +0 -0
- /package/{vue → editor}/chunks/tp.js +0 -0
- /package/{vue → editor}/chunks/twig.js +0 -0
- /package/{vue → editor}/chunks/typescript.js +0 -0
- /package/{vue → editor}/chunks/vala.js +0 -0
- /package/{vue → editor}/chunks/vbnet.js +0 -0
- /package/{vue → editor}/chunks/vbscript-html.js +0 -0
- /package/{vue → editor}/chunks/vbscript.js +0 -0
- /package/{vue → editor}/chunks/verilog.js +0 -0
- /package/{vue → editor}/chunks/vhdl.js +0 -0
- /package/{vue → editor}/chunks/vim.js +0 -0
- /package/{vue → editor}/chunks/wasm.js +0 -0
- /package/{vue → editor}/chunks/wren.js +0 -0
- /package/{vue → editor}/chunks/x86asm.js +0 -0
- /package/{vue → editor}/chunks/xl.js +0 -0
- /package/{vue → editor}/chunks/xml.js +0 -0
- /package/{vue → editor}/chunks/xquery.js +0 -0
- /package/{vue → editor}/chunks/yaml.js +0 -0
- /package/{vue → editor}/chunks/zephir.js +0 -0
- /package/{vue/editor/compact/extensions.d.ts → editor/compact-extensions.d.ts} +0 -0
|
@@ -0,0 +1,3699 @@
|
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
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; }
|
|
5
|
+
}
|
|
6
|
+
@supports (-moz-appearance: none) {
|
|
7
|
+
[data-component~="ui-button"] { --html-next-scope-owner: "ui-button" !important; }
|
|
8
|
+
}
|
|
9
|
+
@scope ([data-component~="ui-button"]) to ([data-component], [data-slotted]) {
|
|
10
|
+
:scope:where([data-component~="ui-button"]) {
|
|
11
|
+
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
12
|
+
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
13
|
+
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
14
|
+
--_ui-action-start: 1px;
|
|
15
|
+
--_ui-action-edge: var(
|
|
16
|
+
--ui-action-edge,
|
|
17
|
+
inset var(--_ui-action-start) 1px 0 light-dark(rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.06)),
|
|
18
|
+
inset calc(-1 * var(--_ui-action-start)) -1px 0 light-dark(rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.08))
|
|
19
|
+
);
|
|
20
|
+
--_ui-action-shadow: var(--_ui-action-edge), 0 1px 2px light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.20));
|
|
21
|
+
--_tone-border: var(--ui-accent-border, var(--ui-accent));
|
|
22
|
+
--_tone-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
23
|
+
--_tone-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
|
|
24
|
+
--_tone-highlight: var(--ui-accent-highlight, none);
|
|
25
|
+
--_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
|
|
26
|
+
--_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
|
|
27
|
+
--_tone-wash: var(--ui-accent-wash);
|
|
28
|
+
--_tone-wash-hover: var(--ui-accent-wash-hover);
|
|
29
|
+
--_tone-ghost-hover: var(--ui-accent-ghost-hover);
|
|
30
|
+
--_tone-glow: var(--ui-accent-glow, 0 0 transparent);
|
|
31
|
+
--_hue: var(--ui-accent);
|
|
32
|
+
--_hue-hover: var(--ui-accent-hover);
|
|
33
|
+
--_hue-active: var(--ui-accent-active);
|
|
34
|
+
--_hue-text: var(--ui-accent-subtle-text);
|
|
35
|
+
--_on-hue: var(--ui-on-accent);
|
|
36
|
+
|
|
37
|
+
--_tone: var(--_hue);
|
|
38
|
+
--_tone-hover: var(--_hue-hover);
|
|
39
|
+
--_tone-active: var(--_hue-active);
|
|
40
|
+
--_tone-text: var(--_hue-text);
|
|
41
|
+
--_on-tone: var(--_on-hue);
|
|
42
|
+
|
|
43
|
+
display: inline-flex !important;
|
|
44
|
+
align-items: center !important;
|
|
45
|
+
justify-content: center !important;
|
|
46
|
+
column-gap: var(--ui-space-2) !important;
|
|
47
|
+
vertical-align: middle;
|
|
48
|
+
color: var(--_tone-text);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
:scope:where([data-component~="ui-button"]):dir(rtl) {
|
|
52
|
+
--_ui-action-start: -1px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
:scope:where([data-component~="ui-button"])[data-ui-button-state~="align=start"] {
|
|
56
|
+
justify-content: flex-start !important;
|
|
57
|
+
text-align: start;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
:scope:where([data-component~="ui-button"])[data-ui-button-state~="stretch"] {
|
|
61
|
+
display: flex !important;
|
|
62
|
+
inline-size: 100%;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:scope:where([data-component~="ui-button"]) {
|
|
66
|
+
--_button-square-size: var(--ui-button-min-block-size, var(--ui-control-size-md));
|
|
67
|
+
box-sizing: border-box !important;
|
|
68
|
+
appearance: none;
|
|
69
|
+
min-block-size: var(--ui-button-min-block-size, var(--ui-control-size-md));
|
|
70
|
+
border-style: solid;
|
|
71
|
+
border-width: var(--ui-border-width);
|
|
72
|
+
border-color: var(--ui-button-border, var(--_tone-text));
|
|
73
|
+
border-radius: var(--ui-button-radius, var(--ui-action-radius, var(--ui-radius-md)));
|
|
74
|
+
background-color: var(--ui-button-surface, oklch(from var(--_tone) l c h / calc(5% * var(--ui-tonal-opacity, 1))));
|
|
75
|
+
color: var(--ui-button-text, var(--_tone-text));
|
|
76
|
+
font: inherit;
|
|
77
|
+
font-weight: var(--ui-font-medium);
|
|
78
|
+
text-decoration: none;
|
|
79
|
+
/* Unset, a button wraps as its container does. */
|
|
80
|
+
white-space: var(--ui-button-white-space, inherit);
|
|
81
|
+
line-height: var(--ui-line-height-tight);
|
|
82
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-action-inset-md, var(--ui-space-3)) !important;
|
|
83
|
+
background-image: var(--ui-surface-highlight, none);
|
|
84
|
+
box-shadow:
|
|
85
|
+
var(--ui-button-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
86
|
+
var(--_tone-glow);
|
|
87
|
+
cursor: pointer;
|
|
88
|
+
transition:
|
|
89
|
+
scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
90
|
+
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
91
|
+
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
92
|
+
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
93
|
+
box-shadow var(--ui-motion-base) var(--ui-motion-ease);
|
|
94
|
+
margin: 0 !important;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
98
|
+
:scope:where([data-component~="ui-button"]):is(a) {
|
|
99
|
+
text-decoration: none;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.spinner-wrap {
|
|
103
|
+
display: inline-flex !important;
|
|
104
|
+
flex: none;
|
|
105
|
+
vertical-align: middle;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* A count is an adornment, not another line of label text. Keep the standard control height
|
|
109
|
+
with enough inset for a 24px mark; large content can still grow the button naturally. */
|
|
110
|
+
:scope:where([data-component~="ui-button"]):not([data-appearance="link"]):has(.badge:not(:empty)) {
|
|
111
|
+
padding-block: var(--ui-space-0-5) !important;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Trim the text line itself: an anonymous flex item retains font-metric space in some fonts. */
|
|
115
|
+
.label {
|
|
116
|
+
display: block !important;
|
|
117
|
+
align-content: center !important;
|
|
118
|
+
min-inline-size: 0 !important;
|
|
119
|
+
min-block-size: 1lh !important;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.label:has(svg) {
|
|
123
|
+
display: inline-flex !important;
|
|
124
|
+
align-items: center !important;
|
|
125
|
+
gap: var(--ui-space-2) !important;
|
|
126
|
+
text-box-trim: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.badge {
|
|
130
|
+
display: inline-flex !important;
|
|
131
|
+
align-items: center !important;
|
|
132
|
+
flex: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.badge:empty {
|
|
136
|
+
display: none !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
@supports (text-box-trim: trim-both) {
|
|
140
|
+
.label:not(:has(svg)) {
|
|
141
|
+
text-box-trim: trim-both;
|
|
142
|
+
text-box-edge: cap alphabetic;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"] {
|
|
147
|
+
--_button-square-size: 1.5rem;
|
|
148
|
+
min-block-size: 1.5rem;
|
|
149
|
+
padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25) !important;
|
|
150
|
+
font-size: var(--ui-font-size-xs);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:scope:where([data-component~="ui-button"])[data-ui-button-state~="shape=pill"] {
|
|
154
|
+
border-radius: var(--ui-button-radius, var(--ui-radius-round));
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=sm"] {
|
|
158
|
+
--_button-square-size: var(--ui-control-size-sm);
|
|
159
|
+
min-block-size: var(--ui-control-size-sm);
|
|
160
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-action-inset-sm, var(--ui-space-2)) !important;
|
|
161
|
+
font-size: var(--ui-font-size-sm);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=lg"] {
|
|
165
|
+
--_button-square-size: var(--ui-control-size-lg);
|
|
166
|
+
min-block-size: var(--ui-control-size-lg);
|
|
167
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-action-inset-lg, var(--ui-space-4)) !important;
|
|
168
|
+
font-size: var(--ui-font-size-md);
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Short numeric and icon actions share a minimum box; large values remain readable. */
|
|
172
|
+
:scope:where([data-component~="ui-button"])[data-ui-button-state~="square"]:not([data-appearance="link"], [data-appearance="card"]) {
|
|
173
|
+
min-inline-size: var(--_button-square-size);
|
|
174
|
+
padding-inline: var(--ui-space-1) !important;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/* Card actions inherit Button's palette and behavior; only their shared layout changes.
|
|
178
|
+
The icon may contain any decorative composition. Empty icons remove their column. */
|
|
179
|
+
:scope:where([data-component~="ui-button"])[data-appearance="card"] {
|
|
180
|
+
display: grid !important;
|
|
181
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
182
|
+
align-content: center !important;
|
|
183
|
+
align-items: start !important;
|
|
184
|
+
gap: var(--ui-space-3) !important;
|
|
185
|
+
inline-size: 100%;
|
|
186
|
+
min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-md));
|
|
187
|
+
text-align: start;
|
|
188
|
+
white-space: normal;
|
|
189
|
+
box-shadow: none;
|
|
190
|
+
background-image: none;
|
|
191
|
+
}
|
|
192
|
+
:scope:where([data-component~="ui-button"])[data-appearance="card"][size="lg"] {
|
|
193
|
+
min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-lg));
|
|
194
|
+
}
|
|
195
|
+
:scope:where([data-component~="ui-button"])[data-appearance="card"]:has(.card-icon:empty) {
|
|
196
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
197
|
+
}
|
|
198
|
+
.card-icon {
|
|
199
|
+
display: flex !important;
|
|
200
|
+
align-items: flex-start !important;
|
|
201
|
+
}
|
|
202
|
+
.card-icon:empty {
|
|
203
|
+
display: none !important;
|
|
204
|
+
}
|
|
205
|
+
.card-content {
|
|
206
|
+
min-inline-size: 0;
|
|
207
|
+
}
|
|
208
|
+
.card-action {
|
|
209
|
+
display: flex !important;
|
|
210
|
+
align-items: center !important;
|
|
211
|
+
align-self: center;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
:scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
|
|
215
|
+
--_outline-wash: var(--_tone-wash);
|
|
216
|
+
border-color: var(--ui-button-border, var(--_tone-outline-border, var(--_tone-text)));
|
|
217
|
+
background-color: var(--ui-button-surface, transparent);
|
|
218
|
+
box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
|
|
219
|
+
background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
:scope:where([data-component~="ui-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:not(:disabled, [aria-disabled="true"]) {
|
|
223
|
+
--_outline-wash: var(--_tone-wash-hover);
|
|
224
|
+
background-color: var(--ui-button-hover-surface, transparent);
|
|
225
|
+
border-color: var(--ui-button-hover-border, var(--_tone-outline-border));
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/* A link is never :enabled, so interactive states test "not unavailable" instead: for a button that
|
|
229
|
+
is exactly :enabled, at the same specificity, and it also matches a link that can be followed. */
|
|
230
|
+
:scope:where([data-component~="ui-button"]):hover:not(:disabled, [aria-disabled="true"]) {
|
|
231
|
+
border-color: var(--ui-button-hover-border, var(--_tone-text));
|
|
232
|
+
background-color: var(--ui-button-hover-surface, oklch(from var(--_tone-text) l c h / calc(12% * var(--ui-tonal-opacity, 1))));
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
:scope:where([data-component~="ui-button"])[data-appearance="card"][data-tone="neutral"] {
|
|
236
|
+
border-color: var(--ui-button-border, var(--ui-border));
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
:scope:where([data-component~="ui-button"])[data-appearance="card"][data-tone="neutral"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
240
|
+
border-color: var(--ui-button-hover-border, var(--ui-border-strong));
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
:scope:where([data-component~="ui-button"])[data-appearance="card"][aria-pressed="true"] {
|
|
244
|
+
background-color: var(--ui-selection-surface);
|
|
245
|
+
border-color: var(--ui-selection-border);
|
|
246
|
+
color: var(--ui-selection-text);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
/* Pressed reads as pressed in: the highlight goes, and the shadow moves inside. */
|
|
250
|
+
:scope:where([data-component~="ui-button"]):active:not(:disabled, [aria-disabled="true"]),
|
|
251
|
+
:scope:where([data-component~="ui-button"])[data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
252
|
+
scale: var(--ui-press-scale, 1);
|
|
253
|
+
background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / calc(18% * var(--ui-tonal-opacity, 1))));
|
|
254
|
+
background-image: none;
|
|
255
|
+
box-shadow: var(--ui-pressed);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
:scope:where([data-component~="ui-button"])[data-appearance="solid"], :scope:where([data-component~="ui-button"])[data-appearance="danger"] {
|
|
259
|
+
border-color: var(--ui-button-border, var(--_tone-border));
|
|
260
|
+
background-color: var(--_tone);
|
|
261
|
+
color: var(--_on-tone);
|
|
262
|
+
background-image: var(--_tone-highlight);
|
|
263
|
+
box-shadow:
|
|
264
|
+
var(--ui-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
265
|
+
var(--_tone-glow);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
:scope:where([data-component~="ui-button"])[data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]),
|
|
269
|
+
:scope:where([data-component~="ui-button"])[data-appearance="danger"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
270
|
+
background-color: var(--_tone-hover);
|
|
271
|
+
background-image: var(--_tone-hover-highlight);
|
|
272
|
+
border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
:is(:scope:where([data-component~="ui-button"])[data-appearance="solid"], :scope:where([data-component~="ui-button"])[data-appearance="danger"]):active:not(:disabled, [aria-disabled="true"]) {
|
|
276
|
+
background-color: var(--_tone-active);
|
|
277
|
+
border-color: var(--_tone-active-border);
|
|
278
|
+
background-image: none;
|
|
279
|
+
box-shadow: var(--ui-pressed);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/* Tone is the colour, variant is the volume. Every pairing works: a danger outline is a
|
|
283
|
+
destructive secondary action, not a special case. */
|
|
284
|
+
:scope:where([data-component~="ui-button"])[data-tone="accent-secondary"] {
|
|
285
|
+
--_tone-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
286
|
+
--_tone-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
287
|
+
--_tone-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
288
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
289
|
+
--_tone-hover-highlight: var(--ui-accent-secondary-hover-highlight, none);
|
|
290
|
+
--_tone-outline-border: var(--ui-accent-secondary-outline-border, var(--ui-accent-secondary-subtle-text));
|
|
291
|
+
--_tone-wash: var(--ui-accent-secondary-wash);
|
|
292
|
+
--_tone-wash-hover: var(--ui-accent-secondary-wash-hover);
|
|
293
|
+
--_tone-ghost-hover: var(--ui-accent-secondary-ghost-hover);
|
|
294
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
295
|
+
--_hue: var(--ui-accent-secondary);
|
|
296
|
+
--_hue-hover: var(--ui-accent-secondary-hover);
|
|
297
|
+
--_hue-active: var(--ui-accent-secondary-active);
|
|
298
|
+
--_hue-text: var(--ui-accent-secondary-subtle-text);
|
|
299
|
+
--_on-hue: var(--ui-accent-secondary-on-strong);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
:scope:where([data-component~="ui-button"])[data-tone="accent-tertiary"] {
|
|
303
|
+
--_tone-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
304
|
+
--_tone-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
305
|
+
--_tone-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
306
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
307
|
+
--_tone-hover-highlight: var(--ui-accent-tertiary-hover-highlight, none);
|
|
308
|
+
--_tone-outline-border: var(--ui-accent-tertiary-outline-border, var(--ui-accent-tertiary-subtle-text));
|
|
309
|
+
--_tone-wash: var(--ui-accent-tertiary-wash);
|
|
310
|
+
--_tone-wash-hover: var(--ui-accent-tertiary-wash-hover);
|
|
311
|
+
--_tone-ghost-hover: var(--ui-accent-tertiary-ghost-hover);
|
|
312
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
313
|
+
--_hue: var(--ui-accent-tertiary);
|
|
314
|
+
--_hue-hover: var(--ui-accent-tertiary-hover);
|
|
315
|
+
--_hue-active: var(--ui-accent-tertiary-active);
|
|
316
|
+
--_hue-text: var(--ui-accent-tertiary-subtle-text);
|
|
317
|
+
--_on-hue: var(--ui-accent-tertiary-on-strong);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
:scope:where([data-component~="ui-button"])[data-tone="neutral"] {
|
|
321
|
+
--_tone-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
322
|
+
--_tone-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
323
|
+
--_tone-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
324
|
+
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
325
|
+
--_tone-hover-highlight: var(--ui-neutral-hover-highlight, var(--_tone-highlight));
|
|
326
|
+
--_tone-outline-border: var(--ui-control-border);
|
|
327
|
+
--_tone-ghost-hover: var(--ui-neutral-ghost-hover);
|
|
328
|
+
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
329
|
+
--_hue: var(--ui-text);
|
|
330
|
+
--_hue-hover: var(--ui-text);
|
|
331
|
+
--_hue-active: var(--ui-text);
|
|
332
|
+
--_hue-text: var(--ui-text);
|
|
333
|
+
--_on-hue: var(--ui-surface);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
337
|
+
border-color: var(--ui-button-border, var(--_tone-border));
|
|
338
|
+
background-color: var(--ui-button-surface, var(--ui-neutral-surface));
|
|
339
|
+
box-shadow: var(--ui-button-solid-shadow, var(--ui-button-shadow, var(--ui-neutral-shadow)));
|
|
340
|
+
color: var(--ui-button-text, var(--ui-text));
|
|
341
|
+
}
|
|
342
|
+
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
343
|
+
border-color: var(--ui-button-border, var(--ui-control-border));
|
|
344
|
+
background-color: var(--ui-button-surface, transparent);
|
|
345
|
+
background-image: none;
|
|
346
|
+
box-shadow: var(--ui-button-shadow, var(--ui-neutral-shadow));
|
|
347
|
+
}
|
|
348
|
+
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
349
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
350
|
+
background-color: var(--ui-button-hover-surface, transparent);
|
|
351
|
+
--_outline-wash: var(--ui-neutral-wash-hover);
|
|
352
|
+
background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
|
|
353
|
+
}
|
|
354
|
+
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="outline"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
355
|
+
background-image: none;
|
|
356
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover));
|
|
357
|
+
background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
|
|
358
|
+
}
|
|
359
|
+
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
360
|
+
border-color: var(--ui-button-hover-border, var(--_tone-hover-border));
|
|
361
|
+
background-color: var(--ui-button-hover-surface, var(--ui-neutral-hover));
|
|
362
|
+
}
|
|
363
|
+
:scope:where([data-component~="ui-button"])[data-tone="neutral"][data-appearance="solid"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
364
|
+
border-color: var(--_tone-active-border);
|
|
365
|
+
background-color: var(--ui-button-active-surface, var(--ui-neutral-active));
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
:scope:where([data-component~="ui-button"])[data-tone="danger"], :scope:where([data-component~="ui-button"])[data-appearance="danger"] {
|
|
369
|
+
--_tone-border: var(--ui-danger-border, var(--ui-danger));
|
|
370
|
+
--_tone-hover-border: var(--ui-danger-hover-border, var(--ui-danger-hover));
|
|
371
|
+
--_tone-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
|
|
372
|
+
--_tone-highlight: var(--ui-danger-highlight, none);
|
|
373
|
+
--_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
|
|
374
|
+
--_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
|
|
375
|
+
--_tone-wash: var(--ui-danger-wash);
|
|
376
|
+
--_tone-wash-hover: var(--ui-danger-wash-hover);
|
|
377
|
+
--_tone-ghost-hover: var(--ui-danger-ghost-hover);
|
|
378
|
+
--_tone-glow: var(--ui-danger-glow, 0 0 transparent);
|
|
379
|
+
--_hue: var(--ui-danger);
|
|
380
|
+
--_hue-hover: var(--ui-danger-hover);
|
|
381
|
+
--_hue-active: var(--ui-danger-active, var(--ui-danger-hover));
|
|
382
|
+
--_hue-text: var(--ui-danger-subtle-text);
|
|
383
|
+
--_on-hue: var(--ui-on-danger);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
:scope:where([data-component~="ui-button"])[data-tone="success"] {
|
|
387
|
+
--_tone-border: var(--ui-success-border, var(--ui-success));
|
|
388
|
+
--_tone-hover-border: var(--ui-success-hover-border, var(--ui-success-hover));
|
|
389
|
+
--_tone-active-border: var(--ui-success-active-border, var(--ui-success-active));
|
|
390
|
+
--_tone-highlight: var(--ui-success-highlight, none);
|
|
391
|
+
--_tone-hover-highlight: var(--ui-success-hover-highlight, none);
|
|
392
|
+
--_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
|
|
393
|
+
--_tone-wash: var(--ui-success-wash);
|
|
394
|
+
--_tone-wash-hover: var(--ui-success-wash-hover);
|
|
395
|
+
--_tone-ghost-hover: var(--ui-success-ghost-hover);
|
|
396
|
+
--_tone-glow: var(--ui-success-glow, 0 0 transparent);
|
|
397
|
+
--_hue: var(--ui-success);
|
|
398
|
+
--_hue-hover: var(--ui-success-hover);
|
|
399
|
+
--_hue-active: var(--ui-success-active);
|
|
400
|
+
--_hue-text: var(--ui-success-subtle-text);
|
|
401
|
+
--_on-hue: var(--ui-success-on-strong);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
:scope:where([data-component~="ui-button"])[data-tone="warning"] {
|
|
405
|
+
--_tone-border: var(--ui-warning-border, var(--ui-warning));
|
|
406
|
+
--_tone-hover-border: var(--ui-warning-hover-border, var(--ui-warning-hover));
|
|
407
|
+
--_tone-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
|
|
408
|
+
--_tone-highlight: var(--ui-warning-highlight, none);
|
|
409
|
+
--_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
|
|
410
|
+
--_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
|
|
411
|
+
--_tone-wash: var(--ui-warning-wash);
|
|
412
|
+
--_tone-wash-hover: var(--ui-warning-wash-hover);
|
|
413
|
+
--_tone-ghost-hover: var(--ui-warning-ghost-hover);
|
|
414
|
+
--_tone-glow: var(--ui-warning-glow, 0 0 transparent);
|
|
415
|
+
--_hue: var(--ui-warning);
|
|
416
|
+
--_hue-hover: var(--ui-warning-hover);
|
|
417
|
+
--_hue-active: var(--ui-warning-active);
|
|
418
|
+
--_hue-text: var(--ui-warning-subtle-text);
|
|
419
|
+
--_on-hue: var(--ui-warning-on-strong);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
:scope:where([data-component~="ui-button"])[data-tone="info"] {
|
|
423
|
+
--_tone-border: var(--ui-info-border, var(--ui-info));
|
|
424
|
+
--_tone-hover-border: var(--ui-info-hover-border, var(--ui-info-hover));
|
|
425
|
+
--_tone-active-border: var(--ui-info-active-border, var(--ui-info-active));
|
|
426
|
+
--_tone-highlight: var(--ui-info-highlight, none);
|
|
427
|
+
--_tone-hover-highlight: var(--ui-info-hover-highlight, none);
|
|
428
|
+
--_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
|
|
429
|
+
--_tone-wash: var(--ui-info-wash);
|
|
430
|
+
--_tone-wash-hover: var(--ui-info-wash-hover);
|
|
431
|
+
--_tone-ghost-hover: var(--ui-info-ghost-hover);
|
|
432
|
+
--_tone-glow: var(--ui-info-glow, 0 0 transparent);
|
|
433
|
+
--_hue: var(--ui-info);
|
|
434
|
+
--_hue-hover: var(--ui-info-hover);
|
|
435
|
+
--_hue-active: var(--ui-info-active);
|
|
436
|
+
--_hue-text: var(--ui-info-subtle-text);
|
|
437
|
+
--_on-hue: var(--ui-info-on-strong);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
/* A value picker is a field, with Select's quiet edge and resting lift. */
|
|
441
|
+
:scope:where([data-component~="ui-button"])[data-appearance="field"] {
|
|
442
|
+
--_ui-field-shadow: var(--ui-shadow-sm);
|
|
443
|
+
border-color: var(--ui-button-border, var(--ui-control-border, var(--ui-border-strong)));
|
|
444
|
+
border-radius: var(--ui-button-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
445
|
+
background-color: var(--ui-button-surface, var(--ui-control-surface, var(--ui-surface-elevated)));
|
|
446
|
+
color: var(--ui-button-text, var(--ui-text-primary));
|
|
447
|
+
font-weight: var(--ui-font-normal);
|
|
448
|
+
box-shadow: var(--ui-button-shadow, var(--_ui-field-shadow));
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
:scope:where([data-component~="ui-button"])[data-appearance="field"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
452
|
+
border-color: var(--ui-button-hover-border, var(--ui-control-border-hover, var(--ui-text-secondary)));
|
|
453
|
+
background-color: var(--ui-button-hover-surface, var(--ui-control-surface, var(--ui-surface-elevated)));
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
:scope:where([data-component~="ui-button"])[data-appearance="field"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
|
|
457
|
+
--_ui-field-shadow: var(--ui-pressed);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
:scope:where([data-component~="ui-button"])[data-appearance="field"]:focus-visible {
|
|
461
|
+
border-color: var(--ui-control-focus, var(--ui-accent-solid));
|
|
462
|
+
box-shadow:
|
|
463
|
+
var(--ui-button-shadow, var(--_ui-field-shadow)),
|
|
464
|
+
var(--ui-control-focus-halo-shadow);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
:scope:where([data-component~="ui-button"])[data-appearance="ghost"] {
|
|
468
|
+
border-color: transparent;
|
|
469
|
+
background: transparent;
|
|
470
|
+
box-shadow: none;
|
|
471
|
+
color: var(--ui-button-ghost-text, var(--_tone-text));
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/* Shared translucent paint keeps text and icon action feedback coordinated. */
|
|
475
|
+
:scope:where([data-component~="ui-button"])[data-appearance="ghost"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
476
|
+
background-color: var(--ui-button-ghost-hover-surface, var(--_tone-ghost-hover));
|
|
477
|
+
border-color: transparent;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
:scope:where([data-component~="ui-button"])[data-appearance="ghost"]:is(:active, [aria-expanded="true"]):not(:disabled, [aria-disabled="true"]) {
|
|
481
|
+
background-color: var(--ui-button-ghost-active-surface, oklch(from var(--_tone) l c h / 18%));
|
|
482
|
+
border-color: transparent;
|
|
483
|
+
box-shadow: inset 0 0 0 1px oklch(from var(--_tone) l c h / 10%), inset 0 1px 2px oklch(from var(--_tone) l c h / 8%);
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
|
|
487
|
+
:scope:where([data-component~="ui-button"]):focus-visible {
|
|
488
|
+
outline: none;
|
|
489
|
+
box-shadow:
|
|
490
|
+
var(--ui-button-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
491
|
+
var(--ui-focus-halo);
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
:scope:where([data-component~="ui-button"])[data-appearance="outline"]:focus-visible {
|
|
495
|
+
box-shadow:
|
|
496
|
+
var(--ui-button-shadow, var(--ui-neutral-shadow)),
|
|
497
|
+
var(--ui-focus-halo);
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
:scope:where([data-component~="ui-button"])[data-appearance="solid"]:focus-visible {
|
|
501
|
+
box-shadow:
|
|
502
|
+
var(--ui-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
503
|
+
var(--ui-focus-halo);
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
:is(:scope:where([data-component~="ui-button"])[data-appearance="ghost"], :scope:where([data-component~="ui-button"])[data-appearance="link"], :scope:where([data-component~="ui-button"])[data-appearance="card"]):focus-visible {
|
|
507
|
+
box-shadow: var(--ui-focus-halo);
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
/* A loading action stays visually active; only an explicitly disabled action takes the
|
|
511
|
+
neutral disabled palette. Its flat surface and muted ink make the state unambiguous. */
|
|
512
|
+
:scope:where([data-component~="ui-button"]):is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
513
|
+
border-color: var(--ui-disabled-border);
|
|
514
|
+
background-color: var(--ui-disabled-surface);
|
|
515
|
+
color: var(--ui-disabled-text);
|
|
516
|
+
filter: var(--ui-button-disabled-filter, var(--ui-disabled-filter));
|
|
517
|
+
opacity: var(--ui-button-disabled-opacity, 1);
|
|
518
|
+
cursor: not-allowed;
|
|
519
|
+
background-image: none;
|
|
520
|
+
box-shadow: none;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
:is(:scope:where([data-component~="ui-button"])[data-ui-button-state~="loading"], :scope:where([data-component~="ui-button"])[data-ui-button-state~="pending"]):focus-visible {
|
|
524
|
+
box-shadow: var(--ui-focus-halo);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
/* Ghost keeps no border, but gains the same neutral surface as other disabled buttons. */
|
|
528
|
+
:scope:where([data-component~="ui-button"])[data-appearance="ghost"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
529
|
+
background-color: var(--ui-disabled-surface);
|
|
530
|
+
border-color: transparent;
|
|
531
|
+
}
|
|
532
|
+
|
|
533
|
+
/* The size states outrank :host, so sm is named too, or a small button would stay small. */
|
|
534
|
+
|
|
535
|
+
/* Under touch, a link-style button's press lands within the control minimum: an invisible hit
|
|
536
|
+
area, centred on it, like IconButton's. A link-style action keeps its text size, so a standalone one ("See all" under a list) needs the
|
|
537
|
+
area. xs sits inside a line of text the same way, so it keeps its size and gains the area too.
|
|
538
|
+
Only these need it: a hit area on every button would reach over its neighbours. */
|
|
539
|
+
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-appearance="link"],
|
|
540
|
+
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"] {
|
|
541
|
+
position: relative;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-appearance="link"]::after,
|
|
545
|
+
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"]::after {
|
|
546
|
+
position: absolute;
|
|
547
|
+
inset: 50% auto auto 50%;
|
|
548
|
+
inline-size: max(100%, var(--ui-control-min-block-size));
|
|
549
|
+
block-size: max(100%, var(--ui-control-min-block-size));
|
|
550
|
+
transform: translate(-50%, -50%);
|
|
551
|
+
content: "";
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
/* Link: an inline text action. No box, padding, or minimum height (inline targets are exempt under
|
|
555
|
+
WCAG 2.5.8); the inherited font; an underline that strengthens on hover; a visible focus ring. */
|
|
556
|
+
:scope:where([data-component~="ui-button"])[data-appearance="link"] {
|
|
557
|
+
display: inline !important;
|
|
558
|
+
min-block-size: 0;
|
|
559
|
+
padding: 0 !important;
|
|
560
|
+
border: 0;
|
|
561
|
+
border-radius: var(--ui-radius-sm);
|
|
562
|
+
background: none;
|
|
563
|
+
box-shadow: none;
|
|
564
|
+
font: inherit;
|
|
565
|
+
color: var(--ui-button-link-text, var(--ui-text-secondary));
|
|
566
|
+
text-decoration-line: underline;
|
|
567
|
+
text-decoration-thickness: 1px;
|
|
568
|
+
text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
|
|
569
|
+
text-underline-offset: 0.2em;
|
|
570
|
+
transition: color var(--ui-motion-fast) var(--ui-motion-ease), text-decoration-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
:scope:where([data-component~="ui-button"])[data-appearance="link"] .label {
|
|
574
|
+
display: inline !important;
|
|
575
|
+
text-box-trim: none;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
:scope:where([data-component~="ui-button"])[data-appearance="link"]:hover:not(:disabled, [aria-disabled="true"]) {
|
|
579
|
+
color: var(--ui-button-link-hover-text, var(--ui-text-primary));
|
|
580
|
+
text-decoration-color: currentColor;
|
|
581
|
+
background: none;
|
|
582
|
+
transform: none;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
:scope:where([data-component~="ui-button"])[data-appearance="link"]:active:not(:disabled, [aria-disabled="true"]) {
|
|
586
|
+
background: none;
|
|
587
|
+
transform: none;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
:scope:where([data-component~="ui-button"])[data-appearance="link"]:is(:disabled, [aria-disabled="true"]:not([aria-busy="true"])) {
|
|
591
|
+
background: none;
|
|
592
|
+
border-color: transparent;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
:scope:where([data-component~="ui-button"])[data-appearance="link"]:focus-visible {
|
|
596
|
+
box-shadow: none;
|
|
597
|
+
/* Fallback keeps the ring if the token is missing: an unresolved var() would void the outline. */
|
|
598
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
599
|
+
outline-offset: var(--ui-focus-width);
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
603
|
+
:scope:where([data-component~="ui-button"])[hidden] {
|
|
604
|
+
display: none !important;
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
@scope ([data-component~="ui-button"]) to ([data-component]) {
|
|
608
|
+
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
609
|
+
|
|
610
|
+
/* A count is an adornment, not another line of label text. Keep the standard control height
|
|
611
|
+
with enough inset for a 24px mark; large content can still grow the button naturally. */
|
|
612
|
+
|
|
613
|
+
/* Trim the text line itself: an anonymous flex item retains font-metric space in some fonts. */
|
|
614
|
+
|
|
615
|
+
@supports (text-box-trim: trim-both) {
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/* Short numeric and icon actions share a minimum box; large values remain readable. */
|
|
619
|
+
|
|
620
|
+
/* Card actions inherit Button's palette and behavior; only their shared layout changes.
|
|
621
|
+
The icon may contain any decorative composition. Empty icons remove their column. */
|
|
622
|
+
|
|
623
|
+
/* A link is never :enabled, so interactive states test "not unavailable" instead: for a button that
|
|
624
|
+
is exactly :enabled, at the same specificity, and it also matches a link that can be followed. */
|
|
625
|
+
|
|
626
|
+
/* Pressed reads as pressed in: the highlight goes, and the shadow moves inside. */
|
|
627
|
+
|
|
628
|
+
/* Tone is the colour, variant is the volume. Every pairing works: a danger outline is a
|
|
629
|
+
destructive secondary action, not a special case. */
|
|
630
|
+
|
|
631
|
+
/* A value picker is a field, with Select's quiet edge and resting lift. */
|
|
632
|
+
|
|
633
|
+
/* Shared translucent paint keeps text and icon action feedback coordinated. */
|
|
634
|
+
|
|
635
|
+
/* A soft halo that transitions in with the other box-shadow changes, layered on the raised shadow. */
|
|
636
|
+
|
|
637
|
+
/* A loading action stays visually active; only an explicitly disabled action takes the
|
|
638
|
+
neutral disabled palette. Its flat surface and muted ink make the state unambiguous. */
|
|
639
|
+
|
|
640
|
+
/* Ghost keeps no border, but gains the same neutral surface as other disabled buttons. */
|
|
641
|
+
|
|
642
|
+
/* The size states outrank :host, so sm is named too, or a small button would stay small. */
|
|
643
|
+
|
|
644
|
+
/* Under touch, a link-style button's press lands within the control minimum: an invisible hit
|
|
645
|
+
area, centred on it, like IconButton's. A link-style action keeps its text size, so a standalone one ("See all" under a list) needs the
|
|
646
|
+
area. xs sits inside a line of text the same way, so it keeps its size and gains the area too.
|
|
647
|
+
Only these need it: a hit area on every button would reach over its neighbours. */
|
|
648
|
+
|
|
649
|
+
/* Link: an inline text action. No box, padding, or minimum height (inline targets are exempt under
|
|
650
|
+
WCAG 2.5.8); the inherited font; an underline that strengthens on hover; a visible focus ring. */
|
|
651
|
+
|
|
652
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
653
|
+
}
|
|
654
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
655
|
+
@supports (-moz-appearance: none) {
|
|
656
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
657
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
658
|
+
}
|
|
659
|
+
@supports (-moz-appearance: none) {
|
|
660
|
+
[data-component~="ui-affordance-scope"] { --html-next-scope-owner: "ui-affordance-scope" !important; }
|
|
661
|
+
}
|
|
662
|
+
@scope ([data-component~="ui-affordance-scope"]) to ([data-component], [data-slotted]) {
|
|
663
|
+
:scope:where([data-component~="ui-affordance-scope"]) {
|
|
664
|
+
display: contents !important;
|
|
665
|
+
--_ui-affordance-scope-engaged: 0;
|
|
666
|
+
--_ui-affordance-scope-guide: 1;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="engaged"] {
|
|
670
|
+
--_ui-affordance-scope-engaged: 1;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
|
|
674
|
+
:scope:where([data-component~="ui-affordance-scope"])[data-ui-affordance-scope-state~="guide=none"] {
|
|
675
|
+
--_ui-affordance-scope-guide: 0;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
679
|
+
:scope:where([data-component~="ui-affordance-scope"])[hidden] {
|
|
680
|
+
display: none !important;
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
@scope ([data-component~="ui-affordance-scope"]) to ([data-component]) {
|
|
684
|
+
/* Published to descendants: each guide multiplies its opacity by it, so none reaches them all. */
|
|
685
|
+
|
|
686
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
687
|
+
}
|
|
688
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
689
|
+
@supports (-moz-appearance: none) {
|
|
690
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
691
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
692
|
+
}
|
|
693
|
+
@supports (-moz-appearance: none) {
|
|
694
|
+
[data-component~="ui-cluster"] { --html-next-scope-owner: "ui-cluster" !important; }
|
|
695
|
+
}
|
|
696
|
+
@scope ([data-component~="ui-cluster"]) to ([data-component], [data-slotted]) {
|
|
697
|
+
:scope:where([data-component~="ui-cluster"]) {
|
|
698
|
+
--_layout-gap: var(--ui-space-3);
|
|
699
|
+
display: flex !important;
|
|
700
|
+
flex-wrap: wrap !important;
|
|
701
|
+
align-items: center !important;
|
|
702
|
+
gap: var(--ui-cluster-gap, var(--_layout-gap)) !important;
|
|
703
|
+
min-inline-size: 0;
|
|
704
|
+
max-inline-size: 100%;
|
|
705
|
+
margin: 0 !important;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="fixed"] {
|
|
709
|
+
flex: none;
|
|
710
|
+
}
|
|
711
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=s"] {
|
|
712
|
+
padding: var(--ui-space-2) !important;
|
|
713
|
+
}
|
|
714
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=m"] {
|
|
715
|
+
padding: var(--ui-space-3) !important;
|
|
716
|
+
}
|
|
717
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=l"] {
|
|
718
|
+
padding: var(--ui-space-4) !important;
|
|
719
|
+
}
|
|
720
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=s"] {
|
|
721
|
+
padding-inline-end: var(--ui-space-2) !important;
|
|
722
|
+
}
|
|
723
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=m"] {
|
|
724
|
+
padding-inline-end: var(--ui-space-3) !important;
|
|
725
|
+
}
|
|
726
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=l"] {
|
|
727
|
+
padding-inline-end: var(--ui-space-4) !important;
|
|
728
|
+
}
|
|
729
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=xl"] {
|
|
730
|
+
padding-inline-end: calc(var(--ui-space-4) * 4) !important;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=xs"] {
|
|
734
|
+
--_layout-gap: var(--ui-space-2);
|
|
735
|
+
}
|
|
736
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=s"] {
|
|
737
|
+
--_layout-gap: var(--ui-space-3);
|
|
738
|
+
}
|
|
739
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=m"] {
|
|
740
|
+
--_layout-gap: var(--ui-space-4);
|
|
741
|
+
}
|
|
742
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=l"] {
|
|
743
|
+
--_layout-gap: var(--ui-space-5);
|
|
744
|
+
}
|
|
745
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=xl"] {
|
|
746
|
+
--_layout-gap: var(--ui-space-6);
|
|
747
|
+
}
|
|
748
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=start"] {
|
|
749
|
+
align-items: flex-start !important;
|
|
750
|
+
}
|
|
751
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=end"] {
|
|
752
|
+
align-items: flex-end !important;
|
|
753
|
+
}
|
|
754
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=baseline"] {
|
|
755
|
+
align-items: baseline !important;
|
|
756
|
+
}
|
|
757
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=stretch"] {
|
|
758
|
+
align-items: stretch !important;
|
|
759
|
+
}
|
|
760
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=center"] {
|
|
761
|
+
justify-content: center !important;
|
|
762
|
+
}
|
|
763
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=end"] {
|
|
764
|
+
justify-content: flex-end !important;
|
|
765
|
+
}
|
|
766
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=between"] {
|
|
767
|
+
justify-content: space-between !important;
|
|
768
|
+
}
|
|
769
|
+
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="wrap=nowrap"] {
|
|
770
|
+
flex-wrap: nowrap !important;
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
774
|
+
:scope:where([data-component~="ui-cluster"])[hidden] {
|
|
775
|
+
display: none !important;
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
@scope ([data-component~="ui-cluster"]) to ([data-component]) {
|
|
779
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
780
|
+
}
|
|
781
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
782
|
+
@supports (-moz-appearance: none) {
|
|
783
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
784
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
785
|
+
}
|
|
786
|
+
@supports (-moz-appearance: none) {
|
|
787
|
+
[data-component~="ui-form-field"] { --html-next-scope-owner: "ui-form-field" !important; }
|
|
788
|
+
}
|
|
789
|
+
@scope ([data-component~="ui-form-field"]) to ([data-component], [data-slotted]) {
|
|
790
|
+
:scope:where([data-component~="ui-form-field"]) {
|
|
791
|
+
/* Resolve shared part values at the component root. */
|
|
792
|
+
--_ui-form-field-danger: var(--ui-form-field-danger);
|
|
793
|
+
--_ui-form-field-help-min-block-size: var(--ui-form-field-help-min-block-size);
|
|
794
|
+
--_ui-form-field-label-text: var(--ui-form-field-label-text);
|
|
795
|
+
--_ui-form-field-label-font-size: var(--ui-form-field-label-font-size);
|
|
796
|
+
--_ui-form-field-help-text: var(--ui-form-field-help-text);
|
|
797
|
+
--_ui-form-field-help-font-size: var(--ui-form-field-help-font-size);
|
|
798
|
+
|
|
799
|
+
display: grid !important;
|
|
800
|
+
gap: var(--ui-space-2) !important;
|
|
801
|
+
min-inline-size: var(--ui-form-field-min-inline-size, 0);
|
|
802
|
+
align-content: start !important;
|
|
803
|
+
color: var(--ui-text-primary);
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
/* Each named region styles whatever fills it, however it was slotted (slot="…" in HTML, #label
|
|
807
|
+
in Vue), and generates no box of its own, so an empty region adds no gap. */
|
|
808
|
+
.label,
|
|
809
|
+
.help,
|
|
810
|
+
.error {
|
|
811
|
+
display: contents !important;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.label {
|
|
815
|
+
color: var(--_ui-form-field-label-text, var(--ui-text-secondary));
|
|
816
|
+
font-size: var(--_ui-form-field-label-font-size, var(--ui-field-label-font-size, var(--ui-font-size-md)));
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
/* A label action, such as a small help button, sits after the label text in a box one line
|
|
820
|
+
tall, centred on the first line and overflowing it. A button taller than a line of label
|
|
821
|
+
text then never makes this field's label row taller than its neighbours' in a grid row. */
|
|
822
|
+
.label:has(> .label-action > *) {
|
|
823
|
+
display: flex !important;
|
|
824
|
+
align-items: start !important;
|
|
825
|
+
gap: var(--ui-space-1) !important;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.label-action {
|
|
829
|
+
display: flex !important;
|
|
830
|
+
align-items: unsafe center !important;
|
|
831
|
+
block-size: 1lh;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
.label-action:not(:has(> *)) {
|
|
835
|
+
display: none !important;
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
.help {
|
|
839
|
+
color: var(--_ui-form-field-help-text, var(--ui-text-muted));
|
|
840
|
+
font-size: var(--_ui-form-field-help-font-size, var(--ui-font-size-sm));
|
|
841
|
+
line-height: var(--ui-line-height-md);
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.error {
|
|
845
|
+
display: none !important;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
:scope:where([data-component~="ui-form-field"])[data-ui-form-field-state~="invalid"] .error {
|
|
849
|
+
display: contents !important;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/* An error reads in the danger colour, the one the invalid control's border takes. */
|
|
853
|
+
|
|
854
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
855
|
+
:scope:where([data-component~="ui-form-field"])[hidden] {
|
|
856
|
+
display: none !important;
|
|
857
|
+
}
|
|
858
|
+
}
|
|
859
|
+
@scope ([data-component~="ui-form-field"]) to ([data-component]) {
|
|
860
|
+
/* Each named region styles whatever fills it, however it was slotted (slot="…" in HTML, #label
|
|
861
|
+
in Vue), and generates no box of its own, so an empty region adds no gap. */
|
|
862
|
+
|
|
863
|
+
/* A label action, such as a small help button, sits after the label text in a box one line
|
|
864
|
+
tall, centred on the first line and overflowing it. A button taller than a line of label
|
|
865
|
+
text then never makes this field's label row taller than its neighbours' in a grid row. */
|
|
866
|
+
|
|
867
|
+
.help > :where([data-slotted], [data-slotted] *):is(*) {
|
|
868
|
+
min-block-size: var(--_ui-form-field-help-min-block-size, 0);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/* An error reads in the danger colour, the one the invalid control's border takes. */
|
|
872
|
+
.error,
|
|
873
|
+
:where([data-slotted], [data-slotted] *):is([role="alert"]) {
|
|
874
|
+
color: var(--_ui-form-field-danger, var(--ui-field-danger, var(--ui-danger)));
|
|
875
|
+
font-size: var(--ui-font-size-sm);
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
879
|
+
}
|
|
880
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
881
|
+
@supports (-moz-appearance: none) {
|
|
882
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
883
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
884
|
+
}
|
|
885
|
+
@supports (-moz-appearance: none) {
|
|
886
|
+
[data-component~="ui-icon"] { --html-next-scope-owner: "ui-icon" !important; }
|
|
887
|
+
}
|
|
888
|
+
@scope ([data-component~="ui-icon"]) to ([data-component], [data-slotted]) {
|
|
889
|
+
:scope:where([data-component~="ui-icon"]) {
|
|
890
|
+
/* Resolve the SVG stroke at the root. A Looma component that sizes its icons sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
891
|
+
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
892
|
+
|
|
893
|
+
display: inline-flex !important;
|
|
894
|
+
flex: none;
|
|
895
|
+
inline-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
896
|
+
block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
:scope:where([data-component~="ui-icon"])[data-ui-icon-state~="tone=secondary"] {
|
|
900
|
+
color: var(--ui-text-secondary);
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
:scope:where([data-component~="ui-icon"])[data-ui-icon-state~="tone=muted"] {
|
|
904
|
+
color: var(--ui-text-muted);
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
svg {
|
|
908
|
+
inline-size: 100%;
|
|
909
|
+
block-size: 100%;
|
|
910
|
+
stroke-width: var(--_ui-icon-stroke-width, 2);
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
914
|
+
:scope:where([data-component~="ui-icon"])[hidden] {
|
|
915
|
+
display: none !important;
|
|
916
|
+
}
|
|
917
|
+
}
|
|
918
|
+
@scope ([data-component~="ui-icon"]) to ([data-component]) {
|
|
919
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
920
|
+
}
|
|
921
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
922
|
+
@supports (-moz-appearance: none) {
|
|
923
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
924
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
925
|
+
}
|
|
926
|
+
@supports (-moz-appearance: none) {
|
|
927
|
+
[data-component~="ui-icon-button"] { --html-next-scope-owner: "ui-icon-button" !important; }
|
|
928
|
+
}
|
|
929
|
+
@scope ([data-component~="ui-icon-button"]) to ([data-component], [data-slotted]) {
|
|
930
|
+
:scope:where([data-component~="ui-icon-button"]) {
|
|
931
|
+
/* Optional inherited action-group values keep text and icon actions under the same light.
|
|
932
|
+
One fine top/start highlight follows the bottom/end lowlight at a joined action seam.
|
|
933
|
+
The shared theme supplies reflections and glow independently of the resting lift. */
|
|
934
|
+
--_solid-border: var(--ui-accent-border, var(--ui-accent-solid));
|
|
935
|
+
--_solid-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
936
|
+
--_solid-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
|
|
937
|
+
--_solid-active-surface: var(--ui-accent-active, var(--ui-accent-hover));
|
|
938
|
+
--_tone-highlight: var(--ui-accent-highlight, none);
|
|
939
|
+
--_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
|
|
940
|
+
--_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
|
|
941
|
+
--_tone-wash: var(--ui-accent-wash);
|
|
942
|
+
--_tone-wash-hover: var(--ui-accent-wash-hover);
|
|
943
|
+
--_tone-ghost-hover: var(--ui-accent-ghost-hover);
|
|
944
|
+
--_tone-glow: var(--ui-accent-glow, 0 0 transparent);
|
|
945
|
+
--_ui-action-start: 1px;
|
|
946
|
+
--_ui-action-edge: var(
|
|
947
|
+
--ui-action-edge,
|
|
948
|
+
inset var(--_ui-action-start) 1px 0 light-dark(rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.06)),
|
|
949
|
+
inset calc(-1 * var(--_ui-action-start)) -1px 0 light-dark(rgb(0 0 0 / 0.08), rgb(0 0 0 / 0.08))
|
|
950
|
+
);
|
|
951
|
+
--_ui-action-shadow: var(--_ui-action-edge), 0 1px 2px light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.20));
|
|
952
|
+
/* Resolve shared part values at the component root. */
|
|
953
|
+
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
954
|
+
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
955
|
+
|
|
956
|
+
display: inline-flex !important;
|
|
957
|
+
color: var(--ui-text-secondary);
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
:scope:where([data-component~="ui-icon-button"]):dir(rtl) {
|
|
961
|
+
--_ui-action-start: -1px;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-secondary"] {
|
|
965
|
+
--_solid-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
966
|
+
--_solid-hover-border: var(--ui-accent-secondary-hover-border, var(--ui-accent-secondary-hover));
|
|
967
|
+
--_solid-active-border: var(--ui-accent-secondary-active-border, var(--ui-accent-secondary-active));
|
|
968
|
+
--_solid-active-surface: var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover));
|
|
969
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
970
|
+
--_tone-hover-highlight: var(--ui-accent-secondary-hover-highlight, none);
|
|
971
|
+
--_tone-outline-border: var(--ui-accent-secondary-outline-border, var(--ui-accent-secondary-subtle-text));
|
|
972
|
+
--_tone-wash: var(--ui-accent-secondary-wash);
|
|
973
|
+
--_tone-wash-hover: var(--ui-accent-secondary-wash-hover);
|
|
974
|
+
--_tone-ghost-hover: var(--ui-accent-secondary-ghost-hover);
|
|
975
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
976
|
+
--_icon-button-border: var(--ui-accent-secondary-subtle-text);
|
|
977
|
+
--_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
|
|
978
|
+
--_icon-button-text: var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid));
|
|
979
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-secondary-solid) 5%, var(--ui-surface-default));
|
|
980
|
+
--_icon-button-solid-surface: var(--ui-accent-secondary);
|
|
981
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-secondary-hover);
|
|
982
|
+
--_icon-button-solid-text: var(--ui-on-accent-secondary);
|
|
983
|
+
color: var(--_icon-button-text);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent-tertiary"] {
|
|
987
|
+
--_solid-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
988
|
+
--_solid-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
989
|
+
--_solid-active-border: var(--ui-accent-tertiary-active-border, var(--ui-accent-tertiary-active));
|
|
990
|
+
--_solid-active-surface: var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover));
|
|
991
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
992
|
+
--_tone-hover-highlight: var(--ui-accent-tertiary-hover-highlight, none);
|
|
993
|
+
--_tone-outline-border: var(--ui-accent-tertiary-outline-border, var(--ui-accent-tertiary-subtle-text));
|
|
994
|
+
--_tone-wash: var(--ui-accent-tertiary-wash);
|
|
995
|
+
--_tone-wash-hover: var(--ui-accent-tertiary-wash-hover);
|
|
996
|
+
--_tone-ghost-hover: var(--ui-accent-tertiary-ghost-hover);
|
|
997
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
998
|
+
--_icon-button-border: var(--ui-accent-tertiary-subtle-text);
|
|
999
|
+
--_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
|
|
1000
|
+
--_icon-button-text: var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid));
|
|
1001
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-tertiary-solid) 5%, var(--ui-surface-default));
|
|
1002
|
+
--_icon-button-solid-surface: var(--ui-accent-tertiary);
|
|
1003
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-tertiary-hover);
|
|
1004
|
+
--_icon-button-solid-text: var(--ui-on-accent-tertiary);
|
|
1005
|
+
color: var(--_icon-button-text);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="accent"] {
|
|
1009
|
+
--_solid-border: var(--ui-accent-border, var(--ui-accent));
|
|
1010
|
+
--_solid-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
1011
|
+
--_solid-active-border: var(--ui-accent-active-border, var(--ui-accent-active));
|
|
1012
|
+
--_solid-active-surface: var(--ui-accent-active, var(--ui-accent-hover));
|
|
1013
|
+
--_tone-highlight: var(--ui-accent-highlight, none);
|
|
1014
|
+
--_tone-hover-highlight: var(--ui-accent-hover-highlight, none);
|
|
1015
|
+
--_tone-outline-border: var(--ui-accent-outline-border, var(--ui-accent-subtle-text));
|
|
1016
|
+
--_tone-wash: var(--ui-accent-wash);
|
|
1017
|
+
--_tone-wash-hover: var(--ui-accent-wash-hover);
|
|
1018
|
+
--_tone-ghost-hover: var(--ui-accent-ghost-hover);
|
|
1019
|
+
--_tone-glow: var(--ui-accent-glow, 0 0 transparent);
|
|
1020
|
+
--_icon-button-border: var(--ui-accent-subtle-text);
|
|
1021
|
+
--_icon-button-hover-border: var(--ui-accent-subtle-text);
|
|
1022
|
+
--_icon-button-text: var(--ui-accent-subtle-text, var(--ui-accent-solid));
|
|
1023
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-accent-solid) 5%, var(--ui-surface-default));
|
|
1024
|
+
color: var(--_icon-button-text);
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="danger"] {
|
|
1028
|
+
--_solid-border: var(--ui-danger-border, var(--ui-danger));
|
|
1029
|
+
--_solid-hover-border: var(--ui-danger-hover-border, var(--ui-danger-hover));
|
|
1030
|
+
--_solid-active-border: var(--ui-danger-active-border, var(--ui-danger-active));
|
|
1031
|
+
--_solid-active-surface: var(--ui-danger-active, var(--ui-danger-hover));
|
|
1032
|
+
--_tone-highlight: var(--ui-danger-highlight, none);
|
|
1033
|
+
--_tone-hover-highlight: var(--ui-danger-hover-highlight, none);
|
|
1034
|
+
--_tone-outline-border: var(--ui-danger-outline-border, var(--ui-danger-subtle-text));
|
|
1035
|
+
--_tone-wash: var(--ui-danger-wash);
|
|
1036
|
+
--_tone-wash-hover: var(--ui-danger-wash-hover);
|
|
1037
|
+
--_tone-ghost-hover: var(--ui-danger-ghost-hover);
|
|
1038
|
+
--_tone-glow: var(--ui-danger-glow, 0 0 transparent);
|
|
1039
|
+
--_icon-button-border: var(--ui-danger-subtle-text);
|
|
1040
|
+
--_icon-button-hover-border: var(--ui-danger-subtle-text);
|
|
1041
|
+
--_icon-button-text: var(--ui-danger-subtle-text);
|
|
1042
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-danger) 5%, var(--ui-surface-default));
|
|
1043
|
+
--_icon-button-solid-surface: var(--ui-danger);
|
|
1044
|
+
--_icon-button-solid-hover-surface: var(--ui-danger-hover);
|
|
1045
|
+
--_icon-button-solid-text: var(--ui-danger-on-strong);
|
|
1046
|
+
color: var(--_icon-button-text);
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="success"] {
|
|
1050
|
+
--_solid-border: var(--ui-success-border, var(--ui-success));
|
|
1051
|
+
--_solid-hover-border: var(--ui-success-hover-border, var(--ui-success-hover));
|
|
1052
|
+
--_solid-active-border: var(--ui-success-active-border, var(--ui-success-active));
|
|
1053
|
+
--_solid-active-surface: var(--ui-success-active, var(--ui-success-hover));
|
|
1054
|
+
--_tone-highlight: var(--ui-success-highlight, none);
|
|
1055
|
+
--_tone-hover-highlight: var(--ui-success-hover-highlight, none);
|
|
1056
|
+
--_tone-outline-border: var(--ui-success-outline-border, var(--ui-success-subtle-text));
|
|
1057
|
+
--_tone-wash: var(--ui-success-wash);
|
|
1058
|
+
--_tone-wash-hover: var(--ui-success-wash-hover);
|
|
1059
|
+
--_tone-ghost-hover: var(--ui-success-ghost-hover);
|
|
1060
|
+
--_tone-glow: var(--ui-success-glow, 0 0 transparent);
|
|
1061
|
+
--_icon-button-border: var(--ui-success-subtle-text);
|
|
1062
|
+
--_icon-button-hover-border: var(--ui-success-subtle-text);
|
|
1063
|
+
--_icon-button-text: var(--ui-success-subtle-text);
|
|
1064
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-success) 5%, var(--ui-surface-default));
|
|
1065
|
+
--_icon-button-solid-surface: var(--ui-success);
|
|
1066
|
+
--_icon-button-solid-hover-surface: var(--ui-success-hover);
|
|
1067
|
+
--_icon-button-solid-text: var(--ui-success-on-strong);
|
|
1068
|
+
color: var(--_icon-button-text);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="warning"] {
|
|
1072
|
+
--_solid-border: var(--ui-warning-border, var(--ui-warning));
|
|
1073
|
+
--_solid-hover-border: var(--ui-warning-hover-border, var(--ui-warning-hover));
|
|
1074
|
+
--_solid-active-border: var(--ui-warning-active-border, var(--ui-warning-active));
|
|
1075
|
+
--_solid-active-surface: var(--ui-warning-active, var(--ui-warning-hover));
|
|
1076
|
+
--_tone-highlight: var(--ui-warning-highlight, none);
|
|
1077
|
+
--_tone-hover-highlight: var(--ui-warning-hover-highlight, none);
|
|
1078
|
+
--_tone-outline-border: var(--ui-warning-outline-border, var(--ui-warning-subtle-text));
|
|
1079
|
+
--_tone-wash: var(--ui-warning-wash);
|
|
1080
|
+
--_tone-wash-hover: var(--ui-warning-wash-hover);
|
|
1081
|
+
--_tone-ghost-hover: var(--ui-warning-ghost-hover);
|
|
1082
|
+
--_tone-glow: var(--ui-warning-glow, 0 0 transparent);
|
|
1083
|
+
--_icon-button-border: var(--ui-warning-subtle-text);
|
|
1084
|
+
--_icon-button-hover-border: var(--ui-warning-subtle-text);
|
|
1085
|
+
--_icon-button-text: var(--ui-warning-subtle-text);
|
|
1086
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-warning) 5%, var(--ui-surface-default));
|
|
1087
|
+
--_icon-button-solid-surface: var(--ui-warning);
|
|
1088
|
+
--_icon-button-solid-hover-surface: var(--ui-warning-hover);
|
|
1089
|
+
--_icon-button-solid-text: var(--ui-warning-on-strong);
|
|
1090
|
+
color: var(--_icon-button-text);
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="info"] {
|
|
1094
|
+
--_solid-border: var(--ui-info-border, var(--ui-info));
|
|
1095
|
+
--_solid-hover-border: var(--ui-info-hover-border, var(--ui-info-hover));
|
|
1096
|
+
--_solid-active-border: var(--ui-info-active-border, var(--ui-info-active));
|
|
1097
|
+
--_solid-active-surface: var(--ui-info-active, var(--ui-info-hover));
|
|
1098
|
+
--_tone-highlight: var(--ui-info-highlight, none);
|
|
1099
|
+
--_tone-hover-highlight: var(--ui-info-hover-highlight, none);
|
|
1100
|
+
--_tone-outline-border: var(--ui-info-outline-border, var(--ui-info-subtle-text));
|
|
1101
|
+
--_tone-wash: var(--ui-info-wash);
|
|
1102
|
+
--_tone-wash-hover: var(--ui-info-wash-hover);
|
|
1103
|
+
--_tone-ghost-hover: var(--ui-info-ghost-hover);
|
|
1104
|
+
--_tone-glow: var(--ui-info-glow, 0 0 transparent);
|
|
1105
|
+
--_icon-button-border: var(--ui-info-subtle-text);
|
|
1106
|
+
--_icon-button-hover-border: var(--ui-info-subtle-text);
|
|
1107
|
+
--_icon-button-text: var(--ui-info-subtle-text);
|
|
1108
|
+
--_icon-button-outline-surface: color-mix(in srgb, var(--ui-info) 5%, var(--ui-surface-default));
|
|
1109
|
+
--_icon-button-solid-surface: var(--ui-info);
|
|
1110
|
+
--_icon-button-solid-hover-surface: var(--ui-info-hover);
|
|
1111
|
+
--_icon-button-solid-text: var(--ui-info-on-strong);
|
|
1112
|
+
color: var(--_icon-button-text);
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
1116
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"] {
|
|
1117
|
+
--_solid-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
1118
|
+
--_solid-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
1119
|
+
--_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
1120
|
+
--_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
|
|
1121
|
+
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
1122
|
+
--_tone-hover-highlight: var(--ui-neutral-hover-highlight, var(--_tone-highlight));
|
|
1123
|
+
--_tone-outline-border: var(--ui-control-border);
|
|
1124
|
+
--_tone-ghost-hover: var(--ui-neutral-ghost-hover);
|
|
1125
|
+
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
1126
|
+
--_icon-button-outline-surface: transparent;
|
|
1127
|
+
--_icon-button-border: var(--ui-control-border);
|
|
1128
|
+
--_icon-button-hover-border: var(--ui-control-border-hover);
|
|
1129
|
+
--_icon-button-text: var(--ui-text);
|
|
1130
|
+
--_icon-button-solid-surface: var(--ui-neutral-surface);
|
|
1131
|
+
--_icon-button-solid-hover-surface: var(--ui-neutral-hover);
|
|
1132
|
+
--_icon-button-solid-text: var(--ui-text);
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"] {
|
|
1136
|
+
position: relative;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]::before {
|
|
1140
|
+
content: "";
|
|
1141
|
+
position: absolute;
|
|
1142
|
+
inset: 50% auto auto 50%;
|
|
1143
|
+
z-index: 1;
|
|
1144
|
+
inline-size: var(--ui-affordance-guide-size);
|
|
1145
|
+
block-size: var(--ui-affordance-guide-size);
|
|
1146
|
+
border-radius: var(--ui-radius-round);
|
|
1147
|
+
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
1148
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
1149
|
+
transform: translate(-50%, -50%);
|
|
1150
|
+
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
1151
|
+
pointer-events: none;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"][data-ui-icon-button-state~="guide=bar"]::before {
|
|
1155
|
+
inline-size: 2px;
|
|
1156
|
+
block-size: 20px;
|
|
1157
|
+
background: var(--ui-border-strong);
|
|
1158
|
+
opacity: 1;
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]:disabled::before {
|
|
1162
|
+
opacity: 0;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
1166
|
+
proximity, hover, or focus reveals it; the button's hit area and guide remain stable. */
|
|
1167
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"] .content {
|
|
1168
|
+
opacity: 1;
|
|
1169
|
+
transform: scale(1);
|
|
1170
|
+
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease), transform calc(var(--ui-motion-fast) * 2) cubic-bezier(0.2, 1.4, 0.35, 1);
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1174
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]:not(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="revealed"], :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"], :disabled, [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible) {
|
|
1175
|
+
border-color: transparent;
|
|
1176
|
+
background-color: transparent;
|
|
1177
|
+
box-shadow: none;
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]:not(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="revealed"], :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"], :disabled, [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible)
|
|
1181
|
+
.content {
|
|
1182
|
+
opacity: 0;
|
|
1183
|
+
transform: scale(0.65);
|
|
1184
|
+
transition-duration: var(--ui-motion-fast);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]:is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="revealed"], :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"], [aria-pressed="true"], [data-ui-proximity="near"], :hover, :focus-visible)::before {
|
|
1189
|
+
opacity: 0;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
:scope:where([data-component~="ui-icon-button"]) {
|
|
1193
|
+
/* The size prop resolves here; --ui-icon-button-size overrides it on an element. */
|
|
1194
|
+
--_size: 2rem;
|
|
1195
|
+
appearance: none;
|
|
1196
|
+
inline-size: var(--ui-icon-button-size, var(--_size));
|
|
1197
|
+
block-size: var(--ui-icon-button-size, var(--_size));
|
|
1198
|
+
min-inline-size: var(--ui-icon-button-size, var(--_size));
|
|
1199
|
+
min-block-size: var(--ui-icon-button-size, var(--_size));
|
|
1200
|
+
padding: 0 !important;
|
|
1201
|
+
margin: 0 !important;
|
|
1202
|
+
border: var(--ui-border-width) solid transparent;
|
|
1203
|
+
border-radius: var(--ui-icon-button-radius, var(--ui-action-radius, var(--ui-radius-md)));
|
|
1204
|
+
background-color: var(--ui-icon-button-surface, transparent);
|
|
1205
|
+
color: inherit;
|
|
1206
|
+
display: inline-flex !important;
|
|
1207
|
+
align-items: center !important;
|
|
1208
|
+
justify-content: center !important;
|
|
1209
|
+
cursor: pointer;
|
|
1210
|
+
transition:
|
|
1211
|
+
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1212
|
+
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1213
|
+
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1214
|
+
box-shadow var(--ui-motion-base) var(--ui-motion-ease),
|
|
1215
|
+
scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
1216
|
+
}
|
|
1217
|
+
|
|
1218
|
+
@media (hover: none), (pointer: coarse) {
|
|
1219
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"]::before {
|
|
1220
|
+
opacity: 0;
|
|
1221
|
+
}
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
/* A touch target without a bigger button: an invisible hit area, at least the control
|
|
1225
|
+
minimum, centred on the button (::before is the anticipatory guide). */
|
|
1226
|
+
@media (pointer: coarse) {
|
|
1227
|
+
:scope:where([data-component~="ui-icon-button"]) {
|
|
1228
|
+
position: relative;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
:scope:where([data-component~="ui-icon-button"])::after {
|
|
1232
|
+
content: "";
|
|
1233
|
+
position: absolute;
|
|
1234
|
+
inset: 50% auto auto 50%;
|
|
1235
|
+
inline-size: max(100%, var(--ui-control-min-block-size));
|
|
1236
|
+
block-size: max(100%, var(--ui-control-min-block-size));
|
|
1237
|
+
transform: translate(-50%, -50%);
|
|
1238
|
+
}
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-icon-button"]) {
|
|
1242
|
+
position: relative;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-icon-button"])::after {
|
|
1246
|
+
content: "";
|
|
1247
|
+
position: absolute;
|
|
1248
|
+
inset: 50% auto auto 50%;
|
|
1249
|
+
inline-size: max(100%, var(--ui-control-min-block-size));
|
|
1250
|
+
block-size: max(100%, var(--ui-control-min-block-size));
|
|
1251
|
+
transform: translate(-50%, -50%);
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=sm"] {
|
|
1255
|
+
--_size: 1.75rem;
|
|
1256
|
+
inline-size: var(--ui-icon-button-size, var(--_size));
|
|
1257
|
+
block-size: var(--ui-icon-button-size, var(--_size));
|
|
1258
|
+
min-inline-size: var(--ui-icon-button-size, var(--_size));
|
|
1259
|
+
min-block-size: var(--ui-icon-button-size, var(--_size));
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=lg"] {
|
|
1263
|
+
--_size: 2.5rem;
|
|
1264
|
+
inline-size: var(--ui-icon-button-size, var(--_size));
|
|
1265
|
+
block-size: var(--ui-icon-button-size, var(--_size));
|
|
1266
|
+
min-inline-size: var(--ui-icon-button-size, var(--_size));
|
|
1267
|
+
min-block-size: var(--ui-icon-button-size, var(--_size));
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
/* A text button's companion uses control geometry; compact icon buttons keep their own density. */
|
|
1271
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"] {
|
|
1272
|
+
--_size: var(--ui-control-size-md);
|
|
1273
|
+
block-size: auto;
|
|
1274
|
+
align-self: stretch;
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/* A paired action may grow vertically for touch, without intercepting its neighbour. */
|
|
1278
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"]::after,
|
|
1279
|
+
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"]::after {
|
|
1280
|
+
inline-size: 100%;
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"][data-ui-icon-button-state~="size=sm"] {
|
|
1284
|
+
--_size: var(--ui-control-size-sm);
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="matchButton"][data-ui-icon-button-state~="size=lg"] {
|
|
1288
|
+
--_size: var(--ui-control-size-lg);
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="round"] {
|
|
1292
|
+
border-radius: var(--ui-radius-round);
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"] {
|
|
1296
|
+
border-color: var(--ui-icon-button-border, var(--_icon-button-border, var(--ui-control-border, var(--ui-border-strong))));
|
|
1297
|
+
background-color: var(--ui-icon-button-outline-surface, var(--_icon-button-outline-surface, var(--ui-surface-default)));
|
|
1298
|
+
background-image: none;
|
|
1299
|
+
color: var(--ui-icon-button-outline-text, var(--_icon-button-text, var(--ui-text-primary)));
|
|
1300
|
+
box-shadow: var(--ui-neutral-shadow);
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"] {
|
|
1304
|
+
border-color: var(--ui-icon-button-border, var(--_solid-border));
|
|
1305
|
+
background-color: var(--ui-icon-button-solid-surface, var(--_icon-button-solid-surface, var(--ui-accent-solid)));
|
|
1306
|
+
background-image: var(--_tone-highlight);
|
|
1307
|
+
color: var(--ui-icon-button-solid-text, var(--_icon-button-solid-text, var(--ui-text-on-accent)));
|
|
1308
|
+
box-shadow:
|
|
1309
|
+
var(--ui-icon-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
1310
|
+
var(--_tone-glow);
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"] {
|
|
1314
|
+
box-shadow: var(--ui-neutral-shadow);
|
|
1315
|
+
}
|
|
1316
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="solid"] {
|
|
1317
|
+
border-color: var(--ui-icon-button-border, var(--ui-control-border));
|
|
1318
|
+
box-shadow: var(--ui-icon-button-solid-shadow, var(--ui-neutral-shadow));
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
:scope:where([data-component~="ui-icon-button"]):hover:enabled:not([aria-disabled="true"]) {
|
|
1322
|
+
/* Shared translucent paint keeps text and icon action feedback coordinated. */
|
|
1323
|
+
background-color: var(--ui-icon-button-hover-surface, var(--_tone-ghost-hover));
|
|
1324
|
+
color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
|
|
1325
|
+
}
|
|
1326
|
+
|
|
1327
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]) {
|
|
1328
|
+
--_outline-wash: var(--_tone-wash);
|
|
1329
|
+
border-color: var(--ui-icon-button-border, var(--_tone-outline-border));
|
|
1330
|
+
background-color: var(--ui-icon-button-outline-surface, transparent);
|
|
1331
|
+
background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:not([data-tone="neutral"]):hover:enabled:not([aria-disabled="true"]) {
|
|
1335
|
+
--_outline-wash: var(--_tone-wash-hover);
|
|
1336
|
+
background-color: var(--ui-icon-button-hover-surface, transparent);
|
|
1337
|
+
border-color: var(--ui-icon-button-hover-border, var(--_tone-outline-border));
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1341
|
+
border-color: var(--ui-icon-button-hover-border, var(--_icon-button-hover-border, var(--ui-control-border-hover, var(--ui-control-border))));
|
|
1342
|
+
}
|
|
1343
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1344
|
+
background-color: var(--ui-icon-button-hover-surface, transparent);
|
|
1345
|
+
--_outline-wash: var(--ui-neutral-wash-hover);
|
|
1346
|
+
background-image: linear-gradient(var(--_outline-wash), var(--_outline-wash));
|
|
1347
|
+
}
|
|
1348
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone="neutral"][data-appearance="outline"]:active:enabled:not([aria-disabled="true"]) {
|
|
1349
|
+
background-color: var(--ui-icon-button-active-surface, var(--ui-neutral-active));
|
|
1350
|
+
}
|
|
1351
|
+
|
|
1352
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1353
|
+
border-color: var(--ui-icon-button-hover-border, var(--_solid-hover-border));
|
|
1354
|
+
background-color: var(--ui-icon-button-solid-hover-surface, var(--_icon-button-solid-hover-surface, var(--ui-accent-hover)));
|
|
1355
|
+
background-image: var(--_tone-hover-highlight);
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:hover:enabled:not([aria-disabled="true"]) {
|
|
1359
|
+
color: var(--ui-icon-button-solid-text, var(--_icon-button-solid-text, var(--ui-text-on-accent)));
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="ghost"][aria-expanded="true"]:enabled:not([aria-disabled="true"]) {
|
|
1363
|
+
background-color: var(--ui-icon-button-active-surface, color-mix(in srgb, currentColor 16%, transparent));
|
|
1364
|
+
color: var(--ui-icon-button-hover-text, var(--_icon-button-text, var(--ui-text-primary)));
|
|
1365
|
+
box-shadow: var(--ui-pressed);
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
/* Native toggle state persists after pointer release, including during loading. */
|
|
1369
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"][aria-pressed="true"]:enabled {
|
|
1370
|
+
background-color: var(--ui-icon-button-active-surface, color-mix(in srgb, currentColor 12%, var(--ui-surface-default)));
|
|
1371
|
+
background-image: none;
|
|
1372
|
+
box-shadow: var(--ui-pressed);
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
:scope:where([data-component~="ui-icon-button"]):active:enabled:not([aria-disabled="true"]) {
|
|
1376
|
+
scale: var(--ui-icon-button-active-scale, var(--ui-press-scale, 0.96));
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
:is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"]) {
|
|
1380
|
+
cursor: progress;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
.content {
|
|
1384
|
+
display: inline-flex !important;
|
|
1385
|
+
align-items: center !important;
|
|
1386
|
+
justify-content: center !important;
|
|
1387
|
+
}
|
|
1388
|
+
|
|
1389
|
+
:is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"]) .content {
|
|
1390
|
+
display: none !important;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1394
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="anticipatory"] .content {
|
|
1395
|
+
transition: none;
|
|
1396
|
+
}
|
|
1397
|
+
}
|
|
1398
|
+
|
|
1399
|
+
:scope:where([data-component~="ui-icon-button"]):focus-visible {
|
|
1400
|
+
outline: none;
|
|
1401
|
+
box-shadow: var(--ui-focus-halo);
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"]:focus-visible {
|
|
1405
|
+
box-shadow:
|
|
1406
|
+
var(--ui-neutral-shadow),
|
|
1407
|
+
var(--ui-focus-halo);
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:focus-visible {
|
|
1411
|
+
box-shadow:
|
|
1412
|
+
var(--ui-icon-button-solid-shadow, var(--ui-action-shadow, var(--_ui-action-shadow))),
|
|
1413
|
+
var(--ui-focus-halo);
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]:active:enabled:not([aria-disabled="true"]) {
|
|
1417
|
+
background-color: var(--ui-icon-button-active-surface, var(--_solid-active-surface));
|
|
1418
|
+
border-color: var(--_solid-active-border);
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
:scope:where([data-component~="ui-icon-button"]):is(:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"], :scope:where([data-component~="ui-icon-button"])[data-appearance="solid"]):active:enabled:not([aria-disabled="true"]) {
|
|
1422
|
+
background-image: none;
|
|
1423
|
+
box-shadow: var(--ui-pressed);
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"][aria-pressed="true"]:enabled:focus-visible {
|
|
1427
|
+
box-shadow:
|
|
1428
|
+
var(--ui-pressed),
|
|
1429
|
+
var(--ui-focus-halo);
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1432
|
+
@media (forced-colors: active) {
|
|
1433
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"][aria-pressed="true"]:enabled {
|
|
1434
|
+
outline: var(--ui-focus-width) solid Highlight;
|
|
1435
|
+
outline-offset: calc(-2 * var(--ui-focus-width));
|
|
1436
|
+
}
|
|
1437
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="outline"][aria-pressed="true"]:enabled:focus-visible {
|
|
1438
|
+
outline-offset: var(--ui-focus-width);
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
/* Disabled is a flat neutral control, independent of the active variant's tone. */
|
|
1443
|
+
:scope:where([data-component~="ui-icon-button"])[data-tone]:disabled {
|
|
1444
|
+
border-color: var(--ui-disabled-border);
|
|
1445
|
+
background-color: var(--ui-disabled-surface);
|
|
1446
|
+
color: var(--ui-disabled-text);
|
|
1447
|
+
filter: var(--ui-icon-button-disabled-filter, var(--ui-disabled-filter));
|
|
1448
|
+
opacity: var(--ui-icon-button-disabled-opacity, 1);
|
|
1449
|
+
cursor: not-allowed;
|
|
1450
|
+
box-shadow: none;
|
|
1451
|
+
background-image: none;
|
|
1452
|
+
}
|
|
1453
|
+
|
|
1454
|
+
:scope:where([data-component~="ui-icon-button"])[data-appearance="ghost"]:disabled {
|
|
1455
|
+
border-color: transparent;
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
:scope:where([data-component~="ui-icon-button"]) {
|
|
1459
|
+
--_icon-button-icon-default: var(--ui-icon-size-md);
|
|
1460
|
+
/* A slotted ui-icon is its own component, out of reach of the svg rule below; these are its
|
|
1461
|
+
defaults, which its own --ui-icon-* hooks still override. */
|
|
1462
|
+
--_ui-default-icon-size: var(--_ui-icon-button-icon-size, var(--_icon-button-icon-default));
|
|
1463
|
+
--_ui-default-icon-stroke-width: var(--_ui-icon-button-icon-stroke-width, 1.75);
|
|
1464
|
+
}
|
|
1465
|
+
|
|
1466
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=sm"] {
|
|
1467
|
+
--_icon-button-icon-default: var(--ui-icon-size-sm);
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1470
|
+
:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="size=lg"] {
|
|
1471
|
+
--_icon-button-icon-default: var(--ui-icon-size-lg);
|
|
1472
|
+
}
|
|
1473
|
+
|
|
1474
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1475
|
+
:scope:where([data-component~="ui-icon-button"])[hidden] {
|
|
1476
|
+
display: none !important;
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
@scope ([data-component~="ui-icon-button"]) to ([data-component]) {
|
|
1480
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
1481
|
+
|
|
1482
|
+
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
1483
|
+
proximity, hover, or focus reveals it; the button's hit area and guide remain stable. */
|
|
1484
|
+
|
|
1485
|
+
@media (hover: hover) and (pointer: fine) {
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
@media (hover: none), (pointer: coarse) {
|
|
1489
|
+
}
|
|
1490
|
+
|
|
1491
|
+
/* A touch target without a bigger button: an invisible hit area, at least the control
|
|
1492
|
+
minimum, centred on the button (::before is the anticipatory guide). */
|
|
1493
|
+
@media (pointer: coarse) {
|
|
1494
|
+
}
|
|
1495
|
+
|
|
1496
|
+
/* A text button's companion uses control geometry; compact icon buttons keep their own density. */
|
|
1497
|
+
|
|
1498
|
+
/* A paired action may grow vertically for touch, without intercepting its neighbour. */
|
|
1499
|
+
|
|
1500
|
+
/* Native toggle state persists after pointer release, including during loading. */
|
|
1501
|
+
|
|
1502
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
@media (forced-colors: active) {
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
/* Disabled is a flat neutral control, independent of the active variant's tone. */
|
|
1509
|
+
|
|
1510
|
+
:where([data-slotted], [data-slotted] *):is(svg) {
|
|
1511
|
+
inline-size: var(--_ui-icon-button-icon-size, var(--_icon-button-icon-default));
|
|
1512
|
+
block-size: var(--_ui-icon-button-icon-size, var(--_icon-button-icon-default));
|
|
1513
|
+
flex-shrink: 0;
|
|
1514
|
+
stroke-width: var(--_ui-icon-button-icon-stroke-width, 1.75);
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1518
|
+
}
|
|
1519
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
1520
|
+
@supports (-moz-appearance: none) {
|
|
1521
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1522
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
1523
|
+
}
|
|
1524
|
+
@supports (-moz-appearance: none) {
|
|
1525
|
+
[data-component~="ui-list"] { --html-next-scope-owner: "ui-list" !important; }
|
|
1526
|
+
}
|
|
1527
|
+
@scope ([data-component~="ui-list"]) to ([data-component], [data-slotted]) {
|
|
1528
|
+
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
1529
|
+
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
1530
|
+
markers. */
|
|
1531
|
+
:scope:where([data-component~="ui-list"]) {
|
|
1532
|
+
--_list-gap: var(--ui-list-gap, var(--ui-space-1));
|
|
1533
|
+
--_list-min-item-width: var(--ui-list-min-item-width, 14rem);
|
|
1534
|
+
display: flex !important;
|
|
1535
|
+
flex-direction: column !important;
|
|
1536
|
+
inline-size: 100%;
|
|
1537
|
+
gap: var(--_list-gap) !important;
|
|
1538
|
+
min-inline-size: 0;
|
|
1539
|
+
margin: 0 !important;
|
|
1540
|
+
padding: 0 !important;
|
|
1541
|
+
list-style: none;
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
:scope:where([data-component~="ui-list"])[data-ui-list-state~="as=ol"],
|
|
1545
|
+
:scope:where([data-component~="ui-list"])[data-ui-list-state~="markers=disc"] {
|
|
1546
|
+
padding-inline-start: var(--ui-space-5) !important;
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
:scope:where([data-component~="ui-list"])[data-ui-list-state~="as=ol"] {
|
|
1550
|
+
list-style: decimal;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
:scope:where([data-component~="ui-list"])[data-ui-list-state~="markers=disc"] {
|
|
1554
|
+
list-style: disc;
|
|
1555
|
+
}
|
|
1556
|
+
|
|
1557
|
+
/* Compact passes its size to the items through private properties, which cross into each item. */
|
|
1558
|
+
:scope:where([data-component~="ui-list"])[data-ui-list-state~="density=compact"] {
|
|
1559
|
+
--_list-gap: var(--ui-list-gap, var(--ui-space-2));
|
|
1560
|
+
--_ui-list-item-min-size: 0;
|
|
1561
|
+
--_ui-list-item-padding-block: 0;
|
|
1562
|
+
--_ui-list-item-padding-inline: 0;
|
|
1563
|
+
--_ui-list-item-title-weight: var(--ui-font-normal);
|
|
1564
|
+
--_ui-list-native-padding-block: 0;
|
|
1565
|
+
--_ui-list-native-padding-inline: 0;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
:scope:where([data-component~="ui-list"])[data-ui-list-state~="layout=grid"] {
|
|
1569
|
+
--_list-gap: var(--ui-list-gap, var(--ui-space-3));
|
|
1570
|
+
display: grid !important;
|
|
1571
|
+
grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--_list-min-item-width)), 1fr));
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1575
|
+
:scope:where([data-component~="ui-list"])[hidden] {
|
|
1576
|
+
display: none !important;
|
|
1577
|
+
}
|
|
1578
|
+
}
|
|
1579
|
+
@scope ([data-component~="ui-list"]) to ([data-component]) {
|
|
1580
|
+
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
1581
|
+
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
1582
|
+
markers. */
|
|
1583
|
+
|
|
1584
|
+
:scope:where([data-component~="ui-list"]) > :where([data-slotted], [data-slotted] *):is(li) {
|
|
1585
|
+
box-sizing: border-box !important;
|
|
1586
|
+
min-inline-size: 0;
|
|
1587
|
+
padding: var(--_ui-list-native-padding-block, var(--ui-space-2)) var(--_ui-list-native-padding-inline, var(--ui-space-3)) !important;
|
|
1588
|
+
border-radius: var(--ui-radius-md);
|
|
1589
|
+
color: var(--ui-text-primary);
|
|
1590
|
+
list-style: inherit;
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
:scope:where([data-component~="ui-list"]) > :where([data-slotted], [data-slotted] *):is(li.card) {
|
|
1594
|
+
padding: var(--_ui-list-native-padding-block, var(--ui-space-3)) var(--_ui-list-native-padding-inline, var(--ui-space-4)) !important;
|
|
1595
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
1596
|
+
border-radius: var(--ui-radius-lg);
|
|
1597
|
+
background: var(--ui-surface-raised);
|
|
1598
|
+
list-style: none;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
/* Compact passes its size to the items through private properties, which cross into each item. */
|
|
1602
|
+
|
|
1603
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1604
|
+
}
|
|
1605
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
1606
|
+
@supports (-moz-appearance: none) {
|
|
1607
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1608
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
1609
|
+
}
|
|
1610
|
+
@supports (-moz-appearance: none) {
|
|
1611
|
+
[data-component~="ui-menu"] { --html-next-scope-owner: "ui-menu" !important; }
|
|
1612
|
+
}
|
|
1613
|
+
@scope ([data-component~="ui-menu"]) to ([data-component], [data-slotted]) {
|
|
1614
|
+
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
1615
|
+
still win. */
|
|
1616
|
+
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="density=compact"] {
|
|
1617
|
+
--_ui-default-menu-item-padding-block: var(--ui-space-1);
|
|
1618
|
+
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
1619
|
+
--_ui-default-menu-item-font-size: var(--ui-font-size-sm);
|
|
1620
|
+
--_ui-default-menu-item-radius: var(--ui-radius-sm);
|
|
1621
|
+
padding: var(--ui-space-1) !important;
|
|
1622
|
+
gap: 0 !important;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
/* Small follows its trigger down: an item's own hooks still win. */
|
|
1626
|
+
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="size=sm"] {
|
|
1627
|
+
--_ui-default-menu-item-padding-block: var(--ui-space-0-5);
|
|
1628
|
+
--_ui-default-menu-item-padding-inline: var(--ui-space-2);
|
|
1629
|
+
--_ui-default-menu-item-font-size: var(--ui-font-size-xs);
|
|
1630
|
+
--_ui-default-menu-item-radius: var(--ui-radius-sm);
|
|
1631
|
+
--_ui-default-menu-item-min-block-size: 1.5rem;
|
|
1632
|
+
--_ui-default-menu-indicator-size: 0.75rem;
|
|
1633
|
+
min-inline-size: min(8rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
1634
|
+
padding: var(--ui-space-1) !important;
|
|
1635
|
+
gap: 0 !important;
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="icons"] {
|
|
1639
|
+
--_ui-default-menu-icon-display: inline-flex;
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1642
|
+
:scope:where([data-component~="ui-menu"]) {
|
|
1643
|
+
--_ui-material-scale: 0.28;
|
|
1644
|
+
--_ui-menu-surface: var(--ui-menu-surface);
|
|
1645
|
+
--_ui-menu-border: var(--ui-menu-border);
|
|
1646
|
+
--_ui-menu-radius: var(--ui-menu-radius);
|
|
1647
|
+
--_ui-menu-shadow: var(--ui-menu-shadow);
|
|
1648
|
+
/* A menu nested in a compact one starts again from its own density. */
|
|
1649
|
+
--_ui-default-menu-item-padding-block: initial;
|
|
1650
|
+
--_ui-default-menu-item-padding-inline: initial;
|
|
1651
|
+
--_ui-default-menu-item-font-size: initial;
|
|
1652
|
+
--_ui-default-menu-item-radius: initial;
|
|
1653
|
+
--_ui-default-menu-item-min-block-size: initial;
|
|
1654
|
+
--_ui-default-menu-indicator-size: initial;
|
|
1655
|
+
--_ui-default-menu-icon-display: none;
|
|
1656
|
+
display: flex !important;
|
|
1657
|
+
flex-direction: column !important;
|
|
1658
|
+
box-sizing: border-box !important;
|
|
1659
|
+
inline-size: max-content;
|
|
1660
|
+
min-inline-size: min(12rem, calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2));
|
|
1661
|
+
max-inline-size: calc(100vw - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
1662
|
+
padding: 0 !important;
|
|
1663
|
+
border: 0;
|
|
1664
|
+
outline: 0;
|
|
1665
|
+
border-radius: 0;
|
|
1666
|
+
background: transparent;
|
|
1667
|
+
box-shadow: none;
|
|
1668
|
+
overflow: visible;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
.surface {
|
|
1672
|
+
display: flex !important;
|
|
1673
|
+
flex-direction: column !important;
|
|
1674
|
+
box-sizing: border-box !important;
|
|
1675
|
+
max-inline-size: inherit;
|
|
1676
|
+
padding: var(--ui-space-1) !important;
|
|
1677
|
+
background: var(--_ui-menu-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
1678
|
+
border: var(--ui-border-width) solid var(--_ui-menu-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
1679
|
+
border-radius: var(--_ui-menu-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
1680
|
+
box-shadow: var(--_ui-menu-shadow, var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg))));
|
|
1681
|
+
max-block-size: inherit;
|
|
1682
|
+
overflow: auto;
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
1686
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
1687
|
+
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
1688
|
+
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
1689
|
+
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
1690
|
+
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
1691
|
+
--_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.28) * 8px);
|
|
1692
|
+
--_ui-material-content-color: var(
|
|
1693
|
+
--_ui-menu-surface,
|
|
1694
|
+
var(--_ui-material-underpaint, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))))
|
|
1695
|
+
);
|
|
1696
|
+
--_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
|
|
1697
|
+
background:
|
|
1698
|
+
var(--ui-material-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent))) padding-box,
|
|
1699
|
+
linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color)) padding-box,
|
|
1700
|
+
linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
|
|
1701
|
+
border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
|
|
1702
|
+
border-color: var(
|
|
1703
|
+
--_ui-menu-border,
|
|
1704
|
+
color-mix(in oklab, var(--ui-overlay-border, var(--ui-border-strong)) calc((1 - var(--_ui-material-active)) * 100%), transparent)
|
|
1705
|
+
);
|
|
1706
|
+
box-shadow: var(
|
|
1707
|
+
--_ui-menu-shadow,
|
|
1708
|
+
var(
|
|
1709
|
+
--ui-overlay-shadow,
|
|
1710
|
+
0 calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.28) * 8px) calc(
|
|
1711
|
+
var(--_ui-material-separation) * var(--_ui-material-scale, 0.28) * 24px
|
|
1712
|
+
) color-mix(in oklab, var(--ui-text-primary) 15%, transparent),
|
|
1713
|
+
var(--ui-material-glow, 0 0 transparent),
|
|
1714
|
+
inset 0 0 0 calc(var(--_ui-material-active) * var(--ui-border-width)) var(--ui-material-edge, var(--ui-border-strong)),
|
|
1715
|
+
var(--ui-elevation-overlay, var(--ui-shadow-lg))
|
|
1716
|
+
)
|
|
1717
|
+
);
|
|
1718
|
+
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) * 32px));
|
|
1719
|
+
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.28) * 32px));
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
1723
|
+
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
1724
|
+
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
1729
|
+
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
1730
|
+
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
1731
|
+
-webkit-backdrop-filter: none;
|
|
1732
|
+
backdrop-filter: none;
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
@media (forced-colors: active) {
|
|
1737
|
+
:scope:where([data-component~="ui-menu"]):not([inline]) .surface {
|
|
1738
|
+
background: Canvas;
|
|
1739
|
+
border-color: CanvasText;
|
|
1740
|
+
box-shadow: none;
|
|
1741
|
+
-webkit-backdrop-filter: none;
|
|
1742
|
+
backdrop-filter: none;
|
|
1743
|
+
}
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
.surface hr {
|
|
1747
|
+
align-self: stretch;
|
|
1748
|
+
block-size: 0;
|
|
1749
|
+
margin: var(--ui-space-1) 0 !important;
|
|
1750
|
+
border: 0;
|
|
1751
|
+
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
:scope:where([data-component~="ui-menu"]):not([data-ui-menu-state~="internalOpen"]):not(:scope:where([data-component~="ui-menu"])[data-ui-menu-state~="inline"]) {
|
|
1755
|
+
display: none !important;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
:scope:where([data-component~="ui-menu"])[popover] {
|
|
1759
|
+
position: fixed;
|
|
1760
|
+
inset: auto;
|
|
1761
|
+
margin: 0 !important;
|
|
1762
|
+
overflow: visible;
|
|
1763
|
+
max-block-size: calc(100dvh - var(--ui-menu-viewport-gap, var(--ui-space-2)) * 2);
|
|
1764
|
+
opacity: 0;
|
|
1765
|
+
transform: translateY(-4px) scale(0.99);
|
|
1766
|
+
transition:
|
|
1767
|
+
opacity var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1768
|
+
transform var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1769
|
+
display var(--ui-motion-fast) allow-discrete,
|
|
1770
|
+
overlay var(--ui-motion-fast) allow-discrete;
|
|
1771
|
+
}
|
|
1772
|
+
|
|
1773
|
+
:scope:where([data-component~="ui-menu"])[popover]:popover-open {
|
|
1774
|
+
opacity: 1;
|
|
1775
|
+
transform: translateY(0) scale(1);
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
@starting-style {
|
|
1779
|
+
:scope:where([data-component~="ui-menu"])[popover]:popover-open {
|
|
1780
|
+
opacity: 0;
|
|
1781
|
+
transform: translateY(-4px) scale(0.99);
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
:scope:where([data-component~="ui-menu"])[hidden] {
|
|
1786
|
+
display: none !important;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1790
|
+
:scope:where([data-component~="ui-menu"])[popover] {
|
|
1791
|
+
transition: none;
|
|
1792
|
+
}
|
|
1793
|
+
}
|
|
1794
|
+
}
|
|
1795
|
+
@scope ([data-component~="ui-menu"]) to ([data-component]) {
|
|
1796
|
+
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
1797
|
+
still win. */
|
|
1798
|
+
|
|
1799
|
+
/* Small follows its trigger down: an item's own hooks still win. */
|
|
1800
|
+
|
|
1801
|
+
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
1802
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
1803
|
+
|
|
1804
|
+
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
@media (forced-colors: active) {
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
@starting-style {
|
|
1814
|
+
}
|
|
1815
|
+
|
|
1816
|
+
@media (prefers-reduced-motion: reduce) {
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
1820
|
+
@supports (-moz-appearance: none) {
|
|
1821
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1822
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
1823
|
+
}
|
|
1824
|
+
@supports (-moz-appearance: none) {
|
|
1825
|
+
[data-component~="ui-menu-item"] { --html-next-scope-owner: "ui-menu-item" !important; }
|
|
1826
|
+
}
|
|
1827
|
+
@scope ([data-component~="ui-menu-item"]) to ([data-component], [data-slotted]) {
|
|
1828
|
+
:scope:where([data-component~="ui-menu-item"]) {
|
|
1829
|
+
display: flex !important;
|
|
1830
|
+
align-items: center !important;
|
|
1831
|
+
gap: var(--ui-space-2) !important;
|
|
1832
|
+
box-sizing: border-box !important;
|
|
1833
|
+
width: 100%;
|
|
1834
|
+
padding: var(--ui-menu-item-padding-block, var(--_ui-default-menu-item-padding-block, var(--ui-space-2)))
|
|
1835
|
+
var(--ui-menu-item-padding-inline, var(--_ui-default-menu-item-padding-inline, var(--ui-space-3))) !important;
|
|
1836
|
+
text-align: left;
|
|
1837
|
+
border-radius: var(--ui-menu-item-radius, var(--_ui-default-menu-item-radius, var(--ui-selection-radius)));
|
|
1838
|
+
color: var(--ui-text-primary);
|
|
1839
|
+
font-size: var(--ui-menu-item-font-size, var(--_ui-default-menu-item-font-size, var(--ui-font-size-md)));
|
|
1840
|
+
font-weight: var(--ui-font-medium);
|
|
1841
|
+
text-decoration: none;
|
|
1842
|
+
cursor: pointer;
|
|
1843
|
+
outline: none;
|
|
1844
|
+
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease), color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
1848
|
+
.icon {
|
|
1849
|
+
display: var(--_ui-default-menu-icon-display, none) !important;
|
|
1850
|
+
align-items: center !important;
|
|
1851
|
+
justify-content: center !important;
|
|
1852
|
+
flex: none;
|
|
1853
|
+
inline-size: var(--ui-icon-size-sm);
|
|
1854
|
+
block-size: var(--ui-icon-size-sm);
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
.icon:not(:empty) {
|
|
1858
|
+
display: inline-flex !important;
|
|
1859
|
+
}
|
|
1860
|
+
|
|
1861
|
+
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="tone=danger"] {
|
|
1862
|
+
color: var(--ui-danger-subtle-text);
|
|
1863
|
+
}
|
|
1864
|
+
|
|
1865
|
+
.label {
|
|
1866
|
+
display: flex !important;
|
|
1867
|
+
align-items: center !important;
|
|
1868
|
+
gap: var(--ui-space-2) !important;
|
|
1869
|
+
flex: 1;
|
|
1870
|
+
min-inline-size: 0;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
.indicator {
|
|
1874
|
+
display: inline-flex !important;
|
|
1875
|
+
align-items: center !important;
|
|
1876
|
+
justify-content: center !important;
|
|
1877
|
+
flex: none;
|
|
1878
|
+
box-sizing: border-box !important;
|
|
1879
|
+
inline-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
|
|
1880
|
+
block-size: var(--_ui-default-menu-indicator-size, var(--ui-icon-size-sm));
|
|
1881
|
+
border: var(--ui-border-width) solid var(--ui-control-border);
|
|
1882
|
+
border-radius: var(--ui-radius-sm);
|
|
1883
|
+
color: var(--ui-surface);
|
|
1884
|
+
--_ui-default-icon-size: 0.75rem;
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="type=action"] .indicator {
|
|
1888
|
+
display: none !important;
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="type=checkbox"][aria-checked="true"] .indicator {
|
|
1892
|
+
border-color: var(--ui-accent);
|
|
1893
|
+
background: var(--ui-accent);
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
/* A menu marks its chosen item with a check, as menus conventionally do; a radio circle reads
|
|
1897
|
+
as a form control. The empty slot keeps unchosen labels aligned with the chosen one. */
|
|
1898
|
+
:scope:where([data-component~="ui-menu-item"])[data-ui-menu-item-state~="type=radio"] .indicator {
|
|
1899
|
+
border-color: transparent;
|
|
1900
|
+
color: var(--ui-text-secondary);
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
.shortcut {
|
|
1904
|
+
margin-inline-start: auto !important;
|
|
1905
|
+
color: var(--ui-text-secondary);
|
|
1906
|
+
font-size: var(--ui-font-size-sm);
|
|
1907
|
+
font-weight: var(--ui-font-normal);
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
.shortcut:empty {
|
|
1911
|
+
display: none !important;
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
/* A <kbd> takes the browser's monospace; the hint reads in the item's own type. */
|
|
1915
|
+
|
|
1916
|
+
/* Keep the text row at the shared control height where cap trimming is available. */
|
|
1917
|
+
@supports (text-box-trim: trim-both) {
|
|
1918
|
+
:scope:where([data-component~="ui-menu-item"]) {
|
|
1919
|
+
min-block-size: var(--ui-menu-item-min-block-size, var(--_ui-default-menu-item-min-block-size, var(--ui-control-size-md, 2.5rem)));
|
|
1920
|
+
text-box-trim: trim-both;
|
|
1921
|
+
text-box-edge: cap alphabetic;
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
:scope:where([data-component~="ui-menu-item"]):is(:hover, :focus-visible):not([aria-disabled="true"]) {
|
|
1926
|
+
background: var(--ui-menu-item-hover-surface, var(--ui-accent-subtle));
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
:scope:where([data-component~="ui-menu-item"])[aria-checked="true"]:not([aria-disabled="true"]) {
|
|
1930
|
+
background: var(--ui-selection-surface);
|
|
1931
|
+
color: var(--ui-selection-text);
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
:scope:where([data-component~="ui-menu-item"]):focus-visible {
|
|
1935
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
1936
|
+
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
:scope:where([data-component~="ui-menu-item"])[aria-disabled="true"] {
|
|
1940
|
+
background: var(--ui-disabled-surface);
|
|
1941
|
+
color: var(--ui-disabled-text);
|
|
1942
|
+
cursor: not-allowed;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
:scope:where([data-component~="ui-menu-item"])[aria-disabled="true"] .indicator {
|
|
1946
|
+
border-color: var(--ui-disabled-border);
|
|
1947
|
+
background: transparent;
|
|
1948
|
+
color: var(--ui-disabled-text);
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
:scope:where([data-component~="ui-menu-item"])[aria-disabled="true"] .indicator:where(:not([data-component], [data-slotted]))::after {
|
|
1952
|
+
background: var(--ui-disabled-text);
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
@media (forced-colors: active) {
|
|
1956
|
+
:scope:where([data-component~="ui-menu-item"]):focus-visible {
|
|
1957
|
+
outline-color: Highlight;
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1962
|
+
:scope:where([data-component~="ui-menu-item"])[hidden] {
|
|
1963
|
+
display: none !important;
|
|
1964
|
+
}
|
|
1965
|
+
}
|
|
1966
|
+
@scope ([data-component~="ui-menu-item"]) to ([data-component]) {
|
|
1967
|
+
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
1968
|
+
|
|
1969
|
+
.icon :where([data-slotted], [data-slotted] *):is(svg) {
|
|
1970
|
+
inline-size: 100%;
|
|
1971
|
+
block-size: 100%;
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
/* A menu marks its chosen item with a check, as menus conventionally do; a radio circle reads
|
|
1975
|
+
as a form control. The empty slot keeps unchosen labels aligned with the chosen one. */
|
|
1976
|
+
|
|
1977
|
+
/* A <kbd> takes the browser's monospace; the hint reads in the item's own type. */
|
|
1978
|
+
.shortcut :where([data-slotted], [data-slotted] *):is(kbd) {
|
|
1979
|
+
font: inherit;
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
/* Keep the text row at the shared control height where cap trimming is available. */
|
|
1983
|
+
@supports (text-box-trim: trim-both) {
|
|
1984
|
+
}
|
|
1985
|
+
|
|
1986
|
+
@media (forced-colors: active) {
|
|
1987
|
+
}
|
|
1988
|
+
|
|
1989
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1990
|
+
}
|
|
1991
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
1992
|
+
@supports (-moz-appearance: none) {
|
|
1993
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
1994
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
1995
|
+
}
|
|
1996
|
+
@supports (-moz-appearance: none) {
|
|
1997
|
+
[data-component~="ui-popover"] { --html-next-scope-owner: "ui-popover" !important; }
|
|
1998
|
+
}
|
|
1999
|
+
@scope ([data-component~="ui-popover"]) to ([data-component], [data-slotted]) {
|
|
2000
|
+
:scope:where([data-component~="ui-popover"]) {
|
|
2001
|
+
--_ui-material-scale: 0.55;
|
|
2002
|
+
--_ui-popover-surface: var(--ui-popover-surface);
|
|
2003
|
+
--_ui-popover-border: var(--ui-popover-border);
|
|
2004
|
+
--_ui-popover-radius: var(--ui-popover-radius);
|
|
2005
|
+
--_ui-popover-shadow: var(--ui-popover-shadow);
|
|
2006
|
+
--_ui-popover-padding: var(--ui-popover-padding);
|
|
2007
|
+
box-sizing: border-box !important;
|
|
2008
|
+
max-inline-size: min(
|
|
2009
|
+
20rem,
|
|
2010
|
+
calc(100vw - var(--ui-popover-viewport-gap, var(--ui-space-2)) * 2)
|
|
2011
|
+
);
|
|
2012
|
+
max-block-size: calc(100dvh - var(--ui-popover-viewport-gap, var(--ui-space-2)) * 2);
|
|
2013
|
+
overflow: visible;
|
|
2014
|
+
padding: 0 !important;
|
|
2015
|
+
border: 0;
|
|
2016
|
+
outline: 0;
|
|
2017
|
+
border-radius: 0;
|
|
2018
|
+
background: transparent;
|
|
2019
|
+
box-shadow: none;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
.surface {
|
|
2023
|
+
box-sizing: border-box !important;
|
|
2024
|
+
max-inline-size: inherit;
|
|
2025
|
+
max-block-size: inherit;
|
|
2026
|
+
overflow: auto;
|
|
2027
|
+
padding: var(--_ui-popover-padding, var(--ui-space-3)) !important;
|
|
2028
|
+
background: var(--_ui-popover-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
2029
|
+
border: var(--ui-border-width) solid var(--_ui-popover-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
2030
|
+
border-radius: var(--_ui-popover-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
2031
|
+
box-shadow: var(--_ui-popover-shadow, var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg))));
|
|
2032
|
+
}
|
|
2033
|
+
|
|
2034
|
+
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
2035
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
2036
|
+
.surface {
|
|
2037
|
+
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
2038
|
+
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
2039
|
+
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
2040
|
+
--_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.55) * 8px);
|
|
2041
|
+
--_ui-material-content-color: var(
|
|
2042
|
+
--_ui-popover-surface,
|
|
2043
|
+
var(--_ui-material-underpaint, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))))
|
|
2044
|
+
);
|
|
2045
|
+
--_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
|
|
2046
|
+
background:
|
|
2047
|
+
var(--ui-material-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent))) padding-box,
|
|
2048
|
+
linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color)) padding-box,
|
|
2049
|
+
linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
|
|
2050
|
+
border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
|
|
2051
|
+
border-color: var(
|
|
2052
|
+
--_ui-popover-border,
|
|
2053
|
+
color-mix(in oklab, var(--ui-overlay-border, var(--ui-border-strong)) calc((1 - var(--_ui-material-active)) * 100%), transparent)
|
|
2054
|
+
);
|
|
2055
|
+
box-shadow: var(
|
|
2056
|
+
--_ui-popover-shadow,
|
|
2057
|
+
var(
|
|
2058
|
+
--ui-overlay-shadow,
|
|
2059
|
+
0 calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.55) * 8px) calc(
|
|
2060
|
+
var(--_ui-material-separation) * var(--_ui-material-scale, 0.55) * 24px
|
|
2061
|
+
) color-mix(in oklab, var(--ui-text-primary) 15%, transparent),
|
|
2062
|
+
var(--ui-material-glow, 0 0 transparent),
|
|
2063
|
+
inset 0 0 0 calc(var(--_ui-material-active) * var(--ui-border-width)) var(--ui-material-edge, var(--ui-border-strong)),
|
|
2064
|
+
var(--ui-elevation-overlay, var(--ui-shadow-lg))
|
|
2065
|
+
)
|
|
2066
|
+
);
|
|
2067
|
+
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.55) * 32px));
|
|
2068
|
+
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.55) * 32px));
|
|
2069
|
+
}
|
|
2070
|
+
|
|
2071
|
+
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
2072
|
+
.surface {
|
|
2073
|
+
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
|
|
2077
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
2078
|
+
.surface {
|
|
2079
|
+
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
2080
|
+
-webkit-backdrop-filter: none;
|
|
2081
|
+
backdrop-filter: none;
|
|
2082
|
+
}
|
|
2083
|
+
}
|
|
2084
|
+
|
|
2085
|
+
@media (forced-colors: active) {
|
|
2086
|
+
.surface {
|
|
2087
|
+
background: Canvas;
|
|
2088
|
+
border-color: CanvasText;
|
|
2089
|
+
box-shadow: none;
|
|
2090
|
+
-webkit-backdrop-filter: none;
|
|
2091
|
+
backdrop-filter: none;
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
/* A toolbar or card can supply its own surface, including an unclipped shadow. */
|
|
2096
|
+
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="bare"] .surface {
|
|
2097
|
+
overflow: visible;
|
|
2098
|
+
padding: 0 !important;
|
|
2099
|
+
border: 0;
|
|
2100
|
+
background: transparent;
|
|
2101
|
+
box-shadow: none;
|
|
2102
|
+
-webkit-backdrop-filter: none;
|
|
2103
|
+
backdrop-filter: none;
|
|
2104
|
+
}
|
|
2105
|
+
|
|
2106
|
+
:scope:where([data-component~="ui-popover"]):not([data-ui-popover-state~="internalOpen"]) {
|
|
2107
|
+
display: none !important;
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
:scope:where([data-component~="ui-popover"])[popover] {
|
|
2111
|
+
position: fixed;
|
|
2112
|
+
inset: auto;
|
|
2113
|
+
margin: 0 !important;
|
|
2114
|
+
opacity: 0;
|
|
2115
|
+
transform: translateY(-4px) scale(0.99);
|
|
2116
|
+
transition:
|
|
2117
|
+
opacity var(--ui-motion-fast) var(--ui-motion-ease),
|
|
2118
|
+
transform var(--ui-motion-fast) var(--ui-motion-ease),
|
|
2119
|
+
display var(--ui-motion-fast) allow-discrete,
|
|
2120
|
+
overlay var(--ui-motion-fast) allow-discrete;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
:scope:where([data-component~="ui-popover"])[popover]:popover-open {
|
|
2124
|
+
opacity: 1;
|
|
2125
|
+
transform: translateY(0) scale(1);
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
@starting-style {
|
|
2129
|
+
:scope:where([data-component~="ui-popover"])[popover]:popover-open {
|
|
2130
|
+
opacity: 0;
|
|
2131
|
+
transform: translateY(-4px) scale(0.99);
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=sm"] {
|
|
2136
|
+
inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2137
|
+
max-inline-size: min(22rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2138
|
+
}
|
|
2139
|
+
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=md"] {
|
|
2140
|
+
inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2141
|
+
max-inline-size: min(28rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2142
|
+
}
|
|
2143
|
+
:scope:where([data-component~="ui-popover"])[data-ui-popover-state~="size=lg"] {
|
|
2144
|
+
inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2145
|
+
max-inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
:scope:where([data-component~="ui-popover"])[hidden] {
|
|
2149
|
+
display: none !important;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2153
|
+
:scope:where([data-component~="ui-popover"])[popover] {
|
|
2154
|
+
transition: none;
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2158
|
+
@scope ([data-component~="ui-popover"]) to ([data-component]) {
|
|
2159
|
+
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
2160
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
2161
|
+
|
|
2162
|
+
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
2163
|
+
}
|
|
2164
|
+
|
|
2165
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
2166
|
+
}
|
|
2167
|
+
|
|
2168
|
+
@media (forced-colors: active) {
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
/* A toolbar or card can supply its own surface, including an unclipped shadow. */
|
|
2172
|
+
|
|
2173
|
+
@starting-style {
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
2180
|
+
@supports (-moz-appearance: none) {
|
|
2181
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2182
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2183
|
+
}
|
|
2184
|
+
@supports (-moz-appearance: none) {
|
|
2185
|
+
[data-component~="ui-stack"] { --html-next-scope-owner: "ui-stack" !important; }
|
|
2186
|
+
}
|
|
2187
|
+
@scope ([data-component~="ui-stack"]) to ([data-component], [data-slotted]) {
|
|
2188
|
+
@property --_ui-stack-height {
|
|
2189
|
+
syntax: "*";
|
|
2190
|
+
inherits: false;
|
|
2191
|
+
}
|
|
2192
|
+
|
|
2193
|
+
:scope:where([data-component~="ui-stack"]) {
|
|
2194
|
+
--_layout-gap: var(--ui-space-4);
|
|
2195
|
+
display: flex !important;
|
|
2196
|
+
flex-direction: column !important;
|
|
2197
|
+
align-items: stretch !important;
|
|
2198
|
+
gap: var(--ui-stack-gap, calc(var(--_layout-gap) * clamp(0.75, var(--ui-rhythm, 1), 1.5))) !important;
|
|
2199
|
+
min-inline-size: 0;
|
|
2200
|
+
max-inline-size: 100%;
|
|
2201
|
+
margin: 0 !important;
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="fill"] {
|
|
2205
|
+
flex: 1;
|
|
2206
|
+
min-block-size: 0;
|
|
2207
|
+
}
|
|
2208
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="height"] {
|
|
2209
|
+
block-size: calc(var(--_ui-stack-height, 0) * 1px);
|
|
2210
|
+
min-block-size: 0;
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=none"] {
|
|
2214
|
+
--_layout-gap: 0px;
|
|
2215
|
+
}
|
|
2216
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=xs"] {
|
|
2217
|
+
--_layout-gap: var(--ui-space-2);
|
|
2218
|
+
}
|
|
2219
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=s"] {
|
|
2220
|
+
--_layout-gap: var(--ui-space-3);
|
|
2221
|
+
}
|
|
2222
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=m"] {
|
|
2223
|
+
--_layout-gap: var(--ui-space-4);
|
|
2224
|
+
}
|
|
2225
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=l"] {
|
|
2226
|
+
--_layout-gap: var(--ui-space-5);
|
|
2227
|
+
}
|
|
2228
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="gap=xl"] {
|
|
2229
|
+
--_layout-gap: var(--ui-space-6);
|
|
2230
|
+
}
|
|
2231
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=start"] {
|
|
2232
|
+
align-items: flex-start !important;
|
|
2233
|
+
}
|
|
2234
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=center"] {
|
|
2235
|
+
align-items: center !important;
|
|
2236
|
+
}
|
|
2237
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="align=end"] {
|
|
2238
|
+
align-items: flex-end !important;
|
|
2239
|
+
}
|
|
2240
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=center"] {
|
|
2241
|
+
justify-content: center !important;
|
|
2242
|
+
}
|
|
2243
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=end"] {
|
|
2244
|
+
justify-content: flex-end !important;
|
|
2245
|
+
}
|
|
2246
|
+
:scope:where([data-component~="ui-stack"])[data-ui-stack-state~="justify=between"] {
|
|
2247
|
+
justify-content: space-between !important;
|
|
2248
|
+
}
|
|
2249
|
+
|
|
2250
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2251
|
+
:scope:where([data-component~="ui-stack"])[hidden] {
|
|
2252
|
+
display: none !important;
|
|
2253
|
+
}
|
|
2254
|
+
}
|
|
2255
|
+
@scope ([data-component~="ui-stack"]) to ([data-component]) {
|
|
2256
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2257
|
+
}
|
|
2258
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
2259
|
+
@supports (-moz-appearance: none) {
|
|
2260
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2261
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2262
|
+
}
|
|
2263
|
+
@supports (-moz-appearance: none) {
|
|
2264
|
+
[data-component~="ui-text"] { --html-next-scope-owner: "ui-text" !important; }
|
|
2265
|
+
}
|
|
2266
|
+
@scope ([data-component~="ui-text"]) to ([data-component], [data-slotted]) {
|
|
2267
|
+
/* Running text, set on the type scale and in a tone that says what it is, so a view never styles
|
|
2268
|
+
text of its own. The root is a paragraph unless as= names a span, div, small, strong, label, or
|
|
2269
|
+
heading. */
|
|
2270
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="grow"] {
|
|
2271
|
+
flex: 1;
|
|
2272
|
+
}
|
|
2273
|
+
|
|
2274
|
+
:scope:where([data-component~="ui-text"]) {
|
|
2275
|
+
margin: 0 !important;
|
|
2276
|
+
min-inline-size: 0;
|
|
2277
|
+
color: inherit;
|
|
2278
|
+
text-align: start;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
/* A heading drops the browser's heading size and weight, so size and weight set it as they set
|
|
2282
|
+
any text, and inherit keeps the text around it. */
|
|
2283
|
+
:scope:where([data-component~="ui-text"]):is(h1, h2, h3, h4, h5, h6) {
|
|
2284
|
+
font-family: var(--ui-font-display, inherit);
|
|
2285
|
+
font-size: inherit;
|
|
2286
|
+
font-weight: inherit;
|
|
2287
|
+
}
|
|
2288
|
+
|
|
2289
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="size=xs"] {
|
|
2290
|
+
font-size: var(--ui-font-size-xs);
|
|
2291
|
+
line-height: var(--ui-line-height);
|
|
2292
|
+
}
|
|
2293
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="size=sm"] {
|
|
2294
|
+
font-size: var(--ui-font-size-sm);
|
|
2295
|
+
line-height: var(--ui-line-height);
|
|
2296
|
+
}
|
|
2297
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="size=md"] {
|
|
2298
|
+
font-size: var(--ui-font-size-md);
|
|
2299
|
+
line-height: var(--ui-line-height);
|
|
2300
|
+
}
|
|
2301
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="size=lg"] {
|
|
2302
|
+
font-size: var(--ui-font-size-lg);
|
|
2303
|
+
line-height: var(--ui-line-height-relaxed);
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
/* Opt in at the text owner; trimming does not inherit from a surrounding layout. */
|
|
2307
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="trim"] {
|
|
2308
|
+
text-box-trim: trim-both;
|
|
2309
|
+
text-box-edge: cap alphabetic;
|
|
2310
|
+
}
|
|
2311
|
+
|
|
2312
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=secondary"] {
|
|
2313
|
+
color: var(--ui-text-secondary);
|
|
2314
|
+
}
|
|
2315
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=muted"] {
|
|
2316
|
+
color: var(--ui-text-muted);
|
|
2317
|
+
}
|
|
2318
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent-secondary"] {
|
|
2319
|
+
color: var(--ui-accent-secondary-subtle-text);
|
|
2320
|
+
}
|
|
2321
|
+
|
|
2322
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent-tertiary"] {
|
|
2323
|
+
color: var(--ui-accent-tertiary-subtle-text);
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=accent"] {
|
|
2327
|
+
color: var(--ui-accent-subtle-text);
|
|
2328
|
+
}
|
|
2329
|
+
/* Every status tone uses the text-safe token a subtle badge sets its words in, so text and badges
|
|
2330
|
+
in one tone match, and each holds 4.5:1 on sunken surfaces where some base colours fall short. */
|
|
2331
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=danger"] {
|
|
2332
|
+
color: var(--ui-danger-subtle-text);
|
|
2333
|
+
}
|
|
2334
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=success"] {
|
|
2335
|
+
color: var(--ui-success-subtle-text);
|
|
2336
|
+
}
|
|
2337
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=info"] {
|
|
2338
|
+
color: var(--ui-info-subtle-text);
|
|
2339
|
+
}
|
|
2340
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="tone=warning"] {
|
|
2341
|
+
color: var(--ui-warning-subtle-text);
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="weight=normal"] {
|
|
2345
|
+
font-weight: var(--ui-font-normal);
|
|
2346
|
+
}
|
|
2347
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="weight=medium"] {
|
|
2348
|
+
font-weight: var(--ui-font-medium);
|
|
2349
|
+
}
|
|
2350
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="weight=semibold"] {
|
|
2351
|
+
font-weight: var(--ui-font-semibold);
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=display"], :scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=heading"] {
|
|
2355
|
+
font-family: var(--ui-font-display, var(--ui-font-family-sans));
|
|
2356
|
+
font-weight: var(--ui-font-semibold);
|
|
2357
|
+
line-height: var(--ui-line-height-tight);
|
|
2358
|
+
}
|
|
2359
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=display"] {
|
|
2360
|
+
font-size: var(--ui-font-size-2xl);
|
|
2361
|
+
}
|
|
2362
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=heading"] {
|
|
2363
|
+
font-size: var(--ui-font-size-xl);
|
|
2364
|
+
}
|
|
2365
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=label"] {
|
|
2366
|
+
font-size: var(--ui-font-size-sm);
|
|
2367
|
+
font-weight: var(--ui-font-medium);
|
|
2368
|
+
line-height: var(--ui-line-height);
|
|
2369
|
+
}
|
|
2370
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=caption"] {
|
|
2371
|
+
font-size: var(--ui-font-size-sm);
|
|
2372
|
+
line-height: var(--ui-line-height);
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=eyebrow"] {
|
|
2376
|
+
font-size: var(--ui-font-size-xs);
|
|
2377
|
+
font-weight: var(--ui-font-semibold);
|
|
2378
|
+
letter-spacing: 0.06em;
|
|
2379
|
+
line-height: var(--ui-line-height);
|
|
2380
|
+
text-transform: uppercase;
|
|
2381
|
+
}
|
|
2382
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="variant=code"] {
|
|
2383
|
+
font-family: var(--ui-font-family-mono);
|
|
2384
|
+
}
|
|
2385
|
+
|
|
2386
|
+
/* A link in running text is underlined, so it stands apart from the words around it by more than
|
|
2387
|
+
colour. */
|
|
2388
|
+
|
|
2389
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="truncate"] {
|
|
2390
|
+
overflow: hidden;
|
|
2391
|
+
text-overflow: ellipsis;
|
|
2392
|
+
white-space: nowrap;
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
/* Trim ends the layout box at the baseline; preserve descending ink while clipping long labels. */
|
|
2396
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="trim"][data-ui-text-state~="truncate"] {
|
|
2397
|
+
overflow-x: clip;
|
|
2398
|
+
overflow-y: visible;
|
|
2399
|
+
}
|
|
2400
|
+
|
|
2401
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="align=center"] {
|
|
2402
|
+
text-align: center;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="font=sans"] {
|
|
2406
|
+
font-family: var(--ui-font-family-sans, sans-serif);
|
|
2407
|
+
}
|
|
2408
|
+
|
|
2409
|
+
:scope:where([data-component~="ui-text"])[data-ui-text-state~="wrap=anywhere"] {
|
|
2410
|
+
overflow-wrap: anywhere;
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2414
|
+
:scope:where([data-component~="ui-text"])[hidden] {
|
|
2415
|
+
display: none !important;
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
@scope ([data-component~="ui-text"]) to ([data-component]) {
|
|
2419
|
+
/* Running text, set on the type scale and in a tone that says what it is, so a view never styles
|
|
2420
|
+
text of its own. The root is a paragraph unless as= names a span, div, small, strong, label, or
|
|
2421
|
+
heading. */
|
|
2422
|
+
|
|
2423
|
+
/* A heading drops the browser's heading size and weight, so size and weight set it as they set
|
|
2424
|
+
any text, and inherit keeps the text around it. */
|
|
2425
|
+
|
|
2426
|
+
/* Opt in at the text owner; trimming does not inherit from a surrounding layout. */
|
|
2427
|
+
/* Every status tone uses the text-safe token a subtle badge sets its words in, so text and badges
|
|
2428
|
+
in one tone match, and each holds 4.5:1 on sunken surfaces where some base colours fall short. */
|
|
2429
|
+
|
|
2430
|
+
/* A link in running text is underlined, so it stands apart from the words around it by more than
|
|
2431
|
+
colour. */
|
|
2432
|
+
:scope:where([data-component~="ui-text"]) :where([data-slotted], [data-slotted] *):is(a) {
|
|
2433
|
+
color: var(--ui-link-color, var(--ui-accent-subtle-text));
|
|
2434
|
+
text-decoration: underline;
|
|
2435
|
+
text-decoration-thickness: 0.06em;
|
|
2436
|
+
text-underline-offset: 0.18em;
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2439
|
+
/* Trim ends the layout box at the baseline; preserve descending ink while clipping long labels. */
|
|
2440
|
+
|
|
2441
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2442
|
+
}
|
|
2443
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
2444
|
+
@supports (-moz-appearance: none) {
|
|
2445
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2446
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2447
|
+
}
|
|
2448
|
+
@supports (-moz-appearance: none) {
|
|
2449
|
+
[data-component~="ui-tooltip"] { --html-next-scope-owner: "ui-tooltip" !important; }
|
|
2450
|
+
}
|
|
2451
|
+
@scope ([data-component~="ui-tooltip"]) to ([data-component], [data-slotted]) {
|
|
2452
|
+
:scope:where([data-component~="ui-tooltip"]) {
|
|
2453
|
+
--_ui-material-scale: 0.08;
|
|
2454
|
+
/* Resolve shared part values at the component root. */
|
|
2455
|
+
--_ui-tooltip-border: var(--ui-tooltip-border);
|
|
2456
|
+
--_ui-tooltip-max-inline-size: var(--ui-tooltip-max-inline-size);
|
|
2457
|
+
--_ui-tooltip-radius: var(--ui-tooltip-radius);
|
|
2458
|
+
--_ui-tooltip-surface: var(--ui-tooltip-surface);
|
|
2459
|
+
--_ui-tooltip-text: var(--ui-tooltip-text);
|
|
2460
|
+
--_ui-tooltip-shadow: var(--ui-tooltip-shadow);
|
|
2461
|
+
--_ui-tooltip-inverse-surface: var(--ui-tooltip-inverse-surface);
|
|
2462
|
+
--_ui-tooltip-inverse-text: var(--ui-tooltip-inverse-text);
|
|
2463
|
+
--_ui-tooltip-arrow-size: var(--ui-tooltip-arrow-size);
|
|
2464
|
+
|
|
2465
|
+
position: fixed;
|
|
2466
|
+
inset: auto;
|
|
2467
|
+
margin: 0 !important;
|
|
2468
|
+
display: inline-block !important;
|
|
2469
|
+
box-sizing: border-box !important;
|
|
2470
|
+
padding: 0 !important;
|
|
2471
|
+
border: 0;
|
|
2472
|
+
outline: 0;
|
|
2473
|
+
border-radius: 0;
|
|
2474
|
+
background: transparent;
|
|
2475
|
+
/* The UA popover default (overflow: auto) would clip the arrow. */
|
|
2476
|
+
overflow: visible;
|
|
2477
|
+
opacity: 0;
|
|
2478
|
+
transform: translateY(4px);
|
|
2479
|
+
transition:
|
|
2480
|
+
opacity var(--ui-motion-fast) var(--ui-motion-ease),
|
|
2481
|
+
transform var(--ui-motion-fast) var(--ui-motion-ease),
|
|
2482
|
+
display var(--ui-motion-fast) allow-discrete,
|
|
2483
|
+
overlay var(--ui-motion-fast) allow-discrete;
|
|
2484
|
+
}
|
|
2485
|
+
|
|
2486
|
+
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
2487
|
+
.surface {
|
|
2488
|
+
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
2489
|
+
position: relative;
|
|
2490
|
+
display: flex !important;
|
|
2491
|
+
align-items: baseline !important;
|
|
2492
|
+
gap: var(--ui-space-2) !important;
|
|
2493
|
+
box-sizing: border-box !important;
|
|
2494
|
+
max-inline-size: var(--_ui-tooltip-max-inline-size, 18rem);
|
|
2495
|
+
border: var(--ui-border-width) solid var(--_tooltip-line);
|
|
2496
|
+
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-md)));
|
|
2497
|
+
background: var(--_ui-tooltip-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
2498
|
+
color: var(--_ui-tooltip-text, var(--ui-text-primary));
|
|
2499
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
2500
|
+
font-family: var(--ui-font-family-sans);
|
|
2501
|
+
font-size: var(--ui-font-size-sm);
|
|
2502
|
+
line-height: var(--ui-line-height-tight);
|
|
2503
|
+
box-shadow: var(--_ui-tooltip-shadow, var(--ui-overlay-shadow, var(--ui-elevation-tooltip, var(--ui-shadow-md))));
|
|
2504
|
+
}
|
|
2505
|
+
|
|
2506
|
+
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
2507
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
2508
|
+
.surface {
|
|
2509
|
+
--_ui-material-glassiness: clamp(0, var(--ui-glassiness, 0), 1);
|
|
2510
|
+
--_ui-material-separation: clamp(0, var(--ui-surface-separation, 0), 1);
|
|
2511
|
+
--_ui-material-active: clamp(0, calc(var(--_ui-material-separation) * 100000), 1);
|
|
2512
|
+
--_ui-material-rim: calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 8px);
|
|
2513
|
+
--_ui-material-content-color: var(
|
|
2514
|
+
--_ui-tooltip-surface,
|
|
2515
|
+
var(--_ui-material-underpaint, var(--ui-material-content, var(--ui-overlay-surface, var(--ui-surface-elevated))))
|
|
2516
|
+
);
|
|
2517
|
+
--_ui-material-rim-color: color-mix(in srgb, var(--ui-material-glass, var(--ui-surface-elevated)) calc(var(--_ui-material-active) * 100%), transparent);
|
|
2518
|
+
background:
|
|
2519
|
+
var(--ui-material-highlight, var(--ui-surface-highlight, linear-gradient(transparent, transparent))) padding-box,
|
|
2520
|
+
linear-gradient(var(--_ui-material-content-color), var(--_ui-material-content-color)) padding-box,
|
|
2521
|
+
linear-gradient(var(--_ui-material-rim-color), var(--_ui-material-rim-color)) border-box;
|
|
2522
|
+
border-width: calc(var(--ui-border-width) + var(--_ui-material-rim));
|
|
2523
|
+
border-color: var(
|
|
2524
|
+
--_ui-tooltip-border,
|
|
2525
|
+
color-mix(in oklab, var(--ui-overlay-border, var(--ui-border-strong)) calc((1 - var(--_ui-material-active)) * 100%), transparent)
|
|
2526
|
+
);
|
|
2527
|
+
box-shadow: var(
|
|
2528
|
+
--_ui-tooltip-shadow,
|
|
2529
|
+
var(
|
|
2530
|
+
--ui-overlay-shadow,
|
|
2531
|
+
0 calc(var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 8px) calc(
|
|
2532
|
+
var(--_ui-material-separation) * var(--_ui-material-scale, 0.08) * 24px
|
|
2533
|
+
) color-mix(in oklab, var(--ui-text-primary) 15%, transparent),
|
|
2534
|
+
inset 0 0 0 calc(var(--_ui-material-active) * var(--ui-border-width)) var(--ui-material-edge, var(--ui-border-strong)),
|
|
2535
|
+
var(--ui-elevation-tooltip, var(--ui-shadow-md))
|
|
2536
|
+
)
|
|
2537
|
+
);
|
|
2538
|
+
-webkit-backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.08) * 32px));
|
|
2539
|
+
backdrop-filter: blur(calc(var(--_ui-material-glassiness) * var(--_ui-material-scale, 0.08) * 32px));
|
|
2540
|
+
}
|
|
2541
|
+
|
|
2542
|
+
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
2543
|
+
.surface {
|
|
2544
|
+
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
2545
|
+
}
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
2549
|
+
.surface {
|
|
2550
|
+
background: oklch(from var(--_ui-material-content-color) l c h / 1);
|
|
2551
|
+
-webkit-backdrop-filter: none;
|
|
2552
|
+
backdrop-filter: none;
|
|
2553
|
+
}
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
@media (forced-colors: active) {
|
|
2557
|
+
.surface {
|
|
2558
|
+
background: Canvas;
|
|
2559
|
+
border-color: CanvasText;
|
|
2560
|
+
box-shadow: none;
|
|
2561
|
+
-webkit-backdrop-filter: none;
|
|
2562
|
+
backdrop-filter: none;
|
|
2563
|
+
}
|
|
2564
|
+
}
|
|
2565
|
+
|
|
2566
|
+
/* A keyboard shortcut follows the label after a thin divider, smaller and quieter, as menus show
|
|
2567
|
+
it. The label stays first in the description, so a screen reader hears the name, then the keys. */
|
|
2568
|
+
.shortcut {
|
|
2569
|
+
display: inline-flex !important;
|
|
2570
|
+
align-items: center !important;
|
|
2571
|
+
padding-inline-start: var(--ui-space-2) !important;
|
|
2572
|
+
border-inline-start: 1px solid color-mix(in oklab, currentColor 28%, transparent);
|
|
2573
|
+
color: color-mix(in oklab, currentColor 72%, transparent);
|
|
2574
|
+
font-size: var(--ui-font-size-xs);
|
|
2575
|
+
font-weight: var(--ui-font-normal);
|
|
2576
|
+
white-space: nowrap;
|
|
2577
|
+
vertical-align: baseline;
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
.shortcut:empty {
|
|
2581
|
+
display: none !important;
|
|
2582
|
+
}
|
|
2583
|
+
|
|
2584
|
+
/* A <kbd> takes the browser's monospace; the hint reads in the tooltip's own type. */
|
|
2585
|
+
|
|
2586
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-tooltip-state~="inverse"] .surface {
|
|
2587
|
+
--_tooltip-line: var(--_ui-tooltip-inverse-surface, var(--ui-text-primary));
|
|
2588
|
+
background: var(--_ui-tooltip-inverse-surface, var(--ui-text-primary));
|
|
2589
|
+
color: var(--_ui-tooltip-inverse-text, var(--ui-surface-default));
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
/* A rotated square shares the surface fill and draws the two outward border edges. Its centre sits on
|
|
2593
|
+
* the surface border line, so the fill covers that stretch of border and the outline runs unbroken. */
|
|
2594
|
+
.surface:where(:not([data-component], [data-slotted]))::after {
|
|
2595
|
+
content: "";
|
|
2596
|
+
position: absolute;
|
|
2597
|
+
z-index: 1;
|
|
2598
|
+
inset-inline-start: var(--ui-space-3);
|
|
2599
|
+
inset-block-end: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
2600
|
+
inline-size: var(--_ui-tooltip-arrow-size, 0.625rem);
|
|
2601
|
+
block-size: var(--_ui-tooltip-arrow-size, 0.625rem);
|
|
2602
|
+
box-sizing: border-box !important;
|
|
2603
|
+
background: inherit;
|
|
2604
|
+
border: 0 solid var(--_tooltip-line);
|
|
2605
|
+
border-inline-end-width: var(--ui-border-width);
|
|
2606
|
+
border-block-end-width: var(--ui-border-width);
|
|
2607
|
+
border-end-end-radius: var(--ui-border-width);
|
|
2608
|
+
/* Stretch in screen axes after rotation so both arrow shoulders stay level. */
|
|
2609
|
+
transform: scale(1.25, 0.85) rotate(45deg);
|
|
2610
|
+
}
|
|
2611
|
+
|
|
2612
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="bottom"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2613
|
+
inset-block-start: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
2614
|
+
inset-block-end: auto;
|
|
2615
|
+
border-inline-end-width: 0;
|
|
2616
|
+
border-block-end-width: 0;
|
|
2617
|
+
border-inline-start-width: var(--ui-border-width);
|
|
2618
|
+
border-block-start-width: var(--ui-border-width);
|
|
2619
|
+
border-end-end-radius: 0;
|
|
2620
|
+
border-start-start-radius: var(--ui-border-width);
|
|
2621
|
+
}
|
|
2622
|
+
|
|
2623
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-align="center"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2624
|
+
inset-inline-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.625rem) / 2);
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2628
|
+
inset-inline-start: auto;
|
|
2629
|
+
inset-inline-end: var(--ui-space-3);
|
|
2630
|
+
}
|
|
2631
|
+
|
|
2632
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
2633
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2634
|
+
inset-block-start: calc(50% - var(--_ui-tooltip-arrow-size, 0.625rem) / 2);
|
|
2635
|
+
inset-block-end: auto;
|
|
2636
|
+
border: 0 solid var(--_tooltip-line);
|
|
2637
|
+
}
|
|
2638
|
+
|
|
2639
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2640
|
+
inset-inline-start: auto;
|
|
2641
|
+
inset-inline-end: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
2642
|
+
border-inline-end-width: var(--ui-border-width);
|
|
2643
|
+
border-block-start-width: var(--ui-border-width);
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2647
|
+
inset-inline-start: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
2648
|
+
inset-inline-end: auto;
|
|
2649
|
+
border-inline-start-width: var(--ui-border-width);
|
|
2650
|
+
border-block-end-width: var(--ui-border-width);
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"][data-ui-actual-align="start"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
2654
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"][data-ui-actual-align="start"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2655
|
+
inset-block-start: var(--ui-space-3);
|
|
2656
|
+
}
|
|
2657
|
+
|
|
2658
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="left"][data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after,
|
|
2659
|
+
:scope:where([data-component~="ui-tooltip"])[data-ui-actual-placement="right"][data-ui-actual-align="end"] .surface:where(:not([data-component], [data-slotted]))::after {
|
|
2660
|
+
inset-block-start: auto;
|
|
2661
|
+
inset-block-end: var(--ui-space-3);
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
:scope:where([data-component~="ui-tooltip"]):popover-open {
|
|
2665
|
+
opacity: 1;
|
|
2666
|
+
transform: translateY(0);
|
|
2667
|
+
}
|
|
2668
|
+
|
|
2669
|
+
@starting-style {
|
|
2670
|
+
:scope:where([data-component~="ui-tooltip"]):popover-open {
|
|
2671
|
+
opacity: 0;
|
|
2672
|
+
transform: translateY(4px);
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
:scope:where([data-component~="ui-tooltip"])[hidden] {
|
|
2677
|
+
display: none !important;
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2681
|
+
:scope:where([data-component~="ui-tooltip"]) {
|
|
2682
|
+
transition: none;
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
}
|
|
2686
|
+
@scope ([data-component~="ui-tooltip"]) to ([data-component]) {
|
|
2687
|
+
/* The label and the shortcut sit side by side, a gap apart, with the label wrapping on its own. */
|
|
2688
|
+
|
|
2689
|
+
/* Purpose and measured size shape one shared separation lever. The content plane stays opaque;
|
|
2690
|
+
transparency, frosting and edge light belong to the surrounding decorative material. */
|
|
2691
|
+
|
|
2692
|
+
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
2696
|
+
}
|
|
2697
|
+
|
|
2698
|
+
@media (forced-colors: active) {
|
|
2699
|
+
}
|
|
2700
|
+
|
|
2701
|
+
/* A keyboard shortcut follows the label after a thin divider, smaller and quieter, as menus show
|
|
2702
|
+
it. The label stays first in the description, so a screen reader hears the name, then the keys. */
|
|
2703
|
+
|
|
2704
|
+
/* A <kbd> takes the browser's monospace; the hint reads in the tooltip's own type. */
|
|
2705
|
+
.shortcut :where([data-slotted], [data-slotted] *):is(kbd) {
|
|
2706
|
+
font: inherit;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2709
|
+
/* A rotated square shares the surface fill and draws the two outward border edges. Its centre sits on
|
|
2710
|
+
* the surface border line, so the fill covers that stretch of border and the outline runs unbroken. */
|
|
2711
|
+
|
|
2712
|
+
@starting-style {
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
2719
|
+
@supports (-moz-appearance: none) {
|
|
2720
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2721
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2722
|
+
}
|
|
2723
|
+
@supports (-moz-appearance: none) {
|
|
2724
|
+
[data-component~="ui-checkbox"] { --html-next-scope-owner: "ui-checkbox" !important; }
|
|
2725
|
+
}
|
|
2726
|
+
@scope ([data-component~="ui-checkbox"]) to ([data-component], [data-slotted]) {
|
|
2727
|
+
:scope:where([data-component~="ui-checkbox"]) {
|
|
2728
|
+
/* Resolve shared part values at the component root. */
|
|
2729
|
+
--_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
|
|
2730
|
+
--_ui-checkbox-invalid-border: var(--ui-checkbox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
2731
|
+
|
|
2732
|
+
display: inline-flex !important;
|
|
2733
|
+
align-items: flex-start !important;
|
|
2734
|
+
flex-direction: row !important;
|
|
2735
|
+
flex-wrap: nowrap !important;
|
|
2736
|
+
justify-content: flex-start !important;
|
|
2737
|
+
padding: 0 !important;
|
|
2738
|
+
gap: var(--ui-checkbox-gap, var(--ui-space-2)) !important;
|
|
2739
|
+
max-inline-size: 100%;
|
|
2740
|
+
color: var(--ui-text-primary);
|
|
2741
|
+
line-height: var(--ui-line-height-md) !important;
|
|
2742
|
+
cursor: pointer;
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2745
|
+
/* The label, and under it an optional line saying what the choice means. */
|
|
2746
|
+
.text {
|
|
2747
|
+
font: inherit !important;
|
|
2748
|
+
align-self: auto !important;
|
|
2749
|
+
order: 1 !important;
|
|
2750
|
+
position: static !important;
|
|
2751
|
+
transform: none !important;
|
|
2752
|
+
padding: 0 !important;
|
|
2753
|
+
margin: 0 !important;
|
|
2754
|
+
display: flex !important;
|
|
2755
|
+
flex-direction: column !important;
|
|
2756
|
+
gap: var(--ui-space-1) !important;
|
|
2757
|
+
min-inline-size: 0;
|
|
2758
|
+
}
|
|
2759
|
+
|
|
2760
|
+
.label {
|
|
2761
|
+
position: static !important;
|
|
2762
|
+
transform: none !important;
|
|
2763
|
+
margin: 0 !important;
|
|
2764
|
+
padding-inline: 0 !important;
|
|
2765
|
+
font: inherit !important;
|
|
2766
|
+
min-inline-size: 0;
|
|
2767
|
+
line-height: var(--ui-line-height-md) !important;
|
|
2768
|
+
padding-block: max(0px, calc((var(--_ui-checkbox-size, 1.125rem) - 1lh) / 2)) !important;
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
.description {
|
|
2772
|
+
color: var(--ui-text-secondary);
|
|
2773
|
+
font-size: var(--ui-font-size-sm);
|
|
2774
|
+
line-height: var(--ui-line-height);
|
|
2775
|
+
}
|
|
2776
|
+
|
|
2777
|
+
.description:empty {
|
|
2778
|
+
display: none !important;
|
|
2779
|
+
}
|
|
2780
|
+
|
|
2781
|
+
input {
|
|
2782
|
+
appearance: none;
|
|
2783
|
+
-webkit-appearance: none;
|
|
2784
|
+
position: relative !important;
|
|
2785
|
+
transform: none !important;
|
|
2786
|
+
order: 0 !important;
|
|
2787
|
+
box-sizing: border-box !important;
|
|
2788
|
+
padding: 0 !important;
|
|
2789
|
+
flex: 0 0 auto;
|
|
2790
|
+
align-self: auto !important;
|
|
2791
|
+
inline-size: var(--_ui-checkbox-size, 1.125rem) !important;
|
|
2792
|
+
block-size: var(--_ui-checkbox-size, 1.125rem) !important;
|
|
2793
|
+
font: inherit !important;
|
|
2794
|
+
margin: max(0px, calc((1lh - var(--_ui-checkbox-size, 1.125rem)) / 2)) 0 0 !important;
|
|
2795
|
+
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
|
|
2796
|
+
border-radius: min(var(--ui-radius-sm), calc(var(--_ui-checkbox-size, 1.125rem) / 4));
|
|
2797
|
+
background-color: var(--ui-control-surface, var(--ui-surface-default));
|
|
2798
|
+
background-image: var(--ui-surface-highlight, none);
|
|
2799
|
+
box-shadow: var(--ui-control-inset);
|
|
2800
|
+
cursor: pointer;
|
|
2801
|
+
transition:
|
|
2802
|
+
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
2803
|
+
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
2804
|
+
box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
input:where(:not([data-component], [data-slotted]))::after {
|
|
2808
|
+
content: "";
|
|
2809
|
+
position: absolute !important;
|
|
2810
|
+
transform: none !important;
|
|
2811
|
+
opacity: 0;
|
|
2812
|
+
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease);
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
input:checked,
|
|
2816
|
+
input:indeterminate {
|
|
2817
|
+
border-color: var(--ui-accent-solid);
|
|
2818
|
+
background-color: var(--ui-accent-solid);
|
|
2819
|
+
background-image: var(--ui-accent-highlight, none);
|
|
2820
|
+
box-shadow: none;
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|
|
2824
|
+
Centre that box directly; rotated border boxes do not centre the visible check. */
|
|
2825
|
+
input:checked:where(:not([data-component], [data-slotted]))::after {
|
|
2826
|
+
inset: 50% auto auto 50% !important;
|
|
2827
|
+
inline-size: calc(var(--_ui-checkbox-size) * 0.7) !important;
|
|
2828
|
+
block-size: calc(var(--_ui-checkbox-size) * 0.7) !important;
|
|
2829
|
+
background: var(--ui-text-on-accent);
|
|
2830
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 11.5 5 5 9-9'/%3E%3C/svg%3E")
|
|
2831
|
+
center / contain no-repeat;
|
|
2832
|
+
opacity: 1;
|
|
2833
|
+
translate: -50% -50% !important;
|
|
2834
|
+
animation: ui-checkbox-check var(--ui-motion-base) var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
2835
|
+
}
|
|
2836
|
+
|
|
2837
|
+
input:indeterminate:where(:not([data-component], [data-slotted]))::after {
|
|
2838
|
+
mask: none;
|
|
2839
|
+
animation: none;
|
|
2840
|
+
inset: 50% calc(var(--_ui-checkbox-size) * 0.23 / 1.125) auto !important;
|
|
2841
|
+
inline-size: auto !important;
|
|
2842
|
+
block-size: calc(var(--_ui-checkbox-size) * 0.125 / 1.125) !important;
|
|
2843
|
+
border-radius: var(--ui-radius-round);
|
|
2844
|
+
background: var(--ui-text-on-accent);
|
|
2845
|
+
opacity: 1;
|
|
2846
|
+
translate: 0 -50% !important;
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
@keyframes ui-checkbox-check {
|
|
2850
|
+
from {
|
|
2851
|
+
opacity: 0;
|
|
2852
|
+
scale: 0.55;
|
|
2853
|
+
}
|
|
2854
|
+
65% {
|
|
2855
|
+
opacity: 1;
|
|
2856
|
+
scale: 1.12;
|
|
2857
|
+
}
|
|
2858
|
+
to {
|
|
2859
|
+
opacity: 1;
|
|
2860
|
+
scale: 1;
|
|
2861
|
+
}
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2865
|
+
input:where(:not([data-component], [data-slotted]))::after {
|
|
2866
|
+
transition: none;
|
|
2867
|
+
animation: none;
|
|
2868
|
+
}
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
@media (forced-colors: active) {
|
|
2872
|
+
input:checked,
|
|
2873
|
+
input:indeterminate {
|
|
2874
|
+
forced-color-adjust: none;
|
|
2875
|
+
background: Highlight;
|
|
2876
|
+
border-color: Highlight;
|
|
2877
|
+
}
|
|
2878
|
+
input:checked:where(:not([data-component], [data-slotted]))::after,
|
|
2879
|
+
input:indeterminate:where(:not([data-component], [data-slotted]))::after {
|
|
2880
|
+
forced-color-adjust: none;
|
|
2881
|
+
background: HighlightText;
|
|
2882
|
+
}
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2885
|
+
@media (hover: hover) and (forced-colors: none) {
|
|
2886
|
+
:scope:where([data-component~="ui-checkbox"]):hover input:enabled {
|
|
2887
|
+
--_choice-hover-wash: var(--ui-neutral-wash-hover);
|
|
2888
|
+
background-image:
|
|
2889
|
+
linear-gradient(var(--_choice-hover-wash), var(--_choice-hover-wash)),
|
|
2890
|
+
var(--ui-surface-highlight, linear-gradient(transparent, transparent));
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:not([aria-invalid="true"]) {
|
|
2894
|
+
border-color: var(--ui-control-border-hover, var(--ui-border-strong));
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate) {
|
|
2898
|
+
background-color: var(--ui-choice-hover-surface);
|
|
2899
|
+
background-image: var(--ui-choice-hover-highlight, none);
|
|
2900
|
+
}
|
|
2901
|
+
|
|
2902
|
+
:scope:where([data-component~="ui-checkbox"]):hover input:enabled:is(:checked, :indeterminate):not([aria-invalid="true"]) {
|
|
2903
|
+
border-color: var(--ui-choice-hover-surface);
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
|
|
2907
|
+
input:focus-visible {
|
|
2908
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
|
|
2909
|
+
outline-offset: var(--ui-focus-width);
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="invalid"] input {
|
|
2913
|
+
border-color: var(--_ui-checkbox-invalid-border);
|
|
2914
|
+
}
|
|
2915
|
+
|
|
2916
|
+
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] {
|
|
2917
|
+
color: var(--ui-disabled-text);
|
|
2918
|
+
cursor: not-allowed;
|
|
2919
|
+
}
|
|
2920
|
+
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] .description {
|
|
2921
|
+
color: var(--ui-disabled-text);
|
|
2922
|
+
}
|
|
2923
|
+
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="disabled"] input {
|
|
2924
|
+
border-color: var(--ui-disabled-border);
|
|
2925
|
+
background: var(--ui-disabled-surface);
|
|
2926
|
+
box-shadow: none;
|
|
2927
|
+
cursor: not-allowed;
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
/* A sized choice keeps its box and aligns instead: the label takes that size's field type size,
|
|
2931
|
+
and the first line centres in that control height, so the label shares a row's baseline.
|
|
2932
|
+
Multi-line labels and descriptions still grow downward from that first line. */
|
|
2933
|
+
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"] {
|
|
2934
|
+
--_font: var(--ui-font-size-sm);
|
|
2935
|
+
--_row: var(--ui-control-size-sm);
|
|
2936
|
+
}
|
|
2937
|
+
|
|
2938
|
+
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
|
|
2939
|
+
--_font: var(--ui-font-size-md);
|
|
2940
|
+
--_row: var(--ui-control-size-lg);
|
|
2941
|
+
}
|
|
2942
|
+
|
|
2943
|
+
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"],
|
|
2944
|
+
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
|
|
2945
|
+
--_line: calc(var(--_font) * var(--ui-line-height-md));
|
|
2946
|
+
font-size: var(--_font);
|
|
2947
|
+
padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-checkbox-size, 1.125rem))) / 2)) !important;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2951
|
+
:scope:where([data-component~="ui-checkbox"])[hidden] {
|
|
2952
|
+
display: none !important;
|
|
2953
|
+
}
|
|
2954
|
+
}
|
|
2955
|
+
@scope ([data-component~="ui-checkbox"]) to ([data-component]) {
|
|
2956
|
+
/* The label, and under it an optional line saying what the choice means. */
|
|
2957
|
+
|
|
2958
|
+
/* The SVG's painted bounds are centred in its viewBox, including its round stroke.
|
|
2959
|
+
Centre that box directly; rotated border boxes do not centre the visible check. */
|
|
2960
|
+
|
|
2961
|
+
@media (prefers-reduced-motion: reduce) {
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
@media (forced-colors: active) {
|
|
2965
|
+
}
|
|
2966
|
+
|
|
2967
|
+
@media (hover: hover) and (forced-colors: none) {
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
/* A sized choice keeps its box and aligns instead: the label takes that size's field type size,
|
|
2971
|
+
and the first line centres in that control height, so the label shares a row's baseline.
|
|
2972
|
+
Multi-line labels and descriptions still grow downward from that first line. */
|
|
2973
|
+
|
|
2974
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
2975
|
+
}
|
|
2976
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
2977
|
+
@supports (-moz-appearance: none) {
|
|
2978
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
2979
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
2980
|
+
}
|
|
2981
|
+
@supports (-moz-appearance: none) {
|
|
2982
|
+
[data-component~="ui-disclosure"] { --html-next-scope-owner: "ui-disclosure" !important; }
|
|
2983
|
+
}
|
|
2984
|
+
@scope ([data-component~="ui-disclosure"]) to ([data-component], [data-slotted]) {
|
|
2985
|
+
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
2986
|
+
:scope:where([data-component~="ui-disclosure"]) {
|
|
2987
|
+
/* Resolve shared part values at the component root. */
|
|
2988
|
+
--_ui-disclosure-trigger-min-block-size: var(--ui-disclosure-trigger-min-block-size);
|
|
2989
|
+
--_ui-disclosure-trigger-padding-block: var(--ui-disclosure-trigger-padding-block);
|
|
2990
|
+
--_ui-disclosure-trigger-padding-inline: var(--ui-disclosure-trigger-padding-inline);
|
|
2991
|
+
|
|
2992
|
+
--_trigger-min-block-size: var(--ui-control-size);
|
|
2993
|
+
--_trigger-padding-block: var(--ui-space-2);
|
|
2994
|
+
--_trigger-padding-inline: var(--ui-space-3);
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="density=compact"] {
|
|
2998
|
+
--_trigger-min-block-size: var(--ui-control-size-sm);
|
|
2999
|
+
--_trigger-padding-block: var(--ui-space-1);
|
|
3000
|
+
--_trigger-padding-inline: var(--ui-space-2);
|
|
3001
|
+
}
|
|
3002
|
+
|
|
3003
|
+
/* An accordion row, not a field: no enclosing box, just a divider, so it never reads as a
|
|
3004
|
+
* select or combobox. Stacked disclosures share their dividers. */
|
|
3005
|
+
:scope:where([data-component~="ui-disclosure"]) {
|
|
3006
|
+
display: block !important;
|
|
3007
|
+
inline-size: 100%;
|
|
3008
|
+
overflow: clip;
|
|
3009
|
+
border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
3010
|
+
color: var(--ui-text-primary);
|
|
3011
|
+
}
|
|
3012
|
+
|
|
3013
|
+
.trigger {
|
|
3014
|
+
display: flex !important;
|
|
3015
|
+
gap: var(--ui-space-3) !important;
|
|
3016
|
+
align-items: center !important;
|
|
3017
|
+
inline-size: 100%;
|
|
3018
|
+
min-block-size: var(--_ui-disclosure-trigger-min-block-size, var(--_trigger-min-block-size));
|
|
3019
|
+
padding: var(--_ui-disclosure-trigger-padding-block, var(--_trigger-padding-block))
|
|
3020
|
+
var(--_ui-disclosure-trigger-padding-inline, var(--_trigger-padding-inline)) !important;
|
|
3021
|
+
border: 0;
|
|
3022
|
+
background: transparent;
|
|
3023
|
+
color: inherit;
|
|
3024
|
+
font: inherit;
|
|
3025
|
+
font-weight: var(--ui-font-semibold);
|
|
3026
|
+
text-align: start;
|
|
3027
|
+
cursor: pointer;
|
|
3028
|
+
border-radius: var(--ui-radius-sm);
|
|
3029
|
+
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
3030
|
+
}
|
|
3031
|
+
|
|
3032
|
+
.trigger:hover:not(:disabled) {
|
|
3033
|
+
background: color-mix(in srgb, currentColor 6%, transparent);
|
|
3034
|
+
}
|
|
3035
|
+
.trigger:focus-visible {
|
|
3036
|
+
outline: none;
|
|
3037
|
+
box-shadow: inset 0 0 0 var(--ui-focus-width) color-mix(in srgb, var(--ui-focus-ring) 45%, transparent);
|
|
3038
|
+
}
|
|
3039
|
+
.trigger:disabled {
|
|
3040
|
+
color: var(--ui-disabled-text);
|
|
3041
|
+
cursor: not-allowed;
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3044
|
+
.summary {
|
|
3045
|
+
flex: 1;
|
|
3046
|
+
min-inline-size: 0;
|
|
3047
|
+
}
|
|
3048
|
+
|
|
3049
|
+
.leading,
|
|
3050
|
+
.indicator {
|
|
3051
|
+
display: inline-flex !important;
|
|
3052
|
+
align-items: center !important;
|
|
3053
|
+
justify-content: center !important;
|
|
3054
|
+
flex: none;
|
|
3055
|
+
}
|
|
3056
|
+
.leading:empty {
|
|
3057
|
+
display: none !important;
|
|
3058
|
+
}
|
|
3059
|
+
.indicator {
|
|
3060
|
+
transition: transform var(--ui-motion-feedback) var(--ui-motion-feedback-ease);
|
|
3061
|
+
}
|
|
3062
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="internalOpen"] .indicator {
|
|
3063
|
+
transform: rotate(180deg);
|
|
3064
|
+
}
|
|
3065
|
+
|
|
3066
|
+
.chevron {
|
|
3067
|
+
inline-size: 0.5rem;
|
|
3068
|
+
block-size: 0.5rem;
|
|
3069
|
+
border-inline-end: 2px solid currentColor;
|
|
3070
|
+
border-block-end: 2px solid currentColor;
|
|
3071
|
+
transform: rotate(45deg) translate(-1px, -1px);
|
|
3072
|
+
}
|
|
3073
|
+
|
|
3074
|
+
.panel {
|
|
3075
|
+
display: grid !important;
|
|
3076
|
+
grid-template-rows: 0fr;
|
|
3077
|
+
transition: grid-template-rows var(--ui-motion-reveal) var(--ui-motion-reveal-ease), content-visibility var(--ui-motion-reveal) allow-discrete;
|
|
3078
|
+
}
|
|
3079
|
+
|
|
3080
|
+
.panel-inner {
|
|
3081
|
+
min-block-size: 0;
|
|
3082
|
+
overflow: hidden;
|
|
3083
|
+
padding-inline: var(--ui-space-3) !important;
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="internalOpen"] .panel {
|
|
3087
|
+
grid-template-rows: 1fr;
|
|
3088
|
+
}
|
|
3089
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="internalOpen"] .panel-inner {
|
|
3090
|
+
padding-block: var(--ui-space-4) !important;
|
|
3091
|
+
}
|
|
3092
|
+
|
|
3093
|
+
/* A bounded accordion owns one flexible body, so its trigger never scrolls away. The
|
|
3094
|
+
* normal content-sized layout and its animation remain unchanged when fill is omitted. */
|
|
3095
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] {
|
|
3096
|
+
display: flex !important;
|
|
3097
|
+
flex-direction: column !important;
|
|
3098
|
+
flex: 0 0 var(--_ui-disclosure-heading-size, var(--_trigger-min-block-size));
|
|
3099
|
+
min-block-size: calc(var(--_ui-disclosure-heading-size, var(--_trigger-min-block-size)) + var(--ui-border-width));
|
|
3100
|
+
transition: flex-grow var(--ui-motion-layout) var(--ui-motion-layout-ease);
|
|
3101
|
+
border-block-end: 0;
|
|
3102
|
+
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
3103
|
+
}
|
|
3104
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"][data-ui-disclosure-state~="internalOpen"] {
|
|
3105
|
+
flex-grow: 1;
|
|
3106
|
+
}
|
|
3107
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .heading {
|
|
3108
|
+
flex: none;
|
|
3109
|
+
}
|
|
3110
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .trigger {
|
|
3111
|
+
border-radius: 0;
|
|
3112
|
+
}
|
|
3113
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .panel {
|
|
3114
|
+
flex: 1;
|
|
3115
|
+
min-block-size: 0;
|
|
3116
|
+
}
|
|
3117
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"] .panel-inner {
|
|
3118
|
+
display: flex !important;
|
|
3119
|
+
flex-direction: column !important;
|
|
3120
|
+
flex: 1;
|
|
3121
|
+
min-block-size: 0;
|
|
3122
|
+
padding: 0 !important;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] .trigger {
|
|
3126
|
+
gap: var(--ui-nav-gap) !important;
|
|
3127
|
+
padding-inline: var(--ui-nav-padding-inline) !important;
|
|
3128
|
+
min-block-size: var(--ui-nav-min-block-size);
|
|
3129
|
+
padding-block: var(--ui-nav-padding-block) !important;
|
|
3130
|
+
border-radius: var(--ui-selection-radius);
|
|
3131
|
+
font-size: var(--ui-font-size-md);
|
|
3132
|
+
font-weight: var(--ui-font-normal);
|
|
3133
|
+
color: var(--ui-text-secondary);
|
|
3134
|
+
}
|
|
3135
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"] .trigger {
|
|
3136
|
+
padding-inline: var(--ui-nav-compact-padding-inline) !important;
|
|
3137
|
+
padding-block: var(--ui-nav-compact-padding-block) !important;
|
|
3138
|
+
min-block-size: var(--ui-nav-compact-min-block-size);
|
|
3139
|
+
font-size: var(--ui-font-size-sm);
|
|
3140
|
+
}
|
|
3141
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] .trigger:hover:not(:disabled) {
|
|
3142
|
+
background: var(--ui-nav-hover-surface);
|
|
3143
|
+
color: var(--ui-text-primary);
|
|
3144
|
+
}
|
|
3145
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"] :is(.leading, .indicator) {
|
|
3146
|
+
inline-size: var(--ui-nav-icon-size);
|
|
3147
|
+
font-size: var(--ui-nav-icon-size);
|
|
3148
|
+
}
|
|
3149
|
+
@media (pointer: coarse) {
|
|
3150
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="variant=navigation"][data-ui-disclosure-state~="density=compact"] .trigger {
|
|
3151
|
+
min-block-size: var(--ui-control-min-block-size);
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3156
|
+
:scope:where([data-component~="ui-disclosure"])[data-ui-disclosure-state~="fill"],
|
|
3157
|
+
.panel,
|
|
3158
|
+
.indicator {
|
|
3159
|
+
transition: none;
|
|
3160
|
+
}
|
|
3161
|
+
}
|
|
3162
|
+
|
|
3163
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3164
|
+
:scope:where([data-component~="ui-disclosure"])[hidden] {
|
|
3165
|
+
display: none !important;
|
|
3166
|
+
}
|
|
3167
|
+
}
|
|
3168
|
+
@scope ([data-component~="ui-disclosure"]) to ([data-component]) {
|
|
3169
|
+
/* Density resolves into the summary row's own values; the public tokens still override them. */
|
|
3170
|
+
|
|
3171
|
+
/* An accordion row, not a field: no enclosing box, just a divider, so it never reads as a
|
|
3172
|
+
* select or combobox. Stacked disclosures share their dividers. */
|
|
3173
|
+
|
|
3174
|
+
/* A bounded accordion owns one flexible body, so its trigger never scrolls away. The
|
|
3175
|
+
* normal content-sized layout and its animation remain unchanged when fill is omitted. */
|
|
3176
|
+
@media (pointer: coarse) {
|
|
3177
|
+
}
|
|
3178
|
+
|
|
3179
|
+
@media (prefers-reduced-motion: reduce) {
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3183
|
+
}
|
|
3184
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
3185
|
+
@supports (-moz-appearance: none) {
|
|
3186
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3187
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3188
|
+
}
|
|
3189
|
+
@supports (-moz-appearance: none) {
|
|
3190
|
+
[data-component~="ui-input"] { --html-next-scope-owner: "ui-input" !important; }
|
|
3191
|
+
}
|
|
3192
|
+
@scope ([data-component~="ui-input"]) to ([data-component], [data-slotted]) {
|
|
3193
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
3194
|
+
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
3195
|
+
@property --_ui-input-stroke {
|
|
3196
|
+
syntax: "<length>";
|
|
3197
|
+
inherits: false;
|
|
3198
|
+
initial-value: 1px;
|
|
3199
|
+
}
|
|
3200
|
+
|
|
3201
|
+
:scope:where([data-component~="ui-input"]) {
|
|
3202
|
+
--_ui-input-size: var(--ui-control-size-md);
|
|
3203
|
+
--_ui-input-inset-block: var(--ui-control-inset-block-md, var(--ui-space-2));
|
|
3204
|
+
--_ui-input-stroke: var(--ui-input-border-width, var(--_ui-default-input-border-width, var(--ui-border-width)));
|
|
3205
|
+
box-sizing: border-box !important;
|
|
3206
|
+
display: inline-block !important;
|
|
3207
|
+
inline-size: var(--ui-input-inline-size, 100%);
|
|
3208
|
+
min-inline-size: 0;
|
|
3209
|
+
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-md)));
|
|
3210
|
+
margin: 0 !important;
|
|
3211
|
+
padding: var(--_ui-input-inset-block) var(--ui-space-3) !important;
|
|
3212
|
+
appearance: none;
|
|
3213
|
+
padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3)) !important;
|
|
3214
|
+
border: var(--ui-input-border-width, var(--_ui-default-input-border-width, var(--ui-border-width))) solid
|
|
3215
|
+
var(--ui-input-border, var(--_ui-default-input-border, var(--ui-control-border, var(--ui-border-strong))));
|
|
3216
|
+
border-radius: var(--ui-input-radius, var(--_ui-default-input-radius, var(--ui-field-radius, var(--ui-radius-md))));
|
|
3217
|
+
background-color: var(--ui-input-surface, var(--_ui-default-input-surface, var(--ui-control-surface, var(--ui-surface-elevated))));
|
|
3218
|
+
background-image: var(--_ui-default-input-highlight, var(--ui-surface-highlight, none));
|
|
3219
|
+
color: var(--ui-text-primary);
|
|
3220
|
+
font: inherit;
|
|
3221
|
+
line-height: var(--ui-line-height-tight);
|
|
3222
|
+
box-shadow: var(--ui-input-shadow, var(--_ui-default-input-shadow, var(--ui-control-inset)));
|
|
3223
|
+
transition:
|
|
3224
|
+
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
3225
|
+
box-shadow var(--ui-motion-fast) var(--ui-motion-ease),
|
|
3226
|
+
background-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3229
|
+
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
3230
|
+
:scope:where([data-component~="ui-input"]):is([type="text"], [type="search"], [type="tel"], [type="url"], [type="email"], [type="password"], [type="number"]) {
|
|
3231
|
+
max-block-size: max(
|
|
3232
|
+
calc(var(--_ui-input-size) - var(--_ui-default-input-frame-width, 0px)),
|
|
3233
|
+
calc(1em * var(--ui-line-height-tight) + 2 * var(--_ui-input-inset-block) + 2 * var(--_ui-input-stroke))
|
|
3234
|
+
);
|
|
3235
|
+
}
|
|
3236
|
+
|
|
3237
|
+
/* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
|
|
3238
|
+
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=sm"] {
|
|
3239
|
+
--_ui-input-size: var(--ui-control-size-sm);
|
|
3240
|
+
--_ui-input-inset-block: var(--ui-control-inset-block-sm, var(--ui-space-1));
|
|
3241
|
+
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-sm)));
|
|
3242
|
+
padding: var(--_ui-input-inset-block) var(--ui-space-2) !important;
|
|
3243
|
+
font-size: var(--ui-font-size-sm);
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=lg"] {
|
|
3247
|
+
--_ui-input-size: var(--ui-control-size-lg);
|
|
3248
|
+
--_ui-input-inset-block: var(--ui-control-inset-block-lg, var(--ui-space-3));
|
|
3249
|
+
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-lg)));
|
|
3250
|
+
padding: var(--_ui-input-inset-block) var(--ui-space-4) !important;
|
|
3251
|
+
font-size: var(--ui-font-size-md);
|
|
3252
|
+
}
|
|
3253
|
+
|
|
3254
|
+
/* Touch may use body-size text in a small native field to avoid focus zoom; this does not impose a larger visible control height. */
|
|
3255
|
+
@media (pointer: coarse) {
|
|
3256
|
+
:scope:where([data-component~="ui-input"]),
|
|
3257
|
+
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=sm"],
|
|
3258
|
+
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=lg"] {
|
|
3259
|
+
font-size: var(--ui-font-size-md);
|
|
3260
|
+
}
|
|
3261
|
+
}
|
|
3262
|
+
|
|
3263
|
+
/* Tabbing into a field selects its text; tint that selection softly instead of the page highlight. */
|
|
3264
|
+
:scope:where([data-component~="ui-input"])::selection {
|
|
3265
|
+
background: color-mix(in srgb, var(--ui-accent-solid) 20%, transparent);
|
|
3266
|
+
color: inherit;
|
|
3267
|
+
}
|
|
3268
|
+
|
|
3269
|
+
:scope:where([data-component~="ui-input"])::placeholder {
|
|
3270
|
+
color: var(--ui-control-placeholder, var(--ui-text-secondary));
|
|
3271
|
+
opacity: 1;
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3274
|
+
:scope:where([data-component~="ui-input"]):hover:not(:focus):not(:disabled):not(:read-only):not([aria-invalid="true"]):not(:is(:user-invalid, [data-user-invalid])) {
|
|
3275
|
+
border-color: var(--ui-input-border-hover, var(--_ui-default-input-border-hover, var(--ui-control-border-hover, var(--ui-text-secondary))));
|
|
3276
|
+
}
|
|
3277
|
+
|
|
3278
|
+
:scope:where([data-component~="ui-input"]):focus-visible {
|
|
3279
|
+
border-color: var(--ui-input-focus-border, var(--_ui-default-input-focus-border, var(--ui-control-focus, var(--ui-accent-solid))));
|
|
3280
|
+
outline: none;
|
|
3281
|
+
box-shadow: var(--ui-input-focus-shadow, var(--_ui-default-input-focus-shadow, var(--ui-control-inset), var(--ui-control-focus-halo-shadow)));
|
|
3282
|
+
}
|
|
3283
|
+
|
|
3284
|
+
/* The app's invalid flag, or the browser's own verdict once the user has left an invalid field. */
|
|
3285
|
+
:scope:where([data-component~="ui-input"])[aria-invalid="true"],
|
|
3286
|
+
:scope:where([data-component~="ui-input"]):is(:user-invalid, [data-user-invalid]) {
|
|
3287
|
+
border-color: var(--ui-input-invalid-border, var(--_ui-default-input-invalid-border, var(--ui-field-danger, var(--ui-danger-solid))));
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
:scope:where([data-component~="ui-input"]):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible {
|
|
3291
|
+
box-shadow: var(
|
|
3292
|
+
--ui-input-invalid-focus-shadow,
|
|
3293
|
+
var(
|
|
3294
|
+
--_ui-default-input-invalid-focus-shadow,
|
|
3295
|
+
var(--ui-control-inset),
|
|
3296
|
+
0 0 0 calc(var(--ui-focus-width) * 1.5) color-mix(
|
|
3297
|
+
in srgb,
|
|
3298
|
+
var(--ui-input-invalid-border, var(--ui-field-danger, var(--ui-danger-solid))) 22%,
|
|
3299
|
+
transparent
|
|
3300
|
+
)
|
|
3301
|
+
)
|
|
3302
|
+
);
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
:scope:where([data-component~="ui-input"]):disabled {
|
|
3306
|
+
background: var(--ui-control-surface-disabled, var(--ui-surface-muted));
|
|
3307
|
+
color: var(--ui-disabled-text);
|
|
3308
|
+
box-shadow: none;
|
|
3309
|
+
cursor: not-allowed;
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3312
|
+
/* Forced colors drop box shadows, so the focus ring becomes an outline. */
|
|
3313
|
+
@media (forced-colors: active) {
|
|
3314
|
+
:scope:where([data-component~="ui-input"]):focus-visible {
|
|
3315
|
+
outline: var(--ui-input-focus-outline, var(--_ui-default-input-focus-outline, var(--ui-focus-width) solid Highlight));
|
|
3316
|
+
outline-offset: var(--ui-border-width);
|
|
3317
|
+
}
|
|
3318
|
+
}
|
|
3319
|
+
|
|
3320
|
+
/* No text-box-trim here: trimming a native input's line box below its line height lets the text
|
|
3321
|
+
* scroll vertically inside the field. Native inputs already center their single line. */
|
|
3322
|
+
|
|
3323
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3324
|
+
:scope:where([data-component~="ui-input"])[hidden] {
|
|
3325
|
+
display: none !important;
|
|
3326
|
+
}
|
|
3327
|
+
}
|
|
3328
|
+
@scope ([data-component~="ui-input"]) to ([data-component]) {
|
|
3329
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
3330
|
+
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
3331
|
+
|
|
3332
|
+
/* Cap Safari's excess text metrics without changing native date, file, color or range widgets. */
|
|
3333
|
+
|
|
3334
|
+
/* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
|
|
3335
|
+
|
|
3336
|
+
/* Touch may use body-size text in a small native field to avoid focus zoom; this does not impose a larger visible control height. */
|
|
3337
|
+
@media (pointer: coarse) {
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
/* Tabbing into a field selects its text; tint that selection softly instead of the page highlight. */
|
|
3341
|
+
|
|
3342
|
+
/* The app's invalid flag, or the browser's own verdict once the user has left an invalid field. */
|
|
3343
|
+
|
|
3344
|
+
/* Forced colors drop box shadows, so the focus ring becomes an outline. */
|
|
3345
|
+
@media (forced-colors: active) {
|
|
3346
|
+
}
|
|
3347
|
+
|
|
3348
|
+
/* No text-box-trim here: trimming a native input's line box below its line height lets the text
|
|
3349
|
+
* scroll vertically inside the field. Native inputs already center their single line. */
|
|
3350
|
+
|
|
3351
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3352
|
+
}
|
|
3353
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
3354
|
+
@supports (-moz-appearance: none) {
|
|
3355
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3356
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3357
|
+
}
|
|
3358
|
+
@supports (-moz-appearance: none) {
|
|
3359
|
+
[data-component~="ui-separator"] { --html-next-scope-owner: "ui-separator" !important; }
|
|
3360
|
+
}
|
|
3361
|
+
@scope ([data-component~="ui-separator"]) to ([data-component], [data-slotted]) {
|
|
3362
|
+
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
3363
|
+
:scope:where([data-component~="ui-separator"]) {
|
|
3364
|
+
box-sizing: border-box !important;
|
|
3365
|
+
align-self: stretch;
|
|
3366
|
+
margin: 0 !important;
|
|
3367
|
+
border: 0;
|
|
3368
|
+
border-block-start: var(--ui-border-width) solid var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
|
3369
|
+
}
|
|
3370
|
+
|
|
3371
|
+
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="emphasis=strong"] {
|
|
3372
|
+
--_separator-color: var(--ui-border-strong);
|
|
3373
|
+
}
|
|
3374
|
+
|
|
3375
|
+
:scope:where([data-component~="ui-separator"])[aria-orientation="vertical"] {
|
|
3376
|
+
block-size: auto;
|
|
3377
|
+
border-block-start: 0;
|
|
3378
|
+
border-inline-start: var(--ui-border-width) solid var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
|
3379
|
+
}
|
|
3380
|
+
|
|
3381
|
+
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selectable"] {
|
|
3382
|
+
min-block-size: var(--ui-control-size-sm);
|
|
3383
|
+
border: 0;
|
|
3384
|
+
background: linear-gradient(var(--ui-separator-color, var(--ui-border-divider)), var(--ui-separator-color, var(--ui-border-divider))) center / 100%
|
|
3385
|
+
var(--ui-border-width) no-repeat;
|
|
3386
|
+
cursor: pointer;
|
|
3387
|
+
}
|
|
3388
|
+
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selectable"]:hover {
|
|
3389
|
+
background-color: var(--ui-surface-hover);
|
|
3390
|
+
}
|
|
3391
|
+
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selected"] {
|
|
3392
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
3393
|
+
outline-offset: var(--ui-focus-width);
|
|
3394
|
+
border-radius: var(--ui-radius-sm);
|
|
3395
|
+
}
|
|
3396
|
+
}
|
|
3397
|
+
@scope ([data-component~="ui-separator"]) to ([data-component]) {
|
|
3398
|
+
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
3399
|
+
}
|
|
3400
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
3401
|
+
@supports (-moz-appearance: none) {
|
|
3402
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3403
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3404
|
+
}
|
|
3405
|
+
@supports (-moz-appearance: none) {
|
|
3406
|
+
[data-component~="ui-callout"] { --html-next-scope-owner: "ui-callout" !important; }
|
|
3407
|
+
}
|
|
3408
|
+
@scope ([data-component~="ui-callout"]) to ([data-component], [data-slotted]) {
|
|
3409
|
+
:scope:where([data-component~="ui-callout"]) {
|
|
3410
|
+
/* Resolve shared part values at the component root. */
|
|
3411
|
+
--_ui-callout-icon-column: var(--ui-callout-icon-column);
|
|
3412
|
+
--_ui-callout-icon: var(--ui-callout-icon);
|
|
3413
|
+
--_ui-callout-icon-size: var(--ui-callout-icon-size);
|
|
3414
|
+
|
|
3415
|
+
--_callout-surface: var(--ui-info-soft);
|
|
3416
|
+
--_callout-tone-text: var(--ui-info-subtle-text);
|
|
3417
|
+
--_ui-surface-text: var(--ui-callout-text, var(--_callout-tone-text));
|
|
3418
|
+
--_ui-selection-context-surface: light-dark(
|
|
3419
|
+
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l - 0.045) calc(max(c, min(0.045, c * 3))) h),
|
|
3420
|
+
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l + 0.045) calc(max(c, min(0.045, c * 3))) h)
|
|
3421
|
+
);
|
|
3422
|
+
--_ui-selection-context-border: light-dark(
|
|
3423
|
+
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l - 0.085) calc(max(c, min(0.045, c * 3))) h),
|
|
3424
|
+
oklch(from var(--ui-callout-surface, var(--_callout-surface)) calc(l + 0.085) calc(max(c, min(0.045, c * 3))) h)
|
|
3425
|
+
);
|
|
3426
|
+
--_ui-selection-context-text: var(--ui-text-primary);
|
|
3427
|
+
|
|
3428
|
+
--_callout-border: var(--ui-info-soft-border);
|
|
3429
|
+
--_callout-icon: var(--ui-info-subtle-text);
|
|
3430
|
+
|
|
3431
|
+
display: grid !important;
|
|
3432
|
+
grid-template-columns: var(--ui-callout-icon-column, 1.125rem) minmax(0, 1fr);
|
|
3433
|
+
gap: var(--ui-callout-gap, calc(var(--ui-space-2) * 0.75)) !important;
|
|
3434
|
+
align-items: start !important;
|
|
3435
|
+
max-width: 100%;
|
|
3436
|
+
padding-block: var(--ui-callout-padding-block, var(--ui-space-2)) !important;
|
|
3437
|
+
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2)) !important;
|
|
3438
|
+
padding-inline-end: var(--ui-callout-padding-inline, var(--ui-space-3)) !important;
|
|
3439
|
+
border: var(--ui-callout-border-width, var(--ui-border-width)) solid var(--ui-callout-border, var(--_callout-border));
|
|
3440
|
+
border-inline-start: var(--ui-callout-leading-border-width, var(--ui-callout-border-width, var(--ui-border-width))) solid
|
|
3441
|
+
var(--ui-callout-border, var(--_callout-border));
|
|
3442
|
+
border-radius: var(--ui-radius-md);
|
|
3443
|
+
background: var(--ui-callout-surface, var(--_callout-surface));
|
|
3444
|
+
color: var(--ui-callout-text, var(--_ui-surface-text));
|
|
3445
|
+
font-family: var(--ui-font-family-sans);
|
|
3446
|
+
font-size: var(--ui-font-size-sm);
|
|
3447
|
+
font-weight: var(--ui-font-normal);
|
|
3448
|
+
line-height: var(--ui-line-height-md);
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
/* One line box tall, so the icon centres on the first line of text. */
|
|
3452
|
+
.icon {
|
|
3453
|
+
display: grid !important;
|
|
3454
|
+
place-items: center;
|
|
3455
|
+
inline-size: var(--_ui-callout-icon-column, 1.125rem);
|
|
3456
|
+
block-size: 1lh;
|
|
3457
|
+
color: var(--_ui-callout-icon, var(--_callout-icon));
|
|
3458
|
+
}
|
|
3459
|
+
|
|
3460
|
+
.icon svg {
|
|
3461
|
+
inline-size: var(--_ui-callout-icon-size, 1.125rem);
|
|
3462
|
+
block-size: var(--_ui-callout-icon-size, 1.125rem);
|
|
3463
|
+
}
|
|
3464
|
+
|
|
3465
|
+
.content {
|
|
3466
|
+
min-inline-size: 0;
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
.heading {
|
|
3470
|
+
display: block !important;
|
|
3471
|
+
font-weight: var(--ui-font-semibold);
|
|
3472
|
+
}
|
|
3473
|
+
|
|
3474
|
+
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=neutral"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=note"] {
|
|
3475
|
+
--_ui-selection-context-surface: initial;
|
|
3476
|
+
--_ui-selection-context-border: initial;
|
|
3477
|
+
--_ui-selection-context-text: initial;
|
|
3478
|
+
--_callout-surface: var(--ui-surface-muted);
|
|
3479
|
+
--_callout-tone-text: var(--ui-text-primary);
|
|
3480
|
+
--_callout-border: var(--ui-border-strong);
|
|
3481
|
+
--_callout-icon: var(--ui-text-secondary);
|
|
3482
|
+
}
|
|
3483
|
+
|
|
3484
|
+
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=tip"] {
|
|
3485
|
+
--_callout-border: var(--ui-info-soft-border);
|
|
3486
|
+
--_callout-surface: var(--ui-info-soft);
|
|
3487
|
+
--_callout-tone-text: var(--ui-info-subtle-text);
|
|
3488
|
+
--_callout-icon: var(--ui-info-subtle-text);
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=important"] {
|
|
3492
|
+
--_callout-border: var(--ui-accent-soft-border);
|
|
3493
|
+
--_callout-surface: var(--ui-accent-soft);
|
|
3494
|
+
--_callout-tone-text: var(--ui-accent-subtle-text);
|
|
3495
|
+
--_callout-icon: var(--ui-accent-subtle-text);
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3498
|
+
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=warning"] {
|
|
3499
|
+
--_callout-border: var(--ui-warning-soft-border);
|
|
3500
|
+
--_callout-surface: var(--ui-warning-soft);
|
|
3501
|
+
--_callout-tone-text: var(--ui-warning-subtle-text);
|
|
3502
|
+
--_callout-icon: var(--ui-warning-subtle-text);
|
|
3503
|
+
}
|
|
3504
|
+
|
|
3505
|
+
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=success"] {
|
|
3506
|
+
--_callout-border: var(--ui-success-soft-border);
|
|
3507
|
+
--_callout-surface: var(--ui-success-soft);
|
|
3508
|
+
--_callout-tone-text: var(--ui-success-subtle-text);
|
|
3509
|
+
--_callout-icon: var(--ui-success-subtle-text);
|
|
3510
|
+
}
|
|
3511
|
+
|
|
3512
|
+
:scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=danger"], :scope:where([data-component~="ui-callout"])[data-ui-callout-state~="tone=caution"] {
|
|
3513
|
+
--_callout-border: var(--ui-danger-soft-border);
|
|
3514
|
+
--_callout-surface: var(--ui-danger-soft);
|
|
3515
|
+
--_callout-tone-text: var(--ui-danger-subtle-text);
|
|
3516
|
+
--_callout-icon: var(--ui-danger-subtle-text);
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3519
|
+
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
3520
|
+
|
|
3521
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3522
|
+
:scope:where([data-component~="ui-callout"])[hidden] {
|
|
3523
|
+
display: none !important;
|
|
3524
|
+
}
|
|
3525
|
+
}
|
|
3526
|
+
@scope ([data-component~="ui-callout"]) to ([data-component]) {
|
|
3527
|
+
/* One line box tall, so the icon centres on the first line of text. */
|
|
3528
|
+
|
|
3529
|
+
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
3530
|
+
.content :where([data-slotted], [data-slotted] *):is(a) {
|
|
3531
|
+
color: var(--ui-accent-subtle-text);
|
|
3532
|
+
text-decoration: underline;
|
|
3533
|
+
text-decoration-thickness: 0.06em;
|
|
3534
|
+
text-underline-offset: 0.18em;
|
|
3535
|
+
}
|
|
3536
|
+
|
|
3537
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
3538
|
+
}
|
|
3539
|
+
/* Generated by HTML Next 1.0.0-alpha.76. Do not edit. */
|
|
3540
|
+
@supports (-moz-appearance: none) {
|
|
3541
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
3542
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3543
|
+
}
|
|
3544
|
+
@supports (-moz-appearance: none) {
|
|
3545
|
+
[data-component~="ui-image"] { --html-next-scope-owner: "ui-image" !important; }
|
|
3546
|
+
}
|
|
3547
|
+
@scope ([data-component~="ui-image"]) to ([data-component], [data-slotted]) {
|
|
3548
|
+
:scope:where([data-component~="ui-image"]) {
|
|
3549
|
+
display: flex !important;
|
|
3550
|
+
justify-content: flex-start !important;
|
|
3551
|
+
box-sizing: border-box !important;
|
|
3552
|
+
max-inline-size: 100%;
|
|
3553
|
+
min-inline-size: 0;
|
|
3554
|
+
margin: 0 !important;
|
|
3555
|
+
padding: var(--ui-space-3) 0 !important;
|
|
3556
|
+
}
|
|
3557
|
+
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=center"] {
|
|
3558
|
+
justify-content: center !important;
|
|
3559
|
+
}
|
|
3560
|
+
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"] {
|
|
3561
|
+
float: left;
|
|
3562
|
+
padding-inline-end: var(--ui-space-4) !important;
|
|
3563
|
+
}
|
|
3564
|
+
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"] {
|
|
3565
|
+
float: right;
|
|
3566
|
+
padding-inline-start: var(--ui-space-4) !important;
|
|
3567
|
+
}
|
|
3568
|
+
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
|
|
3569
|
+
inline-size: calc(var(--_ui-image-width, calc(100% / 3)) + var(--ui-space-4));
|
|
3570
|
+
}
|
|
3571
|
+
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame {
|
|
3572
|
+
inline-size: 100%;
|
|
3573
|
+
}
|
|
3574
|
+
.frame {
|
|
3575
|
+
position: relative;
|
|
3576
|
+
flex: 0 1 auto;
|
|
3577
|
+
inline-size: var(--_ui-image-width, fit-content);
|
|
3578
|
+
max-inline-size: 100%;
|
|
3579
|
+
min-inline-size: 0;
|
|
3580
|
+
align-self: flex-start;
|
|
3581
|
+
border-radius: var(--ui-radius-md);
|
|
3582
|
+
}
|
|
3583
|
+
:scope:where([data-component~="ui-image"])[data-ui-image-state~="selected"] .frame {
|
|
3584
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
3585
|
+
outline-offset: var(--ui-border-width);
|
|
3586
|
+
}
|
|
3587
|
+
.handle {
|
|
3588
|
+
position: absolute;
|
|
3589
|
+
z-index: 1;
|
|
3590
|
+
inline-size: 24px;
|
|
3591
|
+
block-size: 24px;
|
|
3592
|
+
padding: 0 !important;
|
|
3593
|
+
border: 0;
|
|
3594
|
+
background: transparent;
|
|
3595
|
+
touch-action: none;
|
|
3596
|
+
}
|
|
3597
|
+
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
3598
|
+
content: "";
|
|
3599
|
+
position: absolute;
|
|
3600
|
+
inset: 8px;
|
|
3601
|
+
background: var(--ui-surface);
|
|
3602
|
+
border: var(--ui-border-width) solid var(--ui-focus-ring);
|
|
3603
|
+
border-radius: var(--ui-radius-sm);
|
|
3604
|
+
}
|
|
3605
|
+
.handle:focus-visible {
|
|
3606
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
3607
|
+
border-radius: var(--ui-radius-sm);
|
|
3608
|
+
}
|
|
3609
|
+
.handle[data-corner="top-left"] {
|
|
3610
|
+
top: -12px;
|
|
3611
|
+
left: -12px;
|
|
3612
|
+
cursor: nwse-resize;
|
|
3613
|
+
}
|
|
3614
|
+
.handle[data-corner="top-right"] {
|
|
3615
|
+
top: -12px;
|
|
3616
|
+
right: -12px;
|
|
3617
|
+
cursor: nesw-resize;
|
|
3618
|
+
}
|
|
3619
|
+
.handle[data-corner="bottom-left"] {
|
|
3620
|
+
bottom: -12px;
|
|
3621
|
+
left: -12px;
|
|
3622
|
+
cursor: nesw-resize;
|
|
3623
|
+
}
|
|
3624
|
+
.handle[data-corner="bottom-right"] {
|
|
3625
|
+
bottom: -12px;
|
|
3626
|
+
right: -12px;
|
|
3627
|
+
cursor: nwse-resize;
|
|
3628
|
+
}
|
|
3629
|
+
.handles[hidden], :scope:where([data-component~="ui-image"])[hidden] {
|
|
3630
|
+
display: none !important;
|
|
3631
|
+
}
|
|
3632
|
+
@media (max-width: 767px) {
|
|
3633
|
+
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
|
|
3634
|
+
float: none;
|
|
3635
|
+
inline-size: 100%;
|
|
3636
|
+
padding-inline: 0 !important;
|
|
3637
|
+
}
|
|
3638
|
+
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .handles {
|
|
3639
|
+
display: none !important;
|
|
3640
|
+
}
|
|
3641
|
+
}
|
|
3642
|
+
@media (pointer: coarse) {
|
|
3643
|
+
.handle {
|
|
3644
|
+
inline-size: 44px;
|
|
3645
|
+
block-size: 44px;
|
|
3646
|
+
}
|
|
3647
|
+
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
3648
|
+
inset: 18px;
|
|
3649
|
+
}
|
|
3650
|
+
.handle[data-corner="top-left"] {
|
|
3651
|
+
top: -22px;
|
|
3652
|
+
left: -22px;
|
|
3653
|
+
}
|
|
3654
|
+
.handle[data-corner="top-right"] {
|
|
3655
|
+
top: -22px;
|
|
3656
|
+
right: -22px;
|
|
3657
|
+
}
|
|
3658
|
+
.handle[data-corner="bottom-left"] {
|
|
3659
|
+
bottom: -22px;
|
|
3660
|
+
left: -22px;
|
|
3661
|
+
}
|
|
3662
|
+
.handle[data-corner="bottom-right"] {
|
|
3663
|
+
bottom: -22px;
|
|
3664
|
+
right: -22px;
|
|
3665
|
+
}
|
|
3666
|
+
}
|
|
3667
|
+
@media (forced-colors: active) {
|
|
3668
|
+
:scope:where([data-component~="ui-image"])[data-ui-image-state~="selected"] .frame, .handle:focus-visible {
|
|
3669
|
+
outline-color: Highlight;
|
|
3670
|
+
}
|
|
3671
|
+
.handle:where(:not([data-component], [data-slotted]))::after {
|
|
3672
|
+
border-color: Highlight;
|
|
3673
|
+
background: Canvas;
|
|
3674
|
+
}
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
@scope ([data-component~="ui-image"]) to ([data-component]) {
|
|
3678
|
+
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame img,
|
|
3679
|
+
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
3680
|
+
inline-size: 100%;
|
|
3681
|
+
}
|
|
3682
|
+
.frame img, .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
3683
|
+
display: block !important;
|
|
3684
|
+
max-inline-size: 100%;
|
|
3685
|
+
block-size: auto;
|
|
3686
|
+
margin: 0 !important;
|
|
3687
|
+
border-radius: inherit;
|
|
3688
|
+
}
|
|
3689
|
+
:scope:where([data-component~="ui-image"])[data-resizing] .frame img, :scope:where([data-component~="ui-image"])[data-resizing] .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
3690
|
+
inline-size: 100%;
|
|
3691
|
+
}
|
|
3692
|
+
@media (max-width: 767px) {
|
|
3693
|
+
}
|
|
3694
|
+
@media (pointer: coarse) {
|
|
3695
|
+
}
|
|
3696
|
+
@media (forced-colors: active) {
|
|
3697
|
+
}
|
|
3698
|
+
}
|
|
3699
|
+
/*$vite$:1*/
|