@threadlabs/looma 0.32.1 → 0.33.1
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 +15 -0
- package/bin/looma-docs.mjs +3 -0
- 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/docs/README.md +116 -0
- package/docs/card.html +63 -0
- package/docs/card.js +32 -0
- package/docs/catalog-view.js +18 -0
- package/docs/catalog-view.mjs +11 -0
- package/docs/catalog.json +22974 -0
- package/docs/catalog.mjs +131 -0
- package/docs/cli.mjs +26 -0
- package/docs/commands.mjs +94 -0
- package/docs/customizer-render.mjs +40 -0
- package/docs/customizer.js +118 -0
- package/docs/documentation.css +8 -0
- package/docs/examples/ui-action-bar/examples/01-form-footer.behavior.js +7 -0
- package/docs/examples/ui-button/examples/08-loading.behavior.js +21 -0
- package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +30 -0
- package/docs/examples/ui-combobox/examples/06-selected-values.behavior.js +11 -0
- package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +34 -0
- package/docs/examples/ui-toast/examples/01-authored.behavior.js +15 -0
- package/docs/examples/ui-toast/examples/02-danger.behavior.js +2 -0
- package/docs/examples/ui-tree/examples/03-max-depth-2-and-hover-expand-delay-300.behavior.js +30 -0
- package/docs/examples/ui-tree/examples/06-move-without-dragging.behavior.js +2 -0
- package/docs/examples/ui-tree/examples/07-multiple-selection.behavior.js +16 -0
- package/docs/examples/ui-tree-item/examples/02-container.behavior.js +1 -0
- package/docs/index.d.ts +54 -0
- package/docs/index.mjs +4 -0
- package/docs/local-server.mjs +68 -0
- package/docs/preview.js +20 -0
- package/docs/reference.html +1 -0
- package/docs/reference.js +36 -0
- package/docs/render.mjs +84 -0
- package/docs/site.mjs +198 -0
- package/docs/store.mjs +92 -0
- package/docs/theme.mjs +100 -0
- package/docs/workspace.mjs +32 -0
- package/package.json +28 -3
- 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
|
@@ -154,16 +154,16 @@
|
|
|
154
154
|
--_tree-disclosure-size: 16px;
|
|
155
155
|
|
|
156
156
|
position: relative;
|
|
157
|
-
display: block;
|
|
157
|
+
display: block !important;
|
|
158
158
|
min-inline-size: 0;
|
|
159
|
-
margin-inline-start: calc(var(--_ui-tree-item-indent-step, 0) * var(--_ui-tree-indent, 16px));
|
|
159
|
+
margin-inline-start: calc(var(--_ui-tree-item-indent-step, 0) * var(--_ui-tree-indent, 16px)) !important;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.row {
|
|
163
163
|
position: relative;
|
|
164
|
-
display: grid;
|
|
164
|
+
display: grid !important;
|
|
165
165
|
grid-template-columns: var(--_tree-disclosure-size) auto minmax(0, 1fr);
|
|
166
|
-
align-items: center;
|
|
166
|
+
align-items: center !important;
|
|
167
167
|
min-block-size: var(--_ui-tree-item-min-block-size, var(--_tree-row-min-height));
|
|
168
168
|
min-inline-size: 0;
|
|
169
169
|
font-size: var(--_ui-tree-item-font-size, var(--ui-font-size-sm));
|
|
@@ -232,10 +232,10 @@
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
.disclosure {
|
|
235
|
-
display: grid;
|
|
235
|
+
display: grid !important;
|
|
236
236
|
/* Start-aligned: the chevron's ink, not its hit area, aligns with the content above it. */
|
|
237
237
|
place-items: center start;
|
|
238
|
-
padding: 0;
|
|
238
|
+
padding: 0 !important;
|
|
239
239
|
color: var(--ui-text-muted);
|
|
240
240
|
background: transparent;
|
|
241
241
|
border: 0;
|
|
@@ -244,11 +244,11 @@
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
.disclosure[hidden] {
|
|
247
|
-
display: none;
|
|
247
|
+
display: none !important;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
.selection-hit {
|
|
251
|
-
display: none;
|
|
251
|
+
display: none !important;
|
|
252
252
|
grid-column: 2;
|
|
253
253
|
grid-row: 1;
|
|
254
254
|
place-items: center;
|
|
@@ -259,7 +259,7 @@
|
|
|
259
259
|
.selection-checkbox {
|
|
260
260
|
inline-size: 1rem;
|
|
261
261
|
block-size: 1rem;
|
|
262
|
-
margin: 0;
|
|
262
|
+
margin: 0 !important;
|
|
263
263
|
accent-color: var(--ui-accent-solid);
|
|
264
264
|
}
|
|
265
265
|
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
grid-template-columns: var(--_tree-disclosure-size) 1.25rem auto minmax(0, 1fr);
|
|
268
268
|
}
|
|
269
269
|
:host[data-selection-mode="multiple"] > .row > .selection-hit {
|
|
270
|
-
display: grid;
|
|
270
|
+
display: grid !important;
|
|
271
271
|
}
|
|
272
272
|
:host[data-selection-mode="multiple"] > .row > .leading {
|
|
273
273
|
grid-column: 3;
|
|
@@ -282,7 +282,7 @@
|
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
.disclosure-icon {
|
|
285
|
-
display: grid;
|
|
285
|
+
display: grid !important;
|
|
286
286
|
place-items: center;
|
|
287
287
|
inline-size: 12px;
|
|
288
288
|
block-size: 12px;
|
|
@@ -291,7 +291,7 @@
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
.disclosure-icon::before {
|
|
294
|
-
display: block;
|
|
294
|
+
display: block !important;
|
|
295
295
|
inline-size: 0.375rem;
|
|
296
296
|
block-size: 0.375rem;
|
|
297
297
|
border-inline-end: 1.5px solid currentColor;
|
|
@@ -307,20 +307,20 @@
|
|
|
307
307
|
|
|
308
308
|
/* Lucide grip-vertical, filling the handle as in Looma 0.2. */
|
|
309
309
|
.drag-handle svg {
|
|
310
|
-
display: block;
|
|
310
|
+
display: block !important;
|
|
311
311
|
inline-size: 100%;
|
|
312
312
|
block-size: 100%;
|
|
313
313
|
}
|
|
314
314
|
|
|
315
315
|
/* Slotted content is outside this scope, so :has() cannot see it; hide only a truly empty slot. */
|
|
316
316
|
.leading {
|
|
317
|
-
display: inline-grid;
|
|
317
|
+
display: inline-grid !important;
|
|
318
318
|
place-items: center;
|
|
319
319
|
grid-column: 2;
|
|
320
320
|
grid-row: 1;
|
|
321
321
|
inline-size: 1em;
|
|
322
322
|
block-size: 1em;
|
|
323
|
-
margin-inline-start: var(--ui-space-1);
|
|
323
|
+
margin-inline-start: var(--ui-space-1) !important;
|
|
324
324
|
color: var(--ui-text-muted);
|
|
325
325
|
/* Above the label, so a sliding name passes under the icon. */
|
|
326
326
|
position: relative;
|
|
@@ -328,13 +328,13 @@
|
|
|
328
328
|
}
|
|
329
329
|
|
|
330
330
|
.leading:empty {
|
|
331
|
-
display: none;
|
|
331
|
+
display: none !important;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
334
|
/* Icons match the label's size (as in Knit's tree): an unsized SVG would otherwise render 300×150. */
|
|
335
335
|
:slotted(svg),
|
|
336
336
|
:slotted(img) {
|
|
337
|
-
display: block;
|
|
337
|
+
display: block !important;
|
|
338
338
|
inline-size: 1em;
|
|
339
339
|
block-size: 1em;
|
|
340
340
|
flex: none;
|
|
@@ -346,22 +346,22 @@
|
|
|
346
346
|
grid-column: 3;
|
|
347
347
|
grid-row: 1;
|
|
348
348
|
align-self: stretch;
|
|
349
|
-
display: flex;
|
|
350
|
-
align-items: center;
|
|
349
|
+
display: flex !important;
|
|
350
|
+
align-items: center !important;
|
|
351
351
|
min-inline-size: 0;
|
|
352
352
|
/* The cell clips: a name longer than the row slides inside it rather than over its icons. */
|
|
353
353
|
overflow: hidden;
|
|
354
|
-
padding: var(--_ui-tree-item-label-padding-block, var(--ui-space-1)) var(--_ui-tree-item-label-padding-inline, var(--ui-space-2));
|
|
354
|
+
padding: var(--_ui-tree-item-label-padding-block, var(--ui-space-1)) var(--_ui-tree-item-label-padding-inline, var(--ui-space-2)) !important;
|
|
355
355
|
/* The length of the fade before the controls. The label's one flex child lays out no gap; this
|
|
356
356
|
is where the controller reads the length in pixels to stop a sliding name before the fade. */
|
|
357
|
-
column-gap: var(--ui-space-1);
|
|
357
|
+
column-gap: var(--ui-space-1) !important;
|
|
358
358
|
}
|
|
359
359
|
|
|
360
360
|
/* Slotted label content fills the cell, so a link is the row's hit area rather than sizing to
|
|
361
361
|
its own text and reading as overflow. */
|
|
362
362
|
.label-text {
|
|
363
|
-
display: flex;
|
|
364
|
-
align-items: center;
|
|
363
|
+
display: flex !important;
|
|
364
|
+
align-items: center !important;
|
|
365
365
|
/* Stretches, so slotted content can still be the row's full-height hit area. */
|
|
366
366
|
align-self: stretch;
|
|
367
367
|
block-size: 100%;
|
|
@@ -416,8 +416,8 @@
|
|
|
416
416
|
where it was, and fades out across the gap before the icon, fully gone where the icon begins
|
|
417
417
|
to cover it: the name slips under the icon rather than stopping at a hard edge beside it. */
|
|
418
418
|
.row[data-ui-marquee] > .label {
|
|
419
|
-
margin-inline-start: calc(-1 * var(--_marquee-lead, 0px));
|
|
420
|
-
padding-inline-start: calc(var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2)));
|
|
419
|
+
margin-inline-start: calc(-1 * var(--_marquee-lead, 0px)) !important;
|
|
420
|
+
padding-inline-start: calc(var(--_marquee-lead, 0px) + var(--_ui-tree-item-label-padding-inline, var(--ui-space-2))) !important;
|
|
421
421
|
mask-image: linear-gradient(
|
|
422
422
|
to right,
|
|
423
423
|
transparent var(--_marquee-icon-width, 0px),
|
|
@@ -464,8 +464,8 @@
|
|
|
464
464
|
z-index: 1;
|
|
465
465
|
inset-block: 0;
|
|
466
466
|
inset-inline-end: 0;
|
|
467
|
-
display: inline-flex;
|
|
468
|
-
align-items: center;
|
|
467
|
+
display: inline-flex !important;
|
|
468
|
+
align-items: center !important;
|
|
469
469
|
min-inline-size: 0;
|
|
470
470
|
opacity: 0;
|
|
471
471
|
pointer-events: none;
|
|
@@ -490,7 +490,7 @@
|
|
|
490
490
|
position: static;
|
|
491
491
|
grid-column: 4;
|
|
492
492
|
grid-row: 1;
|
|
493
|
-
padding-inline-start: 0;
|
|
493
|
+
padding-inline-start: 0 !important;
|
|
494
494
|
background: none;
|
|
495
495
|
opacity: 1;
|
|
496
496
|
pointer-events: auto;
|
|
@@ -547,9 +547,9 @@
|
|
|
547
547
|
inset-inline-start: 0;
|
|
548
548
|
inline-size: var(--_tree-disclosure-size);
|
|
549
549
|
block-size: 24px;
|
|
550
|
-
display: grid;
|
|
550
|
+
display: grid !important;
|
|
551
551
|
place-items: center;
|
|
552
|
-
padding: 5px 2px;
|
|
552
|
+
padding: 5px 2px !important;
|
|
553
553
|
color: var(--ui-text-muted);
|
|
554
554
|
background: transparent;
|
|
555
555
|
border: 0;
|
|
@@ -587,7 +587,7 @@
|
|
|
587
587
|
position: absolute;
|
|
588
588
|
z-index: 3;
|
|
589
589
|
inset-inline: 1px;
|
|
590
|
-
display: none;
|
|
590
|
+
display: none !important;
|
|
591
591
|
block-size: var(--ui-accent-line-width);
|
|
592
592
|
border-radius: var(--ui-radius-round);
|
|
593
593
|
background: var(--_ui-tree-drop-color, var(--ui-accent-solid));
|
|
@@ -615,17 +615,17 @@
|
|
|
615
615
|
}
|
|
616
616
|
|
|
617
617
|
:host[data-drop-position="before"] > .row > .row-drop-indicator {
|
|
618
|
-
display: block;
|
|
618
|
+
display: block !important;
|
|
619
619
|
inset-block-start: calc(-0.5 * var(--ui-accent-line-width));
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
:host[data-drop-position="after"] > .subtree-drop-indicator {
|
|
623
|
-
display: block;
|
|
623
|
+
display: block !important;
|
|
624
624
|
inset-block-end: calc(-0.5 * var(--ui-accent-line-width));
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
.children[hidden] {
|
|
628
|
-
display: none;
|
|
628
|
+
display: none !important;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
631
|
html[data-ui-input-modality="touch"] :host {
|
|
@@ -644,7 +644,7 @@
|
|
|
644
644
|
inset: auto;
|
|
645
645
|
inline-size: 44px;
|
|
646
646
|
block-size: 44px;
|
|
647
|
-
padding: 14px;
|
|
647
|
+
padding: 14px !important;
|
|
648
648
|
opacity: 1;
|
|
649
649
|
transform: none;
|
|
650
650
|
cursor: pointer;
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
|
|
715
715
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
716
716
|
:host[hidden] {
|
|
717
|
-
display: none;
|
|
717
|
+
display: none !important;
|
|
718
718
|
}
|
|
719
719
|
</style>
|
|
720
720
|
</template>
|