@react-spectrum/s2 0.5.0 → 0.7.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 (1009) hide show
  1. package/dist/Accordion.cjs +5 -8
  2. package/dist/Accordion.cjs.map +1 -1
  3. package/dist/Accordion.css +3 -7
  4. package/dist/Accordion.css.map +1 -1
  5. package/dist/Accordion.mjs +5 -8
  6. package/dist/Accordion.mjs.map +1 -1
  7. package/dist/ActionBar.cjs +264 -0
  8. package/dist/ActionBar.cjs.map +1 -0
  9. package/dist/ActionBar.css +261 -0
  10. package/dist/ActionBar.css.map +1 -0
  11. package/dist/ActionBar.mjs +257 -0
  12. package/dist/ActionBar.mjs.map +1 -0
  13. package/dist/ActionButton.cjs +121 -147
  14. package/dist/ActionButton.cjs.map +1 -1
  15. package/dist/ActionButton.css +133 -159
  16. package/dist/ActionButton.css.map +1 -1
  17. package/dist/ActionButton.mjs +122 -148
  18. package/dist/ActionButton.mjs.map +1 -1
  19. package/dist/ActionButtonGroup.cjs +6 -9
  20. package/dist/ActionButtonGroup.cjs.map +1 -1
  21. package/dist/ActionButtonGroup.css +4 -8
  22. package/dist/ActionButtonGroup.css.map +1 -1
  23. package/dist/ActionButtonGroup.mjs +6 -9
  24. package/dist/ActionButtonGroup.mjs.map +1 -1
  25. package/dist/ActionMenu.cjs +2 -5
  26. package/dist/ActionMenu.cjs.map +1 -1
  27. package/dist/ActionMenu.mjs +2 -5
  28. package/dist/ActionMenu.mjs.map +1 -1
  29. package/dist/AlertDialog.cjs +2 -5
  30. package/dist/AlertDialog.cjs.map +1 -1
  31. package/dist/AlertDialog.css +1 -5
  32. package/dist/AlertDialog.css.map +1 -1
  33. package/dist/AlertDialog.mjs +2 -5
  34. package/dist/AlertDialog.mjs.map +1 -1
  35. package/dist/Avatar.cjs +12 -15
  36. package/dist/Avatar.cjs.map +1 -1
  37. package/dist/Avatar.css +12 -16
  38. package/dist/Avatar.css.map +1 -1
  39. package/dist/Avatar.mjs +12 -15
  40. package/dist/Avatar.mjs.map +1 -1
  41. package/dist/AvatarGroup.cjs +100 -103
  42. package/dist/AvatarGroup.cjs.map +1 -1
  43. package/dist/AvatarGroup.css +31 -37
  44. package/dist/AvatarGroup.css.map +1 -1
  45. package/dist/AvatarGroup.mjs +100 -103
  46. package/dist/AvatarGroup.mjs.map +1 -1
  47. package/dist/Badge.cjs +123 -108
  48. package/dist/Badge.cjs.map +1 -1
  49. package/dist/Badge.css +101 -83
  50. package/dist/Badge.css.map +1 -1
  51. package/dist/Badge.mjs +124 -109
  52. package/dist/Badge.mjs.map +1 -1
  53. package/dist/Breadcrumbs.cjs +98 -99
  54. package/dist/Breadcrumbs.cjs.map +1 -1
  55. package/dist/Breadcrumbs.css +70 -70
  56. package/dist/Breadcrumbs.css.map +1 -1
  57. package/dist/Breadcrumbs.mjs +100 -101
  58. package/dist/Breadcrumbs.mjs.map +1 -1
  59. package/dist/Button.cjs +305 -278
  60. package/dist/Button.cjs.map +1 -1
  61. package/dist/Button.css +253 -186
  62. package/dist/Button.css.map +1 -1
  63. package/dist/Button.mjs +307 -280
  64. package/dist/Button.mjs.map +1 -1
  65. package/dist/ButtonGroup.cjs +17 -20
  66. package/dist/ButtonGroup.cjs.map +1 -1
  67. package/dist/ButtonGroup.css +12 -16
  68. package/dist/ButtonGroup.css.map +1 -1
  69. package/dist/ButtonGroup.mjs +18 -21
  70. package/dist/ButtonGroup.mjs.map +1 -1
  71. package/dist/Card.cjs +169 -169
  72. package/dist/Card.cjs.map +1 -1
  73. package/dist/Card.css +121 -127
  74. package/dist/Card.css.map +1 -1
  75. package/dist/Card.mjs +170 -170
  76. package/dist/Card.mjs.map +1 -1
  77. package/dist/CardView.cjs +115 -327
  78. package/dist/CardView.cjs.map +1 -1
  79. package/dist/CardView.css +36 -16
  80. package/dist/CardView.css.map +1 -1
  81. package/dist/CardView.mjs +73 -285
  82. package/dist/CardView.mjs.map +1 -1
  83. package/dist/CenterBaseline.cjs +1 -1
  84. package/dist/CenterBaseline.css +3 -7
  85. package/dist/CenterBaseline.css.map +1 -1
  86. package/dist/CenterBaseline.mjs +1 -1
  87. package/dist/Checkbox.cjs +58 -62
  88. package/dist/Checkbox.cjs.map +1 -1
  89. package/dist/Checkbox.css +54 -60
  90. package/dist/Checkbox.css.map +1 -1
  91. package/dist/Checkbox.mjs +59 -63
  92. package/dist/Checkbox.mjs.map +1 -1
  93. package/dist/CheckboxGroup.cjs +43 -45
  94. package/dist/CheckboxGroup.cjs.map +1 -1
  95. package/dist/CheckboxGroup.css +32 -38
  96. package/dist/CheckboxGroup.css.map +1 -1
  97. package/dist/CheckboxGroup.mjs +44 -46
  98. package/dist/CheckboxGroup.mjs.map +1 -1
  99. package/dist/ClearButton.cjs +7 -8
  100. package/dist/ClearButton.cjs.map +1 -1
  101. package/dist/ClearButton.css +6 -10
  102. package/dist/ClearButton.css.map +1 -1
  103. package/dist/ClearButton.mjs +7 -8
  104. package/dist/ClearButton.mjs.map +1 -1
  105. package/dist/CloseButton.cjs +40 -53
  106. package/dist/CloseButton.cjs.map +1 -1
  107. package/dist/CloseButton.css +46 -54
  108. package/dist/CloseButton.css.map +1 -1
  109. package/dist/CloseButton.mjs +40 -53
  110. package/dist/CloseButton.mjs.map +1 -1
  111. package/dist/ColorArea.cjs +12 -15
  112. package/dist/ColorArea.cjs.map +1 -1
  113. package/dist/ColorArea.css +11 -15
  114. package/dist/ColorArea.css.map +1 -1
  115. package/dist/ColorArea.mjs +12 -15
  116. package/dist/ColorArea.mjs.map +1 -1
  117. package/dist/ColorField.cjs +31 -34
  118. package/dist/ColorField.cjs.map +1 -1
  119. package/dist/ColorField.css +24 -30
  120. package/dist/ColorField.css.map +1 -1
  121. package/dist/ColorField.mjs +32 -35
  122. package/dist/ColorField.mjs.map +1 -1
  123. package/dist/ColorHandle.cjs +11 -11
  124. package/dist/ColorHandle.css +20 -24
  125. package/dist/ColorHandle.css.map +1 -1
  126. package/dist/ColorHandle.mjs +11 -11
  127. package/dist/ColorSlider.cjs +43 -46
  128. package/dist/ColorSlider.cjs.map +1 -1
  129. package/dist/ColorSlider.css +43 -49
  130. package/dist/ColorSlider.css.map +1 -1
  131. package/dist/ColorSlider.mjs +44 -47
  132. package/dist/ColorSlider.mjs.map +1 -1
  133. package/dist/ColorSwatch.cjs +8 -11
  134. package/dist/ColorSwatch.cjs.map +1 -1
  135. package/dist/ColorSwatch.css +15 -19
  136. package/dist/ColorSwatch.css.map +1 -1
  137. package/dist/ColorSwatch.mjs +9 -12
  138. package/dist/ColorSwatch.mjs.map +1 -1
  139. package/dist/ColorSwatchPicker.cjs +15 -18
  140. package/dist/ColorSwatchPicker.cjs.map +1 -1
  141. package/dist/ColorSwatchPicker.css +34 -38
  142. package/dist/ColorSwatchPicker.css.map +1 -1
  143. package/dist/ColorSwatchPicker.mjs +15 -18
  144. package/dist/ColorSwatchPicker.mjs.map +1 -1
  145. package/dist/ColorWheel.cjs +18 -21
  146. package/dist/ColorWheel.cjs.map +1 -1
  147. package/dist/ColorWheel.css +16 -20
  148. package/dist/ColorWheel.css.map +1 -1
  149. package/dist/ColorWheel.mjs +18 -21
  150. package/dist/ColorWheel.mjs.map +1 -1
  151. package/dist/ComboBox.cjs +62 -62
  152. package/dist/ComboBox.cjs.map +1 -1
  153. package/dist/ComboBox.css +52 -58
  154. package/dist/ComboBox.css.map +1 -1
  155. package/dist/ComboBox.mjs +63 -63
  156. package/dist/ComboBox.mjs.map +1 -1
  157. package/dist/Content.cjs +15 -20
  158. package/dist/Content.cjs.map +1 -1
  159. package/dist/Content.mjs +15 -20
  160. package/dist/Content.mjs.map +1 -1
  161. package/dist/ContextualHelp.cjs +7 -10
  162. package/dist/ContextualHelp.cjs.map +1 -1
  163. package/dist/ContextualHelp.css +23 -29
  164. package/dist/ContextualHelp.css.map +1 -1
  165. package/dist/ContextualHelp.mjs +7 -10
  166. package/dist/ContextualHelp.mjs.map +1 -1
  167. package/dist/CustomDialog.cjs +10 -13
  168. package/dist/CustomDialog.cjs.map +1 -1
  169. package/dist/CustomDialog.css +10 -14
  170. package/dist/CustomDialog.css.map +1 -1
  171. package/dist/CustomDialog.mjs +10 -13
  172. package/dist/CustomDialog.mjs.map +1 -1
  173. package/dist/Dialog.cjs +14 -18
  174. package/dist/Dialog.cjs.map +1 -1
  175. package/dist/Dialog.css +39 -45
  176. package/dist/Dialog.css.map +1 -1
  177. package/dist/Dialog.mjs +14 -18
  178. package/dist/Dialog.mjs.map +1 -1
  179. package/dist/Disclosure.cjs +60 -69
  180. package/dist/Disclosure.cjs.map +1 -1
  181. package/dist/Disclosure.css +49 -55
  182. package/dist/Disclosure.css.map +1 -1
  183. package/dist/Disclosure.mjs +61 -70
  184. package/dist/Disclosure.mjs.map +1 -1
  185. package/dist/Divider.cjs +15 -19
  186. package/dist/Divider.cjs.map +1 -1
  187. package/dist/Divider.css +19 -23
  188. package/dist/Divider.css.map +1 -1
  189. package/dist/Divider.mjs +15 -19
  190. package/dist/Divider.mjs.map +1 -1
  191. package/dist/DropZone.cjs +30 -33
  192. package/dist/DropZone.cjs.map +1 -1
  193. package/dist/DropZone.css +26 -32
  194. package/dist/DropZone.css.map +1 -1
  195. package/dist/DropZone.mjs +30 -33
  196. package/dist/DropZone.mjs.map +1 -1
  197. package/dist/Field.cjs +134 -132
  198. package/dist/Field.cjs.map +1 -1
  199. package/dist/Field.css +76 -90
  200. package/dist/Field.css.map +1 -1
  201. package/dist/Field.mjs +134 -132
  202. package/dist/Field.mjs.map +1 -1
  203. package/dist/Form.cjs +6 -9
  204. package/dist/Form.cjs.map +1 -1
  205. package/dist/Form.css +4 -8
  206. package/dist/Form.css.map +1 -1
  207. package/dist/Form.mjs +6 -9
  208. package/dist/Form.mjs.map +1 -1
  209. package/dist/FullscreenDialog.cjs +7 -10
  210. package/dist/FullscreenDialog.cjs.map +1 -1
  211. package/dist/FullscreenDialog.css +54 -60
  212. package/dist/FullscreenDialog.css.map +1 -1
  213. package/dist/FullscreenDialog.mjs +7 -10
  214. package/dist/FullscreenDialog.mjs.map +1 -1
  215. package/dist/IllustratedMessage.cjs +128 -132
  216. package/dist/IllustratedMessage.cjs.map +1 -1
  217. package/dist/IllustratedMessage.css +58 -64
  218. package/dist/IllustratedMessage.css.map +1 -1
  219. package/dist/IllustratedMessage.mjs +128 -132
  220. package/dist/IllustratedMessage.mjs.map +1 -1
  221. package/dist/Image.cjs +24 -13
  222. package/dist/Image.cjs.map +1 -1
  223. package/dist/Image.css +12 -16
  224. package/dist/Image.css.map +1 -1
  225. package/dist/Image.mjs +25 -14
  226. package/dist/Image.mjs.map +1 -1
  227. package/dist/InlineAlert.cjs +75 -84
  228. package/dist/InlineAlert.cjs.map +1 -1
  229. package/dist/InlineAlert.css +59 -69
  230. package/dist/InlineAlert.css.map +1 -1
  231. package/dist/InlineAlert.mjs +76 -85
  232. package/dist/InlineAlert.mjs.map +1 -1
  233. package/dist/Link.cjs +36 -39
  234. package/dist/Link.cjs.map +1 -1
  235. package/dist/Link.css +42 -48
  236. package/dist/Link.css.map +1 -1
  237. package/dist/Link.mjs +37 -40
  238. package/dist/Link.mjs.map +1 -1
  239. package/dist/Menu.cjs +335 -235
  240. package/dist/Menu.cjs.map +1 -1
  241. package/dist/Menu.css +130 -122
  242. package/dist/Menu.css.map +1 -1
  243. package/dist/Menu.mjs +337 -237
  244. package/dist/Menu.mjs.map +1 -1
  245. package/dist/Meter.cjs +66 -70
  246. package/dist/Meter.cjs.map +1 -1
  247. package/dist/Meter.css +69 -79
  248. package/dist/Meter.css.map +1 -1
  249. package/dist/Meter.mjs +66 -70
  250. package/dist/Meter.mjs.map +1 -1
  251. package/dist/Modal.cjs +36 -45
  252. package/dist/Modal.cjs.map +1 -1
  253. package/dist/Modal.css +49 -77
  254. package/dist/Modal.css.map +1 -1
  255. package/dist/Modal.mjs +37 -46
  256. package/dist/Modal.mjs.map +1 -1
  257. package/dist/NumberField.cjs +66 -69
  258. package/dist/NumberField.cjs.map +1 -1
  259. package/dist/NumberField.css +70 -76
  260. package/dist/NumberField.css.map +1 -1
  261. package/dist/NumberField.mjs +67 -70
  262. package/dist/NumberField.mjs.map +1 -1
  263. package/dist/Picker.cjs +214 -189
  264. package/dist/Picker.cjs.map +1 -1
  265. package/dist/Picker.css +92 -94
  266. package/dist/Picker.css.map +1 -1
  267. package/dist/Picker.mjs +215 -190
  268. package/dist/Picker.mjs.map +1 -1
  269. package/dist/Popover.cjs +48 -72
  270. package/dist/Popover.cjs.map +1 -1
  271. package/dist/Popover.css +59 -134
  272. package/dist/Popover.css.map +1 -1
  273. package/dist/Popover.mjs +49 -73
  274. package/dist/Popover.mjs.map +1 -1
  275. package/dist/ProgressBar.cjs +85 -87
  276. package/dist/ProgressBar.cjs.map +1 -1
  277. package/dist/ProgressBar.css +81 -91
  278. package/dist/ProgressBar.css.map +1 -1
  279. package/dist/ProgressBar.mjs +85 -87
  280. package/dist/ProgressBar.mjs.map +1 -1
  281. package/dist/ProgressCircle.cjs +16 -18
  282. package/dist/ProgressCircle.cjs.map +1 -1
  283. package/dist/ProgressCircle.css +17 -21
  284. package/dist/ProgressCircle.css.map +1 -1
  285. package/dist/ProgressCircle.mjs +16 -18
  286. package/dist/ProgressCircle.mjs.map +1 -1
  287. package/dist/Provider.cjs +5 -5
  288. package/dist/Provider.css +7 -11
  289. package/dist/Provider.css.map +1 -1
  290. package/dist/Provider.mjs +5 -5
  291. package/dist/Radio.cjs +54 -58
  292. package/dist/Radio.cjs.map +1 -1
  293. package/dist/Radio.css +50 -56
  294. package/dist/Radio.css.map +1 -1
  295. package/dist/Radio.mjs +55 -59
  296. package/dist/Radio.mjs.map +1 -1
  297. package/dist/RadioGroup.cjs +39 -43
  298. package/dist/RadioGroup.cjs.map +1 -1
  299. package/dist/RadioGroup.css +32 -38
  300. package/dist/RadioGroup.css.map +1 -1
  301. package/dist/RadioGroup.mjs +40 -44
  302. package/dist/RadioGroup.mjs.map +1 -1
  303. package/dist/RangeSlider.cjs +2 -3
  304. package/dist/RangeSlider.cjs.map +1 -1
  305. package/dist/RangeSlider.mjs +3 -4
  306. package/dist/RangeSlider.mjs.map +1 -1
  307. package/dist/SearchField.cjs +35 -38
  308. package/dist/SearchField.cjs.map +1 -1
  309. package/dist/SearchField.css +30 -36
  310. package/dist/SearchField.css.map +1 -1
  311. package/dist/SearchField.mjs +36 -39
  312. package/dist/SearchField.mjs.map +1 -1
  313. package/dist/SegmentedControl.cjs +71 -77
  314. package/dist/SegmentedControl.cjs.map +1 -1
  315. package/dist/SegmentedControl.css +63 -69
  316. package/dist/SegmentedControl.css.map +1 -1
  317. package/dist/SegmentedControl.mjs +73 -79
  318. package/dist/SegmentedControl.mjs.map +1 -1
  319. package/dist/Slider.cjs +111 -112
  320. package/dist/Slider.cjs.map +1 -1
  321. package/dist/Slider.css +87 -93
  322. package/dist/Slider.css.map +1 -1
  323. package/dist/Slider.mjs +112 -113
  324. package/dist/Slider.mjs.map +1 -1
  325. package/dist/StatusLight.cjs +28 -32
  326. package/dist/StatusLight.cjs.map +1 -1
  327. package/dist/StatusLight.css +26 -32
  328. package/dist/StatusLight.css.map +1 -1
  329. package/dist/StatusLight.mjs +28 -32
  330. package/dist/StatusLight.mjs.map +1 -1
  331. package/dist/Switch.cjs +56 -60
  332. package/dist/Switch.cjs.map +1 -1
  333. package/dist/Switch.css +48 -54
  334. package/dist/Switch.css.map +1 -1
  335. package/dist/Switch.mjs +57 -61
  336. package/dist/Switch.mjs.map +1 -1
  337. package/dist/TableView.cjs +271 -275
  338. package/dist/TableView.cjs.map +1 -1
  339. package/dist/TableView.css +104 -102
  340. package/dist/TableView.css.map +1 -1
  341. package/dist/TableView.mjs +273 -277
  342. package/dist/TableView.mjs.map +1 -1
  343. package/dist/Tabs.cjs +472 -191
  344. package/dist/Tabs.cjs.map +1 -1
  345. package/dist/Tabs.css +225 -139
  346. package/dist/Tabs.css.map +1 -1
  347. package/dist/Tabs.mjs +472 -191
  348. package/dist/Tabs.mjs.map +1 -1
  349. package/dist/TabsPicker.cjs +415 -0
  350. package/dist/TabsPicker.cjs.map +1 -0
  351. package/dist/TabsPicker.css +482 -0
  352. package/dist/TabsPicker.css.map +1 -0
  353. package/dist/TabsPicker.mjs +409 -0
  354. package/dist/TabsPicker.mjs.map +1 -0
  355. package/dist/TagGroup.cjs +126 -128
  356. package/dist/TagGroup.cjs.map +1 -1
  357. package/dist/TagGroup.css +93 -99
  358. package/dist/TagGroup.css.map +1 -1
  359. package/dist/TagGroup.mjs +126 -128
  360. package/dist/TagGroup.mjs.map +1 -1
  361. package/dist/TextField.cjs +44 -55
  362. package/dist/TextField.cjs.map +1 -1
  363. package/dist/TextField.css +33 -39
  364. package/dist/TextField.css.map +1 -1
  365. package/dist/TextField.mjs +45 -56
  366. package/dist/TextField.mjs.map +1 -1
  367. package/dist/ToggleButton.cjs +6 -9
  368. package/dist/ToggleButton.cjs.map +1 -1
  369. package/dist/ToggleButton.css +8 -12
  370. package/dist/ToggleButton.css.map +1 -1
  371. package/dist/ToggleButton.mjs +6 -9
  372. package/dist/ToggleButton.mjs.map +1 -1
  373. package/dist/ToggleButtonGroup.cjs +2 -5
  374. package/dist/ToggleButtonGroup.cjs.map +1 -1
  375. package/dist/ToggleButtonGroup.mjs +2 -5
  376. package/dist/ToggleButtonGroup.mjs.map +1 -1
  377. package/dist/Tooltip.cjs +49 -49
  378. package/dist/Tooltip.cjs.map +1 -1
  379. package/dist/Tooltip.css +55 -76
  380. package/dist/Tooltip.css.map +1 -1
  381. package/dist/Tooltip.mjs +50 -50
  382. package/dist/Tooltip.mjs.map +1 -1
  383. package/dist/TreeView.cjs +439 -0
  384. package/dist/TreeView.cjs.map +1 -0
  385. package/dist/TreeView.css +608 -0
  386. package/dist/TreeView.css.map +1 -0
  387. package/dist/TreeView.mjs +432 -0
  388. package/dist/TreeView.mjs.map +1 -0
  389. package/dist/ar-AE.cjs +10 -2
  390. package/dist/ar-AE.cjs.map +1 -1
  391. package/dist/ar-AE.mjs +10 -2
  392. package/dist/ar-AE.mjs.map +1 -1
  393. package/dist/bg-BG.cjs +11 -2
  394. package/dist/bg-BG.cjs.map +1 -1
  395. package/dist/bg-BG.mjs +11 -2
  396. package/dist/bg-BG.mjs.map +1 -1
  397. package/dist/cs-CZ.cjs +7 -2
  398. package/dist/cs-CZ.cjs.map +1 -1
  399. package/dist/cs-CZ.mjs +7 -2
  400. package/dist/cs-CZ.mjs.map +1 -1
  401. package/dist/da-DK.cjs +12 -4
  402. package/dist/da-DK.cjs.map +1 -1
  403. package/dist/da-DK.mjs +12 -4
  404. package/dist/da-DK.mjs.map +1 -1
  405. package/dist/de-DE.cjs +11 -2
  406. package/dist/de-DE.cjs.map +1 -1
  407. package/dist/de-DE.mjs +11 -2
  408. package/dist/de-DE.mjs.map +1 -1
  409. package/dist/el-GR.cjs +11 -2
  410. package/dist/el-GR.cjs.map +1 -1
  411. package/dist/el-GR.mjs +11 -2
  412. package/dist/el-GR.mjs.map +1 -1
  413. package/dist/en-US.cjs +8 -0
  414. package/dist/en-US.cjs.map +1 -1
  415. package/dist/en-US.mjs +8 -0
  416. package/dist/en-US.mjs.map +1 -1
  417. package/dist/es-ES.cjs +11 -2
  418. package/dist/es-ES.cjs.map +1 -1
  419. package/dist/es-ES.mjs +11 -2
  420. package/dist/es-ES.mjs.map +1 -1
  421. package/dist/et-EE.cjs +10 -2
  422. package/dist/et-EE.cjs.map +1 -1
  423. package/dist/et-EE.mjs +10 -2
  424. package/dist/et-EE.mjs.map +1 -1
  425. package/dist/fi-FI.cjs +10 -2
  426. package/dist/fi-FI.cjs.map +1 -1
  427. package/dist/fi-FI.mjs +10 -2
  428. package/dist/fi-FI.mjs.map +1 -1
  429. package/dist/fr-FR.cjs +11 -2
  430. package/dist/fr-FR.cjs.map +1 -1
  431. package/dist/fr-FR.mjs +11 -2
  432. package/dist/fr-FR.mjs.map +1 -1
  433. package/dist/he-IL.cjs +11 -2
  434. package/dist/he-IL.cjs.map +1 -1
  435. package/dist/he-IL.mjs +11 -2
  436. package/dist/he-IL.mjs.map +1 -1
  437. package/dist/hr-HR.cjs +7 -2
  438. package/dist/hr-HR.cjs.map +1 -1
  439. package/dist/hr-HR.mjs +7 -2
  440. package/dist/hr-HR.mjs.map +1 -1
  441. package/dist/hu-HU.cjs +10 -2
  442. package/dist/hu-HU.cjs.map +1 -1
  443. package/dist/hu-HU.mjs +10 -2
  444. package/dist/hu-HU.mjs.map +1 -1
  445. package/dist/it-IT.cjs +11 -2
  446. package/dist/it-IT.cjs.map +1 -1
  447. package/dist/it-IT.mjs +11 -2
  448. package/dist/it-IT.mjs.map +1 -1
  449. package/dist/ja-JP.cjs +10 -2
  450. package/dist/ja-JP.cjs.map +1 -1
  451. package/dist/ja-JP.mjs +10 -2
  452. package/dist/ja-JP.mjs.map +1 -1
  453. package/dist/ko-KR.cjs +12 -4
  454. package/dist/ko-KR.cjs.map +1 -1
  455. package/dist/ko-KR.mjs +12 -4
  456. package/dist/ko-KR.mjs.map +1 -1
  457. package/dist/lt-LT.cjs +9 -4
  458. package/dist/lt-LT.cjs.map +1 -1
  459. package/dist/lt-LT.mjs +9 -4
  460. package/dist/lt-LT.mjs.map +1 -1
  461. package/dist/lv-LV.cjs +11 -3
  462. package/dist/lv-LV.cjs.map +1 -1
  463. package/dist/lv-LV.mjs +11 -3
  464. package/dist/lv-LV.mjs.map +1 -1
  465. package/dist/main.cjs +9 -0
  466. package/dist/main.cjs.map +1 -1
  467. package/dist/module.mjs +5 -1
  468. package/dist/module.mjs.map +1 -1
  469. package/dist/nb-NO.cjs +9 -4
  470. package/dist/nb-NO.cjs.map +1 -1
  471. package/dist/nb-NO.mjs +9 -4
  472. package/dist/nb-NO.mjs.map +1 -1
  473. package/dist/nl-NL.cjs +10 -2
  474. package/dist/nl-NL.cjs.map +1 -1
  475. package/dist/nl-NL.mjs +10 -2
  476. package/dist/nl-NL.mjs.map +1 -1
  477. package/dist/pl-PL.cjs +8 -3
  478. package/dist/pl-PL.cjs.map +1 -1
  479. package/dist/pl-PL.mjs +8 -3
  480. package/dist/pl-PL.mjs.map +1 -1
  481. package/dist/pt-BR.cjs +11 -2
  482. package/dist/pt-BR.cjs.map +1 -1
  483. package/dist/pt-BR.mjs +11 -2
  484. package/dist/pt-BR.mjs.map +1 -1
  485. package/dist/pt-PT.cjs +11 -2
  486. package/dist/pt-PT.cjs.map +1 -1
  487. package/dist/pt-PT.mjs +11 -2
  488. package/dist/pt-PT.mjs.map +1 -1
  489. package/dist/ro-RO.cjs +12 -3
  490. package/dist/ro-RO.cjs.map +1 -1
  491. package/dist/ro-RO.mjs +12 -3
  492. package/dist/ro-RO.mjs.map +1 -1
  493. package/dist/ru-RU.cjs +7 -2
  494. package/dist/ru-RU.cjs.map +1 -1
  495. package/dist/ru-RU.mjs +7 -2
  496. package/dist/ru-RU.mjs.map +1 -1
  497. package/dist/sk-SK.cjs +7 -2
  498. package/dist/sk-SK.cjs.map +1 -1
  499. package/dist/sk-SK.mjs +7 -2
  500. package/dist/sk-SK.mjs.map +1 -1
  501. package/dist/sl-SI.cjs +7 -2
  502. package/dist/sl-SI.cjs.map +1 -1
  503. package/dist/sl-SI.mjs +7 -2
  504. package/dist/sl-SI.mjs.map +1 -1
  505. package/dist/sr-SP.cjs +7 -2
  506. package/dist/sr-SP.cjs.map +1 -1
  507. package/dist/sr-SP.mjs +7 -2
  508. package/dist/sr-SP.mjs.map +1 -1
  509. package/dist/sv-SE.cjs +11 -2
  510. package/dist/sv-SE.cjs.map +1 -1
  511. package/dist/sv-SE.mjs +11 -2
  512. package/dist/sv-SE.mjs.map +1 -1
  513. package/dist/tr-TR.cjs +10 -2
  514. package/dist/tr-TR.cjs.map +1 -1
  515. package/dist/tr-TR.mjs +10 -2
  516. package/dist/tr-TR.mjs.map +1 -1
  517. package/dist/types.d.ts +227 -168
  518. package/dist/types.d.ts.map +1 -1
  519. package/dist/uk-UA.cjs +7 -2
  520. package/dist/uk-UA.cjs.map +1 -1
  521. package/dist/uk-UA.mjs +7 -2
  522. package/dist/uk-UA.mjs.map +1 -1
  523. package/dist/zh-CN.cjs +10 -2
  524. package/dist/zh-CN.cjs.map +1 -1
  525. package/dist/zh-CN.mjs +10 -2
  526. package/dist/zh-CN.mjs.map +1 -1
  527. package/dist/zh-TW.cjs +10 -2
  528. package/dist/zh-TW.cjs.map +1 -1
  529. package/dist/zh-TW.mjs +10 -2
  530. package/dist/zh-TW.mjs.map +1 -1
  531. package/icons/3DMaterial.cjs.map +1 -1
  532. package/icons/3DMaterial.mjs.map +1 -1
  533. package/icons/ABC.cjs +36 -0
  534. package/icons/ABC.cjs.map +1 -0
  535. package/icons/ABC.mjs +25 -0
  536. package/icons/ABC.mjs.map +1 -0
  537. package/icons/AlertDiamond.cjs.map +1 -1
  538. package/icons/AlertDiamond.mjs.map +1 -1
  539. package/icons/Animation.cjs.map +1 -1
  540. package/icons/Animation.mjs.map +1 -1
  541. package/icons/AnimationNo.cjs.map +1 -1
  542. package/icons/AnimationNo.mjs.map +1 -1
  543. package/icons/App.cjs +42 -0
  544. package/icons/App.cjs.map +1 -0
  545. package/icons/App.mjs +31 -0
  546. package/icons/App.mjs.map +1 -0
  547. package/icons/AspectRatio.cjs.map +1 -1
  548. package/icons/AspectRatio.mjs.map +1 -1
  549. package/icons/Asset.cjs +1 -5
  550. package/icons/Asset.cjs.map +1 -1
  551. package/icons/Asset.mjs +1 -5
  552. package/icons/Asset.mjs.map +1 -1
  553. package/icons/AudioWave.cjs.map +1 -1
  554. package/icons/AudioWave.mjs.map +1 -1
  555. package/icons/BadgeVerified.cjs.map +1 -1
  556. package/icons/BadgeVerified.mjs.map +1 -1
  557. package/icons/Bell.cjs.map +1 -1
  558. package/icons/Bell.mjs.map +1 -1
  559. package/icons/Bookmark.cjs +36 -0
  560. package/icons/Bookmark.cjs.map +1 -0
  561. package/icons/Bookmark.mjs +25 -0
  562. package/icons/Bookmark.mjs.map +1 -0
  563. package/icons/Brand.cjs.map +1 -1
  564. package/icons/Brand.mjs.map +1 -1
  565. package/icons/Building.cjs +62 -0
  566. package/icons/Building.cjs.map +1 -0
  567. package/icons/Building.mjs +51 -0
  568. package/icons/Building.mjs.map +1 -0
  569. package/icons/CalendarEdit.cjs.map +1 -1
  570. package/icons/CalendarEdit.mjs.map +1 -1
  571. package/icons/CallCenter.cjs +36 -0
  572. package/icons/CallCenter.cjs.map +1 -0
  573. package/icons/CallCenter.mjs +25 -0
  574. package/icons/CallCenter.mjs.map +1 -0
  575. package/icons/CameraProperties.cjs.map +1 -1
  576. package/icons/CameraProperties.mjs.map +1 -1
  577. package/icons/Channel.cjs.map +1 -1
  578. package/icons/Channel.mjs.map +1 -1
  579. package/icons/ChartBarVert.cjs +36 -0
  580. package/icons/ChartBarVert.cjs.map +1 -0
  581. package/icons/ChartBarVert.mjs +25 -0
  582. package/icons/ChartBarVert.mjs.map +1 -0
  583. package/icons/ChartPie.cjs +36 -0
  584. package/icons/ChartPie.cjs.map +1 -0
  585. package/icons/ChartPie.mjs +25 -0
  586. package/icons/ChartPie.mjs.map +1 -0
  587. package/icons/ChartTrend.cjs +36 -0
  588. package/icons/ChartTrend.cjs.map +1 -0
  589. package/icons/ChartTrend.mjs +25 -0
  590. package/icons/ChartTrend.mjs.map +1 -0
  591. package/icons/Chat.cjs +36 -0
  592. package/icons/Chat.cjs.map +1 -0
  593. package/icons/Chat.mjs +25 -0
  594. package/icons/Chat.mjs.map +1 -0
  595. package/icons/CheckBox.cjs.map +1 -1
  596. package/icons/CheckBox.mjs.map +1 -1
  597. package/icons/Checkmark.cjs +8 -8
  598. package/icons/Checkmark.cjs.map +1 -1
  599. package/icons/Checkmark.mjs +8 -8
  600. package/icons/Checkmark.mjs.map +1 -1
  601. package/icons/ChevronDoubleLeft.cjs +42 -0
  602. package/icons/ChevronDoubleLeft.cjs.map +1 -0
  603. package/icons/ChevronDoubleLeft.d.ts +5 -0
  604. package/icons/ChevronDoubleLeft.mjs +31 -0
  605. package/icons/ChevronDoubleLeft.mjs.map +1 -0
  606. package/icons/ChevronDoubleRight.cjs +42 -0
  607. package/icons/ChevronDoubleRight.cjs.map +1 -0
  608. package/icons/ChevronDoubleRight.d.ts +5 -0
  609. package/icons/ChevronDoubleRight.mjs +31 -0
  610. package/icons/ChevronDoubleRight.mjs.map +1 -0
  611. package/icons/ChevronDown.cjs +8 -8
  612. package/icons/ChevronDown.cjs.map +1 -1
  613. package/icons/ChevronDown.mjs +8 -8
  614. package/icons/ChevronDown.mjs.map +1 -1
  615. package/icons/ChevronLeft.cjs.map +1 -1
  616. package/icons/ChevronLeft.mjs.map +1 -1
  617. package/icons/ChevronRight.cjs.map +1 -1
  618. package/icons/ChevronRight.mjs.map +1 -1
  619. package/icons/ChevronUp.cjs +36 -0
  620. package/icons/ChevronUp.cjs.map +1 -0
  621. package/icons/ChevronUp.d.ts +5 -0
  622. package/icons/ChevronUp.mjs +25 -0
  623. package/icons/ChevronUp.mjs.map +1 -0
  624. package/icons/Circle.cjs.map +1 -1
  625. package/icons/Circle.mjs.map +1 -1
  626. package/icons/Close.cjs.map +1 -1
  627. package/icons/Close.mjs.map +1 -1
  628. package/icons/CloseCaptions.cjs.map +1 -1
  629. package/icons/CloseCaptions.mjs.map +1 -1
  630. package/icons/Code.cjs +36 -0
  631. package/icons/Code.cjs.map +1 -0
  632. package/icons/Code.d.ts +5 -0
  633. package/icons/Code.mjs +25 -0
  634. package/icons/Code.mjs.map +1 -0
  635. package/icons/Collection.cjs.map +1 -1
  636. package/icons/Collection.mjs.map +1 -1
  637. package/icons/ColorHarmony.cjs.map +1 -1
  638. package/icons/ColorHarmony.mjs.map +1 -1
  639. package/icons/CommentCheckmark.cjs.map +1 -1
  640. package/icons/CommentCheckmark.mjs.map +1 -1
  641. package/icons/CommentHide.cjs.map +1 -1
  642. package/icons/CommentHide.mjs.map +1 -1
  643. package/icons/CommentRemove.cjs.map +1 -1
  644. package/icons/CommentRemove.mjs.map +1 -1
  645. package/icons/Compare.cjs +42 -0
  646. package/icons/Compare.cjs.map +1 -0
  647. package/icons/Compare.d.ts +5 -0
  648. package/icons/Compare.mjs +31 -0
  649. package/icons/Compare.mjs.map +1 -0
  650. package/icons/ContextualTaskBar.cjs.map +1 -1
  651. package/icons/ContextualTaskBar.mjs.map +1 -1
  652. package/icons/CornerRadiusBottomLeft.cjs.map +1 -1
  653. package/icons/CornerRadiusBottomLeft.mjs.map +1 -1
  654. package/icons/CornerRadiusBottomRight.cjs.map +1 -1
  655. package/icons/CornerRadiusBottomRight.mjs.map +1 -1
  656. package/icons/CornerRadiusTopLeft.cjs.map +1 -1
  657. package/icons/CornerRadiusTopLeft.mjs.map +1 -1
  658. package/icons/CornerRadiusTopRight.cjs.map +1 -1
  659. package/icons/CornerRadiusTopRight.mjs.map +1 -1
  660. package/icons/CursorClick.cjs.map +1 -1
  661. package/icons/CursorClick.mjs.map +1 -1
  662. package/icons/Data.cjs +1 -1
  663. package/icons/Data.cjs.map +1 -1
  664. package/icons/Data.mjs +1 -1
  665. package/icons/Data.mjs.map +1 -1
  666. package/icons/DataAdd.cjs.map +1 -1
  667. package/icons/DataAdd.mjs.map +1 -1
  668. package/icons/DataRefresh.cjs +42 -0
  669. package/icons/DataRefresh.cjs.map +1 -0
  670. package/icons/DataRefresh.d.ts +5 -0
  671. package/icons/DataRefresh.mjs +31 -0
  672. package/icons/DataRefresh.mjs.map +1 -0
  673. package/icons/DataSettings.cjs +2 -2
  674. package/icons/DataSettings.cjs.map +1 -1
  675. package/icons/DataSettings.mjs +2 -2
  676. package/icons/DataSettings.mjs.map +1 -1
  677. package/icons/DataUpload.cjs +2 -2
  678. package/icons/DataUpload.cjs.map +1 -1
  679. package/icons/DataUpload.mjs +2 -2
  680. package/icons/DataUpload.mjs.map +1 -1
  681. package/icons/DeviceTablet.cjs.map +1 -1
  682. package/icons/DeviceTablet.mjs.map +1 -1
  683. package/icons/Draw.cjs.map +1 -1
  684. package/icons/Draw.mjs.map +1 -1
  685. package/icons/Edit.cjs.map +1 -1
  686. package/icons/Edit.mjs.map +1 -1
  687. package/icons/EditNo.cjs.map +1 -1
  688. package/icons/EditNo.mjs.map +1 -1
  689. package/icons/Email.cjs.map +1 -1
  690. package/icons/Email.mjs.map +1 -1
  691. package/icons/Enterprise.cjs +46 -0
  692. package/icons/Enterprise.cjs.map +1 -0
  693. package/icons/Enterprise.d.ts +5 -0
  694. package/icons/Enterprise.mjs +35 -0
  695. package/icons/Enterprise.mjs.map +1 -0
  696. package/icons/Export.cjs +42 -0
  697. package/icons/Export.cjs.map +1 -0
  698. package/icons/Export.d.ts +5 -0
  699. package/icons/Export.mjs +31 -0
  700. package/icons/Export.mjs.map +1 -0
  701. package/icons/Filter.cjs.map +1 -1
  702. package/icons/Filter.mjs.map +1 -1
  703. package/icons/FlipHorizontal.cjs +1 -21
  704. package/icons/FlipHorizontal.cjs.map +1 -1
  705. package/icons/FlipHorizontal.mjs +1 -21
  706. package/icons/FlipHorizontal.mjs.map +1 -1
  707. package/icons/FlipVertical.cjs +1 -21
  708. package/icons/FlipVertical.cjs.map +1 -1
  709. package/icons/FlipVertical.mjs +1 -21
  710. package/icons/FlipVertical.mjs.map +1 -1
  711. package/icons/FolderMoveTo.cjs.map +1 -1
  712. package/icons/FolderMoveTo.mjs.map +1 -1
  713. package/icons/FolderSearch.cjs +42 -0
  714. package/icons/FolderSearch.cjs.map +1 -0
  715. package/icons/FolderSearch.d.ts +5 -0
  716. package/icons/FolderSearch.mjs +31 -0
  717. package/icons/FolderSearch.mjs.map +1 -0
  718. package/icons/FontPicker.cjs.map +1 -1
  719. package/icons/FontPicker.mjs.map +1 -1
  720. package/icons/GlobeGrid.cjs.map +1 -1
  721. package/icons/GlobeGrid.mjs.map +1 -1
  722. package/icons/GradientHorizontal.cjs.map +1 -1
  723. package/icons/GradientHorizontal.mjs.map +1 -1
  724. package/icons/GridsAndRulers.cjs.map +1 -1
  725. package/icons/GridsAndRulers.mjs.map +1 -1
  726. package/icons/Icon.cjs.map +1 -1
  727. package/icons/Icon.mjs.map +1 -1
  728. package/icons/Image.cjs.map +1 -1
  729. package/icons/Image.mjs.map +1 -1
  730. package/icons/ImageAdd.cjs +1 -5
  731. package/icons/ImageAdd.cjs.map +1 -1
  732. package/icons/ImageAdd.mjs +1 -5
  733. package/icons/ImageAdd.mjs.map +1 -1
  734. package/icons/ImageBackgroundRemove.cjs.map +1 -1
  735. package/icons/ImageBackgroundRemove.mjs.map +1 -1
  736. package/icons/Images.cjs.map +1 -1
  737. package/icons/Images.mjs.map +1 -1
  738. package/icons/Import.cjs +42 -0
  739. package/icons/Import.cjs.map +1 -0
  740. package/icons/Import.d.ts +5 -0
  741. package/icons/Import.mjs +31 -0
  742. package/icons/Import.mjs.map +1 -0
  743. package/icons/Key.cjs +36 -0
  744. package/icons/Key.cjs.map +1 -0
  745. package/icons/Key.d.ts +5 -0
  746. package/icons/Key.mjs +25 -0
  747. package/icons/Key.mjs.map +1 -0
  748. package/icons/ListMultiSelect.cjs.map +1 -1
  749. package/icons/ListMultiSelect.mjs.map +1 -1
  750. package/icons/ListNumbered.cjs.map +1 -1
  751. package/icons/ListNumbered.mjs.map +1 -1
  752. package/icons/Logo.cjs.map +1 -1
  753. package/icons/Logo.mjs.map +1 -1
  754. package/icons/Market.cjs.map +1 -1
  755. package/icons/Market.mjs.map +1 -1
  756. package/icons/Microphone.cjs.map +1 -1
  757. package/icons/Microphone.mjs.map +1 -1
  758. package/icons/MicrophoneOff.cjs.map +1 -1
  759. package/icons/MicrophoneOff.mjs.map +1 -1
  760. package/icons/MusicNote.cjs.map +1 -1
  761. package/icons/MusicNote.mjs.map +1 -1
  762. package/icons/OrientationPortrait.cjs.map +1 -1
  763. package/icons/OrientationPortrait.mjs.map +1 -1
  764. package/icons/Pause.cjs.map +1 -1
  765. package/icons/Pause.mjs.map +1 -1
  766. package/icons/PauseCircle.cjs.map +1 -1
  767. package/icons/PauseCircle.mjs.map +1 -1
  768. package/icons/PeopleGroup.cjs +36 -0
  769. package/icons/PeopleGroup.cjs.map +1 -0
  770. package/icons/PeopleGroup.d.ts +5 -0
  771. package/icons/PeopleGroup.mjs +25 -0
  772. package/icons/PeopleGroup.mjs.map +1 -0
  773. package/icons/Percentage.cjs.map +1 -1
  774. package/icons/Percentage.mjs.map +1 -1
  775. package/icons/PinOff.cjs.map +1 -1
  776. package/icons/PinOff.mjs.map +1 -1
  777. package/icons/PinOn.cjs.map +1 -1
  778. package/icons/PinOn.mjs.map +1 -1
  779. package/icons/Play.cjs.map +1 -1
  780. package/icons/Play.mjs.map +1 -1
  781. package/icons/PluginGear.cjs.map +1 -1
  782. package/icons/PluginGear.mjs.map +1 -1
  783. package/icons/Polygon6.cjs.map +1 -1
  784. package/icons/Polygon6.mjs.map +1 -1
  785. package/icons/Publish.cjs.map +1 -1
  786. package/icons/Publish.mjs.map +1 -1
  787. package/icons/PublishNo.cjs.map +1 -1
  788. package/icons/PublishNo.mjs.map +1 -1
  789. package/icons/RadioButton.cjs.map +1 -1
  790. package/icons/RadioButton.mjs.map +1 -1
  791. package/icons/RectangleHoriz.cjs.map +1 -1
  792. package/icons/RectangleHoriz.mjs.map +1 -1
  793. package/icons/RocketQuickActions.cjs.map +1 -1
  794. package/icons/RocketQuickActions.mjs.map +1 -1
  795. package/icons/RotateCW.cjs.map +1 -1
  796. package/icons/RotateCW.mjs.map +1 -1
  797. package/icons/Ruler.cjs.map +1 -1
  798. package/icons/Ruler.mjs.map +1 -1
  799. package/icons/SaveFloppy.cjs +36 -0
  800. package/icons/SaveFloppy.cjs.map +1 -0
  801. package/icons/SaveFloppy.d.ts +5 -0
  802. package/icons/SaveFloppy.mjs +25 -0
  803. package/icons/SaveFloppy.mjs.map +1 -0
  804. package/icons/Select.cjs.map +1 -1
  805. package/icons/Select.mjs.map +1 -1
  806. package/icons/Send.cjs.map +1 -1
  807. package/icons/Send.mjs.map +1 -1
  808. package/icons/Shuffle.cjs.map +1 -1
  809. package/icons/Shuffle.mjs.map +1 -1
  810. package/icons/Skeleton.cjs +8 -6
  811. package/icons/Skeleton.cjs.map +1 -1
  812. package/icons/Skeleton.css +8 -10
  813. package/icons/Skeleton.css.map +1 -1
  814. package/icons/Skeleton.mjs +9 -7
  815. package/icons/Skeleton.mjs.map +1 -1
  816. package/icons/SlowConnectionCircle.cjs.map +1 -1
  817. package/icons/SlowConnectionCircle.mjs.map +1 -1
  818. package/icons/SpeedFast.cjs +36 -0
  819. package/icons/SpeedFast.cjs.map +1 -0
  820. package/icons/SpeedFast.d.ts +5 -0
  821. package/icons/SpeedFast.mjs +25 -0
  822. package/icons/SpeedFast.mjs.map +1 -0
  823. package/icons/StepBackward.cjs.map +1 -1
  824. package/icons/StepBackward.mjs.map +1 -1
  825. package/icons/StepForward.cjs.map +1 -1
  826. package/icons/StepForward.mjs.map +1 -1
  827. package/icons/Table.cjs.map +1 -1
  828. package/icons/Table.mjs.map +1 -1
  829. package/icons/Tag.cjs.map +1 -1
  830. package/icons/Tag.mjs.map +1 -1
  831. package/icons/Target.cjs.map +1 -1
  832. package/icons/Target.mjs.map +1 -1
  833. package/icons/TextBold.cjs.map +1 -1
  834. package/icons/TextBold.mjs.map +1 -1
  835. package/icons/TextHighlight.cjs.map +1 -1
  836. package/icons/TextHighlight.mjs.map +1 -1
  837. package/icons/TextIncrease.cjs.map +1 -1
  838. package/icons/TextIncrease.mjs.map +1 -1
  839. package/icons/TextNumbers.cjs.map +1 -1
  840. package/icons/TextNumbers.mjs.map +1 -1
  841. package/icons/TextParagraph.cjs.map +1 -1
  842. package/icons/TextParagraph.mjs.map +1 -1
  843. package/icons/TextReplaceComment.cjs.map +1 -1
  844. package/icons/TextReplaceComment.mjs.map +1 -1
  845. package/icons/Tools.cjs.map +1 -1
  846. package/icons/Tools.mjs.map +1 -1
  847. package/icons/TouchOneFingerSwipeLeftRight.cjs.map +1 -1
  848. package/icons/TouchOneFingerSwipeLeftRight.mjs.map +1 -1
  849. package/icons/Transcript.cjs.map +1 -1
  850. package/icons/Transcript.mjs.map +1 -1
  851. package/icons/Translate.cjs.map +1 -1
  852. package/icons/Translate.mjs.map +1 -1
  853. package/icons/UserAvatarCursor.cjs.map +1 -1
  854. package/icons/UserAvatarCursor.mjs.map +1 -1
  855. package/icons/UserEdit.cjs.map +1 -1
  856. package/icons/UserEdit.mjs.map +1 -1
  857. package/icons/UserGroup.cjs.map +1 -1
  858. package/icons/UserGroup.mjs.map +1 -1
  859. package/icons/UserSettings.cjs +44 -0
  860. package/icons/UserSettings.cjs.map +1 -0
  861. package/icons/UserSettings.d.ts +5 -0
  862. package/icons/UserSettings.mjs +33 -0
  863. package/icons/UserSettings.mjs.map +1 -0
  864. package/icons/VectorDraw.cjs.map +1 -1
  865. package/icons/VectorDraw.mjs.map +1 -1
  866. package/icons/ViewGridFluid.cjs +36 -0
  867. package/icons/ViewGridFluid.cjs.map +1 -0
  868. package/icons/ViewGridFluid.d.ts +5 -0
  869. package/icons/ViewGridFluid.mjs +25 -0
  870. package/icons/ViewGridFluid.mjs.map +1 -0
  871. package/icons/ZoomIn.cjs.map +1 -1
  872. package/icons/ZoomIn.mjs.map +1 -1
  873. package/icons/ZoomOut.cjs.map +1 -1
  874. package/icons/ZoomOut.mjs.map +1 -1
  875. package/package.json +19 -21
  876. package/src/Accordion.tsx +6 -9
  877. package/src/ActionBar.tsx +229 -0
  878. package/src/ActionButton.tsx +27 -54
  879. package/src/ActionButtonGroup.tsx +9 -11
  880. package/src/ActionMenu.tsx +6 -9
  881. package/src/AlertDialog.tsx +5 -8
  882. package/src/Avatar.tsx +6 -9
  883. package/src/AvatarGroup.tsx +6 -9
  884. package/src/Badge.tsx +32 -16
  885. package/src/Breadcrumbs.tsx +19 -25
  886. package/src/Button.tsx +201 -158
  887. package/src/ButtonGroup.tsx +6 -9
  888. package/src/Card.tsx +2 -2
  889. package/src/CardView.tsx +54 -377
  890. package/src/Checkbox.tsx +7 -10
  891. package/src/CheckboxGroup.tsx +8 -11
  892. package/src/ClearButton.tsx +2 -5
  893. package/src/CloseButton.tsx +22 -32
  894. package/src/ColorArea.tsx +6 -9
  895. package/src/ColorField.tsx +6 -9
  896. package/src/ColorSlider.tsx +6 -9
  897. package/src/ColorSwatch.tsx +7 -10
  898. package/src/ColorSwatchPicker.tsx +6 -10
  899. package/src/ColorWheel.tsx +6 -9
  900. package/src/ComboBox.tsx +7 -9
  901. package/src/Content.tsx +23 -39
  902. package/src/ContextualHelp.tsx +7 -10
  903. package/src/CustomDialog.tsx +5 -8
  904. package/src/Dialog.tsx +6 -9
  905. package/src/Disclosure.tsx +16 -25
  906. package/src/Divider.tsx +17 -26
  907. package/src/DropZone.tsx +7 -10
  908. package/src/Field.tsx +26 -33
  909. package/src/Form.tsx +7 -10
  910. package/src/FullscreenDialog.tsx +5 -8
  911. package/src/Icon.tsx +2 -2
  912. package/src/IllustratedMessage.tsx +7 -10
  913. package/src/Image.tsx +21 -10
  914. package/src/InlineAlert.tsx +6 -10
  915. package/src/Link.tsx +15 -23
  916. package/src/Menu.tsx +77 -36
  917. package/src/Meter.tsx +14 -24
  918. package/src/Modal.tsx +22 -52
  919. package/src/NumberField.tsx +6 -9
  920. package/src/Picker.tsx +88 -69
  921. package/src/Popover.tsx +32 -105
  922. package/src/ProgressBar.tsx +15 -25
  923. package/src/ProgressCircle.tsx +19 -25
  924. package/src/Radio.tsx +6 -9
  925. package/src/RadioGroup.tsx +8 -11
  926. package/src/RangeSlider.tsx +3 -6
  927. package/src/SearchField.tsx +6 -9
  928. package/src/SegmentedControl.tsx +16 -25
  929. package/src/Skeleton.tsx +6 -8
  930. package/src/Slider.tsx +3 -6
  931. package/src/StatusLight.tsx +7 -10
  932. package/src/Switch.tsx +7 -10
  933. package/src/TableView.tsx +120 -121
  934. package/src/Tabs.tsx +450 -147
  935. package/src/TabsPicker.tsx +350 -0
  936. package/src/TagGroup.tsx +11 -18
  937. package/src/TextField.tsx +22 -30
  938. package/src/ToggleButton.tsx +9 -11
  939. package/src/ToggleButtonGroup.tsx +6 -9
  940. package/src/Tooltip.tsx +34 -55
  941. package/src/TreeView.tsx +450 -0
  942. package/src/bar-utils.ts +3 -10
  943. package/src/index.ts +4 -0
  944. package/src/style-utils.ts +15 -9
  945. package/style/__tests__/style-macro.test.js +3 -7
  946. package/style/dist/main.cjs +1 -0
  947. package/style/dist/main.cjs.map +1 -1
  948. package/style/dist/module.mjs +2 -2
  949. package/style/dist/module.mjs.map +1 -1
  950. package/style/dist/spectrum-theme.cjs +72 -5
  951. package/style/dist/spectrum-theme.cjs.map +1 -1
  952. package/style/dist/spectrum-theme.mjs +72 -6
  953. package/style/dist/spectrum-theme.mjs.map +1 -1
  954. package/style/dist/style-macro.cjs +18 -4
  955. package/style/dist/style-macro.cjs.map +1 -1
  956. package/style/dist/style-macro.mjs +18 -4
  957. package/style/dist/style-macro.mjs.map +1 -1
  958. package/style/dist/types.d.ts +50 -29
  959. package/style/dist/types.d.ts.map +1 -1
  960. package/style/index.ts +1 -1
  961. package/style/spectrum-theme.ts +72 -8
  962. package/style/style-macro.ts +29 -7
  963. package/style/tokens.ts +30 -0
  964. package/style/types.ts +1 -1
  965. package/icons/CloudStateDefault.cjs +0 -36
  966. package/icons/CloudStateDefault.cjs.map +0 -1
  967. package/icons/CloudStateDefault.mjs +0 -25
  968. package/icons/CloudStateDefault.mjs.map +0 -1
  969. package/icons/CloudStateDisconnected.cjs +0 -36
  970. package/icons/CloudStateDisconnected.cjs.map +0 -1
  971. package/icons/CloudStateDisconnected.mjs +0 -25
  972. package/icons/CloudStateDisconnected.mjs.map +0 -1
  973. package/icons/CloudStateError.cjs +0 -36
  974. package/icons/CloudStateError.cjs.map +0 -1
  975. package/icons/CloudStateError.mjs +0 -25
  976. package/icons/CloudStateError.mjs.map +0 -1
  977. package/icons/CloudStateErrorRed.cjs +0 -46
  978. package/icons/CloudStateErrorRed.cjs.map +0 -1
  979. package/icons/CloudStateErrorRed.mjs +0 -35
  980. package/icons/CloudStateErrorRed.mjs.map +0 -1
  981. package/icons/CloudStateInProgress.cjs +0 -36
  982. package/icons/CloudStateInProgress.cjs.map +0 -1
  983. package/icons/CloudStateInProgress.mjs +0 -25
  984. package/icons/CloudStateInProgress.mjs.map +0 -1
  985. package/icons/CloudStateOnline.cjs +0 -50
  986. package/icons/CloudStateOnline.cjs.map +0 -1
  987. package/icons/CloudStateOnline.mjs +0 -39
  988. package/icons/CloudStateOnline.mjs.map +0 -1
  989. package/icons/CloudStatePaused.cjs +0 -36
  990. package/icons/CloudStatePaused.cjs.map +0 -1
  991. package/icons/CloudStatePaused.mjs +0 -25
  992. package/icons/CloudStatePaused.mjs.map +0 -1
  993. package/icons/CloudStatePending.cjs +0 -42
  994. package/icons/CloudStatePending.cjs.map +0 -1
  995. package/icons/CloudStatePending.mjs +0 -31
  996. package/icons/CloudStatePending.mjs.map +0 -1
  997. package/icons/CloudStateSlowConnection.cjs +0 -36
  998. package/icons/CloudStateSlowConnection.cjs.map +0 -1
  999. package/icons/CloudStateSlowConnection.mjs +0 -25
  1000. package/icons/CloudStateSlowConnection.mjs.map +0 -1
  1001. /package/icons/{CloudStateDefault.d.ts → ABC.d.ts} +0 -0
  1002. /package/icons/{CloudStateDisconnected.d.ts → App.d.ts} +0 -0
  1003. /package/icons/{CloudStateError.d.ts → Bookmark.d.ts} +0 -0
  1004. /package/icons/{CloudStateErrorRed.d.ts → Building.d.ts} +0 -0
  1005. /package/icons/{CloudStateInProgress.d.ts → CallCenter.d.ts} +0 -0
  1006. /package/icons/{CloudStateOnline.d.ts → ChartBarVert.d.ts} +0 -0
  1007. /package/icons/{CloudStatePaused.d.ts → ChartPie.d.ts} +0 -0
  1008. /package/icons/{CloudStatePending.d.ts → ChartTrend.d.ts} +0 -0
  1009. /package/icons/{CloudStateSlowConnection.d.ts → Chat.d.ts} +0 -0
