@threadlabs/looma 0.42.0 → 0.43.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/ui-action-bar/ui-action-bar.html +1 -7
- package/components/ui-affordance-scope/ui-affordance-scope.html +4 -4
- package/components/ui-avatar/ui-avatar.html +0 -22
- package/components/ui-avatar-group/ui-avatar-group.html +1 -11
- package/components/ui-badge/ui-badge.html +57 -78
- package/components/ui-button/ui-button.html +36 -81
- package/components/ui-callout/ui-callout.html +30 -68
- package/components/ui-card/ui-card.html +47 -21
- package/components/ui-checkbox/ui-checkbox.html +1 -15
- package/components/ui-cluster/ui-cluster.html +1 -7
- package/components/ui-combobox/ui-combobox.html +7 -70
- package/components/ui-container/ui-container.html +2 -12
- package/components/ui-context-menu/ui-context-menu.html +1 -23
- package/components/ui-dialog/ui-dialog.html +1 -31
- package/components/ui-disclosure/ui-disclosure.html +1 -15
- package/components/ui-editor-mention-menu/ui-editor-mention-menu.js +3 -0
- package/components/ui-editor-slash-menu/ui-editor-slash-menu.js +4 -0
- package/components/ui-editor-table-overlay/ui-editor-table-overlay.html +3 -2
- package/components/ui-floating-action-button/ui-floating-action-button.html +0 -14
- package/components/ui-form-field/ui-form-field.html +2 -32
- package/components/ui-grid/ui-grid.html +1 -11
- package/components/ui-icon/ui-icon.html +1 -12
- package/components/ui-icon-button/ui-icon-button.html +52 -87
- package/components/ui-input/ui-input.html +5 -55
- package/components/ui-input-group/ui-input-group.html +1 -13
- package/components/ui-list/ui-list.html +0 -10
- package/components/ui-list-item/ui-list-item.html +1 -19
- package/components/ui-listbox/ui-listbox.html +0 -21
- package/components/ui-menu/ui-menu.html +0 -22
- package/components/ui-menu-item/ui-menu-item.html +0 -26
- package/components/ui-meter/ui-meter.html +11 -6
- package/components/ui-nav-item/ui-nav-item.html +0 -18
- package/components/ui-popover/ui-popover.html +0 -30
- package/components/ui-radio/ui-radio.html +7 -13
- package/components/ui-radio-group/ui-radio-group.html +0 -5
- package/components/ui-reel/ui-reel.html +1 -11
- package/components/ui-search-result-row/ui-search-result-row.html +0 -34
- package/components/ui-search-shell/ui-search-shell.html +1 -43
- package/components/ui-select/ui-select.html +0 -42
- package/components/ui-separator/ui-separator.html +0 -6
- package/components/ui-sidebar/ui-sidebar.html +2 -24
- package/components/ui-site-header/ui-site-header.html +0 -25
- package/components/ui-skeleton/ui-skeleton.html +0 -9
- package/components/ui-stack/ui-stack.html +6 -11
- package/components/ui-swatch/ui-swatch.html +0 -5
- package/components/ui-switch/ui-switch.html +1 -15
- package/components/ui-switcher/ui-switcher.html +1 -11
- package/components/ui-tabs/ui-tabs.html +1 -19
- package/components/ui-text/ui-text.html +19 -6
- package/components/ui-textarea/ui-textarea.html +0 -50
- package/components/ui-toast/ui-toast.html +12 -27
- package/components/ui-toast-region/ui-toast-region.html +13 -34
- package/components/ui-tooltip/ui-tooltip.html +1 -43
- package/components/ui-top-bar/ui-top-bar.html +1 -31
- package/components/ui-tree/ui-tree.html +1 -16
- package/components/ui-tree-item/ui-tree-item.html +1 -23
- package/components/ui-tree-item/ui-tree-item.js +0 -1
- package/dist/index.js +1 -1
- package/docs/README.md +13 -11
- package/docs/card.html +2 -6
- package/docs/card.js +7 -37
- package/docs/catalog.json +821 -202
- package/docs/catalog.mjs +1 -1
- package/docs/customizer-render.mjs +27 -14
- package/docs/customizer.js +42 -9
- package/docs/documentation.css +3 -7
- package/docs/examples/ui-button/examples/08-loading.behavior.js +1 -1
- package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +1 -1
- package/docs/examples/ui-editor-mention-menu/examples/00-preview.behavior.js +1 -0
- package/docs/examples/ui-editor-slash-menu/examples/00-preview.behavior.js +81 -0
- package/docs/examples/ui-editor-table-overlay/examples/00-preview.behavior.js +24 -0
- package/docs/examples/ui-search-shell/examples/00-preview.behavior.js +14 -0
- package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +7 -7
- package/docs/examples/ui-toast/examples/01-authored.behavior.js +2 -2
- package/docs/index.d.ts +1 -1
- package/docs/local-server.mjs +2 -5
- package/docs/palette.mjs +5 -4
- package/docs/pastoral.svg +54 -0
- package/docs/portrait.svg +15 -0
- package/docs/render.mjs +33 -3
- package/docs/site.mjs +22 -54
- package/docs/theme.mjs +97 -35
- package/docs/value-editors.mjs +2 -1
- package/package.json +2 -2
- package/styles/ui-action-bar.css +3 -11
- package/styles/ui-affordance-scope.css +4 -4
- package/styles/ui-avatar-group.css +3 -15
- package/styles/ui-avatar.css +2 -26
- package/styles/ui-badge.css +56 -80
- package/styles/ui-button.css +35 -83
- package/styles/ui-callout.css +32 -72
- package/styles/ui-card.css +42 -18
- package/styles/ui-checkbox.css +3 -19
- package/styles/ui-cluster.css +2 -10
- package/styles/ui-combobox.css +7 -140
- package/styles/ui-container.css +2 -14
- package/styles/ui-context-menu.css +3 -27
- package/styles/ui-dialog.css +5 -67
- package/styles/ui-disclosure.css +3 -19
- package/styles/ui-editor-table-overlay.css +2 -2
- package/styles/ui-floating-action-button.css +2 -18
- package/styles/ui-form-field.css +4 -36
- package/styles/ui-grid.css +2 -14
- package/styles/ui-icon-button.css +51 -89
- package/styles/ui-icon.css +3 -16
- package/styles/ui-input-group.css +2 -14
- package/styles/ui-input.css +6 -57
- package/styles/ui-list-item.css +3 -23
- package/styles/ui-list.css +2 -14
- package/styles/ui-listbox.css +2 -44
- package/styles/ui-menu-item.css +2 -30
- package/styles/ui-menu.css +2 -26
- package/styles/ui-meter.css +8 -4
- package/styles/ui-nav-item.css +2 -22
- package/styles/ui-popover.css +2 -34
- package/styles/ui-radio-group.css +1 -6
- package/styles/ui-radio.css +9 -17
- package/styles/ui-reel.css +2 -14
- package/styles/ui-search-result-row.css +2 -38
- package/styles/ui-search-shell.css +3 -47
- package/styles/ui-select.css +2 -46
- package/styles/ui-separator.css +2 -10
- package/styles/ui-sidebar.css +4 -28
- package/styles/ui-site-header.css +1 -26
- package/styles/ui-skeleton.css +2 -12
- package/styles/ui-stack.css +4 -12
- package/styles/ui-swatch.css +1 -6
- package/styles/ui-switch.css +3 -19
- package/styles/ui-switcher.css +2 -14
- package/styles/ui-tabs.css +3 -23
- package/styles/ui-text.css +10 -2
- package/styles/ui-textarea.css +2 -54
- package/styles/ui-toast-region.css +29 -73
- package/styles/ui-toast.css +24 -54
- package/styles/ui-tooltip.css +3 -47
- package/styles/ui-top-bar.css +3 -35
- package/styles/ui-tree-item.css +5 -51
- package/styles/ui-tree.css +3 -20
- package/theme-system.css +6 -2
- package/tokens.css +55 -21
- package/vanilla/UiBadge.d.ts +1 -1
- package/vanilla/UiBadge.js +1 -1
- package/vanilla/UiButton.d.ts +1 -1
- package/vanilla/UiButton.js +1 -1
- package/vanilla/UiCard.d.ts +1 -1
- package/vanilla/UiCard.js +1 -1
- package/vanilla/UiEditorTableOverlay.js +50 -36
- package/vanilla/UiIconButton.d.ts +1 -1
- package/vanilla/UiIconButton.js +1 -1
- package/vanilla/UiMeter.d.ts +1 -1
- package/vanilla/UiMeter.js +1 -1
- package/vanilla/UiStack.js +1 -1
- package/vanilla/UiText.d.ts +1 -1
- package/vanilla/UiText.js +1 -1
- package/vue/UiActionBar.vue +3 -9
- package/vue/UiAffordanceScope.vue +4 -4
- package/vue/UiAvatar.vue +1 -28
- package/vue/UiAvatarGroup.vue +1 -11
- package/vue/UiBadge.d.ts +2 -2
- package/vue/UiBadge.vue +84 -81
- package/vue/UiButton.d.ts +2 -2
- package/vue/UiButton.vue +78 -97
- package/vue/UiCallout.vue +30 -71
- package/vue/UiCard.d.ts +2 -2
- package/vue/UiCard.vue +77 -26
- package/vue/UiCheckbox.vue +1 -15
- package/vue/UiCluster.vue +1 -10
- package/vue/UiCombobox.vue +13 -72
- package/vue/UiContainer.vue +1 -13
- package/vue/UiContextMenu.vue +1 -30
- package/vue/UiDialog.vue +3 -33
- package/vue/UiDisclosure.vue +1 -15
- package/vue/UiEditorTableOverlay.d.ts +11 -1
- package/vue/UiEditorTableOverlay.vue +100 -65
- package/vue/UiFloatingActionButton.vue +0 -22
- package/vue/UiFormField.vue +6 -33
- package/vue/UiGrid.vue +1 -13
- package/vue/UiIcon.vue +1 -16
- package/vue/UiIconButton.d.ts +2 -2
- package/vue/UiIconButton.vue +103 -99
- package/vue/UiInput.vue +1 -54
- package/vue/UiInputGroup.vue +8 -20
- package/vue/UiList.vue +2 -12
- package/vue/UiListItem.vue +8 -26
- package/vue/UiListbox.vue +0 -23
- package/vue/UiMenu.vue +1 -23
- package/vue/UiMenuItem.vue +0 -26
- package/vue/UiMeter.d.ts +2 -2
- package/vue/UiMeter.vue +47 -12
- package/vue/UiNavItem.vue +3 -21
- package/vue/UiPopover.vue +1 -32
- package/vue/UiRadio.vue +1 -11
- package/vue/UiRadioGroup.vue +0 -11
- package/vue/UiReel.vue +1 -11
- package/vue/UiSearchResultRow.vue +0 -35
- package/vue/UiSearchShell.vue +1 -53
- package/vue/UiSelect.vue +0 -42
- package/vue/UiSeparator.vue +0 -7
- package/vue/UiSidebar.vue +3 -26
- package/vue/UiSiteHeader.vue +0 -24
- package/vue/UiSkeleton.vue +0 -9
- package/vue/UiStack.vue +6 -11
- package/vue/UiSwatch.vue +1 -6
- package/vue/UiSwitch.vue +1 -15
- package/vue/UiSwitcher.vue +1 -14
- package/vue/UiTabs.vue +1 -19
- package/vue/UiText.d.ts +2 -2
- package/vue/UiText.vue +29 -4
- package/vue/UiTextarea.vue +0 -50
- package/vue/UiToast.vue +26 -34
- package/vue/UiToastRegion.vue +26 -55
- package/vue/UiTooltip.vue +1 -43
- package/vue/UiTopBar.vue +1 -34
- package/vue/UiTree.vue +2 -17
- package/vue/UiTreeItem.vue +2 -28
- 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 +4 -2
- package/vue/chunks/UiButton.js +4 -2
- package/vue/chunks/UiCallout.js +1 -1
- package/vue/chunks/UiCard.js +5 -3
- package/vue/chunks/UiCheckbox.js +1 -1
- package/vue/chunks/UiCluster.js +2 -2
- package/vue/chunks/UiCombobox.js +3 -3
- package/vue/chunks/UiContainer.js +2 -2
- package/vue/chunks/UiContextMenu.js +1 -1
- package/vue/chunks/UiDialog.js +1 -1
- package/vue/chunks/UiDisclosure.js +1 -1
- package/vue/chunks/UiEditorTableOverlay.js +41 -13
- package/vue/chunks/UiFloatingActionButton.js +1 -1
- package/vue/chunks/UiFormField.js +1 -1
- package/vue/chunks/UiGrid.js +2 -2
- package/vue/chunks/UiIcon.js +1 -1
- package/vue/chunks/UiIconButton.js +4 -2
- 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/UiMenuItem.js +1 -1
- package/vue/chunks/UiMeter.js +4 -2
- package/vue/chunks/UiNavItem.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 +2 -2
- package/vue/chunks/UiSearchResultRow.js +1 -1
- package/vue/chunks/UiSearchShell.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/UiSiteHeader.js +1 -1
- package/vue/chunks/UiSkeleton.js +1 -1
- package/vue/chunks/UiStack.js +3 -3
- package/vue/chunks/UiSwatch.js +1 -1
- package/vue/chunks/UiSwitch.js +1 -1
- package/vue/chunks/UiSwitcher.js +2 -2
- package/vue/chunks/UiTabs.js +1 -1
- package/vue/chunks/UiText.js +4 -2
- 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 +633 -2068
- package/vue/editor/index.js +7 -1
- package/docs/preview.js +0 -22
package/vue/UiIconButton.vue
CHANGED
|
@@ -125,8 +125,17 @@ const propValidityContract = {
|
|
|
125
125
|
required: false,
|
|
126
126
|
target: { attribute: 'tone' },
|
|
127
127
|
description:
|
|
128
|
-
'Colour for every variant. The default neutral shares the quiet control family with fields and text buttons. Choose accent explicitly for a coloured action,\n or primary for solid accent. danger, success, warning and info share Button\'s intent colors. Native aria-pressed="true" keeps an outline toggle visibly\n pressed; the consumer owns that state.',
|
|
129
|
-
values: [
|
|
128
|
+
'Colour for every variant. The default neutral shares the quiet control family with fields and text buttons. Choose accent explicitly for a coloured action,\n or primary for solid accent. danger, success, warning and info share Button\'s intent colors. Native aria-pressed="true" keeps an outline toggle visibly\n pressed; the consumer owns that state. Supporting brand families use accent-secondary and accent-tertiary; their usable colors derive from the theme, and\n unset families follow the primary accent.',
|
|
129
|
+
values: [
|
|
130
|
+
'accent',
|
|
131
|
+
'accent-secondary',
|
|
132
|
+
'accent-tertiary',
|
|
133
|
+
'neutral',
|
|
134
|
+
'danger',
|
|
135
|
+
'success',
|
|
136
|
+
'warning',
|
|
137
|
+
'info',
|
|
138
|
+
],
|
|
130
139
|
default: 'neutral',
|
|
131
140
|
},
|
|
132
141
|
variant: {
|
|
@@ -158,7 +167,15 @@ const props = defineProps({
|
|
|
158
167
|
size: { type: null as unknown as PropType<'sm' | 'md' | 'lg' | null> },
|
|
159
168
|
tone: {
|
|
160
169
|
type: null as unknown as PropType<
|
|
161
|
-
|
|
170
|
+
| 'accent'
|
|
171
|
+
| 'accent-secondary'
|
|
172
|
+
| 'accent-tertiary'
|
|
173
|
+
| 'neutral'
|
|
174
|
+
| 'danger'
|
|
175
|
+
| 'success'
|
|
176
|
+
| 'warning'
|
|
177
|
+
| 'info'
|
|
178
|
+
| null
|
|
162
179
|
>,
|
|
163
180
|
},
|
|
164
181
|
variant: { type: null as unknown as PropType<'ghost' | 'outline' | 'solid' | null> },
|
|
@@ -281,11 +298,25 @@ const checkedProps = computed(() => {
|
|
|
281
298
|
props['size'],
|
|
282
299
|
props[BINDING_INPUTS_PROP],
|
|
283
300
|
) as 'sm' | 'md' | 'lg',
|
|
284
|
-
tone: propInputs.value<
|
|
285
|
-
'
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
301
|
+
tone: propInputs.value<
|
|
302
|
+
| 'accent'
|
|
303
|
+
| 'accent-secondary'
|
|
304
|
+
| 'accent-tertiary'
|
|
305
|
+
| 'neutral'
|
|
306
|
+
| 'danger'
|
|
307
|
+
| 'success'
|
|
308
|
+
| 'warning'
|
|
309
|
+
| 'info'
|
|
310
|
+
| null
|
|
311
|
+
>('tone', props['tone'], props[BINDING_INPUTS_PROP]) as
|
|
312
|
+
| 'accent'
|
|
313
|
+
| 'accent-secondary'
|
|
314
|
+
| 'accent-tertiary'
|
|
315
|
+
| 'neutral'
|
|
316
|
+
| 'danger'
|
|
317
|
+
| 'success'
|
|
318
|
+
| 'warning'
|
|
319
|
+
| 'info',
|
|
289
320
|
variant: propInputs.value<'ghost' | 'outline' | 'solid' | null>(
|
|
290
321
|
'variant',
|
|
291
322
|
props['variant'],
|
|
@@ -474,85 +505,7 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
474
505
|
</template>
|
|
475
506
|
|
|
476
507
|
<style scoped>
|
|
477
|
-
/*
|
|
478
|
-
@property --ui-icon-button-active-scale {
|
|
479
|
-
syntax: "*";
|
|
480
|
-
inherits: false;
|
|
481
|
-
}
|
|
482
|
-
@property --ui-icon-button-active-surface {
|
|
483
|
-
syntax: "*";
|
|
484
|
-
inherits: false;
|
|
485
|
-
}
|
|
486
|
-
@property --ui-icon-button-border {
|
|
487
|
-
syntax: "*";
|
|
488
|
-
inherits: false;
|
|
489
|
-
}
|
|
490
|
-
@property --ui-icon-button-disabled-filter {
|
|
491
|
-
syntax: "*";
|
|
492
|
-
inherits: false;
|
|
493
|
-
}
|
|
494
|
-
@property --ui-icon-button-disabled-opacity {
|
|
495
|
-
syntax: "*";
|
|
496
|
-
inherits: false;
|
|
497
|
-
}
|
|
498
|
-
@property --ui-icon-button-hover-border {
|
|
499
|
-
syntax: "*";
|
|
500
|
-
inherits: false;
|
|
501
|
-
}
|
|
502
|
-
@property --ui-icon-button-hover-surface {
|
|
503
|
-
syntax: "*";
|
|
504
|
-
inherits: false;
|
|
505
|
-
}
|
|
506
|
-
@property --ui-icon-button-hover-text {
|
|
507
|
-
syntax: "*";
|
|
508
|
-
inherits: false;
|
|
509
|
-
}
|
|
510
|
-
@property --ui-icon-button-icon-size {
|
|
511
|
-
syntax: "*";
|
|
512
|
-
inherits: false;
|
|
513
|
-
}
|
|
514
|
-
@property --ui-icon-button-icon-stroke-width {
|
|
515
|
-
syntax: "*";
|
|
516
|
-
inherits: false;
|
|
517
|
-
}
|
|
518
|
-
@property --ui-icon-button-outline-surface {
|
|
519
|
-
syntax: "*";
|
|
520
|
-
inherits: false;
|
|
521
|
-
}
|
|
522
|
-
@property --ui-icon-button-outline-text {
|
|
523
|
-
syntax: "*";
|
|
524
|
-
inherits: false;
|
|
525
|
-
}
|
|
526
|
-
@property --ui-icon-button-radius {
|
|
527
|
-
syntax: "*";
|
|
528
|
-
inherits: false;
|
|
529
|
-
}
|
|
530
|
-
@property --ui-icon-button-size {
|
|
531
|
-
syntax: "*";
|
|
532
|
-
inherits: false;
|
|
533
|
-
}
|
|
534
|
-
@property --ui-icon-button-solid-hover-surface {
|
|
535
|
-
syntax: "*";
|
|
536
|
-
inherits: false;
|
|
537
|
-
}
|
|
538
|
-
@property --ui-icon-button-solid-shadow {
|
|
539
|
-
syntax: "*";
|
|
540
|
-
inherits: false;
|
|
541
|
-
}
|
|
542
|
-
@property --ui-icon-button-solid-surface {
|
|
543
|
-
syntax: "*";
|
|
544
|
-
inherits: false;
|
|
545
|
-
}
|
|
546
|
-
@property --ui-icon-button-solid-text {
|
|
547
|
-
syntax: "*";
|
|
548
|
-
inherits: false;
|
|
549
|
-
}
|
|
550
|
-
@property --ui-icon-button-surface {
|
|
551
|
-
syntax: "*";
|
|
552
|
-
inherits: false;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
/* Neutral actions share the same quiet surface and border roles as fields. */
|
|
508
|
+
/* Neutral actions and form fields share the control boundary. */
|
|
556
509
|
|
|
557
510
|
/* At rest an anticipatory button shows only its guide dot. The icon grows into place when
|
|
558
511
|
proximity, hover, or focus reveals it; the button's hit area and guide remain stable. */
|
|
@@ -594,18 +547,65 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
594
547
|
--_ui-action-shadow:
|
|
595
548
|
var(--_ui-action-edge),
|
|
596
549
|
0 1px 2px light-dark(rgb(0 0 0 / 0.10), rgb(0 0 0 / 0.20));
|
|
597
|
-
/*
|
|
550
|
+
/* Resolve shared part values at the component root. */
|
|
598
551
|
--_ui-icon-button-icon-size: var(--ui-icon-button-icon-size);
|
|
599
552
|
--_ui-icon-button-icon-stroke-width: var(--ui-icon-button-icon-stroke-width);
|
|
600
553
|
|
|
601
554
|
display: inline-flex !important;
|
|
602
555
|
color: var(--ui-text-secondary);
|
|
603
556
|
}
|
|
604
|
-
|
|
605
557
|
:global(:scope:dir(rtl):where([data-hn-ui-icon-button])) {
|
|
606
558
|
--_ui-action-start: -1px;
|
|
607
559
|
}
|
|
608
|
-
|
|
560
|
+
:global(:scope[data-tone="accent-secondary"]:where([data-hn-ui-icon-button])) {
|
|
561
|
+
--_solid-border: var(--ui-accent-secondary-border, var(--ui-accent-secondary));
|
|
562
|
+
--_solid-hover-border: var(
|
|
563
|
+
--ui-accent-secondary-hover-border,
|
|
564
|
+
var(--ui-accent-secondary-hover)
|
|
565
|
+
);
|
|
566
|
+
--_solid-active-border: var(
|
|
567
|
+
--ui-accent-secondary-active-border,
|
|
568
|
+
var(--ui-accent-secondary-active)
|
|
569
|
+
);
|
|
570
|
+
--_solid-active-surface: var(--ui-accent-secondary-active, var(--ui-accent-secondary-hover));
|
|
571
|
+
--_tone-highlight: var(--ui-accent-secondary-highlight, none);
|
|
572
|
+
--_tone-glow: var(--ui-accent-secondary-glow, 0 0 transparent);
|
|
573
|
+
--_icon-button-border: var(--ui-accent-secondary-subtle-text);
|
|
574
|
+
--_icon-button-hover-border: var(--ui-accent-secondary-subtle-text);
|
|
575
|
+
--_icon-button-text: var(--ui-accent-secondary-subtle-text, var(--ui-accent-secondary-solid));
|
|
576
|
+
--_icon-button-outline-surface: color-mix(
|
|
577
|
+
in srgb,
|
|
578
|
+
var(--ui-accent-secondary-solid) 5%,
|
|
579
|
+
var(--ui-surface-default)
|
|
580
|
+
);
|
|
581
|
+
--_icon-button-solid-surface: var(--ui-accent-secondary);
|
|
582
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-secondary-hover);
|
|
583
|
+
--_icon-button-solid-text: var(--ui-on-accent-secondary);
|
|
584
|
+
color: var(--_icon-button-text);
|
|
585
|
+
}
|
|
586
|
+
:global(:scope[data-tone="accent-tertiary"]:where([data-hn-ui-icon-button])) {
|
|
587
|
+
--_solid-border: var(--ui-accent-tertiary-border, var(--ui-accent-tertiary));
|
|
588
|
+
--_solid-hover-border: var(--ui-accent-tertiary-hover-border, var(--ui-accent-tertiary-hover));
|
|
589
|
+
--_solid-active-border: var(
|
|
590
|
+
--ui-accent-tertiary-active-border,
|
|
591
|
+
var(--ui-accent-tertiary-active)
|
|
592
|
+
);
|
|
593
|
+
--_solid-active-surface: var(--ui-accent-tertiary-active, var(--ui-accent-tertiary-hover));
|
|
594
|
+
--_tone-highlight: var(--ui-accent-tertiary-highlight, none);
|
|
595
|
+
--_tone-glow: var(--ui-accent-tertiary-glow, 0 0 transparent);
|
|
596
|
+
--_icon-button-border: var(--ui-accent-tertiary-subtle-text);
|
|
597
|
+
--_icon-button-hover-border: var(--ui-accent-tertiary-subtle-text);
|
|
598
|
+
--_icon-button-text: var(--ui-accent-tertiary-subtle-text, var(--ui-accent-tertiary-solid));
|
|
599
|
+
--_icon-button-outline-surface: color-mix(
|
|
600
|
+
in srgb,
|
|
601
|
+
var(--ui-accent-tertiary-solid) 5%,
|
|
602
|
+
var(--ui-surface-default)
|
|
603
|
+
);
|
|
604
|
+
--_icon-button-solid-surface: var(--ui-accent-tertiary);
|
|
605
|
+
--_icon-button-solid-hover-surface: var(--ui-accent-tertiary-hover);
|
|
606
|
+
--_icon-button-solid-text: var(--ui-on-accent-tertiary);
|
|
607
|
+
color: var(--_icon-button-text);
|
|
608
|
+
}
|
|
609
609
|
:global(:scope[data-tone="accent"]:where([data-hn-ui-icon-button])) {
|
|
610
610
|
--_solid-border: var(--ui-accent-border, var(--ui-accent));
|
|
611
611
|
--_solid-hover-border: var(--ui-accent-hover-border, var(--ui-accent-hover));
|
|
@@ -623,7 +623,6 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
623
623
|
);
|
|
624
624
|
color: var(--_icon-button-text);
|
|
625
625
|
}
|
|
626
|
-
|
|
627
626
|
:global(:scope[data-tone="danger"]:where([data-hn-ui-icon-button])) {
|
|
628
627
|
--_solid-border: var(--ui-danger-border, var(--ui-danger));
|
|
629
628
|
--_solid-hover-border: var(--ui-danger-hover-border, var(--ui-danger-hover));
|
|
@@ -644,7 +643,6 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
644
643
|
--_icon-button-solid-text: var(--ui-danger-on-strong);
|
|
645
644
|
color: var(--_icon-button-text);
|
|
646
645
|
}
|
|
647
|
-
|
|
648
646
|
:global(:scope[data-tone="success"]:where([data-hn-ui-icon-button])) {
|
|
649
647
|
--_solid-border: var(--ui-success-border, var(--ui-success));
|
|
650
648
|
--_solid-hover-border: var(--ui-success-hover-border, var(--ui-success-hover));
|
|
@@ -665,7 +663,6 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
665
663
|
--_icon-button-solid-text: var(--ui-success-on-strong);
|
|
666
664
|
color: var(--_icon-button-text);
|
|
667
665
|
}
|
|
668
|
-
|
|
669
666
|
:global(:scope[data-tone="warning"]:where([data-hn-ui-icon-button])) {
|
|
670
667
|
--_solid-border: var(--ui-warning-border, var(--ui-warning));
|
|
671
668
|
--_solid-hover-border: var(--ui-warning-hover-border, var(--ui-warning-hover));
|
|
@@ -686,7 +683,6 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
686
683
|
--_icon-button-solid-text: var(--ui-warning-on-strong);
|
|
687
684
|
color: var(--_icon-button-text);
|
|
688
685
|
}
|
|
689
|
-
|
|
690
686
|
:global(:scope[data-tone="info"]:where([data-hn-ui-icon-button])) {
|
|
691
687
|
--_solid-border: var(--ui-info-border, var(--ui-info));
|
|
692
688
|
--_solid-hover-border: var(--ui-info-hover-border, var(--ui-info-hover));
|
|
@@ -708,15 +704,15 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
708
704
|
color: var(--_icon-button-text);
|
|
709
705
|
}
|
|
710
706
|
:global(:scope[data-tone="neutral"]:where([data-hn-ui-icon-button])) {
|
|
711
|
-
--_solid-border: var(--ui-
|
|
712
|
-
--_solid-hover-border: var(--ui-
|
|
713
|
-
--_solid-active-border: var(--ui-
|
|
707
|
+
--_solid-border: var(--ui-control-border, var(--ui-neutral-surface));
|
|
708
|
+
--_solid-hover-border: var(--ui-control-border-hover, var(--ui-neutral-hover));
|
|
709
|
+
--_solid-active-border: var(--ui-control-border-hover, var(--ui-neutral-active));
|
|
714
710
|
--_solid-active-surface: var(--ui-neutral-active, var(--ui-neutral-hover));
|
|
715
711
|
--_tone-highlight: var(--ui-neutral-highlight, none);
|
|
716
712
|
--_tone-glow: var(--ui-neutral-glow, 0 0 transparent);
|
|
717
713
|
--_icon-button-outline-surface: transparent;
|
|
718
714
|
--_icon-button-border: var(--ui-control-border);
|
|
719
|
-
--_icon-button-hover-border: var(--ui-control-border-hover
|
|
715
|
+
--_icon-button-hover-border: var(--ui-control-border-hover);
|
|
720
716
|
--_icon-button-text: var(--ui-text);
|
|
721
717
|
--_icon-button-solid-surface: var(--ui-neutral-surface);
|
|
722
718
|
--_icon-button-solid-hover-surface: var(--ui-neutral-hover);
|
|
@@ -736,7 +732,7 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
736
732
|
block-size: var(--ui-affordance-guide-size);
|
|
737
733
|
border-radius: var(--ui-radius-round);
|
|
738
734
|
background: var(--ui-affordance-guide-color, var(--ui-border-strong));
|
|
739
|
-
opacity: calc(var(--ui-affordance-guide-opacity) * var(--
|
|
735
|
+
opacity: calc(var(--ui-affordance-guide-opacity) * var(--_ui-affordance-scope-guide, 1));
|
|
740
736
|
transform: translate(-50%, -50%);
|
|
741
737
|
transition: opacity var(--ui-affordance-motion, var(--ui-motion-fast)) var(--ui-motion-ease);
|
|
742
738
|
pointer-events: none;
|
|
@@ -904,6 +900,14 @@ useComponentHost(() => import('../components/ui-icon-button/ui-icon-button.js'),
|
|
|
904
900
|
var(--_tone-glow);
|
|
905
901
|
}
|
|
906
902
|
|
|
903
|
+
:global(:scope[data-tone="neutral"][data-appearance="outline"]:where([data-hn-ui-icon-button])) {
|
|
904
|
+
box-shadow: var(--ui-neutral-shadow);
|
|
905
|
+
}
|
|
906
|
+
:global(:scope[data-tone="neutral"][data-appearance="solid"]:where([data-hn-ui-icon-button])) {
|
|
907
|
+
border-color: var(--ui-icon-button-border, var(--ui-control-border));
|
|
908
|
+
box-shadow: var(--ui-icon-button-solid-shadow, var(--ui-neutral-shadow));
|
|
909
|
+
}
|
|
910
|
+
|
|
907
911
|
:global(:scope:hover:enabled:not([aria-disabled="true"]):where([data-hn-ui-icon-button])) {
|
|
908
912
|
/* Derived from the text colour so the ghost hover shows on any background. */
|
|
909
913
|
background-color: var(
|
package/vue/UiInput.vue
CHANGED
|
@@ -483,60 +483,7 @@ useComponentHost(() => import('../components/ui-input/ui-input.js'), {
|
|
|
483
483
|
</template>
|
|
484
484
|
|
|
485
485
|
<style scoped>
|
|
486
|
-
/*
|
|
487
|
-
Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
488
|
-
@property --ui-input-border {
|
|
489
|
-
syntax: "*";
|
|
490
|
-
inherits: false;
|
|
491
|
-
}
|
|
492
|
-
@property --ui-input-border-hover {
|
|
493
|
-
syntax: "*";
|
|
494
|
-
inherits: false;
|
|
495
|
-
}
|
|
496
|
-
@property --ui-input-border-width {
|
|
497
|
-
syntax: "*";
|
|
498
|
-
inherits: false;
|
|
499
|
-
}
|
|
500
|
-
@property --ui-input-focus-border {
|
|
501
|
-
syntax: "*";
|
|
502
|
-
inherits: false;
|
|
503
|
-
}
|
|
504
|
-
@property --ui-input-focus-outline {
|
|
505
|
-
syntax: "*";
|
|
506
|
-
inherits: false;
|
|
507
|
-
}
|
|
508
|
-
@property --ui-input-focus-shadow {
|
|
509
|
-
syntax: "*";
|
|
510
|
-
inherits: false;
|
|
511
|
-
}
|
|
512
|
-
@property --ui-input-inline-size {
|
|
513
|
-
syntax: "*";
|
|
514
|
-
inherits: false;
|
|
515
|
-
}
|
|
516
|
-
@property --ui-input-invalid-border {
|
|
517
|
-
syntax: "*";
|
|
518
|
-
inherits: false;
|
|
519
|
-
}
|
|
520
|
-
@property --ui-input-invalid-focus-shadow {
|
|
521
|
-
syntax: "*";
|
|
522
|
-
inherits: false;
|
|
523
|
-
}
|
|
524
|
-
@property --ui-input-min-block-size {
|
|
525
|
-
syntax: "*";
|
|
526
|
-
inherits: false;
|
|
527
|
-
}
|
|
528
|
-
@property --ui-input-radius {
|
|
529
|
-
syntax: "*";
|
|
530
|
-
inherits: false;
|
|
531
|
-
}
|
|
532
|
-
@property --ui-input-shadow {
|
|
533
|
-
syntax: "*";
|
|
534
|
-
inherits: false;
|
|
535
|
-
}
|
|
536
|
-
@property --ui-input-surface {
|
|
537
|
-
syntax: "*";
|
|
538
|
-
inherits: false;
|
|
539
|
-
}
|
|
486
|
+
/* An Input Group sets --_ui-default-input-* for the input inside it, below the input's own hooks. */
|
|
540
487
|
/* Normalize a unitless zero border to a length before the box calculation. */
|
|
541
488
|
@property --_ui-input-stroke {
|
|
542
489
|
syntax: "<length>";
|
package/vue/UiInputGroup.vue
CHANGED
|
@@ -223,26 +223,14 @@ useComponentHost(() => import('../components/ui-input-group/ui-input-group.js'),
|
|
|
223
223
|
</template>
|
|
224
224
|
|
|
225
225
|
<style scoped>
|
|
226
|
-
@property --ui-input-group-radius {
|
|
227
|
-
syntax: "*";
|
|
228
|
-
inherits: false;
|
|
229
|
-
}
|
|
230
|
-
@property --ui-input-group-invalid-border {
|
|
231
|
-
syntax: "*";
|
|
232
|
-
inherits: false;
|
|
233
|
-
}
|
|
234
|
-
@property --ui-input-group-invalid-focus-shadow {
|
|
235
|
-
syntax: "*";
|
|
236
|
-
inherits: false;
|
|
237
|
-
}
|
|
238
226
|
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
227
|
+
("acme" + ".example.com") or slashes around a path. The group draws the field's border and
|
|
228
|
+
focus ring around the input and its affixes together; the input inside drops its own through
|
|
229
|
+
its custom properties, so it is still the one ui-input, with its form behaviour intact. The
|
|
230
|
+
affixes are plain text beside the input, so name the input with a label that says what the
|
|
231
|
+
whole value is. The action slot takes one button at the end, inside the border, for the one
|
|
232
|
+
thing the field is for ("Continue" after a site's address), so it reads as the field's action
|
|
233
|
+
and not the form's. */
|
|
246
234
|
|
|
247
235
|
/* The frame takes its input's size, so a small group lines up with small buttons and fields. */
|
|
248
236
|
|
|
@@ -266,7 +254,7 @@ useComponentHost(() => import('../components/ui-input-group/ui-input-group.js'),
|
|
|
266
254
|
@scope (.ui-input-group) to ([data-hn]) {
|
|
267
255
|
:global(:scope:where([data-hn-ui-input-group])) {
|
|
268
256
|
/* The group's own border and height stand for the input's, so the group is a lone Input's height.
|
|
269
|
-
|
|
257
|
+
These are defaults for the input; public hooks still win. */
|
|
270
258
|
--_ui-default-input-border-width: 0;
|
|
271
259
|
--_ui-default-input-min-block-size: 0;
|
|
272
260
|
--_ui-default-input-frame-width: calc(2 * var(--ui-border-width));
|
package/vue/UiList.vue
CHANGED
|
@@ -185,19 +185,9 @@ const hostState = computed(() =>
|
|
|
185
185
|
</template>
|
|
186
186
|
|
|
187
187
|
<style scoped>
|
|
188
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
189
|
-
@property --ui-list-gap {
|
|
190
|
-
syntax: "*";
|
|
191
|
-
inherits: false;
|
|
192
|
-
}
|
|
193
|
-
@property --ui-list-min-item-width {
|
|
194
|
-
syntax: "*";
|
|
195
|
-
inherits: false;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
188
|
/* A list of native li elements or structured ui-list-item components. It owns the spacing between them, so a view never sets it. The
|
|
199
|
-
|
|
200
|
-
|
|
189
|
+
explicit list role keeps the list announced as one: some browsers drop it from a list with no
|
|
190
|
+
markers. */
|
|
201
191
|
|
|
202
192
|
/* Compact passes its size to the items through private properties, which cross into each item. */
|
|
203
193
|
|
package/vue/UiListItem.vue
CHANGED
|
@@ -216,33 +216,15 @@ const hostState = computed(() =>
|
|
|
216
216
|
</template>
|
|
217
217
|
|
|
218
218
|
<style scoped>
|
|
219
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
220
|
-
@property --ui-list-item-gap {
|
|
221
|
-
syntax: "*";
|
|
222
|
-
inherits: false;
|
|
223
|
-
}
|
|
224
|
-
@property --ui-list-item-icon-size {
|
|
225
|
-
syntax: "*";
|
|
226
|
-
inherits: false;
|
|
227
|
-
}
|
|
228
|
-
@property --ui-list-item-padding-block {
|
|
229
|
-
syntax: "*";
|
|
230
|
-
inherits: false;
|
|
231
|
-
}
|
|
232
|
-
@property --ui-list-item-padding-inline {
|
|
233
|
-
syntax: "*";
|
|
234
|
-
inherits: false;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
219
|
/* One entry in a list: something to recognise (leading, usually an icon), its name (the default
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
220
|
+
slot), one line about it (description), and what it offers (trailing, such as a button or a
|
|
221
|
+
badge). The title and description are one line each and end in an ellipsis, so every item in a
|
|
222
|
+
list has the same height.
|
|
241
223
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
224
|
+
A link in the title is the whole item: its hit area stretches over the item, so the icon and the
|
|
225
|
+
padding follow it too, and the item takes the link's focus ring. The link stays a real link, so
|
|
226
|
+
a router, a modified click, and "open in new tab" all work. Trailing controls sit above it and
|
|
227
|
+
stay their own. */
|
|
246
228
|
|
|
247
229
|
/* Framed cards already have their own edge; the stronger focus ring stays separate. */
|
|
248
230
|
|
|
@@ -258,7 +240,7 @@ const hostState = computed(() =>
|
|
|
258
240
|
|
|
259
241
|
@scope (.ui-list-item) to ([data-hn]) {
|
|
260
242
|
:global(:scope:where([data-hn-ui-list-item])) {
|
|
261
|
-
/*
|
|
243
|
+
/* Resolve shared part values at the component root. */
|
|
262
244
|
--_ui-list-item-icon-size: var(--ui-list-item-icon-size);
|
|
263
245
|
|
|
264
246
|
position: relative;
|
package/vue/UiListbox.vue
CHANGED
|
@@ -400,29 +400,7 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
400
400
|
</template>
|
|
401
401
|
|
|
402
402
|
<style scoped>
|
|
403
|
-
@property --ui-listbox-radius {
|
|
404
|
-
syntax: "*";
|
|
405
|
-
inherits: false;
|
|
406
|
-
}
|
|
407
|
-
@property --ui-listbox-border {
|
|
408
|
-
syntax: "*";
|
|
409
|
-
inherits: false;
|
|
410
|
-
}
|
|
411
|
-
@property --ui-listbox-surface {
|
|
412
|
-
syntax: "*";
|
|
413
|
-
inherits: false;
|
|
414
|
-
}
|
|
415
|
-
@property --ui-listbox-focus-shadow {
|
|
416
|
-
syntax: "*";
|
|
417
|
-
inherits: false;
|
|
418
|
-
}
|
|
419
|
-
@property --ui-listbox-invalid-border {
|
|
420
|
-
syntax: "*";
|
|
421
|
-
inherits: false;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
403
|
/* Its own box around the nested Scroll Area, which it shrinks into so the choices scroll. */
|
|
425
|
-
|
|
426
404
|
@scope (.ui-listbox) to ([data-hn]) {
|
|
427
405
|
:global(:scope:where([data-hn-ui-listbox])) {
|
|
428
406
|
position: relative;
|
|
@@ -497,7 +475,6 @@ useComponentHost(() => import('../components/ui-listbox/ui-listbox.js'), {
|
|
|
497
475
|
display: none !important;
|
|
498
476
|
}
|
|
499
477
|
}
|
|
500
|
-
|
|
501
478
|
@scope ([data-slotted~="ui-listbox"]:not([data-hn])) to ([data-hn], [data-slotted]) {
|
|
502
479
|
:global(:where(.ui-listbox):where(:scope, :not([data-hn], [data-slotted]:not([data-slotted~="ui-listbox"]))):where([data-hn-ui-listbox])) {
|
|
503
480
|
position: relative;
|
package/vue/UiMenu.vue
CHANGED
|
@@ -325,30 +325,8 @@ useComponentHost(() => import('../components/ui-menu/ui-menu.js'), {
|
|
|
325
325
|
</template>
|
|
326
326
|
|
|
327
327
|
<style scoped>
|
|
328
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
329
|
-
@property --ui-menu-surface {
|
|
330
|
-
syntax: "*";
|
|
331
|
-
inherits: false;
|
|
332
|
-
}
|
|
333
|
-
@property --ui-menu-border {
|
|
334
|
-
syntax: "*";
|
|
335
|
-
inherits: false;
|
|
336
|
-
}
|
|
337
|
-
@property --ui-menu-radius {
|
|
338
|
-
syntax: "*";
|
|
339
|
-
inherits: false;
|
|
340
|
-
}
|
|
341
|
-
@property --ui-menu-shadow {
|
|
342
|
-
syntax: "*";
|
|
343
|
-
inherits: false;
|
|
344
|
-
}
|
|
345
|
-
@property --ui-menu-viewport-gap {
|
|
346
|
-
syntax: "*";
|
|
347
|
-
inherits: false;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
328
|
/* Compact sets its items' defaults, so nothing has to rescale a global; an item's own hooks
|
|
351
|
-
|
|
329
|
+
still win. */
|
|
352
330
|
|
|
353
331
|
/* Small follows its trigger down: an item's own hooks still win. */
|
|
354
332
|
|
package/vue/UiMenuItem.vue
CHANGED
|
@@ -364,32 +364,6 @@ useComponentHost(() => import('../components/ui-menu-item/ui-menu-item.js'), {
|
|
|
364
364
|
</template>
|
|
365
365
|
|
|
366
366
|
<style scoped>
|
|
367
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
368
|
-
@property --ui-menu-item-font-size {
|
|
369
|
-
syntax: "*";
|
|
370
|
-
inherits: false;
|
|
371
|
-
}
|
|
372
|
-
@property --ui-menu-item-hover-surface {
|
|
373
|
-
syntax: "*";
|
|
374
|
-
inherits: false;
|
|
375
|
-
}
|
|
376
|
-
@property --ui-menu-item-min-block-size {
|
|
377
|
-
syntax: "*";
|
|
378
|
-
inherits: false;
|
|
379
|
-
}
|
|
380
|
-
@property --ui-menu-item-padding-block {
|
|
381
|
-
syntax: "*";
|
|
382
|
-
inherits: false;
|
|
383
|
-
}
|
|
384
|
-
@property --ui-menu-item-padding-inline {
|
|
385
|
-
syntax: "*";
|
|
386
|
-
inherits: false;
|
|
387
|
-
}
|
|
388
|
-
@property --ui-menu-item-radius {
|
|
389
|
-
syntax: "*";
|
|
390
|
-
inherits: false;
|
|
391
|
-
}
|
|
392
|
-
|
|
393
367
|
/* A named icon has a fixed column; an icon-enabled menu reserves it on every row. */
|
|
394
368
|
|
|
395
369
|
/* A menu marks its chosen item with a check, as menus conventionally do; a radio circle reads
|
package/vue/UiMeter.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
20
20
|
type: PropType<"sm" | "md" | null>;
|
|
21
21
|
};
|
|
22
22
|
tone: {
|
|
23
|
-
type: PropType<"neutral" | "accent" | "info" | "success" | "warning" | "danger" | null>;
|
|
23
|
+
type: PropType<"neutral" | "accent" | "accent-secondary" | "accent-tertiary" | "info" | "success" | "warning" | "danger" | null>;
|
|
24
24
|
};
|
|
25
25
|
value: {
|
|
26
26
|
type: PropType<number | null>;
|
|
@@ -54,7 +54,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
54
54
|
type: PropType<"sm" | "md" | null>;
|
|
55
55
|
};
|
|
56
56
|
tone: {
|
|
57
|
-
type: PropType<"neutral" | "accent" | "info" | "success" | "warning" | "danger" | null>;
|
|
57
|
+
type: PropType<"neutral" | "accent" | "accent-secondary" | "accent-tertiary" | "info" | "success" | "warning" | "danger" | null>;
|
|
58
58
|
};
|
|
59
59
|
value: {
|
|
60
60
|
type: PropType<number | null>;
|