@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
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
.looma-editor__mobile-toolbar-shell :scope:where([data-component~="ui-editor-table-toolbar"]) {
|
|
11
11
|
min-width: max-content;
|
|
12
12
|
min-height: 100%;
|
|
13
|
-
padding: 0;
|
|
13
|
+
padding: 0 !important;
|
|
14
14
|
background: transparent;
|
|
15
15
|
border: 0;
|
|
16
16
|
border-radius: 0;
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
:scope:where([data-component~="ui-editor-table-toolbar"]) {
|
|
32
|
-
display: inline-flex;
|
|
33
|
-
align-items: center;
|
|
34
|
-
gap: var(--ui-space-1);
|
|
35
|
-
padding: var(--ui-space-1);
|
|
32
|
+
display: inline-flex !important;
|
|
33
|
+
align-items: center !important;
|
|
34
|
+
gap: var(--ui-space-1) !important;
|
|
35
|
+
padding: var(--ui-space-1) !important;
|
|
36
36
|
background: color-mix(in srgb, var(--ui-surface) 94%, transparent);
|
|
37
37
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
38
38
|
border-radius: calc(var(--ui-radius-md) + 2 * var(--ui-border-width));
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
.group {
|
|
44
|
-
display: inline-flex;
|
|
45
|
-
align-items: center;
|
|
46
|
-
gap: 2px;
|
|
44
|
+
display: inline-flex !important;
|
|
45
|
+
align-items: center !important;
|
|
46
|
+
gap: 2px !important;
|
|
47
47
|
overflow: hidden;
|
|
48
48
|
}
|
|
49
49
|
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
:scope:where([data-component~="ui-editor-table-toolbar"]) button {
|
|
61
|
-
display: inline-flex;
|
|
62
|
-
align-items: center;
|
|
63
|
-
justify-content: center;
|
|
64
|
-
gap: var(--ui-space-2);
|
|
61
|
+
display: inline-flex !important;
|
|
62
|
+
align-items: center !important;
|
|
63
|
+
justify-content: center !important;
|
|
64
|
+
gap: var(--ui-space-2) !important;
|
|
65
65
|
min-height: 32px;
|
|
66
66
|
border: 0;
|
|
67
67
|
border-radius: var(--ui-radius-sm);
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
font-size: var(--ui-font-size-sm);
|
|
72
72
|
font-weight: 500;
|
|
73
73
|
line-height: 1;
|
|
74
|
-
padding: var(--ui-space-2) var(--ui-space-2);
|
|
74
|
+
padding: var(--ui-space-2) var(--ui-space-2) !important;
|
|
75
75
|
white-space: nowrap;
|
|
76
76
|
}
|
|
77
77
|
|
|
@@ -107,30 +107,30 @@
|
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
.chevron {
|
|
110
|
-
display: inline-flex;
|
|
110
|
+
display: inline-flex !important;
|
|
111
111
|
--_ui-default-icon-size: 0.875rem;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
:scope:where([data-component~="ui-editor-table-toolbar"]) .icon-button {
|
|
115
115
|
width: 32px;
|
|
116
|
-
padding-inline: 0;
|
|
116
|
+
padding-inline: 0 !important;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
.menu {
|
|
120
|
-
box-sizing: border-box;
|
|
120
|
+
box-sizing: border-box !important;
|
|
121
121
|
position: fixed;
|
|
122
122
|
inset: auto;
|
|
123
|
-
margin: 0;
|
|
123
|
+
margin: 0 !important;
|
|
124
124
|
min-width: 12rem;
|
|
125
125
|
max-width: min(17rem, calc(100vw - 24px));
|
|
126
|
-
padding: var(--ui-space-1);
|
|
126
|
+
padding: var(--ui-space-1) !important;
|
|
127
127
|
background: var(--ui-surface);
|
|
128
128
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
129
129
|
border-radius: var(--ui-radius-md);
|
|
130
130
|
box-shadow: var(--ui-shadow-lg, 0 10px 15px -3px rgb(0 0 0 / 0.1));
|
|
131
|
-
display: flex;
|
|
132
|
-
flex-direction: column;
|
|
133
|
-
gap: 2px;
|
|
131
|
+
display: flex !important;
|
|
132
|
+
flex-direction: column !important;
|
|
133
|
+
gap: 2px !important;
|
|
134
134
|
z-index: 2;
|
|
135
135
|
overflow-y: auto;
|
|
136
136
|
overscroll-behavior: contain;
|
|
@@ -138,13 +138,13 @@
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
.menu-section + .menu-section {
|
|
141
|
-
margin-top: var(--ui-space-1);
|
|
142
|
-
padding-top: var(--ui-space-1);
|
|
141
|
+
margin-top: var(--ui-space-1) !important;
|
|
142
|
+
padding-top: var(--ui-space-1) !important;
|
|
143
143
|
border-top: var(--ui-border-width) solid var(--ui-border-divider);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.menu-heading {
|
|
147
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
147
|
+
padding: var(--ui-space-1) var(--ui-space-2) !important;
|
|
148
148
|
font-size: var(--ui-font-size-2xs);
|
|
149
149
|
font-weight: 700;
|
|
150
150
|
letter-spacing: 0.05em;
|
|
@@ -153,21 +153,21 @@
|
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.menu button {
|
|
156
|
-
display: flex;
|
|
157
|
-
justify-content: flex-start;
|
|
156
|
+
display: flex !important;
|
|
157
|
+
justify-content: flex-start !important;
|
|
158
158
|
width: 100%;
|
|
159
159
|
text-align: left;
|
|
160
160
|
}
|
|
161
161
|
|
|
162
162
|
.swatches {
|
|
163
|
-
display: grid;
|
|
163
|
+
display: grid !important;
|
|
164
164
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
165
|
-
gap: 2px;
|
|
165
|
+
gap: 2px !important;
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
:scope:where([data-component~="ui-editor-table-toolbar"]) .swatch-button {
|
|
169
|
-
gap: var(--ui-space-1);
|
|
170
|
-
justify-content: flex-start;
|
|
169
|
+
gap: var(--ui-space-1) !important;
|
|
170
|
+
justify-content: flex-start !important;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
.swatch {
|
|
@@ -190,6 +190,6 @@
|
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
:scope:where([data-component~="ui-editor-table-toolbar"])[hidden] {
|
|
193
|
-
display: none;
|
|
193
|
+
display: none !important;
|
|
194
194
|
}
|
|
195
195
|
}
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
position: sticky;
|
|
12
12
|
top: 0;
|
|
13
13
|
z-index: var(--ui-editor-toolbar-z-index, 10);
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: center;
|
|
16
|
-
padding: var(--ui-editor-toolbar-padding-block, 6px) var(--ui-editor-toolbar-padding-inline, 12px);
|
|
14
|
+
display: flex !important;
|
|
15
|
+
align-items: center !important;
|
|
16
|
+
padding: var(--ui-editor-toolbar-padding-block, 6px) var(--ui-editor-toolbar-padding-inline, 12px) !important;
|
|
17
17
|
min-height: var(--ui-editor-toolbar-min-height, 48px);
|
|
18
18
|
background: var(--ui-editor-toolbar-surface, var(--ui-surface));
|
|
19
19
|
border-bottom: var(--ui-border-width) solid var(--ui-editor-toolbar-border, var(--ui-border-divider));
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
/* One row, always. When the controls outgrow the space, the row scrolls sideways rather than
|
|
23
23
|
wrapping into several lines, and a fade at each edge that has more to show says so. */
|
|
24
24
|
.strip {
|
|
25
|
-
display: flex;
|
|
25
|
+
display: flex !important;
|
|
26
26
|
flex: 1 1 auto;
|
|
27
|
-
align-items: center;
|
|
28
|
-
justify-content: flex-start;
|
|
29
|
-
gap: var(--ui-editor-toolbar-gap, 2px);
|
|
27
|
+
align-items: center !important;
|
|
28
|
+
justify-content: flex-start !important;
|
|
29
|
+
gap: var(--ui-editor-toolbar-gap, 2px) !important;
|
|
30
30
|
min-width: 0;
|
|
31
31
|
overflow-x: auto;
|
|
32
32
|
overflow-y: hidden;
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
.strip:where(:not([data-component], [data-slotted]))::-webkit-scrollbar {
|
|
38
|
-
display: none;
|
|
38
|
+
display: none !important;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/* The edge fades are the scroll fade every Looma scroller uses (see ui-scroll-area), a mask on the
|
|
@@ -64,13 +64,13 @@
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
:scope:where([data-component~="ui-editor-toolbar"])[data-ui-editor-toolbar-state~="floating"] {
|
|
67
|
-
box-sizing: border-box;
|
|
67
|
+
box-sizing: border-box !important;
|
|
68
68
|
position: relative;
|
|
69
69
|
top: auto;
|
|
70
70
|
width: max-content;
|
|
71
71
|
max-width: min(calc(100vw - 24px), 100%);
|
|
72
72
|
min-height: auto;
|
|
73
|
-
padding: var(--ui-editor-toolbar-floating-padding, 4px);
|
|
73
|
+
padding: var(--ui-editor-toolbar-floating-padding, 4px) !important;
|
|
74
74
|
background: color-mix(in srgb, var(--ui-editor-toolbar-surface, var(--ui-surface)) 96%, transparent);
|
|
75
75
|
border: var(--ui-border-width) solid var(--ui-editor-toolbar-border, var(--ui-border-strong));
|
|
76
76
|
border-radius: var(--ui-editor-toolbar-floating-radius, var(--ui-radius-lg));
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
width: 100%;
|
|
116
116
|
max-width: none;
|
|
117
117
|
min-height: 100%;
|
|
118
|
-
padding: 0;
|
|
118
|
+
padding: 0 !important;
|
|
119
119
|
background: transparent;
|
|
120
120
|
border: 0;
|
|
121
121
|
border-radius: 0;
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
|
|
130
130
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
131
131
|
:scope:where([data-component~="ui-editor-toolbar"])[hidden] {
|
|
132
|
-
display: none;
|
|
132
|
+
display: none !important;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
@scope ([data-component~="ui-editor-toolbar"]) to ([data-component]) {
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
height: 20px;
|
|
149
149
|
background: var(--ui-editor-toolbar-divider, var(--ui-border-divider));
|
|
150
150
|
flex-shrink: 0;
|
|
151
|
-
margin: 0 var(--ui-editor-toolbar-divider-margin, 4px);
|
|
151
|
+
margin: 0 var(--ui-editor-toolbar-divider-margin, 4px) !important;
|
|
152
152
|
}
|
|
153
153
|
|
|
154
154
|
@media (max-width: 767px) {
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
);
|
|
31
31
|
inline-size: var(--ui-control-min-block-size);
|
|
32
32
|
block-size: var(--ui-control-min-block-size);
|
|
33
|
-
display: inline-flex;
|
|
33
|
+
display: inline-flex !important;
|
|
34
34
|
z-index: var(--ui-floating-action-button-z-index, 100);
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
appearance: none;
|
|
39
39
|
border: none;
|
|
40
40
|
border-radius: var(--ui-radius-round);
|
|
41
|
-
margin: 0;
|
|
42
|
-
padding: 0;
|
|
43
|
-
display: inline-flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: center;
|
|
41
|
+
margin: 0 !important;
|
|
42
|
+
padding: 0 !important;
|
|
43
|
+
display: inline-flex !important;
|
|
44
|
+
align-items: center !important;
|
|
45
|
+
justify-content: center !important;
|
|
46
46
|
background: var(--ui-accent);
|
|
47
47
|
color: var(--ui-on-accent);
|
|
48
48
|
box-shadow: 0 4px 12px color-mix(in srgb, var(--ui-accent) 40%, transparent);
|
|
@@ -76,13 +76,13 @@
|
|
|
76
76
|
|
|
77
77
|
@media (min-width: 768px) {
|
|
78
78
|
:scope:where([data-component~="ui-floating-action-button"])[data-ui-floating-action-button-state~="mobileOnly"] {
|
|
79
|
-
display: none;
|
|
79
|
+
display: none !important;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
84
84
|
:scope:where([data-component~="ui-floating-action-button"])[hidden] {
|
|
85
|
-
display: none;
|
|
85
|
+
display: none !important;
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
@scope ([data-component~="ui-floating-action-button"]) to ([data-component]) {
|
package/styles/ui-form-field.css
CHANGED
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
--_ui-form-field-help-text: var(--ui-form-field-help-text);
|
|
47
47
|
--_ui-form-field-help-font-size: var(--ui-form-field-help-font-size);
|
|
48
48
|
|
|
49
|
-
display: grid;
|
|
50
|
-
gap: var(--ui-space-2);
|
|
49
|
+
display: grid !important;
|
|
50
|
+
gap: var(--ui-space-2) !important;
|
|
51
51
|
min-inline-size: var(--ui-form-field-min-inline-size, 0);
|
|
52
|
-
align-content: start;
|
|
52
|
+
align-content: start !important;
|
|
53
53
|
color: var(--ui-text-primary);
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
.label,
|
|
59
59
|
.help,
|
|
60
60
|
.error {
|
|
61
|
-
display: contents;
|
|
61
|
+
display: contents !important;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.label {
|
|
@@ -70,19 +70,19 @@
|
|
|
70
70
|
tall, centred on the first line and overflowing it. A button taller than a line of label
|
|
71
71
|
text then never makes this field's label row taller than its neighbours' in a grid row. */
|
|
72
72
|
.label:has(> .label-action > *) {
|
|
73
|
-
display: flex;
|
|
74
|
-
align-items: start;
|
|
75
|
-
gap: var(--ui-space-1);
|
|
73
|
+
display: flex !important;
|
|
74
|
+
align-items: start !important;
|
|
75
|
+
gap: var(--ui-space-1) !important;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
.label-action {
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: unsafe center;
|
|
79
|
+
display: flex !important;
|
|
80
|
+
align-items: unsafe center !important;
|
|
81
81
|
block-size: 1lh;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
.label-action:not(:has(> *)) {
|
|
85
|
-
display: none;
|
|
85
|
+
display: none !important;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
.help {
|
|
@@ -92,18 +92,18 @@
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.error {
|
|
95
|
-
display: none;
|
|
95
|
+
display: none !important;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
:scope:where([data-component~="ui-form-field"])[data-ui-form-field-state~="invalid"] .error {
|
|
99
|
-
display: contents;
|
|
99
|
+
display: contents !important;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
/* An error reads in the danger colour, the one the invalid control's border takes. */
|
|
103
103
|
|
|
104
104
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
105
105
|
:scope:where([data-component~="ui-form-field"])[hidden] {
|
|
106
|
-
display: none;
|
|
106
|
+
display: none !important;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
@scope ([data-component~="ui-form-field"]) to ([data-component]) {
|
package/styles/ui-grid.css
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
:scope:where([data-component~="ui-grid"]) {
|
|
21
21
|
--_grid-gap: var(--ui-space-4);
|
|
22
22
|
--_grid-min: 12rem;
|
|
23
|
-
display: grid;
|
|
24
|
-
gap: var(--ui-grid-gap, var(--_grid-gap));
|
|
23
|
+
display: grid !important;
|
|
24
|
+
gap: var(--ui-grid-gap, var(--_grid-gap)) !important;
|
|
25
25
|
grid-template-columns:
|
|
26
26
|
repeat(
|
|
27
27
|
auto-fit,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
);
|
|
39
39
|
min-inline-size: 0;
|
|
40
40
|
max-inline-size: 100%;
|
|
41
|
-
margin: 0;
|
|
41
|
+
margin: 0 !important;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
:scope:where([data-component~="ui-grid"])[data-ui-grid-state~="gap=xs"] {
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
|
|
66
66
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
67
67
|
:scope:where([data-component~="ui-grid"])[hidden] {
|
|
68
|
-
display: none;
|
|
68
|
+
display: none !important;
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
@scope ([data-component~="ui-grid"]) to ([data-component]) {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
101
101
|
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
102
102
|
|
|
103
|
-
display: inline-flex;
|
|
103
|
+
display: inline-flex !important;
|
|
104
104
|
color: var(--ui-text-secondary);
|
|
105
105
|
}
|
|
106
106
|
|
|
@@ -188,22 +188,22 @@
|
|
|
188
188
|
block-size: var(--ui-icon-button-size, var(--_size));
|
|
189
189
|
min-inline-size: var(--ui-icon-button-size, var(--_size));
|
|
190
190
|
min-block-size: var(--ui-icon-button-size, var(--_size));
|
|
191
|
-
padding: 0;
|
|
192
|
-
margin: 0;
|
|
191
|
+
padding: 0 !important;
|
|
192
|
+
margin: 0 !important;
|
|
193
193
|
border: var(--ui-border-width) solid transparent;
|
|
194
194
|
border-radius: var(--ui-icon-button-radius, var(--ui-action-radius, var(--ui-radius-md)));
|
|
195
195
|
background-color: var(--ui-icon-button-surface, transparent);
|
|
196
196
|
color: inherit;
|
|
197
|
-
display: inline-flex;
|
|
198
|
-
align-items: center;
|
|
199
|
-
justify-content: center;
|
|
197
|
+
display: inline-flex !important;
|
|
198
|
+
align-items: center !important;
|
|
199
|
+
justify-content: center !important;
|
|
200
200
|
cursor: pointer;
|
|
201
201
|
transition:
|
|
202
202
|
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
203
203
|
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
204
204
|
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
205
205
|
box-shadow var(--ui-motion-base) var(--ui-motion-ease),
|
|
206
|
-
scale var(--ui-motion-fast) var(--ui-motion-ease);
|
|
206
|
+
scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
@media (hover: none), (pointer: coarse) {
|
|
@@ -333,7 +333,7 @@
|
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
:scope:where([data-component~="ui-icon-button"]):active:enabled:not([aria-disabled="true"]) {
|
|
336
|
-
scale: var(--ui-icon-button-active-scale, 0.96);
|
|
336
|
+
scale: var(--ui-icon-button-active-scale, var(--ui-press-scale, 0.96));
|
|
337
337
|
}
|
|
338
338
|
|
|
339
339
|
:is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"]) {
|
|
@@ -341,13 +341,13 @@
|
|
|
341
341
|
}
|
|
342
342
|
|
|
343
343
|
.content {
|
|
344
|
-
display: inline-flex;
|
|
345
|
-
align-items: center;
|
|
346
|
-
justify-content: center;
|
|
344
|
+
display: inline-flex !important;
|
|
345
|
+
align-items: center !important;
|
|
346
|
+
justify-content: center !important;
|
|
347
347
|
}
|
|
348
348
|
|
|
349
349
|
:is(:scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="loading"], :scope:where([data-component~="ui-icon-button"])[data-ui-icon-button-state~="pending"]) .content {
|
|
350
|
-
display: none;
|
|
350
|
+
display: none !important;
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -428,7 +428,7 @@
|
|
|
428
428
|
|
|
429
429
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
430
430
|
:scope:where([data-component~="ui-icon-button"])[hidden] {
|
|
431
|
-
display: none;
|
|
431
|
+
display: none !important;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
434
|
@scope ([data-component~="ui-icon-button"]) to ([data-component]) {
|
package/styles/ui-icon.css
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
23
23
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
24
24
|
|
|
25
|
-
display: inline-flex;
|
|
25
|
+
display: inline-flex !important;
|
|
26
26
|
flex: none;
|
|
27
27
|
inline-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
28
28
|
block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
|
|
45
45
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
46
46
|
:scope:where([data-component~="ui-icon"])[hidden] {
|
|
47
|
-
display: none;
|
|
47
|
+
display: none !important;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
@scope ([data-component~="ui-icon"]) to ([data-component]) {
|
package/styles/ui-image.css
CHANGED
|
@@ -8,24 +8,24 @@
|
|
|
8
8
|
}
|
|
9
9
|
@scope ([data-component~="ui-image"]) to ([data-component], [data-slotted]) {
|
|
10
10
|
:scope:where([data-component~="ui-image"]) {
|
|
11
|
-
display: flex;
|
|
12
|
-
justify-content: flex-start;
|
|
13
|
-
box-sizing: border-box;
|
|
11
|
+
display: flex !important;
|
|
12
|
+
justify-content: flex-start !important;
|
|
13
|
+
box-sizing: border-box !important;
|
|
14
14
|
max-inline-size: 100%;
|
|
15
15
|
min-inline-size: 0;
|
|
16
|
-
margin: 0;
|
|
17
|
-
padding: var(--ui-space-3) 0;
|
|
16
|
+
margin: 0 !important;
|
|
17
|
+
padding: var(--ui-space-3) 0 !important;
|
|
18
18
|
}
|
|
19
19
|
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=center"] {
|
|
20
|
-
justify-content: center;
|
|
20
|
+
justify-content: center !important;
|
|
21
21
|
}
|
|
22
22
|
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"] {
|
|
23
23
|
float: left;
|
|
24
|
-
padding-inline-end: var(--ui-space-4);
|
|
24
|
+
padding-inline-end: var(--ui-space-4) !important;
|
|
25
25
|
}
|
|
26
26
|
:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"] {
|
|
27
27
|
float: right;
|
|
28
|
-
padding-inline-start: var(--ui-space-4);
|
|
28
|
+
padding-inline-start: var(--ui-space-4) !important;
|
|
29
29
|
}
|
|
30
30
|
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
|
|
31
31
|
inline-size: calc(var(--_ui-image-width, calc(100% / 3)) + var(--ui-space-4));
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
z-index: 1;
|
|
52
52
|
inline-size: 24px;
|
|
53
53
|
block-size: 24px;
|
|
54
|
-
padding: 0;
|
|
54
|
+
padding: 0 !important;
|
|
55
55
|
border: 0;
|
|
56
56
|
background: transparent;
|
|
57
57
|
touch-action: none;
|
|
@@ -89,16 +89,16 @@
|
|
|
89
89
|
cursor: nwse-resize;
|
|
90
90
|
}
|
|
91
91
|
.handles[hidden], :scope:where([data-component~="ui-image"])[hidden] {
|
|
92
|
-
display: none;
|
|
92
|
+
display: none !important;
|
|
93
93
|
}
|
|
94
94
|
@media (max-width: 767px) {
|
|
95
95
|
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) {
|
|
96
96
|
float: none;
|
|
97
97
|
inline-size: 100%;
|
|
98
|
-
padding-inline: 0;
|
|
98
|
+
padding-inline: 0 !important;
|
|
99
99
|
}
|
|
100
100
|
:scope:where([data-component~="ui-image"]):is(:scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-left"], :scope:where([data-component~="ui-image"])[data-ui-image-state~="placement=wrap-right"]) .handles {
|
|
101
|
-
display: none;
|
|
101
|
+
display: none !important;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
@media (pointer: coarse) {
|
|
@@ -142,10 +142,10 @@
|
|
|
142
142
|
inline-size: 100%;
|
|
143
143
|
}
|
|
144
144
|
.frame img, .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
145
|
-
display: block;
|
|
145
|
+
display: block !important;
|
|
146
146
|
max-inline-size: 100%;
|
|
147
147
|
block-size: auto;
|
|
148
|
-
margin: 0;
|
|
148
|
+
margin: 0 !important;
|
|
149
149
|
border-radius: inherit;
|
|
150
150
|
}
|
|
151
151
|
:scope:where([data-component~="ui-image"])[data-resizing] .frame img, :scope:where([data-component~="ui-image"])[data-resizing] .frame :where([data-slotted], [data-slotted] *):is(img) {
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
--_ui-default-textarea-radius: 0;
|
|
55
55
|
--_ui-default-textarea-surface: transparent;
|
|
56
56
|
|
|
57
|
-
display: flex;
|
|
58
|
-
align-items: stretch;
|
|
59
|
-
box-sizing: border-box;
|
|
57
|
+
display: flex !important;
|
|
58
|
+
align-items: stretch !important;
|
|
59
|
+
box-sizing: border-box !important;
|
|
60
60
|
inline-size: 100%;
|
|
61
61
|
min-inline-size: 0;
|
|
62
62
|
min-block-size: var(--ui-control-size-md);
|
|
@@ -141,16 +141,16 @@
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.field {
|
|
144
|
-
display: flex;
|
|
144
|
+
display: flex !important;
|
|
145
145
|
flex: 1;
|
|
146
146
|
min-inline-size: 0;
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
.affix {
|
|
150
|
-
display: inline-flex;
|
|
150
|
+
display: inline-flex !important;
|
|
151
151
|
flex: none;
|
|
152
|
-
align-items: center;
|
|
153
|
-
padding-inline: var(--ui-space-2);
|
|
152
|
+
align-items: center !important;
|
|
153
|
+
padding-inline: var(--ui-space-2) !important;
|
|
154
154
|
color: var(--ui-text-muted);
|
|
155
155
|
font-family: var(--ui-font-family-mono);
|
|
156
156
|
font-size: var(--ui-font-size-sm);
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
--_ui-default-input-padding-inline-start: var(--ui-space-2);
|
|
176
176
|
}
|
|
177
177
|
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="prefixKind=icon"] .affix:first-child {
|
|
178
|
-
padding-inline-end: 0;
|
|
178
|
+
padding-inline-end: 0 !important;
|
|
179
179
|
border-inline-end: 0;
|
|
180
180
|
background: transparent;
|
|
181
181
|
}
|
|
@@ -183,15 +183,15 @@
|
|
|
183
183
|
/* Centred rather than padded above and below: the group is exactly a lone Input's height, so a
|
|
184
184
|
small button sits inside it with the difference split evenly, and the field keeps its height. */
|
|
185
185
|
.action {
|
|
186
|
-
display: flex;
|
|
186
|
+
display: flex !important;
|
|
187
187
|
flex: none;
|
|
188
|
-
align-items: center;
|
|
189
|
-
padding-inline: var(--ui-space-1);
|
|
188
|
+
align-items: center !important;
|
|
189
|
+
padding-inline: var(--ui-space-1) !important;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
/* Multiline text owns the first row; its action remains inside the same frame below it. */
|
|
193
193
|
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"] {
|
|
194
|
-
display: grid;
|
|
194
|
+
display: grid !important;
|
|
195
195
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
196
196
|
}
|
|
197
197
|
|
|
@@ -201,9 +201,9 @@
|
|
|
201
201
|
|
|
202
202
|
:scope:where([data-component~="ui-input-group"])[data-ui-input-group-state~="multiline"] .action {
|
|
203
203
|
grid-column: 1 / -1;
|
|
204
|
-
justify-content: end;
|
|
205
|
-
padding: var(--ui-space-2);
|
|
206
|
-
padding-block-start: 0;
|
|
204
|
+
justify-content: end !important;
|
|
205
|
+
padding: var(--ui-space-2) !important;
|
|
206
|
+
padding-block-start: 0 !important;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
/* The same textarea keeps its full resizeable box. Its text reserves the action's live width,
|
|
@@ -221,17 +221,17 @@
|
|
|
221
221
|
grid-row: 1;
|
|
222
222
|
align-self: start;
|
|
223
223
|
justify-self: end;
|
|
224
|
-
padding: var(--ui-space-2);
|
|
224
|
+
padding: var(--ui-space-2) !important;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
.affix:empty,
|
|
228
228
|
.action:empty {
|
|
229
|
-
display: none;
|
|
229
|
+
display: none !important;
|
|
230
230
|
}
|
|
231
231
|
|
|
232
232
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
233
233
|
:scope:where([data-component~="ui-input-group"])[hidden] {
|
|
234
|
-
display: none;
|
|
234
|
+
display: none !important;
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
@scope ([data-component~="ui-input-group"]) to ([data-component]) {
|
package/styles/ui-input.css
CHANGED
|
@@ -63,15 +63,15 @@
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
:scope:where([data-component~="ui-input"]) {
|
|
66
|
-
box-sizing: border-box;
|
|
67
|
-
display: inline-block;
|
|
66
|
+
box-sizing: border-box !important;
|
|
67
|
+
display: inline-block !important;
|
|
68
68
|
inline-size: var(--ui-input-inline-size, 100%);
|
|
69
69
|
min-inline-size: 0;
|
|
70
70
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-md)));
|
|
71
|
-
margin: 0;
|
|
72
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
71
|
+
margin: 0 !important;
|
|
72
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-space-3) !important;
|
|
73
73
|
appearance: none;
|
|
74
|
-
padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3));
|
|
74
|
+
padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3)) !important;
|
|
75
75
|
border: var(--ui-input-border-width, var(--_ui-default-input-border-width, var(--ui-border-width))) solid
|
|
76
76
|
var(--ui-input-border, var(--_ui-default-input-border, var(--ui-control-border, var(--ui-border-strong))));
|
|
77
77
|
border-radius: var(--ui-input-radius, var(--_ui-default-input-radius, var(--ui-field-radius, var(--ui-radius-md))));
|
|
@@ -89,13 +89,13 @@
|
|
|
89
89
|
/* Each size reads the hook and then an Input Group's default first, so a group, which draws the frame, can zero it. */
|
|
90
90
|
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=sm"] {
|
|
91
91
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-sm)));
|
|
92
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
92
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-space-2) !important;
|
|
93
93
|
font-size: var(--ui-font-size-sm);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
:scope:where([data-component~="ui-input"])[data-ui-input-state~="size=lg"] {
|
|
97
97
|
min-block-size: var(--ui-input-min-block-size, var(--_ui-default-input-min-block-size, var(--ui-control-size-lg)));
|
|
98
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
98
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-space-4) !important;
|
|
99
99
|
font-size: var(--ui-font-size-md);
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
|
|
183
183
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
184
184
|
:scope:where([data-component~="ui-input"])[hidden] {
|
|
185
|
-
display: none;
|
|
185
|
+
display: none !important;
|
|
186
186
|
}
|
|
187
187
|
}
|
|
188
188
|
@scope ([data-component~="ui-input"]) to ([data-component]) {
|