package/dist/types.d.ts CHANGED
@@ -1,16 +1,15 @@
1
1
  import React, { CSSProperties, ReactNode, Context, RefAttributes, ForwardRefExoticComponent, JSXElementConstructor, ReactElement, ReactPortal, JSX, HTMLAttributeReferrerPolicy, ComponentType, FunctionComponent, SVGProps, RefObject } from "react";
2
- import { ContextValue, SlotProps, FormProps as _FormProps1, ButtonProps as _ButtonProps1, DisclosurePanelProps as _DisclosurePanelProps1, DisclosureProps as _DisclosureProps1, DisclosureGroupProps, CheckboxProps as _CheckboxProps1, SeparatorProps, PopoverProps as _PopoverProps1, DialogProps as _DialogProps1, MenuItemProps as _MenuItemProps1, MenuProps as _MenuProps1, MenuSectionProps as _MenuSectionProps1, MenuTriggerProps as _MenuTriggerProps1, SubmenuTriggerProps as _SubmenuTriggerProps1, ProgressBarProps as _ProgressBarProps1, LinkProps as _LinkProps1, BreadcrumbsProps as _BreadcrumbsProps1, GridListItemProps, GridListProps, DialogTriggerProps as _DialogTriggerProps1, CheckboxGroupProps as _CheckboxGroupProps1, ColorAreaProps as _ColorAreaProps1, ColorFieldProps as _ColorFieldProps1, ColorSliderProps as _ColorSliderProps1, ColorSwatchProps as _ColorSwatchProps1, ColorWheelProps as _ColorWheelProps1, SelectProps, ListBoxItemProps, ListBoxProps, SectionProps, ComboBoxProps as _ComboBoxProps1, DropZoneProps as _DropZoneProps1, MeterProps as _MeterProps1, NumberFieldProps as _NumberFieldProps1, RadioProps as _RadioProps1, RadioGroupProps as _RadioGroupProps1, SliderProps as _SliderProps1, SearchFieldProps as _SearchFieldProps1, SwitchProps as _SwitchProps1, Key as _Key1, CellProps as _CellProps1, ColumnProps as _ColumnProps1, RowProps as _RowProps1, TableBodyProps as _TableBodyProps1, TableHeaderProps as _TableHeaderProps1, TableProps, TabListProps as _TabListProps1, TabPanelProps as _TabPanelProps1, TabProps as _TabProps1, TabsProps as _TabsProps1, TagGroupProps as _TagGroupProps1, TagProps as _TagProps1, TagListProps, TextFieldProps as _TextFieldProps1, ToggleButtonGroupProps as _ToggleButtonGroupProps1, ToggleButtonProps as _ToggleButtonProps1, TooltipProps as _TooltipProps1, TooltipTriggerComponentProps } from "react-aria-components";
3
- import { DOMProps, DOMRefValue, AriaLabelingProps, SpectrumLabelableProps, FocusableRefValue, LinkDOMProps, LoadingState, HelpTextProps, Orientation, ValueBase, LabelPosition, InputDOMProps, RangeValue, Key } from "@react-types/shared";
2
+ import { AriaLabelingProps, DOMProps, DOMRefValue, SpectrumLabelableProps, FocusableRefValue, LinkDOMProps, Key, LoadingState, HelpTextProps, Orientation, ValueBase, LabelPosition, InputDOMProps, RangeValue } from "@react-types/shared";
3
+ import { ContextValue, SlotProps, FormProps as _FormProps1, ButtonProps as _ButtonProps1, DisclosurePanelProps as _DisclosurePanelProps1, DisclosureProps as _DisclosureProps1, DisclosureGroupProps, CheckboxProps as _CheckboxProps1, SeparatorProps, PopoverProps as _PopoverProps1, DialogProps as _DialogProps1, MenuItemProps as _MenuItemProps1, MenuProps as _MenuProps1, MenuSectionProps as _MenuSectionProps1, MenuTriggerProps as _MenuTriggerProps1, SubmenuTriggerProps as _SubmenuTriggerProps1, ProgressBarProps as _ProgressBarProps1, LinkProps as _LinkProps1, BreadcrumbsProps as _BreadcrumbsProps1, GridListItemProps, GridListProps, DialogTriggerProps as _DialogTriggerProps1, CheckboxGroupProps as _CheckboxGroupProps1, ColorAreaProps as _ColorAreaProps1, ColorFieldProps as _ColorFieldProps1, ColorSliderProps as _ColorSliderProps1, ColorSwatchProps as _ColorSwatchProps1, Color, ColorWheelProps as _ColorWheelProps1, SelectProps, ListBoxItemProps, ListBoxProps, SectionProps, ComboBoxProps as _ComboBoxProps1, DropZoneProps as _DropZoneProps1, MeterProps as _MeterProps1, NumberFieldProps as _NumberFieldProps1, RadioProps as _RadioProps1, RadioGroupProps as _RadioGroupProps1, SliderProps as _SliderProps1, SearchFieldProps as _SearchFieldProps1, SwitchProps as _SwitchProps1, Key as _Key1, CellProps as _CellProps1, ColumnProps as _ColumnProps1, RowProps as _RowProps1, TableBodyProps as _TableBodyProps1, TableHeaderProps as _TableHeaderProps1, TableProps, TabListProps as _TabListProps1, TabPanelProps as _TabPanelProps1, TabProps as _TabProps1, TabsProps as _TabsProps1, TagGroupProps as _TagGroupProps1, TagProps as _TagProps1, TagListProps, TextFieldProps as _TextFieldProps1, ToggleButtonGroupProps as _ToggleButtonGroupProps1, ToggleButtonProps as _ToggleButtonProps1, TooltipProps as _TooltipProps1, TooltipTriggerComponentProps, TreeItemProps, TreeProps, TreeItemContentProps } from "react-aria-components";
4
4
  import { ColorScheme, Router } from "@react-types/provider";
