@react-spectrum/s2 3.0.0-nightly-ab9fd5c68-241126 → 3.0.0-nightly-b0f156972-241128

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 (364) hide show
  1. package/dist/Accordion.cjs +2 -5
  2. package/dist/Accordion.cjs.map +1 -1
  3. package/dist/Accordion.css.map +1 -1
  4. package/dist/Accordion.mjs +2 -5
  5. package/dist/Accordion.mjs.map +1 -1
  6. package/dist/ActionButton.cjs +2 -6
  7. package/dist/ActionButton.cjs.map +1 -1
  8. package/dist/ActionButton.css.map +1 -1
  9. package/dist/ActionButton.mjs +3 -7
  10. package/dist/ActionButton.mjs.map +1 -1
  11. package/dist/ActionButtonGroup.cjs +2 -5
  12. package/dist/ActionButtonGroup.cjs.map +1 -1
  13. package/dist/ActionButtonGroup.css.map +1 -1
  14. package/dist/ActionButtonGroup.mjs +2 -5
  15. package/dist/ActionButtonGroup.mjs.map +1 -1
  16. package/dist/ActionMenu.cjs +2 -5
  17. package/dist/ActionMenu.cjs.map +1 -1
  18. package/dist/ActionMenu.mjs +2 -5
  19. package/dist/ActionMenu.mjs.map +1 -1
  20. package/dist/AlertDialog.cjs +2 -5
  21. package/dist/AlertDialog.cjs.map +1 -1
  22. package/dist/AlertDialog.css.map +1 -1
  23. package/dist/AlertDialog.mjs +2 -5
  24. package/dist/AlertDialog.mjs.map +1 -1
  25. package/dist/Avatar.cjs +2 -5
  26. package/dist/Avatar.cjs.map +1 -1
  27. package/dist/Avatar.css.map +1 -1
  28. package/dist/Avatar.mjs +2 -5
  29. package/dist/Avatar.mjs.map +1 -1
  30. package/dist/AvatarGroup.cjs +2 -5
  31. package/dist/AvatarGroup.cjs.map +1 -1
  32. package/dist/AvatarGroup.css.map +1 -1
  33. package/dist/AvatarGroup.mjs +2 -5
  34. package/dist/AvatarGroup.mjs.map +1 -1
  35. package/dist/Badge.cjs +2 -5
  36. package/dist/Badge.cjs.map +1 -1
  37. package/dist/Badge.css.map +1 -1
  38. package/dist/Badge.mjs +2 -5
  39. package/dist/Badge.mjs.map +1 -1
  40. package/dist/Breadcrumbs.cjs +4 -6
  41. package/dist/Breadcrumbs.cjs.map +1 -1
  42. package/dist/Breadcrumbs.css.map +1 -1
  43. package/dist/Breadcrumbs.mjs +5 -7
  44. package/dist/Breadcrumbs.mjs.map +1 -1
  45. package/dist/Button.cjs +4 -12
  46. package/dist/Button.cjs.map +1 -1
  47. package/dist/Button.css.map +1 -1
  48. package/dist/Button.mjs +5 -13
  49. package/dist/Button.mjs.map +1 -1
  50. package/dist/ButtonGroup.cjs +2 -5
  51. package/dist/ButtonGroup.cjs.map +1 -1
  52. package/dist/ButtonGroup.css.map +1 -1
  53. package/dist/ButtonGroup.mjs +3 -6
  54. package/dist/ButtonGroup.mjs.map +1 -1
  55. package/dist/CardView.cjs +2 -3
  56. package/dist/CardView.cjs.map +1 -1
  57. package/dist/CardView.css.map +1 -1
  58. package/dist/CardView.mjs +3 -4
  59. package/dist/CardView.mjs.map +1 -1
  60. package/dist/Checkbox.cjs +2 -6
  61. package/dist/Checkbox.cjs.map +1 -1
  62. package/dist/Checkbox.css.map +1 -1
  63. package/dist/Checkbox.mjs +3 -7
  64. package/dist/Checkbox.mjs.map +1 -1
  65. package/dist/CheckboxGroup.cjs +2 -5
  66. package/dist/CheckboxGroup.cjs.map +1 -1
  67. package/dist/CheckboxGroup.css.map +1 -1
  68. package/dist/CheckboxGroup.mjs +3 -6
  69. package/dist/CheckboxGroup.mjs.map +1 -1
  70. package/dist/ClearButton.cjs +2 -3
  71. package/dist/ClearButton.cjs.map +1 -1
  72. package/dist/ClearButton.css.map +1 -1
  73. package/dist/ClearButton.mjs +2 -3
  74. package/dist/ClearButton.mjs.map +1 -1
  75. package/dist/CloseButton.cjs +2 -5
  76. package/dist/CloseButton.cjs.map +1 -1
  77. package/dist/CloseButton.css.map +1 -1
  78. package/dist/CloseButton.mjs +2 -5
  79. package/dist/CloseButton.mjs.map +1 -1
  80. package/dist/ColorArea.cjs +2 -5
  81. package/dist/ColorArea.cjs.map +1 -1
  82. package/dist/ColorArea.css.map +1 -1
  83. package/dist/ColorArea.mjs +2 -5
  84. package/dist/ColorArea.mjs.map +1 -1
  85. package/dist/ColorField.cjs +2 -5
  86. package/dist/ColorField.cjs.map +1 -1
  87. package/dist/ColorField.css.map +1 -1
  88. package/dist/ColorField.mjs +3 -6
  89. package/dist/ColorField.mjs.map +1 -1
  90. package/dist/ColorSlider.cjs +2 -5
  91. package/dist/ColorSlider.cjs.map +1 -1
  92. package/dist/ColorSlider.css.map +1 -1
  93. package/dist/ColorSlider.mjs +3 -6
  94. package/dist/ColorSlider.mjs.map +1 -1
  95. package/dist/ColorSwatch.cjs +2 -5
  96. package/dist/ColorSwatch.cjs.map +1 -1
  97. package/dist/ColorSwatch.css.map +1 -1
  98. package/dist/ColorSwatch.mjs +3 -6
  99. package/dist/ColorSwatch.mjs.map +1 -1
  100. package/dist/ColorSwatchPicker.cjs +2 -5
  101. package/dist/ColorSwatchPicker.cjs.map +1 -1
  102. package/dist/ColorSwatchPicker.css.map +1 -1
  103. package/dist/ColorSwatchPicker.mjs +2 -5
  104. package/dist/ColorSwatchPicker.mjs.map +1 -1
  105. package/dist/ColorWheel.cjs +2 -5
  106. package/dist/ColorWheel.cjs.map +1 -1
  107. package/dist/ColorWheel.css.map +1 -1
  108. package/dist/ColorWheel.mjs +2 -5
  109. package/dist/ColorWheel.mjs.map +1 -1
  110. package/dist/ComboBox.cjs +2 -5
  111. package/dist/ComboBox.cjs.map +1 -1
  112. package/dist/ComboBox.css.map +1 -1
  113. package/dist/ComboBox.mjs +3 -6
  114. package/dist/ComboBox.mjs.map +1 -1
  115. package/dist/Content.cjs +12 -19
  116. package/dist/Content.cjs.map +1 -1
  117. package/dist/Content.mjs +12 -19
  118. package/dist/Content.mjs.map +1 -1
  119. package/dist/ContextualHelp.cjs +2 -5
  120. package/dist/ContextualHelp.cjs.map +1 -1
  121. package/dist/ContextualHelp.css.map +1 -1
  122. package/dist/ContextualHelp.mjs +2 -5
  123. package/dist/ContextualHelp.mjs.map +1 -1
  124. package/dist/CustomDialog.cjs +2 -5
  125. package/dist/CustomDialog.cjs.map +1 -1
  126. package/dist/CustomDialog.css.map +1 -1
  127. package/dist/CustomDialog.mjs +2 -5
  128. package/dist/CustomDialog.mjs.map +1 -1
  129. package/dist/Dialog.cjs +2 -6
  130. package/dist/Dialog.cjs.map +1 -1
  131. package/dist/Dialog.css.map +1 -1
  132. package/dist/Dialog.mjs +2 -6
  133. package/dist/Dialog.mjs.map +1 -1
  134. package/dist/Disclosure.cjs +6 -15
  135. package/dist/Disclosure.cjs.map +1 -1
  136. package/dist/Disclosure.css.map +1 -1
  137. package/dist/Disclosure.mjs +7 -16
  138. package/dist/Disclosure.mjs.map +1 -1
  139. package/dist/Divider.cjs +2 -6
  140. package/dist/Divider.cjs.map +1 -1
  141. package/dist/Divider.css.map +1 -1
  142. package/dist/Divider.mjs +2 -6
  143. package/dist/Divider.mjs.map +1 -1
  144. package/dist/DropZone.cjs +2 -5
  145. package/dist/DropZone.cjs.map +1 -1
  146. package/dist/DropZone.css.map +1 -1
  147. package/dist/DropZone.mjs +2 -5
  148. package/dist/DropZone.mjs.map +1 -1
  149. package/dist/Field.cjs +6 -9
  150. package/dist/Field.cjs.map +1 -1
  151. package/dist/Field.css.map +1 -1
  152. package/dist/Field.mjs +6 -9
  153. package/dist/Field.mjs.map +1 -1
  154. package/dist/Form.cjs +2 -5
  155. package/dist/Form.cjs.map +1 -1
  156. package/dist/Form.css.map +1 -1
  157. package/dist/Form.mjs +2 -5
  158. package/dist/Form.mjs.map +1 -1
  159. package/dist/FullscreenDialog.cjs +2 -5
  160. package/dist/FullscreenDialog.cjs.map +1 -1
  161. package/dist/FullscreenDialog.css.map +1 -1
  162. package/dist/FullscreenDialog.mjs +2 -5
  163. package/dist/FullscreenDialog.mjs.map +1 -1
  164. package/dist/IllustratedMessage.cjs +2 -6
  165. package/dist/IllustratedMessage.cjs.map +1 -1
  166. package/dist/IllustratedMessage.css.map +1 -1
  167. package/dist/IllustratedMessage.mjs +2 -6
  168. package/dist/IllustratedMessage.mjs.map +1 -1
  169. package/dist/Image.cjs +2 -3
  170. package/dist/Image.cjs.map +1 -1
  171. package/dist/Image.css.map +1 -1
  172. package/dist/Image.mjs +3 -4
  173. package/dist/Image.mjs.map +1 -1
  174. package/dist/InlineAlert.cjs +2 -6
  175. package/dist/InlineAlert.cjs.map +1 -1
  176. package/dist/InlineAlert.css.map +1 -1
  177. package/dist/InlineAlert.mjs +3 -7
  178. package/dist/InlineAlert.mjs.map +1 -1
  179. package/dist/Link.cjs +2 -6
  180. package/dist/Link.cjs.map +1 -1
  181. package/dist/Link.css.map +1 -1
  182. package/dist/Link.mjs +3 -7
  183. package/dist/Link.mjs.map +1 -1
  184. package/dist/Menu.cjs +2 -5
  185. package/dist/Menu.cjs.map +1 -1
  186. package/dist/Menu.css.map +1 -1
  187. package/dist/Menu.mjs +3 -6
  188. package/dist/Menu.mjs.map +1 -1
  189. package/dist/Meter.cjs +2 -6
  190. package/dist/Meter.cjs.map +1 -1
  191. package/dist/Meter.css.map +1 -1
  192. package/dist/Meter.mjs +2 -6
  193. package/dist/Meter.mjs.map +1 -1
  194. package/dist/Modal.cjs +2 -5
  195. package/dist/Modal.cjs.map +1 -1
  196. package/dist/Modal.css.map +1 -1
  197. package/dist/Modal.mjs +3 -6
  198. package/dist/Modal.mjs.map +1 -1
  199. package/dist/NumberField.cjs +2 -5
  200. package/dist/NumberField.cjs.map +1 -1
  201. package/dist/NumberField.css.map +1 -1
  202. package/dist/NumberField.mjs +3 -6
  203. package/dist/NumberField.mjs.map +1 -1
  204. package/dist/Picker.cjs +2 -5
  205. package/dist/Picker.cjs.map +1 -1
  206. package/dist/Picker.css.map +1 -1
  207. package/dist/Picker.mjs +3 -6
  208. package/dist/Picker.mjs.map +1 -1
  209. package/dist/Popover.cjs +4 -8
  210. package/dist/Popover.cjs.map +1 -1
  211. package/dist/Popover.css.map +1 -1
  212. package/dist/Popover.mjs +5 -9
  213. package/dist/Popover.mjs.map +1 -1
  214. package/dist/ProgressBar.cjs +2 -6
  215. package/dist/ProgressBar.cjs.map +1 -1
  216. package/dist/ProgressBar.css.map +1 -1
  217. package/dist/ProgressBar.mjs +2 -6
  218. package/dist/ProgressBar.mjs.map +1 -1
  219. package/dist/ProgressCircle.cjs +2 -6
  220. package/dist/ProgressCircle.cjs.map +1 -1
  221. package/dist/ProgressCircle.css.map +1 -1
  222. package/dist/ProgressCircle.mjs +2 -6
  223. package/dist/ProgressCircle.mjs.map +1 -1
  224. package/dist/Radio.cjs +2 -6
  225. package/dist/Radio.cjs.map +1 -1
  226. package/dist/Radio.css.map +1 -1
  227. package/dist/Radio.mjs +3 -7
  228. package/dist/Radio.mjs.map +1 -1
  229. package/dist/RadioGroup.cjs +2 -6
  230. package/dist/RadioGroup.cjs.map +1 -1
  231. package/dist/RadioGroup.css.map +1 -1
  232. package/dist/RadioGroup.mjs +3 -7
  233. package/dist/RadioGroup.mjs.map +1 -1
  234. package/dist/RangeSlider.cjs +2 -3
  235. package/dist/RangeSlider.cjs.map +1 -1
  236. package/dist/RangeSlider.mjs +3 -4
  237. package/dist/RangeSlider.mjs.map +1 -1
  238. package/dist/SearchField.cjs +2 -5
  239. package/dist/SearchField.cjs.map +1 -1
  240. package/dist/SearchField.css.map +1 -1
  241. package/dist/SearchField.mjs +3 -6
  242. package/dist/SearchField.mjs.map +1 -1
  243. package/dist/SegmentedControl.cjs +5 -11
  244. package/dist/SegmentedControl.cjs.map +1 -1
  245. package/dist/SegmentedControl.css.map +1 -1
  246. package/dist/SegmentedControl.mjs +6 -12
  247. package/dist/SegmentedControl.mjs.map +1 -1
  248. package/dist/Slider.cjs +2 -3
  249. package/dist/Slider.cjs.map +1 -1
  250. package/dist/Slider.css.map +1 -1
  251. package/dist/Slider.mjs +3 -4
  252. package/dist/Slider.mjs.map +1 -1
  253. package/dist/StatusLight.cjs +2 -6
  254. package/dist/StatusLight.cjs.map +1 -1
  255. package/dist/StatusLight.css.map +1 -1
  256. package/dist/StatusLight.mjs +2 -6
  257. package/dist/StatusLight.mjs.map +1 -1
  258. package/dist/Switch.cjs +2 -6
  259. package/dist/Switch.cjs.map +1 -1
  260. package/dist/Switch.css.map +1 -1
  261. package/dist/Switch.mjs +3 -7
  262. package/dist/Switch.mjs.map +1 -1
  263. package/dist/TableView.cjs +9 -21
  264. package/dist/TableView.cjs.map +1 -1
  265. package/dist/TableView.css.map +1 -1
  266. package/dist/TableView.mjs +10 -22
  267. package/dist/TableView.mjs.map +1 -1
  268. package/dist/Tabs.cjs +2 -5
  269. package/dist/Tabs.cjs.map +1 -1
  270. package/dist/Tabs.css.map +1 -1
  271. package/dist/Tabs.mjs +2 -5
  272. package/dist/Tabs.mjs.map +1 -1
  273. package/dist/TagGroup.cjs +4 -6
  274. package/dist/TagGroup.cjs.map +1 -1
  275. package/dist/TagGroup.css.map +1 -1
  276. package/dist/TagGroup.mjs +4 -6
  277. package/dist/TagGroup.mjs.map +1 -1
  278. package/dist/TextField.cjs +8 -19
  279. package/dist/TextField.cjs.map +1 -1
  280. package/dist/TextField.css.map +1 -1
  281. package/dist/TextField.mjs +9 -20
  282. package/dist/TextField.mjs.map +1 -1
  283. package/dist/ToggleButton.cjs +2 -6
  284. package/dist/ToggleButton.cjs.map +1 -1
  285. package/dist/ToggleButton.css.map +1 -1
  286. package/dist/ToggleButton.mjs +2 -6
  287. package/dist/ToggleButton.mjs.map +1 -1
  288. package/dist/ToggleButtonGroup.cjs +2 -5
  289. package/dist/ToggleButtonGroup.cjs.map +1 -1
  290. package/dist/ToggleButtonGroup.mjs +2 -5
  291. package/dist/ToggleButtonGroup.mjs.map +1 -1
  292. package/dist/Tooltip.cjs +3 -6
  293. package/dist/Tooltip.cjs.map +1 -1
  294. package/dist/Tooltip.css.map +1 -1
  295. package/dist/Tooltip.mjs +4 -7
  296. package/dist/Tooltip.mjs.map +1 -1
  297. package/dist/types.d.ts +64 -64
  298. package/dist/types.d.ts.map +1 -1
  299. package/package.json +17 -17
  300. package/src/Accordion.tsx +5 -8
  301. package/src/ActionButton.tsx +6 -9
  302. package/src/ActionButtonGroup.tsx +5 -8
  303. package/src/ActionMenu.tsx +5 -8
  304. package/src/AlertDialog.tsx +5 -8
  305. package/src/Avatar.tsx +5 -8
  306. package/src/AvatarGroup.tsx +5 -8
  307. package/src/Badge.tsx +5 -8
  308. package/src/Breadcrumbs.tsx +6 -12
  309. package/src/Button.tsx +10 -16
  310. package/src/ButtonGroup.tsx +5 -8
  311. package/src/CardView.tsx +2 -5
  312. package/src/Checkbox.tsx +6 -9
  313. package/src/CheckboxGroup.tsx +5 -8
  314. package/src/ClearButton.tsx +2 -5
  315. package/src/CloseButton.tsx +5 -8
  316. package/src/ColorArea.tsx +5 -8
  317. package/src/ColorField.tsx +5 -8
  318. package/src/ColorSlider.tsx +5 -8
  319. package/src/ColorSwatch.tsx +5 -8
  320. package/src/ColorSwatchPicker.tsx +5 -8
  321. package/src/ColorWheel.tsx +5 -8
  322. package/src/ComboBox.tsx +5 -8
  323. package/src/Content.tsx +12 -30
  324. package/src/ContextualHelp.tsx +5 -8
  325. package/src/CustomDialog.tsx +5 -8
  326. package/src/Dialog.tsx +6 -9
  327. package/src/Disclosure.tsx +15 -24
  328. package/src/Divider.tsx +6 -9
  329. package/src/DropZone.tsx +5 -8
  330. package/src/Field.tsx +6 -15
  331. package/src/Form.tsx +5 -8
  332. package/src/FullscreenDialog.tsx +5 -8
  333. package/src/IllustratedMessage.tsx +6 -9
  334. package/src/Image.tsx +3 -6
  335. package/src/InlineAlert.tsx +6 -9
  336. package/src/Link.tsx +6 -9
  337. package/src/Menu.tsx +5 -8
  338. package/src/Meter.tsx +6 -9
  339. package/src/Modal.tsx +5 -8
  340. package/src/NumberField.tsx +5 -8
  341. package/src/Picker.tsx +5 -8
  342. package/src/Popover.tsx +9 -15
  343. package/src/ProgressBar.tsx +6 -9
  344. package/src/ProgressCircle.tsx +6 -9
  345. package/src/Radio.tsx +6 -9
  346. package/src/RadioGroup.tsx +6 -9
  347. package/src/RangeSlider.tsx +2 -5
  348. package/src/SearchField.tsx +5 -8
  349. package/src/SegmentedControl.tsx +10 -16
  350. package/src/Slider.tsx +2 -5
  351. package/src/StatusLight.tsx +6 -9
  352. package/src/Switch.tsx +6 -9
  353. package/src/TableView.tsx +20 -32
  354. package/src/Tabs.tsx +5 -8
  355. package/src/TagGroup.tsx +7 -14
  356. package/src/TextField.tsx +20 -28
  357. package/src/ToggleButton.tsx +6 -9
  358. package/src/ToggleButtonGroup.tsx +5 -8
  359. package/src/Tooltip.tsx +5 -9
  360. package/style/dist/style-macro.cjs +12 -0
  361. package/style/dist/style-macro.cjs.map +1 -1
  362. package/style/dist/style-macro.mjs +12 -0
  363. package/style/dist/style-macro.mjs.map +1 -1
  364. package/style/style-macro.ts +17 -1
