@nimbus-ds/components 5.8.0 → 5.8.2

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