@splenddev/kreativ-ui 0.3.14 → 0.3.15

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.
@@ -1,17 +1,546 @@
1
- import * as react from 'react';
2
- import { HTMLAttributes, ReactNode, ButtonHTMLAttributes, CSSProperties, ReactElement, ComponentPropsWithoutRef, HTMLInputTypeAttribute, TextareaHTMLAttributes, InputHTMLAttributes, ElementType, UIEvent, RefObject, LabelHTMLAttributes } from 'react';
3
- import { BaseProps, ColorProps, BaseColor, VariantProps, BaseVariant, DisabledProps, LoadingProps, FullWidthProps, TypographyProps, SizeValue, SizeProps, OrientationProps, Orientation, ThemeTogglerTransition, ClearableProps, UndoRedoProps, ValueProps, StateProps, TrimProps, FormFieldStatus, ValidateOn, EmbeddedProps, ValidateProps, Styleable as Styleable$1, StatusProps, MotionGatedProps as MotionGatedProps$1, ControlledProps, Size, ResponsiveValue } from '@splenddev/kreativ-core/types';
4
1
  import * as _splenddev_kreativ_core from '@splenddev/kreativ-core';
5
- import { MotionGatedProps, BaseProps as BaseProps$1, SizeProps as SizeProps$1, ValueProps as ValueProps$1, VariantProps as VariantProps$1, DisabledProps as DisabledProps$1, ClearableProps as ClearableProps$1, StateProps as StateProps$1, Styleable, FormFieldStatus as FormFieldStatus$1 } from '@splenddev/kreativ-core';
6
- import { ValuePropConvention, SingleFormControlComponent, SpaceValue, RadiusValue } from './types.cjs';
2
+ import { MotionGatedProps, BaseProps as BaseProps$1, SizeProps as SizeProps$1, ValueProps as ValueProps$1, VariantProps as VariantProps$1, DisabledProps as DisabledProps$1, ClearableProps as ClearableProps$1, StateProps as StateProps$1, Styleable } from '@splenddev/kreativ-core';
3
+ import * as React$1 from 'react';
4
+ import { ReactNode, HTMLAttributes, ButtonHTMLAttributes, CSSProperties, ReactElement, ComponentPropsWithoutRef, HTMLInputTypeAttribute, TextareaHTMLAttributes, InputHTMLAttributes, ElementType, UIEvent, RefObject } from 'react';
5
+ import { FeedbackStatusProps, SingleFormControlComponent, SuppressKuiWarningProps, ValuePropConvention, SpaceValue, RadiusValue } from './types.cjs';
6
+ import { BaseProps, ColorProps, BaseColor, VariantProps, BaseVariant, DisabledProps, LoadingProps, FullWidthProps, TypographyProps, SizeValue, SizeProps, OrientationProps, Orientation, ThemeTogglerTransition, ClearableProps, UndoRedoProps, ValueProps, StateProps, TrimProps, FormFieldStatus, ValidateOn, EmbeddedProps, ValidateProps, Styleable as Styleable$1, StatusProps, MotionGatedProps as MotionGatedProps$1, ControlledProps, Size, ResponsiveValue } from '@splenddev/kreativ-core/types';
7
7
  import { z } from 'zod';
8
+ import { Placement } from '@floating-ui/react';
8
9
 
