@nimbus-ds/components 5.24.0-rc.2 → 5.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/dist/Accordion/index.d.ts +136 -0
  2. package/dist/Accordion/index.js +2 -0
  3. package/dist/Alert/index.d.ts +60 -0
  4. package/dist/Alert/index.js +2 -0
  5. package/dist/Badge/index.d.ts +55 -0
  6. package/dist/Badge/index.js +2 -0
  7. package/dist/Box/index.d.ts +779 -0
  8. package/dist/Box/index.js +2 -0
  9. package/dist/Button/index.d.ts +83 -0
  10. package/dist/Button/index.js +2 -0
  11. package/dist/CHANGELOG.md +658 -0
  12. package/dist/Card/index.d.ts +153 -0
  13. package/dist/Card/index.js +2 -0
  14. package/dist/Checkbox/index.d.ts +62 -0
  15. package/dist/Checkbox/index.js +2 -0
  16. package/dist/Chip/index.d.ts +59 -0
  17. package/dist/Chip/index.js +2 -0
  18. package/dist/Collapsible/index.d.ts +45 -0
  19. package/dist/Collapsible/index.js +2 -0
  20. package/dist/FileUploader/index.d.ts +98 -0
  21. package/dist/FileUploader/index.js +2 -0
  22. package/dist/Icon/index.d.ts +120 -0
  23. package/dist/Icon/index.js +2 -0
  24. package/dist/IconButton/index.d.ts +170 -0
  25. package/dist/IconButton/index.js +2 -0
  26. package/dist/Input/index.d.ts +76 -0
  27. package/dist/Input/index.js +2 -0
  28. package/dist/Label/index.d.ts +55 -0
  29. package/dist/Label/index.js +2 -0
  30. package/dist/Link/index.d.ts +115 -0
  31. package/dist/Link/index.js +2 -0
  32. package/dist/List/index.d.ts +75 -0
  33. package/dist/List/index.js +2 -0
  34. package/dist/Modal/index.d.ts +232 -0
  35. package/dist/Modal/index.js +2 -0
  36. package/dist/MultiSelect/index.d.ts +107 -0
  37. package/dist/MultiSelect/index.js +2 -0
  38. package/dist/Pagination/index.d.ts +41 -0
  39. package/dist/Pagination/index.js +2 -0
  40. package/dist/Popover/index.d.ts +165 -0
  41. package/dist/Popover/index.js +2 -0
  42. package/dist/ProgressBar/index.d.ts +57 -0
  43. package/dist/ProgressBar/index.js +2 -0
  44. package/dist/README.md +235 -0
  45. package/dist/Radio/index.d.ts +62 -0
  46. package/dist/Radio/index.js +2 -0
  47. package/dist/ScrollPane/index.d.ts +893 -0
  48. package/dist/ScrollPane/index.js +2 -0
  49. package/dist/SegmentedControl/index.d.ts +879 -0
  50. package/dist/SegmentedControl/index.js +2 -0
  51. package/dist/Select/index.d.ts +81 -0
  52. package/dist/Select/index.js +2 -0
  53. package/dist/Sidebar/index.d.ts +389 -0
  54. package/dist/Sidebar/index.js +2 -0
  55. package/dist/Skeleton/index.d.ts +31 -0
  56. package/dist/Skeleton/index.js +2 -0
  57. package/dist/Spinner/index.d.ts +53 -0
  58. package/dist/Spinner/index.js +2 -0
  59. package/dist/Stepper/index.d.ts +873 -0
  60. package/dist/Stepper/index.js +2 -0
  61. package/dist/Table/index.d.ts +123 -0
  62. package/dist/Table/index.js +2 -0
  63. package/dist/Tabs/index.d.ts +92 -0
  64. package/dist/Tabs/index.js +2 -0
  65. package/dist/Tag/index.d.ts +51 -0
  66. package/dist/Tag/index.js +2 -0
  67. package/dist/Text/index.d.ts +495 -0
  68. package/dist/Text/index.js +2 -0
  69. package/dist/Textarea/index.d.ts +50 -0
  70. package/dist/Textarea/index.js +2 -0
  71. package/dist/Thumbnail/index.d.ts +73 -0
  72. package/dist/Thumbnail/index.js +2 -0
  73. package/dist/Title/index.d.ts +164 -0
  74. package/dist/Title/index.js +2 -0
  75. package/dist/Toast/index.d.ts +56 -0
  76. package/dist/Toast/index.js +2 -0
  77. package/dist/Toggle/index.d.ts +48 -0
  78. package/dist/Toggle/index.js +2 -0
  79. package/dist/Tooltip/index.d.ts +46 -0
  80. package/dist/Tooltip/index.js +2 -0
  81. package/dist/components-props.json +1 -0
  82. package/dist/index.d.ts +3970 -0
  83. package/dist/index.js +2 -0
  84. package/package.json +1 -1
