@threadlabs/looma 0.32.1 → 0.33.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/components/shared/icons.js +1 -0
- package/components/shared/overlay.js +1 -1
- package/components/ui-action-bar/ui-action-bar.html +11 -11
- package/components/ui-affordance-scope/ui-affordance-scope.html +2 -2
- package/components/ui-avatar/ui-avatar.html +8 -8
- package/components/ui-avatar-group/ui-avatar-group.html +14 -14
- package/components/ui-avatar-group/ui-avatar-group.js +3 -2
- package/components/ui-badge/ui-badge.html +43 -43
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +13 -13
- package/components/ui-breadcrumbs/ui-breadcrumbs.html +8 -8
- package/components/ui-button/ui-button.html +32 -29
- package/components/ui-callout/ui-callout.html +9 -9
- package/components/ui-card/ui-card.html +11 -11
- package/components/ui-checkbox/ui-checkbox.html +52 -33
- package/components/ui-cluster/ui-cluster.html +21 -21
- package/components/ui-color-picker/ui-color-picker.html +135 -0
- package/components/ui-color-picker/ui-color-picker.js +76 -0
- package/components/ui-combobox/ui-combobox.html +43 -43
- package/components/ui-container/ui-container.html +7 -7
- package/components/ui-context-menu/ui-context-menu.html +9 -9
- package/components/ui-cover/ui-cover.html +8 -8
- package/components/ui-description-item/ui-description-item.html +7 -7
- package/components/ui-description-list/ui-description-list.html +4 -4
- package/components/ui-dialog/ui-dialog.html +26 -26
- package/components/ui-disclosure/ui-disclosure.html +23 -23
- package/components/ui-editable/ui-editable.html +16 -16
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +9 -9
- package/components/ui-editor-link-form/ui-editor-link-form.html +1 -2
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +23 -23
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +10 -10
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +29 -29
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +5 -5
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +11 -11
- package/components/ui-editor-surface/ui-editor-surface.html +2 -2
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +25 -25
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +13 -13
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +31 -31
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +13 -13
- package/components/ui-floating-action-button/ui-floating-action-button.html +8 -8
- package/components/ui-form-field/ui-form-field.html +15 -15
- package/components/ui-form-field/ui-form-field.js +12 -4
- package/components/ui-grid/ui-grid.html +4 -4
- package/components/ui-icon/ui-icon.html +3 -2
- package/components/ui-icon-button/ui-icon-button.html +15 -14
- package/components/ui-image/ui-image.html +14 -14
- package/components/ui-input/ui-input.html +8 -8
- package/components/ui-input-group/ui-input-group.html +18 -18
- package/components/ui-list/ui-list.html +11 -11
- package/components/ui-list-item/ui-list-item.html +18 -18
- package/components/ui-listbox/ui-listbox.html +10 -10
- package/components/ui-menu/ui-menu.html +18 -17
- package/components/ui-menu-group/ui-menu-group.html +4 -4
- package/components/ui-menu-item/ui-menu-item.html +20 -20
- package/components/ui-meter/ui-meter.html +5 -5
- package/components/ui-nav-item/ui-nav-item.html +20 -20
- package/components/ui-page-header/ui-page-header.html +18 -17
- package/components/ui-popover/ui-popover.html +8 -8
- package/components/ui-radio/ui-radio.html +25 -17
- package/components/ui-radio-group/ui-radio-group.html +10 -10
- package/components/ui-reel/ui-reel.html +5 -5
- package/components/ui-scroll-area/ui-scroll-area.html +10 -10
- package/components/ui-search-result-row/ui-search-result-row.html +19 -19
- package/components/ui-search-shell/ui-search-shell.html +22 -22
- package/components/ui-section/ui-section.html +24 -23
- package/components/ui-select/ui-select.html +10 -10
- package/components/ui-separator/ui-separator.html +2 -2
- package/components/ui-sidebar/ui-sidebar.html +8 -8
- package/components/ui-spinner/ui-spinner.html +6 -6
- package/components/ui-stack/ui-stack.html +12 -12
- package/components/ui-status-message/ui-status-message.html +17 -17
- package/components/ui-swatch/ui-swatch.html +2 -2
- package/components/ui-switch/ui-switch.html +36 -26
- package/components/ui-switcher/ui-switcher.html +7 -7
- package/components/ui-table/ui-table.html +6 -6
- package/components/ui-tabs/ui-tabs.html +16 -15
- package/components/ui-text/ui-text.html +3 -2
- package/components/ui-textarea/ui-textarea.html +10 -10
- package/components/ui-toast/ui-toast.html +9 -9
- package/components/ui-toast-region/ui-toast-region.html +12 -12
- package/components/ui-tooltip/ui-tooltip.html +15 -15
- package/components/ui-top-bar/ui-top-bar.html +11 -11
- package/components/ui-tree/ui-tree.html +5 -5
- package/components/ui-tree-item/ui-tree-item.html +36 -36
- package/dist/index.js +46 -45
- package/package.json +3 -2
- package/styles/ui-action-bar.css +11 -11
- package/styles/ui-affordance-scope.css +2 -2
- package/styles/ui-avatar-group.css +14 -14
- package/styles/ui-avatar.css +8 -8
- package/styles/ui-badge.css +41 -41
- package/styles/ui-breadcrumb-item.css +13 -13
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +30 -28
- package/styles/ui-callout.css +9 -9
- package/styles/ui-card.css +11 -11
- package/styles/ui-checkbox.css +52 -33
- package/styles/ui-cluster.css +21 -21
- package/styles/ui-color-picker.css +120 -0
- package/styles/ui-combobox.css +86 -86
- package/styles/ui-container.css +7 -7
- package/styles/ui-context-menu.css +9 -9
- package/styles/ui-cover.css +8 -8
- package/styles/ui-description-item.css +7 -7
- package/styles/ui-description-list.css +4 -4
- package/styles/ui-dialog.css +52 -52
- package/styles/ui-disclosure.css +23 -23
- package/styles/ui-editable.css +16 -16
- package/styles/ui-editor-insert-table-grid.css +9 -9
- package/styles/ui-editor-mention-menu-item.css +10 -10
- package/styles/ui-editor-mention-menu.css +23 -23
- package/styles/ui-editor-slash-menu-group.css +5 -5
- package/styles/ui-editor-slash-menu-item.css +11 -11
- package/styles/ui-editor-slash-menu.css +29 -29
- package/styles/ui-editor-surface.css +2 -2
- package/styles/ui-editor-table-context-menu.css +25 -25
- package/styles/ui-editor-table-overlay.css +13 -13
- package/styles/ui-editor-table-toolbar.css +31 -31
- package/styles/ui-editor-toolbar.css +13 -13
- package/styles/ui-floating-action-button.css +8 -8
- package/styles/ui-form-field.css +13 -13
- package/styles/ui-grid.css +4 -4
- package/styles/ui-icon-button.css +13 -13
- package/styles/ui-icon.css +2 -2
- package/styles/ui-image.css +14 -14
- package/styles/ui-input-group.css +18 -18
- package/styles/ui-input.css +8 -8
- package/styles/ui-list-item.css +18 -18
- package/styles/ui-list.css +11 -11
- package/styles/ui-listbox.css +20 -20
- package/styles/ui-menu-group.css +4 -4
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +16 -16
- package/styles/ui-meter.css +5 -5
- package/styles/ui-nav-item.css +20 -20
- package/styles/ui-page-header.css +18 -17
- package/styles/ui-popover.css +8 -8
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +26 -18
- package/styles/ui-reel.css +5 -5
- package/styles/ui-scroll-area.css +10 -10
- package/styles/ui-search-result-row.css +19 -19
- package/styles/ui-search-shell.css +22 -22
- package/styles/ui-section.css +24 -23
- package/styles/ui-select.css +10 -10
- package/styles/ui-separator.css +2 -2
- package/styles/ui-sidebar.css +8 -8
- package/styles/ui-spinner.css +6 -6
- package/styles/ui-stack.css +12 -12
- package/styles/ui-status-message.css +17 -17
- package/styles/ui-swatch.css +2 -2
- package/styles/ui-switch.css +36 -28
- package/styles/ui-switcher.css +7 -7
- package/styles/ui-table.css +6 -6
- package/styles/ui-tabs.css +11 -11
- package/styles/ui-text.css +3 -2
- package/styles/ui-textarea.css +10 -10
- package/styles/ui-toast-region.css +24 -24
- package/styles/ui-toast.css +18 -18
- package/styles/ui-tooltip.css +15 -15
- package/styles/ui-top-bar.css +11 -11
- package/styles/ui-tree-item.css +71 -71
- package/styles/ui-tree.css +5 -5
- package/theme-system.css +80 -0
- package/tokens.css +14 -3
- package/vanilla/UiColorPicker.d.ts +30 -0
- package/vanilla/UiColorPicker.js +77 -0
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/index.js +1 -0
- package/vue/UiActionBar.vue +11 -11
- package/vue/UiAffordanceScope.vue +2 -2
- package/vue/UiAvatar.vue +8 -8
- package/vue/UiAvatarGroup.vue +14 -14
- package/vue/UiBadge.vue +43 -42
- package/vue/UiBreadcrumbItem.vue +13 -13
- package/vue/UiBreadcrumbs.vue +8 -8
- package/vue/UiButton.vue +34 -29
- package/vue/UiCallout.vue +9 -9
- package/vue/UiCard.vue +11 -11
- package/vue/UiCheckbox.vue +57 -34
- package/vue/UiCluster.vue +21 -21
- package/vue/UiColorPicker.d.ts +65 -0
- package/vue/UiColorPicker.js +2 -0
- package/vue/UiColorPicker.vue +422 -0
- package/vue/UiCombobox.vue +86 -86
- package/vue/UiContainer.vue +7 -7
- package/vue/UiContextMenu.vue +9 -9
- package/vue/UiCover.vue +8 -8
- package/vue/UiDescriptionItem.vue +7 -7
- package/vue/UiDescriptionList.vue +4 -4
- package/vue/UiDialog.vue +52 -52
- package/vue/UiDisclosure.vue +23 -23
- package/vue/UiEditable.vue +16 -16
- package/vue/UiEditorInsertTableGrid.vue +9 -9
- package/vue/UiEditorMentionMenu.vue +23 -23
- package/vue/UiEditorMentionMenuItem.vue +10 -10
- package/vue/UiEditorSlashMenu.vue +29 -29
- package/vue/UiEditorSlashMenuGroup.vue +5 -5
- package/vue/UiEditorSlashMenuItem.vue +11 -11
- package/vue/UiEditorSurface.vue +2 -2
- package/vue/UiEditorTableContextMenu.vue +25 -25
- package/vue/UiEditorTableOverlay.vue +13 -13
- package/vue/UiEditorTableToolbar.vue +31 -31
- package/vue/UiEditorToolbar.vue +13 -13
- package/vue/UiFloatingActionButton.vue +8 -8
- package/vue/UiFormField.vue +14 -14
- package/vue/UiGrid.vue +4 -4
- package/vue/UiIcon.vue +6 -2
- package/vue/UiIconButton.vue +14 -14
- package/vue/UiImage.vue +14 -14
- package/vue/UiInput.vue +9 -8
- package/vue/UiInputGroup.vue +18 -18
- package/vue/UiList.vue +11 -11
- package/vue/UiListItem.vue +18 -18
- package/vue/UiListbox.vue +20 -20
- package/vue/UiMenu.vue +16 -16
- package/vue/UiMenuGroup.vue +4 -4
- package/vue/UiMenuItem.vue +20 -20
- package/vue/UiMeter.vue +5 -5
- package/vue/UiNavItem.vue +20 -20
- package/vue/UiPageHeader.vue +18 -17
- package/vue/UiPopover.vue +8 -8
- package/vue/UiRadio.vue +28 -17
- package/vue/UiRadioGroup.vue +10 -10
- package/vue/UiReel.vue +5 -5
- package/vue/UiScrollArea.vue +10 -10
- package/vue/UiSearchResultRow.vue +19 -19
- package/vue/UiSearchShell.vue +22 -22
- package/vue/UiSection.vue +24 -23
- package/vue/UiSelect.vue +11 -10
- package/vue/UiSeparator.vue +2 -2
- package/vue/UiSidebar.vue +8 -8
- package/vue/UiSpinner.vue +6 -6
- package/vue/UiStack.vue +12 -12
- package/vue/UiStatusMessage.vue +17 -17
- package/vue/UiSwatch.vue +2 -2
- package/vue/UiSwitch.vue +38 -25
- package/vue/UiSwitcher.vue +7 -7
- package/vue/UiTable.vue +6 -6
- package/vue/UiTabs.vue +13 -13
- package/vue/UiText.vue +3 -2
- package/vue/UiTextarea.vue +10 -10
- package/vue/UiToast.vue +18 -18
- package/vue/UiToastRegion.vue +24 -24
- package/vue/UiTooltip.vue +15 -15
- package/vue/UiTopBar.vue +11 -11
- package/vue/UiTree.vue +5 -5
- package/vue/UiTreeItem.vue +73 -71
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +2 -2
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +2 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiColorPicker.js +326 -0
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorImageToolbar.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkForm.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +2 -2
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +5 -1
- package/vue/chunks/UiIconButton.js +2 -2
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +3 -3
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +1857 -1654
- package/vue/editor/index.js +28 -11
- package/vue/index.d.ts +1 -0
- package/vue/index.js +3 -2
package/styles/ui-toast.css
CHANGED
|
@@ -33,15 +33,15 @@
|
|
|
33
33
|
--_ui-toast-accent: var(--ui-border-strong);
|
|
34
34
|
--_ui-toast-surface: var(--ui-surface-muted);
|
|
35
35
|
|
|
36
|
-
display: flex;
|
|
37
|
-
align-items: center;
|
|
38
|
-
gap: var(--ui-space-2);
|
|
39
|
-
box-sizing: border-box;
|
|
36
|
+
display: flex !important;
|
|
37
|
+
align-items: center !important;
|
|
38
|
+
gap: var(--ui-space-2) !important;
|
|
39
|
+
box-sizing: border-box !important;
|
|
40
40
|
inline-size: 100%;
|
|
41
|
-
margin: 0;
|
|
42
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
41
|
+
margin: 0 !important;
|
|
42
|
+
padding: var(--ui-space-3) var(--ui-space-4) !important;
|
|
43
43
|
/* The close button's internal space supplies the rest of the trailing inset. */
|
|
44
|
-
padding-inline-end: var(--ui-space-2);
|
|
44
|
+
padding-inline-end: var(--ui-space-2) !important;
|
|
45
45
|
border: var(--ui-border-width) solid var(--ui-toast-border, var(--ui-overlay-border, var(--ui-toast-accent, var(--_ui-toast-accent))));
|
|
46
46
|
border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
47
47
|
background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
|
|
@@ -76,10 +76,10 @@
|
|
|
76
76
|
flex: 1;
|
|
77
77
|
}
|
|
78
78
|
.action:not(:has(> *)) {
|
|
79
|
-
display: none;
|
|
79
|
+
display: none !important;
|
|
80
80
|
}
|
|
81
81
|
:scope:where([data-component~="ui-toast"])[hidden] {
|
|
82
|
-
display: none;
|
|
82
|
+
display: none !important;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
@scope ([data-component~="ui-toast"]) to ([data-component]) {
|
|
@@ -112,15 +112,15 @@
|
|
|
112
112
|
--_ui-toast-accent: var(--ui-border-strong);
|
|
113
113
|
--_ui-toast-surface: var(--ui-surface-muted);
|
|
114
114
|
|
|
115
|
-
display: flex;
|
|
116
|
-
align-items: center;
|
|
117
|
-
gap: var(--ui-space-2);
|
|
118
|
-
box-sizing: border-box;
|
|
115
|
+
display: flex !important;
|
|
116
|
+
align-items: center !important;
|
|
117
|
+
gap: var(--ui-space-2) !important;
|
|
118
|
+
box-sizing: border-box !important;
|
|
119
119
|
inline-size: 100%;
|
|
120
|
-
margin: 0;
|
|
121
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
120
|
+
margin: 0 !important;
|
|
121
|
+
padding: var(--ui-space-3) var(--ui-space-4) !important;
|
|
122
122
|
/* The close button's internal space supplies the rest of the trailing inset. */
|
|
123
|
-
padding-inline-end: var(--ui-space-2);
|
|
123
|
+
padding-inline-end: var(--ui-space-2) !important;
|
|
124
124
|
border: var(--ui-border-width) solid var(--ui-toast-border, var(--ui-overlay-border, var(--ui-toast-accent, var(--_ui-toast-accent))));
|
|
125
125
|
border-radius: var(--ui-toast-radius, var(--ui-overlay-radius, var(--ui-radius-lg)));
|
|
126
126
|
background: var(--ui-toast-surface, var(--ui-overlay-surface, var(--_ui-toast-surface)));
|
|
@@ -155,9 +155,9 @@
|
|
|
155
155
|
flex: 1;
|
|
156
156
|
}
|
|
157
157
|
.action:not(:has(> *)):where(:scope, :scope *) {
|
|
158
|
-
display: none;
|
|
158
|
+
display: none !important;
|
|
159
159
|
}
|
|
160
160
|
:where([data-component~="ui-toast"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-toast"]))) {
|
|
161
|
-
display: none;
|
|
161
|
+
display: none !important;
|
|
162
162
|
}
|
|
163
163
|
}
|
package/styles/ui-tooltip.css
CHANGED
|
@@ -63,10 +63,10 @@
|
|
|
63
63
|
|
|
64
64
|
position: fixed;
|
|
65
65
|
inset: auto;
|
|
66
|
-
margin: 0;
|
|
67
|
-
display: inline-block;
|
|
68
|
-
box-sizing: border-box;
|
|
69
|
-
padding: 0;
|
|
66
|
+
margin: 0 !important;
|
|
67
|
+
display: inline-block !important;
|
|
68
|
+
box-sizing: border-box !important;
|
|
69
|
+
padding: 0 !important;
|
|
70
70
|
border: 0;
|
|
71
71
|
outline: 0;
|
|
72
72
|
border-radius: 0;
|
|
@@ -86,16 +86,16 @@
|
|
|
86
86
|
.surface {
|
|
87
87
|
--_tooltip-line: var(--_ui-tooltip-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
88
88
|
position: relative;
|
|
89
|
-
display: flex;
|
|
90
|
-
align-items: baseline;
|
|
91
|
-
gap: var(--ui-space-2);
|
|
92
|
-
box-sizing: border-box;
|
|
89
|
+
display: flex !important;
|
|
90
|
+
align-items: baseline !important;
|
|
91
|
+
gap: var(--ui-space-2) !important;
|
|
92
|
+
box-sizing: border-box !important;
|
|
93
93
|
max-inline-size: var(--_ui-tooltip-max-inline-size, 18rem);
|
|
94
94
|
border: var(--ui-border-width) solid var(--_tooltip-line);
|
|
95
95
|
border-radius: var(--_ui-tooltip-radius, var(--ui-overlay-radius, var(--ui-radius-md)));
|
|
96
96
|
background: var(--_ui-tooltip-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
97
97
|
color: var(--_ui-tooltip-text, var(--ui-text-primary));
|
|
98
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
98
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
99
99
|
font-family: var(--ui-font-family-sans);
|
|
100
100
|
font-size: var(--ui-font-size-sm);
|
|
101
101
|
line-height: var(--ui-line-height-tight);
|
|
@@ -105,9 +105,9 @@
|
|
|
105
105
|
/* A keyboard shortcut follows the label after a thin divider, smaller and quieter, as menus show
|
|
106
106
|
it. The label stays first in the description, so a screen reader hears the name, then the keys. */
|
|
107
107
|
.shortcut {
|
|
108
|
-
display: inline-flex;
|
|
109
|
-
align-items: center;
|
|
110
|
-
padding-inline-start: var(--ui-space-2);
|
|
108
|
+
display: inline-flex !important;
|
|
109
|
+
align-items: center !important;
|
|
110
|
+
padding-inline-start: var(--ui-space-2) !important;
|
|
111
111
|
border-inline-start: 1px solid color-mix(in oklab, currentColor 28%, transparent);
|
|
112
112
|
color: color-mix(in oklab, currentColor 72%, transparent);
|
|
113
113
|
font-size: var(--ui-font-size-xs);
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.shortcut:empty {
|
|
120
|
-
display: none;
|
|
120
|
+
display: none !important;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
/* A <kbd> takes the browser's monospace; the hint reads in the tooltip's own type. */
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
inset-block-end: calc(var(--_ui-tooltip-arrow-size, 0.625rem) / -2 - var(--ui-border-width) / 2);
|
|
139
139
|
inline-size: var(--_ui-tooltip-arrow-size, 0.625rem);
|
|
140
140
|
block-size: var(--_ui-tooltip-arrow-size, 0.625rem);
|
|
141
|
-
box-sizing: border-box;
|
|
141
|
+
box-sizing: border-box !important;
|
|
142
142
|
background: inherit;
|
|
143
143
|
border: 0 solid var(--_tooltip-line);
|
|
144
144
|
border-inline-end-width: var(--ui-border-width);
|
|
@@ -212,7 +212,7 @@
|
|
|
212
212
|
}
|
|
213
213
|
|
|
214
214
|
:scope:where([data-component~="ui-tooltip"])[hidden] {
|
|
215
|
-
display: none;
|
|
215
|
+
display: none !important;
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
@media (prefers-reduced-motion: reduce) {
|
package/styles/ui-top-bar.css
CHANGED
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
inset-block-start: 0;
|
|
46
46
|
z-index: var(--ui-top-bar-z-index, 100);
|
|
47
47
|
min-block-size: calc(var(--ui-top-bar-height, 56px) + env(safe-area-inset-top));
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
gap: var(--ui-top-bar-gap, var(--ui-space-3));
|
|
51
|
-
padding-block-start: env(safe-area-inset-top);
|
|
52
|
-
padding-inline-start: max(var(--ui-top-bar-padding-inline, var(--ui-space-4)), env(safe-area-inset-left));
|
|
53
|
-
padding-inline-end: max(var(--ui-top-bar-padding-inline, var(--ui-space-4)), env(safe-area-inset-right));
|
|
48
|
+
display: flex !important;
|
|
49
|
+
align-items: center !important;
|
|
50
|
+
gap: var(--ui-top-bar-gap, var(--ui-space-3)) !important;
|
|
51
|
+
padding-block-start: env(safe-area-inset-top) !important;
|
|
52
|
+
padding-inline-start: max(var(--ui-top-bar-padding-inline, var(--ui-space-4)), env(safe-area-inset-left)) !important;
|
|
53
|
+
padding-inline-end: max(var(--ui-top-bar-padding-inline, var(--ui-space-4)), env(safe-area-inset-right)) !important;
|
|
54
54
|
background: var(--ui-top-bar-surface, var(--ui-surface-elevated));
|
|
55
55
|
border-block-end: var(--ui-border-width) solid var(--ui-top-bar-border, var(--ui-border-divider));
|
|
56
56
|
}
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
.leading,
|
|
59
59
|
.search,
|
|
60
60
|
.actions {
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: center;
|
|
61
|
+
display: flex !important;
|
|
62
|
+
align-items: center !important;
|
|
63
63
|
flex-shrink: 0;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
.actions {
|
|
67
|
-
gap: var(--_ui-top-bar-actions-gap, var(--ui-space-1));
|
|
67
|
+
gap: var(--_ui-top-bar-actions-gap, var(--ui-space-1)) !important;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
.title {
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
.leading:empty,
|
|
77
77
|
.search:empty,
|
|
78
78
|
.actions:empty {
|
|
79
|
-
display: none;
|
|
79
|
+
display: none !important;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
83
83
|
:scope:where([data-component~="ui-top-bar"])[hidden] {
|
|
84
|
-
display: none;
|
|
84
|
+
display: none !important;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
@scope ([data-component~="ui-top-bar"]) to ([data-component]) {
|
package/styles/ui-tree-item.css
CHANGED
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
--_tree-disclosure-size: 16px;
|
|
42
42
|
|
|
43
43
|
position: relative;
|
|
44
|
-
display: block;
|
|
44
|
+
display: block !important;
|
|
45
45
|
min-inline-size: 0;
|
|
46
|
-
margin-inline-start: calc(var(--_ui-tree-item-indent-step, 0) * var(--_ui-tree-indent, 16px));
|
|
46
|
+
margin-inline-start: calc(var(--_ui-tree-item-indent-step, 0) * var(--_ui-tree-indent, 16px)) !important;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
.row {
|
|
50
50
|
position: relative;
|
|
51
|
-
display: grid;
|
|
51
|
+
display: grid !important;
|
|
52
52
|
grid-template-columns: var(--_tree-disclosure-size) auto minmax(0, 1fr);
|
|
53
|
-
align-items: center;
|
|
53
|
+
align-items: center !important;
|
|
54
54
|
min-block-size: var(--_ui-tree-item-min-block-size, var(--_tree-row-min-height));
|
|
55
55
|
min-inline-size: 0;
|
|
56
56
|
font-size: var(--_ui-tree-item-font-size, var(--ui-font-size-sm));
|
|
@@ -119,10 +119,10 @@
|
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.disclosure {
|
|
122
|
-
display: grid;
|
|
122
|
+
display: grid !important;
|
|
123
123
|
/* Start-aligned: the chevron's ink, not its hit area, aligns with the content above it. */
|
|
124
124
|
place-items: center start;
|
|
125
|
-
padding: 0;
|
|
125
|
+
padding: 0 !important;
|
|
126
126
|
color: var(--ui-text-muted);
|
|
127
127
|
background: transparent;
|
|
128
128
|
border: 0;
|
|
@@ -131,11 +131,11 @@
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.disclosure[hidden] {
|
|
134
|
-
display: none;
|
|
134
|
+
display: none !important;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
.selection-hit {
|
|
138
|
-
display: none;
|
|
138
|
+
display: none !important;
|
|
139
139
|
grid-column: 2;
|
|
140
140
|
grid-row: 1;
|
|
141
141
|
place-items: center;
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
.selection-checkbox {
|
|
147
147
|
inline-size: 1rem;
|
|
148
148
|
block-size: 1rem;
|
|
149
|
-
margin: 0;
|
|
149
|
+
margin: 0 !important;
|
|
150
150
|
accent-color: var(--ui-accent-solid);
|
|
151
151
|
}
|
|
152
152
|
|
|
@@ -154,7 +154,7 @@
|
|
|
154
154
|
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr);
|
|
155
155
|
}
|
|
156
156
|
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .selection-hit {
|
|
157
|
-
display: grid;
|
|
157
|
+
display: grid !important;
|
|
158
158
|
}
|
|
159
159
|
:scope:where([data-component~="ui-tree-item"])[data-selection-mode="multiple"] > .row > .leading {
|
|
160
160
|
grid-column: 3;
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
.disclosure-icon {
|
|
172
|
-
display: grid;
|
|
172
|
+
display: grid !important;
|
|
173
173
|
place-items: center;
|
|
174
174
|
inline-size: 12px;
|
|
175
175
|
block-size: 12px;
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
.disclosure-icon:where(:not([data-component], [data-slotted]))::before {
|
|
181
|
-
display: block;
|
|
181
|
+
display: block !important;
|
|
182
182
|
inline-size: 0.375rem;
|
|
183
183
|
block-size: 0.375rem;
|
|
184
184
|
border-inline-end: 1.5px solid currentColor;
|
|
@@ -194,20 +194,20 @@
|
|
|
194
194
|
|
|
195
195
|
/* Lucide grip-vertical, filling the handle as in Looma 0.2. */
|
|
196
196
|
.drag-handle svg {
|
|
197
|
-
display: block;
|
|
197
|
+
display: block !important;
|
|
198
198
|
inline-size: 100%;
|
|
199
199
|
block-size: 100%;
|
|
200
200
|
}
|
|
201
201
|
|
|
202
202
|
/* Slotted content is outside this scope, so :has() cannot see it; hide only a truly empty slot. */
|
|
203
203
|
.leading {
|
|
204
|
-
display: inline-grid;
|
|
204
|
+
display: inline-grid !important;
|
|
205
205
|
place-items: center;
|
|
206
206
|
grid-column: 2;
|
|
207
207
|
grid-row: 1;
|
|
208
208
|
inline-size: 1em;
|
|
209
209
|
block-size: 1em;
|
|
210
|
-
margin-inline-start: var(--ui-space-1);
|
|
210
|
+
margin-inline-start: var(--ui-space-1) !important;
|
|
211
211
|
color: var(--ui-text-muted);
|
|
212
212
|
/* Above the label, so a sliding name passes under the icon. */
|
|
213
213
|
position: relative;
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
.leading:empty {
|
|
218
|
-
display: none;
|
|
218
|
+
display: none !important;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
/* Icons match the label's size (as in Knit's tree): an unsized SVG would otherwise render 300×150. */
|
|
@@ -226,22 +226,22 @@
|
|
|
226
226
|
grid-column: 3;
|
|
227
227
|
grid-row: 1;
|
|
228
228
|
align-self: stretch;
|
|
229
|
-
display: flex;
|
|
230
|
-
align-items: center;
|
|
229
|
+
display: flex !important;
|
|
230
|
+
align-items: center !important;
|
|
231
231
|
min-inline-size: 0;
|
|
232
232
|
/* The cell clips: a name longer than the row slides inside it rather than over its icons. */
|
|
233
233
|
overflow: hidden;
|
|
234
|
-
padding: var(--_ui-tree-item-label-padding-block, var(--ui-space-1)) var(--_ui-tree-item-label-padding-inline, var(--ui-space-2));
|
|
234
|
+
padding: var(--_ui-tree-item-label-padding-block, var(--ui-space-1)) var(--_ui-tree-item-label-padding-inline, var(--ui-space-2)) !important;
|
|
235
235
|
/* The length of the fade before the controls. The label's one flex child lays out no gap; this
|
|
236
236
|
is where the controller reads the length in pixels to stop a sliding name before the fade. */
|
|
237
|
-
column-gap: var(--ui-space-1);
|
|
237
|
+
column-gap: var(--ui-space-1) !important;
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/* Slotted label content fills the cell, so a link is the row's hit area rather than sizing to
|
|
241
241
|
its own text and reading as overflow. */
|
|
242
242
|
.label-text {
|
|
243
|
-
display: flex;
|
|
244
|
-
align-items: center;
|
|
243
|
+
display: flex !important;
|
|
244
|
+
align-items: center !important;
|
|
245
245
|
/* Stretches, so slotted content can still be the row's full-height hit area. */
|
|
246
246
|
align-self: stretch;
|
|
247
247
|
block-size: 100%;
|
|
@@ -291,8 +291,8 @@
|
|
|
291
291
|
where it was, and fades out across the gap before the icon, fully gone where the icon begins
|
|
292
292
|
to cover it: the name slips under the icon rather than stopping at a hard edge beside it. */
|
|
293
293
|
.row[data-ui-marquee] > .label {
|
|
294
|
-
margin-inline-start: calc(-1 * var(--_marquee-lead, 0px));
|
|
295
|
-
padding-inline-start: calc(var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2)));
|
|
294
|
+
margin-inline-start: calc(-1 * var(--_marquee-lead, 0px)) !important;
|
|
295
|
+
padding-inline-start: calc(var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2))) !important;
|
|
296
296
|
mask-image: linear-gradient(
|
|
297
297
|
to right,
|
|
298
298
|
transparent var(--_marquee-icon-width, 0px),
|
|
@@ -334,8 +334,8 @@
|
|
|
334
334
|
z-index: 1;
|
|
335
335
|
inset-block: 0;
|
|
336
336
|
inset-inline-end: 0;
|
|
337
|
-
display: inline-flex;
|
|
338
|
-
align-items: center;
|
|
337
|
+
display: inline-flex !important;
|
|
338
|
+
align-items: center !important;
|
|
339
339
|
min-inline-size: 0;
|
|
340
340
|
opacity: 0;
|
|
341
341
|
pointer-events: none;
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
position: static;
|
|
361
361
|
grid-column: 4;
|
|
362
362
|
grid-row: 1;
|
|
363
|
-
padding-inline-start: 0;
|
|
363
|
+
padding-inline-start: 0 !important;
|
|
364
364
|
background: none;
|
|
365
365
|
opacity: 1;
|
|
366
366
|
pointer-events: auto;
|
|
@@ -417,9 +417,9 @@
|
|
|
417
417
|
inset-inline-start: 0;
|
|
418
418
|
inline-size: var(--_tree-disclosure-size);
|
|
419
419
|
block-size: 24px;
|
|
420
|
-
display: grid;
|
|
420
|
+
display: grid !important;
|
|
421
421
|
place-items: center;
|
|
422
|
-
padding: 5px 2px;
|
|
422
|
+
padding: 5px 2px !important;
|
|
423
423
|
color: var(--ui-text-muted);
|
|
424
424
|
background: transparent;
|
|
425
425
|
border: 0;
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
position: absolute;
|
|
458
458
|
z-index: 3;
|
|
459
459
|
inset-inline: 1px;
|
|
460
|
-
display: none;
|
|
460
|
+
display: none !important;
|
|
461
461
|
block-size: var(--ui-accent-line-width);
|
|
462
462
|
border-radius: var(--ui-radius-round);
|
|
463
463
|
background: var(--_ui-tree-drop-color, var(--ui-accent-solid));
|
|
@@ -485,17 +485,17 @@
|
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
:scope:where([data-component~="ui-tree-item"])[data-drop-position="before"] > .row > .row-drop-indicator {
|
|
488
|
-
display: block;
|
|
488
|
+
display: block !important;
|
|
489
489
|
inset-block-start: calc(-0.5 * var(--ui-accent-line-width));
|
|
490
490
|
}
|
|
491
491
|
|
|
492
492
|
:scope:where([data-component~="ui-tree-item"])[data-drop-position="after"] > .subtree-drop-indicator {
|
|
493
|
-
display: block;
|
|
493
|
+
display: block !important;
|
|
494
494
|
inset-block-end: calc(-0.5 * var(--ui-accent-line-width));
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
.children[hidden] {
|
|
498
|
-
display: none;
|
|
498
|
+
display: none !important;
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
html[data-ui-input-modality="touch"] :scope:where([data-component~="ui-tree-item"]) {
|
|
@@ -514,7 +514,7 @@
|
|
|
514
514
|
inset: auto;
|
|
515
515
|
inline-size: 44px;
|
|
516
516
|
block-size: 44px;
|
|
517
|
-
padding: 14px;
|
|
517
|
+
padding: 14px !important;
|
|
518
518
|
opacity: 1;
|
|
519
519
|
transform: none;
|
|
520
520
|
cursor: pointer;
|
|
@@ -584,7 +584,7 @@
|
|
|
584
584
|
|
|
585
585
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
586
586
|
:scope:where([data-component~="ui-tree-item"])[hidden] {
|
|
587
|
-
display: none;
|
|
587
|
+
display: none !important;
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
@scope ([data-component~="ui-tree-item"]) to ([data-component]) {
|
|
@@ -601,7 +601,7 @@
|
|
|
601
601
|
/* Icons match the label's size (as in Knit's tree): an unsized SVG would otherwise render 300×150. */
|
|
602
602
|
:where([data-slotted], [data-slotted] *):is(svg),
|
|
603
603
|
:where([data-slotted], [data-slotted] *):is(img) {
|
|
604
|
-
display: block;
|
|
604
|
+
display: block !important;
|
|
605
605
|
inline-size: 1em;
|
|
606
606
|
block-size: 1em;
|
|
607
607
|
flex: none;
|
|
@@ -697,16 +697,16 @@
|
|
|
697
697
|
--_tree-disclosure-size: 16px;
|
|
698
698
|
|
|
699
699
|
position: relative;
|
|
700
|
-
display: block;
|
|
700
|
+
display: block !important;
|
|
701
701
|
min-inline-size: 0;
|
|
702
|
-
margin-inline-start: calc(var(--_ui-tree-item-indent-step, 0) * var(--_ui-tree-indent, 16px));
|
|
702
|
+
margin-inline-start: calc(var(--_ui-tree-item-indent-step, 0) * var(--_ui-tree-indent, 16px)) !important;
|
|
703
703
|
}
|
|
704
704
|
|
|
705
705
|
.row:where(:scope, :scope *) {
|
|
706
706
|
position: relative;
|
|
707
|
-
display: grid;
|
|
707
|
+
display: grid !important;
|
|
708
708
|
grid-template-columns: var(--_tree-disclosure-size) auto minmax(0, 1fr);
|
|
709
|
-
align-items: center;
|
|
709
|
+
align-items: center !important;
|
|
710
710
|
min-block-size: var(--_ui-tree-item-min-block-size, var(--_tree-row-min-height));
|
|
711
711
|
min-inline-size: 0;
|
|
712
712
|
font-size: var(--_ui-tree-item-font-size, var(--ui-font-size-sm));
|
|
@@ -772,10 +772,10 @@
|
|
|
772
772
|
}
|
|
773
773
|
|
|
774
774
|
.disclosure:where(:scope, :scope *) {
|
|
775
|
-
display: grid;
|
|
775
|
+
display: grid !important;
|
|
776
776
|
/* Start-aligned: the chevron's ink, not its hit area, aligns with the content above it. */
|
|
777
777
|
place-items: center start;
|
|
778
|
-
padding: 0;
|
|
778
|
+
padding: 0 !important;
|
|
779
779
|
color: var(--ui-text-muted);
|
|
780
780
|
background: transparent;
|
|
781
781
|
border: 0;
|
|
@@ -784,11 +784,11 @@
|
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
.disclosure[hidden]:where(:scope, :scope *) {
|
|
787
|
-
display: none;
|
|
787
|
+
display: none !important;
|
|
788
788
|
}
|
|
789
789
|
|
|
790
790
|
.selection-hit:where(:scope, :scope *) {
|
|
791
|
-
display: none;
|
|
791
|
+
display: none !important;
|
|
792
792
|
grid-column: 2;
|
|
793
793
|
grid-row: 1;
|
|
794
794
|
place-items: center;
|
|
@@ -799,7 +799,7 @@
|
|
|
799
799
|
.selection-checkbox:where(:scope, :scope *) {
|
|
800
800
|
inline-size: 1rem;
|
|
801
801
|
block-size: 1rem;
|
|
802
|
-
margin: 0;
|
|
802
|
+
margin: 0 !important;
|
|
803
803
|
accent-color: var(--ui-accent-solid);
|
|
804
804
|
}
|
|
805
805
|
|
|
@@ -807,7 +807,7 @@
|
|
|
807
807
|
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr);
|
|
808
808
|
}
|
|
809
809
|
: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"]))) {
|
|
810
|
-
display: grid;
|
|
810
|
+
display: grid !important;
|
|
811
811
|
}
|
|
812
812
|
: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"]))) {
|
|
813
813
|
grid-column: 3;
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
}
|
|
823
823
|
|
|
824
824
|
.disclosure-icon:where(:scope, :scope *) {
|
|
825
|
-
display: grid;
|
|
825
|
+
display: grid !important;
|
|
826
826
|
place-items: center;
|
|
827
827
|
inline-size: 12px;
|
|
828
828
|
block-size: 12px;
|
|
@@ -831,7 +831,7 @@
|
|
|
831
831
|
}
|
|
832
832
|
|
|
833
833
|
.disclosure-icon:where(:not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))):where(:scope, :scope *)::before {
|
|
834
|
-
display: block;
|
|
834
|
+
display: block !important;
|
|
835
835
|
inline-size: 0.375rem;
|
|
836
836
|
block-size: 0.375rem;
|
|
837
837
|
border-inline-end: 1.5px solid currentColor;
|
|
@@ -847,20 +847,20 @@
|
|
|
847
847
|
|
|
848
848
|
/* Lucide grip-vertical, filling the handle as in Looma 0.2. */
|
|
849
849
|
.drag-handle:where(:scope, :scope *) svg {
|
|
850
|
-
display: block;
|
|
850
|
+
display: block !important;
|
|
851
851
|
inline-size: 100%;
|
|
852
852
|
block-size: 100%;
|
|
853
853
|
}
|
|
854
854
|
|
|
855
855
|
/* Slotted content is outside this scope, so :has() cannot see it; hide only a truly empty slot. */
|
|
856
856
|
.leading:where(:scope, :scope *) {
|
|
857
|
-
display: inline-grid;
|
|
857
|
+
display: inline-grid !important;
|
|
858
858
|
place-items: center;
|
|
859
859
|
grid-column: 2;
|
|
860
860
|
grid-row: 1;
|
|
861
861
|
inline-size: 1em;
|
|
862
862
|
block-size: 1em;
|
|
863
|
-
margin-inline-start: var(--ui-space-1);
|
|
863
|
+
margin-inline-start: var(--ui-space-1) !important;
|
|
864
864
|
color: var(--ui-text-muted);
|
|
865
865
|
/* Above the label, so a sliding name passes under the icon. */
|
|
866
866
|
position: relative;
|
|
@@ -868,7 +868,7 @@
|
|
|
868
868
|
}
|
|
869
869
|
|
|
870
870
|
.leading:empty:where(:scope, :scope *) {
|
|
871
|
-
display: none;
|
|
871
|
+
display: none !important;
|
|
872
872
|
}
|
|
873
873
|
|
|
874
874
|
/* Icons match the label's size (as in Knit's tree): an unsized SVG would otherwise render 300×150. */
|
|
@@ -879,22 +879,22 @@
|
|
|
879
879
|
grid-column: 3;
|
|
880
880
|
grid-row: 1;
|
|
881
881
|
align-self: stretch;
|
|
882
|
-
display: flex;
|
|
883
|
-
align-items: center;
|
|
882
|
+
display: flex !important;
|
|
883
|
+
align-items: center !important;
|
|
884
884
|
min-inline-size: 0;
|
|
885
885
|
/* The cell clips: a name longer than the row slides inside it rather than over its icons. */
|
|
886
886
|
overflow: hidden;
|
|
887
|
-
padding: var(--_ui-tree-item-label-padding-block, var(--ui-space-1)) var(--_ui-tree-item-label-padding-inline, var(--ui-space-2));
|
|
887
|
+
padding: var(--_ui-tree-item-label-padding-block, var(--ui-space-1)) var(--_ui-tree-item-label-padding-inline, var(--ui-space-2)) !important;
|
|
888
888
|
/* The length of the fade before the controls. The label's one flex child lays out no gap; this
|
|
889
889
|
is where the controller reads the length in pixels to stop a sliding name before the fade. */
|
|
890
|
-
column-gap: var(--ui-space-1);
|
|
890
|
+
column-gap: var(--ui-space-1) !important;
|
|
891
891
|
}
|
|
892
892
|
|
|
893
893
|
/* Slotted label content fills the cell, so a link is the row's hit area rather than sizing to
|
|
894
894
|
its own text and reading as overflow. */
|
|
895
895
|
.label-text:where(:scope, :scope *) {
|
|
896
|
-
display: flex;
|
|
897
|
-
align-items: center;
|
|
896
|
+
display: flex !important;
|
|
897
|
+
align-items: center !important;
|
|
898
898
|
/* Stretches, so slotted content can still be the row's full-height hit area. */
|
|
899
899
|
align-self: stretch;
|
|
900
900
|
block-size: 100%;
|
|
@@ -938,8 +938,8 @@
|
|
|
938
938
|
where it was, and fades out across the gap before the icon, fully gone where the icon begins
|
|
939
939
|
to cover it: the name slips under the icon rather than stopping at a hard edge beside it. */
|
|
940
940
|
.row[data-ui-marquee]:where(:scope, :scope *) > .label {
|
|
941
|
-
margin-inline-start: calc(-1 * var(--_marquee-lead, 0px));
|
|
942
|
-
padding-inline-start: calc(var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2)));
|
|
941
|
+
margin-inline-start: calc(-1 * var(--_marquee-lead, 0px)) !important;
|
|
942
|
+
padding-inline-start: calc(var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2))) !important;
|
|
943
943
|
mask-image: linear-gradient(
|
|
944
944
|
to right,
|
|
945
945
|
transparent var(--_marquee-icon-width, 0px),
|
|
@@ -981,8 +981,8 @@
|
|
|
981
981
|
z-index: 1;
|
|
982
982
|
inset-block: 0;
|
|
983
983
|
inset-inline-end: 0;
|
|
984
|
-
display: inline-flex;
|
|
985
|
-
align-items: center;
|
|
984
|
+
display: inline-flex !important;
|
|
985
|
+
align-items: center !important;
|
|
986
986
|
min-inline-size: 0;
|
|
987
987
|
opacity: 0;
|
|
988
988
|
pointer-events: none;
|
|
@@ -1004,7 +1004,7 @@
|
|
|
1004
1004
|
position: static;
|
|
1005
1005
|
grid-column: 4;
|
|
1006
1006
|
grid-row: 1;
|
|
1007
|
-
padding-inline-start: 0;
|
|
1007
|
+
padding-inline-start: 0 !important;
|
|
1008
1008
|
background: none;
|
|
1009
1009
|
opacity: 1;
|
|
1010
1010
|
pointer-events: auto;
|
|
@@ -1058,9 +1058,9 @@
|
|
|
1058
1058
|
inset-inline-start: 0;
|
|
1059
1059
|
inline-size: var(--_tree-disclosure-size);
|
|
1060
1060
|
block-size: 24px;
|
|
1061
|
-
display: grid;
|
|
1061
|
+
display: grid !important;
|
|
1062
1062
|
place-items: center;
|
|
1063
|
-
padding: 5px 2px;
|
|
1063
|
+
padding: 5px 2px !important;
|
|
1064
1064
|
color: var(--ui-text-muted);
|
|
1065
1065
|
background: transparent;
|
|
1066
1066
|
border: 0;
|
|
@@ -1094,7 +1094,7 @@
|
|
|
1094
1094
|
position: absolute;
|
|
1095
1095
|
z-index: 3;
|
|
1096
1096
|
inset-inline: 1px;
|
|
1097
|
-
display: none;
|
|
1097
|
+
display: none !important;
|
|
1098
1098
|
block-size: var(--ui-accent-line-width);
|
|
1099
1099
|
border-radius: var(--ui-radius-round);
|
|
1100
1100
|
background: var(--_ui-tree-drop-color, var(--ui-accent-solid));
|
|
@@ -1121,17 +1121,17 @@
|
|
|
1121
1121
|
}
|
|
1122
1122
|
|
|
1123
1123
|
: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"]))) {
|
|
1124
|
-
display: block;
|
|
1124
|
+
display: block !important;
|
|
1125
1125
|
inset-block-start: calc(-0.5 * var(--ui-accent-line-width));
|
|
1126
1126
|
}
|
|
1127
1127
|
|
|
1128
1128
|
: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"]))) {
|
|
1129
|
-
display: block;
|
|
1129
|
+
display: block !important;
|
|
1130
1130
|
inset-block-end: calc(-0.5 * var(--ui-accent-line-width));
|
|
1131
1131
|
}
|
|
1132
1132
|
|
|
1133
1133
|
.children[hidden]:where(:scope, :scope *) {
|
|
1134
|
-
display: none;
|
|
1134
|
+
display: none !important;
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
1137
|
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"]))) {
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
inset: auto;
|
|
1150
1150
|
inline-size: 44px;
|
|
1151
1151
|
block-size: 44px;
|
|
1152
|
-
padding: 14px;
|
|
1152
|
+
padding: 14px !important;
|
|
1153
1153
|
opacity: 1;
|
|
1154
1154
|
transform: none;
|
|
1155
1155
|
cursor: pointer;
|
|
@@ -1217,6 +1217,6 @@
|
|
|
1217
1217
|
|
|
1218
1218
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1219
1219
|
:where([data-component~="ui-tree-item"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-tree-item"]))) {
|
|
1220
|
-
display: none;
|
|
1220
|
+
display: none !important;
|
|
1221
1221
|
}
|
|
1222
1222
|
}
|