9
- interface AdornmentProps extends HTMLAttributes<HTMLSpanElement> {
10
+ /**
11
+ * Semantic kind of a toast. Drives:
12
+ *
13
+ * - the accent color and default icon (`Toast.Icon` falls back to a status glyph);
14
+ * - the ARIA role on the item (`"error"` → `role="alert"`, everything else
15
+ * → `role="status"`), so errors interrupt screen readers and the rest queue;
16
+ * - the exit animation chosen by `Toast.Viewport`.
17
+ *
18
+ * Mirrors the semantic color tokens in `@theme`: `success` → `--color-kui-success`,
19
+ * `warning` → `--color-kui-warning`, `info` → `--color-kui-info`,
20
+ * `error` → `--color-kui-destructive`, `neutral` → `--color-kui-border`.
21
+ *
22
+ * @see ToastItem for the role mapping
23
+ */
24
+ type ToastStatus = "success" | "error" | "warning" | "info" | "neutral" | "brand";
25
+ /**
26
+ * Where `Toast.Viewport` pins the notification region. Logical edges
27
+ * (`start` / `end`) rather than physical (`left` / `right`), so the
28
+ * region stays RTL-safe without any per-locale overrides.
29
+ *
30
+ * The `top-*` / `bottom-*` axis also selects the enter/exit animation
31
+ * (top slides down, bottom slides up) — see the `ToastViewport` recipe.
32
+ *
33
+ * @see ToastViewport for the actual positioning and per-placement recipe
34
+ */
35
+ type ToastPlacement = "top-start" | "top-center" | "top-end" | "bottom-start" | "bottom-center" | "bottom-end";
36
+ /**
37
+ * A single inline action button rendered by `Toast.Action` on flat /
38
+ * imperative toasts (i.e. entries created with `title` / `description`
39
+ * props instead of compound `children`).
40
+ *
41
+ * Compound toasts (`<Toast.Root><Toast.Action … /></Toast.Root>`) set the
42
+ * label as the button's children and pass `dismissOnAction` directly on the
43
+ * part — this options object only exists to drive the flat template.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * toast("Message archived", {
48
+ * action: { label: "Undo", onClick: () => restore(id) },
49
+ * });
50
+ * ```
51
+ */
52
+ interface ToastActionOptions {
53
+ /** Content of the action button. */
54
+ label: ReactNode;
55
+ /**
56
+ * Invoked when the action button is clicked, **before** the toast is
57
+ * dismissed (unless the handler calls `event.preventDefault()` — the
58
+ * `Toast.Action` part checks `defaultPrevented`).
59
+ */
60
+ onClick: () => void;
61
+ /**
62
+ * Dismiss the toast after the action runs.
63
+ *
64
+ * Set to `false` for "retry", "open settings", and other actions where the
65
+ * user may want to try again from the same toast.
66
+ *
67
+ * @default true
68
+ */
69
+ dismissOnAction?: boolean;
70
+ }
71
+ /**
72
+ * Options accepted by both the imperative API (`toast(...)`,
73
+ * `toast.promise(...)`, etc.) and the declarative `Toast.Root`.
74
+ */
75
+ interface ToastOptions {
76
+ /**
77
+ * Stable identifier. Reusing an id **updates the existing toast in place**
78
+ * rather than adding a second one — this is what makes `toast.update(id, …)`
79
+ * possible and what lets `Toast.Root` react to `open` toggling without
80
+ * spawning duplicates.
81
+ *
82
+ * Auto-generated (`kui-toast-<useId>`) on `Toast.Root` when omitted;
83
+ * auto-generated (monotonic counter) on imperative calls when omitted.
84
+ */
85
+ id?: string;
86
+ /**
87
+ * Primary line of text. Preferred over `description` in the flat template —
88
+ * `Toast.Title` is only rendered when this is non-null.
89
+ */
90
+ title?: ReactNode;
91
+ /**
92
+ * Secondary line of text, rendered under `title` in `Toast.Description`.
93
+ * Omit both `title` and `description` and only the icon + close button render.
94
+ */
95
+ description?: ReactNode;
96
+ /**
97
+ * Overrides the status-driven default icon. Ignored when using compound
98
+ * children — pass `Toast.Icon`'s children instead, which are then used verbatim.
99
+ */
100
+ icon?: ReactNode;
101
+ /**
102
+ * Single inline action. Rendered as `Toast.Action` after the content, before
103
+ * the close button. Toast supports one action per entry by design; for more
104
+ * complex CTAs use compound children and nest as many `Toast.Action`s as needed.
105
+ */
106
+ action?: ToastActionOptions;
107
+ /**
108
+ * Auto-dismiss delay, in milliseconds.
109
+ *
110
+ * - `Infinity` — persistent; user must dismiss manually (or via `action` / `close`).
111
+ * - `undefined` — falls through to `Toast.Provider`'s `duration`.
112
+ * - Fallback chain: `entry.duration ?? provider.duration ?? store default (5000)`.
113
+ *
114
+ * The countdown **pauses** while the viewport is hovered/focused and while
115
+ * the tab is hidden, so users can actually read long toasts.
116
+ */
117
+ duration?: number;
118
+ /**
119
+ * Whether `Toast.Close` is rendered on flat / imperative toasts.
120
+ *
121
+ * Compound toasts are unaffected — include or omit `Toast.Close` in `children`
122
+ * to control dismissal there.
123
+ *
124
+ * @default true
125
+ */
126
+ dismissible?: boolean;
127
+ /**
128
+ * Called exactly once per entry, when it leaves the collection
129
+ * (auto-dismiss, close button, action-dismiss, or programmatic `dismiss`).
130
+ *
131
+ * Useful for cleanup, analytics, or chaining (`onDismiss: () => toast("Next")`).
132
+ * The entry id is passed so a single handler can serve many toasts.
133
+ */
134
+ onDismiss?: (id: string) => void;
135
+ /**
136
+ * Renders a thin progress bar showing the remaining auto-dismiss time.
137
+ *
138
+ * Only meaningful when `duration` is finite; the bar is hidden for
139
+ * `Infinity` / `loading` toasts. Follows the pause/resume of the timer
140
+ * itself — it does not tick independently.
141
+ */
142
+ showProgress?: boolean;
143
+ }
144
+ /**
145
+ * A single item in the canonical collection rendered by `Toast.Viewport`.
146
+ *
147
+ * Created by `toastStore.upsert`, never by consumers directly. The store
148
+ * assigns `id` and `rev`, and `ToastItem` sets `closing` when the exit
149
+ * animation starts.
150
+ */
151
+ interface ToastEntry extends ToastOptions {
152
+ /** Always present on entries — distinct from the optional `id` on `ToastOptions`. */
153
+ id: string;
154
+ /** Always present — defaults to `"neutral"` at the store boundary. */
155
+ status: ToastStatus;
156
+ /**
157
+ * `toast.promise()` **pending** phase. Makes the entry persistent (ignoring
158
+ * `duration`) and swaps the status icon for a spinner. Cleared when the
159
+ * promise settles and the entry transitions to `success` / `error`.
160
+ */
161
+ loading?: boolean;
162
+ /**
163
+ * Playing its exit animation. Set by `toastStore.dismiss`. When the exit
164
+ * completes (or is skipped under `prefers-reduced-motion`), the entry is
165
+ * removed via `toastStore.remove`.
166
+ *
167
+ * @internal
168
+ */
169
+ closing?: boolean;
170
+ /**
171
+ * Bumped whenever `status` / `duration` / `loading` change so the dismiss
172
+ * timer knows to restart. Never read by consumers.
173
+ *
174
+ * @internal
175
+ */
176
+ rev: number;
177
+ /**
178
+ * Declarative compound content (`Toast.Root` children). When present, the
179
+ * flat template (`ToastIcon` + `ToastContent` + `ToastAction` + `ToastClose`)
180
+ * is bypassed and the children render verbatim.
181
+ *
182
+ * The children must be direct `Toast.*` parts — `useValidateChildren("Toast", …)`
183
+ * enforces this in dev.
184
+ */
10
185
  children?: ReactNode;
11
- position?: "start" | "end";
186
+ }
187
+ /**
188
+ * Render templates for `toast.promise`. Each phase can be a static node
189
+ * (fast path) or a function of the settled value / rejection reason.
190
+ *
191
+ * @template T Successful resolution type of the wrapped promise.
192
+ *
193
+ * @example
194
+ * ```ts
195
+ * toast.promise(saveDraft(draftId), {
196
+ * loading: "Saving…",
197
+ * success: (draft) => `Saved as v${draft.version}`,
198
+ * error: (err) => `Could not save: ${(err as Error).message}`,
199
+ * });
200
+ * ```
201
+ */
202
+ interface ToastPromiseMessages<T> {
203
+ /** Shown while the promise is pending. Also makes the entry persistent. */
204
+ loading: ReactNode;
205
+ /** Shown on resolve. Use the callback form to interpolate the result. */
206
+ success: ReactNode | ((data: T) => ReactNode);
207
+ /** Shown on reject. Use the callback form to interpolate the error. */
208
+ error: ReactNode | ((error: unknown) => ReactNode);
209
+ }
210
+ /**
211
+ * Options for `toast.update(id, …)` — mutate an existing entry in place
212
+ * without changing its position in the stack.
213
+ *
214
+ * Omitting `status` keeps the current status. Use `message` as a shorthand
215
+ * for `title` if you only need to swap the primary line.
216
+ */
217
+ interface ToastUpdateOptions extends ToastOptions {
218
+ /** New semantic status. Keeps the current one when omitted. */
219
+ status?: ToastStatus;
220
+ /**
221
+ * Shorthand for `title`. Wins over `title` if both are provided.
222
+ * Exists so common update calls stay terse (`toast.update(id, { message: "Retried" })`).
223
+ */
224
+ message?: ReactNode;
225
+ }
226
+
227
+ declare const ToastIcon: _splenddev_kreativ_core.KuiComponent<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
228
+ declare const ToastContent: _splenddev_kreativ_core.KuiComponent<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
229
+ declare const ToastTitle: _splenddev_kreativ_core.KuiComponent<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
230
+ declare const ToastDescription: _splenddev_kreativ_core.KuiComponent<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
231
+ interface ToastActionProps extends ButtonHTMLAttributes<HTMLButtonElement> {
232
+ dismissOnAction?: boolean;
233
+ }
234
+ declare const ToastAction: _splenddev_kreativ_core.KuiComponent<ToastActionProps, HTMLButtonElement>;
235
+ declare const ToastClose: _splenddev_kreativ_core.KuiComponent<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
236
+ interface ToastViewportProps extends HTMLAttributes<HTMLDivElement> {
237
+ placement?: ToastPlacement;
238
+ offset?: number;
239
+ gap?: number;
240
+ label?: string;
241
+ container?: HTMLElement | null;
242
+ }
243
+ declare const ToastViewport: _splenddev_kreativ_core.KuiComponent<ToastViewportProps, HTMLDivElement>;
244
+ interface ToastProviderProps {
245
+ children?: ReactNode;
246
+ maxVisible?: number;
247
+ duration?: number;
248
+ }
249
+ declare const ToastProvider: _splenddev_kreativ_core.KuiComponent<ToastProviderProps, HTMLElement>;
250
+ interface ToastRootProps extends ToastOptions {
251
+ status?: ToastStatus;
252
+ open?: boolean;
253
+ defaultOpen?: boolean;
254
+ onOpenChange?: (open: boolean) => void;
255
+ children?: ReactNode;
256
+ }
257
+ declare const ToastRoot: _splenddev_kreativ_core.KuiComponent<ToastRootProps, HTMLElement>;
258
+ declare const Toast: {
259
+ Provider: _splenddev_kreativ_core.KuiComponent<ToastProviderProps, HTMLElement>;
260
+ Viewport: _splenddev_kreativ_core.KuiComponent<ToastViewportProps, HTMLDivElement>;
261
+ Root: _splenddev_kreativ_core.KuiComponent<ToastRootProps, HTMLElement>;
262
+ Icon: _splenddev_kreativ_core.KuiComponent<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
263
+ Content: _splenddev_kreativ_core.KuiComponent<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
264
+ Title: _splenddev_kreativ_core.KuiComponent<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
265
+ Description: _splenddev_kreativ_core.KuiComponent<HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
266
+ Action: _splenddev_kreativ_core.KuiComponent<ToastActionProps, HTMLButtonElement>;
267
+ Close: _splenddev_kreativ_core.KuiComponent<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>;
268
+ };
269
+
270
+ declare function promise<T>(source: Promise<T> | (() => Promise<T>), messages: ToastPromiseMessages<T>, options?: ToastOptions): string;
271
+ declare function update(id: string, options: ToastUpdateOptions): void;
272
+ type ToastFn = ((message: ReactNode, options?: ToastOptions) => string) & {
273
+ success: (message: ReactNode, options?: ToastOptions) => string;
274
+ error: (message: ReactNode, options?: ToastOptions) => string;
275
+ warning: (message: ReactNode, options?: ToastOptions) => string;
276
+ info: (message: ReactNode, options?: ToastOptions) => string;
277
+ brand: (message: ReactNode, options?: ToastOptions) => string;
278
+ promise: typeof promise;
279
+ update: typeof update;
280
+ dismiss: (id?: string) => void;
281
+ };
282
+ declare const toast: ToastFn;
283
+
284
+ declare function useToasts(): readonly ToastEntry[];
285
+
286
+ type TooltipDelay = number | {
287
+ open?: number;
288
+ close?: number;
289
+ };
290
+
291
+ interface TooltipProviderProps {
292
+ /** Open/close delay shared by every Tooltip.Root underneath (ms, or `{ open, close }`). Default 500. */
293
+ delay?: TooltipDelay;
294
+ /** After one tooltip closes, how long (ms) the next one opens instantly. Default 300. */
295
+ skipDelayDuration?: number;
296
+ children?: React$1.ReactNode;
297
+ }
298
+ declare function TooltipProvider({ delay, skipDelayDuration, children, }: TooltipProviderProps): React$1.JSX.Element;
299
+ interface TooltipRootProps {
300
+ open?: boolean;
301
+ defaultOpen?: boolean;
302
+ onOpenChange?: (open: boolean) => void;
303
+ placement?: Placement;
304
+ offset?: number;
305
+ delay?: TooltipDelay;
306
+ children?: React$1.ReactNode;
307
+ }
308
+ declare function TooltipRoot({ open: openProp, defaultOpen, onOpenChange, placement: placementProp, offset: offsetProp, delay, children, }: TooltipRootProps): React$1.JSX.Element;
309
+ interface TooltipTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
310
+ asChild?: boolean;
311
+ }
312
+ declare function TooltipPortal({ children }: {
313
+ children?: React$1.ReactNode;
314
+ }): React$1.JSX.Element | null;
315
+ interface TooltipContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
316
+ }
317
+ interface TooltipArrowProps extends React$1.HTMLAttributes<HTMLDivElement> {
318
+ }
319
+ declare const Tooltip: {
320
+ Root: typeof TooltipRoot;
321
+ Trigger: _splenddev_kreativ_core.KuiComponent<TooltipTriggerProps, HTMLButtonElement>;
322
+ Portal: typeof TooltipPortal;
323
+ Content: _splenddev_kreativ_core.KuiComponent<TooltipContentProps, HTMLDivElement>;
324
+ Arrow: _splenddev_kreativ_core.KuiComponent<TooltipArrowProps, HTMLDivElement>;
325
+ };
326
+
327
+ declare function OverlayPortal({ children }: {
328
+ children: React.ReactNode;
329
+ }): React$1.ReactPortal | null;
330
+
331
+ declare function useOverlayRoot(): HTMLElement | null;
332
+
333
+ interface ConfirmOptions extends FeedbackStatusProps {
334
+ /** Identity of the request. Dedupe/conflict matching uses key AND message together. */
335
+ key: string;
336
+ title: string;
337
+ /** Plain string (not ReactNode) so key+message equality is well-defined. */
338
+ message?: string;
339
+ confirmLabel?: string;
340
+ cancelLabel?: string;
341
+ icon?: ReactNode;
342
+ }
343
+ declare class ConfirmConflictError extends Error {
344
+ readonly pendingKey: string;
345
+ readonly requestedKey: string;
346
+ readonly name = "ConfirmConflictError";
347
+ constructor(pendingKey: string, requestedKey: string);
12
348
  }