5
5
  import { AriaBreadcrumbItemProps } from "react-aria";
6
6
  import { TextFieldRef } from "@react-types/textfield";
7
- import { Color } from "@react-types/color";
8
7
  import { SpectrumDialogContainerProps } from "@react-types/dialog";
9
8
  import { ColumnSize } from "@react-types/table";
10
9
  type StyleString<P = string> = string & {
11
10
  properties: P;
12
11
  };
13
- declare const allowedOverrides: readonly ["margin", "marginStart", "marginEnd", "marginTop", "marginBottom", "marginX", "marginY", "flex", "flexGrow", "flexShrink", "flexBasis", "justifySelf", "alignSelf", "order", "gridArea", "gridRow", "gridRowStart", "gridRowEnd", "gridColumn", "gridColumnStart", "gridColumnEnd", "position", "zIndex", "top", "bottom", "inset", "insetX", "insetY", "insetStart", "insetEnd"];
12
+ declare const allowedOverrides: readonly ["margin", "marginStart", "marginEnd", "marginTop", "marginBottom", "marginX", "marginY", "flexGrow", "flexShrink", "flexBasis", "justifySelf", "alignSelf", "order", "gridArea", "gridRow", "gridRowStart", "gridRowEnd", "gridColumn", "gridColumnStart", "gridColumnEnd", "position", "zIndex", "top", "bottom", "inset", "insetX", "insetY", "insetStart", "insetEnd"];
14
13
  declare const widthProperties: readonly ["width", "minWidth", "maxWidth"];