@@ -0,0 +1,3970 @@
1
+ // Generated by dts-bundle-generator v7.2.0
2
+
3
+ import React from 'react';
4
+ import { ButtonHTMLAttributes, ComponentPropsWithRef, HTMLAttributes, ImgHTMLAttributes, InputHTMLAttributes, OptgroupHTMLAttributes, OptionHTMLAttributes, PropsWithChildren, ReactElement, ReactNode, SVGAttributes } from 'react';
5
+
6
+ export interface SkeletonProperties {
7
+ /**
8
+ * Width of the skeleton. Useful when the skeleton is inside an inline element with no width of its own.
9
+ */
10
+ width: string;
11
+ /**
12
+ * Height of the skeleton. Useful when you don't want to adapt the skeleton to a text element but for instance a card.
13
+ */
14
+ height: string;
15
+ /**
16
+ * The border radius of the skeleton.
17
+ */
18
+ borderRadius?: string;
19
+ /**
20
+ * This is an attribute used to identify a DOM node for testing purposes.
21
+ */
22
+ "data-testid"?: string;
23
+ }
24
+ export type SkeletonProps = SkeletonProperties & HTMLAttributes<HTMLDivElement>;
25
+ export declare const Skeleton: React.FC<SkeletonProps>;
26
+ export type BadgeSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
27
+ /**
28
+ * This is an attribute used to identify a DOM node for testing purposes.
29
+ */
30
+ "data-testid"?: string;
31
+ };
32
+ export type BadgeSkeletonProps = BadgeSkeletonProperties;
33
+ declare const BadgeSkeleton: React.FC<BadgeSkeletonProps>;
34
+ export interface BadgeComponents {
35
+ Skeleton: typeof BadgeSkeleton;
36
+ }
37
+ export interface BadgeProperties {
38
+ /**
39
+ * Change the visual style of the badge.
40
+ * @default neutral
41
+ */
42
+ appearance?: "primary" | "success" | "warning" | "danger" | "neutral";
43
+ /**
44
+ * Total items to be displayed without badge
45
+ */
46
+ count: number | string;
47
+ /**
48
+ * Change the color scheme of the badge.
49
+ * @default surface
50
+ */
51
+ theme?: "surface" | "light";
52
+ }
53
+ export type BadgeProps = BadgeProperties & HTMLAttributes<HTMLElement>;
54
+ export declare const Badge: React.FC<BadgeProps> & BadgeComponents;
55
+ export type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
56
+ export type ForwardRefExoticComponent<E, OwnProps> = React.ForwardRefExoticComponent<Merge<E extends React.ElementType ? React.ComponentPropsWithRef<E> : never, OwnProps & {
57
+ as?: E;
58
+ }>>;
59
+ export interface PolymorphicForwardRefComponent<IntrinsicElementString, OwnProps = {}
60
+ /**
61
+ * Extends original type to ensure built in React types play nice
62
+ * with polymorphic components still e.g. `React.ElementRef` etc.
63
+ */
64
+ > extends ForwardRefExoticComponent<IntrinsicElementString, OwnProps> {
65
+ /**
66
+ * When `as` prop is passed, use this overload.
67
+ * Merges original own props (without DOM props) and the inferred props
68
+ * from `as` element with the own props taking precendence.
69
+ *
70
+ * We explicitly avoid `React.ElementType` and manually narrow the prop types
71
+ * so that events are typed when using JSX.IntrinsicElements.
72
+ */
73
+ <As = IntrinsicElementString>(props: As extends "" ? {
74
+ as: keyof JSX.IntrinsicElements;
75
+ } : As extends React.ComponentType<infer P> ? Merge<P, OwnProps & {
76
+ as: As;
77
+ }> : As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & {
78
+ as: As;
79
+ }> : never): React.ReactElement | null;
80
+ }
81
+ export interface Conditions<T> {
82
+ xs?: T;
83
+ md?: T;
84
+ lg?: T;
85
+ xl?: T;
86
+ }
87
+ export type AspectRatio = "1/1" | "16/9" | "9/16" | "4/3" | "3/4" | "2/1" | "1/2";
88
+ export type BorderStyle = "solid" | "none" | "hidden" | "dashed" | "dotted";
89
+ export type BoxSizing = "border-box" | "content-box";
90
+ export type Cursor = "auto" | "pointer" | "not-allowed" | "grab" | "inherit";
91
+ export type Display = "block" | "flex" | "inline-flex" | "grid" | "inline-grid" | "none";
92
+ export type FlexWrap = "nowrap" | "wrap" | "wrap-reverse";
93
+ export type FlexDirection = "row" | "row-reverse" | "column" | "column-reverse";
94
+ export type JustifyContent = "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly";
95
+ export type AlignItems = "stretch" | "flex-start" | "flex-end" | "center" | "baseline";
96
+ export type AlignSelf = "auto" | "flex-start" | "flex-end" | "center" | "baseline" | "stretch";
97
+ export type TextAlign = "left" | "right" | "center" | "justify";
98
+ export type TextDecoration = "none" | "underline" | "line-through";
99
+ export type Position = "absolute" | "fixed" | "relative" | "static" | "sticky";
100
+ export type Overflow = "visible" | "hidden" | "scroll" | "auto";
101
+ export type PointerEvents = "auto" | "none" | "visiblePainted" | "visibleFill" | "visibleStroke" | "visible" | "painted" | "fill" | "stroke" | "all" | "inherit";
102
+ export type TransitionTiming = "ease" | "ease-in" | "ease-out" | "ease-in-out" | "linear" | "step-start" | "step-end";
103
+ export type WordBreak = "normal" | "break-all" | "keep-all" | "break-word";
104
+ declare const propertiesBox: {
105
+ gap: {
106
+ none: string;
107
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
108
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
109
+ "1-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
110
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
111
+ "2-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
112
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
113
+ "3-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
114
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
115
+ "4-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
116
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
117
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
118
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
119
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
120
+ "9": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
121
+ "10": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
122
+ "11": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
123
+ "12": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
124
+ "14": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
125
+ "16": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
126
+ "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
127
+ "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
128
+ };
129
+ gridGap: {
130
+ none: string;
131
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
132
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
133
+ "1-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
134
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
135
+ "2-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
136
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
137
+ "3-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
138
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
139
+ "4-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
140
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
141
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
142
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
143
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
144
+ "9": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
145
+ "10": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
146
+ "11": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
147
+ "12": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
148
+ "14": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
149
+ "16": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
150
+ "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
151
+ "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
152
+ };
153
+ display: Display[];
154
+ flexDirection: FlexDirection[];
155
+ flexWrap: FlexWrap[];
156
+ justifyContent: JustifyContent[];
157
+ alignItems: AlignItems[];
158
+ alignSelf: AlignSelf[];
159
+ pointerEvents: PointerEvents[];
160
+ backgroundColor: {
161
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
162
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
163
+ "primary-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
164
+ "primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
165
+ "success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
166
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
167
+ "success-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
168
+ "success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
169
+ "warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
170
+ "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
171
+ "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
172
+ "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
173
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
174
+ * The min height property specifies the height of a box's content area.
175
+ */
176
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
177
+ "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
178
+ "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
179
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
180
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
181
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
182
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
183
+ "neutral-surfaceDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
184
+ "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
185
+ "ai-generative-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
186
+ "ai-generative-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
187
+ transparent: string;
188
+ };
189
+ background: {
190
+ "ai-generative-interactive-border": string;
191
+ "ai-generative-interactive": string;
192
+ transparent: string;
193
+ };
194
+ color: {
195
+ currentColor: string;
196
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
197
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
198
+ "primary-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
199
+ "primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
200
+ "success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
201
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
202
+ "success-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
203
+ "success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
204
+ "warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
205
+ "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
206
+ "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
207
+ "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
208
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
209
+ * The min height property specifies the height of a box's content area.
210
+ */
211
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
212
+ "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
213
+ "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
214
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
215
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
216
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
217
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
218
+ "neutral-surfaceDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
219
+ "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
220
+ "ai-generative-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
221
+ "ai-generative-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
222
+ transparent: string;
223
+ };
224
+ borderColor: {
225
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
226
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
227
+ "primary-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
228
+ "success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
229
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
230
+ "success-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
231
+ "warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
232
+ "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
233
+ "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
234
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
235
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
236
+ "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
237
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
238
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
239
+ "neutral-surfaceDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
240
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
241
+ transparent: string;
242
+ };
243
+ borderRadius: {
244
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
245
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
246
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
247
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
248
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
249
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
250
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
251
+ full: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
252
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
253
+ half: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
254
+ none: string;
255
+ };
256
+ borderWidth: {
257
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
258
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
259
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
260
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
261
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
262
+ none: string;
263
+ };
264
+ borderStyle: BorderStyle[];
265
+ boxSizing: BoxSizing[];
266
+ cursor: Cursor[];
267
+ spacing: {
268
+ none: string;
269
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
270
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
271
+ "1-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
272
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
273
+ "2-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
274
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
275
+ "3-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
276
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
277
+ "4-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
278
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
279
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
280
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
281
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
282
+ "9": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
283
+ "10": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
284
+ "11": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
285
+ "12": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
286
+ "14": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
287
+ "16": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
288
+ "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
289
+ "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
290
+ };
291
+ margin: {
292
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
293
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
294
+ "1-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
295
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
296
+ "2-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
297
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
298
+ "3-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
299
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
300
+ "4-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
301
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
302
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
303
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
304
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
305
+ "9": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
306
+ "10": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
307
+ "11": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
308
+ "12": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
309
+ "14": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
310
+ "16": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
311
+ "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
312
+ "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
313
+ auto: string;
314
+ none: string;
315
+ };
316
+ position: Position[];
317
+ overflow: Overflow[];
318
+ overflowX: Overflow[];
319
+ overflowY: Overflow[];
320
+ boxShadow: {
321
+ "0": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
322
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
323
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
324
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
325
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
326
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
327
+ focusRing: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
328
+ aiFocus: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
329
+ };
330
+ transitionDuration: {
331
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
332
+ fast: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
333
+ slow: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
334
+ slower: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
335
+ };
336
+ transitionTimingFunction: TransitionTiming[];
337
+ textDecoration: TextDecoration[];
338
+ zIndex: {
339
+ "100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
340
+ "200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
341
+ "300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
342
+ "400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
343
+ "500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
344
+ "600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
345
+ "700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
346
+ "800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
347
+ "900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
348
+ };
349
+ textAlign: TextAlign[];
350
+ fontWeight: {
351
+ regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
352
+ medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
353
+ bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
354
+ };
355
+ fontSize: {
356
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
357
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
358
+ "1-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
359
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
360
+ "2-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
361
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
362
+ "3-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
363
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
364
+ "4-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
365
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
366
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
367
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
368
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
369
+ "9": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
370
+ "10": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
371
+ "11": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
372
+ "12": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
373
+ "14": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
374
+ "16": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
375
+ "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
376
+ "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
377
+ h1: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
378
+ h2: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
379
+ * This defines the ability for a flex item to shrink if necessary.
380
+ */
381
+ h3: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
382
+ h4: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
383
+ h5: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
384
+ h6: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
385
+ };
386
+ lineHeight: {
387
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
388
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
389
+ "1-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
390
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
391
+ "2-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
392
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
393
+ "3-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
394
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
395
+ "4-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
396
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
397
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
398
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
399
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
400
+ "9": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
401
+ "10": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
402
+ "11": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
403
+ "12": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
404
+ "14": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
405
+ "16": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
406
+ "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
407
+ "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
408
+ h1: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
409
+ h2: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
410
+ h3: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
411
+ h4: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
412
+ h5: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
413
+ h6: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
414
+ };
415
+ };
416
+ export type BoxBorderColorProperties = keyof typeof propertiesBox.borderColor;
417
+ export type BoxBorderRadiusProperties = keyof typeof propertiesBox.borderRadius;
418
+ export type BoxBorderWidthProperties = keyof typeof propertiesBox.borderWidth;
419
+ export type BoxBackgroundColorProperties = keyof typeof propertiesBox.backgroundColor;
420
+ export type BoxColorProperties = keyof typeof propertiesBox.color;
421
+ export type BoxShadowProperties = keyof typeof propertiesBox.boxShadow;
422
+ export type BoxSpacingProperties = keyof typeof propertiesBox.spacing;
423
+ export type BoxMarginProperties = keyof typeof propertiesBox.margin;
424
+ export type BoxGapProperties = keyof typeof propertiesBox.gap;
425
+ export type BoxGridGapProperties = keyof typeof propertiesBox.gridGap;
426
+ export type BoxZIndexProperties = keyof typeof propertiesBox.zIndex;
427
+ export type BoxTransitionDurationProperties = keyof typeof propertiesBox.transitionDuration;
428
+ export type BoxFontSizeProperties = keyof typeof propertiesBox.fontSize;
429
+ export type BoxFontWeightProperties = keyof typeof propertiesBox.fontWeight;
430
+ export type BoxLineHeightProperties = keyof typeof propertiesBox.lineHeight;
431
+ export type BoxBackgroundProperties = keyof typeof propertiesBox.background;
432
+ export interface BoxConditions<T> extends Conditions<T> {
433
+ focus?: T;
434
+ focusWithin?: T;
435
+ active?: T;
436
+ hover?: T;
437
+ disabled?: T;
438
+ }
439
+ export interface BoxSprinkle {
440
+ /**
441
+ * The width property specifies the width of a box's content area.
442
+ */
443
+ width?: string | BoxConditions<string>;
444
+ /**
445
+ * The height property specifies the height of a box's content area.
446
+ */
447
+ height?: string | BoxConditions<string>;
448
+ /**
449
+ * The max width property specifies the width of a box's content area.
450
+ */
451
+ maxWidth?: string | BoxConditions<string>;
452
+ /**
453
+ * The max height property specifies the height of a box's content area.
454
+ */
455
+ maxHeight?: string | BoxConditions<string>;
456
+ /**
457
+ * The min width property specifies the width of a box's content area.
458
+ */
459
+ minWidth?: string | BoxConditions<string>;
460
+ /**
461
+ * The min height property specifies the height of a box's content area.
462
+ */
463
+ minHeight?: string | BoxConditions<string>;
464
+ /**
465
+ * The bottom property participates in setting the vertical position of a positioned box.
466
+ */
467
+ bottom?: string | BoxConditions<string>;
468
+ /**
469
+ * The left property participates in specifying the horizontal position of a positioned box.
470
+ */
471
+ left?: string | BoxConditions<string>;
472
+ /**
473
+ * The right property participates in specifying the horizontal position of a positioned box.
474
+ */
475
+ right?: string | BoxConditions<string>;
476
+ /**
477
+ * The top property participates in setting the vertical position of a positioned box.
478
+ */
479
+ top?: string | BoxConditions<string>;
480
+ /**
481
+ * This is the shorthand for flexGrow, flexShrink and flexBasis combined.
482
+ */
483
+ flex?: string | BoxConditions<string>;
484
+ /**
485
+ * This defines the ability for a flex item to shrink if necessary.
486
+ */
487
+ flexShrink?: string | BoxConditions<string>;
488
+ /**
489
+ * This defines the ability for a flex item to grow if necessary.
490
+ */
491
+ flexGrow?: string | BoxConditions<string>;
492
+ /**
493
+ * The flexWrap property sets whether flex items are forced onto one line or can wrap onto multiple lines.
494
+ */
495
+ flexWrap?: FlexWrap | BoxConditions<FlexWrap>;
496
+ /**
497
+ * The order property controls the order in which they appear in a flex container.
498
+ */
499
+ order?: string | BoxConditions<string>;
500
+ /**
501
+ * The gridTemplateColumns property defines the line names and track sizing functions of the grid columns.
502
+ */
503
+ gridTemplateColumns?: string | BoxConditions<string>;
504
+ /**
505
+ * The gridTemplateAreas property specifies named grid areas, establishing the cells in the grid and assigning them names.
506
+ */
507
+ gridTemplateAreas?: string | BoxConditions<string>;
508
+ /**
509
+ * The gridTemplateRows property defines the line names and track sizing functions of the grid rows.
510
+ */
511
+ gridTemplateRows?: string | BoxConditions<string>;
512
+ /**
513
+ * The gridArea shorthand property specifies a grid item's size and location within a grid by contributing a line,
514
+ * a span, or nothing (automatic) to its grid placement, thereby specifying the edges of its grid area.
515
+ */
516
+ gridArea?: string | BoxConditions<string>;
517
+ /**
518
+ * The display property sets whether an box is treated as a block or inline element and the layout used for its children,
519
+ * such as grid or flex.
520
+ */
521
+ display?: Display | BoxConditions<Display>;
522
+ /**
523
+ * The justifyContent property defines how the browser distributes space between and around content items along
524
+ * the main-axis of a flex container, and the inline axis of a grid container.
525
+ */
526
+ justifyContent?: JustifyContent | BoxConditions<JustifyContent>;
527
+ /**
528
+ * The flexDirection property sets how flex items are placed in the flex container defining the main axis and the direction.
529
+ */
530
+ flexDirection?: FlexDirection | BoxConditions<FlexDirection>;
531
+ /**
532
+ * The alignItems property sets the align-self value on all direct children as a group. In Flexbox, it controls the alignment of items on the Cross Axis.
533
+ * In Grid Layout, it controls the alignment of items on the Block Axis within their grid area.
534
+ */
535
+ alignItems?: AlignItems | BoxConditions<AlignItems>;
536
+ /**
537
+ * The alignSelf property overrides a grid or flex item's align-items value. In Grid, it aligns the item inside the grid area.
538
+ * In Flexbox, it aligns the item on the cross axis.
539
+ */
540
+ alignSelf?: AlignSelf | BoxConditions<AlignSelf>;
541
+ /**
542
+ * The gap property sets the gaps between rows and columns. It is a shorthand for rowGap and columnGap.
543
+ */
544
+ gap?: BoxGapProperties | BoxConditions<BoxGapProperties>;
545
+ /**
546
+ * The gridGap property sets the gaps between rows and columns. It is a shorthand for rowGap and columnGap.
547
+ */
548
+ gridGap?: BoxGridGapProperties | BoxConditions<BoxGridGapProperties>;
549
+ /**
550
+ * The pointerEvents property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.
551
+ */
552
+ pointerEvents?: PointerEvents | BoxConditions<PointerEvents>;
553
+ /**
554
+ * The position property sets how an box is positioned in a document.
555
+ */
556
+ position?: Position | BoxConditions<Position>;
557
+ /**
558
+ * The overflow shorthand property sets the desired behavior for an box's overflow.
559
+ */
560
+ overflow?: Overflow | BoxConditions<Overflow>;
561
+ /**
562
+ * The overflow-x property sets what shows when content overflows a block-level box's left and right edges.
563
+ */
564
+ overflowX?: Overflow | BoxConditions<Overflow>;
565
+ /**
566
+ * The overflow-y property sets what shows when content overflows a block-level box's top and bottom edges.
567
+ */
568
+ overflowY?: Overflow | BoxConditions<Overflow>;
569
+ /**
570
+ * The cursor property sets the mouse cursor, if any, to show when the mouse pointer is over an box.
571
+ */
572
+ cursor?: Cursor | BoxConditions<Cursor>;
573
+ /**
574
+ * The backgroundColor property sets the background color of the box.
575
+ * @default neutral-background
576
+ * @examples ["neutral-interactive", { xs: "neutral-surface", md: "neutral-interactive" }]
577
+ */
578
+ backgroundColor?: BoxBackgroundColorProperties | BoxConditions<BoxBackgroundColorProperties>;
579
+ /**
580
+ * The color property is used to set the color of the box.
581
+ */
582
+ color?: BoxColorProperties | BoxConditions<BoxColorProperties>;
583
+ /**
584
+ * The borderRadius property rounds the corners of an box's outer border edge.
585
+ */
586
+ borderRadius?: BoxBorderRadiusProperties | BoxConditions<BoxBorderRadiusProperties>;
587
+ /**
588
+ * The borderWidth property sets the width of an box's border.
589
+ */
590
+ borderWidth?: BoxBorderWidthProperties | BoxConditions<BoxBorderWidthProperties>;
591
+ /**
592
+ * The borderTopWidth property defines the width of the border at the top of a box.
593
+ */
594
+ borderTopWidth?: BoxBorderWidthProperties | BoxConditions<BoxBorderWidthProperties>;
595
+ /**
596
+ * The borderBottomWidth property defines the width of the border at the bottom of a box.
597
+ */
598
+ borderBottomWidth?: BoxBorderWidthProperties | BoxConditions<BoxBorderWidthProperties>;
599
+ /**
600
+ * The borderLeftWidth property defines the width of the border at the left of a box.
601
+ */
602
+ borderLeftWidth?: BoxBorderWidthProperties | BoxConditions<BoxBorderWidthProperties>;
603
+ /**
604
+ * The borderRightWidth property defines the width of the border at the right of a box.
605
+ */
606
+ borderRightWidth?: BoxBorderWidthProperties | BoxConditions<BoxBorderWidthProperties>;
607
+ /**
608
+ * The borderWidthX shorthand property defines the width of the element's border on the left and right.
609
+ */
610
+ borderWidthX?: BoxBorderWidthProperties | BoxConditions<BoxBorderWidthProperties>;
611
+ /**
612
+ * The borderWidthY shorthand property defines the width of the element's border on the top and bottom.
613
+ */
614
+ borderWidthY?: BoxBorderWidthProperties | BoxConditions<BoxBorderWidthProperties>;
615
+ /**
616
+ * The borderColor property sets the color of the box's four borders.
617
+ */
618
+ borderColor?: BoxBorderColorProperties | BoxConditions<BoxBorderColorProperties>;
619
+ /**
620
+ * borderStyle property sets the line style for all four sides of an box's border.
621
+ */
622
+ borderStyle?: BorderStyle | BoxConditions<BorderStyle>;
623
+ /**
624
+ * The boxSizing property sets how the total width and height of an box is calculated.
625
+ * @default border-box
626
+ */
627
+ boxSizing?: BoxSizing | BoxConditions<BoxSizing>;
628
+ /**
629
+ * The boxShadow property adds shadow effects around an box's frame.
630
+ */
631
+ boxShadow?: BoxShadowProperties | BoxConditions<BoxShadowProperties>;
632
+ /**
633
+ * The padding properties are used to generate space around an box's content area.
634
+ */
635
+ padding?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
636
+ /**
637
+ * The paddingTop property sets the height of the padding area on the top of an box.
638
+ */
639
+ paddingTop?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
640
+ /**
641
+ * The paddingBottom property sets the height of the padding area on the bottom of an box.
642
+ */
643
+ paddingBottom?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
644
+ /**
645
+ * The paddingLeft property sets the width of the padding area to the left of an box.
646
+ */
647
+ paddingLeft?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
648
+ /**
649
+ * The paddingLeft property sets the width of the padding area to the right of an box.
650
+ */
651
+ paddingRight?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
652
+ /**
653
+ * The margin shorthand property sets the margin area on all four sides of an box.
654
+ */
655
+ margin?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
656
+ /**
657
+ * The marginTop property sets the margin area on the top of an box.
658
+ */
659
+ marginTop?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
660
+ /**
661
+ * The marginBottom property sets the margin area on the bottom of an box.
662
+ */
663
+ marginBottom?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
664
+ /**
665
+ * The marginLeft property sets the margin area on the left side of an box.
666
+ */
667
+ marginLeft?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
668
+ /**
669
+ * The marginRight property sets the margin area on the right side of an box.
670
+ */
671
+ marginRight?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
672
+ /**
673
+ * The transitionTimingFunction property sets how intermediate values are calculated for CSS properties being affected by a transition effect.
674
+ */
675
+ transitionTimingFunction?: TransitionTiming | BoxConditions<TransitionTiming>;
676
+ /**
677
+ * The transitionProperty property sets the CSS properties to which a transition effect should be applied.
678
+ */
679
+ transitionProperty?: string | BoxConditions<string>;
680
+ /**
681
+ * The transitionDelay property specifies the duration to wait before starting a property's transition effect when its value changes.
682
+ */
683
+ transitionDelay?: string | BoxConditions<string>;
684
+ /**
685
+ * The transitionDuration property sets the length of time a transition animation should take to complete. By default, the value is 0s, meaning that no animation will occur.
686
+ */
687
+ transitionDuration?: BoxTransitionDurationProperties | BoxConditions<BoxTransitionDurationProperties>;
688
+ /**
689
+ * The zIndex property specifies the stack order of the box.
690
+ */
691
+ zIndex?: BoxZIndexProperties | BoxConditions<BoxZIndexProperties>;
692
+ /**
693
+ * The background property sets the background of the box.
694
+ */
695
+ background?: BoxBackgroundProperties | BoxConditions<BoxBackgroundProperties>;
696
+ /**
697
+ * The backgroundImage property sets one or more background images on an element.
698
+ */
699
+ backgroundImage?: string | BoxConditions<string>;
700
+ /**
701
+ * The backgroundPosition property sets the initial position for each background image.
702
+ * The position is relative to the position layer set by background-origin.
703
+ */
704
+ backgroundPosition?: string | BoxConditions<string>;
705
+ /**
706
+ * The backgroundBlendMode property sets how an element's background images should blend with each
707
+ * other and with the element's background color.
708
+ */
709
+ backgroundBlendMode?: string | BoxConditions<string>;
710
+ /**
711
+ * The backgroundRepeat property sets how background images are repeated. A background image can be repeated along the horizontal and vertical axes, or not repeated at all.
712
+ */
713
+ backgroundRepeat?: string | BoxConditions<string>;
714
+ /**
715
+ * The textDecoration shorthand property sets the appearance of decorative lines on text.
716
+ */
717
+ textDecoration?: TextDecoration | BoxConditions<TextDecoration>;
718
+ /**
719
+ * The backgroundSize property sets the size of the element's background image. The image can be left to its natural size, stretched, or constrained to fit the available space.
720
+ */
721
+ backgroundSize?: string | BoxConditions<string>;
722
+ /**
723
+ * The p shorthand property sets the margin area on all four sides of an box.
724
+ */
725
+ p?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
726
+ /**
727
+ * The pl shorthand property sets the width of the padding area to the left of an box.
728
+ */
729
+ pl?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
730
+ /**
731
+ * The pl shorthand property sets the width of the padding area to the right of an box.
732
+ */
733
+ pr?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
734
+ /**
735
+ * The pt shorthand property sets the height of the padding area on the top of an box.
736
+ */
737
+ pt?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
738
+ /**
739
+ * The pb shorthand property sets the height of the padding area on the botton of an box.
740
+ */
741
+ pb?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
742
+ /**
743
+ * The px shorthand property defines the width of the left and right padding area of a box.
744
+ */
745
+ px?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
746
+ /**
747
+ * The py pt shorthand property sets the height of the padding area at the top and bottom of a box.
748
+ */
749
+ py?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
750
+ /**
751
+ * The paddingX shorthand property defines the width of the left and right padding area of a box.
752
+ */
753
+ paddingX?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
754
+ /**
755
+ * The paddingY pt shorthand property sets the height of the padding area at the top and bottom of a box.
756
+ */
757
+ paddingY?: BoxSpacingProperties | BoxConditions<BoxSpacingProperties>;
758
+ /**
759
+ * The m shorthand property sets the margin area on all four sides of an box.
760
+ */
761
+ m?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
762
+ /**
763
+ * The mr property sets the margin area on the right side of an box.
764
+ */
765
+ mr?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
766
+ /**
767
+ * The ml property sets the margin area on the left side of an box.
768
+ */
769
+ ml?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
770
+ /**
771
+ * The mt property sets the margin area on the top of an box.
772
+ */
773
+ mt?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
774
+ /**
775
+ * The marginBottom property sets the margin area on the bottom of an box.
776
+ */
777
+ mb?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
778
+ /**
779
+ * The mx property defines the margin area on the left and right side of a box.
780
+ */
781
+ mx?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
782
+ /**
783
+ * The my property defines the margin area on the top and bottom of a box
784
+ */
785
+ my?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
786
+ /**
787
+ * The marginX property defines the margin area on the left and right side of a box.
788
+ */
789
+ marginX?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
790
+ /**
791
+ * The marginY property defines the margin area on the top and bottom of a box
792
+ */
793
+ marginY?: BoxMarginProperties | BoxConditions<BoxMarginProperties>;
794
+ /**
795
+ * The fontSize property sets the size of the box.
796
+ * @default base
797
+ */
798
+ fontSize?: BoxFontSizeProperties | BoxConditions<BoxFontSizeProperties>;
799
+ /**
800
+ * The fontWeight property sets how thick or thin characters in box should be displayed.
801
+ * @default regular
802
+ */
803
+ fontWeight?: BoxFontWeightProperties | BoxConditions<BoxFontWeightProperties>;
804
+ /**
805
+ * The lineHeight property specifies the line height of the box.
806
+ * @default base
807
+ */
808
+ lineHeight?: BoxLineHeightProperties | BoxConditions<BoxLineHeightProperties>;
809
+ /**
810
+ * The textAlign property specifies the horizontal alignment of box.
811
+ * @default left
812
+ */
813
+ textAlign?: TextAlign | BoxConditions<TextAlign>;
814
+ }
815
+ declare const fileUploader: {
816
+ sprinkle: ((props: {
817
+ aspectRatio?: "none" | AspectRatio | undefined;
818
+ flexDirection?: "row" | "column" | undefined;
819
+ cursor?: Cursor | undefined;
820
+ }) => string) & {
821
+ properties: Set<"aspectRatio" | "cursor" | "flexDirection">;
822
+ };
823
+ properties: {
824
+ aspectRatio: readonly [
825
+ "none",
826
+ ...AspectRatio[]
827
+ ];
828
+ flexDirection: readonly [
829
+ "row",
830
+ "column"
831
+ ];
832
+ cursor: Cursor[];
833
+ };
834
+ classnames: {
835
+ container: string;
836
+ container__input: string;
837
+ disabled: string;
838
+ skeleton: string;
839
+ };
840
+ };
841
+ declare const icon: {
842
+ sprinkle: ((props: {
843
+ color?: "currentColor" | "primary-interactive" | "primary-surface" | "primary-textLow" | "success-textLow" | "success-surface" | "warning-interactive" | "warning-surface" | "warning-textLow" | "danger-interactive" | "danger-surface" | "danger-textLow" | "neutral-background" | "neutral-interactive" | "neutral-surface" | "neutral-textLow" | "success-interactive" | "ai-generative" | "primary-textHigh" | "success-textHigh" | "warning-textHigh" | "danger-textHigh" | "neutral-textDisabled" | "neutral-textHigh" | undefined;
844
+ cursor?: Cursor | undefined;
845
+ }) => string) & {
846
+ properties: Set<"color" | "cursor">;
847
+ };
848
+ properties: {
849
+ color: {
850
+ currentColor: string;
851
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
852
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
853
+ "primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
854
+ "primary-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
855
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
856
+ "success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
857
+ "success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
858
+ "success-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
859
+ "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
860
+ "warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
861
+ "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
862
+ "warning-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
863
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
864
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
865
+ "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
866
+ "danger-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
867
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
868
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
869
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
870
+ "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
871
+ "neutral-textDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
872
+ "neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
873
+ "ai-generative": string;
874
+ };
875
+ cursor: Cursor[];
876
+ };
877
+ classnames: {
878
+ base: string;
879
+ };
880
+ };
881
+ declare const propertiesIconButton: {
882
+ backgroundColor: {
883
+ transparent: string;
884
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
885
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
886
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
887
+ "ai-generativeSurface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
888
+ };
889
+ borderColor: {
890
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
891
+ "neutral-interactiveHover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
892
+ "neutral-interactivePressed": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
893
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
894
+ transparent: string;
895
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
896
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
897
+ "ai-generativeSurface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
898
+ };
899
+ };
900
+ export type IconButtonBackgroundColorProperties = keyof typeof propertiesIconButton.backgroundColor;
901
+ export type IconButtonBorderColorProperties = keyof typeof propertiesIconButton.borderColor;
902
+ export interface IconButtonConditions<T> extends Conditions<T> {
903
+ focus?: T;
904
+ active?: T;
905
+ hover?: T;
906
+ }
907
+ export interface IconButtonSprinkle {
908
+ /**
909
+ * The size of the component.
910
+ * @default 2.75rem
911
+ */
912
+ size?: string | IconButtonConditions<string>;
913
+ /**
914
+ * The borderColor property sets the color of the icon button's four borders.
915
+ * @default { xs: "neutral-interactive", active: "neutral-interactivePressed", hover: "neutral-interactiveHover", focus: "primary-interactive" }
916
+ */
917
+ borderColor?: IconButtonBorderColorProperties | IconButtonConditions<IconButtonBorderColorProperties>;
918
+ /**
919
+ * The backgroundColor property sets the background color of the icon button.
920
+ * @default { xs: "neutral-surface", active: "neutral-interactive", hover: "neutral-surfaceHighlight" }
921
+ */
922
+ backgroundColor?: IconButtonBackgroundColorProperties | IconButtonConditions<IconButtonBackgroundColorProperties>;
923
+ }
924
+ declare const propertiesText: {
925
+ color: {
926
+ currentColor: string;
927
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
928
+ * The color property is used to set the color of the text.
929
+ * @default neutral-textLow
930
+ */
931
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
932
+ "primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
933
+ "primary-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
934
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
935
+ "success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
936
+ "success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
937
+ "success-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
938
+ "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
939
+ "warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
940
+ "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
941
+ "warning-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`; /**
942
+ * The textDecoration shorthand property sets the appearance of decorative lines on text.
943
+ */
944
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
945
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
946
+ "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
947
+ "danger-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
948
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
949
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
950
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
951
+ "neutral-textDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
952
+ "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
953
+ "neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
954
+ };
955
+ textAlign: TextAlign[];
956
+ lineHeight: {
957
+ readonly caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
958
+ readonly base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
959
+ readonly highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
960
+ };
961
+ fontWeight: {
962
+ regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
963
+ medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
964
+ bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
965
+ };
966
+ fontSize: {
967
+ caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
968
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
969
+ highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
970
+ };
971
+ wordBreak: WordBreak[];
972
+ textDecoration: TextDecoration[];
973
+ };
974
+ export type TextColorProperties = keyof typeof propertiesText.color;
975
+ export type TextFontSizeProperties = keyof typeof propertiesText.fontSize;
976
+ export type TextFontWeightProperties = keyof typeof propertiesText.fontWeight;
977
+ export type TextLineHeightProperties = keyof typeof propertiesText.lineHeight;
978
+ export type TextConditions<T> = Conditions<T>;
979
+ export interface TextSprinkle {
980
+ /**
981
+ * The fontSize property sets the size of the text.
982
+ * @default base
983
+ */
984
+ fontSize?: TextFontSizeProperties | TextConditions<TextFontSizeProperties>;
985
+ /**
986
+ * The fontWeight property sets how thick or thin characters in text should be displayed.
987
+ * @default regular
988
+ */
989
+ fontWeight?: TextFontWeightProperties | TextConditions<TextFontWeightProperties>;
990
+ /**
991
+ * The lineHeight property specifies the line height of the text.
992
+ * @default base
993
+ */
994
+ lineHeight?: TextLineHeightProperties | TextConditions<TextLineHeightProperties>;
995
+ /**
996
+ * The textAlign property specifies the horizontal alignment of text.
997
+ * @default left
998
+ */
999
+ textAlign?: TextAlign | TextConditions<TextAlign>;
1000
+ /**
1001
+ * The color property is used to set the color of the text.
1002
+ * @default neutral-textLow
1003
+ */
1004
+ color?: TextColorProperties | TextConditions<TextColorProperties>;
1005
+ /**
1006
+ * The amount of lines at which the text will be trimmed, showing an ellipsis when overflowed.
1007
+ */
1008
+ lineClamp?: number | TextConditions<number>;
1009
+ /**
1010
+ * The amount of lines at which the text will be trimmed, showing an ellipsis when overflowed.
1011
+ */
1012
+ WebkitLineClamp?: number | TextConditions<number>;
1013
+ /**
1014
+ * The amount of lines at which the text will be trimmed, showing an ellipsis when overflowed.
1015
+ */
1016
+ wordBreak?: WordBreak | TextConditions<WordBreak>;
1017
+ /**
1018
+ * The textDecoration shorthand property sets the appearance of decorative lines on text.
1019
+ */
1020
+ textDecoration?: TextDecoration | TextConditions<TextDecoration>;
1021
+ }
1022
+ declare const text: {
1023
+ sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
1024
+ {
1025
+ config: {
1026
+ color: {
1027
+ values: {
1028
+ currentColor: {
1029
+ default: string;
1030
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1031
+ };
1032
+ "primary-interactive": {
1033
+ default: string;
1034
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1035
+ };
1036
+ "primary-surface": {
1037
+ default: string;
1038
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1039
+ };
1040
+ "primary-textLow": {
1041
+ default: string;
1042
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1043
+ };
1044
+ "success-textLow": {
1045
+ default: string;
1046
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1047
+ };
1048
+ "success-surface": {
1049
+ default: string;
1050
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1051
+ };
1052
+ "warning-interactive": {
1053
+ default: string;
1054
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1055
+ };
1056
+ "warning-surface": {
1057
+ default: string;
1058
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1059
+ };
1060
+ "warning-textLow": {
1061
+ default: string;
1062
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1063
+ };
1064
+ "danger-interactive": {
1065
+ default: string;
1066
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1067
+ };
1068
+ "danger-surface": {
1069
+ default: string;
1070
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1071
+ };
1072
+ "danger-textLow": {
1073
+ default: string;
1074
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1075
+ };
1076
+ "neutral-background": {
1077
+ default: string;
1078
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1079
+ };
1080
+ "neutral-interactive": {
1081
+ default: string;
1082
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1083
+ };
1084
+ "neutral-surface": {
1085
+ default: string;
1086
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1087
+ };
1088
+ "neutral-textLow": {
1089
+ default: string;
1090
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1091
+ };
1092
+ "success-interactive": {
1093
+ default: string;
1094
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1095
+ };
1096
+ "primary-textHigh": {
1097
+ default: string;
1098
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1099
+ };
1100
+ "success-textHigh": {
1101
+ default: string;
1102
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1103
+ };
1104
+ "warning-textHigh": {
1105
+ default: string;
1106
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1107
+ };
1108
+ "danger-textHigh": {
1109
+ default: string;
1110
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1111
+ };
1112
+ "neutral-textDisabled": {
1113
+ default: string;
1114
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1115
+ };
1116
+ "neutral-textHigh": {
1117
+ default: string;
1118
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1119
+ };
1120
+ };
1121
+ staticScale: {
1122
+ currentColor: string;
1123
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1124
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1125
+ "primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1126
+ "primary-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1127
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1128
+ "success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1129
+ "success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1130
+ "success-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1131
+ "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1132
+ "warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1133
+ "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1134
+ "warning-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1135
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1136
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1137
+ "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1138
+ "danger-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1139
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1140
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1141
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1142
+ "neutral-textDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1143
+ "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1144
+ "neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1145
+ };
1146
+ name: "color";
1147
+ };
1148
+ textAlign: {
1149
+ values: {
1150
+ center: {
1151
+ default: string;
1152
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1153
+ };
1154
+ left: {
1155
+ default: string;
1156
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1157
+ };
1158
+ right: {
1159
+ default: string;
1160
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1161
+ };
1162
+ justify: {
1163
+ default: string;
1164
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1165
+ };
1166
+ };
1167
+ staticScale: TextAlign[];
1168
+ name: "textAlign";
1169
+ };
1170
+ lineHeight: {
1171
+ values: {
1172
+ caption: {
1173
+ default: string;
1174
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1175
+ };
1176
+ base: {
1177
+ default: string;
1178
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1179
+ };
1180
+ highlight: {
1181
+ default: string;
1182
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1183
+ };
1184
+ };
1185
+ staticScale: {
1186
+ readonly caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1187
+ readonly base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1188
+ readonly highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1189
+ };
1190
+ name: "lineHeight";
1191
+ };
1192
+ fontWeight: {
1193
+ values: {
1194
+ regular: {
1195
+ default: string;
1196
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1197
+ };
1198
+ medium: {
1199
+ default: string;
1200
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1201
+ };
1202
+ bold: {
1203
+ default: string;
1204
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1205
+ };
1206
+ };
1207
+ staticScale: {
1208
+ regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1209
+ medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1210
+ bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1211
+ };
1212
+ name: "fontWeight";
1213
+ };
1214
+ fontSize: {
1215
+ values: {
1216
+ caption: {
1217
+ default: string;
1218
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1219
+ };
1220
+ base: {
1221
+ default: string;
1222
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1223
+ };
1224
+ highlight: {
1225
+ default: string;
1226
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1227
+ };
1228
+ };
1229
+ staticScale: {
1230
+ caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1231
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1232
+ highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1233
+ };
1234
+ name: "fontSize";
1235
+ };
1236
+ wordBreak: {
1237
+ values: {
1238
+ normal: {
1239
+ default: string;
1240
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1241
+ };
1242
+ "break-word": {
1243
+ default: string;
1244
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1245
+ };
1246
+ "break-all": {
1247
+ default: string;
1248
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1249
+ };
1250
+ "keep-all": {
1251
+ default: string;
1252
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1253
+ };
1254
+ };
1255
+ staticScale: WordBreak[];
1256
+ name: "wordBreak";
1257
+ };
1258
+ textDecoration: {
1259
+ values: {
1260
+ none: {
1261
+ default: string;
1262
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1263
+ };
1264
+ "line-through": {
1265
+ default: string;
1266
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1267
+ };
1268
+ underline: {
1269
+ default: string;
1270
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1271
+ };
1272
+ };
1273
+ staticScale: TextDecoration[];
1274
+ name: "textDecoration";
1275
+ };
1276
+ };
1277
+ } & {
1278
+ config: {
1279
+ lineClamp: {
1280
+ dynamic: {
1281
+ default: string;
1282
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1283
+ };
1284
+ dynamicScale: true;
1285
+ name: "lineClamp";
1286
+ vars: {
1287
+ default: string;
1288
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1289
+ };
1290
+ };
1291
+ WebkitLineClamp: {
1292
+ dynamic: {
1293
+ default: string;
1294
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1295
+ };
1296
+ dynamicScale: boolean;
1297
+ name: "WebkitLineClamp";
1298
+ vars: {
1299
+ default: string;
1300
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1301
+ };
1302
+ };
1303
+ };
1304
+ } & {
1305
+ config: {
1306
+ [x: string]: {
1307
+ mappings: ("fontSize" | "fontWeight" | "color" | "lineHeight" | "textAlign" | "wordBreak" | "lineClamp" | "textDecoration" | "WebkitLineClamp")[];
1308
+ };
1309
+ };
1310
+ }
1311
+ ]>;
1312
+ properties: {
1313
+ color: {
1314
+ currentColor: string;
1315
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1316
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1317
+ "primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1318
+ "primary-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1319
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1320
+ "success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1321
+ "success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1322
+ "success-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1323
+ "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1324
+ "warning-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1325
+ "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1326
+ "warning-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1327
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1328
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1329
+ "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1330
+ "danger-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1331
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1332
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1333
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1334
+ "neutral-textDisabled": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1335
+ "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1336
+ "neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1337
+ };
1338
+ textAlign: TextAlign[];
1339
+ lineHeight: {
1340
+ readonly caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1341
+ readonly base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1342
+ readonly highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1343
+ };
1344
+ fontWeight: {
1345
+ regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1346
+ medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1347
+ bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1348
+ };
1349
+ fontSize: {
1350
+ caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1351
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1352
+ highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1353
+ };
1354
+ wordBreak: WordBreak[];
1355
+ textDecoration: TextDecoration[];
1356
+ };
1357
+ classnames: {
1358
+ base: string;
1359
+ trim: string;
1360
+ };
1361
+ };
1362
+ declare const propertiesTitle: {
1363
+ color: {
1364
+ "primary-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1365
+ "primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1366
+ "success-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1367
+ "success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1368
+ "warning-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1369
+ "warning-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1370
+ "danger-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1371
+ "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1372
+ "neutral-textHigh": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1373
+ "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1374
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1375
+ };
1376
+ textAlign: TextAlign[];
1377
+ fontSize: {
1378
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1379
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1380
+ "1-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1381
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1382
+ "2-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1383
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1384
+ "3-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1385
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1386
+ "4-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1387
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1388
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1389
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1390
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1391
+ "9": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1392
+ "10": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1393
+ "11": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1394
+ "12": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1395
+ "14": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1396
+ "16": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1397
+ "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1398
+ "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1399
+ h1: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1400
+ h2: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1401
+ h3: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1402
+ h4: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1403
+ h5: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1404
+ h6: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1405
+ };
1406
+ fontWeight: {
1407
+ regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1408
+ medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1409
+ bold: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1410
+ };
1411
+ lineHeight: {
1412
+ "0-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1413
+ "1": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1414
+ "1-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1415
+ "2": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1416
+ "2-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1417
+ "3": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1418
+ "3-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1419
+ "4": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1420
+ "4-5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1421
+ "5": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1422
+ "6": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1423
+ "7": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1424
+ "8": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1425
+ "9": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1426
+ "10": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1427
+ "11": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1428
+ "12": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1429
+ "14": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1430
+ "16": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1431
+ "18": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1432
+ "20": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1433
+ h1: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1434
+ h2: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1435
+ h3: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1436
+ h4: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1437
+ h5: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1438
+ h6: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1439
+ };
1440
+ };
1441
+ export type TitleColorProperties = keyof typeof propertiesTitle.color;
1442
+ export type TitleFontSizeProperties = keyof typeof propertiesTitle.fontSize;
1443
+ export type TitleFontWeightProperties = keyof typeof propertiesTitle.fontWeight;
1444
+ export type TitleLineHeightProperties = keyof typeof propertiesTitle.lineHeight;
1445
+ export type TitleConditions<T> = Conditions<T>;
1446
+ export interface TitleSprinkle {
1447
+ /**
1448
+ * The fontSize property sets the size of the title.
1449
+ * @default base
1450
+ */
1451
+ fontSize?: TitleFontSizeProperties | TitleConditions<TitleFontSizeProperties>;
1452
+ /**
1453
+ * The fontWeight property sets how thick or thin characters in title should be displayed.
1454
+ * @default regular
1455
+ */
1456
+ fontWeight?: TitleFontWeightProperties | TitleConditions<TitleFontWeightProperties>;
1457
+ /**
1458
+ * The lineHeight property specifies the line height of the title.
1459
+ * @default base
1460
+ */
1461
+ lineHeight?: TitleLineHeightProperties | TitleConditions<TitleLineHeightProperties>;
1462
+ /**
1463
+ * The textAlign property specifies the horizontal alignment of title.
1464
+ * @default left
1465
+ */
1466
+ textAlign?: TextAlign | TitleConditions<TextAlign>;
1467
+ /**
1468
+ * The color property is used to set the color of the title.
1469
+ * @default neutral-textLow
1470
+ */
1471
+ color?: TitleColorProperties | TitleConditions<TitleColorProperties>;
1472
+ }
1473
+ declare const multiSelect: {
1474
+ sprinkle: ((props: {
1475
+ zIndex?: "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | {
1476
+ xs?: "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
1477
+ md?: "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
1478
+ lg?: "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
1479
+ xl?: "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900" | undefined;
1480
+ } | undefined;
1481
+ }) => string) & {
1482
+ properties: Set<"zIndex">;
1483
+ };
1484
+ properties: {
1485
+ zIndex: {
1486
+ "100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1487
+ "200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1488
+ "300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1489
+ "400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1490
+ "500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1491
+ "600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1492
+ "700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1493
+ "800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1494
+ "900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1495
+ };
1496
+ };
1497
+ classnames: {
1498
+ appearance: Record<"success" | "warning" | "danger" | "neutral", string>;
1499
+ container: string;
1500
+ container__icon: string;
1501
+ container__button: string;
1502
+ };
1503
+ };
1504
+ declare const propertiesPopover: {
1505
+ backgroundColor: {
1506
+ "primary-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1507
+ "primary-interactiveHover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1508
+ "success-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1509
+ "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1510
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1511
+ "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1512
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1513
+ };
1514
+ color: {
1515
+ "primary-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1516
+ "primary-interactiveHover": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1517
+ "success-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1518
+ "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1519
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1520
+ "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1521
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1522
+ };
1523
+ padding: {
1524
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1525
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1526
+ none: string;
1527
+ };
1528
+ zIndex: {
1529
+ "100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1530
+ "200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1531
+ "300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1532
+ "400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1533
+ "500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1534
+ "600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1535
+ "700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1536
+ "800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1537
+ "900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1538
+ };
1539
+ overflow: Overflow[];
1540
+ };
1541
+ export type PopoverColorProperties = keyof typeof propertiesPopover.color;
1542
+ export type PopoverBackgroundColorProperties = keyof typeof propertiesPopover.backgroundColor;
1543
+ export type PopoverPaddingProperties = keyof typeof propertiesPopover.padding;
1544
+ export type PopoverZIndexProperties = keyof typeof propertiesPopover.zIndex;
1545
+ export interface PopoverSprinkle {
1546
+ /**
1547
+ * The width property specifies the width of a popover's content area.
1548
+ * @default fit-content
1549
+ */
1550
+ width?: string | Conditions<string>;
1551
+ /**
1552
+ * The maxWidth property specifies the maximum width of a popover's content area.
1553
+ */
1554
+ maxWidth?: string | Conditions<string>;
1555
+ /**
1556
+ * The height property specifies the height of a popover's content area.
1557
+ */
1558
+ height?: string | Conditions<string>;
1559
+ /**
1560
+ * The zIndex property specifies the stack order of the popover.
1561
+ */
1562
+ zIndex?: PopoverZIndexProperties | Conditions<PopoverZIndexProperties>;
1563
+ /**
1564
+ * The backgroundColor property sets the background color of the popover.
1565
+ * @default neutral-background
1566
+ * @examples ["neutral-interactive", { xs: "neutral-surface", md: "neutral-interactive" }]
1567
+ */
1568
+ backgroundColor?: PopoverBackgroundColorProperties | Conditions<PopoverBackgroundColorProperties>;
1569
+ /**
1570
+ * The color property is used to set the color of the popover.
1571
+ * @default neutral-background
1572
+ */
1573
+ color?: PopoverColorProperties | Conditions<PopoverColorProperties>;
1574
+ /**
1575
+ * The padding properties are used to generate space around an popover's content area.
1576
+ * @default base
1577
+ */
1578
+ padding?: PopoverPaddingProperties | Conditions<PopoverPaddingProperties>;
1579
+ /**
1580
+ * The overflow shorthand property sets the desired behavior for an popover's content overflow.
1581
+ */
1582
+ overflow?: Overflow | Conditions<Overflow>;
1583
+ }
1584
+ declare const spinner: {
1585
+ sprinkle: ((props: {
1586
+ color?: "currentColor" | "primary-interactive" | "primary-surface" | "primary-textLow" | "success-textLow" | "success-surface" | "danger-interactive" | "danger-surface" | "danger-textLow" | "neutral-background" | "neutral-interactive" | "neutral-surface" | "neutral-textLow" | "success-interactive" | undefined;
1587
+ }) => string) & {
1588
+ properties: Set<"color">;
1589
+ };
1590
+ properties: {
1591
+ color: {
1592
+ currentColor: string;
1593
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1594
+ "primary-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1595
+ "primary-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1596
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1597
+ "success-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1598
+ "success-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1599
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1600
+ "danger-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1601
+ "danger-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1602
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1603
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1604
+ "neutral-interactive": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1605
+ "neutral-textLow": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1606
+ };
1607
+ };
1608
+ classnames: {
1609
+ base: string;
1610
+ };
1611
+ };
1612
+ declare const link: {
1613
+ sprinkle: ((props: {
1614
+ textDecoration?: TextDecoration | undefined;
1615
+ fontSize?: "caption" | "base" | "highlight" | undefined;
1616
+ lineHeight?: "caption" | "base" | "highlight" | undefined;
1617
+ }) => string) & {
1618
+ properties: Set<"fontSize" | "lineHeight" | "textDecoration">;
1619
+ };
1620
+ properties: {
1621
+ textDecoration: TextDecoration[];
1622
+ fontSize: {
1623
+ caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1624
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1625
+ highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1626
+ };
1627
+ lineHeight: {
1628
+ readonly caption: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1629
+ readonly base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1630
+ readonly highlight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1631
+ };
1632
+ };
1633
+ classnames: {
1634
+ base: string;
1635
+ appearance: Record<"primary" | "danger" | "neutral" | "neutral-background", string>;
1636
+ };
1637
+ };
1638
+ export interface TooltipSprinkle {
1639
+ /**
1640
+ * The maxWidth property specifies the maximum width of a popover's content area.
1641
+ */
1642
+ maxWidth?: string | Conditions<string>;
1643
+ }
1644
+ declare const thumbnail: {
1645
+ sprinkle: ((props: {
1646
+ aspectRatio?: AspectRatio | undefined;
1647
+ }) => string) & {
1648
+ properties: Set<"aspectRatio">;
1649
+ };
1650
+ properties: {
1651
+ aspectRatio: AspectRatio[];
1652
+ };
1653
+ classnames: {
1654
+ container: string;
1655
+ container__image: string;
1656
+ container__placeholder: string;
1657
+ skeleton: string;
1658
+ width: string;
1659
+ };
1660
+ };
1661
+ declare const accordion: {
1662
+ sprinkle: ((props: {
1663
+ borderTop?: "base" | "none" | undefined;
1664
+ borderBottom?: "base" | "none" | undefined;
1665
+ padding?: "base" | "none" | undefined;
1666
+ }) => string) & {
1667
+ properties: Set<"borderBottom" | "borderTop" | "padding">;
1668
+ };
1669
+ properties: {
1670
+ borderTop: {
1671
+ none: string;
1672
+ base: string;
1673
+ };
1674
+ borderBottom: {
1675
+ none: string;
1676
+ base: string;
1677
+ };
1678
+ padding: {
1679
+ none: string;
1680
+ base: string;
1681
+ };
1682
+ };
1683
+ classnames: {
1684
+ header: string;
1685
+ header__content: string;
1686
+ header__description: string;
1687
+ header__title: string;
1688
+ header_active: string;
1689
+ body: string;
1690
+ };
1691
+ };
1692
+ declare const card: {
1693
+ classnames: {
1694
+ container: string;
1695
+ container__footer: string;
1696
+ };
1697
+ subComponents: {
1698
+ header: {
1699
+ sprinkle: ((props: {
1700
+ padding?: "base" | "small" | "none" | undefined;
1701
+ }) => string) & {
1702
+ properties: Set<"padding">;
1703
+ };
1704
+ properties: {
1705
+ padding: {
1706
+ base: string;
1707
+ small: string;
1708
+ none: string;
1709
+ };
1710
+ };
1711
+ };
1712
+ body: {
1713
+ sprinkle: ((props: {
1714
+ padding?: "base" | "small" | "none" | undefined;
1715
+ }) => string) & {
1716
+ properties: Set<"padding">;
1717
+ };
1718
+ properties: {
1719
+ padding: {
1720
+ base: string;
1721
+ small: string;
1722
+ none: string;
1723
+ };
1724
+ };
1725
+ };
1726
+ footer: {
1727
+ sprinkle: ((props: {
1728
+ padding?: "base" | "small" | "none" | undefined;
1729
+ }) => string) & {
1730
+ properties: Set<"padding">;
1731
+ };
1732
+ properties: {
1733
+ padding: {
1734
+ base: string;
1735
+ small: string;
1736
+ none: string;
1737
+ };
1738
+ };
1739
+ };
1740
+ };
1741
+ sprinkle: ((props: {
1742
+ backgroundColor?: "primary-surface" | "primary-surfaceHighlight" | "success-surface" | "success-surfaceHighlight" | "warning-surface" | "warning-surfaceHighlight" | "danger-surface" | "danger-surfaceHighlight" | "neutral-background" | "neutral-surface" | "neutral-surfaceHighlight" | undefined;
1743
+ padding?: "base" | "small" | "none" | undefined;
1744
+ }) => string) & {
1745
+ properties: Set<"backgroundColor" | "padding">;
1746
+ };
1747
+ properties: {
1748
+ backgroundColor: {
1749
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1750
+ "primary-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1751
+ "success-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1752
+ "success-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1753
+ "danger-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1754
+ "danger-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1755
+ "warning-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1756
+ "warning-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1757
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1758
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1759
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1760
+ };
1761
+ padding: {
1762
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1763
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1764
+ none: string;
1765
+ };
1766
+ };
1767
+ };
1768
+ declare const propertiesModal: {
1769
+ padding: {
1770
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1771
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1772
+ none: string;
1773
+ };
1774
+ };
1775
+ export type PaddingProperties = keyof typeof propertiesModal.padding;
1776
+ export interface ModalSprinkle {
1777
+ /**
1778
+ * The maxWidth property specifies the maxWidth of a modal's content area. The width of the modal will be defined by the width of the content in this prop.
1779
+ * @default { xs: "100%", md: "500px" }
1780
+ */
1781
+ maxWidth?: string | Conditions<string>;
1782
+ /**
1783
+ * The padding properties are used to generate space around an modal's content area.
1784
+ * @default base
1785
+ */
1786
+ padding?: PaddingProperties | Conditions<PaddingProperties>;
1787
+ }
1788
+ declare const modal: {
1789
+ classnames: {
1790
+ overlay: string;
1791
+ overlayScoped: string;
1792
+ container: string;
1793
+ container__close: string;
1794
+ container__footer: string;
1795
+ };
1796
+ subComponents: {
1797
+ header: {
1798
+ sprinkle: ((props: {
1799
+ padding?: "base" | "small" | "none" | undefined;
1800
+ }) => string) & {
1801
+ properties: Set<"padding">;
1802
+ };
1803
+ properties: {
1804
+ padding: {
1805
+ base: string;
1806
+ small: string;
1807
+ none: string;
1808
+ };
1809
+ };
1810
+ };
1811
+ body: {
1812
+ sprinkle: ((props: {
1813
+ padding?: "base" | "small" | "none" | undefined;
1814
+ }) => string) & {
1815
+ properties: Set<"padding">;
1816
+ };
1817
+ properties: {
1818
+ padding: {
1819
+ base: string;
1820
+ small: string;
1821
+ none: string;
1822
+ };
1823
+ };
1824
+ };
1825
+ footer: {
1826
+ sprinkle: ((props: {
1827
+ padding?: "base" | "small" | "none" | undefined;
1828
+ }) => string) & {
1829
+ properties: Set<"padding">;
1830
+ };
1831
+ properties: {
1832
+ padding: {
1833
+ base: string;
1834
+ small: string;
1835
+ none: string;
1836
+ };
1837
+ };
1838
+ };
1839
+ };
1840
+ sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
1841
+ {
1842
+ config: {
1843
+ maxWidth: {
1844
+ dynamic: {
1845
+ default: string;
1846
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1847
+ };
1848
+ dynamicScale: true;
1849
+ name: "maxWidth";
1850
+ vars: {
1851
+ default: string;
1852
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1853
+ };
1854
+ };
1855
+ padding: {
1856
+ dynamic: {
1857
+ default: string;
1858
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1859
+ };
1860
+ dynamicScale: {
1861
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1862
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1863
+ none: string;
1864
+ };
1865
+ name: "padding";
1866
+ vars: {
1867
+ default: string;
1868
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1869
+ };
1870
+ };
1871
+ };
1872
+ } & {
1873
+ config: {
1874
+ [x: string]: {
1875
+ mappings: ("maxWidth" | "padding")[];
1876
+ };
1877
+ };
1878
+ }
1879
+ ]>;
1880
+ properties: {
1881
+ padding: {
1882
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1883
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1884
+ none: string;
1885
+ };
1886
+ };
1887
+ };
1888
+ declare const sidebarSprinkle: {
1889
+ sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
1890
+ {
1891
+ config: {
1892
+ zIndex: {
1893
+ values: {
1894
+ 100: {
1895
+ default: string;
1896
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1897
+ };
1898
+ 200: {
1899
+ default: string;
1900
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1901
+ };
1902
+ 300: {
1903
+ default: string;
1904
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1905
+ };
1906
+ 400: {
1907
+ default: string;
1908
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1909
+ };
1910
+ 500: {
1911
+ default: string;
1912
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1913
+ };
1914
+ 600: {
1915
+ default: string;
1916
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1917
+ };
1918
+ 700: {
1919
+ default: string;
1920
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1921
+ };
1922
+ 800: {
1923
+ default: string;
1924
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1925
+ };
1926
+ 900: {
1927
+ default: string;
1928
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1929
+ };
1930
+ };
1931
+ staticScale: {
1932
+ "100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1933
+ "200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1934
+ "300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1935
+ "400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1936
+ "500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1937
+ "600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1938
+ "700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1939
+ "800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1940
+ "900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1941
+ };
1942
+ name: "zIndex";
1943
+ };
1944
+ padding: {
1945
+ values: {
1946
+ base: {
1947
+ default: string;
1948
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1949
+ };
1950
+ small: {
1951
+ default: string;
1952
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1953
+ };
1954
+ none: {
1955
+ default: string;
1956
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1957
+ };
1958
+ };
1959
+ staticScale: {
1960
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1961
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1962
+ none: string;
1963
+ };
1964
+ name: "padding";
1965
+ };
1966
+ };
1967
+ } & {
1968
+ config: {
1969
+ maxWidth: {
1970
+ dynamic: {
1971
+ default: string;
1972
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1973
+ };
1974
+ dynamicScale: true;
1975
+ name: "maxWidth";
1976
+ vars: {
1977
+ default: string;
1978
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
1979
+ };
1980
+ };
1981
+ };
1982
+ } & {
1983
+ config: {
1984
+ [x: string]: {
1985
+ mappings: ("zIndex" | "maxWidth" | "padding")[];
1986
+ };
1987
+ };
1988
+ }
1989
+ ]>;
1990
+ properties: {
1991
+ zIndex: {
1992
+ "100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1993
+ "200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1994
+ "300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1995
+ "400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1996
+ "500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1997
+ "600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1998
+ "700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
1999
+ "800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2000
+ "900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2001
+ };
2002
+ padding: {
2003
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2004
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2005
+ none: string;
2006
+ };
2007
+ };
2008
+ };
2009
+ export type SidebarPaddingProperties = keyof typeof sidebarSprinkle.properties.padding;
2010
+ export type SidebarZIndexProperties = keyof typeof sidebarSprinkle.properties.zIndex;
2011
+ export interface SidebarSprinkle {
2012
+ /**
2013
+ * The maxWidth property specifies the maxWidth of a sidebar's content area.
2014
+ * @default 375px
2015
+ */
2016
+ maxWidth?: string | Conditions<string>;
2017
+ /**
2018
+ * The zIndex property specifies the stack order of the sidebar.
2019
+ */
2020
+ zIndex?: SidebarZIndexProperties | Conditions<SidebarZIndexProperties>;
2021
+ /**
2022
+ * The padding properties are used to generate space around an sidebar's content area.
2023
+ * @default base
2024
+ */
2025
+ padding?: SidebarPaddingProperties | Conditions<SidebarPaddingProperties>;
2026
+ }
2027
+ declare const sidebar: {
2028
+ sprinkle: import("rainbow-sprinkles/dist/declarations/src/createRuntimeFn").SprinklesFn<[
2029
+ {
2030
+ config: {
2031
+ zIndex: {
2032
+ values: {
2033
+ 100: {
2034
+ default: string;
2035
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2036
+ };
2037
+ 200: {
2038
+ default: string;
2039
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2040
+ };
2041
+ 300: {
2042
+ default: string;
2043
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2044
+ };
2045
+ 400: {
2046
+ default: string;
2047
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2048
+ };
2049
+ 500: {
2050
+ default: string;
2051
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2052
+ };
2053
+ 600: {
2054
+ default: string;
2055
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2056
+ };
2057
+ 700: {
2058
+ default: string;
2059
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2060
+ };
2061
+ 800: {
2062
+ default: string;
2063
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2064
+ };
2065
+ 900: {
2066
+ default: string;
2067
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2068
+ };
2069
+ };
2070
+ staticScale: {
2071
+ "100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2072
+ "200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2073
+ "300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2074
+ "400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2075
+ "500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2076
+ "600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2077
+ "700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2078
+ "800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2079
+ "900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2080
+ };
2081
+ name: "zIndex";
2082
+ };
2083
+ padding: {
2084
+ values: {
2085
+ base: {
2086
+ default: string;
2087
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2088
+ };
2089
+ small: {
2090
+ default: string;
2091
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2092
+ };
2093
+ none: {
2094
+ default: string;
2095
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2096
+ };
2097
+ };
2098
+ staticScale: {
2099
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2100
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2101
+ none: string;
2102
+ };
2103
+ name: "padding";
2104
+ };
2105
+ };
2106
+ } & {
2107
+ config: {
2108
+ maxWidth: {
2109
+ dynamic: {
2110
+ default: string;
2111
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2112
+ };
2113
+ dynamicScale: true;
2114
+ name: "maxWidth";
2115
+ vars: {
2116
+ default: string;
2117
+ conditions: Record<"xs" | "md" | "lg" | "xl", string>;
2118
+ };
2119
+ };
2120
+ };
2121
+ } & {
2122
+ config: {
2123
+ [x: string]: {
2124
+ mappings: ("zIndex" | "maxWidth" | "padding")[];
2125
+ };
2126
+ };
2127
+ }
2128
+ ]>;
2129
+ properties: {
2130
+ zIndex: {
2131
+ "100": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2132
+ "200": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2133
+ "300": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2134
+ "400": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2135
+ "500": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2136
+ "600": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2137
+ "700": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2138
+ "800": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2139
+ "900": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2140
+ };
2141
+ padding: {
2142
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2143
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2144
+ none: string;
2145
+ };
2146
+ };
2147
+ classnames: {
2148
+ overlay: string;
2149
+ overlayScoped: string;
2150
+ container: string;
2151
+ containerScoped: string;
2152
+ container__header: string;
2153
+ container__body: string;
2154
+ container__footer: string;
2155
+ position: Record<"left" | "right", string>;
2156
+ isVisible: string;
2157
+ };
2158
+ };
2159
+ declare const propertiesTable: {
2160
+ backgroundColor: {
2161
+ transparent: string;
2162
+ "neutral-background": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2163
+ "neutral-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2164
+ "neutral-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2165
+ "primary-surface": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2166
+ "primary-surfaceHighlight": `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2167
+ };
2168
+ padding: {
2169
+ base: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2170
+ small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2171
+ none: string;
2172
+ };
2173
+ };
2174
+ export type TablePaddingProperties = keyof typeof propertiesTable.padding;
2175
+ export type TableRowBackgroundColorProperties = keyof typeof propertiesTable.backgroundColor;
2176
+ export interface TableConditions<T> extends Conditions<T> {
2177
+ rest?: T;
2178
+ focus?: T;
2179
+ active?: T;
2180
+ hover?: T;
2181
+ }
2182
+ export interface TableSprinkle {
2183
+ /**
2184
+ * The width property specifies the width of a table's content area.
2185
+ */
2186
+ width?: string | TableConditions<string>;
2187
+ /**
2188
+ * The maxWidth property specifies the maxWidth of a table's content area.
2189
+ */
2190
+ maxWidth?: string | TableConditions<string>;
2191
+ /**
2192
+ * The minWidth property specifies the minWidth of a table's content area.
2193
+ */
2194
+ minWidth?: string | TableConditions<string>;
2195
+ /**
2196
+ * The backgroundColor property sets the background color of the table.
2197
+ */
2198
+ backgroundColor?: TableRowBackgroundColorProperties | TableConditions<TableRowBackgroundColorProperties>;
2199
+ /**
2200
+ * The padding properties are used to generate space around an table's content area.
2201
+ */
2202
+ padding?: TablePaddingProperties | TableConditions<TablePaddingProperties>;
2203
+ }
2204
+ export interface BoxProperties extends BoxSprinkle {
2205
+ /**
2206
+ * Element to be rendered inside the Box component.
2207
+ * @TJS-type React.ReactNode
2208
+ */
2209
+ children?: ReactNode;
2210
+ }
2211
+ export type BoxBaseProps = BoxProperties & Omit<HTMLAttributes<HTMLElement>, "color">;
2212
+ export declare const Box: PolymorphicForwardRefComponent<"div", BoxBaseProps>;
2213
+ export type BoxProps = ComponentPropsWithRef<typeof Box>;
2214
+ export type ButtonSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2215
+ export type ButtonSkeletonProps = ButtonSkeletonProperties;
2216
+ declare const ButtonSkeleton: React.FC<ButtonSkeletonProps>;
2217
+ export interface ButtonComponents {
2218
+ Skeleton: typeof ButtonSkeleton;
2219
+ }
2220
+ export interface ButtonProperties {
2221
+ /**
2222
+ * The content of the button.
2223
+ * @TJS-type React.ReactNode
2224
+ */
2225
+ children: ReactNode;
2226
+ /**
2227
+ * Change the visual style of the button.
2228
+ * @default neutral
2229
+ */
2230
+ appearance?: "primary" | "danger" | "neutral" | "transparent" | "ai-primary" | "ai-secondary";
2231
+ /**
2232
+ * Disables the button, disallowing user interaction.
2233
+ * @default false
2234
+ */
2235
+ disabled?: boolean;
2236
+ /**
2237
+ * Determines if the button should grow to fill the full width of its container.
2238
+ * @default false
2239
+ */
2240
+ fullWidth?: boolean;
2241
+ }
2242
+ export type ButtonBaseProps = ButtonProperties & ButtonHTMLAttributes<HTMLButtonElement>;
2243
+ export declare const Button: PolymorphicForwardRefComponent<"button" | "a", ButtonBaseProps> & ButtonComponents;
2244
+ export type ButtonProps = ComponentPropsWithRef<typeof Button>;
2245
+ export type CheckboxSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2246
+ export type CheckboxSkeletonProps = CheckboxSkeletonProperties;
2247
+ declare const CheckboxSkeleton: React.FC<CheckboxSkeletonProps>;
2248
+ export interface CheckboxComponents {
2249
+ Skeleton: typeof CheckboxSkeleton;
2250
+ }
2251
+ export interface CheckboxProperties {
2252
+ /**
2253
+ * The name of the input element.
2254
+ */
2255
+ name: string;
2256
+ /**
2257
+ * Change the visual style of the checkbox.
2258
+ * @default neutral
2259
+ */
2260
+ appearance?: "primary" | "danger";
2261
+ /**
2262
+ * Modifies true/false value of the native checkbox.
2263
+ */
2264
+ checked?: boolean;
2265
+ /**
2266
+ * Modifies the native disabled state of the native checkbox.
2267
+ */
2268
+ disabled?: boolean;
2269
+ /**
2270
+ * If true, the component appears indeterminate. This does not set the native input element to indeterminate due to inconsistent behavior across browsers. However, we set a data-indeterminate attribute on the input.
2271
+ * @default false
2272
+ */
2273
+ indeterminate?: boolean;
2274
+ /**
2275
+ * Text to be rendered inside the component.
2276
+ */
2277
+ label?: string;
2278
+ }
2279
+ export type CheckboxProps = CheckboxProperties & InputHTMLAttributes<HTMLInputElement>;
2280
+ export declare const Checkbox: React.FC<CheckboxProps> & CheckboxComponents;
2281
+ export type ChipSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
2282
+ /**
2283
+ * This is an attribute used to identify a DOM node for testing purposes.
2284
+ */
2285
+ "data-testid"?: string;
2286
+ };
2287
+ export type ChipSkeletonProps = ChipSkeletonProperties;
2288
+ declare const ChipSkeleton: React.FC<ChipSkeletonProps>;
2289
+ export interface ChipComponents {
2290
+ Skeleton: typeof ChipSkeleton;
2291
+ }
2292
+ export interface ChipProperties {
2293
+ /**
2294
+ Text to be displayed on chip.
2295
+ */
2296
+ text: string;
2297
+ /**
2298
+ * SVG icon to be displayed on chip.
2299
+ * @TJS-type React.ReactNode
2300
+ */
2301
+ icon?: ReactNode;
2302
+ /**
2303
+ * Informs whether the close icon should be displayed.
2304
+ */
2305
+ removable?: boolean;
2306
+ /**
2307
+ * Highlights the chip to indicate its value was generated by AI.
2308
+ * Applies AI gradient border and an AI outline.
2309
+ */
2310
+ aiGenerated?: boolean;
2311
+ }
2312
+ export type ChipProps = ChipProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
2313
+ export declare const Chip: React.FC<ChipProps> & ChipComponents;
2314
+ export type FileUploaderSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & Partial<Pick<FileUploaderProps, "aspectRatio">> & {
2315
+ /**
2316
+ * This is an attribute used to identify a DOM node for testing purposes.
2317
+ */
2318
+ "data-testid"?: string;
2319
+ };
2320
+ export type FileUploaderSkeletonProps = FileUploaderSkeletonProperties;
2321
+ declare const FileUploaderSkeleton: React.FC<FileUploaderSkeletonProps>;
2322
+ export interface FileUploaderComponents {
2323
+ Skeleton: typeof FileUploaderSkeleton;
2324
+ }
2325
+ export interface FileUploaderProperties {
2326
+ /**
2327
+ * Provide additional context to the action.
2328
+ */
2329
+ placeholder?: string;
2330
+ /**
2331
+ * Accept file types
2332
+ * @default image/jpeg,image/gif,image/png
2333
+ */
2334
+ accept?: string;
2335
+ /**
2336
+ * Height value of the file uploader. Defaults to 100%.
2337
+ * @default 100%
2338
+ */
2339
+ height?: string;
2340
+ /**
2341
+ * Width value of the file uploader. Defaults to 100%.
2342
+ * @default 100%
2343
+ */
2344
+ width?: string;
2345
+ /**
2346
+ * Permitted aspect ratios for the size of the file uploader.
2347
+ * @default 1/1
2348
+ */
2349
+ aspectRatio?: typeof fileUploader.properties.aspectRatio[number];
2350
+ /**
2351
+ * Defines the position of the placeholder in relation to the icon.
2352
+ * @default column
2353
+ */
2354
+ flexDirection?: typeof fileUploader.properties.flexDirection[number];
2355
+ }
2356
+ export type FileUploaderProps = FileUploaderProperties & InputHTMLAttributes<HTMLInputElement>;
2357
+ export declare const FileUploader: React.FC<FileUploaderProps> & FileUploaderComponents;
2358
+ export type IconSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
2359
+ /**
2360
+ * This is an attribute used to identify a DOM node for testing purposes.
2361
+ */
2362
+ "data-testid"?: string;
2363
+ };
2364
+ export type IconSkeletonProps = IconSkeletonProperties;
2365
+ declare const IconSkeleton: React.FC<IconSkeletonProps>;
2366
+ export interface IconComponents {
2367
+ Skeleton: typeof IconSkeleton;
2368
+ }
2369
+ export interface IconProperties {
2370
+ /**
2371
+ * The SVG contents to display in the Icon.
2372
+ * @TJS-type React.ReactNode
2373
+ */
2374
+ source: ReactNode;
2375
+ /**
2376
+ * Set the color for the SVG fill.
2377
+ * Use "ai-generative" to apply the Nimbus AI generative gradient.
2378
+ * @default neutral-textLow
2379
+ */
2380
+ color?: keyof typeof icon.properties.color | "ai-generative";
2381
+ /**
2382
+ * The cursor property specifies the mouse cursor to be displayed when pointing over an element.
2383
+ * @default inherit
2384
+ */
2385
+ cursor?: (typeof icon.properties.cursor)[number];
2386
+ }
2387
+ export type IconProps = IconProperties & HTMLAttributes<HTMLDivElement>;
2388
+ export declare const Icon: React.FC<IconProps> & IconComponents;
2389
+ /**
2390
+ * Checks if a color value is valid (exists and is not "none" or "transparent")
2391
+ * @param color - The color value to check
2392
+ * @returns True if color is valid, false otherwise
2393
+ */
2394
+ export declare const isValidColorValue: (color: string | undefined) => boolean;
2395
+ /**
2396
+ * Checks if a color value can use gradient (valid and not already a URL reference)
2397
+ * @param color - The color value to check
2398
+ * @returns True if color can use gradient, false otherwise
2399
+ */
2400
+ export declare const canUseGradient: (color: string) => boolean;
2401
+ /**
2402
+ * Checks if a color value is a gradient
2403
+ * @param color - The color value to check
2404
+ * @returns True if color is a known gradient value, false otherwise
2405
+ */
2406
+ export declare const isGradient: (color: string) => boolean;
2407
+ /**
2408
+ * Collection of known gradient color values
2409
+ */
2410
+ export declare const GRADIENT_COLORS: Set<string>;
2411
+ export type IconButtonSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "height">> & {
2412
+ /**
2413
+ * This is an attribute used to identify a DOM node for testing purposes.
2414
+ */
2415
+ "data-testid"?: string;
2416
+ };
2417
+ export type IconButtonSkeletonProps = IconButtonSkeletonProperties;
2418
+ declare const IconButtonSkeleton: React.FC<IconButtonSkeletonProps>;
2419
+ export interface IconButtonComponents {
2420
+ Skeleton: typeof IconButtonSkeleton;
2421
+ }
2422
+ export interface IconButtonProperties extends IconButtonSprinkle {
2423
+ /**
2424
+ * Type of html tag to create for the Icon Button component.
2425
+ * @default button
2426
+ */
2427
+ as?: "button" | "div";
2428
+ /**
2429
+ * The SVG contents to display in the Icon button.
2430
+ * @TJS-type React.ReactNode
2431
+ */
2432
+ source: ReactNode;
2433
+ /**
2434
+ * Set the color for the inner Icon fill.
2435
+ * @default neutral-textHigh
2436
+ */
2437
+ color?: IconProps["color"];
2438
+ /**
2439
+ * AI gradient background appearance for the button container.
2440
+ * When provided, container color/border sprinkles are ignored in favor of gradient styles.
2441
+ */
2442
+ appearance?: "ai-generative";
2443
+ }
2444
+ export type IconButtonProps = IconButtonProperties & ButtonHTMLAttributes<HTMLButtonElement | HTMLDivElement>;
2445
+ export declare const IconButton: React.FC<IconButtonProps> & IconButtonComponents;
2446
+ export type InputPasswordProperties = Pick<InputBaseProps, "appearance" | "disabled" | "aiGenerated">;
2447
+ declare const InputPassword: React.ForwardRefExoticComponent<InputPasswordProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
2448
+ export type InputSearchProperties = Pick<InputBaseProps, "appearance" | "disabled" | "aiGenerated">;
2449
+ declare const InputSearch: React.ForwardRefExoticComponent<InputSearchProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
2450
+ export type InputSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2451
+ export type InputSkeletonProps = InputSkeletonProperties;
2452
+ declare const InputSkeleton: React.FC<InputSkeletonProps>;
2453
+ export interface InputComponents {
2454
+ Password: typeof InputPassword;
2455
+ Search: typeof InputSearch;
2456
+ Skeleton: typeof InputSkeleton;
2457
+ }
2458
+ export interface InputProperties {
2459
+ /**
2460
+ * Change the visual style of the input.
2461
+ * @default neutral
2462
+ */
2463
+ appearance?: "neutral" | "success" | "warning" | "danger" | "ai-generative";
2464
+ /**
2465
+ * Highlights the field to indicate its value was generated by AI.
2466
+ * Applies AI gradient border, white background and an AI focus ring.
2467
+ */
2468
+ aiGenerated?: boolean;
2469
+ /**
2470
+ * Disables the input, disallowing user interaction.
2471
+ */
2472
+ disabled?: boolean;
2473
+ /**
2474
+ * Sent icon display position
2475
+ * @default start
2476
+ */
2477
+ appendPosition?: "end" | "start";
2478
+ /**
2479
+ * SVG icon to be displayed on input.
2480
+ * @TJS-type React.ReactNode
2481
+ */
2482
+ append?: ReactNode;
2483
+ /**
2484
+ * This is an attribute used to identify a DOM node for testing purposes.
2485
+ */
2486
+ "data-testid"?: string;
2487
+ }
2488
+ export type InputBaseProps = InputProperties & InputHTMLAttributes<HTMLInputElement>;
2489
+ export declare const Input: React.ForwardRefExoticComponent<InputProperties & React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>> & InputComponents;
2490
+ export type InputProps = ComponentPropsWithRef<typeof Input>;
2491
+ export type LabelSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
2492
+ /**
2493
+ * This is an attribute used to identify a DOM node for testing purposes.
2494
+ */
2495
+ "data-testid"?: string;
2496
+ };
2497
+ export type LabelSkeletonProps = LabelSkeletonProperties;
2498
+ declare const LabelSkeleton: React.FC<LabelSkeletonProps>;
2499
+ export interface LabelComponents {
2500
+ Skeleton: typeof LabelSkeleton;
2501
+ }
2502
+ export interface LabelProperties {
2503
+ /**
2504
+ * The content of the label.
2505
+ * @TJS-type React.ReactNode
2506
+ */
2507
+ children: ReactNode;
2508
+ /**
2509
+ * The for attribute specifies which form element a label is bound to.
2510
+ */
2511
+ htmlFor?: string;
2512
+ /**
2513
+ * If true the label will be visually hidden but maintain accessibility purpose
2514
+ * @default false
2515
+ */
2516
+ hidden?: boolean;
2517
+ }
2518
+ export type LabelProps = LabelProperties & HTMLAttributes<HTMLElement>;
2519
+ export declare const Label: React.FC<LabelProps> & LabelComponents;
2520
+ export type LinkSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2521
+ export type LinkSkeletonProps = LinkSkeletonProperties;
2522
+ declare const LinkSkeleton: React.FC<LinkSkeletonProps>;
2523
+ export interface LinkComponents {
2524
+ Skeleton: typeof LinkSkeleton;
2525
+ }
2526
+ export interface LinkProperties {
2527
+ /**
2528
+ * The content of the link.
2529
+ * @TJS-type React.ReactNode
2530
+ */
2531
+ children: ReactNode;
2532
+ /**
2533
+ * Change the visual style of the link.
2534
+ * @default neutral
2535
+ */
2536
+ appearance?: "primary" | "danger" | "neutral" | "neutral-background";
2537
+ /**
2538
+ * The textDecoration property specifies the decoration added to link.
2539
+ * @default neutral
2540
+ */
2541
+ textDecoration?: typeof link.properties.textDecoration[number];
2542
+ /**
2543
+ * The fontSize property sets the size of the link.
2544
+ * @default base
2545
+ */
2546
+ fontSize?: keyof typeof link.properties.fontSize;
2547
+ /**
2548
+ * The lineHeight property specifies the line height of the link
2549
+ * @default base
2550
+ */
2551
+ lineHeight?: keyof typeof link.properties.lineHeight;
2552
+ }
2553
+ export type LinkBaseProps = LinkProperties & HTMLAttributes<HTMLElement>;
2554
+ export declare const Link: PolymorphicForwardRefComponent<"button" | "a", LinkBaseProps> & LinkComponents;
2555
+ export type LinkProps = ComponentPropsWithRef<typeof Link>;
2556
+ export type ListSkeletonItemProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
2557
+ /**
2558
+ * This is an attribute used to identify a DOM node for testing purposes.
2559
+ */
2560
+ "data-testid"?: string;
2561
+ };
2562
+ export type ListSkeletonItemProps = ListSkeletonItemProperties;
2563
+ declare const ListSkeletonItem: React.FC<ListSkeletonItemProps>;
2564
+ export interface ListSkeletonProperties {
2565
+ /**
2566
+ * The content of the list skeleton.
2567
+ * @TJS-type React.ReactNode
2568
+ */
2569
+ children: ReactNode;
2570
+ /**
2571
+ * This is an attribute used to identify a DOM node for testing purposes.
2572
+ */
2573
+ "data-testid"?: string;
2574
+ }
2575
+ export type ListSkeletonProps = ListSkeletonProperties & HTMLAttributes<HTMLDivElement>;
2576
+ declare const ListSkeleton: React.FC<ListSkeletonProps>;
2577
+ export interface ListItemProperties {
2578
+ /**
2579
+ * The content of the list item.
2580
+ * @TJS-type React.ReactNode
2581
+ */
2582
+ children: ReactNode;
2583
+ }
2584
+ export type ListItemProps = ListItemProperties & HTMLAttributes<HTMLLIElement>;
2585
+ declare const ListItem: React.FC<ListItemProps>;
2586
+ export interface ListComponents {
2587
+ Skeleton: typeof ListSkeleton;
2588
+ SkeletonItem: typeof ListSkeletonItem;
2589
+ Item: typeof ListItem;
2590
+ }
2591
+ export interface ListProperties {
2592
+ /**
2593
+ * The content of the list.
2594
+ * @TJS-type React.ReactNode
2595
+ */
2596
+ children: ReactNode;
2597
+ /**
2598
+ * Determines the type of html list that will be rendered
2599
+ * @default ul
2600
+ */
2601
+ as?: "ul" | "ol";
2602
+ }
2603
+ export type ListProps = ListProperties & HTMLAttributes<HTMLUListElement | HTMLOListElement>;
2604
+ export declare const List: React.FC<ListProps> & ListComponents;
2605
+ export type MultiSelectSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2606
+ export type MultiSelectSkeletonProps = MultiSelectSkeletonProperties & HTMLAttributes<HTMLDivElement>;
2607
+ declare const MultiSelectSkeleton: React.FC<MultiSelectSkeletonProps>;
2608
+ export interface MultiSelectComponents {
2609
+ Skeleton: typeof MultiSelectSkeleton;
2610
+ }
2611
+ export interface MultiSelectOption {
2612
+ /**
2613
+ * Label for the option.
2614
+ */
2615
+ label: string;
2616
+ /**
2617
+ * Value of the option
2618
+ */
2619
+ value: string;
2620
+ }
2621
+ export interface MultiSelectProperties {
2622
+ /**
2623
+ * The name of the wrapper element or the select element when native.
2624
+ */
2625
+ name: string;
2626
+ /**
2627
+ * The id of the wrapper element or the select element when native.
2628
+ */
2629
+ id: string;
2630
+ /**
2631
+ * Change the visual style of the select.
2632
+ * @default neutral
2633
+ */
2634
+ appearance?: "success" | "warning" | "danger" | "neutral";
2635
+ /**
2636
+ * Options of the MultiSelect
2637
+ */
2638
+ options: MultiSelectOption[];
2639
+ /**
2640
+ * Options of the MultiSelect
2641
+ */
2642
+ onChange?: (values: MultiSelectOption[]) => void;
2643
+ /**
2644
+ * Deafult of the MultiSelect
2645
+ */
2646
+ value?: MultiSelectOption[];
2647
+ /**
2648
+ * ZIndex of the MultiSelect
2649
+ */
2650
+ zIndex?: keyof typeof multiSelect.properties.zIndex;
2651
+ }
2652
+ export type MultiSelectBaseProps = MultiSelectProperties & Omit<InputHTMLAttributes<HTMLInputElement>, "children" | "value">;
2653
+ export declare const MultiSelect: React.FC<MultiSelectBaseProps> & MultiSelectComponents;
2654
+ export type MultiSelectProps = ComponentPropsWithRef<typeof MultiSelect>;
2655
+ export type PopoverPlacement = "top" | "right" | "bottom" | "left" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end" | "top-start" | "top-end";
2656
+ export interface PopoverProperties extends PopoverSprinkle {
2657
+ /**
2658
+ * An HTML element, or a function that returns one. It's used to set the position of the popover.
2659
+ * @TJS-type React.ReactNode | ((data: { open: boolean, setVisibility: (visibility: boolean) => void }) => React.ReactNode);
2660
+ */
2661
+ children: ReactNode | ((data: {
2662
+ open: boolean;
2663
+ setVisibility: (visibility: boolean) => void;
2664
+ }) => ReactNode);
2665
+ /**
2666
+ * The content of the popover.
2667
+ * @TJS-type React.ReactNode
2668
+ */
2669
+ content: ReactNode;
2670
+ /**
2671
+ * If true, the component is shown.
2672
+ */
2673
+ visible?: boolean;
2674
+ /**
2675
+ * Function to control popover opening and closing.
2676
+ * @TJS-type (visible: boolean) => void;
2677
+ */
2678
+ onVisibility?: (visible: boolean) => void;
2679
+ /**
2680
+ * Conditional for displaying the popover arrow.
2681
+ * @default true
2682
+ */
2683
+ arrow?: boolean;
2684
+ /**
2685
+ * A common feature of select dropdowns is that the dropdown matches the width of the reference regardless of its contents.
2686
+ * @default false
2687
+ */
2688
+ matchReferenceWidth?: boolean;
2689
+ /**
2690
+ * Position of the popover.
2691
+ * @default bottom
2692
+ */
2693
+ position?: PopoverPlacement;
2694
+ /**
2695
+ * Adds hover event listeners that change the open state, like CSS :hover.
2696
+ * @default false
2697
+ */
2698
+ enabledHover?: boolean;
2699
+ /**
2700
+ * Adds click event listeners that change the open state.
2701
+ * @default true
2702
+ */
2703
+ enabledClick?: boolean;
2704
+ /**
2705
+ * Adds listeners that dismiss (close) the floating element.
2706
+ * @default true
2707
+ */
2708
+ enabledDismiss?: boolean;
2709
+ /**
2710
+ * Offest displaces the floating element from its core placement along the specified axes.
2711
+ * @default 10
2712
+ */
2713
+ offset?: number;
2714
+ /**
2715
+ * When enabled, renders an invisible overlay that prevents accidental clicks on elements behind the popover.
2716
+ * @default false
2717
+ */
2718
+ renderOverlay?: boolean;
2719
+ }
2720
+ export type PopoverProps = PopoverProperties & Omit<HTMLAttributes<HTMLDivElement>, "children" | "content">;
2721
+ export declare const Popover: React.FC<PopoverProps>;
2722
+ export type RadioSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<RadioProps, "as">> & {
2723
+ /**
2724
+ * This is an attribute used to identify a DOM node for testing purposes.
2725
+ */
2726
+ "data-testid"?: string;
2727
+ };
2728
+ export type RadioSkeletonProps = RadioSkeletonProperties;
2729
+ declare const RadioSkeleton: React.FC<RadioSkeletonProps>;
2730
+ export interface RadioComponents {
2731
+ Skeleton: typeof RadioSkeleton;
2732
+ }
2733
+ export interface RadioProperties {
2734
+ /**
2735
+ * Name attribute of the input element.
2736
+ */
2737
+ name: string;
2738
+ /**
2739
+ * Change the visual style of the radio.
2740
+ * @default radio
2741
+ */
2742
+ as?: "radio" | "button";
2743
+ /**
2744
+ * Modifies true/false value of the native radio.
2745
+ */
2746
+ checked?: boolean;
2747
+ /**
2748
+ * Modifies the native disabled state of the native radio.
2749
+ */
2750
+ disabled?: boolean;
2751
+ /**
2752
+ * Text to be rendered inside the component.
2753
+ */
2754
+ label?: string;
2755
+ }
2756
+ export type RadioProps = RadioProperties & InputHTMLAttributes<HTMLInputElement>;
2757
+ export declare const Radio: React.FC<RadioProps> & RadioComponents;
2758
+ export interface SelectGroupProperties {
2759
+ /**
2760
+ * Label for the option group.
2761
+ */
2762
+ label: string;
2763
+ /**
2764
+ * The content of the option group.
2765
+ * @TJS-type React.ReactNode
2766
+ */
2767
+ children: ReactNode;
2768
+ }
2769
+ export type SelectGroupProps = SelectGroupProperties & OptgroupHTMLAttributes<HTMLOptGroupElement>;
2770
+ declare const SelectGroup: React.FC<SelectGroupProps>;
2771
+ export interface SelectOptionProperties {
2772
+ /**
2773
+ * Label for the option.
2774
+ */
2775
+ label: string;
2776
+ /**
2777
+ * Value of the option
2778
+ */
2779
+ value: string;
2780
+ }
2781
+ export type SelectOptionProps = SelectOptionProperties & OptionHTMLAttributes<HTMLOptionElement>;
2782
+ declare const SelectOption: React.FC<SelectOptionProps>;
2783
+ export type SelectSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2784
+ export type SelectSkeletonProps = SelectSkeletonProperties;
2785
+ declare const SelectSkeleton: React.FC<SelectSkeletonProps>;
2786
+ export interface SelectComponents {
2787
+ Group: typeof SelectGroup;
2788
+ Option: typeof SelectOption;
2789
+ Skeleton: typeof SelectSkeleton;
2790
+ }
2791
+ export interface SelectProperties {
2792
+ /**
2793
+ * The name of the wrapper element or the select element when native.
2794
+ */
2795
+ name: string;
2796
+ /**
2797
+ * The id of the wrapper element or the select element when native.
2798
+ */
2799
+ id: string;
2800
+ /**
2801
+ * The content of the select.
2802
+ * @TJS-type React.ReactNode
2803
+ */
2804
+ children: ReactNode;
2805
+ /**
2806
+ * Change the visual style of the select.
2807
+ * @default neutral
2808
+ */
2809
+ appearance?: "success" | "warning" | "danger" | "neutral";
2810
+ }
2811
+ export declare const Select: React.ForwardRefExoticComponent<SelectProperties & React.SelectHTMLAttributes<HTMLSelectElement> & React.InputHTMLAttributes<HTMLSelectElement> & React.RefAttributes<HTMLSelectElement>> & SelectComponents;
2812
+ export type SelectProps = ComponentPropsWithRef<typeof Select>;
2813
+ export interface SpinnerProperties {
2814
+ /**
2815
+ * Sets the width and height of the spinner.
2816
+ * @default large
2817
+ */
2818
+ size?: "small" | "medium" | "large" | number;
2819
+ /**
2820
+ * Set the color for the spinner SVG fill.
2821
+ * @default primary-interactive
2822
+ */
2823
+ color?: keyof typeof spinner.properties.color;
2824
+ }
2825
+ export type SpinnerProps = SpinnerProperties & SVGAttributes<SVGElement>;
2826
+ export declare const Spinner: React.FC<SpinnerProps>;
2827
+ export type TagSkeletonProperties = Partial<Pick<SkeletonProps, "width">> & Partial<Pick<SkeletonProps, "height">> & {
2828
+ /**
2829
+ * This is an attribute used to identify a DOM node for testing purposes.
2830
+ */
2831
+ "data-testid"?: string;
2832
+ };
2833
+ export type TagSkeletonProps = TagSkeletonProperties;
2834
+ declare const TagSkeleton: React.FC<TagSkeletonProps>;
2835
+ export interface TagComponents {
2836
+ Skeleton: typeof TagSkeleton;
2837
+ }
2838
+ export interface TagProperties {
2839
+ /**
2840
+ * The content of the tag.
2841
+ * @TJS-type React.ReactNode
2842
+ */
2843
+ children: ReactNode;
2844
+ /**
2845
+ * Change the visual style of the tag.
2846
+ * @default neutral
2847
+ */
2848
+ appearance?: "primary" | "success" | "warning" | "danger" | "neutral";
2849
+ }
2850
+ export type TagProps = TagProperties & HTMLAttributes<HTMLDivElement>;
2851
+ export declare const Tag: React.FC<TagProps> & TagComponents;
2852
+ export type TextSkeletonProperties = {
2853
+ fontSize?: keyof typeof text.properties.fontSize;
2854
+ } & Partial<Pick<SkeletonProps, "width" | "height" | "data-testid">>;
2855
+ export type TextSkeletonProps = TextSkeletonProperties;
2856
+ declare const TextSkeleton: React.FC<TextSkeletonProps>;
2857
+ export interface TextComponents {
2858
+ Skeleton: typeof TextSkeleton;
2859
+ }
2860
+ export interface TextProperties extends Omit<TextSprinkle, "WebkitLineClamp"> {
2861
+ /**
2862
+ * The content of the link.
2863
+ * @TJS-type React.ReactNode
2864
+ */
2865
+ children: ReactNode;
2866
+ /**
2867
+ * Type of html tag to create for the Text component.
2868
+ * @default p
2869
+ */
2870
+ as?: "p" | "span";
2871
+ }
2872
+ export type TextProps = TextProperties & Omit<TextSprinkle, "WebkitLineClamp"> & HTMLAttributes<HTMLParagraphElement>;
2873
+ export declare const Text: React.FC<TextProps> & TextComponents;
2874
+ export type TextareaSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2875
+ export type TextareaSkeletonProps = TextareaSkeletonProperties;
2876
+ declare const TextareaSkeleton: React.FC<TextareaSkeletonProps>;
2877
+ export interface TextareaComponents {
2878
+ Skeleton: typeof TextareaSkeleton;
2879
+ }
2880
+ export interface TextareaProperties {
2881
+ /**
2882
+ * Change the visual style of the textarea.
2883
+ * @default neutral
2884
+ */
2885
+ appearance?: "neutral" | "success" | "warning" | "danger" | "ai-generative";
2886
+ /**
2887
+ * Number of lines to be rendered for the user to input text
2888
+ * @default 2
2889
+ */
2890
+ lines?: number;
2891
+ /**
2892
+ * ID of the textarea
2893
+ * */
2894
+ id: string;
2895
+ }
2896
+ export declare const Textarea: React.ForwardRefExoticComponent<TextareaProperties & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.InputHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>> & TextareaComponents;
2897
+ export type TextareaProps = ComponentPropsWithRef<typeof Textarea>;
2898
+ export type ThumbnailSkeletonProperties = Partial<Pick<ThumbnailProps, "aspectRatio">> & Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2899
+ export type ThumbnailSkeletonProps = ThumbnailSkeletonProperties;
2900
+ declare const ThumbnailSkeleton: React.FC<ThumbnailSkeletonProps>;
2901
+ export interface ThumbnailComponents {
2902
+ Skeleton: typeof ThumbnailSkeleton;
2903
+ }
2904
+ export interface ThumbnailProperties {
2905
+ /**
2906
+ * The required alt attribute specifies an alternate text for an image, if the image cannot be displayed.
2907
+ */
2908
+ alt: string;
2909
+ /**
2910
+ * The content of the thumbnail.
2911
+ * @TJS-type React.ReactNode
2912
+ */
2913
+ children?: ReactNode;
2914
+ /**
2915
+ * Permitted aspect ratios for the size of the thumbnail image.
2916
+ * @default 1/1
2917
+ */
2918
+ aspectRatio?: typeof thumbnail.properties.aspectRatio[number];
2919
+ /**
2920
+ * Width value of the thumbnail image. Defaults to 100%.
2921
+ * @default 100%
2922
+ */
2923
+ width?: string;
2924
+ }
2925
+ export type ThumbnailProps = ThumbnailProperties & ImgHTMLAttributes<HTMLImageElement>;
2926
+ export declare const Thumbnail: React.FC<ThumbnailProps> & ThumbnailComponents;
2927
+ export type TitleSkeletonProperties = Pick<TitleProps, "as"> & Partial<Pick<SkeletonProps, "width" | "height" | "data-testid">>;
2928
+ export type TitleSkeletonProps = TitleSkeletonProperties;
2929
+ declare const TitleSkeleton: React.FC<TitleSkeletonProps>;
2930
+ export interface TitleComponents {
2931
+ Skeleton: typeof TitleSkeleton;
2932
+ }
2933
+ export interface TitleProperties extends TitleSprinkle {
2934
+ /**
2935
+ * The content of the title.
2936
+ * @TJS-type React.ReactNode
2937
+ */
2938
+ children: ReactNode;
2939
+ /**
2940
+ * Type of html tag to create for the title.
2941
+ * @default h1
2942
+ */
2943
+ as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
2944
+ }
2945
+ export type TitleProps = TitleProperties & HTMLAttributes<HTMLHeadingElement>;
2946
+ export declare const Title: React.FC<TitleProps> & TitleComponents;
2947
+ export interface ToastProviderProperties {
2948
+ /**
2949
+ * @TJS-type React.ReactNode
2950
+ */
2951
+ children: ReactNode;
2952
+ }
2953
+ export type ToastProviderProps = ToastProviderProperties;
2954
+ export declare const ToastProvider: React.FC<ToastProviderProps>;
2955
+ export interface ToastComponents {
2956
+ Provider: typeof ToastProvider;
2957
+ }
2958
+ export type Types = "primary" | "success" | "danger" | "progress";
2959
+ export interface ToastProperties {
2960
+ /**
2961
+ * Unique toast ID used when hiding or removing a toast.
2962
+ */
2963
+ id: string;
2964
+ /**
2965
+ * The text that should appear in the toast message.
2966
+ */
2967
+ text: string;
2968
+ /**
2969
+ * Change the visual style of the toast.
2970
+ * @default primary
2971
+ */
2972
+ type?: Types;
2973
+ /**
2974
+ * The time in milliseconds that the toast message should persist.
2975
+ * @default 4000
2976
+ */
2977
+ duration?: 4000 | 8000 | 16000;
2978
+ /**
2979
+ * Tells you whether or not Toast should close automatically.
2980
+ * @default true
2981
+ */
2982
+ autoClose?: boolean;
2983
+ /**
2984
+ * Tells the toast position when we are using multiple toasts.
2985
+ * @default 0
2986
+ */
2987
+ position?: number;
2988
+ }
2989
+ export type ToastProps = ToastProperties & HTMLAttributes<HTMLDivElement>;
2990
+ export declare const Toast: React.FC<ToastProps> & ToastComponents;
2991
+ export interface ToastContextProps {
2992
+ closeToast: (id: string) => void;
2993
+ addToast: (toast: Omit<ToastProps, "autoClose">) => void;
2994
+ }
2995
+ export declare const useToast: () => ToastContextProps;
2996
+ export type ToggleSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "data-testid">>;
2997
+ export type ToggleSkeletonProps = ToggleSkeletonProperties;
2998
+ declare const ToggleSkeleton: React.FC<ToggleSkeletonProps>;
2999
+ export interface ToggleComponents {
3000
+ Skeleton: typeof ToggleSkeleton;
3001
+ }
3002
+ export interface ToggleProperties {
3003
+ /**
3004
+ * The name of the input element.
3005
+ */
3006
+ name: string;
3007
+ /**
3008
+ * Sets toggle state to activated or deactivated.
3009
+ */
3010
+ active?: boolean;
3011
+ /**
3012
+ * Text to be rendered inside the component
3013
+ */
3014
+ label?: string;
3015
+ }
3016
+ export type ToggleProps = ToggleProperties & InputHTMLAttributes<HTMLInputElement>;
3017
+ export declare const Toggle: React.FC<ToggleProps> & ToggleComponents;
3018
+ export interface TooltipProperties extends TooltipSprinkle {
3019
+ /**
3020
+ * An HTML element, or a function that returns one. It's used to set the position of the tooltip.
3021
+ * @TJS-type React.ReactNode
3022
+ */
3023
+ children: ReactNode;
3024
+ /**
3025
+ * The text that should appear in the tooltip message.
3026
+ */
3027
+ content: string;
3028
+ /**
3029
+ * Conditional for displaying the popover arrow.
3030
+ * @default false
3031
+ */
3032
+ arrow?: boolean;
3033
+ /**
3034
+ * Position of the popover.
3035
+ * @default bottom
3036
+ */
3037
+ position?: "top" | "bottom" | "left" | "right";
3038
+ }
3039
+ export type TooltipProps = TooltipProperties & HTMLAttributes<HTMLDivElement>;
3040
+ export declare const Tooltip: React.FC<TooltipProps>;
3041
+ export type ProgressBarSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "height" | "data-testid">>;
3042
+ declare const ProgressBarSkeleton: React.FC<ProgressBarSkeletonProperties>;
3043
+ export interface ProgressBarComponents {
3044
+ Skeleton: typeof ProgressBarSkeleton;
3045
+ }
3046
+ export interface ProgressBarProperties {
3047
+ /**
3048
+ * Progress value from 0 to 100
3049
+ * @note Always renders with a minimum 8px width for visual consistency
3050
+ */
3051
+ value: number;
3052
+ /**
3053
+ * Change the visual style of the progress bar.
3054
+ * @default neutral
3055
+ */
3056
+ appearance?: "primary" | "success" | "warning" | "danger" | "neutral" | "ai-generative";
3057
+ }
3058
+ /**
3059
+ * ProgressBar component displays the progress of an operation or task in a visual format.
3060
+ * It provides a horizontal bar that fills based on the completion percentage.
3061
+ *
3062
+ * @component
3063
+ * @example
3064
+ * <ProgressBar value={50} appearance="primary" />
3065
+ *
3066
+ * @example
3067
+ * // With skeleton loading state
3068
+ * <ProgressBar.Skeleton width="200px" />
3069
+ */
3070
+ export declare const ProgressBar: React.ForwardRefExoticComponent<ProgressBarProperties & Omit<React.HTMLAttributes<HTMLDivElement>, keyof ProgressBarProperties> & React.RefAttributes<HTMLDivElement>> & ProgressBarComponents;
3071
+ export type ProgressBarProps = ComponentPropsWithRef<typeof ProgressBar>;
3072
+ export interface AccordionBodyProperties {
3073
+ /**
3074
+ * The content of the accordion body.
3075
+ * @TJS-type React.ReactNode
3076
+ */
3077
+ children: ReactNode;
3078
+ /**
3079
+ * The borderBottom property defines a lower border of the accordion body.
3080
+ * @default none
3081
+ */
3082
+ borderBottom?: keyof typeof accordion.properties.borderBottom;
3083
+ /**
3084
+ * The borderTop property defines a top border of the accordion body.
3085
+ * @default none
3086
+ */
3087
+ borderTop?: keyof typeof accordion.properties.borderTop;
3088
+ /**
3089
+ * Padding properties are used to generate space around the content area of an Accordion.Body..
3090
+ * @default base
3091
+ */
3092
+ padding?: keyof typeof accordion.properties.padding;
3093
+ }
3094
+ export type AccordionBodyProps = AccordionBodyProperties & HTMLAttributes<HTMLElement>;
3095
+ declare const AccordionBody: React.FC<AccordionBodyProps>;
3096
+ export interface AccordionItemProperties {
3097
+ /**
3098
+ * The content of the accordion body.
3099
+ * @TJS-type React.ReactNode
3100
+ */
3101
+ children: ReactNode;
3102
+ /**
3103
+ * Unique indicator to identify accordion items
3104
+ */
3105
+ index: string;
3106
+ /**
3107
+ * This is an attribute used to identify a DOM node for testing purposes.
3108
+ */
3109
+ testId?: string;
3110
+ }
3111
+ export type AccordionItemProps = AccordionItemProperties;
3112
+ declare const AccordionItem: React.FC<AccordionItemProps>;
3113
+ export interface AccordionHeaderProperties {
3114
+ /**
3115
+ * The content of the accordion header.
3116
+ * @TJS-type React.ReactNode | ((data: { selected: string; index: string }) => React.ReactNode);
3117
+ */
3118
+ children?: ReactNode | ((data: {
3119
+ selected: string;
3120
+ index: string;
3121
+ }) => ReactNode);
3122
+ /**
3123
+ * The title to display in the accordion header.
3124
+ */
3125
+ title?: string;
3126
+ /**
3127
+ * The subtitle to display in the accordion header.
3128
+ */
3129
+ subtitle?: string;
3130
+ /**
3131
+ * The SVG contents to display in the accordion header.
3132
+ * @TJS-type React.ReactNode
3133
+ */
3134
+ icon?: ReactNode;
3135
+ /**
3136
+ * Removes the arrow icon that shows if the accordion item is open or not which makes it possible to create a custom indicator.
3137
+ * @default false
3138
+ */
3139
+ noIconToggle?: boolean;
3140
+ /**
3141
+ * The borderTop property defines a lower border of the accordion header.
3142
+ * @default base
3143
+ */
3144
+ borderTop?: keyof typeof accordion.properties.borderTop;
3145
+ /**
3146
+ * The borderBottom property defines a lower border of the accordion header.
3147
+ */
3148
+ borderBottom?: keyof typeof accordion.properties.borderBottom;
3149
+ }
3150
+ export type AccordionHeaderProps = AccordionHeaderProperties & Omit<HTMLAttributes<HTMLElement>, "children">;
3151
+ declare const AccordionHeader: React.FC<AccordionHeaderProps>;
3152
+ export interface AccordionComponents {
3153
+ Body: typeof AccordionBody;
3154
+ Item: typeof AccordionItem;
3155
+ Header: typeof AccordionHeader;
3156
+ }
3157
+ export interface AccordionProperties {
3158
+ /**
3159
+ * The content of the accordion.
3160
+ * @TJS-type React.ReactNode
3161
+ */
3162
+ children?: ReactNode;
3163
+ /**
3164
+ * Informs which accordion item is open by default, this value must be the same as informed in the index of each item
3165
+ */
3166
+ selectedDefault?: string;
3167
+ }
3168
+ export type AccordionProps = AccordionProperties & HTMLAttributes<HTMLElement>;
3169
+ export declare const Accordion: React.FC<AccordionProps> & AccordionComponents;
3170
+ export type AlertSkeletonProperties = Partial<Pick<SkeletonProps, "width" | "height" | "data-testid">>;
3171
+ export type AlertSkeletonProps = AlertSkeletonProperties;
3172
+ declare const AlertSkeleton: React.FC<AlertSkeletonProps>;
3173
+ export interface AlertComponents {
3174
+ Skeleton: typeof AlertSkeleton;
3175
+ }
3176
+ export interface AlertProperties {
3177
+ /**
3178
+ * The content for the title of the alert.
3179
+ */
3180
+ title?: string;
3181
+ /**
3182
+ * Change the visual style of the alert.
3183
+ * @default neutral
3184
+ */
3185
+ appearance?: "primary" | "success" | "warning" | "danger" | "neutral";
3186
+ /**
3187
+ * The content of the alert.
3188
+ * @TJS-type React.ReactNode
3189
+ */
3190
+ children: ReactNode;
3191
+ /**
3192
+ * Function to be passed on actioning the dismiss button.
3193
+ * @TJS-type () => void;
3194
+ */
3195
+ onRemove?: () => void;
3196
+ /**
3197
+ * Determines if the alert is shown or not.
3198
+ * @default true
3199
+ */
3200
+ show?: boolean;
3201
+ }
3202
+ export type AlertProps = AlertProperties & HTMLAttributes<HTMLElement>;
3203
+ export declare const Alert: React.FC<AlertProps> & AlertComponents;
3204
+ export interface CardBodyProperties {
3205
+ /**
3206
+ * The content of the card body.
3207
+ * @TJS-type React.ReactNode
3208
+ */
3209
+ children: ReactNode;
3210
+ /**
3211
+ * The padding properties are used to generate space around an card's body content area.
3212
+ * @default none
3213
+ */
3214
+ padding?: keyof typeof card.subComponents.body.properties.padding;
3215
+ }
3216
+ export type CardBodyProps = CardBodyProperties & HTMLAttributes<HTMLElement>;
3217
+ declare const CardBody: React.FC<CardBodyProps>;
3218
+ export interface CardFooterProperties {
3219
+ /**
3220
+ * The content of the card footer.
3221
+ * @TJS-type React.ReactNode
3222
+ */
3223
+ children: ReactNode;
3224
+ /**
3225
+ * The padding properties are used to generate space around an card's footer content area.
3226
+ * @default none
3227
+ */
3228
+ padding?: keyof typeof card.subComponents.footer.properties.padding;
3229
+ }
3230
+ export type CardFooterProps = CardFooterProperties & HTMLAttributes<HTMLElement>;
3231
+ declare const CardFooter: React.FC<CardFooterProps>;
3232
+ export interface CardHeaderProperties {
3233
+ /**
3234
+ * The content of the card header.
3235
+ * @TJS-type React.ReactNode
3236
+ */
3237
+ children?: ReactNode;
3238
+ /**
3239
+ * The title to display in the card header.
3240
+ */
3241
+ title?: string;
3242
+ /**
3243
+ * The padding properties are used to generate space around an card's header content area.
3244
+ * @default none
3245
+ */
3246
+ padding?: keyof typeof card.subComponents.header.properties.padding;
3247
+ }
3248
+ export type CardHeaderProps = CardHeaderProperties & HTMLAttributes<HTMLElement>;
3249
+ declare const CardHeader: React.FC<CardHeaderProps>;
3250
+ export interface CardComponents {
3251
+ Body: typeof CardBody;
3252
+ Footer: typeof CardFooter;
3253
+ Header: typeof CardHeader;
3254
+ }
3255
+ export interface CardProperties {
3256
+ /**
3257
+ * The content of the card.
3258
+ * @TJS-type React.ReactNode
3259
+ */
3260
+ children: ReactNode;
3261
+ /**
3262
+ * The padding properties are used to generate space around an card's content area.
3263
+ * @default base
3264
+ */
3265
+ padding?: keyof typeof card.properties.padding;
3266
+ /**
3267
+ * The backgroundColor property sets the background color of the card.
3268
+ * @default neutral-background
3269
+ */
3270
+ backgroundColor?: keyof typeof card.properties.backgroundColor;
3271
+ }
3272
+ export type CardProps = CardProperties & HTMLAttributes<HTMLElement>;
3273
+ export declare const Card: React.FC<CardProps> & CardComponents;
3274
+ export interface CollapsibleBodyProperties {
3275
+ /**
3276
+ * The content of the collapsible body.
3277
+ * @TJS-type React.ReactNode
3278
+ */
3279
+ children: ReactNode;
3280
+ /**
3281
+ * Show Collapsible.Body when state is open or closed.
3282
+ * @default open
3283
+ */
3284
+ visibleWhen?: "open" | "closed";
3285
+ /**
3286
+ * Set the direction that Collapsible.Body going to open
3287
+ * @default none
3288
+ */
3289
+ direction?: "top" | "bottom" | "none";
3290
+ }
3291
+ export type CollapsibleBodyProps = CollapsibleBodyProperties & HTMLAttributes<HTMLElement>;
3292
+ declare const CollapsibleBody: React.FC<CollapsibleBodyProps>;
3293
+ export interface CollapsibleItemProperties {
3294
+ /**
3295
+ * The content of the collapsible body.
3296
+ * @TJS-type React.ReactNode
3297
+ */
3298
+ children: ReactNode;
3299
+ }
3300
+ export type CollapsibleItemProps = CollapsibleItemProperties;
3301
+ declare const CollapsibleItem: React.FC<CollapsibleItemProps>;
3302
+ export interface CollapsibleComponents {
3303
+ Body: typeof CollapsibleBody;
3304
+ Item: typeof CollapsibleItem;
3305
+ }
3306
+ export interface CollapsibleProperties {
3307
+ children?: ReactNode;
3308
+ open?: boolean;
3309
+ }
3310
+ export type CollapsibleBaseProps = CollapsibleProperties & Omit<HTMLAttributes<HTMLElement>, "onChange">;
3311
+ export declare const Collapsible: React.FC<CollapsibleProperties> & CollapsibleComponents;
3312
+ export type CloseOnOutsidePress = (event: PointerEvent | MouseEvent) => boolean;
3313
+ export interface ModalBodyProperties {
3314
+ /**
3315
+ * The content of the modal body.
3316
+ * @TJS-type React.ReactNode
3317
+ */
3318
+ children: ReactNode;
3319
+ /**
3320
+ * The padding properties are used to generate space around an modal's body content area.
3321
+ * @default none
3322
+ */
3323
+ padding?: keyof typeof modal.subComponents.body.properties.padding;
3324
+ }
3325
+ export type ModalBodyProps = ModalBodyProperties & HTMLAttributes<HTMLElement>;
3326
+ declare const ModalBody: React.FC<ModalBodyProps>;
3327
+ export interface ModalFooterProperties {
3328
+ /**
3329
+ * The content of the modal footer.
3330
+ * @TJS-type React.ReactNode
3331
+ */
3332
+ children: ReactNode;
3333
+ /**
3334
+ * The padding properties are used to generate space around an modal's footer content area.
3335
+ * @default none
3336
+ */
3337
+ padding?: keyof typeof modal.subComponents.footer.properties.padding;
3338
+ }
3339
+ export type ModalFooterProps = ModalFooterProperties & HTMLAttributes<HTMLElement>;
3340
+ declare const ModalFooter: React.FC<ModalFooterProps>;
3341
+ export interface ModalHeaderProperties {
3342
+ /**
3343
+ * The content of the modal header.
3344
+ * @TJS-type React.ReactNode
3345
+ */
3346
+ children?: ReactNode;
3347
+ /**
3348
+ * The title to display in the modal header.
3349
+ */
3350
+ title?: string;
3351
+ /**
3352
+ * The padding properties are used to generate space around an modal's header content area.
3353
+ * @default none
3354
+ */
3355
+ padding?: keyof typeof modal.subComponents.header.properties.padding;
3356
+ }
3357
+ export type ModalHeaderProps = ModalHeaderProperties & HTMLAttributes<HTMLElement>;
3358
+ declare const ModalHeader: React.FC<ModalHeaderProps>;
3359
+ export interface ModalComponents {
3360
+ Body: typeof ModalBody;
3361
+ Footer: typeof ModalFooter;
3362
+ Header: typeof ModalHeader;
3363
+ }
3364
+ export interface ModalProperties extends ModalSprinkle {
3365
+ /**
3366
+ * The content of the modal.
3367
+ * @TJS-type React.ReactNode
3368
+ */
3369
+ children: ReactNode;
3370
+ /**
3371
+ * Whether the modal is open or not.
3372
+ */
3373
+ open: boolean;
3374
+ /**
3375
+ * Callback fired when the component requests to be closed.
3376
+ * @TJS-type (open: boolean) => void;
3377
+ */
3378
+ onDismiss?: (open: boolean) => void;
3379
+ /**
3380
+ * Id to be embedded in the portal element
3381
+ */
3382
+ portalId?: string;
3383
+ /**
3384
+ * Controls whether clicking/pressing outside should close the modal.
3385
+ * - boolean: enable/disable dismissal on outside press
3386
+ * - function: receive the DOM event and return true to allow closing, false to ignore
3387
+ *
3388
+ * Defaults to true.
3389
+ */
3390
+ closeOnOutsidePress?: boolean | CloseOnOutsidePress;
3391
+ /**
3392
+ * The attribute name to ignore when checking for outside clicks. Useful to
3393
+ * mark regions (e.g., a chat) that should not close the modal when clicked.
3394
+ * @default "data-nimbus-outside-press-ignore"
3395
+ */
3396
+ ignoreAttributeName?: string;
3397
+ /**
3398
+ * The padding properties are used to generate space around an modal's content area.
3399
+ * @default base
3400
+ */
3401
+ padding?: keyof typeof modal.properties.padding;
3402
+ }
3403
+ export type ModalProps = ModalProperties & {
3404
+ /**
3405
+ * Root element where the portal should be mounted. When provided and not null,
3406
+ * the portal renders inside this element; when null/undefined, the default root is used.
3407
+ */
3408
+ root?: HTMLElement | null;
3409
+ } & HTMLAttributes<HTMLDivElement>;
3410
+ export declare const Modal: React.FC<ModalProps> & ModalComponents;
3411
+ export interface PaginationItemData {
3412
+ pageNumber: number | string;
3413
+ isCurrent: boolean;
3414
+ }
3415
+ export interface PaginationProperties {
3416
+ /**
3417
+ * The currently selected page.
3418
+ */
3419
+ activePage: number;
3420
+ /**
3421
+ * The total number of pages.
3422
+ */
3423
+ pageCount: number;
3424
+ /**
3425
+ * Called with event and page number when a page is clicked.
3426
+ * @TJS-type (page: number) => void;
3427
+ */
3428
+ onPageChange: (page: number) => void;
3429
+ /**
3430
+ * Determines whether page numbers should be shown.
3431
+ * @default true
3432
+ */
3433
+ showNumbers?: boolean;
3434
+ /**
3435
+ * Custom render function for pagination items.
3436
+ */
3437
+ renderItem?: (item: PaginationItemData) => React.ReactNode;
3438
+ }
3439
+ export type PaginationProps = PaginationProperties & HTMLAttributes<HTMLElement>;
3440
+ export declare const Pagination: React.FC<PaginationProps>;
3441
+ export interface ScrollPaneItemProperties {
3442
+ /**
3443
+ * The content to be rendered inside the scroll pane item
3444
+ */
3445
+ children: ReactNode;
3446
+ /**
3447
+ * Custom class name for styling
3448
+ */
3449
+ className?: string;
3450
+ /**
3451
+ * Custom inline styles
3452
+ */
3453
+ style?: React.CSSProperties;
3454
+ /**
3455
+ * Callback fired when the item is clicked
3456
+ */
3457
+ onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
3458
+ }
3459
+ export type ScrollPaneItemProps = ScrollPaneItemProperties & Omit<BoxProps, "children">;
3460
+ export type ScrollPaneArrowProperties = {
3461
+ children: ReactNode;
3462
+ };
3463
+ export type ScrollPaneArrowVerticalEndProperties = ScrollPaneArrowProperties;
3464
+ export type ScrollPaneArrowVerticalStartProperties = ScrollPaneArrowProperties;
3465
+ export type ScrollPaneArrowHorizontalEndProperties = ScrollPaneArrowProperties;
3466
+ export type ScrollPaneArrowHorizontalStartProperties = ScrollPaneArrowProperties;
3467
+ export interface ScrollPaneComponents {
3468
+ Item: React.FC<ScrollPaneItemProps>;
3469
+ ArrowHorizontalStart: React.FC<ScrollPaneArrowHorizontalStartProperties>;
3470
+ ArrowHorizontalEnd: React.FC<ScrollPaneArrowHorizontalEndProperties>;
3471
+ ArrowVerticalStart: React.FC<ScrollPaneArrowVerticalStartProperties>;
3472
+ ArrowVerticalEnd: React.FC<ScrollPaneArrowVerticalEndProperties>;
3473
+ }
3474
+ export interface ScrollPaneProperties {
3475
+ /**
3476
+ * The content to be rendered inside the scroll pane
3477
+ */
3478
+ children: ReactNode;
3479
+ /**
3480
+ * Whether to show gradient overlays when content overflows
3481
+ * @default true
3482
+ */
3483
+ showGradients?: boolean;
3484
+ /**
3485
+ * Whether to show navigation arrows for scrolling
3486
+ * @default false
3487
+ */
3488
+ showArrows?: boolean;
3489
+ /**
3490
+ * Whether to show the scrollbar
3491
+ * @default true
3492
+ */
3493
+ showScrollbar?: boolean;
3494
+ /**
3495
+ * The direction of the scroll (horizontal or vertical)
3496
+ * @default "horizontal"
3497
+ */
3498
+ direction?: "horizontal" | "vertical";
3499
+ /**
3500
+ * Whether items should scroll into view when clicked
3501
+ * @default true
3502
+ */
3503
+ scrollToItemOnClick?: boolean;
3504
+ /**
3505
+ * Custom arrow component to render at the start of the scroll area
3506
+ */
3507
+ scrollPaneArrowStart?: React.ReactNode;
3508
+ /**
3509
+ * Custom arrow component to render at the end of the scroll area
3510
+ */
3511
+ scrollPaneArrowEnd?: React.ReactNode;
3512
+ /**
3513
+ * Props to be passed to the content container
3514
+ */
3515
+ contentContainerProps?: object;
3516
+ }
3517
+ export type ScrollPaneProps = ScrollPaneProperties & Omit<BoxProps, "children"> & {
3518
+ contentContainerProps?: BoxProps;
3519
+ };
3520
+ /**
3521
+ * ScrollPane component handles responsive scrolls in lists that are overflowing inside a container.
3522
+ * It provides gradient overlays, optional navigation arrows, and scroll-to-item functionality.
3523
+ *
3524
+ * @example
3525
+ * <ScrollPane showArrows showGradients showScrollbar>
3526
+ * <ScrollPane.Item>Item 1</ScrollPane.Item>
3527
+ * <ScrollPane.Item>Item 2</ScrollPane.Item>
3528
+ * </ScrollPane>
3529
+ */
3530
+ export declare const ScrollPane: React.FC<ScrollPaneProps> & ScrollPaneComponents;
3531
+ export interface SidebarBodyProperties {
3532
+ /**
3533
+ * The content of the sidebar body.
3534
+ * @TJS-type React.ReactNode
3535
+ */
3536
+ children: ReactNode;
3537
+ /**
3538
+ * The padding properties are used to generate space around an sidebar's body content area.
3539
+ * @default base
3540
+ */
3541
+ padding?: keyof typeof sidebar.properties.padding;
3542
+ }
3543
+ export type SidebarBodyProps = SidebarBodyProperties & HTMLAttributes<HTMLElement>;
3544
+ declare const SidebarBody: React.FC<SidebarBodyProps>;
3545
+ export interface SidebarFooterProperties {
3546
+ /**
3547
+ * The content of the sidebar footer.
3548
+ * @TJS-type React.ReactNode
3549
+ */
3550
+ children: ReactNode;
3551
+ /**
3552
+ * The padding properties are used to generate space around an sidebar's footer content area.
3553
+ * @default base
3554
+ */
3555
+ padding?: keyof typeof sidebar.properties.padding;
3556
+ }
3557
+ export type SidebarFooterProps = SidebarFooterProperties & HTMLAttributes<HTMLElement>;
3558
+ declare const SidebarFooter: React.FC<SidebarFooterProps>;
3559
+ export interface SidebarHeaderProperties {
3560
+ /**
3561
+ * The content of the sidebar header.
3562
+ * @TJS-type React.ReactNode
3563
+ */
3564
+ children?: ReactNode;
3565
+ /**
3566
+ * The title to display in the sidebar header.
3567
+ */
3568
+ title?: string;
3569
+ /**
3570
+ * The padding properties are used to generate space around an sidebar's header content area.
3571
+ * @default base
3572
+ */
3573
+ padding?: keyof typeof sidebar.properties.padding;
3574
+ }
3575
+ export type SidebarHeaderProps = SidebarHeaderProperties & HTMLAttributes<HTMLElement>;
3576
+ declare const SidebarHeader: React.FC<SidebarHeaderProps>;
3577
+ export interface SidebarComponents {
3578
+ Body: typeof SidebarBody;
3579
+ Footer: typeof SidebarFooter;
3580
+ Header: typeof SidebarHeader;
3581
+ }
3582
+ export interface SidebarProperties extends SidebarSprinkle {
3583
+ /**
3584
+ * Side from which the sidebar will appear.
3585
+ * @default right
3586
+ */
3587
+ position?: "right" | "left";
3588
+ /**
3589
+ * The padding properties are used to generate space around an sidebar's content area.
3590
+ * @default base
3591
+ */
3592
+ padding?: keyof typeof sidebar.properties.padding;
3593
+ /**
3594
+ * The content of the sidebar.
3595
+ * @TJS-type React.ReactNode
3596
+ */
3597
+ children: ReactNode;
3598
+ /**
3599
+ * Callback fired when the component requests to be closed.
3600
+ * () => void;
3601
+ */
3602
+ onRemove?: () => void;
3603
+ /**
3604
+ * Determines if the sidebar is shown or not.
3605
+ * @default true
3606
+ */
3607
+ open?: boolean;
3608
+ /**
3609
+ * Determines if RemoveScroll wraps sidebar's children component.
3610
+ * @default true
3611
+ */
3612
+ needRemoveScroll?: boolean;
3613
+ /**
3614
+ * Controls whether clicking/pressing outside should close the sidebar.
3615
+ * - boolean: enable/disable dismissal on outside press
3616
+ * - function: receive the DOM event and return true to allow closing, false to ignore
3617
+ *
3618
+ * Defaults to true for backward compatibility.
3619
+ */
3620
+ closeOnOutsidePress?: boolean | CloseOnOutsidePress;
3621
+ /**
3622
+ * The attribute name to ignore when checking for outside clicks.
3623
+ * @default "data-nimbus-outside-press-ignore"
3624
+ */
3625
+ ignoreAttributeName?: string;
3626
+ }
3627
+ export type SidebarProps = SidebarProperties & {
3628
+ /**
3629
+ * Root element where the portal should be mounted. When provided and not null,
3630
+ * the portal renders inside this element; when null/undefined, the default root is used.
3631
+ */
3632
+ root?: HTMLElement | null;
3633
+ } & HTMLAttributes<HTMLDivElement>;
3634
+ export declare const Sidebar: React.FC<SidebarProps> & SidebarComponents;
3635
+ /**
3636
+ * Represents the visual state of a step
3637
+ */
3638
+ export type StepState = "completed" | "started" | "pending";
3639
+ export interface StepperItemProperties {
3640
+ /**
3641
+ * The step number (0-based index) for this item.
3642
+ * This is automatically assigned by the parent Stepper component.
3643
+ */
3644
+ step: number;
3645
+ /**
3646
+ * The label text to display for this step
3647
+ */
3648
+ label?: string;
3649
+ }
3650
+ export type StepperItemProps = StepperItemProperties & HTMLAttributes<HTMLDivElement>;
3651
+ export interface StepperCardProperties {
3652
+ /**
3653
+ * The content to be rendered inside the card container
3654
+ * @TJS-type React.ReactNode
3655
+ */
3656
+ children: ReactNode;
3657
+ }
3658
+ export type StepperCardProps = StepperCardProperties;
3659
+ export interface StepperComponents {
3660
+ Item: React.FC<Omit<StepperItemProps, "step">>;
3661
+ Card: React.FC<StepperCardProps>;
3662
+ }
3663
+ export interface BaseStepperProperties {
3664
+ /**
3665
+ * The currently active step (0-based index).
3666
+ * Steps before this will be marked as completed.
3667
+ */
3668
+ activeStep: number;
3669
+ /**
3670
+ * The content of the stepper (StepperItem components).
3671
+ * Total steps will be calculated automatically based on the number of children.
3672
+ * @TJS-type React.ReactNode
3673
+ */
3674
+ children: ReactNode;
3675
+ }
3676
+ export interface ControlledStepperProperties extends BaseStepperProperties {
3677
+ /**
3678
+ * The currently selected step (0-based index).
3679
+ * This step will be visually highlighted to show user selection.
3680
+ */
3681
+ selectedStep: number;
3682
+ /**
3683
+ * Callback called when a step is selected.
3684
+ * Receives the step number (0-based index) as parameter.
3685
+ */
3686
+ onSelectStep: (step: number) => void;
3687
+ }
3688
+ /**
3689
+ * Props for the Stepper component, supporting both controlled and uncontrolled modes
3690
+ */
3691
+ export type StepperProps = (BaseStepperProperties | ControlledStepperProperties) & Omit<BoxProps, "display" | "flexWrap" | "gap">;
3692
+ export type StepperProperties = BaseStepperProperties & ControlledStepperProperties;
3693
+ export declare const Stepper: React.FC<StepperProps> & StepperComponents;
3694
+ /**
3695
+ * Context value provided by StepperContext to share state between stepper components
3696
+ */
3697
+ export interface StepperContextValue {
3698
+ /**
3699
+ * The total number of steps in the stepper
3700
+ */
3701
+ totalSteps: number;
3702
+ /**
3703
+ * The currently active step (0-based index)
3704
+ */
3705
+ activeStep: number;
3706
+ /**
3707
+ * The currently selected step (0-based index)
3708
+ */
3709
+ selectedStep?: number;
3710
+ /**
3711
+ * Callback to handle step selection
3712
+ */
3713
+ onSelect?: (step: number) => void;
3714
+ }
3715
+ /**
3716
+ * Checks if the stepper is in controlled mode.
3717
+ * @param props - The props of the stepper
3718
+ * @returns True if the stepper is controlled, false otherwise
3719
+ */
3720
+ export declare const isControlled: (props: any) => props is ControlledStepperProperties;
3721
+ export interface TabsButtonProperties {
3722
+ /**
3723
+ * Label of the tab button.
3724
+ */
3725
+ label: string;
3726
+ /**
3727
+ * Content of the tab button.
3728
+ */
3729
+ labelContent?: ReactNode;
3730
+ /**
3731
+ * Determines if tab is active.
3732
+ * @default false
3733
+ */
3734
+ active?: boolean;
3735
+ /**
3736
+ * Position of the tab inside the tab list.
3737
+ */
3738
+ index: number;
3739
+ /**
3740
+ * Function executed when clicking the tab.
3741
+ * @TJS-type (index: number) => void;
3742
+ */
3743
+ setActiveTab: (index: number) => void;
3744
+ /**
3745
+ * Determines if tab spans all available width.
3746
+ * @default false
3747
+ */
3748
+ fullWidth?: boolean;
3749
+ }
3750
+ export type TabsButtonProps = TabsButtonProperties & HTMLAttributes<HTMLLIElement>;
3751
+ declare const TabsButton: React.FC<TabsButtonProps>;
3752
+ export interface TabsItemProperties {
3753
+ /**
3754
+ * Label of the tabpanel. Used to pair with it's corresponding tab control.
3755
+ */
3756
+ label: string;
3757
+ /**
3758
+ * Optional content of the tabpanel.
3759
+ * @TJS-type ReactNode;
3760
+ */
3761
+ labelContent?: ReactNode;
3762
+ /**
3763
+ * The content of the tabs item.
3764
+ * @TJS-type ReactNode | ReactNode[];
3765
+ */
3766
+ children: ReactNode | ReactNode[];
3767
+ }
3768
+ export type TabsItemProps = TabsItemProperties & HTMLAttributes<HTMLElement>;
3769
+ declare const TabsItem: React.FC<TabsItemProps>;
3770
+ export interface TabsComponents {
3771
+ Button: typeof TabsButton;
3772
+ Item: typeof TabsItem;
3773
+ }
3774
+ export interface BaseTabsProperties {
3775
+ /**
3776
+ * The content of the tabs.
3777
+ * @TJS-type ReactElement<TabsButtonProps>[];
3778
+ */
3779
+ children: ReactElement<TabsButtonProps>[];
3780
+ /**
3781
+ * Sets the indicated tab as active by default. If unset, defaults to first tab.
3782
+ */
3783
+ preSelectedTab?: number;
3784
+ /**
3785
+ * Determines if tabs should span available width.
3786
+ * @default false
3787
+ */
3788
+ fullWidth?: boolean;
3789
+ }
3790
+ export interface ControlledTabsProperties extends BaseTabsProperties {
3791
+ /**
3792
+ * The currently selected tab index.
3793
+ */
3794
+ selected: number;
3795
+ /**
3796
+ * Callback fired when the selected tab changes.
3797
+ */
3798
+ onTabSelect: (index: number) => void;
3799
+ /**
3800
+ * preSelectedTab is not used in controlled mode
3801
+ */
3802
+ preSelectedTab?: never;
3803
+ }
3804
+ export type TabsProps = (BaseTabsProperties | ControlledTabsProperties) & Omit<HTMLAttributes<HTMLDivElement>, "children" | "onSelect">;
3805
+ export declare const Tabs: React.FC<TabsProps> & TabsComponents;
3806
+ export interface TableBodyProperties {
3807
+ /**
3808
+ * The content of the table body.
3809
+ * @TJS-type React.ReactNode
3810
+ */
3811
+ children: ReactNode;
3812
+ }
3813
+ export type TableBodyProps = TableBodyProperties & HTMLAttributes<HTMLTableSectionElement>;
3814
+ declare const TableBody: React.FC<TableBodyProps>;
3815
+ export interface TableCellProperties extends TableSprinkle {
3816
+ /**
3817
+ * The content of the table cell.
3818
+ * @TJS-type React.ReactNode
3819
+ */
3820
+ children: ReactNode;
3821
+ /**
3822
+ * Type of html tag to create for the table cell.
3823
+ * @default td
3824
+ */
3825
+ as?: "td" | "th";
3826
+ }
3827
+ export type TableCellProps = TableCellProperties & HTMLAttributes<HTMLTableCellElement>;
3828
+ declare const TableCell: React.FC<TableCellProps>;
3829
+ export interface TableHeadProperties {
3830
+ /**
3831
+ * The content of the table head.
3832
+ * @TJS-type React.ReactNode
3833
+ */
3834
+ children: ReactNode;
3835
+ }
3836
+ export type TableHeadProps = TableHeadProperties & HTMLAttributes<HTMLTableSectionElement>;
3837
+ declare const TableHead: React.FC<TableHeadProps>;
3838
+ export interface TableRowProperties extends TableSprinkle {
3839
+ /**
3840
+ * The content of the table row.
3841
+ * @TJS-type React.ReactNode
3842
+ */
3843
+ children: ReactNode;
3844
+ /**
3845
+ * The ID of the table row.
3846
+ */
3847
+ id?: string;
3848
+ /**
3849
+ * Function to be passed when clicking on the table row.
3850
+ * @TJS-type () => void;
3851
+ */
3852
+ onClick?: () => void;
3853
+ }
3854
+ export type TableRowProps = TableRowProperties & HTMLAttributes<HTMLTableRowElement>;
3855
+ declare const TableRow: React.FC<TableRowProps>;
3856
+ export interface TableComponents {
3857
+ Body: typeof TableBody;
3858
+ Cell: typeof TableCell;
3859
+ Head: typeof TableHead;
3860
+ Row: typeof TableRow;
3861
+ }
3862
+ export interface TableProperties {
3863
+ /**
3864
+ * The content of the table.
3865
+ * @TJS-type React.ReactNode
3866
+ */
3867
+ children: ReactNode;
3868
+ }
3869
+ export type TableProps = TableProperties & HTMLAttributes<HTMLTableElement>;
3870
+ export declare const Table: React.FC<TableProps> & TableComponents;
3871
+ export interface SegmentedControlButtonSkeletonProps {
3872
+ /** Width of the skeleton button */
3873
+ width?: string;
3874
+ /** Height of the skeleton button */
3875
+ height?: string;
3876
+ }
3877
+ export type SegmentedControlButtonProperties = PropsWithChildren<{
3878
+ /**
3879
+ * Unique identifier for the segment button.
3880
+ * Required for proper state management and accessibility.
3881
+ */
3882
+ id: string;
3883
+ /**
3884
+ * Label of the segment used for accessibility.
3885
+ */
3886
+ label?: string;
3887
+ /**
3888
+ * Determines if segment spans all available width.
3889
+ * @default false
3890
+ */
3891
+ fullWidth?: boolean;
3892
+ }>;
3893
+ export type SegmentedControlButtonProps = SegmentedControlButtonProperties & ButtonHTMLAttributes<HTMLButtonElement>;
3894
+ export interface SegmentedControlButtonComponents {
3895
+ Skeleton: React.FC<SegmentedControlButtonSkeletonProps>;
3896
+ }
3897
+ declare const SegmentedControlButton: PolymorphicForwardRefComponent<"button" | "a", SegmentedControlButtonProps> & SegmentedControlButtonComponents;
3898
+ declare const SegmentedControlButtonSkeleton: React.FC<SegmentedControlButtonSkeletonProps>;
3899
+ export interface SegmentedControlBaseProps {
3900
+ /**
3901
+ * The content of the segmented control.
3902
+ * Should contain SegmentedControlButton components with unique id props.
3903
+ */
3904
+ children: ReactNode;
3905
+ /**
3906
+ * Determines if segments span all available width.
3907
+ * @default false
3908
+ */
3909
+ fullWidth?: boolean;
3910
+ }
3911
+ /**
3912
+ * Component composition structure for the SegmentedControl
3913
+ */
3914
+ export interface SegmentedControlComponents {
3915
+ Button: typeof SegmentedControlButton;
3916
+ ButtonSkeleton: typeof SegmentedControlButtonSkeleton;
3917
+ }
3918
+ export interface ControlledSegmentedControlProperties extends SegmentedControlBaseProps {
3919
+ /**
3920
+ * The currently selected segment IDs.
3921
+ * Allows for single or multiple selection.
3922
+ */
3923
+ selectedSegments: string[];
3924
+ /**
3925
+ * Callback fired when the selected segments change.
3926
+ * @param selectedIds Array of selected segment IDs
3927
+ */
3928
+ onSegmentsSelect?: (selectedIds: string[]) => void;
3929
+ }
3930
+ /**
3931
+ * Props for the SegmentedControl component, supporting both controlled and uncontrolled modes
3932
+ */
3933
+ export type SegmentedControlProps = (SegmentedControlBaseProps | ControlledSegmentedControlProperties) & Omit<BoxProps, "display" | "backgroundColor" | "gap" | "borderRadius" | "children">;
3934
+ /**
3935
+ * SegmentedControl component for grouped selection controls
3936
+ */
3937
+ export declare const SegmentedControl: React.FC<SegmentedControlProps> & SegmentedControlComponents;
3938
+ export interface SegmentedControlContextValue {
3939
+ /**
3940
+ * Register a button with its unique identifier
3941
+ * @param id The unique identifier for the button
3942
+ */
3943
+ registerButton: (id: string) => void;
3944
+ /**
3945
+ * Unregister a button by its identifier
3946
+ * @param id The identifier of the button to unregister
3947
+ */
3948
+ unregisterButton: (id: string) => void;
3949
+ /**
3950
+ * Toggle a segment's state by ID
3951
+ * @param id The unique identifier of the segment to toggle
3952
+ */
3953
+ toggleSegment: (id: string) => void;
3954
+ /**
3955
+ * Check if a segment is currently selected by ID
3956
+ * @param id The unique identifier of the segment to check
3957
+ */
3958
+ isSelected: (id: string) => boolean;
3959
+ /**
3960
+ * Whether buttons should span full width
3961
+ */
3962
+ fullWidth: boolean;
3963
+ }
3964
+ /**
3965
+ * Hook to use SegmentedControl context with error if not found
3966
+ * @throws Error if not within a SegmentedControl
3967
+ */
3968
+ export declare const useSegmentedControlContext: () => SegmentedControlContextValue;
3969
+
3970
+ export {};