13
349
 
14
- declare const Adornment: react.ForwardRefExoticComponent<AdornmentProps & react.RefAttributes<HTMLSpanElement>>;
350
+ interface PendingConfirm {
351
+ id: string;
352
+ options: ConfirmOptions;
353
+ promise: Promise<boolean>;
354
+ }
355
+ /**
356
+ * Owns ONLY dedupe/conflict logic and the single pending slot.
357
+ * It never touches dialog suspension — that is DialogStack's domain, and
358
+ * DialogStack never touches dedupe. No shared state machine between them.
359
+ */
360
+ declare class ConfirmRequestManager {
361
+ private entry;
362
+ private listeners;
363
+ private snapshot;
364
+ private seq;
365
+ request: (options: ConfirmOptions, owner?: symbol) => Promise<boolean>;
366
+ /** Called by the dialog when the user acts. No-op if `id` is no longer the pending request. */
367
+ resolve: (id: string, result: boolean) => void;
368
+ /** Termination (unmount / navigation) resolves `false`, never rejects. */
369
+ cancelAll: () => void;
370
+ /** Drop one caller. Cancels only if nobody else (incl. ownerless callers) still wants it. */
371
+ cancelOwner: (owner: symbol) => void;
372
+ getPending: () => PendingConfirm | null;
373
+ subscribe: (listener: () => void) => () => boolean;
374
+ private publish;
375
+ }
376
+ declare const createConfirmRequestManager: () => ConfirmRequestManager;
377
+ /** Default app-wide manager used by the module-level confirmAction(). */
378
+ declare const defaultConfirmManager: ConfirmRequestManager;
379
+
380
+ type ConfirmActionFn = (options: ConfirmOptions) => Promise<boolean>;
381
+ declare function createConfirmAction(manager: ConfirmRequestManager): ConfirmActionFn;
382
+ /**
383
+ * Imperative, async, window.confirm-shaped:
384
+ * if (await confirmAction({ key: "delete-project", title: "Delete project?" })) { ... }
385
+ * Resolves true/false. Rejects with ConfirmConflictError if a different confirm is pending.
386
+ */
387
+ declare const confirmAction: ConfirmActionFn;
388
+ /**
389
+ * Same behaviour, but requests are tied to the calling component's lifetime:
390
+ * if it unmounts while its confirm is pending, the confirm resolves `false`.
391
+ */
392
+ declare function useConfirmAction(manager?: ConfirmRequestManager): ConfirmActionFn;
393
+
394
+ interface ConfirmHostProps {
395
+ manager?: ConfirmRequestManager;
396
+ /** Resolve a pending confirm `false` on browser back/forward. Default true. */
397
+ cancelOnNavigation?: boolean;
398
+ }
399
+ /**
400
+ * Mount once, inside <DialogProvider> (renders through the shared DialogStack).
401
+ * Bridges the imperative manager to the rendered dialog.
402
+ */
403
+ declare function ConfirmHost({ manager, cancelOnNavigation }: ConfirmHostProps): React$1.JSX.Element | null;
404
+
405
+ interface ConfirmDialogProps extends Omit<ConfirmOptions, "key">, Omit<React$1.HTMLAttributes<HTMLDivElement>, "title"> {
406
+ /** Stack identity, supplied by ConfirmHost from the pending request. */
407
+ id: string;
408
+ onResolve: (result: boolean) => void;
409
+ }
410
+ declare const ConfirmDialog: _splenddev_kreativ_core.KuiComponent<ConfirmDialogProps, HTMLDivElement>;
411
+
412
+ interface MenuRootProps {
413
+ open?: boolean;
414
+ defaultOpen?: boolean;
415
+ onOpenChange?: (open: boolean) => void;
416
+ placement?: Placement;
417
+ offset?: number;
418
+ children?: React$1.ReactNode;
419
+ }
420
+ declare function MenuRoot(props: MenuRootProps): React$1.JSX.Element;
421
+ interface MenuSubProps {
422
+ open?: boolean;
423
+ defaultOpen?: boolean;
424
+ onOpenChange?: (open: boolean) => void;
425
+ children?: React$1.ReactNode;
426
+ }
427
+ declare function MenuSub({ children, ...opts }: MenuSubProps): React$1.JSX.Element;
428
+ /** Optional at the consumer level: Content portals itself when no Menu.Portal wraps it. */
429
+ declare function MenuPortal({ children }: {
430
+ children?: React$1.ReactNode;
431
+ }): React$1.JSX.Element | null;
432
+ interface MenuTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
433
+ asChild?: boolean;
434
+ }
435
+ interface MenuContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
436
+ /**
437
+ * Maximum height of the menu.
438
+ * Defaults to the available viewport height.
439
+ */
440
+ maxHeight?: number | string;
441
+ }
442
+ interface MenuLabelProps extends React$1.HTMLAttributes<HTMLDivElement> {
443
+ }
444
+ interface ItemBaseProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onSelect"> {
445
+ disabled?: boolean;
446
+ /** Typeahead label; derived from `children` when that is a plain string. */
447
+ textValue?: string;
448
+ /** Called on activation. `event.preventDefault()` keeps the menu open. */
449
+ onSelect?: (event: Event) => void;
450
+ }
451
+ interface MenuItemProps extends ItemBaseProps {
452
+ tone?: "default" | "destructive";
453
+ inset?: boolean;
454
+ }
455
+ interface MenuCheckboxItemProps extends ItemBaseProps {
456
+ checked?: boolean;
457
+ defaultChecked?: boolean;
458
+ onCheckedChange?: (checked: boolean) => void;
459
+ }
460
+ interface MenuRadioGroupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange"> {
461
+ value?: string;
462
+ defaultValue?: string;
463
+ onValueChange?: (value: string) => void;
464
+ }
465
+ interface MenuRadioItemProps extends ItemBaseProps {
466
+ value: string;
467
+ }
468
+ interface MenuSubTriggerProps extends Omit<ItemBaseProps, "onSelect"> {
469
+ }
470
+ declare const Menu: {
471
+ Root: typeof MenuRoot;
472
+ Trigger: _splenddev_kreativ_core.KuiComponent<MenuTriggerProps, HTMLButtonElement>;
473
+ Portal: typeof MenuPortal;
474
+ Label: _splenddev_kreativ_core.KuiComponent<MenuLabelProps, HTMLDivElement>;
475
+ Content: _splenddev_kreativ_core.KuiComponent<MenuContentProps, HTMLDivElement>;
476
+ Item: _splenddev_kreativ_core.KuiComponent<MenuItemProps, HTMLButtonElement>;
477
+ CheckboxItem: _splenddev_kreativ_core.KuiComponent<MenuCheckboxItemProps, HTMLButtonElement>;
478
+ RadioGroup: _splenddev_kreativ_core.KuiComponent<MenuRadioGroupProps, HTMLDivElement>;
479
+ RadioItem: _splenddev_kreativ_core.KuiComponent<MenuRadioItemProps, HTMLButtonElement>;
480
+ Separator: _splenddev_kreativ_core.KuiComponent<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>;
481
+ Sub: typeof MenuSub;
482
+ SubTrigger: _splenddev_kreativ_core.KuiComponent<MenuSubTriggerProps, HTMLButtonElement>;
483
+ SubContent: _splenddev_kreativ_core.KuiComponent<MenuContentProps, HTMLDivElement>;
484
+ };
485
+
486
+ /**
487
+ * Stand-in matching the locked Dialog stack model:
488
+ * isRegistered -> isTopmost -> isSuspended = isRegistered && !isTopmost.
489
+ * register(id) is a no-op if already registered. Knows NOTHING about dedupe/conflicts.
490
+ */
491
+ declare class DialogStack {
492
+ private order;
493
+ private listeners;
494
+ private version;
495
+ register: (id: string) => void;
496
+ unregister: (id: string) => void;
497
+ isRegistered: (id: string) => boolean;
498
+ isTopmost: (id: string) => boolean;
499
+ isSuspended: (id: string) => boolean;
500
+ subscribe: (listener: () => void) => () => boolean;
501
+ /** Changes on every mutation — for useSyncExternalStore. */
502
+ getSnapshot: () => number;
503
+ private emit;
504
+ }
505
+
506
+ declare function DialogProvider({ children }: {
507
+ children: React.ReactNode;
508
+ }): React$1.JSX.Element;
509
+ /** Nearest provider is the only stack-selection axis (no stackId prop). */
510
+ declare function useDialogStack(): DialogStack;
511
+ /** Subscribes to the stack and returns this dialog's derived state. */
512
+ declare function useDialogState(id: string): {
513
+ stack: DialogStack;
514
+ isRegistered: boolean;
515
+ isTopmost: boolean;
516
+ isSuspended: boolean;
517
+ };
518
+
519
+ type ActionGuardReaction = "tooltip" | "toast" | "confirm";
520
+ interface ActionGuardProps {
521
+ /**
522
+ * true = intercept the action. For `reaction="confirm"` it means "ask first": approval runs the
523
+ * original onClick. Boolean-only in v1.
524
+ */
525
+ blocked: boolean;
526
+ /** Why it's blocked (tooltip body, toast message, or confirm message). */
527
+ message: React$1.ReactNode;
528
+ /** Default "tooltip". */
529
+ reaction?: ActionGuardReaction;
530
+ /** Toast only. Default "warning". */
531
+ status?: ToastStatus;
532
+ /** Confirm only: confirmAction options minus the key/message ActionGuard supplies. */
533
+ confirm?: Omit<ConfirmOptions, "key" | "message">;
534
+ /** An attempt was stopped (tooltip/toast shown, or confirm declined). */
535
+ onBlocked?: () => void;
536
+ /** Exactly one action element (Button, Link, ...). */
537
+ children: React$1.ReactElement<Record<string, any>>;
538
+ }
539
+ /**
540
+ * Wraps one action and, while `blocked`, stops it and reacts with a tooltip, toast, or confirm.
541
+ * Flat-only: a single wrapped child, nothing independently composable.
542
+ */
543
+ declare const ActionGuard: _splenddev_kreativ_core.KuiComponent<ActionGuardProps, HTMLElement>;
15
544
 
