@threadlabs/looma 0.32.0 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/shared/icons.js +1 -0
- package/components/shared/overlay.js +1 -1
- package/components/ui-action-bar/ui-action-bar.html +11 -11
- package/components/ui-affordance-scope/ui-affordance-scope.html +2 -2
- package/components/ui-avatar/ui-avatar.html +8 -8
- package/components/ui-avatar-group/ui-avatar-group.html +14 -14
- package/components/ui-avatar-group/ui-avatar-group.js +3 -2
- package/components/ui-badge/ui-badge.html +43 -43
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +13 -13
- package/components/ui-breadcrumbs/ui-breadcrumbs.html +8 -8
- package/components/ui-button/ui-button.html +32 -29
- package/components/ui-callout/ui-callout.html +9 -9
- package/components/ui-card/ui-card.html +11 -11
- package/components/ui-checkbox/ui-checkbox.html +52 -33
- package/components/ui-cluster/ui-cluster.html +21 -21
- package/components/ui-color-picker/ui-color-picker.html +135 -0
- package/components/ui-color-picker/ui-color-picker.js +76 -0
- package/components/ui-combobox/ui-combobox.html +43 -43
- package/components/ui-container/ui-container.html +7 -7
- package/components/ui-context-menu/ui-context-menu.html +9 -9
- package/components/ui-cover/ui-cover.html +8 -8
- package/components/ui-description-item/ui-description-item.html +7 -7
- package/components/ui-description-list/ui-description-list.html +4 -4
- package/components/ui-dialog/ui-dialog.html +26 -26
- package/components/ui-disclosure/ui-disclosure.html +23 -23
- package/components/ui-editable/ui-editable.html +16 -16
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +9 -9
- package/components/ui-editor-link-form/ui-editor-link-form.html +1 -2
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +23 -23
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +10 -10
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +29 -29
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +5 -5
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +11 -11
- package/components/ui-editor-surface/ui-editor-surface.html +2 -2
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +25 -25
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +13 -13
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +31 -31
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +13 -13
- package/components/ui-floating-action-button/ui-floating-action-button.html +8 -8
- package/components/ui-form-field/ui-form-field.html +15 -15
- package/components/ui-form-field/ui-form-field.js +12 -4
- package/components/ui-grid/ui-grid.html +4 -4
- package/components/ui-icon/ui-icon.html +3 -2
- package/components/ui-icon-button/ui-icon-button.html +15 -14
- package/components/ui-image/ui-image.html +14 -14
- package/components/ui-input/ui-input.html +8 -8
- package/components/ui-input-group/ui-input-group.html +18 -18
- package/components/ui-list/ui-list.html +11 -11
- package/components/ui-list-item/ui-list-item.html +18 -18
- package/components/ui-listbox/ui-listbox.html +10 -10
- package/components/ui-menu/ui-menu.html +18 -17
- package/components/ui-menu-group/ui-menu-group.html +4 -4
- package/components/ui-menu-item/ui-menu-item.html +20 -20
- package/components/ui-meter/ui-meter.html +5 -5
- package/components/ui-nav-item/ui-nav-item.html +20 -20
- package/components/ui-page-header/ui-page-header.html +18 -17
- package/components/ui-popover/ui-popover.html +8 -8
- package/components/ui-radio/ui-radio.html +25 -17
- package/components/ui-radio-group/ui-radio-group.html +10 -10
- package/components/ui-reel/ui-reel.html +5 -5
- package/components/ui-scroll-area/ui-scroll-area.html +10 -10
- package/components/ui-search-result-row/ui-search-result-row.html +19 -19
- package/components/ui-search-shell/ui-search-shell.html +22 -22
- package/components/ui-section/ui-section.html +24 -23
- package/components/ui-select/ui-select.html +10 -10
- package/components/ui-separator/ui-separator.html +2 -2
- package/components/ui-sidebar/ui-sidebar.html +8 -8
- package/components/ui-spinner/ui-spinner.html +6 -6
- package/components/ui-stack/ui-stack.html +12 -12
- package/components/ui-status-message/ui-status-message.html +17 -17
- package/components/ui-swatch/ui-swatch.html +2 -2
- package/components/ui-switch/ui-switch.html +36 -26
- package/components/ui-switcher/ui-switcher.html +7 -7
- package/components/ui-table/ui-table.html +6 -6
- package/components/ui-tabs/ui-tabs.html +16 -15
- package/components/ui-text/ui-text.html +3 -2
- package/components/ui-textarea/ui-textarea.html +10 -10
- package/components/ui-toast/ui-toast.html +9 -9
- package/components/ui-toast-region/ui-toast-region.html +12 -12
- package/components/ui-tooltip/ui-tooltip.html +15 -15
- package/components/ui-top-bar/ui-top-bar.html +11 -11
- package/components/ui-tree/ui-tree.html +5 -5
- package/components/ui-tree-item/ui-tree-item.html +36 -36
- package/dist/index.js +46 -45
- package/editor/chunks/extensions.js +17 -1
- package/editor/extensions/slash-command.d.ts +1 -1
- package/editor/file-uploads.d.ts +31 -0
- package/editor/icons.d.ts +1 -0
- package/editor/index.js +2 -1
- package/package.json +3 -2
- package/styles/ui-action-bar.css +11 -11
- package/styles/ui-affordance-scope.css +2 -2
- package/styles/ui-avatar-group.css +14 -14
- package/styles/ui-avatar.css +8 -8
- package/styles/ui-badge.css +41 -41
- package/styles/ui-breadcrumb-item.css +13 -13
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +30 -28
- package/styles/ui-callout.css +9 -9
- package/styles/ui-card.css +11 -11
- package/styles/ui-checkbox.css +52 -33
- package/styles/ui-cluster.css +21 -21
- package/styles/ui-color-picker.css +120 -0
- package/styles/ui-combobox.css +86 -86
- package/styles/ui-container.css +7 -7
- package/styles/ui-context-menu.css +9 -9
- package/styles/ui-cover.css +8 -8
- package/styles/ui-description-item.css +7 -7
- package/styles/ui-description-list.css +4 -4
- package/styles/ui-dialog.css +52 -52
- package/styles/ui-disclosure.css +23 -23
- package/styles/ui-editable.css +16 -16
- package/styles/ui-editor-insert-table-grid.css +9 -9
- package/styles/ui-editor-mention-menu-item.css +10 -10
- package/styles/ui-editor-mention-menu.css +23 -23
- package/styles/ui-editor-slash-menu-group.css +5 -5
- package/styles/ui-editor-slash-menu-item.css +11 -11
- package/styles/ui-editor-slash-menu.css +29 -29
- package/styles/ui-editor-surface.css +2 -2
- package/styles/ui-editor-table-context-menu.css +25 -25
- package/styles/ui-editor-table-overlay.css +13 -13
- package/styles/ui-editor-table-toolbar.css +31 -31
- package/styles/ui-editor-toolbar.css +13 -13
- package/styles/ui-floating-action-button.css +8 -8
- package/styles/ui-form-field.css +13 -13
- package/styles/ui-grid.css +4 -4
- package/styles/ui-icon-button.css +13 -13
- package/styles/ui-icon.css +2 -2
- package/styles/ui-image.css +14 -14
- package/styles/ui-input-group.css +18 -18
- package/styles/ui-input.css +8 -8
- package/styles/ui-list-item.css +18 -18
- package/styles/ui-list.css +11 -11
- package/styles/ui-listbox.css +20 -20
- package/styles/ui-menu-group.css +4 -4
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +16 -16
- package/styles/ui-meter.css +5 -5
- package/styles/ui-nav-item.css +20 -20
- package/styles/ui-page-header.css +18 -17
- package/styles/ui-popover.css +8 -8
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +26 -18
- package/styles/ui-reel.css +5 -5
- package/styles/ui-scroll-area.css +10 -10
- package/styles/ui-search-result-row.css +19 -19
- package/styles/ui-search-shell.css +22 -22
- package/styles/ui-section.css +24 -23
- package/styles/ui-select.css +10 -10
- package/styles/ui-separator.css +2 -2
- package/styles/ui-sidebar.css +8 -8
- package/styles/ui-spinner.css +6 -6
- package/styles/ui-stack.css +12 -12
- package/styles/ui-status-message.css +17 -17
- package/styles/ui-swatch.css +2 -2
- package/styles/ui-switch.css +36 -28
- package/styles/ui-switcher.css +7 -7
- package/styles/ui-table.css +6 -6
- package/styles/ui-tabs.css +11 -11
- package/styles/ui-text.css +3 -2
- package/styles/ui-textarea.css +10 -10
- package/styles/ui-toast-region.css +24 -24
- package/styles/ui-toast.css +18 -18
- package/styles/ui-tooltip.css +15 -15
- package/styles/ui-top-bar.css +11 -11
- package/styles/ui-tree-item.css +71 -71
- package/styles/ui-tree.css +5 -5
- package/theme-system.css +80 -0
- package/tokens.css +14 -3
- package/vanilla/UiColorPicker.d.ts +30 -0
- package/vanilla/UiColorPicker.js +77 -0
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/index.js +1 -0
- package/vue/UiActionBar.vue +11 -11
- package/vue/UiAffordanceScope.vue +2 -2
- package/vue/UiAvatar.vue +8 -8
- package/vue/UiAvatarGroup.vue +14 -14
- package/vue/UiBadge.vue +43 -42
- package/vue/UiBreadcrumbItem.vue +13 -13
- package/vue/UiBreadcrumbs.vue +8 -8
- package/vue/UiButton.vue +34 -29
- package/vue/UiCallout.vue +9 -9
- package/vue/UiCard.vue +11 -11
- package/vue/UiCheckbox.vue +57 -34
- package/vue/UiCluster.vue +21 -21
- package/vue/UiColorPicker.d.ts +65 -0
- package/vue/UiColorPicker.js +2 -0
- package/vue/UiColorPicker.vue +422 -0
- package/vue/UiCombobox.vue +86 -86
- package/vue/UiContainer.vue +7 -7
- package/vue/UiContextMenu.vue +9 -9
- package/vue/UiCover.vue +8 -8
- package/vue/UiDescriptionItem.vue +7 -7
- package/vue/UiDescriptionList.vue +4 -4
- package/vue/UiDialog.vue +52 -52
- package/vue/UiDisclosure.vue +23 -23
- package/vue/UiEditable.vue +16 -16
- package/vue/UiEditorInsertTableGrid.vue +9 -9
- package/vue/UiEditorMentionMenu.vue +23 -23
- package/vue/UiEditorMentionMenuItem.vue +10 -10
- package/vue/UiEditorSlashMenu.vue +29 -29
- package/vue/UiEditorSlashMenuGroup.vue +5 -5
- package/vue/UiEditorSlashMenuItem.vue +11 -11
- package/vue/UiEditorSurface.vue +2 -2
- package/vue/UiEditorTableContextMenu.vue +25 -25
- package/vue/UiEditorTableOverlay.vue +13 -13
- package/vue/UiEditorTableToolbar.vue +31 -31
- package/vue/UiEditorToolbar.vue +13 -13
- package/vue/UiFloatingActionButton.vue +8 -8
- package/vue/UiFormField.vue +14 -14
- package/vue/UiGrid.vue +4 -4
- package/vue/UiIcon.vue +6 -2
- package/vue/UiIconButton.vue +14 -14
- package/vue/UiImage.vue +14 -14
- package/vue/UiInput.vue +9 -8
- package/vue/UiInputGroup.vue +18 -18
- package/vue/UiList.vue +11 -11
- package/vue/UiListItem.vue +18 -18
- package/vue/UiListbox.vue +20 -20
- package/vue/UiMenu.vue +16 -16
- package/vue/UiMenuGroup.vue +4 -4
- package/vue/UiMenuItem.vue +20 -20
- package/vue/UiMeter.vue +5 -5
- package/vue/UiNavItem.vue +20 -20
- package/vue/UiPageHeader.vue +18 -17
- package/vue/UiPopover.vue +8 -8
- package/vue/UiRadio.vue +28 -17
- package/vue/UiRadioGroup.vue +10 -10
- package/vue/UiReel.vue +5 -5
- package/vue/UiScrollArea.vue +10 -10
- package/vue/UiSearchResultRow.vue +19 -19
- package/vue/UiSearchShell.vue +22 -22
- package/vue/UiSection.vue +24 -23
- package/vue/UiSelect.vue +11 -10
- package/vue/UiSeparator.vue +2 -2
- package/vue/UiSidebar.vue +8 -8
- package/vue/UiSpinner.vue +6 -6
- package/vue/UiStack.vue +12 -12
- package/vue/UiStatusMessage.vue +17 -17
- package/vue/UiSwatch.vue +2 -2
- package/vue/UiSwitch.vue +38 -25
- package/vue/UiSwitcher.vue +7 -7
- package/vue/UiTable.vue +6 -6
- package/vue/UiTabs.vue +13 -13
- package/vue/UiText.vue +3 -2
- package/vue/UiTextarea.vue +10 -10
- package/vue/UiToast.vue +18 -18
- package/vue/UiToastRegion.vue +24 -24
- package/vue/UiTooltip.vue +15 -15
- package/vue/UiTopBar.vue +11 -11
- package/vue/UiTree.vue +5 -5
- package/vue/UiTreeItem.vue +73 -71
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +2 -2
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +2 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiColorPicker.js +326 -0
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorImageToolbar.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkForm.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +2 -2
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +5 -1
- package/vue/chunks/UiIconButton.js +2 -2
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +3 -3
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +1857 -1654
- package/vue/editor/LoomaEditor.d.ts +18 -2
- package/vue/editor/index.d.ts +2 -1
- package/vue/editor/index.js +147 -16
- package/vue/index.d.ts +1 -0
- package/vue/index.js +3 -2
package/styles/ui-button.css
CHANGED
|
@@ -104,10 +104,10 @@
|
|
|
104
104
|
--_tone-text: var(--_hue-text);
|
|
105
105
|
--_on-tone: var(--_on-hue);
|
|
106
106
|
|
|
107
|
-
display: inline-flex;
|
|
108
|
-
align-items: center;
|
|
109
|
-
justify-content: center;
|
|
110
|
-
column-gap: var(--ui-space-2);
|
|
107
|
+
display: inline-flex !important;
|
|
108
|
+
align-items: center !important;
|
|
109
|
+
justify-content: center !important;
|
|
110
|
+
column-gap: var(--ui-space-2) !important;
|
|
111
111
|
vertical-align: middle;
|
|
112
112
|
color: var(--_tone-text);
|
|
113
113
|
}
|
|
@@ -117,12 +117,12 @@
|
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
:scope:where([data-component~="ui-button"])[data-ui-button-state~="align=start"] {
|
|
120
|
-
justify-content: flex-start;
|
|
120
|
+
justify-content: flex-start !important;
|
|
121
121
|
text-align: start;
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
:scope:where([data-component~="ui-button"])[data-ui-button-state~="stretch"] {
|
|
125
|
-
display: flex;
|
|
125
|
+
display: flex !important;
|
|
126
126
|
inline-size: 100%;
|
|
127
127
|
}
|
|
128
128
|
|
|
@@ -141,16 +141,17 @@
|
|
|
141
141
|
/* Unset, a button wraps as its container does. */
|
|
142
142
|
white-space: var(--ui-button-white-space, inherit);
|
|
143
143
|
line-height: var(--ui-line-height-tight);
|
|
144
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
144
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-action-inset-md, var(--ui-space-3)) !important;
|
|
145
145
|
background-image: none;
|
|
146
146
|
box-shadow: var(--ui-button-shadow, var(--ui-action-shadow, var(--_ui-action-shadow)));
|
|
147
147
|
cursor: pointer;
|
|
148
148
|
transition:
|
|
149
|
+
scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
149
150
|
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
150
151
|
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
151
152
|
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
152
153
|
box-shadow var(--ui-motion-base) var(--ui-motion-ease);
|
|
153
|
-
margin: 0;
|
|
154
|
+
margin: 0 !important;
|
|
154
155
|
}
|
|
155
156
|
|
|
156
157
|
/* An anchor keeps the boxed button look even when an app styles ordinary links. */
|
|
@@ -159,7 +160,7 @@
|
|
|
159
160
|
}
|
|
160
161
|
|
|
161
162
|
.spinner-wrap {
|
|
162
|
-
display: inline-flex;
|
|
163
|
+
display: inline-flex !important;
|
|
163
164
|
flex: none;
|
|
164
165
|
vertical-align: middle;
|
|
165
166
|
}
|
|
@@ -167,17 +168,17 @@
|
|
|
167
168
|
/* A count is an adornment, not another line of label text. Keep the standard control height
|
|
168
169
|
with enough inset for a 24px mark; large content can still grow the button naturally. */
|
|
169
170
|
:scope:where([data-component~="ui-button"]):not([variant="link"]):has(.badge:not(:empty)) {
|
|
170
|
-
padding-block: var(--ui-space-0-5);
|
|
171
|
+
padding-block: var(--ui-space-0-5) !important;
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
.badge {
|
|
174
|
-
display: inline-flex;
|
|
175
|
-
align-items: center;
|
|
175
|
+
display: inline-flex !important;
|
|
176
|
+
align-items: center !important;
|
|
176
177
|
flex: none;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
180
|
.badge:empty {
|
|
180
|
-
display: none;
|
|
181
|
+
display: none !important;
|
|
181
182
|
}
|
|
182
183
|
|
|
183
184
|
@supports (text-box-trim: trim-both) {
|
|
@@ -189,7 +190,7 @@
|
|
|
189
190
|
|
|
190
191
|
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=xs"] {
|
|
191
192
|
min-block-size: 1.5rem;
|
|
192
|
-
padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25);
|
|
193
|
+
padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25) !important;
|
|
193
194
|
font-size: var(--ui-font-size-xs);
|
|
194
195
|
}
|
|
195
196
|
|
|
@@ -199,24 +200,24 @@
|
|
|
199
200
|
|
|
200
201
|
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=sm"] {
|
|
201
202
|
min-block-size: var(--ui-control-size-sm);
|
|
202
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
203
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-action-inset-sm, var(--ui-space-2)) !important;
|
|
203
204
|
font-size: var(--ui-font-size-sm);
|
|
204
205
|
}
|
|
205
206
|
|
|
206
207
|
:scope:where([data-component~="ui-button"])[data-ui-button-state~="size=lg"] {
|
|
207
208
|
min-block-size: var(--ui-control-size-lg);
|
|
208
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
209
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-action-inset-lg, var(--ui-space-4)) !important;
|
|
209
210
|
font-size: var(--ui-font-size-md);
|
|
210
211
|
}
|
|
211
212
|
|
|
212
213
|
/* Card actions inherit Button's palette and behavior; only their shared layout changes.
|
|
213
214
|
The icon may contain any decorative composition. Empty icons remove their column. */
|
|
214
215
|
:scope:where([data-component~="ui-button"])[data-ui-button-state~="variant=card"] {
|
|
215
|
-
display: grid;
|
|
216
|
+
display: grid !important;
|
|
216
217
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
217
|
-
align-content: center;
|
|
218
|
-
align-items: start;
|
|
219
|
-
gap: var(--ui-space-3);
|
|
218
|
+
align-content: center !important;
|
|
219
|
+
align-items: start !important;
|
|
220
|
+
gap: var(--ui-space-3) !important;
|
|
220
221
|
inline-size: 100%;
|
|
221
222
|
min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-md));
|
|
222
223
|
text-align: start;
|
|
@@ -231,18 +232,18 @@
|
|
|
231
232
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
232
233
|
}
|
|
233
234
|
.card-icon {
|
|
234
|
-
display: flex;
|
|
235
|
-
align-items: flex-start;
|
|
235
|
+
display: flex !important;
|
|
236
|
+
align-items: flex-start !important;
|
|
236
237
|
}
|
|
237
238
|
.card-icon:empty {
|
|
238
|
-
display: none;
|
|
239
|
+
display: none !important;
|
|
239
240
|
}
|
|
240
241
|
.card-content {
|
|
241
242
|
min-inline-size: 0;
|
|
242
243
|
}
|
|
243
244
|
.card-action {
|
|
244
|
-
display: flex;
|
|
245
|
-
align-items: center;
|
|
245
|
+
display: flex !important;
|
|
246
|
+
align-items: center !important;
|
|
246
247
|
align-self: center;
|
|
247
248
|
}
|
|
248
249
|
|
|
@@ -264,6 +265,7 @@
|
|
|
264
265
|
|
|
265
266
|
/* Pressed reads as pressed in: the highlight goes, and the shadow moves inside. */
|
|
266
267
|
:scope:where([data-component~="ui-button"]):active:not(:disabled, [aria-disabled="true"]) {
|
|
268
|
+
scale: var(--ui-press-scale, 1);
|
|
267
269
|
background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / 18%));
|
|
268
270
|
background-image: none;
|
|
269
271
|
box-shadow: var(--ui-pressed);
|
|
@@ -449,9 +451,9 @@
|
|
|
449
451
|
/* Link: an inline text action. No box, padding, or minimum height (inline targets are exempt under
|
|
450
452
|
WCAG 2.5.8); the inherited font; an underline that strengthens on hover; a visible focus ring. */
|
|
451
453
|
:scope:where([data-component~="ui-button"])[data-ui-button-state~="variant=link"] {
|
|
452
|
-
display: inline;
|
|
454
|
+
display: inline !important;
|
|
453
455
|
min-block-size: 0;
|
|
454
|
-
padding: 0;
|
|
456
|
+
padding: 0 !important;
|
|
455
457
|
border: 0;
|
|
456
458
|
border-radius: var(--ui-radius-sm);
|
|
457
459
|
background: none;
|
|
@@ -491,7 +493,7 @@
|
|
|
491
493
|
|
|
492
494
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
493
495
|
:scope:where([data-component~="ui-button"])[hidden] {
|
|
494
|
-
display: none;
|
|
496
|
+
display: none !important;
|
|
495
497
|
}
|
|
496
498
|
}
|
|
497
499
|
@scope ([data-component~="ui-button"]) to ([data-component]) {
|
package/styles/ui-callout.css
CHANGED
|
@@ -73,14 +73,14 @@
|
|
|
73
73
|
--_callout-border: var(--ui-info-solid);
|
|
74
74
|
--_callout-icon: var(--ui-info-solid);
|
|
75
75
|
|
|
76
|
-
display: grid;
|
|
76
|
+
display: grid !important;
|
|
77
77
|
grid-template-columns: var(--ui-callout-icon-column, 1.125rem) minmax(0, 1fr);
|
|
78
|
-
gap: var(--ui-callout-gap, calc(var(--ui-space-2) * 0.75));
|
|
79
|
-
align-items: start;
|
|
78
|
+
gap: var(--ui-callout-gap, calc(var(--ui-space-2) * 0.75)) !important;
|
|
79
|
+
align-items: start !important;
|
|
80
80
|
max-width: 100%;
|
|
81
|
-
padding-block: var(--ui-callout-padding-block, var(--ui-space-2));
|
|
82
|
-
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2));
|
|
83
|
-
padding-inline-end: var(--ui-callout-padding-inline, var(--ui-space-3));
|
|
81
|
+
padding-block: var(--ui-callout-padding-block, var(--ui-space-2)) !important;
|
|
82
|
+
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2)) !important;
|
|
83
|
+
padding-inline-end: var(--ui-callout-padding-inline, var(--ui-space-3)) !important;
|
|
84
84
|
border: var(--ui-callout-border-width, var(--ui-border-width)) solid
|
|
85
85
|
color-mix(in srgb, var(--ui-callout-border, var(--_callout-border)) 35%, transparent);
|
|
86
86
|
border-inline-start: var(--ui-callout-leading-border-width, var(--ui-callout-border-width, var(--ui-border-width))) solid
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
|
|
97
97
|
/* One line box tall, so the icon centres on the first line of text. */
|
|
98
98
|
.icon {
|
|
99
|
-
display: grid;
|
|
99
|
+
display: grid !important;
|
|
100
100
|
place-items: center;
|
|
101
101
|
inline-size: var(--_ui-callout-icon-column, 1.125rem);
|
|
102
102
|
block-size: 1lh;
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
.heading {
|
|
116
|
-
display: block;
|
|
116
|
+
display: block !important;
|
|
117
117
|
font-weight: var(--ui-font-semibold);
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
|
|
161
161
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
162
162
|
:scope:where([data-component~="ui-callout"])[hidden] {
|
|
163
|
-
display: none;
|
|
163
|
+
display: none !important;
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
@scope ([data-component~="ui-callout"]) to ([data-component]) {
|
package/styles/ui-card.css
CHANGED
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
--_ui-selection-context-surface: initial;
|
|
15
15
|
--_ui-selection-context-border: initial;
|
|
16
16
|
--_ui-selection-context-text: initial;
|
|
17
|
-
display: flex;
|
|
18
|
-
flex-direction: column;
|
|
19
|
-
gap: var(--ui-space-4);
|
|
20
|
-
box-sizing: border-box;
|
|
17
|
+
display: flex !important;
|
|
18
|
+
flex-direction: column !important;
|
|
19
|
+
gap: var(--ui-space-4) !important;
|
|
20
|
+
box-sizing: border-box !important;
|
|
21
21
|
min-inline-size: 0;
|
|
22
|
-
padding: var(--ui-space-5);
|
|
22
|
+
padding: var(--ui-space-5) !important;
|
|
23
23
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
24
24
|
border-radius: var(--ui-radius-lg);
|
|
25
25
|
background: var(--_ui-card-surface);
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
:scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=xs"] {
|
|
30
|
-
gap: var(--ui-space-1);
|
|
31
|
-
padding: var(--ui-space-2);
|
|
30
|
+
gap: var(--ui-space-1) !important;
|
|
31
|
+
padding: var(--ui-space-2) !important;
|
|
32
32
|
}
|
|
33
33
|
:scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=sm"] {
|
|
34
|
-
gap: var(--ui-space-2);
|
|
35
|
-
padding: var(--ui-space-3);
|
|
34
|
+
gap: var(--ui-space-2) !important;
|
|
35
|
+
padding: var(--ui-space-3) !important;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
:scope:where([data-component~="ui-card"])[data-ui-card-state~="padding=lg"] {
|
|
39
|
-
padding: var(--ui-space-6);
|
|
39
|
+
padding: var(--ui-space-6) !important;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
:scope:where([data-component~="ui-card"])[data-ui-card-state~="variant=subtle"] {
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
|
|
111
111
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
112
112
|
:scope:where([data-component~="ui-card"])[hidden] {
|
|
113
|
-
display: none;
|
|
113
|
+
display: none !important;
|
|
114
114
|
}
|
|
115
115
|
}
|
|
116
116
|
@scope ([data-component~="ui-card"]) to ([data-component]) {
|
package/styles/ui-checkbox.css
CHANGED
|
@@ -23,28 +23,46 @@
|
|
|
23
23
|
|
|
24
24
|
:scope:where([data-component~="ui-checkbox"]) {
|
|
25
25
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
26
|
-
--_ui-checkbox-size: var(--ui-checkbox-size);
|
|
26
|
+
--_ui-checkbox-size: var(--ui-checkbox-size, var(--ui-choice-mark-size));
|
|
27
27
|
--_ui-checkbox-invalid-border: var(--ui-checkbox-invalid-border, var(--ui-field-danger, var(--ui-danger-solid)));
|
|
28
28
|
|
|
29
|
-
display: inline-flex;
|
|
30
|
-
align-items: flex-start;
|
|
31
|
-
|
|
29
|
+
display: inline-flex !important;
|
|
30
|
+
align-items: flex-start !important;
|
|
31
|
+
flex-direction: row !important;
|
|
32
|
+
flex-wrap: nowrap !important;
|
|
33
|
+
justify-content: flex-start !important;
|
|
34
|
+
padding: 0 !important;
|
|
35
|
+
gap: var(--ui-checkbox-gap, var(--ui-space-2)) !important;
|
|
32
36
|
max-inline-size: 100%;
|
|
33
37
|
color: var(--ui-text-primary);
|
|
38
|
+
line-height: var(--ui-line-height-md) !important;
|
|
34
39
|
cursor: pointer;
|
|
35
40
|
}
|
|
36
41
|
|
|
37
42
|
/* The label, and under it an optional line saying what the choice means. */
|
|
38
43
|
.text {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
font: inherit !important;
|
|
45
|
+
align-self: auto !important;
|
|
46
|
+
order: 1 !important;
|
|
47
|
+
position: static !important;
|
|
48
|
+
transform: none !important;
|
|
49
|
+
padding: 0 !important;
|
|
50
|
+
margin: 0 !important;
|
|
51
|
+
display: flex !important;
|
|
52
|
+
flex-direction: column !important;
|
|
53
|
+
gap: var(--ui-space-1) !important;
|
|
42
54
|
min-inline-size: 0;
|
|
43
55
|
}
|
|
44
56
|
|
|
45
57
|
.label {
|
|
58
|
+
position: static !important;
|
|
59
|
+
transform: none !important;
|
|
60
|
+
margin: 0 !important;
|
|
61
|
+
padding-inline: 0 !important;
|
|
62
|
+
font: inherit !important;
|
|
46
63
|
min-inline-size: 0;
|
|
47
|
-
line-height: var(--ui-line-height-md);
|
|
64
|
+
line-height: var(--ui-line-height-md) !important;
|
|
65
|
+
padding-block: max(0px, calc((var(--_ui-checkbox-size, 1.125rem) - 1lh) / 2)) !important;
|
|
48
66
|
}
|
|
49
67
|
|
|
50
68
|
.description {
|
|
@@ -54,19 +72,25 @@
|
|
|
54
72
|
}
|
|
55
73
|
|
|
56
74
|
.description:empty {
|
|
57
|
-
display: none;
|
|
75
|
+
display: none !important;
|
|
58
76
|
}
|
|
59
77
|
|
|
60
78
|
input {
|
|
61
79
|
appearance: none;
|
|
62
80
|
-webkit-appearance: none;
|
|
63
|
-
position: relative;
|
|
81
|
+
position: relative !important;
|
|
82
|
+
transform: none !important;
|
|
83
|
+
order: 0 !important;
|
|
84
|
+
box-sizing: border-box !important;
|
|
85
|
+
padding: 0 !important;
|
|
64
86
|
flex: 0 0 auto;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
87
|
+
align-self: auto !important;
|
|
88
|
+
inline-size: var(--_ui-checkbox-size, 1.125rem) !important;
|
|
89
|
+
block-size: var(--_ui-checkbox-size, 1.125rem) !important;
|
|
90
|
+
font: inherit !important;
|
|
91
|
+
margin: max(0px, calc((1lh - var(--_ui-checkbox-size, 1.125rem)) / 2)) 0 0 !important;
|
|
68
92
|
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
|
|
69
|
-
border-radius: var(--ui-radius-sm);
|
|
93
|
+
border-radius: min(var(--ui-radius-sm), calc(var(--_ui-checkbox-size, 1.125rem) / 4));
|
|
70
94
|
background: var(--ui-control-surface, var(--ui-surface-default));
|
|
71
95
|
box-shadow: var(--ui-control-inset);
|
|
72
96
|
cursor: pointer;
|
|
@@ -80,7 +104,7 @@
|
|
|
80
104
|
content: "";
|
|
81
105
|
position: absolute;
|
|
82
106
|
opacity: 0;
|
|
83
|
-
transition: opacity
|
|
107
|
+
transition: opacity var(--ui-motion-fast) var(--ui-motion-ease);
|
|
84
108
|
}
|
|
85
109
|
|
|
86
110
|
input:checked,
|
|
@@ -93,22 +117,22 @@
|
|
|
93
117
|
/* Centre the tick's box and lift it slightly for the rotated check shape. */
|
|
94
118
|
input:checked:where(:not([data-component], [data-slotted]))::after {
|
|
95
119
|
inset: 0;
|
|
96
|
-
margin: auto;
|
|
97
|
-
inline-size: 0.
|
|
98
|
-
block-size: 0.
|
|
120
|
+
margin: auto !important;
|
|
121
|
+
inline-size: calc(var(--_ui-checkbox-size) * 0.28 / 1.125);
|
|
122
|
+
block-size: calc(var(--_ui-checkbox-size) * 0.5 / 1.125);
|
|
99
123
|
/* Longhands, not `border: solid var(...)`: lowering drops a shorthand that omits a
|
|
100
124
|
component, which left the tick with no style and no colour. */
|
|
101
125
|
border-style: solid;
|
|
102
126
|
border-color: var(--ui-text-on-accent);
|
|
103
|
-
border-width: 0 0.
|
|
127
|
+
border-width: 0 calc(var(--_ui-checkbox-size) * 0.125 / 1.125) calc(var(--_ui-checkbox-size) * 0.125 / 1.125) 0;
|
|
104
128
|
opacity: 1;
|
|
105
|
-
transform: translateY(-0.
|
|
106
|
-
animation: ui-checkbox-check
|
|
129
|
+
transform: translateY(calc(var(--_ui-checkbox-size) * -0.09 / 1.125)) rotate(45deg);
|
|
130
|
+
animation: ui-checkbox-check var(--ui-motion-base) var(--ui-motion-ease-out, cubic-bezier(0.16, 1, 0.3, 1)) both;
|
|
107
131
|
}
|
|
108
132
|
|
|
109
133
|
input:indeterminate:where(:not([data-component], [data-slotted]))::after {
|
|
110
|
-
inset: 50% 0.
|
|
111
|
-
block-size: 0.
|
|
134
|
+
inset: 50% calc(var(--_ui-checkbox-size) * 0.23 / 1.125) auto;
|
|
135
|
+
block-size: calc(var(--_ui-checkbox-size) * 0.125 / 1.125);
|
|
112
136
|
border-radius: var(--ui-radius-round);
|
|
113
137
|
background: var(--ui-text-on-accent);
|
|
114
138
|
opacity: 1;
|
|
@@ -118,15 +142,15 @@
|
|
|
118
142
|
@keyframes ui-checkbox-check {
|
|
119
143
|
from {
|
|
120
144
|
opacity: 0;
|
|
121
|
-
transform: translateY(-0.
|
|
145
|
+
transform: translateY(calc(var(--_ui-checkbox-size) * -0.09 / 1.125)) rotate(45deg) scale(0.55);
|
|
122
146
|
}
|
|
123
147
|
65% {
|
|
124
148
|
opacity: 1;
|
|
125
|
-
transform: translateY(-0.
|
|
149
|
+
transform: translateY(calc(var(--_ui-checkbox-size) * -0.09 / 1.125)) rotate(45deg) scale(1.12);
|
|
126
150
|
}
|
|
127
151
|
to {
|
|
128
152
|
opacity: 1;
|
|
129
|
-
transform: translateY(-0.
|
|
153
|
+
transform: translateY(calc(var(--_ui-checkbox-size) * -0.09 / 1.125)) rotate(45deg) scale(1);
|
|
130
154
|
}
|
|
131
155
|
}
|
|
132
156
|
|
|
@@ -181,12 +205,7 @@
|
|
|
181
205
|
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] {
|
|
182
206
|
--_line: calc(var(--_font) * var(--ui-line-height-md));
|
|
183
207
|
font-size: var(--_font);
|
|
184
|
-
padding-block: calc((var(--_row) - var(--_line)) / 2);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=sm"] input,
|
|
188
|
-
:scope:where([data-component~="ui-checkbox"])[data-ui-checkbox-state~="size=lg"] input {
|
|
189
|
-
margin-top: calc((var(--_line) - var(--_ui-checkbox-size, 1.125rem)) / 2);
|
|
208
|
+
padding-block: max(0px, calc((var(--_row) - max(var(--_line), var(--_ui-checkbox-size, 1.125rem))) / 2)) !important;
|
|
190
209
|
}
|
|
191
210
|
|
|
192
211
|
@media (pointer: coarse) {
|
|
@@ -197,7 +216,7 @@
|
|
|
197
216
|
|
|
198
217
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
199
218
|
:scope:where([data-component~="ui-checkbox"])[hidden] {
|
|
200
|
-
display: none;
|
|
219
|
+
display: none !important;
|
|
201
220
|
}
|
|
202
221
|
}
|
|
203
222
|
@scope ([data-component~="ui-checkbox"]) to ([data-component]) {
|
package/styles/ui-cluster.css
CHANGED
|
@@ -15,38 +15,38 @@
|
|
|
15
15
|
|
|
16
16
|
:scope:where([data-component~="ui-cluster"]) {
|
|
17
17
|
--_layout-gap: var(--ui-space-3);
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-wrap: wrap;
|
|
20
|
-
align-items: center;
|
|
21
|
-
gap: var(--ui-cluster-gap, var(--_layout-gap));
|
|
18
|
+
display: flex !important;
|
|
19
|
+
flex-wrap: wrap !important;
|
|
20
|
+
align-items: center !important;
|
|
21
|
+
gap: var(--ui-cluster-gap, var(--_layout-gap)) !important;
|
|
22
22
|
min-inline-size: 0;
|
|
23
23
|
max-inline-size: 100%;
|
|
24
|
-
margin: 0;
|
|
24
|
+
margin: 0 !important;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="fixed"] {
|
|
28
28
|
flex: none;
|
|
29
29
|
}
|
|
30
30
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=s"] {
|
|
31
|
-
padding: var(--ui-space-2);
|
|
31
|
+
padding: var(--ui-space-2) !important;
|
|
32
32
|
}
|
|
33
33
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=m"] {
|
|
34
|
-
padding: var(--ui-space-3);
|
|
34
|
+
padding: var(--ui-space-3) !important;
|
|
35
35
|
}
|
|
36
36
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="padding=l"] {
|
|
37
|
-
padding: var(--ui-space-4);
|
|
37
|
+
padding: var(--ui-space-4) !important;
|
|
38
38
|
}
|
|
39
39
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=s"] {
|
|
40
|
-
padding-inline-end: var(--ui-space-2);
|
|
40
|
+
padding-inline-end: var(--ui-space-2) !important;
|
|
41
41
|
}
|
|
42
42
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=m"] {
|
|
43
|
-
padding-inline-end: var(--ui-space-3);
|
|
43
|
+
padding-inline-end: var(--ui-space-3) !important;
|
|
44
44
|
}
|
|
45
45
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=l"] {
|
|
46
|
-
padding-inline-end: var(--ui-space-4);
|
|
46
|
+
padding-inline-end: var(--ui-space-4) !important;
|
|
47
47
|
}
|
|
48
48
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="paddingEnd=xl"] {
|
|
49
|
-
padding-inline-end: calc(var(--ui-space-4) * 4);
|
|
49
|
+
padding-inline-end: calc(var(--ui-space-4) * 4) !important;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="gap=xs"] {
|
|
@@ -65,33 +65,33 @@
|
|
|
65
65
|
--_layout-gap: var(--ui-space-6);
|
|
66
66
|
}
|
|
67
67
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=start"] {
|
|
68
|
-
align-items: flex-start;
|
|
68
|
+
align-items: flex-start !important;
|
|
69
69
|
}
|
|
70
70
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=end"] {
|
|
71
|
-
align-items: flex-end;
|
|
71
|
+
align-items: flex-end !important;
|
|
72
72
|
}
|
|
73
73
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=baseline"] {
|
|
74
|
-
align-items: baseline;
|
|
74
|
+
align-items: baseline !important;
|
|
75
75
|
}
|
|
76
76
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="align=stretch"] {
|
|
77
|
-
align-items: stretch;
|
|
77
|
+
align-items: stretch !important;
|
|
78
78
|
}
|
|
79
79
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=center"] {
|
|
80
|
-
justify-content: center;
|
|
80
|
+
justify-content: center !important;
|
|
81
81
|
}
|
|
82
82
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=end"] {
|
|
83
|
-
justify-content: flex-end;
|
|
83
|
+
justify-content: flex-end !important;
|
|
84
84
|
}
|
|
85
85
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="justify=between"] {
|
|
86
|
-
justify-content: space-between;
|
|
86
|
+
justify-content: space-between !important;
|
|
87
87
|
}
|
|
88
88
|
:scope:where([data-component~="ui-cluster"])[data-ui-cluster-state~="wrap=nowrap"] {
|
|
89
|
-
flex-wrap: nowrap;
|
|
89
|
+
flex-wrap: nowrap !important;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
93
93
|
:scope:where([data-component~="ui-cluster"])[hidden] {
|
|
94
|
-
display: none;
|
|
94
|
+
display: none !important;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
@scope ([data-component~="ui-cluster"]) to ([data-component]) {
|
|
@@ -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
|
+
}
|