@qasa/qds-ui 0.1.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 (217) hide show
  1. package/README.md +17 -0
  2. package/dist/cjs/index.js +2 -0
  3. package/dist/cjs/index.js.map +1 -0
  4. package/dist/cjs/types/components/_internal/form-parts.d.ts +13 -0
  5. package/dist/cjs/types/components/_internal/index.d.ts +1 -0
  6. package/dist/cjs/types/components/avatar/avatar.d.ts +30 -0
  7. package/dist/cjs/types/components/avatar/index.d.ts +1 -0
  8. package/dist/cjs/types/components/button/button-styles.d.ts +755 -0
  9. package/dist/cjs/types/components/button/button.d.ts +41 -0
  10. package/dist/cjs/types/components/button/index.d.ts +1 -0
  11. package/dist/cjs/types/components/divider/divider.d.ts +14 -0
  12. package/dist/cjs/types/components/divider/index.d.ts +1 -0
  13. package/dist/cjs/types/components/heading/heading.d.ts +403 -0
  14. package/dist/cjs/types/components/heading/index.d.ts +1 -0
  15. package/dist/cjs/types/components/icon/create-icon.d.ts +409 -0
  16. package/dist/cjs/types/components/icon/icons/arrow-down.d.ts +2 -0
  17. package/dist/cjs/types/components/icon/icons/arrow-left.d.ts +2 -0
  18. package/dist/cjs/types/components/icon/icons/arrow-right.d.ts +2 -0
  19. package/dist/cjs/types/components/icon/icons/arrow-up.d.ts +2 -0
  20. package/dist/cjs/types/components/icon/icons/bell-slash.d.ts +2 -0
  21. package/dist/cjs/types/components/icon/icons/bell.d.ts +2 -0
  22. package/dist/cjs/types/components/icon/icons/calendar.d.ts +2 -0
  23. package/dist/cjs/types/components/icon/icons/check.d.ts +2 -0
  24. package/dist/cjs/types/components/icon/icons/chevron-down.d.ts +2 -0
  25. package/dist/cjs/types/components/icon/icons/chevron-left.d.ts +2 -0
  26. package/dist/cjs/types/components/icon/icons/chevron-right.d.ts +2 -0
  27. package/dist/cjs/types/components/icon/icons/chevron-up.d.ts +2 -0
  28. package/dist/cjs/types/components/icon/icons/ellipsis-vertical.d.ts +2 -0
  29. package/dist/cjs/types/components/icon/icons/ellipsis.d.ts +2 -0
  30. package/dist/cjs/types/components/icon/icons/heart-filled.d.ts +2 -0
  31. package/dist/cjs/types/components/icon/icons/heart.d.ts +2 -0
  32. package/dist/cjs/types/components/icon/icons/image.d.ts +2 -0
  33. package/dist/cjs/types/components/icon/icons/index.d.ts +27 -0
  34. package/dist/cjs/types/components/icon/icons/location-dot.d.ts +2 -0
  35. package/dist/cjs/types/components/icon/icons/map.d.ts +2 -0
  36. package/dist/cjs/types/components/icon/icons/plus.d.ts +2 -0
  37. package/dist/cjs/types/components/icon/icons/search.d.ts +2 -0
  38. package/dist/cjs/types/components/icon/icons/settings.d.ts +2 -0
  39. package/dist/cjs/types/components/icon/icons/star-filled.d.ts +2 -0
  40. package/dist/cjs/types/components/icon/icons/star.d.ts +2 -0
  41. package/dist/cjs/types/components/icon/icons/trash.d.ts +2 -0
  42. package/dist/cjs/types/components/icon/icons/user.d.ts +2 -0
  43. package/dist/cjs/types/components/icon/icons/xmark.d.ts +2 -0
  44. package/dist/cjs/types/components/icon/index.d.ts +2 -0
  45. package/dist/cjs/types/components/icon-button/icon-button-styles.d.ts +735 -0
  46. package/dist/cjs/types/components/icon-button/icon-button.d.ts +31 -0
  47. package/dist/cjs/types/components/icon-button/index.d.ts +1 -0
  48. package/dist/cjs/types/components/image/image.d.ts +16 -0
  49. package/dist/cjs/types/components/image/index.d.ts +1 -0
  50. package/dist/cjs/types/components/index.d.ts +17 -0
  51. package/dist/cjs/types/components/label/index.d.ts +1 -0
  52. package/dist/cjs/types/components/label/label.d.ts +358 -0
  53. package/dist/cjs/types/components/link/index.d.ts +1 -0
  54. package/dist/cjs/types/components/link/link.d.ts +15 -0
  55. package/dist/cjs/types/components/loading-dots/index.d.ts +1 -0
  56. package/dist/cjs/types/components/loading-dots/loading-dots.d.ts +348 -0
  57. package/dist/cjs/types/components/paragraph/index.d.ts +1 -0
  58. package/dist/cjs/types/components/paragraph/paragraph.d.ts +402 -0
  59. package/dist/cjs/types/components/primitives/index.d.ts +3 -0
  60. package/dist/cjs/types/components/primitives/input-base/index.d.ts +1 -0
  61. package/dist/cjs/types/components/primitives/input-base/input-base.d.ts +21 -0
  62. package/dist/cjs/types/components/primitives/select-base/index.d.ts +1 -0
  63. package/dist/cjs/types/components/primitives/select-base/select-base.d.ts +30 -0
  64. package/dist/cjs/types/components/primitives/textarea-base/index.d.ts +1 -0
  65. package/dist/cjs/types/components/primitives/textarea-base/textarea-base.d.ts +36 -0
  66. package/dist/cjs/types/components/select/index.d.ts +1 -0
  67. package/dist/cjs/types/components/select/select-option.d.ts +10 -0
  68. package/dist/cjs/types/components/select/select.d.ts +25 -0
  69. package/dist/cjs/types/components/spacer/index.d.ts +1 -0
  70. package/dist/cjs/types/components/spacer/spacer.d.ts +11 -0
  71. package/dist/cjs/types/components/stack/index.d.ts +1 -0
  72. package/dist/cjs/types/components/stack/stack.d.ts +17 -0
  73. package/dist/cjs/types/components/stack/stack.types.d.ts +4 -0
  74. package/dist/cjs/types/components/stack/stack.utils.d.ts +6 -0
  75. package/dist/cjs/types/components/text-field/index.d.ts +1 -0
  76. package/dist/cjs/types/components/text-field/text-field.d.ts +22 -0
  77. package/dist/cjs/types/components/textarea/index.d.ts +1 -0
  78. package/dist/cjs/types/components/textarea/textarea.d.ts +22 -0
  79. package/dist/cjs/types/hooks/index.d.ts +6 -0
  80. package/dist/cjs/types/hooks/use-breakpoint-value.d.ts +16 -0
  81. package/dist/cjs/types/hooks/use-breakpoint.d.ts +17 -0
  82. package/dist/cjs/types/hooks/use-form-field.d.ts +49 -0
  83. package/dist/cjs/types/hooks/use-image.d.ts +10 -0
  84. package/dist/cjs/types/hooks/use-safe-layout-effect.d.ts +9 -0
  85. package/dist/cjs/types/hooks/use-stable-id.d.ts +4 -0
  86. package/dist/cjs/types/index.d.ts +6 -0
  87. package/dist/cjs/types/qds-provider.d.ts +8 -0
  88. package/dist/cjs/types/styles/common-styles.d.ts +369 -0
  89. package/dist/cjs/types/styles/css-reset.d.ts +5 -0
  90. package/dist/cjs/types/styles/css-utils.d.ts +19 -0
  91. package/dist/cjs/types/styles/global-styles.d.ts +5 -0
  92. package/dist/cjs/types/styles/index.d.ts +3 -0
  93. package/dist/cjs/types/theme/foundations/breakpoints.d.ts +8 -0
  94. package/dist/cjs/types/theme/foundations/colors.d.ts +107 -0
  95. package/dist/cjs/types/theme/foundations/index.d.ts +335 -0
  96. package/dist/cjs/types/theme/foundations/radius.d.ts +9 -0
  97. package/dist/cjs/types/theme/foundations/shadows.d.ts +7 -0
  98. package/dist/cjs/types/theme/foundations/sizes.d.ts +32 -0
  99. package/dist/cjs/types/theme/foundations/spacing.d.ts +14 -0
  100. package/dist/cjs/types/theme/foundations/typography.d.ts +131 -0
  101. package/dist/cjs/types/theme/foundations/z-index.d.ts +15 -0
  102. package/dist/cjs/types/theme/index.d.ts +2 -0
  103. package/dist/cjs/types/theme/theme-tools.d.ts +345 -0
  104. package/dist/cjs/types/theme/theme.d.ts +331 -0
  105. package/dist/cjs/types/types.d.ts +5 -0
  106. package/dist/cjs/types/utils/object.d.ts +1 -0
  107. package/dist/cjs/types/utils/polymorphic.d.ts +41 -0
  108. package/dist/cjs/types/utils/test-utils.d.ts +14 -0
  109. package/dist/esm/index.js +2 -0
  110. package/dist/esm/index.js.map +1 -0
  111. package/dist/esm/types/components/_internal/form-parts.d.ts +13 -0
  112. package/dist/esm/types/components/_internal/index.d.ts +1 -0
  113. package/dist/esm/types/components/avatar/avatar.d.ts +30 -0
  114. package/dist/esm/types/components/avatar/index.d.ts +1 -0
  115. package/dist/esm/types/components/button/button-styles.d.ts +755 -0
  116. package/dist/esm/types/components/button/button.d.ts +41 -0
  117. package/dist/esm/types/components/button/index.d.ts +1 -0
  118. package/dist/esm/types/components/divider/divider.d.ts +14 -0
  119. package/dist/esm/types/components/divider/index.d.ts +1 -0
  120. package/dist/esm/types/components/heading/heading.d.ts +403 -0
  121. package/dist/esm/types/components/heading/index.d.ts +1 -0
  122. package/dist/esm/types/components/icon/create-icon.d.ts +409 -0
  123. package/dist/esm/types/components/icon/icons/arrow-down.d.ts +2 -0
  124. package/dist/esm/types/components/icon/icons/arrow-left.d.ts +2 -0
  125. package/dist/esm/types/components/icon/icons/arrow-right.d.ts +2 -0
  126. package/dist/esm/types/components/icon/icons/arrow-up.d.ts +2 -0
  127. package/dist/esm/types/components/icon/icons/bell-slash.d.ts +2 -0
  128. package/dist/esm/types/components/icon/icons/bell.d.ts +2 -0
  129. package/dist/esm/types/components/icon/icons/calendar.d.ts +2 -0
  130. package/dist/esm/types/components/icon/icons/check.d.ts +2 -0
  131. package/dist/esm/types/components/icon/icons/chevron-down.d.ts +2 -0
  132. package/dist/esm/types/components/icon/icons/chevron-left.d.ts +2 -0
  133. package/dist/esm/types/components/icon/icons/chevron-right.d.ts +2 -0
  134. package/dist/esm/types/components/icon/icons/chevron-up.d.ts +2 -0
  135. package/dist/esm/types/components/icon/icons/ellipsis-vertical.d.ts +2 -0
  136. package/dist/esm/types/components/icon/icons/ellipsis.d.ts +2 -0
  137. package/dist/esm/types/components/icon/icons/heart-filled.d.ts +2 -0
  138. package/dist/esm/types/components/icon/icons/heart.d.ts +2 -0
  139. package/dist/esm/types/components/icon/icons/image.d.ts +2 -0
  140. package/dist/esm/types/components/icon/icons/index.d.ts +27 -0
  141. package/dist/esm/types/components/icon/icons/location-dot.d.ts +2 -0
  142. package/dist/esm/types/components/icon/icons/map.d.ts +2 -0
  143. package/dist/esm/types/components/icon/icons/plus.d.ts +2 -0
  144. package/dist/esm/types/components/icon/icons/search.d.ts +2 -0
  145. package/dist/esm/types/components/icon/icons/settings.d.ts +2 -0
  146. package/dist/esm/types/components/icon/icons/star-filled.d.ts +2 -0
  147. package/dist/esm/types/components/icon/icons/star.d.ts +2 -0
  148. package/dist/esm/types/components/icon/icons/trash.d.ts +2 -0
  149. package/dist/esm/types/components/icon/icons/user.d.ts +2 -0
  150. package/dist/esm/types/components/icon/icons/xmark.d.ts +2 -0
  151. package/dist/esm/types/components/icon/index.d.ts +2 -0
  152. package/dist/esm/types/components/icon-button/icon-button-styles.d.ts +735 -0
  153. package/dist/esm/types/components/icon-button/icon-button.d.ts +31 -0
  154. package/dist/esm/types/components/icon-button/index.d.ts +1 -0
  155. package/dist/esm/types/components/image/image.d.ts +16 -0
  156. package/dist/esm/types/components/image/index.d.ts +1 -0
  157. package/dist/esm/types/components/index.d.ts +17 -0
  158. package/dist/esm/types/components/label/index.d.ts +1 -0
  159. package/dist/esm/types/components/label/label.d.ts +358 -0
  160. package/dist/esm/types/components/link/index.d.ts +1 -0
  161. package/dist/esm/types/components/link/link.d.ts +15 -0
  162. package/dist/esm/types/components/loading-dots/index.d.ts +1 -0
  163. package/dist/esm/types/components/loading-dots/loading-dots.d.ts +348 -0
  164. package/dist/esm/types/components/paragraph/index.d.ts +1 -0
  165. package/dist/esm/types/components/paragraph/paragraph.d.ts +402 -0
  166. package/dist/esm/types/components/primitives/index.d.ts +3 -0
  167. package/dist/esm/types/components/primitives/input-base/index.d.ts +1 -0
  168. package/dist/esm/types/components/primitives/input-base/input-base.d.ts +21 -0
  169. package/dist/esm/types/components/primitives/select-base/index.d.ts +1 -0
  170. package/dist/esm/types/components/primitives/select-base/select-base.d.ts +30 -0
  171. package/dist/esm/types/components/primitives/textarea-base/index.d.ts +1 -0
  172. package/dist/esm/types/components/primitives/textarea-base/textarea-base.d.ts +36 -0
  173. package/dist/esm/types/components/select/index.d.ts +1 -0
  174. package/dist/esm/types/components/select/select-option.d.ts +10 -0
  175. package/dist/esm/types/components/select/select.d.ts +25 -0
  176. package/dist/esm/types/components/spacer/index.d.ts +1 -0
  177. package/dist/esm/types/components/spacer/spacer.d.ts +11 -0
  178. package/dist/esm/types/components/stack/index.d.ts +1 -0
  179. package/dist/esm/types/components/stack/stack.d.ts +17 -0
  180. package/dist/esm/types/components/stack/stack.types.d.ts +4 -0
  181. package/dist/esm/types/components/stack/stack.utils.d.ts +6 -0
  182. package/dist/esm/types/components/text-field/index.d.ts +1 -0
  183. package/dist/esm/types/components/text-field/text-field.d.ts +22 -0
  184. package/dist/esm/types/components/textarea/index.d.ts +1 -0
  185. package/dist/esm/types/components/textarea/textarea.d.ts +22 -0
  186. package/dist/esm/types/hooks/index.d.ts +6 -0
  187. package/dist/esm/types/hooks/use-breakpoint-value.d.ts +16 -0
  188. package/dist/esm/types/hooks/use-breakpoint.d.ts +17 -0
  189. package/dist/esm/types/hooks/use-form-field.d.ts +49 -0
  190. package/dist/esm/types/hooks/use-image.d.ts +10 -0
  191. package/dist/esm/types/hooks/use-safe-layout-effect.d.ts +9 -0
  192. package/dist/esm/types/hooks/use-stable-id.d.ts +4 -0
  193. package/dist/esm/types/index.d.ts +6 -0
  194. package/dist/esm/types/qds-provider.d.ts +8 -0
  195. package/dist/esm/types/styles/common-styles.d.ts +369 -0
  196. package/dist/esm/types/styles/css-reset.d.ts +5 -0
  197. package/dist/esm/types/styles/css-utils.d.ts +19 -0
  198. package/dist/esm/types/styles/global-styles.d.ts +5 -0
  199. package/dist/esm/types/styles/index.d.ts +3 -0
  200. package/dist/esm/types/theme/foundations/breakpoints.d.ts +8 -0
  201. package/dist/esm/types/theme/foundations/colors.d.ts +107 -0
  202. package/dist/esm/types/theme/foundations/index.d.ts +335 -0
  203. package/dist/esm/types/theme/foundations/radius.d.ts +9 -0
  204. package/dist/esm/types/theme/foundations/shadows.d.ts +7 -0
  205. package/dist/esm/types/theme/foundations/sizes.d.ts +32 -0
  206. package/dist/esm/types/theme/foundations/spacing.d.ts +14 -0
  207. package/dist/esm/types/theme/foundations/typography.d.ts +131 -0
  208. package/dist/esm/types/theme/foundations/z-index.d.ts +15 -0
  209. package/dist/esm/types/theme/index.d.ts +2 -0
  210. package/dist/esm/types/theme/theme-tools.d.ts +345 -0
  211. package/dist/esm/types/theme/theme.d.ts +331 -0
  212. package/dist/esm/types/types.d.ts +5 -0
  213. package/dist/esm/types/utils/object.d.ts +1 -0
  214. package/dist/esm/types/utils/polymorphic.d.ts +41 -0
  215. package/dist/esm/types/utils/test-utils.d.ts +14 -0
  216. package/dist/index.d.ts +4978 -0
  217. package/package.json +103 -0
