@threadlabs/looma 0.32.1 → 0.33.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/shared/icons.js +1 -0
- package/components/shared/overlay.js +1 -1
- package/components/ui-action-bar/ui-action-bar.html +11 -11
- package/components/ui-affordance-scope/ui-affordance-scope.html +2 -2
- package/components/ui-avatar/ui-avatar.html +8 -8
- package/components/ui-avatar-group/ui-avatar-group.html +14 -14
- package/components/ui-avatar-group/ui-avatar-group.js +3 -2
- package/components/ui-badge/ui-badge.html +43 -43
- package/components/ui-breadcrumb-item/ui-breadcrumb-item.html +13 -13
- package/components/ui-breadcrumbs/ui-breadcrumbs.html +8 -8
- package/components/ui-button/ui-button.html +32 -29
- package/components/ui-callout/ui-callout.html +9 -9
- package/components/ui-card/ui-card.html +11 -11
- package/components/ui-checkbox/ui-checkbox.html +52 -33
- package/components/ui-cluster/ui-cluster.html +21 -21
- package/components/ui-color-picker/ui-color-picker.html +135 -0
- package/components/ui-color-picker/ui-color-picker.js +76 -0
- package/components/ui-combobox/ui-combobox.html +43 -43
- package/components/ui-container/ui-container.html +7 -7
- package/components/ui-context-menu/ui-context-menu.html +9 -9
- package/components/ui-cover/ui-cover.html +8 -8
- package/components/ui-description-item/ui-description-item.html +7 -7
- package/components/ui-description-list/ui-description-list.html +4 -4
- package/components/ui-dialog/ui-dialog.html +26 -26
- package/components/ui-disclosure/ui-disclosure.html +23 -23
- package/components/ui-editable/ui-editable.html +16 -16
- package/components/ui-editor-insert-table-grid/ui-editor-insert-table-grid.html +9 -9
- package/components/ui-editor-link-form/ui-editor-link-form.html +1 -2
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.html +23 -23
- package/components/ui-editor-mention-menu-item/ui-editor-mention-menu-item.html +10 -10
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.html +29 -29
- package/components/ui-editor-slash-menu-group/ui-editor-slash-menu-group.html +5 -5
- package/components/ui-editor-slash-menu-item/ui-editor-slash-menu-item.html +11 -11
- package/components/ui-editor-surface/ui-editor-surface.html +2 -2
- package/components/ui-editor-table-context-menu/ui-editor-table-context-menu.html +25 -25
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +13 -13
- package/components/ui-editor-table-toolbar/ui-editor-table-toolbar.html +31 -31
- package/components/ui-editor-toolbar/ui-editor-toolbar.html +13 -13
- package/components/ui-floating-action-button/ui-floating-action-button.html +8 -8
- package/components/ui-form-field/ui-form-field.html +15 -15
- package/components/ui-form-field/ui-form-field.js +12 -4
- package/components/ui-grid/ui-grid.html +4 -4
- package/components/ui-icon/ui-icon.html +3 -2
- package/components/ui-icon-button/ui-icon-button.html +15 -14
- package/components/ui-image/ui-image.html +14 -14
- package/components/ui-input/ui-input.html +8 -8
- package/components/ui-input-group/ui-input-group.html +18 -18
- package/components/ui-list/ui-list.html +11 -11
- package/components/ui-list-item/ui-list-item.html +18 -18
- package/components/ui-listbox/ui-listbox.html +10 -10
- package/components/ui-menu/ui-menu.html +18 -17
- package/components/ui-menu-group/ui-menu-group.html +4 -4
- package/components/ui-menu-item/ui-menu-item.html +20 -20
- package/components/ui-meter/ui-meter.html +5 -5
- package/components/ui-nav-item/ui-nav-item.html +20 -20
- package/components/ui-page-header/ui-page-header.html +18 -17
- package/components/ui-popover/ui-popover.html +8 -8
- package/components/ui-radio/ui-radio.html +25 -17
- package/components/ui-radio-group/ui-radio-group.html +10 -10
- package/components/ui-reel/ui-reel.html +5 -5
- package/components/ui-scroll-area/ui-scroll-area.html +10 -10
- package/components/ui-search-result-row/ui-search-result-row.html +19 -19
- package/components/ui-search-shell/ui-search-shell.html +22 -22
- package/components/ui-section/ui-section.html +24 -23
- package/components/ui-select/ui-select.html +10 -10
- package/components/ui-separator/ui-separator.html +2 -2
- package/components/ui-sidebar/ui-sidebar.html +8 -8
- package/components/ui-spinner/ui-spinner.html +6 -6
- package/components/ui-stack/ui-stack.html +12 -12
- package/components/ui-status-message/ui-status-message.html +17 -17
- package/components/ui-swatch/ui-swatch.html +2 -2
- package/components/ui-switch/ui-switch.html +36 -26
- package/components/ui-switcher/ui-switcher.html +7 -7
- package/components/ui-table/ui-table.html +6 -6
- package/components/ui-tabs/ui-tabs.html +16 -15
- package/components/ui-text/ui-text.html +3 -2
- package/components/ui-textarea/ui-textarea.html +10 -10
- package/components/ui-toast/ui-toast.html +9 -9
- package/components/ui-toast-region/ui-toast-region.html +12 -12
- package/components/ui-tooltip/ui-tooltip.html +15 -15
- package/components/ui-top-bar/ui-top-bar.html +11 -11
- package/components/ui-tree/ui-tree.html +5 -5
- package/components/ui-tree-item/ui-tree-item.html +36 -36
- package/dist/index.js +46 -45
- package/package.json +3 -2
- package/styles/ui-action-bar.css +11 -11
- package/styles/ui-affordance-scope.css +2 -2
- package/styles/ui-avatar-group.css +14 -14
- package/styles/ui-avatar.css +8 -8
- package/styles/ui-badge.css +41 -41
- package/styles/ui-breadcrumb-item.css +13 -13
- package/styles/ui-breadcrumbs.css +8 -8
- package/styles/ui-button.css +30 -28
- package/styles/ui-callout.css +9 -9
- package/styles/ui-card.css +11 -11
- package/styles/ui-checkbox.css +52 -33
- package/styles/ui-cluster.css +21 -21
- package/styles/ui-color-picker.css +120 -0
- package/styles/ui-combobox.css +86 -86
- package/styles/ui-container.css +7 -7
- package/styles/ui-context-menu.css +9 -9
- package/styles/ui-cover.css +8 -8
- package/styles/ui-description-item.css +7 -7
- package/styles/ui-description-list.css +4 -4
- package/styles/ui-dialog.css +52 -52
- package/styles/ui-disclosure.css +23 -23
- package/styles/ui-editable.css +16 -16
- package/styles/ui-editor-insert-table-grid.css +9 -9
- package/styles/ui-editor-mention-menu-item.css +10 -10
- package/styles/ui-editor-mention-menu.css +23 -23
- package/styles/ui-editor-slash-menu-group.css +5 -5
- package/styles/ui-editor-slash-menu-item.css +11 -11
- package/styles/ui-editor-slash-menu.css +29 -29
- package/styles/ui-editor-surface.css +2 -2
- package/styles/ui-editor-table-context-menu.css +25 -25
- package/styles/ui-editor-table-overlay.css +13 -13
- package/styles/ui-editor-table-toolbar.css +31 -31
- package/styles/ui-editor-toolbar.css +13 -13
- package/styles/ui-floating-action-button.css +8 -8
- package/styles/ui-form-field.css +13 -13
- package/styles/ui-grid.css +4 -4
- package/styles/ui-icon-button.css +13 -13
- package/styles/ui-icon.css +2 -2
- package/styles/ui-image.css +14 -14
- package/styles/ui-input-group.css +18 -18
- package/styles/ui-input.css +8 -8
- package/styles/ui-list-item.css +18 -18
- package/styles/ui-list.css +11 -11
- package/styles/ui-listbox.css +20 -20
- package/styles/ui-menu-group.css +4 -4
- package/styles/ui-menu-item.css +20 -20
- package/styles/ui-menu.css +16 -16
- package/styles/ui-meter.css +5 -5
- package/styles/ui-nav-item.css +20 -20
- package/styles/ui-page-header.css +18 -17
- package/styles/ui-popover.css +8 -8
- package/styles/ui-radio-group.css +10 -10
- package/styles/ui-radio.css +26 -18
- package/styles/ui-reel.css +5 -5
- package/styles/ui-scroll-area.css +10 -10
- package/styles/ui-search-result-row.css +19 -19
- package/styles/ui-search-shell.css +22 -22
- package/styles/ui-section.css +24 -23
- package/styles/ui-select.css +10 -10
- package/styles/ui-separator.css +2 -2
- package/styles/ui-sidebar.css +8 -8
- package/styles/ui-spinner.css +6 -6
- package/styles/ui-stack.css +12 -12
- package/styles/ui-status-message.css +17 -17
- package/styles/ui-swatch.css +2 -2
- package/styles/ui-switch.css +36 -28
- package/styles/ui-switcher.css +7 -7
- package/styles/ui-table.css +6 -6
- package/styles/ui-tabs.css +11 -11
- package/styles/ui-text.css +3 -2
- package/styles/ui-textarea.css +10 -10
- package/styles/ui-toast-region.css +24 -24
- package/styles/ui-toast.css +18 -18
- package/styles/ui-tooltip.css +15 -15
- package/styles/ui-top-bar.css +11 -11
- package/styles/ui-tree-item.css +71 -71
- package/styles/ui-tree.css +5 -5
- package/theme-system.css +80 -0
- package/tokens.css +14 -3
- package/vanilla/UiColorPicker.d.ts +30 -0
- package/vanilla/UiColorPicker.js +77 -0
- package/vanilla/UiIcon.js +1 -1
- package/vanilla/index.js +1 -0
- package/vue/UiActionBar.vue +11 -11
- package/vue/UiAffordanceScope.vue +2 -2
- package/vue/UiAvatar.vue +8 -8
- package/vue/UiAvatarGroup.vue +14 -14
- package/vue/UiBadge.vue +43 -42
- package/vue/UiBreadcrumbItem.vue +13 -13
- package/vue/UiBreadcrumbs.vue +8 -8
- package/vue/UiButton.vue +34 -29
- package/vue/UiCallout.vue +9 -9
- package/vue/UiCard.vue +11 -11
- package/vue/UiCheckbox.vue +57 -34
- package/vue/UiCluster.vue +21 -21
- package/vue/UiColorPicker.d.ts +65 -0
- package/vue/UiColorPicker.js +2 -0
- package/vue/UiColorPicker.vue +422 -0
- package/vue/UiCombobox.vue +86 -86
- package/vue/UiContainer.vue +7 -7
- package/vue/UiContextMenu.vue +9 -9
- package/vue/UiCover.vue +8 -8
- package/vue/UiDescriptionItem.vue +7 -7
- package/vue/UiDescriptionList.vue +4 -4
- package/vue/UiDialog.vue +52 -52
- package/vue/UiDisclosure.vue +23 -23
- package/vue/UiEditable.vue +16 -16
- package/vue/UiEditorInsertTableGrid.vue +9 -9
- package/vue/UiEditorMentionMenu.vue +23 -23
- package/vue/UiEditorMentionMenuItem.vue +10 -10
- package/vue/UiEditorSlashMenu.vue +29 -29
- package/vue/UiEditorSlashMenuGroup.vue +5 -5
- package/vue/UiEditorSlashMenuItem.vue +11 -11
- package/vue/UiEditorSurface.vue +2 -2
- package/vue/UiEditorTableContextMenu.vue +25 -25
- package/vue/UiEditorTableOverlay.vue +13 -13
- package/vue/UiEditorTableToolbar.vue +31 -31
- package/vue/UiEditorToolbar.vue +13 -13
- package/vue/UiFloatingActionButton.vue +8 -8
- package/vue/UiFormField.vue +14 -14
- package/vue/UiGrid.vue +4 -4
- package/vue/UiIcon.vue +6 -2
- package/vue/UiIconButton.vue +14 -14
- package/vue/UiImage.vue +14 -14
- package/vue/UiInput.vue +9 -8
- package/vue/UiInputGroup.vue +18 -18
- package/vue/UiList.vue +11 -11
- package/vue/UiListItem.vue +18 -18
- package/vue/UiListbox.vue +20 -20
- package/vue/UiMenu.vue +16 -16
- package/vue/UiMenuGroup.vue +4 -4
- package/vue/UiMenuItem.vue +20 -20
- package/vue/UiMeter.vue +5 -5
- package/vue/UiNavItem.vue +20 -20
- package/vue/UiPageHeader.vue +18 -17
- package/vue/UiPopover.vue +8 -8
- package/vue/UiRadio.vue +28 -17
- package/vue/UiRadioGroup.vue +10 -10
- package/vue/UiReel.vue +5 -5
- package/vue/UiScrollArea.vue +10 -10
- package/vue/UiSearchResultRow.vue +19 -19
- package/vue/UiSearchShell.vue +22 -22
- package/vue/UiSection.vue +24 -23
- package/vue/UiSelect.vue +11 -10
- package/vue/UiSeparator.vue +2 -2
- package/vue/UiSidebar.vue +8 -8
- package/vue/UiSpinner.vue +6 -6
- package/vue/UiStack.vue +12 -12
- package/vue/UiStatusMessage.vue +17 -17
- package/vue/UiSwatch.vue +2 -2
- package/vue/UiSwitch.vue +38 -25
- package/vue/UiSwitcher.vue +7 -7
- package/vue/UiTable.vue +6 -6
- package/vue/UiTabs.vue +13 -13
- package/vue/UiText.vue +3 -2
- package/vue/UiTextarea.vue +10 -10
- package/vue/UiToast.vue +18 -18
- package/vue/UiToastRegion.vue +24 -24
- package/vue/UiTooltip.vue +15 -15
- package/vue/UiTopBar.vue +11 -11
- package/vue/UiTree.vue +5 -5
- package/vue/UiTreeItem.vue +73 -71
- package/vue/chunks/UiActionBar.js +1 -1
- package/vue/chunks/UiAffordanceScope.js +1 -1
- package/vue/chunks/UiAvatar.js +1 -1
- package/vue/chunks/UiAvatarGroup.js +1 -1
- package/vue/chunks/UiBadge.js +2 -2
- package/vue/chunks/UiBreadcrumbItem.js +1 -1
- package/vue/chunks/UiBreadcrumbs.js +1 -1
- package/vue/chunks/UiButton.js +2 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +1 -1
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +1 -1
- package/vue/chunks/UiColorPicker.js +326 -0
- package/vue/chunks/UiCombobox.js +1 -1
- package/vue/chunks/UiContainer.js +1 -1
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiCover.js +1 -1
- package/vue/chunks/UiDescriptionItem.js +1 -1
- package/vue/chunks/UiDescriptionList.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditable.js +1 -1
- package/vue/chunks/UiEditorImageToolbar.js +1 -1
- package/vue/chunks/UiEditorInsertTableGrid.js +1 -1
- package/vue/chunks/UiEditorLinkForm.js +1 -1
- package/vue/chunks/UiEditorMentionMenu.js +1 -1
- package/vue/chunks/UiEditorMentionMenuItem.js +1 -1
- package/vue/chunks/UiEditorSlashMenu.js +1 -1
- package/vue/chunks/UiEditorSlashMenuGroup.js +1 -1
- package/vue/chunks/UiEditorSlashMenuItem.js +1 -1
- package/vue/chunks/UiEditorSurface.js +1 -1
- package/vue/chunks/UiEditorTableContextMenu.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +1 -1
- package/vue/chunks/UiEditorTableToolbar.js +1 -1
- package/vue/chunks/UiEditorToolbar.js +1 -1
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +2 -2
- package/vue/chunks/UiGrid.js +1 -1
- package/vue/chunks/UiIcon.js +5 -1
- package/vue/chunks/UiIconButton.js +2 -2
- package/vue/chunks/UiImage.js +1 -1
- package/vue/chunks/UiInput.js +1 -1
- package/vue/chunks/UiInputGroup.js +1 -1
- package/vue/chunks/UiList.js +1 -1
- package/vue/chunks/UiListItem.js +1 -1
- package/vue/chunks/UiListbox.js +1 -1
- package/vue/chunks/UiMenu.js +1 -1
- package/vue/chunks/UiMenuGroup.js +1 -1
- package/vue/chunks/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +1 -1
- package/vue/chunks/UiNavItem.js +1 -1
- package/vue/chunks/UiPageHeader.js +1 -1
- package/vue/chunks/UiPopover.js +1 -1
- package/vue/chunks/UiRadio.js +1 -1
- package/vue/chunks/UiRadioGroup.js +1 -1
- package/vue/chunks/UiReel.js +1 -1
- package/vue/chunks/UiScrollArea.js +1 -1
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.js +1 -1
- package/vue/chunks/UiSection.js +1 -1
- package/vue/chunks/UiSelect.js +1 -1
- package/vue/chunks/UiSeparator.js +1 -1
- package/vue/chunks/UiSidebar.js +1 -1
- package/vue/chunks/UiSpinner.js +1 -1
- package/vue/chunks/UiStack.js +1 -1
- package/vue/chunks/UiStatusMessage.js +1 -1
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +1 -1
- package/vue/chunks/UiTable.js +1 -1
- package/vue/chunks/UiTabs.js +3 -3
- package/vue/chunks/UiText.js +1 -1
- package/vue/chunks/UiTextarea.js +1 -1
- package/vue/chunks/UiToast.js +1 -1
- package/vue/chunks/UiToastRegion.js +1 -1
- package/vue/chunks/UiTooltip.js +1 -1
- package/vue/chunks/UiTopBar.js +1 -1
- package/vue/chunks/UiTree.js +1 -1
- package/vue/chunks/UiTreeItem.js +1 -1
- package/vue/components.css +1857 -1654
- package/vue/editor/index.js +28 -11
- package/vue/index.d.ts +1 -0
- package/vue/index.js +3 -2
package/vue/UiFormField.vue
CHANGED
|
@@ -31,7 +31,7 @@ const propValidityContract = {
|
|
|
31
31
|
required: false,
|
|
32
32
|
target: { attribute: 'disabled' },
|
|
33
33
|
description:
|
|
34
|
-
'Disables the
|
|
34
|
+
'Disables the control named by the label\'s for attribute, or the first field control inside it. Composite controls supply their focus target and form value.\n The field writes this to the control whenever it updates, so set it here rather than on the control.',
|
|
35
35
|
default: false,
|
|
36
36
|
},
|
|
37
37
|
invalid: {
|
|
@@ -222,16 +222,16 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
|
|
|
222
222
|
--_ui-form-field-help-text: var(--ui-form-field-help-text);
|
|
223
223
|
--_ui-form-field-help-font-size: var(--ui-form-field-help-font-size);
|
|
224
224
|
|
|
225
|
-
display: grid;
|
|
226
|
-
gap: var(--ui-space-2);
|
|
225
|
+
display: grid !important;
|
|
226
|
+
gap: var(--ui-space-2) !important;
|
|
227
227
|
min-inline-size: var(--ui-form-field-min-inline-size, 0);
|
|
228
|
-
align-content: start;
|
|
228
|
+
align-content: start !important;
|
|
229
229
|
color: var(--ui-text-primary);
|
|
230
230
|
}
|
|
231
231
|
:global(.label:where([data-hn-ui-form-field])),
|
|
232
232
|
:global(.help:where([data-hn-ui-form-field])),
|
|
233
233
|
:global(.error:where([data-hn-ui-form-field])) {
|
|
234
|
-
display: contents;
|
|
234
|
+
display: contents !important;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
237
|
:global(.label:where([data-hn-ui-form-field])) {
|
|
@@ -239,19 +239,19 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
|
|
|
239
239
|
font-size: var(--_ui-form-field-label-font-size, var(--ui-font-size-sm));
|
|
240
240
|
}
|
|
241
241
|
:global(.label:has(> .label-action > *):where([data-hn-ui-form-field])) {
|
|
242
|
-
display: flex;
|
|
243
|
-
align-items: start;
|
|
244
|
-
gap: var(--ui-space-1);
|
|
242
|
+
display: flex !important;
|
|
243
|
+
align-items: start !important;
|
|
244
|
+
gap: var(--ui-space-1) !important;
|
|
245
245
|
}
|
|
246
246
|
|
|
247
247
|
:global(.label-action:where([data-hn-ui-form-field])) {
|
|
248
|
-
display: flex;
|
|
249
|
-
align-items: unsafe center;
|
|
248
|
+
display: flex !important;
|
|
249
|
+
align-items: unsafe center !important;
|
|
250
250
|
block-size: 1lh;
|
|
251
251
|
}
|
|
252
252
|
|
|
253
253
|
:global(.label-action:not(:has(> *)):where([data-hn-ui-form-field])) {
|
|
254
|
-
display: none;
|
|
254
|
+
display: none !important;
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
:global(.help:where([data-hn-ui-form-field])) {
|
|
@@ -265,11 +265,11 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
|
|
|
265
265
|
}
|
|
266
266
|
|
|
267
267
|
:global(.error:where([data-hn-ui-form-field])) {
|
|
268
|
-
display: none;
|
|
268
|
+
display: none !important;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
:global(:scope[data-ui-form-field-state~="invalid"] .error:where([data-hn-ui-form-field])) {
|
|
272
|
-
display: contents;
|
|
272
|
+
display: contents !important;
|
|
273
273
|
}
|
|
274
274
|
:global(.error:where([data-hn-ui-form-field])),
|
|
275
275
|
:global(:where(:not([data-hn-ui-form-field])):is([role="alert"])) {
|
|
@@ -277,7 +277,7 @@ useComponentHost(() => import('../components/ui-form-field/ui-form-field.js'), {
|
|
|
277
277
|
font-size: var(--ui-font-size-sm);
|
|
278
278
|
}
|
|
279
279
|
:global(:scope[hidden]:where([data-hn-ui-form-field])) {
|
|
280
|
-
display: none;
|
|
280
|
+
display: none !important;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
</style>
|
package/vue/UiGrid.vue
CHANGED
|
@@ -144,8 +144,8 @@ const hostState = computed(() =>
|
|
|
144
144
|
:global(:scope:where([data-hn-ui-grid])) {
|
|
145
145
|
--_grid-gap: var(--ui-space-4);
|
|
146
146
|
--_grid-min: 12rem;
|
|
147
|
-
display: grid;
|
|
148
|
-
gap: var(--ui-grid-gap, var(--_grid-gap));
|
|
147
|
+
display: grid !important;
|
|
148
|
+
gap: var(--ui-grid-gap, var(--_grid-gap)) !important;
|
|
149
149
|
grid-template-columns:
|
|
150
150
|
repeat(
|
|
151
151
|
auto-fit,
|
|
@@ -171,7 +171,7 @@ const hostState = computed(() =>
|
|
|
171
171
|
);
|
|
172
172
|
min-inline-size: 0;
|
|
173
173
|
max-inline-size: 100%;
|
|
174
|
-
margin: 0;
|
|
174
|
+
margin: 0 !important;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
:global(:scope[data-ui-grid-state~="gap=xs"]:where([data-hn-ui-grid])) {
|
|
@@ -196,7 +196,7 @@ const hostState = computed(() =>
|
|
|
196
196
|
--_grid-min: 20rem;
|
|
197
197
|
}
|
|
198
198
|
:global(:scope[hidden]:where([data-hn-ui-grid])) {
|
|
199
|
-
display: none;
|
|
199
|
+
display: none !important;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
202
|
</style>
|
package/vue/UiIcon.vue
CHANGED
|
@@ -359,6 +359,10 @@ const shapes: ReturnType<typeof inputComputed<any>> = inputComputed<any>(
|
|
|
359
359
|
tag: 'path',
|
|
360
360
|
d: 'M3 9h18',
|
|
361
361
|
}],
|
|
362
|
+
paperclip: [{
|
|
363
|
+
tag: 'path',
|
|
364
|
+
d: 'm16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551',
|
|
365
|
+
}],
|
|
362
366
|
pencil: [{
|
|
363
367
|
tag: 'path',
|
|
364
368
|
d: 'M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z',
|
|
@@ -570,7 +574,7 @@ const hostState = computed(() =>
|
|
|
570
574
|
sizes the icons it renders sets --_ui-default-icon-*, which the icon's own hooks override. */
|
|
571
575
|
--_ui-icon-stroke-width: var(--ui-icon-stroke-width, var(--_ui-default-icon-stroke-width));
|
|
572
576
|
|
|
573
|
-
display: inline-flex;
|
|
577
|
+
display: inline-flex !important;
|
|
574
578
|
flex: none;
|
|
575
579
|
inline-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
576
580
|
block-size: var(--ui-icon-size, var(--_ui-default-icon-size, 1em));
|
|
@@ -590,7 +594,7 @@ const hostState = computed(() =>
|
|
|
590
594
|
stroke-width: var(--_ui-icon-stroke-width, 2);
|
|
591
595
|
}
|
|
592
596
|
:global(:scope[hidden]) {
|
|
593
|
-
display: none;
|
|
597
|
+
display: none !important;
|
|
594
598
|
}
|
|
595
599
|
}
|
|
596
600
|
</style>
|
package/vue/UiIconButton.vue
CHANGED
|
@@ -88,7 +88,7 @@ const propValidityContract = {
|
|
|
88
88
|
required: false,
|
|
89
89
|
target: { attribute: 'revealed' },
|
|
90
90
|
description:
|
|
91
|
-
'Keeps an anticipatory button visible while its context is active, such as a selected block or an open popup. It does not imply a pressed or expanded
|
|
91
|
+
'Keeps an anticipatory button visible while its context is active, such as a selected block or an open popup. It does not imply a pressed or expanded\n state.',
|
|
92
92
|
default: false,
|
|
93
93
|
},
|
|
94
94
|
round: {
|
|
@@ -526,7 +526,7 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
526
526
|
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
527
527
|
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
528
528
|
|
|
529
|
-
display: inline-flex;
|
|
529
|
+
display: inline-flex !important;
|
|
530
530
|
color: var(--ui-text-secondary);
|
|
531
531
|
}
|
|
532
532
|
|
|
@@ -616,22 +616,22 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
616
616
|
block-size: var(--ui-icon-button-size, var(--_size));
|
|
617
617
|
min-inline-size: var(--ui-icon-button-size, var(--_size));
|
|
618
618
|
min-block-size: var(--ui-icon-button-size, var(--_size));
|
|
619
|
-
padding: 0;
|
|
620
|
-
margin: 0;
|
|
619
|
+
padding: 0 !important;
|
|
620
|
+
margin: 0 !important;
|
|
621
621
|
border: var(--ui-border-width) solid transparent;
|
|
622
622
|
border-radius: var(--ui-icon-button-radius, var(--ui-action-radius, var(--ui-radius-md)));
|
|
623
623
|
background-color: var(--ui-icon-button-surface, transparent);
|
|
624
624
|
color: inherit;
|
|
625
|
-
display: inline-flex;
|
|
626
|
-
align-items: center;
|
|
627
|
-
justify-content: center;
|
|
625
|
+
display: inline-flex !important;
|
|
626
|
+
align-items: center !important;
|
|
627
|
+
justify-content: center !important;
|
|
628
628
|
cursor: pointer;
|
|
629
629
|
transition:
|
|
630
630
|
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
631
631
|
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
632
632
|
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
633
633
|
box-shadow var(--ui-motion-base) var(--ui-motion-ease),
|
|
634
|
-
scale var(--ui-motion-fast) var(--ui-motion-ease);
|
|
634
|
+
scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
635
635
|
}
|
|
636
636
|
|
|
637
637
|
@media (hover: none), (pointer: coarse) {
|
|
@@ -793,7 +793,7 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
793
793
|
}
|
|
794
794
|
|
|
795
795
|
:global(:scope:active:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button])) {
|
|
796
|
-
scale: var(--ui-icon-button-active-scale, 0.96);
|
|
796
|
+
scale: var(--ui-icon-button-active-scale, var(--ui-press-scale, 0.96));
|
|
797
797
|
}
|
|
798
798
|
|
|
799
799
|
:global(:is(:scope[data-ui-icon-button-state~="loading"], :scope[data-ui-icon-button-state~="pending"]):where([data-hn-ui-icon-button])) {
|
|
@@ -801,14 +801,14 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
801
801
|
}
|
|
802
802
|
|
|
803
803
|
:global(.content:where([data-hn-ui-icon-button])) {
|
|
804
|
-
display: inline-flex;
|
|
805
|
-
align-items: center;
|
|
806
|
-
justify-content: center;
|
|
804
|
+
display: inline-flex !important;
|
|
805
|
+
align-items: center !important;
|
|
806
|
+
justify-content: center !important;
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
:global(:is(:scope[data-ui-icon-button-state~="loading"], :scope[data-ui-icon-button-state~="pending"])
|
|
810
810
|
.content:where([data-hn-ui-icon-button])) {
|
|
811
|
-
display: none;
|
|
811
|
+
display: none !important;
|
|
812
812
|
}
|
|
813
813
|
|
|
814
814
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -893,7 +893,7 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
893
893
|
stroke-width: var(--_ui-icon-button-icon-stroke-width, 1.75);
|
|
894
894
|
}
|
|
895
895
|
:global(:scope[hidden]:where([data-hn-ui-icon-button])) {
|
|
896
|
-
display: none;
|
|
896
|
+
display: none !important;
|
|
897
897
|
}
|
|
898
898
|
}
|
|
899
899
|
</style>
|
package/vue/UiImage.vue
CHANGED
|
@@ -307,24 +307,24 @@ useComponentHost(() => import('../components/ui-image/ui-image.js'), {
|
|
|
307
307
|
<style scoped>
|
|
308
308
|
@scope (.ui-image) to ([data-hn]) {
|
|
309
309
|
:global(:scope:where([data-hn-ui-image])) {
|
|
310
|
-
display: flex;
|
|
311
|
-
justify-content: flex-start;
|
|
312
|
-
box-sizing: border-box;
|
|
310
|
+
display: flex !important;
|
|
311
|
+
justify-content: flex-start !important;
|
|
312
|
+
box-sizing: border-box !important;
|
|
313
313
|
max-inline-size: 100%;
|
|
314
314
|
min-inline-size: 0;
|
|
315
|
-
margin: 0;
|
|
316
|
-
padding: var(--ui-space-3) 0;
|
|
315
|
+
margin: 0 !important;
|
|
316
|
+
padding: var(--ui-space-3) 0 !important;
|
|
317
317
|
}
|
|
318
318
|
:global(:scope[data-ui-image-state~="placement=center"]:where([data-hn-ui-image])) {
|
|
319
|
-
justify-content: center;
|
|
319
|
+
justify-content: center !important;
|
|
320
320
|
}
|
|
321
321
|
:global(:scope[data-ui-image-state~="placement=wrap-left"]:where([data-hn-ui-image])) {
|
|
322
322
|
float: left;
|
|
323
|
-
padding-inline-end: var(--ui-space-4);
|
|
323
|
+
padding-inline-end: var(--ui-space-4) !important;
|
|
324
324
|
}
|
|
325
325
|
:global(:scope[data-ui-image-state~="placement=wrap-right"]:where([data-hn-ui-image])) {
|
|
326
326
|
float: right;
|
|
327
|
-
padding-inline-start: var(--ui-space-4);
|
|
327
|
+
padding-inline-start: var(--ui-space-4) !important;
|
|
328
328
|
}
|
|
329
329
|
:global(:scope:is(:scope[data-ui-image-state~="placement=wrap-left"], :scope[data-ui-image-state~="placement=wrap-right"]):where([data-hn-ui-image])) {
|
|
330
330
|
inline-size: calc(var(--_ui-image-width, calc(100% / 3)) + var(--ui-space-4));
|
|
@@ -352,10 +352,10 @@ useComponentHost(() => import('../components/ui-image/ui-image.js'), {
|
|
|
352
352
|
}
|
|
353
353
|
:global(.frame img:where([data-hn-ui-image])),
|
|
354
354
|
:global(.frame :where(:not([data-hn-ui-image])):is(img)) {
|
|
355
|
-
display: block;
|
|
355
|
+
display: block !important;
|
|
356
356
|
max-inline-size: 100%;
|
|
357
357
|
block-size: auto;
|
|
358
|
-
margin: 0;
|
|
358
|
+
margin: 0 !important;
|
|
359
359
|
border-radius: inherit;
|
|
360
360
|
}
|
|
361
361
|
:global(:scope[data-resizing] .frame img:where([data-hn-ui-image])),
|
|
@@ -371,7 +371,7 @@ useComponentHost(() => import('../components/ui-image/ui-image.js'), {
|
|
|
371
371
|
z-index: 1;
|
|
372
372
|
inline-size: 24px;
|
|
373
373
|
block-size: 24px;
|
|
374
|
-
padding: 0;
|
|
374
|
+
padding: 0 !important;
|
|
375
375
|
border: 0;
|
|
376
376
|
background: transparent;
|
|
377
377
|
touch-action: none;
|
|
@@ -410,17 +410,17 @@ useComponentHost(() => import('../components/ui-image/ui-image.js'), {
|
|
|
410
410
|
}
|
|
411
411
|
:global(.handles[hidden]:where([data-hn-ui-image])),
|
|
412
412
|
:global(:scope[hidden]:where([data-hn-ui-image])) {
|
|
413
|
-
display: none;
|
|
413
|
+
display: none !important;
|
|
414
414
|
}
|
|
415
415
|
@media (max-width: 767px) {
|
|
416
416
|
:global(:scope:is(:scope[data-ui-image-state~="placement=wrap-left"], :scope[data-ui-image-state~="placement=wrap-right"]):where([data-hn-ui-image])) {
|
|
417
417
|
float: none;
|
|
418
418
|
inline-size: 100%;
|
|
419
|
-
padding-inline: 0;
|
|
419
|
+
padding-inline: 0 !important;
|
|
420
420
|
}
|
|
421
421
|
:global(:scope:is(:scope[data-ui-image-state~="placement=wrap-left"], :scope[data-ui-image-state~="placement=wrap-right"])
|
|
422
422
|
.handles:where([data-hn-ui-image])) {
|
|
423
|
-
display: none;
|
|
423
|
+
display: none !important;
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
426
|
@media (pointer: coarse) {
|
package/vue/UiInput.vue
CHANGED
|
@@ -556,18 +556,19 @@ useComponentHost(() => import('../components/ui-input/ui-input.js'), {
|
|
|
556
556
|
|
|
557
557
|
@scope (.ui-input) to ([data-hn]) {
|
|
558
558
|
:global(:scope) {
|
|
559
|
-
box-sizing: border-box;
|
|
560
|
-
display: inline-block;
|
|
559
|
+
box-sizing: border-box !important;
|
|
560
|
+
display: inline-block !important;
|
|
561
561
|
inline-size: var(--ui-input-inline-size, 100%);
|
|
562
562
|
min-inline-size: 0;
|
|
563
563
|
min-block-size: var(
|
|
564
564
|
--ui-input-min-block-size,
|
|
565
565
|
var(--_ui-default-input-min-block-size, var(--ui-control-size-md))
|
|
566
566
|
);
|
|
567
|
-
margin: 0;
|
|
568
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
567
|
+
margin: 0 !important;
|
|
568
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-space-3) !important;
|
|
569
569
|
appearance: none;
|
|
570
|
-
padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3))
|
|
570
|
+
padding-inline-start: var(--_ui-default-input-padding-inline-start, var(--ui-space-3))
|
|
571
|
+
!important;
|
|
571
572
|
border: var(
|
|
572
573
|
--ui-input-border-width,
|
|
573
574
|
var(--_ui-default-input-border-width, var(--ui-border-width))
|
|
@@ -598,7 +599,7 @@ useComponentHost(() => import('../components/ui-input/ui-input.js'), {
|
|
|
598
599
|
--ui-input-min-block-size,
|
|
599
600
|
var(--_ui-default-input-min-block-size, var(--ui-control-size-sm))
|
|
600
601
|
);
|
|
601
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
602
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-space-2) !important;
|
|
602
603
|
font-size: var(--ui-font-size-sm);
|
|
603
604
|
}
|
|
604
605
|
|
|
@@ -607,7 +608,7 @@ useComponentHost(() => import('../components/ui-input/ui-input.js'), {
|
|
|
607
608
|
--ui-input-min-block-size,
|
|
608
609
|
var(--_ui-default-input-min-block-size, var(--ui-control-size-lg))
|
|
609
610
|
);
|
|
610
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
611
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-space-4) !important;
|
|
611
612
|
font-size: var(--ui-font-size-md);
|
|
612
613
|
}
|
|
613
614
|
@media (pointer: coarse) {
|
|
@@ -707,7 +708,7 @@ useComponentHost(() => import('../components/ui-input/ui-input.js'), {
|
|
|
707
708
|
}
|
|
708
709
|
}
|
|
709
710
|
:global(:scope[hidden]) {
|
|
710
|
-
display: none;
|
|
711
|
+
display: none !important;
|
|
711
712
|
}
|
|
712
713
|
}
|
|
713
714
|
</style>
|
package/vue/UiInputGroup.vue
CHANGED
|
@@ -291,9 +291,9 @@ useComponentHost(() => import('../components/ui-input-group/ui-input-group.js'),
|
|
|
291
291
|
--_ui-default-textarea-radius: 0;
|
|
292
292
|
--_ui-default-textarea-surface: transparent;
|
|
293
293
|
|
|
294
|
-
display: flex;
|
|
295
|
-
align-items: stretch;
|
|
296
|
-
box-sizing: border-box;
|
|
294
|
+
display: flex !important;
|
|
295
|
+
align-items: stretch !important;
|
|
296
|
+
box-sizing: border-box !important;
|
|
297
297
|
inline-size: 100%;
|
|
298
298
|
min-inline-size: 0;
|
|
299
299
|
min-block-size: var(--ui-control-size-md);
|
|
@@ -376,16 +376,16 @@ useComponentHost(() => import('../components/ui-input-group/ui-input-group.js'),
|
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
:global(.field:where([data-hn-ui-input-group])) {
|
|
379
|
-
display: flex;
|
|
379
|
+
display: flex !important;
|
|
380
380
|
flex: 1;
|
|
381
381
|
min-inline-size: 0;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
:global(.affix:where([data-hn-ui-input-group])) {
|
|
385
|
-
display: inline-flex;
|
|
385
|
+
display: inline-flex !important;
|
|
386
386
|
flex: none;
|
|
387
|
-
align-items: center;
|
|
388
|
-
padding-inline: var(--ui-space-2);
|
|
387
|
+
align-items: center !important;
|
|
388
|
+
padding-inline: var(--ui-space-2) !important;
|
|
389
389
|
color: var(--ui-text-muted);
|
|
390
390
|
font-family: var(--ui-font-family-mono);
|
|
391
391
|
font-size: var(--ui-font-size-sm);
|
|
@@ -409,18 +409,18 @@ useComponentHost(() => import('../components/ui-input-group/ui-input-group.js'),
|
|
|
409
409
|
}
|
|
410
410
|
:global(:scope[data-ui-input-group-state~="prefixKind=icon"]
|
|
411
411
|
.affix:first-child:where([data-hn-ui-input-group])) {
|
|
412
|
-
padding-inline-end: 0;
|
|
412
|
+
padding-inline-end: 0 !important;
|
|
413
413
|
border-inline-end: 0;
|
|
414
414
|
background: transparent;
|
|
415
415
|
}
|
|
416
416
|
:global(.action:where([data-hn-ui-input-group])) {
|
|
417
|
-
display: flex;
|
|
417
|
+
display: flex !important;
|
|
418
418
|
flex: none;
|
|
419
|
-
align-items: center;
|
|
420
|
-
padding-inline: var(--ui-space-1);
|
|
419
|
+
align-items: center !important;
|
|
420
|
+
padding-inline: var(--ui-space-1) !important;
|
|
421
421
|
}
|
|
422
422
|
:global(:scope[data-ui-input-group-state~="multiline"]:where([data-hn-ui-input-group])) {
|
|
423
|
-
display: grid;
|
|
423
|
+
display: grid !important;
|
|
424
424
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
425
425
|
}
|
|
426
426
|
|
|
@@ -430,9 +430,9 @@ useComponentHost(() => import('../components/ui-input-group/ui-input-group.js'),
|
|
|
430
430
|
|
|
431
431
|
:global(:scope[data-ui-input-group-state~="multiline"] .action:where([data-hn-ui-input-group])) {
|
|
432
432
|
grid-column: 1 / -1;
|
|
433
|
-
justify-content: end;
|
|
434
|
-
padding: var(--ui-space-2);
|
|
435
|
-
padding-block-start: 0;
|
|
433
|
+
justify-content: end !important;
|
|
434
|
+
padding: var(--ui-space-2) !important;
|
|
435
|
+
padding-block-start: 0 !important;
|
|
436
436
|
}
|
|
437
437
|
:global(:scope[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"]:where([data-hn-ui-input-group])) {
|
|
438
438
|
--_ui-default-textarea-padding-inline-end: calc(
|
|
@@ -451,15 +451,15 @@ useComponentHost(() => import('../components/ui-input-group/ui-input-group.js'),
|
|
|
451
451
|
grid-row: 1;
|
|
452
452
|
align-self: start;
|
|
453
453
|
justify-self: end;
|
|
454
|
-
padding: var(--ui-space-2);
|
|
454
|
+
padding: var(--ui-space-2) !important;
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
:global(.affix:empty:where([data-hn-ui-input-group])),
|
|
458
458
|
:global(.action:empty:where([data-hn-ui-input-group])) {
|
|
459
|
-
display: none;
|
|
459
|
+
display: none !important;
|
|
460
460
|
}
|
|
461
461
|
:global(:scope[hidden]:where([data-hn-ui-input-group])) {
|
|
462
|
-
display: none;
|
|
462
|
+
display: none !important;
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
</style>
|
package/vue/UiList.vue
CHANGED
|
@@ -207,19 +207,19 @@ const hostState = computed(() =>
|
|
|
207
207
|
:global(:scope:where([data-hn-ui-list])) {
|
|
208
208
|
--_list-gap: var(--ui-list-gap, var(--ui-space-1));
|
|
209
209
|
--_list-min-item-width: var(--ui-list-min-item-width, 14rem);
|
|
210
|
-
display: flex;
|
|
211
|
-
flex-direction: column;
|
|
210
|
+
display: flex !important;
|
|
211
|
+
flex-direction: column !important;
|
|
212
212
|
inline-size: 100%;
|
|
213
|
-
gap: var(--_list-gap);
|
|
213
|
+
gap: var(--_list-gap) !important;
|
|
214
214
|
min-inline-size: 0;
|
|
215
|
-
margin: 0;
|
|
216
|
-
padding: 0;
|
|
215
|
+
margin: 0 !important;
|
|
216
|
+
padding: 0 !important;
|
|
217
217
|
list-style: none;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
:global(:scope[data-ui-list-state~="as=ol"]:where([data-hn-ui-list])),
|
|
221
221
|
:global(:scope[data-ui-list-state~="markers=disc"]:where([data-hn-ui-list])) {
|
|
222
|
-
padding-inline-start: var(--ui-space-5);
|
|
222
|
+
padding-inline-start: var(--ui-space-5) !important;
|
|
223
223
|
}
|
|
224
224
|
|
|
225
225
|
:global(:scope[data-ui-list-state~="as=ol"]:where([data-hn-ui-list])) {
|
|
@@ -231,10 +231,10 @@ const hostState = computed(() =>
|
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
:global(:scope > :where(:not([data-hn-ui-list])):is(li)) {
|
|
234
|
-
box-sizing: border-box;
|
|
234
|
+
box-sizing: border-box !important;
|
|
235
235
|
min-inline-size: 0;
|
|
236
236
|
padding: var(--_ui-list-native-padding-block, var(--ui-space-2))
|
|
237
|
-
var(--_ui-list-native-padding-inline, var(--ui-space-3));
|
|
237
|
+
var(--_ui-list-native-padding-inline, var(--ui-space-3)) !important;
|
|
238
238
|
border-radius: var(--ui-radius-md);
|
|
239
239
|
color: var(--ui-text-primary);
|
|
240
240
|
list-style: inherit;
|
|
@@ -242,7 +242,7 @@ const hostState = computed(() =>
|
|
|
242
242
|
|
|
243
243
|
:global(:scope > :where(:not([data-hn-ui-list])):is(li.card)) {
|
|
244
244
|
padding: var(--_ui-list-native-padding-block, var(--ui-space-3))
|
|
245
|
-
var(--_ui-list-native-padding-inline, var(--ui-space-4));
|
|
245
|
+
var(--_ui-list-native-padding-inline, var(--ui-space-4)) !important;
|
|
246
246
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
247
247
|
border-radius: var(--ui-radius-lg);
|
|
248
248
|
background: var(--ui-surface-raised);
|
|
@@ -260,11 +260,11 @@ const hostState = computed(() =>
|
|
|
260
260
|
|
|
261
261
|
:global(:scope[data-ui-list-state~="layout=grid"]:where([data-hn-ui-list])) {
|
|
262
262
|
--_list-gap: var(--ui-list-gap, var(--ui-space-3));
|
|
263
|
-
display: grid;
|
|
263
|
+
display: grid !important;
|
|
264
264
|
grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--_list-min-item-width)), 1fr));
|
|
265
265
|
}
|
|
266
266
|
:global(:scope[hidden]:where([data-hn-ui-list])) {
|
|
267
|
-
display: none;
|
|
267
|
+
display: none !important;
|
|
268
268
|
}
|
|
269
269
|
}
|
|
270
270
|
</style>
|
package/vue/UiListItem.vue
CHANGED
|
@@ -262,20 +262,20 @@ const hostState = computed(() =>
|
|
|
262
262
|
--_ui-list-item-icon-size: var(--ui-list-item-icon-size);
|
|
263
263
|
|
|
264
264
|
position: relative;
|
|
265
|
-
box-sizing: border-box;
|
|
266
|
-
display: flex;
|
|
267
|
-
align-items: center;
|
|
268
|
-
gap: var(--ui-list-item-gap, var(--ui-space-3));
|
|
265
|
+
box-sizing: border-box !important;
|
|
266
|
+
display: flex !important;
|
|
267
|
+
align-items: center !important;
|
|
268
|
+
gap: var(--ui-list-item-gap, var(--ui-space-3)) !important;
|
|
269
269
|
min-inline-size: 0;
|
|
270
270
|
min-block-size: var(--_ui-list-item-min-size, var(--ui-control-size, 2.5rem));
|
|
271
271
|
padding-block: var(
|
|
272
272
|
--ui-list-item-padding-block,
|
|
273
273
|
var(--_ui-list-item-padding-block, var(--ui-space-2))
|
|
274
|
-
);
|
|
274
|
+
) !important;
|
|
275
275
|
padding-inline: var(
|
|
276
276
|
--ui-list-item-padding-inline,
|
|
277
277
|
var(--_ui-list-item-padding-inline, var(--ui-space-3))
|
|
278
|
-
);
|
|
278
|
+
) !important;
|
|
279
279
|
border-radius: var(--ui-selection-radius);
|
|
280
280
|
color: var(--ui-text-primary);
|
|
281
281
|
transition:
|
|
@@ -284,8 +284,8 @@ const hostState = computed(() =>
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
:global(:scope[data-ui-list-item-state~="variant=card"]:where([data-hn-ui-list-item])) {
|
|
287
|
-
padding-block: var(--ui-list-item-padding-block, var(--ui-space-3));
|
|
288
|
-
padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4));
|
|
287
|
+
padding-block: var(--ui-list-item-padding-block, var(--ui-space-3)) !important;
|
|
288
|
+
padding-inline: var(--ui-list-item-padding-inline, var(--ui-space-4)) !important;
|
|
289
289
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
290
290
|
border-radius: var(--ui-radius-lg);
|
|
291
291
|
background: var(--ui-surface-raised);
|
|
@@ -317,10 +317,10 @@ const hostState = computed(() =>
|
|
|
317
317
|
|
|
318
318
|
:global(.leading:where([data-hn-ui-list-item])),
|
|
319
319
|
:global(.trailing:where([data-hn-ui-list-item])) {
|
|
320
|
-
display: inline-flex;
|
|
320
|
+
display: inline-flex !important;
|
|
321
321
|
flex: none;
|
|
322
|
-
align-items: center;
|
|
323
|
-
gap: var(--ui-space-2);
|
|
322
|
+
align-items: center !important;
|
|
323
|
+
gap: var(--ui-space-2) !important;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
:global(.leading:where([data-hn-ui-list-item])) {
|
|
@@ -344,16 +344,16 @@ const hostState = computed(() =>
|
|
|
344
344
|
}
|
|
345
345
|
|
|
346
346
|
:global(.content:where([data-hn-ui-list-item])) {
|
|
347
|
-
display: flex;
|
|
347
|
+
display: flex !important;
|
|
348
348
|
flex: 1;
|
|
349
|
-
flex-direction: column;
|
|
350
|
-
gap: var(--ui-space-0-5, 2px);
|
|
349
|
+
flex-direction: column !important;
|
|
350
|
+
gap: var(--ui-space-0-5, 2px) !important;
|
|
351
351
|
min-inline-size: 0;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
:global(.title:where([data-hn-ui-list-item])),
|
|
355
355
|
:global(.description:where([data-hn-ui-list-item])) {
|
|
356
|
-
display: block;
|
|
356
|
+
display: block !important;
|
|
357
357
|
min-inline-size: 0;
|
|
358
358
|
overflow: hidden;
|
|
359
359
|
text-overflow: ellipsis;
|
|
@@ -372,7 +372,7 @@ const hostState = computed(() =>
|
|
|
372
372
|
line-height: var(--ui-line-height-tight);
|
|
373
373
|
}
|
|
374
374
|
:global(:scope[data-ui-list-item-state~="align=title"]:where([data-hn-ui-list-item])) {
|
|
375
|
-
align-items: flex-start;
|
|
375
|
+
align-items: flex-start !important;
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
:global(:scope[data-ui-list-item-state~="align=title"] .leading:where([data-hn-ui-list-item])),
|
|
@@ -405,7 +405,7 @@ const hostState = computed(() =>
|
|
|
405
405
|
:global(.leading:empty:where([data-hn-ui-list-item])),
|
|
406
406
|
:global(.description:empty:where([data-hn-ui-list-item])),
|
|
407
407
|
:global(.trailing:empty:where([data-hn-ui-list-item])) {
|
|
408
|
-
display: none;
|
|
408
|
+
display: none !important;
|
|
409
409
|
}
|
|
410
410
|
|
|
411
411
|
@media (forced-colors: active) {
|
|
@@ -419,7 +419,7 @@ const hostState = computed(() =>
|
|
|
419
419
|
}
|
|
420
420
|
}
|
|
421
421
|
:global(:scope[hidden]:where([data-hn-ui-list-item])) {
|
|
422
|
-
display: none;
|
|
422
|
+
display: none !important;
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
</style>
|