@urbicon-ui/blocks 6.40.3 → 6.43.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.
Files changed (84) hide show
  1. package/dist/components/Calendar/calendar.variants.d.ts +63 -63
  2. package/dist/components/Chat/A2UIView/A2UINode.svelte +20 -39
  3. package/dist/components/Chat/A2UIView/A2UIView.svelte +47 -50
  4. package/dist/components/Chat/A2UIView/a2ui-basic-catalog.d.ts +17 -0
  5. package/dist/components/Chat/A2UIView/a2ui-basic-catalog.js +69 -0
  6. package/dist/components/Chat/A2UIView/a2ui-catalog.d.ts +95 -0
  7. package/dist/components/Chat/A2UIView/a2ui-catalog.js +87 -0
  8. package/dist/components/Chat/A2UIView/a2ui-node-common.d.ts +40 -0
  9. package/dist/components/Chat/A2UIView/a2ui-node-common.js +72 -0
  10. package/dist/components/Chat/A2UIView/a2ui-prompt.d.ts +21 -10
  11. package/dist/components/Chat/A2UIView/a2ui-prompt.js +170 -24
  12. package/dist/components/Chat/A2UIView/a2ui-registry.d.ts +1 -1
  13. package/dist/components/Chat/A2UIView/a2ui-registry.js +2 -1
  14. package/dist/components/Chat/A2UIView/a2ui-render.d.ts +30 -0
  15. package/dist/components/Chat/A2UIView/a2ui-render.js +61 -23
  16. package/dist/components/Chat/A2UIView/a2ui-router.d.ts +136 -0
  17. package/dist/components/Chat/A2UIView/a2ui-router.js +264 -0
  18. package/dist/components/Chat/A2UIView/a2ui-schema.d.ts +45 -0
  19. package/dist/components/Chat/A2UIView/a2ui-schema.js +133 -0
  20. package/dist/components/Chat/A2UIView/a2ui-stream.d.ts +120 -0
  21. package/dist/components/Chat/A2UIView/a2ui-stream.js +406 -0
  22. package/dist/components/Chat/A2UIView/a2ui-transcript.d.ts +65 -0
  23. package/dist/components/Chat/A2UIView/a2ui-transcript.js +101 -0
  24. package/dist/components/Chat/A2UIView/a2ui-validate.d.ts +33 -1
  25. package/dist/components/Chat/A2UIView/a2ui-validate.js +167 -63
  26. package/dist/components/Chat/A2UIView/a2ui.types.d.ts +50 -0
  27. package/dist/components/Chat/A2UIView/a2ui.types.js +38 -1
  28. package/dist/components/Chat/A2UIView/index.d.ts +35 -2
  29. package/dist/components/Chat/A2UIView/index.js +13 -0
  30. package/dist/components/Chat/A2UIView/urbicon/UrbiconA2UINode.svelte +831 -0
  31. package/dist/components/Chat/A2UIView/urbicon/UrbiconA2UINode.svelte.d.ts +4 -0
  32. package/dist/components/Chat/A2UIView/urbicon/a2ui-urbicon-catalog.d.ts +14 -0
  33. package/dist/components/Chat/A2UIView/urbicon/a2ui-urbicon-catalog.js +87 -0
  34. package/dist/components/Chat/A2UIView/urbicon/a2ui-urbicon-registry.d.ts +78 -0
  35. package/dist/components/Chat/A2UIView/urbicon/a2ui-urbicon-registry.js +783 -0
  36. package/dist/components/Chat/A2UIView/urbicon/a2ui-urbicon.variants.d.ts +43 -0
  37. package/dist/components/Chat/A2UIView/urbicon/a2ui-urbicon.variants.js +33 -0
  38. package/dist/components/Chat/A2UIView/urbicon/urbicon-axes.gen.d.ts +7 -0
  39. package/dist/components/Chat/A2UIView/urbicon/urbicon-axes.gen.js +86 -0
  40. package/dist/components/Chat/ChatMessage/chat-message.variants.d.ts +19 -19
  41. package/dist/components/CopyButton/copy-button.variants.d.ts +4 -4
  42. package/dist/components/FileUpload/FileUpload.svelte +8 -5
  43. package/dist/components/FileUpload/fileUpload.variants.js +15 -4
  44. package/dist/components/PinInput/PinInput.svelte +1 -0
  45. package/dist/components/PinInput/pin-input.variants.js +14 -1
  46. package/dist/components/TimeInput/time-input.variants.js +16 -1
  47. package/dist/i18n/index.d.ts +2 -398
  48. package/dist/internal/field-chrome.d.ts +18 -1
  49. package/dist/internal/field-chrome.js +18 -1
  50. package/dist/primitives/Alert/alert.variants.d.ts +8 -8
  51. package/dist/primitives/Avatar/avatar.variants.js +4 -1
  52. package/dist/primitives/Badge/badge.variants.js +11 -2
  53. package/dist/primitives/Button/button.variants.js +4 -1
  54. package/dist/primitives/Card/card.variants.js +4 -1
  55. package/dist/primitives/Checkbox/checkbox.variants.js +7 -1
  56. package/dist/primitives/Combobox/Combobox.svelte +9 -1
  57. package/dist/primitives/Combobox/combobox.variants.d.ts +25 -0
  58. package/dist/primitives/Combobox/combobox.variants.js +32 -3
  59. package/dist/primitives/Combobox/index.d.ts +8 -2
  60. package/dist/primitives/Dialog/dialog.variants.js +4 -1
  61. package/dist/primitives/Drawer/drawer.variants.js +4 -1
  62. package/dist/primitives/Input/input.variants.js +17 -1
  63. package/dist/primitives/JourneyTimeline/journey-timeline.variants.d.ts +22 -22
  64. package/dist/primitives/Menu/menu.variants.js +5 -1
  65. package/dist/primitives/Progress/progress.variants.js +5 -2
  66. package/dist/primitives/RadioGroup/radioGroup.variants.js +68 -9
  67. package/dist/primitives/Select/select.variants.js +13 -4
  68. package/dist/primitives/Slider/Slider.svelte +4 -1
  69. package/dist/primitives/Slider/slider.variants.js +9 -2
  70. package/dist/primitives/Spinner/spinner.variants.d.ts +16 -16
  71. package/dist/primitives/Stepper/stepper.variants.d.ts +11 -11
  72. package/dist/primitives/Textarea/textarea.variants.js +15 -1
  73. package/dist/primitives/Toast/Toaster.svelte +6 -9
  74. package/dist/primitives/Toast/toast.variants.d.ts +12 -12
  75. package/dist/primitives/Toast/toast.variants.js +5 -1
  76. package/dist/primitives/Toggle/toggle.variants.js +92 -18
  77. package/dist/primitives/Tooltip/tooltip.variants.d.ts +3 -3
  78. package/dist/primitives/Tooltip/tooltip.variants.js +5 -1
  79. package/dist/style/themes/index.css +8 -2
  80. package/dist/utils/guide.svelte.js +16 -4
  81. package/dist/utils/persistent-state.svelte.d.ts +25 -1
  82. package/dist/utils/persistent-state.svelte.js +98 -10
  83. package/docs/MIGRATION-v5.md +29 -0
  84. package/package.json +3 -3