@@ -0,0 +1,4978 @@
1
+ /// <reference types="react" />
2
+ import * as react from 'react';
3
+ import { ElementType, ComponentPropsWithoutRef, ReactNode, SVGAttributes, useLayoutEffect } from 'react';
4
+ import { CSSObject } from '@emotion/react';
5
+
6
+ declare const theme: {
7
+ mediaQueries: {
8
+ readonly smUp: "@media(min-width: 480px)";
9
+ readonly mdUp: "@media(min-width: 768px)";
10
+ readonly lgUp: "@media(min-width: 1024px)";
11
+ readonly xlUp: "@media(min-width: 1280px)";
12
+ readonly '2xlUp': "@media(min-width: 1536px)";
13
+ };
14
+ spacing: {
15
+ '0x': string;
16
+ '1x': string;
17
+ '2x': string;
18
+ '3x': string;
19
+ '4x': string;
20
+ '5x': string;
21
+ '6x': string;
22
+ '8x': string;
23
+ '12x': string;
24
+ '16x': string;
25
+ '20x': string;
26
+ '24x': string;
27
+ };
28
+ breakpoints: {
29
+ readonly base: 0;
30
+ readonly sm: 480;
31
+ readonly md: 768;
32
+ readonly lg: 1024;
33
+ readonly xl: 1280;
34
+ readonly '2xl': 1536;
35
+ };
36
+ zIndices: {
37
+ hide: number;
38
+ auto: string;
39
+ base: number;
40
+ docked: number;
41
+ dropdown: number;
42
+ sticky: number;
43
+ banner: number;
44
+ overlay: number;
45
+ modal: number;
46
+ popover: number;
47
+ skipLink: number;
48
+ toast: number;
49
+ tooltip: number;
50
+ };
51
+ colors: {
52
+ core: {
53
+ black: string;
54
+ white: string;
55
+ gray90: string;
56
+ gray80: string;
57
+ gray70: string;
58
+ gray60: string;
59
+ gray50: string;
60
+ gray40: string;
61
+ gray30: string;
62
+ gray20: string;
63
+ gray10: string;
64
+ brand90: string;
65
+ brand80: string;
66
+ brand70: string;
67
+ brand60: string;
68
+ brand50: string;
69
+ brand40: string;
70
+ brand30: string;
71
+ brand20: string;
72
+ brand10: string;
73
+ red10: string;
74
+ red20: string;
75
+ red30: string;
76
+ red40: string;
77
+ red50: string;
78
+ red60: string;
79
+ red70: string;
80
+ red80: string;
81
+ red90: string;
82
+ green90: string;
83
+ green80: string;
84
+ green70: string;
85
+ green60: string;
86
+ green50: string;
87
+ green40: string;
88
+ green30: string;
89
+ green20: string;
90
+ green10: string;
91
+ blue90: string;
92
+ blue80: string;
93
+ blue70: string;
94
+ blue60: string;
95
+ blue50: string;
96
+ blue40: string;
97
+ blue30: string;
98
+ blue20: string;
99
+ blue10: string;
100
+ yellow90: string;
101
+ yellow80: string;
102
+ yellow70: string;
103
+ yellow60: string;
104
+ yellow50: string;
105
+ yellow40: string;
106
+ yellow30: string;
107
+ yellow20: string;
108
+ yellow10: string;
109
+ blackAlpha20: string;
110
+ };
111
+ bg: {
112
+ default: string;
113
+ brandPrimary: string;
114
+ brandPrimaryHover: string;
115
+ brandPrimaryActive: string;
116
+ brandSecondary: string;
117
+ brandSecondaryHover: string;
118
+ brandSecondaryActive: string;
119
+ negative: string;
120
+ warning: string;
121
+ positive: string;
122
+ inset: string;
123
+ backdrop: string;
124
+ };
125
+ text: {
126
+ strong: string;
127
+ default: string;
128
+ subtle: string;
129
+ disabled: string;
130
+ negative: string;
131
+ warning: string;
132
+ positive: string;
133
+ onColor: string;
134
+ };
135
+ icon: {
136
+ default: string;
137
+ strong: string;
138
+ subtle: string;
139
+ disabled: string;
140
+ negative: string;
141
+ warning: string;
142
+ success: string;
143
+ onColor: string;
144
+ };
145
+ border: {
146
+ default: string;
147
+ defaultHover: string;
148
+ defaultSelected: string;
149
+ strong: string;
150
+ subtle: string;
151
+ negative: string;
152
+ warning: string;
153
+ success: string;
154
+ };
155
+ };
156
+ sizes: {
157
+ 112: string;
158
+ 128: string;
159
+ 144: string;
160
+ 160: string;
161
+ 176: string;
162
+ 192: string;
163
+ 224: string;
164
+ 256: string;
165
+ 288: string;
166
+ 320: string;
167
+ 384: string;
168
+ 448: string;
169
+ 512: string;
170
+ 576: string;
171
+ 672: string;
172
+ 768: string;
173
+ 896: string;
174
+ 1024: string;
175
+ '0x': string;
176
+ '1x': string;
177
+ '2x': string;
178
+ '3x': string;
179
+ '4x': string;
180
+ '5x': string;
181
+ '6x': string;
182
+ '8x': string;
183
+ '12x': string;
184
+ '16x': string;
185
+ '20x': string;
186
+ '24x': string;
187
+ };
188
+ radii: {
189
+ none: string;
190
+ xs: string;
191
+ sm: string;
192
+ md: string;
193
+ lg: string;
194
+ xl: string;
195
+ full: string;
196
+ };
197
+ shadows: {
198
+ none: string;
199
+ sm: string;
200
+ md: string;
201
+ lg: string;
202
+ xl: string;
203
+ };
204
+ typography: {
205
+ display: {
206
+ lg: {
207
+ fontFamily: string;
208
+ fontWeight: string;
209
+ fontSize: string;
210
+ lineHeight: string;
211
+ letterSpacing: string;
212
+ };
213
+ md: {
214
+ fontFamily: string;
215
+ fontWeight: string;
216
+ fontSize: string;
217
+ lineHeight: string;
218
+ letterSpacing: string;
219
+ };
220
+ };
221
+ title: {
222
+ lg: {
223
+ fontFamily: string;
224
+ fontWeight: string;
225
+ fontSize: string;
226
+ lineHeight: string;
227
+ letterSpacing: string;
228
+ };
229
+ md: {
230
+ fontFamily: string;
231
+ fontWeight: string;
232
+ fontSize: string;
233
+ lineHeight: string;
234
+ letterSpacing: string;
235
+ };
236
+ sm: {
237
+ fontFamily: string;
238
+ fontWeight: string;
239
+ fontSize: string;
240
+ lineHeight: string;
241
+ letterSpacing: string;
242
+ };
243
+ xs: {
244
+ fontFamily: string;
245
+ fontWeight: string;
246
+ fontSize: string;
247
+ lineHeight: string;
248
+ letterSpacing: string;
249
+ };
250
+ '2xs': {
251
+ fontFamily: string;
252
+ fontWeight: string;
253
+ fontSize: string;
254
+ lineHeight: string;
255
+ letterSpacing: string;
256
+ };
257
+ '3xs': {
258
+ fontFamily: string;
259
+ fontWeight: string;
260
+ fontSize: string;
261
+ lineHeight: string;
262
+ letterSpacing: string;
263
+ };
264
+ };
265
+ body: {
266
+ xl: {
267
+ fontFamily: string;
268
+ fontWeight: string;
269
+ fontSize: string;
270
+ lineHeight: string;
271
+ letterSpacing: string;
272
+ };
273
+ lg: {
274
+ fontFamily: string;
275
+ fontWeight: string;
276
+ fontSize: string;
277
+ lineHeight: string;
278
+ letterSpacing: string;
279
+ };
280
+ md: {
281
+ fontFamily: string;
282
+ fontWeight: string;
283
+ fontSize: string;
284
+ lineHeight: string;
285
+ letterSpacing: string;
286
+ };
287
+ sm: {
288
+ fontFamily: string;
289
+ fontWeight: string;
290
+ fontSize: string;
291
+ lineHeight: string;
292
+ letterSpacing: string;
293
+ };
294
+ xs: {
295
+ fontFamily: string;
296
+ fontWeight: string;
297
+ fontSize: string;
298
+ lineHeight: string;
299
+ letterSpacing: string;
300
+ };
301
+ };
302
+ label: {
303
+ md: {
304
+ fontFamily: string;
305
+ fontWeight: string;
306
+ fontSize: string;
307
+ lineHeight: string;
308
+ letterSpacing: string;
309
+ };
310
+ sm: {
311
+ fontFamily: string;
312
+ fontWeight: string;
313
+ fontSize: string;
314
+ lineHeight: string;
315
+ letterSpacing: string;
316
+ };
317
+ };
318
+ caption: {
319
+ md: {
320
+ fontFamily: string;
321
+ fontWeight: string;
322
+ fontSize: string;
323
+ lineHeight: string;
324
+ letterSpacing: string;
325
+ };
326
+ sm: {
327
+ fontFamily: string;
328
+ fontWeight: string;
329
+ fontSize: string;
330
+ lineHeight: string;
331
+ letterSpacing: string;
332
+ };
333
+ };
334
+ };
335
+ };
336
+ declare type Theme = typeof theme;
337
+
338
+ declare type LegitimateAny = any;
339
+ declare type PartialRecord<K extends string | number | symbol, T> = Partial<Record<K, T>>;
340
+ declare type Merge<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2;
341
+ declare type HTMLQdsProps<T extends ElementType> = ComponentPropsWithoutRef<T>;
342
+
343
+ declare type DeepPartial<T> = {
344
+ [P in keyof T]?: DeepPartial<T[P]>;
345
+ };
346
+ interface TypographyOverride {
347
+ fontFamily?: string;
348
+ fontWeight?: '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
349
+ }
350
+ declare type TypographyOverrides = PartialRecord<keyof Theme['typography'], TypographyOverride>;
351
+ interface ThemeOverrides {
352
+ colors?: DeepPartial<Theme['colors']>;
353
+ typography?: TypographyOverrides;
354
+ }
355
+ declare const overrideTheme: (overrides: ThemeOverrides) => {
356
+ typography: {
357
+ display: {
358
+ lg: {
359
+ fontFamily: string;
360
+ fontWeight: string;
361
+ fontSize: string;
362
+ lineHeight: string;
363
+ letterSpacing: string;
364
+ };
365
+ md: {
366
+ fontFamily: string;
367
+ fontWeight: string;
368
+ fontSize: string;
369
+ lineHeight: string;
370
+ letterSpacing: string;
371
+ };
372
+ };
373
+ title: {
374
+ lg: {
375
+ fontFamily: string;
376
+ fontWeight: string;
377
+ fontSize: string;
378
+ lineHeight: string;
379
+ letterSpacing: string;
380
+ };
381
+ md: {
382
+ fontFamily: string;
383
+ fontWeight: string;
384
+ fontSize: string;
385
+ lineHeight: string;
386
+ letterSpacing: string;
387
+ };
388
+ sm: {
389
+ fontFamily: string;
390
+ fontWeight: string;
391
+ fontSize: string;
392
+ lineHeight: string;
393
+ letterSpacing: string;
394
+ };
395
+ xs: {
396
+ fontFamily: string;
397
+ fontWeight: string;
398
+ fontSize: string;
399
+ lineHeight: string;
400
+ letterSpacing: string;
401
+ };
402
+ '2xs': {
403
+ fontFamily: string;
404
+ fontWeight: string;
405
+ fontSize: string;
406
+ lineHeight: string;
407
+ letterSpacing: string;
408
+ };
409
+ '3xs': {
410
+ fontFamily: string;
411
+ fontWeight: string;
412
+ fontSize: string;
413
+ lineHeight: string;
414
+ letterSpacing: string;
415
+ };
416
+ };
417
+ body: {
418
+ xl: {
419
+ fontFamily: string;
420
+ fontWeight: string;
421
+ fontSize: string;
422
+ lineHeight: string;
423
+ letterSpacing: string;
424
+ };
425
+ lg: {
426
+ fontFamily: string;
427
+ fontWeight: string;
428
+ fontSize: string;
429
+ lineHeight: string;
430
+ letterSpacing: string;
431
+ };
432
+ md: {
433
+ fontFamily: string;
434
+ fontWeight: string;
435
+ fontSize: string;
436
+ lineHeight: string;
437
+ letterSpacing: string;
438
+ };
439
+ sm: {
440
+ fontFamily: string;
441
+ fontWeight: string;
442
+ fontSize: string;
443
+ lineHeight: string;
444
+ letterSpacing: string;
445
+ };
446
+ xs: {
447
+ fontFamily: string;
448
+ fontWeight: string;
449
+ fontSize: string;
450
+ lineHeight: string;
451
+ letterSpacing: string;
452
+ };
453
+ };
454
+ label: {
455
+ md: {
456
+ fontFamily: string;
457
+ fontWeight: string;
458
+ fontSize: string;
459
+ lineHeight: string;
460
+ letterSpacing: string;
461
+ };
462
+ sm: {
463
+ fontFamily: string;
464
+ fontWeight: string;
465
+ fontSize: string;
466
+ lineHeight: string;
467
+ letterSpacing: string;
468
+ };
469
+ };
470
+ caption: {
471
+ md: {
472
+ fontFamily: string;
473
+ fontWeight: string;
474
+ fontSize: string;
475
+ lineHeight: string;
476
+ letterSpacing: string;
477
+ };
478
+ sm: {
479
+ fontFamily: string;
480
+ fontWeight: string;
481
+ fontSize: string;
482
+ lineHeight: string;
483
+ letterSpacing: string;
484
+ };
485
+ };
486
+ };
487
+ colors: {
488
+ core: {
489
+ black: string;
490
+ white: string;
491
+ gray90: string;
492
+ gray80: string;
493
+ gray70: string;
494
+ gray60: string;
495
+ gray50: string;
496
+ gray40: string;
497
+ gray30: string;
498
+ gray20: string;
499
+ gray10: string;
500
+ brand90: string;
501
+ brand80: string;
502
+ brand70: string;
503
+ brand60: string;
504
+ brand50: string;
505
+ brand40: string;
506
+ brand30: string;
507
+ brand20: string;
508
+ brand10: string;
509
+ red10: string;
510
+ red20: string;
511
+ red30: string;
512
+ red40: string;
513
+ red50: string;
514
+ red60: string;
515
+ red70: string;
516
+ red80: string;
517
+ red90: string;
518
+ green90: string;
519
+ green80: string;
520
+ green70: string;
521
+ green60: string;
522
+ green50: string;
523
+ green40: string;
524
+ green30: string;
525
+ green20: string;
526
+ green10: string;
527
+ blue90: string;
528
+ blue80: string;
529
+ blue70: string;
530
+ blue60: string;
531
+ blue50: string;
532
+ blue40: string;
533
+ blue30: string;
534
+ blue20: string;
535
+ blue10: string;
536
+ yellow90: string;
537
+ yellow80: string;
538
+ yellow70: string;
539
+ yellow60: string;
540
+ yellow50: string;
541
+ yellow40: string;
542
+ yellow30: string;
543
+ yellow20: string;
544
+ yellow10: string;
545
+ blackAlpha20: string;
546
+ };
547
+ bg: {
548
+ default: string;
549
+ brandPrimary: string;
550
+ brandPrimaryHover: string;
551
+ brandPrimaryActive: string;
552
+ brandSecondary: string;
553
+ brandSecondaryHover: string;
554
+ brandSecondaryActive: string;
555
+ negative: string;
556
+ warning: string;
557
+ positive: string;
558
+ inset: string;
559
+ backdrop: string;
560
+ };
561
+ text: {
562
+ strong: string;
563
+ default: string;
564
+ subtle: string;
565
+ disabled: string;
566
+ negative: string;
567
+ warning: string;
568
+ positive: string;
569
+ onColor: string;
570
+ };
571
+ icon: {
572
+ default: string;
573
+ strong: string;
574
+ subtle: string;
575
+ disabled: string;
576
+ negative: string;
577
+ warning: string;
578
+ success: string;
579
+ onColor: string;
580
+ };
581
+ border: {
582
+ default: string;
583
+ defaultHover: string;
584
+ defaultSelected: string;
585
+ strong: string;
586
+ subtle: string;
587
+ negative: string;
588
+ warning: string;
589
+ success: string;
590
+ };
591
+ };
592
+ mediaQueries: {
593
+ readonly smUp: "@media(min-width: 480px)";
594
+ readonly mdUp: "@media(min-width: 768px)";
595
+ readonly lgUp: "@media(min-width: 1024px)";
596
+ readonly xlUp: "@media(min-width: 1280px)";
597
+ readonly '2xlUp': "@media(min-width: 1536px)";
598
+ };
599
+ spacing: {
600
+ '0x': string;
601
+ '1x': string;
602
+ '2x': string;
603
+ '3x': string;
604
+ '4x': string;
605
+ '5x': string;
606
+ '6x': string;
607
+ '8x': string;
608
+ '12x': string;
609
+ '16x': string;
610
+ '20x': string;
611
+ '24x': string;
612
+ };
613
+ breakpoints: {
614
+ readonly base: 0;
615
+ readonly sm: 480;
616
+ readonly md: 768;
617
+ readonly lg: 1024;
618
+ readonly xl: 1280;
619
+ readonly '2xl': 1536;
620
+ };
621
+ zIndices: {
622
+ hide: number;
623
+ auto: string;
624
+ base: number;
625
+ docked: number;
626
+ dropdown: number;
627
+ sticky: number;
628
+ banner: number;
629
+ overlay: number;
630
+ modal: number;
631
+ popover: number;
632
+ skipLink: number;
633
+ toast: number;
634
+ tooltip: number;
635
+ };
636
+ sizes: {
637
+ 112: string;
638
+ 128: string;
639
+ 144: string;
640
+ 160: string;
641
+ 176: string;
642
+ 192: string;
643
+ 224: string;
644
+ 256: string;
645
+ 288: string;
646
+ 320: string;
647
+ 384: string;
648
+ 448: string;
649
+ 512: string;
650
+ 576: string;
651
+ 672: string;
652
+ 768: string;
653
+ 896: string;
654
+ 1024: string;
655
+ '0x': string;
656
+ '1x': string;
657
+ '2x': string;
658
+ '3x': string;
659
+ '4x': string;
660
+ '5x': string;
661
+ '6x': string;
662
+ '8x': string;
663
+ '12x': string;
664
+ '16x': string;
665
+ '20x': string;
666
+ '24x': string;
667
+ };
668
+ radii: {
669
+ none: string;
670
+ xs: string;
671
+ sm: string;
672
+ md: string;
673
+ lg: string;
674
+ xl: string;
675
+ full: string;
676
+ };
677
+ shadows: {
678
+ none: string;
679
+ sm: string;
680
+ md: string;
681
+ lg: string;
682
+ xl: string;
683
+ };
684
+ };
685
+
686
+ interface QdsProviderProps {
687
+ children: ReactNode;
688
+ themeOverrides?: ThemeOverrides;
689
+ }
690
+ declare function QdsProvider({ children, themeOverrides }: QdsProviderProps): JSX.Element;
691
+
692
+ declare const SIZE_MAP: {
693
+ sm: number;
694
+ md: number;
695
+ lg: number;
696
+ xl: number;
697
+ '2xl': number;
698
+ };
699
+ declare type AvatarSize = keyof typeof SIZE_MAP;
700
+ interface AvatarOptions {
701
+ /**
702
+ * Source url of the image to display. If not passed
703
+ * it will display a fallback icon.
704
+ */
705
+ src?: string;
706
+ /**
707
+ * Name of the user. Important for accessibility.
708
+ */
709
+ name?: string;
710
+ /**
711
+ * Size of the avatar
712
+ * @default 'md'
713
+ */
714
+ size?: AvatarSize;
715
+ }
716
+ interface AvatarProps extends HTMLQdsProps<'span'>, AvatarOptions {
717
+ }
718
+ declare const Avatar: react.ForwardRefExoticComponent<AvatarProps & react.RefAttributes<HTMLSpanElement>>;
719
+
720
+ /**
721
+ * Adds some global opinionated styles.
722
+ */
723
+ declare function GlobalStyles(): JSX.Element;
724
+
725
+ declare type NamedStyles = Record<string, CSSObject>;
726
+ declare type StyleInterpolation<T> = (theme: Theme) => T;
727
+ /**
728
+ * Creates a collection of named style rules.
729
+ */
730
+ declare function createStyleVariants<T extends NamedStyles>(styles: StyleInterpolation<T>): (theme: Theme) => T;
731
+ /**
732
+ * Create a style object. Useful for creating styles that depend on the theme.
733
+ */
734
+ declare function createStyle<T extends CSSObject>(styles: StyleInterpolation<T>): (theme: Theme) => T;
735
+ declare type VariantProps<T extends ReturnType<typeof createStyle | typeof createStyleVariants>> = keyof ReturnType<T>;
736
+ /**
737
+ * Converts css `px` unit to `rem`.
738
+ * Assumes the root font size is 16px.
739
+ */
740
+ declare const pxToRem: (px: number) => string;
741
+
742
+ declare const getFormFieldBaseStyles: (theme: {
743
+ mediaQueries: {
744
+ readonly smUp: "@media(min-width: 480px)";
745
+ readonly mdUp: "@media(min-width: 768px)";
746
+ readonly lgUp: "@media(min-width: 1024px)";
747
+ readonly xlUp: "@media(min-width: 1280px)";
748
+ readonly '2xlUp': "@media(min-width: 1536px)";
749
+ };
750
+ spacing: {
751
+ '0x': string;
752
+ '1x': string;
753
+ '2x': string;
754
+ '3x': string;
755
+ '4x': string;
756
+ '5x': string;
757
+ '6x': string;
758
+ '8x': string;
759
+ '12x': string;
760
+ '16x': string;
761
+ '20x': string;
762
+ '24x': string;
763
+ };
764
+ breakpoints: {
765
+ readonly base: 0;
766
+ readonly sm: 480;
767
+ readonly md: 768;
768
+ readonly lg: 1024;
769
+ readonly xl: 1280;
770
+ readonly '2xl': 1536;
771
+ };
772
+ zIndices: {
773
+ hide: number;
774
+ auto: string;
775
+ base: number;
776
+ docked: number;
777
+ dropdown: number;
778
+ sticky: number;
779
+ banner: number;
780
+ overlay: number;
781
+ modal: number;
782
+ popover: number;
783
+ skipLink: number;
784
+ toast: number;
785
+ tooltip: number;
786
+ };
787
+ colors: {
788
+ core: {
789
+ black: string;
790
+ white: string;
791
+ gray90: string;
792
+ gray80: string;
793
+ gray70: string;
794
+ gray60: string;
795
+ gray50: string;
796
+ gray40: string;
797
+ gray30: string;
798
+ gray20: string;
799
+ gray10: string;
800
+ brand90: string;
801
+ brand80: string;
802
+ brand70: string;
803
+ brand60: string;
804
+ brand50: string;
805
+ brand40: string;
806
+ brand30: string;
807
+ brand20: string;
808
+ brand10: string;
809
+ red10: string;
810
+ red20: string;
811
+ red30: string;
812
+ red40: string;
813
+ red50: string;
814
+ red60: string;
815
+ red70: string;
816
+ red80: string;
817
+ red90: string;
818
+ green90: string;
819
+ green80: string;
820
+ green70: string;
821
+ green60: string;
822
+ green50: string;
823
+ green40: string;
824
+ green30: string;
825
+ green20: string;
826
+ green10: string;
827
+ blue90: string;
828
+ blue80: string;
829
+ blue70: string;
830
+ blue60: string;
831
+ blue50: string;
832
+ blue40: string;
833
+ blue30: string;
834
+ blue20: string;
835
+ blue10: string;
836
+ yellow90: string;
837
+ yellow80: string;
838
+ yellow70: string;
839
+ yellow60: string;
840
+ yellow50: string;
841
+ yellow40: string;
842
+ yellow30: string;
843
+ yellow20: string;
844
+ yellow10: string;
845
+ blackAlpha20: string;
846
+ };
847
+ bg: {
848
+ default: string;
849
+ brandPrimary: string;
850
+ brandPrimaryHover: string;
851
+ brandPrimaryActive: string;
852
+ brandSecondary: string;
853
+ brandSecondaryHover: string;
854
+ brandSecondaryActive: string;
855
+ negative: string;
856
+ warning: string;
857
+ positive: string;
858
+ inset: string;
859
+ backdrop: string;
860
+ };
861
+ text: {
862
+ strong: string;
863
+ default: string;
864
+ subtle: string;
865
+ disabled: string;
866
+ negative: string;
867
+ warning: string;
868
+ positive: string;
869
+ onColor: string;
870
+ };
871
+ icon: {
872
+ default: string;
873
+ strong: string;
874
+ subtle: string;
875
+ disabled: string;
876
+ negative: string;
877
+ warning: string;
878
+ success: string;
879
+ onColor: string;
880
+ };
881
+ border: {
882
+ default: string;
883
+ defaultHover: string;
884
+ defaultSelected: string;
885
+ strong: string;
886
+ subtle: string;
887
+ negative: string;
888
+ warning: string;
889
+ success: string;
890
+ };
891
+ };
892
+ sizes: {
893
+ 112: string;
894
+ 128: string;
895
+ 144: string;
896
+ 160: string;
897
+ 176: string;
898
+ 192: string;
899
+ 224: string;
900
+ 256: string;
901
+ 288: string;
902
+ 320: string;
903
+ 384: string;
904
+ 448: string;
905
+ 512: string;
906
+ 576: string;
907
+ 672: string;
908
+ 768: string;
909
+ 896: string;
910
+ 1024: string;
911
+ '0x': string;
912
+ '1x': string;
913
+ '2x': string;
914
+ '3x': string;
915
+ '4x': string;
916
+ '5x': string;
917
+ '6x': string;
918
+ '8x': string;
919
+ '12x': string;
920
+ '16x': string;
921
+ '20x': string;
922
+ '24x': string;
923
+ };
924
+ radii: {
925
+ none: string;
926
+ xs: string;
927
+ sm: string;
928
+ md: string;
929
+ lg: string;
930
+ xl: string;
931
+ full: string;
932
+ };
933
+ shadows: {
934
+ none: string;
935
+ sm: string;
936
+ md: string;
937
+ lg: string;
938
+ xl: string;
939
+ };
940
+ typography: {
941
+ display: {
942
+ lg: {
943
+ fontFamily: string;
944
+ fontWeight: string;
945
+ fontSize: string;
946
+ lineHeight: string;
947
+ letterSpacing: string;
948
+ };
949
+ md: {
950
+ fontFamily: string;
951
+ fontWeight: string;
952
+ fontSize: string;
953
+ lineHeight: string;
954
+ letterSpacing: string;
955
+ };
956
+ };
957
+ title: {
958
+ lg: {
959
+ fontFamily: string;
960
+ fontWeight: string;
961
+ fontSize: string;
962
+ lineHeight: string;
963
+ letterSpacing: string;
964
+ };
965
+ md: {
966
+ fontFamily: string;
967
+ fontWeight: string;
968
+ fontSize: string;
969
+ lineHeight: string;
970
+ letterSpacing: string;
971
+ };
972
+ sm: {
973
+ fontFamily: string;
974
+ fontWeight: string;
975
+ fontSize: string;
976
+ lineHeight: string;
977
+ letterSpacing: string;
978
+ };
979
+ xs: {
980
+ fontFamily: string;
981
+ fontWeight: string;
982
+ fontSize: string;
983
+ lineHeight: string;
984
+ letterSpacing: string;
985
+ };
986
+ '2xs': {
987
+ fontFamily: string;
988
+ fontWeight: string;
989
+ fontSize: string;
990
+ lineHeight: string;
991
+ letterSpacing: string;
992
+ };
993
+ '3xs': {
994
+ fontFamily: string;
995
+ fontWeight: string;
996
+ fontSize: string;
997
+ lineHeight: string;
998
+ letterSpacing: string;
999
+ };
1000
+ };
1001
+ body: {
1002
+ xl: {
1003
+ fontFamily: string;
1004
+ fontWeight: string;
1005
+ fontSize: string;
1006
+ lineHeight: string;
1007
+ letterSpacing: string;
1008
+ };
1009
+ lg: {
1010
+ fontFamily: string;
1011
+ fontWeight: string;
1012
+ fontSize: string;
1013
+ lineHeight: string;
1014
+ letterSpacing: string;
1015
+ };
1016
+ md: {
1017
+ fontFamily: string;
1018
+ fontWeight: string;
1019
+ fontSize: string;
1020
+ lineHeight: string;
1021
+ letterSpacing: string;
1022
+ };
1023
+ sm: {
1024
+ fontFamily: string;
1025
+ fontWeight: string;
1026
+ fontSize: string;
1027
+ lineHeight: string;
1028
+ letterSpacing: string;
1029
+ };
1030
+ xs: {
1031
+ fontFamily: string;
1032
+ fontWeight: string;
1033
+ fontSize: string;
1034
+ lineHeight: string;
1035
+ letterSpacing: string;
1036
+ };
1037
+ };
1038
+ label: {
1039
+ md: {
1040
+ fontFamily: string;
1041
+ fontWeight: string;
1042
+ fontSize: string;
1043
+ lineHeight: string;
1044
+ letterSpacing: string;
1045
+ };
1046
+ sm: {
1047
+ fontFamily: string;
1048
+ fontWeight: string;
1049
+ fontSize: string;
1050
+ lineHeight: string;
1051
+ letterSpacing: string;
1052
+ };
1053
+ };
1054
+ caption: {
1055
+ md: {
1056
+ fontFamily: string;
1057
+ fontWeight: string;
1058
+ fontSize: string;
1059
+ lineHeight: string;
1060
+ letterSpacing: string;
1061
+ };
1062
+ sm: {
1063
+ fontFamily: string;
1064
+ fontWeight: string;
1065
+ fontSize: string;
1066
+ lineHeight: string;
1067
+ letterSpacing: string;
1068
+ };
1069
+ };
1070
+ };
1071
+ }) => {
1072
+ '&::placeholder': {
1073
+ color: string;
1074
+ };
1075
+ '&:hover': {
1076
+ borderColor: string;
1077
+ };
1078
+ '&:focus': {
1079
+ outline: number;
1080
+ borderColor: string;
1081
+ boxShadow: `0 0 0 1px ${string}`;
1082
+ };
1083
+ '&[aria-invalid=true]': {
1084
+ borderColor: string;
1085
+ '&:focus': {
1086
+ boxShadow: `0 0 0 1px ${string}`;
1087
+ };
1088
+ };
1089
+ '&[disabled]': {
1090
+ opacity: number;
1091
+ };
1092
+ transitionProperty: "opacity, border-color, box-shadow";
1093
+ transitionDuration: "120ms";
1094
+ transitionTimingFunction: "ease";
1095
+ fontFamily: string;
1096
+ fontWeight: string;
1097
+ fontSize: string;
1098
+ lineHeight: string;
1099
+ letterSpacing: string;
1100
+ width: string;
1101
+ minWidth: number;
1102
+ appearance: "none";
1103
+ paddingLeft: string;
1104
+ paddingRight: string;
1105
+ border: string;
1106
+ borderRadius: string;
1107
+ backgroundColor: string;
1108
+ color: string;
1109
+ alignItems: "center";
1110
+ };
1111
+
1112
+ /**
1113
+ * This file is originally from `@radix-ui/react-polymorphic` before the package
1114
+ * was deprecated. The original source for this lived in the URL below.
1115
+ *
1116
+ * @see https://github.com/radix-ui/primitives/blob/17ffcb7aaa42cbd36b3c210ba86d7d73d218e5be/packages/react/polymorphic/src/polymorphic.ts
1117
+ */
1118
+
1119
+ /**
1120
+ * Infers the OwnProps if E is a ForwardRefExoticComponentWithAs
1121
+ */
1122
+ declare type OwnProps<E> = E extends ForwardRefComponent<any, infer P> ? P : {};
1123
+ /**
1124
+ * Infers the JSX.IntrinsicElement if E is a ForwardRefExoticComponentWithAs
1125
+ */
1126
+ declare type IntrinsicElement<E> = E extends ForwardRefComponent<infer I, any> ? I : never;
1127
+ declare type ForwardRefExoticComponent<E, OwnProps> = react.ForwardRefExoticComponent<Merge<E extends react.ElementType ? react.ComponentPropsWithRef<E> : never, OwnProps & {
1128
+ as?: E;
1129
+ }>>;
1130
+ interface ForwardRefComponent<IntrinsicElementString, OwnProps = {}> extends ForwardRefExoticComponent<IntrinsicElementString, OwnProps> {
1131
+ /**
1132
+ * When `as` prop is passed, use this overload.
1133
+ * Merges original own props (without DOM props) and the inferred props
1134
+ * from `as` element with the own props taking precendence.
1135
+ *
1136
+ * We explicitly avoid `React.ElementType` and manually narrow the prop types
1137
+ * so that events are typed when using JSX.IntrinsicElements.
1138
+ */
1139
+ <As = IntrinsicElementString>(props: As extends '' ? {
1140
+ as: keyof JSX.IntrinsicElements;
1141
+ } : As extends react.ComponentType<infer P> ? Merge<P, OwnProps & {
1142
+ as: As;
1143
+ }> : As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & {
1144
+ as: As;
1145
+ }> : never): react.ReactElement | null;
1146
+ }
1147
+ /**
1148
+ * Infers the props of a React component
1149
+ */
1150
+ declare type PropsOf<E> = E extends react.ComponentType<infer P> ? P : never;
1151
+
1152
+ declare const getSizeStyles$6: (theme: {
1153
+ mediaQueries: {
1154
+ readonly smUp: "@media(min-width: 480px)";
1155
+ readonly mdUp: "@media(min-width: 768px)";
1156
+ readonly lgUp: "@media(min-width: 1024px)";
1157
+ readonly xlUp: "@media(min-width: 1280px)";
1158
+ readonly '2xlUp': "@media(min-width: 1536px)";
1159
+ };
1160
+ spacing: {
1161
+ '0x': string;
1162
+ '1x': string;
1163
+ '2x': string;
1164
+ '3x': string;
1165
+ '4x': string;
1166
+ '5x': string;
1167
+ '6x': string;
1168
+ '8x': string;
1169
+ '12x': string;
1170
+ '16x': string;
1171
+ '20x': string;
1172
+ '24x': string;
1173
+ };
1174
+ breakpoints: {
1175
+ readonly base: 0;
1176
+ readonly sm: 480;
1177
+ readonly md: 768;
1178
+ readonly lg: 1024;
1179
+ readonly xl: 1280;
1180
+ readonly '2xl': 1536;
1181
+ };
1182
+ zIndices: {
1183
+ hide: number;
1184
+ auto: string;
1185
+ base: number;
1186
+ docked: number;
1187
+ dropdown: number;
1188
+ sticky: number;
1189
+ banner: number;
1190
+ overlay: number;
1191
+ modal: number;
1192
+ popover: number;
1193
+ skipLink: number;
1194
+ toast: number;
1195
+ tooltip: number;
1196
+ };
1197
+ colors: {
1198
+ core: {
1199
+ black: string;
1200
+ white: string;
1201
+ gray90: string;
1202
+ gray80: string;
1203
+ gray70: string;
1204
+ gray60: string;
1205
+ gray50: string;
1206
+ gray40: string;
1207
+ gray30: string;
1208
+ gray20: string;
1209
+ gray10: string;
1210
+ brand90: string;
1211
+ brand80: string;
1212
+ brand70: string;
1213
+ brand60: string;
1214
+ brand50: string;
1215
+ brand40: string;
1216
+ brand30: string;
1217
+ brand20: string;
1218
+ brand10: string;
1219
+ red10: string;
1220
+ red20: string;
1221
+ red30: string;
1222
+ red40: string;
1223
+ red50: string;
1224
+ red60: string;
1225
+ red70: string;
1226
+ red80: string;
1227
+ red90: string;
1228
+ green90: string;
1229
+ green80: string;
1230
+ green70: string;
1231
+ green60: string;
1232
+ green50: string;
1233
+ green40: string;
1234
+ green30: string;
1235
+ green20: string;
1236
+ green10: string;
1237
+ blue90: string;
1238
+ blue80: string;
1239
+ blue70: string;
1240
+ blue60: string;
1241
+ blue50: string;
1242
+ blue40: string;
1243
+ blue30: string;
1244
+ blue20: string;
1245
+ blue10: string;
1246
+ yellow90: string;
1247
+ yellow80: string;
1248
+ yellow70: string;
1249
+ yellow60: string;
1250
+ yellow50: string;
1251
+ yellow40: string;
1252
+ yellow30: string;
1253
+ yellow20: string;
1254
+ yellow10: string;
1255
+ blackAlpha20: string;
1256
+ };
1257
+ bg: {
1258
+ default: string;
1259
+ brandPrimary: string;
1260
+ brandPrimaryHover: string;
1261
+ brandPrimaryActive: string;
1262
+ brandSecondary: string;
1263
+ brandSecondaryHover: string;
1264
+ brandSecondaryActive: string;
1265
+ negative: string;
1266
+ warning: string;
1267
+ positive: string;
1268
+ inset: string;
1269
+ backdrop: string;
1270
+ };
1271
+ text: {
1272
+ strong: string;
1273
+ default: string;
1274
+ subtle: string;
1275
+ disabled: string;
1276
+ negative: string;
1277
+ warning: string;
1278
+ positive: string;
1279
+ onColor: string;
1280
+ };
1281
+ icon: {
1282
+ default: string;
1283
+ strong: string;
1284
+ subtle: string;
1285
+ disabled: string;
1286
+ negative: string;
1287
+ warning: string;
1288
+ success: string;
1289
+ onColor: string;
1290
+ };
1291
+ border: {
1292
+ default: string;
1293
+ defaultHover: string;
1294
+ defaultSelected: string;
1295
+ strong: string;
1296
+ subtle: string;
1297
+ negative: string;
1298
+ warning: string;
1299
+ success: string;
1300
+ };
1301
+ };
1302
+ sizes: {
1303
+ 112: string;
1304
+ 128: string;
1305
+ 144: string;
1306
+ 160: string;
1307
+ 176: string;
1308
+ 192: string;
1309
+ 224: string;
1310
+ 256: string;
1311
+ 288: string;
1312
+ 320: string;
1313
+ 384: string;
1314
+ 448: string;
1315
+ 512: string;
1316
+ 576: string;
1317
+ 672: string;
1318
+ 768: string;
1319
+ 896: string;
1320
+ 1024: string;
1321
+ '0x': string;
1322
+ '1x': string;
1323
+ '2x': string;
1324
+ '3x': string;
1325
+ '4x': string;
1326
+ '5x': string;
1327
+ '6x': string;
1328
+ '8x': string;
1329
+ '12x': string;
1330
+ '16x': string;
1331
+ '20x': string;
1332
+ '24x': string;
1333
+ };
1334
+ radii: {
1335
+ none: string;
1336
+ xs: string;
1337
+ sm: string;
1338
+ md: string;
1339
+ lg: string;
1340
+ xl: string;
1341
+ full: string;
1342
+ };
1343
+ shadows: {
1344
+ none: string;
1345
+ sm: string;
1346
+ md: string;
1347
+ lg: string;
1348
+ xl: string;
1349
+ };
1350
+ typography: {
1351
+ display: {
1352
+ lg: {
1353
+ fontFamily: string;
1354
+ fontWeight: string;
1355
+ fontSize: string;
1356
+ lineHeight: string;
1357
+ letterSpacing: string;
1358
+ };
1359
+ md: {
1360
+ fontFamily: string;
1361
+ fontWeight: string;
1362
+ fontSize: string;
1363
+ lineHeight: string;
1364
+ letterSpacing: string;
1365
+ };
1366
+ };
1367
+ title: {
1368
+ lg: {
1369
+ fontFamily: string;
1370
+ fontWeight: string;
1371
+ fontSize: string;
1372
+ lineHeight: string;
1373
+ letterSpacing: string;
1374
+ };
1375
+ md: {
1376
+ fontFamily: string;
1377
+ fontWeight: string;
1378
+ fontSize: string;
1379
+ lineHeight: string;
1380
+ letterSpacing: string;
1381
+ };
1382
+ sm: {
1383
+ fontFamily: string;
1384
+ fontWeight: string;
1385
+ fontSize: string;
1386
+ lineHeight: string;
1387
+ letterSpacing: string;
1388
+ };
1389
+ xs: {
1390
+ fontFamily: string;
1391
+ fontWeight: string;
1392
+ fontSize: string;
1393
+ lineHeight: string;
1394
+ letterSpacing: string;
1395
+ };
1396
+ '2xs': {
1397
+ fontFamily: string;
1398
+ fontWeight: string;
1399
+ fontSize: string;
1400
+ lineHeight: string;
1401
+ letterSpacing: string;
1402
+ };
1403
+ '3xs': {
1404
+ fontFamily: string;
1405
+ fontWeight: string;
1406
+ fontSize: string;
1407
+ lineHeight: string;
1408
+ letterSpacing: string;
1409
+ };
1410
+ };
1411
+ body: {
1412
+ xl: {
1413
+ fontFamily: string;
1414
+ fontWeight: string;
1415
+ fontSize: string;
1416
+ lineHeight: string;
1417
+ letterSpacing: string;
1418
+ };
1419
+ lg: {
1420
+ fontFamily: string;
1421
+ fontWeight: string;
1422
+ fontSize: string;
1423
+ lineHeight: string;
1424
+ letterSpacing: string;
1425
+ };
1426
+ md: {
1427
+ fontFamily: string;
1428
+ fontWeight: string;
1429
+ fontSize: string;
1430
+ lineHeight: string;
1431
+ letterSpacing: string;
1432
+ };
1433
+ sm: {
1434
+ fontFamily: string;
1435
+ fontWeight: string;
1436
+ fontSize: string;
1437
+ lineHeight: string;
1438
+ letterSpacing: string;
1439
+ };
1440
+ xs: {
1441
+ fontFamily: string;
1442
+ fontWeight: string;
1443
+ fontSize: string;
1444
+ lineHeight: string;
1445
+ letterSpacing: string;
1446
+ };
1447
+ };
1448
+ label: {
1449
+ md: {
1450
+ fontFamily: string;
1451
+ fontWeight: string;
1452
+ fontSize: string;
1453
+ lineHeight: string;
1454
+ letterSpacing: string;
1455
+ };
1456
+ sm: {
1457
+ fontFamily: string;
1458
+ fontWeight: string;
1459
+ fontSize: string;
1460
+ lineHeight: string;
1461
+ letterSpacing: string;
1462
+ };
1463
+ };
1464
+ caption: {
1465
+ md: {
1466
+ fontFamily: string;
1467
+ fontWeight: string;
1468
+ fontSize: string;
1469
+ lineHeight: string;
1470
+ letterSpacing: string;
1471
+ };
1472
+ sm: {
1473
+ fontFamily: string;
1474
+ fontWeight: string;
1475
+ fontSize: string;
1476
+ lineHeight: string;
1477
+ letterSpacing: string;
1478
+ };
1479
+ };
1480
+ };
1481
+ }) => {
1482
+ xs: {
1483
+ fontFamily: string;
1484
+ fontWeight: string;
1485
+ fontSize: string;
1486
+ lineHeight: string;
1487
+ letterSpacing: string;
1488
+ height: string;
1489
+ minWidth: string;
1490
+ paddingLeft: string;
1491
+ paddingRight: string;
1492
+ };
1493
+ sm: {
1494
+ fontFamily: string;
1495
+ fontWeight: string;
1496
+ fontSize: string;
1497
+ lineHeight: string;
1498
+ letterSpacing: string;
1499
+ height: string;
1500
+ minWidth: string;
1501
+ paddingLeft: string;
1502
+ paddingRight: string;
1503
+ };
1504
+ md: {
1505
+ fontFamily: string;
1506
+ fontWeight: string;
1507
+ fontSize: string;
1508
+ lineHeight: string;
1509
+ letterSpacing: string;
1510
+ height: string;
1511
+ minWidth: string;
1512
+ paddingLeft: string;
1513
+ paddingRight: string;
1514
+ };
1515
+ };
1516
+ declare const getVariantStyles$1: (theme: {
1517
+ mediaQueries: {
1518
+ readonly smUp: "@media(min-width: 480px)";
1519
+ readonly mdUp: "@media(min-width: 768px)";
1520
+ readonly lgUp: "@media(min-width: 1024px)";
1521
+ readonly xlUp: "@media(min-width: 1280px)";
1522
+ readonly '2xlUp': "@media(min-width: 1536px)";
1523
+ };
1524
+ spacing: {
1525
+ '0x': string;
1526
+ '1x': string;
1527
+ '2x': string;
1528
+ '3x': string;
1529
+ '4x': string;
1530
+ '5x': string;
1531
+ '6x': string;
1532
+ '8x': string;
1533
+ '12x': string;
1534
+ '16x': string;
1535
+ '20x': string;
1536
+ '24x': string;
1537
+ };
1538
+ breakpoints: {
1539
+ readonly base: 0;
1540
+ readonly sm: 480;
1541
+ readonly md: 768;
1542
+ readonly lg: 1024;
1543
+ readonly xl: 1280;
1544
+ readonly '2xl': 1536;
1545
+ };
1546
+ zIndices: {
1547
+ hide: number;
1548
+ auto: string;
1549
+ base: number;
1550
+ docked: number;
1551
+ dropdown: number;
1552
+ sticky: number;
1553
+ banner: number;
1554
+ overlay: number;
1555
+ modal: number;
1556
+ popover: number;
1557
+ skipLink: number;
1558
+ toast: number;
1559
+ tooltip: number;
1560
+ };
1561
+ colors: {
1562
+ core: {
1563
+ black: string;
1564
+ white: string;
1565
+ gray90: string;
1566
+ gray80: string;
1567
+ gray70: string;
1568
+ gray60: string;
1569
+ gray50: string;
1570
+ gray40: string;
1571
+ gray30: string;
1572
+ gray20: string;
1573
+ gray10: string;
1574
+ brand90: string;
1575
+ brand80: string;
1576
+ brand70: string;
1577
+ brand60: string;
1578
+ brand50: string;
1579
+ brand40: string;
1580
+ brand30: string;
1581
+ brand20: string;
1582
+ brand10: string;
1583
+ red10: string;
1584
+ red20: string;
1585
+ red30: string;
1586
+ red40: string;
1587
+ red50: string;
1588
+ red60: string;
1589
+ red70: string;
1590
+ red80: string;
1591
+ red90: string;
1592
+ green90: string;
1593
+ green80: string;
1594
+ green70: string;
1595
+ green60: string;
1596
+ green50: string;
1597
+ green40: string;
1598
+ green30: string;
1599
+ green20: string;
1600
+ green10: string;
1601
+ blue90: string;
1602
+ blue80: string;
1603
+ blue70: string;
1604
+ blue60: string;
1605
+ blue50: string;
1606
+ blue40: string;
1607
+ blue30: string;
1608
+ blue20: string;
1609
+ blue10: string;
1610
+ yellow90: string;
1611
+ yellow80: string;
1612
+ yellow70: string;
1613
+ yellow60: string;
1614
+ yellow50: string;
1615
+ yellow40: string;
1616
+ yellow30: string;
1617
+ yellow20: string;
1618
+ yellow10: string;
1619
+ blackAlpha20: string;
1620
+ };
1621
+ bg: {
1622
+ default: string;
1623
+ brandPrimary: string;
1624
+ brandPrimaryHover: string;
1625
+ brandPrimaryActive: string;
1626
+ brandSecondary: string;
1627
+ brandSecondaryHover: string;
1628
+ brandSecondaryActive: string;
1629
+ negative: string;
1630
+ warning: string;
1631
+ positive: string;
1632
+ inset: string;
1633
+ backdrop: string;
1634
+ };
1635
+ text: {
1636
+ strong: string;
1637
+ default: string;
1638
+ subtle: string;
1639
+ disabled: string;
1640
+ negative: string;
1641
+ warning: string;
1642
+ positive: string;
1643
+ onColor: string;
1644
+ };
1645
+ icon: {
1646
+ default: string;
1647
+ strong: string;
1648
+ subtle: string;
1649
+ disabled: string;
1650
+ negative: string;
1651
+ warning: string;
1652
+ success: string;
1653
+ onColor: string;
1654
+ };
1655
+ border: {
1656
+ default: string;
1657
+ defaultHover: string;
1658
+ defaultSelected: string;
1659
+ strong: string;
1660
+ subtle: string;
1661
+ negative: string;
1662
+ warning: string;
1663
+ success: string;
1664
+ };
1665
+ };
1666
+ sizes: {
1667
+ 112: string;
1668
+ 128: string;
1669
+ 144: string;
1670
+ 160: string;
1671
+ 176: string;
1672
+ 192: string;
1673
+ 224: string;
1674
+ 256: string;
1675
+ 288: string;
1676
+ 320: string;
1677
+ 384: string;
1678
+ 448: string;
1679
+ 512: string;
1680
+ 576: string;
1681
+ 672: string;
1682
+ 768: string;
1683
+ 896: string;
1684
+ 1024: string;
1685
+ '0x': string;
1686
+ '1x': string;
1687
+ '2x': string;
1688
+ '3x': string;
1689
+ '4x': string;
1690
+ '5x': string;
1691
+ '6x': string;
1692
+ '8x': string;
1693
+ '12x': string;
1694
+ '16x': string;
1695
+ '20x': string;
1696
+ '24x': string;
1697
+ };
1698
+ radii: {
1699
+ none: string;
1700
+ xs: string;
1701
+ sm: string;
1702
+ md: string;
1703
+ lg: string;
1704
+ xl: string;
1705
+ full: string;
1706
+ };
1707
+ shadows: {
1708
+ none: string;
1709
+ sm: string;
1710
+ md: string;
1711
+ lg: string;
1712
+ xl: string;
1713
+ };
1714
+ typography: {
1715
+ display: {
1716
+ lg: {
1717
+ fontFamily: string;
1718
+ fontWeight: string;
1719
+ fontSize: string;
1720
+ lineHeight: string;
1721
+ letterSpacing: string;
1722
+ };
1723
+ md: {
1724
+ fontFamily: string;
1725
+ fontWeight: string;
1726
+ fontSize: string;
1727
+ lineHeight: string;
1728
+ letterSpacing: string;
1729
+ };
1730
+ };
1731
+ title: {
1732
+ lg: {
1733
+ fontFamily: string;
1734
+ fontWeight: string;
1735
+ fontSize: string;
1736
+ lineHeight: string;
1737
+ letterSpacing: string;
1738
+ };
1739
+ md: {
1740
+ fontFamily: string;
1741
+ fontWeight: string;
1742
+ fontSize: string;
1743
+ lineHeight: string;
1744
+ letterSpacing: string;
1745
+ };
1746
+ sm: {
1747
+ fontFamily: string;
1748
+ fontWeight: string;
1749
+ fontSize: string;
1750
+ lineHeight: string;
1751
+ letterSpacing: string;
1752
+ };
1753
+ xs: {
1754
+ fontFamily: string;
1755
+ fontWeight: string;
1756
+ fontSize: string;
1757
+ lineHeight: string;
1758
+ letterSpacing: string;
1759
+ };
1760
+ '2xs': {
1761
+ fontFamily: string;
1762
+ fontWeight: string;
1763
+ fontSize: string;
1764
+ lineHeight: string;
1765
+ letterSpacing: string;
1766
+ };
1767
+ '3xs': {
1768
+ fontFamily: string;
1769
+ fontWeight: string;
1770
+ fontSize: string;
1771
+ lineHeight: string;
1772
+ letterSpacing: string;
1773
+ };
1774
+ };
1775
+ body: {
1776
+ xl: {
1777
+ fontFamily: string;
1778
+ fontWeight: string;
1779
+ fontSize: string;
1780
+ lineHeight: string;
1781
+ letterSpacing: string;
1782
+ };
1783
+ lg: {
1784
+ fontFamily: string;
1785
+ fontWeight: string;
1786
+ fontSize: string;
1787
+ lineHeight: string;
1788
+ letterSpacing: string;
1789
+ };
1790
+ md: {
1791
+ fontFamily: string;
1792
+ fontWeight: string;
1793
+ fontSize: string;
1794
+ lineHeight: string;
1795
+ letterSpacing: string;
1796
+ };
1797
+ sm: {
1798
+ fontFamily: string;
1799
+ fontWeight: string;
1800
+ fontSize: string;
1801
+ lineHeight: string;
1802
+ letterSpacing: string;
1803
+ };
1804
+ xs: {
1805
+ fontFamily: string;
1806
+ fontWeight: string;
1807
+ fontSize: string;
1808
+ lineHeight: string;
1809
+ letterSpacing: string;
1810
+ };
1811
+ };
1812
+ label: {
1813
+ md: {
1814
+ fontFamily: string;
1815
+ fontWeight: string;
1816
+ fontSize: string;
1817
+ lineHeight: string;
1818
+ letterSpacing: string;
1819
+ };
1820
+ sm: {
1821
+ fontFamily: string;
1822
+ fontWeight: string;
1823
+ fontSize: string;
1824
+ lineHeight: string;
1825
+ letterSpacing: string;
1826
+ };
1827
+ };
1828
+ caption: {
1829
+ md: {
1830
+ fontFamily: string;
1831
+ fontWeight: string;
1832
+ fontSize: string;
1833
+ lineHeight: string;
1834
+ letterSpacing: string;
1835
+ };
1836
+ sm: {
1837
+ fontFamily: string;
1838
+ fontWeight: string;
1839
+ fontSize: string;
1840
+ lineHeight: string;
1841
+ letterSpacing: string;
1842
+ };
1843
+ };
1844
+ };
1845
+ }) => {
1846
+ primary: {
1847
+ background: string;
1848
+ color: string;
1849
+ ":not([disabled])": {
1850
+ '@media(hover: hover)': {
1851
+ ':hover': {
1852
+ background: string;
1853
+ };
1854
+ };
1855
+ ':active': {
1856
+ background: string;
1857
+ };
1858
+ };
1859
+ };
1860
+ secondary: {
1861
+ background: string;
1862
+ color: string;
1863
+ ":not([disabled])": {
1864
+ '@media(hover: hover)': {
1865
+ ':hover': {
1866
+ background: string;
1867
+ };
1868
+ };
1869
+ ':active': {
1870
+ background: string;
1871
+ };
1872
+ };
1873
+ };
1874
+ tertiary: {
1875
+ background: string;
1876
+ color: string;
1877
+ border: string;
1878
+ borderColor: string;
1879
+ ":not([disabled])": {
1880
+ '@media(hover: hover)': {
1881
+ ':hover': {
1882
+ background: string;
1883
+ };
1884
+ };
1885
+ ':active': {
1886
+ background: string;
1887
+ };
1888
+ };
1889
+ };
1890
+ ghost: {
1891
+ background: string;
1892
+ color: string;
1893
+ textDecoration: string;
1894
+ textUnderlineOffset: number;
1895
+ ":not([disabled])": {
1896
+ '@media(hover: hover)': {
1897
+ ':hover': {
1898
+ background: string;
1899
+ };
1900
+ ':active': {
1901
+ background: string;
1902
+ };
1903
+ };
1904
+ };
1905
+ };
1906
+ };
1907
+
1908
+ declare type ButtonVariant = VariantProps<typeof getVariantStyles$1>;
1909
+ declare type ButtonSize = VariantProps<typeof getSizeStyles$6>;
1910
+ interface ButtonOptions {
1911
+ /**
1912
+ * Sets the size of the button
1913
+ * @default 'md'
1914
+ */
1915
+ size?: ButtonSize;
1916
+ /**
1917
+ * Sets the style variant of the button
1918
+ * @default 'secondary'
1919
+ */
1920
+ variant?: ButtonVariant;
1921
+ /**
1922
+ * If `true` the button will fill its container
1923
+ * @default false
1924
+ */
1925
+ isFullWidth?: boolean;
1926
+ /**
1927
+ * If `true` the button will show a spinner
1928
+ * @default false
1929
+ */
1930
+ isLoading?: boolean;
1931
+ /**
1932
+ * If `true` the button will be disabled
1933
+ * @default false
1934
+ */
1935
+ isDisabled?: boolean;
1936
+ /**
1937
+ * The HTML `type` attribute
1938
+ * @default 'button'
1939
+ */
1940
+ type?: 'button' | 'submit' | 'reset';
1941
+ }
1942
+ declare type PolymorphicButton = ForwardRefComponent<'button', ButtonOptions>;
1943
+ declare type ButtonProps = PropsOf<PolymorphicButton>;
1944
+ declare const Button: PolymorphicButton;
1945
+
1946
+ interface DividerOptions {
1947
+ /**
1948
+ * The orientation of the divider.
1949
+ *
1950
+ * @default 'horizontal'
1951
+ */
1952
+ orientation?: 'horizontal' | 'vertical';
1953
+ }
1954
+ interface DividerProps extends HTMLQdsProps<'span'>, DividerOptions {
1955
+ }
1956
+ declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement>>;
1957
+
1958
+ declare const getSizeStyles$5: (theme: {
1959
+ mediaQueries: {
1960
+ readonly smUp: "@media(min-width: 480px)";
1961
+ readonly mdUp: "@media(min-width: 768px)";
1962
+ readonly lgUp: "@media(min-width: 1024px)";
1963
+ readonly xlUp: "@media(min-width: 1280px)";
1964
+ readonly '2xlUp': "@media(min-width: 1536px)";
1965
+ };
1966
+ spacing: {
1967
+ '0x': string;
1968
+ '1x': string;
1969
+ '2x': string;
1970
+ '3x': string;
1971
+ '4x': string;
1972
+ '5x': string;
1973
+ '6x': string;
1974
+ '8x': string;
1975
+ '12x': string;
1976
+ '16x': string;
1977
+ '20x': string;
1978
+ '24x': string;
1979
+ };
1980
+ breakpoints: {
1981
+ readonly base: 0;
1982
+ readonly sm: 480;
1983
+ readonly md: 768;
1984
+ readonly lg: 1024;
1985
+ readonly xl: 1280;
1986
+ readonly '2xl': 1536;
1987
+ };
1988
+ zIndices: {
1989
+ hide: number;
1990
+ auto: string;
1991
+ base: number;
1992
+ docked: number;
1993
+ dropdown: number;
1994
+ sticky: number;
1995
+ banner: number;
1996
+ overlay: number;
1997
+ modal: number;
1998
+ popover: number;
1999
+ skipLink: number;
2000
+ toast: number;
2001
+ tooltip: number;
2002
+ };
2003
+ colors: {
2004
+ core: {
2005
+ black: string;
2006
+ white: string;
2007
+ gray90: string;
2008
+ gray80: string;
2009
+ gray70: string;
2010
+ gray60: string;
2011
+ gray50: string;
2012
+ gray40: string;
2013
+ gray30: string;
2014
+ gray20: string;
2015
+ gray10: string;
2016
+ brand90: string;
2017
+ brand80: string;
2018
+ brand70: string;
2019
+ brand60: string;
2020
+ brand50: string;
2021
+ brand40: string;
2022
+ brand30: string;
2023
+ brand20: string;
2024
+ brand10: string;
2025
+ red10: string;
2026
+ red20: string;
2027
+ red30: string;
2028
+ red40: string;
2029
+ red50: string;
2030
+ red60: string;
2031
+ red70: string;
2032
+ red80: string;
2033
+ red90: string;
2034
+ green90: string;
2035
+ green80: string;
2036
+ green70: string;
2037
+ green60: string;
2038
+ green50: string;
2039
+ green40: string;
2040
+ green30: string;
2041
+ green20: string;
2042
+ green10: string;
2043
+ blue90: string;
2044
+ blue80: string;
2045
+ blue70: string;
2046
+ blue60: string;
2047
+ blue50: string;
2048
+ blue40: string;
2049
+ blue30: string;
2050
+ blue20: string;
2051
+ blue10: string;
2052
+ yellow90: string;
2053
+ yellow80: string;
2054
+ yellow70: string;
2055
+ yellow60: string;
2056
+ yellow50: string;
2057
+ yellow40: string;
2058
+ yellow30: string;
2059
+ yellow20: string;
2060
+ yellow10: string;
2061
+ blackAlpha20: string;
2062
+ };
2063
+ bg: {
2064
+ default: string;
2065
+ brandPrimary: string;
2066
+ brandPrimaryHover: string;
2067
+ brandPrimaryActive: string;
2068
+ brandSecondary: string;
2069
+ brandSecondaryHover: string;
2070
+ brandSecondaryActive: string;
2071
+ negative: string;
2072
+ warning: string;
2073
+ positive: string;
2074
+ inset: string;
2075
+ backdrop: string;
2076
+ };
2077
+ text: {
2078
+ strong: string;
2079
+ default: string;
2080
+ subtle: string;
2081
+ disabled: string;
2082
+ negative: string;
2083
+ warning: string;
2084
+ positive: string;
2085
+ onColor: string;
2086
+ };
2087
+ icon: {
2088
+ default: string;
2089
+ strong: string;
2090
+ subtle: string;
2091
+ disabled: string;
2092
+ negative: string;
2093
+ warning: string;
2094
+ success: string;
2095
+ onColor: string;
2096
+ };
2097
+ border: {
2098
+ default: string;
2099
+ defaultHover: string;
2100
+ defaultSelected: string;
2101
+ strong: string;
2102
+ subtle: string;
2103
+ negative: string;
2104
+ warning: string;
2105
+ success: string;
2106
+ };
2107
+ };
2108
+ sizes: {
2109
+ 112: string;
2110
+ 128: string;
2111
+ 144: string;
2112
+ 160: string;
2113
+ 176: string;
2114
+ 192: string;
2115
+ 224: string;
2116
+ 256: string;
2117
+ 288: string;
2118
+ 320: string;
2119
+ 384: string;
2120
+ 448: string;
2121
+ 512: string;
2122
+ 576: string;
2123
+ 672: string;
2124
+ 768: string;
2125
+ 896: string;
2126
+ 1024: string;
2127
+ '0x': string;
2128
+ '1x': string;
2129
+ '2x': string;
2130
+ '3x': string;
2131
+ '4x': string;
2132
+ '5x': string;
2133
+ '6x': string;
2134
+ '8x': string;
2135
+ '12x': string;
2136
+ '16x': string;
2137
+ '20x': string;
2138
+ '24x': string;
2139
+ };
2140
+ radii: {
2141
+ none: string;
2142
+ xs: string;
2143
+ sm: string;
2144
+ md: string;
2145
+ lg: string;
2146
+ xl: string;
2147
+ full: string;
2148
+ };
2149
+ shadows: {
2150
+ none: string;
2151
+ sm: string;
2152
+ md: string;
2153
+ lg: string;
2154
+ xl: string;
2155
+ };
2156
+ typography: {
2157
+ display: {
2158
+ lg: {
2159
+ fontFamily: string;
2160
+ fontWeight: string;
2161
+ fontSize: string;
2162
+ lineHeight: string;
2163
+ letterSpacing: string;
2164
+ };
2165
+ md: {
2166
+ fontFamily: string;
2167
+ fontWeight: string;
2168
+ fontSize: string;
2169
+ lineHeight: string;
2170
+ letterSpacing: string;
2171
+ };
2172
+ };
2173
+ title: {
2174
+ lg: {
2175
+ fontFamily: string;
2176
+ fontWeight: string;
2177
+ fontSize: string;
2178
+ lineHeight: string;
2179
+ letterSpacing: string;
2180
+ };
2181
+ md: {
2182
+ fontFamily: string;
2183
+ fontWeight: string;
2184
+ fontSize: string;
2185
+ lineHeight: string;
2186
+ letterSpacing: string;
2187
+ };
2188
+ sm: {
2189
+ fontFamily: string;
2190
+ fontWeight: string;
2191
+ fontSize: string;
2192
+ lineHeight: string;
2193
+ letterSpacing: string; /**
2194
+ * Truncates the heading after a specific number of lines
2195
+ */
2196
+ };
2197
+ xs: {
2198
+ fontFamily: string;
2199
+ fontWeight: string;
2200
+ fontSize: string;
2201
+ lineHeight: string;
2202
+ letterSpacing: string;
2203
+ };
2204
+ '2xs': {
2205
+ fontFamily: string;
2206
+ fontWeight: string;
2207
+ fontSize: string;
2208
+ lineHeight: string;
2209
+ letterSpacing: string;
2210
+ };
2211
+ '3xs': {
2212
+ fontFamily: string;
2213
+ fontWeight: string;
2214
+ fontSize: string;
2215
+ lineHeight: string;
2216
+ letterSpacing: string;
2217
+ };
2218
+ };
2219
+ body: {
2220
+ xl: {
2221
+ fontFamily: string;
2222
+ fontWeight: string;
2223
+ fontSize: string;
2224
+ lineHeight: string;
2225
+ letterSpacing: string;
2226
+ };
2227
+ lg: {
2228
+ fontFamily: string;
2229
+ fontWeight: string;
2230
+ fontSize: string;
2231
+ lineHeight: string;
2232
+ letterSpacing: string;
2233
+ };
2234
+ md: {
2235
+ fontFamily: string;
2236
+ fontWeight: string;
2237
+ fontSize: string;
2238
+ lineHeight: string;
2239
+ letterSpacing: string;
2240
+ };
2241
+ sm: {
2242
+ fontFamily: string;
2243
+ fontWeight: string;
2244
+ fontSize: string;
2245
+ lineHeight: string;
2246
+ letterSpacing: string;
2247
+ };
2248
+ xs: {
2249
+ fontFamily: string;
2250
+ fontWeight: string;
2251
+ fontSize: string;
2252
+ lineHeight: string;
2253
+ letterSpacing: string;
2254
+ };
2255
+ };
2256
+ label: {
2257
+ md: {
2258
+ fontFamily: string;
2259
+ fontWeight: string;
2260
+ fontSize: string;
2261
+ lineHeight: string;
2262
+ letterSpacing: string;
2263
+ };
2264
+ sm: {
2265
+ fontFamily: string;
2266
+ fontWeight: string;
2267
+ fontSize: string;
2268
+ lineHeight: string;
2269
+ letterSpacing: string;
2270
+ };
2271
+ };
2272
+ caption: {
2273
+ md: {
2274
+ fontFamily: string;
2275
+ fontWeight: string;
2276
+ fontSize: string;
2277
+ lineHeight: string;
2278
+ letterSpacing: string;
2279
+ };
2280
+ sm: {
2281
+ fontFamily: string;
2282
+ fontWeight: string;
2283
+ fontSize: string;
2284
+ lineHeight: string;
2285
+ letterSpacing: string;
2286
+ };
2287
+ };
2288
+ };
2289
+ }) => {
2290
+ lg: {
2291
+ fontFamily: string;
2292
+ fontWeight: string;
2293
+ fontSize: string;
2294
+ lineHeight: string;
2295
+ letterSpacing: string;
2296
+ };
2297
+ md: {
2298
+ fontFamily: string;
2299
+ fontWeight: string;
2300
+ fontSize: string;
2301
+ lineHeight: string;
2302
+ letterSpacing: string;
2303
+ };
2304
+ sm: {
2305
+ fontFamily: string;
2306
+ fontWeight: string;
2307
+ fontSize: string;
2308
+ lineHeight: string;
2309
+ letterSpacing: string; /**
2310
+ * Truncates the heading after a specific number of lines
2311
+ */
2312
+ };
2313
+ xs: {
2314
+ fontFamily: string;
2315
+ fontWeight: string;
2316
+ fontSize: string;
2317
+ lineHeight: string;
2318
+ letterSpacing: string;
2319
+ };
2320
+ '2xs': {
2321
+ fontFamily: string;
2322
+ fontWeight: string;
2323
+ fontSize: string;
2324
+ lineHeight: string;
2325
+ letterSpacing: string;
2326
+ };
2327
+ '3xs': {
2328
+ fontFamily: string;
2329
+ fontWeight: string;
2330
+ fontSize: string;
2331
+ lineHeight: string;
2332
+ letterSpacing: string;
2333
+ };
2334
+ };
2335
+ declare type HeadingSize = VariantProps<typeof getSizeStyles$5>;
2336
+ interface HeadingOptions {
2337
+ /**
2338
+ * Sets the visual size of the heading.
2339
+ * Also sets the HTML tag used for the heading.
2340
+ * To override the rendered tag, use the `as` prop.
2341
+ *
2342
+ * @default 'md'
2343
+ */
2344
+ size?: HeadingSize;
2345
+ /**
2346
+ * Truncates the heading after a specific number of lines
2347
+ */
2348
+ numberOfLines?: number;
2349
+ /**
2350
+ * Alignment of the heading
2351
+ * @default 'left'
2352
+ */
2353
+ textAlign?: 'left' | 'center' | 'right';
2354
+ }
2355
+ declare type HeadingComponent = ForwardRefComponent<'h2', HeadingOptions>;
2356
+ declare type HeadingProps = PropsOf<HeadingComponent>;
2357
+ declare const Heading: HeadingComponent;
2358
+
2359
+ declare const getSizeStyles$4: (theme: {
2360
+ mediaQueries: {
2361
+ readonly smUp: "@media(min-width: 480px)";
2362
+ readonly mdUp: "@media(min-width: 768px)";
2363
+ readonly lgUp: "@media(min-width: 1024px)";
2364
+ readonly xlUp: "@media(min-width: 1280px)";
2365
+ readonly '2xlUp': "@media(min-width: 1536px)";
2366
+ };
2367
+ spacing: {
2368
+ '0x': string;
2369
+ '1x': string;
2370
+ '2x': string;
2371
+ '3x': string;
2372
+ '4x': string;
2373
+ '5x': string;
2374
+ '6x': string;
2375
+ '8x': string;
2376
+ '12x': string;
2377
+ '16x': string;
2378
+ '20x': string;
2379
+ '24x': string;
2380
+ };
2381
+ breakpoints: {
2382
+ readonly base: 0;
2383
+ readonly sm: 480;
2384
+ readonly md: 768;
2385
+ readonly lg: 1024;
2386
+ readonly xl: 1280;
2387
+ readonly '2xl': 1536;
2388
+ };
2389
+ zIndices: {
2390
+ hide: number;
2391
+ auto: string;
2392
+ base: number;
2393
+ docked: number;
2394
+ dropdown: number;
2395
+ sticky: number;
2396
+ banner: number;
2397
+ overlay: number;
2398
+ modal: number;
2399
+ popover: number;
2400
+ skipLink: number;
2401
+ toast: number;
2402
+ tooltip: number;
2403
+ };
2404
+ colors: {
2405
+ core: {
2406
+ black: string;
2407
+ white: string;
2408
+ gray90: string;
2409
+ gray80: string;
2410
+ gray70: string;
2411
+ gray60: string;
2412
+ gray50: string;
2413
+ gray40: string;
2414
+ gray30: string;
2415
+ gray20: string;
2416
+ gray10: string;
2417
+ brand90: string;
2418
+ brand80: string;
2419
+ brand70: string;
2420
+ brand60: string;
2421
+ brand50: string;
2422
+ brand40: string;
2423
+ brand30: string;
2424
+ brand20: string;
2425
+ brand10: string;
2426
+ red10: string;
2427
+ red20: string;
2428
+ red30: string;
2429
+ red40: string;
2430
+ red50: string;
2431
+ red60: string;
2432
+ red70: string;
2433
+ red80: string;
2434
+ red90: string;
2435
+ green90: string;
2436
+ green80: string;
2437
+ green70: string;
2438
+ green60: string;
2439
+ green50: string;
2440
+ green40: string;
2441
+ green30: string;
2442
+ green20: string;
2443
+ green10: string;
2444
+ blue90: string;
2445
+ blue80: string;
2446
+ blue70: string;
2447
+ blue60: string;
2448
+ blue50: string;
2449
+ blue40: string;
2450
+ blue30: string;
2451
+ blue20: string;
2452
+ blue10: string;
2453
+ yellow90: string;
2454
+ yellow80: string;
2455
+ yellow70: string;
2456
+ yellow60: string;
2457
+ yellow50: string;
2458
+ yellow40: string;
2459
+ yellow30: string;
2460
+ yellow20: string;
2461
+ yellow10: string;
2462
+ blackAlpha20: string;
2463
+ };
2464
+ bg: {
2465
+ default: string;
2466
+ brandPrimary: string;
2467
+ brandPrimaryHover: string;
2468
+ brandPrimaryActive: string;
2469
+ brandSecondary: string;
2470
+ brandSecondaryHover: string;
2471
+ brandSecondaryActive: string;
2472
+ negative: string;
2473
+ warning: string;
2474
+ positive: string;
2475
+ inset: string;
2476
+ backdrop: string;
2477
+ };
2478
+ text: {
2479
+ strong: string;
2480
+ default: string;
2481
+ subtle: string;
2482
+ disabled: string;
2483
+ negative: string;
2484
+ warning: string;
2485
+ positive: string;
2486
+ onColor: string;
2487
+ };
2488
+ icon: {
2489
+ default: string;
2490
+ strong: string;
2491
+ subtle: string;
2492
+ disabled: string;
2493
+ negative: string;
2494
+ warning: string;
2495
+ success: string;
2496
+ onColor: string;
2497
+ };
2498
+ border: {
2499
+ default: string;
2500
+ defaultHover: string;
2501
+ defaultSelected: string;
2502
+ strong: string;
2503
+ subtle: string;
2504
+ negative: string;
2505
+ warning: string;
2506
+ success: string;
2507
+ };
2508
+ };
2509
+ sizes: {
2510
+ 112: string;
2511
+ 128: string;
2512
+ 144: string;
2513
+ 160: string;
2514
+ 176: string;
2515
+ 192: string;
2516
+ 224: string;
2517
+ 256: string;
2518
+ 288: string;
2519
+ 320: string;
2520
+ 384: string;
2521
+ 448: string;
2522
+ 512: string;
2523
+ 576: string;
2524
+ 672: string;
2525
+ 768: string;
2526
+ 896: string;
2527
+ 1024: string;
2528
+ '0x': string;
2529
+ '1x': string;
2530
+ '2x': string;
2531
+ '3x': string;
2532
+ '4x': string;
2533
+ '5x': string;
2534
+ '6x': string;
2535
+ '8x': string;
2536
+ '12x': string;
2537
+ '16x': string;
2538
+ '20x': string;
2539
+ '24x': string;
2540
+ };
2541
+ radii: {
2542
+ none: string;
2543
+ xs: string;
2544
+ sm: string;
2545
+ md: string;
2546
+ lg: string;
2547
+ xl: string;
2548
+ full: string;
2549
+ }; /**
2550
+ * The size of the icon.
2551
+ *
2552
+ * @default 16
2553
+ */
2554
+ shadows: {
2555
+ none: string;
2556
+ sm: string;
2557
+ md: string;
2558
+ lg: string;
2559
+ xl: string;
2560
+ };
2561
+ typography: {
2562
+ display: {
2563
+ lg: {
2564
+ fontFamily: string;
2565
+ fontWeight: string;
2566
+ fontSize: string;
2567
+ lineHeight: string;
2568
+ letterSpacing: string;
2569
+ };
2570
+ md: {
2571
+ fontFamily: string;
2572
+ fontWeight: string;
2573
+ fontSize: string;
2574
+ lineHeight: string;
2575
+ letterSpacing: string;
2576
+ };
2577
+ };
2578
+ title: {
2579
+ lg: {
2580
+ fontFamily: string;
2581
+ fontWeight: string;
2582
+ fontSize: string;
2583
+ lineHeight: string;
2584
+ letterSpacing: string;
2585
+ };
2586
+ md: {
2587
+ fontFamily: string;
2588
+ fontWeight: string;
2589
+ fontSize: string;
2590
+ lineHeight: string;
2591
+ letterSpacing: string;
2592
+ };
2593
+ sm: {
2594
+ fontFamily: string;
2595
+ fontWeight: string;
2596
+ fontSize: string;
2597
+ lineHeight: string;
2598
+ letterSpacing: string;
2599
+ };
2600
+ xs: {
2601
+ fontFamily: string;
2602
+ fontWeight: string;
2603
+ fontSize: string;
2604
+ lineHeight: string; /**
2605
+ * If the `svg` has a single path, simply copy the path's `d` attribute
2606
+ */
2607
+ letterSpacing: string;
2608
+ };
2609
+ '2xs': {
2610
+ fontFamily: string;
2611
+ fontWeight: string;
2612
+ fontSize: string;
2613
+ lineHeight: string;
2614
+ letterSpacing: string;
2615
+ };
2616
+ '3xs': {
2617
+ fontFamily: string;
2618
+ fontWeight: string;
2619
+ fontSize: string;
2620
+ lineHeight: string;
2621
+ letterSpacing: string;
2622
+ };
2623
+ };
2624
+ body: {
2625
+ xl: {
2626
+ fontFamily: string;
2627
+ fontWeight: string;
2628
+ fontSize: string;
2629
+ lineHeight: string;
2630
+ letterSpacing: string;
2631
+ };
2632
+ lg: {
2633
+ fontFamily: string;
2634
+ fontWeight: string;
2635
+ fontSize: string;
2636
+ lineHeight: string;
2637
+ letterSpacing: string;
2638
+ };
2639
+ md: {
2640
+ fontFamily: string;
2641
+ fontWeight: string;
2642
+ fontSize: string;
2643
+ lineHeight: string;
2644
+ letterSpacing: string;
2645
+ };
2646
+ sm: {
2647
+ fontFamily: string;
2648
+ fontWeight: string;
2649
+ fontSize: string;
2650
+ lineHeight: string;
2651
+ letterSpacing: string;
2652
+ };
2653
+ xs: {
2654
+ fontFamily: string;
2655
+ fontWeight: string;
2656
+ fontSize: string;
2657
+ lineHeight: string;
2658
+ letterSpacing: string;
2659
+ };
2660
+ };
2661
+ label: {
2662
+ md: {
2663
+ fontFamily: string;
2664
+ fontWeight: string;
2665
+ fontSize: string;
2666
+ lineHeight: string;
2667
+ letterSpacing: string;
2668
+ };
2669
+ sm: {
2670
+ fontFamily: string;
2671
+ fontWeight: string;
2672
+ fontSize: string;
2673
+ lineHeight: string;
2674
+ letterSpacing: string;
2675
+ };
2676
+ };
2677
+ caption: {
2678
+ md: {
2679
+ fontFamily: string;
2680
+ fontWeight: string;
2681
+ fontSize: string;
2682
+ lineHeight: string;
2683
+ letterSpacing: string;
2684
+ };
2685
+ sm: {
2686
+ fontFamily: string;
2687
+ fontWeight: string;
2688
+ fontSize: string;
2689
+ lineHeight: string;
2690
+ letterSpacing: string;
2691
+ };
2692
+ };
2693
+ };
2694
+ }) => {
2695
+ 32: {
2696
+ fontSize: string;
2697
+ };
2698
+ 24: {
2699
+ fontSize: string;
2700
+ };
2701
+ 20: {
2702
+ fontSize: string;
2703
+ };
2704
+ 16: {
2705
+ fontSize: string;
2706
+ };
2707
+ 12: {
2708
+ fontSize: string;
2709
+ };
2710
+ };
2711
+ declare type IconSize = VariantProps<typeof getSizeStyles$4>;
2712
+ declare type IconColor = keyof Theme['colors']['icon'] | 'inherit';
2713
+ interface IconOptions {
2714
+ /**
2715
+ * The size of the icon.
2716
+ *
2717
+ * @default 16
2718
+ */
2719
+ size?: IconSize;
2720
+ /**
2721
+ * The color of the icon.
2722
+ */
2723
+ color?: IconColor;
2724
+ }
2725
+ declare type OmittedProps$9 = 'color' | 'onClick' | 'width' | 'height' | 'fontSize';
2726
+ interface IconProps extends Omit<SVGAttributes<SVGElement>, OmittedProps$9>, IconOptions {
2727
+ }
2728
+ interface CreateIconOptions {
2729
+ /**
2730
+ * The `svg`'s `viewBox` attribute
2731
+ */
2732
+ viewBox: string;
2733
+ /**
2734
+ * If the `svg` has a single path, simply copy the path's `d` attribute
2735
+ */
2736
+ d?: string;
2737
+ /**
2738
+ * The `svg` path or group element
2739
+ *
2740
+ * @example
2741
+ * ```jsx
2742
+ * createIcon({
2743
+ * viewBox: '0 0 512 512',
2744
+ * path: [
2745
+ * <circle cx="50" cy="50" r="50" />,
2746
+ * <path d="M10 10" />,
2747
+ * ],
2748
+ * displayName: 'ExampleIcon',
2749
+ * })
2750
+ * ```
2751
+ */
2752
+ path?: React.ReactElement | React.ReactElement[];
2753
+ /**
2754
+ * The display name of the icon. Useful for debugging
2755
+ * and internal use.
2756
+ */
2757
+ displayName?: string;
2758
+ }
2759
+ declare const createIcon: (options: CreateIconOptions) => react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2760
+
2761
+ declare const ArrowDownIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2762
+
2763
+ declare const ArrowLeftIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2764
+
2765
+ declare const ArrowRightIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2766
+
2767
+ declare const ArrowUpIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2768
+
2769
+ declare const BellSlashIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2770
+
2771
+ declare const BellIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2772
+
2773
+ declare const CalendarIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2774
+
2775
+ declare const CheckIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2776
+
2777
+ declare const ChevronDownIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2778
+
2779
+ declare const ChevronLeftIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2780
+
2781
+ declare const ChevronRightIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2782
+
2783
+ declare const ChevronUpIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2784
+
2785
+ declare const EllipsisVerticalIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2786
+
2787
+ declare const EllipsisIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2788
+
2789
+ declare const HeartFilledIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2790
+
2791
+ declare const HeartIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2792
+
2793
+ declare const ImageIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2794
+
2795
+ declare const LocationDotIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2796
+
2797
+ declare const MapIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2798
+
2799
+ declare const PlusIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2800
+
2801
+ declare const SearchIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2802
+
2803
+ declare const SettingsIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2804
+
2805
+ declare const StarFilledIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2806
+
2807
+ declare const StarIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2808
+
2809
+ declare const TrashIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2810
+
2811
+ declare const UserIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2812
+
2813
+ declare const XmarkIcon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
2814
+
2815
+ declare const getSizeStyles$3: (theme: {
2816
+ mediaQueries: {
2817
+ readonly smUp: "@media(min-width: 480px)";
2818
+ readonly mdUp: "@media(min-width: 768px)";
2819
+ readonly lgUp: "@media(min-width: 1024px)";
2820
+ readonly xlUp: "@media(min-width: 1280px)";
2821
+ readonly '2xlUp': "@media(min-width: 1536px)";
2822
+ };
2823
+ spacing: {
2824
+ '0x': string;
2825
+ '1x': string;
2826
+ '2x': string;
2827
+ '3x': string;
2828
+ '4x': string;
2829
+ '5x': string;
2830
+ '6x': string;
2831
+ '8x': string;
2832
+ '12x': string;
2833
+ '16x': string;
2834
+ '20x': string;
2835
+ '24x': string;
2836
+ };
2837
+ breakpoints: {
2838
+ readonly base: 0;
2839
+ readonly sm: 480;
2840
+ readonly md: 768;
2841
+ readonly lg: 1024;
2842
+ readonly xl: 1280;
2843
+ readonly '2xl': 1536;
2844
+ };
2845
+ zIndices: {
2846
+ hide: number;
2847
+ auto: string;
2848
+ base: number;
2849
+ docked: number;
2850
+ dropdown: number;
2851
+ sticky: number;
2852
+ banner: number;
2853
+ overlay: number;
2854
+ modal: number;
2855
+ popover: number;
2856
+ skipLink: number;
2857
+ toast: number;
2858
+ tooltip: number;
2859
+ };
2860
+ colors: {
2861
+ core: {
2862
+ black: string;
2863
+ white: string;
2864
+ gray90: string;
2865
+ gray80: string;
2866
+ gray70: string;
2867
+ gray60: string;
2868
+ gray50: string;
2869
+ gray40: string;
2870
+ gray30: string;
2871
+ gray20: string;
2872
+ gray10: string;
2873
+ brand90: string;
2874
+ brand80: string;
2875
+ brand70: string;
2876
+ brand60: string;
2877
+ brand50: string;
2878
+ brand40: string;
2879
+ brand30: string;
2880
+ brand20: string;
2881
+ brand10: string;
2882
+ red10: string;
2883
+ red20: string;
2884
+ red30: string;
2885
+ red40: string;
2886
+ red50: string;
2887
+ red60: string;
2888
+ red70: string;
2889
+ red80: string;
2890
+ red90: string;
2891
+ green90: string;
2892
+ green80: string;
2893
+ green70: string;
2894
+ green60: string;
2895
+ green50: string;
2896
+ green40: string;
2897
+ green30: string;
2898
+ green20: string;
2899
+ green10: string;
2900
+ blue90: string;
2901
+ blue80: string;
2902
+ blue70: string;
2903
+ blue60: string;
2904
+ blue50: string;
2905
+ blue40: string;
2906
+ blue30: string;
2907
+ blue20: string;
2908
+ blue10: string;
2909
+ yellow90: string;
2910
+ yellow80: string;
2911
+ yellow70: string;
2912
+ yellow60: string;
2913
+ yellow50: string;
2914
+ yellow40: string;
2915
+ yellow30: string;
2916
+ yellow20: string;
2917
+ yellow10: string;
2918
+ blackAlpha20: string;
2919
+ };
2920
+ bg: {
2921
+ default: string;
2922
+ brandPrimary: string;
2923
+ brandPrimaryHover: string;
2924
+ brandPrimaryActive: string;
2925
+ brandSecondary: string;
2926
+ brandSecondaryHover: string;
2927
+ brandSecondaryActive: string;
2928
+ negative: string;
2929
+ warning: string;
2930
+ positive: string;
2931
+ inset: string;
2932
+ backdrop: string;
2933
+ };
2934
+ text: {
2935
+ strong: string;
2936
+ default: string;
2937
+ subtle: string;
2938
+ disabled: string;
2939
+ negative: string;
2940
+ warning: string;
2941
+ positive: string;
2942
+ onColor: string;
2943
+ };
2944
+ icon: {
2945
+ default: string;
2946
+ strong: string;
2947
+ subtle: string;
2948
+ disabled: string;
2949
+ negative: string;
2950
+ warning: string;
2951
+ success: string;
2952
+ onColor: string;
2953
+ };
2954
+ border: {
2955
+ default: string;
2956
+ defaultHover: string;
2957
+ defaultSelected: string;
2958
+ strong: string;
2959
+ subtle: string;
2960
+ negative: string;
2961
+ warning: string;
2962
+ success: string;
2963
+ };
2964
+ };
2965
+ sizes: {
2966
+ 112: string;
2967
+ 128: string;
2968
+ 144: string;
2969
+ 160: string;
2970
+ 176: string;
2971
+ 192: string;
2972
+ 224: string;
2973
+ 256: string;
2974
+ 288: string;
2975
+ 320: string;
2976
+ 384: string;
2977
+ 448: string;
2978
+ 512: string;
2979
+ 576: string;
2980
+ 672: string;
2981
+ 768: string;
2982
+ 896: string;
2983
+ 1024: string;
2984
+ '0x': string;
2985
+ '1x': string;
2986
+ '2x': string;
2987
+ '3x': string;
2988
+ '4x': string;
2989
+ '5x': string;
2990
+ '6x': string;
2991
+ '8x': string;
2992
+ '12x': string;
2993
+ '16x': string;
2994
+ '20x': string;
2995
+ '24x': string;
2996
+ };
2997
+ radii: {
2998
+ none: string;
2999
+ xs: string;
3000
+ sm: string;
3001
+ md: string;
3002
+ lg: string;
3003
+ xl: string;
3004
+ full: string;
3005
+ };
3006
+ shadows: {
3007
+ none: string;
3008
+ sm: string;
3009
+ md: string;
3010
+ lg: string;
3011
+ xl: string;
3012
+ };
3013
+ typography: {
3014
+ display: {
3015
+ lg: {
3016
+ fontFamily: string;
3017
+ fontWeight: string;
3018
+ fontSize: string;
3019
+ lineHeight: string;
3020
+ letterSpacing: string;
3021
+ };
3022
+ md: {
3023
+ fontFamily: string;
3024
+ fontWeight: string;
3025
+ fontSize: string;
3026
+ lineHeight: string;
3027
+ letterSpacing: string;
3028
+ };
3029
+ };
3030
+ title: {
3031
+ lg: {
3032
+ fontFamily: string;
3033
+ fontWeight: string;
3034
+ fontSize: string;
3035
+ lineHeight: string;
3036
+ letterSpacing: string;
3037
+ };
3038
+ md: {
3039
+ fontFamily: string;
3040
+ fontWeight: string;
3041
+ fontSize: string;
3042
+ lineHeight: string;
3043
+ letterSpacing: string;
3044
+ };
3045
+ sm: {
3046
+ fontFamily: string;
3047
+ fontWeight: string;
3048
+ fontSize: string;
3049
+ lineHeight: string;
3050
+ letterSpacing: string;
3051
+ };
3052
+ xs: {
3053
+ fontFamily: string;
3054
+ fontWeight: string;
3055
+ fontSize: string;
3056
+ lineHeight: string;
3057
+ letterSpacing: string;
3058
+ };
3059
+ '2xs': {
3060
+ fontFamily: string;
3061
+ fontWeight: string;
3062
+ fontSize: string;
3063
+ lineHeight: string;
3064
+ letterSpacing: string;
3065
+ };
3066
+ '3xs': {
3067
+ fontFamily: string;
3068
+ fontWeight: string;
3069
+ fontSize: string;
3070
+ lineHeight: string;
3071
+ letterSpacing: string;
3072
+ };
3073
+ };
3074
+ body: {
3075
+ xl: {
3076
+ fontFamily: string;
3077
+ fontWeight: string;
3078
+ fontSize: string;
3079
+ lineHeight: string;
3080
+ letterSpacing: string;
3081
+ };
3082
+ lg: {
3083
+ fontFamily: string;
3084
+ fontWeight: string;
3085
+ fontSize: string;
3086
+ lineHeight: string;
3087
+ letterSpacing: string;
3088
+ };
3089
+ md: {
3090
+ fontFamily: string;
3091
+ fontWeight: string;
3092
+ fontSize: string;
3093
+ lineHeight: string;
3094
+ letterSpacing: string;
3095
+ };
3096
+ sm: {
3097
+ fontFamily: string;
3098
+ fontWeight: string;
3099
+ fontSize: string;
3100
+ lineHeight: string;
3101
+ letterSpacing: string;
3102
+ };
3103
+ xs: {
3104
+ fontFamily: string;
3105
+ fontWeight: string;
3106
+ fontSize: string;
3107
+ lineHeight: string;
3108
+ letterSpacing: string;
3109
+ };
3110
+ };
3111
+ label: {
3112
+ md: {
3113
+ fontFamily: string;
3114
+ fontWeight: string;
3115
+ fontSize: string;
3116
+ lineHeight: string;
3117
+ letterSpacing: string;
3118
+ };
3119
+ sm: {
3120
+ fontFamily: string;
3121
+ fontWeight: string;
3122
+ fontSize: string;
3123
+ lineHeight: string;
3124
+ letterSpacing: string;
3125
+ };
3126
+ };
3127
+ caption: {
3128
+ md: {
3129
+ fontFamily: string;
3130
+ fontWeight: string;
3131
+ fontSize: string;
3132
+ lineHeight: string;
3133
+ letterSpacing: string;
3134
+ };
3135
+ sm: {
3136
+ fontFamily: string;
3137
+ fontWeight: string;
3138
+ fontSize: string;
3139
+ lineHeight: string;
3140
+ letterSpacing: string;
3141
+ };
3142
+ };
3143
+ };
3144
+ }) => {
3145
+ xs: {
3146
+ width: string;
3147
+ height: string;
3148
+ fontSize: string;
3149
+ };
3150
+ sm: {
3151
+ width: string;
3152
+ height: string;
3153
+ fontSize: string;
3154
+ };
3155
+ md: {
3156
+ width: string;
3157
+ height: string;
3158
+ fontSize: string;
3159
+ };
3160
+ };
3161
+ declare const getVariantStyles: (theme: {
3162
+ mediaQueries: {
3163
+ readonly smUp: "@media(min-width: 480px)";
3164
+ readonly mdUp: "@media(min-width: 768px)";
3165
+ readonly lgUp: "@media(min-width: 1024px)";
3166
+ readonly xlUp: "@media(min-width: 1280px)";
3167
+ readonly '2xlUp': "@media(min-width: 1536px)";
3168
+ };
3169
+ spacing: {
3170
+ '0x': string;
3171
+ '1x': string;
3172
+ '2x': string;
3173
+ '3x': string;
3174
+ '4x': string;
3175
+ '5x': string;
3176
+ '6x': string;
3177
+ '8x': string;
3178
+ '12x': string;
3179
+ '16x': string;
3180
+ '20x': string;
3181
+ '24x': string;
3182
+ };
3183
+ breakpoints: {
3184
+ readonly base: 0;
3185
+ readonly sm: 480;
3186
+ readonly md: 768;
3187
+ readonly lg: 1024;
3188
+ readonly xl: 1280;
3189
+ readonly '2xl': 1536;
3190
+ };
3191
+ zIndices: {
3192
+ hide: number;
3193
+ auto: string;
3194
+ base: number;
3195
+ docked: number;
3196
+ dropdown: number;
3197
+ sticky: number;
3198
+ banner: number;
3199
+ overlay: number;
3200
+ modal: number;
3201
+ popover: number;
3202
+ skipLink: number;
3203
+ toast: number;
3204
+ tooltip: number;
3205
+ };
3206
+ colors: {
3207
+ core: {
3208
+ black: string;
3209
+ white: string;
3210
+ gray90: string;
3211
+ gray80: string;
3212
+ gray70: string;
3213
+ gray60: string;
3214
+ gray50: string;
3215
+ gray40: string;
3216
+ gray30: string;
3217
+ gray20: string;
3218
+ gray10: string;
3219
+ brand90: string;
3220
+ brand80: string;
3221
+ brand70: string;
3222
+ brand60: string;
3223
+ brand50: string;
3224
+ brand40: string;
3225
+ brand30: string;
3226
+ brand20: string;
3227
+ brand10: string;
3228
+ red10: string;
3229
+ red20: string;
3230
+ red30: string;
3231
+ red40: string;
3232
+ red50: string;
3233
+ red60: string;
3234
+ red70: string;
3235
+ red80: string;
3236
+ red90: string;
3237
+ green90: string;
3238
+ green80: string;
3239
+ green70: string;
3240
+ green60: string;
3241
+ green50: string;
3242
+ green40: string;
3243
+ green30: string;
3244
+ green20: string;
3245
+ green10: string;
3246
+ blue90: string;
3247
+ blue80: string;
3248
+ blue70: string;
3249
+ blue60: string;
3250
+ blue50: string;
3251
+ blue40: string;
3252
+ blue30: string;
3253
+ blue20: string;
3254
+ blue10: string;
3255
+ yellow90: string;
3256
+ yellow80: string;
3257
+ yellow70: string;
3258
+ yellow60: string;
3259
+ yellow50: string;
3260
+ yellow40: string;
3261
+ yellow30: string;
3262
+ yellow20: string;
3263
+ yellow10: string;
3264
+ blackAlpha20: string;
3265
+ };
3266
+ bg: {
3267
+ default: string;
3268
+ brandPrimary: string;
3269
+ brandPrimaryHover: string;
3270
+ brandPrimaryActive: string;
3271
+ brandSecondary: string;
3272
+ brandSecondaryHover: string;
3273
+ brandSecondaryActive: string;
3274
+ negative: string;
3275
+ warning: string;
3276
+ positive: string;
3277
+ inset: string;
3278
+ backdrop: string;
3279
+ };
3280
+ text: {
3281
+ strong: string;
3282
+ default: string;
3283
+ subtle: string;
3284
+ disabled: string;
3285
+ negative: string;
3286
+ warning: string;
3287
+ positive: string;
3288
+ onColor: string;
3289
+ };
3290
+ icon: {
3291
+ default: string;
3292
+ strong: string;
3293
+ subtle: string;
3294
+ disabled: string;
3295
+ negative: string;
3296
+ warning: string;
3297
+ success: string;
3298
+ onColor: string;
3299
+ };
3300
+ border: {
3301
+ default: string;
3302
+ defaultHover: string;
3303
+ defaultSelected: string;
3304
+ strong: string;
3305
+ subtle: string;
3306
+ negative: string;
3307
+ warning: string;
3308
+ success: string;
3309
+ };
3310
+ };
3311
+ sizes: {
3312
+ 112: string;
3313
+ 128: string;
3314
+ 144: string;
3315
+ 160: string;
3316
+ 176: string;
3317
+ 192: string;
3318
+ 224: string;
3319
+ 256: string;
3320
+ 288: string;
3321
+ 320: string;
3322
+ 384: string;
3323
+ 448: string;
3324
+ 512: string;
3325
+ 576: string;
3326
+ 672: string;
3327
+ 768: string;
3328
+ 896: string;
3329
+ 1024: string;
3330
+ '0x': string;
3331
+ '1x': string;
3332
+ '2x': string;
3333
+ '3x': string;
3334
+ '4x': string;
3335
+ '5x': string;
3336
+ '6x': string;
3337
+ '8x': string;
3338
+ '12x': string;
3339
+ '16x': string;
3340
+ '20x': string;
3341
+ '24x': string;
3342
+ };
3343
+ radii: {
3344
+ none: string;
3345
+ xs: string;
3346
+ sm: string;
3347
+ md: string;
3348
+ lg: string;
3349
+ xl: string;
3350
+ full: string;
3351
+ };
3352
+ shadows: {
3353
+ none: string;
3354
+ sm: string;
3355
+ md: string;
3356
+ lg: string;
3357
+ xl: string;
3358
+ };
3359
+ typography: {
3360
+ display: {
3361
+ lg: {
3362
+ fontFamily: string;
3363
+ fontWeight: string;
3364
+ fontSize: string;
3365
+ lineHeight: string;
3366
+ letterSpacing: string;
3367
+ };
3368
+ md: {
3369
+ fontFamily: string;
3370
+ fontWeight: string;
3371
+ fontSize: string;
3372
+ lineHeight: string;
3373
+ letterSpacing: string;
3374
+ };
3375
+ };
3376
+ title: {
3377
+ lg: {
3378
+ fontFamily: string;
3379
+ fontWeight: string;
3380
+ fontSize: string;
3381
+ lineHeight: string;
3382
+ letterSpacing: string;
3383
+ };
3384
+ md: {
3385
+ fontFamily: string;
3386
+ fontWeight: string;
3387
+ fontSize: string;
3388
+ lineHeight: string;
3389
+ letterSpacing: string;
3390
+ };
3391
+ sm: {
3392
+ fontFamily: string;
3393
+ fontWeight: string;
3394
+ fontSize: string;
3395
+ lineHeight: string;
3396
+ letterSpacing: string;
3397
+ };
3398
+ xs: {
3399
+ fontFamily: string;
3400
+ fontWeight: string;
3401
+ fontSize: string;
3402
+ lineHeight: string;
3403
+ letterSpacing: string;
3404
+ };
3405
+ '2xs': {
3406
+ fontFamily: string;
3407
+ fontWeight: string;
3408
+ fontSize: string;
3409
+ lineHeight: string;
3410
+ letterSpacing: string;
3411
+ };
3412
+ '3xs': {
3413
+ fontFamily: string;
3414
+ fontWeight: string;
3415
+ fontSize: string;
3416
+ lineHeight: string;
3417
+ letterSpacing: string;
3418
+ };
3419
+ };
3420
+ body: {
3421
+ xl: {
3422
+ fontFamily: string;
3423
+ fontWeight: string;
3424
+ fontSize: string;
3425
+ lineHeight: string;
3426
+ letterSpacing: string;
3427
+ };
3428
+ lg: {
3429
+ fontFamily: string;
3430
+ fontWeight: string;
3431
+ fontSize: string;
3432
+ lineHeight: string;
3433
+ letterSpacing: string;
3434
+ };
3435
+ md: {
3436
+ fontFamily: string;
3437
+ fontWeight: string;
3438
+ fontSize: string;
3439
+ lineHeight: string;
3440
+ letterSpacing: string;
3441
+ };
3442
+ sm: {
3443
+ fontFamily: string;
3444
+ fontWeight: string;
3445
+ fontSize: string;
3446
+ lineHeight: string;
3447
+ letterSpacing: string;
3448
+ };
3449
+ xs: {
3450
+ fontFamily: string;
3451
+ fontWeight: string;
3452
+ fontSize: string;
3453
+ lineHeight: string;
3454
+ letterSpacing: string;
3455
+ };
3456
+ };
3457
+ label: {
3458
+ md: {
3459
+ fontFamily: string;
3460
+ fontWeight: string;
3461
+ fontSize: string;
3462
+ lineHeight: string;
3463
+ letterSpacing: string;
3464
+ };
3465
+ sm: {
3466
+ fontFamily: string;
3467
+ fontWeight: string;
3468
+ fontSize: string;
3469
+ lineHeight: string;
3470
+ letterSpacing: string;
3471
+ };
3472
+ };
3473
+ caption: {
3474
+ md: {
3475
+ fontFamily: string;
3476
+ fontWeight: string;
3477
+ fontSize: string;
3478
+ lineHeight: string;
3479
+ letterSpacing: string;
3480
+ };
3481
+ sm: {
3482
+ fontFamily: string;
3483
+ fontWeight: string;
3484
+ fontSize: string;
3485
+ lineHeight: string;
3486
+ letterSpacing: string;
3487
+ };
3488
+ };
3489
+ };
3490
+ }) => {
3491
+ primary: {
3492
+ background: string;
3493
+ color: string;
3494
+ ':enabled': {
3495
+ '@media(hover: hover)': {
3496
+ ':hover': {
3497
+ background: string;
3498
+ };
3499
+ };
3500
+ ':active': {
3501
+ background: string;
3502
+ };
3503
+ };
3504
+ };
3505
+ secondary: {
3506
+ background: string;
3507
+ color: string;
3508
+ ':enabled': {
3509
+ '@media(hover: hover)': {
3510
+ ':hover': {
3511
+ background: string;
3512
+ };
3513
+ };
3514
+ ':active': {
3515
+ background: string;
3516
+ };
3517
+ };
3518
+ };
3519
+ tertiary: {
3520
+ background: string;
3521
+ color: string;
3522
+ border: string;
3523
+ borderColor: string;
3524
+ ':enabled': {
3525
+ '@media(hover: hover)': {
3526
+ ':hover': {
3527
+ background: string;
3528
+ };
3529
+ };
3530
+ ':active': {
3531
+ background: string;
3532
+ };
3533
+ };
3534
+ };
3535
+ ghost: {
3536
+ background: string;
3537
+ color: string;
3538
+ ':enabled': {
3539
+ '@media(hover: hover)': {
3540
+ ':hover': {
3541
+ background: string;
3542
+ };
3543
+ ':active': {
3544
+ background: string;
3545
+ };
3546
+ };
3547
+ };
3548
+ };
3549
+ };
3550
+
3551
+ declare type IconButtonSize = VariantProps<typeof getSizeStyles$3>;
3552
+ declare type IconButtonVariant = VariantProps<typeof getVariantStyles>;
3553
+ interface IconButtonOptions {
3554
+ icon: ElementType<IconProps>;
3555
+ /**
3556
+ * A visually hidden label read by screen readers.
3557
+ *
3558
+ */
3559
+ label: string;
3560
+ /**
3561
+ * Defines the size of the button
3562
+ */
3563
+ size?: IconButtonSize;
3564
+ /**
3565
+ * Sets the style variant of the button
3566
+ */
3567
+ variant?: IconButtonVariant;
3568
+ /**
3569
+ * If `true` the button will be disabled
3570
+ */
3571
+ isDisabled?: boolean;
3572
+ }
3573
+ declare type IconButtonComponent = ForwardRefComponent<'button', IconButtonOptions>;
3574
+ declare type IconButtonProps = PropsOf<IconButtonComponent>;
3575
+ declare const IconButton: IconButtonComponent;
3576
+
3577
+ interface ImageOptions {
3578
+ src?: string;
3579
+ alt?: string;
3580
+ width: string | number;
3581
+ height: string | number;
3582
+ loading?: 'eager' | 'lazy';
3583
+ borderRadius?: keyof Theme['radii'];
3584
+ }
3585
+ declare type OmittedProps$8 = 'width' | 'height';
3586
+ interface ImageProps extends Omit<HTMLQdsProps<'img'>, OmittedProps$8>, ImageOptions {
3587
+ }
3588
+ declare function Image({ src, loading, width, height, borderRadius, ...restProps }: ImageProps): JSX.Element;
3589
+
3590
+ interface InputBaseOptions {
3591
+ /**
3592
+ * If `true`, the input will be invalid
3593
+ */
3594
+ isInvalid?: boolean;
3595
+ /**
3596
+ * If `true`, the input will be disabled
3597
+ */
3598
+ isDisabled?: boolean;
3599
+ /**
3600
+ * If `true` the input will be required
3601
+ */
3602
+ isRequired?: boolean;
3603
+ }
3604
+ declare type OmittedProps$7 = 'children' | 'readOnly' | 'size' | 'disabled' | 'required';
3605
+ interface InputBaseProps extends Omit<HTMLQdsProps<'input'>, OmittedProps$7>, InputBaseOptions {
3606
+ }
3607
+ declare const InputBase: react.ForwardRefExoticComponent<InputBaseProps & react.RefAttributes<HTMLInputElement>>;
3608
+
3609
+ interface TextFieldOptions extends InputBaseOptions {
3610
+ /**
3611
+ * The label for the input
3612
+ */
3613
+ label: string;
3614
+ /**
3615
+ * The error message to display if `isInvalid` is `true`
3616
+ */
3617
+ errorMessage?: string;
3618
+ /**
3619
+ * Text that provides additional guidance to the user
3620
+ */
3621
+ helperText?: string;
3622
+ }
3623
+ declare type OmittedProps$6 = 'children' | 'readOnly' | 'size';
3624
+ interface TextFieldProps extends Omit<HTMLQdsProps<'input'>, OmittedProps$6>, TextFieldOptions {
3625
+ }
3626
+ declare const TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLInputElement>>;
3627
+
3628
+ declare const getSizeStyles$2: (theme: {
3629
+ mediaQueries: {
3630
+ readonly smUp: "@media(min-width: 480px)";
3631
+ readonly mdUp: "@media(min-width: 768px)";
3632
+ readonly lgUp: "@media(min-width: 1024px)";
3633
+ readonly xlUp: "@media(min-width: 1280px)";
3634
+ readonly '2xlUp': "@media(min-width: 1536px)";
3635
+ };
3636
+ spacing: {
3637
+ '0x': string;
3638
+ '1x': string;
3639
+ '2x': string;
3640
+ '3x': string;
3641
+ '4x': string;
3642
+ '5x': string;
3643
+ '6x': string;
3644
+ '8x': string;
3645
+ '12x': string;
3646
+ '16x': string;
3647
+ '20x': string;
3648
+ '24x': string;
3649
+ };
3650
+ breakpoints: {
3651
+ readonly base: 0;
3652
+ readonly sm: 480;
3653
+ readonly md: 768;
3654
+ readonly lg: 1024;
3655
+ readonly xl: 1280;
3656
+ readonly '2xl': 1536;
3657
+ };
3658
+ zIndices: {
3659
+ hide: number;
3660
+ auto: string;
3661
+ base: number;
3662
+ docked: number;
3663
+ dropdown: number;
3664
+ sticky: number;
3665
+ banner: number;
3666
+ overlay: number;
3667
+ modal: number;
3668
+ popover: number;
3669
+ skipLink: number;
3670
+ toast: number;
3671
+ tooltip: number;
3672
+ };
3673
+ colors: {
3674
+ core: {
3675
+ black: string;
3676
+ white: string;
3677
+ gray90: string;
3678
+ gray80: string;
3679
+ gray70: string;
3680
+ gray60: string;
3681
+ gray50: string;
3682
+ gray40: string;
3683
+ gray30: string;
3684
+ gray20: string;
3685
+ gray10: string;
3686
+ brand90: string;
3687
+ brand80: string;
3688
+ brand70: string;
3689
+ brand60: string;
3690
+ brand50: string;
3691
+ brand40: string;
3692
+ brand30: string;
3693
+ brand20: string;
3694
+ brand10: string;
3695
+ red10: string;
3696
+ red20: string;
3697
+ red30: string;
3698
+ red40: string;
3699
+ red50: string;
3700
+ red60: string;
3701
+ red70: string;
3702
+ red80: string;
3703
+ red90: string;
3704
+ green90: string;
3705
+ green80: string;
3706
+ green70: string;
3707
+ green60: string;
3708
+ green50: string;
3709
+ green40: string;
3710
+ green30: string;
3711
+ green20: string;
3712
+ green10: string;
3713
+ blue90: string;
3714
+ blue80: string;
3715
+ blue70: string;
3716
+ blue60: string;
3717
+ blue50: string;
3718
+ blue40: string;
3719
+ blue30: string;
3720
+ blue20: string;
3721
+ blue10: string;
3722
+ yellow90: string;
3723
+ yellow80: string;
3724
+ yellow70: string;
3725
+ yellow60: string;
3726
+ yellow50: string;
3727
+ yellow40: string;
3728
+ yellow30: string;
3729
+ yellow20: string;
3730
+ yellow10: string;
3731
+ blackAlpha20: string;
3732
+ };
3733
+ bg: {
3734
+ default: string;
3735
+ brandPrimary: string;
3736
+ brandPrimaryHover: string;
3737
+ brandPrimaryActive: string;
3738
+ brandSecondary: string;
3739
+ brandSecondaryHover: string;
3740
+ brandSecondaryActive: string;
3741
+ negative: string;
3742
+ warning: string;
3743
+ positive: string;
3744
+ inset: string;
3745
+ backdrop: string;
3746
+ };
3747
+ text: {
3748
+ strong: string;
3749
+ default: string;
3750
+ subtle: string;
3751
+ disabled: string;
3752
+ negative: string;
3753
+ warning: string;
3754
+ positive: string;
3755
+ onColor: string;
3756
+ };
3757
+ icon: {
3758
+ default: string;
3759
+ strong: string;
3760
+ subtle: string;
3761
+ disabled: string;
3762
+ negative: string;
3763
+ warning: string;
3764
+ success: string;
3765
+ onColor: string;
3766
+ };
3767
+ border: {
3768
+ default: string;
3769
+ defaultHover: string;
3770
+ defaultSelected: string;
3771
+ strong: string;
3772
+ subtle: string;
3773
+ negative: string;
3774
+ warning: string;
3775
+ success: string;
3776
+ };
3777
+ };
3778
+ sizes: {
3779
+ 112: string;
3780
+ 128: string;
3781
+ 144: string;
3782
+ 160: string;
3783
+ 176: string;
3784
+ 192: string;
3785
+ 224: string;
3786
+ 256: string;
3787
+ 288: string;
3788
+ 320: string;
3789
+ 384: string;
3790
+ 448: string;
3791
+ 512: string;
3792
+ 576: string;
3793
+ 672: string;
3794
+ 768: string;
3795
+ 896: string;
3796
+ 1024: string;
3797
+ '0x': string;
3798
+ '1x': string;
3799
+ '2x': string;
3800
+ '3x': string;
3801
+ '4x': string;
3802
+ '5x': string;
3803
+ '6x': string;
3804
+ '8x': string;
3805
+ '12x': string;
3806
+ '16x': string;
3807
+ '20x': string;
3808
+ '24x': string;
3809
+ };
3810
+ radii: {
3811
+ none: string;
3812
+ xs: string;
3813
+ sm: string;
3814
+ md: string;
3815
+ lg: string;
3816
+ xl: string;
3817
+ full: string;
3818
+ };
3819
+ shadows: {
3820
+ none: string;
3821
+ sm: string;
3822
+ md: string;
3823
+ lg: string;
3824
+ xl: string;
3825
+ };
3826
+ typography: {
3827
+ display: {
3828
+ lg: {
3829
+ fontFamily: string;
3830
+ fontWeight: string;
3831
+ fontSize: string;
3832
+ lineHeight: string;
3833
+ letterSpacing: string;
3834
+ };
3835
+ md: {
3836
+ fontFamily: string;
3837
+ fontWeight: string;
3838
+ fontSize: string;
3839
+ lineHeight: string;
3840
+ letterSpacing: string;
3841
+ };
3842
+ };
3843
+ title: {
3844
+ lg: {
3845
+ fontFamily: string;
3846
+ fontWeight: string;
3847
+ fontSize: string;
3848
+ lineHeight: string;
3849
+ letterSpacing: string;
3850
+ };
3851
+ md: {
3852
+ fontFamily: string;
3853
+ fontWeight: string;
3854
+ fontSize: string;
3855
+ lineHeight: string;
3856
+ letterSpacing: string;
3857
+ };
3858
+ sm: {
3859
+ fontFamily: string;
3860
+ fontWeight: string;
3861
+ fontSize: string;
3862
+ lineHeight: string;
3863
+ letterSpacing: string;
3864
+ };
3865
+ xs: {
3866
+ fontFamily: string;
3867
+ fontWeight: string;
3868
+ fontSize: string;
3869
+ lineHeight: string;
3870
+ letterSpacing: string;
3871
+ };
3872
+ '2xs': {
3873
+ fontFamily: string;
3874
+ fontWeight: string;
3875
+ fontSize: string;
3876
+ lineHeight: string;
3877
+ letterSpacing: string;
3878
+ };
3879
+ '3xs': {
3880
+ fontFamily: string;
3881
+ fontWeight: string;
3882
+ fontSize: string;
3883
+ lineHeight: string;
3884
+ letterSpacing: string;
3885
+ };
3886
+ };
3887
+ body: {
3888
+ xl: {
3889
+ fontFamily: string;
3890
+ fontWeight: string;
3891
+ fontSize: string;
3892
+ lineHeight: string;
3893
+ letterSpacing: string;
3894
+ };
3895
+ lg: {
3896
+ fontFamily: string;
3897
+ fontWeight: string;
3898
+ fontSize: string;
3899
+ lineHeight: string;
3900
+ letterSpacing: string;
3901
+ };
3902
+ md: {
3903
+ fontFamily: string;
3904
+ fontWeight: string;
3905
+ fontSize: string;
3906
+ lineHeight: string;
3907
+ letterSpacing: string;
3908
+ };
3909
+ sm: {
3910
+ fontFamily: string;
3911
+ fontWeight: string;
3912
+ fontSize: string;
3913
+ lineHeight: string;
3914
+ letterSpacing: string;
3915
+ };
3916
+ xs: {
3917
+ fontFamily: string;
3918
+ fontWeight: string;
3919
+ fontSize: string;
3920
+ lineHeight: string;
3921
+ letterSpacing: string;
3922
+ };
3923
+ };
3924
+ label: {
3925
+ md: {
3926
+ fontFamily: string;
3927
+ fontWeight: string;
3928
+ fontSize: string;
3929
+ lineHeight: string;
3930
+ letterSpacing: string;
3931
+ };
3932
+ sm: {
3933
+ fontFamily: string;
3934
+ fontWeight: string;
3935
+ fontSize: string;
3936
+ lineHeight: string;
3937
+ letterSpacing: string;
3938
+ };
3939
+ };
3940
+ caption: {
3941
+ md: {
3942
+ fontFamily: string;
3943
+ fontWeight: string;
3944
+ fontSize: string;
3945
+ lineHeight: string;
3946
+ letterSpacing: string;
3947
+ };
3948
+ sm: {
3949
+ fontFamily: string;
3950
+ fontWeight: string;
3951
+ fontSize: string;
3952
+ lineHeight: string;
3953
+ letterSpacing: string;
3954
+ };
3955
+ };
3956
+ };
3957
+ }) => {
3958
+ sm: {
3959
+ fontFamily: string;
3960
+ fontWeight: string;
3961
+ fontSize: string;
3962
+ lineHeight: string;
3963
+ letterSpacing: string;
3964
+ };
3965
+ md: {
3966
+ fontFamily: string;
3967
+ fontWeight: string;
3968
+ fontSize: string;
3969
+ lineHeight: string;
3970
+ letterSpacing: string;
3971
+ };
3972
+ };
3973
+ declare type LabelSize = VariantProps<typeof getSizeStyles$2>;
3974
+ interface LabelOptions {
3975
+ /**
3976
+ * Size of the label
3977
+ */
3978
+ size?: LabelSize;
3979
+ }
3980
+ declare type LabelComponent = ForwardRefComponent<'label', LabelOptions>;
3981
+ declare type LabelProps = PropsOf<LabelComponent>;
3982
+ declare const Label: LabelComponent;
3983
+
3984
+ interface LinkOptions {
3985
+ /**
3986
+ * The URL to link to.
3987
+ */
3988
+ href?: string;
3989
+ /**
3990
+ * If `true`, the link will open in new tab
3991
+ */
3992
+ isExternal?: boolean;
3993
+ }
3994
+ declare type LinkComponent = ForwardRefComponent<'a', LinkOptions>;
3995
+ declare type LinkProps = PropsOf<LinkComponent>;
3996
+ declare const Link: LinkComponent;
3997
+
3998
+ declare const getSizeStyles$1: (theme: {
3999
+ mediaQueries: {
4000
+ readonly smUp: "@media(min-width: 480px)";
4001
+ readonly mdUp: "@media(min-width: 768px)";
4002
+ readonly lgUp: "@media(min-width: 1024px)";
4003
+ readonly xlUp: "@media(min-width: 1280px)";
4004
+ readonly '2xlUp': "@media(min-width: 1536px)";
4005
+ };
4006
+ spacing: {
4007
+ '0x': string;
4008
+ '1x': string;
4009
+ '2x': string;
4010
+ '3x': string;
4011
+ '4x': string;
4012
+ '5x': string;
4013
+ '6x': string;
4014
+ '8x': string;
4015
+ '12x': string;
4016
+ '16x': string;
4017
+ '20x': string;
4018
+ '24x': string;
4019
+ };
4020
+ breakpoints: {
4021
+ readonly base: 0;
4022
+ readonly sm: 480;
4023
+ readonly md: 768;
4024
+ readonly lg: 1024;
4025
+ readonly xl: 1280;
4026
+ readonly '2xl': 1536;
4027
+ };
4028
+ zIndices: {
4029
+ hide: number;
4030
+ auto: string;
4031
+ base: number;
4032
+ docked: number;
4033
+ dropdown: number;
4034
+ sticky: number;
4035
+ banner: number;
4036
+ overlay: number;
4037
+ modal: number;
4038
+ popover: number;
4039
+ skipLink: number;
4040
+ toast: number;
4041
+ tooltip: number;
4042
+ };
4043
+ colors: {
4044
+ core: {
4045
+ black: string;
4046
+ white: string;
4047
+ gray90: string;
4048
+ gray80: string;
4049
+ gray70: string;
4050
+ gray60: string;
4051
+ gray50: string;
4052
+ gray40: string;
4053
+ gray30: string;
4054
+ gray20: string;
4055
+ gray10: string;
4056
+ brand90: string;
4057
+ brand80: string;
4058
+ brand70: string;
4059
+ brand60: string;
4060
+ brand50: string;
4061
+ brand40: string;
4062
+ brand30: string;
4063
+ brand20: string;
4064
+ brand10: string;
4065
+ red10: string;
4066
+ red20: string;
4067
+ red30: string;
4068
+ red40: string;
4069
+ red50: string;
4070
+ red60: string;
4071
+ red70: string;
4072
+ red80: string;
4073
+ red90: string;
4074
+ green90: string;
4075
+ green80: string;
4076
+ green70: string;
4077
+ green60: string;
4078
+ green50: string;
4079
+ green40: string;
4080
+ green30: string;
4081
+ green20: string;
4082
+ green10: string;
4083
+ blue90: string;
4084
+ blue80: string;
4085
+ blue70: string;
4086
+ blue60: string;
4087
+ blue50: string;
4088
+ blue40: string;
4089
+ blue30: string;
4090
+ blue20: string;
4091
+ blue10: string;
4092
+ yellow90: string;
4093
+ yellow80: string;
4094
+ yellow70: string;
4095
+ yellow60: string;
4096
+ yellow50: string;
4097
+ yellow40: string;
4098
+ yellow30: string;
4099
+ yellow20: string;
4100
+ yellow10: string;
4101
+ blackAlpha20: string;
4102
+ };
4103
+ bg: {
4104
+ default: string;
4105
+ brandPrimary: string;
4106
+ brandPrimaryHover: string;
4107
+ brandPrimaryActive: string;
4108
+ brandSecondary: string;
4109
+ brandSecondaryHover: string;
4110
+ brandSecondaryActive: string;
4111
+ negative: string;
4112
+ warning: string;
4113
+ positive: string;
4114
+ inset: string;
4115
+ backdrop: string;
4116
+ };
4117
+ text: {
4118
+ strong: string;
4119
+ default: string;
4120
+ subtle: string;
4121
+ disabled: string;
4122
+ negative: string;
4123
+ warning: string;
4124
+ positive: string;
4125
+ onColor: string;
4126
+ };
4127
+ icon: {
4128
+ default: string;
4129
+ strong: string;
4130
+ subtle: string;
4131
+ disabled: string;
4132
+ negative: string;
4133
+ warning: string;
4134
+ success: string;
4135
+ onColor: string;
4136
+ };
4137
+ border: {
4138
+ default: string;
4139
+ defaultHover: string;
4140
+ defaultSelected: string;
4141
+ strong: string;
4142
+ subtle: string;
4143
+ negative: string;
4144
+ warning: string;
4145
+ success: string;
4146
+ };
4147
+ };
4148
+ sizes: {
4149
+ 112: string;
4150
+ 128: string;
4151
+ 144: string;
4152
+ 160: string;
4153
+ 176: string;
4154
+ 192: string;
4155
+ 224: string;
4156
+ 256: string;
4157
+ 288: string;
4158
+ 320: string;
4159
+ 384: string;
4160
+ 448: string;
4161
+ 512: string;
4162
+ 576: string;
4163
+ 672: string;
4164
+ 768: string;
4165
+ 896: string;
4166
+ 1024: string;
4167
+ '0x': string;
4168
+ '1x': string;
4169
+ '2x': string;
4170
+ '3x': string;
4171
+ '4x': string;
4172
+ '5x': string;
4173
+ '6x': string;
4174
+ '8x': string;
4175
+ '12x': string;
4176
+ '16x': string;
4177
+ '20x': string;
4178
+ '24x': string;
4179
+ };
4180
+ radii: {
4181
+ none: string;
4182
+ xs: string;
4183
+ sm: string;
4184
+ md: string;
4185
+ lg: string;
4186
+ xl: string;
4187
+ full: string;
4188
+ };
4189
+ shadows: {
4190
+ none: string;
4191
+ sm: string;
4192
+ md: string;
4193
+ lg: string;
4194
+ xl: string;
4195
+ };
4196
+ typography: {
4197
+ display: {
4198
+ lg: {
4199
+ fontFamily: string;
4200
+ fontWeight: string;
4201
+ fontSize: string;
4202
+ lineHeight: string;
4203
+ letterSpacing: string;
4204
+ };
4205
+ md: {
4206
+ fontFamily: string;
4207
+ fontWeight: string;
4208
+ fontSize: string;
4209
+ lineHeight: string;
4210
+ letterSpacing: string;
4211
+ };
4212
+ };
4213
+ title: {
4214
+ lg: {
4215
+ fontFamily: string;
4216
+ fontWeight: string;
4217
+ fontSize: string;
4218
+ lineHeight: string;
4219
+ letterSpacing: string;
4220
+ };
4221
+ md: {
4222
+ fontFamily: string;
4223
+ fontWeight: string;
4224
+ fontSize: string;
4225
+ lineHeight: string;
4226
+ letterSpacing: string;
4227
+ };
4228
+ sm: {
4229
+ fontFamily: string;
4230
+ fontWeight: string;
4231
+ fontSize: string;
4232
+ lineHeight: string;
4233
+ letterSpacing: string;
4234
+ };
4235
+ xs: {
4236
+ fontFamily: string;
4237
+ fontWeight: string;
4238
+ fontSize: string;
4239
+ lineHeight: string;
4240
+ letterSpacing: string;
4241
+ };
4242
+ '2xs': {
4243
+ fontFamily: string;
4244
+ fontWeight: string;
4245
+ fontSize: string;
4246
+ lineHeight: string;
4247
+ letterSpacing: string;
4248
+ };
4249
+ '3xs': {
4250
+ fontFamily: string;
4251
+ fontWeight: string;
4252
+ fontSize: string;
4253
+ lineHeight: string;
4254
+ letterSpacing: string;
4255
+ };
4256
+ };
4257
+ body: {
4258
+ xl: {
4259
+ fontFamily: string;
4260
+ fontWeight: string;
4261
+ fontSize: string;
4262
+ lineHeight: string;
4263
+ letterSpacing: string;
4264
+ };
4265
+ lg: {
4266
+ fontFamily: string;
4267
+ fontWeight: string;
4268
+ fontSize: string;
4269
+ lineHeight: string;
4270
+ letterSpacing: string;
4271
+ };
4272
+ md: {
4273
+ fontFamily: string;
4274
+ fontWeight: string;
4275
+ fontSize: string;
4276
+ lineHeight: string;
4277
+ letterSpacing: string;
4278
+ };
4279
+ sm: {
4280
+ fontFamily: string;
4281
+ fontWeight: string;
4282
+ fontSize: string;
4283
+ lineHeight: string;
4284
+ letterSpacing: string;
4285
+ };
4286
+ xs: {
4287
+ fontFamily: string;
4288
+ fontWeight: string;
4289
+ fontSize: string;
4290
+ lineHeight: string;
4291
+ letterSpacing: string;
4292
+ };
4293
+ };
4294
+ label: {
4295
+ md: {
4296
+ fontFamily: string;
4297
+ fontWeight: string;
4298
+ fontSize: string;
4299
+ lineHeight: string;
4300
+ letterSpacing: string;
4301
+ };
4302
+ sm: {
4303
+ fontFamily: string;
4304
+ fontWeight: string;
4305
+ fontSize: string;
4306
+ lineHeight: string;
4307
+ letterSpacing: string;
4308
+ };
4309
+ };
4310
+ caption: {
4311
+ md: {
4312
+ fontFamily: string;
4313
+ fontWeight: string;
4314
+ fontSize: string;
4315
+ lineHeight: string;
4316
+ letterSpacing: string;
4317
+ };
4318
+ sm: {
4319
+ fontFamily: string;
4320
+ fontWeight: string;
4321
+ fontSize: string;
4322
+ lineHeight: string;
4323
+ letterSpacing: string;
4324
+ };
4325
+ };
4326
+ };
4327
+ }) => {
4328
+ sm: {
4329
+ fontSize: string;
4330
+ };
4331
+ md: {
4332
+ fontSize: string;
4333
+ };
4334
+ };
4335
+ declare type LoadingDotsSize = VariantProps<typeof getSizeStyles$1>;
4336
+ interface LoadingDotsOptions {
4337
+ size?: LoadingDotsSize;
4338
+ }
4339
+ interface LoadingDotsProps extends HTMLQdsProps<'span'>, LoadingDotsOptions {
4340
+ }
4341
+ declare const LoadingDots: react.ForwardRefExoticComponent<LoadingDotsProps & react.RefAttributes<HTMLSpanElement>>;
4342
+
4343
+ declare const getSizeStyles: (theme: {
4344
+ mediaQueries: {
4345
+ readonly smUp: "@media(min-width: 480px)";
4346
+ readonly mdUp: "@media(min-width: 768px)";
4347
+ readonly lgUp: "@media(min-width: 1024px)";
4348
+ readonly xlUp: "@media(min-width: 1280px)";
4349
+ readonly '2xlUp': "@media(min-width: 1536px)";
4350
+ };
4351
+ spacing: {
4352
+ '0x': string;
4353
+ '1x': string;
4354
+ '2x': string;
4355
+ '3x': string;
4356
+ '4x': string;
4357
+ '5x': string;
4358
+ '6x': string;
4359
+ '8x': string;
4360
+ '12x': string;
4361
+ '16x': string;
4362
+ '20x': string;
4363
+ '24x': string;
4364
+ };
4365
+ breakpoints: {
4366
+ readonly base: 0;
4367
+ readonly sm: 480;
4368
+ readonly md: 768;
4369
+ readonly lg: 1024;
4370
+ readonly xl: 1280;
4371
+ readonly '2xl': 1536;
4372
+ };
4373
+ zIndices: {
4374
+ hide: number;
4375
+ auto: string;
4376
+ base: number;
4377
+ docked: number;
4378
+ dropdown: number;
4379
+ sticky: number;
4380
+ banner: number;
4381
+ overlay: number;
4382
+ modal: number;
4383
+ popover: number;
4384
+ skipLink: number;
4385
+ toast: number;
4386
+ tooltip: number;
4387
+ };
4388
+ colors: {
4389
+ core: {
4390
+ black: string;
4391
+ white: string;
4392
+ gray90: string;
4393
+ gray80: string;
4394
+ gray70: string;
4395
+ gray60: string;
4396
+ gray50: string;
4397
+ gray40: string;
4398
+ gray30: string;
4399
+ gray20: string;
4400
+ gray10: string;
4401
+ brand90: string;
4402
+ brand80: string;
4403
+ brand70: string;
4404
+ brand60: string;
4405
+ brand50: string;
4406
+ brand40: string;
4407
+ brand30: string;
4408
+ brand20: string;
4409
+ brand10: string;
4410
+ red10: string;
4411
+ red20: string;
4412
+ red30: string;
4413
+ red40: string;
4414
+ red50: string;
4415
+ red60: string;
4416
+ red70: string;
4417
+ red80: string;
4418
+ red90: string;
4419
+ green90: string;
4420
+ green80: string;
4421
+ green70: string;
4422
+ green60: string;
4423
+ green50: string;
4424
+ green40: string;
4425
+ green30: string;
4426
+ green20: string;
4427
+ green10: string;
4428
+ blue90: string;
4429
+ blue80: string;
4430
+ blue70: string;
4431
+ blue60: string;
4432
+ blue50: string;
4433
+ blue40: string;
4434
+ blue30: string;
4435
+ blue20: string;
4436
+ blue10: string;
4437
+ yellow90: string;
4438
+ yellow80: string;
4439
+ yellow70: string;
4440
+ yellow60: string;
4441
+ yellow50: string;
4442
+ yellow40: string;
4443
+ yellow30: string;
4444
+ yellow20: string;
4445
+ yellow10: string;
4446
+ blackAlpha20: string;
4447
+ };
4448
+ /**
4449
+ * Truncates the text after a specific number of lines
4450
+ */
4451
+ bg: {
4452
+ default: string;
4453
+ brandPrimary: string;
4454
+ brandPrimaryHover: string;
4455
+ brandPrimaryActive: string;
4456
+ brandSecondary: string;
4457
+ brandSecondaryHover: string;
4458
+ brandSecondaryActive: string;
4459
+ negative: string;
4460
+ warning: string;
4461
+ positive: string;
4462
+ inset: string;
4463
+ backdrop: string;
4464
+ };
4465
+ text: {
4466
+ strong: string;
4467
+ default: string;
4468
+ subtle: string;
4469
+ disabled: string;
4470
+ negative: string;
4471
+ warning: string;
4472
+ positive: string;
4473
+ onColor: string;
4474
+ };
4475
+ icon: {
4476
+ default: string;
4477
+ strong: string;
4478
+ subtle: string;
4479
+ disabled: string;
4480
+ negative: string;
4481
+ warning: string;
4482
+ success: string;
4483
+ onColor: string;
4484
+ };
4485
+ border: {
4486
+ default: string;
4487
+ defaultHover: string;
4488
+ defaultSelected: string;
4489
+ strong: string;
4490
+ subtle: string;
4491
+ negative: string;
4492
+ warning: string;
4493
+ success: string;
4494
+ };
4495
+ };
4496
+ sizes: {
4497
+ 112: string;
4498
+ 128: string;
4499
+ 144: string;
4500
+ 160: string;
4501
+ 176: string;
4502
+ 192: string;
4503
+ 224: string;
4504
+ 256: string;
4505
+ 288: string;
4506
+ 320: string;
4507
+ 384: string;
4508
+ 448: string;
4509
+ 512: string;
4510
+ 576: string;
4511
+ 672: string;
4512
+ 768: string;
4513
+ 896: string;
4514
+ 1024: string;
4515
+ '0x': string;
4516
+ '1x': string;
4517
+ '2x': string;
4518
+ '3x': string;
4519
+ '4x': string;
4520
+ '5x': string;
4521
+ '6x': string;
4522
+ '8x': string;
4523
+ '12x': string;
4524
+ '16x': string;
4525
+ '20x': string;
4526
+ '24x': string;
4527
+ };
4528
+ radii: {
4529
+ none: string;
4530
+ xs: string;
4531
+ sm: string;
4532
+ md: string;
4533
+ lg: string;
4534
+ xl: string;
4535
+ full: string;
4536
+ };
4537
+ shadows: {
4538
+ none: string;
4539
+ sm: string;
4540
+ md: string;
4541
+ lg: string;
4542
+ xl: string;
4543
+ };
4544
+ typography: {
4545
+ display: {
4546
+ lg: {
4547
+ fontFamily: string;
4548
+ fontWeight: string;
4549
+ fontSize: string;
4550
+ lineHeight: string;
4551
+ letterSpacing: string;
4552
+ };
4553
+ md: {
4554
+ fontFamily: string;
4555
+ fontWeight: string;
4556
+ fontSize: string;
4557
+ lineHeight: string;
4558
+ letterSpacing: string;
4559
+ };
4560
+ };
4561
+ title: {
4562
+ lg: {
4563
+ fontFamily: string;
4564
+ fontWeight: string;
4565
+ fontSize: string;
4566
+ lineHeight: string;
4567
+ letterSpacing: string;
4568
+ };
4569
+ md: {
4570
+ fontFamily: string;
4571
+ fontWeight: string;
4572
+ fontSize: string;
4573
+ lineHeight: string;
4574
+ letterSpacing: string;
4575
+ };
4576
+ sm: {
4577
+ fontFamily: string;
4578
+ fontWeight: string;
4579
+ fontSize: string;
4580
+ lineHeight: string;
4581
+ letterSpacing: string;
4582
+ };
4583
+ xs: {
4584
+ fontFamily: string;
4585
+ fontWeight: string;
4586
+ fontSize: string;
4587
+ lineHeight: string;
4588
+ letterSpacing: string; /**
4589
+ * Alignment of the paragraph
4590
+ * @default 'left'
4591
+ */
4592
+ };
4593
+ '2xs': {
4594
+ fontFamily: string;
4595
+ fontWeight: string;
4596
+ fontSize: string;
4597
+ lineHeight: string;
4598
+ letterSpacing: string;
4599
+ };
4600
+ '3xs': {
4601
+ fontFamily: string;
4602
+ fontWeight: string;
4603
+ fontSize: string;
4604
+ lineHeight: string;
4605
+ letterSpacing: string;
4606
+ };
4607
+ };
4608
+ body: {
4609
+ xl: {
4610
+ fontFamily: string;
4611
+ fontWeight: string;
4612
+ fontSize: string;
4613
+ lineHeight: string;
4614
+ letterSpacing: string;
4615
+ };
4616
+ lg: {
4617
+ fontFamily: string;
4618
+ fontWeight: string;
4619
+ fontSize: string;
4620
+ lineHeight: string;
4621
+ letterSpacing: string;
4622
+ };
4623
+ md: {
4624
+ fontFamily: string;
4625
+ fontWeight: string;
4626
+ fontSize: string;
4627
+ lineHeight: string;
4628
+ letterSpacing: string;
4629
+ };
4630
+ sm: {
4631
+ fontFamily: string;
4632
+ fontWeight: string;
4633
+ fontSize: string;
4634
+ lineHeight: string;
4635
+ letterSpacing: string;
4636
+ };
4637
+ xs: {
4638
+ fontFamily: string;
4639
+ fontWeight: string;
4640
+ fontSize: string;
4641
+ lineHeight: string;
4642
+ letterSpacing: string;
4643
+ };
4644
+ };
4645
+ label: {
4646
+ md: {
4647
+ fontFamily: string;
4648
+ fontWeight: string;
4649
+ fontSize: string;
4650
+ lineHeight: string;
4651
+ letterSpacing: string;
4652
+ };
4653
+ sm: {
4654
+ fontFamily: string;
4655
+ fontWeight: string;
4656
+ fontSize: string;
4657
+ lineHeight: string;
4658
+ letterSpacing: string;
4659
+ };
4660
+ };
4661
+ caption: {
4662
+ md: {
4663
+ fontFamily: string;
4664
+ fontWeight: string;
4665
+ fontSize: string;
4666
+ lineHeight: string;
4667
+ letterSpacing: string;
4668
+ };
4669
+ sm: {
4670
+ fontFamily: string;
4671
+ fontWeight: string;
4672
+ fontSize: string;
4673
+ lineHeight: string;
4674
+ letterSpacing: string;
4675
+ };
4676
+ };
4677
+ };
4678
+ }) => {
4679
+ xs: {
4680
+ fontFamily: string;
4681
+ fontWeight: string;
4682
+ fontSize: string;
4683
+ lineHeight: string;
4684
+ letterSpacing: string;
4685
+ };
4686
+ sm: {
4687
+ fontFamily: string;
4688
+ fontWeight: string;
4689
+ fontSize: string;
4690
+ lineHeight: string;
4691
+ letterSpacing: string;
4692
+ };
4693
+ md: {
4694
+ fontFamily: string;
4695
+ fontWeight: string;
4696
+ fontSize: string;
4697
+ lineHeight: string;
4698
+ letterSpacing: string;
4699
+ };
4700
+ lg: {
4701
+ fontFamily: string;
4702
+ fontWeight: string;
4703
+ fontSize: string;
4704
+ lineHeight: string;
4705
+ letterSpacing: string;
4706
+ };
4707
+ xl: {
4708
+ fontFamily: string;
4709
+ fontWeight: string;
4710
+ fontSize: string;
4711
+ lineHeight: string;
4712
+ letterSpacing: string;
4713
+ };
4714
+ };
4715
+ declare type ParagraphSize = VariantProps<typeof getSizeStyles>;
4716
+ declare type ParagraphColor = keyof Theme['colors']['text'];
4717
+ interface ParagraphOptions {
4718
+ /**
4719
+ * Sets the visual size of the text
4720
+ * @default 'md'
4721
+ */
4722
+ size?: ParagraphSize;
4723
+ /**
4724
+ * Sets the color of the text
4725
+ * @default 'normal'
4726
+ */
4727
+ color?: ParagraphColor;
4728
+ /**
4729
+ * Truncates the text after a specific number of lines
4730
+ */
4731
+ numberOfLines?: number;
4732
+ /**
4733
+ * Alignment of the paragraph
4734
+ * @default 'left'
4735
+ */
4736
+ textAlign?: 'left' | 'center' | 'right';
4737
+ }
4738
+ declare type ParagraphComponent = ForwardRefComponent<'p', ParagraphOptions>;
4739
+ declare type ParagraphProps = PropsOf<ParagraphComponent>;
4740
+ declare const Paragraph: ParagraphComponent;
4741
+
4742
+ interface SelectBaseOptions {
4743
+ /**
4744
+ * The placeholder for the select. We render an `<option/>` element that has
4745
+ * empty value.
4746
+ *
4747
+ * ```jsx
4748
+ * <option value="">{placeholder}</option>
4749
+ * ```
4750
+ */
4751
+ placeholder?: string;
4752
+ /**
4753
+ * If `true`, the select will be invalid
4754
+ */
4755
+ isInvalid?: boolean;
4756
+ /**
4757
+ * If `true`, the select will be disabled
4758
+ */
4759
+ isDisabled?: boolean;
4760
+ /**
4761
+ * If `true` the select will be required
4762
+ */
4763
+ isRequired?: boolean;
4764
+ }
4765
+ declare type OmittedProps$5 = 'readOnly' | 'size' | 'multiple' | 'disabled' | 'required';
4766
+ interface SelectBaseProps extends Omit<HTMLQdsProps<'select'>, OmittedProps$5>, SelectBaseOptions {
4767
+ }
4768
+ declare const SelectBase: react.ForwardRefExoticComponent<SelectBaseProps & react.RefAttributes<HTMLSelectElement>>;
4769
+
4770
+ declare type ResizeProp = 'none' | 'both' | 'horizontal' | 'vertical';
4771
+ declare type MinRowsProp = number;
4772
+ interface TextareaBaseOptions {
4773
+ /**
4774
+ * If `true`, the textarea will be invalid
4775
+ */
4776
+ isInvalid?: boolean;
4777
+ /**
4778
+ * If `true`, the textarea will be disabled
4779
+ */
4780
+ isDisabled?: boolean;
4781
+ /**
4782
+ * If `true` the textarea will be required
4783
+ */
4784
+ isRequired?: boolean;
4785
+ /**
4786
+ * The resize behavior of the textarea
4787
+ *
4788
+ * @default 'vertical'
4789
+ */
4790
+ resize?: ResizeProp;
4791
+ /**
4792
+ * The minimum number of rows to display without requiring scrolling or resizing.
4793
+ * To disabled resizing use the `resize` prop.
4794
+ *
4795
+ * @default 3
4796
+ */
4797
+ minRows?: MinRowsProp;
4798
+ }
4799
+ declare type OmittedProps$4 = 'children' | 'readOnly' | 'size' | 'disabled' | 'required' | 'rows' | 'cols';
4800
+ interface TextareaBaseProps extends Omit<HTMLQdsProps<'textarea'>, OmittedProps$4>, TextareaBaseOptions {
4801
+ }
4802
+ declare const TextareaBase: react.ForwardRefExoticComponent<TextareaBaseProps & react.RefAttributes<HTMLTextAreaElement>>;
4803
+
4804
+ interface SelectOptionOptions {
4805
+ isDisabled?: boolean;
4806
+ }
4807
+ declare type OmittedProps$3 = 'disabled' | 'label';
4808
+ interface SelectOptionProps extends Omit<HTMLQdsProps<'option'>, OmittedProps$3>, SelectOptionOptions {
4809
+ }
4810
+
4811
+ interface SelectOptions extends SelectBaseOptions {
4812
+ /**
4813
+ * The label for the select field
4814
+ */
4815
+ label: string;
4816
+ /**
4817
+ * The error message to display if `isInvalid` is `true`
4818
+ */
4819
+ errorMessage?: string;
4820
+ /**
4821
+ * Text that provides additional guidance to the user
4822
+ */
4823
+ helperText?: string;
4824
+ }
4825
+ declare type OmittedProps$2 = 'readOnly' | 'size';
4826
+ interface SelectProps extends Omit<HTMLQdsProps<'select'>, OmittedProps$2>, SelectOptions {
4827
+ }
4828
+ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAttributes<HTMLSelectElement>> & {
4829
+ Option: react.ForwardRefExoticComponent<SelectOptionProps & react.RefAttributes<HTMLOptionElement>>;
4830
+ };
4831
+
4832
+ interface SpacerOptions {
4833
+ axis?: 'x' | 'y';
4834
+ size: keyof Theme['spacing'];
4835
+ }
4836
+ interface SpacerProps extends HTMLQdsProps<'span'>, SpacerOptions {
4837
+ }
4838
+ declare const Spacer: react.ForwardRefExoticComponent<SpacerProps & react.RefAttributes<HTMLSpanElement>>;
4839
+
4840
+ declare type AlignItems = 'flex-start' | 'flex-end' | 'center' | 'stretch' | 'baseline';
4841
+ declare type JustifyContent = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
4842
+ declare type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse';
4843
+ declare type FlexWrap = 'wrap' | 'nowrap' | 'wrap-reverse';
4844
+
4845
+ declare type GapProp = keyof Theme['spacing'];
4846
+ interface StackOptions {
4847
+ direction?: FlexDirection;
4848
+ justifyContent?: JustifyContent;
4849
+ alignItems?: AlignItems;
4850
+ wrap?: FlexWrap;
4851
+ gap?: GapProp;
4852
+ divider?: ReactNode;
4853
+ }
4854
+ declare type StackComponent = ForwardRefComponent<'div', StackOptions>;
4855
+ declare type StackProps = PropsOf<StackComponent>;
4856
+ declare const Stack: StackComponent;
4857
+
4858
+ interface TextareaOptions extends TextareaBaseOptions {
4859
+ /**
4860
+ * The label for the textarea field
4861
+ */
4862
+ label: string;
4863
+ /**
4864
+ * The error message to display if `isInvalid` is `true`
4865
+ */
4866
+ errorMessage?: string;
4867
+ /**
4868
+ * Text that provides additional guidance to the user
4869
+ */
4870
+ helperText?: string;
4871
+ }
4872
+ declare type OmittedProps$1 = 'children' | 'readOnly' | 'size';
4873
+ interface TextareaProps extends Omit<HTMLQdsProps<'textarea'>, OmittedProps$1>, TextareaOptions {
4874
+ }
4875
+ declare const Textarea: react.ForwardRefExoticComponent<TextareaProps & react.RefAttributes<HTMLTextAreaElement>>;
4876
+
4877
+ interface UseBreakpointOptions {
4878
+ /**
4879
+ * If `true` the intital value will be `base` instead of the current breakpoint.
4880
+ * This is to support hydration when using SSR.
4881
+ *
4882
+ * If you're creating a client-side rendered app, you can pass `false` to get the correct value on the first render.
4883
+ *
4884
+ * @default true
4885
+ */
4886
+ ssr?: boolean;
4887
+ }
4888
+ /**
4889
+ * Hook for getting the current breakpoint.
4890
+ */
4891
+ declare function useBreakpoint(params?: UseBreakpointOptions): {
4892
+ currentBreakpoint: "2xl" | "base" | "lg" | "md" | "sm" | "xl";
4893
+ };
4894
+
4895
+ declare type Breakpoints = Theme['breakpoints'];
4896
+ declare type BreakpointsConfig<T> = PartialRecord<keyof Breakpoints, T> & {
4897
+ base: T;
4898
+ };
4899
+ declare type UseBreakpointValueProps<T> = BreakpointsConfig<T>;
4900
+ /**
4901
+ * Hook for getting a value based on the current breakpoint.
4902
+ *
4903
+ * @example
4904
+ * const width = useBreakpointValue({ base: '150px', md: '250px' })
4905
+ */
4906
+ declare function useBreakpointValue<T>(values: UseBreakpointValueProps<T>, options?: UseBreakpointOptions): T;
4907
+
4908
+ declare type LoadingStatus = 'loading' | 'loaded' | 'error' | 'pending';
4909
+ interface UseImageProps {
4910
+ src?: string;
4911
+ loading?: HTMLQdsProps<'img'>['loading'];
4912
+ }
4913
+ declare const useImage: ({ src, loading }: UseImageProps) => {
4914
+ loadingStatus: LoadingStatus;
4915
+ };
4916
+
4917
+ declare type FormFieldElement = 'input' | 'select' | 'textarea';
4918
+ declare type PropGetter<T extends ElementType = LegitimateAny> = (props?: HTMLQdsProps<T>) => Record<string, unknown>;
4919
+ interface FormFieldOptions {
4920
+ /**
4921
+ * The label for the form field
4922
+ */
4923
+ label: string;
4924
+ /**
4925
+ * The error message to display if `isInvalid` is `true`
4926
+ */
4927
+ errorMessage?: string;
4928
+ /**
4929
+ * Text that provides additional guidance to the user
4930
+ */
4931
+ helperText?: string;
4932
+ /**
4933
+ * If `true`, the form field will be invalid
4934
+ */
4935
+ isInvalid?: boolean;
4936
+ /**
4937
+ * If `true`, the form field will be disabled
4938
+ */
4939
+ isDisabled?: boolean;
4940
+ /**
4941
+ * If `true` the form field will be required
4942
+ */
4943
+ isRequired?: boolean;
4944
+ }
4945
+ declare type OmittedProps = 'children' | 'readOnly' | 'size';
4946
+ declare type UseFormFieldProps<T extends FormFieldElement> = Omit<HTMLQdsProps<T>, OmittedProps> & FormFieldOptions;
4947
+ /**
4948
+ * Custom hook that returns props for a form field's label, inpu, helper text and error message.
4949
+ * Meant to be used in conjunction with the `Input`, `Select` or `Textarea` component.
4950
+ *
4951
+ * Used internally by `TextField`, `Select` and `Textarea`.
4952
+ */
4953
+ declare const useFormField: <T extends FormFieldElement>(props: UseFormFieldProps<T>) => {
4954
+ getLabelProps: PropGetter<"label">;
4955
+ /**
4956
+ * Props to be spread on the input, select or textarea element.
4957
+ * Function accepts an optional object of props to be merged with the returned props.
4958
+ */
4959
+ getFieldProps: PropGetter<T>;
4960
+ getHelperTextProps: PropGetter<"div">;
4961
+ getErrorMessageProps: PropGetter<"div">;
4962
+ };
4963
+
4964
+ /**
4965
+ * Returns a stable ID that is unique to the component instance.
4966
+ */
4967
+ declare function useStableId(fixedId?: string | null): string;
4968
+
4969
+ /**
4970
+ * On the server, React emits a warning when calling `useLayoutEffect`.
4971
+ * This is because neither `useLayoutEffect` nor `useEffect` run on the server.
4972
+ * We use this safe version which suppresses the warning by replacing it with a noop on the server.
4973
+ *
4974
+ * See: https://reactjs.org/docs/hooks-reference.html#uselayouteffect
4975
+ */
4976
+ declare const useSafeLayoutEffect: typeof useLayoutEffect;
4977
+
4978
+ export { ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, Avatar, AvatarProps, BellIcon, BellSlashIcon, Button, ButtonProps, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CreateIconOptions, Divider, DividerProps, EllipsisIcon, EllipsisVerticalIcon, ForwardRefComponent, GlobalStyles, Heading, HeadingProps, HeartFilledIcon, HeartIcon, IconButton, IconButtonProps, IconProps, Image, ImageIcon, ImageProps, InputBase, InputBaseOptions, InputBaseProps, IntrinsicElement, Label, LabelProps, Link, LinkProps, LoadingDots, LoadingDotsProps, LocationDotIcon, MapIcon, OwnProps, Paragraph, ParagraphProps, PlusIcon, PropsOf, QdsProvider, SearchIcon, Select, SelectBase, SelectBaseOptions, SelectOptionProps, SelectProps, SettingsIcon, Spacer, SpacerProps, Stack, StackProps, StarFilledIcon, StarIcon, TextField, TextFieldProps, Textarea, TextareaBase, TextareaBaseOptions, TextareaBaseProps, TextareaProps, Theme, ThemeOverrides, TrashIcon, UseBreakpointOptions, UseBreakpointValueProps, UseImageProps, UserIcon, VariantProps, XmarkIcon, createIcon, createStyle, createStyleVariants, getFormFieldBaseStyles, overrideTheme, pxToRem, theme, useBreakpoint, useBreakpointValue, useFormField, useImage, useSafeLayoutEffect, useStableId };