@splenddev/kreativ-ui 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
1
  import * as react from 'react';
2
- import { HTMLAttributes, ReactNode, ButtonHTMLAttributes, CSSProperties, ReactElement, ComponentPropsWithoutRef, HTMLInputTypeAttribute, TextareaHTMLAttributes, InputHTMLAttributes, ElementType, LabelHTMLAttributes, JSX, RefObject } 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, ControlledProps, Size, ResponsiveValue, RecipeCollection, DeepPartial, DefaultRecipeCollection, ThemeOverride as ThemeOverride$1, Typography, SemanticTokens, DesignTokens, Theme } from '@splenddev/kreativ-core/types';
2
+ import { HTMLAttributes, ReactNode, ButtonHTMLAttributes, CSSProperties, ReactElement, ComponentPropsWithoutRef, HTMLInputTypeAttribute, TextareaHTMLAttributes, InputHTMLAttributes, ElementType, UIEvent, RefObject, LabelHTMLAttributes, JSX } 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, RecipeCollection, DeepPartial, DefaultRecipeCollection, ThemeOverride as ThemeOverride$1, Typography, SemanticTokens, DesignTokens, Theme } from '@splenddev/kreativ-core/types';
4
4
  export * from '@splenddev/kreativ-core/types';
5
5
  import * as _splenddev_kreativ_core from '@splenddev/kreativ-core';
6
- import { KuiComponent, 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, ThemeOverride, ColorMode } from '@splenddev/kreativ-core';
7
- export { ThemeContext, defineRecipe, defineSemanticToken, defineSemanticTokens, defineTheme, defineToken, defineTokens, defineTypography, resolveTypography } from '@splenddev/kreativ-core';
6
+ import { MotionGatedProps, KuiComponent, 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, ThemeOverride, ColorMode } from '@splenddev/kreativ-core';
7
+ export { PersistMode, PersistModeProps, ThemeContext, defineRecipe, defineSemanticToken, defineSemanticTokens, defineTheme, defineToken, defineTokens, defineTypography, resolveTypography } from '@splenddev/kreativ-core';
8
8
  import { z } from 'zod';
9
9
  export * from '@splenddev/kreativ-core/hooks';
10
10
  import { ClassValue } from 'clsx';
@@ -18,7 +18,7 @@ declare const Adornment: react.ForwardRefExoticComponent<AdornmentProps & react.
18
18
 
19
19
  type ButtonSize = SizeValue | "icon";
20
20
  type ButtonVariant = BaseVariant | "link";
21
- type ButtonColor = BaseColor;
21
+ type ButtonColor = BaseColor | "black";
22
22
  interface ButtonRenderProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "onDrag" | "onDragStart" | "onDragEnd" | "onAnimationStart" | "onAnimationEnd" | "onAnimationIteration" | "color"> {
23
23
  className?: string;
24
24
  style?: CSSProperties;
@@ -151,7 +151,7 @@ interface ThemeTogglerProps extends Omit<BaseProps, "style">, OrientationProps,
151
151
  indicatorStyle?: CSSProperties;
152
152
  }
153
153
 
154
- declare function ThemeToggler({ variant, color, activeVariant, activeColor, size, iconOnly, allowSystem, orientation, rounded, unstyled, labels, icons, className, buttonProps, display, animated, transition, }: ThemeTogglerProps): react.JSX.Element;
154
+ declare const ThemeToggler: _splenddev_kreativ_core.KuiComponent<ThemeTogglerProps & MotionGatedProps, HTMLElement>;
155
155
 
156
156
  /**
157
157
  * Internal. Not part of the public API — do not re-export from the package index.
@@ -220,15 +220,17 @@ type SingleFormControlComponent<P extends object = any> = KuiComponent<P, any> &
220
220
  formControl: "single";
221
221
  };
222
222
  };
223
+ type ValuePropConvention = "value" | "checked";
224
+ /** Token names that map to `--kui-spacing-<token>`. */
225
+ type SpaceToken = "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | (string & {});
223
226
  /**
224
- * Forge sets this on a safe, motionGated component at render-start.
225
- * Data attributes stringify, so both the boolean prop and the "true"
226
- * attribute count as gated.
227
+ * - `"sm"` / `"md"` / … → `var(--kui-spacing-sm)`
228
+ * - `24` → `"24px"`
229
+ * - `"24px"` / `"1rem"` → used as-is
227
230
  */
228
- interface MotionGatedProps {
229
- "data-kui-motion-gated"?: boolean | "true" | "false";
230
- }
231
- type ValuePropConvention = "value" | "checked";
231
+ type SpaceValue = SpaceToken | number | (string & {});
232
+ /** Any color token (`"brand"`, `"surface-raised"`) or raw CSS color. */
233
+ type RadiusValue = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "full" | (string & {});
232
234
 