@@ -6,8 +6,11 @@ export const progressVariants = tv({
6
6
  label: ['text-sm font-medium text-text-secondary'],
7
7
  valueText: ['text-sm tabular-nums text-text-tertiary'],
8
8
  // tier: commit — progress bar reads as a continuous status pill.
9
+ // Track fill is `surface-interactive` for the same reason as Slider's:
10
+ // `surface-subtle` equals `surface-elevated` in both modes, which made the
11
+ // track disappear on elevated surfaces (cards, popovers, dialogs).
9
12
  track: [
10
- 'relative w-full overflow-hidden rounded-commit bg-surface-subtle',
13
+ 'relative w-full overflow-hidden rounded-commit bg-surface-interactive',
11
14
  'transition-[background-color] duration-[var(--blocks-duration-fast)] ease-out'
12
15
  ],
13
16
  fill: [
@@ -16,7 +19,7 @@ export const progressVariants = tv({
16
19
  'transition-[width,background-color] duration-[var(--blocks-duration-normal)] ease-out'
17
20
  ],
18
21
  circularWrapper: ['relative inline-flex items-center justify-center'],
19
- circularTrack: ['stroke-current text-surface-subtle'],
22
+ circularTrack: ['stroke-current text-surface-interactive'],
20
23
  circularFill: [
21
24
  'stroke-current transition-[stroke-dashoffset] duration-[var(--blocks-duration-normal)] ease-out'
22
25
  ],
@@ -39,13 +39,32 @@ export const radioItemVariants = tv({
39
39
  // a radio indicator declares status, conventionally circular.
40
40
  indicator: [
41
41
  'relative flex items-center justify-center shrink-0 border',
42
- 'transition-[color,background-color,border-color,box-shadow] duration-[var(--blocks-duration-fast)] ease-out',
42
+ 'transition-[color,background-color,border-color,box-shadow,scale] duration-[var(--blocks-duration-fast)] ease-out',
43
+ // Press feedback on the control surface — the same small-element press
44
+ // cue Checkbox took from Badge/Avatar (`scale-95`); `group-active` so
45
+ // pressing the label squeezes the indicator too. It sits on the
46
+ // indicator rather than the dot: the dot already owns the `scale`
47
+ // bucket for its own check-in animation (`scale-0` → `scale-100`), and
48
+ // scaling the parent carries the dot along multiplicatively instead of
49
+ // fighting that bucket — the whole control squeezes as one, exactly as
50
+ // Checkbox's box does with its check glyph. `scale` is in the
51
+ // transition list above, and reduced motion collapses
52
+ // `--blocks-duration-fast` to 1ms.
53
+ 'group-active:scale-95',
43
54
  'peer-focus-visible:ring-2 peer-focus-visible:ring-primary/50',
44
55
  'peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-surface-base'
45
56
  ],
46
57
  dot: [
47
58
  'opacity-0 scale-0',
48
- 'transition-[opacity,transform] duration-[var(--blocks-duration-fast)] ease-out'
59
+ // `scale`, not `transform`: Tailwind 4 compiles `scale-*` to the
60
+ // discrete `scale` property (`scale: var(--tw-scale-x) …`), which a
61
+ // `transition-property: transform` does NOT cover — so the check-in
62
+ // used to pop to full size instantly while only the opacity faded.
63
+ // (The shorthand `transition-transform` would work, since v4 expands it
64
+ // to `transform, translate, scale, rotate`; the explicit list has to
65
+ // name the property it actually animates.) Both durations are tokens,
66
+ // so reduced motion collapses the whole check-in to 1ms.
67
+ 'transition-[opacity,scale] duration-[var(--blocks-duration-fast)] ease-out'
49
68
  ],
50
69
  label: ['text-text-primary select-none leading-snug'],
51
70
  description: ['text-text-tertiary leading-snug']
@@ -139,41 +158,81 @@ export const radioItemVariants = tv({
139
158
  class: { indicator: 'bg-transparent border-transparent group-hover:bg-surface-subtle' }
140
159
  },
141
160
  // Checked intent colors
161
+ // Hover/active darken through the intent interaction-layer tokens — the
162
+ // same `bg-<intent>-hover` / `bg-<intent>-active` ladder Button and
163
+ // Checkbox use — via `group-*` so hovering/pressing the label counts too.
164
+ // The border stays on the base intent stop (as in Checkbox).
165
+ //
166
+ // The dot keeps ONE colour across all three stops: it is the intent's
167
+ // paired on-colour, and `style/contrast.test.ts` measures exactly that
168
+ // pairing (`--color-<intent>` / `-hover` / `-active` against
169
+ // `--color-text-on-primary` / `-on-warning`) across every theme × mode ×
170
+ // state — 126 combinations, all ≥ AA 4.5:1, and all ≥ the 3:1
171
+ // UI-component floor that actually binds a non-text mark. That includes
172
+ // the one adverse direction, `warning/light/active`, where the fill
173
+ // darkens *toward* the dark `text-on-warning`; warning-700 is pinned as
174
+ // the lowest press stop that still clears AA. So a state-dependent dot
175
+ // colour would buy nothing the token graph does not already guarantee.
142
176
  {
143
177
  checked: true,
144
178
  intent: 'primary',
145
- class: { indicator: 'bg-primary border-primary', dot: 'bg-text-on-primary' }
179
+ class: {
180
+ indicator: 'bg-primary border-primary group-hover:bg-primary-hover group-active:bg-primary-active',
181
+ dot: 'bg-text-on-primary'
182
+ }
146
183
  },
147
184
  {
148
185
  checked: true,
149
186
  intent: 'secondary',
150
- class: { indicator: 'bg-secondary border-secondary', dot: 'bg-text-on-primary' }
187
+ class: {
188
+ indicator: 'bg-secondary border-secondary group-hover:bg-secondary-hover group-active:bg-secondary-active',
189
+ dot: 'bg-text-on-primary'
190
+ }
151
191
  },
152
192
  {
153
193
  checked: true,
154
194
  intent: 'success',
155
- class: { indicator: 'bg-success border-success', dot: 'bg-text-on-primary' }
195
+ class: {
196
+ indicator: 'bg-success border-success group-hover:bg-success-hover group-active:bg-success-active',
197
+ dot: 'bg-text-on-primary'
198
+ }
156
199
  },
157
200
  {
158
201
  checked: true,
159
202
  intent: 'warning',
160
- class: { indicator: 'bg-warning border-warning', dot: 'bg-text-on-warning' }
203
+ class: {
204
+ indicator: 'bg-warning border-warning group-hover:bg-warning-hover group-active:bg-warning-active',
205
+ dot: 'bg-text-on-warning'
206
+ }
161
207
  },
162
208
  {
163
209
  checked: true,
164
210
  intent: 'danger',
165
- class: { indicator: 'bg-danger border-danger', dot: 'bg-text-on-primary' }
211
+ class: {
212
+ indicator: 'bg-danger border-danger group-hover:bg-danger-hover group-active:bg-danger-active',
213
+ dot: 'bg-text-on-primary'
214
+ }
166
215
  },
167
216
  {
168
217
  checked: true,
169
218
  intent: 'neutral',
170
- class: { indicator: 'bg-neutral border-neutral', dot: 'bg-text-on-primary' }
219
+ class: {
220
+ indicator: 'bg-neutral border-neutral group-hover:bg-neutral-hover group-active:bg-neutral-active',
221
+ dot: 'bg-text-on-primary'
222
+ }
171
223
  },
172
224
  // Error overrides unchecked border
225
+ // `group-hover:border-danger` pins the hover bucket too: the unchecked
226
+ // compounds above carry a `group-hover:border-*` step, and a plain
227
+ // `border-danger` does not fold it (modifier prefixes are part of the
228
+ // conflict bucket), so without this the error boundary went neutral the
229
+ // moment the pointer arrived — exactly when the mark matters.
173
230
  {
174
231
  error: true,
175
232
  checked: false,
176
- class: { indicator: 'border-danger peer-focus-visible:ring-danger/40' }
233
+ class: {
234
+ indicator: 'border-danger group-hover:border-danger peer-focus-visible:ring-danger/40'
235
+ }
177
236
  }
178
237
  ],
179
238
  defaultVariants: {
@@ -1,4 +1,7 @@
1
+ import { FIELD_MESSAGE_TONES, fieldErrorFrame } from '../../internal/field-chrome.js';
1
2
  import { tv } from '../../utils/variants.js';
3
+ // The trigger is the focusable element, so the error ring lives on it directly.
4
+ const focus = 'focus-visible';
2
5
  export const selectVariants = tv({
3
6
  slots: {
4
7
  wrapper: ['flex flex-col w-full gap-1.5'],
@@ -146,13 +149,19 @@ export const selectVariants = tv({
146
149
  // Declared BEFORE `error` so the error tone wins the message-color
147
150
  // bucket in every call shape — `{ error: true }` alone must read red.
148
151
  messageType: {
149
- error: { message: 'text-danger' },
150
- helper: { message: 'text-text-tertiary' }
152
+ error: { message: FIELD_MESSAGE_TONES.error },
153
+ helper: { message: FIELD_MESSAGE_TONES.helper }
151
154
  },
155
+ // Same error frame as every other field (shared fragment, so a token fix
156
+ // can't miss Select again). Unlike Input/Textarea/PinInput/TimeInput,
157
+ // Select has no `intent` axis, so nothing competes for the border/ring
158
+ // buckets and the frame can stay on the axis. If an `intent` axis is ever
159
+ // added here, move this to the compound stage — see the precedence note in
160
+ // input.variants.ts.
152
161
  error: {
153
162
  true: {
154
- trigger: 'border-danger focus-visible:border-danger focus-visible:ring-danger/20',
155
- message: 'text-danger'
163
+ trigger: fieldErrorFrame(focus),
164
+ message: FIELD_MESSAGE_TONES.error
156
165
  }
157
166
  },
158
167
  required: {
@@ -160,7 +160,7 @@
160
160
  if (status === 'insideValidOnly') return 'var(--color-warning-subtle)';
161
161
  if (status === 'outsideValidDanger') return 'var(--color-danger-subtle)';
162
162
  if (status === 'outsideValidWarning') return 'var(--color-warning-subtle)';
163
- return 'var(--color-surface-subtle)';
163
+ return 'var(--color-surface-interactive)';
164
164
  };
165
165
 
166
166
  const points = [min, ...zoneBoundaries, max];
@@ -460,6 +460,7 @@
460
460
  ? `${label} minimum`
461
461
  : bt('accessibility.minimum') || 'Minimum'}
462
462
  aria-describedby={describedBy}
463
+ aria-invalid={error ? 'true' : undefined}
463
464
  aria-disabled={disabled || undefined}
464
465
  class={unstyled ? (slotClasses?.thumb ?? '') : styles.thumb({ class: slotClasses?.thumb })}
465
466
  style="left: {thumbStartPosition}%"
@@ -479,6 +480,7 @@
479
480
  ? `${label} maximum`
480
481
  : bt('accessibility.maximum') || 'Maximum'}
481
482
  aria-describedby={describedBy}
483
+ aria-invalid={error ? 'true' : undefined}
482
484
  aria-disabled={disabled || undefined}
483
485
  class={unstyled ? (slotClasses?.thumb ?? '') : styles.thumb({ class: slotClasses?.thumb })}
484
486
  style="left: {thumbEndPosition}%"
@@ -495,6 +497,7 @@
495
497
  aria-labelledby={ariaLabelledby}
496
498
  aria-label={ariaLabelledby ? undefined : label || bt('accessibility.slider') || 'Slider'}
497
499
  aria-describedby={describedBy}
500
+ aria-invalid={error ? 'true' : undefined}
498
501
  aria-disabled={disabled || undefined}
499
502
  class={unstyled ? (slotClasses?.thumb ?? '') : styles.thumb({ class: slotClasses?.thumb })}
500
503
  style="left: {thumbPosition}%"
@@ -7,8 +7,11 @@ export const sliderVariants = tv({
7
7
  valueText: ['text-sm tabular-nums text-text-tertiary'],
8
8
  base: ['relative flex items-center w-full touch-none select-none cursor-pointer'],
9
9
  // tier: commit — slider is a continuous-value pill (track + range + thumb).
10
+ // Track fill is `surface-interactive`, matching Toggle's unchecked track:
11
+ // `surface-subtle` resolves to the SAME neutral step as `surface-elevated`
12
+ // in both modes, so the groove vanished on any elevated card/popover.
10
13
  track: [
11
- 'relative w-full overflow-hidden rounded-commit bg-surface-subtle',
14
+ 'relative w-full overflow-hidden rounded-commit bg-surface-interactive',
12
15
  'transition-[background-color] duration-[var(--blocks-duration-fast)]'
13
16
  ],
14
17
  range: [
@@ -20,7 +23,11 @@ export const sliderVariants = tv({
20
23
  'absolute rounded-commit bg-surface-base border-2',
21
24
  'shadow-[var(--blocks-shadow-sm)]',
22
25
  '-translate-x-1/2 -translate-y-1/2 top-1/2',
23
- 'transition-[box-shadow,transform] duration-[var(--blocks-duration-fast)]',
26
+ // `scale`, NOT `transform`: Tailwind 4 emits `scale-*` as the discrete
27
+ // `scale:` property — `hover:scale-110` is the only animated transform
28
+ // here, so it is the only one listed. The centring `-translate-*` above
29
+ // is static (the thumb travels via `left`), so `translate` stays out.
30
+ 'transition-[box-shadow,scale] duration-[var(--blocks-duration-fast)]',
24
31
  'hover:scale-110 hover:shadow-[var(--blocks-shadow-md)]',
25
32
  'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-surface-base'
26
33
  ],
@@ -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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
5
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
11
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
19
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
27
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
35
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
43
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
51
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
59
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
67
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
75
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
83
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
91
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
99
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
107
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
115
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "current" | "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | undefined;
123
+ intent?: "primary" | "secondary" | "success" | "warning" | "danger" | "neutral" | "current" | 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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
7
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
17
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
29
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
41
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
53
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
65
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
77
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
89
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
101
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
113
+ stepState?: "error" | "warning" | "active" | "complete" | "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?: "complete" | "active" | "error" | "warning" | "inactive" | undefined;
125
+ stepState?: "error" | "warning" | "active" | "complete" | "inactive" | undefined;
126
126
  clickable?: boolean | undefined;
127
127
  stepDisabled?: boolean | undefined;
128
128
  separatorComplete?: boolean | undefined;
@@ -1,3 +1,4 @@
1
+ import { fieldErrorFrame } from '../../internal/field-chrome.js';
1
2
  import { tv } from '../../utils/variants.js';
2
3
  export const textareaVariants = tv({
3
4
  slots: {
@@ -83,9 +84,11 @@ export const textareaVariants = tv({
83
84
  error: { message: 'text-danger' },
84
85
  helper: { message: 'text-text-tertiary' }
85
86
  },
87
+ // The error FRAME is not declared here — it lives in the compound stage
88
+ // below, where it beats `intent` by construction. See the precedence note
89
+ // on the first compound entry.
86
90
  error: {
87
91
  true: {
88
- base: 'border-danger focus-visible:border-danger focus-visible:ring-danger/20',
89
92
  message: 'text-danger'
90
93
  }
91
94
  },
@@ -101,6 +104,17 @@ export const textareaVariants = tv({
101
104
  }
102
105
  },
103
106
  compoundVariants: [
107
+ // ── Validation precedence: `error` beats `intent`, explicitly ────────────
108
+ // Both axes paint the SAME three buckets (border-color plus the focused
109
+ // border/ring tint), so exactly one of them can win. Emitting the error
110
+ // frame here rather than on the `error` axis makes that rule structural:
111
+ // compounds always fold after every axis, so `error: true` overrides
112
+ // whatever `intent` painted regardless of how the axes are ordered above
113
+ // (it used to hinge purely on `error` being DECLARED after `intent`).
114
+ {
115
+ error: true,
116
+ class: { base: fieldErrorFrame('focus-visible') }
117
+ },
104
118
  {
105
119
  variant: 'ghost',
106
120
  intent: ['success', 'warning', 'danger'],
@@ -226,16 +226,13 @@
226
226
  Deliberate a11y delta: the old embedded Spinner emitted role="status" +
227
227
  aria-live + an sr-only "Loading..." label — a live region NESTED inside
228
228
  the toast's own role="alert" region. The core emits no semantics; the
229
- toast region owns the announcement. `text-primary` pins the old look:
230
- the public Spinner's intent DEFAULTED to primary, so the loading glyph
231
- always rendered primary regardless of the toast intent (whether it
232
- should follow the intent instead is logged in technical-debt.md). It
233
- wins the color duel against the core's `text-current` by stylesheet
234
- order (theme color utilities sort after keyword colors).
229
+ toast region owns the announcement. The spinner follows the toast intent
230
+ like every other status glyph: with no explicit colour it inherits
231
+ `text-current` from the intent-coloured `slot('icon', intent)` span
232
+ (success text-success, neutral text-text-secondary, …), so a
233
+ success/danger loading toast no longer shows a brand-primary spinner.
235
234
  -->
236
- <span class={slot('icon', toast.intent)}
237
- ><CoreSpinner size="sm" class="text-primary" /></span
238
- >
235
+ <span class={slot('icon', toast.intent)}><CoreSpinner size="sm" /></span>
239
236
  {:else}
240
237
  <IntentIcon class={slot('icon', toast.intent)} />
241
238
  {/if}