braid-design-system 32.1.0 → 32.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/CHANGELOG.md +133 -0
  2. package/codemod/dist/wrapper.js +181 -183
  3. package/color-mode/query-param/index.d.ts +1 -0
  4. package/color-mode/query-param/package.json +1 -1
  5. package/css/index.d.ts +1 -0
  6. package/css/package.json +1 -1
  7. package/dist/ToastContext.chunk.cjs +21 -21
  8. package/dist/ToastContext.chunk.mjs +120 -120
  9. package/dist/Toggle.chunk.cjs +22 -32
  10. package/dist/Toggle.chunk.mjs +199 -209
  11. package/dist/color-mode/query-param.mjs +1 -1
  12. package/dist/css.d.ts +1 -667
  13. package/dist/css.mjs +7 -7
  14. package/dist/index.d.ts +1 -3952
  15. package/dist/index.mjs +164 -164
  16. package/dist/playroom/FrameComponent.d.ts +1 -323
  17. package/dist/playroom/FrameComponent.mjs +4 -4
  18. package/dist/playroom/components.d.ts +1 -4027
  19. package/dist/playroom/components.mjs +124 -124
  20. package/dist/playroom/scope.d.ts +1 -385
  21. package/dist/playroom/scope.mjs +4 -4
  22. package/dist/playroom/snippets.d.ts +1 -7
  23. package/dist/playroomState.chunk.cjs +1 -1
  24. package/dist/playroomState.chunk.mjs +3 -3
  25. package/dist/reset.d.ts +5075 -1
  26. package/dist/side-effects/lib/components/BraidProvider/BraidProvider.mjs +12 -12
  27. package/dist/side-effects/lib/css/reset/index.mjs +1 -1
  28. package/dist/side-effects/lib/css/reset/resetTracker.mjs +2 -2
  29. package/dist/side-effects/lib/themes/baseTokens/apac.cjs +8 -9
  30. package/dist/side-effects/lib/themes/baseTokens/apac.mjs +8 -10
  31. package/dist/side-effects/lib/themes/index.mjs +5 -5
  32. package/dist/side-effects/lib/themes/makeRuntimeTokens.cjs +4 -10
  33. package/dist/side-effects/lib/themes/makeRuntimeTokens.mjs +5 -10
  34. package/dist/side-effects/lib/themes/tokenType.cjs +15 -0
  35. package/dist/side-effects/lib/themes/tokenType.mjs +16 -0
  36. package/dist/styles/lib/components/Accordion/AccordionItem.css.mjs +3 -3
  37. package/dist/styles/lib/components/Alert/Alert.css.mjs +3 -3
  38. package/dist/styles/lib/components/Autosuggest/Autosuggest.css.mjs +6 -6
  39. package/dist/styles/lib/components/Button/Button.css.cjs +24 -23
  40. package/dist/styles/lib/components/Button/Button.css.mjs +39 -38
  41. package/dist/styles/lib/components/ButtonIcon/ButtonIcon.css.mjs +1 -1
  42. package/dist/styles/lib/components/Column/Column.css.mjs +3 -3
  43. package/dist/styles/lib/components/ContentBlock/ContentBlock.css.mjs +1 -1
  44. package/dist/styles/lib/components/Divider/Divider.css.mjs +7 -7
  45. package/dist/styles/lib/components/Dropdown/Dropdown.css.mjs +2 -2
  46. package/dist/styles/lib/components/Hidden/Hidden.css.mjs +1 -1
  47. package/dist/styles/lib/components/HiddenVisually/HiddenVisually.css.mjs +1 -1
  48. package/dist/styles/lib/components/List/List.css.mjs +4 -4
  49. package/dist/styles/lib/components/Loader/Loader.css.mjs +7 -7
  50. package/dist/styles/lib/components/MenuItem/useMenuItem.css.mjs +1 -1
  51. package/dist/styles/lib/components/MenuRenderer/MenuRenderer.css.mjs +5 -5
  52. package/dist/styles/lib/components/MonthPicker/MonthPicker.css.mjs +1 -1
  53. package/dist/styles/lib/components/OverflowMenu/OverflowMenu.css.mjs +1 -1
  54. package/dist/styles/lib/components/Pagination/Pagination.css.mjs +6 -6
  55. package/dist/styles/lib/components/Rating/Rating.css.mjs +6 -6
  56. package/dist/styles/lib/components/Stepper/Stepper.css.mjs +21 -21
  57. package/dist/styles/lib/components/Tabs/Tabs.css.mjs +17 -17
  58. package/dist/styles/lib/components/Tag/Tag.css.mjs +1 -1
  59. package/dist/styles/lib/components/TextDropdown/TextDropdown.css.mjs +4 -4
  60. package/dist/styles/lib/components/TextLink/TextLink.css.mjs +8 -8
  61. package/dist/styles/lib/components/Textarea/Highlight/Highlight.css.mjs +1 -1
  62. package/dist/styles/lib/components/Textarea/Textarea.css.mjs +3 -3
  63. package/dist/styles/lib/components/Tiles/Tiles.css.mjs +5 -5
  64. package/dist/styles/lib/components/Toggle/Toggle.css.mjs +20 -20
  65. package/dist/styles/lib/components/TooltipRenderer/TooltipRenderer.css.cjs +1 -5
  66. package/dist/styles/lib/components/TooltipRenderer/TooltipRenderer.css.mjs +7 -11
  67. package/dist/styles/lib/components/icons/IconArrow/IconArrow.css.mjs +4 -4
  68. package/dist/styles/lib/components/icons/IconChevron/IconChevron.css.mjs +4 -4
  69. package/dist/styles/lib/components/icons/IconThumb/IconThumb.css.mjs +2 -2
  70. package/dist/styles/lib/components/private/AvoidWidowIcon/AvoidWidowIcon.css.mjs +1 -1
  71. package/dist/styles/lib/components/private/Field/Field.css.mjs +8 -8
  72. package/dist/styles/lib/components/private/InlineField/InlineField.css.mjs +17 -17
  73. package/dist/styles/lib/components/private/Keyline/Keyline.css.cjs +4 -0
  74. package/dist/styles/lib/components/private/Keyline/Keyline.css.mjs +11 -7
  75. package/dist/styles/lib/components/private/Modal/Modal.css.mjs +16 -16
  76. package/dist/styles/lib/components/private/Modal/ModalExternalGutter.mjs +1 -1
  77. package/dist/styles/lib/components/private/Placeholder/Placeholder.css.mjs +6 -6
  78. package/dist/styles/lib/components/private/Truncate/Truncate.css.mjs +1 -1
  79. package/dist/styles/lib/components/private/hideFocusRings/hideFocusRings.css.mjs +2 -2
  80. package/dist/styles/lib/components/private/hideFocusRings/hideFocusRingsDataAttribute.mjs +1 -1
  81. package/dist/styles/lib/components/private/touchable/debugTouchable.mjs +1 -1
  82. package/dist/styles/lib/components/private/touchable/hitArea.mjs +1 -1
  83. package/dist/styles/lib/components/private/touchable/virtualTouchable.css.mjs +4 -4
  84. package/dist/styles/lib/components/private/touchable/virtualTouchableRules.mjs +2 -2
  85. package/dist/styles/lib/components/useToast/Toast.css.mjs +1 -1
  86. package/dist/styles/lib/css/atoms/atomicProperties.mjs +6 -6
  87. package/dist/styles/lib/css/atoms/atoms.mjs +3 -3
  88. package/dist/styles/lib/css/atoms/sprinkles.css.mjs +8 -8
  89. package/dist/styles/lib/css/breakpoints.mjs +2 -2
  90. package/dist/styles/lib/css/colorModeStyle.mjs +2 -2
  91. package/dist/styles/lib/css/lineHeightContainer.css.mjs +3 -3
  92. package/dist/styles/lib/css/negativeMargin/negativeMargin.css.cjs +4 -9
  93. package/dist/styles/lib/css/negativeMargin/negativeMargin.css.mjs +3 -8
  94. package/dist/styles/lib/css/reset/reset.css.mjs +3 -3
  95. package/dist/styles/lib/css/responsiveStyle.cjs +2 -2
  96. package/dist/styles/lib/css/responsiveStyle.mjs +3 -3
  97. package/dist/styles/lib/css/textAlignedToIcon.css.mjs +3 -3
  98. package/dist/styles/lib/css/typography.css.cjs +1 -16
  99. package/dist/styles/lib/css/typography.css.mjs +5 -20
  100. package/dist/styles/lib/hooks/useIcon/icon.css.mjs +8 -8
  101. package/dist/styles/lib/themes/apac/apacTheme.css.mjs +3 -3
  102. package/dist/styles/lib/themes/apac/tokens.mjs +2 -2
  103. package/dist/styles/lib/themes/docs/docsTheme.css.mjs +3 -3
  104. package/dist/styles/lib/themes/docs/tokens.cjs +8 -8
  105. package/dist/styles/lib/themes/docs/tokens.mjs +8 -10
  106. package/dist/styles/lib/themes/makeBraidTheme.mjs +4 -4
  107. package/dist/styles/lib/themes/makeVanillaTheme.cjs +23 -10
  108. package/dist/styles/lib/themes/makeVanillaTheme.mjs +23 -10
  109. package/dist/styles/lib/themes/seekBusiness/seekBusinessTheme.css.mjs +3 -3
  110. package/dist/styles/lib/themes/seekBusiness/tokens.mjs +2 -2
  111. package/dist/styles/lib/themes/vars.css.mjs +3 -3
  112. package/dist/styles/lib/themes/wireframe/tokens.cjs +25 -29
  113. package/dist/styles/lib/themes/wireframe/tokens.mjs +25 -31
  114. package/dist/styles/lib/themes/wireframe/wireframeTheme.css.mjs +3 -3
  115. package/dist/styles/lib/utils/index.mjs +6 -6
  116. package/dist/test.d.ts +1 -890
  117. package/dist/test.mjs +2 -2
  118. package/dist/themes/apac.d.ts +1 -137
  119. package/dist/themes/apac.mjs +2 -2
  120. package/dist/themes/docs.d.ts +1 -137
  121. package/dist/themes/docs.mjs +2 -2
  122. package/dist/themes/seekBusiness.d.ts +1 -137
  123. package/dist/themes/seekBusiness.mjs +2 -2
  124. package/dist/themes/wireframe.d.ts +1 -137
  125. package/dist/themes/wireframe.mjs +2 -2
  126. package/package.json +4 -3
  127. package/playroom/FrameComponent/index.d.ts +2 -0
  128. package/playroom/FrameComponent/package.json +1 -1
  129. package/playroom/components/index.d.ts +1 -0
  130. package/playroom/components/package.json +1 -1
  131. package/playroom/scope/index.d.ts +2 -0
  132. package/playroom/scope/package.json +1 -1
  133. package/playroom/snippets/index.d.ts +2 -0
  134. package/playroom/snippets/package.json +1 -1
  135. package/reset/index.d.ts +1 -0
  136. package/reset/package.json +1 -1
  137. package/test/index.d.ts +1 -0
  138. package/test/package.json +1 -1
  139. package/themes/apac/index.d.ts +2 -0
  140. package/themes/apac/package.json +1 -1
  141. package/themes/docs/index.d.ts +2 -0
  142. package/themes/docs/package.json +1 -1
  143. package/themes/seekBusiness/index.d.ts +2 -0
  144. package/themes/seekBusiness/package.json +1 -1
  145. package/themes/wireframe/index.d.ts +2 -0
  146. package/themes/wireframe/package.json +1 -1
  147. package/dist/styles/lib/components/Badge/Badge.css.cjs +0 -27
  148. package/dist/styles/lib/components/Badge/Badge.css.mjs +0 -28