233
235
  interface FormFieldError {
234
236
  name: string;
@@ -325,8 +327,10 @@ interface SelectOption {
325
327
  label: react.ReactNode;
326
328
  disabled?: boolean;
327
329
  }
328
- interface SelectProps extends SelectRootProps {
330
+ interface SelectProps extends Omit<SelectRootProps, "children"> {
329
331
  options?: SelectOption[];
332
+ children?: react.ReactNode;
333
+ label?: string | react.ReactNode;
330
334
  }
331
335
  declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLDivElement>> & {
332
336
  Root: _splenddev_kreativ_core.KuiComponent<SelectRootProps, HTMLDivElement>;
@@ -345,16 +349,6 @@ declare const SelectTrigger: react.ForwardRefExoticComponent<SelectTriggerProps
345
349
 
346
350
  declare const SelectRoot: _splenddev_kreativ_core.KuiComponent<SelectRootProps, HTMLDivElement>;
347
351
 
348
- type MarkdownEditorTabs = "write" | "preview";
349
- interface MarkdownEditorProps extends Omit<TextareaCoreProps, "resize" | "autoResize"> {
350
- /** Renders the Preview tab. Omit and Preview shows raw text with a dev warning. */
351
- renderMarkdown?: (value: string) => ReactNode;
352
- tab?: MarkdownEditorTabs;
353
- defaultTab?: MarkdownEditorTabs;
354
- onTabChange?: (tab: MarkdownEditorTabs) => void;
355
- hint?: ReactNode;
356
- }
357
-
358
352
  type TextareaResize = "none" | "both" | "horizontal" | "vertical";
359
353
  interface TextareaCoreProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "defaultValue" | "value">, Omit<BaseProps, "unstyled" | "style">, SizeProps, StateProps, VariantProps<InputVariant>, ClearableProps, ValueProps, FullWidthProps, EmbeddedProps, StateProps, TrimProps, ValidateProps<string>, TypographyProps {
360
354
  resize?: TextareaResize;
@@ -364,17 +358,23 @@ interface TextareaCoreProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElem
364
358
  characterCounter?: boolean;
365
359
  debounceDelay?: number;
366
360
  }
367
- type TextareaProps = ({
368
- allowMarkdown?: false;
369
- } & TextareaCoreProps) | ({
370
- allowMarkdown: true;
371
- } & Omit<TextareaCoreProps, "resize"> & MarkdownEditorProps);
361
+ type TextareaProps = TextareaCoreProps;
372
362
 
373
- declare const Textarea: _splenddev_kreativ_core.KuiComponent<TextareaProps, HTMLTextAreaElement>;
363
+ declare const Textarea: _splenddev_kreativ_core.KuiComponent<TextareaCoreProps, HTMLTextAreaElement>;
374
364
 
375
- declare const MarkdownEditor: react.ForwardRefExoticComponent<MarkdownEditorProps & react.RefAttributes<HTMLTextAreaElement>>;
365
+ type MarkdownEditorTabs = "write" | "preview";
366
+ interface MarkdownEditorProps extends Omit<TextareaCoreProps, "resize" | "autoResize"> {
367
+ /** Renders the Preview tab. Omit and Preview shows raw text with a dev warning. */
368
+ renderMarkdown?: (value: string) => ReactNode;
369
+ tab?: MarkdownEditorTabs;
370
+ defaultTab?: MarkdownEditorTabs;
371
+ onTabChange?: (tab: MarkdownEditorTabs) => void;
372
+ hint?: ReactNode;
373
+ }
374
+
375
+ declare const MarkdownEditor: _splenddev_kreativ_core.KuiComponent<MarkdownEditorProps & MotionGatedProps, HTMLTextAreaElement>;
376
376
 
377
- interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "checked" | "defaultChecked" | "children">, Styleable$1, StateProps, StatusProps, MotionGatedProps, ControlledProps<boolean, "checked", "defaultChecked", "onCheckedChange"> {
377
+ interface CheckboxProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "checked" | "defaultChecked" | "children">, Styleable$1, StateProps, StatusProps, MotionGatedProps$1, ControlledProps<boolean, "checked", "defaultChecked", "onCheckedChange"> {
378
378
  indeterminate?: boolean;
379
379
  size?: InputSize;
380
380
  disabled?: boolean;
@@ -422,7 +422,7 @@ interface SwitchProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"
422
422
  description?: ReactNode;
423
423
  }
424
424
 
425
- declare const Switch: _splenddev_kreativ_core.KuiComponent<SwitchProps & MotionGatedProps, HTMLInputElement>;
425
+ declare const Switch: _splenddev_kreativ_core.KuiComponent<SwitchProps & MotionGatedProps$1, HTMLInputElement>;
426
426
 
427
427
  interface ComboboxProps extends Omit<BaseProps, "unstyled">, ValueProps<string | undefined>, ControlledProps<string | undefined, "inputValue", "defaultInputValue", "onInputChange">, DisabledProps, VariantProps<BaseVariant>, SizeProps, ClearableProps, StatusProps, StateProps {
428
428
  required?: boolean;
@@ -606,6 +606,7 @@ interface NumberStepperProps {
606
606
  step?: number;
607
607
  precision?: number;
608
608
  variant?: InputVariant;
609
+ hideKindIcon?: InputProps["hideKindIcon"];
609
610
  error?: boolean;
610
611
  success?: boolean;
611
612
  rounded?: boolean;
@@ -917,24 +918,12 @@ declare const Form: react.ForwardRefExoticComponent<FormRootProps & react.RefAtt
917
918
  };
918
919
 
919
920
  interface ContainerProps extends BaseProps {
920
- /**
921
- * Max-width of the container, mapped to the Container recipe's `size` variant.
922
- * @default "lg"
923
- */
921
+ /** @default "lg" */
924
922
  maxWidth?: Size | (string & {});
925
- /**
926
- * Horizontal padding. Token-based (Size) or a raw responsive CSS value.
927
- */
928
- padding?: ResponsiveValue<Size | (string & {})>;
929
- /**
930
- * Centers the container horizontally via margin-inline: auto.
931
- * @default true
932
- */
923
+ /** Token name ("sm"), pixel number (24), or raw length ("24px"). */
924
+ padding?: ResponsiveValue<SpaceValue>;
925
+ /** @default true */
933
926
  centered?: boolean;
934
- /**
935
- * Element type to render as.
936
- * @default "div"
937
- */
938
927
  as?: ElementType;
939
928
  children?: ReactNode;
940
929
  }
@@ -942,19 +931,79 @@ interface ContainerProps extends BaseProps {
942
931
  declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLDivElement>>;
943
932
 
944
933
  interface FlexProps extends BaseProps {
945
- /** @default "row" */
934
+ /**
935
+ * `display: inline-flex` instead of `flex`.
936
+ * Use when the container should sit in a line of text or shrink to its content.
937
+ * @default false
938
+ */
939
+ inline?: boolean;
940
+ /**
941
+ * `flex-direction`. Main axis of the items.
942
+ * @default "row"
943
+ */
946
944
  direction?: ResponsiveValue<CSSProperties["flexDirection"]>;
947
- /** @default "nowrap" */
945
+ /**
946
+ * `flex-wrap`. Whether items stay on one line or wrap onto new lines.
947
+ * @default "nowrap"
948
+ */
948
949
  wrap?: ResponsiveValue<CSSProperties["flexWrap"]>;
950
+ /**
951
+ * `align-items`. Alignment on the cross axis.
952
+ * `"stretch"` fills the cross size; `"center"` centers; `"start"` / `"end"` pin to an edge.
953
+ */
949
954
  align?: ResponsiveValue<CSSProperties["alignItems"]>;
955
+ /**
956
+ * `justify-content`. Distribution on the main axis.
957
+ * `"between"` pushes the first and last items to the edges; `"center"` groups them in the middle.
958
+ */
950
959
  justify?: ResponsiveValue<CSSProperties["justifyContent"]>;
951
- /** Token-based gap, e.g. "sm" | "md" | raw CSS length */
952
- gap?: ResponsiveValue<Size | (string & {})>;
960
+ /**
961
+ * `gap` on both axes. Token (`"sm"`), pixel number (`24`), or raw length (`"24px"`).
962
+ * Overridden per axis by `gapX` / `gapY`.
963
+ */
964
+ gap?: ResponsiveValue<SpaceValue>;
965
+ /**
966
+ * `column-gap`. Space between items on the inline axis.
967
+ * Overrides `gap` for that axis only.
968
+ */
969
+ gapX?: ResponsiveValue<SpaceValue>;
970
+ /**
971
+ * `row-gap`. Space between items on the block axis.
972
+ * Overrides `gap` for that axis only.
973
+ */
974
+ gapY?: ResponsiveValue<SpaceValue>;
975
+ /**
976
+ * `flex-grow`. How much free space this item takes on the main axis.
977
+ * - `true` is `1` (share leftover space).
978
+ * - `false` is `0` (do not grow).
979
+ * - A number, or a responsive map, is passed through.
980
+ */
981
+ grow?: ResponsiveValue<CSSProperties["flexGrow"]> | boolean;
982
+ /**
983
+ * `flex-shrink`. How readily this item gives up space when the line is tight.
984
+ * - `true` is `1` (may shrink; the CSS default).
985
+ * - `false` is `0` (keep its size).
986
+ * - A number, or a responsive map, is passed through.
987
+ */
988
+ shrink?: ResponsiveValue<CSSProperties["flexShrink"]> | boolean;
989
+ /**
990
+ * `flex-basis`. Starting size before free space is distributed.
991
+ * `"auto"` uses the item's width/height. `"0"` ignores content size and shares space by `grow`.
992
+ * Also accepts `"content"`, a length, or a percentage.
993
+ */
994
+ basis?: ResponsiveValue<CSSProperties["flexBasis"]>;
995
+ /** `width: 100%`. */
996
+ fullWidth?: boolean;
997
+ /** `height: 100%`. */
998
+ fullHeight?: boolean;
999
+ /**
1000
+ * Element to render.
1001
+ * @default "div"
1002
+ */
953
1003
  as?: ElementType;
954
- children?: ReactNode;
955
1004
  }
956
1005
 
957
- declare const Flex: react.ForwardRefExoticComponent<FlexProps & react.RefAttributes<HTMLDivElement>>;
1006
+ declare const Flex: _splenddev_kreativ_core.KuiComponent<FlexProps, HTMLDivElement>;
958
1007
 
959
1008
  interface StackProps extends BaseProps {
960
1009
  /**
@@ -976,26 +1025,77 @@ declare const Stack: react.ForwardRefExoticComponent<StackProps & react.RefAttri
976
1025
 
977
1026
  interface GridProps extends BaseProps {
978
1027
  /**
979
- * Shorthand for equal-width columns, e.g. `columns={3}` → repeat(3, 1fr).
980
- * Ignored if `templateColumns` is set.
1028
+ * Equal columns. `columns={3}` is `repeat(3, minmax(0, 1fr))`.
1029
+ * Do not combine with `minChildWidth` or `templateColumns`.
981
1030
  */
982
1031
  columns?: ResponsiveValue<number>;
983
- /** Raw escape hatch for gridTemplateColumns, e.g. "200px 1fr 1fr". */
1032
+ /**
1033
+ * Wrap columns to the container. `minChildWidth="200px"` is
1034
+ * `repeat(auto-fit, minmax(200px, 1fr))`.
1035
+ * Do not combine with `columns` or `templateColumns`.
1036
+ */
1037
+ minChildWidth?: ResponsiveValue<Size | (string & {})>;
1038
+ /**
1039
+ * Raw `grid-template-columns`. Wins over `columns` and `minChildWidth`.
1040
+ */
984
1041
  templateColumns?: ResponsiveValue<string>;
985
- /** Raw escape hatch for gridTemplateRows. */
1042
+ /** Raw `grid-template-rows`. */
986
1043
  templateRows?: ResponsiveValue<string>;
987
- /** Raw escape hatch for gridTemplateAreas. Not responsive — rarely varies by breakpoint. */
1044
+ /**
1045
+ * Raw `grid-template-areas`.
1046
+ * Not responsive. Areas rarely change by breakpoint.
1047
+ */
988
1048
  templateAreas?: string;
989
- gap?: ResponsiveValue<Size | (string & {})>;
990
- columnGap?: ResponsiveValue<Size | (string & {})>;
991
- rowGap?: ResponsiveValue<Size | (string & {})>;
1049
+ /**
1050
+ * `grid-auto-flow`. `"row dense"` packs holes.
1051
+ */
1052
+ autoFlow?: ResponsiveValue<CSSProperties["gridAutoFlow"]>;
1053
+ /**
1054
+ * `gap` on both axes. Token, pixel number, or raw length.
1055
+ * Overridden per axis by `gapX` / `gapY`.
1056
+ */
1057
+ gap?: ResponsiveValue<SpaceValue>;
1058
+ /** `column-gap`. Overrides `gap` on the inline axis. */
1059
+ gapX?: ResponsiveValue<SpaceValue>;
1060
+ /** `row-gap`. Overrides `gap` on the block axis. */
1061
+ gapY?: ResponsiveValue<SpaceValue>;
1062
+ /** `align-items`. Alignment inside the cell, on the block axis. */
992
1063
  align?: ResponsiveValue<CSSProperties["alignItems"]>;
993
- justify?: ResponsiveValue<CSSProperties["justifyContent"]>;
1064
+ /** `justify-items`. Alignment inside the cell, on the inline axis. */
1065
+ justifyItems?: ResponsiveValue<CSSProperties["justifyItems"]>;
1066
+ /**
1067
+ * `display: inline-grid` instead of `grid`.
1068
+ * @default false
1069
+ */
1070
+ inline?: boolean;
1071
+ /**
1072
+ * Element to render.
1073
+ * @default "div"
1074
+ */
1075
+ as?: ElementType;
1076
+ }
1077
+ interface GridItemProps extends BaseProps {
1078
+ /**
1079
+ * `grid-column`. A number is `span <n>`. `"full"` is `1 / -1`.
1080
+ */
1081
+ span?: ResponsiveValue<number | "full">;
1082
+ /**
1083
+ * `grid-row`. A number is `span <n>`. `"full"` is `1 / -1`.
1084
+ */
1085
+ rowSpan?: ResponsiveValue<number | "full">;
1086
+ /**
1087
+ * Element to render.
1088
+ * @default "div"
1089
+ */
994
1090
  as?: ElementType;
995
- children?: ReactNode;
996
1091
  }
997
1092
 
998
- declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>>;
1093
+ declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLDivElement>> & {
1094
+ __kui: _splenddev_kreativ_core.KuiMeta<GridProps>;
1095
+ providerRequired?: _splenddev_kreativ_core.KuiProviderRequirement;
1096
+ } & {
1097
+ Item: _splenddev_kreativ_core.KuiComponent<GridItemProps, HTMLDivElement>;
1098
+ };
999
1099
 
1000
1100
  type CardVariant = "solid" | "outline" | "ghost" | "elevated" | "compact";
1001
1101
  type CardSize = "sm" | "md" | "lg";
@@ -1005,33 +1105,111 @@ interface CardProps extends ComponentPropsWithoutRef<"div"> {
1005
1105
  */
1006
1106
  variant?: CardVariant;
1007
1107
  /**
1008
- * Controls the card's padding and overall density.
1108
+ * Controls each section's padding and overall density. Read by
1109
+ * Card.Header/Card.Body/Card.Footer, not applied by Card itself.
1009
1110
  */
1010
1111
  size?: CardSize;
1011
- /**
1012
- * Indicates that the card contains an image.
1013
- */
1014
- hasImage?: boolean;
1015
1112
  /**
1016
1113
  * Makes the card span the full available width.
1017
1114
  */
1018
1115
  fullWidth?: boolean;
1019
- /**
1020
- * Removes the card's default padding.
1021
- */
1022
- noPadding?: boolean;
1023
1116
  /**
1024
1117
  * Card content.
1025
1118
  */
1026
1119
  children?: ReactNode;
1027
1120
  }
1028
1121
  interface CardHeaderProps extends ComponentPropsWithoutRef<"div"> {
1122
+ /**
1123
+ * Controls this section's padding. Defaults to the nearest Card's
1124
+ * `size`, settable per-section when it needs to differ.
1125
+ */
1126
+ size?: CardSize;
1127
+ /**
1128
+ * Removes this section's padding — for a section that should bleed,
1129
+ * independent of its siblings.
1130
+ */
1131
+ noPadding?: boolean;
1029
1132
  children?: ReactNode;
1030
1133
  }
1031
1134
  interface CardBodyProps extends ComponentPropsWithoutRef<"div"> {
1135
+ size?: CardSize;
1136
+ noPadding?: boolean;
1032
1137
  children?: ReactNode;
1033
1138
  }
1034
1139
  interface CardFooterProps extends ComponentPropsWithoutRef<"div"> {
1140
+ size?: CardSize;
1141
+ noPadding?: boolean;
1142
+ children?: ReactNode;
1143
+ }
1144
+ type CardMediaFit = "cover" | "contain" | "fill" | "none";
1145
+ type CardMediaBlend = "normal" | "multiply" | "screen" | "overlay" | "darken" | "lighten";
1146
+ interface CardMediaProps extends ComponentPropsWithoutRef<"div"> {
1147
+ /**
1148
+ * Image source, rendered by Media's internal `<img>`.
1149
+ */
1150
+ src: string;
1151
+ /**
1152
+ * Alt text for the internal `<img>`.
1153
+ */
1154
+ alt: string;
1155
+ /**
1156
+ * Controls how the image fills Media's box, mirroring `object-fit`.
1157
+ */
1158
+ fit?: CardMediaFit;
1159
+ /**
1160
+ * Blend mode applied to the image, mirroring `mix-blend-mode`.
1161
+ */
1162
+ blend?: CardMediaBlend;
1163
+ /**
1164
+ * Fixed aspect ratio for Media's box (e.g. `16 / 9`). Media is the
1165
+ * sizing context for the card's media area — content stacked inside it
1166
+ * (Card.Overlay, custom children) positions against this box.
1167
+ */
1168
+ aspectRatio?: number | string;
1169
+ /**
1170
+ * Content stacked on top of the image — Card.Overlay, text, controls.
1171
+ */
1172
+ children?: ReactNode;
1173
+ }
1174
+ type CardOverlayGradientEdge = "top" | "bottom" | "left" | "right";
1175
+ interface CardOverlayRadialGradient {
1176
+ type: "radial";
1177
+ /**
1178
+ * CSS position for the radial's center (e.g. "center", "top left").
1179
+ * Defaults to "center".
1180
+ */
1181
+ position?: string;
1182
+ }
1183
+ type CardOverlayGradient = CardOverlayGradientEdge | CardOverlayRadialGradient;
1184
+ interface CardOverlayProps extends ComponentPropsWithoutRef<"div"> {
1185
+ /**
1186
+ * Scrim tint color drawn over the underlying layer. When `gradient` is
1187
+ * set, this is the gradient's solid stop color rather than a flat wash.
1188
+ */
1189
+ color?: string;
1190
+ /**
1191
+ * Opacity of the scrim tint, 0–1. When `gradient` is set, this is the
1192
+ * gradient's starting-stop opacity rather than a uniform multiply.
1193
+ */
1194
+ opacity?: number;
1195
+ /**
1196
+ * Blur applied over the composited layer beneath the overlay. Independent
1197
+ * of `gradient` — the two compose freely (a frosted panel that also
1198
+ * fades out).
1199
+ */
1200
+ blur?: number | string;
1201
+ /**
1202
+ * Fades `color` to transparent instead of painting a uniform flat wash —
1203
+ * either linear from a named edge, or radial from a position (default
1204
+ * "center").
1205
+ */
1206
+ gradient?: CardOverlayGradient;
1207
+ /**
1208
+ * Content rendered above the overlay (title, actions, etc.). Usable
1209
+ * inside Card.Media (over an image) or inside Card.Header/Body/Footer
1210
+ * (as a decorative background layer behind section content) — any of
1211
+ * these are a positioned ancestor Overlay can fill.
1212
+ */
1035
1213
  children?: ReactNode;
1036
1214
  }
1037
1215
 
@@ -1042,27 +1220,286 @@ declare const Card: react.ForwardRefExoticComponent<CardProps & react.RefAttribu
1042
1220
  Header: _splenddev_kreativ_core.KuiComponent<CardHeaderProps, HTMLDivElement>;
1043
1221
  Body: _splenddev_kreativ_core.KuiComponent<CardBodyProps, HTMLDivElement>;
1044
1222
  Footer: _splenddev_kreativ_core.KuiComponent<CardFooterProps, HTMLDivElement>;
1223
+ Media: _splenddev_kreativ_core.KuiComponent<CardMediaProps, HTMLDivElement>;
1224
+ Overlay: _splenddev_kreativ_core.KuiComponent<CardOverlayProps, HTMLDivElement>;
1045
1225
  };
1046
1226
 
1047
- type SkeletonShape = {
1048
- rows?: number;
1049
- avatar?: boolean | {
1050
- size?: Extract<Size, "xs" | "sm" | "md">;
1051
- shape?: "circle" | "square";
1052
- };
1053
- width?: string | number;
1054
- height?: string | number;
1055
- radius?: string | number;
1056
- gap?: string | number;
1227
+ declare const CardOverlay: _splenddev_kreativ_core.KuiComponent<CardOverlayProps, HTMLDivElement>;
1228
+
1229
+ /** Scroll axis. `"both"` overflows on x and y. */
1230
+ type ScrollDirection = "vertical" | "horizontal" | "both";
1231
+ /**
1232
+ * When the scrollbar is painted.
1233
+ * `"auto"` follows the platform. `"hover"` shows it only while the area is hovered.
1234
+ * `"always"` keeps it visible. `"never"` hides it; scrolling still works.
1235
+ */
1236
+ type ScrollbarVisibility = "auto" | "always" | "hover" | "never";
1237
+ /** Scrollbar thickness. `"thin"` is the compact track. */
1238
+ type ScrollbarVariant = "thin" | "default";
1239
+ /** An edge of the scrollport. */
1240
+ type ScrollEdge = "top" | "bottom" | "left" | "right";
1241
+ /**
1242
+ * `scroll-snap-type` strictness.
1243
+ * `"proximity"` snaps when close. `"mandatory"` always settles on a snap point.
1244
+ */
1245
+ type ScrollSnap = "none" | "proximity" | "mandatory";
1246
+ /** `scroll-snap-align` for snap targets. */
1247
+ type ScrollSnapAlign = "start" | "center" | "end";
1248
+ /**
1249
+ * How a Scene measures its own progress.
1250
+ * `"through"` is 0 when the scene enters the scrollport and 1 when it leaves.
1251
+ * `"pinned"` holds at 1 while the scene covers the scrollport.
1252
+ */
1253
+ type SceneRange = "through" | "pinned";
1254
+ /** Per-edge fade. A missing edge is off. */
1255
+ interface FadeEdgesConfig {
1256
+ top?: boolean;
1257
+ bottom?: boolean;
1258
+ left?: boolean;
1259
+ right?: boolean;
1260
+ }
1261
+ /** `0` → `1` on each axis. `0` when that axis does not overflow. */
1262
+ type ScrollProgress = {
1263
+ x: number;
1264
+ y: number;
1057
1265
  };
1266
+ /**
1267
+ * External store for a value that changes outside React render.
1268
+ * `get` is a live layout read: use it in effects and handlers, not during render.
1269
+ */
1270
+ interface ProgressStore<T> {
1271
+ get(): T;
1272
+ subscribe(fn: (value: T) => void): () => void;
1273
+ }
1274
+ interface ScrollAreaProps extends BaseProps {
1275
+ /**
1276
+ * `max-height`. Caps the vertical scrollport.
1277
+ * Token, pixel number, or raw length. Responsive maps are resolved to breakpoint styles.
1278
+ */
1279
+ maxHeight?: ResponsiveValue<string | number>;
1280
+ /**
1281
+ * `max-width`. Caps the horizontal scrollport.
1282
+ * Token, pixel number, or raw length. Responsive maps are resolved to breakpoint styles.
1283
+ */
1284
+ maxWidth?: ResponsiveValue<string | number>;
1285
+ /**
1286
+ * Which axis overflows.
1287
+ * @default "vertical"
1288
+ */
1289
+ direction?: ScrollDirection;
1290
+ /**
1291
+ * When the scrollbar is shown. Scrolling is unaffected.
1292
+ * @default "auto"
1293
+ */
1294
+ showScrollbar?: ScrollbarVisibility;
1295
+ /**
1296
+ * Scrollbar thickness.
1297
+ * @default "thin"
1298
+ */
1299
+ scrollbarVariant?: ScrollbarVariant;
1300
+ /**
1301
+ * Edge fade on axes that still have room to scroll.
1302
+ * `true` fades every eligible edge. An object turns on specific edges.
1303
+ * A fade is omitted when that edge is already at the end, or the axis does not overflow.
1304
+ * @default false
1305
+ */
1306
+ fadeEdges?: boolean | FadeEdgesConfig;
1307
+ /**
1308
+ * Length of the edge fade. Number is pixels.
1309
+ * @default "24px"
1310
+ */
1311
+ fadeSize?: string | number;
1312
+ /**
1313
+ * `overscroll-behavior`. `"contain"` stops scroll chaining to the parent.
1314
+ * @default "contain"
1315
+ */
1316
+ overscrollBehavior?: "auto" | "contain" | "none";
1317
+ /**
1318
+ * `scroll-snap-type`. `"none"` disables snapping.
1319
+ * With `"mandatory"`, drag-to-scroll settles on the nearest item on release.
1320
+ * @default "none"
1321
+ */
1322
+ snap?: ScrollSnap;
1323
+ /**
1324
+ * `scroll-snap-align` used by snap targets and `scrollToIndex`.
1325
+ * @default "start"
1326
+ */
1327
+ snapAlign?: ScrollSnapAlign;
1328
+ /**
1329
+ * Pointer-drag scrolling. Off by default so text selection still works.
1330
+ * @default false
1331
+ */
1332
+ dragToScroll?: boolean;
1333
+ /** Native scroll event, after the area has recorded its position. */
1334
+ onScroll?: (e: UIEvent<HTMLElement>) => void;
1335
+ /**
1336
+ * Fires when a scroll gesture settles on an edge, within `endThreshold`.
1337
+ * The edge is the one that was reached (`"bottom"` for a vertical list at the end).
1338
+ */
1339
+ onScrollEnd?: (edge: ScrollEdge) => void;
1340
+ /**
1341
+ * Distance from an edge, in pixels, that still counts as "at the edge".
1342
+ * @default 0
1343
+ */
1344
+ endThreshold?: number;
1345
+ /**
1346
+ * Publish scroll progress for Scene and other consumers.
1347
+ * Off by default; progress reads are idle unless something subscribes.
1348
+ * @default false
1349
+ */
1350
+ trackProgress?: boolean;
1351
+ /**
1352
+ * Makes the scrollport focusable so it can be scrolled by keyboard.
1353
+ * Omit to use `0` while content overflows, and no tab stop when it does not.
1354
+ */
1355
+ tabIndex?: number;
1356
+ /**
1357
+ * Element to render.
1358
+ * @default "div"
1359
+ */
1360
+ as?: ElementType;
1361
+ }
1362
+ /** Options for `scrollNext` / `scrollPrev`. */
1363
+ interface ScrollStepOptions {
1364
+ /** Axis to step on. Defaults to the area's main axis (`"y"` unless `direction` is `"horizontal"`). */
1365
+ axis?: "x" | "y";
1366
+ /**
1367
+ * `"page"` moves by one client width/height.
1368
+ * `"item"` moves to the next snap target past the current offset.
1369
+ * @default "page"
1370
+ */
1371
+ step?: "page" | "item";
1372
+ /** Native scroll behavior. `"auto"` if omitted. */
1373
+ behavior?: ScrollBehavior;
1374
+ }
1375
+ /**
1376
+ * Imperative handle. The ref is this handle, not the DOM node.
1377
+ * Use `getElement()` for the scrollport.
1378
+ */
1379
+ interface ScrollAreaHandle {
1380
+ /** The scrollport element, or `null` before mount. */
1381
+ getElement: () => HTMLElement | null;
1382
+ /** Re-read overflow and edge state. */
1383
+ measure: () => void;
1384
+ /** Native `scrollTo`. */
1385
+ scrollTo: (opts: ScrollToOptions) => void;
1386
+ scrollToTop: (behavior?: ScrollBehavior) => void;
1387
+ scrollToBottom: (behavior?: ScrollBehavior) => void;
1388
+ /** Scroll so the given edge of the content meets the scrollport. */
1389
+ scrollToEdge: (edge: ScrollEdge, behavior?: ScrollBehavior) => void;
1390
+ /** Step forward by a page or to the next item. */
1391
+ scrollNext: (opts?: ScrollStepOptions) => void;
1392
+ /** Step backward by a page or to the previous item. */
1393
+ scrollPrev: (opts?: ScrollStepOptions) => void;
1394
+ /**
1395
+ * Scroll so the nth direct child aligns to `snapAlign`.
1396
+ * No-op if the index is out of range.
1397
+ */
1398
+ scrollToIndex: (index: number, opts?: Omit<ScrollStepOptions, "step">) => void;
1399
+ }
1400
+ /**
1401
+ * Publishes its own travel through the scrollport as `--kui-scene-progress` (`0` → `1`),
1402
+ * inherited by every descendant.
1403
+ */
1404
+ interface ScrollAreaSceneProps extends HTMLAttributes<HTMLElement> {
1405
+ /**
1406
+ * How progress is measured.
1407
+ * `"through"` runs `0` → `1` as the scene crosses the scrollport.
1408
+ * `"pinned"` stays at `1` while the scene covers it.
1409
+ */
1410
+ range?: SceneRange;
1411
+ /** Axis to measure. Defaults to the ScrollArea's main axis. */
1412
+ axis?: "x" | "y";
1413
+ /**
1414
+ * Element to render.
1415
+ * @default "div"
1416
+ */
1417
+ as?: ElementType;
1418
+ }
1419
+ /**
1420
+ * `position: sticky` inside the ScrollArea.
1421
+ * With no offset, sticks to the start of the scroll axis: `top` when vertical,
1422
+ * `left` when horizontal, both when `direction` is `"both"`.
1423
+ * An explicit `top` / `right` / `bottom` / `left` wins.
1424
+ * Does nothing if an ancestor between this node and the ScrollArea has `overflow` other than `visible`.
1425
+ */
1426
+ interface ScrollAreaStickyProps extends HTMLAttributes<HTMLElement> {
1427
+ /** Inset from the top edge while stuck. Number is pixels. */
1428
+ top?: number | string;
1429
+ /** Inset from the bottom edge while stuck. Number is pixels. */
1430
+ bottom?: number | string;
1431
+ /** Inset from the left edge while stuck. Number is pixels. */
1432
+ left?: number | string;
1433
+ /** Inset from the right edge while stuck. Number is pixels. */
1434
+ right?: number | string;
1435
+ /**
1436
+ * `z-index` while in the scrollport.
1437
+ * @default 1
1438
+ */
1439
+ zIndex?: number;
1440
+ /** Called when the sticky node starts or stops being stuck. */
1441
+ onStuckChange?: (stuck: boolean) => void;
1442
+ /**
1443
+ * Element to render.
1444
+ * @default "div"
1445
+ */
1446
+ as?: ElementType;
1447
+ }
1058
1448
 
1059
- type SkeletonResolver<P = any> = (props: Partial<P>) => SkeletonShape;
1060
- type SkeletonDefinition<P = any> = {
1061
- resolve: SkeletonResolver<P>;
1062
- defaults?: SkeletonShape;
1449
+ declare const ScrollArea: react.ForwardRefExoticComponent<ScrollAreaProps & MotionGatedProps & react.RefAttributes<ScrollAreaHandle>> & {
1450
+ __kui: _splenddev_kreativ_core.KuiMeta<ScrollAreaProps & MotionGatedProps>;
1451
+ providerRequired?: _splenddev_kreativ_core.KuiProviderRequirement;
1452
+ } & {
1453
+ Scene: _splenddev_kreativ_core.KuiComponent<ScrollAreaSceneProps & MotionGatedProps, HTMLElement>;
1454
+ Sticky: _splenddev_kreativ_core.KuiComponent<ScrollAreaStickyProps, HTMLElement>;
1063
1455
  };
1064
1456
 
1065
- declare const cardSkeleton: SkeletonDefinition<CardProps>;
1457
+ /** Container progress. Subscribe-based, so it never re-renders anything by itself. */
1458
+ declare function useScrollProgress(): ProgressStore<ScrollProgress>;
1459
+ interface ScrollSceneOptions {
1460
+ range?: SceneRange;
1461
+ axis?: "x" | "y";
1462
+ }
1463
+ /** Progress of an element through the surrounding ScrollArea's viewport. */
1464
+ declare function useElementScrollProgress(ref: RefObject<HTMLElement | null>, { range, axis }?: ScrollSceneOptions): ProgressStore<number>;
1465
+
1466
+ interface BoxProps extends BaseProps {
1467
+ /**
1468
+ * Element to render.
1469
+ * @default "div"
1470
+ */
1471
+ as?: ElementType;
1472
+ /** Padding. Token, pixel number, or raw length. */
1473
+ p?: ResponsiveValue<SpaceValue>;
1474
+ /** Padding on the inline axis. Overrides `p`. */
1475
+ px?: ResponsiveValue<SpaceValue>;
1476
+ /** Padding on the block axis. Overrides `p`. */
1477
+ py?: ResponsiveValue<SpaceValue>;
1478
+ /** Margin. `"auto"` centers on that axis. */
1479
+ m?: ResponsiveValue<SpaceValue | "auto">;
1480
+ /** Margin on the inline axis. Overrides `m`. */
1481
+ mx?: ResponsiveValue<SpaceValue | "auto">;
1482
+ /** Margin on the block axis. Overrides `m`. */
1483
+ my?: ResponsiveValue<SpaceValue | "auto">;
1484
+ /** Background. Token or raw CSS color. */
1485
+ bg?: ResponsiveValue<ColorProps<BaseColor> | string>;
1486
+ /** Foreground. Token or raw CSS color. */
1487
+ color?: ResponsiveValue<ColorProps<BaseColor> | string>;
1488
+ /**
1489
+ * Border. `true` is a 1px solid line in the default border color.
1490
+ * A color paints that line in the given color.
1491
+ * @default false
1492
+ */
1493
+ border?: boolean | ResponsiveValue<ColorProps<BaseColor> | string>;
1494
+ /** Corner radius. */
1495
+ rounded?: ResponsiveValue<RadiusValue>;
1496
+ /** Width. `"full"` is 100%, `"fit"` is max-content. */
1497
+ w?: ResponsiveValue<SpaceValue | "auto" | "full" | "fit">;
1498
+ /** Height. `"full"` is 100%, `"fit"` is max-content. */
1499
+ h?: ResponsiveValue<SpaceValue | "auto" | "full" | "fit">;
1500
+ }
1501
+
1502
+ declare const Box: _splenddev_kreativ_core.KuiComponent<BoxProps, HTMLDivElement>;
1066
1503
 
1067
1504
  /**
1068
1505
  * Represents the visual state of the field for feedback and styling.
@@ -1202,8 +1639,10 @@ interface UIProviderProps {
1202
1639
  fallbackSize?: string;
1203
1640
  background?: string;
1204
1641
  textColor?: string;
1642
+ className?: string;
1643
+ style?: React.CSSProperties;
1205
1644
  }
1206
- declare function KreativUIProvider({ children, theme: themeOverride, defaultMode, as, fallbackSize, textColor, background, }: UIProviderProps): JSX.Element;
1645
+ declare function KreativUIProvider({ children, theme: themeOverride, defaultMode, as, fallbackSize, textColor, background, style, className, }: UIProviderProps): JSX.Element;
1207
1646
 
1208
1647
  declare function useFloatingSide(triggerRef: RefObject<HTMLElement | null>, open: boolean): {
1209
1648
  contentRef: RefObject<HTMLDivElement | null>;
@@ -1272,4 +1711,4 @@ declare function extendSemanticTokens(override?: ThemeOverride$1["semanticTokens
1272
1711
 
1273
1712
  declare function extendTheme(override?: ThemeOverride$1): Theme;
1274
1713
 
1275
- export { Adornment, type AdornmentProps, type BaseInputExtraAdornmentContext, type BaseInputProps, 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 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, 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, Input, InputField, type InputFieldProps, type InputKind, type InputKindDefaults, type InputProps, type InputSize, type InputVariant, KreativUIProvider, type KuiFormControlComponent, type ManualValidator, MarkdownEditor, type MarkdownEditorProps, type MarkdownEditorTabs, type MotionGatedProps, MultiSelect, MultiSelectContent, MultiSelectItem, type MultiSelectItemProps, type MultiSelectProps, MultiSelectTrigger, type PasswordInputKindDefaults, type PasswordInputProps, type PasswordKind, Radio, RadioGroup, type RadioGroupProps, type RadioProps, type RadioSize, type SchemaLike, Select, SelectContent, type SelectContentProps, SelectGroup, type SelectGroupProps, SelectItem, type SelectItemProps, SelectLabel, type SelectLabelProps, type SelectProps, SelectRoot, type SelectRootProps, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SingleFormControlComponent, 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 UIProviderProps, type UISchema, type ValuePropConvention, cardSkeleton, cn, defineUIField, extendRecipe, extendRecipes, extendSemanticTokens, extendTheme, extendTokens, extendTypography, getRecipeNames, hexToRgbString, rgbToHex, useButtonGroupContext, useButtonGroupItemContext, useClearableField, useFloatingSide, useFormContext, useKeyboardShortcuts, useOptionalButtonGroupContext, useOptionalButtonGroupItemContext, useStatusTransition };
1714
+ 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, Input, InputField, type InputFieldProps, type InputKind, type InputKindDefaults, type InputProps, type InputSize, type InputVariant, KreativUIProvider, 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 RadiusValue, 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, type SingleFormControlComponent, type SpaceToken, type SpaceValue, 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 UIProviderProps, type UISchema, type ValuePropConvention, cn, defineUIField, extendRecipe, extendRecipes, extendSemanticTokens, extendTheme, extendTokens, extendTypography, getRecipeNames, hexToRgbString, rgbToHex, useButtonGroupContext, useButtonGroupItemContext, useClearableField, useElementScrollProgress, useFloatingSide, useFormContext, useKeyboardShortcuts, useOptionalButtonGroupContext, useOptionalButtonGroupItemContext, useScrollProgress, useStatusTransition };