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