@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-tree-item.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-tree-item"] { --html-next-scope-owner: "ui-tree-item" !important; }
|
|
7
|
+
:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])) { --html-next-scope-owner: "ui-tree-item" !important; }
|
|
8
8
|
}
|
|
9
|
-
@scope ([data-component~="ui-tree-item"]) to ([data-component], [data-slotted]) {
|
|
10
|
-
:scope:where([data-component~="ui-tree-item"]) {
|
|
9
|
+
@scope (:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
10
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) {
|
|
11
11
|
/* Resolve shared part values at the root. The tree's density
|
|
12
12
|
sets the defaults, in --_ui-default-*. */
|
|
13
13
|
--_ui-tree-item-min-block-size: var(--ui-tree-item-min-block-size, var(--_ui-default-tree-item-min-block-size));
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
min-block-size var(--ui-motion-base) var(--ui-motion-ease);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="isContainer"]:not([disabled]) > .row,
|
|
47
|
-
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="single"]:not([disabled]) > .row,
|
|
48
|
-
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"]:not([disabled]) > .row {
|
|
46
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="isContainer"]:not([disabled]) > .row,
|
|
47
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="single"]:not([disabled]) > .row,
|
|
48
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"]:not([disabled]) > .row {
|
|
49
49
|
cursor: pointer;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -57,40 +57,40 @@
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/* Selection is the same surface recipe as destination and choice rows. */
|
|
60
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="selected"] > .row {
|
|
60
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="selected"] > .row {
|
|
61
61
|
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
62
62
|
background: var(--_ui-selection-context-surface, var(--ui-selection-surface));
|
|
63
63
|
box-shadow: inset 0 0 0 var(--ui-border-width) var(--_ui-selection-context-border, var(--ui-selection-border));
|
|
64
64
|
}
|
|
65
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="selected"]:not([aria-disabled="true"]) > .row > .leading {
|
|
65
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="selected"]:not([aria-disabled="true"]) > .row > .leading {
|
|
66
66
|
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="disabled"] .row {
|
|
69
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="disabled"] .row {
|
|
70
70
|
color: var(--ui-disabled-text);
|
|
71
71
|
background: var(--ui-disabled-surface);
|
|
72
72
|
box-shadow: none;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
:scope:where([data-component~="ui-tree-item"])[data-dragging]:not([data-move-source]) .row {
|
|
75
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-dragging]:not([data-move-source]) .row {
|
|
76
76
|
opacity: 0.42;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
:scope:where([data-component~="ui-tree-item"])[data-move-source] > .row > .label,
|
|
80
|
-
:scope:where([data-component~="ui-tree-item"])[data-move-source] > .row > .leading {
|
|
79
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label,
|
|
80
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .leading {
|
|
81
81
|
opacity: 0.42;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
:scope:where([data-component~="ui-tree-item"]):focus {
|
|
84
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))):focus {
|
|
85
85
|
outline: none;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
:scope:where([data-component~="ui-tree-item"]):focus-visible .row {
|
|
88
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))):focus-visible .row {
|
|
89
89
|
box-shadow: 0 0 0 var(--ui-focus-width) var(--ui-focus-ring);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/* Child combinators: drop feedback belongs to this item's own row, not the rows nested in it. */
|
|
93
|
-
:scope:where([data-component~="ui-tree-item"])[data-drop-position="inside"] > .row {
|
|
93
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-drop-position="inside"] > .row {
|
|
94
94
|
background: var(--ui-accent-subtle);
|
|
95
95
|
box-shadow: inset 0 0 0 var(--ui-accent-line-width) var(--_ui-tree-drop-color, var(--ui-accent-solid));
|
|
96
96
|
}
|
|
@@ -135,16 +135,16 @@
|
|
|
135
135
|
accent-color: var(--ui-accent-solid);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row {
|
|
138
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row {
|
|
139
139
|
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr);
|
|
140
140
|
}
|
|
141
|
-
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .selection-hit {
|
|
141
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .selection-hit {
|
|
142
142
|
display: grid !important;
|
|
143
143
|
}
|
|
144
|
-
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .leading {
|
|
144
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .leading {
|
|
145
145
|
grid-column: 3;
|
|
146
146
|
}
|
|
147
|
-
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .label {
|
|
147
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .label {
|
|
148
148
|
grid-column: 4;
|
|
149
149
|
}
|
|
150
150
|
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
transition: transform var(--ui-motion-fast) var(--ui-motion-ease);
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
.disclosure-icon:where(:not([data-component], [data-slotted]))::before {
|
|
164
|
+
.disclosure-icon:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::before {
|
|
165
165
|
display: block !important;
|
|
166
166
|
inline-size: 0.375rem;
|
|
167
167
|
block-size: 0.375rem;
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
transform: translateY(-20%) rotate(45deg);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
:scope:where([data-component~="ui-tree-item"])[aria-expanded="true"] > .row > .disclosure > .disclosure-icon {
|
|
175
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[aria-expanded="true"] > .row > .disclosure > .disclosure-icon {
|
|
176
176
|
transform: rotate(0deg);
|
|
177
177
|
}
|
|
178
178
|
|
|
@@ -238,8 +238,8 @@
|
|
|
238
238
|
the truncation mark while it shows: an ellipsis under it would read as a second one. */
|
|
239
239
|
.row:hover > .label,
|
|
240
240
|
.row:focus-within > .label,
|
|
241
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .label,
|
|
242
|
-
:scope:where([data-component~="ui-tree-item"])[data-move-source] > .row > .label {
|
|
241
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .label,
|
|
242
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label {
|
|
243
243
|
text-overflow: clip;
|
|
244
244
|
mask-image: linear-gradient(
|
|
245
245
|
to right,
|
|
@@ -250,8 +250,8 @@
|
|
|
250
250
|
|
|
251
251
|
.row:hover > .label:dir(rtl),
|
|
252
252
|
.row:focus-within > .label:dir(rtl),
|
|
253
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .label:dir(rtl),
|
|
254
|
-
:scope:where([data-component~="ui-tree-item"])[data-move-source] > .row > .label:dir(rtl) {
|
|
253
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .label:dir(rtl),
|
|
254
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label:dir(rtl) {
|
|
255
255
|
mask-image: linear-gradient(
|
|
256
256
|
to left,
|
|
257
257
|
#000 calc(100% - var(--_tree-actions-width, 1.75rem) - var(--ui-space-1)),
|
|
@@ -328,8 +328,8 @@
|
|
|
328
328
|
|
|
329
329
|
.row:hover > .actions,
|
|
330
330
|
.row:focus-within > .actions,
|
|
331
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .actions,
|
|
332
|
-
:scope:where([data-component~="ui-tree-item"])[data-move-source] > .row > .actions {
|
|
331
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .actions,
|
|
332
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .actions {
|
|
333
333
|
opacity: 1;
|
|
334
334
|
pointer-events: auto;
|
|
335
335
|
}
|
|
@@ -352,8 +352,8 @@
|
|
|
352
352
|
|
|
353
353
|
.row:is(:hover, :focus-within) > .label,
|
|
354
354
|
.row:is(:hover, :focus-within) > .label:dir(rtl),
|
|
355
|
-
:scope:where([data-component~="ui-tree-item"])[data-move-source] > .row > .label,
|
|
356
|
-
:scope:where([data-component~="ui-tree-item"])[data-move-source] > .row > .label:dir(rtl) {
|
|
355
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label,
|
|
356
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label:dir(rtl) {
|
|
357
357
|
mask-image: none;
|
|
358
358
|
}
|
|
359
359
|
|
|
@@ -366,10 +366,10 @@
|
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
/* Persistent content has its own column on touch. Fade only the label's end. */
|
|
369
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .label {
|
|
369
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .label {
|
|
370
370
|
mask-image: linear-gradient(to right, #000 calc(100% - var(--ui-space-1)), transparent 100%);
|
|
371
371
|
}
|
|
372
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .label:dir(rtl) {
|
|
372
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .label:dir(rtl) {
|
|
373
373
|
mask-image: linear-gradient(to left, #000 calc(100% - var(--ui-space-1)), transparent 100%);
|
|
374
374
|
}
|
|
375
375
|
|
|
@@ -381,11 +381,11 @@
|
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row {
|
|
384
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row {
|
|
385
385
|
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr) auto;
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .actions {
|
|
388
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .actions {
|
|
389
389
|
grid-column: 5;
|
|
390
390
|
}
|
|
391
391
|
}
|
|
@@ -419,11 +419,11 @@
|
|
|
419
419
|
.row:hover .drag-handle,
|
|
420
420
|
.drag-handle:hover,
|
|
421
421
|
.drag-handle:focus-visible,
|
|
422
|
-
:scope:where([data-component~="ui-tree-item"])[data-dragging] > .row > .drag-handle {
|
|
422
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-dragging] > .row > .drag-handle {
|
|
423
423
|
opacity: 1;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="isContainer"] > .row > .drag-handle {
|
|
426
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="isContainer"] > .row > .drag-handle {
|
|
427
427
|
inset-inline-start: calc(-1 * var(--_tree-disclosure-size) - 2px);
|
|
428
428
|
}
|
|
429
429
|
|
|
@@ -448,8 +448,8 @@
|
|
|
448
448
|
pointer-events: none;
|
|
449
449
|
}
|
|
450
450
|
|
|
451
|
-
.drop-indicator:where(:not([data-component], [data-slotted]))::before,
|
|
452
|
-
.drop-indicator:where(:not([data-component], [data-slotted]))::after {
|
|
451
|
+
.drop-indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::before,
|
|
452
|
+
.drop-indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
453
453
|
content: "";
|
|
454
454
|
position: absolute;
|
|
455
455
|
inset-block-start: 50%;
|
|
@@ -461,19 +461,19 @@
|
|
|
461
461
|
transform: translateY(-50%);
|
|
462
462
|
}
|
|
463
463
|
|
|
464
|
-
.drop-indicator:where(:not([data-component], [data-slotted]))::before {
|
|
464
|
+
.drop-indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::before {
|
|
465
465
|
inset-inline-start: -1px;
|
|
466
466
|
}
|
|
467
|
-
.drop-indicator:where(:not([data-component], [data-slotted]))::after {
|
|
467
|
+
.drop-indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]))::after {
|
|
468
468
|
inset-inline-end: -1px;
|
|
469
469
|
}
|
|
470
470
|
|
|
471
|
-
:scope:where([data-component~="ui-tree-item"])[data-drop-position="before"] > .row > .row-drop-indicator {
|
|
471
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-drop-position="before"] > .row > .row-drop-indicator {
|
|
472
472
|
display: block !important;
|
|
473
473
|
inset-block-start: calc(-0.5 * var(--ui-accent-line-width));
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
-
:scope:where([data-component~="ui-tree-item"])[data-drop-position="after"] > .subtree-drop-indicator {
|
|
476
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-drop-position="after"] > .subtree-drop-indicator {
|
|
477
477
|
display: block !important;
|
|
478
478
|
inset-block-end: calc(-0.5 * var(--ui-accent-line-width));
|
|
479
479
|
}
|
|
@@ -482,16 +482,16 @@
|
|
|
482
482
|
display: none !important;
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) {
|
|
485
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) {
|
|
486
486
|
--_tree-row-min-height: 44px;
|
|
487
487
|
}
|
|
488
488
|
|
|
489
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) .row {
|
|
489
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .row {
|
|
490
490
|
grid-template-columns: 44px var(--_tree-disclosure-size) auto minmax(0, 1fr);
|
|
491
491
|
}
|
|
492
492
|
|
|
493
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) .drag-handle,
|
|
494
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="isContainer"] > .row > .drag-handle {
|
|
493
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .drag-handle,
|
|
494
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="isContainer"] > .row > .drag-handle {
|
|
495
495
|
position: relative;
|
|
496
496
|
grid-column: 1;
|
|
497
497
|
grid-row: 1;
|
|
@@ -504,45 +504,45 @@
|
|
|
504
504
|
cursor: pointer;
|
|
505
505
|
}
|
|
506
506
|
|
|
507
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) .disclosure {
|
|
507
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .disclosure {
|
|
508
508
|
grid-column: 2;
|
|
509
509
|
}
|
|
510
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) .leading {
|
|
510
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .leading {
|
|
511
511
|
grid-column: 3;
|
|
512
512
|
}
|
|
513
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) .label {
|
|
513
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .label {
|
|
514
514
|
grid-column: 4;
|
|
515
515
|
}
|
|
516
516
|
|
|
517
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row {
|
|
517
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row {
|
|
518
518
|
grid-template-columns: 44px var(--_tree-disclosure-size) 44px auto minmax(0, 1fr);
|
|
519
519
|
}
|
|
520
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .selection-hit {
|
|
520
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .selection-hit {
|
|
521
521
|
grid-column: 3;
|
|
522
522
|
inline-size: 44px;
|
|
523
523
|
block-size: 44px;
|
|
524
524
|
}
|
|
525
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .leading {
|
|
525
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .leading {
|
|
526
526
|
grid-column: 4;
|
|
527
527
|
}
|
|
528
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .label {
|
|
528
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .label {
|
|
529
529
|
grid-column: 5;
|
|
530
530
|
}
|
|
531
531
|
|
|
532
532
|
@media (hover: none), (pointer: coarse) {
|
|
533
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) .row {
|
|
533
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .row {
|
|
534
534
|
grid-template-columns: 44px var(--_tree-disclosure-size) auto minmax(0, 1fr) auto;
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) .actions {
|
|
537
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .actions {
|
|
538
538
|
grid-column: 5;
|
|
539
539
|
}
|
|
540
540
|
|
|
541
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row {
|
|
541
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row {
|
|
542
542
|
grid-template-columns: 44px var(--_tree-disclosure-size) 44px auto minmax(0, 1fr) auto;
|
|
543
543
|
}
|
|
544
544
|
|
|
545
|
-
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .actions {
|
|
545
|
+
html[data-ui-input-modality="touch"] :scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .actions {
|
|
546
546
|
grid-column: 6;
|
|
547
547
|
}
|
|
548
548
|
}
|
|
@@ -556,22 +556,22 @@
|
|
|
556
556
|
}
|
|
557
557
|
|
|
558
558
|
@media (forced-colors: active) {
|
|
559
|
-
:scope:where([data-component~="ui-tree-item"]):focus-visible > .row {
|
|
559
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))):focus-visible > .row {
|
|
560
560
|
outline: var(--ui-focus-width) solid Highlight;
|
|
561
561
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
562
562
|
}
|
|
563
|
-
:scope:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="selected"]:not(:focus-visible):not([aria-disabled="true"]) > .row {
|
|
563
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="selected"]:not(:focus-visible):not([aria-disabled="true"]) > .row {
|
|
564
564
|
outline: var(--ui-border-width) solid Highlight;
|
|
565
565
|
outline-offset: calc(-1 * var(--ui-border-width));
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
|
|
569
569
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
570
|
-
:scope:where([data-component~="ui-tree-item"])[hidden] {
|
|
570
|
+
:scope:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[hidden] {
|
|
571
571
|
display: none !important;
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
@scope ([data-component~="ui-tree-item"]) to ([data-component]) {
|
|
574
|
+
@scope (:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) to (:is([component]:not(template), [data-component]:not([component]))) {
|
|
575
575
|
/* Selection is the same surface recipe as destination and choice rows. */
|
|
576
576
|
|
|
577
577
|
/* Child combinators: drop feedback belongs to this item's own row, not the rows nested in it. */
|
|
@@ -644,8 +644,8 @@
|
|
|
644
644
|
|
|
645
645
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
646
646
|
}
|
|
647
|
-
@scope ([data-slotted~="ui-tree-item"]:not([data-component])) to ([data-component], [data-slotted]) {
|
|
648
|
-
:where([data-component~="ui-tree-item"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
647
|
+
@scope ([data-slotted~="ui-tree-item"]:not(:is([component]:not(template), [data-component]:not([component])))) to (:is([component]:not(template), [data-component]:not([component])), [data-slotted]) {
|
|
648
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
649
649
|
/* Resolve shared part values at the root. The tree's density
|
|
650
650
|
sets the defaults, in --_ui-default-*. */
|
|
651
651
|
--_ui-tree-item-min-block-size: var(--ui-tree-item-min-block-size, var(--_ui-default-tree-item-min-block-size));
|
|
@@ -681,7 +681,7 @@
|
|
|
681
681
|
min-block-size var(--ui-motion-base) var(--ui-motion-ease);
|
|
682
682
|
}
|
|
683
683
|
|
|
684
|
-
:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="isContainer"]:not([disabled]) > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where([data-component~="ui-tree-item"])[data-selection-mode="single"]:not([disabled]) > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where([data-component~="ui-tree-item"])[data-selection-mode="multiple"]:not([disabled]) > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
684
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="isContainer"]:not([disabled]) > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="single"]:not([disabled]) > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"]:not([disabled]) > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
685
685
|
cursor: pointer;
|
|
686
686
|
}
|
|
687
687
|
|
|
@@ -692,39 +692,39 @@
|
|
|
692
692
|
}
|
|
693
693
|
|
|
694
694
|
/* Selection is the same surface recipe as destination and choice rows. */
|
|
695
|
-
:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="selected"] > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
695
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="selected"] > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
696
696
|
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
697
697
|
background: var(--_ui-selection-context-surface, var(--ui-selection-surface));
|
|
698
698
|
box-shadow: inset 0 0 0 var(--ui-border-width) var(--_ui-selection-context-border, var(--ui-selection-border));
|
|
699
699
|
}
|
|
700
|
-
:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="selected"]:not([aria-disabled="true"]) > .row > .leading:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
700
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="selected"]:not([aria-disabled="true"]) > .row > .leading:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
701
701
|
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
702
702
|
}
|
|
703
703
|
|
|
704
|
-
:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="disabled"] .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
704
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="disabled"] .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
705
705
|
color: var(--ui-disabled-text);
|
|
706
706
|
background: var(--ui-disabled-surface);
|
|
707
707
|
box-shadow: none;
|
|
708
708
|
}
|
|
709
709
|
|
|
710
|
-
:where([data-component~="ui-tree-item"])[data-dragging]:not([data-move-source]) .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
710
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-dragging]:not([data-move-source]) .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
711
711
|
opacity: 0.42;
|
|
712
712
|
}
|
|
713
713
|
|
|
714
|
-
:where([data-component~="ui-tree-item"])[data-move-source] > .row > .label:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where([data-component~="ui-tree-item"])[data-move-source] > .row > .leading:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
714
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .leading:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
715
715
|
opacity: 0.42;
|
|
716
716
|
}
|
|
717
717
|
|
|
718
|
-
:where([data-component~="ui-tree-item"]):focus:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
718
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))):focus:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
719
719
|
outline: none;
|
|
720
720
|
}
|
|
721
721
|
|
|
722
|
-
:where([data-component~="ui-tree-item"]):focus-visible .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
722
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))):focus-visible .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
723
723
|
box-shadow: 0 0 0 var(--ui-focus-width) var(--ui-focus-ring);
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
/* Child combinators: drop feedback belongs to this item's own row, not the rows nested in it. */
|
|
727
|
-
:where([data-component~="ui-tree-item"])[data-drop-position="inside"] > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
727
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-drop-position="inside"] > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
728
728
|
background: var(--ui-accent-subtle);
|
|
729
729
|
box-shadow: inset 0 0 0 var(--ui-accent-line-width) var(--_ui-tree-drop-color, var(--ui-accent-solid));
|
|
730
730
|
}
|
|
@@ -768,16 +768,16 @@
|
|
|
768
768
|
accent-color: var(--ui-accent-solid);
|
|
769
769
|
}
|
|
770
770
|
|
|
771
|
-
:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
771
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
772
772
|
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr);
|
|
773
773
|
}
|
|
774
|
-
:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .selection-hit:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
774
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .selection-hit:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
775
775
|
display: grid !important;
|
|
776
776
|
}
|
|
777
|
-
:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .leading:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
777
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .leading:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
778
778
|
grid-column: 3;
|
|
779
779
|
}
|
|
780
|
-
:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .label:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
780
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .label:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
781
781
|
grid-column: 4;
|
|
782
782
|
}
|
|
783
783
|
|
|
@@ -794,7 +794,7 @@
|
|
|
794
794
|
transition: transform var(--ui-motion-fast) var(--ui-motion-ease);
|
|
795
795
|
}
|
|
796
796
|
|
|
797
|
-
.disclosure-icon:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::before {
|
|
797
|
+
.disclosure-icon:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::before {
|
|
798
798
|
display: block !important;
|
|
799
799
|
inline-size: 0.375rem;
|
|
800
800
|
block-size: 0.375rem;
|
|
@@ -805,7 +805,7 @@
|
|
|
805
805
|
transform: translateY(-20%) rotate(45deg);
|
|
806
806
|
}
|
|
807
807
|
|
|
808
|
-
:where([data-component~="ui-tree-item"])[aria-expanded="true"] > .row > .disclosure > .disclosure-icon:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
808
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[aria-expanded="true"] > .row > .disclosure > .disclosure-icon:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
809
809
|
transform: rotate(0deg);
|
|
810
810
|
}
|
|
811
811
|
|
|
@@ -869,7 +869,7 @@
|
|
|
869
869
|
|
|
870
870
|
/* The controls sit over the label's end, so the text fades out where they begin. The fade is
|
|
871
871
|
the truncation mark while it shows: an ellipsis under it would read as a second one. */
|
|
872
|
-
.row:hover:where(:scope, :scope *) > .label, .row:focus-within:where(:scope, :scope *) > .label, :where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .label:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where([data-component~="ui-tree-item"])[data-move-source] > .row > .label:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
872
|
+
.row:hover:where(:scope, :scope *) > .label, .row:focus-within:where(:scope, :scope *) > .label, :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .label:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
873
873
|
text-overflow: clip;
|
|
874
874
|
mask-image: linear-gradient(
|
|
875
875
|
to right,
|
|
@@ -878,7 +878,7 @@
|
|
|
878
878
|
);
|
|
879
879
|
}
|
|
880
880
|
|
|
881
|
-
.row:hover:where(:scope, :scope *) > .label:dir(rtl), .row:focus-within:where(:scope, :scope *) > .label:dir(rtl), :where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .label:dir(rtl):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where([data-component~="ui-tree-item"])[data-move-source] > .row > .label:dir(rtl):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
881
|
+
.row:hover:where(:scope, :scope *) > .label:dir(rtl), .row:focus-within:where(:scope, :scope *) > .label:dir(rtl), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .label:dir(rtl):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label:dir(rtl):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
882
882
|
mask-image: linear-gradient(
|
|
883
883
|
to left,
|
|
884
884
|
#000 calc(100% - var(--_tree-actions-width, 1.75rem) - var(--ui-space-1)),
|
|
@@ -953,7 +953,7 @@
|
|
|
953
953
|
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease);
|
|
954
954
|
}
|
|
955
955
|
|
|
956
|
-
.row:hover:where(:scope, :scope *) > .actions, .row:focus-within:where(:scope, :scope *) > .actions, :where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .actions:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where([data-component~="ui-tree-item"])[data-move-source] > .row > .actions:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
956
|
+
.row:hover:where(:scope, :scope *) > .actions, .row:focus-within:where(:scope, :scope *) > .actions, :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .actions:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .actions:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
957
957
|
opacity: 1;
|
|
958
958
|
pointer-events: auto;
|
|
959
959
|
}
|
|
@@ -974,7 +974,7 @@
|
|
|
974
974
|
pointer-events: auto;
|
|
975
975
|
}
|
|
976
976
|
|
|
977
|
-
.row:is(:hover, :focus-within):where(:scope, :scope *) > .label, .row:is(:hover, :focus-within):where(:scope, :scope *) > .label:dir(rtl), :where([data-component~="ui-tree-item"])[data-move-source] > .row > .label:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where([data-component~="ui-tree-item"])[data-move-source] > .row > .label:dir(rtl):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
977
|
+
.row:is(:hover, :focus-within):where(:scope, :scope *) > .label, .row:is(:hover, :focus-within):where(:scope, :scope *) > .label:dir(rtl), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-move-source] > .row > .label:dir(rtl):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
978
978
|
mask-image: none;
|
|
979
979
|
}
|
|
980
980
|
|
|
@@ -987,10 +987,10 @@
|
|
|
987
987
|
}
|
|
988
988
|
|
|
989
989
|
/* Persistent content has its own column on touch. Fade only the label's end. */
|
|
990
|
-
:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .label:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
990
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .label:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
991
991
|
mask-image: linear-gradient(to right, #000 calc(100% - var(--ui-space-1)), transparent 100%);
|
|
992
992
|
}
|
|
993
|
-
:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="actionsVisible"] > .row > .label:dir(rtl):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
993
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="actionsVisible"] > .row > .label:dir(rtl):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
994
994
|
mask-image: linear-gradient(to left, #000 calc(100% - var(--ui-space-1)), transparent 100%);
|
|
995
995
|
}
|
|
996
996
|
|
|
@@ -1002,11 +1002,11 @@
|
|
|
1002
1002
|
);
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
|
-
:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1005
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1006
1006
|
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr) auto;
|
|
1007
1007
|
}
|
|
1008
1008
|
|
|
1009
|
-
:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .actions:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1009
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .actions:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1010
1010
|
grid-column: 5;
|
|
1011
1011
|
}
|
|
1012
1012
|
}
|
|
@@ -1037,11 +1037,11 @@
|
|
|
1037
1037
|
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease);
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
|
-
.row:hover:where(:scope, :scope *) .drag-handle, .drag-handle:hover:where(:scope, :scope *), .drag-handle:focus-visible:where(:scope, :scope *), :where([data-component~="ui-tree-item"])[data-dragging] > .row > .drag-handle:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1040
|
+
.row:hover:where(:scope, :scope *) .drag-handle, .drag-handle:hover:where(:scope, :scope *), .drag-handle:focus-visible:where(:scope, :scope *), :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-dragging] > .row > .drag-handle:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1041
1041
|
opacity: 1;
|
|
1042
1042
|
}
|
|
1043
1043
|
|
|
1044
|
-
:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="isContainer"] > .row > .drag-handle:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1044
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="isContainer"] > .row > .drag-handle:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1045
1045
|
inset-inline-start: calc(-1 * var(--_tree-disclosure-size) - 2px);
|
|
1046
1046
|
}
|
|
1047
1047
|
|
|
@@ -1065,7 +1065,7 @@
|
|
|
1065
1065
|
pointer-events: none;
|
|
1066
1066
|
}
|
|
1067
1067
|
|
|
1068
|
-
.drop-indicator:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::before, .drop-indicator:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::after {
|
|
1068
|
+
.drop-indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::before, .drop-indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::after {
|
|
1069
1069
|
content: "";
|
|
1070
1070
|
position: absolute;
|
|
1071
1071
|
inset-block-start: 50%;
|
|
@@ -1077,19 +1077,19 @@
|
|
|
1077
1077
|
transform: translateY(-50%);
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
|
-
.drop-indicator:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::before {
|
|
1080
|
+
.drop-indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::before {
|
|
1081
1081
|
inset-inline-start: -1px;
|
|
1082
1082
|
}
|
|
1083
|
-
.drop-indicator:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::after {
|
|
1083
|
+
.drop-indicator:where(:not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::after {
|
|
1084
1084
|
inset-inline-end: -1px;
|
|
1085
1085
|
}
|
|
1086
1086
|
|
|
1087
|
-
:where([data-component~="ui-tree-item"])[data-drop-position="before"] > .row > .row-drop-indicator:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1087
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-drop-position="before"] > .row > .row-drop-indicator:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1088
1088
|
display: block !important;
|
|
1089
1089
|
inset-block-start: calc(-0.5 * var(--ui-accent-line-width));
|
|
1090
1090
|
}
|
|
1091
1091
|
|
|
1092
|
-
:where([data-component~="ui-tree-item"])[data-drop-position="after"] > .subtree-drop-indicator:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1092
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-drop-position="after"] > .subtree-drop-indicator:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1093
1093
|
display: block !important;
|
|
1094
1094
|
inset-block-end: calc(-0.5 * var(--ui-accent-line-width));
|
|
1095
1095
|
}
|
|
@@ -1098,15 +1098,15 @@
|
|
|
1098
1098
|
display: none !important;
|
|
1099
1099
|
}
|
|
1100
1100
|
|
|
1101
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"]):where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1101
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))):where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1102
1102
|
--_tree-row-min-height: 44px;
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"]) .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1105
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1106
1106
|
grid-template-columns: 44px var(--_tree-disclosure-size) auto minmax(0, 1fr);
|
|
1107
1107
|
}
|
|
1108
1108
|
|
|
1109
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"]) .drag-handle:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))), html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="isContainer"] > .row > .drag-handle:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1109
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .drag-handle:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))), html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="isContainer"] > .row > .drag-handle:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1110
1110
|
position: relative;
|
|
1111
1111
|
grid-column: 1;
|
|
1112
1112
|
grid-row: 1;
|
|
@@ -1119,45 +1119,45 @@
|
|
|
1119
1119
|
cursor: pointer;
|
|
1120
1120
|
}
|
|
1121
1121
|
|
|
1122
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"]) .disclosure:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1122
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .disclosure:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1123
1123
|
grid-column: 2;
|
|
1124
1124
|
}
|
|
1125
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"]) .leading:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1125
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .leading:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1126
1126
|
grid-column: 3;
|
|
1127
1127
|
}
|
|
1128
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"]) .label:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1128
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .label:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1129
1129
|
grid-column: 4;
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1132
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1133
1133
|
grid-template-columns: 44px var(--_tree-disclosure-size) 44px auto minmax(0, 1fr);
|
|
1134
1134
|
}
|
|
1135
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .selection-hit:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1135
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .selection-hit:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1136
1136
|
grid-column: 3;
|
|
1137
1137
|
inline-size: 44px;
|
|
1138
1138
|
block-size: 44px;
|
|
1139
1139
|
}
|
|
1140
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .leading:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1140
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .leading:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1141
1141
|
grid-column: 4;
|
|
1142
1142
|
}
|
|
1143
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .label:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1143
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .label:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1144
1144
|
grid-column: 5;
|
|
1145
1145
|
}
|
|
1146
1146
|
|
|
1147
1147
|
@media (hover: none), (pointer: coarse) {
|
|
1148
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"]) .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1148
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1149
1149
|
grid-template-columns: 44px var(--_tree-disclosure-size) auto minmax(0, 1fr) auto;
|
|
1150
1150
|
}
|
|
1151
1151
|
|
|
1152
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"]) .actions:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1152
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))) .actions:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1153
1153
|
grid-column: 5;
|
|
1154
1154
|
}
|
|
1155
1155
|
|
|
1156
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1156
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1157
1157
|
grid-template-columns: 44px var(--_tree-disclosure-size) 44px auto minmax(0, 1fr) auto;
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
|
-
html[data-ui-input-modality="touch"] :where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .actions:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1160
|
+
html[data-ui-input-modality="touch"] :where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-selection-mode="multiple"] > .row > .actions:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1161
1161
|
grid-column: 6;
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
@@ -1169,18 +1169,18 @@
|
|
|
1169
1169
|
}
|
|
1170
1170
|
|
|
1171
1171
|
@media (forced-colors: active) {
|
|
1172
|
-
:where([data-component~="ui-tree-item"]):focus-visible > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1172
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component]))):focus-visible > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1173
1173
|
outline: var(--ui-focus-width) solid Highlight;
|
|
1174
1174
|
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
1175
1175
|
}
|
|
1176
|
-
:where([data-component~="ui-tree-item"])[data-ui-tree-item-state~="selected"]:not(:focus-visible):not([aria-disabled="true"]) > .row:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1176
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[data-ui-tree-item-state~="selected"]:not(:focus-visible):not([aria-disabled="true"]) > .row:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1177
1177
|
outline: var(--ui-border-width) solid Highlight;
|
|
1178
1178
|
outline-offset: calc(-1 * var(--ui-border-width));
|
|
1179
1179
|
}
|
|
1180
1180
|
}
|
|
1181
1181
|
|
|
1182
1182
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1183
|
-
:where([data-component~="ui-tree-item"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1183
|
+
:where(:is([component~="ui-tree-item"]:not(template), [data-component~="ui-tree-item"]:not([component])))[hidden]:where(:scope, :not(:is([component]:not(template), [data-component]:not([component])), [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1184
1184
|
display: none !important;
|
|
1185
1185
|
}
|
|
1186
1186
|
}
|