package/dist/types.d.ts CHANGED
@@ -154,7 +154,7 @@ export const AvatarContext: Context<ContextValue<AvatarProps, DOMRefValue<HTMLIm
154
154
  /**
155
155
  * An avatar is a thumbnail representation of an entity, such as a user or an organization.
156
156
  */
157
- export let Avatar: ForwardRefExoticComponent<AvatarProps & RefAttributes<DOMRefValue<HTMLImageElement>>>;
157
+ export const Avatar: ForwardRefExoticComponent<AvatarProps & RefAttributes<DOMRefValue<HTMLImageElement>>>;
158
158
  export interface IconProps extends UnsafeStyles, SlotProps, AriaLabelingProps, DOMProps {
159
159
  'aria-hidden'?: boolean | 'false' | 'true';
160
160
  }
@@ -208,7 +208,7 @@ export interface FormProps extends FormStyleProps, Omit<_FormProps1, 'className'
208
208
  /**
209
209
  * Forms allow users to enter data that can be submitted while providing alignment and styling for form fields.
210
210
  */
211
- export let Form: ForwardRefExoticComponent<FormProps & RefAttributes<DOMRefValue<HTMLFormElement>>>;
211
+ export const Form: ForwardRefExoticComponent<FormProps & RefAttributes<DOMRefValue<HTMLFormElement>>>;
212
212
  interface ActionButtonStyleProps {
213
213
  /**
214
214
  * The size of the ActionButton.
@@ -230,7 +230,7 @@ export const ActionButtonContext: Context<ContextValue<ActionButtonProps, Focusa
230
230
  * ActionButtons allow users to perform an action.
231
231
  * They’re used for similar, task-based options within a workflow, and are ideal for interfaces where buttons aren’t meant to draw a lot of attention.
232
232
  */
233
- export let ActionButton: ForwardRefExoticComponent<ActionButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
233
+ export const ActionButton: ForwardRefExoticComponent<ActionButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
234
234
  export interface DisclosureProps extends Omit<_DisclosureProps1, 'className' | 'style' | 'children'>, StyleProps {
235
235
  /**
236
236
  * The size of the disclosure.
@@ -251,7 +251,7 @@ export const DisclosureContext: React.Context<ContextValue<Omit<DisclosureProps,
251
251
  /**
252
252
  * A disclosure is a collapsible section of content. It is composed of a a header with a heading and trigger button, and a panel that contains the content.
253
253
  */
254
- export let Disclosure: React.ForwardRefExoticComponent<DisclosureProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
254
+ export const Disclosure: React.ForwardRefExoticComponent<DisclosureProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
255
255
  interface DisclosureTitleProps extends UnsafeStyles, DOMProps {
256
256
  /** The heading level of the disclosure header.
257
257
  *
@@ -271,14 +271,14 @@ export const DisclosureHeader: (props: DisclosureHeaderProps & React.RefAttribut
271
271
  /**
272
272
  * A disclosure title consisting of a heading and a trigger button to expand/collapse the panel.
273
273
  */
274
- export let DisclosureTitle: React.ForwardRefExoticComponent<DisclosureTitleProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
274
+ export const DisclosureTitle: React.ForwardRefExoticComponent<DisclosureTitleProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
275
275
  export interface DisclosurePanelProps extends Omit<_DisclosurePanelProps1, 'className' | 'style' | 'children'>, UnsafeStyles, DOMProps, AriaLabelingProps {
276
276
  children: React.ReactNode;
277
277
  }
278
278
  /**
279
279
  * A disclosure panel is a collapsible section of content that is hidden until the disclosure is expanded.
280
280
  */
281
- export let DisclosurePanel: React.ForwardRefExoticComponent<DisclosurePanelProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
281
+ export const DisclosurePanel: React.ForwardRefExoticComponent<DisclosurePanelProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
282
282
  export interface AccordionProps extends Omit<DisclosureGroupProps, 'className' | 'style' | 'children'>, UnsafeStyles, DOMProps, SlotProps {
283
283
  /** The disclosure elements in the accordion. */
284
284
  children: React.ReactNode;
@@ -301,7 +301,7 @@ export const AccordionContext: React.Context<ContextValue<AccordionProps, DOMRef
301
301
  /**
302
302
  * An accordion is a container for multiple disclosures.
303
303
  */
304
- export let Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
304
+ export const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
305
305
  interface CheckboxStyleProps {
306
306
  /**
307
307
  * The size of the Checkbox.
@@ -321,7 +321,7 @@ export const CheckboxContext: Context<ContextValue<CheckboxProps, FocusableRefVa
321
321
  * Checkboxes allow users to select multiple items from a list of individual items,
322
322
  * or to mark one individual item as selected.
323
323
  */
324
- export let Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
324
+ export const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
325
325
  interface DividerSpectrumProps {
326
326
  /**
327
327
  * How thick the Divider should be.
@@ -343,7 +343,7 @@ export const DividerContext: Context<ContextValue<DividerProps, DOMRefValue<HTML
343
343
  * Dividers bring clarity to a layout by grouping and dividing content in close proximity.
344
344
  * They can also be used to establish rhythm and hierarchy.
345
345
  */
346
- export let Divider: ForwardRefExoticComponent<DividerProps & RefAttributes<DOMRefValue<HTMLElement>>>;
346
+ export const Divider: ForwardRefExoticComponent<DividerProps & RefAttributes<DOMRefValue<HTMLElement>>>;
347
347
  export interface ProviderProps extends UnsafeStyles {
348
348
  /** The content of the Provider. */
349
349
  children: ReactNode;
@@ -391,7 +391,7 @@ interface PopoverDialogProps extends Pick<PopoverProps, 'size' | 'hideArrow' | '
391
391
  /**
392
392
  * A popover is an overlay element positioned relative to a trigger.
393
393
  */
394
- export let Popover: ForwardRefExoticComponent<PopoverDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
394
+ export const Popover: ForwardRefExoticComponent<PopoverDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
395
395
  export interface MenuTriggerProps extends _MenuTriggerProps1 {
396
396
  /**
397
397
  * Alignment of the menu relative to the trigger.
@@ -428,7 +428,7 @@ export const MenuContext: Context<ContextValue<MenuProps<any>, DOMRefValue<HTMLD
428
428
  /**
429
429
  * Menus display a list of actions or options that a user can choose.
430
430
  */
431
- export let Menu: <T extends object>(props: MenuProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
431
+ export const Menu: <T extends object>(props: MenuProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
432
432
  export interface MenuSectionProps<T extends object> extends _MenuSectionProps1<T> {
433
433
  }
434
434
  export function MenuSection<T extends object>(props: MenuSectionProps<T>): JSX.Element;
@@ -454,7 +454,7 @@ export const ActionMenuContext: Context<ContextValue<ActionMenuProps<any>, Focus
454
454
  /**
455
455
  * ActionMenu combines an ActionButton with a Menu for simple "more actions" use cases.
456
456
  */
457
- export let ActionMenu: <T extends object>(props: ActionMenuProps<T> & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => ReactElement | null;
457
+ export const ActionMenu: <T extends object>(props: ActionMenuProps<T> & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => ReactElement | null;
458
458
  interface ProgressCircleStyleProps {
459
459
  /**
460
460
  * The size of the ProgressCircle.
@@ -478,7 +478,7 @@ export interface ProgressCircleProps extends Omit<_ProgressBarProps1, 'children'
478
478
  * ProgressCircles show the progression of a system operation such as downloading, uploading, or processing, in a visual way.
479
479
  * They can represent determinate or indeterminate progress.
480
480
  */
481
- export let ProgressCircle: ForwardRefExoticComponent<ProgressCircleProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
481
+ export const ProgressCircle: ForwardRefExoticComponent<ProgressCircleProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
482
482
  interface ButtonStyleProps {
483
483
  /**
484
484
  * The [visual style](https://spectrum.adobe.com/page/button/#Options) of the button.
@@ -516,11 +516,11 @@ export const LinkButtonContext: Context<ContextValue<ButtonProps, FocusableRefVa
516
516
  * They have multiple styles for various needs, and are ideal for calling attention to
517
517
  * where a user needs to do something in order to move forward in a flow.
518
518
  */
519
- export let Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
519
+ export const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
520
520
  /**
521
521
  * A LinkButton combines the functionality of a link with the appearance of a button. Useful for allowing users to navigate to another page.
522
522
  */
523
- export let LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
523
+ export const LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
524
524
  interface ButtonGroupStyleProps {
525
525
  /**
526
526
  * The axis the ButtonGroup should align with. Setting this to 'vertical' will prevent
@@ -570,7 +570,7 @@ export interface CloseButtonProps extends Pick<_ButtonProps1, 'isDisabled'>, Sty
570
570
  /**
571
571
  * A CloseButton allows a user to dismiss a dialog.
572
572
  */
573
- export let CloseButton: ForwardRefExoticComponent<CloseButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
573
+ export const CloseButton: ForwardRefExoticComponent<CloseButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
574
574
  export interface DialogProps extends Omit<_DialogProps1, 'className' | 'style'>, StyleProps {
575
575
  /**
576
576
  * Whether the Dialog is dismissible.
@@ -589,7 +589,7 @@ export interface DialogProps extends Omit<_DialogProps1, 'className' | 'style'>,
589
589
  * Dialogs are windows containing contextual information, tasks, or workflows that appear over the user interface.
590
590
  * Depending on the kind of Dialog, further interactions may be blocked until the Dialog is acknowledged.
591
591
  */
592
- export let Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
592
+ export const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
593
593
  export interface AlertDialogProps extends DOMProps, UnsafeStyles {
594
594
  /** The [visual style](https://spectrum.adobe.com/page/alert-dialog/#Options) of the AlertDialog. */
595
595
  variant?: 'confirmation' | 'information' | 'destructive' | 'error' | 'warning';
@@ -625,7 +625,7 @@ export interface AlertDialogProps extends DOMProps, UnsafeStyles {
625
625
  /**
626
626
  * AlertDialogs are a specific type of Dialog. They display important information that users need to acknowledge.
627
627
  */
628
- export let AlertDialog: ForwardRefExoticComponent<AlertDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
628
+ export const AlertDialog: ForwardRefExoticComponent<AlertDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
629
629
  export interface AvatarGroupProps extends UnsafeStyles, DOMProps, AriaLabelingProps, SlotProps {
630
630
  /** Avatar children of the avatar group. */
631
631
  children: ReactNode;
@@ -643,7 +643,7 @@ export const AvatarGroupContext: Context<ContextValue<AvatarGroupProps, DOMRefVa
643
643
  /**
644
644
  * An avatar group is a grouping of avatars that are related to each other.
645
645
  */
646
- export let AvatarGroup: ForwardRefExoticComponent<AvatarGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
646
+ export const AvatarGroup: ForwardRefExoticComponent<AvatarGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
647
647
  interface BadgeStyleProps {
648
648
  /**
649
649
  * The size of the badge.
@@ -673,7 +673,7 @@ export const BadgeContext: React.Context<ContextValue<Partial<BadgeProps>, DOMRe
673
673
  /**
674
674
  * Badges are used for showing a small amount of color-categorized metadata, ideal for getting a user's attention.
675
675
  */
676
- export let Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
676
+ export const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
677
677
  interface BreadcrumbsStyleProps {
678
678
  /**
679
679
  * Size of the Breadcrumbs including spacing and layout.
@@ -690,13 +690,13 @@ export interface BreadcrumbsProps<T> extends Omit<_BreadcrumbsProps1<T>, 'childr
690
690
  }
691
691
  export const BreadcrumbsContext: Context<ContextValue<BreadcrumbsProps<any>, DOMRefValue<HTMLOListElement>>>;
692
692
  /** Breadcrumbs show hierarchy and navigational context for a user’s location within an application. */
693
- export let Breadcrumbs: <T extends object>(props: BreadcrumbsProps<T> & RefAttributes<DOMRefValue<HTMLOListElement>>) => ReactElement | null;
693
+ export const Breadcrumbs: <T extends object>(props: BreadcrumbsProps<T> & RefAttributes<DOMRefValue<HTMLOListElement>>) => ReactElement | null;
694
694
  export interface BreadcrumbProps extends Omit<AriaBreadcrumbItemProps, 'children' | 'style' | 'className' | 'autoFocus'>, LinkDOMProps {
695
695
  /** The children of the breadcrumb item. */
696
696
  children?: ReactNode;
697
697
  }
698
698
  /** An individual Breadcrumb for Breadcrumbs. */
699
- export let Breadcrumb: (props: BreadcrumbProps & RefAttributes<DOMRefValue<HTMLLIElement>>) => ReactElement | null;
699
+ export const Breadcrumb: (props: BreadcrumbProps & RefAttributes<DOMRefValue<HTMLLIElement>>) => ReactElement | null;
700
700
  interface CardRenderProps {
701
701
  /** The size of the Card. */
702
702
  size: 'XS' | 'S' | 'M' | 'L' | 'XL';
@@ -803,7 +803,7 @@ export const ContextualHelpContext: Context<ContextValue<ContextualHelpProps, Fo
803
803
  /**
804
804
  * Contextual help shows a user extra information about the state of an adjacent component, or a total view.
805
805
  */
806
- export let ContextualHelp: ForwardRefExoticComponent<ContextualHelpProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
806
+ export const ContextualHelp: ForwardRefExoticComponent<ContextualHelpProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
807
807
  export interface CheckboxGroupProps extends Omit<_CheckboxGroupProps1, 'className' | 'style' | 'children'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
808
808
  /**
809
809
  * The size of the Checkboxes in the CheckboxGroup.
@@ -831,14 +831,14 @@ export const CheckboxGroupContext: Context<ContextValue<CheckboxGroupProps, DOMR
831
831
  /**
832
832
  * A CheckboxGroup allows users to select one or more items from a list of choices.
833
833
  */
834
- export let CheckboxGroup: ForwardRefExoticComponent<CheckboxGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
834
+ export const CheckboxGroup: ForwardRefExoticComponent<CheckboxGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
835
835
  export interface ColorAreaProps extends Omit<_ColorAreaProps1, 'children' | 'className' | 'style'>, StyleProps {
836
836
  }
837
837
  export const ColorAreaContext: Context<ContextValue<ColorAreaProps, DOMRefValue<HTMLDivElement>>>;
838
838
  /**
839
839
  * A ColorArea allows users to adjust two channels of an RGB, HSL or HSB color value against a two-dimensional gradient background.
840
840
  */
841
- export let ColorArea: ForwardRefExoticComponent<ColorAreaProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
841
+ export const ColorArea: ForwardRefExoticComponent<ColorAreaProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
842
842
  export interface ColorFieldProps extends Omit<_ColorFieldProps1, 'children' | 'className' | 'style'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
843
843
  /**
844
844
  * The size of the color field.
@@ -859,7 +859,7 @@ export const ColorSliderContext: Context<ContextValue<ColorSliderProps, DOMRefVa
859
859
  /**
860
860
  * A ColorSlider allows users to adjust an individual channel of a color value.
861
861
  */
862
- export let ColorSlider: ForwardRefExoticComponent<ColorSliderProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
862
+ export const ColorSlider: ForwardRefExoticComponent<ColorSliderProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
863
863
  export interface ColorSwatchProps extends Omit<_ColorSwatchProps1, 'className' | 'style'>, UnsafeStyles {
864
864
  /**
865
865
  * The size of the ColorSwatch.
@@ -878,7 +878,7 @@ export const ColorSwatchContext: Context<ContextValue<ColorSwatchProps, DOMRefVa
878
878
  /**
879
879
  * A ColorSwatch displays a preview of a selected color.
880
880
  */
881
- export let ColorSwatch: ForwardRefExoticComponent<ColorSwatchProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
881
+ export const ColorSwatch: ForwardRefExoticComponent<ColorSwatchProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
882
882
  export interface ColorSwatchPickerProps extends ValueBase<string | Color, Color>, StyleProps, SlotProps {
883
883
  /** The ColorSwatches within the ColorSwatchPicker. */
884
884
  children: ReactNode;
@@ -902,7 +902,7 @@ export const ColorSwatchPickerContext: Context<ContextValue<Partial<ColorSwatchP
902
902
  /**
903
903
  * A ColorSwatchPicker displays a list of color swatches and allows a user to select one of them.
904
904
  */
905
- export let ColorSwatchPicker: ForwardRefExoticComponent<ColorSwatchPickerProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
905
+ export const ColorSwatchPicker: ForwardRefExoticComponent<ColorSwatchPickerProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
906
906
  export interface ColorWheelProps extends Omit<_ColorWheelProps1, 'children' | 'className' | 'style' | 'outerRadius' | 'innerRadius'>, StyleProps {
907
907
  /**
908
908
  * @default 192
@@ -913,7 +913,7 @@ export const ColorWheelContext: Context<ContextValue<ColorWheelProps, DOMRefValu
913
913
  /**
914
914
  * A ColorWheel allows users to adjust the hue of an HSL or HSB color value on a circular track.
915
915
  */
916
- export let ColorWheel: ForwardRefExoticComponent<ColorWheelProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
916
+ export const ColorWheel: ForwardRefExoticComponent<ColorWheelProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
917
917
  interface PickerStyleProps {
918
918
  /**
919
919
  * The size of the Picker.
@@ -949,7 +949,7 @@ export const PickerContext: React.Context<ContextValue<Partial<PickerProps<any>>
949
949
  /**
950
950
  * Pickers allow users to choose a single option from a collapsible list of options when space is limited.
951
951
  */
952
- export let Picker: <T extends object>(props: PickerProps<T> & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => React.ReactElement | null;
952
+ export const Picker: <T extends object>(props: PickerProps<T> & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => React.ReactElement | null;
953
953
  export interface PickerItemProps extends Omit<ListBoxItemProps, 'children' | 'style' | 'className'>, StyleProps {
954
954
  children: ReactNode;
955
955
  }
@@ -987,7 +987,7 @@ export const ComboBoxContext: Context<ContextValue<Partial<ComboBoxProps<any>>,
987
987
  /**
988
988
  * ComboBox allow users to choose a single option from a collapsible list of options when space is limited.
989
989
  */
990
- export let ComboBox: <T extends object>(props: ComboBoxProps<T> & RefAttributes<TextFieldRef<HTMLInputElement>>) => ReactElement | null;
990
+ export const ComboBox: <T extends object>(props: ComboBoxProps<T> & RefAttributes<TextFieldRef<HTMLInputElement>>) => ReactElement | null;
991
991
  export interface ComboBoxItemProps extends Omit<ListBoxItemProps, 'children' | 'style' | 'className'>, StyleProps {
992
992
  children: ReactNode;
993
993
  }
@@ -1015,7 +1015,7 @@ export interface CustomDialogProps extends Omit<_DialogProps1, 'className' | 'st
1015
1015
  /**
1016
1016
  * A CustomDialog is a floating window with a custom layout.
1017
1017
  */
1018
- export let CustomDialog: ForwardRefExoticComponent<CustomDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
1018
+ export const CustomDialog: ForwardRefExoticComponent<CustomDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
1019
1019
  export interface FullscreenDialogProps extends Omit<_DialogProps1, 'className' | 'style'>, StyleProps {
1020
1020
  /**
1021
1021
  * The variant of fullscreen dialog to display.
@@ -1028,7 +1028,7 @@ export interface FullscreenDialogProps extends Omit<_DialogProps1, 'className' |
1028
1028
  /**
1029
1029
  * Takeover dialogs are large types of dialogs. They use the totality of the screen and should be used for modal experiences with complex workflows.
1030
1030
  */
1031
- export let FullscreenDialog: ForwardRefExoticComponent<FullscreenDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
1031
+ export const FullscreenDialog: ForwardRefExoticComponent<FullscreenDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
1032
1032
  export interface DialogContainerProps extends Omit<SpectrumDialogContainerProps, 'type' | 'isDismissable' | 'isKeyboardDismissDisabled'> {
1033
1033
  }
1034
1034
  /**
@@ -1073,7 +1073,7 @@ export const IllustratedMessageContext: Context<ContextValue<IllustratedMessageC
1073
1073
  * An IllustratedMessage displays an illustration and a message, usually
1074
1074
  * for an empty state or an error page.
1075
1075
  */
1076
- export let IllustratedMessage: ForwardRefExoticComponent<S2SpectrumIllustratedMessageProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1076
+ export const IllustratedMessage: ForwardRefExoticComponent<S2SpectrumIllustratedMessageProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1077
1077
  export interface DropZoneProps extends Omit<_DropZoneProps1, 'className' | 'style' | 'children' | 'isDisabled' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange'>, UnsafeStyles, DOMProps {
1078
1078
  /** Spectrum-defined styles, returned by the `style()` macro. */
1079
1079
  styles?: StylesPropWithHeight;
@@ -1094,7 +1094,7 @@ export const DropZoneContext: Context<ContextValue<DropZoneProps, DOMRefValue<HT
1094
1094
  /**
1095
1095
  * A drop zone is an area into which one or multiple objects can be dragged and dropped.
1096
1096
  */
1097
- export let DropZone: ForwardRefExoticComponent<DropZoneProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1097
+ export const DropZone: ForwardRefExoticComponent<DropZoneProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1098
1098
  export interface InlineAlertProps extends DOMProps, StyleProps, InlineStylesProps, SlotProps {
1099
1099
  /**
1100
1100
  * The contents of the Inline Alert.
@@ -1175,7 +1175,7 @@ export const MeterContext: Context<ContextValue<MeterProps, DOMRefValue<HTMLDivE
1175
1175
  * Meters are visual representations of a quantity or an achievement.
1176
1176
  * Their progress is determined by user actions, rather than system actions.
1177
1177
  */
1178
- export let Meter: ForwardRefExoticComponent<MeterProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1178
+ export const Meter: ForwardRefExoticComponent<MeterProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1179
1179
  interface NumberFieldProps extends Omit<_NumberFieldProps1, 'children' | 'className' | 'style'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
1180
1180
  /**
1181
1181
  * Whether to hide the increment and decrement buttons.
@@ -1193,7 +1193,7 @@ export const NumberFieldContext: Context<ContextValue<NumberFieldProps, TextFiel
1193
1193
  /**
1194
1194
  * NumberFields allow users to input number values with a keyboard or increment/decrement with step buttons.
1195
1195
  */
1196
- export let NumberField: ForwardRefExoticComponent<NumberFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1196
+ export const NumberField: ForwardRefExoticComponent<NumberFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1197
1197
  interface ProgressBarStyleProps {
1198
1198
  /**
1199
1199
  * The size of the ProgressBar.
@@ -1235,7 +1235,7 @@ export interface RadioProps extends Omit<_RadioProps1, 'className' | 'style' | '
1235
1235
  * Radio buttons allow users to select a single option from a list of mutually exclusive options.
1236
1236
  * All possible options are exposed up front for users to compare.
1237
1237
  */
1238
- export let Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1238
+ export const Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1239
1239
  export interface RadioGroupProps extends Omit<_RadioGroupProps1, 'className' | 'style' | 'children'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
1240
1240
  /**
1241
1241
  * The Radios contained within the RadioGroup.
@@ -1263,7 +1263,7 @@ export const RadioGroupContext: React.Context<ContextValue<RadioGroupProps, DOMR
1263
1263
  * Radio groups allow users to select a single option from a list of mutually exclusive options.
1264
1264
  * All possible options are exposed up front for users to compare.
1265
1265
  */
1266
- export let RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
1266
+ export const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
1267
1267
  interface SliderBaseProps<T> extends Omit<_SliderProps1<T>, 'children' | 'style' | 'className' | 'orientation'>, Omit<SpectrumLabelableProps, 'necessityIndicator' | 'isRequired'>, StyleProps {
1268
1268
  children?: ReactNode;
1269
1269
  /**
@@ -1296,7 +1296,7 @@ export interface SliderProps extends Omit<SliderBaseProps<number>, 'children'>,
1296
1296
  fillOffset?: number;
1297
1297
  }
1298
1298
  export const SliderContext: Context<ContextValue<SliderProps, FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1299
- export let Slider: ForwardRefExoticComponent<SliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1299
+ export const Slider: ForwardRefExoticComponent<SliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1300
1300
  export interface RangeSliderProps extends Omit<SliderBaseProps<RangeValue<number>>, 'children'> {
1301
1301
  /**
1302
1302
  * The name of the start input element, used when submitting an HTML form. See [MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#htmlattrdefname).
@@ -1308,7 +1308,7 @@ export interface RangeSliderProps extends Omit<SliderBaseProps<RangeValue<number
1308
1308
  endName?: string;
1309
1309
  }
1310
1310
  export const RangeSliderContext: Context<ContextValue<RangeSliderProps, FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1311
- export let RangeSlider: ForwardRefExoticComponent<RangeSliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1311
+ export const RangeSlider: ForwardRefExoticComponent<RangeSliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1312
1312
  export interface SearchFieldProps extends Omit<_SearchFieldProps1, 'className' | 'style' | 'children'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
1313
1313
  /**
1314
1314
  * The size of the SearchField.
@@ -1321,7 +1321,7 @@ export const SearchFieldContext: Context<ContextValue<SearchFieldProps, TextFiel
1321
1321
  /**
1322
1322
  * A SearchField is a text field designed for searches.
1323
1323
  */
1324
- export let SearchField: ForwardRefExoticComponent<SearchFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1324
+ export const SearchField: ForwardRefExoticComponent<SearchFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1325
1325
  export interface SegmentedControlProps extends AriaLabelingProps, StyleProps, SlotProps {
1326
1326
  /**
1327
1327
  * The content to display in the segmented control.
@@ -1351,14 +1351,14 @@ export interface SegmentedControlItemProps extends AriaLabelingProps, StyleProps
1351
1351
  isDisabled?: boolean;
1352
1352
  }
1353
1353
  export const SegmentedControlContext: Context<ContextValue<SegmentedControlProps, DOMRefValue<HTMLDivElement>>>;
1354
- /**
1355
- * A SegmentedControlItem represents an option within a SegmentedControl.
1356
- */
1357
- export const SegmentedControlItem: ForwardRefExoticComponent<SegmentedControlItemProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1358
1354
  /**
1359
1355
  * A SegmentedControl is a mutually exclusive group of buttons used for view switching.
1360
1356
  */
1361
1357
  export const SegmentedControl: ForwardRefExoticComponent<SegmentedControlProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1358
+ /**
1359
+ * A SegmentedControlItem represents an option within a SegmentedControl.
1360
+ */
1361
+ export const SegmentedControlItem: ForwardRefExoticComponent<SegmentedControlItemProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1362
1362
  export interface SkeletonCollectionProps {
1363
1363
  children: () => ReactNode;
1364
1364
  }
@@ -1396,7 +1396,7 @@ export const StatusLightContext: Context<ContextValue<StatusLightProps, DOMRefVa
1396
1396
  * Status lights are used to color code categories and labels commonly found in data visualization.
1397
1397
  * When status lights have a semantic meaning, they should use semantic variant colors.
1398
1398
  */
1399
- export let StatusLight: ForwardRefExoticComponent<StatusLightProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1399
+ export const StatusLight: ForwardRefExoticComponent<StatusLightProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1400
1400
  interface SwitchStyleProps {
1401
1401
  /**
1402
1402
  * The size of the Switch.
@@ -1417,7 +1417,7 @@ export const SwitchContext: Context<ContextValue<SwitchProps, FocusableRefValue<
1417
1417
  * Switches allow users to turn an individual option on or off.
1418
1418
  * They are usually used to activate or deactivate a specific setting.
1419
1419
  */
1420
- export let Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1420
+ export const Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1421
1421
  interface S2TableProps {
1422
1422
  /** Whether the Table should be displayed with a quiet style. */
1423
1423
  isQuiet?: boolean;
@@ -1458,12 +1458,16 @@ export interface TableViewProps extends Omit<TableProps, 'style' | 'disabledBeha
1458
1458
  styles?: StylesPropWithHeight;
1459
1459
  }
1460
1460
  export const TableContext: React.Context<ContextValue<TableViewProps, DOMRefValue<HTMLDivElement>>>;
1461
+ /**
1462
+ * Tables are containers for displaying information. They allow users to quickly scan, sort, compare, and take action on large amounts of data.
1463
+ */
1464
+ export const TableView: React.ForwardRefExoticComponent<TableViewProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
1461
1465
  export interface TableBodyProps<T> extends Omit<_TableBodyProps1<T>, 'style' | 'className' | 'dependencies'> {
1462
1466
  }
1463
1467
  /**
1464
1468
  * The body of a `<Table>`, containing the table rows.
1465
1469
  */
1466
- export let TableBody: <T extends object>(props: TableBodyProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1470
+ export const TableBody: <T extends object>(props: TableBodyProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1467
1471
  export interface ColumnProps extends _ColumnProps1 {
1468
1472
  /** Whether the column should render a divider between it and the next column. */
1469
1473
  showDivider?: boolean;
@@ -1486,7 +1490,7 @@ export interface TableHeaderProps<T> extends Omit<_TableHeaderProps1<T>, 'style'
1486
1490
  /**
1487
1491
  * A header within a `<Table>`, containing the table columns.
1488
1492
  */
1489
- export let TableHeader: <T extends object>(props: TableHeaderProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1493
+ export const TableHeader: <T extends object>(props: TableHeaderProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1490
1494
  export interface CellProps extends _CellProps1, Pick<ColumnProps, 'align' | 'showDivider'> {
1491
1495
  /** @private */
1492
1496
  isSticky?: boolean;
@@ -1502,11 +1506,7 @@ export interface RowProps<T> extends Pick<_RowProps1<T>, 'id' | 'columns' | 'chi
1502
1506
  /**
1503
1507
  * A row within a `<Table>`.
1504
1508
  */
1505
- export let Row: <T extends object>(props: RowProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1506
- /**
1507
- * Tables are containers for displaying information. They allow users to quickly scan, sort, compare, and take action on large amounts of data.
1508
- */
1509
- export const TableView: React.ForwardRefExoticComponent<TableViewProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
1509
+ export const Row: <T extends object>(props: RowProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1510
1510
  export interface TabsProps extends Omit<_TabsProps1, 'className' | 'style' | 'children'>, UnsafeStyles {
1511
1511
  /** Spectrum-defined styles, returned by the `style()` macro. */
1512
1512
  styles?: StylesPropWithHeight;
@@ -1570,9 +1570,9 @@ export interface TagGroupProps<T> extends Omit<_TagGroupProps1, 'children' | 'st
1570
1570
  }
1571
1571
  export const TagGroupContext: Context<ContextValue<TagGroupProps<any>, DOMRefValue<HTMLDivElement>>>;
1572
1572
  /** Tags allow users to categorize content. They can represent keywords or people, and are grouped to describe an item or a search request. */
1573
- export let TagGroup: <T extends object>(props: TagGroupProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
1573
+ export const TagGroup: <T extends object>(props: TagGroupProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
1574
1574
  /** An individual Tag for TagGroups. */
1575
- export let Tag: (props: TagProps & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
1575
+ export const Tag: (props: TagProps & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
1576
1576
  export interface TextFieldProps extends Omit<_TextFieldProps1, 'children' | 'className' | 'style'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
1577
1577
  /**
1578
1578
  * The size of the text field.
@@ -1587,7 +1587,7 @@ export const TextFieldContext: Context<ContextValue<TextFieldProps, TextFieldRef
1587
1587
  * with a keyboard. Various decorations can be displayed around the field to
1588
1588
  * communicate the entry requirements.
1589
1589
  */
1590
- export let TextField: ForwardRefExoticComponent<TextFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1590
+ export const TextField: ForwardRefExoticComponent<TextFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1591
1591
  export interface TextAreaProps extends Omit<TextFieldProps, 'type' | 'pattern'> {
1592
1592
  }
1593
1593
  export const TextAreaContext: Context<ContextValue<TextAreaProps, TextFieldRef<HTMLTextAreaElement>>>;
@@ -1596,7 +1596,7 @@ export const TextAreaContext: Context<ContextValue<TextAreaProps, TextFieldRef<H
1596
1596
  * a sizable amount of text to enter. They allow for all customizations that
1597
1597
  * are available to text fields.
1598
1598
  */
1599
- export let TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<TextFieldRef<HTMLTextAreaElement>>>;
1599
+ export const TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<TextFieldRef<HTMLTextAreaElement>>>;
1600
1600
  export interface ToggleButtonGroupProps extends ActionButtonGroupProps, Omit<_ToggleButtonGroupProps1, 'children' | 'style' | 'className'> {
1601
1601
  /** Whether the button should be displayed with an [emphasized style](https://spectrum.adobe.com/page/action-button/#Emphasis). */
1602
1602
  isEmphasized?: boolean;
@@ -1617,7 +1617,7 @@ export const ToggleButtonContext: Context<ContextValue<ToggleButtonProps, Focusa
1617
1617
  * ToggleButtons allow users to toggle a selection on or off, for example
1618
1618
  * switching between two states or modes.
1619
1619
  */
1620
- export let ToggleButton: ForwardRefExoticComponent<ToggleButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1620
+ export const ToggleButton: ForwardRefExoticComponent<ToggleButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1621
1621
  interface TooltipTriggerProps extends Omit<TooltipTriggerComponentProps, 'children' | 'closeDelay'>, Pick<_TooltipProps1, 'shouldFlip' | 'containerPadding' | 'offset' | 'crossOffset'> {
1622
1622
  /** The content of the tooltip. */
1623
1623
  children?: ReactNode;
@@ -1632,16 +1632,16 @@ export interface TooltipProps extends Omit<_TooltipProps1, 'children' | 'classNa
1632
1632
  /** The content of the tooltip. */
1633
1633
  children?: ReactNode;
1634
1634
  }
1635
+ /**
1636
+ * Display container for Tooltip content. Has a directional arrow dependent on its placement.
1637
+ */
1638
+ export const Tooltip: ForwardRefExoticComponent<TooltipProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1635
1639
  /**
1636
1640
  * TooltipTrigger wraps around a trigger element and a Tooltip. It handles opening and closing
1637
1641
  * the Tooltip when the user hovers over or focuses the trigger, and positioning the Tooltip
1638
1642
  * relative to the trigger.
1639
1643
  */
1640
1644
  export function TooltipTrigger(props: TooltipTriggerProps): JSX.Element;
1641
- /**
1642
- * Display container for Tooltip content. Has a directional arrow dependent on its placement.
1643
- */
1644
- export let Tooltip: ForwardRefExoticComponent<TooltipProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1645
1645
  export { Collection } from 'react-aria-components';
1646
1646
  export { FileTrigger } from 'react-aria-components';
1647
1647
  export type { FileTriggerProps, TooltipTriggerComponentProps as TooltipTriggerProps } from 'react-aria-components';