@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/UiBadge.vue
CHANGED
|
@@ -51,7 +51,7 @@ const propValidityContract = {
|
|
|
51
51
|
required: false,
|
|
52
52
|
target: { attribute: 'variant' },
|
|
53
53
|
description:
|
|
54
|
-
'Emphasis. subtle sets toned text over a soft wash; solid fills with the tone and uses contrasting text; outline keeps the surface with a toned edge.\n inverse uses a translucent contrasting surface and toned ink for a count or label on a filled control of that tone. Neutral looks the same in solid and\n subtle. overlay inherits the containing filled control\'s text colour on a faint translucent fill, with a quiet single-pixel boundary and no shadow. Its
|
|
54
|
+
'Emphasis. subtle sets toned text over a soft wash; solid fills with the tone and uses contrasting text; outline keeps the surface with a toned edge.\n inverse uses a translucent contrasting surface and toned ink for a count or label on a filled control of that tone. Neutral looks the same in solid and\n subtle. overlay inherits the containing filled control\'s text colour on a faint translucent fill, with a quiet single-pixel boundary and no shadow. Its\n small circle is 20px. When space is constrained, the label truncates with an ellipsis while its full text remains available.',
|
|
55
55
|
values: ['solid', 'subtle', 'outline', 'inverse', 'overlay'],
|
|
56
56
|
default: 'subtle',
|
|
57
57
|
},
|
|
@@ -298,15 +298,15 @@ const hostState = computed(() =>
|
|
|
298
298
|
var(--_badge-color-surface, var(--_badge-surface))
|
|
299
299
|
);
|
|
300
300
|
|
|
301
|
-
display: inline-flex;
|
|
302
|
-
align-items: center;
|
|
303
|
-
justify-content: center;
|
|
304
|
-
gap: var(--ui-space-1);
|
|
305
|
-
box-sizing: border-box;
|
|
301
|
+
display: inline-flex !important;
|
|
302
|
+
align-items: center !important;
|
|
303
|
+
justify-content: center !important;
|
|
304
|
+
gap: var(--ui-space-1) !important;
|
|
305
|
+
box-sizing: border-box !important;
|
|
306
306
|
min-inline-size: 0;
|
|
307
307
|
max-inline-size: 100%;
|
|
308
308
|
padding: var(--ui-badge-padding-block, var(--ui-space-0-5))
|
|
309
|
-
var(--ui-badge-padding-inline, var(--ui-space-2));
|
|
309
|
+
var(--ui-badge-padding-inline, var(--ui-space-2)) !important;
|
|
310
310
|
border: var(--ui-border-width) solid
|
|
311
311
|
var(--ui-badge-border, var(--_badge-color-border, var(--_badge-border)));
|
|
312
312
|
border-radius: var(--ui-radius-round);
|
|
@@ -319,28 +319,28 @@ const hostState = computed(() =>
|
|
|
319
319
|
white-space: nowrap;
|
|
320
320
|
}
|
|
321
321
|
:global(.label:where([data-hn-ui-badge])) {
|
|
322
|
-
display: block;
|
|
322
|
+
display: block !important;
|
|
323
323
|
min-inline-size: 0;
|
|
324
324
|
overflow: hidden;
|
|
325
325
|
text-overflow: ellipsis;
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
:global(.label:empty:where([data-hn-ui-badge])) {
|
|
329
|
-
display: none;
|
|
329
|
+
display: none !important;
|
|
330
330
|
}
|
|
331
331
|
:global(.icon:where([data-hn-ui-badge])) {
|
|
332
|
-
display: inline-flex;
|
|
333
|
-
align-items: center;
|
|
334
|
-
justify-content: center;
|
|
332
|
+
display: inline-flex !important;
|
|
333
|
+
align-items: center !important;
|
|
334
|
+
justify-content: center !important;
|
|
335
335
|
flex: none;
|
|
336
336
|
}
|
|
337
337
|
|
|
338
338
|
:global(.icon:empty:where([data-hn-ui-badge])) {
|
|
339
|
-
display: none;
|
|
339
|
+
display: none !important;
|
|
340
340
|
}
|
|
341
341
|
|
|
342
342
|
:global(.icon :where(:not([data-hn-ui-badge])):is(svg)) {
|
|
343
|
-
display: block;
|
|
343
|
+
display: block !important;
|
|
344
344
|
inline-size: 1em;
|
|
345
345
|
block-size: 1em;
|
|
346
346
|
flex: none;
|
|
@@ -349,7 +349,7 @@ const hostState = computed(() =>
|
|
|
349
349
|
inline-size: 1em;
|
|
350
350
|
block-size: 1em;
|
|
351
351
|
vertical-align: middle;
|
|
352
|
-
margin-inline-end: var(--ui-space-1);
|
|
352
|
+
margin-inline-end: var(--ui-space-1) !important;
|
|
353
353
|
}
|
|
354
354
|
|
|
355
355
|
:global(.label:has(svg):where([data-hn-ui-badge])) {
|
|
@@ -357,15 +357,15 @@ const hostState = computed(() =>
|
|
|
357
357
|
}
|
|
358
358
|
@supports (text-box-trim: trim-both) {
|
|
359
359
|
:global(:scope:where([data-hn-ui-badge])) {
|
|
360
|
-
display: inline-block;
|
|
360
|
+
display: inline-block !important;
|
|
361
361
|
min-block-size: var(--ui-badge-min-block-size, 1.5rem);
|
|
362
362
|
text-align: center;
|
|
363
|
-
align-content: center;
|
|
363
|
+
align-content: center !important;
|
|
364
364
|
text-box-trim: none;
|
|
365
365
|
}
|
|
366
366
|
:global(:scope:has(.icon:not(:empty)):where([data-hn-ui-badge])),
|
|
367
367
|
:global(:scope:has(.label svg):where([data-hn-ui-badge])) {
|
|
368
|
-
display: inline-flex;
|
|
368
|
+
display: inline-flex !important;
|
|
369
369
|
text-box-trim: none;
|
|
370
370
|
}
|
|
371
371
|
:global(.label:not(:has(svg)):where([data-hn-ui-badge])) {
|
|
@@ -377,12 +377,13 @@ const hostState = computed(() =>
|
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
:global(:scope[data-ui-badge-state~="size=xs"]:where([data-hn-ui-badge])) {
|
|
380
|
-
box-sizing: border-box;
|
|
380
|
+
box-sizing: border-box !important;
|
|
381
381
|
min-inline-size: 1rem;
|
|
382
382
|
min-block-size: var(--ui-badge-min-block-size, 1rem);
|
|
383
383
|
/* Compact text still needs room at both rounded edges. Fixed marks override this
|
|
384
384
|
padding below; ordinary text badges retain their larger spacing. */
|
|
385
|
-
padding: var(--ui-badge-padding-block, 0) var(--ui-badge-padding-inline, var(--ui-space-1))
|
|
385
|
+
padding: var(--ui-badge-padding-block, 0) var(--ui-badge-padding-inline, var(--ui-space-1))
|
|
386
|
+
!important;
|
|
386
387
|
font-size: var(--ui-badge-font-size, var(--ui-font-size-2xs));
|
|
387
388
|
line-height: var(--ui-badge-line-height, 1);
|
|
388
389
|
}
|
|
@@ -595,14 +596,14 @@ const hostState = computed(() =>
|
|
|
595
596
|
}
|
|
596
597
|
:global(:scope[data-ui-badge-state~="shape=square"]:where([data-hn-ui-badge])) {
|
|
597
598
|
--_badge-square-size: var(--ui-badge-square-size, calc(var(--ui-space-4) * 2));
|
|
598
|
-
display: inline-flex;
|
|
599
|
-
box-sizing: border-box;
|
|
599
|
+
display: inline-flex !important;
|
|
600
|
+
box-sizing: border-box !important;
|
|
600
601
|
flex: none;
|
|
601
602
|
inline-size: var(--_badge-square-size);
|
|
602
603
|
block-size: var(--_badge-square-size);
|
|
603
604
|
min-inline-size: var(--_badge-square-size);
|
|
604
605
|
min-block-size: var(--_badge-square-size);
|
|
605
|
-
padding: 0;
|
|
606
|
+
padding: 0 !important;
|
|
606
607
|
border-radius: var(--ui-radius-md);
|
|
607
608
|
text-box-trim: none;
|
|
608
609
|
}
|
|
@@ -619,29 +620,29 @@ const hostState = computed(() =>
|
|
|
619
620
|
}
|
|
620
621
|
|
|
621
622
|
:global(:scope[data-ui-badge-state~="shape=square"] .label:where([data-hn-ui-badge])) {
|
|
622
|
-
display: inline-flex;
|
|
623
|
-
align-items: center;
|
|
624
|
-
justify-content: center;
|
|
623
|
+
display: inline-flex !important;
|
|
624
|
+
align-items: center !important;
|
|
625
|
+
justify-content: center !important;
|
|
625
626
|
}
|
|
626
627
|
|
|
627
628
|
:global(:scope[data-ui-badge-state~="shape=square"]
|
|
628
629
|
.label
|
|
629
630
|
:where(:not([data-hn-ui-badge])):is(svg)) {
|
|
630
|
-
margin-inline-end: 0;
|
|
631
|
+
margin-inline-end: 0 !important;
|
|
631
632
|
}
|
|
632
633
|
|
|
633
634
|
:global(:scope[data-ui-badge-state~="shape=square"] .label:empty:where([data-hn-ui-badge])) {
|
|
634
|
-
display: none;
|
|
635
|
+
display: none !important;
|
|
635
636
|
}
|
|
636
637
|
:global(:scope[data-ui-badge-state~="shape=circle"]:where([data-hn-ui-badge])) {
|
|
637
638
|
--_badge-circle-size: var(--ui-badge-circle-size, calc(var(--ui-space-3) * 2));
|
|
638
|
-
display: inline-flex;
|
|
639
|
+
display: inline-flex !important;
|
|
639
640
|
flex: none;
|
|
640
641
|
inline-size: var(--_badge-circle-size);
|
|
641
642
|
block-size: var(--_badge-circle-size);
|
|
642
643
|
min-inline-size: var(--_badge-circle-size);
|
|
643
644
|
min-block-size: var(--_badge-circle-size);
|
|
644
|
-
padding: 0;
|
|
645
|
+
padding: 0 !important;
|
|
645
646
|
border-radius: var(--ui-radius-round);
|
|
646
647
|
text-box-trim: none;
|
|
647
648
|
}
|
|
@@ -659,9 +660,9 @@ const hostState = computed(() =>
|
|
|
659
660
|
}
|
|
660
661
|
|
|
661
662
|
:global(:scope[data-ui-badge-state~="shape=circle"] .label:where([data-hn-ui-badge])) {
|
|
662
|
-
display: inline-flex;
|
|
663
|
-
align-items: center;
|
|
664
|
-
justify-content: center;
|
|
663
|
+
display: inline-flex !important;
|
|
664
|
+
align-items: center !important;
|
|
665
|
+
justify-content: center !important;
|
|
665
666
|
line-height: 1;
|
|
666
667
|
text-box-trim: none;
|
|
667
668
|
}
|
|
@@ -669,18 +670,18 @@ const hostState = computed(() =>
|
|
|
669
670
|
:global(:scope[data-ui-badge-state~="shape=circle"]
|
|
670
671
|
.label
|
|
671
672
|
:where(:not([data-hn-ui-badge])):is(svg)) {
|
|
672
|
-
margin-inline-end: 0;
|
|
673
|
+
margin-inline-end: 0 !important;
|
|
673
674
|
}
|
|
674
675
|
|
|
675
676
|
:global(:scope[data-ui-badge-state~="shape=circle"] .label:empty:where([data-hn-ui-badge])) {
|
|
676
|
-
display: none;
|
|
677
|
+
display: none !important;
|
|
677
678
|
}
|
|
678
679
|
@supports (text-box-trim: trim-both) {
|
|
679
680
|
:global(:scope[data-ui-badge-state~="shape=circle"]
|
|
680
681
|
.label:not(:has(svg)):where([data-hn-ui-badge])),
|
|
681
682
|
:global(:scope[data-ui-badge-state~="shape=square"]
|
|
682
683
|
.label:not(:has(svg)):where([data-hn-ui-badge])) {
|
|
683
|
-
display: block;
|
|
684
|
+
display: block !important;
|
|
684
685
|
text-box-trim: trim-both;
|
|
685
686
|
text-box-edge: cap alphabetic;
|
|
686
687
|
overflow: visible;
|
|
@@ -688,13 +689,13 @@ const hostState = computed(() =>
|
|
|
688
689
|
}
|
|
689
690
|
:global(:scope[data-ui-badge-state~="shape=dot"]:where([data-hn-ui-badge])) {
|
|
690
691
|
position: relative;
|
|
691
|
-
box-sizing: border-box;
|
|
692
|
+
box-sizing: border-box !important;
|
|
692
693
|
flex: none;
|
|
693
694
|
inline-size: var(--ui-badge-dot-size, var(--ui-space-2));
|
|
694
695
|
block-size: var(--ui-badge-dot-size, var(--ui-space-2));
|
|
695
696
|
min-inline-size: var(--ui-badge-dot-size, var(--ui-space-2));
|
|
696
697
|
min-block-size: var(--ui-badge-dot-size, var(--ui-space-2));
|
|
697
|
-
padding: 0;
|
|
698
|
+
padding: 0 !important;
|
|
698
699
|
border-radius: var(--ui-radius-round);
|
|
699
700
|
text-box-trim: none;
|
|
700
701
|
}
|
|
@@ -717,7 +718,7 @@ const hostState = computed(() =>
|
|
|
717
718
|
background: var(--ui-badge-border, var(--_badge-color-border, var(--_badge-border)));
|
|
718
719
|
padding-inline-end: calc(
|
|
719
720
|
var(--ui-badge-padding-inline, var(--ui-space-2)) + var(--_badge-point)
|
|
720
|
-
);
|
|
721
|
+
) !important;
|
|
721
722
|
clip-path: polygon(
|
|
722
723
|
0 0,
|
|
723
724
|
calc(100% - var(--_badge-point)) 0,
|
|
@@ -748,10 +749,10 @@ const hostState = computed(() =>
|
|
|
748
749
|
}
|
|
749
750
|
|
|
750
751
|
:global(:scope[data-ui-badge-state~="shape=tag"]:dir(rtl):where([data-hn-ui-badge])) {
|
|
751
|
-
padding-inline-end: var(--ui-badge-padding-inline, var(--ui-space-2));
|
|
752
|
+
padding-inline-end: var(--ui-badge-padding-inline, var(--ui-space-2)) !important;
|
|
752
753
|
padding-inline-start: calc(
|
|
753
754
|
var(--ui-badge-padding-inline, var(--ui-space-2)) + var(--_badge-point)
|
|
754
|
-
);
|
|
755
|
+
) !important;
|
|
755
756
|
clip-path: polygon(var(--_badge-point) 0, 100% 0, 100% 100%, var(--_badge-point) 100%, 0 50%);
|
|
756
757
|
}
|
|
757
758
|
|
|
@@ -777,7 +778,7 @@ const hostState = computed(() =>
|
|
|
777
778
|
}
|
|
778
779
|
}
|
|
779
780
|
:global(:scope[hidden]:where([data-hn-ui-badge])) {
|
|
780
|
-
display: none;
|
|
781
|
+
display: none !important;
|
|
781
782
|
}
|
|
782
783
|
}
|
|
783
784
|
</style>
|
package/vue/UiBreadcrumbItem.vue
CHANGED
|
@@ -143,34 +143,34 @@ const hostState = computed(() =>
|
|
|
143
143
|
|
|
144
144
|
@scope (.ui-breadcrumb-item) to ([data-hn]) {
|
|
145
145
|
:global(:scope:where([data-hn-ui-breadcrumb-item])) {
|
|
146
|
-
display: inline-flex;
|
|
147
|
-
align-items: center;
|
|
148
|
-
gap: var(--ui-space-2);
|
|
146
|
+
display: inline-flex !important;
|
|
147
|
+
align-items: center !important;
|
|
148
|
+
gap: var(--ui-space-2) !important;
|
|
149
149
|
min-inline-size: 0;
|
|
150
|
-
margin: 0;
|
|
150
|
+
margin: 0 !important;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
:global(.separator:where([data-hn-ui-breadcrumb-item])) {
|
|
154
|
-
display: inline-flex;
|
|
154
|
+
display: inline-flex !important;
|
|
155
155
|
color: var(--ui-text-muted);
|
|
156
156
|
font-size: var(--ui-font-size-sm);
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
:global(:scope:first-child .separator:where([data-hn-ui-breadcrumb-item])) {
|
|
160
|
-
display: none;
|
|
160
|
+
display: none !important;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
:global(.content:where([data-hn-ui-breadcrumb-item])) {
|
|
164
|
-
display: inline-flex;
|
|
165
|
-
align-items: center;
|
|
166
|
-
gap: var(--ui-space-1);
|
|
164
|
+
display: inline-flex !important;
|
|
165
|
+
align-items: center !important;
|
|
166
|
+
gap: var(--ui-space-1) !important;
|
|
167
167
|
min-inline-size: 0;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
:global(.content > :where(:not([data-hn-ui-breadcrumb-item])):is(a)) {
|
|
171
|
-
display: inline-flex;
|
|
172
|
-
align-items: center;
|
|
173
|
-
gap: var(--ui-space-1);
|
|
171
|
+
display: inline-flex !important;
|
|
172
|
+
align-items: center !important;
|
|
173
|
+
gap: var(--ui-space-1) !important;
|
|
174
174
|
color: var(--ui-text-secondary);
|
|
175
175
|
text-decoration: none;
|
|
176
176
|
}
|
|
@@ -186,7 +186,7 @@ const hostState = computed(() =>
|
|
|
186
186
|
font-weight: var(--ui-font-medium);
|
|
187
187
|
}
|
|
188
188
|
:global(:scope[hidden]:where([data-hn-ui-breadcrumb-item])) {
|
|
189
|
-
display: none;
|
|
189
|
+
display: none !important;
|
|
190
190
|
}
|
|
191
191
|
}
|
|
192
192
|
</style>
|
package/vue/UiBreadcrumbs.vue
CHANGED
|
@@ -95,23 +95,23 @@ checkHydratedRoot('nav', 'ui-breadcrumbs')
|
|
|
95
95
|
|
|
96
96
|
@scope (.ui-breadcrumbs) to ([data-hn]) {
|
|
97
97
|
:global(:scope:where([data-hn-ui-breadcrumbs])) {
|
|
98
|
-
display: block;
|
|
98
|
+
display: block !important;
|
|
99
99
|
min-inline-size: 0;
|
|
100
100
|
color: var(--ui-text-muted);
|
|
101
101
|
font-size: var(--ui-font-size-sm);
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
:global(ol:where([data-hn-ui-breadcrumbs])) {
|
|
105
|
-
display: flex;
|
|
106
|
-
flex-wrap: wrap;
|
|
107
|
-
align-items: center;
|
|
108
|
-
gap: var(--ui-space-1) var(--ui-space-2);
|
|
109
|
-
margin: 0;
|
|
110
|
-
padding: 0;
|
|
105
|
+
display: flex !important;
|
|
106
|
+
flex-wrap: wrap !important;
|
|
107
|
+
align-items: center !important;
|
|
108
|
+
gap: var(--ui-space-1) var(--ui-space-2) !important;
|
|
109
|
+
margin: 0 !important;
|
|
110
|
+
padding: 0 !important;
|
|
111
111
|
list-style: none;
|
|
112
112
|
}
|
|
113
113
|
:global(:scope[hidden]:where([data-hn-ui-breadcrumbs])) {
|
|
114
|
-
display: none;
|
|
114
|
+
display: none !important;
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
</style>
|
package/vue/UiButton.vue
CHANGED
|
@@ -122,7 +122,7 @@ const propValidityContract = {
|
|
|
122
122
|
required: false,
|
|
123
123
|
target: { attribute: 'tone' },
|
|
124
124
|
description:
|
|
125
|
-
'Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes:\n tone="danger" variant="outline" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour. The field
|
|
125
|
+
'Which colour the button speaks in. It applies to every variant, so an outline, a ghost, and a solid in the same tone are the same action at three volumes:\n tone="danger" variant="outline" is a destructive secondary action. neutral is the quiet one, for a button that should not claim a colour. The field\n variant always uses neutral field colors.',
|
|
126
126
|
values: ['accent', 'neutral', 'danger', 'success', 'warning', 'info'],
|
|
127
127
|
default: 'accent',
|
|
128
128
|
},
|
|
@@ -980,10 +980,10 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
980
980
|
--_tone-text: var(--_hue-text);
|
|
981
981
|
--_on-tone: var(--_on-hue);
|
|
982
982
|
|
|
983
|
-
display: inline-flex;
|
|
984
|
-
align-items: center;
|
|
985
|
-
justify-content: center;
|
|
986
|
-
column-gap: var(--ui-space-2);
|
|
983
|
+
display: inline-flex !important;
|
|
984
|
+
align-items: center !important;
|
|
985
|
+
justify-content: center !important;
|
|
986
|
+
column-gap: var(--ui-space-2) !important;
|
|
987
987
|
vertical-align: middle;
|
|
988
988
|
color: var(--_tone-text);
|
|
989
989
|
}
|
|
@@ -993,12 +993,12 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
993
993
|
}
|
|
994
994
|
|
|
995
995
|
:global(:scope[data-ui-button-state~="align=start"]:where([data-hn-ui-button])) {
|
|
996
|
-
justify-content: flex-start;
|
|
996
|
+
justify-content: flex-start !important;
|
|
997
997
|
text-align: start;
|
|
998
998
|
}
|
|
999
999
|
|
|
1000
1000
|
:global(:scope[data-ui-button-state~="stretch"]:where([data-hn-ui-button])) {
|
|
1001
|
-
display: flex;
|
|
1001
|
+
display: flex !important;
|
|
1002
1002
|
inline-size: 100%;
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
@@ -1017,38 +1017,40 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
1017
1017
|
/* Unset, a button wraps as its container does. */
|
|
1018
1018
|
white-space: var(--ui-button-white-space, inherit);
|
|
1019
1019
|
line-height: var(--ui-line-height-tight);
|
|
1020
|
-
padding: var(--ui-
|
|
1020
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2))
|
|
1021
|
+
var(--ui-action-inset-md, var(--ui-space-3)) !important;
|
|
1021
1022
|
background-image: none;
|
|
1022
1023
|
box-shadow: var(--ui-button-shadow, var(--ui-action-shadow, var(--_ui-action-shadow)));
|
|
1023
1024
|
cursor: pointer;
|
|
1024
1025
|
transition:
|
|
1026
|
+
scale var(--ui-motion-press, var(--ui-motion-fast)) var(--ui-motion-ease),
|
|
1025
1027
|
background-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1026
1028
|
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1027
1029
|
color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
1028
1030
|
box-shadow var(--ui-motion-base) var(--ui-motion-ease);
|
|
1029
|
-
margin: 0;
|
|
1031
|
+
margin: 0 !important;
|
|
1030
1032
|
}
|
|
1031
1033
|
:global(:scope:is(a):where([data-hn-ui-button])) {
|
|
1032
1034
|
text-decoration: none;
|
|
1033
1035
|
}
|
|
1034
1036
|
|
|
1035
1037
|
:global(.spinner-wrap:where([data-hn-ui-button])) {
|
|
1036
|
-
display: inline-flex;
|
|
1038
|
+
display: inline-flex !important;
|
|
1037
1039
|
flex: none;
|
|
1038
1040
|
vertical-align: middle;
|
|
1039
1041
|
}
|
|
1040
1042
|
:global(:scope:not([variant="link"]):has(.badge:not(:empty)):where([data-hn-ui-button])) {
|
|
1041
|
-
padding-block: var(--ui-space-0-5);
|
|
1043
|
+
padding-block: var(--ui-space-0-5) !important;
|
|
1042
1044
|
}
|
|
1043
1045
|
|
|
1044
1046
|
:global(.badge:where([data-hn-ui-button])) {
|
|
1045
|
-
display: inline-flex;
|
|
1046
|
-
align-items: center;
|
|
1047
|
+
display: inline-flex !important;
|
|
1048
|
+
align-items: center !important;
|
|
1047
1049
|
flex: none;
|
|
1048
1050
|
}
|
|
1049
1051
|
|
|
1050
1052
|
:global(.badge:empty:where([data-hn-ui-button])) {
|
|
1051
|
-
display: none;
|
|
1053
|
+
display: none !important;
|
|
1052
1054
|
}
|
|
1053
1055
|
|
|
1054
1056
|
@supports (text-box-trim: trim-both) {
|
|
@@ -1060,7 +1062,7 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
1060
1062
|
|
|
1061
1063
|
:global(:scope[data-ui-button-state~="size=xs"]:where([data-hn-ui-button])) {
|
|
1062
1064
|
min-block-size: 1.5rem;
|
|
1063
|
-
padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25);
|
|
1065
|
+
padding: calc(var(--ui-space-0-5) * 1.5) calc(var(--ui-space-1) * 1.25) !important;
|
|
1064
1066
|
font-size: var(--ui-font-size-xs);
|
|
1065
1067
|
}
|
|
1066
1068
|
|
|
@@ -1070,21 +1072,23 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
1070
1072
|
|
|
1071
1073
|
:global(:scope[data-ui-button-state~="size=sm"]:where([data-hn-ui-button])) {
|
|
1072
1074
|
min-block-size: var(--ui-control-size-sm);
|
|
1073
|
-
padding: var(--ui-
|
|
1075
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1))
|
|
1076
|
+
var(--ui-action-inset-sm, var(--ui-space-2)) !important;
|
|
1074
1077
|
font-size: var(--ui-font-size-sm);
|
|
1075
1078
|
}
|
|
1076
1079
|
|
|
1077
1080
|
:global(:scope[data-ui-button-state~="size=lg"]:where([data-hn-ui-button])) {
|
|
1078
1081
|
min-block-size: var(--ui-control-size-lg);
|
|
1079
|
-
padding: var(--ui-
|
|
1082
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3))
|
|
1083
|
+
var(--ui-action-inset-lg, var(--ui-space-4)) !important;
|
|
1080
1084
|
font-size: var(--ui-font-size-md);
|
|
1081
1085
|
}
|
|
1082
1086
|
:global(:scope[data-ui-button-state~="variant=card"]:where([data-hn-ui-button])) {
|
|
1083
|
-
display: grid;
|
|
1087
|
+
display: grid !important;
|
|
1084
1088
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
1085
|
-
align-content: center;
|
|
1086
|
-
align-items: start;
|
|
1087
|
-
gap: var(--ui-space-3);
|
|
1089
|
+
align-content: center !important;
|
|
1090
|
+
align-items: start !important;
|
|
1091
|
+
gap: var(--ui-space-3) !important;
|
|
1088
1092
|
inline-size: 100%;
|
|
1089
1093
|
min-block-size: max(var(--ui-control-min-block-size), var(--ui-control-size-md));
|
|
1090
1094
|
text-align: start;
|
|
@@ -1099,18 +1103,18 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
1099
1103
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
1100
1104
|
}
|
|
1101
1105
|
:global(.card-icon:where([data-hn-ui-button])) {
|
|
1102
|
-
display: flex;
|
|
1103
|
-
align-items: flex-start;
|
|
1106
|
+
display: flex !important;
|
|
1107
|
+
align-items: flex-start !important;
|
|
1104
1108
|
}
|
|
1105
1109
|
:global(.card-icon:empty:where([data-hn-ui-button])) {
|
|
1106
|
-
display: none;
|
|
1110
|
+
display: none !important;
|
|
1107
1111
|
}
|
|
1108
1112
|
:global(.card-content:where([data-hn-ui-button])) {
|
|
1109
1113
|
min-inline-size: 0;
|
|
1110
1114
|
}
|
|
1111
1115
|
:global(.card-action:where([data-hn-ui-button])) {
|
|
1112
|
-
display: flex;
|
|
1113
|
-
align-items: center;
|
|
1116
|
+
display: flex !important;
|
|
1117
|
+
align-items: center !important;
|
|
1114
1118
|
align-self: center;
|
|
1115
1119
|
}
|
|
1116
1120
|
:global(:scope:hover:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
|
|
@@ -1125,6 +1129,7 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
1125
1129
|
border-color: var(--ui-button-hover-border, var(--ui-border-strong));
|
|
1126
1130
|
}
|
|
1127
1131
|
:global(:scope:active:not(:disabled, [aria-disabled="true"]):where([data-hn-ui-button])) {
|
|
1132
|
+
scale: var(--ui-press-scale, 1);
|
|
1128
1133
|
background-color: var(--ui-button-active-surface, oklch(from var(--_tone) l c h / 18%));
|
|
1129
1134
|
background-image: none;
|
|
1130
1135
|
box-shadow: var(--ui-pressed);
|
|
@@ -1303,9 +1308,9 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
1303
1308
|
content: "";
|
|
1304
1309
|
}
|
|
1305
1310
|
:global(:scope[data-ui-button-state~="variant=link"]:where([data-hn-ui-button])) {
|
|
1306
|
-
display: inline;
|
|
1311
|
+
display: inline !important;
|
|
1307
1312
|
min-block-size: 0;
|
|
1308
|
-
padding: 0;
|
|
1313
|
+
padding: 0 !important;
|
|
1309
1314
|
border: 0;
|
|
1310
1315
|
border-radius: var(--ui-radius-sm);
|
|
1311
1316
|
background: none;
|
|
@@ -1345,7 +1350,7 @@ useComponentHost(() => import('../components/ui-button/ui-button.js'), {
|
|
|
1345
1350
|
outline-offset: var(--ui-focus-width);
|
|
1346
1351
|
}
|
|
1347
1352
|
:global(:scope[hidden]:where([data-hn-ui-button])) {
|
|
1348
|
-
display: none;
|
|
1353
|
+
display: none !important;
|
|
1349
1354
|
}
|
|
1350
1355
|
}
|
|
1351
1356
|
</style>
|
package/vue/UiCallout.vue
CHANGED
|
@@ -359,14 +359,14 @@ const hostState = computed(() =>
|
|
|
359
359
|
--_callout-border: var(--ui-info-solid);
|
|
360
360
|
--_callout-icon: var(--ui-info-solid);
|
|
361
361
|
|
|
362
|
-
display: grid;
|
|
362
|
+
display: grid !important;
|
|
363
363
|
grid-template-columns: var(--ui-callout-icon-column, 1.125rem) minmax(0, 1fr);
|
|
364
|
-
gap: var(--ui-callout-gap, calc(var(--ui-space-2) * 0.75));
|
|
365
|
-
align-items: start;
|
|
364
|
+
gap: var(--ui-callout-gap, calc(var(--ui-space-2) * 0.75)) !important;
|
|
365
|
+
align-items: start !important;
|
|
366
366
|
max-width: 100%;
|
|
367
|
-
padding-block: var(--ui-callout-padding-block, var(--ui-space-2));
|
|
368
|
-
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2));
|
|
369
|
-
padding-inline-end: var(--ui-callout-padding-inline, var(--ui-space-3));
|
|
367
|
+
padding-block: var(--ui-callout-padding-block, var(--ui-space-2)) !important;
|
|
368
|
+
padding-inline-start: var(--ui-callout-padding-inline, var(--ui-space-2)) !important;
|
|
369
|
+
padding-inline-end: var(--ui-callout-padding-inline, var(--ui-space-3)) !important;
|
|
370
370
|
border: var(--ui-callout-border-width, var(--ui-border-width)) solid
|
|
371
371
|
color-mix(in srgb, var(--ui-callout-border, var(--_callout-border)) 35%, transparent);
|
|
372
372
|
border-inline-start: var(
|
|
@@ -382,7 +382,7 @@ const hostState = computed(() =>
|
|
|
382
382
|
line-height: var(--ui-line-height-md);
|
|
383
383
|
}
|
|
384
384
|
:global(.icon:where([data-hn-ui-callout])) {
|
|
385
|
-
display: grid;
|
|
385
|
+
display: grid !important;
|
|
386
386
|
place-items: center;
|
|
387
387
|
inline-size: var(--_ui-callout-icon-column, 1.125rem);
|
|
388
388
|
block-size: 1lh;
|
|
@@ -399,7 +399,7 @@ const hostState = computed(() =>
|
|
|
399
399
|
}
|
|
400
400
|
|
|
401
401
|
:global(.heading:where([data-hn-ui-callout])) {
|
|
402
|
-
display: block;
|
|
402
|
+
display: block !important;
|
|
403
403
|
font-weight: var(--ui-font-semibold);
|
|
404
404
|
}
|
|
405
405
|
|
|
@@ -450,7 +450,7 @@ const hostState = computed(() =>
|
|
|
450
450
|
text-underline-offset: 0.18em;
|
|
451
451
|
}
|
|
452
452
|
:global(:scope[hidden]:where([data-hn-ui-callout])) {
|
|
453
|
-
display: none;
|
|
453
|
+
display: none !important;
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
456
|
</style>
|
package/vue/UiCard.vue
CHANGED
|
@@ -265,12 +265,12 @@ const hostState = computed(() =>
|
|
|
265
265
|
--_ui-selection-context-surface: initial;
|
|
266
266
|
--_ui-selection-context-border: initial;
|
|
267
267
|
--_ui-selection-context-text: initial;
|
|
268
|
-
display: flex;
|
|
269
|
-
flex-direction: column;
|
|
270
|
-
gap: var(--ui-space-4);
|
|
271
|
-
box-sizing: border-box;
|
|
268
|
+
display: flex !important;
|
|
269
|
+
flex-direction: column !important;
|
|
270
|
+
gap: var(--ui-space-4) !important;
|
|
271
|
+
box-sizing: border-box !important;
|
|
272
272
|
min-inline-size: 0;
|
|
273
|
-
padding: var(--ui-space-5);
|
|
273
|
+
padding: var(--ui-space-5) !important;
|
|
274
274
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
275
275
|
border-radius: var(--ui-radius-lg);
|
|
276
276
|
background: var(--_ui-card-surface);
|
|
@@ -278,16 +278,16 @@ const hostState = computed(() =>
|
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
:global(:scope[data-ui-card-state~="padding=xs"]:where([data-hn-ui-card])) {
|
|
281
|
-
gap: var(--ui-space-1);
|
|
282
|
-
padding: var(--ui-space-2);
|
|
281
|
+
gap: var(--ui-space-1) !important;
|
|
282
|
+
padding: var(--ui-space-2) !important;
|
|
283
283
|
}
|
|
284
284
|
:global(:scope[data-ui-card-state~="padding=sm"]:where([data-hn-ui-card])) {
|
|
285
|
-
gap: var(--ui-space-2);
|
|
286
|
-
padding: var(--ui-space-3);
|
|
285
|
+
gap: var(--ui-space-2) !important;
|
|
286
|
+
padding: var(--ui-space-3) !important;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
:global(:scope[data-ui-card-state~="padding=lg"]:where([data-hn-ui-card])) {
|
|
290
|
-
padding: var(--ui-space-6);
|
|
290
|
+
padding: var(--ui-space-6) !important;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
:global(:scope[data-ui-card-state~="variant=subtle"]:where([data-hn-ui-card])) {
|
|
@@ -361,7 +361,7 @@ const hostState = computed(() =>
|
|
|
361
361
|
max-inline-size: min(36rem, calc(100vw - var(--ui-space-2) * 2));
|
|
362
362
|
}
|
|
363
363
|
:global(:scope[hidden]:where([data-hn-ui-card])) {
|
|
364
|
-
display: none;
|
|
364
|
+
display: none !important;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
</style>
|