@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/UiRadio.vue
CHANGED
|
@@ -312,25 +312,35 @@ useComponentHost(() => import('../components/ui-radio/ui-radio.js'), {
|
|
|
312
312
|
@scope (.ui-radio) to ([data-hn]) {
|
|
313
313
|
:global(:scope:where([data-hn-ui-radio])) {
|
|
314
314
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
315
|
-
--_ui-radio-size: var(--ui-radio-size);
|
|
315
|
+
--_ui-radio-size: var(--ui-radio-size, var(--ui-choice-mark-size));
|
|
316
316
|
|
|
317
|
-
display: inline-flex;
|
|
318
|
-
align-items: flex-start;
|
|
319
|
-
|
|
317
|
+
display: inline-flex !important;
|
|
318
|
+
align-items: flex-start !important;
|
|
319
|
+
flex-direction: row !important;
|
|
320
|
+
flex-wrap: nowrap !important;
|
|
321
|
+
padding: 0 !important;
|
|
322
|
+
line-height: var(--ui-line-height-md) !important;
|
|
323
|
+
gap: var(--ui-radio-gap, var(--ui-space-2)) !important;
|
|
320
324
|
max-inline-size: 100%;
|
|
321
325
|
color: var(--ui-text-primary);
|
|
322
326
|
cursor: pointer;
|
|
323
327
|
}
|
|
324
328
|
:global(.text:where([data-hn-ui-radio])) {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
329
|
+
font: inherit !important;
|
|
330
|
+
align-self: auto !important;
|
|
331
|
+
margin: 0 !important;
|
|
332
|
+
padding: 0 !important;
|
|
333
|
+
display: flex !important;
|
|
334
|
+
flex-direction: column !important;
|
|
335
|
+
gap: var(--ui-space-1) !important;
|
|
328
336
|
min-inline-size: 0;
|
|
329
337
|
}
|
|
330
338
|
|
|
331
339
|
:global(.label:where([data-hn-ui-radio])) {
|
|
332
340
|
min-inline-size: 0;
|
|
333
|
-
|
|
341
|
+
font: inherit !important;
|
|
342
|
+
line-height: var(--ui-line-height-md) !important;
|
|
343
|
+
padding-block: max(0px, calc((var(--_ui-radio-size, 1.125rem) - 1lh) / 2)) !important;
|
|
334
344
|
}
|
|
335
345
|
|
|
336
346
|
:global(.description:where([data-hn-ui-radio])) {
|
|
@@ -340,14 +350,17 @@ useComponentHost(() => import('../components/ui-radio/ui-radio.js'), {
|
|
|
340
350
|
}
|
|
341
351
|
|
|
342
352
|
:global(.description:empty:where([data-hn-ui-radio])) {
|
|
343
|
-
display: none;
|
|
353
|
+
display: none !important;
|
|
344
354
|
}
|
|
345
355
|
|
|
346
356
|
:global(input:where([data-hn-ui-radio])) {
|
|
357
|
+
font: inherit !important;
|
|
358
|
+
box-sizing: border-box !important;
|
|
359
|
+
align-self: auto !important;
|
|
347
360
|
flex: 0 0 auto;
|
|
348
361
|
inline-size: var(--_ui-radio-size, 1.125rem);
|
|
349
362
|
block-size: var(--_ui-radio-size, 1.125rem);
|
|
350
|
-
margin: calc(
|
|
363
|
+
margin: max(0px, calc((1lh - var(--_ui-radio-size, 1.125rem)) / 2)) 0 0 !important;
|
|
351
364
|
accent-color: var(--ui-accent-solid);
|
|
352
365
|
cursor: pointer;
|
|
353
366
|
}
|
|
@@ -381,12 +394,10 @@ useComponentHost(() => import('../components/ui-radio/ui-radio.js'), {
|
|
|
381
394
|
:global(:scope[data-ui-radio-state~="size=lg"]:where([data-hn-ui-radio])) {
|
|
382
395
|
--_line: calc(var(--_font) * var(--ui-line-height-md));
|
|
383
396
|
font-size: var(--_font);
|
|
384
|
-
padding-block:
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
:global(:scope[data-ui-radio-state~="size=lg"] input:where([data-hn-ui-radio])) {
|
|
389
|
-
margin-top: calc((var(--_line) - var(--_ui-radio-size, 1.125rem)) / 2 + 1px);
|
|
397
|
+
padding-block: max(
|
|
398
|
+
0px,
|
|
399
|
+
calc((var(--_row) - max(var(--_line), var(--_ui-radio-size, 1.125rem))) / 2)
|
|
400
|
+
) !important;
|
|
390
401
|
}
|
|
391
402
|
|
|
392
403
|
@media (pointer: coarse) {
|
|
@@ -395,7 +406,7 @@ useComponentHost(() => import('../components/ui-radio/ui-radio.js'), {
|
|
|
395
406
|
}
|
|
396
407
|
}
|
|
397
408
|
:global(:scope[hidden]:where([data-hn-ui-radio])) {
|
|
398
|
-
display: none;
|
|
409
|
+
display: none !important;
|
|
399
410
|
}
|
|
400
411
|
}
|
|
401
412
|
</style>
|
package/vue/UiRadioGroup.vue
CHANGED
|
@@ -358,20 +358,20 @@ useComponentHost(() => import('../components/ui-radio-group/ui-radio-group.js'),
|
|
|
358
358
|
--ui-radio-group-invalid-text,
|
|
359
359
|
var(--ui-field-danger, var(--ui-danger-solid))
|
|
360
360
|
);
|
|
361
|
-
display: inline-flex;
|
|
362
|
-
align-items: center;
|
|
363
|
-
gap: var(--ui-space-2);
|
|
361
|
+
display: inline-flex !important;
|
|
362
|
+
align-items: center !important;
|
|
363
|
+
gap: var(--ui-space-2) !important;
|
|
364
364
|
min-inline-size: 0;
|
|
365
|
-
margin: 0;
|
|
366
|
-
padding: 0;
|
|
365
|
+
margin: 0 !important;
|
|
366
|
+
padding: 0 !important;
|
|
367
367
|
border: 0;
|
|
368
368
|
}
|
|
369
369
|
|
|
370
370
|
:global(legend:where([data-hn-ui-radio-group])) {
|
|
371
371
|
float: inline-start;
|
|
372
372
|
inline-size: 100%;
|
|
373
|
-
margin: 0 0 var(--ui-space-2);
|
|
374
|
-
padding: 0;
|
|
373
|
+
margin: 0 0 var(--ui-space-2) !important;
|
|
374
|
+
padding: 0 !important;
|
|
375
375
|
color: var(--ui-text-primary);
|
|
376
376
|
font-weight: var(--ui-font-medium);
|
|
377
377
|
}
|
|
@@ -394,11 +394,11 @@ useComponentHost(() => import('../components/ui-radio-group/ui-radio-group.js'),
|
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
:global(:scope[data-ui-radio-group-state~="orientation=vertical"]:where([data-hn-ui-radio-group])) {
|
|
397
|
-
display: inline-grid;
|
|
398
|
-
justify-items: start;
|
|
397
|
+
display: inline-grid !important;
|
|
398
|
+
justify-items: start !important;
|
|
399
399
|
}
|
|
400
400
|
:global(:scope[hidden]:where([data-hn-ui-radio-group])) {
|
|
401
|
-
display: none;
|
|
401
|
+
display: none !important;
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
</style>
|
package/vue/UiReel.vue
CHANGED
|
@@ -153,15 +153,15 @@ const hostState = computed(() =>
|
|
|
153
153
|
--_reel-item-width: max-content;
|
|
154
154
|
/* Sizes its children from its own box: one row of columns, each the item width, that never
|
|
155
155
|
shrinks to fit, so the reel scrolls once they overflow. */
|
|
156
|
-
display: grid;
|
|
156
|
+
display: grid !important;
|
|
157
157
|
grid-auto-flow: column;
|
|
158
158
|
grid-auto-columns: var(--ui-reel-item-width, var(--_reel-item-width));
|
|
159
|
-
justify-content: start;
|
|
159
|
+
justify-content: start !important;
|
|
160
160
|
inline-size: 100%;
|
|
161
|
-
gap: var(--ui-reel-gap, var(--_reel-gap));
|
|
161
|
+
gap: var(--ui-reel-gap, var(--_reel-gap)) !important;
|
|
162
162
|
min-inline-size: 0;
|
|
163
163
|
max-inline-size: 100%;
|
|
164
|
-
margin: 0;
|
|
164
|
+
margin: 0 !important;
|
|
165
165
|
overflow-x: auto;
|
|
166
166
|
overflow-y: hidden;
|
|
167
167
|
overscroll-behavior-inline: contain;
|
|
@@ -227,7 +227,7 @@ const hostState = computed(() =>
|
|
|
227
227
|
scroll-snap-align: center;
|
|
228
228
|
}
|
|
229
229
|
:global(:scope[hidden]:where([data-hn-ui-reel])) {
|
|
230
|
-
display: none;
|
|
230
|
+
display: none !important;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
</style>
|
package/vue/UiScrollArea.vue
CHANGED
|
@@ -234,8 +234,8 @@ useComponentHost(() => import('../components/ui-scroll-area/ui-scroll-area.js'),
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
:global(:scope:where([data-hn-ui-scroll-area])) {
|
|
237
|
-
display: block;
|
|
238
|
-
box-sizing: border-box;
|
|
237
|
+
display: block !important;
|
|
238
|
+
box-sizing: border-box !important;
|
|
239
239
|
min-block-size: 0;
|
|
240
240
|
min-inline-size: 0;
|
|
241
241
|
overflow-x: hidden;
|
|
@@ -254,18 +254,18 @@ useComponentHost(() => import('../components/ui-scroll-area/ui-scroll-area.js'),
|
|
|
254
254
|
}
|
|
255
255
|
|
|
256
256
|
:global(.content:where([data-hn-ui-scroll-area])) {
|
|
257
|
-
display: flow-root;
|
|
257
|
+
display: flow-root !important;
|
|
258
258
|
}
|
|
259
259
|
:global(:scope[data-ui-scroll-area-state~="trim"]
|
|
260
260
|
.content
|
|
261
261
|
> :where(:not([data-hn-ui-scroll-area])):is(:first-child)) {
|
|
262
|
-
margin-block-start: 0;
|
|
262
|
+
margin-block-start: 0 !important;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
:global(:scope[data-ui-scroll-area-state~="trim"]
|
|
266
266
|
.content
|
|
267
267
|
> :where(:not([data-hn-ui-scroll-area])):is(:last-child)) {
|
|
268
|
-
margin-block-end: 0;
|
|
268
|
+
margin-block-end: 0 !important;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
:global(:scope[data-ui-scroll-area-state~="orientation=horizontal"]:where([data-hn-ui-scroll-area])) {
|
|
@@ -289,19 +289,19 @@ useComponentHost(() => import('../components/ui-scroll-area/ui-scroll-area.js'),
|
|
|
289
289
|
}
|
|
290
290
|
|
|
291
291
|
:global(:scope[data-ui-scroll-area-state~="padding=xs"]:where([data-hn-ui-scroll-area])) {
|
|
292
|
-
padding: var(--ui-space-2);
|
|
292
|
+
padding: var(--ui-space-2) !important;
|
|
293
293
|
}
|
|
294
294
|
:global(:scope[data-ui-scroll-area-state~="padding=sm"]:where([data-hn-ui-scroll-area])) {
|
|
295
|
-
padding: var(--ui-space-3);
|
|
295
|
+
padding: var(--ui-space-3) !important;
|
|
296
296
|
}
|
|
297
297
|
:global(:scope[data-ui-scroll-area-state~="padding=md"]:where([data-hn-ui-scroll-area])) {
|
|
298
|
-
padding: var(--ui-space-5);
|
|
298
|
+
padding: var(--ui-space-5) !important;
|
|
299
299
|
}
|
|
300
300
|
:global(:scope[data-ui-scroll-area-state~="padding=lg"]:where([data-hn-ui-scroll-area])) {
|
|
301
|
-
padding: var(--ui-space-6);
|
|
301
|
+
padding: var(--ui-space-6) !important;
|
|
302
302
|
}
|
|
303
303
|
:global(:scope[hidden]:where([data-hn-ui-scroll-area])) {
|
|
304
|
-
display: none;
|
|
304
|
+
display: none !important;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
307
|
</style>
|
|
@@ -195,12 +195,12 @@ const hostState = computed(() =>
|
|
|
195
195
|
appearance: none;
|
|
196
196
|
inline-size: 100%;
|
|
197
197
|
min-block-size: var(--ui-search-result-row-min-height, 56px);
|
|
198
|
-
margin: 0;
|
|
199
|
-
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-3));
|
|
200
|
-
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-4));
|
|
201
|
-
display: flex;
|
|
202
|
-
align-items: flex-start;
|
|
203
|
-
gap: var(--ui-search-result-row-gap, var(--ui-space-3));
|
|
198
|
+
margin: 0 !important;
|
|
199
|
+
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-3)) !important;
|
|
200
|
+
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-4)) !important;
|
|
201
|
+
display: flex !important;
|
|
202
|
+
align-items: flex-start !important;
|
|
203
|
+
gap: var(--ui-search-result-row-gap, var(--ui-space-3)) !important;
|
|
204
204
|
background: var(--ui-search-result-row-surface, transparent);
|
|
205
205
|
border: var(--ui-border-width) solid var(--ui-search-result-row-border, transparent);
|
|
206
206
|
border-radius: var(--ui-selection-radius);
|
|
@@ -212,10 +212,10 @@ const hostState = computed(() =>
|
|
|
212
212
|
|
|
213
213
|
:global(:scope[data-ui-search-result-row-state~="density=compact"]:where([data-hn-ui-search-result-row])) {
|
|
214
214
|
min-block-size: var(--ui-search-result-row-min-height, 3.125rem);
|
|
215
|
-
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-1));
|
|
216
|
-
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-2));
|
|
217
|
-
gap: var(--ui-search-result-row-gap, var(--ui-space-2));
|
|
218
|
-
align-items: center;
|
|
215
|
+
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-1)) !important;
|
|
216
|
+
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-2)) !important;
|
|
217
|
+
gap: var(--ui-search-result-row-gap, var(--ui-space-2)) !important;
|
|
218
|
+
align-items: center !important;
|
|
219
219
|
font-family: var(--ui-font-family-sans, sans-serif);
|
|
220
220
|
}
|
|
221
221
|
:global(:scope[data-ui-search-result-row-state~="density=compact"]
|
|
@@ -258,36 +258,36 @@ const hostState = computed(() =>
|
|
|
258
258
|
|
|
259
259
|
:global(.leading:where([data-hn-ui-search-result-row])),
|
|
260
260
|
:global(.trailing:where([data-hn-ui-search-result-row])) {
|
|
261
|
-
display: inline-flex;
|
|
262
|
-
align-items: flex-start;
|
|
261
|
+
display: inline-flex !important;
|
|
262
|
+
align-items: flex-start !important;
|
|
263
263
|
flex-shrink: 0;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
266
|
:global(.content:where([data-hn-ui-search-result-row])) {
|
|
267
267
|
min-inline-size: 0;
|
|
268
268
|
flex: 1;
|
|
269
|
-
display: flex;
|
|
270
|
-
flex-direction: column;
|
|
269
|
+
display: flex !important;
|
|
270
|
+
flex-direction: column !important;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
273
|
:global(.title:where([data-hn-ui-search-result-row])),
|
|
274
274
|
:global(.meta:where([data-hn-ui-search-result-row])),
|
|
275
275
|
:global(.excerpt:where([data-hn-ui-search-result-row])) {
|
|
276
|
-
display: block;
|
|
276
|
+
display: block !important;
|
|
277
277
|
min-inline-size: 0;
|
|
278
278
|
}
|
|
279
279
|
:global(.leading:empty:where([data-hn-ui-search-result-row])),
|
|
280
280
|
:global(.meta:empty:where([data-hn-ui-search-result-row])),
|
|
281
281
|
:global(.excerpt:empty:where([data-hn-ui-search-result-row])),
|
|
282
282
|
:global(.trailing:empty:where([data-hn-ui-search-result-row])) {
|
|
283
|
-
display: none;
|
|
283
|
+
display: none !important;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
:global(:where(:not([data-hn-ui-search-result-row])):is([slot="title"])),
|
|
287
287
|
:global(:where(:not([data-hn-ui-search-result-row])):is([slot="meta"])),
|
|
288
288
|
:global(:where(:not([data-hn-ui-search-result-row])):is([slot="excerpt"])) {
|
|
289
|
-
display: block;
|
|
290
|
-
margin: 0;
|
|
289
|
+
display: block !important;
|
|
290
|
+
margin: 0 !important;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
@media (forced-colors: active) {
|
|
@@ -297,7 +297,7 @@ const hostState = computed(() =>
|
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
:global(:scope[hidden]:where([data-hn-ui-search-result-row])) {
|
|
300
|
-
display: none;
|
|
300
|
+
display: none !important;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
</style>
|
package/vue/UiSearchShell.vue
CHANGED
|
@@ -289,22 +289,22 @@ useComponentHost(() => import('../components/ui-search-shell/ui-search-shell.js'
|
|
|
289
289
|
--_ui-search-shell-shadow: var(--ui-search-shell-shadow);
|
|
290
290
|
--_ui-search-shell-focus-color: var(--ui-search-shell-focus-color);
|
|
291
291
|
|
|
292
|
-
display: contents;
|
|
292
|
+
display: contents !important;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
:global(dialog:where([data-hn-ui-search-shell])) {
|
|
296
296
|
position: fixed;
|
|
297
297
|
inset: 0;
|
|
298
298
|
z-index: var(--_ui-search-shell-z-index, 400);
|
|
299
|
-
box-sizing: border-box;
|
|
299
|
+
box-sizing: border-box !important;
|
|
300
300
|
inline-size: 100%;
|
|
301
301
|
max-inline-size: none;
|
|
302
302
|
block-size: 100%;
|
|
303
303
|
max-block-size: none;
|
|
304
|
-
margin: 0;
|
|
304
|
+
margin: 0 !important;
|
|
305
305
|
padding: var(--_ui-search-shell-padding-top, 10vh)
|
|
306
306
|
var(--_ui-search-shell-viewport-gap, var(--ui-space-4))
|
|
307
|
-
var(--_ui-search-shell-viewport-gap, var(--ui-space-4));
|
|
307
|
+
var(--_ui-search-shell-viewport-gap, var(--ui-space-4)) !important;
|
|
308
308
|
overflow: auto;
|
|
309
309
|
border: 0;
|
|
310
310
|
background: var(--ui-overlay-backdrop);
|
|
@@ -325,11 +325,11 @@ useComponentHost(() => import('../components/ui-search-shell/ui-search-shell.js'
|
|
|
325
325
|
|
|
326
326
|
:global(.panel:where([data-hn-ui-search-shell])) {
|
|
327
327
|
position: relative;
|
|
328
|
-
display: flex;
|
|
329
|
-
flex-direction: column;
|
|
328
|
+
display: flex !important;
|
|
329
|
+
flex-direction: column !important;
|
|
330
330
|
inline-size: min(100%, var(--_ui-search-shell-max-width, 40rem));
|
|
331
331
|
max-block-size: var(--_ui-search-shell-max-height, 80vh);
|
|
332
|
-
margin-inline: auto;
|
|
332
|
+
margin-inline: auto !important;
|
|
333
333
|
overflow: hidden;
|
|
334
334
|
background: var(
|
|
335
335
|
--_ui-search-shell-surface,
|
|
@@ -348,14 +348,14 @@ useComponentHost(() => import('../components/ui-search-shell/ui-search-shell.js'
|
|
|
348
348
|
}
|
|
349
349
|
|
|
350
350
|
:global(.search:where([data-hn-ui-search-shell])) {
|
|
351
|
-
padding: var(--ui-space-3);
|
|
351
|
+
padding: var(--ui-space-3) !important;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
:global(:where(:not([data-hn-ui-search-shell])):is(input[slot="search"])) {
|
|
355
|
-
box-sizing: border-box;
|
|
355
|
+
box-sizing: border-box !important;
|
|
356
356
|
inline-size: 100%;
|
|
357
357
|
min-block-size: var(--ui-control-min-block-size);
|
|
358
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
358
|
+
padding: var(--ui-space-2) var(--ui-space-3) !important;
|
|
359
359
|
border: var(--ui-border-width) solid var(--ui-control-border);
|
|
360
360
|
border-radius: var(--ui-field-radius, var(--ui-radius-md));
|
|
361
361
|
background: var(--ui-control-surface);
|
|
@@ -373,33 +373,33 @@ useComponentHost(() => import('../components/ui-search-shell/ui-search-shell.js'
|
|
|
373
373
|
:global(.status:where([data-hn-ui-search-shell])),
|
|
374
374
|
:global(.actions:where([data-hn-ui-search-shell])) {
|
|
375
375
|
flex-shrink: 0;
|
|
376
|
-
padding: var(--ui-space-2) var(--ui-space-4);
|
|
376
|
+
padding: var(--ui-space-2) var(--ui-space-4) !important;
|
|
377
377
|
color: var(--ui-text-secondary);
|
|
378
378
|
font-size: var(--ui-font-size-sm);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
:global(.status:where([data-hn-ui-search-shell])) {
|
|
382
|
-
padding-block-start: 0;
|
|
382
|
+
padding-block-start: 0 !important;
|
|
383
383
|
}
|
|
384
384
|
:global(.actions:where([data-hn-ui-search-shell])) {
|
|
385
|
-
display: flex;
|
|
386
|
-
flex-wrap: wrap;
|
|
387
|
-
align-items: center;
|
|
388
|
-
justify-content: flex-end;
|
|
389
|
-
gap: var(--ui-space-2);
|
|
390
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
385
|
+
display: flex !important;
|
|
386
|
+
flex-wrap: wrap !important;
|
|
387
|
+
align-items: center !important;
|
|
388
|
+
justify-content: flex-end !important;
|
|
389
|
+
gap: var(--ui-space-2) !important;
|
|
390
|
+
padding: var(--ui-space-3) var(--ui-space-4) !important;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
:global(.status:empty:where([data-hn-ui-search-shell])),
|
|
394
394
|
:global(.actions:empty:where([data-hn-ui-search-shell])) {
|
|
395
|
-
display: none;
|
|
395
|
+
display: none !important;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
:global(.body:where([data-hn-ui-search-shell])) {
|
|
399
399
|
flex: 1;
|
|
400
400
|
min-block-size: 0;
|
|
401
401
|
overflow: auto;
|
|
402
|
-
padding: var(--ui-space-2);
|
|
402
|
+
padding: var(--ui-space-2) !important;
|
|
403
403
|
/* Each edge that hides content fades: the scroll fade every Looma scroller uses (see ui-scroll-area). */
|
|
404
404
|
--_ui-scroll-fade-direction: to bottom;
|
|
405
405
|
--_ui-scroll-fade-size: var(--ui-scroll-fade-size, 24px);
|
|
@@ -425,7 +425,7 @@ useComponentHost(() => import('../components/ui-search-shell/ui-search-shell.js'
|
|
|
425
425
|
|
|
426
426
|
@media (max-width: 47.9375rem) {
|
|
427
427
|
:global(dialog:where([data-hn-ui-search-shell])) {
|
|
428
|
-
padding: 0;
|
|
428
|
+
padding: 0 !important;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
:global(.panel:where([data-hn-ui-search-shell])) {
|
|
@@ -437,7 +437,7 @@ useComponentHost(() => import('../components/ui-search-shell/ui-search-shell.js'
|
|
|
437
437
|
}
|
|
438
438
|
}
|
|
439
439
|
:global(:scope[hidden]:where([data-hn-ui-search-shell])) {
|
|
440
|
-
display: none;
|
|
440
|
+
display: none !important;
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
</style>
|
package/vue/UiSection.vue
CHANGED
|
@@ -154,9 +154,9 @@ const hostState = computed(() =>
|
|
|
154
154
|
|
|
155
155
|
@scope (.ui-section) to ([data-hn]) {
|
|
156
156
|
:global(:scope:where([data-hn-ui-section])) {
|
|
157
|
-
display: flex;
|
|
158
|
-
flex-direction: column;
|
|
159
|
-
gap: var(--ui-space-4);
|
|
157
|
+
display: flex !important;
|
|
158
|
+
flex-direction: column !important;
|
|
159
|
+
gap: var(--ui-space-4) !important;
|
|
160
160
|
min-inline-size: 0;
|
|
161
161
|
}
|
|
162
162
|
|
|
@@ -164,14 +164,14 @@ const hostState = computed(() =>
|
|
|
164
164
|
--_ui-selection-context-surface: initial;
|
|
165
165
|
--_ui-selection-context-border: initial;
|
|
166
166
|
--_ui-selection-context-text: initial;
|
|
167
|
-
padding: var(--ui-space-5);
|
|
167
|
+
padding: var(--ui-space-5) !important;
|
|
168
168
|
border: var(--ui-border-width) solid var(--ui-border-strong);
|
|
169
169
|
border-radius: var(--ui-radius-lg);
|
|
170
170
|
background: var(--ui-surface-raised);
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
:global(:scope[data-ui-section-state~="variant=divided"]:where([data-hn-ui-section])) {
|
|
174
|
-
padding-block-start: var(--ui-space-6);
|
|
174
|
+
padding-block-start: var(--ui-space-6) !important;
|
|
175
175
|
border-block-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
176
176
|
}
|
|
177
177
|
|
|
@@ -194,23 +194,24 @@ const hostState = computed(() =>
|
|
|
194
194
|
}
|
|
195
195
|
|
|
196
196
|
:global(.head:where([data-hn-ui-section])) {
|
|
197
|
-
display: flex;
|
|
198
|
-
flex-wrap: wrap;
|
|
199
|
-
align-items: flex-start;
|
|
200
|
-
justify-content: space-between;
|
|
201
|
-
gap: var(--ui-space-2) var(--ui-space-4);
|
|
197
|
+
display: flex !important;
|
|
198
|
+
flex-wrap: wrap !important;
|
|
199
|
+
align-items: flex-start !important;
|
|
200
|
+
justify-content: space-between !important;
|
|
201
|
+
gap: var(--ui-space-2) var(--ui-space-4) !important;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
204
|
:global(.copy:where([data-hn-ui-section])) {
|
|
205
|
-
display: flex;
|
|
205
|
+
display: flex !important;
|
|
206
206
|
flex: 1 1 16rem;
|
|
207
|
-
flex-direction: column;
|
|
208
|
-
gap: var(--ui-space-1);
|
|
207
|
+
flex-direction: column !important;
|
|
208
|
+
gap: var(--ui-space-1) !important;
|
|
209
209
|
min-inline-size: 0;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
:global(.heading:where([data-hn-ui-section])) {
|
|
213
|
-
|
|
213
|
+
font-family: var(--ui-font-display, inherit);
|
|
214
|
+
margin: 0 !important;
|
|
214
215
|
color: var(--ui-text-primary);
|
|
215
216
|
font-size: var(--ui-font-size-lg);
|
|
216
217
|
font-weight: var(--ui-font-semibold);
|
|
@@ -228,28 +229,28 @@ const hostState = computed(() =>
|
|
|
228
229
|
}
|
|
229
230
|
|
|
230
231
|
:global(.actions:where([data-hn-ui-section])) {
|
|
231
|
-
display: inline-flex;
|
|
232
|
-
flex-wrap: wrap;
|
|
233
|
-
gap: var(--ui-space-2);
|
|
232
|
+
display: inline-flex !important;
|
|
233
|
+
flex-wrap: wrap !important;
|
|
234
|
+
gap: var(--ui-space-2) !important;
|
|
234
235
|
}
|
|
235
236
|
|
|
236
237
|
:global(.body:where([data-hn-ui-section])) {
|
|
237
|
-
display: flex;
|
|
238
|
-
flex-direction: column;
|
|
239
|
-
gap: var(--ui-space-4);
|
|
238
|
+
display: flex !important;
|
|
239
|
+
flex-direction: column !important;
|
|
240
|
+
gap: var(--ui-space-4) !important;
|
|
240
241
|
min-inline-size: 0;
|
|
241
242
|
}
|
|
242
243
|
|
|
243
244
|
:global(.description:empty:where([data-hn-ui-section])),
|
|
244
245
|
:global(.actions:empty:where([data-hn-ui-section])) {
|
|
245
|
-
display: none;
|
|
246
|
+
display: none !important;
|
|
246
247
|
}
|
|
247
248
|
|
|
248
249
|
:global(.head:has(.heading[hidden]):has(.description:empty):has(.actions:empty):where([data-hn-ui-section])) {
|
|
249
|
-
display: none;
|
|
250
|
+
display: none !important;
|
|
250
251
|
}
|
|
251
252
|
:global(:scope[hidden]:where([data-hn-ui-section])) {
|
|
252
|
-
display: none;
|
|
253
|
+
display: none !important;
|
|
253
254
|
}
|
|
254
255
|
}
|
|
255
256
|
</style>
|
package/vue/UiSelect.vue
CHANGED
|
@@ -281,13 +281,13 @@ useComponentHost(() => import('../components/ui-select/ui-select.js'), {
|
|
|
281
281
|
|
|
282
282
|
@scope (.ui-select) to ([data-hn]) {
|
|
283
283
|
:global(:scope:where([data-hn-ui-select])) {
|
|
284
|
-
box-sizing: border-box;
|
|
285
|
-
display: inline-block;
|
|
284
|
+
box-sizing: border-box !important;
|
|
285
|
+
display: inline-block !important;
|
|
286
286
|
inline-size: var(--ui-select-inline-size, 100%);
|
|
287
287
|
min-inline-size: 0;
|
|
288
288
|
min-block-size: var(--ui-control-size-md);
|
|
289
|
-
margin: 0;
|
|
290
|
-
padding: var(--ui-space-2) var(--ui-space-3);
|
|
289
|
+
margin: 0 !important;
|
|
290
|
+
padding: var(--ui-control-inset-block-md, var(--ui-space-2)) var(--ui-space-3) !important;
|
|
291
291
|
border: var(--ui-border-width) solid
|
|
292
292
|
var(--ui-select-border, var(--ui-control-border, var(--ui-border-strong)));
|
|
293
293
|
border-radius: var(--ui-select-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
@@ -307,7 +307,7 @@ useComponentHost(() => import('../components/ui-select/ui-select.js'), {
|
|
|
307
307
|
}
|
|
308
308
|
:global(:scope:where([data-hn-ui-select])) {
|
|
309
309
|
appearance: none;
|
|
310
|
-
padding-inline-end: calc(var(--ui-space-3) + 1.5rem);
|
|
310
|
+
padding-inline-end: calc(var(--ui-space-3) + 1.5rem) !important;
|
|
311
311
|
background-image: var(
|
|
312
312
|
--ui-select-chevron,
|
|
313
313
|
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c58' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
|
|
@@ -359,8 +359,9 @@ useComponentHost(() => import('../components/ui-select/ui-select.js'), {
|
|
|
359
359
|
|
|
360
360
|
:global(:scope[data-ui-select-state~="size=sm"]:where([data-hn-ui-select])) {
|
|
361
361
|
min-block-size: var(--ui-control-size-sm);
|
|
362
|
-
padding: var(--ui-space-1) var(--ui-space-2);
|
|
363
|
-
padding-inline-end: calc(var(--ui-space-2) + var(--ui-icon-size-sm) + var(--ui-space-1))
|
|
362
|
+
padding: var(--ui-control-inset-block-sm, var(--ui-space-1)) var(--ui-space-2) !important;
|
|
363
|
+
padding-inline-end: calc(var(--ui-space-2) + var(--ui-icon-size-sm) + var(--ui-space-1))
|
|
364
|
+
!important;
|
|
364
365
|
background-position: right var(--ui-space-2) center;
|
|
365
366
|
background-size: var(--ui-icon-size-sm) var(--ui-icon-size-sm);
|
|
366
367
|
font-size: var(--ui-font-size-sm);
|
|
@@ -368,8 +369,8 @@ useComponentHost(() => import('../components/ui-select/ui-select.js'), {
|
|
|
368
369
|
|
|
369
370
|
:global(:scope[data-ui-select-state~="size=lg"]:where([data-hn-ui-select])) {
|
|
370
371
|
min-block-size: var(--ui-control-size-lg);
|
|
371
|
-
padding: var(--ui-space-3) var(--ui-space-4);
|
|
372
|
-
padding-inline-end: calc(var(--ui-space-4) + 1.5rem);
|
|
372
|
+
padding: var(--ui-control-inset-block-lg, var(--ui-space-3)) var(--ui-space-4) !important;
|
|
373
|
+
padding-inline-end: calc(var(--ui-space-4) + 1.5rem) !important;
|
|
373
374
|
background-position: right var(--ui-space-4) center;
|
|
374
375
|
font-size: var(--ui-font-size-md);
|
|
375
376
|
}
|
|
@@ -384,7 +385,7 @@ useComponentHost(() => import('../components/ui-select/ui-select.js'), {
|
|
|
384
385
|
}
|
|
385
386
|
}
|
|
386
387
|
:global(:scope[hidden]:where([data-hn-ui-select])) {
|
|
387
|
-
display: none;
|
|
388
|
+
display: none !important;
|
|
388
389
|
}
|
|
389
390
|
}
|
|
390
391
|
</style>
|
package/vue/UiSeparator.vue
CHANGED
|
@@ -166,9 +166,9 @@ const hostState = computed(() =>
|
|
|
166
166
|
|
|
167
167
|
@scope (.ui-separator) to ([data-hn]) {
|
|
168
168
|
:global(:scope) {
|
|
169
|
-
box-sizing: border-box;
|
|
169
|
+
box-sizing: border-box !important;
|
|
170
170
|
align-self: stretch;
|
|
171
|
-
margin: 0;
|
|
171
|
+
margin: 0 !important;
|
|
172
172
|
border: 0;
|
|
173
173
|
border-block-start: var(--ui-border-width) solid
|
|
174
174
|
var(--ui-separator-color, var(--_separator-color, var(--ui-border-divider)));
|
package/vue/UiSidebar.vue
CHANGED
|
@@ -408,9 +408,9 @@ useComponentHost(() => import('../components/ui-sidebar/ui-sidebar.js'), {
|
|
|
408
408
|
--_ui-sidebar-expanded-width: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
|
|
409
409
|
|
|
410
410
|
position: relative;
|
|
411
|
-
box-sizing: border-box;
|
|
412
|
-
display: flex;
|
|
413
|
-
flex-direction: column;
|
|
411
|
+
box-sizing: border-box !important;
|
|
412
|
+
display: flex !important;
|
|
413
|
+
flex-direction: column !important;
|
|
414
414
|
flex: none;
|
|
415
415
|
inline-size: var(--_sidebar-width, var(--ui-sidebar-width, 280px));
|
|
416
416
|
max-inline-size: 100%;
|
|
@@ -491,7 +491,7 @@ useComponentHost(() => import('../components/ui-sidebar/ui-sidebar.js'), {
|
|
|
491
491
|
}
|
|
492
492
|
|
|
493
493
|
:global(.resizer[hidden]:where([data-hn-ui-sidebar])) {
|
|
494
|
-
display: none;
|
|
494
|
+
display: none !important;
|
|
495
495
|
}
|
|
496
496
|
|
|
497
497
|
:global(:scope[data-ui-sidebar-state~="side=end"] .resizer:where([data-hn-ui-sidebar])) {
|
|
@@ -545,8 +545,8 @@ useComponentHost(() => import('../components/ui-sidebar/ui-sidebar.js'), {
|
|
|
545
545
|
inset-block: 0;
|
|
546
546
|
inset-inline-start: 0;
|
|
547
547
|
inset-inline-end: auto;
|
|
548
|
-
margin: 0;
|
|
549
|
-
padding: 0;
|
|
548
|
+
margin: 0 !important;
|
|
549
|
+
padding: 0 !important;
|
|
550
550
|
inline-size: min(var(--_sidebar-width, var(--ui-sidebar-width, 280px)), 85vw);
|
|
551
551
|
max-block-size: none;
|
|
552
552
|
block-size: 100dvh;
|
|
@@ -559,7 +559,7 @@ useComponentHost(() => import('../components/ui-sidebar/ui-sidebar.js'), {
|
|
|
559
559
|
overlay var(--ui-motion-reveal) allow-discrete;
|
|
560
560
|
}
|
|
561
561
|
:global(:scope[popover]:not(:popover-open):where([data-hn-ui-sidebar])) {
|
|
562
|
-
display: none;
|
|
562
|
+
display: none !important;
|
|
563
563
|
transform: translateX(-100%);
|
|
564
564
|
}
|
|
565
565
|
|
|
@@ -596,7 +596,7 @@ useComponentHost(() => import('../components/ui-sidebar/ui-sidebar.js'), {
|
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
:global(:scope[hidden]:where([data-hn-ui-sidebar])) {
|
|
599
|
-
display: none;
|
|
599
|
+
display: none !important;
|
|
600
600
|
}
|
|
601
601
|
}
|
|
602
602
|
</style>
|