16
545
  type ButtonSize = SizeValue | "icon";
17
546
  type ButtonVariant = BaseVariant | "link";
@@ -57,7 +586,7 @@ interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onD
57
586
  render?: (props: ButtonRenderProps) => ReactElement;
58
587
  }
59
588
 
60
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
589
+ declare const Button: React$1.ForwardRefExoticComponent<ButtonProps & React$1.RefAttributes<HTMLButtonElement>>;
61
590
 
62
591
  type ButtonGroupSpacing = "none" | "sm" | "md" | "lg";
63
592
  interface ButtonGroupProps extends Omit<HTMLAttributes<HTMLDivElement>, "color" | "size">, Omit<BaseProps, "unstyled">, SizeProps, OrientationProps {
@@ -83,11 +612,11 @@ interface ButtonGroupLabelProps extends HTMLAttributes<HTMLSpanElement>, Omit<Ba
83
612
  interface ButtonGroupItemProps extends HTMLAttributes<HTMLDivElement> {
84
613
  }
85
614
 
86
- declare const ButtonGroup: react.ForwardRefExoticComponent<ButtonGroupProps & react.RefAttributes<HTMLDivElement>> & {
87
- Separator: react.ForwardRefExoticComponent<ButtonGroupSeparatorProps & react.RefAttributes<HTMLDivElement>>;
88
- Text: react.ForwardRefExoticComponent<ButtonGroupTextProps & react.RefAttributes<HTMLSpanElement>>;
89
- Label: react.ForwardRefExoticComponent<ButtonGroupLabelProps & react.RefAttributes<HTMLSpanElement>>;
90
- Item: react.ForwardRefExoticComponent<ButtonGroupItemProps & react.RefAttributes<HTMLDivElement>>;
615
+ declare const ButtonGroup: React$1.ForwardRefExoticComponent<ButtonGroupProps & React$1.RefAttributes<HTMLDivElement>> & {
616
+ Separator: React$1.ForwardRefExoticComponent<ButtonGroupSeparatorProps & React$1.RefAttributes<HTMLDivElement>>;
617
+ Text: React$1.ForwardRefExoticComponent<ButtonGroupTextProps & React$1.RefAttributes<HTMLSpanElement>>;
618
+ Label: React$1.ForwardRefExoticComponent<ButtonGroupLabelProps & React$1.RefAttributes<HTMLSpanElement>>;
619
+ Item: React$1.ForwardRefExoticComponent<ButtonGroupItemProps & React$1.RefAttributes<HTMLDivElement>>;
91
620
  };
92
621
 
93
622
  interface ButtonGroupContextValue {
@@ -99,8 +628,8 @@ interface ButtonGroupContextValue {
99
628
  interface ButtonGroupItemContextValue {
100
629
  embedded: true;
101
630
  }
102
- declare const ButtonGroupContext: react.Context<ButtonGroupContextValue>;
103
- declare const ButtonGroupItemContext: react.Context<ButtonGroupItemContextValue | null>;
631
+ declare const ButtonGroupContext: React$1.Context<ButtonGroupContextValue>;
632
+ declare const ButtonGroupItemContext: React$1.Context<ButtonGroupItemContextValue | null>;
104
633
  /**
105
634
  * Hook to consume the button group context.
106
635
  * Throws an error if used outside of a `ButtonGroup` provider.
@@ -205,56 +734,57 @@ type PasswordInputProps = Omit<BaseInputProps, "type" | "extraEndAdornment" | "m
205
734
  onVisibleChange?: (visible: boolean) => void;
206
735
  };
207
736
 
208
- declare const Input: _splenddev_kreativ_core.KuiComponent<InputProps, HTMLInputElement>;
737
+ declare const InputBase: _splenddev_kreativ_core.KuiComponent<InputProps, HTMLInputElement>;
738
+ declare const Input: typeof InputBase & SingleFormControlComponent<InputProps>;
209
739
 
210
- interface FormFieldControlProps {
211
- children: react.ReactElement;
740
+ interface FormFieldControlProps extends SuppressKuiWarningProps {
741
+ children: React$1.ReactElement;
212
742
  }
213
743
  declare const FormFieldControl: _splenddev_kreativ_core.KuiComponent<FormFieldControlProps, unknown>;
214
744
 
215
745
  interface FormFieldError {
216
746
  name: string;
217
- message: react.ReactNode;
747
+ message: React$1.ReactNode;
218
748
  }
219
- interface FormFieldMessageProps extends react.HTMLAttributes<HTMLParagraphElement> {
220
- children?: react.ReactNode;
749
+ interface FormFieldMessageProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
750
+ children?: React$1.ReactNode;
221
751
  forceMount?: boolean;
222
752
  "data-kui-motion-gated"?: "true" | "false";
223
753
  }
224
754
  interface FormFieldMessageProps {
225
755
  children?: ReactNode;
226
756
  }
227
- interface FormFieldLabelProps extends react.LabelHTMLAttributes<HTMLLabelElement> {
228
- children?: react.ReactNode;
757
+ interface FormFieldLabelProps extends React$1.LabelHTMLAttributes<HTMLLabelElement> {
758
+ children?: React$1.ReactNode;
229
759
  }
230
- interface FormFieldDescriptionProps extends react.HTMLAttributes<HTMLParagraphElement> {
231
- children?: react.ReactNode;
760
+ interface FormFieldDescriptionProps extends React$1.HTMLAttributes<HTMLParagraphElement> {
761
+ children?: React$1.ReactNode;
232
762
  }
233
763
  interface FormFieldRootProps {
234
764
  id?: string;
235
765
  name?: string;
236
766
  status?: FormFieldStatus;
237
- message?: react.ReactNode;
767
+ message?: React$1.ReactNode;
238
768
  required?: boolean;
239
769
  disabled?: boolean;
240
770
  invalid?: boolean;
241
771
  className?: string;
242
- children?: react.ReactNode;
772
+ children?: React$1.ReactNode;
243
773
  validateOn?: ValidateOn;
244
774
  valuePropConvention?: ValuePropConvention;
245
775
  }
246
776
  interface FormFieldProps$1<P extends object = Record<string, never>> extends Omit<FormFieldRootProps, "children"> {
247
777
  as?: SingleFormControlComponent<P>;
248
778
  controlProps?: Partial<P>;
249
- label?: react.ReactNode;
250
- description?: react.ReactNode;
251
- message?: react.ReactNode;
252
- children?: react.ReactNode;
779
+ label?: React$1.ReactNode;
780
+ description?: React$1.ReactNode;
781
+ message?: React$1.ReactNode;
782
+ children?: React$1.ReactNode;
253
783
  }
254
784
 
255
785
  declare const FormField: (<P extends object>(props: FormFieldProps$1<P> & {
256
- ref?: react.Ref<unknown>;
257
- }) => react.ReactElement | null) & {
786
+ ref?: React$1.Ref<unknown>;
787
+ }) => React$1.ReactElement | null) & {
258
788
  Root: _splenddev_kreativ_core.KuiComponent<FormFieldRootProps, HTMLDivElement>;
259
789
  Label: _splenddev_kreativ_core.KuiComponent<FormFieldLabelProps, HTMLLabelElement>;
260
790
  Description: _splenddev_kreativ_core.KuiComponent<FormFieldDescriptionProps, HTMLParagraphElement>;
@@ -292,29 +822,29 @@ interface SelectGroupProps extends Styleable, Required<Pick<BaseProps$1, "childr
292
822
  interface SelectLabelProps extends Styleable, Required<Pick<BaseProps$1, "children">> {
293
823
  }
294
824
 
295
- declare function SelectContent({ className, children, ...props }: SelectContentProps): react.JSX.Element;
825
+ declare function SelectContent({ className, children, ...props }: SelectContentProps): React$1.JSX.Element;
296
826
 
297
- declare function SelectItem({ value, disabled, children, className, ...props }: SelectItemProps): react.JSX.Element;
827
+ declare function SelectItem({ value, disabled, children, className, ...props }: SelectItemProps): React$1.JSX.Element;
298
828
 
299
- declare function SelectValue({ placeholder, className }: SelectValueProps): react.JSX.Element;
829
+ declare function SelectValue({ placeholder, className }: SelectValueProps): React$1.JSX.Element;
300
830
 
301
- declare function SelectGroup({ children, className }: SelectGroupProps): react.JSX.Element;
831
+ declare function SelectGroup({ children, className }: SelectGroupProps): React$1.JSX.Element;
302
832
 
303
- declare function SelectLabel({ children, className }: SelectLabelProps): react.JSX.Element;
833
+ declare function SelectLabel({ children, className }: SelectLabelProps): React$1.JSX.Element;
304
834
 
305
835
  interface SelectOption {
306
836
  value: string;
307
- label: react.ReactNode;
837
+ label: React$1.ReactNode;
308
838
  disabled?: boolean;
309
839
  }
310
840
  interface SelectProps extends Omit<SelectRootProps, "children"> {
311
841
  options?: SelectOption[];
312
- children?: react.ReactNode;
313
- label?: string | react.ReactNode;
842
+ children?: React$1.ReactNode;
843
+ label?: string | React$1.ReactNode;
314
844
  }
315
- declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLDivElement>> & {
845
+ declare const Select: React$1.ForwardRefExoticComponent<SelectProps & React$1.RefAttributes<HTMLDivElement>> & {
316
846
  Root: _splenddev_kreativ_core.KuiComponent<SelectRootProps, HTMLDivElement>;
317
- Trigger: react.ForwardRefExoticComponent<SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>;
847
+ Trigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
318
848
  Content: typeof SelectContent;
319
849
  Item: typeof SelectItem;
320
850
  Value: typeof SelectValue;
@@ -325,7 +855,7 @@ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAtt
325
855
  };
326
856
  };
327
857
 
328
- declare const SelectTrigger: react.ForwardRefExoticComponent<SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>;
858
+ declare const SelectTrigger: React$1.ForwardRefExoticComponent<SelectTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
329
859
 
330
860
  declare const SelectRoot: _splenddev_kreativ_core.KuiComponent<SelectRootProps, HTMLDivElement>;
331
861
 
@@ -386,9 +916,9 @@ interface RadioGroupProps extends Styleable$1 {
386
916
  children: ReactNode;
387
917
  }
388
918
 
389
- declare function RadioGroup({ value: valueProp, defaultValue, onValueChange, name: nameProp, disabled, required, orientation, size, error, success, className, children, }: RadioGroupProps): react.JSX.Element;
919
+ declare function RadioGroup({ value: valueProp, defaultValue, onValueChange, name: nameProp, disabled, required, orientation, size, error, success, className, children, }: RadioGroupProps): React$1.JSX.Element;
390
920
 
391
- declare function Radio({ value, disabled: itemDisabled, label, description, className, ...props }: RadioProps): react.JSX.Element;
921
+ declare function Radio({ value, disabled: itemDisabled, label, description, className, ...props }: RadioProps): React$1.JSX.Element;
392
922
 
393
923
  type SwitchSize = "xs" | "sm" | "md" | "lg";
394
924
  interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "checked" | "defaultChecked">, Styleable$1 {
@@ -421,35 +951,35 @@ interface ComboboxInputProps extends InputProps {
421
951
  allowFreeText?: boolean;
422
952
  }
423
953
 
424
- declare function ComboboxItem({ value, disabled, children, className, }: ComboboxItemProps): react.JSX.Element | null;
954
+ declare function ComboboxItem({ value, disabled, children, className, }: ComboboxItemProps): React$1.JSX.Element | null;
425
955
 
426
956
  declare function ComboboxContent({ className, children, }: {
427
957
  className?: string;
428
958
  children: React.ReactNode;
429
- }): react.JSX.Element | null;
959
+ }): React$1.JSX.Element | null;
430
960
 
431
961
  interface ComboboxEmptyProps {
432
962
  children?: React.ReactNode;
433
963
  className?: string;
434
964
  }
435
- declare function ComboboxEmpty({ children }: ComboboxEmptyProps): react.JSX.Element | null;
965
+ declare function ComboboxEmpty({ children }: ComboboxEmptyProps): React$1.JSX.Element | null;
436
966
 
437
967
  interface ComboboxLoadingProps {
438
968
  children?: React.ReactNode;
439
969
  className?: string;
440
970
  }
441
- declare function ComboboxLoading({ children, className, }: ComboboxLoadingProps): react.JSX.Element;
971
+ declare function ComboboxLoading({ children, className, }: ComboboxLoadingProps): React$1.JSX.Element;
442
972
 
443
- declare function Combobox({ value, onValueChange, inputValue: inputValueProp, defaultInputValue, onInputChange, disabled, name, error, success, rounded, className, children, }: ComboboxProps): react.JSX.Element;
973
+ declare function Combobox({ value, onValueChange, inputValue: inputValueProp, defaultInputValue, onInputChange, disabled, name, error, success, rounded, className, children, }: ComboboxProps): React$1.JSX.Element;
444
974
  declare namespace Combobox {
445
- var Input: react.ForwardRefExoticComponent<ComboboxInputProps & react.RefAttributes<HTMLInputElement>>;
975
+ var Input: React$1.ForwardRefExoticComponent<ComboboxInputProps & React$1.RefAttributes<HTMLInputElement>>;
446
976
  var Item: typeof ComboboxItem;
447
977
  var Content: typeof ComboboxContent;
448
978
  var Empty: typeof ComboboxEmpty;
449
979
  var Loading: typeof ComboboxLoading;
450
980
  }
451
981
 
452
- declare const ComboboxInput: react.ForwardRefExoticComponent<ComboboxInputProps & react.RefAttributes<HTMLInputElement>>;
982
+ declare const ComboboxInput: React$1.ForwardRefExoticComponent<ComboboxInputProps & React$1.RefAttributes<HTMLInputElement>>;
453
983
 
454
984
  interface MultiSelectProps extends Styleable$1 {
455
985
  value?: string[];
@@ -478,25 +1008,25 @@ interface MultiSelectItemProps {
478
1008
  interface MultiSelectContentProps extends HTMLAttributes<HTMLDivElement> {
479
1009
  className?: string;
480
1010
  }
481
- declare function MultiSelectContent({ className, children, ...props }: MultiSelectContentProps): react.JSX.Element | null;
1011
+ declare function MultiSelectContent({ className, children, ...props }: MultiSelectContentProps): React$1.JSX.Element | null;
482
1012
 
483
- declare function MultiSelectItem({ value, disabled, children, className, }: MultiSelectItemProps): react.JSX.Element;
1013
+ declare function MultiSelectItem({ value, disabled, children, className, }: MultiSelectItemProps): React$1.JSX.Element;
484
1014
 
485
- declare function MultiSelect({ value: valueProp, defaultValue, onValueChange, disabled, required, name, variant, size, placeholder, maxVisibleChips, className, children, error, success, rounded, clearable, }: MultiSelectProps): react.JSX.Element;
1015
+ declare function MultiSelect({ value: valueProp, defaultValue, onValueChange, disabled, required, name, variant, size, placeholder, maxVisibleChips, className, children, error, success, rounded, clearable, }: MultiSelectProps): React$1.JSX.Element;
486
1016
  declare namespace MultiSelect {
487
- var Trigger: react.ForwardRefExoticComponent<{
1017
+ var Trigger: React$1.ForwardRefExoticComponent<{
488
1018
  className?: string;
489
- } & react.RefAttributes<HTMLButtonElement>>;
1019
+ } & React$1.RefAttributes<HTMLButtonElement>>;
490
1020
  var Content: typeof MultiSelectContent;
491
1021
  var Item: typeof MultiSelectItem;
492
1022
  }
493
1023
 
494
- declare const MultiSelectTrigger: react.ForwardRefExoticComponent<{
1024
+ declare const MultiSelectTrigger: React$1.ForwardRefExoticComponent<{
495
1025
  className?: string;
496
- } & react.RefAttributes<HTMLButtonElement>>;
1026
+ } & React$1.RefAttributes<HTMLButtonElement>>;
497
1027
 
498
1028
  type FormValues = Record<string, unknown>;
499
- type FormErrors = Record<string, react.ReactNode | undefined>;
1029
+ type FormErrors = Record<string, React$1.ReactNode | undefined>;
500
1030
  interface FormContextValue {
501
1031
  values: FormValues;
502
1032
  isSubmitting: boolean;
@@ -504,7 +1034,7 @@ interface FormContextValue {
504
1034
  schema: unknown;
505
1035
  setValue: (name: string, value: unknown) => void;
506
1036
  getValue: (name: string) => unknown;
507
- setFieldError: (name: string, message: react.ReactNode | undefined) => void;
1037
+ setFieldError: (name: string, message: React$1.ReactNode | undefined) => void;
508
1038
  registerField: (name: string, element: HTMLElement | null) => void;
509
1039
  submit: () => void;
510
1040
  reset: () => void;
@@ -533,14 +1063,14 @@ interface FormRootProps {
533
1063
  validate?: ManualValidator;
534
1064
  defaultValues?: FormValues;
535
1065
  onSubmit?: (values: FormValues) => void | Promise<void>;
536
- onSubmitCapture?: (event: react.FormEvent<HTMLFormElement>) => void;
1066
+ onSubmitCapture?: (event: React$1.FormEvent<HTMLFormElement>) => void;
537
1067
  scrollToFirstOnError?: boolean;
538
1068
  className?: string;
539
- children: react.ReactNode;
1069
+ children: React$1.ReactNode;
540
1070
  }
541
1071
 
542
1072
  interface FormSubmitButtonProps {
543
- children: react.ReactElement;
1073
+ children: React$1.ReactElement;
544
1074
  }
545
1075
  /**
546
1076
  * asChild-style: injects type="submit" + disabled (while invalid or
@@ -552,9 +1082,9 @@ interface FormSubmitButtonProps {
552
1082
  * forwarded onto the child. Submit is a one-shot action and is not a
553
1083
  * video.controlled value.
554
1084
  */
555
- declare const FormSubmitButton: react.ForwardRefExoticComponent<FormSubmitButtonProps & react.RefAttributes<unknown>>;
1085
+ declare const FormSubmitButton: React$1.ForwardRefExoticComponent<FormSubmitButtonProps & React$1.RefAttributes<unknown>>;
556
1086
  interface FormResetButtonProps {
557
- children: react.ReactElement;
1087
+ children: React$1.ReactElement;
558
1088
  }
559
1089
  /**
560
1090
  * asChild-style: injects type="button" + an internal reset handler
@@ -568,7 +1098,7 @@ interface FormResetButtonProps {
568
1098
  * Not a createComponent. Same reason as FormSubmitButton. Reset is a
569
1099
  * one-shot action and is not a video.controlled value.
570
1100
  */
571
- declare const FormResetButton: react.ForwardRefExoticComponent<FormResetButtonProps & react.RefAttributes<unknown>>;
1101
+ declare const FormResetButton: React$1.ForwardRefExoticComponent<FormResetButtonProps & React$1.RefAttributes<unknown>>;
572
1102
 
573
1103
  interface NumberStepperValidationResult {
574
1104
  valid: boolean;
@@ -599,10 +1129,12 @@ interface NumberStepperProps {
599
1129
  name?: string;
600
1130
  size?: "sm" | "md" | "lg";
601
1131
  className?: string;
602
- style?: react.CSSProperties;
1132
+ style?: React$1.CSSProperties;
603
1133
  "aria-label"?: string;
604
1134
  }
605
1135
 
1136
+ declare const NumberStepper: _splenddev_kreativ_core.KuiComponent<NumberStepperProps, HTMLInputElement>;
1137
+
606
1138
  interface ComponentPropsMap {
607
1139
  input: InputProps;
608
1140
  select: SelectProps;
@@ -625,13 +1157,13 @@ interface KuiFormControlValueProps<T = unknown> {
625
1157
  value?: T;
626
1158
  onValueChange: (value: T) => void;
627
1159
  }
628
- type KuiFormControlComponent<P extends KuiFormControlValueProps<any> = KuiFormControlValueProps<any>> = react.ComponentType<P> & {
1160
+ type KuiFormControlComponent<P extends KuiFormControlValueProps<any> = KuiFormControlValueProps<any>> = React$1.ComponentType<P> & {
629
1161
  __kui: {
630
1162
  formControl: "single" | "compound";
631
1163
  };
632
1164
  };
633
1165
  interface FieldState {
634
- error?: react.ReactNode;
1166
+ error?: React$1.ReactNode;
635
1167
  invalid: boolean;
636
1168
  isDirty: boolean;
637
1169
  }
@@ -645,14 +1177,14 @@ type CustomFieldRenderer<T = unknown> = (args: {
645
1177
  field: FieldApi<T>;
646
1178
  fieldState: FieldState;
647
1179
  controlProps: FormControlProps;
648
- }) => react.ReactNode;
1180
+ }) => React$1.ReactNode;
649
1181
  interface FormFieldProps {
650
1182
  tone?: "default" | "warning" | "info";
651
1183
  orientation?: "vertical" | "horizontal";
652
1184
  }
653
1185
  interface UISectionSchema {
654
- label?: react.ReactNode;
655
- description?: react.ReactNode;
1186
+ label?: React$1.ReactNode;
1187
+ description?: React$1.ReactNode;
656
1188
  fields: string[];
657
1189
  layout?: string;
658
1190
  columns?: string;
@@ -679,15 +1211,15 @@ interface UIFieldSchemaRender<T = unknown> extends UIFieldSchemaBase {
679
1211
  render: CustomFieldRenderer<T>;
680
1212
  }
681
1213
  interface UIFieldSchemaBase {
682
- label?: react.ReactNode;
683
- description?: react.ReactNode;
1214
+ label?: React$1.ReactNode;
1215
+ description?: React$1.ReactNode;
684
1216
  order?: number;
685
1217
  hidden?: boolean;
686
1218
  formField?: FormFieldProps;
687
1219
  }
688
1220
  interface UIFieldSchemaBase {
689
- label?: react.ReactNode;
690
- description?: react.ReactNode;
1221
+ label?: React$1.ReactNode;
1222
+ description?: React$1.ReactNode;
691
1223
  order?: number;
692
1224
  hidden?: boolean;
693
1225
  formField?: FormFieldProps;
@@ -707,10 +1239,10 @@ type UIObjectSchema = {
707
1239
  $sections?: UISectionSchema[];
708
1240
  };
709
1241
  interface UIArraySchema {
710
- label?: react.ReactNode;
711
- description?: react.ReactNode;
1242
+ label?: React$1.ReactNode;
1243
+ description?: React$1.ReactNode;
712
1244
  item: UIFieldSchema | UIObjectSchema;
713
- addLabel?: react.ReactNode;
1245
+ addLabel?: React$1.ReactNode;
714
1246
  itemLabel?: string;
715
1247
  removable?: boolean;
716
1248
  reorderable?: boolean;
@@ -731,10 +1263,10 @@ type UIObjectSchemaForShape<V> = {
731
1263
  [K in keyof V]?: UIFieldSchemaFor<V[K]>;
732
1264
  };
733
1265
  type UIArraySchemaFor<Item> = {
734
- label?: react.ReactNode;
735
- description?: react.ReactNode;
1266
+ label?: React$1.ReactNode;
1267
+ description?: React$1.ReactNode;
736
1268
  item: UIFieldSchemaFor<Item>;
737
- addLabel?: react.ReactNode;
1269
+ addLabel?: React$1.ReactNode;
738
1270
  itemLabel?: string;
739
1271
  removable?: boolean;
740
1272
  reorderable?: boolean;
@@ -859,7 +1391,7 @@ type FormFromSchemaProps<Schema extends z.ZodObject<any> = z.ZodObject<any>> = F
859
1391
  * // checked automatically, no type argument needed:
860
1392
  * <Form.FromSchema schema={profileSchema} uiSchema={profileUiSchema} />
861
1393
  */
862
- declare function FormFromSchema<Schema extends z.ZodObject<any> = z.ZodObject<any>>({ uiSchema, schema: standaloneSchema }: FormFromSchemaProps<Schema>): react.JSX.Element;
1394
+ declare function FormFromSchema<Schema extends z.ZodObject<any> = z.ZodObject<any>>({ uiSchema, schema: standaloneSchema }: FormFromSchemaProps<Schema>): React$1.JSX.Element;
863
1395
 
864
1396
  declare function defineUIField<K extends ComponentKey>(field: UIFieldSchemaWidgetKey<K>): UIFieldSchemaWidgetKey<K>;
865
1397
  declare function defineUIField<P extends KuiFormControlValueProps<any>>(field: UIFieldSchemaWidgetComponent<P>): UIFieldSchemaWidgetComponent<P>;
@@ -888,15 +1420,88 @@ declare function defineUIField<T>(field: UIFieldSchemaRender<T>): UIFieldSchemaR
888
1420
  * </Form>
889
1421
  * ```
890
1422
  */
891
- declare const Form: react.ForwardRefExoticComponent<FormRootProps & react.RefAttributes<HTMLFormElement>> & {
1423
+ declare const Form: React$1.ForwardRefExoticComponent<FormRootProps & React$1.RefAttributes<HTMLFormElement>> & {
892
1424
  __kui: _splenddev_kreativ_core.KuiMeta<FormRootProps>;
893
1425
  providerRequired?: _splenddev_kreativ_core.KuiProviderRequirement;
894
1426
  } & {
895
- SubmitButton: react.ForwardRefExoticComponent<FormSubmitButtonProps & react.RefAttributes<unknown>>;
896
- ResetButton: react.ForwardRefExoticComponent<FormResetButtonProps & react.RefAttributes<unknown>>;
1427
+ SubmitButton: React$1.ForwardRefExoticComponent<FormSubmitButtonProps & React$1.RefAttributes<unknown>>;
1428
+ ResetButton: React$1.ForwardRefExoticComponent<FormResetButtonProps & React$1.RefAttributes<unknown>>;
897
1429
  FromSchema: typeof FormFromSchema;
898
1430
  };
899
1431
 
1432
+ /**
1433
+ * Props for the control that inserts a Repeater item.
1434
+ *
1435
+ * `onClick` is not the button's usual click handler. It receives the
1436
+ * item that was just inserted, after the list has been updated.
1437
+ */
1438
+ interface RepeaterAddProps<T> extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onClick"> {
1439
+ /**
1440
+ * Builds the item to insert. Called on each click.
1441
+ */
1442
+ createItem: () => T;
1443
+ /**
1444
+ * Where the new item is inserted.
1445
+ *
1446
+ * `"append"` adds it at the end and `"prepend"` adds it at the start.
1447
+ * A number inserts at that index. Defaults to `"append"`. Several
1448
+ * `Repeater.Add` controls can use different positions in the same list.
1449
+ */
1450
+ position?: number | "append" | "prepend";
1451
+ /**
1452
+ * Called after the item is inserted.
1453
+ */
1454
+ onClick?: (event: React$1.MouseEvent<HTMLButtonElement>, newItem: T) => void;
1455
+ }
1456
+
1457
+ type RepeaterActionButtonProps = React$1.ButtonHTMLAttributes<HTMLButtonElement>;
1458
+
1459
+ /**
1460
+ * Props for one row in a Repeater.
1461
+ *
1462
+ * `index` is the item's current position. Update it when the list
1463
+ * reorders so move and remove actions target the right item.
1464
+ */
1465
+ interface RepeaterItemProps extends React$1.HTMLAttributes<HTMLDivElement> {
1466
+ /**
1467
+ * Position of this item in the Repeater value. Zero is the first item.
1468
+ */
1469
+ index: number;
1470
+ /**
1471
+ * Content for this item, including its fields and item actions.
1472
+ */
1473
+ children: React$1.ReactNode;
1474
+ }
1475
+
1476
+ interface RepeaterItemsProps<T> {
1477
+ children: (item: T, index: number) => React$1.ReactNode;
1478
+ }
1479
+
1480
+ interface RepeaterRootProps<T> {
1481
+ value?: T[];
1482
+ defaultValue?: T[];
1483
+ onValueChange?: (value: T[]) => void;
1484
+ getKey?: (item: T, index: number) => string;
1485
+ children: React$1.ReactNode;
1486
+ }
1487
+ declare function RepeaterRoot<T>({ value: controlledValue, defaultValue, onValueChange, getKey, children, }: RepeaterRootProps<T>): React$1.JSX.Element;
1488
+
1489
+ declare const Repeater: typeof RepeaterRoot & {
1490
+ Root: typeof RepeaterRoot;
1491
+ Items: React$1.ForwardRefExoticComponent<RepeaterItemsProps<unknown> & React$1.RefAttributes<never>> & {
1492
+ __kui: _splenddev_kreativ_core.KuiMeta<RepeaterItemsProps<unknown>>;
1493
+ providerRequired?: _splenddev_kreativ_core.KuiProviderRequirement;
1494
+ } & (<T>(props: RepeaterItemsProps<T> & React.RefAttributes<never>) => React.ReactElement | null);
1495
+ Item: _splenddev_kreativ_core.KuiComponent<RepeaterItemProps, HTMLDivElement>;
1496
+ Remove: _splenddev_kreativ_core.KuiComponent<RepeaterActionButtonProps, HTMLButtonElement>;
1497
+ MoveUp: _splenddev_kreativ_core.KuiComponent<RepeaterActionButtonProps, HTMLButtonElement>;
1498
+ MoveDown: _splenddev_kreativ_core.KuiComponent<RepeaterActionButtonProps, HTMLButtonElement>;
1499
+ Add: React$1.ForwardRefExoticComponent<RepeaterAddProps<unknown> & React$1.RefAttributes<HTMLButtonElement>> & {
1500
+ __kui: _splenddev_kreativ_core.KuiMeta<RepeaterAddProps<unknown>>;
1501
+ providerRequired?: _splenddev_kreativ_core.KuiProviderRequirement;
1502
+ } & (<T>(props: RepeaterAddProps<T> & React.RefAttributes<HTMLButtonElement>) => React.ReactElement | null);
1503
+ };
1504
+
900
1505
  interface ContainerProps extends BaseProps {
901
1506
  /** @default "lg" */
902
1507
  maxWidth?: Size | (string & {});
@@ -908,7 +1513,7 @@ interface ContainerProps extends BaseProps {
908
1513
  children?: ReactNode;
909
1514
  }
910
1515
 
911
- declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLDivElement>>;
1516
+ declare const Container: React$1.ForwardRefExoticComponent<ContainerProps & React$1.RefAttributes<HTMLDivElement>>;
912
1517
 
913
1518
  interface FlexProps extends BaseProps {
914
1519
  /**
@@ -1001,7 +1606,7 @@ interface StackProps extends BaseProps {
1001
1606
  children?: ReactNode;
1002
1607
  }
1003
1608
 
1004
- declare const Stack: react.ForwardRefExoticComponent<StackProps & react.RefAttributes<HTMLDivElement>>;
1609
+ declare const Stack: React$1.ForwardRefExoticComponent<StackProps & React$1.RefAttributes<HTMLDivElement>>;
1005
1610
 
1006
1611
  interface GridProps extends BaseProps {
1007
1612
  /**
@@ -1070,7 +1675,7 @@ interface GridItemProps extends BaseProps {
1070
1675
  as?: ElementType;
1071
1676
  }
1072
1677
 
1073
- declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>> & {
1678
+ declare const Grid: React$1.ForwardRefExoticComponent<GridProps & React$1.RefAttributes<HTMLDivElement>> & {
1074
1679
  __kui: _splenddev_kreativ_core.KuiMeta<GridProps>;
1075
1680
  providerRequired?: _splenddev_kreativ_core.KuiProviderRequirement;
1076
1681
  } & {
@@ -1193,7 +1798,7 @@ interface CardOverlayProps extends ComponentPropsWithoutRef<"div"> {
1193
1798
  children?: ReactNode;
1194
1799
  }
1195
1800
 
1196
- declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttributes<HTMLDivElement>> & {
1801
+ declare const Card: React$1.ForwardRefExoticComponent<CardProps & React$1.RefAttributes<HTMLDivElement>> & {
1197
1802
  __kui: _splenddev_kreativ_core.KuiMeta<CardProps>;
1198
1803
  providerRequired?: _splenddev_kreativ_core.KuiProviderRequirement;
1199
1804
  } & {
@@ -1426,7 +2031,7 @@ interface ScrollAreaStickyProps extends HTMLAttributes<HTMLElement> {
1426
2031
  as?: ElementType;
1427
2032
  }
1428
2033
 
1429
- declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & MotionGatedProps & react.RefAttributes<ScrollAreaHandle>> & {
2034
+ declare const ScrollArea: React$1.ForwardRefExoticComponent<ScrollAreaProps & MotionGatedProps & React$1.RefAttributes<ScrollAreaHandle>> & {
1430
2035
  __kui: _splenddev_kreativ_core.KuiMeta<ScrollAreaProps & MotionGatedProps>;
1431
2036
  providerRequired?: _splenddev_kreativ_core.KuiProviderRequirement;
1432
2037
  } & {
@@ -1481,123 +2086,6 @@ interface BoxProps extends BaseProps {
1481
2086
 
1482
2087
  declare const Box: _splenddev_kreativ_core.KuiComponent<BoxProps, HTMLDivElement>;
1483
2088
 
1484
- /**
1485
- * Represents the visual state of the field for feedback and styling.
1486
- */
1487
- interface InputFieldProps extends InputProps {
1488
- /**
1489
- * The primary label for the input. Supports React nodes for rich formatting
1490
- * (e.g., icons, badges, or custom typography).
1491
- */
1492
- label?: ReactNode;
1493
- /**
1494
- * Helper text displayed near the input (usually below the label or the input itself).
1495
- * Use this for permanent instructions or contextual guidance.
1496
- */
1497
- description?: ReactNode;
1498
- /**
1499
- * Content (e.g., an icon, badge, or avatar) rendered inline at the start of the label.
1500
- */
1501
- labelStart?: ReactNode;
1502
- /**
1503
- * Content (e.g., a badge, status indicator, or small action button)
1504
- * rendered inline at the end of the label.
1505
- */
1506
- labelEnd?: ReactNode;
1507
- /**
1508
- * An optional tooltip, info icon, or popover trigger rendered next to the label.
1509
- * Ideal for providing supplementary explanations without cluttering the UI.
1510
- */
1511
- tooltip?: ReactNode;
1512
- /**
1513
- * The current validation or status state of the field.
1514
- * Drives the visual appearance (border color, label color, message styling).
1515
- *
1516
- * @default 'none'
1517
- */
1518
- status?: FormFieldStatus$1;
1519
- /**
1520
- * Feedback message displayed below the input.
1521
- * Typically paired with `status` to show success confirmations or error details.
1522
- *
1523
- * @example "Please enter a valid email address."
1524
- */
1525
- message?: string;
1526
- /**
1527
- * A subtle, temporary hint displayed below the input, distinct from `description`.
1528
- * Great for showing formatting rules, password requirements, or dynamic suggestions.
1529
- */
1530
- hint?: ReactNode;
1531
- /**
1532
- * Marks the field as required. Automatically appends a required indicator
1533
- * (e.g., an asterisk `*`) to the label.
1534
- *
1535
- * @default false
1536
- */
1537
- required?: boolean;
1538
- /**
1539
- * Controls whether the field displays an optional indicator
1540
- * (e.g., "(optional)") next to the label.
1541
- * This is typically ignored if `required` is `true`.
1542
- *
1543
- * @default false
1544
- */
1545
- optional?: boolean;
1546
- /**
1547
- * Visually hides the label while keeping it accessible to screen readers.
1548
- * Useful for search bars or compact forms where layout space is limited.
1549
- *
1550
- * @default false
1551
- */
1552
- labelHidden?: boolean;
1553
- /**
1554
- * Defines the layout relationship between the label and the input.
1555
- * - `'vertical'`: Label sits above the input (default for most forms).
1556
- * - `'horizontal'`: Label and input sit side-by-side (common in admin panels).
1557
- *
1558
- * @default 'vertical'
1559
- */
1560
- orientation?: "vertical" | "horizontal";
1561
- /**
1562
- * Enables a character counter (e.g., "0 / 100") displayed near the input.
1563
- * Automatically uses the `maxLength` prop from the underlying `InputProps`.
1564
- *
1565
- * @default false
1566
- */
1567
- showCounter?: boolean;
1568
- /**
1569
- * The unique ID for the underlying input element.
1570
- * Used to link the `<label>` (via `htmlFor`) and description/error messages
1571
- * (via `aria-describedby`) for improved screen-reader support.
1572
- */
1573
- id?: string;
1574
- /**
1575
- * Props forwarded directly to the underlying `<label>` element,
1576
- * allowing fine-grained control over attributes like `className` or `onClick`.
1577
- */
1578
- labelProps?: LabelHTMLAttributes<HTMLLabelElement>;
1579
- /**
1580
- * Custom class name applied to the root wrapper container of the entire field.
1581
- */
1582
- wrapperClassName?: string;
1583
- /**
1584
- * Custom class name applied specifically to the label element.
1585
- */
1586
- labelClassName?: string;
1587
- /**
1588
- * Custom class name applied to the container holding the description,
1589
- * feedback message, and hint.
1590
- */
1591
- messageClassName?: string;
1592
- /**
1593
- * Custom class name applied to the wrapper around the input element itself.
1594
- * Useful for adding padding, backgrounds, or borders to the input's parent.
1595
- */
1596
- inputWrapperClassName?: string;
1597
- }
1598
-
1599
- declare const InputField: react.ForwardRefExoticComponent<InputFieldProps & react.RefAttributes<HTMLInputElement>>;
1600
-
1601
2089
  interface TextProps extends TypographyProps {
1602
2090
  as?: ElementType;
1603
2091
  color?: BaseColor | string;
@@ -1617,6 +2105,6 @@ interface HeadingProps extends Omit<TextProps, "as" | "typography"> {
1617
2105
  typography?: "heading" | "headingSmall";
1618
2106
  }
1619
2107
 
1620
- declare const Heading: react.ForwardRefExoticComponent<HeadingProps & react.RefAttributes<HTMLElement>>;
2108
+ declare const Heading: React$1.ForwardRefExoticComponent<HeadingProps & React$1.RefAttributes<HTMLElement>>;
1621
2109
 
1622
- export { Adornment, type AdornmentProps, type BaseInputExtraAdornmentContext, type BaseInputProps, Box, type BoxProps, Button, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, ButtonGroupItemContext, type ButtonGroupItemContextValue, type ButtonGroupItemProps, type ButtonGroupLabelProps, type ButtonGroupProps, type ButtonGroupSeparatorProps, type ButtonGroupSpacing, type ButtonGroupTextProps, type ButtonProps, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardMediaBlend, type CardMediaFit, type CardMediaProps, CardOverlay, type CardOverlayGradient, type CardOverlayGradientEdge, type CardOverlayProps, type CardOverlayRadialGradient, type CardProps, type CardSize, type CardVariant, Checkbox, type CheckboxProps, Combobox, ComboboxContent, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, type ComboboxProps, type ComponentKey, type ComponentPropsMap, Container, type ContainerProps, type CustomFieldRenderer, type FadeEdgesConfig, Flex, type FlexProps, Form, type FormContextValue, type FormControlProps, type FormErrors, FormField, FormFieldControl, FormFieldDescription, type FormFieldDescriptionProps, FormFieldLabel, type FormFieldLabelProps, FormFieldMessage, type FormFieldMessageProps, type FormFieldProps$1 as FormFieldProps, type FormFieldRootProps, FormResetButton, type FormResetButtonProps, type FormRootProps, FormSubmitButton, type FormSubmitButtonProps, type FormValues, Grid, type GridProps, Heading, type HeadingLevel, type HeadingProps, Input, InputField, type InputFieldProps, type InputKind, type InputKindDefaults, type InputProps, type InputSize, type InputVariant, type KuiFormControlComponent, type ManualValidator, MarkdownEditor, type MarkdownEditorProps, type MarkdownEditorTabs, MultiSelect, MultiSelectContent, MultiSelectItem, type MultiSelectItemProps, type MultiSelectProps, MultiSelectTrigger, type PasswordInputKindDefaults, type PasswordInputProps, type PasswordKind, type ProgressStore, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RadioSize, type SceneRange, type SchemaLike, ScrollArea, type ScrollAreaHandle, type ScrollAreaProps, type ScrollAreaSceneProps, type ScrollAreaStickyProps, type ScrollDirection, type ScrollEdge, type ScrollProgress, type ScrollSnap, type ScrollSnapAlign, type ScrollStepOptions, type ScrollbarVariant, type ScrollbarVisibility, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectRoot, type SelectRootProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Stack, type StackProps, Switch, type SwitchProps, type SwitchSize, type TextProps, Textarea, type TextareaCoreProps, type TextareaProps, type TextareaResize, ThemeToggler, type ThemeTogglerColor, type ThemeTogglerDisplay, type ThemeTogglerProps, type ThemeTogglerVariant, type UIArraySchema, type UIArraySchemaFor, type UIFieldSchema, type UIFieldSchemaFor, type UIFieldSchemaRender, type UIObjectSchema, type UIObjectSchemaFor, type UIObjectSchemaForShape, type UISchema, defineUIField, useButtonGroupContext, useButtonGroupItemContext, useElementScrollProgress, useFormContext, useOptionalButtonGroupContext, useOptionalButtonGroupItemContext, useScrollProgress };
2110
+ export { ActionGuard, type ActionGuardProps, type ActionGuardReaction, type BaseInputExtraAdornmentContext, type BaseInputProps, Box, type BoxProps, Button, ButtonGroup, ButtonGroupContext, type ButtonGroupContextValue, ButtonGroupItemContext, type ButtonGroupItemContextValue, type ButtonGroupItemProps, type ButtonGroupLabelProps, type ButtonGroupProps, type ButtonGroupSeparatorProps, type ButtonGroupSpacing, type ButtonGroupTextProps, type ButtonProps, Card, type CardBodyProps, type CardFooterProps, type CardHeaderProps, type CardMediaBlend, type CardMediaFit, type CardMediaProps, CardOverlay, type CardOverlayGradient, type CardOverlayGradientEdge, type CardOverlayProps, type CardOverlayRadialGradient, type CardProps, type CardSize, type CardVariant, Checkbox, type CheckboxProps, Combobox, ComboboxContent, ComboboxInput, type ComboboxInputProps, ComboboxItem, type ComboboxItemProps, type ComboboxProps, type ComponentKey, type ComponentPropsMap, type ConfirmActionFn, ConfirmConflictError, ConfirmDialog, type ConfirmDialogProps, ConfirmHost, type ConfirmHostProps, type ConfirmOptions, ConfirmRequestManager, Container, type ContainerProps, type CustomFieldRenderer, DialogProvider, DialogStack, type FadeEdgesConfig, Flex, type FlexProps, Form, type FormContextValue, type FormControlProps, type FormErrors, FormField, FormFieldControl, FormFieldDescription, type FormFieldDescriptionProps, FormFieldLabel, type FormFieldLabelProps, FormFieldMessage, type FormFieldMessageProps, type FormFieldProps$1 as FormFieldProps, type FormFieldRootProps, FormResetButton, type FormResetButtonProps, type FormRootProps, FormSubmitButton, type FormSubmitButtonProps, type FormValues, Grid, type GridProps, Heading, type HeadingLevel, type HeadingProps, Input, type InputKind, type InputKindDefaults, type InputProps, type InputSize, type InputVariant, type KuiFormControlComponent, type ManualValidator, MarkdownEditor, type MarkdownEditorProps, type MarkdownEditorTabs, Menu, type MenuCheckboxItemProps, type MenuContentProps, type MenuItemProps, type MenuRadioGroupProps, type MenuRadioItemProps, type MenuRootProps, type MenuSubProps, type MenuSubTriggerProps, type MenuTriggerProps, MultiSelect, MultiSelectContent, MultiSelectItem, type MultiSelectItemProps, type MultiSelectProps, MultiSelectTrigger, NumberStepper, type NumberStepperButtonLayout, type NumberStepperClampOn, type NumberStepperProps, type NumberStepperValidationResult, OverlayPortal, type PasswordInputKindDefaults, type PasswordInputProps, type PasswordKind, type ProgressStore, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RadioSize, Repeater, type SceneRange, type SchemaLike, ScrollArea, type ScrollAreaHandle, type ScrollAreaProps, type ScrollAreaSceneProps, type ScrollAreaStickyProps, type ScrollDirection, type ScrollEdge, type ScrollProgress, type ScrollSnap, type ScrollSnapAlign, type ScrollStepOptions, type ScrollbarVariant, type ScrollbarVisibility, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectRoot, type SelectRootProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, Stack, type StackProps, Switch, type SwitchProps, type SwitchSize, type TextProps, Textarea, type TextareaCoreProps, type TextareaProps, type TextareaResize, ThemeToggler, type ThemeTogglerColor, type ThemeTogglerDisplay, type ThemeTogglerProps, type ThemeTogglerVariant, Toast, ToastAction, type ToastActionOptions, type ToastActionProps, ToastClose, ToastContent, ToastDescription, type ToastEntry, ToastIcon, type ToastOptions, type ToastPlacement, type ToastPromiseMessages, ToastProvider, type ToastProviderProps, ToastRoot, type ToastRootProps, type ToastStatus, ToastTitle, type ToastUpdateOptions, ToastViewport, type ToastViewportProps, Tooltip, type TooltipArrowProps, type TooltipContentProps, type TooltipDelay, TooltipProvider, type TooltipProviderProps, type TooltipRootProps, type TooltipTriggerProps, type UIArraySchema, type UIArraySchemaFor, type UIFieldSchema, type UIFieldSchemaFor, type UIFieldSchemaRender, type UIObjectSchema, type UIObjectSchemaFor, type UIObjectSchemaForShape, type UISchema, confirmAction, createConfirmAction, createConfirmRequestManager, defaultConfirmManager, defineUIField, toast, useButtonGroupContext, useButtonGroupItemContext, useConfirmAction, useDialogStack, useDialogState, useElementScrollProgress, useFormContext, useOptionalButtonGroupContext, useOptionalButtonGroupItemContext, useOverlayRoot, useScrollProgress, useToasts };