@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
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/* Generated by HTML Next 1.0.0-alpha.69. Do not edit. */
|
|
2
|
+
@supports (-moz-appearance: none) {
|
|
3
|
+
:where([data-component], [data-slotted]) { --html-next-scope-owner: boundary; }
|
|
4
|
+
:where([data-slotted]:not([data-component])) { --html-next-scope-owner: projected !important; }
|
|
5
|
+
}
|
|
6
|
+
@supports (-moz-appearance: none) {
|
|
7
|
+
[data-component~="ui-color-picker"] { --html-next-scope-owner: "ui-color-picker" !important; }
|
|
8
|
+
}
|
|
9
|
+
@scope ([data-component~="ui-color-picker"]) to ([data-component], [data-slotted]) {
|
|
10
|
+
:scope:where([data-component~="ui-color-picker"]) {
|
|
11
|
+
display: inline-flex !important;
|
|
12
|
+
flex: 0 0 auto;
|
|
13
|
+
margin: 0 !important;
|
|
14
|
+
padding: 0 !important;
|
|
15
|
+
--_size: var(--ui-control-size-md);
|
|
16
|
+
--_font: 1em;
|
|
17
|
+
--_padding: var(--ui-control-inset-block-md, var(--ui-space-2));
|
|
18
|
+
}
|
|
19
|
+
:scope:where([data-component~="ui-color-picker"])[data-ui-color-picker-state~="size=sm"] {
|
|
20
|
+
--_size: var(--ui-control-size-sm);
|
|
21
|
+
--_font: var(--ui-font-size-sm);
|
|
22
|
+
--_padding: var(--ui-control-inset-block-sm, var(--ui-space-1));
|
|
23
|
+
}
|
|
24
|
+
:scope:where([data-component~="ui-color-picker"])[data-ui-color-picker-state~="size=lg"] {
|
|
25
|
+
--_size: var(--ui-control-size-lg);
|
|
26
|
+
--_font: var(--ui-font-size-md);
|
|
27
|
+
--_padding: var(--ui-control-inset-block-lg, var(--ui-space-3));
|
|
28
|
+
}
|
|
29
|
+
button {
|
|
30
|
+
--_radius: min(var(--ui-field-radius, var(--ui-radius-md)), calc(var(--_size) / 4));
|
|
31
|
+
--_inset: min(calc(var(--ui-space-1) * 1.5), calc(var(--_size) / 5));
|
|
32
|
+
box-sizing: border-box !important;
|
|
33
|
+
display: inline-grid !important;
|
|
34
|
+
place-items: center;
|
|
35
|
+
margin: 0 !important;
|
|
36
|
+
padding: var(--_inset) !important;
|
|
37
|
+
inline-size: max(var(--_size), calc(var(--_font) * var(--ui-line-height-tight) + var(--_padding) * 2 + var(--ui-border-width) * 2));
|
|
38
|
+
aspect-ratio: 1;
|
|
39
|
+
flex: 0 0 auto;
|
|
40
|
+
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
|
|
41
|
+
border-radius: var(--_radius);
|
|
42
|
+
background: var(--ui-control-surface, var(--ui-surface-elevated));
|
|
43
|
+
box-shadow: var(--ui-control-inset);
|
|
44
|
+
font: inherit;
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease), scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
47
|
+
}
|
|
48
|
+
button:hover:not(:disabled) {
|
|
49
|
+
background: var(--ui-surface-subtle);
|
|
50
|
+
}
|
|
51
|
+
button:active:not(:disabled) {
|
|
52
|
+
scale: var(--ui-press-scale, 0.96);
|
|
53
|
+
}
|
|
54
|
+
button:focus-visible {
|
|
55
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring, var(--ui-accent-solid));
|
|
56
|
+
outline-offset: var(--ui-focus-width);
|
|
57
|
+
}
|
|
58
|
+
button:disabled {
|
|
59
|
+
opacity: 0.5;
|
|
60
|
+
cursor: not-allowed;
|
|
61
|
+
}
|
|
62
|
+
.colour {
|
|
63
|
+
display: block !important;
|
|
64
|
+
inline-size: 100%;
|
|
65
|
+
block-size: 100%;
|
|
66
|
+
border-radius: max(0px, calc(var(--_radius) - var(--_inset) - var(--ui-border-width)));
|
|
67
|
+
box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.12);
|
|
68
|
+
}
|
|
69
|
+
:scope:where([data-component~="ui-color-picker"])[data-ui-color-picker-state~="round"] button {
|
|
70
|
+
border-radius: 50%;
|
|
71
|
+
}
|
|
72
|
+
:scope:where([data-component~="ui-color-picker"])[data-ui-color-picker-state~="round"] .colour {
|
|
73
|
+
border-radius: 50%;
|
|
74
|
+
}
|
|
75
|
+
.editor {
|
|
76
|
+
box-sizing: border-box !important;
|
|
77
|
+
display: grid !important;
|
|
78
|
+
gap: var(--ui-space-3) !important;
|
|
79
|
+
padding: var(--ui-space-4) !important;
|
|
80
|
+
margin: 0 !important;
|
|
81
|
+
inline-size: min(18rem, calc(100vw - 1rem));
|
|
82
|
+
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
83
|
+
border-radius: var(--ui-radius-md);
|
|
84
|
+
background: var(--ui-surface-elevated);
|
|
85
|
+
color: var(--ui-text-primary);
|
|
86
|
+
box-shadow: var(--ui-shadow-lg);
|
|
87
|
+
font: inherit;
|
|
88
|
+
}
|
|
89
|
+
.editor[hidden] {
|
|
90
|
+
display: none !important;
|
|
91
|
+
}
|
|
92
|
+
.channel {
|
|
93
|
+
display: grid !important;
|
|
94
|
+
grid-template-columns: 3.5em 1fr;
|
|
95
|
+
align-items: center !important;
|
|
96
|
+
gap: var(--ui-space-2) !important;
|
|
97
|
+
padding: 0 !important;
|
|
98
|
+
margin: 0 !important;
|
|
99
|
+
}
|
|
100
|
+
input[type="range"] {
|
|
101
|
+
inline-size: 100%;
|
|
102
|
+
min-inline-size: 0;
|
|
103
|
+
margin: 0 !important;
|
|
104
|
+
padding: 0 !important;
|
|
105
|
+
accent-color: var(--ui-accent-solid);
|
|
106
|
+
}
|
|
107
|
+
@media (pointer: coarse) {
|
|
108
|
+
:scope:where([data-component~="ui-color-picker"]) {
|
|
109
|
+
--_size: max(var(--ui-control-size-md), var(--ui-control-min-block-size));
|
|
110
|
+
}
|
|
111
|
+
:scope:where([data-component~="ui-color-picker"])[data-ui-color-picker-state~="size=sm"] {
|
|
112
|
+
--_size: var(--ui-control-min-block-size);
|
|
113
|
+
--_font: var(--ui-font-size-md);
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
@scope ([data-component~="ui-color-picker"]) to ([data-component]) {
|
|
118
|
+
@media (pointer: coarse) {
|
|
119
|
+
}
|
|
120
|
+
}
|
package/styles/ui-combobox.css
CHANGED
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
--_ui-combobox-popup-shadow: var(--ui-combobox-popup-shadow);
|
|
94
94
|
|
|
95
95
|
--_row: var(--ui-control-size-md);
|
|
96
|
-
display: grid;
|
|
97
|
-
gap: var(--ui-space-1);
|
|
96
|
+
display: grid !important;
|
|
97
|
+
gap: var(--ui-space-1) !important;
|
|
98
98
|
min-inline-size: 0;
|
|
99
99
|
color: var(--ui-text-primary);
|
|
100
100
|
font: inherit;
|
|
@@ -107,17 +107,17 @@
|
|
|
107
107
|
/* The field and anything that annotates it sit on one row; the help button is beside the box,
|
|
108
108
|
not inside it, because a control's box holds its value. */
|
|
109
109
|
.control {
|
|
110
|
-
display: flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
gap: var(--ui-space-2);
|
|
110
|
+
display: flex !important;
|
|
111
|
+
align-items: center !important;
|
|
112
|
+
gap: var(--ui-space-2) !important;
|
|
113
113
|
min-inline-size: 0;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
.field {
|
|
117
|
-
box-sizing: border-box;
|
|
117
|
+
box-sizing: border-box !important;
|
|
118
118
|
min-block-size: var(--_row);
|
|
119
119
|
flex: 1 1 auto;
|
|
120
|
-
display: flex;
|
|
120
|
+
display: flex !important;
|
|
121
121
|
min-inline-size: 0;
|
|
122
122
|
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-default));
|
|
123
123
|
border-radius: var(--_ui-combobox-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
@@ -132,19 +132,19 @@
|
|
|
132
132
|
var(--ui-control-focus-halo-shadow);
|
|
133
133
|
}
|
|
134
134
|
.entry {
|
|
135
|
-
display: flex;
|
|
135
|
+
display: flex !important;
|
|
136
136
|
flex: 1 1 auto;
|
|
137
137
|
min-inline-size: 0;
|
|
138
138
|
}
|
|
139
139
|
/* A ghost icon button: the affordance is the mark, not a box around it. */
|
|
140
140
|
.help {
|
|
141
141
|
flex: none;
|
|
142
|
-
display: inline-flex;
|
|
143
|
-
align-items: center;
|
|
144
|
-
justify-content: center;
|
|
142
|
+
display: inline-flex !important;
|
|
143
|
+
align-items: center !important;
|
|
144
|
+
justify-content: center !important;
|
|
145
145
|
inline-size: var(--ui-control-size-sm);
|
|
146
146
|
block-size: var(--ui-control-size-sm);
|
|
147
|
-
padding: 0;
|
|
147
|
+
padding: 0 !important;
|
|
148
148
|
border: 0;
|
|
149
149
|
border-radius: var(--ui-radius-round);
|
|
150
150
|
background: transparent;
|
|
@@ -183,34 +183,34 @@
|
|
|
183
183
|
width: 100%;
|
|
184
184
|
min-inline-size: 0;
|
|
185
185
|
min-block-size: calc(var(--_row) - 2 * var(--ui-border-width));
|
|
186
|
-
box-sizing: border-box;
|
|
186
|
+
box-sizing: border-box !important;
|
|
187
187
|
border: 0;
|
|
188
188
|
border-radius: inherit;
|
|
189
189
|
background: transparent;
|
|
190
190
|
color: inherit;
|
|
191
191
|
font: inherit;
|
|
192
192
|
line-height: var(--ui-line-height-tight);
|
|
193
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
194
|
-
margin: 0;
|
|
193
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-space-3) !important;
|
|
194
|
+
margin: 0 !important;
|
|
195
195
|
outline: none;
|
|
196
196
|
}
|
|
197
197
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=sm"] {
|
|
198
198
|
--_row: var(--ui-control-size-sm);
|
|
199
199
|
}
|
|
200
200
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=sm"] input {
|
|
201
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
201
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-space-2) !important;
|
|
202
202
|
font-size: var(--ui-font-size-sm);
|
|
203
203
|
}
|
|
204
204
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=lg"] {
|
|
205
205
|
--_row: var(--ui-control-size-lg);
|
|
206
206
|
}
|
|
207
207
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=lg"] input {
|
|
208
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
208
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-space-4) !important;
|
|
209
209
|
font-size: var(--ui-font-size-md);
|
|
210
210
|
}
|
|
211
211
|
button {
|
|
212
212
|
appearance: none;
|
|
213
|
-
display: inline-grid;
|
|
213
|
+
display: inline-grid !important;
|
|
214
214
|
place-items: center;
|
|
215
215
|
align-self: stretch;
|
|
216
216
|
border: 0;
|
|
@@ -220,11 +220,11 @@
|
|
|
220
220
|
font: inherit;
|
|
221
221
|
font-weight: 400;
|
|
222
222
|
min-inline-size: 2rem;
|
|
223
|
-
padding: 0 var(--ui-space-1);
|
|
223
|
+
padding: 0 var(--ui-space-1) !important;
|
|
224
224
|
cursor: pointer;
|
|
225
225
|
}
|
|
226
226
|
.affordance-icon {
|
|
227
|
-
display: block;
|
|
227
|
+
display: block !important;
|
|
228
228
|
inline-size: var(--ui-icon-size-sm);
|
|
229
229
|
block-size: var(--ui-icon-size-sm);
|
|
230
230
|
}
|
|
@@ -249,13 +249,13 @@
|
|
|
249
249
|
border-color: var(--_ui-combobox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid, var(--ui-accent-active))));
|
|
250
250
|
}
|
|
251
251
|
.popup {
|
|
252
|
-
box-sizing: border-box;
|
|
252
|
+
box-sizing: border-box !important;
|
|
253
253
|
min-inline-size: 12rem;
|
|
254
254
|
max-inline-size: calc(100vw - 1rem);
|
|
255
255
|
max-block-size: var(--_ui-combobox-max-block-size, 18rem);
|
|
256
256
|
overflow: auto;
|
|
257
|
-
margin: 0;
|
|
258
|
-
padding: var(--ui-space-1);
|
|
257
|
+
margin: 0 !important;
|
|
258
|
+
padding: var(--ui-space-1) !important;
|
|
259
259
|
border: var(--ui-border-width) solid var(--_ui-combobox-popup-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
260
260
|
border-radius: var(--_ui-combobox-popup-radius, var(--ui-overlay-radius, var(--ui-radius-md)));
|
|
261
261
|
background: var(--_ui-combobox-popup-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
@@ -263,28 +263,28 @@
|
|
|
263
263
|
box-shadow: var(--_ui-combobox-popup-shadow, var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg))));
|
|
264
264
|
}
|
|
265
265
|
[hidden] {
|
|
266
|
-
display: none;
|
|
266
|
+
display: none !important;
|
|
267
267
|
}
|
|
268
268
|
.option[aria-disabled="true"] .primary,
|
|
269
269
|
.option[aria-disabled="true"] .secondary {
|
|
270
270
|
color: var(--ui-disabled-text);
|
|
271
271
|
}
|
|
272
272
|
.primary {
|
|
273
|
-
display: block;
|
|
273
|
+
display: block !important;
|
|
274
274
|
color: var(--_ui-combobox-option-text, inherit);
|
|
275
275
|
font-weight: 500;
|
|
276
276
|
}
|
|
277
277
|
/* A row with a tag or a description: the label and its tag on one line, the description under them. */
|
|
278
278
|
.detail {
|
|
279
|
-
display: grid;
|
|
280
|
-
gap: var(--ui-space-0-5);
|
|
279
|
+
display: grid !important;
|
|
280
|
+
gap: var(--ui-space-0-5) !important;
|
|
281
281
|
min-inline-size: 0;
|
|
282
282
|
}
|
|
283
283
|
.line {
|
|
284
|
-
display: flex;
|
|
285
|
-
flex-wrap: wrap;
|
|
286
|
-
align-items: center;
|
|
287
|
-
gap: var(--ui-space-2);
|
|
284
|
+
display: flex !important;
|
|
285
|
+
flex-wrap: wrap !important;
|
|
286
|
+
align-items: center !important;
|
|
287
|
+
gap: var(--ui-space-2) !important;
|
|
288
288
|
}
|
|
289
289
|
.description {
|
|
290
290
|
color: var(--ui-text-muted);
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
overflow-wrap: anywhere;
|
|
300
300
|
}
|
|
301
301
|
.group, .popup .message {
|
|
302
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
302
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
303
303
|
}
|
|
304
304
|
.sr-only {
|
|
305
305
|
position: absolute;
|
|
@@ -338,33 +338,33 @@
|
|
|
338
338
|
/* Multiple mode keeps one control height. Chips and the input scroll within the entry,
|
|
339
339
|
while the clear and disclosure controls remain fixed at the end of the field. */
|
|
340
340
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"] .field {
|
|
341
|
-
align-items: center;
|
|
341
|
+
align-items: center !important;
|
|
342
342
|
min-block-size: var(--_ui-combobox-item-min-block-size, var(--_row));
|
|
343
|
-
padding: var(--ui-space-1);
|
|
343
|
+
padding: var(--ui-space-1) !important;
|
|
344
344
|
}
|
|
345
345
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"] .entry {
|
|
346
|
-
align-items: center;
|
|
347
|
-
gap: var(--ui-space-1);
|
|
346
|
+
align-items: center !important;
|
|
347
|
+
gap: var(--ui-space-1) !important;
|
|
348
348
|
overflow-x: auto;
|
|
349
349
|
scrollbar-width: none;
|
|
350
350
|
}
|
|
351
351
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"] .entry:where(:not([data-component], [data-slotted]))::-webkit-scrollbar {
|
|
352
|
-
display: none;
|
|
352
|
+
display: none !important;
|
|
353
353
|
}
|
|
354
354
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"] input {
|
|
355
355
|
flex: 1 0 var(--_ui-combobox-item-input-min-inline-size, 5rem);
|
|
356
356
|
width: auto;
|
|
357
357
|
min-block-size: 1.75rem;
|
|
358
|
-
padding: var(--ui-space-0-5) var(--ui-space-1);
|
|
358
|
+
padding: var(--ui-space-0-5) var(--ui-space-1) !important;
|
|
359
359
|
}
|
|
360
360
|
/* Size variants keep their control height as selections are added. */
|
|
361
361
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"]:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=sm"] .field {
|
|
362
362
|
min-block-size: 0;
|
|
363
|
-
padding: var(--ui-space-0-5);
|
|
363
|
+
padding: var(--ui-space-0-5) !important;
|
|
364
364
|
}
|
|
365
365
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"]:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=sm"] input {
|
|
366
366
|
min-block-size: calc(var(--_row) - 2 * var(--ui-border-width) - 2 * var(--ui-space-0-5));
|
|
367
|
-
padding: 0 var(--ui-space-1);
|
|
367
|
+
padding: 0 var(--ui-space-1) !important;
|
|
368
368
|
}
|
|
369
369
|
/* A large multiple field starts at the large control height, as sm starts at the small one. */
|
|
370
370
|
:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"]:scope:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=lg"] .field {
|
|
@@ -375,12 +375,12 @@
|
|
|
375
375
|
}
|
|
376
376
|
.item {
|
|
377
377
|
appearance: none;
|
|
378
|
-
display: inline-flex;
|
|
378
|
+
display: inline-flex !important;
|
|
379
379
|
flex: none;
|
|
380
380
|
min-inline-size: 0;
|
|
381
381
|
max-inline-size: min(100%, var(--_ui-combobox-item-item-max-inline-size, 12rem));
|
|
382
382
|
overflow: hidden;
|
|
383
|
-
padding: 0;
|
|
383
|
+
padding: 0 !important;
|
|
384
384
|
border: 0;
|
|
385
385
|
border-radius: var(--ui-radius-sm);
|
|
386
386
|
background: transparent;
|
|
@@ -398,7 +398,7 @@
|
|
|
398
398
|
|
|
399
399
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
400
400
|
:scope:where([data-component~="ui-combobox"])[hidden] {
|
|
401
|
-
display: none;
|
|
401
|
+
display: none !important;
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
@scope ([data-component~="ui-combobox"]) to ([data-component]) {
|
|
@@ -508,8 +508,8 @@
|
|
|
508
508
|
--_ui-combobox-popup-shadow: var(--ui-combobox-popup-shadow);
|
|
509
509
|
|
|
510
510
|
--_row: var(--ui-control-size-md);
|
|
511
|
-
display: grid;
|
|
512
|
-
gap: var(--ui-space-1);
|
|
511
|
+
display: grid !important;
|
|
512
|
+
gap: var(--ui-space-1) !important;
|
|
513
513
|
min-inline-size: 0;
|
|
514
514
|
color: var(--ui-text-primary);
|
|
515
515
|
font: inherit;
|
|
@@ -522,17 +522,17 @@
|
|
|
522
522
|
/* The field and anything that annotates it sit on one row; the help button is beside the box,
|
|
523
523
|
not inside it, because a control's box holds its value. */
|
|
524
524
|
.control:where(:scope, :scope *) {
|
|
525
|
-
display: flex;
|
|
526
|
-
align-items: center;
|
|
527
|
-
gap: var(--ui-space-2);
|
|
525
|
+
display: flex !important;
|
|
526
|
+
align-items: center !important;
|
|
527
|
+
gap: var(--ui-space-2) !important;
|
|
528
528
|
min-inline-size: 0;
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
.field:where(:scope, :scope *) {
|
|
532
|
-
box-sizing: border-box;
|
|
532
|
+
box-sizing: border-box !important;
|
|
533
533
|
min-block-size: var(--_row);
|
|
534
534
|
flex: 1 1 auto;
|
|
535
|
-
display: flex;
|
|
535
|
+
display: flex !important;
|
|
536
536
|
min-inline-size: 0;
|
|
537
537
|
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-default));
|
|
538
538
|
border-radius: var(--_ui-combobox-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
@@ -547,19 +547,19 @@
|
|
|
547
547
|
var(--ui-control-focus-halo-shadow);
|
|
548
548
|
}
|
|
549
549
|
.entry:where(:scope, :scope *) {
|
|
550
|
-
display: flex;
|
|
550
|
+
display: flex !important;
|
|
551
551
|
flex: 1 1 auto;
|
|
552
552
|
min-inline-size: 0;
|
|
553
553
|
}
|
|
554
554
|
/* A ghost icon button: the affordance is the mark, not a box around it. */
|
|
555
555
|
.help:where(:scope, :scope *) {
|
|
556
556
|
flex: none;
|
|
557
|
-
display: inline-flex;
|
|
558
|
-
align-items: center;
|
|
559
|
-
justify-content: center;
|
|
557
|
+
display: inline-flex !important;
|
|
558
|
+
align-items: center !important;
|
|
559
|
+
justify-content: center !important;
|
|
560
560
|
inline-size: var(--ui-control-size-sm);
|
|
561
561
|
block-size: var(--ui-control-size-sm);
|
|
562
|
-
padding: 0;
|
|
562
|
+
padding: 0 !important;
|
|
563
563
|
border: 0;
|
|
564
564
|
border-radius: var(--ui-radius-round);
|
|
565
565
|
background: transparent;
|
|
@@ -597,34 +597,34 @@
|
|
|
597
597
|
width: 100%;
|
|
598
598
|
min-inline-size: 0;
|
|
599
599
|
min-block-size: calc(var(--_row) - 2 * var(--ui-border-width));
|
|
600
|
-
box-sizing: border-box;
|
|
600
|
+
box-sizing: border-box !important;
|
|
601
601
|
border: 0;
|
|
602
602
|
border-radius: inherit;
|
|
603
603
|
background: transparent;
|
|
604
604
|
color: inherit;
|
|
605
605
|
font: inherit;
|
|
606
606
|
line-height: var(--ui-line-height-tight);
|
|
607
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
608
|
-
margin: 0;
|
|
607
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-space-3) !important;
|
|
608
|
+
margin: 0 !important;
|
|
609
609
|
outline: none;
|
|
610
610
|
}
|
|
611
611
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=sm"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
612
612
|
--_row: var(--ui-control-size-sm);
|
|
613
613
|
}
|
|
614
614
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=sm"] input:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
615
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
615
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-space-2) !important;
|
|
616
616
|
font-size: var(--ui-font-size-sm);
|
|
617
617
|
}
|
|
618
618
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=lg"]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
619
619
|
--_row: var(--ui-control-size-lg);
|
|
620
620
|
}
|
|
621
621
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=lg"] input:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
622
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
622
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-space-4) !important;
|
|
623
623
|
font-size: var(--ui-font-size-md);
|
|
624
624
|
}
|
|
625
625
|
button:where(:scope, :scope *) {
|
|
626
626
|
appearance: none;
|
|
627
|
-
display: inline-grid;
|
|
627
|
+
display: inline-grid !important;
|
|
628
628
|
place-items: center;
|
|
629
629
|
align-self: stretch;
|
|
630
630
|
border: 0;
|
|
@@ -634,11 +634,11 @@
|
|
|
634
634
|
font: inherit;
|
|
635
635
|
font-weight: 400;
|
|
636
636
|
min-inline-size: 2rem;
|
|
637
|
-
padding: 0 var(--ui-space-1);
|
|
637
|
+
padding: 0 var(--ui-space-1) !important;
|
|
638
638
|
cursor: pointer;
|
|
639
639
|
}
|
|
640
640
|
.affordance-icon:where(:scope, :scope *) {
|
|
641
|
-
display: block;
|
|
641
|
+
display: block !important;
|
|
642
642
|
inline-size: var(--ui-icon-size-sm);
|
|
643
643
|
block-size: var(--ui-icon-size-sm);
|
|
644
644
|
}
|
|
@@ -662,13 +662,13 @@
|
|
|
662
662
|
border-color: var(--_ui-combobox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid, var(--ui-accent-active))));
|
|
663
663
|
}
|
|
664
664
|
.popup:where(:scope, :scope *) {
|
|
665
|
-
box-sizing: border-box;
|
|
665
|
+
box-sizing: border-box !important;
|
|
666
666
|
min-inline-size: 12rem;
|
|
667
667
|
max-inline-size: calc(100vw - 1rem);
|
|
668
668
|
max-block-size: var(--_ui-combobox-max-block-size, 18rem);
|
|
669
669
|
overflow: auto;
|
|
670
|
-
margin: 0;
|
|
671
|
-
padding: var(--ui-space-1);
|
|
670
|
+
margin: 0 !important;
|
|
671
|
+
padding: var(--ui-space-1) !important;
|
|
672
672
|
border: var(--ui-border-width) solid var(--_ui-combobox-popup-border, var(--ui-overlay-border, var(--ui-border-strong)));
|
|
673
673
|
border-radius: var(--_ui-combobox-popup-radius, var(--ui-overlay-radius, var(--ui-radius-md)));
|
|
674
674
|
background: var(--_ui-combobox-popup-surface, var(--ui-overlay-surface, var(--ui-surface-elevated)));
|
|
@@ -676,27 +676,27 @@
|
|
|
676
676
|
box-shadow: var(--_ui-combobox-popup-shadow, var(--ui-overlay-shadow, var(--ui-elevation-overlay, var(--ui-shadow-lg))));
|
|
677
677
|
}
|
|
678
678
|
[hidden]:where(:scope, :scope *) {
|
|
679
|
-
display: none;
|
|
679
|
+
display: none !important;
|
|
680
680
|
}
|
|
681
681
|
.option[aria-disabled="true"]:where(:scope, :scope *) .primary, .option[aria-disabled="true"]:where(:scope, :scope *) .secondary {
|
|
682
682
|
color: var(--ui-disabled-text);
|
|
683
683
|
}
|
|
684
684
|
.primary:where(:scope, :scope *) {
|
|
685
|
-
display: block;
|
|
685
|
+
display: block !important;
|
|
686
686
|
color: var(--_ui-combobox-option-text, inherit);
|
|
687
687
|
font-weight: 500;
|
|
688
688
|
}
|
|
689
689
|
/* A row with a tag or a description: the label and its tag on one line, the description under them. */
|
|
690
690
|
.detail:where(:scope, :scope *) {
|
|
691
|
-
display: grid;
|
|
692
|
-
gap: var(--ui-space-0-5);
|
|
691
|
+
display: grid !important;
|
|
692
|
+
gap: var(--ui-space-0-5) !important;
|
|
693
693
|
min-inline-size: 0;
|
|
694
694
|
}
|
|
695
695
|
.line:where(:scope, :scope *) {
|
|
696
|
-
display: flex;
|
|
697
|
-
flex-wrap: wrap;
|
|
698
|
-
align-items: center;
|
|
699
|
-
gap: var(--ui-space-2);
|
|
696
|
+
display: flex !important;
|
|
697
|
+
flex-wrap: wrap !important;
|
|
698
|
+
align-items: center !important;
|
|
699
|
+
gap: var(--ui-space-2) !important;
|
|
700
700
|
}
|
|
701
701
|
.description:where(:scope, :scope *) {
|
|
702
702
|
color: var(--ui-text-muted);
|
|
@@ -711,7 +711,7 @@
|
|
|
711
711
|
overflow-wrap: anywhere;
|
|
712
712
|
}
|
|
713
713
|
.group:where(:scope, :scope *), .popup:where(:scope, :scope *) .message {
|
|
714
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
714
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
715
715
|
}
|
|
716
716
|
.sr-only:where(:scope, :scope *) {
|
|
717
717
|
position: absolute;
|
|
@@ -750,33 +750,33 @@
|
|
|
750
750
|
/* Multiple mode keeps one control height. Chips and the input scroll within the entry,
|
|
751
751
|
while the clear and disclosure controls remain fixed at the end of the field. */
|
|
752
752
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"] .field:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
753
|
-
align-items: center;
|
|
753
|
+
align-items: center !important;
|
|
754
754
|
min-block-size: var(--_ui-combobox-item-min-block-size, var(--_row));
|
|
755
|
-
padding: var(--ui-space-1);
|
|
755
|
+
padding: var(--ui-space-1) !important;
|
|
756
756
|
}
|
|
757
757
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"] .entry:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
758
|
-
align-items: center;
|
|
759
|
-
gap: var(--ui-space-1);
|
|
758
|
+
align-items: center !important;
|
|
759
|
+
gap: var(--ui-space-1) !important;
|
|
760
760
|
overflow-x: auto;
|
|
761
761
|
scrollbar-width: none;
|
|
762
762
|
}
|
|
763
763
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"] .entry:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"])))::-webkit-scrollbar {
|
|
764
|
-
display: none;
|
|
764
|
+
display: none !important;
|
|
765
765
|
}
|
|
766
766
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"] input:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
767
767
|
flex: 1 0 var(--_ui-combobox-item-input-min-inline-size, 5rem);
|
|
768
768
|
width: auto;
|
|
769
769
|
min-block-size: 1.75rem;
|
|
770
|
-
padding: var(--ui-space-0-5) var(--ui-space-1);
|
|
770
|
+
padding: var(--ui-space-0-5) var(--ui-space-1) !important;
|
|
771
771
|
}
|
|
772
772
|
/* Size variants keep their control height as selections are added. */
|
|
773
773
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"]:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=sm"] .field:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
774
774
|
min-block-size: 0;
|
|
775
|
-
padding: var(--ui-space-0-5);
|
|
775
|
+
padding: var(--ui-space-0-5) !important;
|
|
776
776
|
}
|
|
777
777
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"]:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=sm"] input:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
778
778
|
min-block-size: calc(var(--_row) - 2 * var(--ui-border-width) - 2 * var(--ui-space-0-5));
|
|
779
|
-
padding: 0 var(--ui-space-1);
|
|
779
|
+
padding: 0 var(--ui-space-1) !important;
|
|
780
780
|
}
|
|
781
781
|
/* A large multiple field starts at the large control height, as sm starts at the small one. */
|
|
782
782
|
:where([data-component~="ui-combobox"])[data-ui-combobox-state~="multiple"]:where([data-component~="ui-combobox"])[data-ui-combobox-state~="size=lg"] .field:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
@@ -787,12 +787,12 @@
|
|
|
787
787
|
}
|
|
788
788
|
.item:where(:scope, :scope *) {
|
|
789
789
|
appearance: none;
|
|
790
|
-
display: inline-flex;
|
|
790
|
+
display: inline-flex !important;
|
|
791
791
|
flex: none;
|
|
792
792
|
min-inline-size: 0;
|
|
793
793
|
max-inline-size: min(100%, var(--_ui-combobox-item-item-max-inline-size, 12rem));
|
|
794
794
|
overflow: hidden;
|
|
795
|
-
padding: 0;
|
|
795
|
+
padding: 0 !important;
|
|
796
796
|
border: 0;
|
|
797
797
|
border-radius: var(--ui-radius-sm);
|
|
798
798
|
background: transparent;
|
|
@@ -810,6 +810,6 @@
|
|
|
810
810
|
|
|
811
811
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
812
812
|
:where([data-component~="ui-combobox"])[hidden]:where(:scope, :not([data-component], [data-slotted]:not([data-slotted~="ui-combobox"]))) {
|
|
813
|
-
display: none;
|
|
813
|
+
display: none !important;
|
|
814
814
|
}
|
|
815
815
|
}
|
package/styles/ui-container.css
CHANGED
|
@@ -20,20 +20,20 @@
|
|
|
20
20
|
:scope:where([data-component~="ui-container"]) {
|
|
21
21
|
--_container-measure: 65ch;
|
|
22
22
|
--_container-gutters: var(--ui-space-4);
|
|
23
|
-
display: block;
|
|
23
|
+
display: block !important;
|
|
24
24
|
inline-size: 100%;
|
|
25
25
|
max-inline-size: var(--ui-container-measure, var(--_container-measure));
|
|
26
|
-
margin-inline: auto;
|
|
27
|
-
padding-inline: var(--ui-container-gutters, var(--_container-gutters));
|
|
26
|
+
margin-inline: auto !important;
|
|
27
|
+
padding-inline: var(--ui-container-gutters, var(--_container-gutters)) !important;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
:scope:where([data-component~="ui-container"])[data-ui-container-state~="measure=narrow"] {
|
|
31
31
|
--_container-measure: 45ch;
|
|
32
32
|
}
|
|
33
33
|
:scope:where([data-component~="ui-container"])[data-ui-container-state~="fill"] {
|
|
34
|
-
box-sizing: border-box;
|
|
35
|
-
display: flex;
|
|
36
|
-
flex-direction: column;
|
|
34
|
+
box-sizing: border-box !important;
|
|
35
|
+
display: flex !important;
|
|
36
|
+
flex-direction: column !important;
|
|
37
37
|
flex: 1;
|
|
38
38
|
min-inline-size: 0;
|
|
39
39
|
min-block-size: 0;
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
|
|
54
54
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
55
55
|
:scope:where([data-component~="ui-container"])[hidden] {
|
|
56
|
-
display: none;
|
|
56
|
+
display: none !important;
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
@scope ([data-component~="ui-container"]) to ([data-component]) {
|