package/dist/index.d.ts CHANGED
@@ -1,3952 +1 @@
1
- import * as React from 'react';
2
- import React__default, { ForwardRefRenderFunction, AnchorHTMLAttributes, ComponentType, ReactNode, ReactElement, AllHTMLAttributes, ElementType, RefAttributes, Ref, KeyboardEvent, MouseEvent, FormEvent } from 'react';
3
- import { FontMetrics } from '@capsizecss/core';
4
- import * as _vanilla_extract_sprinkles from '@vanilla-extract/sprinkles';
5
- import { ConditionalValue, RequiredConditionalValue } from '@vanilla-extract/sprinkles';
6
- import { ClassValue } from 'clsx';
7
- import { usePopperTooltip } from 'react-popper-tooltip';
8
-
9
- declare const breakpointNames: readonly ["mobile", "tablet", "desktop", "wide"];
10
- declare const breakpoints: {
11
- readonly mobile: 0;
12
- readonly tablet: 740;
13
- readonly desktop: 992;
14
- readonly wide: 1200;
15
- };
16
- type Breakpoint = keyof typeof breakpoints;
17
-
18
- type TextBreakpoint = Exclude<Breakpoint, 'desktop' | 'wide'>;
19
- type FontSizeText = {
20
- fontSize: number;
21
- rows: number;
22
- };
23
- type TextDefinition = Record<TextBreakpoint, FontSizeText>;
24
- type FontWeight = 'regular' | 'medium' | 'strong';
25
- interface BraidTokens {
26
- name: string;
27
- displayName: string;
28
- typography: {
29
- fontFamily: string;
30
- webFont: string | null;
31
- fontMetrics: Pick<FontMetrics, 'capHeight' | 'ascent' | 'descent' | 'lineGap' | 'unitsPerEm'>;
32
- fontWeight: Record<FontWeight, 400 | 500 | 600 | 700 | 800>;
33
- heading: {
34
- weight: {
35
- weak: FontWeight;
36
- regular: FontWeight;
37
- };
38
- level: {
39
- '1': TextDefinition;
40
- '2': TextDefinition;
41
- '3': TextDefinition;
42
- '4': TextDefinition;
43
- };
44
- };
45
- text: {
46
- xsmall: TextDefinition;
47
- small: TextDefinition;
48
- standard: TextDefinition;
49
- large: TextDefinition;
50
- };
51
- };
52
- contentWidth: {
53
- xsmall: number;
54
- small: number;
55
- medium: number;
56
- large: number;
57
- };
58
- grid: number;
59
- touchableSize: number;
60
- space: {
61
- gutter: number;
62
- xxsmall: number;
63
- xsmall: number;
64
- small: number;
65
- medium: number;
66
- large: number;
67
- xlarge: number;
68
- xxlarge: number;
69
- };
70
- transforms: {
71
- touchable: string;
72
- };
73
- transitions: {
74
- fast: string;
75
- touchable: string;
76
- };
77
- border: {
78
- radius: {
79
- standard: string;
80
- large: string;
81
- xlarge: string;
82
- };
83
- width: {
84
- standard: number;
85
- large: number;
86
- };
87
- color: {
88
- brandAccent: string;
89
- brandAccentLight: string;
90
- caution: string;
91
- cautionLight: string;
92
- critical: string;
93
- criticalLight: string;
94
- field: string;
95
- focus: string;
96
- formAccent: string;
97
- formAccentLight: string;
98
- info: string;
99
- infoLight: string;
100
- neutral: string;
101
- neutralInverted: string;
102
- neutralLight: string;
103
- positive: string;
104
- positiveLight: string;
105
- promote: string;
106
- promoteLight: string;
107
- };
108
- };
109
- focusRingSize: number;
110
- shadows: {
111
- small: string;
112
- medium: string;
113
- large: string;
114
- };
115
- color: {
116
- foreground: {
117
- brandAccentLight: string;
118
- brandAccent: string;
119
- cautionLight: string;
120
- caution: string;
121
- criticalLight: string;
122
- critical: string;
123
- formAccentLight: string;
124
- formAccent: string;
125
- infoLight: string;
126
- info: string;
127
- linkLight: string;
128
- link: string;
129
- linkHover: string;
130
- linkVisited: string;
131
- linkLightVisited: string;
132
- neutral: string;
133
- neutralInverted: string;
134
- positiveLight: string;
135
- positive: string;
136
- promoteLight: string;
137
- promote: string;
138
- rating: string;
139
- secondary: string;
140
- secondaryInverted: string;
141
- };
142
- background: {
143
- body: string;
144
- bodyDark: string;
145
- brand: string;
146
- brandAccent: string;
147
- brandAccentActive: string;
148
- brandAccentHover: string;
149
- brandAccentSoft: string;
150
- brandAccentSoftActive: string;
151
- brandAccentSoftHover: string;
152
- caution: string;
153
- cautionLight: string;
154
- critical: string;
155
- criticalActive: string;
156
- criticalHover: string;
157
- criticalLight: string;
158
- criticalSoft: string;
159
- criticalSoftActive: string;
160
- criticalSoftHover: string;
161
- formAccent: string;
162
- formAccentActive: string;
163
- formAccentHover: string;
164
- formAccentSoft: string;
165
- formAccentSoftActive: string;
166
- formAccentSoftHover: string;
167
- info: string;
168
- infoLight: string;
169
- neutral: string;
170
- neutralActive: string;
171
- neutralHover: string;
172
- neutralLight: string;
173
- neutralSoft: string;
174
- neutralSoftActive: string;
175
- neutralSoftHover: string;
176
- positive: string;
177
- positiveLight: string;
178
- promote: string;
179
- promoteLight: string;
180
- surface: string;
181
- surfaceDark: string;
182
- };
183
- };
184
- }
185
-
186
- declare const makeBraidTheme: (tokens: BraidTokens) => {
187
- vanillaTheme: string;
188
- name: string;
189
- displayName: string;
190
- background: {
191
- lightMode: string;
192
- darkMode: string;
193
- };
194
- webFonts: {
195
- linkTag: string;
196
- }[];
197
- space: {
198
- grid: number;
199
- space: {
200
- gutter: number;
201
- xxsmall: number;
202
- xsmall: number;
203
- small: number;
204
- medium: number;
205
- large: number;
206
- xlarge: number;
207
- xxlarge: number;
208
- };
209
- };
210
- color: {
211
- foreground: {
212
- brandAccentLight: string;
213
- brandAccent: string;
214
- cautionLight: string;
215
- caution: string;
216
- criticalLight: string;
217
- critical: string;
218
- formAccentLight: string;
219
- formAccent: string;
220
- infoLight: string;
221
- info: string;
222
- linkLight: string;
223
- link: string;
224
- linkHover: string;
225
- linkVisited: string;
226
- linkLightVisited: string;
227
- neutral: string;
228
- neutralInverted: string;
229
- positiveLight: string;
230
- positive: string;
231
- promoteLight: string;
232
- promote: string;
233
- rating: string;
234
- secondary: string;
235
- secondaryInverted: string;
236
- };
237
- background: {
238
- body: string;
239
- bodyDark: string;
240
- brand: string;
241
- brandAccent: string;
242
- brandAccentActive: string;
243
- brandAccentHover: string;
244
- brandAccentSoft: string;
245
- brandAccentSoftActive: string;
246
- brandAccentSoftHover: string;
247
- caution: string;
248
- cautionLight: string;
249
- critical: string;
250
- criticalActive: string;
251
- criticalHover: string;
252
- criticalLight: string;
253
- criticalSoft: string;
254
- criticalSoftActive: string;
255
- criticalSoftHover: string;
256
- formAccent: string;
257
- formAccentActive: string;
258
- formAccentHover: string;
259
- formAccentSoft: string;
260
- formAccentSoftActive: string;
261
- formAccentSoftHover: string;
262
- info: string;
263
- infoLight: string;
264
- neutral: string;
265
- neutralActive: string;
266
- neutralHover: string;
267
- neutralLight: string;
268
- neutralSoft: string;
269
- neutralSoftActive: string;
270
- neutralSoftHover: string;
271
- positive: string;
272
- positiveLight: string;
273
- promote: string;
274
- promoteLight: string;
275
- surface: string;
276
- surfaceDark: string;
277
- };
278
- };
279
- backgroundLightness: {
280
- body: "light" | "dark";
281
- bodyDark: "light" | "dark";
282
- brand: "light" | "dark";
283
- brandAccent: "light" | "dark";
284
- brandAccentActive: "light" | "dark";
285
- brandAccentHover: "light" | "dark";
286
- brandAccentSoft: "light" | "dark";
287
- brandAccentSoftActive: "light" | "dark";
288
- brandAccentSoftHover: "light" | "dark";
289
- caution: "light" | "dark";
290
- cautionLight: "light" | "dark";
291
- critical: "light" | "dark";
292
- criticalActive: "light" | "dark";
293
- criticalHover: "light" | "dark";
294
- criticalLight: "light" | "dark";
295
- criticalSoft: "light" | "dark";
296
- criticalSoftActive: "light" | "dark";
297
- criticalSoftHover: "light" | "dark";
298
- formAccent: "light" | "dark";
299
- formAccentActive: "light" | "dark";
300
- formAccentHover: "light" | "dark";
301
- formAccentSoft: "light" | "dark";
302
- formAccentSoftActive: "light" | "dark";
303
- formAccentSoftHover: "light" | "dark";
304
- info: "light" | "dark";
305
- infoLight: "light" | "dark";
306
- neutral: "light" | "dark";
307
- neutralActive: "light" | "dark";
308
- neutralHover: "light" | "dark";
309
- neutralLight: "light" | "dark";
310
- neutralSoft: "light" | "dark";
311
- neutralSoftActive: "light" | "dark";
312
- neutralSoftHover: "light" | "dark";
313
- positive: "light" | "dark";
314
- positiveLight: "light" | "dark";
315
- promote: "light" | "dark";
316
- promoteLight: "light" | "dark";
317
- surface: "light" | "dark";
318
- surfaceDark: "light" | "dark";
319
- };
320
- };
321
- type BraidTheme = ReturnType<typeof makeBraidTheme>;
322
-
323
- interface LinkComponentProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
324
- href: string;
325
- }
326
- declare const makeLinkComponent: (render: ForwardRefRenderFunction<HTMLAnchorElement, LinkComponentProps>) => {
327
- readonly __forwardRef__: React__default.ForwardRefExoticComponent<LinkComponentProps & React__default.RefAttributes<HTMLAnchorElement>>;
328
- };
329
- type LinkComponent$1 = ReturnType<typeof makeLinkComponent> | ComponentType<LinkComponentProps>;
330
- interface BraidProviderProps {
331
- theme: BraidTheme;
332
- styleBody?: boolean;
333
- linkComponent?: LinkComponent$1;
334
- children: ReactNode;
335
- }
336
- declare const BraidProvider: ({ theme, styleBody, linkComponent, children, }: BraidProviderProps) => JSX.Element;
337
-
338
- interface BraidPortalProps {
339
- children: ReactNode;
340
- container?: Element;
341
- }
342
- declare const BraidPortal: ({ children, container }: BraidPortalProps) => React__default.ReactPortal;
343
-
344
- interface ThemeNameConsumerProps {
345
- children(name: string): ReactElement;
346
- }
347
- declare const ThemeNameConsumer: ({ children }: ThemeNameConsumerProps) => ReactElement<any, string | React.JSXElementConstructor<any>>;
348
-
349
- declare const useThemeName: () => string;
350
-
351
- declare const useSpace: () => {
352
- grid: number;
353
- space: {
354
- gutter: number;
355
- xxsmall: number;
356
- xsmall: number;
357
- small: number;
358
- medium: number;
359
- large: number;
360
- xlarge: number;
361
- xxlarge: number;
362
- };
363
- };
364
-
365
- declare const useColor: () => {
366
- foreground: {
367
- brandAccentLight: string;
368
- brandAccent: string;
369
- cautionLight: string;
370
- caution: string;
371
- criticalLight: string;
372
- critical: string;
373
- formAccentLight: string;
374
- formAccent: string;
375
- infoLight: string;
376
- info: string;
377
- linkLight: string;
378
- link: string;
379
- linkHover: string;
380
- linkVisited: string;
381
- linkLightVisited: string;
382
- neutral: string;
383
- neutralInverted: string;
384
- positiveLight: string;
385
- positive: string;
386
- promoteLight: string;
387
- promote: string;
388
- rating: string;
389
- secondary: string;
390
- secondaryInverted: string;
391
- };
392
- background: {
393
- body: string;
394
- bodyDark: string;
395
- brand: string;
396
- brandAccent: string;
397
- brandAccentActive: string;
398
- brandAccentHover: string;
399
- brandAccentSoft: string;
400
- brandAccentSoftActive: string;
401
- brandAccentSoftHover: string;
402
- caution: string;
403
- cautionLight: string;
404
- critical: string;
405
- criticalActive: string;
406
- criticalHover: string;
407
- criticalLight: string;
408
- criticalSoft: string;
409
- criticalSoftActive: string;
410
- criticalSoftHover: string;
411
- formAccent: string;
412
- formAccentActive: string;
413
- formAccentHover: string;
414
- formAccentSoft: string;
415
- formAccentSoftActive: string;
416
- formAccentSoftHover: string;
417
- info: string;
418
- infoLight: string;
419
- neutral: string;
420
- neutralActive: string;
421
- neutralHover: string;
422
- neutralLight: string;
423
- neutralSoft: string;
424
- neutralSoftActive: string;
425
- neutralSoftHover: string;
426
- positive: string;
427
- positiveLight: string;
428
- promote: string;
429
- promoteLight: string;
430
- surface: string;
431
- surfaceDark: string;
432
- };
433
- };
434
-
435
- type LegacyBreakpoint = 'mobile' | 'tablet' | 'desktop';
436
- /** @deprecated Use 'useResponsiveValue' instead: https://seek-oss.github.io/braid-design-system/components/useResponsiveValue */
437
- declare const useBreakpoint: () => LegacyBreakpoint | null;
438
-
439
- declare const colorAtomicProperties: {
440
- conditions: {
441
- defaultCondition: "lightMode";
442
- conditionNames: ("lightMode" | "darkMode")[];
443
- };
444
- styles: {
445
- readonly background: {
446
- values: {
447
- body: {
448
- defaultClass: string;
449
- conditions: {
450
- lightMode: string;
451
- darkMode: string;
452
- };
453
- };
454
- bodyDark: {
455
- defaultClass: string;
456
- conditions: {
457
- lightMode: string;
458
- darkMode: string;
459
- };
460
- };
461
- brand: {
462
- defaultClass: string;
463
- conditions: {
464
- lightMode: string;
465
- darkMode: string;
466
- };
467
- };
468
- brandAccent: {
469
- defaultClass: string;
470
- conditions: {
471
- lightMode: string;
472
- darkMode: string;
473
- };
474
- };
475
- brandAccentActive: {
476
- defaultClass: string;
477
- conditions: {
478
- lightMode: string;
479
- darkMode: string;
480
- };
481
- };
482
- brandAccentHover: {
483
- defaultClass: string;
484
- conditions: {
485
- lightMode: string;
486
- darkMode: string;
487
- };
488
- };
489
- brandAccentSoft: {
490
- defaultClass: string;
491
- conditions: {
492
- lightMode: string;
493
- darkMode: string;
494
- };
495
- };
496
- brandAccentSoftActive: {
497
- defaultClass: string;
498
- conditions: {
499
- lightMode: string;
500
- darkMode: string;
501
- };
502
- };
503
- brandAccentSoftHover: {
504
- defaultClass: string;
505
- conditions: {
506
- lightMode: string;
507
- darkMode: string;
508
- };
509
- };
510
- caution: {
511
- defaultClass: string;
512
- conditions: {
513
- lightMode: string;
514
- darkMode: string;
515
- };
516
- };
517
- cautionLight: {
518
- defaultClass: string;
519
- conditions: {
520
- lightMode: string;
521
- darkMode: string;
522
- };
523
- };
524
- critical: {
525
- defaultClass: string;
526
- conditions: {
527
- lightMode: string;
528
- darkMode: string;
529
- };
530
- };
531
- criticalActive: {
532
- defaultClass: string;
533
- conditions: {
534
- lightMode: string;
535
- darkMode: string;
536
- };
537
- };
538
- criticalHover: {
539
- defaultClass: string;
540
- conditions: {
541
- lightMode: string;
542
- darkMode: string;
543
- };
544
- };
545
- criticalLight: {
546
- defaultClass: string;
547
- conditions: {
548
- lightMode: string;
549
- darkMode: string;
550
- };
551
- };
552
- criticalSoft: {
553
- defaultClass: string;
554
- conditions: {
555
- lightMode: string;
556
- darkMode: string;
557
- };
558
- };
559
- criticalSoftActive: {
560
- defaultClass: string;
561
- conditions: {
562
- lightMode: string;
563
- darkMode: string;
564
- };
565
- };
566
- criticalSoftHover: {
567
- defaultClass: string;
568
- conditions: {
569
- lightMode: string;
570
- darkMode: string;
571
- };
572
- };
573
- formAccent: {
574
- defaultClass: string;
575
- conditions: {
576
- lightMode: string;
577
- darkMode: string;
578
- };
579
- };
580
- formAccentActive: {
581
- defaultClass: string;
582
- conditions: {
583
- lightMode: string;
584
- darkMode: string;
585
- };
586
- };
587
- formAccentHover: {
588
- defaultClass: string;
589
- conditions: {
590
- lightMode: string;
591
- darkMode: string;
592
- };
593
- };
594
- formAccentSoft: {
595
- defaultClass: string;
596
- conditions: {
597
- lightMode: string;
598
- darkMode: string;
599
- };
600
- };
601
- formAccentSoftActive: {
602
- defaultClass: string;
603
- conditions: {
604
- lightMode: string;
605
- darkMode: string;
606
- };
607
- };
608
- formAccentSoftHover: {
609
- defaultClass: string;
610
- conditions: {
611
- lightMode: string;
612
- darkMode: string;
613
- };
614
- };
615
- info: {
616
- defaultClass: string;
617
- conditions: {
618
- lightMode: string;
619
- darkMode: string;
620
- };
621
- };
622
- infoLight: {
623
- defaultClass: string;
624
- conditions: {
625
- lightMode: string;
626
- darkMode: string;
627
- };
628
- };
629
- neutral: {
630
- defaultClass: string;
631
- conditions: {
632
- lightMode: string;
633
- darkMode: string;
634
- };
635
- };
636
- neutralActive: {
637
- defaultClass: string;
638
- conditions: {
639
- lightMode: string;
640
- darkMode: string;
641
- };
642
- };
643
- neutralHover: {
644
- defaultClass: string;
645
- conditions: {
646
- lightMode: string;
647
- darkMode: string;
648
- };
649
- };
650
- neutralLight: {
651
- defaultClass: string;
652
- conditions: {
653
- lightMode: string;
654
- darkMode: string;
655
- };
656
- };
657
- neutralSoft: {
658
- defaultClass: string;
659
- conditions: {
660
- lightMode: string;
661
- darkMode: string;
662
- };
663
- };
664
- neutralSoftActive: {
665
- defaultClass: string;
666
- conditions: {
667
- lightMode: string;
668
- darkMode: string;
669
- };
670
- };
671
- neutralSoftHover: {
672
- defaultClass: string;
673
- conditions: {
674
- lightMode: string;
675
- darkMode: string;
676
- };
677
- };
678
- positive: {
679
- defaultClass: string;
680
- conditions: {
681
- lightMode: string;
682
- darkMode: string;
683
- };
684
- };
685
- positiveLight: {
686
- defaultClass: string;
687
- conditions: {
688
- lightMode: string;
689
- darkMode: string;
690
- };
691
- };
692
- promote: {
693
- defaultClass: string;
694
- conditions: {
695
- lightMode: string;
696
- darkMode: string;
697
- };
698
- };
699
- promoteLight: {
700
- defaultClass: string;
701
- conditions: {
702
- lightMode: string;
703
- darkMode: string;
704
- };
705
- };
706
- surface: {
707
- defaultClass: string;
708
- conditions: {
709
- lightMode: string;
710
- darkMode: string;
711
- };
712
- };
713
- surfaceDark: {
714
- defaultClass: string;
715
- conditions: {
716
- lightMode: string;
717
- darkMode: string;
718
- };
719
- };
720
- };
721
- };
722
- readonly boxShadow: {
723
- values: {
724
- medium: {
725
- defaultClass: string;
726
- conditions: {
727
- lightMode: string;
728
- darkMode: string;
729
- };
730
- };
731
- small: {
732
- defaultClass: string;
733
- conditions: {
734
- lightMode: string;
735
- darkMode: string;
736
- };
737
- };
738
- large: {
739
- defaultClass: string;
740
- conditions: {
741
- lightMode: string;
742
- darkMode: string;
743
- };
744
- };
745
- borderBrandAccentLarge: {
746
- defaultClass: string;
747
- conditions: {
748
- lightMode: string;
749
- darkMode: string;
750
- };
751
- };
752
- borderBrandAccentLightLarge: {
753
- defaultClass: string;
754
- conditions: {
755
- lightMode: string;
756
- darkMode: string;
757
- };
758
- };
759
- borderCaution: {
760
- defaultClass: string;
761
- conditions: {
762
- lightMode: string;
763
- darkMode: string;
764
- };
765
- };
766
- borderCautionLight: {
767
- defaultClass: string;
768
- conditions: {
769
- lightMode: string;
770
- darkMode: string;
771
- };
772
- };
773
- borderCritical: {
774
- defaultClass: string;
775
- conditions: {
776
- lightMode: string;
777
- darkMode: string;
778
- };
779
- };
780
- borderCriticalLarge: {
781
- defaultClass: string;
782
- conditions: {
783
- lightMode: string;
784
- darkMode: string;
785
- };
786
- };
787
- borderCriticalLight: {
788
- defaultClass: string;
789
- conditions: {
790
- lightMode: string;
791
- darkMode: string;
792
- };
793
- };
794
- borderCriticalLightLarge: {
795
- defaultClass: string;
796
- conditions: {
797
- lightMode: string;
798
- darkMode: string;
799
- };
800
- };
801
- borderField: {
802
- defaultClass: string;
803
- conditions: {
804
- lightMode: string;
805
- darkMode: string;
806
- };
807
- };
808
- borderFormAccent: {
809
- defaultClass: string;
810
- conditions: {
811
- lightMode: string;
812
- darkMode: string;
813
- };
814
- };
815
- borderFormAccentLarge: {
816
- defaultClass: string;
817
- conditions: {
818
- lightMode: string;
819
- darkMode: string;
820
- };
821
- };
822
- borderFormAccentLight: {
823
- defaultClass: string;
824
- conditions: {
825
- lightMode: string;
826
- darkMode: string;
827
- };
828
- };
829
- borderFormAccentLightLarge: {
830
- defaultClass: string;
831
- conditions: {
832
- lightMode: string;
833
- darkMode: string;
834
- };
835
- };
836
- borderInfo: {
837
- defaultClass: string;
838
- conditions: {
839
- lightMode: string;
840
- darkMode: string;
841
- };
842
- };
843
- borderInfoLight: {
844
- defaultClass: string;
845
- conditions: {
846
- lightMode: string;
847
- darkMode: string;
848
- };
849
- };
850
- borderNeutral: {
851
- defaultClass: string;
852
- conditions: {
853
- lightMode: string;
854
- darkMode: string;
855
- };
856
- };
857
- borderNeutralLarge: {
858
- defaultClass: string;
859
- conditions: {
860
- lightMode: string;
861
- darkMode: string;
862
- };
863
- };
864
- borderNeutralInverted: {
865
- defaultClass: string;
866
- conditions: {
867
- lightMode: string;
868
- darkMode: string;
869
- };
870
- };
871
- borderNeutralInvertedLarge: {
872
- defaultClass: string;
873
- conditions: {
874
- lightMode: string;
875
- darkMode: string;
876
- };
877
- };
878
- borderNeutralLight: {
879
- defaultClass: string;
880
- conditions: {
881
- lightMode: string;
882
- darkMode: string;
883
- };
884
- };
885
- borderPositive: {
886
- defaultClass: string;
887
- conditions: {
888
- lightMode: string;
889
- darkMode: string;
890
- };
891
- };
892
- borderPositiveLight: {
893
- defaultClass: string;
894
- conditions: {
895
- lightMode: string;
896
- darkMode: string;
897
- };
898
- };
899
- borderPromote: {
900
- defaultClass: string;
901
- conditions: {
902
- lightMode: string;
903
- darkMode: string;
904
- };
905
- };
906
- borderPromoteLight: {
907
- defaultClass: string;
908
- conditions: {
909
- lightMode: string;
910
- darkMode: string;
911
- };
912
- };
913
- outlineFocus: {
914
- defaultClass: string;
915
- conditions: {
916
- lightMode: string;
917
- darkMode: string;
918
- };
919
- };
920
- };
921
- };
922
- };
923
- };
924
- declare const responsiveAtomicProperties: {
925
- conditions: {
926
- defaultCondition: "mobile";
927
- conditionNames: ("mobile" | "tablet" | "desktop" | "wide")[];
928
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
929
- length: 4;
930
- };
931
- };
932
- styles: {
933
- readonly display: {
934
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
935
- length: 4;
936
- };
937
- values: {
938
- none: {
939
- defaultClass: string;
940
- conditions: {
941
- mobile: string;
942
- tablet: string;
943
- desktop: string;
944
- wide: string;
945
- };
946
- };
947
- flex: {
948
- defaultClass: string;
949
- conditions: {
950
- mobile: string;
951
- tablet: string;
952
- desktop: string;
953
- wide: string;
954
- };
955
- };
956
- block: {
957
- defaultClass: string;
958
- conditions: {
959
- mobile: string;
960
- tablet: string;
961
- desktop: string;
962
- wide: string;
963
- };
964
- };
965
- inline: {
966
- defaultClass: string;
967
- conditions: {
968
- mobile: string;
969
- tablet: string;
970
- desktop: string;
971
- wide: string;
972
- };
973
- };
974
- inlineBlock: {
975
- defaultClass: string;
976
- conditions: {
977
- mobile: string;
978
- tablet: string;
979
- desktop: string;
980
- wide: string;
981
- };
982
- };
983
- };
984
- };
985
- readonly position: {
986
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
987
- length: 4;
988
- };
989
- values: {
990
- fixed: {
991
- defaultClass: string;
992
- conditions: {
993
- mobile: string;
994
- tablet: string;
995
- desktop: string;
996
- wide: string;
997
- };
998
- };
999
- relative: {
1000
- defaultClass: string;
1001
- conditions: {
1002
- mobile: string;
1003
- tablet: string;
1004
- desktop: string;
1005
- wide: string;
1006
- };
1007
- };
1008
- absolute: {
1009
- defaultClass: string;
1010
- conditions: {
1011
- mobile: string;
1012
- tablet: string;
1013
- desktop: string;
1014
- wide: string;
1015
- };
1016
- };
1017
- };
1018
- };
1019
- readonly borderRadius: {
1020
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1021
- length: 4;
1022
- };
1023
- values: {
1024
- large: {
1025
- defaultClass: string;
1026
- conditions: {
1027
- mobile: string;
1028
- tablet: string;
1029
- desktop: string;
1030
- wide: string;
1031
- };
1032
- };
1033
- xlarge: {
1034
- defaultClass: string;
1035
- conditions: {
1036
- mobile: string;
1037
- tablet: string;
1038
- desktop: string;
1039
- wide: string;
1040
- };
1041
- };
1042
- standard: {
1043
- defaultClass: string;
1044
- conditions: {
1045
- mobile: string;
1046
- tablet: string;
1047
- desktop: string;
1048
- wide: string;
1049
- };
1050
- };
1051
- none: {
1052
- defaultClass: string;
1053
- conditions: {
1054
- mobile: string;
1055
- tablet: string;
1056
- desktop: string;
1057
- wide: string;
1058
- };
1059
- };
1060
- full: {
1061
- defaultClass: string;
1062
- conditions: {
1063
- mobile: string;
1064
- tablet: string;
1065
- desktop: string;
1066
- wide: string;
1067
- };
1068
- };
1069
- };
1070
- };
1071
- readonly paddingTop: {
1072
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1073
- length: 4;
1074
- };
1075
- values: {
1076
- medium: {
1077
- defaultClass: string;
1078
- conditions: {
1079
- mobile: string;
1080
- tablet: string;
1081
- desktop: string;
1082
- wide: string;
1083
- };
1084
- };
1085
- gutter: {
1086
- defaultClass: string;
1087
- conditions: {
1088
- mobile: string;
1089
- tablet: string;
1090
- desktop: string;
1091
- wide: string;
1092
- };
1093
- };
1094
- xxsmall: {
1095
- defaultClass: string;
1096
- conditions: {
1097
- mobile: string;
1098
- tablet: string;
1099
- desktop: string;
1100
- wide: string;
1101
- };
1102
- };
1103
- xsmall: {
1104
- defaultClass: string;
1105
- conditions: {
1106
- mobile: string;
1107
- tablet: string;
1108
- desktop: string;
1109
- wide: string;
1110
- };
1111
- };
1112
- small: {
1113
- defaultClass: string;
1114
- conditions: {
1115
- mobile: string;
1116
- tablet: string;
1117
- desktop: string;
1118
- wide: string;
1119
- };
1120
- };
1121
- large: {
1122
- defaultClass: string;
1123
- conditions: {
1124
- mobile: string;
1125
- tablet: string;
1126
- desktop: string;
1127
- wide: string;
1128
- };
1129
- };
1130
- xlarge: {
1131
- defaultClass: string;
1132
- conditions: {
1133
- mobile: string;
1134
- tablet: string;
1135
- desktop: string;
1136
- wide: string;
1137
- };
1138
- };
1139
- xxlarge: {
1140
- defaultClass: string;
1141
- conditions: {
1142
- mobile: string;
1143
- tablet: string;
1144
- desktop: string;
1145
- wide: string;
1146
- };
1147
- };
1148
- none: {
1149
- defaultClass: string;
1150
- conditions: {
1151
- mobile: string;
1152
- tablet: string;
1153
- desktop: string;
1154
- wide: string;
1155
- };
1156
- };
1157
- };
1158
- };
1159
- readonly paddingBottom: {
1160
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1161
- length: 4;
1162
- };
1163
- values: {
1164
- medium: {
1165
- defaultClass: string;
1166
- conditions: {
1167
- mobile: string;
1168
- tablet: string;
1169
- desktop: string;
1170
- wide: string;
1171
- };
1172
- };
1173
- gutter: {
1174
- defaultClass: string;
1175
- conditions: {
1176
- mobile: string;
1177
- tablet: string;
1178
- desktop: string;
1179
- wide: string;
1180
- };
1181
- };
1182
- xxsmall: {
1183
- defaultClass: string;
1184
- conditions: {
1185
- mobile: string;
1186
- tablet: string;
1187
- desktop: string;
1188
- wide: string;
1189
- };
1190
- };
1191
- xsmall: {
1192
- defaultClass: string;
1193
- conditions: {
1194
- mobile: string;
1195
- tablet: string;
1196
- desktop: string;
1197
- wide: string;
1198
- };
1199
- };
1200
- small: {
1201
- defaultClass: string;
1202
- conditions: {
1203
- mobile: string;
1204
- tablet: string;
1205
- desktop: string;
1206
- wide: string;
1207
- };
1208
- };
1209
- large: {
1210
- defaultClass: string;
1211
- conditions: {
1212
- mobile: string;
1213
- tablet: string;
1214
- desktop: string;
1215
- wide: string;
1216
- };
1217
- };
1218
- xlarge: {
1219
- defaultClass: string;
1220
- conditions: {
1221
- mobile: string;
1222
- tablet: string;
1223
- desktop: string;
1224
- wide: string;
1225
- };
1226
- };
1227
- xxlarge: {
1228
- defaultClass: string;
1229
- conditions: {
1230
- mobile: string;
1231
- tablet: string;
1232
- desktop: string;
1233
- wide: string;
1234
- };
1235
- };
1236
- none: {
1237
- defaultClass: string;
1238
- conditions: {
1239
- mobile: string;
1240
- tablet: string;
1241
- desktop: string;
1242
- wide: string;
1243
- };
1244
- };
1245
- };
1246
- };
1247
- readonly paddingRight: {
1248
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1249
- length: 4;
1250
- };
1251
- values: {
1252
- medium: {
1253
- defaultClass: string;
1254
- conditions: {
1255
- mobile: string;
1256
- tablet: string;
1257
- desktop: string;
1258
- wide: string;
1259
- };
1260
- };
1261
- gutter: {
1262
- defaultClass: string;
1263
- conditions: {
1264
- mobile: string;
1265
- tablet: string;
1266
- desktop: string;
1267
- wide: string;
1268
- };
1269
- };
1270
- xxsmall: {
1271
- defaultClass: string;
1272
- conditions: {
1273
- mobile: string;
1274
- tablet: string;
1275
- desktop: string;
1276
- wide: string;
1277
- };
1278
- };
1279
- xsmall: {
1280
- defaultClass: string;
1281
- conditions: {
1282
- mobile: string;
1283
- tablet: string;
1284
- desktop: string;
1285
- wide: string;
1286
- };
1287
- };
1288
- small: {
1289
- defaultClass: string;
1290
- conditions: {
1291
- mobile: string;
1292
- tablet: string;
1293
- desktop: string;
1294
- wide: string;
1295
- };
1296
- };
1297
- large: {
1298
- defaultClass: string;
1299
- conditions: {
1300
- mobile: string;
1301
- tablet: string;
1302
- desktop: string;
1303
- wide: string;
1304
- };
1305
- };
1306
- xlarge: {
1307
- defaultClass: string;
1308
- conditions: {
1309
- mobile: string;
1310
- tablet: string;
1311
- desktop: string;
1312
- wide: string;
1313
- };
1314
- };
1315
- xxlarge: {
1316
- defaultClass: string;
1317
- conditions: {
1318
- mobile: string;
1319
- tablet: string;
1320
- desktop: string;
1321
- wide: string;
1322
- };
1323
- };
1324
- none: {
1325
- defaultClass: string;
1326
- conditions: {
1327
- mobile: string;
1328
- tablet: string;
1329
- desktop: string;
1330
- wide: string;
1331
- };
1332
- };
1333
- };
1334
- };
1335
- readonly paddingLeft: {
1336
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1337
- length: 4;
1338
- };
1339
- values: {
1340
- medium: {
1341
- defaultClass: string;
1342
- conditions: {
1343
- mobile: string;
1344
- tablet: string;
1345
- desktop: string;
1346
- wide: string;
1347
- };
1348
- };
1349
- gutter: {
1350
- defaultClass: string;
1351
- conditions: {
1352
- mobile: string;
1353
- tablet: string;
1354
- desktop: string;
1355
- wide: string;
1356
- };
1357
- };
1358
- xxsmall: {
1359
- defaultClass: string;
1360
- conditions: {
1361
- mobile: string;
1362
- tablet: string;
1363
- desktop: string;
1364
- wide: string;
1365
- };
1366
- };
1367
- xsmall: {
1368
- defaultClass: string;
1369
- conditions: {
1370
- mobile: string;
1371
- tablet: string;
1372
- desktop: string;
1373
- wide: string;
1374
- };
1375
- };
1376
- small: {
1377
- defaultClass: string;
1378
- conditions: {
1379
- mobile: string;
1380
- tablet: string;
1381
- desktop: string;
1382
- wide: string;
1383
- };
1384
- };
1385
- large: {
1386
- defaultClass: string;
1387
- conditions: {
1388
- mobile: string;
1389
- tablet: string;
1390
- desktop: string;
1391
- wide: string;
1392
- };
1393
- };
1394
- xlarge: {
1395
- defaultClass: string;
1396
- conditions: {
1397
- mobile: string;
1398
- tablet: string;
1399
- desktop: string;
1400
- wide: string;
1401
- };
1402
- };
1403
- xxlarge: {
1404
- defaultClass: string;
1405
- conditions: {
1406
- mobile: string;
1407
- tablet: string;
1408
- desktop: string;
1409
- wide: string;
1410
- };
1411
- };
1412
- none: {
1413
- defaultClass: string;
1414
- conditions: {
1415
- mobile: string;
1416
- tablet: string;
1417
- desktop: string;
1418
- wide: string;
1419
- };
1420
- };
1421
- };
1422
- };
1423
- readonly marginTop: {
1424
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1425
- length: 4;
1426
- };
1427
- values: {
1428
- medium: {
1429
- defaultClass: string;
1430
- conditions: {
1431
- mobile: string;
1432
- tablet: string;
1433
- desktop: string;
1434
- wide: string;
1435
- };
1436
- };
1437
- gutter: {
1438
- defaultClass: string;
1439
- conditions: {
1440
- mobile: string;
1441
- tablet: string;
1442
- desktop: string;
1443
- wide: string;
1444
- };
1445
- };
1446
- xxsmall: {
1447
- defaultClass: string;
1448
- conditions: {
1449
- mobile: string;
1450
- tablet: string;
1451
- desktop: string;
1452
- wide: string;
1453
- };
1454
- };
1455
- xsmall: {
1456
- defaultClass: string;
1457
- conditions: {
1458
- mobile: string;
1459
- tablet: string;
1460
- desktop: string;
1461
- wide: string;
1462
- };
1463
- };
1464
- small: {
1465
- defaultClass: string;
1466
- conditions: {
1467
- mobile: string;
1468
- tablet: string;
1469
- desktop: string;
1470
- wide: string;
1471
- };
1472
- };
1473
- large: {
1474
- defaultClass: string;
1475
- conditions: {
1476
- mobile: string;
1477
- tablet: string;
1478
- desktop: string;
1479
- wide: string;
1480
- };
1481
- };
1482
- xlarge: {
1483
- defaultClass: string;
1484
- conditions: {
1485
- mobile: string;
1486
- tablet: string;
1487
- desktop: string;
1488
- wide: string;
1489
- };
1490
- };
1491
- xxlarge: {
1492
- defaultClass: string;
1493
- conditions: {
1494
- mobile: string;
1495
- tablet: string;
1496
- desktop: string;
1497
- wide: string;
1498
- };
1499
- };
1500
- none: {
1501
- defaultClass: string;
1502
- conditions: {
1503
- mobile: string;
1504
- tablet: string;
1505
- desktop: string;
1506
- wide: string;
1507
- };
1508
- };
1509
- };
1510
- };
1511
- readonly marginBottom: {
1512
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1513
- length: 4;
1514
- };
1515
- values: {
1516
- medium: {
1517
- defaultClass: string;
1518
- conditions: {
1519
- mobile: string;
1520
- tablet: string;
1521
- desktop: string;
1522
- wide: string;
1523
- };
1524
- };
1525
- gutter: {
1526
- defaultClass: string;
1527
- conditions: {
1528
- mobile: string;
1529
- tablet: string;
1530
- desktop: string;
1531
- wide: string;
1532
- };
1533
- };
1534
- xxsmall: {
1535
- defaultClass: string;
1536
- conditions: {
1537
- mobile: string;
1538
- tablet: string;
1539
- desktop: string;
1540
- wide: string;
1541
- };
1542
- };
1543
- xsmall: {
1544
- defaultClass: string;
1545
- conditions: {
1546
- mobile: string;
1547
- tablet: string;
1548
- desktop: string;
1549
- wide: string;
1550
- };
1551
- };
1552
- small: {
1553
- defaultClass: string;
1554
- conditions: {
1555
- mobile: string;
1556
- tablet: string;
1557
- desktop: string;
1558
- wide: string;
1559
- };
1560
- };
1561
- large: {
1562
- defaultClass: string;
1563
- conditions: {
1564
- mobile: string;
1565
- tablet: string;
1566
- desktop: string;
1567
- wide: string;
1568
- };
1569
- };
1570
- xlarge: {
1571
- defaultClass: string;
1572
- conditions: {
1573
- mobile: string;
1574
- tablet: string;
1575
- desktop: string;
1576
- wide: string;
1577
- };
1578
- };
1579
- xxlarge: {
1580
- defaultClass: string;
1581
- conditions: {
1582
- mobile: string;
1583
- tablet: string;
1584
- desktop: string;
1585
- wide: string;
1586
- };
1587
- };
1588
- none: {
1589
- defaultClass: string;
1590
- conditions: {
1591
- mobile: string;
1592
- tablet: string;
1593
- desktop: string;
1594
- wide: string;
1595
- };
1596
- };
1597
- };
1598
- };
1599
- readonly marginRight: {
1600
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1601
- length: 4;
1602
- };
1603
- values: {
1604
- medium: {
1605
- defaultClass: string;
1606
- conditions: {
1607
- mobile: string;
1608
- tablet: string;
1609
- desktop: string;
1610
- wide: string;
1611
- };
1612
- };
1613
- gutter: {
1614
- defaultClass: string;
1615
- conditions: {
1616
- mobile: string;
1617
- tablet: string;
1618
- desktop: string;
1619
- wide: string;
1620
- };
1621
- };
1622
- xxsmall: {
1623
- defaultClass: string;
1624
- conditions: {
1625
- mobile: string;
1626
- tablet: string;
1627
- desktop: string;
1628
- wide: string;
1629
- };
1630
- };
1631
- xsmall: {
1632
- defaultClass: string;
1633
- conditions: {
1634
- mobile: string;
1635
- tablet: string;
1636
- desktop: string;
1637
- wide: string;
1638
- };
1639
- };
1640
- small: {
1641
- defaultClass: string;
1642
- conditions: {
1643
- mobile: string;
1644
- tablet: string;
1645
- desktop: string;
1646
- wide: string;
1647
- };
1648
- };
1649
- large: {
1650
- defaultClass: string;
1651
- conditions: {
1652
- mobile: string;
1653
- tablet: string;
1654
- desktop: string;
1655
- wide: string;
1656
- };
1657
- };
1658
- xlarge: {
1659
- defaultClass: string;
1660
- conditions: {
1661
- mobile: string;
1662
- tablet: string;
1663
- desktop: string;
1664
- wide: string;
1665
- };
1666
- };
1667
- xxlarge: {
1668
- defaultClass: string;
1669
- conditions: {
1670
- mobile: string;
1671
- tablet: string;
1672
- desktop: string;
1673
- wide: string;
1674
- };
1675
- };
1676
- none: {
1677
- defaultClass: string;
1678
- conditions: {
1679
- mobile: string;
1680
- tablet: string;
1681
- desktop: string;
1682
- wide: string;
1683
- };
1684
- };
1685
- };
1686
- };
1687
- readonly marginLeft: {
1688
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1689
- length: 4;
1690
- };
1691
- values: {
1692
- medium: {
1693
- defaultClass: string;
1694
- conditions: {
1695
- mobile: string;
1696
- tablet: string;
1697
- desktop: string;
1698
- wide: string;
1699
- };
1700
- };
1701
- gutter: {
1702
- defaultClass: string;
1703
- conditions: {
1704
- mobile: string;
1705
- tablet: string;
1706
- desktop: string;
1707
- wide: string;
1708
- };
1709
- };
1710
- xxsmall: {
1711
- defaultClass: string;
1712
- conditions: {
1713
- mobile: string;
1714
- tablet: string;
1715
- desktop: string;
1716
- wide: string;
1717
- };
1718
- };
1719
- xsmall: {
1720
- defaultClass: string;
1721
- conditions: {
1722
- mobile: string;
1723
- tablet: string;
1724
- desktop: string;
1725
- wide: string;
1726
- };
1727
- };
1728
- small: {
1729
- defaultClass: string;
1730
- conditions: {
1731
- mobile: string;
1732
- tablet: string;
1733
- desktop: string;
1734
- wide: string;
1735
- };
1736
- };
1737
- large: {
1738
- defaultClass: string;
1739
- conditions: {
1740
- mobile: string;
1741
- tablet: string;
1742
- desktop: string;
1743
- wide: string;
1744
- };
1745
- };
1746
- xlarge: {
1747
- defaultClass: string;
1748
- conditions: {
1749
- mobile: string;
1750
- tablet: string;
1751
- desktop: string;
1752
- wide: string;
1753
- };
1754
- };
1755
- xxlarge: {
1756
- defaultClass: string;
1757
- conditions: {
1758
- mobile: string;
1759
- tablet: string;
1760
- desktop: string;
1761
- wide: string;
1762
- };
1763
- };
1764
- none: {
1765
- defaultClass: string;
1766
- conditions: {
1767
- mobile: string;
1768
- tablet: string;
1769
- desktop: string;
1770
- wide: string;
1771
- };
1772
- };
1773
- };
1774
- };
1775
- readonly alignItems: {
1776
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1777
- length: 4;
1778
- };
1779
- values: {
1780
- center: {
1781
- defaultClass: string;
1782
- conditions: {
1783
- mobile: string;
1784
- tablet: string;
1785
- desktop: string;
1786
- wide: string;
1787
- };
1788
- };
1789
- flexStart: {
1790
- defaultClass: string;
1791
- conditions: {
1792
- mobile: string;
1793
- tablet: string;
1794
- desktop: string;
1795
- wide: string;
1796
- };
1797
- };
1798
- flexEnd: {
1799
- defaultClass: string;
1800
- conditions: {
1801
- mobile: string;
1802
- tablet: string;
1803
- desktop: string;
1804
- wide: string;
1805
- };
1806
- };
1807
- };
1808
- };
1809
- readonly justifyContent: {
1810
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1811
- length: 4;
1812
- };
1813
- values: {
1814
- center: {
1815
- defaultClass: string;
1816
- conditions: {
1817
- mobile: string;
1818
- tablet: string;
1819
- desktop: string;
1820
- wide: string;
1821
- };
1822
- };
1823
- flexStart: {
1824
- defaultClass: string;
1825
- conditions: {
1826
- mobile: string;
1827
- tablet: string;
1828
- desktop: string;
1829
- wide: string;
1830
- };
1831
- };
1832
- flexEnd: {
1833
- defaultClass: string;
1834
- conditions: {
1835
- mobile: string;
1836
- tablet: string;
1837
- desktop: string;
1838
- wide: string;
1839
- };
1840
- };
1841
- spaceBetween: {
1842
- defaultClass: string;
1843
- conditions: {
1844
- mobile: string;
1845
- tablet: string;
1846
- desktop: string;
1847
- wide: string;
1848
- };
1849
- };
1850
- };
1851
- };
1852
- readonly flexDirection: {
1853
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1854
- length: 4;
1855
- };
1856
- values: {
1857
- row: {
1858
- defaultClass: string;
1859
- conditions: {
1860
- mobile: string;
1861
- tablet: string;
1862
- desktop: string;
1863
- wide: string;
1864
- };
1865
- };
1866
- column: {
1867
- defaultClass: string;
1868
- conditions: {
1869
- mobile: string;
1870
- tablet: string;
1871
- desktop: string;
1872
- wide: string;
1873
- };
1874
- };
1875
- rowReverse: {
1876
- defaultClass: string;
1877
- conditions: {
1878
- mobile: string;
1879
- tablet: string;
1880
- desktop: string;
1881
- wide: string;
1882
- };
1883
- };
1884
- columnReverse: {
1885
- defaultClass: string;
1886
- conditions: {
1887
- mobile: string;
1888
- tablet: string;
1889
- desktop: string;
1890
- wide: string;
1891
- };
1892
- };
1893
- };
1894
- };
1895
- readonly flexWrap: {
1896
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1897
- length: 4;
1898
- };
1899
- values: {
1900
- wrap: {
1901
- defaultClass: string;
1902
- conditions: {
1903
- mobile: string;
1904
- tablet: string;
1905
- desktop: string;
1906
- wide: string;
1907
- };
1908
- };
1909
- nowrap: {
1910
- defaultClass: string;
1911
- conditions: {
1912
- mobile: string;
1913
- tablet: string;
1914
- desktop: string;
1915
- wide: string;
1916
- };
1917
- };
1918
- };
1919
- };
1920
- readonly flexShrink: {
1921
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1922
- length: 4;
1923
- };
1924
- values: {
1925
- 0: {
1926
- defaultClass: string;
1927
- conditions: {
1928
- mobile: string;
1929
- tablet: string;
1930
- desktop: string;
1931
- wide: string;
1932
- };
1933
- };
1934
- };
1935
- };
1936
- readonly flexGrow: {
1937
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1938
- length: 4;
1939
- };
1940
- values: {
1941
- 0: {
1942
- defaultClass: string;
1943
- conditions: {
1944
- mobile: string;
1945
- tablet: string;
1946
- desktop: string;
1947
- wide: string;
1948
- };
1949
- };
1950
- 1: {
1951
- defaultClass: string;
1952
- conditions: {
1953
- mobile: string;
1954
- tablet: string;
1955
- desktop: string;
1956
- wide: string;
1957
- };
1958
- };
1959
- };
1960
- };
1961
- readonly textAlign: {
1962
- responsiveArray: ("mobile" | "tablet" | "desktop" | "wide")[] & {
1963
- length: 4;
1964
- };
1965
- values: {
1966
- center: {
1967
- defaultClass: string;
1968
- conditions: {
1969
- mobile: string;
1970
- tablet: string;
1971
- desktop: string;
1972
- wide: string;
1973
- };
1974
- };
1975
- left: {
1976
- defaultClass: string;
1977
- conditions: {
1978
- mobile: string;
1979
- tablet: string;
1980
- desktop: string;
1981
- wide: string;
1982
- };
1983
- };
1984
- right: {
1985
- defaultClass: string;
1986
- conditions: {
1987
- mobile: string;
1988
- tablet: string;
1989
- desktop: string;
1990
- wide: string;
1991
- };
1992
- };
1993
- };
1994
- };
1995
- };
1996
- } & {
1997
- styles: {
1998
- padding: {
1999
- mappings: ("paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop")[];
2000
- };
2001
- paddingY: {
2002
- mappings: ("paddingBottom" | "paddingTop")[];
2003
- };
2004
- paddingX: {
2005
- mappings: ("paddingLeft" | "paddingRight")[];
2006
- };
2007
- margin: {
2008
- mappings: ("marginBottom" | "marginLeft" | "marginRight" | "marginTop")[];
2009
- };
2010
- marginY: {
2011
- mappings: ("marginBottom" | "marginTop")[];
2012
- };
2013
- marginX: {
2014
- mappings: ("marginLeft" | "marginRight")[];
2015
- };
2016
- };
2017
- };
2018
- declare const sprinkles: ((props: {
2019
- readonly overflow?: "hidden" | "scroll" | "visible" | "auto" | undefined;
2020
- readonly userSelect?: "none" | undefined;
2021
- readonly outline?: "none" | undefined;
2022
- readonly opacity?: 0 | undefined;
2023
- readonly zIndex?: 0 | 1 | 2 | "dropdownBackdrop" | "dropdown" | "sticky" | "modalBackdrop" | "modal" | "notification" | undefined;
2024
- readonly cursor?: "default" | "pointer" | undefined;
2025
- readonly pointerEvents?: "none" | undefined;
2026
- readonly top?: 0 | undefined;
2027
- readonly bottom?: 0 | undefined;
2028
- readonly left?: 0 | undefined;
2029
- readonly right?: 0 | undefined;
2030
- readonly height?: "touchable" | "full" | undefined;
2031
- readonly width?: "touchable" | "full" | undefined;
2032
- readonly minWidth?: 0 | undefined;
2033
- readonly maxWidth?: "medium" | "xsmall" | "small" | "large" | undefined;
2034
- readonly transition?: "fast" | "touchable" | undefined;
2035
- inset?: 0 | undefined;
2036
- } & {
2037
- readonly display?: (("none" | "flex" | "block" | "inline" | "inlineBlock" | {
2038
- mobile?: "none" | "flex" | "block" | "inline" | "inlineBlock" | undefined;
2039
- tablet?: "none" | "flex" | "block" | "inline" | "inlineBlock" | undefined;
2040
- desktop?: "none" | "flex" | "block" | "inline" | "inlineBlock" | undefined;
2041
- wide?: "none" | "flex" | "block" | "inline" | "inlineBlock" | undefined;
2042
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "none" | "flex" | "block" | "inline" | "inlineBlock" | null>) | undefined;
2043
- readonly position?: (("fixed" | "relative" | "absolute" | {
2044
- mobile?: "fixed" | "relative" | "absolute" | undefined;
2045
- tablet?: "fixed" | "relative" | "absolute" | undefined;
2046
- desktop?: "fixed" | "relative" | "absolute" | undefined;
2047
- wide?: "fixed" | "relative" | "absolute" | undefined;
2048
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "fixed" | "relative" | "absolute" | null>) | undefined;
2049
- readonly borderRadius?: (("large" | "xlarge" | "standard" | "none" | "full" | {
2050
- mobile?: "large" | "xlarge" | "standard" | "none" | "full" | undefined;
2051
- tablet?: "large" | "xlarge" | "standard" | "none" | "full" | undefined;
2052
- desktop?: "large" | "xlarge" | "standard" | "none" | "full" | undefined;
2053
- wide?: "large" | "xlarge" | "standard" | "none" | "full" | undefined;
2054
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "large" | "xlarge" | "standard" | "none" | "full" | null>) | undefined;
2055
- readonly paddingTop?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2056
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2057
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2058
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2059
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2060
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2061
- readonly paddingBottom?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2062
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2063
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2064
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2065
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2066
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2067
- readonly paddingRight?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2068
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2069
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2070
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2071
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2072
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2073
- readonly paddingLeft?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2074
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2075
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2076
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2077
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2078
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2079
- readonly marginTop?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2080
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2081
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2082
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2083
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2084
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2085
- readonly marginBottom?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2086
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2087
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2088
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2089
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2090
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2091
- readonly marginRight?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2092
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2093
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2094
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2095
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2096
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2097
- readonly marginLeft?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2098
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2099
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2100
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2101
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2102
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2103
- readonly alignItems?: (("center" | "flexStart" | "flexEnd" | {
2104
- mobile?: "center" | "flexStart" | "flexEnd" | undefined;
2105
- tablet?: "center" | "flexStart" | "flexEnd" | undefined;
2106
- desktop?: "center" | "flexStart" | "flexEnd" | undefined;
2107
- wide?: "center" | "flexStart" | "flexEnd" | undefined;
2108
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "center" | "flexStart" | "flexEnd" | null>) | undefined;
2109
- readonly justifyContent?: (("center" | "flexStart" | "flexEnd" | "spaceBetween" | {
2110
- mobile?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | undefined;
2111
- tablet?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | undefined;
2112
- desktop?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | undefined;
2113
- wide?: "center" | "flexStart" | "flexEnd" | "spaceBetween" | undefined;
2114
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "center" | "flexStart" | "flexEnd" | "spaceBetween" | null>) | undefined;
2115
- readonly flexDirection?: (("row" | "column" | "rowReverse" | "columnReverse" | {
2116
- mobile?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
2117
- tablet?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
2118
- desktop?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
2119
- wide?: "row" | "column" | "rowReverse" | "columnReverse" | undefined;
2120
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "row" | "column" | "rowReverse" | "columnReverse" | null>) | undefined;
2121
- readonly flexWrap?: (("wrap" | "nowrap" | {
2122
- mobile?: "wrap" | "nowrap" | undefined;
2123
- tablet?: "wrap" | "nowrap" | undefined;
2124
- desktop?: "wrap" | "nowrap" | undefined;
2125
- wide?: "wrap" | "nowrap" | undefined;
2126
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "wrap" | "nowrap" | null>) | undefined;
2127
- readonly flexShrink?: ((0 | {
2128
- mobile?: 0 | undefined;
2129
- tablet?: 0 | undefined;
2130
- desktop?: 0 | undefined;
2131
- wide?: 0 | undefined;
2132
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, 0 | null>) | undefined;
2133
- readonly flexGrow?: ((0 | 1 | {
2134
- mobile?: 0 | 1 | undefined;
2135
- tablet?: 0 | 1 | undefined;
2136
- desktop?: 0 | 1 | undefined;
2137
- wide?: 0 | 1 | undefined;
2138
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, 0 | 1 | null>) | undefined;
2139
- readonly textAlign?: (("center" | "left" | "right" | {
2140
- mobile?: "center" | "left" | "right" | undefined;
2141
- tablet?: "center" | "left" | "right" | undefined;
2142
- desktop?: "center" | "left" | "right" | undefined;
2143
- wide?: "center" | "left" | "right" | undefined;
2144
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "center" | "left" | "right" | null>) | undefined;
2145
- padding?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2146
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2147
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2148
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2149
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2150
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2151
- paddingY?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2152
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2153
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2154
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2155
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2156
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2157
- paddingX?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2158
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2159
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2160
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2161
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2162
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2163
- margin?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2164
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2165
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2166
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2167
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2168
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2169
- marginY?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2170
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2171
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2172
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2173
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2174
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2175
- marginX?: (("medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | {
2176
- mobile?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2177
- tablet?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2178
- desktop?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2179
- wide?: "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | undefined;
2180
- }) | _vanilla_extract_sprinkles.ResponsiveArray<1 | 2 | 4 | 3, "medium" | "gutter" | "xxsmall" | "xsmall" | "small" | "large" | "xlarge" | "xxlarge" | "none" | null>) | undefined;
2181
- } & {
2182
- readonly transform?: {
2183
- active?: "touchable" | undefined;
2184
- } | undefined;
2185
- } & {
2186
- readonly background?: ("body" | "bodyDark" | "brand" | "brandAccent" | "brandAccentActive" | "brandAccentHover" | "brandAccentSoft" | "brandAccentSoftActive" | "brandAccentSoftHover" | "caution" | "cautionLight" | "critical" | "criticalActive" | "criticalHover" | "criticalLight" | "criticalSoft" | "criticalSoftActive" | "criticalSoftHover" | "formAccent" | "formAccentActive" | "formAccentHover" | "formAccentSoft" | "formAccentSoftActive" | "formAccentSoftHover" | "info" | "infoLight" | "neutral" | "neutralActive" | "neutralHover" | "neutralLight" | "neutralSoft" | "neutralSoftActive" | "neutralSoftHover" | "positive" | "positiveLight" | "promote" | "promoteLight" | "surface" | "surfaceDark" | {
2187
- lightMode?: "body" | "bodyDark" | "brand" | "brandAccent" | "brandAccentActive" | "brandAccentHover" | "brandAccentSoft" | "brandAccentSoftActive" | "brandAccentSoftHover" | "caution" | "cautionLight" | "critical" | "criticalActive" | "criticalHover" | "criticalLight" | "criticalSoft" | "criticalSoftActive" | "criticalSoftHover" | "formAccent" | "formAccentActive" | "formAccentHover" | "formAccentSoft" | "formAccentSoftActive" | "formAccentSoftHover" | "info" | "infoLight" | "neutral" | "neutralActive" | "neutralHover" | "neutralLight" | "neutralSoft" | "neutralSoftActive" | "neutralSoftHover" | "positive" | "positiveLight" | "promote" | "promoteLight" | "surface" | "surfaceDark" | undefined;
2188
- darkMode?: "body" | "bodyDark" | "brand" | "brandAccent" | "brandAccentActive" | "brandAccentHover" | "brandAccentSoft" | "brandAccentSoftActive" | "brandAccentSoftHover" | "caution" | "cautionLight" | "critical" | "criticalActive" | "criticalHover" | "criticalLight" | "criticalSoft" | "criticalSoftActive" | "criticalSoftHover" | "formAccent" | "formAccentActive" | "formAccentHover" | "formAccentSoft" | "formAccentSoftActive" | "formAccentSoftHover" | "info" | "infoLight" | "neutral" | "neutralActive" | "neutralHover" | "neutralLight" | "neutralSoft" | "neutralSoftActive" | "neutralSoftHover" | "positive" | "positiveLight" | "promote" | "promoteLight" | "surface" | "surfaceDark" | undefined;
2189
- }) | undefined;
2190
- readonly boxShadow?: ("medium" | "small" | "large" | "borderBrandAccentLarge" | "borderBrandAccentLightLarge" | "borderCaution" | "borderCautionLight" | "borderCritical" | "borderCriticalLarge" | "borderCriticalLight" | "borderCriticalLightLarge" | "borderField" | "borderFormAccent" | "borderFormAccentLarge" | "borderFormAccentLight" | "borderFormAccentLightLarge" | "borderInfo" | "borderInfoLight" | "borderNeutral" | "borderNeutralLarge" | "borderNeutralInverted" | "borderNeutralInvertedLarge" | "borderNeutralLight" | "borderPositive" | "borderPositiveLight" | "borderPromote" | "borderPromoteLight" | "outlineFocus" | {
2191
- lightMode?: "medium" | "small" | "large" | "borderBrandAccentLarge" | "borderBrandAccentLightLarge" | "borderCaution" | "borderCautionLight" | "borderCritical" | "borderCriticalLarge" | "borderCriticalLight" | "borderCriticalLightLarge" | "borderField" | "borderFormAccent" | "borderFormAccentLarge" | "borderFormAccentLight" | "borderFormAccentLightLarge" | "borderInfo" | "borderInfoLight" | "borderNeutral" | "borderNeutralLarge" | "borderNeutralInverted" | "borderNeutralInvertedLarge" | "borderNeutralLight" | "borderPositive" | "borderPositiveLight" | "borderPromote" | "borderPromoteLight" | "outlineFocus" | undefined;
2192
- darkMode?: "medium" | "small" | "large" | "borderBrandAccentLarge" | "borderBrandAccentLightLarge" | "borderCaution" | "borderCautionLight" | "borderCritical" | "borderCriticalLarge" | "borderCriticalLight" | "borderCriticalLightLarge" | "borderField" | "borderFormAccent" | "borderFormAccentLarge" | "borderFormAccentLight" | "borderFormAccentLightLarge" | "borderInfo" | "borderInfoLight" | "borderNeutral" | "borderNeutralLarge" | "borderNeutralInverted" | "borderNeutralInvertedLarge" | "borderNeutralLight" | "borderPositive" | "borderPositiveLight" | "borderPromote" | "borderPromoteLight" | "outlineFocus" | undefined;
2193
- }) | undefined;
2194
- }) => string) & {
2195
- properties: Set<"background" | "borderRadius" | "transition" | "transform" | "alignItems" | "bottom" | "boxShadow" | "cursor" | "display" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "height" | "inset" | "justifyContent" | "left" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxWidth" | "minWidth" | "opacity" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "pointerEvents" | "position" | "right" | "textAlign" | "top" | "userSelect" | "width" | "zIndex" | "margin" | "outline" | "overflow" | "padding" | "paddingY" | "paddingX" | "marginY" | "marginX">;
2196
- };
2197
- type OptionalResponsiveValue<Value extends string | number> = ConditionalValue<typeof responsiveAtomicProperties, Value>;
2198
- type RequiredResponsiveValue<Value extends string | number> = RequiredConditionalValue<typeof responsiveAtomicProperties, Value>;
2199
- type RequiredResponsiveObject<Value> = Partial<Record<Breakpoint, Value>> & Record<(typeof breakpointNames)[0], Value>;
2200
- type ColorModeValue<Value extends string | number> = ConditionalValue<typeof colorAtomicProperties, Value>;
2201
-
2202
- declare const useResponsiveValue: () => <Value>(value: RequiredResponsiveObject<Value>) => Value | null;
2203
-
2204
- interface ReactNodeArray extends Array<ReactNodeNoStrings> {
2205
- }
2206
- type ReactNodeNoStrings = ReactElement | ReactNodeArray | boolean | null | undefined;
2207
-
2208
- type DataAttributeMap = Record<string, string | number | boolean>;
2209
-
2210
- declare const vars: {
2211
- readonly space: {
2212
- gutter: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2213
- xxsmall: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2214
- xsmall: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2215
- small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2216
- medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2217
- large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2218
- xlarge: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2219
- xxlarge: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2220
- };
2221
- readonly touchableSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2222
- readonly grid: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2223
- readonly borderRadius: {
2224
- standard: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2225
- large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2226
- xlarge: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2227
- };
2228
- readonly borderColor: {
2229
- brandAccent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2230
- brandAccentLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2231
- caution: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2232
- cautionLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2233
- critical: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2234
- criticalLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2235
- field: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2236
- focus: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2237
- formAccent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2238
- formAccentLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2239
- info: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2240
- infoLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2241
- neutral: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2242
- neutralInverted: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2243
- neutralLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2244
- positive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2245
- positiveLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2246
- promote: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2247
- promoteLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2248
- };
2249
- readonly borderWidth: {
2250
- standard: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2251
- large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2252
- };
2253
- readonly focusRingSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2254
- readonly contentWidth: {
2255
- xsmall: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2256
- small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2257
- medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2258
- large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2259
- };
2260
- readonly foregroundColor: {
2261
- brandAccentLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2262
- brandAccent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2263
- cautionLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2264
- caution: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2265
- criticalLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2266
- critical: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2267
- formAccentLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2268
- formAccent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2269
- infoLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2270
- info: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2271
- linkLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2272
- link: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2273
- linkHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2274
- linkVisited: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2275
- linkLightVisited: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2276
- neutral: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2277
- neutralInverted: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2278
- positiveLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2279
- positive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2280
- promoteLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2281
- promote: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2282
- rating: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2283
- secondary: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2284
- secondaryInverted: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2285
- };
2286
- readonly backgroundColor: {
2287
- body: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2288
- bodyDark: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2289
- brand: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2290
- brandAccent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2291
- brandAccentActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2292
- brandAccentHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2293
- brandAccentSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2294
- brandAccentSoftActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2295
- brandAccentSoftHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2296
- caution: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2297
- cautionLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2298
- critical: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2299
- criticalActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2300
- criticalHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2301
- criticalLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2302
- criticalSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2303
- criticalSoftActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2304
- criticalSoftHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2305
- formAccent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2306
- formAccentActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2307
- formAccentHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2308
- formAccentSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2309
- formAccentSoftActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2310
- formAccentSoftHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2311
- info: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2312
- infoLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2313
- neutral: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2314
- neutralActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2315
- neutralHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2316
- neutralLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2317
- neutralSoft: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2318
- neutralSoftActive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2319
- neutralSoftHover: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2320
- positive: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2321
- positiveLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2322
- promote: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2323
- promoteLight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2324
- surface: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2325
- surfaceDark: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2326
- };
2327
- readonly fontFamily: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2328
- readonly fontMetrics: {
2329
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2330
- ascent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2331
- descent: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2332
- lineGap: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2333
- unitsPerEm: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2334
- };
2335
- readonly textSize: {
2336
- xsmall: {
2337
- mobile: {
2338
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2339
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2340
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2341
- capsizeTrims: {
2342
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2343
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2344
- };
2345
- };
2346
- tablet: {
2347
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2348
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2349
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2350
- capsizeTrims: {
2351
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2352
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2353
- };
2354
- };
2355
- };
2356
- small: {
2357
- mobile: {
2358
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2359
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2360
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2361
- capsizeTrims: {
2362
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2363
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2364
- };
2365
- };
2366
- tablet: {
2367
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2368
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2369
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2370
- capsizeTrims: {
2371
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2372
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2373
- };
2374
- };
2375
- };
2376
- standard: {
2377
- mobile: {
2378
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2379
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2380
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2381
- capsizeTrims: {
2382
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2383
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2384
- };
2385
- };
2386
- tablet: {
2387
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2388
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2389
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2390
- capsizeTrims: {
2391
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2392
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2393
- };
2394
- };
2395
- };
2396
- large: {
2397
- mobile: {
2398
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2399
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2400
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2401
- capsizeTrims: {
2402
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2403
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2404
- };
2405
- };
2406
- tablet: {
2407
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2408
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2409
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2410
- capsizeTrims: {
2411
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2412
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2413
- };
2414
- };
2415
- };
2416
- };
2417
- readonly textWeight: {
2418
- regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2419
- medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2420
- strong: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2421
- };
2422
- readonly headingLevel: {
2423
- 1: {
2424
- mobile: {
2425
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2426
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2427
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2428
- capsizeTrims: {
2429
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2430
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2431
- };
2432
- };
2433
- tablet: {
2434
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2435
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2436
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2437
- capsizeTrims: {
2438
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2439
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2440
- };
2441
- };
2442
- };
2443
- 2: {
2444
- mobile: {
2445
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2446
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2447
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2448
- capsizeTrims: {
2449
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2450
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2451
- };
2452
- };
2453
- tablet: {
2454
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2455
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2456
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2457
- capsizeTrims: {
2458
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2459
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2460
- };
2461
- };
2462
- };
2463
- 3: {
2464
- mobile: {
2465
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2466
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2467
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2468
- capsizeTrims: {
2469
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2470
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2471
- };
2472
- };
2473
- tablet: {
2474
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2475
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2476
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2477
- capsizeTrims: {
2478
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2479
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2480
- };
2481
- };
2482
- };
2483
- 4: {
2484
- mobile: {
2485
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2486
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2487
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2488
- capsizeTrims: {
2489
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2490
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2491
- };
2492
- };
2493
- tablet: {
2494
- fontSize: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2495
- lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2496
- capHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2497
- capsizeTrims: {
2498
- capHeightTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2499
- baselineTrim: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2500
- };
2501
- };
2502
- };
2503
- };
2504
- readonly headingWeight: {
2505
- readonly weak: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2506
- readonly regular: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2507
- };
2508
- readonly inlineFieldSize: {
2509
- readonly standard: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2510
- readonly small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2511
- };
2512
- readonly transition: {
2513
- fast: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2514
- touchable: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2515
- };
2516
- readonly transform: {
2517
- touchable: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2518
- };
2519
- readonly shadow: {
2520
- small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2521
- medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2522
- large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2523
- };
2524
- };
2525
-
2526
- type Sprinkles = Parameters<typeof sprinkles>[0];
2527
- type Space = keyof typeof vars.space | 'none';
2528
- type ResponsiveSpace = RequiredResponsiveValue<Space>;
2529
- interface Atoms extends Sprinkles {
2530
- reset?: keyof JSX.IntrinsicElements;
2531
- }
2532
-
2533
- declare const boxShadow: {
2534
- borderBrandAccentLarge: string;
2535
- borderBrandAccentLightLarge: string;
2536
- borderCaution: string;
2537
- borderCautionLight: string;
2538
- borderCritical: string;
2539
- borderCriticalLarge: string;
2540
- borderCriticalLight: string;
2541
- borderCriticalLightLarge: string;
2542
- borderField: string;
2543
- borderFormAccent: string;
2544
- borderFormAccentLarge: string;
2545
- borderFormAccentLight: string;
2546
- borderFormAccentLightLarge: string;
2547
- borderInfo: string;
2548
- borderInfoLight: string;
2549
- borderNeutral: string;
2550
- borderNeutralLarge: string;
2551
- borderNeutralInverted: string;
2552
- borderNeutralInvertedLarge: string;
2553
- borderNeutralLight: string;
2554
- borderPositive: string;
2555
- borderPositiveLight: string;
2556
- borderPromote: string;
2557
- borderPromoteLight: string;
2558
- outlineFocus: string;
2559
- small: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2560
- medium: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2561
- large: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
2562
- };
2563
- type BoxShadow = keyof typeof boxShadow;
2564
- type Background = keyof typeof vars.backgroundColor;
2565
-
2566
- type BoxBackgroundVariant = Background | 'customDark' | 'customLight';
2567
- interface BoxBaseProps extends Omit<Atoms, 'reset' | 'background'> {
2568
- className?: ClassValue;
2569
- background?: ColorModeValue<BoxBackgroundVariant>;
2570
- }
2571
- interface BoxProps extends BoxBaseProps, Omit<AllHTMLAttributes<HTMLElement>, 'width' | 'height' | 'className' | 'data'> {
2572
- component?: ElementType;
2573
- data?: DataAttributeMap;
2574
- }
2575
- type SimpleBackground = Exclude<Background, 'bodyDark' | 'surfaceDark'>;
2576
- interface PublicBoxProps extends BoxProps {
2577
- background?: SimpleBackground | 'customDark' | 'customLight';
2578
- boxShadow?: BoxShadow;
2579
- }
2580
- declare const PublicBox: React__default.ForwardRefExoticComponent<PublicBoxProps & React__default.RefAttributes<HTMLElement>>;
2581
-
2582
- declare const fontWeight: Record<"regular" | "medium" | "strong", string>;
2583
- declare const textSizeUntrimmed: Record<"xsmall" | "small" | "large" | "standard", string>;
2584
- declare const headingWeight: Record<"regular" | "weak", string>;
2585
- declare const heading: Record<"1" | "2" | "3" | "4", string>;
2586
- declare const tone$1: Record<"brandAccent" | "caution" | "critical" | "formAccent" | "info" | "neutral" | "positive" | "promote" | "link" | "secondary", string>;
2587
-
2588
- interface TextStyleProps {
2589
- weight?: keyof typeof fontWeight;
2590
- size?: keyof typeof textSizeUntrimmed;
2591
- tone?: keyof typeof tone$1;
2592
- baseline: boolean;
2593
- }
2594
-
2595
- type AllOrNone<T> = T | {
2596
- [K in keyof T]?: never;
2597
- };
2598
-
2599
- type OptionalTitle = AllOrNone<{
2600
- title: string;
2601
- titleId: string;
2602
- }>;
2603
-
2604
- type IconSize = keyof typeof textSizeUntrimmed | 'fill';
2605
- type UseIconProps = {
2606
- size?: IconSize;
2607
- tone?: keyof typeof tone$1;
2608
- alignY?: 'uppercase' | 'lowercase';
2609
- data?: DataAttributeMap;
2610
- } & OptionalTitle;
2611
-
2612
- interface TypographyProps extends Pick<BoxProps, 'id' | 'component'> {
2613
- children?: ReactNode;
2614
- icon?: ReactElement<UseIconProps>;
2615
- align?: BoxProps['textAlign'];
2616
- truncate?: boolean;
2617
- data?: DataAttributeMap;
2618
- }
2619
-
2620
- interface TextProps extends TypographyProps {
2621
- size?: TextStyleProps['size'];
2622
- tone?: TextStyleProps['tone'];
2623
- weight?: TextStyleProps['weight'];
2624
- baseline?: TextStyleProps['baseline'];
2625
- }
2626
- declare const Text: ({ size: sizeProp, tone: toneProp, weight: weightProp, baseline, ...typographyProps }: TextProps) => JSX.Element;
2627
-
2628
- declare const validTones$1: readonly ["neutral", "secondary"];
2629
- interface AccordionContextValue {
2630
- size?: TextProps['size'];
2631
- tone?: (typeof validTones$1)[number];
2632
- weight?: TextProps['weight'];
2633
- }
2634
-
2635
- declare const validSpaceValues: readonly ["medium", "large", "xlarge"];
2636
- interface AccordionProps {
2637
- children: ReactNodeNoStrings;
2638
- dividers?: boolean;
2639
- size?: AccordionContextValue['size'];
2640
- tone?: AccordionContextValue['tone'];
2641
- weight?: AccordionContextValue['weight'];
2642
- space?: RequiredResponsiveValue<(typeof validSpaceValues)[number]>;
2643
- data?: DataAttributeMap;
2644
- }
2645
- declare const Accordion: ({ children, size, tone, weight, space: spaceProp, dividers, data, ...restProps }: AccordionProps) => JSX.Element;
2646
-
2647
- declare const validTones: readonly ["promote", "info", "neutral", "positive", "caution", "critical"];
2648
- type Tone$2 = (typeof validTones)[number];
2649
- type BadgeWeight = 'strong' | 'regular';
2650
- interface BadgeProps {
2651
- tone?: Tone$2;
2652
- weight?: BadgeWeight;
2653
- bleedY?: boolean;
2654
- title?: string;
2655
- children: string;
2656
- id?: string;
2657
- data?: DataAttributeMap;
2658
- tabIndex?: BoxProps['tabIndex'];
2659
- 'aria-describedby'?: string;
2660
- }
2661
- declare const Badge: React__default.ForwardRefExoticComponent<BadgeProps & React__default.RefAttributes<HTMLSpanElement>>;
2662
-
2663
- type DisclosureStateProps = AllOrNone<{
2664
- expanded?: boolean;
2665
- onToggle: (expanded: boolean) => void;
2666
- }>;
2667
- type UseDisclosureProps = {
2668
- id: string;
2669
- } & DisclosureStateProps;
2670
-
2671
- type AccordionItemBaseProps = {
2672
- label: string;
2673
- children: ReactNode;
2674
- size?: TextProps['size'];
2675
- tone?: AccordionContextValue['tone'];
2676
- weight?: AccordionContextValue['weight'];
2677
- icon?: TextProps['icon'];
2678
- data?: DataAttributeMap;
2679
- badge?: ReactElement<BadgeProps>;
2680
- };
2681
- type AccordionItemProps = AccordionItemBaseProps & UseDisclosureProps;
2682
- declare const AccordionItem: ({ id, label, children, badge, size: sizeProp, tone: toneProp, weight: weightProp, icon, data, ...restProps }: AccordionItemProps) => JSX.Element;
2683
-
2684
- interface ResponsiveRangeProps {
2685
- above?: Exclude<Breakpoint, 'wide'>;
2686
- below?: Exclude<Breakpoint, 'mobile'>;
2687
- }
2688
-
2689
- type Align = 'left' | 'center' | 'right';
2690
- type AlignY = 'top' | 'center' | 'bottom';
2691
-
2692
- interface CollapsibleAlignmentProps {
2693
- collapseBelow?: ResponsiveRangeProps['below'];
2694
- align?: OptionalResponsiveValue<Align>;
2695
- alignY?: OptionalResponsiveValue<AlignY>;
2696
- reverse?: boolean;
2697
- }
2698
-
2699
- declare const validInlineComponents: readonly ["div", "span", "ol", "ul"];
2700
- interface InlineProps extends CollapsibleAlignmentProps {
2701
- space: ResponsiveSpace;
2702
- component?: (typeof validInlineComponents)[number];
2703
- data?: DataAttributeMap;
2704
- children: ReactNodeNoStrings;
2705
- }
2706
- declare const Inline: ({ space, align, alignY, collapseBelow, reverse, component, data, children, ...restProps }: InlineProps) => JSX.Element;
2707
-
2708
- declare const buttonVariants: readonly ["solid", "ghost", "soft", "transparent"];
2709
- type ButtonSize = 'standard' | 'small';
2710
- type ButtonTone = 'brandAccent' | 'critical' | 'neutral';
2711
- type ButtonVariant = (typeof buttonVariants)[number];
2712
- interface ButtonStyleProps {
2713
- size?: ButtonSize;
2714
- tone?: ButtonTone;
2715
- variant?: ButtonVariant;
2716
- /** @deprecated Use `bleed` prop instead https://seek-oss.github.io/braid-design-system/components/Button#bleed */
2717
- bleedY?: boolean;
2718
- bleed?: boolean;
2719
- loading?: boolean;
2720
- }
2721
- type NativeButtonProps$1 = AllHTMLAttributes<HTMLButtonElement>;
2722
- interface ButtonProps extends ButtonStyleProps {
2723
- id?: NativeButtonProps$1['id'];
2724
- onClick?: NativeButtonProps$1['onClick'];
2725
- type?: 'button' | 'submit' | 'reset';
2726
- icon?: ReactElement<UseIconProps>;
2727
- iconPosition?: 'leading' | 'trailing';
2728
- children?: ReactNode;
2729
- onKeyUp?: NativeButtonProps$1['onKeyUp'];
2730
- onKeyDown?: NativeButtonProps$1['onKeyDown'];
2731
- 'aria-haspopup'?: NativeButtonProps$1['aria-haspopup'];
2732
- 'aria-controls'?: NativeButtonProps$1['aria-controls'];
2733
- 'aria-expanded'?: NativeButtonProps$1['aria-expanded'];
2734
- 'aria-describedby'?: NativeButtonProps$1['aria-describedby'];
2735
- tabIndex?: NativeButtonProps$1['tabIndex'];
2736
- data?: DataAttributeMap;
2737
- }
2738
- declare const Button: React__default.ForwardRefExoticComponent<ButtonProps & React__default.RefAttributes<HTMLButtonElement>>;
2739
-
2740
- interface ActionsProps {
2741
- size?: ButtonProps['size'];
2742
- children: InlineProps['children'];
2743
- data?: InlineProps['data'];
2744
- }
2745
- declare const Actions: ({ size, data, children }: ActionsProps) => JSX.Element;
2746
-
2747
- type Tone$1 = 'promote' | 'info' | 'positive' | 'caution' | 'critical';
2748
- type CloseProps = AllOrNone<{
2749
- onClose: () => void;
2750
- closeLabel: string;
2751
- }>;
2752
- type AlertProps = {
2753
- tone?: Tone$1;
2754
- children: ReactNode;
2755
- data?: DataAttributeMap;
2756
- id?: string;
2757
- } & CloseProps;
2758
- declare const Alert: ({ tone, children, id, closeLabel, data, onClose, ...restProps }: AlertProps) => JSX.Element;
2759
-
2760
- interface FieldLabelProps {
2761
- id?: string;
2762
- htmlFor: string | false;
2763
- label?: ReactNode;
2764
- disabled?: boolean;
2765
- secondaryLabel?: ReactNode;
2766
- tertiaryLabel?: ReactNode;
2767
- description?: ReactNode;
2768
- descriptionId?: string;
2769
- data?: DataAttributeMap;
2770
- }
2771
- declare const FieldLabel: ({ id, htmlFor, label, disabled, secondaryLabel, tertiaryLabel, description, descriptionId, data, }: FieldLabelProps) => JSX.Element | null;
2772
-
2773
- declare const tones$1: readonly ["neutral", "critical", "positive"];
2774
- type FieldTone = (typeof tones$1)[number];
2775
- interface FieldMessageProps {
2776
- id: string;
2777
- message: ReactNode;
2778
- reserveMessageSpace?: boolean;
2779
- tone?: FieldTone;
2780
- secondaryMessage?: ReactNode;
2781
- disabled?: boolean;
2782
- data?: DataAttributeMap;
2783
- }
2784
- declare const FieldMessage: ({ id, tone, message, secondaryMessage, reserveMessageSpace, disabled, data, ...restProps }: FieldMessageProps) => JSX.Element | null;
2785
-
2786
- type FormElementProps$1 = AllHTMLAttributes<HTMLFormElement>;
2787
- type FieldLabelVariant$1 = {
2788
- 'aria-labelledby': string;
2789
- secondaryLabel?: never;
2790
- tertiaryLabel?: never;
2791
- } | {
2792
- 'aria-label': string;
2793
- secondaryLabel?: never;
2794
- tertiaryLabel?: never;
2795
- } | {
2796
- label: FieldLabelProps['label'];
2797
- secondaryLabel?: FieldLabelProps['secondaryLabel'];
2798
- tertiaryLabel?: FieldLabelProps['tertiaryLabel'];
2799
- };
2800
- type FieldBaseProps = {
2801
- id: NonNullable<FormElementProps$1['id']>;
2802
- value?: FormElementProps$1['value'];
2803
- labelId?: string;
2804
- name?: FormElementProps$1['name'];
2805
- disabled?: FormElementProps$1['disabled'];
2806
- autoComplete?: FormElementProps$1['autoComplete'];
2807
- description?: FieldLabelProps['description'];
2808
- message?: FieldMessageProps['message'];
2809
- secondaryMessage?: FieldMessageProps['secondaryMessage'];
2810
- reserveMessageSpace?: FieldMessageProps['reserveMessageSpace'];
2811
- tone?: FieldMessageProps['tone'];
2812
- 'aria-describedby'?: FormElementProps$1['aria-describedby'];
2813
- data?: DataAttributeMap;
2814
- autoFocus?: boolean;
2815
- icon?: ReactNode;
2816
- prefix?: string;
2817
- required?: boolean;
2818
- };
2819
-
2820
- interface AutosuggestTranslations {
2821
- assistiveDescription: string;
2822
- suggestionInstructions: string;
2823
- suggestionsAvailableAnnouncement: (suggestionCount: number) => string;
2824
- noSuggestionsAvailableAnnouncement: string;
2825
- suggestionAutoSelectedAnnouncement: (suggestion: string) => string;
2826
- }
2827
-
2828
- type SuggestionMatch = Array<{
2829
- start: number;
2830
- end: number;
2831
- }>;
2832
- interface AutosuggestValue<Value = any> {
2833
- text: string;
2834
- description?: string;
2835
- value?: Value;
2836
- }
2837
- interface Suggestion<Value = any> extends AutosuggestValue<Value> {
2838
- label?: string;
2839
- highlights?: SuggestionMatch;
2840
- onClear?: (value: AutosuggestValue<Value>) => void;
2841
- clearLabel?: string;
2842
- }
2843
- interface GroupedSuggestions<Value> {
2844
- label: string;
2845
- suggestions: Array<Suggestion<Value>>;
2846
- }
2847
- type Suggestions<Value> = Array<Suggestion<Value> | GroupedSuggestions<Value>>;
2848
- /** @deprecated Use `noSuggestionsMessage` prop instead */
2849
- type LegacyMessageSuggestion = {
2850
- /** @deprecated Use `noSuggestionsMessage` prop instead */
2851
- message: string;
2852
- };
2853
- type AutosuggestBaseProps<Value> = Omit<FieldBaseProps, 'value' | 'autoComplete' | 'labelId' | 'prefix'> & {
2854
- value: AutosuggestValue<Value>;
2855
- suggestions: Suggestions<Value> | LegacyMessageSuggestion | ((value: AutosuggestValue<Value>) => Suggestions<Value> | LegacyMessageSuggestion);
2856
- noSuggestionsMessage?: string | {
2857
- title: string;
2858
- description: string;
2859
- };
2860
- onChange: (value: AutosuggestValue<Value>) => void;
2861
- clearLabel?: string;
2862
- automaticSelection?: boolean;
2863
- hideSuggestionsOnSelection?: boolean;
2864
- showMobileBackdrop?: boolean;
2865
- scrollToTopOnMobile?: boolean;
2866
- onBlur?: () => void;
2867
- onFocus?: () => void;
2868
- onClear?: () => void;
2869
- placeholder?: string;
2870
- type?: 'text' | 'search';
2871
- translations?: AutosuggestTranslations;
2872
- };
2873
- type AutosuggestLabelProps = FieldLabelVariant$1;
2874
- type AutosuggestProps<Value> = AutosuggestBaseProps<Value> & AutosuggestLabelProps;
2875
- declare const Autosuggest: <Value>(props: AutosuggestProps<Value> & RefAttributes<HTMLInputElement>) => ReactElement;
2876
-
2877
- type FilterableSuggestion<Value> = Omit<Suggestion<Value>, 'highlights'>;
2878
- type FilterableGroupedSuggestions<Value> = Omit<GroupedSuggestions<Value>, 'suggestions'> & {
2879
- suggestions: Array<FilterableSuggestion<Value>>;
2880
- };
2881
- type InputValue<Value> = string | AutosuggestValue<Value>;
2882
- type FilterableSuggestions<Value> = Array<FilterableSuggestion<Value> | FilterableGroupedSuggestions<Value>>;
2883
- declare function filterSuggestions<Value>(suggestions: FilterableSuggestions<Value>): (inputValue: InputValue<Value>) => Suggestions<Value>;
2884
- declare function filterSuggestions<Value>(suggestions: FilterableSuggestions<Value>, inputValue: InputValue<Value>): Suggestions<Value>;
2885
-
2886
- declare const validBleedComponents: readonly ["div", "span"];
2887
- interface BleedProps {
2888
- children: BoxProps['children'];
2889
- space?: ResponsiveSpace;
2890
- horizontal?: ResponsiveSpace;
2891
- vertical?: ResponsiveSpace;
2892
- top?: ResponsiveSpace;
2893
- bottom?: ResponsiveSpace;
2894
- left?: ResponsiveSpace;
2895
- right?: ResponsiveSpace;
2896
- component?: (typeof validBleedComponents)[number];
2897
- data?: DataAttributeMap;
2898
- }
2899
- declare const Bleed: ({ space, horizontal, vertical, top, bottom, left, right, children, component, data, ...restProps }: BleedProps) => JSX.Element;
2900
-
2901
- interface BoxRendererProps extends BoxBaseProps {
2902
- component?: Atoms['reset'];
2903
- background?: SimpleBackground | 'customDark' | 'customLight';
2904
- boxShadow?: BoxShadow;
2905
- children: (className: string) => ReactElement | null;
2906
- }
2907
- declare const BoxRenderer: ({ children, component, className, background, boxShadow, ...props }: BoxRendererProps) => JSX.Element | null;
2908
-
2909
- declare const buttonIconVariants: Extract<ButtonStyleProps['variant'], 'soft' | 'transparent'>[];
2910
- type NativeButtonProps = AllHTMLAttributes<HTMLButtonElement>;
2911
- type ButtonIconProps = {
2912
- id: string;
2913
- icon: ReactElement<UseIconProps>;
2914
- label: string;
2915
- size?: 'standard' | 'large';
2916
- tone?: 'neutral' | 'secondary';
2917
- type?: 'button' | 'submit' | 'reset';
2918
- variant?: (typeof buttonIconVariants)[number];
2919
- onClick?: NativeButtonProps['onClick'];
2920
- onMouseDown?: NativeButtonProps['onMouseDown'];
2921
- onKeyUp?: NativeButtonProps['onKeyUp'];
2922
- onKeyDown?: NativeButtonProps['onKeyDown'];
2923
- 'aria-haspopup'?: NativeButtonProps['aria-haspopup'];
2924
- 'aria-expanded'?: NativeButtonProps['aria-expanded'];
2925
- tabIndex?: number;
2926
- data?: DataAttributeMap;
2927
- bleed?: boolean;
2928
- };
2929
- declare const ButtonIcon: React__default.ForwardRefExoticComponent<ButtonIconProps & React__default.RefAttributes<HTMLButtonElement>>;
2930
-
2931
- interface ButtonLinkProps extends ButtonStyleProps, Omit<LinkComponentProps, 'className' | 'style'> {
2932
- children?: ReactNode;
2933
- data?: DataAttributeMap;
2934
- icon?: ButtonProps['icon'];
2935
- iconPosition?: 'leading' | 'trailing';
2936
- }
2937
- declare const ButtonLink: React__default.ForwardRefExoticComponent<ButtonLinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
2938
-
2939
- declare const validCardComponents: readonly ["div", "article", "aside", "details", "main", "section"];
2940
- type SimpleCardRounding = {
2941
- rounded?: boolean;
2942
- roundedAbove?: never;
2943
- };
2944
- type ResponsiveCardRounding = {
2945
- rounded?: never;
2946
- roundedAbove?: ResponsiveRangeProps['above'];
2947
- };
2948
- type CardProps = {
2949
- children: ReactNode;
2950
- tone?: 'promote' | 'formAccent';
2951
- component?: (typeof validCardComponents)[number];
2952
- data?: DataAttributeMap;
2953
- } & (SimpleCardRounding | ResponsiveCardRounding);
2954
- declare const Card: ({ children, component, tone, data, ...restProps }: CardProps) => JSX.Element;
2955
-
2956
- declare const sizes$1: {
2957
- readonly standard: "standard";
2958
- readonly small: "small";
2959
- };
2960
- type Size$1 = keyof typeof sizes$1;
2961
-
2962
- declare const tones: readonly ["neutral", "critical"];
2963
- type InlineFieldTone = (typeof tones)[number];
2964
- type CheckboxChecked = NonNullable<InputElementProps$1['checked']> | 'mixed';
2965
- type InputElementProps$1 = AllHTMLAttributes<HTMLInputElement>;
2966
- type StyledInputProps = {
2967
- id: NonNullable<InputElementProps$1['id']>;
2968
- onChange: NonNullable<InputElementProps$1['onChange']>;
2969
- value?: InputElementProps$1['value'];
2970
- name?: InputElementProps$1['name'];
2971
- 'aria-describedby'?: InputElementProps$1['aria-describedby'];
2972
- 'aria-labelledby'?: InputElementProps$1['aria-labelledby'];
2973
- 'aria-label'?: InputElementProps$1['aria-label'];
2974
- disabled?: InputElementProps$1['disabled'];
2975
- tone?: InlineFieldTone;
2976
- data?: DataAttributeMap;
2977
- required?: boolean;
2978
- size?: Size$1;
2979
- };
2980
-
2981
- type InlineFieldBaseProps = {
2982
- label: NonNullable<FieldLabelProps['label']>;
2983
- message?: FieldMessageProps['message'];
2984
- reserveMessageSpace?: FieldMessageProps['reserveMessageSpace'];
2985
- children?: ReactNode;
2986
- description?: ReactNode;
2987
- badge?: ReactElement<BadgeProps>;
2988
- };
2989
- type InlineFieldProps = Omit<StyledInputProps, 'aria-label' | 'aria-labelledby'> & InlineFieldBaseProps;
2990
-
2991
- interface CheckboxProps extends Omit<InlineFieldProps, 'checked'> {
2992
- checked: CheckboxChecked | Array<boolean>;
2993
- }
2994
- declare const Checkbox: React__default.ForwardRefExoticComponent<CheckboxProps & React__default.RefAttributes<HTMLInputElement>>;
2995
-
2996
- type LabelStyle = {
2997
- 'aria-labelledby': NonNullable<string>;
2998
- } | {
2999
- 'aria-label': NonNullable<string>;
3000
- };
3001
- type CheckboxStandaloneProps = StyledInputProps & LabelStyle & {
3002
- checked: CheckboxProps['checked'];
3003
- };
3004
- declare const CheckboxStandalone: React__default.ForwardRefExoticComponent<CheckboxStandaloneProps & React__default.RefAttributes<HTMLInputElement>>;
3005
-
3006
- declare const width$1: Record<"1/2" | "1/3" | "2/3" | "1/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5", string>;
3007
-
3008
- interface ColumnProps {
3009
- children: ReactNode;
3010
- width?: keyof typeof width$1 | 'content';
3011
- data?: DataAttributeMap;
3012
- }
3013
- declare const Column: ({ children, data, width, ...restProps }: ColumnProps) => JSX.Element;
3014
-
3015
- declare const validColumnsComponents: readonly ["div", "span"];
3016
-
3017
- interface ColumnsProps extends CollapsibleAlignmentProps {
3018
- space: ResponsiveSpace;
3019
- children: Array<ReactElement<ColumnProps> | null> | ReactElement<ColumnProps> | null;
3020
- component?: (typeof validColumnsComponents)[number];
3021
- data?: DataAttributeMap;
3022
- }
3023
- declare const Columns: ({ children, collapseBelow, reverse, space, align, alignY, component, data, ...restProps }: ColumnsProps) => JSX.Element;
3024
-
3025
- interface ContentBlockProps {
3026
- children: ReactNode;
3027
- width?: BoxProps['maxWidth'];
3028
- data?: DataAttributeMap;
3029
- }
3030
- declare const ContentBlock: ({ width, data, children, ...restProps }: ContentBlockProps) => JSX.Element;
3031
-
3032
- interface ModalContentProps {
3033
- id: string;
3034
- title: string;
3035
- children: ReactNode;
3036
- onClose: () => void;
3037
- closeLabel?: string;
3038
- width: BoxProps['maxWidth'] | 'content';
3039
- description?: ReactNodeNoStrings;
3040
- illustration?: ReactNodeNoStrings;
3041
- position: 'center' | 'right' | 'left';
3042
- headingLevel: '2' | '3';
3043
- scrollLock?: boolean;
3044
- headingRef?: Ref<HTMLElement>;
3045
- modalRef?: Ref<HTMLElement>;
3046
- data?: DataAttributeMap;
3047
- }
3048
-
3049
- interface ModalProps extends Omit<ModalContentProps, 'onClose' | 'scrollLock' | 'headingRef' | 'modalRef'> {
3050
- open: boolean;
3051
- onClose: (openState: false) => void;
3052
- }
3053
-
3054
- declare const modalStyle$1: {
3055
- readonly position: "center";
3056
- readonly headingLevel: "3";
3057
- };
3058
- interface DialogProps extends Omit<ModalProps, keyof typeof modalStyle$1 | 'width'> {
3059
- width?: ModalProps['width'];
3060
- }
3061
- declare const Dialog: ({ width, ...restProps }: DialogProps) => JSX.Element;
3062
-
3063
- interface TextLinkStyles {
3064
- weight?: 'regular' | 'weak';
3065
- showVisited?: boolean;
3066
- hitArea?: 'standard' | 'large';
3067
- iconPosition?: 'leading' | 'trailing';
3068
- }
3069
- interface TextLinkProps extends TextLinkStyles, Omit<LinkComponentProps, 'className' | 'style'> {
3070
- data?: DataAttributeMap;
3071
- icon?: ReactElement<UseIconProps>;
3072
- }
3073
- declare const TextLink: React__default.ForwardRefExoticComponent<TextLinkProps & React__default.RefAttributes<HTMLAnchorElement>>;
3074
-
3075
- type NativeSpanProps = AllHTMLAttributes<HTMLSpanElement>;
3076
- interface TextLinkButtonProps extends Omit<TextLinkStyles, 'showVisited'> {
3077
- id?: NativeSpanProps['id'];
3078
- onClick?: NativeSpanProps['onClick'];
3079
- data?: DataAttributeMap;
3080
- children: ReactNode;
3081
- 'aria-controls'?: NativeSpanProps['aria-controls'];
3082
- 'aria-expanded'?: NativeSpanProps['aria-expanded'];
3083
- 'aria-describedby'?: NativeSpanProps['aria-describedby'];
3084
- tabIndex?: NativeSpanProps['tabIndex'];
3085
- icon?: ReactElement<UseIconProps>;
3086
- }
3087
- declare const TextLinkButton: ({ weight, hitArea, id, onClick, data, children, "aria-controls": ariaControls, "aria-expanded": ariaExpanded, "aria-describedby": ariaDescribedBy, tabIndex, icon, iconPosition, ...restProps }: TextLinkButtonProps) => JSX.Element;
3088
-
3089
- type DisclosureBaseProps = {
3090
- expandLabel: string;
3091
- collapseLabel?: string;
3092
- space?: ResponsiveSpace;
3093
- weight?: TextLinkButtonProps['weight'];
3094
- data?: DataAttributeMap;
3095
- children: ReactNode;
3096
- };
3097
- type DisclosureProps = DisclosureBaseProps & UseDisclosureProps;
3098
-
3099
- declare const Disclosure: ({ id, expandLabel, collapseLabel, space, children, data, weight, ...restProps }: DisclosureProps) => JSX.Element;
3100
-
3101
- interface DividerProps {
3102
- weight?: 'regular' | 'strong';
3103
- }
3104
- declare const Divider: ({ weight }: DividerProps) => JSX.Element;
3105
-
3106
- declare const validWidths: readonly ["small", "medium", "large"];
3107
- declare const validPositions: readonly ["left", "right"];
3108
- declare const modalStyle: {
3109
- readonly headingLevel: "2";
3110
- readonly illustration: undefined;
3111
- };
3112
- interface DrawerProps extends Omit<ModalProps, keyof typeof modalStyle | 'width' | 'position'> {
3113
- width?: (typeof validWidths)[number];
3114
- position?: (typeof validPositions)[number];
3115
- }
3116
- declare const Drawer: ({ width, position, ...restProps }: DrawerProps) => JSX.Element;
3117
-
3118
- type ValidDropdownChildren = AllHTMLAttributes<HTMLOptionElement | HTMLOptGroupElement>;
3119
- type SelectProps = AllHTMLAttributes<HTMLSelectElement>;
3120
- type DropdownBaseProps = Omit<FieldBaseProps, 'value' | 'labelId' | 'secondaryMessage' | 'prefix'> & {
3121
- children: ValidDropdownChildren[] | ValidDropdownChildren;
3122
- value: NonNullable<SelectProps['value']>;
3123
- onChange: NonNullable<SelectProps['onChange']>;
3124
- onBlur?: SelectProps['onBlur'];
3125
- onFocus?: SelectProps['onFocus'];
3126
- placeholder?: string;
3127
- };
3128
- type DropdownLabelProps = FieldLabelVariant$1;
3129
- type DropdownProps = DropdownBaseProps & DropdownLabelProps;
3130
- declare const Dropdown: React__default.ForwardRefExoticComponent<DropdownProps & React__default.RefAttributes<HTMLSelectElement>>;
3131
-
3132
- interface HeadingProps extends TypographyProps {
3133
- level: keyof typeof heading;
3134
- weight?: keyof typeof headingWeight;
3135
- children: ReactNode;
3136
- }
3137
- declare const Heading: ({ level, weight, component, ...typographyProps }: HeadingProps) => JSX.Element;
3138
-
3139
- interface HiddenProps extends ResponsiveRangeProps {
3140
- children: ReactNode;
3141
- component?: BoxProps['component'];
3142
- screen?: boolean;
3143
- print?: boolean;
3144
- inline?: boolean;
3145
- data?: DataAttributeMap;
3146
- }
3147
- declare const Hidden: ({ children, component, above, below, screen, print, inline: inlineProp, data, ...restProps }: HiddenProps) => JSX.Element;
3148
-
3149
- interface HiddenVisuallyProps {
3150
- id?: string;
3151
- children: BoxProps['children'];
3152
- data?: DataAttributeMap;
3153
- }
3154
- declare const HiddenVisually: ({ id, data, children, ...restProps }: HiddenVisuallyProps) => JSX.Element;
3155
-
3156
- interface IconRendererProps {
3157
- children: ({ className }: {
3158
- className: string;
3159
- }) => ReactElement | null;
3160
- }
3161
- declare const IconRenderer: ({ children }: IconRendererProps) => ReactElement<any, string | React.JSXElementConstructor<any>> | null;
3162
-
3163
- type LinkProps = Omit<LinkComponentProps, 'className'> & {
3164
- className?: ClassValue;
3165
- data?: DataAttributeMap;
3166
- };
3167
- declare const Link: React__default.ForwardRefExoticComponent<Omit<LinkComponentProps, "className"> & {
3168
- className?: ClassValue;
3169
- data?: DataAttributeMap | undefined;
3170
- } & React__default.RefAttributes<HTMLAnchorElement>>;
3171
-
3172
- declare const validStackComponents: readonly ["div", "span", "ol", "ul"];
3173
- interface StackProps {
3174
- component?: (typeof validStackComponents)[number];
3175
- children: ReactNodeNoStrings;
3176
- space: ResponsiveSpace;
3177
- align?: OptionalResponsiveValue<Align>;
3178
- dividers?: boolean | DividerProps['weight'];
3179
- data?: DataAttributeMap;
3180
- }
3181
- declare const Stack: ({ component, children, space, align, dividers, data, ...restProps }: StackProps) => JSX.Element;
3182
-
3183
- type ListTypeCharacter = {
3184
- type?: 'bullet' | 'number' | 'alpha' | 'roman';
3185
- icon?: never;
3186
- };
3187
- type ListTypeIcon = {
3188
- type: 'icon';
3189
- icon: ReactNode;
3190
- };
3191
- type ListProps = {
3192
- children: StackProps['children'];
3193
- size?: TextProps['size'];
3194
- space?: StackProps['space'];
3195
- tone?: TextProps['tone'];
3196
- start?: number;
3197
- data?: StackProps['data'];
3198
- } & (ListTypeIcon | ListTypeCharacter);
3199
- declare const List: ({ children, size: sizeProp, tone: toneProp, space, type, start, data, ...restProps }: ListProps) => JSX.Element;
3200
-
3201
- declare const size: Record<"xsmall" | "small" | "large" | "standard", string>;
3202
-
3203
- interface LoaderProps {
3204
- size?: keyof typeof size;
3205
- 'aria-label'?: string;
3206
- delayVisibility?: boolean;
3207
- data?: DataAttributeMap;
3208
- }
3209
- declare const Loader: ({ size, "aria-label": ariaLabel, delayVisibility, data, ...restProps }: LoaderProps) => JSX.Element;
3210
-
3211
- declare const width: Record<"medium" | "small" | "large", string>;
3212
-
3213
- interface TriggerProps$1 {
3214
- 'aria-haspopup': boolean;
3215
- 'aria-expanded': boolean;
3216
- ref: Ref<HTMLButtonElement>;
3217
- onKeyUp: (event: KeyboardEvent<HTMLButtonElement>) => void;
3218
- onKeyDown: (event: KeyboardEvent<HTMLButtonElement>) => void;
3219
- onClick: (event: MouseEvent) => void;
3220
- }
3221
- interface TriggerState {
3222
- open: boolean;
3223
- }
3224
- interface CloseReasonExit {
3225
- reason: 'exit';
3226
- }
3227
- interface CloseReasonSelection {
3228
- reason: 'selection';
3229
- index: number;
3230
- id?: string;
3231
- }
3232
- type CloseReason = CloseReasonSelection | CloseReasonExit;
3233
- interface MenuRendererProps {
3234
- trigger: (props: TriggerProps$1, state: TriggerState) => ReactNode;
3235
- align?: 'left' | 'right';
3236
- offsetSpace?: ResponsiveSpace;
3237
- width?: keyof typeof width | 'content';
3238
- placement?: 'top' | 'bottom';
3239
- onOpen?: () => void;
3240
- onClose?: (closeReason: CloseReason) => void;
3241
- data?: DataAttributeMap;
3242
- reserveIconSpace?: boolean;
3243
- children: ReactNode;
3244
- }
3245
- declare const MenuRenderer: ({ onOpen, onClose, trigger, width, align, offsetSpace, reserveIconSpace, placement, children, data, ...restProps }: MenuRendererProps) => JSX.Element;
3246
-
3247
- type MenuItemTone = 'critical' | undefined;
3248
- interface UseMenuItemProps {
3249
- onClick?: () => void;
3250
- formElement?: boolean;
3251
- data?: DataAttributeMap;
3252
- displayName?: string;
3253
- tone?: MenuItemTone;
3254
- id?: string;
3255
- }
3256
- interface MenuItemChildrenProps {
3257
- children: ReactNode;
3258
- tone: MenuItemTone;
3259
- badge: ReactElement<BadgeProps> | undefined;
3260
- icon: ReactNode | undefined;
3261
- formElement?: boolean;
3262
- }
3263
-
3264
- interface MenuItemProps extends Pick<UseMenuItemProps, 'tone' | 'onClick' | 'data' | 'id'> {
3265
- children: ReactNode;
3266
- badge?: MenuItemChildrenProps['badge'];
3267
- icon?: MenuItemChildrenProps['icon'];
3268
- }
3269
- declare const MenuItem: {
3270
- ({ children, onClick, data, tone, badge, icon, id, }: MenuItemProps): JSX.Element;
3271
- __isMenuItem__: boolean;
3272
- };
3273
-
3274
- interface MenuItemCheckboxProps extends Pick<MenuItemProps, 'data' | 'badge' | 'id'> {
3275
- children: ReactNode;
3276
- onChange: (checked: boolean) => void;
3277
- checked: boolean;
3278
- }
3279
- declare const MenuItemCheckbox: {
3280
- ({ children, onChange, checked, data, badge, id, }: MenuItemCheckboxProps): JSX.Element;
3281
- __isMenuItem__: boolean;
3282
- };
3283
-
3284
- declare const MenuItemDivider: {
3285
- (): JSX.Element;
3286
- __isMenuItem__: boolean;
3287
- };
3288
-
3289
- interface MenuItemLinkProps extends MenuItemProps, Pick<LinkProps, 'href' | 'target' | 'rel'> {
3290
- }
3291
- declare const MenuItemLink: {
3292
- ({ href, target, rel, onClick, tone, data, children, badge, icon, id, }: MenuItemLinkProps): JSX.Element;
3293
- __isMenuItem__: boolean;
3294
- };
3295
-
3296
- interface OverflowMenuProps extends Omit<MenuRendererProps, 'trigger' | 'align' | 'offsetSpace'> {
3297
- label: string;
3298
- id?: string;
3299
- }
3300
- declare const OverflowMenu: ({ label, children, id, ...menuProps }: OverflowMenuProps) => JSX.Element;
3301
-
3302
- type FormElementProps = AllHTMLAttributes<HTMLFormElement>;
3303
- type FieldLabelVariant = {
3304
- 'aria-labelledby': string;
3305
- secondaryLabel?: never;
3306
- tertiaryLabel?: never;
3307
- } | {
3308
- 'aria-label': string;
3309
- secondaryLabel?: never;
3310
- tertiaryLabel?: never;
3311
- } | {
3312
- label: FieldLabelProps['label'];
3313
- secondaryLabel?: FieldLabelProps['secondaryLabel'];
3314
- tertiaryLabel?: FieldLabelProps['tertiaryLabel'];
3315
- };
3316
- type FieldGroupBaseProps = {
3317
- id: NonNullable<FormElementProps['id']>;
3318
- disabled?: FormElementProps['disabled'];
3319
- description?: FieldLabelProps['description'];
3320
- message?: FieldMessageProps['message'];
3321
- reserveMessageSpace?: FieldMessageProps['reserveMessageSpace'];
3322
- tone?: FieldMessageProps['tone'];
3323
- required?: boolean;
3324
- data?: DataAttributeMap;
3325
- };
3326
-
3327
- interface MonthPickerValue {
3328
- month?: number;
3329
- year?: number;
3330
- }
3331
- type MonthNames = [
3332
- string,
3333
- string,
3334
- string,
3335
- string,
3336
- string,
3337
- string,
3338
- string,
3339
- string,
3340
- string,
3341
- string,
3342
- string,
3343
- string
3344
- ];
3345
- type FocusHandler = () => void;
3346
- type ChangeHandler$1 = (value: MonthPickerValue) => void;
3347
- type MonthPickerBaseProps = Omit<FieldGroupBaseProps, 'value' | 'labelId' | 'aria-describedby' | 'name' | 'autoComplete' | 'secondaryMessage' | 'autoFocus' | 'icon' | 'prefix'> & {
3348
- value: MonthPickerValue;
3349
- onChange: ChangeHandler$1;
3350
- onBlur?: FocusHandler;
3351
- onFocus?: FocusHandler;
3352
- minYear?: number;
3353
- maxYear?: number;
3354
- ascendingYears?: boolean;
3355
- monthLabel?: string;
3356
- yearLabel?: string;
3357
- monthNames?: MonthNames;
3358
- };
3359
- type MonthPickerLabelProps = FieldLabelVariant;
3360
- type MonthPickerProps = MonthPickerBaseProps & MonthPickerLabelProps;
3361
- declare const MonthPicker: {
3362
- ({ id, value, onChange, onBlur, onFocus, tone, disabled, minYear, maxYear, ascendingYears, monthLabel, yearLabel, monthNames, ...restProps }: MonthPickerProps): JSX.Element;
3363
- displayName: string;
3364
- };
3365
-
3366
- type Tone = 'promote' | 'info' | 'positive' | 'critical';
3367
- type NoticeProps = {
3368
- tone?: Tone;
3369
- data?: DataAttributeMap;
3370
- children: ReactNode;
3371
- };
3372
- declare const Notice: ({ tone, data, children, ...restProps }: NoticeProps) => JSX.Element;
3373
-
3374
- interface PaginationProps {
3375
- page: number;
3376
- total: number;
3377
- linkProps: ({ page, type, }: {
3378
- page: number;
3379
- type: 'next' | 'previous' | 'pageNumber';
3380
- }) => LinkProps;
3381
- label: string;
3382
- pageLabel?: (page: number) => string;
3383
- nextLabel?: string;
3384
- previousLabel?: string;
3385
- pageLimit?: number;
3386
- data?: DataAttributeMap;
3387
- }
3388
- declare const Pagination: ({ page, total, linkProps, label, pageLabel, nextLabel, previousLabel, pageLimit, data, ...restProps }: PaginationProps) => JSX.Element;
3389
-
3390
- type InputProps$1 = AllHTMLAttributes<HTMLInputElement>;
3391
- type PasswordFieldBaseProps = Omit<FieldBaseProps, 'value' | 'labelId' | 'secondaryMessage' | 'icon' | 'prefix'> & {
3392
- value: NonNullable<InputProps$1['value']>;
3393
- onChange: NonNullable<InputProps$1['onChange']>;
3394
- onBlur?: InputProps$1['onBlur'];
3395
- onFocus?: InputProps$1['onFocus'];
3396
- placeholder?: InputProps$1['placeholder'];
3397
- onVisibilityToggle?: (visible: boolean) => void;
3398
- visibilityToggleLabel?: string;
3399
- };
3400
- type PasswordFieldLabelProps = FieldLabelVariant$1;
3401
- type PasswordFieldProps = PasswordFieldBaseProps & PasswordFieldLabelProps;
3402
- declare const PasswordField: React__default.ForwardRefExoticComponent<PasswordFieldProps & React__default.RefAttributes<HTMLInputElement>>;
3403
-
3404
- type InputElementProps = AllHTMLAttributes<HTMLInputElement>;
3405
- interface RadioProps extends Omit<InlineFieldProps, 'message' | 'reserveMessageSpace' | 'required' | 'size'> {
3406
- checked: NonNullable<InputElementProps['checked']>;
3407
- }
3408
- /** @deprecated Individual `Radio` elements have been deprecated. Use [RadioGroup](https://seek-oss.github.io/braid-design-system/components/RadioGroup) instead. */
3409
- declare const Radio: React__default.ForwardRefExoticComponent<RadioProps & React__default.RefAttributes<HTMLInputElement>>;
3410
-
3411
- interface RadioItemProps extends Omit<InlineFieldProps, 'name' | 'message' | 'reserveMessageSpace' | 'required' | 'onChange' | 'id' | 'tone' | 'size'> {
3412
- value: NonNullable<InlineFieldProps['value']>;
3413
- }
3414
- declare const RadioItem: React__default.ForwardRefExoticComponent<RadioItemProps & React__default.RefAttributes<HTMLInputElement>>;
3415
-
3416
- type RadioGroupBaseProps<Value = NonNullable<string | number>> = FieldGroupBaseProps & {
3417
- children: ReactElement<RadioItemProps>[];
3418
- value: Value;
3419
- onChange: (event: FormEvent<HTMLInputElement>) => void;
3420
- name?: string;
3421
- size?: InlineFieldProps['size'];
3422
- };
3423
- type RadioGroupLabelProps = FieldLabelVariant;
3424
- type RadioGroupProps<Value = NonNullable<string | number>> = RadioGroupBaseProps<Value> & RadioGroupLabelProps;
3425
- declare const RadioGroup: {
3426
- ({ children, id, value, name, onChange, disabled, tone, size, ...props }: RadioGroupProps): JSX.Element;
3427
- displayName: string;
3428
- };
3429
-
3430
- interface RatingProps {
3431
- rating: number;
3432
- size?: TextProps['size'];
3433
- /** @deprecated Use `variant="starsOnly"` instead */
3434
- showTextRating?: boolean;
3435
- variant?: 'full' | 'starsOnly' | 'minimal';
3436
- 'aria-label'?: string;
3437
- data?: TextProps['data'];
3438
- }
3439
- declare const Rating: ({ rating, size, showTextRating, variant: variantProp, "aria-label": ariaLabel, data, }: RatingProps) => JSX.Element;
3440
-
3441
- interface SecondaryProps {
3442
- children: ReactNode;
3443
- id?: string;
3444
- data?: DataAttributeMap;
3445
- }
3446
- declare const Secondary: ({ children, data, id, ...restProps }: SecondaryProps) => JSX.Element;
3447
-
3448
- interface StepProps {
3449
- children: string;
3450
- complete?: boolean;
3451
- id?: string | number;
3452
- }
3453
- declare const Step$1: {
3454
- ({ complete, id, children }: StepProps): JSX.Element;
3455
- __isStep__: boolean;
3456
- };
3457
-
3458
- declare const tone: {
3459
- formAccent: string;
3460
- neutral: string;
3461
- };
3462
-
3463
- type StepperMode = 'linear' | 'non-linear';
3464
- type StepperTone = Exclude<keyof typeof tone, 'formAccent'>;
3465
-
3466
- type LinearProps = {
3467
- mode?: 'linear';
3468
- progress: number;
3469
- activeStep?: number;
3470
- };
3471
- type NonLinearProps = {
3472
- mode: 'non-linear';
3473
- activeStep: number;
3474
- };
3475
- type Step = ReactElement<StepProps, typeof Step$1>;
3476
- type StepperProps = {
3477
- label: string;
3478
- children: Array<Step> | Step;
3479
- mode?: StepperMode;
3480
- tone?: StepperTone;
3481
- onStepClick?: (step: {
3482
- id?: string | number;
3483
- stepNumber: number;
3484
- }) => void;
3485
- data?: DataAttributeMap;
3486
- id?: string;
3487
- align?: 'left' | 'center';
3488
- } & (LinearProps | NonLinearProps);
3489
- declare const Stepper: ({ activeStep, label, mode, tone, children, data, align, id, onStepClick, ...restProps }: StepperProps) => JSX.Element;
3490
-
3491
- interface StrongProps {
3492
- children: ReactNode;
3493
- id?: string;
3494
- data?: DataAttributeMap;
3495
- }
3496
- declare const Strong: ({ children, data, id, ...restProps }: StrongProps) => JSX.Element;
3497
-
3498
- interface TabProps {
3499
- children: ReactNode;
3500
- item?: string;
3501
- badge?: ReactElement<BadgeProps>;
3502
- icon?: TextProps['icon'];
3503
- data?: DataAttributeMap;
3504
- }
3505
- declare const Tab: {
3506
- ({ children, data, badge, icon, item, ...restProps }: TabProps): JSX.Element;
3507
- __isTab__: boolean;
3508
- };
3509
-
3510
- type TabsProviderProps = {
3511
- children: ReactNode;
3512
- id: string;
3513
- selectedItem?: string;
3514
- onChange?: (selectedIndex: number, selectedItem?: string) => void;
3515
- };
3516
- declare const TabsProvider: ({ children, onChange, id, selectedItem, }: TabsProviderProps) => JSX.Element;
3517
-
3518
- interface TabsProps {
3519
- children: ReactNodeNoStrings;
3520
- label: string;
3521
- align?: 'left' | 'center';
3522
- gutter?: ResponsiveSpace;
3523
- reserveHitArea?: boolean;
3524
- data?: DataAttributeMap;
3525
- divider?: 'full' | 'minimal' | 'none';
3526
- }
3527
- declare const Tabs: (props: TabsProps) => JSX.Element;
3528
-
3529
- interface TabPanelsProps {
3530
- renderInactivePanels?: boolean;
3531
- children: ReactNodeNoStrings;
3532
- }
3533
- declare const TabPanels: ({ renderInactivePanels, children, }: TabPanelsProps) => JSX.Element;
3534
-
3535
- interface TabPanelProps {
3536
- children: ReactNode;
3537
- item?: string;
3538
- data?: DataAttributeMap;
3539
- }
3540
- declare const TabPanel: {
3541
- ({ children, data, item, ...restProps }: TabPanelProps): JSX.Element;
3542
- displayName: string;
3543
- __isTabPanel__: boolean;
3544
- };
3545
-
3546
- type TagProps = {
3547
- children: string;
3548
- data?: DataAttributeMap;
3549
- id?: string;
3550
- icon?: TextProps['icon'];
3551
- } & AllOrNone<{
3552
- onClear: () => void;
3553
- clearLabel: string;
3554
- }>;
3555
- declare const Tag: ({ onClear, clearLabel, data, id, icon, children, ...restProps }: TagProps) => JSX.Element;
3556
-
3557
- type NativeTextareaProps = AllHTMLAttributes<HTMLTextAreaElement>;
3558
- type TextareaBaseProps = Omit<FieldBaseProps, 'value' | 'labelId' | 'secondaryMessage' | 'icon' | 'prefix'> & {
3559
- value: NonNullable<NativeTextareaProps['value']>;
3560
- onChange: NonNullable<NativeTextareaProps['onChange']>;
3561
- onBlur?: NativeTextareaProps['onBlur'];
3562
- onFocus?: NativeTextareaProps['onFocus'];
3563
- onPaste?: NativeTextareaProps['onPaste'];
3564
- placeholder?: NativeTextareaProps['placeholder'];
3565
- highlightRanges?: Array<{
3566
- start: number;
3567
- end?: number;
3568
- }>;
3569
- characterLimit?: number;
3570
- lines?: number;
3571
- lineLimit?: number;
3572
- grow?: boolean;
3573
- };
3574
- type TextareaLabelProps = FieldLabelVariant$1;
3575
- type TextareaProps = TextareaBaseProps & TextareaLabelProps;
3576
- declare const Textarea: React__default.ForwardRefExoticComponent<TextareaProps & React__default.RefAttributes<HTMLTextAreaElement>>;
3577
-
3578
- interface TextDropdownOption<Value> {
3579
- text: string;
3580
- value: Value;
3581
- }
3582
- type TextDropdownValue<Value> = Value | TextDropdownOption<Value>;
3583
- interface TextDropdownProps<Value> {
3584
- id: string;
3585
- value: Value;
3586
- onChange: (value: Value) => void;
3587
- onBlur?: () => void;
3588
- options: TextDropdownValue<Value>[];
3589
- label: string;
3590
- data?: DataAttributeMap;
3591
- }
3592
- declare function TextDropdown<Value>({ id, value, onChange, onBlur, options, label, data, ...restProps }: TextDropdownProps<Value>): JSX.Element;
3593
-
3594
- declare const validTypes: {
3595
- text: string;
3596
- password: string;
3597
- email: string;
3598
- search: string;
3599
- number: string;
3600
- tel: string;
3601
- url: string;
3602
- };
3603
- type InputProps = AllHTMLAttributes<HTMLInputElement>;
3604
- type TextFieldBaseProps = Omit<FieldBaseProps, 'value' | 'labelId' | 'secondaryMessage'> & {
3605
- value: NonNullable<InputProps['value']>;
3606
- type?: keyof typeof validTypes;
3607
- inputMode?: InputProps['inputMode'];
3608
- step?: InputProps['step'];
3609
- onChange: NonNullable<InputProps['onChange']>;
3610
- onBlur?: InputProps['onBlur'];
3611
- onFocus?: InputProps['onFocus'];
3612
- onClear?: () => void;
3613
- placeholder?: InputProps['placeholder'];
3614
- characterLimit?: number;
3615
- clearLabel?: string;
3616
- };
3617
- type TextFieldLabelProps = FieldLabelVariant$1;
3618
- type TextFieldProps = TextFieldBaseProps & TextFieldLabelProps;
3619
- declare const TextField: React__default.ForwardRefExoticComponent<TextFieldProps & React__default.RefAttributes<HTMLInputElement>>;
3620
-
3621
- interface TilesProps {
3622
- children: ReactNodeNoStrings;
3623
- space: RequiredResponsiveValue<Space>;
3624
- columns: RequiredResponsiveValue<1 | 2 | 3 | 4 | 5 | 6>;
3625
- dividers?: boolean | DividerProps['weight'];
3626
- data?: DataAttributeMap;
3627
- }
3628
- declare const Tiles: ({ children, space, columns, dividers, data, ...restProps }: TilesProps) => JSX.Element;
3629
-
3630
- declare const sizes: {
3631
- readonly standard: "standard";
3632
- readonly small: "small";
3633
- };
3634
- type Size = keyof typeof sizes;
3635
-
3636
- type HTMLInputProps = AllHTMLAttributes<HTMLInputElement>;
3637
- type ChangeHandler = (value: boolean) => void;
3638
- interface ToggleProps {
3639
- id: NonNullable<HTMLInputProps['id']>;
3640
- label: ReactNode;
3641
- on: boolean;
3642
- onChange: ChangeHandler;
3643
- align?: 'left' | 'right' | 'justify';
3644
- size?: Size;
3645
- data?: DataAttributeMap;
3646
- }
3647
- declare const Toggle: React__default.ForwardRefExoticComponent<ToggleProps & React__default.RefAttributes<HTMLInputElement>>;
3648
-
3649
- interface ToastAction {
3650
- label: string;
3651
- onClick: () => void;
3652
- }
3653
- type Toast = {
3654
- key?: string;
3655
- message: string;
3656
- description?: string;
3657
- action?: ToastAction;
3658
- closeLabel?: string;
3659
- data?: DataAttributeMap;
3660
- } & ({
3661
- tone: 'positive' | 'critical';
3662
- } | {
3663
- tone: 'neutral';
3664
- icon?: ReactElement<UseIconProps>;
3665
- });
3666
-
3667
- interface ToastProviderProps {
3668
- children: ReactNode;
3669
- }
3670
- declare const ToastProvider: ({ children }: ToastProviderProps) => JSX.Element;
3671
- declare const useToast: () => (toast: Toast) => void;
3672
-
3673
- interface TriggerProps {
3674
- ref: ReturnType<typeof usePopperTooltip>['setTooltipRef'];
3675
- tabIndex: 0;
3676
- 'aria-describedby': string;
3677
- }
3678
- declare const validPlacements: readonly ["top", "bottom"];
3679
- type Placement = (typeof validPlacements)[number];
3680
- interface TooltipRendererProps {
3681
- id: string;
3682
- tooltip: ReactNodeNoStrings;
3683
- placement?: Placement;
3684
- children: (renderProps: {
3685
- triggerProps: TriggerProps;
3686
- }) => ReactNode;
3687
- }
3688
- declare const TooltipRenderer: ({ id, tooltip, placement, children, }: TooltipRendererProps) => JSX.Element;
3689
-
3690
- type IconAddProps = UseIconProps;
3691
- declare const IconAdd: (props: IconAddProps) => JSX.Element;
3692
-
3693
- type IconArrowProps = UseIconProps & {
3694
- direction?: 'up' | 'down' | 'left' | 'right';
3695
- };
3696
- declare const IconArrow: ({ direction, ...props }: IconArrowProps) => JSX.Element;
3697
-
3698
- type IconBookmarkProps = UseIconProps & {
3699
- active?: boolean;
3700
- };
3701
- declare const IconBookmark: ({ active, ...props }: IconBookmarkProps) => JSX.Element;
3702
-
3703
- type IconCautionProps = UseIconProps;
3704
- declare const IconCaution: (props: IconCautionProps) => JSX.Element;
3705
-
3706
- type IconChevronProps = UseIconProps & {
3707
- direction?: 'up' | 'down' | 'left' | 'right';
3708
- };
3709
- declare const IconChevron: ({ direction, ...props }: IconChevronProps) => JSX.Element;
3710
-
3711
- type IconClearProps = UseIconProps;
3712
- declare const IconClear: (props: IconClearProps) => JSX.Element;
3713
-
3714
- type IconCompanyProps = UseIconProps;
3715
- declare const IconCompany: (props: IconCompanyProps) => JSX.Element;
3716
-
3717
- type IconComposeProps = UseIconProps;
3718
- declare const IconCompose: (props: IconComposeProps) => JSX.Element;
3719
-
3720
- type IconCopyProps = UseIconProps;
3721
- declare const IconCopy: (props: IconCopyProps) => JSX.Element;
3722
-
3723
- type IconCreditCardProps = UseIconProps;
3724
- declare const IconCreditCard: (props: IconCreditCardProps) => JSX.Element;
3725
-
3726
- type IconCriticalProps = UseIconProps;
3727
- declare const IconCritical: (props: IconCriticalProps) => JSX.Element;
3728
-
3729
- type IconDateProps = UseIconProps;
3730
- declare const IconDate: (props: IconDateProps) => JSX.Element;
3731
-
3732
- type IconDeleteProps = UseIconProps;
3733
- declare const IconDelete: (props: IconDeleteProps) => JSX.Element;
3734
-
3735
- type IconDesktopProps = UseIconProps;
3736
- declare const IconDesktop: (props: IconDesktopProps) => JSX.Element;
3737
-
3738
- type IconDocumentProps = UseIconProps;
3739
- declare const IconDocument: (props: IconDocumentProps) => JSX.Element;
3740
-
3741
- type IconDocumentBrokenProps = UseIconProps;
3742
- declare const IconDocumentBroken: (props: IconDocumentBrokenProps) => JSX.Element;
3743
-
3744
- type IconDownloadProps = UseIconProps;
3745
- declare const IconDownload: (props: IconDownloadProps) => JSX.Element;
3746
-
3747
- type IconEditProps = UseIconProps;
3748
- declare const IconEdit: (props: IconEditProps) => JSX.Element;
3749
-
3750
- type IconEducationProps = UseIconProps;
3751
- declare const IconEducation: (props: IconEducationProps) => JSX.Element;
3752
-
3753
- type IconFilterProps = UseIconProps;
3754
- declare const IconFilter: (props: IconFilterProps) => JSX.Element;
3755
-
3756
- type IconFlagProps = UseIconProps;
3757
- declare const IconFlag: (props: IconFlagProps) => JSX.Element;
3758
-
3759
- type IconGridProps = UseIconProps;
3760
- declare const IconGrid: (props: IconGridProps) => JSX.Element;
3761
-
3762
- type IconHeartProps = UseIconProps & {
3763
- active?: boolean;
3764
- };
3765
- declare const IconHeart: ({ active, ...props }: IconHeartProps) => JSX.Element;
3766
-
3767
- type IconHelpProps = UseIconProps;
3768
- declare const IconHelp: (props: IconHelpProps) => JSX.Element;
3769
-
3770
- type IconHistoryProps = UseIconProps;
3771
- declare const IconHistory: (props: IconHistoryProps) => JSX.Element;
3772
-
3773
- type IconHomeProps = UseIconProps;
3774
- declare const IconHome: (props: IconHomeProps) => JSX.Element;
3775
-
3776
- type IconImageProps = UseIconProps;
3777
- declare const IconImage: (props: IconImageProps) => JSX.Element;
3778
-
3779
- type IconInfoProps = UseIconProps;
3780
- declare const IconInfo: (props: IconInfoProps) => JSX.Element;
3781
-
3782
- type IconInvoiceProps = UseIconProps;
3783
- declare const IconInvoice: (props: IconInvoiceProps) => JSX.Element;
3784
-
3785
- type IconLanguageProps = UseIconProps;
3786
- declare const IconLanguage: (props: IconLanguageProps) => JSX.Element;
3787
-
3788
- type IconLinkProps = UseIconProps;
3789
- declare const IconLink: (props: IconLinkProps) => JSX.Element;
3790
-
3791
- type IconLinkBrokenProps = UseIconProps;
3792
- declare const IconLinkBroken: (props: IconLinkBrokenProps) => JSX.Element;
3793
-
3794
- type IconListProps = UseIconProps;
3795
- declare const IconList: (props: IconListProps) => JSX.Element;
3796
-
3797
- type IconLocationProps = UseIconProps;
3798
- declare const IconLocation: (props: IconLocationProps) => JSX.Element;
3799
-
3800
- type IconMailProps = UseIconProps;
3801
- declare const IconMail: (props: IconMailProps) => JSX.Element;
3802
-
3803
- type IconMinusProps = UseIconProps;
3804
- declare const IconMinus: (props: IconMinusProps) => JSX.Element;
3805
-
3806
- type IconMobileProps = UseIconProps;
3807
- declare const IconMobile: (props: IconMobileProps) => JSX.Element;
3808
-
3809
- type IconMoneyProps = UseIconProps;
3810
- declare const IconMoney: (props: IconMoneyProps) => JSX.Element;
3811
-
3812
- type IconNewWindowProps = UseIconProps;
3813
- declare const IconNewWindow: (props: IconNewWindowProps) => JSX.Element;
3814
-
3815
- type IconNoteProps = UseIconProps;
3816
- declare const IconNote: (props: IconNoteProps) => JSX.Element;
3817
-
3818
- type IconNotificationProps = UseIconProps;
3819
- declare const IconNotification: (props: IconNotificationProps) => JSX.Element;
3820
-
3821
- type IconOverflowProps = UseIconProps;
3822
- declare const IconOverflow: (props: IconOverflowProps) => JSX.Element;
3823
-
3824
- type IconPeopleProps = UseIconProps;
3825
- declare const IconPeople: (props: IconPeopleProps) => JSX.Element;
3826
-
3827
- type IconPersonAddProps = UseIconProps;
3828
- declare const IconPersonAdd: (props: IconPersonAddProps) => JSX.Element;
3829
-
3830
- type IconPersonVerifiedProps = UseIconProps;
3831
- declare const IconPersonVerified: (props: IconPersonVerifiedProps) => JSX.Element;
3832
-
3833
- type IconPhoneProps = UseIconProps;
3834
- declare const IconPhone: (props: IconPhoneProps) => JSX.Element;
3835
-
3836
- type IconPlatformAndroidProps = UseIconProps;
3837
- declare const IconPlatformAndroid: (props: IconPlatformAndroidProps) => JSX.Element;
3838
-
3839
- type IconPlatformAppleProps = UseIconProps;
3840
- declare const IconPlatformApple: (props: IconPlatformAppleProps) => JSX.Element;
3841
-
3842
- type IconPositiveProps = UseIconProps;
3843
- declare const IconPositive: (props: IconPositiveProps) => JSX.Element;
3844
-
3845
- type IconPrintProps = UseIconProps;
3846
- declare const IconPrint: (props: IconPrintProps) => JSX.Element;
3847
-
3848
- type IconProfileProps = UseIconProps;
3849
- declare const IconProfile: (props: IconProfileProps) => JSX.Element;
3850
-
3851
- type IconPromoteProps = UseIconProps;
3852
- declare const IconPromote: (props: IconPromoteProps) => JSX.Element;
3853
-
3854
- type IconRecommendedProps = UseIconProps;
3855
- declare const IconRecommended: (props: IconRecommendedProps) => JSX.Element;
3856
-
3857
- type IconRefreshProps = UseIconProps;
3858
- declare const IconRefresh: (props: IconRefreshProps) => JSX.Element;
3859
-
3860
- type IconResumeProps = UseIconProps;
3861
- declare const IconResume: (props: IconResumeProps) => JSX.Element;
3862
-
3863
- type IconSearchProps = UseIconProps;
3864
- declare const IconSearch: (props: IconSearchProps) => JSX.Element;
3865
-
3866
- type IconSecurityProps = UseIconProps;
3867
- declare const IconSecurity: (props: IconSecurityProps) => JSX.Element;
3868
-
3869
- type IconSendProps = UseIconProps;
3870
- declare const IconSend: (props: IconSendProps) => JSX.Element;
3871
-
3872
- type IconSentProps = UseIconProps;
3873
- declare const IconSent: (props: IconSentProps) => JSX.Element;
3874
-
3875
- type IconSettingsProps = UseIconProps;
3876
- declare const IconSettings: (props: IconSettingsProps) => JSX.Element;
3877
-
3878
- type IconShareProps = UseIconProps;
3879
- declare const IconShare: (props: IconShareProps) => JSX.Element;
3880
-
3881
- type IconSocialFacebookProps = UseIconProps;
3882
- declare const IconSocialFacebook: (props: IconSocialFacebookProps) => JSX.Element;
3883
-
3884
- type IconSocialGitHubProps = UseIconProps;
3885
- declare const IconSocialGitHub: (props: IconSocialGitHubProps) => JSX.Element;
3886
-
3887
- type IconSocialInstagramProps = UseIconProps;
3888
- declare const IconSocialInstagram: (props: IconSocialInstagramProps) => JSX.Element;
3889
-
3890
- type IconSocialLinkedInProps = UseIconProps;
3891
- declare const IconSocialLinkedIn: (props: IconSocialLinkedInProps) => JSX.Element;
3892
-
3893
- type IconSocialMediumProps = UseIconProps;
3894
- declare const IconSocialMedium: (props: IconSocialMediumProps) => JSX.Element;
3895
-
3896
- type IconSocialTwitterProps = UseIconProps;
3897
- declare const IconSocialTwitter: (props: IconSocialTwitterProps) => JSX.Element;
3898
-
3899
- type IconSocialYouTubeProps = UseIconProps;
3900
- declare const IconSocialYouTube: (props: IconSocialYouTubeProps) => JSX.Element;
3901
-
3902
- type IconStarProps = UseIconProps & {
3903
- active?: boolean;
3904
- };
3905
- declare const IconStar: ({ active, ...props }: IconStarProps) => JSX.Element;
3906
-
3907
- type IconStatisticsProps = UseIconProps;
3908
- declare const IconStatistics: (props: IconStatisticsProps) => JSX.Element;
3909
-
3910
- type IconSubCategoryProps = UseIconProps;
3911
- declare const IconSubCategory: (props: IconSubCategoryProps) => JSX.Element;
3912
-
3913
- type IconTagProps = UseIconProps;
3914
- declare const IconTag: (props: IconTagProps) => JSX.Element;
3915
-
3916
- type IconThumbProps = UseIconProps & {
3917
- direction?: 'up' | 'down';
3918
- };
3919
- declare const IconThumb: ({ direction, ...props }: IconThumbProps) => JSX.Element;
3920
-
3921
- type IconTickProps = UseIconProps;
3922
- declare const IconTick: (props: IconTickProps) => JSX.Element;
3923
-
3924
- type IconTimeProps = UseIconProps;
3925
- declare const IconTime: (props: IconTimeProps) => JSX.Element;
3926
-
3927
- type IconTipProps = UseIconProps;
3928
- declare const IconTip: (props: IconTipProps) => JSX.Element;
3929
-
3930
- type IconUploadProps = UseIconProps;
3931
- declare const IconUpload: (props: IconUploadProps) => JSX.Element;
3932
-
3933
- type IconVideoProps = UseIconProps;
3934
- declare const IconVideo: (props: IconVideoProps) => JSX.Element;
3935
-
3936
- type IconVisibilityProps = UseIconProps & {
3937
- hidden?: boolean;
3938
- };
3939
- declare const IconVisibility: ({ hidden, ...props }: IconVisibilityProps) => JSX.Element;
3940
-
3941
- type IconWorkExperienceProps = UseIconProps;
3942
- declare const IconWorkExperience: (props: IconWorkExperienceProps) => JSX.Element;
3943
-
3944
- type IconZoomInProps = UseIconProps;
3945
- declare const IconZoomIn: (props: IconZoomInProps) => JSX.Element;
3946
-
3947
- type IconZoomOutProps = UseIconProps;
3948
- declare const IconZoomOut: (props: IconZoomOutProps) => JSX.Element;
3949
-
3950
- type LinkComponent = LinkComponent$1;
3951
-
3952
- export { Accordion, AccordionItem, Actions, Alert, Autosuggest, Badge, Bleed, PublicBox as Box, BoxRenderer, BraidPortal, BraidProvider, Button, ButtonIcon, ButtonLink, Card, Checkbox, CheckboxStandalone, Column, Columns, ContentBlock, Dialog, Disclosure, Divider, Drawer, Dropdown, FieldLabel, FieldMessage, Heading, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline, Link, LinkComponent, List, Loader, MenuItem, MenuItemCheckbox, MenuItemDivider, MenuItemLink, MenuRenderer, MonthPicker, Notice, OverflowMenu, Pagination, PasswordField, Radio, RadioGroup, RadioItem, Rating, Secondary, Stack, Step$1 as Step, Stepper, Strong, Tab, TabPanel, TabPanels, Tabs, TabsProvider, Tag, Text, TextDropdown, TextField, TextLink, TextLinkButton, Textarea, ThemeNameConsumer, Tiles, ToastProvider, Toggle, TooltipRenderer, filterSuggestions, makeLinkComponent, useBreakpoint, useColor, useResponsiveValue, useSpace, useThemeName, useToast };
1
+ export { Accordion, AccordionItem, Actions, Alert, Autosuggest, Badge, Bleed, PublicBox as Box, BoxRenderer, BraidPortal, BraidProvider, Button, ButtonIcon, ButtonLink, Card, Checkbox, CheckboxStandalone, Column, Columns, ContentBlock, Dialog, Disclosure, Divider, Drawer, Dropdown, FieldLabel, FieldMessage, Heading, Hidden, HiddenVisually, IconAdd, IconArrow, IconBookmark, IconCaution, IconChevron, IconClear, IconCompany, IconCompose, IconCopy, IconCreditCard, IconCritical, IconDate, IconDelete, IconDesktop, IconDocument, IconDocumentBroken, IconDownload, IconEdit, IconEducation, IconFilter, IconFlag, IconGrid, IconHeart, IconHelp, IconHistory, IconHome, IconImage, IconInfo, IconInvoice, IconLanguage, IconLink, IconLinkBroken, IconList, IconLocation, IconMail, IconMinus, IconMobile, IconMoney, IconNewWindow, IconNote, IconNotification, IconOverflow, IconPeople, IconPersonAdd, IconPersonVerified, IconPhone, IconPlatformAndroid, IconPlatformApple, IconPositive, IconPrint, IconProfile, IconPromote, IconRecommended, IconRefresh, IconRenderer, IconResume, IconSearch, IconSecurity, IconSend, IconSent, IconSettings, IconShare, IconSocialFacebook, IconSocialGitHub, IconSocialInstagram, IconSocialLinkedIn, IconSocialMedium, IconSocialTwitter, IconSocialYouTube, IconStar, IconStatistics, IconSubCategory, IconTag, IconThumb, IconTick, IconTime, IconTip, IconUpload, IconVideo, IconVisibility, IconWorkExperience, IconZoomIn, IconZoomOut, Inline, Link, LinkComponent, List, Loader, MenuItem, MenuItemCheckbox, MenuItemDivider, MenuItemLink, MenuRenderer, MonthPicker, Notice, OverflowMenu, Pagination, PasswordField, Radio, RadioGroup, RadioItem, Rating, Secondary, Stack, Step, Stepper, Strong, Tab, TabPanel, TabPanels, Tabs, TabsProvider, Tag, Text, TextDropdown, TextField, TextLink, TextLinkButton, Textarea, ThemeNameConsumer, Tiles, ToastProvider, Toggle, TooltipRenderer, filterSuggestions, makeLinkComponent, useBreakpoint, useColor, useResponsiveValue, useSpace, useThemeName, useToast } from './reset.js';