15
14
  declare const heightProperties: readonly ["size", "height", "minHeight", "maxHeight"];
16
15
  type StylesProp = StyleString<(typeof allowedOverrides)[number] | (typeof widthProperties)[number]>;
@@ -26,7 +25,7 @@ interface StyleProps extends UnsafeStyles {
26
25
  /** Spectrum-defined styles, returned by the `style()` macro. */
27
26
  styles?: StylesProp;
28
27
  }
29
- export interface ActionButtonGroupProps extends UnsafeStyles, SlotProps {
28
+ export interface ActionButtonGroupProps extends AriaLabelingProps, UnsafeStyles, SlotProps {
30
29
  /** Spectrum-defined styles, returned by the `style()` macro. */
31
30
  styles?: StylesPropWithHeight;
32
31
  /** The children of the group. */
@@ -46,7 +45,7 @@ export interface ActionButtonGroupProps extends UnsafeStyles, SlotProps {
46
45
  /** Whether the buttons should divide the container width equally. */
47
46
  isJustified?: boolean;
48
47
  /** Whether the button should be displayed with an [emphasized style](https://spectrum.adobe.com/page/action-button/#Emphasis). */
49
- staticColor?: 'white' | 'black';
48
+ staticColor?: 'white' | 'black' | 'auto';
50
49
  /**
51
50
  * The axis the group should align with.
52
51
  * @default 'horizontal'
@@ -55,7 +54,7 @@ export interface ActionButtonGroupProps extends UnsafeStyles, SlotProps {
55
54
  /** Whether the group is disabled. */
56
55
  isDisabled?: boolean;
57
56
  }
58
- export const ActionButtonGroupContext: Context<ContextValue<ActionButtonGroupProps, HTMLDivElement>>;
57
+ export const ActionButtonGroupContext: Context<ContextValue<Partial<ActionButtonGroupProps>, HTMLDivElement>>;
59
58
  /**
60
59
  * An ActionButtonGroup is a grouping of related ActionButtons.
61
60
  */
@@ -110,6 +109,11 @@ export interface ImageProps extends UnsafeStyles, SlotProps {
110
109
  * [See MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#decoding).
111
110
  */
112
111
  decoding?: 'async' | 'auto' | 'sync';
112
+ /**
113
+ * Provides a hint of the relative priority to use when fetching the image.
114
+ * [See MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#fetchpriority).
115
+ */
116
+ fetchPriority?: 'high' | 'low' | 'auto';
113
117
  /**
114
118
  * Whether the image should be loaded immediately or lazily when scrolled into view.
115
119
  * [See MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#loading).
@@ -133,7 +137,7 @@ export interface ImageProps extends UnsafeStyles, SlotProps {
133
137
  interface ImageContextValue extends ImageProps {
134
138
  hidden?: boolean;
135
139
  }
136
- export const ImageContext: Context<ContextValue<ImageContextValue, HTMLDivElement>>;
140
+ export const ImageContext: Context<ContextValue<Partial<ImageContextValue>, HTMLDivElement>>;
137
141
  export const Image: ForwardRefExoticComponent<ImageProps & RefAttributes<HTMLDivElement>>;
138
142
  export interface AvatarProps extends UnsafeStyles, DOMProps, SlotProps {
139
143
  /** Text description of the avatar. */
@@ -150,11 +154,11 @@ export interface AvatarProps extends UnsafeStyles, DOMProps, SlotProps {
150
154
  /** Whether the avatar is over a color background. */
151
155
  isOverBackground?: boolean;
152
156
  }
153
- export const AvatarContext: Context<ContextValue<AvatarProps, DOMRefValue<HTMLImageElement>>>;
157
+ export const AvatarContext: Context<ContextValue<Partial<AvatarProps>, DOMRefValue<HTMLImageElement>>>;
154
158
  /**
155
159
  * An avatar is a thumbnail representation of an entity, such as a user or an organization.
156
160
  */
157
- export let Avatar: ForwardRefExoticComponent<AvatarProps & RefAttributes<DOMRefValue<HTMLImageElement>>>;
161
+ export const Avatar: ForwardRefExoticComponent<AvatarProps & RefAttributes<DOMRefValue<HTMLImageElement>>>;
158
162
  export interface IconProps extends UnsafeStyles, SlotProps, AriaLabelingProps, DOMProps {
159
163
  'aria-hidden'?: boolean | 'false' | 'true';
160
164
  }
@@ -165,31 +169,32 @@ export interface IconContextValue extends UnsafeStyles, SlotProps {
165
169
  interface IllustrationContextValue extends IconContextValue {
166
170
  size?: 'S' | 'M' | 'L';
167
171
  }
168
- export const IconContext: Context<ContextValue<IconContextValue, SVGElement>>;
169
- export const IllustrationContext: Context<ContextValue<IllustrationContextValue, SVGElement>>;
172
+ export const IconContext: Context<ContextValue<Partial<IconContextValue>, SVGElement>>;
173
+ export const IllustrationContext: Context<ContextValue<Partial<IllustrationContextValue>, SVGElement>>;
170
174
  export function createIcon(Component: ComponentType<SVGProps<SVGSVGElement>>, context?: Context<ContextValue<IconContextValue, SVGElement>>): FunctionComponent<IconProps>;
171
175
  export function pressScale<R extends {
172
176
  isPressed: boolean;
173
177
  }>(ref: RefObject<HTMLElement | null>, style?: CSSProperties | ((renderProps: R) => CSSProperties)): (renderProps: R) => CSSProperties;
174
178
  interface ContentProps extends UnsafeStyles, SlotProps {
175
- children?: ReactNode;
179
+ children: ReactNode;
176
180
  styles?: StyleString;
177
181
  isHidden?: boolean;
182
+ id?: string;
178
183
  }
179
184
  interface HeadingProps extends ContentProps {
180
185
  level?: number;
181
186
  }
182
- export const HeadingContext: Context<ContextValue<HeadingProps, DOMRefValue<HTMLHeadingElement>>>;
187
+ export const HeadingContext: Context<ContextValue<Partial<HeadingProps>, DOMRefValue<HTMLHeadingElement>>>;
183
188
  export const Heading: ForwardRefExoticComponent<HeadingProps & RefAttributes<DOMRefValue<HTMLHeadingElement>>>;
184
- export const HeaderContext: Context<ContextValue<ContentProps, DOMRefValue<HTMLElement>>>;
189
+ export const HeaderContext: Context<ContextValue<Partial<ContentProps>, DOMRefValue<HTMLElement>>>;
185
190
  export const Header: ForwardRefExoticComponent<ContentProps & RefAttributes<DOMRefValue<HTMLElement>>>;
186
- export const ContentContext: Context<ContextValue<ContentProps, DOMRefValue<HTMLDivElement>>>;
191
+ export const ContentContext: Context<ContextValue<Partial<ContentProps>, DOMRefValue<HTMLDivElement>>>;
187
192
  export const Content: ForwardRefExoticComponent<ContentProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
188
- export const TextContext: Context<ContextValue<ContentProps, DOMRefValue<HTMLElement>>>;
193
+ export const TextContext: Context<ContextValue<Partial<ContentProps>, DOMRefValue<HTMLElement>>>;
189
194
  export const Text: ForwardRefExoticComponent<ContentProps & RefAttributes<DOMRefValue<HTMLElement>>>;
190
- export const KeyboardContext: Context<ContextValue<ContentProps, DOMRefValue<HTMLElement>>>;
195
+ export const KeyboardContext: Context<ContextValue<Partial<ContentProps>, DOMRefValue<HTMLElement>>>;
191
196
  export const Keyboard: ForwardRefExoticComponent<ContentProps & RefAttributes<DOMRefValue<HTMLElement>>>;
192
- export const FooterContext: Context<ContextValue<ContentProps, DOMRefValue<HTMLElement>>>;
197
+ export const FooterContext: Context<ContextValue<Partial<ContentProps>, DOMRefValue<HTMLElement>>>;
193
198
  export const Footer: ForwardRefExoticComponent<ContentProps & RefAttributes<DOMRefValue<HTMLElement>>>;
194
199
  interface FormStyleProps extends Omit<SpectrumLabelableProps, 'label' | 'contextualHelp'> {
195
200
  /**
@@ -203,12 +208,12 @@ interface FormStyleProps extends Omit<SpectrumLabelableProps, 'label' | 'context
203
208
  isEmphasized?: boolean;
204
209
  }
205
210
  export interface FormProps extends FormStyleProps, Omit<_FormProps1, 'className' | 'style' | 'children'>, StyleProps {
206
- children?: ReactNode;
211
+ children: ReactNode;
207
212
  }
208
213
  /**
209
214
  * Forms allow users to enter data that can be submitted while providing alignment and styling for form fields.
210
215
  */
211
- export let Form: ForwardRefExoticComponent<FormProps & RefAttributes<DOMRefValue<HTMLFormElement>>>;
216
+ export const Form: ForwardRefExoticComponent<FormProps & RefAttributes<DOMRefValue<HTMLFormElement>>>;
212
217
  interface ActionButtonStyleProps {
213
218
  /**
214
219
  * The size of the ActionButton.
@@ -217,20 +222,20 @@ interface ActionButtonStyleProps {
217
222
  */
218
223
  size?: 'XS' | 'S' | 'M' | 'L' | 'XL';
219
224
  /** The static color style to apply. Useful when the ActionButton appears over a color background. */
220
- staticColor?: 'black' | 'white';
225
+ staticColor?: 'black' | 'white' | 'auto';
221
226
  /** Whether the button should be displayed with a [quiet style](https://spectrum.adobe.com/page/action-button/#Quiet). */
222
227
  isQuiet?: boolean;
223
228
  }
224
229
  export interface ActionButtonProps extends Omit<_ButtonProps1, 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange' | 'isPending'>, StyleProps, ActionButtonStyleProps {
225
230
  /** The content to display in the ActionButton. */
226
- children?: ReactNode;
231
+ children: ReactNode;
227
232
  }
228
- export const ActionButtonContext: Context<ContextValue<ActionButtonProps, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
233
+ export const ActionButtonContext: Context<ContextValue<Partial<ActionButtonProps>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
229
234
  /**
230
235
  * ActionButtons allow users to perform an action.
231
236
  * 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
237
  */
233
- export let ActionButton: ForwardRefExoticComponent<ActionButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
238
+ export const ActionButton: ForwardRefExoticComponent<ActionButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
234
239
  export interface DisclosureProps extends Omit<_DisclosureProps1, 'className' | 'style' | 'children'>, StyleProps {
235
240
  /**
236
241
  * The size of the disclosure.
@@ -247,11 +252,11 @@ export interface DisclosureProps extends Omit<_DisclosureProps1, 'className' | '
247
252
  /** The contents of the disclosure, consisting of a DisclosureTitle and DisclosurePanel. */
248
253
  children: ReactNode;
249
254
  }
250
- export const DisclosureContext: React.Context<ContextValue<Omit<DisclosureProps, "children">, DOMRefValue<HTMLDivElement>>>;
255
+ export const DisclosureContext: React.Context<ContextValue<Partial<DisclosureProps>, DOMRefValue<HTMLDivElement>>>;
251
256
  /**
252
257
  * 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
258
  */
254
- export let Disclosure: React.ForwardRefExoticComponent<DisclosureProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
259
+ export const Disclosure: React.ForwardRefExoticComponent<DisclosureProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
255
260
  interface DisclosureTitleProps extends UnsafeStyles, DOMProps {
256
261
  /** The heading level of the disclosure header.
257
262
  *
@@ -271,14 +276,14 @@ export const DisclosureHeader: (props: DisclosureHeaderProps & React.RefAttribut
271
276
  /**
272
277
  * A disclosure title consisting of a heading and a trigger button to expand/collapse the panel.
273
278
  */
274
- export let DisclosureTitle: React.ForwardRefExoticComponent<DisclosureTitleProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
279
+ export const DisclosureTitle: React.ForwardRefExoticComponent<DisclosureTitleProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
275
280
  export interface DisclosurePanelProps extends Omit<_DisclosurePanelProps1, 'className' | 'style' | 'children'>, UnsafeStyles, DOMProps, AriaLabelingProps {
276
281
  children: React.ReactNode;
277
282
  }
278
283
  /**
279
284
  * A disclosure panel is a collapsible section of content that is hidden until the disclosure is expanded.
280
285
  */
281
- export let DisclosurePanel: React.ForwardRefExoticComponent<DisclosurePanelProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
286
+ export const DisclosurePanel: React.ForwardRefExoticComponent<DisclosurePanelProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
282
287
  export interface AccordionProps extends Omit<DisclosureGroupProps, 'className' | 'style' | 'children'>, UnsafeStyles, DOMProps, SlotProps {
283
288
  /** The disclosure elements in the accordion. */
284
289
  children: React.ReactNode;
@@ -297,11 +302,39 @@ export interface AccordionProps extends Omit<DisclosureGroupProps, 'className' |
297
302
  /** Whether the accordion should be displayed with a quiet style. */
298
303
  isQuiet?: boolean;
299
304
  }
300
- export const AccordionContext: React.Context<ContextValue<AccordionProps, DOMRefValue<HTMLDivElement>>>;
305
+ export const AccordionContext: React.Context<ContextValue<Partial<AccordionProps>, DOMRefValue<HTMLDivElement>>>;
301
306
  /**
302
307
  * An accordion is a container for multiple disclosures.
303
308
  */
304
- export let Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
309
+ export const Accordion: React.ForwardRefExoticComponent<AccordionProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
310
+ export interface CloseButtonProps extends Pick<_ButtonProps1, 'isDisabled' | 'onPress'>, StyleProps {
311
+ /**
312
+ * The size of the CloseButton.
313
+ *
314
+ * @default 'M'
315
+ */
316
+ size?: 'S' | 'M' | 'L' | 'XL';
317
+ /** The static color style to apply. Useful when the Button appears over a color background. */
318
+ staticColor?: 'white' | 'black' | 'auto';
319
+ }
320
+ /**
321
+ * A CloseButton allows a user to dismiss a dialog.
322
+ */
323
+ export const CloseButton: ForwardRefExoticComponent<CloseButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
324
+ export interface ActionBarProps extends SlotProps {
325
+ /** A list of ActionButtons to display. */
326
+ children: ReactNode;
327
+ /** Whether the ActionBar should be displayed with a emphasized style. */
328
+ isEmphasized?: boolean;
329
+ /** The number of selected items that the ActionBar is currently linked to. If 0, the ActionBar is hidden. */
330
+ selectedItemCount?: number | 'all';
331
+ /** Handler that is called when the ActionBar clear button is pressed. */
332
+ onClearSelection?: () => void;
333
+ /** A ref to the scrollable element the ActionBar appears above. */
334
+ scrollRef?: RefObject<HTMLElement | null>;
335
+ }
336
+ export const ActionBarContext: Context<ContextValue<Partial<ActionBarProps>, DOMRefValue<HTMLDivElement>>>;
337
+ export const ActionBar: ForwardRefExoticComponent<ActionBarProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
305
338
  interface CheckboxStyleProps {
306
339
  /**
307
340
  * The size of the Checkbox.
@@ -316,12 +349,12 @@ export interface CheckboxProps extends Omit<_CheckboxProps1, 'className' | 'styl
316
349
  /** The label for the element. */
317
350
  children?: ReactNode;
318
351
  }
319
- export const CheckboxContext: Context<ContextValue<CheckboxProps, FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
352
+ export const CheckboxContext: Context<ContextValue<Partial<CheckboxProps>, FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
320
353
  /**
321
354
  * Checkboxes allow users to select multiple items from a list of individual items,
322
355
  * or to mark one individual item as selected.
323
356
  */
324
- export let Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
357
+ export const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
325
358
  interface DividerSpectrumProps {
326
359
  /**
327
360
  * How thick the Divider should be.
@@ -334,16 +367,16 @@ interface DividerSpectrumProps {
334
367
  */
335
368
  orientation?: 'horizontal' | 'vertical';
336
369
  /** The static color style to apply. Useful when the Divider appears over a color background. */
337
- staticColor?: 'white' | 'black';
370
+ staticColor?: 'white' | 'black' | 'auto';
338
371
  }
339
372
  export interface DividerProps extends DividerSpectrumProps, Omit<SeparatorProps, 'className' | 'style' | 'elementType'>, StyleProps {
340
373
  }
341
- export const DividerContext: Context<ContextValue<DividerProps, DOMRefValue<HTMLElement>>>;
374
+ export const DividerContext: Context<ContextValue<Partial<DividerProps>, DOMRefValue<HTMLElement>>>;
342
375
  /**
343
376
  * Dividers bring clarity to a layout by grouping and dividing content in close proximity.
344
377
  * They can also be used to establish rhythm and hierarchy.
345
378
  */
346
- export let Divider: ForwardRefExoticComponent<DividerProps & RefAttributes<DOMRefValue<HTMLElement>>>;
379
+ export const Divider: ForwardRefExoticComponent<DividerProps & RefAttributes<DOMRefValue<HTMLElement>>>;
347
380
  export interface ProviderProps extends UnsafeStyles {
348
381
  /** The content of the Provider. */
349
382
  children: ReactNode;
@@ -391,7 +424,7 @@ interface PopoverDialogProps extends Pick<PopoverProps, 'size' | 'hideArrow' | '
391
424
  /**
392
425
  * A popover is an overlay element positioned relative to a trigger.
393
426
  */
394
- export let Popover: ForwardRefExoticComponent<PopoverDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
427
+ export const Popover: ForwardRefExoticComponent<PopoverDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
395
428
  export interface MenuTriggerProps extends _MenuTriggerProps1 {
396
429
  /**
397
430
  * Alignment of the menu relative to the trigger.
@@ -412,7 +445,7 @@ export interface MenuTriggerProps extends _MenuTriggerProps1 {
412
445
  */
413
446
  shouldFlip?: boolean;
414
447
  }
415
- export interface MenuProps<T> extends Omit<_MenuProps1<T>, 'children' | 'style' | 'className' | 'dependencies'>, StyleProps {
448
+ export interface MenuProps<T> extends Omit<_MenuProps1<T>, 'children' | 'style' | 'className' | 'dependencies' | 'renderEmptyState'>, StyleProps {
416
449
  /**
417
450
  * The size of the Menu.
418
451
  *
@@ -422,13 +455,15 @@ export interface MenuProps<T> extends Omit<_MenuProps1<T>, 'children' | 'style'
422
455
  /**
423
456
  * The contents of the collection.
424
457
  */
425
- children?: ReactNode | ((item: T) => ReactNode);
458
+ children: ReactNode | ((item: T) => ReactNode);
459
+ /** Hides the default link out icons on menu items that open links in a new tab. */
460
+ hideLinkOutIcon?: boolean;
426
461
  }
427
- export const MenuContext: Context<ContextValue<MenuProps<any>, DOMRefValue<HTMLDivElement>>>;
462
+ export const MenuContext: Context<ContextValue<Partial<MenuProps<any>>, DOMRefValue<HTMLDivElement>>>;
428
463
  /**
429
464
  * Menus display a list of actions or options that a user can choose.
430
465
  */
431
- export let Menu: <T extends object>(props: MenuProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
466
+ export const Menu: <T extends object>(props: MenuProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
432
467
  export interface MenuSectionProps<T extends object> extends _MenuSectionProps1<T> {
433
468
  }
434
469
  export function MenuSection<T extends object>(props: MenuSectionProps<T>): JSX.Element;
@@ -450,11 +485,11 @@ export const SubmenuTrigger: (props: SubmenuTriggerProps) => JSX.Element | null;
450
485
  export interface ActionMenuProps<T> extends Pick<MenuTriggerProps, 'isOpen' | 'defaultOpen' | 'onOpenChange' | 'align' | 'direction' | 'shouldFlip'>, Pick<MenuProps<T>, 'children' | 'items' | 'disabledKeys' | 'onAction'>, Pick<ActionButtonProps, 'isDisabled' | 'isQuiet' | 'autoFocus' | 'size'>, StyleProps, DOMProps, AriaLabelingProps {
451
486
  menuSize?: 'S' | 'M' | 'L' | 'XL';
452
487
  }
453
- export const ActionMenuContext: Context<ContextValue<ActionMenuProps<any>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
488
+ export const ActionMenuContext: Context<ContextValue<Partial<ActionMenuProps<any>>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
454
489
  /**
455
490
  * ActionMenu combines an ActionButton with a Menu for simple "more actions" use cases.
456
491
  */
457
- export let ActionMenu: <T extends object>(props: ActionMenuProps<T> & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => ReactElement | null;
492
+ export const ActionMenu: <T extends object>(props: ActionMenuProps<T> & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => ReactElement | null;
458
493
  interface ProgressCircleStyleProps {
459
494
  /**
460
495
  * The size of the ProgressCircle.
@@ -463,13 +498,13 @@ interface ProgressCircleStyleProps {
463
498
  */
464
499
  size?: 'S' | 'M' | 'L';
465
500
  /** The static color style to apply. Useful when the button appears over a color background. */
466
- staticColor?: 'black' | 'white';
501
+ staticColor?: 'black' | 'white' | 'auto';
467
502
  /**
468
503
  * Whether presentation is indeterminate when progress isn't known.
469
504
  */
470
505
  isIndeterminate?: boolean;
471
506
  }
472
- export const ProgressCircleContext: Context<ContextValue<ProgressCircleProps, DOMRefValue<HTMLDivElement>>>;
507
+ export const ProgressCircleContext: Context<ContextValue<Partial<ProgressCircleProps>, DOMRefValue<HTMLDivElement>>>;
473
508
  export interface ProgressCircleProps extends Omit<_ProgressBarProps1, 'children' | 'style' | 'valueLabel' | 'formatOptions' | 'label' | 'className'>, ProgressCircleStyleProps, UnsafeStyles {
474
509
  /** Spectrum-defined styles, returned by the `style()` macro. */
475
510
  styles?: StylesPropWithHeight;
@@ -478,14 +513,14 @@ export interface ProgressCircleProps extends Omit<_ProgressBarProps1, 'children'
478
513
  * ProgressCircles show the progression of a system operation such as downloading, uploading, or processing, in a visual way.
479
514
  * They can represent determinate or indeterminate progress.
480
515
  */
481
- export let ProgressCircle: ForwardRefExoticComponent<ProgressCircleProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
516
+ export const ProgressCircle: ForwardRefExoticComponent<ProgressCircleProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
482
517
  interface ButtonStyleProps {
483
518
  /**
484
519
  * The [visual style](https://spectrum.adobe.com/page/button/#Options) of the button.
485
520
  *
486
521
  * @default 'primary'
487
522
  */
488
- variant?: 'primary' | 'secondary' | 'accent' | 'negative';
523
+ variant?: 'primary' | 'secondary' | 'accent' | 'negative' | 'premium' | 'genai';
489
524
  /**
490
525
  * The background style of the Button.
491
526
  *
@@ -499,28 +534,28 @@ interface ButtonStyleProps {
499
534
  */
500
535
  size?: 'S' | 'M' | 'L' | 'XL';
501
536
  /** The static color style to apply. Useful when the Button appears over a color background. */
502
- staticColor?: 'white' | 'black';
537
+ staticColor?: 'white' | 'black' | 'auto';
503
538
  }
504
539
  export interface ButtonProps extends Omit<_ButtonProps1, 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange'>, StyleProps, ButtonStyleProps {
505
540
  /** The content to display in the Button. */
506
- children?: ReactNode;
541
+ children: ReactNode;
507
542
  }
508
543
  export interface LinkButtonProps extends Omit<_LinkProps1, 'className' | 'style' | 'children'>, StyleProps, ButtonStyleProps {
509
544
  /** The content to display in the Button. */
510
- children?: ReactNode;
545
+ children: ReactNode;
511
546
  }
512
- export const ButtonContext: Context<ContextValue<ButtonProps, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
513
- export const LinkButtonContext: Context<ContextValue<ButtonProps, FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
547
+ export const ButtonContext: Context<ContextValue<Partial<ButtonProps>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
548
+ export const LinkButtonContext: Context<ContextValue<Partial<ButtonProps>, FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
514
549
  /**
515
550
  * Buttons allow users to perform an action.
516
551
  * They have multiple styles for various needs, and are ideal for calling attention to
517
552
  * where a user needs to do something in order to move forward in a flow.
518
553
  */
519
- export let Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
554
+ export const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
520
555
  /**
521
556
  * A LinkButton combines the functionality of a link with the appearance of a button. Useful for allowing users to navigate to another page.
522
557
  */
523
- export let LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
558
+ export const LinkButton: ForwardRefExoticComponent<LinkButtonProps & RefAttributes<FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
524
559
  interface ButtonGroupStyleProps {
525
560
  /**
526
561
  * The axis the ButtonGroup should align with. Setting this to 'vertical' will prevent
@@ -552,25 +587,11 @@ interface ButtonGroupContextValue extends Partial<ButtonGroupProps> {
552
587
  /** Whether the ButtonGroup shouldn't be rendered. */
553
588
  isHidden?: boolean;
554
589
  }
555
- export const ButtonGroupContext: Context<ContextValue<ButtonGroupContextValue, DOMRefValue<HTMLDivElement>>>;
590
+ export const ButtonGroupContext: Context<ContextValue<Partial<ButtonGroupContextValue>, DOMRefValue<HTMLDivElement>>>;
556
591
  /**
557
592
  * ButtonGroup handles overflow for a grouping of buttons whose actions are related to each other.
558
593
  */
559
594
  export const ButtonGroup: ForwardRefExoticComponent<ButtonGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
560
- export interface CloseButtonProps extends Pick<_ButtonProps1, 'isDisabled'>, StyleProps {
561
- /**
562
- * The size of the CloseButton.
563
- *
564
- * @default 'M'
565
- */
566
- size?: 'S' | 'M' | 'L' | 'XL';
567
- /** The static color style to apply. Useful when the Button appears over a color background. */
568
- staticColor?: 'white' | 'black';
569
- }
570
- /**
571
- * A CloseButton allows a user to dismiss a dialog.
572
- */
573
- export let CloseButton: ForwardRefExoticComponent<CloseButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
574
595
  export interface DialogProps extends Omit<_DialogProps1, 'className' | 'style'>, StyleProps {
575
596
  /**
576
597
  * Whether the Dialog is dismissible.
@@ -589,7 +610,7 @@ export interface DialogProps extends Omit<_DialogProps1, 'className' | 'style'>,
589
610
  * Dialogs are windows containing contextual information, tasks, or workflows that appear over the user interface.
590
611
  * Depending on the kind of Dialog, further interactions may be blocked until the Dialog is acknowledged.
591
612
  */
592
- export let Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
613
+ export const Dialog: ForwardRefExoticComponent<DialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
593
614
  export interface AlertDialogProps extends DOMProps, UnsafeStyles {
594
615
  /** The [visual style](https://spectrum.adobe.com/page/alert-dialog/#Options) of the AlertDialog. */
595
616
  variant?: 'confirmation' | 'information' | 'destructive' | 'error' | 'warning';
@@ -625,7 +646,7 @@ export interface AlertDialogProps extends DOMProps, UnsafeStyles {
625
646
  /**
626
647
  * AlertDialogs are a specific type of Dialog. They display important information that users need to acknowledge.
627
648
  */
628
- export let AlertDialog: ForwardRefExoticComponent<AlertDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
649
+ export const AlertDialog: ForwardRefExoticComponent<AlertDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
629
650
  export interface AvatarGroupProps extends UnsafeStyles, DOMProps, AriaLabelingProps, SlotProps {
630
651
  /** Avatar children of the avatar group. */
631
652
  children: ReactNode;
@@ -639,11 +660,11 @@ export interface AvatarGroupProps extends UnsafeStyles, DOMProps, AriaLabelingPr
639
660
  /** Spectrum-defined styles, returned by the `style()` macro. */
640
661
  styles?: StylesPropWithoutWidth;
641
662
  }
642
- export const AvatarGroupContext: Context<ContextValue<AvatarGroupProps, DOMRefValue<HTMLDivElement>>>;
663
+ export const AvatarGroupContext: Context<ContextValue<Partial<AvatarGroupProps>, DOMRefValue<HTMLDivElement>>>;
643
664
  /**
644
665
  * An avatar group is a grouping of avatars that are related to each other.
645
666
  */
646
- export let AvatarGroup: ForwardRefExoticComponent<AvatarGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
667
+ export const AvatarGroup: ForwardRefExoticComponent<AvatarGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
647
668
  interface BadgeStyleProps {
648
669
  /**
649
670
  * The size of the badge.
@@ -656,12 +677,17 @@ interface BadgeStyleProps {
656
677
  *
657
678
  * @default 'neutral'
658
679
  */
659
- variant?: 'accent' | 'informative' | 'neutral' | 'positive' | 'notice' | 'negative' | 'gray' | 'red' | 'orange' | 'yellow' | 'charteuse' | 'celery' | 'green' | 'seafoam' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'fuchsia' | 'magenta' | 'pink' | 'turquoise' | 'brown' | 'cinnamon' | 'silver';
680
+ variant?: 'accent' | 'informative' | 'neutral' | 'positive' | 'notice' | 'negative' | 'gray' | 'red' | 'orange' | 'yellow' | 'chartreuse' | 'celery' | 'green' | 'seafoam' | 'cyan' | 'blue' | 'indigo' | 'purple' | 'fuchsia' | 'magenta' | 'pink' | 'turquoise' | 'brown' | 'cinnamon' | 'silver';
660
681
  /**
661
682
  * The fill of the badge.
662
683
  * @default 'bold'
663
684
  */
664
685
  fillStyle?: 'bold' | 'subtle' | 'outline';
686
+ /**
687
+ * Sets the text behavior for the contents.
688
+ * @default 'wrap'
689
+ */
690
+ overflowMode?: 'wrap' | 'truncate';
665
691
  }
666
692
  export interface BadgeProps extends DOMProps, AriaLabelingProps, StyleProps, BadgeStyleProps, SlotProps {
667
693
  /**
@@ -673,7 +699,7 @@ export const BadgeContext: React.Context<ContextValue<Partial<BadgeProps>, DOMRe
673
699
  /**
674
700
  * Badges are used for showing a small amount of color-categorized metadata, ideal for getting a user's attention.
675
701
  */
676
- export let Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
702
+ export const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
677
703
  interface BreadcrumbsStyleProps {
678
704
  /**
679
705
  * Size of the Breadcrumbs including spacing and layout.
@@ -686,17 +712,17 @@ interface BreadcrumbsStyleProps {
686
712
  }
687
713
  export interface BreadcrumbsProps<T> extends Omit<_BreadcrumbsProps1<T>, 'children' | 'items' | 'style' | 'className'>, BreadcrumbsStyleProps, StyleProps {
688
714
  /** The children of the Breadcrumbs. */
689
- children?: ReactNode;
715
+ children: ReactNode;
690
716
  }
691
- export const BreadcrumbsContext: Context<ContextValue<BreadcrumbsProps<any>, DOMRefValue<HTMLOListElement>>>;
717
+ export const BreadcrumbsContext: Context<ContextValue<Partial<BreadcrumbsProps<any>>, DOMRefValue<HTMLOListElement>>>;
692
718
  /** 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;
719
+ export const Breadcrumbs: <T extends object>(props: BreadcrumbsProps<T> & RefAttributes<DOMRefValue<HTMLOListElement>>) => ReactElement | null;
694
720
  export interface BreadcrumbProps extends Omit<AriaBreadcrumbItemProps, 'children' | 'style' | 'className' | 'autoFocus'>, LinkDOMProps {
695
721
  /** The children of the breadcrumb item. */
696
- children?: ReactNode;
722
+ children: ReactNode;
697
723
  }
698
724
  /** An individual Breadcrumb for Breadcrumbs. */
699
- export let Breadcrumb: (props: BreadcrumbProps & RefAttributes<DOMRefValue<HTMLLIElement>>) => ReactElement | null;
725
+ export const Breadcrumb: (props: BreadcrumbProps & RefAttributes<DOMRefValue<HTMLLIElement>>) => ReactElement | null;
700
726
  interface CardRenderProps {
701
727
  /** The size of the Card. */
702
728
  size: 'XS' | 'S' | 'M' | 'L' | 'XL';
@@ -770,8 +796,10 @@ export interface CardViewProps<T> extends Omit<GridListProps<T>, 'layout' | 'key
770
796
  onLoadMore?: () => void;
771
797
  /** Spectrum-defined styles, returned by the `style()` macro. */
772
798
  styles?: StylesPropWithHeight;
799
+ /** Provides the ActionBar to render when cards are selected in the CardView. */
800
+ renderActionBar?: (selectedKeys: 'all' | Set<Key>) => ReactElement;
773
801
  }
774
- export const CardViewContext: Context<ContextValue<CardViewProps<any>, DOMRefValue<HTMLDivElement>>>;
802
+ export const CardViewContext: Context<ContextValue<Partial<CardViewProps<any>>, DOMRefValue<HTMLDivElement>>>;
775
803
  export const CardView: <T extends object>(props: CardViewProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
776
804
  export interface DialogTriggerProps extends _DialogTriggerProps1 {
777
805
  }
@@ -791,7 +819,7 @@ interface ContextualHelpStyleProps {
791
819
  }
792
820
  interface ContextualHelpProps extends Pick<DialogTriggerProps, 'isOpen' | 'defaultOpen' | 'onOpenChange'>, Pick<PopoverDialogProps, 'shouldFlip' | 'offset' | 'crossOffset' | 'placement' | 'containerPadding'>, ContextualHelpStyleProps, StyleProps, DOMProps, AriaLabelingProps {
793
821
  /** Contents of the Contextual Help popover. */
794
- children?: ReactNode;
822
+ children: ReactNode;
795
823
  /**
796
824
  * The size of the ActionButton.
797
825
  *
@@ -799,11 +827,11 @@ interface ContextualHelpProps extends Pick<DialogTriggerProps, 'isOpen' | 'defau
799
827
  */
800
828
  size?: 'XS' | 'S';
801
829
  }
802
- export const ContextualHelpContext: Context<ContextValue<ContextualHelpProps, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
830
+ export const ContextualHelpContext: Context<ContextValue<Partial<ContextualHelpProps>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
803
831
  /**
804
832
  * Contextual help shows a user extra information about the state of an adjacent component, or a total view.
805
833
  */
806
- export let ContextualHelp: ForwardRefExoticComponent<ContextualHelpProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
834
+ export const ContextualHelp: ForwardRefExoticComponent<ContextualHelpProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
807
835
  export interface CheckboxGroupProps extends Omit<_CheckboxGroupProps1, 'className' | 'style' | 'children'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
808
836
  /**
809
837
  * The size of the Checkboxes in the CheckboxGroup.
@@ -820,25 +848,25 @@ export interface CheckboxGroupProps extends Omit<_CheckboxGroupProps1, 'classNam
820
848
  /**
821
849
  * The Checkboxes contained within the CheckboxGroup.
822
850
  */
823
- children?: ReactNode;
851
+ children: ReactNode;
824
852
  /**
825
853
  * By default, checkboxes are not emphasized (gray).
826
854
  * The emphasized (blue) version provides visual prominence.
827
855
  */
828
856
  isEmphasized?: boolean;
829
857
  }
830
- export const CheckboxGroupContext: Context<ContextValue<CheckboxGroupProps, DOMRefValue<HTMLDivElement>>>;
858
+ export const CheckboxGroupContext: Context<ContextValue<Partial<CheckboxGroupProps>, DOMRefValue<HTMLDivElement>>>;
831
859
  /**
832
860
  * A CheckboxGroup allows users to select one or more items from a list of choices.
833
861
  */
834
- export let CheckboxGroup: ForwardRefExoticComponent<CheckboxGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
862
+ export const CheckboxGroup: ForwardRefExoticComponent<CheckboxGroupProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
835
863
  export interface ColorAreaProps extends Omit<_ColorAreaProps1, 'children' | 'className' | 'style'>, StyleProps {
836
864
  }
837
- export const ColorAreaContext: Context<ContextValue<ColorAreaProps, DOMRefValue<HTMLDivElement>>>;
865
+ export const ColorAreaContext: Context<ContextValue<Partial<ColorAreaProps>, DOMRefValue<HTMLDivElement>>>;
838
866
  /**
839
867
  * A ColorArea allows users to adjust two channels of an RGB, HSL or HSB color value against a two-dimensional gradient background.
840
868
  */
841
- export let ColorArea: ForwardRefExoticComponent<ColorAreaProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
869
+ export const ColorArea: ForwardRefExoticComponent<ColorAreaProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
842
870
  export interface ColorFieldProps extends Omit<_ColorFieldProps1, 'children' | 'className' | 'style'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
843
871
  /**
844
872
  * The size of the color field.
@@ -847,7 +875,7 @@ export interface ColorFieldProps extends Omit<_ColorFieldProps1, 'children' | 'c
847
875
  */
848
876
  size?: 'S' | 'M' | 'L' | 'XL';
849
877
  }
850
- export const ColorFieldContext: Context<ContextValue<ColorFieldProps, TextFieldRef<HTMLInputElement>>>;
878
+ export const ColorFieldContext: Context<ContextValue<Partial<ColorFieldProps>, TextFieldRef<HTMLInputElement>>>;
851
879
  /**
852
880
  * A color field allows users to edit a hex color or individual color channel value.
853
881
  */
@@ -855,11 +883,11 @@ export const ColorField: ForwardRefExoticComponent<ColorFieldProps & RefAttribut
855
883
  export interface ColorSliderProps extends Omit<_ColorSliderProps1, 'children' | 'className' | 'style'>, Pick<SpectrumLabelableProps, 'contextualHelp'>, StyleProps {
856
884
  label?: string;
857
885
  }
858
- export const ColorSliderContext: Context<ContextValue<ColorSliderProps, DOMRefValue<HTMLDivElement>>>;
886
+ export const ColorSliderContext: Context<ContextValue<Partial<ColorSliderProps>, DOMRefValue<HTMLDivElement>>>;
859
887
  /**
860
888
  * A ColorSlider allows users to adjust an individual channel of a color value.
861
889
  */
862
- export let ColorSlider: ForwardRefExoticComponent<ColorSliderProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
890
+ export const ColorSlider: ForwardRefExoticComponent<ColorSliderProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
863
891
  export interface ColorSwatchProps extends Omit<_ColorSwatchProps1, 'className' | 'style'>, UnsafeStyles {
864
892
  /**
865
893
  * The size of the ColorSwatch.
@@ -874,11 +902,11 @@ export interface ColorSwatchProps extends Omit<_ColorSwatchProps1, 'className' |
874
902
  /** Spectrum-defined styles, returned by the `style()` macro. */
875
903
  styles?: StylesPropWithHeight;
876
904
  }
877
- export const ColorSwatchContext: Context<ContextValue<ColorSwatchProps, DOMRefValue<HTMLDivElement>>>;
905
+ export const ColorSwatchContext: Context<ContextValue<Partial<ColorSwatchProps>, DOMRefValue<HTMLDivElement>>>;
878
906
  /**
879
907
  * A ColorSwatch displays a preview of a selected color.
880
908
  */
881
- export let ColorSwatch: ForwardRefExoticComponent<ColorSwatchProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
909
+ export const ColorSwatch: ForwardRefExoticComponent<ColorSwatchProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
882
910
  export interface ColorSwatchPickerProps extends ValueBase<string | Color, Color>, StyleProps, SlotProps {
883
911
  /** The ColorSwatches within the ColorSwatchPicker. */
884
912
  children: ReactNode;
@@ -902,18 +930,18 @@ export const ColorSwatchPickerContext: Context<ContextValue<Partial<ColorSwatchP
902
930
  /**
903
931
  * A ColorSwatchPicker displays a list of color swatches and allows a user to select one of them.
904
932
  */
905
- export let ColorSwatchPicker: ForwardRefExoticComponent<ColorSwatchPickerProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
933
+ export const ColorSwatchPicker: ForwardRefExoticComponent<ColorSwatchPickerProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
906
934
  export interface ColorWheelProps extends Omit<_ColorWheelProps1, 'children' | 'className' | 'style' | 'outerRadius' | 'innerRadius'>, StyleProps {
907
935
  /**
908
936
  * @default 192
909
937
  */
910
938
  size?: number;
911
939
  }
912
- export const ColorWheelContext: Context<ContextValue<ColorWheelProps, DOMRefValue<HTMLDivElement>>>;
940
+ export const ColorWheelContext: Context<ContextValue<Partial<ColorWheelProps>, DOMRefValue<HTMLDivElement>>>;
913
941
  /**
914
942
  * A ColorWheel allows users to adjust the hue of an HSL or HSB color value on a circular track.
915
943
  */
916
- export let ColorWheel: ForwardRefExoticComponent<ColorWheelProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
944
+ export const ColorWheel: ForwardRefExoticComponent<ColorWheelProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
917
945
  interface PickerStyleProps {
918
946
  /**
919
947
  * The size of the Picker.
@@ -949,7 +977,7 @@ export const PickerContext: React.Context<ContextValue<Partial<PickerProps<any>>
949
977
  /**
950
978
  * Pickers allow users to choose a single option from a collapsible list of options when space is limited.
951
979
  */
952
- export let Picker: <T extends object>(props: PickerProps<T> & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => React.ReactElement | null;
980
+ export const Picker: <T extends object>(props: PickerProps<T> & React.RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>) => React.ReactElement | null;
953
981
  export interface PickerItemProps extends Omit<ListBoxItemProps, 'children' | 'style' | 'className'>, StyleProps {
954
982
  children: ReactNode;
955
983
  }
@@ -987,7 +1015,7 @@ export const ComboBoxContext: Context<ContextValue<Partial<ComboBoxProps<any>>,
987
1015
  /**
988
1016
  * ComboBox allow users to choose a single option from a collapsible list of options when space is limited.
989
1017
  */
990
- export let ComboBox: <T extends object>(props: ComboBoxProps<T> & RefAttributes<TextFieldRef<HTMLInputElement>>) => ReactElement | null;
1018
+ export const ComboBox: <T extends object>(props: ComboBoxProps<T> & RefAttributes<TextFieldRef<HTMLInputElement>>) => ReactElement | null;
991
1019
  export interface ComboBoxItemProps extends Omit<ListBoxItemProps, 'children' | 'style' | 'className'>, StyleProps {
992
1020
  children: ReactNode;
993
1021
  }
@@ -1015,7 +1043,7 @@ export interface CustomDialogProps extends Omit<_DialogProps1, 'className' | 'st
1015
1043
  /**
1016
1044
  * A CustomDialog is a floating window with a custom layout.
1017
1045
  */
1018
- export let CustomDialog: ForwardRefExoticComponent<CustomDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
1046
+ export const CustomDialog: ForwardRefExoticComponent<CustomDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
1019
1047
  export interface FullscreenDialogProps extends Omit<_DialogProps1, 'className' | 'style'>, StyleProps {
1020
1048
  /**
1021
1049
  * The variant of fullscreen dialog to display.
@@ -1028,7 +1056,7 @@ export interface FullscreenDialogProps extends Omit<_DialogProps1, 'className' |
1028
1056
  /**
1029
1057
  * 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
1058
  */
1031
- export let FullscreenDialog: ForwardRefExoticComponent<FullscreenDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
1059
+ export const FullscreenDialog: ForwardRefExoticComponent<FullscreenDialogProps & RefAttributes<DOMRefValue<HTMLElement>>>;
1032
1060
  export interface DialogContainerProps extends Omit<SpectrumDialogContainerProps, 'type' | 'isDismissable' | 'isKeyboardDismissDisabled'> {
1033
1061
  }
1034
1062
  /**
@@ -1068,17 +1096,17 @@ interface IllustratedMessageContextProps extends Partial<S2SpectrumIllustratedMe
1068
1096
  isInDropZone?: boolean;
1069
1097
  isDropTarget?: boolean;
1070
1098
  }
1071
- export const IllustratedMessageContext: Context<ContextValue<IllustratedMessageContextProps, DOMRefValue<HTMLDivElement>>>;
1099
+ export const IllustratedMessageContext: Context<ContextValue<Partial<IllustratedMessageContextProps>, DOMRefValue<HTMLDivElement>>>;
1072
1100
  /**
1073
1101
  * An IllustratedMessage displays an illustration and a message, usually
1074
1102
  * for an empty state or an error page.
1075
1103
  */
1076
- export let IllustratedMessage: ForwardRefExoticComponent<S2SpectrumIllustratedMessageProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1104
+ export const IllustratedMessage: ForwardRefExoticComponent<S2SpectrumIllustratedMessageProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1077
1105
  export interface DropZoneProps extends Omit<_DropZoneProps1, 'className' | 'style' | 'children' | 'isDisabled' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange'>, UnsafeStyles, DOMProps {
1078
1106
  /** Spectrum-defined styles, returned by the `style()` macro. */
1079
1107
  styles?: StylesPropWithHeight;
1080
1108
  /** The content to display in the drop zone. */
1081
- children?: ReactNode;
1109
+ children: ReactNode;
1082
1110
  /** Whether the drop zone has been filled. */
1083
1111
  isFilled?: boolean;
1084
1112
  /** The message to replace the default banner message that is shown when the drop zone is filled. */
@@ -1090,11 +1118,11 @@ export interface DropZoneProps extends Omit<_DropZoneProps1, 'className' | 'styl
1090
1118
  */
1091
1119
  size?: 'S' | 'M' | 'L';
1092
1120
  }
1093
- export const DropZoneContext: Context<ContextValue<DropZoneProps, DOMRefValue<HTMLDivElement>>>;
1121
+ export const DropZoneContext: Context<ContextValue<Partial<DropZoneProps>, DOMRefValue<HTMLDivElement>>>;
1094
1122
  /**
1095
1123
  * A drop zone is an area into which one or multiple objects can be dragged and dropped.
1096
1124
  */
1097
- export let DropZone: ForwardRefExoticComponent<DropZoneProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1125
+ export const DropZone: ForwardRefExoticComponent<DropZoneProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1098
1126
  export interface InlineAlertProps extends DOMProps, StyleProps, InlineStylesProps, SlotProps {
1099
1127
  /**
1100
1128
  * The contents of the Inline Alert.
@@ -1130,16 +1158,16 @@ interface LinkStyleProps {
1130
1158
  */
1131
1159
  variant?: 'primary' | 'secondary';
1132
1160
  /** The static color style to apply. Useful when the link appears over a color background. */
1133
- staticColor?: 'white' | 'black';
1161
+ staticColor?: 'white' | 'black' | 'auto';
1134
1162
  /** Whether the link is on its own vs inside a longer string of text. */
1135
1163
  isStandalone?: boolean;
1136
1164
  /** Whether the link should be displayed with a quiet style. */
1137
1165
  isQuiet?: boolean;
1138
1166
  }
1139
1167
  export interface LinkProps extends Omit<_LinkProps1, 'isDisabled' | 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange'>, StyleProps, LinkStyleProps {
1140
- children?: ReactNode;
1168
+ children: ReactNode;
1141
1169
  }
1142
- export const LinkContext: Context<ContextValue<LinkProps, FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
1170
+ export const LinkContext: Context<ContextValue<Partial<LinkProps>, FocusableRefValue<HTMLAnchorElement, HTMLAnchorElement>>>;
1143
1171
  /**
1144
1172
  * Links allow users to navigate to a different location.
1145
1173
  * They can be presented inline inside a paragraph or as standalone text.
@@ -1159,7 +1187,7 @@ interface MeterStyleProps {
1159
1187
  /**
1160
1188
  * The static color style to apply. Useful when the button appears over a color background.
1161
1189
  */
1162
- staticColor?: 'white' | 'black';
1190
+ staticColor?: 'white' | 'black' | 'auto';
1163
1191
  /**
1164
1192
  * The label's overall position relative to the element it is labeling.
1165
1193
  * @default 'top'
@@ -1170,12 +1198,12 @@ export interface MeterProps extends Omit<_MeterProps1, 'children' | 'className'
1170
1198
  /** The content to display as the label. */
1171
1199
  label?: ReactNode;
1172
1200
  }
1173
- export const MeterContext: Context<ContextValue<MeterProps, DOMRefValue<HTMLDivElement>>>;
1201
+ export const MeterContext: Context<ContextValue<Partial<MeterProps>, DOMRefValue<HTMLDivElement>>>;
1174
1202
  /**
1175
1203
  * Meters are visual representations of a quantity or an achievement.
1176
1204
  * Their progress is determined by user actions, rather than system actions.
1177
1205
  */
1178
- export let Meter: ForwardRefExoticComponent<MeterProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1206
+ export const Meter: ForwardRefExoticComponent<MeterProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1179
1207
  interface NumberFieldProps extends Omit<_NumberFieldProps1, 'children' | 'className' | 'style'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
1180
1208
  /**
1181
1209
  * Whether to hide the increment and decrement buttons.
@@ -1189,11 +1217,11 @@ interface NumberFieldProps extends Omit<_NumberFieldProps1, 'children' | 'classN
1189
1217
  */
1190
1218
  size?: 'S' | 'M' | 'L' | 'XL';
1191
1219
  }
1192
- export const NumberFieldContext: Context<ContextValue<NumberFieldProps, TextFieldRef<HTMLInputElement>>>;
1220
+ export const NumberFieldContext: Context<ContextValue<Partial<NumberFieldProps>, TextFieldRef<HTMLInputElement>>>;
1193
1221
  /**
1194
1222
  * NumberFields allow users to input number values with a keyboard or increment/decrement with step buttons.
1195
1223
  */
1196
- export let NumberField: ForwardRefExoticComponent<NumberFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1224
+ export const NumberField: ForwardRefExoticComponent<NumberFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1197
1225
  interface ProgressBarStyleProps {
1198
1226
  /**
1199
1227
  * The size of the ProgressBar.
@@ -1208,7 +1236,7 @@ interface ProgressBarStyleProps {
1208
1236
  /**
1209
1237
  * The static color style to apply. Useful when the button appears over a color background.
1210
1238
  */
1211
- staticColor?: 'white' | 'black';
1239
+ staticColor?: 'white' | 'black' | 'auto';
1212
1240
  /**
1213
1241
  * The label's overall position relative to the element it is labeling.
1214
1242
  * @default 'top'
@@ -1219,7 +1247,7 @@ export interface ProgressBarProps extends Omit<_ProgressBarProps1, 'children' |
1219
1247
  /** The content to display as the label. */
1220
1248
  label?: ReactNode;
1221
1249
  }
1222
- export const ProgressBarContext: Context<ContextValue<ProgressBarProps, DOMRefValue<HTMLDivElement>>>;
1250
+ export const ProgressBarContext: Context<ContextValue<Partial<ProgressBarProps>, DOMRefValue<HTMLDivElement>>>;
1223
1251
  /**
1224
1252
  * ProgressBars show the progression of a system operation: downloading, uploading, processing, etc., in a visual way.
1225
1253
  * They can represent either determinate or indeterminate progress.
@@ -1235,12 +1263,12 @@ export interface RadioProps extends Omit<_RadioProps1, 'className' | 'style' | '
1235
1263
  * Radio buttons allow users to select a single option from a list of mutually exclusive options.
1236
1264
  * All possible options are exposed up front for users to compare.
1237
1265
  */
1238
- export let Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1266
+ export const Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1239
1267
  export interface RadioGroupProps extends Omit<_RadioGroupProps1, 'className' | 'style' | 'children'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
1240
1268
  /**
1241
1269
  * The Radios contained within the RadioGroup.
1242
1270
  */
1243
- children?: ReactNode;
1271
+ children: ReactNode;
1244
1272
  /**
1245
1273
  * The size of the RadioGroup.
1246
1274
  *
@@ -1258,12 +1286,12 @@ export interface RadioGroupProps extends Omit<_RadioGroupProps1, 'className' | '
1258
1286
  */
1259
1287
  isEmphasized?: boolean;
1260
1288
  }
1261
- export const RadioGroupContext: React.Context<ContextValue<RadioGroupProps, DOMRefValue<HTMLDivElement>>>;
1289
+ export const RadioGroupContext: React.Context<ContextValue<Partial<RadioGroupProps>, DOMRefValue<HTMLDivElement>>>;
1262
1290
  /**
1263
1291
  * Radio groups allow users to select a single option from a list of mutually exclusive options.
1264
1292
  * All possible options are exposed up front for users to compare.
1265
1293
  */
1266
- export let RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
1294
+ export const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
1267
1295
  interface SliderBaseProps<T> extends Omit<_SliderProps1<T>, 'children' | 'style' | 'className' | 'orientation'>, Omit<SpectrumLabelableProps, 'necessityIndicator' | 'isRequired'>, StyleProps {
1268
1296
  children?: ReactNode;
1269
1297
  /**
@@ -1295,8 +1323,8 @@ export interface SliderProps extends Omit<SliderBaseProps<number>, 'children'>,
1295
1323
  */
1296
1324
  fillOffset?: number;
1297
1325
  }
1298
- export const SliderContext: Context<ContextValue<SliderProps, FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1299
- export let Slider: ForwardRefExoticComponent<SliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1326
+ export const SliderContext: Context<ContextValue<Partial<SliderProps>, FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1327
+ export const Slider: ForwardRefExoticComponent<SliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1300
1328
  export interface RangeSliderProps extends Omit<SliderBaseProps<RangeValue<number>>, 'children'> {
1301
1329
  /**
1302
1330
  * 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).
@@ -1307,8 +1335,8 @@ export interface RangeSliderProps extends Omit<SliderBaseProps<RangeValue<number
1307
1335
  */
1308
1336
  endName?: string;
1309
1337
  }
1310
- export const RangeSliderContext: Context<ContextValue<RangeSliderProps, FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1311
- export let RangeSlider: ForwardRefExoticComponent<RangeSliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1338
+ export const RangeSliderContext: Context<ContextValue<Partial<RangeSliderProps>, FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1339
+ export const RangeSlider: ForwardRefExoticComponent<RangeSliderProps & RefAttributes<FocusableRefValue<HTMLDivElement, HTMLDivElement>>>;
1312
1340
  export interface SearchFieldProps extends Omit<_SearchFieldProps1, 'className' | 'style' | 'children'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
1313
1341
  /**
1314
1342
  * The size of the SearchField.
@@ -1317,11 +1345,11 @@ export interface SearchFieldProps extends Omit<_SearchFieldProps1, 'className' |
1317
1345
  */
1318
1346
  size?: 'S' | 'M' | 'L' | 'XL';
1319
1347
  }
1320
- export const SearchFieldContext: Context<ContextValue<SearchFieldProps, TextFieldRef<HTMLInputElement>>>;
1348
+ export const SearchFieldContext: Context<ContextValue<Partial<SearchFieldProps>, TextFieldRef<HTMLInputElement>>>;
1321
1349
  /**
1322
1350
  * A SearchField is a text field designed for searches.
1323
1351
  */
1324
- export let SearchField: ForwardRefExoticComponent<SearchFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1352
+ export const SearchField: ForwardRefExoticComponent<SearchFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1325
1353
  export interface SegmentedControlProps extends AriaLabelingProps, StyleProps, SlotProps {
1326
1354
  /**
1327
1355
  * The content to display in the segmented control.
@@ -1350,15 +1378,15 @@ export interface SegmentedControlItemProps extends AriaLabelingProps, StyleProps
1350
1378
  /** Whether the item is disabled or not. */
1351
1379
  isDisabled?: boolean;
1352
1380
  }
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>>>;
1381
+ export const SegmentedControlContext: Context<ContextValue<Partial<SegmentedControlProps>, DOMRefValue<HTMLDivElement>>>;
1358
1382
  /**
1359
1383
  * A SegmentedControl is a mutually exclusive group of buttons used for view switching.
1360
1384
  */
1361
1385
  export const SegmentedControl: ForwardRefExoticComponent<SegmentedControlProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1386
+ /**
1387
+ * A SegmentedControlItem represents an option within a SegmentedControl.
1388
+ */
1389
+ export const SegmentedControlItem: ForwardRefExoticComponent<SegmentedControlItemProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1362
1390
  export interface SkeletonCollectionProps {
1363
1391
  children: () => ReactNode;
1364
1392
  }
@@ -1391,12 +1419,12 @@ export interface StatusLightProps extends StatusLightStyleProps, DOMProps, AriaL
1391
1419
  */
1392
1420
  role?: 'status';
1393
1421
  }
1394
- export const StatusLightContext: Context<ContextValue<StatusLightProps, DOMRefValue<HTMLDivElement>>>;
1422
+ export const StatusLightContext: Context<ContextValue<Partial<StatusLightProps>, DOMRefValue<HTMLDivElement>>>;
1395
1423
  /**
1396
1424
  * Status lights are used to color code categories and labels commonly found in data visualization.
1397
1425
  * When status lights have a semantic meaning, they should use semantic variant colors.
1398
1426
  */
1399
- export let StatusLight: ForwardRefExoticComponent<StatusLightProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1427
+ export const StatusLight: ForwardRefExoticComponent<StatusLightProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1400
1428
  interface SwitchStyleProps {
1401
1429
  /**
1402
1430
  * The size of the Switch.
@@ -1412,12 +1440,12 @@ interface SwitchStyleProps {
1412
1440
  export interface SwitchProps extends Omit<_SwitchProps1, 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange'>, StyleProps, SwitchStyleProps {
1413
1441
  children?: ReactNode;
1414
1442
  }
1415
- export const SwitchContext: Context<ContextValue<SwitchProps, FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1443
+ export const SwitchContext: Context<ContextValue<Partial<SwitchProps>, FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1416
1444
  /**
1417
1445
  * Switches allow users to turn an individual option on or off.
1418
1446
  * They are usually used to activate or deactivate a specific setting.
1419
1447
  */
1420
- export let Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1448
+ export const Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<FocusableRefValue<HTMLLabelElement, HTMLLabelElement>>>;
1421
1449
  interface S2TableProps {
1422
1450
  /** Whether the Table should be displayed with a quiet style. */
1423
1451
  isQuiet?: boolean;
@@ -1452,18 +1480,24 @@ interface S2TableProps {
1452
1480
  loadingState?: LoadingState;
1453
1481
  /** Handler that is called when more items should be loaded, e.g. while scrolling near the bottom. */
1454
1482
  onLoadMore?: () => any;
1483
+ /** Provides the ActionBar to display when rows are selected in the TableView. */
1484
+ renderActionBar?: (selectedKeys: 'all' | Set<_Key1>) => ReactElement;
1455
1485
  }
1456
1486
  export interface TableViewProps extends Omit<TableProps, 'style' | 'disabledBehavior' | 'className' | 'onRowAction' | 'selectionBehavior' | 'onScroll' | 'onCellAction' | 'dragAndDropHooks'>, UnsafeStyles, S2TableProps {
1457
1487
  /** Spectrum-defined styles, returned by the `style()` macro. */
1458
1488
  styles?: StylesPropWithHeight;
1459
1489
  }
1460
- export const TableContext: React.Context<ContextValue<TableViewProps, DOMRefValue<HTMLDivElement>>>;
1490
+ export const TableContext: React.Context<ContextValue<Partial<TableViewProps>, DOMRefValue<HTMLDivElement>>>;
1491
+ /**
1492
+ * Tables are containers for displaying information. They allow users to quickly scan, sort, compare, and take action on large amounts of data.
1493
+ */
1494
+ export const TableView: React.ForwardRefExoticComponent<TableViewProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
1461
1495
  export interface TableBodyProps<T> extends Omit<_TableBodyProps1<T>, 'style' | 'className' | 'dependencies'> {
1462
1496
  }
1463
1497
  /**
1464
1498
  * The body of a `<Table>`, containing the table rows.
1465
1499
  */
1466
- export let TableBody: <T extends object>(props: TableBodyProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1500
+ export const TableBody: <T extends object>(props: TableBodyProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1467
1501
  export interface ColumnProps extends _ColumnProps1 {
1468
1502
  /** Whether the column should render a divider between it and the next column. */
1469
1503
  showDivider?: boolean;
@@ -1486,7 +1520,7 @@ export interface TableHeaderProps<T> extends Omit<_TableHeaderProps1<T>, 'style'
1486
1520
  /**
1487
1521
  * A header within a `<Table>`, containing the table columns.
1488
1522
  */
1489
- export let TableHeader: <T extends object>(props: TableHeaderProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1523
+ export const TableHeader: <T extends object>(props: TableHeaderProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1490
1524
  export interface CellProps extends _CellProps1, Pick<ColumnProps, 'align' | 'showDivider'> {
1491
1525
  /** @private */
1492
1526
  isSticky?: boolean;
@@ -1502,47 +1536,49 @@ export interface RowProps<T> extends Pick<_RowProps1<T>, 'id' | 'columns' | 'chi
1502
1536
  /**
1503
1537
  * A row within a `<Table>`.
1504
1538
  */
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>>>;
1539
+ export const Row: <T extends object>(props: RowProps<T> & React.RefAttributes<DOMRefValue<HTMLDivElement>>) => React.ReactElement | null;
1510
1540
  export interface TabsProps extends Omit<_TabsProps1, 'className' | 'style' | 'children'>, UnsafeStyles {
1511
1541
  /** Spectrum-defined styles, returned by the `style()` macro. */
1512
1542
  styles?: StylesPropWithHeight;
1513
1543
  /** The content to display in the tabs. */
1514
- children?: ReactNode;
1544
+ children: ReactNode;
1515
1545
  /**
1516
1546
  * The amount of space between the tabs.
1517
1547
  * @default 'regular'
1518
1548
  */
1519
1549
  density?: 'compact' | 'regular';
1550
+ /**
1551
+ * Defines if the text within the tabs should be hidden and only the icon should be shown.
1552
+ * The text is always visible when the item is collapsed into a picker.
1553
+ * @default 'show'
1554
+ */
1555
+ labelBehavior?: 'show' | 'hide';
1520
1556
  }
1521
1557
  export interface TabProps extends Omit<_TabProps1, 'children' | 'style' | 'className'>, StyleProps {
1522
1558
  /** The content to display in the tab. */
1523
- children?: ReactNode;
1559
+ children: ReactNode;
1524
1560
  }
1525
- export interface TabListProps<T> extends Omit<_TabListProps1<T>, 'children' | 'style' | 'className'>, StyleProps {
1561
+ export interface TabListProps<T> extends Omit<_TabListProps1<T>, 'style' | 'className' | 'aria-label' | 'aria-labelledby'>, StyleProps {
1526
1562
  /** The content to display in the tablist. */
1527
- children?: ReactNode;
1563
+ children: ReactNode | ((item: T) => ReactNode);
1528
1564
  }
1529
1565
  export interface TabPanelProps extends Omit<_TabPanelProps1, 'children' | 'style' | 'className'>, UnsafeStyles {
1530
1566
  /** Spectrum-defined styles, returned by the `style()` macro. */
1531
1567
  styles?: StylesPropWithHeight;
1532
1568
  /** The content to display in the tab panels. */
1533
- children?: ReactNode;
1569
+ children: ReactNode;
1534
1570
  }
1535
- export const TabsContext: Context<ContextValue<TabsProps, DOMRefValue<HTMLDivElement>>>;
1536
- export function TabPanel(props: TabPanelProps): JSX.Element;
1537
- export function Tab(props: TabProps): JSX.Element;
1538
- export function TabList<T extends object>(props: TabListProps<T>): JSX.Element;
1571
+ export const TabsContext: Context<ContextValue<Partial<TabsProps>, DOMRefValue<HTMLDivElement>>>;
1539
1572
  /**
1540
1573
  * Tabs organize content into multiple sections and allow users to navigate between them. The content under the set of tabs should be related and form a coherent unit.
1541
1574
  */
1542
1575
  export const Tabs: ForwardRefExoticComponent<TabsProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1576
+ export function TabList<T extends object>(props: TabListProps<T>): JSX.Element | undefined;
1577
+ export function Tab(props: TabProps): JSX.Element;
1578
+ export function TabPanel(props: TabPanelProps): JSX.Element | null;
1543
1579
  export interface TagProps extends Omit<_TagProps1, 'children' | 'style' | 'className'> {
1544
1580
  /** The children of the tag. */
1545
- children?: ReactNode;
1581
+ children: ReactNode;
1546
1582
  }
1547
1583
  export interface TagGroupProps<T> extends Omit<_TagGroupProps1, 'children' | 'style' | 'className'>, Pick<TagListProps<T>, 'items' | 'children' | 'renderEmptyState'>, Omit<SpectrumLabelableProps, 'isRequired' | 'necessityIndicator'>, StyleProps, Omit<HelpTextProps, 'errorMessage'> {
1548
1584
  /** A description for the tag group. */
@@ -1568,11 +1604,11 @@ export interface TagGroupProps<T> extends Omit<_TagGroupProps1, 'children' | 'st
1568
1604
  /** Handler that is called when the action button is pressed. */
1569
1605
  onGroupAction?: () => void;
1570
1606
  }
1571
- export const TagGroupContext: Context<ContextValue<TagGroupProps<any>, DOMRefValue<HTMLDivElement>>>;
1607
+ export const TagGroupContext: Context<ContextValue<Partial<TagGroupProps<any>>, DOMRefValue<HTMLDivElement>>>;
1572
1608
  /** 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;
1609
+ export const TagGroup: <T extends object>(props: TagGroupProps<T> & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
1574
1610
  /** An individual Tag for TagGroups. */
1575
- export let Tag: (props: TagProps & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
1611
+ export const Tag: (props: TagProps & RefAttributes<DOMRefValue<HTMLDivElement>>) => ReactElement | null;
1576
1612
  export interface TextFieldProps extends Omit<_TextFieldProps1, 'children' | 'className' | 'style'>, StyleProps, SpectrumLabelableProps, HelpTextProps {
1577
1613
  /**
1578
1614
  * The size of the text field.
@@ -1581,46 +1617,46 @@ export interface TextFieldProps extends Omit<_TextFieldProps1, 'children' | 'cla
1581
1617
  */
1582
1618
  size?: 'S' | 'M' | 'L' | 'XL';
1583
1619
  }
1584
- export const TextFieldContext: Context<ContextValue<TextFieldProps, TextFieldRef<HTMLInputElement>>>;
1620
+ export const TextFieldContext: Context<ContextValue<Partial<TextFieldProps>, TextFieldRef<HTMLInputElement>>>;
1585
1621
  /**
1586
1622
  * TextFields are text inputs that allow users to input custom text entries
1587
1623
  * with a keyboard. Various decorations can be displayed around the field to
1588
1624
  * communicate the entry requirements.
1589
1625
  */
1590
- export let TextField: ForwardRefExoticComponent<TextFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1626
+ export const TextField: ForwardRefExoticComponent<TextFieldProps & RefAttributes<TextFieldRef<HTMLInputElement>>>;
1591
1627
  export interface TextAreaProps extends Omit<TextFieldProps, 'type' | 'pattern'> {
1592
1628
  }
1593
- export const TextAreaContext: Context<ContextValue<TextAreaProps, TextFieldRef<HTMLTextAreaElement>>>;
1629
+ export const TextAreaContext: Context<ContextValue<Partial<TextAreaProps>, TextFieldRef<HTMLTextAreaElement>>>;
1594
1630
  /**
1595
1631
  * TextAreas are multiline text inputs, useful for cases where users have
1596
1632
  * a sizable amount of text to enter. They allow for all customizations that
1597
1633
  * are available to text fields.
1598
1634
  */
1599
- export let TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<TextFieldRef<HTMLTextAreaElement>>>;
1635
+ export const TextArea: ForwardRefExoticComponent<TextAreaProps & RefAttributes<TextFieldRef<HTMLTextAreaElement>>>;
1600
1636
  export interface ToggleButtonGroupProps extends ActionButtonGroupProps, Omit<_ToggleButtonGroupProps1, 'children' | 'style' | 'className'> {
1601
1637
  /** Whether the button should be displayed with an [emphasized style](https://spectrum.adobe.com/page/action-button/#Emphasis). */
1602
1638
  isEmphasized?: boolean;
1603
1639
  }
1604
- export const ToggleButtonGroupContext: Context<ContextValue<ToggleButtonGroupProps, HTMLDivElement>>;
1640
+ export const ToggleButtonGroupContext: Context<ContextValue<Partial<ToggleButtonGroupProps>, HTMLDivElement>>;
1605
1641
  /**
1606
1642
  * A ToggleButtonGroup is a grouping of related ToggleButtons, with single or multiple selection.
1607
1643
  */
1608
1644
  export const ToggleButtonGroup: ForwardRefExoticComponent<ToggleButtonGroupProps & RefAttributes<HTMLDivElement>>;
1609
1645
  export interface ToggleButtonProps extends Omit<_ToggleButtonProps1, 'className' | 'style' | 'children' | 'onHover' | 'onHoverStart' | 'onHoverEnd' | 'onHoverChange'>, StyleProps, ActionButtonStyleProps {
1610
1646
  /** The content to display in the button. */
1611
- children?: ReactNode;
1647
+ children: ReactNode;
1612
1648
  /** Whether the button should be displayed with an [emphasized style](https://spectrum.adobe.com/page/action-button/#Emphasis). */
1613
1649
  isEmphasized?: boolean;
1614
1650
  }
1615
- export const ToggleButtonContext: Context<ContextValue<ToggleButtonProps, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1651
+ export const ToggleButtonContext: Context<ContextValue<Partial<ToggleButtonProps>, FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1616
1652
  /**
1617
1653
  * ToggleButtons allow users to toggle a selection on or off, for example
1618
1654
  * switching between two states or modes.
1619
1655
  */
1620
- export let ToggleButton: ForwardRefExoticComponent<ToggleButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1656
+ export const ToggleButton: ForwardRefExoticComponent<ToggleButtonProps & RefAttributes<FocusableRefValue<HTMLButtonElement, HTMLButtonElement>>>;
1621
1657
  interface TooltipTriggerProps extends Omit<TooltipTriggerComponentProps, 'children' | 'closeDelay'>, Pick<_TooltipProps1, 'shouldFlip' | 'containerPadding' | 'offset' | 'crossOffset'> {
1622
1658
  /** The content of the tooltip. */
1623
- children?: ReactNode;
1659
+ children: ReactNode;
1624
1660
  /**
1625
1661
  * The placement of the element with respect to its anchor element.
1626
1662
  *
@@ -1630,18 +1666,41 @@ interface TooltipTriggerProps extends Omit<TooltipTriggerComponentProps, 'childr
1630
1666
  }
1631
1667
  export interface TooltipProps extends Omit<_TooltipProps1, 'children' | 'className' | 'style' | 'triggerRef' | 'UNSTABLE_portalContainer' | 'isEntering' | 'isExiting' | 'placement' | 'containerPadding' | 'offset' | 'crossOffset' | 'shouldFlip' | 'arrowBoundaryOffset' | 'isOpen' | 'defaultOpen' | 'onOpenChange'>, UnsafeStyles {
1632
1668
  /** The content of the tooltip. */
1633
- children?: ReactNode;
1669
+ children: ReactNode;
1634
1670
  }
1671
+ /**
1672
+ * Display container for Tooltip content. Has a directional arrow dependent on its placement.
1673
+ */
1674
+ export const Tooltip: ForwardRefExoticComponent<TooltipProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1635
1675
  /**
1636
1676
  * TooltipTrigger wraps around a trigger element and a Tooltip. It handles opening and closing
1637
1677
  * the Tooltip when the user hovers over or focuses the trigger, and positioning the Tooltip
1638
1678
  * relative to the trigger.
1639
1679
  */
1640
1680
  export function TooltipTrigger(props: TooltipTriggerProps): JSX.Element;
1681
+ interface S2TreeProps {
1682
+ isDetached?: boolean;
1683
+ onAction?: (key: Key) => void;
1684
+ isEmphasized?: boolean;
1685
+ }
1686
+ export interface TreeViewProps extends Omit<TreeProps<any>, 'style' | 'className' | 'onRowAction' | 'selectionBehavior' | 'onScroll' | 'onCellAction' | 'dragAndDropHooks'>, UnsafeStyles, S2TreeProps {
1687
+ /** Spectrum-defined styles, returned by the `style()` macro. */
1688
+ styles?: StylesPropWithHeight;
1689
+ }
1690
+ export interface TreeViewItemProps extends Omit<TreeItemProps, 'className' | 'style'> {
1691
+ /** Whether this item has children, even if not loaded yet. */
1692
+ hasChildItems?: boolean;
1693
+ }
1694
+ export const TreeViewItem: (props: TreeViewItemProps) => React.JSX.Element;
1695
+ export interface TreeViewItemContentProps extends Omit<TreeItemContentProps, 'children'> {
1696
+ /** Rendered contents of the tree item or child items. */
1697
+ children: ReactNode;
1698
+ }
1699
+ export const TreeViewItemContent: (props: TreeViewItemContentProps) => React.JSX.Element;
1641
1700
  /**
1642
- * Display container for Tooltip content. Has a directional arrow dependent on its placement.
1701
+ * A tree view provides users with a way to navigate nested hierarchical information.
1643
1702
  */
1644
- export let Tooltip: ForwardRefExoticComponent<TooltipProps & RefAttributes<DOMRefValue<HTMLDivElement>>>;
1703
+ export const TreeView: React.ForwardRefExoticComponent<TreeViewProps & React.RefAttributes<DOMRefValue<HTMLDivElement>>>;
1645
1704
  export { Collection } from 'react-aria-components';
1646
1705
  export { FileTrigger } from 'react-aria-components';
1647
1706
  export type { FileTriggerProps, TooltipTriggerComponentProps as TooltipTriggerProps } from 'react-aria-components';