@threadlabs/looma 0.51.6 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/components/shared/overlay.js +7 -2
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +1 -0
- package/components/ui-calendar/ui-calendar.js +11 -7
- package/components/ui-date-field/ui-date-field.js +0 -5
- package/components/ui-disclosure/ui-disclosure.js +19 -4
- package/components/ui-editor-link-form/ui-editor-link-form.js +5 -0
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +2 -3
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +10 -1
- package/components/ui-file-input/ui-file-input.js +0 -2
- package/components/ui-status-message/ui-status-message.html +1 -0
- package/components/ui-tabs/ui-tabs.html +1 -0
- package/components/ui-tooltip/ui-tooltip.html +11 -32
- package/dist/index.js +14 -8
- package/docs/catalog.json +565 -131
- package/editor/components.css +530 -551
- package/editor/index.js +72 -47
- package/package.json +30 -35
- package/styles/ui-action-bar.css +8 -8
- package/styles/ui-affordance-scope.css +10 -10
- package/styles/ui-avatar-group.css +11 -11
- package/styles/ui-avatar.css +14 -14
- package/styles/ui-badge.css +67 -67
- package/styles/ui-breadcrumb-item.css +10 -10
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +99 -99
- package/styles/ui-calendar.css +1 -1
- package/styles/ui-callout.css +14 -14
- package/styles/ui-card-group.css +11 -11
- package/styles/ui-card.css +36 -36
- package/styles/ui-checkbox.css +28 -28
- package/styles/ui-cluster.css +30 -30
- package/styles/ui-color-picker.css +16 -16
- package/styles/ui-combobox.css +50 -50
- package/styles/ui-compact-content.css +1 -1
- package/styles/ui-compact-editor.css +1 -1
- package/styles/ui-compact-mark.css +1 -1
- package/styles/ui-compact-node.css +1 -1
- package/styles/ui-container.css +14 -14
- package/styles/ui-context-menu.css +8 -8
- package/styles/ui-cover.css +9 -9
- package/styles/ui-curve-editor.css +9 -9
- package/styles/ui-cycle-button.css +10 -10
- package/styles/ui-date-field.css +1 -1
- package/styles/ui-date-picker.css +1 -1
- package/styles/ui-date-range-picker.css +1 -1
- package/styles/ui-description-item.css +8 -8
- package/styles/ui-description-list.css +18 -18
- package/styles/ui-dialog.css +37 -37
- package/styles/ui-disclosure.css +26 -26
- package/styles/ui-editable.css +13 -13
- package/styles/ui-editor-block-actions.css +1 -1
- package/styles/ui-editor-chip-editor.css +1 -1
- package/styles/ui-editor-code-language.css +1 -1
- package/styles/ui-editor-footnote-editor.css +1 -1
- package/styles/ui-editor-formatting-tools.css +1 -1
- package/styles/ui-editor-image-toolbar.css +1 -1
- package/styles/ui-editor-insert-table-grid.css +9 -9
- package/styles/ui-editor-link-card.css +1 -1
- package/styles/ui-editor-link-form.css +1 -1
- package/styles/ui-editor-mention-menu-item.css +13 -15
- package/styles/ui-editor-mention-menu.css +12 -12
- package/styles/ui-editor-slash-menu-group.css +7 -7
- package/styles/ui-editor-slash-menu-item.css +12 -12
- package/styles/ui-editor-slash-menu.css +13 -13
- package/styles/ui-editor-surface.css +8 -8
- package/styles/ui-editor-table-context-menu.css +19 -15
- package/styles/ui-editor-table-overlay.css +15 -15
- package/styles/ui-editor-table-toolbar.css +19 -19
- package/styles/ui-editor-toolbar.css +16 -16
- package/styles/ui-editor.css +1 -1
- package/styles/ui-file-input.css +1 -1
- package/styles/ui-floating-action-button.css +14 -14
- package/styles/ui-form-field.css +9 -9
- package/styles/ui-grid.css +19 -19
- package/styles/ui-icon-button.css +73 -73
- package/styles/ui-icon.css +11 -11
- package/styles/ui-image.css +23 -23
- package/styles/ui-input-group.css +26 -26
- package/styles/ui-input.css +23 -23
- package/styles/ui-light-editor.css +15 -15
- package/styles/ui-list-item.css +25 -25
- package/styles/ui-list.css +16 -16
- package/styles/ui-listbox.css +22 -22
- package/styles/ui-menu-group.css +7 -7
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +20 -20
- package/styles/ui-meter.css +32 -32
- package/styles/ui-nav-item.css +18 -18
- package/styles/ui-number-input.css +12 -12
- package/styles/ui-page-header.css +10 -10
- package/styles/ui-pagination.css +1 -1
- package/styles/ui-popover.css +17 -17
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +25 -25
- package/styles/ui-reel.css +21 -21
- package/styles/ui-scroll-area.css +20 -20
- package/styles/ui-search-result-row.css +16 -16
- package/styles/ui-search-shell.css +10 -10
- package/styles/ui-section.css +18 -18
- package/styles/ui-select.css +22 -22
- package/styles/ui-separator.css +12 -12
- package/styles/ui-sidebar.css +26 -26
- package/styles/ui-site-header.css +65 -65
- package/styles/ui-skeleton.css +18 -18
- package/styles/ui-slider.css +11 -11
- package/styles/ui-spinner.css +9 -9
- package/styles/ui-stack.css +22 -22
- package/styles/ui-status-message.css +12 -12
- package/styles/ui-swatch.css +14 -14
- package/styles/ui-switch.css +23 -23
- package/styles/ui-switcher.css +20 -20
- package/styles/ui-table.css +12 -12
- package/styles/ui-tabs.css +18 -17
- package/styles/ui-text.css +40 -40
- package/styles/ui-textarea.css +21 -21
- package/styles/ui-time-field.css +1 -1
- package/styles/ui-time-picker.css +1 -1
- package/styles/ui-toast-region.css +29 -29
- package/styles/ui-toast.css +19 -19
- package/styles/ui-tooltip.css +37 -58
- package/styles/ui-top-bar.css +8 -8
- package/styles/ui-tree-item.css +112 -112
- package/styles/ui-tree.css +11 -11
- package/vanilla/UiActionBar.d.ts +1 -1
- package/vanilla/UiActionBar.js +2 -2
- package/vanilla/UiAffordanceScope.d.ts +1 -1
- package/vanilla/UiAffordanceScope.js +2 -2
- package/vanilla/UiAvatar.d.ts +1 -1
- package/vanilla/UiAvatar.js +2 -2
- package/vanilla/UiAvatarGroup.d.ts +1 -1
- package/vanilla/UiAvatarGroup.js +2 -2
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +2 -2
- package/vanilla/UiBreadcrumbItem.d.ts +1 -1
- package/vanilla/UiBreadcrumbItem.js +2 -2
- package/vanilla/UiBreadcrumbs.d.ts +1 -1
- package/vanilla/UiBreadcrumbs.js +2 -2
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +5 -5
- package/vanilla/UiCalendar.d.ts +1 -1
- package/vanilla/UiCalendar.js +10 -10
- package/vanilla/UiCallout.d.ts +1 -1
- package/vanilla/UiCallout.js +2 -2
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +5 -5
- package/vanilla/UiCardGroup.d.ts +1 -1
- package/vanilla/UiCardGroup.js +2 -2
- package/vanilla/UiCheckbox.d.ts +1 -1
- package/vanilla/UiCheckbox.js +2 -2
- package/vanilla/UiCluster.d.ts +1 -1
- package/vanilla/UiCluster.js +2 -2
- package/vanilla/UiColorPicker.d.ts +1 -1
- package/vanilla/UiColorPicker.js +2 -2
- package/vanilla/UiCombobox.d.ts +1 -1
- package/vanilla/UiCombobox.js +8 -8
- package/vanilla/UiCompactContent.d.ts +1 -1
- package/vanilla/UiCompactContent.js +4 -4
- package/vanilla/UiCompactEditor.d.ts +1 -1
- package/vanilla/UiCompactEditor.js +2 -2
- package/vanilla/UiCompactMark.d.ts +1 -1
- package/vanilla/UiCompactMark.js +5 -5
- package/vanilla/UiCompactNode.d.ts +1 -1
- package/vanilla/UiCompactNode.js +8 -8
- package/vanilla/UiContainer.d.ts +1 -1
- package/vanilla/UiContainer.js +2 -2
- package/vanilla/UiContextMenu.d.ts +1 -1
- package/vanilla/UiContextMenu.js +2 -2
- package/vanilla/UiCover.d.ts +1 -1
- package/vanilla/UiCover.js +2 -2
- package/vanilla/UiCurveEditor.d.ts +1 -1
- package/vanilla/UiCurveEditor.js +2 -2
- package/vanilla/UiCycleButton.d.ts +1 -1
- package/vanilla/UiCycleButton.js +2 -2
- package/vanilla/UiDateField.d.ts +1 -1
- package/vanilla/UiDateField.js +2 -2
- package/vanilla/UiDatePicker.d.ts +1 -1
- package/vanilla/UiDatePicker.js +2 -2
- package/vanilla/UiDateRangePicker.d.ts +1 -1
- package/vanilla/UiDateRangePicker.js +4 -4
- package/vanilla/UiDescriptionItem.d.ts +1 -1
- package/vanilla/UiDescriptionItem.js +2 -2
- package/vanilla/UiDescriptionList.d.ts +1 -1
- package/vanilla/UiDescriptionList.js +2 -2
- package/vanilla/UiDialog.d.ts +1 -1
- package/vanilla/UiDialog.js +2 -2
- package/vanilla/UiDisclosure.d.ts +1 -1
- package/vanilla/UiDisclosure.js +2 -2
- package/vanilla/UiEditable.d.ts +1 -1
- package/vanilla/UiEditable.js +2 -2
- package/vanilla/UiEditor.d.ts +1 -1
- package/vanilla/UiEditor.js +6 -6
- package/vanilla/UiEditorBlockActions.d.ts +1 -1
- package/vanilla/UiEditorBlockActions.js +2 -2
- package/vanilla/UiEditorChipEditor.d.ts +1 -1
- package/vanilla/UiEditorChipEditor.js +2 -2
- package/vanilla/UiEditorCodeLanguage.d.ts +1 -1
- package/vanilla/UiEditorCodeLanguage.js +4 -4
- package/vanilla/UiEditorFootnoteEditor.d.ts +1 -1
- package/vanilla/UiEditorFootnoteEditor.js +2 -2
- package/vanilla/UiEditorFormattingTools.d.ts +1 -1
- package/vanilla/UiEditorFormattingTools.js +4 -4
- package/vanilla/UiEditorImageToolbar.d.ts +1 -1
- package/vanilla/UiEditorImageToolbar.js +2 -2
- package/vanilla/UiEditorInsertTableGrid.d.ts +1 -1
- package/vanilla/UiEditorInsertTableGrid.js +4 -4
- package/vanilla/UiEditorLinkCard.d.ts +1 -1
- package/vanilla/UiEditorLinkCard.js +2 -2
- package/vanilla/UiEditorLinkForm.d.ts +1 -1
- package/vanilla/UiEditorLinkForm.js +4 -4
- package/vanilla/UiEditorMentionMenu.d.ts +1 -1
- package/vanilla/UiEditorMentionMenu.js +4 -4
- package/vanilla/UiEditorMentionMenuItem.d.ts +1 -1
- package/vanilla/UiEditorMentionMenuItem.js +2 -2
- package/vanilla/UiEditorSlashMenu.d.ts +1 -1
- package/vanilla/UiEditorSlashMenu.js +4 -4
- package/vanilla/UiEditorSlashMenuGroup.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuGroup.js +2 -2
- package/vanilla/UiEditorSlashMenuItem.d.ts +1 -1
- package/vanilla/UiEditorSlashMenuItem.js +2 -2
- package/vanilla/UiEditorSurface.d.ts +1 -1
- package/vanilla/UiEditorSurface.js +2 -2
- package/vanilla/UiEditorTableContextMenu.d.ts +1 -1
- package/vanilla/UiEditorTableContextMenu.js +7 -6
- package/vanilla/UiEditorTableOverlay.d.ts +1 -1
- package/vanilla/UiEditorTableOverlay.js +5 -5
- package/vanilla/UiEditorTableToolbar.d.ts +1 -1
- package/vanilla/UiEditorTableToolbar.js +8 -8
- package/vanilla/UiEditorToolbar.d.ts +1 -1
- package/vanilla/UiEditorToolbar.js +2 -2
- package/vanilla/UiFileInput.d.ts +1 -1
- package/vanilla/UiFileInput.js +4 -4
- package/vanilla/UiFloatingActionButton.d.ts +1 -1
- package/vanilla/UiFloatingActionButton.js +2 -2
- package/vanilla/UiFormField.d.ts +1 -1
- package/vanilla/UiFormField.js +2 -2
- package/vanilla/UiGrid.d.ts +1 -1
- package/vanilla/UiGrid.js +4 -4
- package/vanilla/UiIcon.d.ts +1 -1
- package/vanilla/UiIcon.js +4 -4
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +2 -2
- package/vanilla/UiImage.d.ts +1 -1
- package/vanilla/UiImage.js +2 -2
- package/vanilla/UiInput.d.ts +1 -1
- package/vanilla/UiInput.js +2 -2
- package/vanilla/UiInputGroup.d.ts +1 -1
- package/vanilla/UiInputGroup.js +2 -2
- package/vanilla/UiLightEditor.d.ts +1 -1
- package/vanilla/UiLightEditor.js +2 -2
- package/vanilla/UiList.d.ts +1 -1
- package/vanilla/UiList.js +3 -3
- package/vanilla/UiListItem.d.ts +1 -1
- package/vanilla/UiListItem.js +2 -2
- package/vanilla/UiListbox.d.ts +1 -1
- package/vanilla/UiListbox.js +5 -5
- package/vanilla/UiMenu.d.ts +1 -1
- package/vanilla/UiMenu.js +2 -2
- package/vanilla/UiMenuGroup.d.ts +1 -1
- package/vanilla/UiMenuGroup.js +2 -2
- package/vanilla/UiMenuItem.d.ts +1 -1
- package/vanilla/UiMenuItem.js +3 -3
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +4 -4
- package/vanilla/UiNavItem.d.ts +1 -1
- package/vanilla/UiNavItem.js +3 -3
- package/vanilla/UiNumberInput.d.ts +1 -1
- package/vanilla/UiNumberInput.js +2 -2
- package/vanilla/UiPageHeader.d.ts +1 -1
- package/vanilla/UiPageHeader.js +2 -2
- package/vanilla/UiPagination.d.ts +1 -1
- package/vanilla/UiPagination.js +4 -4
- package/vanilla/UiPopover.d.ts +1 -1
- package/vanilla/UiPopover.js +2 -2
- package/vanilla/UiRadio.d.ts +1 -1
- package/vanilla/UiRadio.js +2 -2
- package/vanilla/UiRadioGroup.d.ts +1 -1
- package/vanilla/UiRadioGroup.js +2 -2
- package/vanilla/UiReel.d.ts +1 -1
- package/vanilla/UiReel.js +2 -2
- package/vanilla/UiScrollArea.d.ts +1 -1
- package/vanilla/UiScrollArea.js +2 -2
- package/vanilla/UiSearchResultRow.d.ts +1 -1
- package/vanilla/UiSearchResultRow.js +2 -2
- package/vanilla/UiSearchShell.d.ts +1 -1
- package/vanilla/UiSearchShell.js +2 -2
- package/vanilla/UiSection.d.ts +1 -1
- package/vanilla/UiSection.js +3 -3
- package/vanilla/UiSelect.d.ts +1 -1
- package/vanilla/UiSelect.js +2 -2
- package/vanilla/UiSeparator.d.ts +1 -1
- package/vanilla/UiSeparator.js +2 -2
- package/vanilla/UiSidebar.d.ts +1 -1
- package/vanilla/UiSidebar.js +2 -2
- package/vanilla/UiSiteHeader.d.ts +1 -1
- package/vanilla/UiSiteHeader.js +2 -2
- package/vanilla/UiSkeleton.d.ts +1 -1
- package/vanilla/UiSkeleton.js +2 -2
- package/vanilla/UiSlider.d.ts +1 -1
- package/vanilla/UiSlider.js +2 -2
- package/vanilla/UiSpinner.d.ts +1 -1
- package/vanilla/UiSpinner.js +2 -2
- package/vanilla/UiStack.d.ts +1 -1
- package/vanilla/UiStack.js +2 -2
- package/vanilla/UiStatusMessage.d.ts +1 -1
- package/vanilla/UiStatusMessage.js +2 -2
- package/vanilla/UiSwatch.d.ts +1 -1
- package/vanilla/UiSwatch.js +2 -2
- package/vanilla/UiSwitch.d.ts +1 -1
- package/vanilla/UiSwitch.js +2 -2
- package/vanilla/UiSwitcher.d.ts +1 -1
- package/vanilla/UiSwitcher.js +2 -2
- package/vanilla/UiTable.d.ts +1 -1
- package/vanilla/UiTable.js +2 -2
- package/vanilla/UiTabs.d.ts +1 -1
- package/vanilla/UiTabs.js +4 -4
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +13 -13
- package/vanilla/UiTextarea.d.ts +1 -1
- package/vanilla/UiTextarea.js +2 -2
- package/vanilla/UiTimeField.d.ts +1 -1
- package/vanilla/UiTimeField.js +2 -2
- package/vanilla/UiTimePicker.d.ts +1 -1
- package/vanilla/UiTimePicker.js +6 -6
- package/vanilla/UiToast.d.ts +1 -1
- package/vanilla/UiToast.js +2 -2
- package/vanilla/UiToastRegion.d.ts +1 -1
- package/vanilla/UiToastRegion.js +4 -4
- package/vanilla/UiTooltip.d.ts +1 -1
- package/vanilla/UiTooltip.js +2 -2
- package/vanilla/UiTopBar.d.ts +1 -1
- package/vanilla/UiTopBar.js +2 -2
- package/vanilla/UiTree.d.ts +1 -1
- package/vanilla/UiTree.js +2 -2
- package/vanilla/UiTreeItem.d.ts +1 -1
- package/vanilla/UiTreeItem.js +2 -2
- package/bin/looma-docs.mjs +0 -3
- package/docs/README.md +0 -323
- package/docs/card.html +0 -79
- package/docs/card.js +0 -18
- package/docs/catalog-view.js +0 -24
- package/docs/catalog-view.mjs +0 -13
- package/docs/catalog.mjs +0 -131
- package/docs/cli.mjs +0 -26
- package/docs/commands.mjs +0 -94
- package/docs/customizer-render.mjs +0 -157
- package/docs/customizer.js +0 -494
- package/docs/documentation.css +0 -14
- package/docs/example-invocations.mjs +0 -63
- package/docs/fonts.mjs +0 -73
- package/docs/framework-examples.d.mts +0 -9
- package/docs/framework-examples.mjs +0 -195
- package/docs/index.d.ts +0 -59
- package/docs/index.mjs +0 -4
- package/docs/local-server.mjs +0 -65
- package/docs/navigation.mjs +0 -26
- package/docs/palette.mjs +0 -68
- package/docs/pastoral.svg +0 -54
- package/docs/portrait.svg +0 -15
- package/docs/reference.html +0 -1
- package/docs/reference.js +0 -36
- package/docs/render.mjs +0 -97
- package/docs/site.mjs +0 -237
- package/docs/store.mjs +0 -92
- package/docs/theme-session.mjs +0 -72
- package/docs/theme.mjs +0 -669
- package/docs/value-editors.mjs +0 -37
- package/docs/workspace.mjs +0 -32
package/styles/ui-select.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-select"] { --html-next-scope-owner: "ui-select" !important; }
|
|
7
|
+
:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])) { --html-next-scope-owner: "ui-select" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-select"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-select"]) {
|
|
9
|
+
@scope (:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))) {
|
|
11
11
|
--_ui-select-size: var(--ui-control-size-md);
|
|
12
12
|
--_ui-select-inset-block: var(--ui-control-inset-block-md, var(--ui-space-2));
|
|
13
13
|
--_ui-select-chevron-inset: var(--ui-space-3);
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
|
|
36
36
|
/* The select draws its own chevron: the native caret cannot be inset or sized consistently.
|
|
37
37
|
* The root stays a native <s-lect>, so the icon is a background image rather than an element. */
|
|
38
|
-
:scope:where([data-component~="ui-select"]) {
|
|
38
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))) {
|
|
39
39
|
--_ui-select-highlight: var(--ui-surface-highlight, linear-gradient(transparent, transparent));
|
|
40
40
|
appearance: none;
|
|
41
41
|
padding-inline-end: calc(var(--ui-space-3) + 1.5rem) !important;
|
|
@@ -50,31 +50,31 @@
|
|
|
50
50
|
background-size: 1.125rem 1.125rem, 100% 100%;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
:scope:where([data-component~="ui-select"]):dir(rtl) {
|
|
53
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))):dir(rtl) {
|
|
54
54
|
background-position: left var(--_ui-select-chevron-inset) center, center;
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
:scope:where([data-component~="ui-select"])[data-ui-select-state~="muted"] {
|
|
57
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])))[data-ui-select-state~="muted"] {
|
|
58
58
|
color: var(--ui-text-secondary);
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
:scope:where([data-component~="ui-select"]):hover:not(:focus):not(:disabled):not([aria-invalid="true"]):not(:is(:user-invalid, [data-user-invalid])) {
|
|
61
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))):hover:not(:focus):not(:disabled):not([aria-invalid="true"]):not(:is(:user-invalid, [data-user-invalid])) {
|
|
62
62
|
border-color: var(--ui-select-border-hover, var(--ui-control-border-hover, var(--ui-text-secondary)));
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
:scope:where([data-component~="ui-select"]):focus-visible {
|
|
65
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))):focus-visible {
|
|
66
66
|
border-color: var(--ui-select-focus-border, var(--ui-control-focus, var(--ui-accent-solid)));
|
|
67
67
|
outline: none;
|
|
68
68
|
box-shadow: var(--ui-select-focus-shadow, var(--ui-shadow-sm), var(--ui-control-focus-halo-shadow));
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* The app's invalid flag, or the browser's own verdict once the user has left an invalid field. */
|
|
72
|
-
:scope:where([data-component~="ui-select"])[aria-invalid="true"],
|
|
73
|
-
:scope:where([data-component~="ui-select"]):is(:user-invalid, [data-user-invalid]) {
|
|
72
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])))[aria-invalid="true"],
|
|
73
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))):is(:user-invalid, [data-user-invalid]) {
|
|
74
74
|
border-color: var(--ui-select-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
:scope:where([data-component~="ui-select"]):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible {
|
|
77
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible {
|
|
78
78
|
box-shadow: var(
|
|
79
79
|
--ui-select-invalid-focus-shadow,
|
|
80
80
|
var(--ui-shadow-sm),
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
:scope:where([data-component~="ui-select"]):disabled {
|
|
89
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))):disabled {
|
|
90
90
|
--_ui-select-highlight: none;
|
|
91
91
|
background-color: var(--ui-control-surface-disabled, var(--ui-surface-muted));
|
|
92
92
|
color: var(--ui-disabled-text);
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
cursor: not-allowed;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
:scope:where([data-component~="ui-select"])[data-ui-select-state~="size=sm"] {
|
|
97
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])))[data-ui-select-state~="size=sm"] {
|
|
98
98
|
--_ui-select-size: var(--ui-control-size-sm);
|
|
99
99
|
--_ui-select-inset-block: var(--ui-control-inset-block-sm, var(--ui-space-1));
|
|
100
100
|
min-block-size: var(--ui-control-size-sm);
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
font-size: var(--ui-font-size-sm);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
:scope:where([data-component~="ui-select"])[data-ui-select-state~="size=lg"] {
|
|
110
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])))[data-ui-select-state~="size=lg"] {
|
|
111
111
|
--_ui-select-size: var(--ui-control-size-lg);
|
|
112
112
|
--_ui-select-inset-block: var(--ui-control-inset-block-lg, var(--ui-space-3));
|
|
113
113
|
min-block-size: var(--ui-control-size-lg);
|
|
@@ -119,21 +119,21 @@
|
|
|
119
119
|
|
|
120
120
|
/* Touch may use body-size text in a small native field to avoid focus zoom; this does not impose a larger visible control height. */
|
|
121
121
|
@media (pointer: coarse) {
|
|
122
|
-
:scope:where([data-component~="ui-select"])[data-ui-select-state~="size=sm"] {
|
|
122
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])))[data-ui-select-state~="size=sm"] {
|
|
123
123
|
font-size: var(--ui-font-size-md);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
128
|
-
:scope:where([data-component~="ui-select"])[hidden] {
|
|
128
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])))[hidden] {
|
|
129
129
|
display: none !important;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
@scope ([data-component~="ui-select"]) to ([data-component]) {
|
|
132
|
+
@scope (:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
133
133
|
/* The select draws its own chevron: the native caret cannot be inset or sized consistently.
|
|
134
134
|
* The root stays a native <s-lect>, so the icon is a background image rather than an element. */
|
|
135
|
-
:scope:where([data-component~="ui-select"])[data-ui-select-state~="muted"] :where([data-slotted], [data-slotted] *):is(option),
|
|
136
|
-
:scope:where([data-component~="ui-select"])[data-ui-select-state~="muted"] :where([data-slotted], [data-slotted] *):is(optgroup) {
|
|
135
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])))[data-ui-select-state~="muted"] :where([data-slotted], [data-slotted] *):is(option),
|
|
136
|
+
:scope:where(:is([component~="ui-select"]:not(template), [data-component~="ui-select"]:not([component])))[data-ui-select-state~="muted"] :where([data-slotted], [data-slotted] *):is(optgroup) {
|
|
137
137
|
color: var(--ui-text-primary);
|
|
138
138
|
background-color: var(--ui-control-surface);
|
|
139
139
|
}
|
package/styles/ui-separator.css
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-separator"] { --html-next-scope-owner: "ui-separator" !important; }
|
|
7
|
+
:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])) { --html-next-scope-owner: "ui-separator" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-separator"]) to ([data-component], [data-slotted]) {
|
|
9
|
+
@scope (:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
10
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
11
|
-
:scope:where([data-component~="ui-separator"]) {
|
|
11
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component]))) {
|
|
12
12
|
box-sizing: border-box !important;
|
|
13
13
|
align-self: stretch;
|
|
14
14
|
margin: 0 !important;
|
|
@@ -16,32 +16,32 @@
|
|
|
16
16
|
border-block-start: var(--ui-border-width) solid var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="emphasis=strong"] {
|
|
19
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[data-ui-separator-state~="emphasis=strong"] {
|
|
20
20
|
--_separator-color: var(--ui-border-strong);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
:scope:where([data-component~="ui-separator"])[aria-orientation="vertical"] {
|
|
23
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[aria-orientation="vertical"] {
|
|
24
24
|
block-size: auto;
|
|
25
25
|
border-block-start: 0;
|
|
26
26
|
border-inline-start: var(--ui-border-width) solid var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selectable"] {
|
|
29
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[data-ui-separator-state~="selectable"] {
|
|
30
30
|
min-block-size: var(--ui-control-size-sm);
|
|
31
31
|
border: 0;
|
|
32
32
|
background: linear-gradient(var(--ui-separator-color, var(--ui-border-divider)), var(--ui-separator-color, var(--ui-border-divider))) center / 100%
|
|
33
33
|
var(--ui-border-width) no-repeat;
|
|
34
34
|
cursor: pointer;
|
|
35
35
|
}
|
|
36
|
-
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selectable"]:hover {
|
|
36
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[data-ui-separator-state~="selectable"]:hover {
|
|
37
37
|
background-color: var(--ui-surface-hover);
|
|
38
38
|
}
|
|
39
|
-
:scope:where([data-component~="ui-separator"])[data-ui-separator-state~="selected"] {
|
|
39
|
+
:scope:where(:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component])))[data-ui-separator-state~="selected"] {
|
|
40
40
|
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
41
41
|
outline-offset: var(--ui-focus-width);
|
|
42
42
|
border-radius: var(--ui-radius-sm);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
-
@scope ([data-component~="ui-separator"]) to ([data-component]) {
|
|
45
|
+
@scope (:is([component~="ui-separator"]:not(template), [data-component~="ui-separator"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
46
46
|
/* The root is the hr, so the rules name :host; a bare hr matches only a descendant. */
|
|
47
47
|
}
|
package/styles/ui-sidebar.css
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/* Generated by HTML Next 1.0.0-alpha.
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.82. Do not edit. */
|
|
2
2
|
@supports (-moz-appearance: none) {
|
|
3
|
-
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
-
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
3
|
+
:where(:is([component]:not(template), [data-component]:not([component])), [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not(:is([component]:not(template), [data-component]:not([component])))) { --html-next-scope-owner: projected !important; }
|
|
5
5
|
}
|
|
6
6
|
@supports (-moz-appearance: none) {
|
|
7
|
-
[data-component~="ui-sidebar"] { --html-next-scope-owner: "ui-sidebar" !important; }
|
|
7
|
+
:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])) { --html-next-scope-owner: "ui-sidebar" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-sidebar"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-sidebar"]) {
|
|
9
|
+
@scope (:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the component root. */
|
|
12
12
|
--_ui-sidebar-backdrop: var(--ui-sidebar-backdrop);
|
|
13
13
|
--_ui-sidebar-expanded-width: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
transition: inline-size var(--ui-motion-layout) var(--ui-motion-layout-ease), visibility var(--ui-motion-layout);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="side=end"] {
|
|
28
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="side=end"] {
|
|
29
29
|
border-inline-end: 0;
|
|
30
30
|
border-inline-start: var(--ui-border-width) solid var(--ui-sidebar-border, var(--ui-border-divider));
|
|
31
31
|
}
|
|
@@ -62,17 +62,17 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
/* Collapsed while docked. */
|
|
65
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="internalCollapsed"]:not([popover]) {
|
|
65
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="internalCollapsed"]:not([popover]) {
|
|
66
66
|
inline-size: var(--ui-sidebar-collapsed-width, 0px);
|
|
67
67
|
visibility: hidden;
|
|
68
68
|
}
|
|
69
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="resizing"] {
|
|
69
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="resizing"] {
|
|
70
70
|
transition: none;
|
|
71
71
|
}
|
|
72
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="internalCollapsed"]:not([popover]) .content {
|
|
72
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="internalCollapsed"]:not([popover]) .content {
|
|
73
73
|
transform: translateX(-100%);
|
|
74
74
|
}
|
|
75
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="side=end"][data-ui-sidebar-state~="internalCollapsed"]:not([popover]) .content {
|
|
75
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="side=end"][data-ui-sidebar-state~="internalCollapsed"]:not([popover]) .content {
|
|
76
76
|
transform: translateX(100%);
|
|
77
77
|
}
|
|
78
78
|
|
|
@@ -94,13 +94,13 @@
|
|
|
94
94
|
display: none !important;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="side=end"] .resizer {
|
|
97
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="side=end"] .resizer {
|
|
98
98
|
inset-inline-end: auto;
|
|
99
99
|
inset-inline-start: 0;
|
|
100
100
|
transform: translateX(-50%);
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
.resizer:where(:not([data-component], [data-slotted]))::after {
|
|
103
|
+
.resizer:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
104
104
|
content: "";
|
|
105
105
|
position: absolute;
|
|
106
106
|
inset-block: 0;
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
pointer-events: none;
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
.resizer:is(:hover, :focus-visible):where(:not([data-component], [data-slotted]))::after {
|
|
131
|
+
.resizer:is(:hover, :focus-visible):where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
132
132
|
background: var(--ui-affordance-direct-color, var(--ui-accent-solid, var(--ui-focus-ring)));
|
|
133
133
|
opacity: 1;
|
|
134
134
|
}
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/* Drawer: a popover in the top layer, sliding in from its edge. Closed popovers are hidden by the UA. */
|
|
141
|
-
:scope:where([data-component~="ui-sidebar"])[popover] {
|
|
141
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[popover] {
|
|
142
142
|
position: fixed;
|
|
143
143
|
inset-block: 0;
|
|
144
144
|
inset-inline-start: 0;
|
|
@@ -158,50 +158,50 @@
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
/* The author display above would otherwise override the UA rule that hides a closed popover. */
|
|
161
|
-
:scope:where([data-component~="ui-sidebar"])[popover]:not(:popover-open) {
|
|
161
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[popover]:not(:popover-open) {
|
|
162
162
|
display: none !important;
|
|
163
163
|
transform: translateX(-100%);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="side=end"][popover] {
|
|
166
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="side=end"][popover] {
|
|
167
167
|
inset-inline-start: auto;
|
|
168
168
|
inset-inline-end: 0;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="side=end"][popover]:not(:popover-open) {
|
|
171
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="side=end"][popover]:not(:popover-open) {
|
|
172
172
|
transform: translateX(100%);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
175
|
@starting-style {
|
|
176
|
-
:scope:where([data-component~="ui-sidebar"])[popover]:popover-open {
|
|
176
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[popover]:popover-open {
|
|
177
177
|
transform: translateX(-100%);
|
|
178
178
|
}
|
|
179
|
-
:scope:where([data-component~="ui-sidebar"])[data-ui-sidebar-state~="side=end"][popover]:popover-open {
|
|
179
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[data-ui-sidebar-state~="side=end"][popover]:popover-open {
|
|
180
180
|
transform: translateX(100%);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
:scope:where([data-component~="ui-sidebar"])[popover]::backdrop {
|
|
184
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[popover]::backdrop {
|
|
185
185
|
background: var(--_ui-sidebar-backdrop, rgb(0 0 0 / 0.32));
|
|
186
186
|
}
|
|
187
|
-
:scope:where([data-component~="ui-sidebar"])[popover] .content {
|
|
187
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[popover] .content {
|
|
188
188
|
inline-size: 100%;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
@media (prefers-reduced-motion: reduce) {
|
|
192
|
-
:scope:where([data-component~="ui-sidebar"]),
|
|
193
|
-
:scope:where([data-component~="ui-sidebar"])[popover],
|
|
192
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component]))),
|
|
193
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[popover],
|
|
194
194
|
.content {
|
|
195
195
|
transition: none;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
200
|
-
:scope:where([data-component~="ui-sidebar"])[hidden] {
|
|
200
|
+
:scope:where(:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component])))[hidden] {
|
|
201
201
|
display: none !important;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
@scope ([data-component~="ui-sidebar"]) to ([data-component]) {
|
|
204
|
+
@scope (:is([component~="ui-sidebar"]:not(template), [data-component~="ui-sidebar"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
205
205
|
/* The panel's content scrolls, and each edge that hides content fades: the scroll fade every
|
|
206
206
|
Looma scroller uses (see ui-scroll-area). */
|
|
207
207
|
|