@urbicon-ui/blocks 6.43.0 → 6.43.2
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/README.md +1 -1
- package/dist/components/Calendar/calendar.variants.d.ts +63 -63
- package/dist/components/Chat/ChatMessage/ChatMessage.svelte +93 -67
- package/dist/components/Chat/ChatMessage/chat-message.variants.d.ts +7 -0
- package/dist/components/Chat/ChatMessage/chat-message.variants.js +45 -12
- package/dist/components/Chat/ChatMessage/index.d.ts +20 -5
- package/dist/components/Chat/CodeBlock/CodeBlock.svelte +59 -33
- package/dist/components/Chat/CodeBlock/code-block.variants.d.ts +7 -0
- package/dist/components/Chat/CodeBlock/code-block.variants.js +28 -13
- package/dist/components/Chat/CodeBlock/index.d.ts +39 -4
- package/dist/components/Chat/PromptInput/PromptInput.svelte +9 -16
- package/dist/components/Chat/PromptInput/prompt-input.variants.js +16 -15
- package/dist/components/Chat/ToolCallCard/ToolCallCard.svelte +9 -4
- package/dist/components/Chat/ToolCallCard/index.d.ts +4 -3
- package/dist/components/Chat/ToolCallCard/tool-call-card.variants.d.ts +0 -3
- package/dist/components/Chat/ToolCallCard/tool-call-card.variants.js +4 -4
- package/dist/components/CopyButton/CopyButton.svelte +9 -19
- package/dist/components/CopyButton/copy-button.variants.d.ts +4 -4
- package/dist/i18n/index.d.ts +398 -2
- package/dist/internal/copy-state.svelte.d.ts +60 -0
- package/dist/internal/copy-state.svelte.js +76 -0
- package/dist/internal/field-chrome.js +1 -1
- package/dist/primitives/Alert/alert.variants.d.ts +8 -8
- package/dist/primitives/Combobox/combobox.variants.js +11 -4
- package/dist/primitives/JourneyTimeline/journey-timeline.variants.d.ts +22 -22
- package/dist/primitives/RadioGroup/radioGroup.variants.js +6 -1
- package/dist/primitives/Select/select.variants.js +1 -1
- package/dist/primitives/Spinner/spinner.variants.d.ts +16 -16
- package/dist/primitives/Stepper/stepper.variants.d.ts +11 -11
- package/dist/primitives/Stepper/stepper.variants.js +2 -1
- package/dist/primitives/Tab/tab.variants.js +4 -1
- package/dist/primitives/Textarea/textarea.variants.js +1 -1
- package/dist/primitives/Toast/toast.variants.d.ts +12 -12
- package/dist/primitives/Toggle/toggle.variants.js +9 -7
- package/dist/style/foundation.css +19 -9
- package/dist/style/semantic.css +49 -2
- package/dist/style/themes/forest.css +2 -2
- package/dist/style/themes/neutral.css +2 -2
- package/dist/style/themes/ocean.css +2 -2
- package/dist/style/themes/rose.css +2 -2
- package/dist/style/themes/sunset.css +2 -2
- package/dist/utils/figma-token-export.js +7 -3
- package/package.json +3 -3
|
@@ -12,7 +12,13 @@ export const comboboxVariants = tv({
|
|
|
12
12
|
// `variant` axis (default `outlined` keeps the historical look).
|
|
13
13
|
'w-full border bg-surface-base text-text-primary placeholder:text-text-tertiary',
|
|
14
14
|
'transition-colors duration-[var(--blocks-duration-fast)]',
|
|
15
|
-
|
|
15
|
+
// `/20` matches `fieldFocusRing` in internal/field-chrome.ts, which Input,
|
|
16
|
+
// Textarea, Select, PinInput and TimeInput all use. At `/50` this field was
|
|
17
|
+
// the odd one out in both directions: a stronger valid ring than every
|
|
18
|
+
// sibling, and — once it gained the shared error frame (ring-danger/20) —
|
|
19
|
+
// an invalid state weaker than its own valid one. The icon-button slots
|
|
20
|
+
// below keep `/50`: they are small targets, not field frames.
|
|
21
|
+
'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/20 focus-visible:border-primary',
|
|
16
22
|
'disabled:opacity-50 disabled:cursor-not-allowed'
|
|
17
23
|
],
|
|
18
24
|
// Message tone follows the ROLE of the text, not the field state: the
|
|
@@ -92,7 +98,8 @@ export const comboboxVariants = tv({
|
|
|
92
98
|
control: [
|
|
93
99
|
'flex w-full flex-wrap items-center border bg-surface-base cursor-text',
|
|
94
100
|
'transition-colors duration-[var(--blocks-duration-fast)]',
|
|
95
|
-
|
|
101
|
+
// `/20` — same reason as the `input` slot above.
|
|
102
|
+
'focus-within:outline-none focus-within:ring-2 focus-within:ring-primary/20 focus-within:border-primary'
|
|
96
103
|
],
|
|
97
104
|
// Borderless search input inside `control`; the frame owns the border/ring.
|
|
98
105
|
search: [
|
|
@@ -135,8 +142,8 @@ export const comboboxVariants = tv({
|
|
|
135
142
|
control: 'border-border-subtle hover:border-border-default'
|
|
136
143
|
},
|
|
137
144
|
filled: {
|
|
138
|
-
input: 'bg-surface-interactive border-transparent hover:bg-surface-hover focus-visible:bg-surface-base',
|
|
139
|
-
control: 'bg-surface-interactive border-transparent focus-within:bg-surface-base'
|
|
145
|
+
input: 'bg-surface-interactive border-transparent hover:bg-surface-interactive-hover focus-visible:bg-surface-base',
|
|
146
|
+
control: 'bg-surface-interactive border-transparent hover:bg-surface-interactive-hover focus-within:bg-surface-base'
|
|
140
147
|
},
|
|
141
148
|
ghost: {
|
|
142
149
|
input: 'bg-transparent border-transparent hover:bg-surface-subtle focus-visible:bg-surface-base focus-visible:border-border-subtle',
|
|
@@ -2,7 +2,7 @@ import { type SlotNames, type VariantProps } from '../../utils/variants.js';
|
|
|
2
2
|
export declare const journeyTimelineVariants: ((props?: {
|
|
3
3
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
4
4
|
size?: "sm" | "md" | "lg" | undefined;
|
|
5
|
-
status?: "
|
|
5
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
6
6
|
focused?: boolean | undefined;
|
|
7
7
|
interactive?: boolean | undefined;
|
|
8
8
|
travelled?: boolean | undefined;
|
|
@@ -13,7 +13,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
13
13
|
base: (props?: ({
|
|
14
14
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
15
15
|
size?: "sm" | "md" | "lg" | undefined;
|
|
16
|
-
status?: "
|
|
16
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
17
17
|
focused?: boolean | undefined;
|
|
18
18
|
interactive?: boolean | undefined;
|
|
19
19
|
travelled?: boolean | undefined;
|
|
@@ -26,7 +26,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
26
26
|
rail: (props?: ({
|
|
27
27
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
28
28
|
size?: "sm" | "md" | "lg" | undefined;
|
|
29
|
-
status?: "
|
|
29
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
30
30
|
focused?: boolean | undefined;
|
|
31
31
|
interactive?: boolean | undefined;
|
|
32
32
|
travelled?: boolean | undefined;
|
|
@@ -39,7 +39,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
39
39
|
node: (props?: ({
|
|
40
40
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
41
41
|
size?: "sm" | "md" | "lg" | undefined;
|
|
42
|
-
status?: "
|
|
42
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
43
43
|
focused?: boolean | undefined;
|
|
44
44
|
interactive?: boolean | undefined;
|
|
45
45
|
travelled?: boolean | undefined;
|
|
@@ -52,7 +52,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
52
52
|
metaColumn: (props?: ({
|
|
53
53
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
54
54
|
size?: "sm" | "md" | "lg" | undefined;
|
|
55
|
-
status?: "
|
|
55
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
56
56
|
focused?: boolean | undefined;
|
|
57
57
|
interactive?: boolean | undefined;
|
|
58
58
|
travelled?: boolean | undefined;
|
|
@@ -65,7 +65,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
65
65
|
meta: (props?: ({
|
|
66
66
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
67
67
|
size?: "sm" | "md" | "lg" | undefined;
|
|
68
|
-
status?: "
|
|
68
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
69
69
|
focused?: boolean | undefined;
|
|
70
70
|
interactive?: boolean | undefined;
|
|
71
71
|
travelled?: boolean | undefined;
|
|
@@ -78,7 +78,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
78
78
|
markerColumn: (props?: ({
|
|
79
79
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
80
80
|
size?: "sm" | "md" | "lg" | undefined;
|
|
81
|
-
status?: "
|
|
81
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
82
82
|
focused?: boolean | undefined;
|
|
83
83
|
interactive?: boolean | undefined;
|
|
84
84
|
travelled?: boolean | undefined;
|
|
@@ -91,7 +91,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
91
91
|
marker: (props?: ({
|
|
92
92
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
93
93
|
size?: "sm" | "md" | "lg" | undefined;
|
|
94
|
-
status?: "
|
|
94
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
95
95
|
focused?: boolean | undefined;
|
|
96
96
|
interactive?: boolean | undefined;
|
|
97
97
|
travelled?: boolean | undefined;
|
|
@@ -104,7 +104,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
104
104
|
connector: (props?: ({
|
|
105
105
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
106
106
|
size?: "sm" | "md" | "lg" | undefined;
|
|
107
|
-
status?: "
|
|
107
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
108
108
|
focused?: boolean | undefined;
|
|
109
109
|
interactive?: boolean | undefined;
|
|
110
110
|
travelled?: boolean | undefined;
|
|
@@ -117,7 +117,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
117
117
|
content: (props?: ({
|
|
118
118
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
119
119
|
size?: "sm" | "md" | "lg" | undefined;
|
|
120
|
-
status?: "
|
|
120
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
121
121
|
focused?: boolean | undefined;
|
|
122
122
|
interactive?: boolean | undefined;
|
|
123
123
|
travelled?: boolean | undefined;
|
|
@@ -130,7 +130,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
130
130
|
card: (props?: ({
|
|
131
131
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
132
132
|
size?: "sm" | "md" | "lg" | undefined;
|
|
133
|
-
status?: "
|
|
133
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
134
134
|
focused?: boolean | undefined;
|
|
135
135
|
interactive?: boolean | undefined;
|
|
136
136
|
travelled?: boolean | undefined;
|
|
@@ -143,7 +143,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
143
143
|
header: (props?: ({
|
|
144
144
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
145
145
|
size?: "sm" | "md" | "lg" | undefined;
|
|
146
|
-
status?: "
|
|
146
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
147
147
|
focused?: boolean | undefined;
|
|
148
148
|
interactive?: boolean | undefined;
|
|
149
149
|
travelled?: boolean | undefined;
|
|
@@ -156,7 +156,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
156
156
|
trigger: (props?: ({
|
|
157
157
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
158
158
|
size?: "sm" | "md" | "lg" | undefined;
|
|
159
|
-
status?: "
|
|
159
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
160
160
|
focused?: boolean | undefined;
|
|
161
161
|
interactive?: boolean | undefined;
|
|
162
162
|
travelled?: boolean | undefined;
|
|
@@ -169,7 +169,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
169
169
|
trailing: (props?: ({
|
|
170
170
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
171
171
|
size?: "sm" | "md" | "lg" | undefined;
|
|
172
|
-
status?: "
|
|
172
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
173
173
|
focused?: boolean | undefined;
|
|
174
174
|
interactive?: boolean | undefined;
|
|
175
175
|
travelled?: boolean | undefined;
|
|
@@ -182,7 +182,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
182
182
|
labelGroup: (props?: ({
|
|
183
183
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
184
184
|
size?: "sm" | "md" | "lg" | undefined;
|
|
185
|
-
status?: "
|
|
185
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
186
186
|
focused?: boolean | undefined;
|
|
187
187
|
interactive?: boolean | undefined;
|
|
188
188
|
travelled?: boolean | undefined;
|
|
@@ -195,7 +195,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
195
195
|
title: (props?: ({
|
|
196
196
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
197
197
|
size?: "sm" | "md" | "lg" | undefined;
|
|
198
|
-
status?: "
|
|
198
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
199
199
|
focused?: boolean | undefined;
|
|
200
200
|
interactive?: boolean | undefined;
|
|
201
201
|
travelled?: boolean | undefined;
|
|
@@ -208,7 +208,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
208
208
|
subtitle: (props?: ({
|
|
209
209
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
210
210
|
size?: "sm" | "md" | "lg" | undefined;
|
|
211
|
-
status?: "
|
|
211
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
212
212
|
focused?: boolean | undefined;
|
|
213
213
|
interactive?: boolean | undefined;
|
|
214
214
|
travelled?: boolean | undefined;
|
|
@@ -221,7 +221,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
221
221
|
segment: (props?: ({
|
|
222
222
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
223
223
|
size?: "sm" | "md" | "lg" | undefined;
|
|
224
|
-
status?: "
|
|
224
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
225
225
|
focused?: boolean | undefined;
|
|
226
226
|
interactive?: boolean | undefined;
|
|
227
227
|
travelled?: boolean | undefined;
|
|
@@ -234,7 +234,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
234
234
|
detail: (props?: ({
|
|
235
235
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
236
236
|
size?: "sm" | "md" | "lg" | undefined;
|
|
237
|
-
status?: "
|
|
237
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
238
238
|
focused?: boolean | undefined;
|
|
239
239
|
interactive?: boolean | undefined;
|
|
240
240
|
travelled?: boolean | undefined;
|
|
@@ -247,7 +247,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
247
247
|
detailInner: (props?: ({
|
|
248
248
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
249
249
|
size?: "sm" | "md" | "lg" | undefined;
|
|
250
|
-
status?: "
|
|
250
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
251
251
|
focused?: boolean | undefined;
|
|
252
252
|
interactive?: boolean | undefined;
|
|
253
253
|
travelled?: boolean | undefined;
|
|
@@ -260,7 +260,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
260
260
|
detailContent: (props?: ({
|
|
261
261
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
262
262
|
size?: "sm" | "md" | "lg" | undefined;
|
|
263
|
-
status?: "
|
|
263
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
264
264
|
focused?: boolean | undefined;
|
|
265
265
|
interactive?: boolean | undefined;
|
|
266
266
|
travelled?: boolean | undefined;
|
|
@@ -273,7 +273,7 @@ export declare const journeyTimelineVariants: ((props?: {
|
|
|
273
273
|
panel: (props?: ({
|
|
274
274
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
275
275
|
size?: "sm" | "md" | "lg" | undefined;
|
|
276
|
-
status?: "
|
|
276
|
+
status?: "complete" | "active" | "pending" | "attention" | "blocked" | "skipped" | undefined;
|
|
277
277
|
focused?: boolean | undefined;
|
|
278
278
|
interactive?: boolean | undefined;
|
|
279
279
|
travelled?: boolean | undefined;
|
|
@@ -85,7 +85,12 @@ export const radioItemVariants = tv({
|
|
|
85
85
|
indicator: 'w-3.5 h-3.5 mt-px',
|
|
86
86
|
dot: 'w-1.5 h-1.5',
|
|
87
87
|
label: 'text-xs',
|
|
88
|
-
description
|
|
88
|
+
// `description` carries full sentences, so it stops at the body-copy
|
|
89
|
+
// floor (`text-xs`) instead of continuing the ladder down to `text-3xs`
|
|
90
|
+
// (10px) — 2xs/3xs are for marks, hints and dense grids, never for prose
|
|
91
|
+
// (see the tokens page). At this size the label/description hierarchy is
|
|
92
|
+
// carried by colour (text-primary vs text-tertiary) rather than size.
|
|
93
|
+
description: 'text-xs'
|
|
89
94
|
},
|
|
90
95
|
sm: {
|
|
91
96
|
item: 'gap-2',
|
|
@@ -78,7 +78,7 @@ export const selectVariants = tv({
|
|
|
78
78
|
variant: {
|
|
79
79
|
outlined: { trigger: 'border-border-subtle' },
|
|
80
80
|
filled: {
|
|
81
|
-
trigger: 'bg-surface-interactive border-transparent hover:bg-surface-hover focus-visible:bg-surface-base'
|
|
81
|
+
trigger: 'bg-surface-interactive border-transparent hover:bg-surface-interactive-hover focus-visible:bg-surface-base'
|
|
82
82
|
},
|
|
83
83
|
ghost: {
|
|
84
84
|
trigger: 'bg-transparent border-transparent hover:bg-surface-subtle focus-visible:bg-surface-base focus-visible:border-border-subtle'
|
|
@@ -2,13 +2,13 @@ import { type SlotNames, type VariantProps } from '../../utils/variants.js';
|
|
|
2
2
|
export declare const spinnerVariants: ((props?: {
|
|
3
3
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
4
4
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
5
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
5
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
6
6
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
7
7
|
} | undefined) => {
|
|
8
8
|
base: (props?: ({
|
|
9
9
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
10
10
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
11
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
11
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
12
12
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
13
13
|
} & {
|
|
14
14
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -16,7 +16,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
16
16
|
svg: (props?: ({
|
|
17
17
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
18
18
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
19
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
19
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
20
20
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
21
21
|
} & {
|
|
22
22
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
24
24
|
svgCircle: (props?: ({
|
|
25
25
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
26
26
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
27
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
27
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
28
28
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
29
29
|
} & {
|
|
30
30
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -32,7 +32,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
32
32
|
svgPath: (props?: ({
|
|
33
33
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
34
34
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
35
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
35
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
36
36
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
37
37
|
} & {
|
|
38
38
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -40,7 +40,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
40
40
|
dots: (props?: ({
|
|
41
41
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
42
42
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
43
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
43
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
44
44
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
45
45
|
} & {
|
|
46
46
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -48,7 +48,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
48
48
|
dot: (props?: ({
|
|
49
49
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
50
50
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
51
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
51
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
52
52
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
53
53
|
} & {
|
|
54
54
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -56,7 +56,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
56
56
|
pulse: (props?: ({
|
|
57
57
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
58
58
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
59
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
59
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
60
60
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
61
61
|
} & {
|
|
62
62
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -64,7 +64,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
64
64
|
pulseCenter: (props?: ({
|
|
65
65
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
66
66
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
67
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
67
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
68
68
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
69
69
|
} & {
|
|
70
70
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
72
72
|
pulseRing: (props?: ({
|
|
73
73
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
74
74
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
75
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
75
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
76
76
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
77
77
|
} & {
|
|
78
78
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -80,7 +80,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
80
80
|
ring: (props?: ({
|
|
81
81
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
82
82
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
83
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
83
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
84
84
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
85
85
|
} & {
|
|
86
86
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -88,7 +88,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
88
88
|
ringElement: (props?: ({
|
|
89
89
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
90
90
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
91
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
91
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
92
92
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
93
93
|
} & {
|
|
94
94
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -96,7 +96,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
96
96
|
bars: (props?: ({
|
|
97
97
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
98
98
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
99
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
99
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
100
100
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
101
101
|
} & {
|
|
102
102
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -104,7 +104,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
104
104
|
bar: (props?: ({
|
|
105
105
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
106
106
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
107
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
107
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
108
108
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
109
109
|
} & {
|
|
110
110
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -112,7 +112,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
112
112
|
content: (props?: ({
|
|
113
113
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
114
114
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
115
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
115
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
116
116
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
117
117
|
} & {
|
|
118
118
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -120,7 +120,7 @@ export declare const spinnerVariants: ((props?: {
|
|
|
120
120
|
srOnly: (props?: ({
|
|
121
121
|
variant?: "pulse" | "ring" | "default" | "bars" | "dots" | undefined;
|
|
122
122
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
|
|
123
|
-
intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" |
|
|
123
|
+
intent?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
|
|
124
124
|
speed?: "fast" | "slow" | "normal" | undefined;
|
|
125
125
|
} & {
|
|
126
126
|
class?: string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | (string | number | false | /*elided*/ any | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined)[] | Record<string, boolean | null | undefined> | null | undefined;
|
|
@@ -4,7 +4,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
4
4
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
5
5
|
size?: "sm" | "md" | "lg" | undefined;
|
|
6
6
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
7
|
-
stepState?: "
|
|
7
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
8
8
|
clickable?: boolean | undefined;
|
|
9
9
|
stepDisabled?: boolean | undefined;
|
|
10
10
|
separatorComplete?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
14
14
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
15
15
|
size?: "sm" | "md" | "lg" | undefined;
|
|
16
16
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
17
|
-
stepState?: "
|
|
17
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
18
18
|
clickable?: boolean | undefined;
|
|
19
19
|
stepDisabled?: boolean | undefined;
|
|
20
20
|
separatorComplete?: boolean | undefined;
|
|
@@ -26,7 +26,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
26
26
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
27
27
|
size?: "sm" | "md" | "lg" | undefined;
|
|
28
28
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
29
|
-
stepState?: "
|
|
29
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
30
30
|
clickable?: boolean | undefined;
|
|
31
31
|
stepDisabled?: boolean | undefined;
|
|
32
32
|
separatorComplete?: boolean | undefined;
|
|
@@ -38,7 +38,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
38
38
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
39
39
|
size?: "sm" | "md" | "lg" | undefined;
|
|
40
40
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
41
|
-
stepState?: "
|
|
41
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
42
42
|
clickable?: boolean | undefined;
|
|
43
43
|
stepDisabled?: boolean | undefined;
|
|
44
44
|
separatorComplete?: boolean | undefined;
|
|
@@ -50,7 +50,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
50
50
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
51
51
|
size?: "sm" | "md" | "lg" | undefined;
|
|
52
52
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
53
|
-
stepState?: "
|
|
53
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
54
54
|
clickable?: boolean | undefined;
|
|
55
55
|
stepDisabled?: boolean | undefined;
|
|
56
56
|
separatorComplete?: boolean | undefined;
|
|
@@ -62,7 +62,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
62
62
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
63
63
|
size?: "sm" | "md" | "lg" | undefined;
|
|
64
64
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
65
|
-
stepState?: "
|
|
65
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
66
66
|
clickable?: boolean | undefined;
|
|
67
67
|
stepDisabled?: boolean | undefined;
|
|
68
68
|
separatorComplete?: boolean | undefined;
|
|
@@ -74,7 +74,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
74
74
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
75
75
|
size?: "sm" | "md" | "lg" | undefined;
|
|
76
76
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
77
|
-
stepState?: "
|
|
77
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
78
78
|
clickable?: boolean | undefined;
|
|
79
79
|
stepDisabled?: boolean | undefined;
|
|
80
80
|
separatorComplete?: boolean | undefined;
|
|
@@ -86,7 +86,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
86
86
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
87
87
|
size?: "sm" | "md" | "lg" | undefined;
|
|
88
88
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
89
|
-
stepState?: "
|
|
89
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
90
90
|
clickable?: boolean | undefined;
|
|
91
91
|
stepDisabled?: boolean | undefined;
|
|
92
92
|
separatorComplete?: boolean | undefined;
|
|
@@ -98,7 +98,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
98
98
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
99
99
|
size?: "sm" | "md" | "lg" | undefined;
|
|
100
100
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
101
|
-
stepState?: "
|
|
101
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
102
102
|
clickable?: boolean | undefined;
|
|
103
103
|
stepDisabled?: boolean | undefined;
|
|
104
104
|
separatorComplete?: boolean | undefined;
|
|
@@ -110,7 +110,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
110
110
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
111
111
|
size?: "sm" | "md" | "lg" | undefined;
|
|
112
112
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
113
|
-
stepState?: "
|
|
113
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
114
114
|
clickable?: boolean | undefined;
|
|
115
115
|
stepDisabled?: boolean | undefined;
|
|
116
116
|
separatorComplete?: boolean | undefined;
|
|
@@ -122,7 +122,7 @@ export declare const stepperVariants: ((props?: {
|
|
|
122
122
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
123
123
|
size?: "sm" | "md" | "lg" | undefined;
|
|
124
124
|
variant?: "default" | "outlined" | "minimal" | undefined;
|
|
125
|
-
stepState?: "
|
|
125
|
+
stepState?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
|
|
126
126
|
clickable?: boolean | undefined;
|
|
127
127
|
stepDisabled?: boolean | undefined;
|
|
128
128
|
separatorComplete?: boolean | undefined;
|
|
@@ -68,7 +68,8 @@ export const stepperVariants = tv({
|
|
|
68
68
|
indicator: 'size-7 text-xs',
|
|
69
69
|
step: 'gap-2',
|
|
70
70
|
label: 'text-xs',
|
|
71
|
-
|
|
71
|
+
// Body-copy floor — see the same note in radioGroup.variants.ts.
|
|
72
|
+
description: 'text-xs',
|
|
72
73
|
content: 'text-sm',
|
|
73
74
|
indicatorColumn: 'w-7'
|
|
74
75
|
},
|
|
@@ -47,7 +47,10 @@ export const tabVariants = tv({
|
|
|
47
47
|
list: 'p-1 bg-surface-interactive',
|
|
48
48
|
trigger: [
|
|
49
49
|
'px-4 py-2 text-text-tertiary',
|
|
50
|
-
'
|
|
50
|
+
// The trigger sits ON the list's `surface-interactive` fill, so its
|
|
51
|
+
// hover is the fill's own step — `surface-hover` resolves to the same
|
|
52
|
+
// value as the fill in light mode and was a no-op there.
|
|
53
|
+
'hover:text-text-primary hover:bg-surface-interactive-hover',
|
|
51
54
|
'data-[state=active]:bg-surface-base data-[state=active]:text-primary',
|
|
52
55
|
'data-[state=active]:shadow-[var(--blocks-shadow-sm)]'
|
|
53
56
|
]
|
|
@@ -30,7 +30,7 @@ export const textareaVariants = tv({
|
|
|
30
30
|
base: 'border-border-subtle'
|
|
31
31
|
},
|
|
32
32
|
filled: {
|
|
33
|
-
base: 'bg-surface-interactive border-transparent hover:bg-surface-hover focus-visible:bg-surface-base'
|
|
33
|
+
base: 'bg-surface-interactive border-transparent hover:bg-surface-interactive-hover focus-visible:bg-surface-base'
|
|
34
34
|
},
|
|
35
35
|
ghost: {
|
|
36
36
|
base: 'bg-transparent border-transparent hover:bg-surface-subtle focus-visible:bg-surface-base focus-visible:border-border-subtle'
|