@adobe/react-spectrum 3.47.2 → 3.47.3

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 (399) hide show
  1. package/dist/private/actionbar/ActionBar.cjs +2 -3
  2. package/dist/private/actionbar/ActionBar.cjs.map +1 -1
  3. package/dist/private/actionbar/ActionBar.js +2 -3
  4. package/dist/private/actionbar/ActionBar.js.map +1 -1
  5. package/dist/private/actionbar/ActionBar.mjs +2 -3
  6. package/dist/private/actionbar/ActionBar.mjs.map +1 -1
  7. package/dist/private/actiongroup/ActionGroup.cjs +5 -1
  8. package/dist/private/actiongroup/ActionGroup.cjs.map +1 -1
  9. package/dist/private/actiongroup/ActionGroup.js +5 -1
  10. package/dist/private/actiongroup/ActionGroup.js.map +1 -1
  11. package/dist/private/actiongroup/ActionGroup.mjs +5 -1
  12. package/dist/private/actiongroup/ActionGroup.mjs.map +1 -1
  13. package/dist/private/autocomplete/MobileSearchAutocomplete.cjs +6 -0
  14. package/dist/private/autocomplete/MobileSearchAutocomplete.cjs.map +1 -1
  15. package/dist/private/autocomplete/MobileSearchAutocomplete.js +6 -0
  16. package/dist/private/autocomplete/MobileSearchAutocomplete.js.map +1 -1
  17. package/dist/private/autocomplete/MobileSearchAutocomplete.mjs +6 -0
  18. package/dist/private/autocomplete/MobileSearchAutocomplete.mjs.map +1 -1
  19. package/dist/private/autocomplete/SearchAutocomplete.cjs +1 -0
  20. package/dist/private/autocomplete/SearchAutocomplete.cjs.map +1 -1
  21. package/dist/private/autocomplete/SearchAutocomplete.js +1 -0
  22. package/dist/private/autocomplete/SearchAutocomplete.js.map +1 -1
  23. package/dist/private/autocomplete/SearchAutocomplete.mjs +1 -0
  24. package/dist/private/autocomplete/SearchAutocomplete.mjs.map +1 -1
  25. package/dist/private/button/Button.cjs +2 -1
  26. package/dist/private/button/Button.cjs.map +1 -1
  27. package/dist/private/button/Button.js +3 -2
  28. package/dist/private/button/Button.js.map +1 -1
  29. package/dist/private/button/Button.mjs +3 -2
  30. package/dist/private/button/Button.mjs.map +1 -1
  31. package/dist/private/button/ClearButton.cjs +2 -1
  32. package/dist/private/button/ClearButton.cjs.map +1 -1
  33. package/dist/private/button/ClearButton.js +2 -1
  34. package/dist/private/button/ClearButton.js.map +1 -1
  35. package/dist/private/button/ClearButton.mjs +2 -1
  36. package/dist/private/button/ClearButton.mjs.map +1 -1
  37. package/dist/private/buttongroup/ButtonGroup.cjs +4 -2
  38. package/dist/private/buttongroup/ButtonGroup.cjs.map +1 -1
  39. package/dist/private/buttongroup/ButtonGroup.js +4 -2
  40. package/dist/private/buttongroup/ButtonGroup.js.map +1 -1
  41. package/dist/private/buttongroup/ButtonGroup.mjs +4 -2
  42. package/dist/private/buttongroup/ButtonGroup.mjs.map +1 -1
  43. package/dist/private/card/CardBase.cjs +1 -0
  44. package/dist/private/card/CardBase.cjs.map +1 -1
  45. package/dist/private/card/CardBase.js +1 -0
  46. package/dist/private/card/CardBase.js.map +1 -1
  47. package/dist/private/card/CardBase.mjs +1 -0
  48. package/dist/private/card/CardBase.mjs.map +1 -1
  49. package/dist/private/card/CardView.cjs +3 -0
  50. package/dist/private/card/CardView.cjs.map +1 -1
  51. package/dist/private/card/CardView.js +3 -0
  52. package/dist/private/card/CardView.js.map +1 -1
  53. package/dist/private/card/CardView.mjs +3 -0
  54. package/dist/private/card/CardView.mjs.map +1 -1
  55. package/dist/private/checkbox/Checkbox.cjs.map +1 -1
  56. package/dist/private/checkbox/Checkbox.js.map +1 -1
  57. package/dist/private/checkbox/Checkbox.mjs.map +1 -1
  58. package/dist/private/color/ColorField.cjs +1 -0
  59. package/dist/private/color/ColorField.cjs.map +1 -1
  60. package/dist/private/color/ColorField.js +1 -0
  61. package/dist/private/color/ColorField.js.map +1 -1
  62. package/dist/private/color/ColorField.mjs +1 -0
  63. package/dist/private/color/ColorField.mjs.map +1 -1
  64. package/dist/private/color/ColorPicker.cjs.map +1 -1
  65. package/dist/private/color/ColorPicker.js.map +1 -1
  66. package/dist/private/color/ColorPicker.mjs.map +1 -1
  67. package/dist/private/color/ColorSwatch.cjs +2 -1
  68. package/dist/private/color/ColorSwatch.cjs.map +1 -1
  69. package/dist/private/color/ColorSwatch.js +2 -1
  70. package/dist/private/color/ColorSwatch.js.map +1 -1
  71. package/dist/private/color/ColorSwatch.mjs +2 -1
  72. package/dist/private/color/ColorSwatch.mjs.map +1 -1
  73. package/dist/private/color/ColorSwatchPicker.cjs.map +1 -1
  74. package/dist/private/color/ColorSwatchPicker.js.map +1 -1
  75. package/dist/private/color/ColorSwatchPicker.mjs.map +1 -1
  76. package/dist/private/color/ColorWheel.cjs +1 -0
  77. package/dist/private/color/ColorWheel.cjs.map +1 -1
  78. package/dist/private/color/ColorWheel.js +1 -0
  79. package/dist/private/color/ColorWheel.js.map +1 -1
  80. package/dist/private/color/ColorWheel.mjs +1 -0
  81. package/dist/private/color/ColorWheel.mjs.map +1 -1
  82. package/dist/private/combobox/ComboBox.cjs +1 -0
  83. package/dist/private/combobox/ComboBox.cjs.map +1 -1
  84. package/dist/private/combobox/ComboBox.js +1 -0
  85. package/dist/private/combobox/ComboBox.js.map +1 -1
  86. package/dist/private/combobox/ComboBox.mjs +1 -0
  87. package/dist/private/combobox/ComboBox.mjs.map +1 -1
  88. package/dist/private/combobox/MobileComboBox.cjs +8 -0
  89. package/dist/private/combobox/MobileComboBox.cjs.map +1 -1
  90. package/dist/private/combobox/MobileComboBox.js +8 -0
  91. package/dist/private/combobox/MobileComboBox.js.map +1 -1
  92. package/dist/private/combobox/MobileComboBox.mjs +8 -0
  93. package/dist/private/combobox/MobileComboBox.mjs.map +1 -1
  94. package/dist/private/datepicker/DateField.cjs +2 -1
  95. package/dist/private/datepicker/DateField.cjs.map +1 -1
  96. package/dist/private/datepicker/DateField.js +2 -1
  97. package/dist/private/datepicker/DateField.js.map +1 -1
  98. package/dist/private/datepicker/DateField.mjs +2 -1
  99. package/dist/private/datepicker/DateField.mjs.map +1 -1
  100. package/dist/private/datepicker/DatePicker.cjs +2 -1
  101. package/dist/private/datepicker/DatePicker.cjs.map +1 -1
  102. package/dist/private/datepicker/DatePicker.js +2 -1
  103. package/dist/private/datepicker/DatePicker.js.map +1 -1
  104. package/dist/private/datepicker/DatePicker.mjs +2 -1
  105. package/dist/private/datepicker/DatePicker.mjs.map +1 -1
  106. package/dist/private/datepicker/DateRangePicker.cjs +2 -1
  107. package/dist/private/datepicker/DateRangePicker.cjs.map +1 -1
  108. package/dist/private/datepicker/DateRangePicker.js +2 -1
  109. package/dist/private/datepicker/DateRangePicker.js.map +1 -1
  110. package/dist/private/datepicker/DateRangePicker.mjs +2 -1
  111. package/dist/private/datepicker/DateRangePicker.mjs.map +1 -1
  112. package/dist/private/dialog/AlertDialog.cjs +3 -1
  113. package/dist/private/dialog/AlertDialog.cjs.map +1 -1
  114. package/dist/private/dialog/AlertDialog.js +3 -1
  115. package/dist/private/dialog/AlertDialog.js.map +1 -1
  116. package/dist/private/dialog/AlertDialog.mjs +3 -1
  117. package/dist/private/dialog/AlertDialog.mjs.map +1 -1
  118. package/dist/private/dialog/Dialog.cjs +10 -3
  119. package/dist/private/dialog/Dialog.cjs.map +1 -1
  120. package/dist/private/dialog/Dialog.js +10 -3
  121. package/dist/private/dialog/Dialog.js.map +1 -1
  122. package/dist/private/dialog/Dialog.mjs +10 -3
  123. package/dist/private/dialog/Dialog.mjs.map +1 -1
  124. package/dist/private/dnd/useDragAndDrop.cjs +7 -0
  125. package/dist/private/dnd/useDragAndDrop.cjs.map +1 -1
  126. package/dist/private/dnd/useDragAndDrop.js +7 -0
  127. package/dist/private/dnd/useDragAndDrop.js.map +1 -1
  128. package/dist/private/dnd/useDragAndDrop.mjs +7 -0
  129. package/dist/private/dnd/useDragAndDrop.mjs.map +1 -1
  130. package/dist/private/icon/Icon.cjs +1 -1
  131. package/dist/private/icon/Icon.cjs.map +1 -1
  132. package/dist/private/icon/Icon.js +1 -1
  133. package/dist/private/icon/Icon.js.map +1 -1
  134. package/dist/private/icon/Icon.mjs +1 -1
  135. package/dist/private/icon/Icon.mjs.map +1 -1
  136. package/dist/private/icon/UIIcon.cjs +1 -1
  137. package/dist/private/icon/UIIcon.cjs.map +1 -1
  138. package/dist/private/icon/UIIcon.js +1 -1
  139. package/dist/private/icon/UIIcon.js.map +1 -1
  140. package/dist/private/icon/UIIcon.mjs +1 -1
  141. package/dist/private/icon/UIIcon.mjs.map +1 -1
  142. package/dist/private/intl/label/zh-CN.cjs +1 -1
  143. package/dist/private/intl/label/zh-CN.cjs.map +1 -1
  144. package/dist/private/intl/label/zh-CN.js +1 -1
  145. package/dist/private/intl/label/zh-CN.js.map +1 -1
  146. package/dist/private/intl/label/zh-CN.mjs +1 -1
  147. package/dist/private/intl/label/zh-CN.mjs.map +1 -1
  148. package/dist/private/intl/menu/es-ES.cjs +1 -1
  149. package/dist/private/intl/menu/es-ES.cjs.map +1 -1
  150. package/dist/private/intl/menu/es-ES.js +1 -1
  151. package/dist/private/intl/menu/es-ES.js.map +1 -1
  152. package/dist/private/intl/menu/es-ES.mjs +1 -1
  153. package/dist/private/intl/menu/es-ES.mjs.map +1 -1
  154. package/dist/private/intl/picker/zh-CN.cjs +1 -1
  155. package/dist/private/intl/picker/zh-CN.cjs.map +1 -1
  156. package/dist/private/intl/picker/zh-CN.js +1 -1
  157. package/dist/private/intl/picker/zh-CN.js.map +1 -1
  158. package/dist/private/intl/picker/zh-CN.mjs +1 -1
  159. package/dist/private/intl/picker/zh-CN.mjs.map +1 -1
  160. package/dist/private/intl/table/es-ES.cjs +1 -1
  161. package/dist/private/intl/table/es-ES.cjs.map +1 -1
  162. package/dist/private/intl/table/es-ES.js +1 -1
  163. package/dist/private/intl/table/es-ES.js.map +1 -1
  164. package/dist/private/intl/table/es-ES.mjs +1 -1
  165. package/dist/private/intl/table/es-ES.mjs.map +1 -1
  166. package/dist/private/intl/table/zh-TW.cjs +2 -2
  167. package/dist/private/intl/table/zh-TW.cjs.map +1 -1
  168. package/dist/private/intl/table/zh-TW.js +2 -2
  169. package/dist/private/intl/table/zh-TW.js.map +1 -1
  170. package/dist/private/intl/table/zh-TW.mjs +2 -2
  171. package/dist/private/intl/table/zh-TW.mjs.map +1 -1
  172. package/dist/private/label/Field.cjs +2 -1
  173. package/dist/private/label/Field.cjs.map +1 -1
  174. package/dist/private/label/Field.js +2 -1
  175. package/dist/private/label/Field.js.map +1 -1
  176. package/dist/private/label/Field.mjs +2 -1
  177. package/dist/private/label/Field.mjs.map +1 -1
  178. package/dist/private/layout/Grid.cjs +2 -1
  179. package/dist/private/layout/Grid.cjs.map +1 -1
  180. package/dist/private/layout/Grid.js +2 -1
  181. package/dist/private/layout/Grid.js.map +1 -1
  182. package/dist/private/layout/Grid.mjs +2 -1
  183. package/dist/private/layout/Grid.mjs.map +1 -1
  184. package/dist/private/link/Link.cjs +3 -0
  185. package/dist/private/link/Link.cjs.map +1 -1
  186. package/dist/private/link/Link.js +3 -0
  187. package/dist/private/link/Link.js.map +1 -1
  188. package/dist/private/link/Link.mjs +3 -0
  189. package/dist/private/link/Link.mjs.map +1 -1
  190. package/dist/private/list/InsertionIndicator.cjs +1 -0
  191. package/dist/private/list/InsertionIndicator.cjs.map +1 -1
  192. package/dist/private/list/InsertionIndicator.js +1 -0
  193. package/dist/private/list/InsertionIndicator.js.map +1 -1
  194. package/dist/private/list/InsertionIndicator.mjs +1 -0
  195. package/dist/private/list/InsertionIndicator.mjs.map +1 -1
  196. package/dist/private/list/ListView.cjs +5 -0
  197. package/dist/private/list/ListView.cjs.map +1 -1
  198. package/dist/private/list/ListView.js +5 -0
  199. package/dist/private/list/ListView.js.map +1 -1
  200. package/dist/private/list/ListView.mjs +5 -0
  201. package/dist/private/list/ListView.mjs.map +1 -1
  202. package/dist/private/list/ListViewItem.cjs +2 -0
  203. package/dist/private/list/ListViewItem.cjs.map +1 -1
  204. package/dist/private/list/ListViewItem.js +2 -0
  205. package/dist/private/list/ListViewItem.js.map +1 -1
  206. package/dist/private/list/ListViewItem.mjs +2 -0
  207. package/dist/private/list/ListViewItem.mjs.map +1 -1
  208. package/dist/private/list/RootDropIndicator.cjs +1 -0
  209. package/dist/private/list/RootDropIndicator.cjs.map +1 -1
  210. package/dist/private/list/RootDropIndicator.js +1 -0
  211. package/dist/private/list/RootDropIndicator.js.map +1 -1
  212. package/dist/private/list/RootDropIndicator.mjs +1 -0
  213. package/dist/private/list/RootDropIndicator.mjs.map +1 -1
  214. package/dist/private/menu/ContextualHelpTrigger.cjs +7 -1
  215. package/dist/private/menu/ContextualHelpTrigger.cjs.map +1 -1
  216. package/dist/private/menu/ContextualHelpTrigger.js +7 -1
  217. package/dist/private/menu/ContextualHelpTrigger.js.map +1 -1
  218. package/dist/private/menu/ContextualHelpTrigger.mjs +7 -1
  219. package/dist/private/menu/ContextualHelpTrigger.mjs.map +1 -1
  220. package/dist/private/menu/MenuItem.cjs +2 -0
  221. package/dist/private/menu/MenuItem.cjs.map +1 -1
  222. package/dist/private/menu/MenuItem.js +2 -0
  223. package/dist/private/menu/MenuItem.js.map +1 -1
  224. package/dist/private/menu/MenuItem.mjs +2 -0
  225. package/dist/private/menu/MenuItem.mjs.map +1 -1
  226. package/dist/private/menu/MenuTrigger.cjs +1 -0
  227. package/dist/private/menu/MenuTrigger.cjs.map +1 -1
  228. package/dist/private/menu/MenuTrigger.js +1 -0
  229. package/dist/private/menu/MenuTrigger.js.map +1 -1
  230. package/dist/private/menu/MenuTrigger.mjs +1 -0
  231. package/dist/private/menu/MenuTrigger.mjs.map +1 -1
  232. package/dist/private/menu/SubmenuTrigger.cjs +6 -1
  233. package/dist/private/menu/SubmenuTrigger.cjs.map +1 -1
  234. package/dist/private/menu/SubmenuTrigger.js +6 -1
  235. package/dist/private/menu/SubmenuTrigger.js.map +1 -1
  236. package/dist/private/menu/SubmenuTrigger.mjs +6 -1
  237. package/dist/private/menu/SubmenuTrigger.mjs.map +1 -1
  238. package/dist/private/package.cjs +1 -1
  239. package/dist/private/package.cjs.map +1 -1
  240. package/dist/private/package.js +1 -1
  241. package/dist/private/package.js.map +1 -1
  242. package/dist/private/package.mjs +1 -1
  243. package/dist/private/package.mjs.map +1 -1
  244. package/dist/private/progress/ProgressBarBase.cjs +2 -1
  245. package/dist/private/progress/ProgressBarBase.cjs.map +1 -1
  246. package/dist/private/progress/ProgressBarBase.js +2 -1
  247. package/dist/private/progress/ProgressBarBase.js.map +1 -1
  248. package/dist/private/progress/ProgressBarBase.mjs +2 -1
  249. package/dist/private/progress/ProgressBarBase.mjs.map +1 -1
  250. package/dist/private/progress/ProgressCircle.cjs +2 -1
  251. package/dist/private/progress/ProgressCircle.cjs.map +1 -1
  252. package/dist/private/progress/ProgressCircle.js +2 -1
  253. package/dist/private/progress/ProgressCircle.js.map +1 -1
  254. package/dist/private/progress/ProgressCircle.mjs +2 -1
  255. package/dist/private/progress/ProgressCircle.mjs.map +1 -1
  256. package/dist/private/slider/Slider.cjs +1 -0
  257. package/dist/private/slider/Slider.cjs.map +1 -1
  258. package/dist/private/slider/Slider.js +1 -0
  259. package/dist/private/slider/Slider.js.map +1 -1
  260. package/dist/private/slider/Slider.mjs +1 -0
  261. package/dist/private/slider/Slider.mjs.map +1 -1
  262. package/dist/private/table/InsertionIndicator.cjs +1 -0
  263. package/dist/private/table/InsertionIndicator.cjs.map +1 -1
  264. package/dist/private/table/InsertionIndicator.js +1 -0
  265. package/dist/private/table/InsertionIndicator.js.map +1 -1
  266. package/dist/private/table/InsertionIndicator.mjs +1 -0
  267. package/dist/private/table/InsertionIndicator.mjs.map +1 -1
  268. package/dist/private/table/Resizer.cjs +2 -25
  269. package/dist/private/table/Resizer.cjs.map +1 -1
  270. package/dist/private/table/Resizer.js +3 -26
  271. package/dist/private/table/Resizer.js.map +1 -1
  272. package/dist/private/table/Resizer.mjs +3 -26
  273. package/dist/private/table/Resizer.mjs.map +1 -1
  274. package/dist/private/table/RootDropIndicator.cjs +1 -0
  275. package/dist/private/table/RootDropIndicator.cjs.map +1 -1
  276. package/dist/private/table/RootDropIndicator.js +1 -0
  277. package/dist/private/table/RootDropIndicator.js.map +1 -1
  278. package/dist/private/table/RootDropIndicator.mjs +1 -0
  279. package/dist/private/table/RootDropIndicator.mjs.map +1 -1
  280. package/dist/private/table/TableViewBase.cjs +8 -0
  281. package/dist/private/table/TableViewBase.cjs.map +1 -1
  282. package/dist/private/table/TableViewBase.js +8 -0
  283. package/dist/private/table/TableViewBase.js.map +1 -1
  284. package/dist/private/table/TableViewBase.mjs +8 -0
  285. package/dist/private/table/TableViewBase.mjs.map +1 -1
  286. package/dist/private/table/TreeGridTableView.cjs +1 -0
  287. package/dist/private/table/TreeGridTableView.cjs.map +1 -1
  288. package/dist/private/table/TreeGridTableView.js +1 -0
  289. package/dist/private/table/TreeGridTableView.js.map +1 -1
  290. package/dist/private/table/TreeGridTableView.mjs +1 -0
  291. package/dist/private/table/TreeGridTableView.mjs.map +1 -1
  292. package/dist/private/tabs/Tabs.cjs +4 -2
  293. package/dist/private/tabs/Tabs.cjs.map +1 -1
  294. package/dist/private/tabs/Tabs.js +4 -2
  295. package/dist/private/tabs/Tabs.js.map +1 -1
  296. package/dist/private/tabs/Tabs.mjs +4 -2
  297. package/dist/private/tabs/Tabs.mjs.map +1 -1
  298. package/dist/private/tag/TagGroup.cjs +2 -0
  299. package/dist/private/tag/TagGroup.cjs.map +1 -1
  300. package/dist/private/tag/TagGroup.js +2 -0
  301. package/dist/private/tag/TagGroup.js.map +1 -1
  302. package/dist/private/tag/TagGroup.mjs +2 -0
  303. package/dist/private/tag/TagGroup.mjs.map +1 -1
  304. package/dist/private/textfield/TextArea.cjs +2 -0
  305. package/dist/private/textfield/TextArea.cjs.map +1 -1
  306. package/dist/private/textfield/TextArea.js +2 -0
  307. package/dist/private/textfield/TextArea.js.map +1 -1
  308. package/dist/private/textfield/TextArea.mjs +2 -0
  309. package/dist/private/textfield/TextArea.mjs.map +1 -1
  310. package/dist/private/textfield/TextField.cjs +1 -0
  311. package/dist/private/textfield/TextField.cjs.map +1 -1
  312. package/dist/private/textfield/TextField.js +1 -0
  313. package/dist/private/textfield/TextField.js.map +1 -1
  314. package/dist/private/textfield/TextField.mjs +1 -0
  315. package/dist/private/textfield/TextField.mjs.map +1 -1
  316. package/dist/private/textfield/TextFieldBase.cjs +2 -1
  317. package/dist/private/textfield/TextFieldBase.cjs.map +1 -1
  318. package/dist/private/textfield/TextFieldBase.js +2 -1
  319. package/dist/private/textfield/TextFieldBase.js.map +1 -1
  320. package/dist/private/textfield/TextFieldBase.mjs +2 -1
  321. package/dist/private/textfield/TextFieldBase.mjs.map +1 -1
  322. package/dist/private/utils/Slots.cjs +1 -0
  323. package/dist/private/utils/Slots.cjs.map +1 -1
  324. package/dist/private/utils/Slots.js +1 -0
  325. package/dist/private/utils/Slots.js.map +1 -1
  326. package/dist/private/utils/Slots.mjs +1 -0
  327. package/dist/private/utils/Slots.mjs.map +1 -1
  328. package/dist/types/src/dialog/AlertDialog.d.ts +2 -2
  329. package/i18n/ar-AE.js +1 -1
  330. package/i18n/ar-AE.mjs +1 -1
  331. package/i18n/bg-BG.js +1 -1
  332. package/i18n/bg-BG.mjs +1 -1
  333. package/i18n/cs-CZ.js +1 -1
  334. package/i18n/cs-CZ.mjs +1 -1
  335. package/i18n/da-DK.js +1 -1
  336. package/i18n/da-DK.mjs +1 -1
  337. package/i18n/de-DE.js +1 -1
  338. package/i18n/de-DE.mjs +1 -1
  339. package/i18n/el-GR.js +1 -1
  340. package/i18n/el-GR.mjs +1 -1
  341. package/i18n/en-US.js +1 -1
  342. package/i18n/en-US.mjs +1 -1
  343. package/i18n/es-ES.js +1 -1
  344. package/i18n/es-ES.mjs +1 -1
  345. package/i18n/et-EE.js +1 -1
  346. package/i18n/et-EE.mjs +1 -1
  347. package/i18n/fi-FI.js +1 -1
  348. package/i18n/fi-FI.mjs +1 -1
  349. package/i18n/fr-FR.js +1 -1
  350. package/i18n/fr-FR.mjs +1 -1
  351. package/i18n/he-IL.js +1 -1
  352. package/i18n/he-IL.mjs +1 -1
  353. package/i18n/hr-HR.js +1 -1
  354. package/i18n/hr-HR.mjs +1 -1
  355. package/i18n/hu-HU.js +1 -1
  356. package/i18n/hu-HU.mjs +1 -1
  357. package/i18n/index.js +1 -1
  358. package/i18n/index.mjs +1 -1
  359. package/i18n/it-IT.js +1 -1
  360. package/i18n/it-IT.mjs +1 -1
  361. package/i18n/ja-JP.js +1 -1
  362. package/i18n/ja-JP.mjs +1 -1
  363. package/i18n/ko-KR.js +1 -1
  364. package/i18n/ko-KR.mjs +1 -1
  365. package/i18n/lt-LT.js +1 -1
  366. package/i18n/lt-LT.mjs +1 -1
  367. package/i18n/lv-LV.js +1 -1
  368. package/i18n/lv-LV.mjs +1 -1
  369. package/i18n/nb-NO.js +1 -1
  370. package/i18n/nb-NO.mjs +1 -1
  371. package/i18n/nl-NL.js +1 -1
  372. package/i18n/nl-NL.mjs +1 -1
  373. package/i18n/pl-PL.js +1 -1
  374. package/i18n/pl-PL.mjs +1 -1
  375. package/i18n/pt-BR.js +1 -1
  376. package/i18n/pt-BR.mjs +1 -1
  377. package/i18n/pt-PT.js +1 -1
  378. package/i18n/pt-PT.mjs +1 -1
  379. package/i18n/ro-RO.js +1 -1
  380. package/i18n/ro-RO.mjs +1 -1
  381. package/i18n/ru-RU.js +1 -1
  382. package/i18n/ru-RU.mjs +1 -1
  383. package/i18n/sk-SK.js +1 -1
  384. package/i18n/sk-SK.mjs +1 -1
  385. package/i18n/sl-SI.js +1 -1
  386. package/i18n/sl-SI.mjs +1 -1
  387. package/i18n/sr-SP.js +1 -1
  388. package/i18n/sr-SP.mjs +1 -1
  389. package/i18n/sv-SE.js +1 -1
  390. package/i18n/sv-SE.mjs +1 -1
  391. package/i18n/tr-TR.js +1 -1
  392. package/i18n/tr-TR.mjs +1 -1
  393. package/i18n/uk-UA.js +1 -1
  394. package/i18n/uk-UA.mjs +1 -1
  395. package/i18n/zh-CN.js +1 -1
  396. package/i18n/zh-CN.mjs +1 -1
  397. package/i18n/zh-TW.js +1 -1
  398. package/i18n/zh-TW.mjs +1 -1
  399. package/package.json +7 -7
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;AAkHM,SAAS,0CAA2B,OAA8B;IACvE,IAAI,mBAAmB,CAAA,GAAA,oBAAM,EAAE;QAC7B,IAAI,UAAC,MAAM,YAAE,QAAQ,cAAE,UAAU,aAAE,SAAS,cAAE,UAAU,YAAE,QAAQ,iBAAE,aAAa,EAAC,GAAG;QAErF,IAAI,cAAc,CAAC,CAAC;QACpB,IAAI,cAAc,CAAC,CAAE,CAAA,UAAU,YAAY,cAAc,aAAa,UAAS;QAE/E,IAAI,QAAQ,CAAC;QAKb,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,OAAO,CAAA,GAAA,0EAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;oBAAE,UAAU,QAAQ,QAAQ;gBAAC;YACvF;YACA,MAAM,sBAAsB,GAAG,CAAA,GAAA,6DAAqB;YACpD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uDAAe;YACxC,MAAM,WAAW,GAAG,CAAA,GAAA,kDAAU;YAC9B,MAAM,aAAa,GAAG;QACxB;QAEA,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,OAAO,CAAA,GAAA,0EAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA;YAC1D;YACA,MAAM,gBAAgB,GAAG,CAAA,GAAA,uDAAe;YACxC,MAAM,sBAAsB,GAAG,SAAS,+BACtC,KAAiC,EACjC,KAA+B,EAC/B,GAAkC;gBAElC,OAAO,CAAA,GAAA,6DAAqB,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA,GAAG,OAAO;YAC/D;YACA,MAAM,gBAAgB,GAAG,CAAA,GAAA,uDAAe;QAC1C;QAEA,IAAI,eAAe,aACjB,MAAM,iBAAiB,GAAG,CAAA,GAAA,uDAAgB;QAG5C,OAAO;IACT,GAAG;QAAC;KAAQ;IAEZ,OAAO;QACL,kBAAkB;IACpB;AACF","sources":["packages/@adobe/react-spectrum/src/dnd/useDragAndDrop.ts"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n DraggableCollectionOptions,\n DraggableItemProps,\n DraggableItemResult,\n DragPreview,\n useDraggableCollection,\n useDraggableItem\n} from 'react-aria/useDraggableCollection';\nimport {\n DraggableCollectionProps,\n DragItem,\n DroppableCollectionProps,\n Key,\n RefObject\n} from '@react-types/shared';\nimport {\n DraggableCollectionState,\n DraggableCollectionStateOptions,\n useDraggableCollectionState\n} from 'react-stately/useDraggableCollectionState';\nimport {\n DropIndicatorAria,\n DropIndicatorProps,\n DroppableCollectionOptions,\n DroppableCollectionResult,\n DroppableItemOptions,\n DroppableItemResult,\n useDropIndicator,\n useDroppableCollection,\n useDroppableItem\n} from 'react-aria/useDroppableCollection';\nimport {\n DroppableCollectionState,\n DroppableCollectionStateOptions,\n useDroppableCollectionState\n} from 'react-stately/useDroppableCollectionState';\nimport {isVirtualDragging} from 'react-aria/private/dnd/DragManager';\nimport {JSX, useMemo} from 'react';\n\ninterface DraggableCollectionStateOpts<T> extends Omit<\n DraggableCollectionStateOptions<T>,\n 'getItems'\n> {}\n\ninterface DragHooks<T = object> {\n useDraggableCollectionState?: (\n props: DraggableCollectionStateOpts<T>\n ) => DraggableCollectionState;\n useDraggableCollection?: (\n props: DraggableCollectionOptions,\n state: DraggableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => void;\n useDraggableItem?: (\n props: DraggableItemProps,\n state: DraggableCollectionState\n ) => DraggableItemResult;\n DragPreview?: typeof DragPreview;\n}\n\ninterface DropHooks {\n useDroppableCollectionState?: (\n props: DroppableCollectionStateOptions\n ) => DroppableCollectionState;\n useDroppableCollection?: (\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableCollectionResult;\n useDroppableItem?: (\n options: DroppableItemOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableItemResult;\n useDropIndicator?: (\n props: DropIndicatorProps,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DropIndicatorAria;\n}\n\nexport interface DragAndDropHooks<T = object> {\n /** Drag and drop hooks for the collection element. */\n dragAndDropHooks: DragHooks<T> &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n}\n\nexport interface DragAndDropOptions<T = object>\n extends\n Omit<DraggableCollectionProps, 'preview' | 'getItems'>,\n Omit<DroppableCollectionProps, 'onMove'> {\n /**\n * A function that returns the items being dragged. If not specified, we assume that the\n * collection is not draggable.\n *\n * @default () => []\n */\n getItems?: (keys: Set<Key>, items: T[]) => DragItem[];\n /**\n * Provide a custom drag preview. `draggedKey` represents the key of the item the user actually\n * dragged.\n */\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n}\n\n/**\n * Provides the hooks required to enable drag and drop behavior for a drag and drop compatible React\n * Spectrum component.\n */\nexport function useDragAndDrop<T = object>(options: DragAndDropOptions<T>): DragAndDropHooks {\n let dragAndDropHooks = useMemo(() => {\n let {onDrop, onInsert, onItemDrop, onReorder, onRootDrop, getItems, renderPreview} = options;\n\n let isDraggable = !!getItems;\n let isDroppable = !!(onDrop || onInsert || onItemDrop || onReorder || onRootDrop);\n\n let hooks = {} as DragHooks &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n if (isDraggable) {\n hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(\n props: DraggableCollectionStateOpts<T>\n ) {\n return useDraggableCollectionState({...props, ...options, getItems: options.getItems!});\n };\n hooks.useDraggableCollection = useDraggableCollection;\n hooks.useDraggableItem = useDraggableItem;\n hooks.DragPreview = DragPreview;\n hooks.renderPreview = renderPreview;\n }\n\n if (isDroppable) {\n hooks.useDroppableCollectionState = function useDroppableCollectionStateOverride(\n props: DroppableCollectionStateOptions\n ) {\n return useDroppableCollectionState({...props, ...options});\n };\n hooks.useDroppableItem = useDroppableItem;\n hooks.useDroppableCollection = function useDroppableCollectionOverride(\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) {\n return useDroppableCollection({...props, ...options}, state, ref);\n };\n hooks.useDropIndicator = useDropIndicator;\n }\n\n if (isDraggable || isDroppable) {\n hooks.isVirtualDragging = isVirtualDragging;\n }\n\n return hooks;\n }, [options]);\n\n return {\n dragAndDropHooks: dragAndDropHooks\n };\n}\n"],"names":[],"version":3,"file":"useDragAndDrop.cjs.map"}
1
+ {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;AAkHM,SAAS,0CAA2B,OAA8B;IACvE,IAAI,mBAAmB,CAAA,GAAA,oBAAM,EAAE;QAC7B,IAAI,UAAC,MAAM,YAAE,QAAQ,cAAE,UAAU,aAAE,SAAS,cAAE,UAAU,YAAE,QAAQ,iBAAE,aAAa,EAAC,GAAG;QAErF,IAAI,cAAc,CAAC,CAAC;QACpB,IAAI,cAAc,CAAC,CAAE,CAAA,UAAU,YAAY,cAAc,aAAa,UAAS;QAE/E,IAAI,QAAQ,CAAC;QAKb,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,0EAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;oBAAE,UAAU,QAAQ,QAAQ;gBAAC;YACvF;YACA,gDAAgD;YAChD,MAAM,sBAAsB,GAAG,CAAA,GAAA,6DAAqB;YACpD,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uDAAe;YACxC,MAAM,WAAW,GAAG,CAAA,GAAA,kDAAU;YAC9B,MAAM,aAAa,GAAG;QACxB;QAEA,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,0EAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA;YAC1D;YACA,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uDAAe;YACxC,MAAM,sBAAsB,GAAG,SAAS,+BACtC,KAAiC,EACjC,KAA+B,EAC/B,GAAkC;gBAElC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,6DAAqB,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA,GAAG,OAAO;YAC/D;YACA,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uDAAe;QAC1C;QAEA,IAAI,eAAe,aACjB,MAAM,iBAAiB,GAAG,CAAA,GAAA,uDAAgB;QAG5C,OAAO;IACT,GAAG;QAAC;KAAQ;IAEZ,OAAO;QACL,kBAAkB;IACpB;AACF","sources":["packages/@adobe/react-spectrum/src/dnd/useDragAndDrop.ts"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n DraggableCollectionOptions,\n DraggableItemProps,\n DraggableItemResult,\n DragPreview,\n useDraggableCollection,\n useDraggableItem\n} from 'react-aria/useDraggableCollection';\nimport {\n DraggableCollectionProps,\n DragItem,\n DroppableCollectionProps,\n Key,\n RefObject\n} from '@react-types/shared';\nimport {\n DraggableCollectionState,\n DraggableCollectionStateOptions,\n useDraggableCollectionState\n} from 'react-stately/useDraggableCollectionState';\nimport {\n DropIndicatorAria,\n DropIndicatorProps,\n DroppableCollectionOptions,\n DroppableCollectionResult,\n DroppableItemOptions,\n DroppableItemResult,\n useDropIndicator,\n useDroppableCollection,\n useDroppableItem\n} from 'react-aria/useDroppableCollection';\nimport {\n DroppableCollectionState,\n DroppableCollectionStateOptions,\n useDroppableCollectionState\n} from 'react-stately/useDroppableCollectionState';\nimport {isVirtualDragging} from 'react-aria/private/dnd/DragManager';\nimport {JSX, useMemo} from 'react';\n\ninterface DraggableCollectionStateOpts<T> extends Omit<\n DraggableCollectionStateOptions<T>,\n 'getItems'\n> {}\n\ninterface DragHooks<T = object> {\n useDraggableCollectionState?: (\n props: DraggableCollectionStateOpts<T>\n ) => DraggableCollectionState;\n useDraggableCollection?: (\n props: DraggableCollectionOptions,\n state: DraggableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => void;\n useDraggableItem?: (\n props: DraggableItemProps,\n state: DraggableCollectionState\n ) => DraggableItemResult;\n DragPreview?: typeof DragPreview;\n}\n\ninterface DropHooks {\n useDroppableCollectionState?: (\n props: DroppableCollectionStateOptions\n ) => DroppableCollectionState;\n useDroppableCollection?: (\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableCollectionResult;\n useDroppableItem?: (\n options: DroppableItemOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableItemResult;\n useDropIndicator?: (\n props: DropIndicatorProps,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DropIndicatorAria;\n}\n\nexport interface DragAndDropHooks<T = object> {\n /** Drag and drop hooks for the collection element. */\n dragAndDropHooks: DragHooks<T> &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n}\n\nexport interface DragAndDropOptions<T = object>\n extends\n Omit<DraggableCollectionProps, 'preview' | 'getItems'>,\n Omit<DroppableCollectionProps, 'onMove'> {\n /**\n * A function that returns the items being dragged. If not specified, we assume that the\n * collection is not draggable.\n *\n * @default () => []\n */\n getItems?: (keys: Set<Key>, items: T[]) => DragItem[];\n /**\n * Provide a custom drag preview. `draggedKey` represents the key of the item the user actually\n * dragged.\n */\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n}\n\n/**\n * Provides the hooks required to enable drag and drop behavior for a drag and drop compatible React\n * Spectrum component.\n */\nexport function useDragAndDrop<T = object>(options: DragAndDropOptions<T>): DragAndDropHooks {\n let dragAndDropHooks = useMemo(() => {\n let {onDrop, onInsert, onItemDrop, onReorder, onRootDrop, getItems, renderPreview} = options;\n\n let isDraggable = !!getItems;\n let isDroppable = !!(onDrop || onInsert || onItemDrop || onReorder || onRootDrop);\n\n let hooks = {} as DragHooks &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n if (isDraggable) {\n hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(\n props: DraggableCollectionStateOpts<T>\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDraggableCollectionState({...props, ...options, getItems: options.getItems!});\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDraggableCollection = useDraggableCollection;\n // oxlint-disable-next-line react/react-compiler\n hooks.useDraggableItem = useDraggableItem;\n hooks.DragPreview = DragPreview;\n hooks.renderPreview = renderPreview;\n }\n\n if (isDroppable) {\n hooks.useDroppableCollectionState = function useDroppableCollectionStateOverride(\n props: DroppableCollectionStateOptions\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDroppableCollectionState({...props, ...options});\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDroppableItem = useDroppableItem;\n hooks.useDroppableCollection = function useDroppableCollectionOverride(\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDroppableCollection({...props, ...options}, state, ref);\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDropIndicator = useDropIndicator;\n }\n\n if (isDraggable || isDroppable) {\n hooks.isVirtualDragging = isVirtualDragging;\n }\n\n return hooks;\n }, [options]);\n\n return {\n dragAndDropHooks: dragAndDropHooks\n };\n}\n"],"names":[],"version":3,"file":"useDragAndDrop.cjs.map"}
@@ -29,31 +29,38 @@ function $a835b70880df29d9$export$2cfc5be7a55829f6(options) {
29
29
  let hooks = {};
30
30
  if (isDraggable) {
31
31
  hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(props) {
32
+ // oxlint-disable-next-line react/react-compiler
32
33
  return (0, $9iyO4$useDraggableCollectionState)({
33
34
  ...props,
34
35
  ...options,
35
36
  getItems: options.getItems
36
37
  });
37
38
  };
39
+ // oxlint-disable-next-line react/react-compiler
38
40
  hooks.useDraggableCollection = (0, $9iyO4$useDraggableCollection);
41
+ // oxlint-disable-next-line react/react-compiler
39
42
  hooks.useDraggableItem = (0, $9iyO4$useDraggableItem);
40
43
  hooks.DragPreview = (0, $9iyO4$DragPreview);
41
44
  hooks.renderPreview = renderPreview;
42
45
  }
43
46
  if (isDroppable) {
44
47
  hooks.useDroppableCollectionState = function useDroppableCollectionStateOverride(props) {
48
+ // oxlint-disable-next-line react/react-compiler
45
49
  return (0, $9iyO4$useDroppableCollectionState)({
46
50
  ...props,
47
51
  ...options
48
52
  });
49
53
  };
54
+ // oxlint-disable-next-line react/react-compiler
50
55
  hooks.useDroppableItem = (0, $9iyO4$useDroppableItem);
51
56
  hooks.useDroppableCollection = function useDroppableCollectionOverride(props, state, ref) {
57
+ // oxlint-disable-next-line react/react-compiler
52
58
  return (0, $9iyO4$useDroppableCollection)({
53
59
  ...props,
54
60
  ...options
55
61
  }, state, ref);
56
62
  };
63
+ // oxlint-disable-next-line react/react-compiler
57
64
  hooks.useDropIndicator = (0, $9iyO4$useDropIndicator);
58
65
  }
59
66
  if (isDraggable || isDroppable) hooks.isVirtualDragging = (0, $9iyO4$isVirtualDragging);
@@ -1 +1 @@
1
- {"mappings":";;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;AAkHM,SAAS,0CAA2B,OAA8B;IACvE,IAAI,mBAAmB,CAAA,GAAA,cAAM,EAAE;QAC7B,IAAI,UAAC,MAAM,YAAE,QAAQ,cAAE,UAAU,aAAE,SAAS,cAAE,UAAU,YAAE,QAAQ,iBAAE,aAAa,EAAC,GAAG;QAErF,IAAI,cAAc,CAAC,CAAC;QACpB,IAAI,cAAc,CAAC,CAAE,CAAA,UAAU,YAAY,cAAc,aAAa,UAAS;QAE/E,IAAI,QAAQ,CAAC;QAKb,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,OAAO,CAAA,GAAA,kCAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;oBAAE,UAAU,QAAQ,QAAQ;gBAAC;YACvF;YACA,MAAM,sBAAsB,GAAG,CAAA,GAAA,6BAAqB;YACpD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;YACxC,MAAM,WAAW,GAAG,CAAA,GAAA,kBAAU;YAC9B,MAAM,aAAa,GAAG;QACxB;QAEA,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,OAAO,CAAA,GAAA,kCAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA;YAC1D;YACA,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;YACxC,MAAM,sBAAsB,GAAG,SAAS,+BACtC,KAAiC,EACjC,KAA+B,EAC/B,GAAkC;gBAElC,OAAO,CAAA,GAAA,6BAAqB,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA,GAAG,OAAO;YAC/D;YACA,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;QAC1C;QAEA,IAAI,eAAe,aACjB,MAAM,iBAAiB,GAAG,CAAA,GAAA,wBAAgB;QAG5C,OAAO;IACT,GAAG;QAAC;KAAQ;IAEZ,OAAO;QACL,kBAAkB;IACpB;AACF","sources":["packages/@adobe/react-spectrum/src/dnd/useDragAndDrop.ts"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n DraggableCollectionOptions,\n DraggableItemProps,\n DraggableItemResult,\n DragPreview,\n useDraggableCollection,\n useDraggableItem\n} from 'react-aria/useDraggableCollection';\nimport {\n DraggableCollectionProps,\n DragItem,\n DroppableCollectionProps,\n Key,\n RefObject\n} from '@react-types/shared';\nimport {\n DraggableCollectionState,\n DraggableCollectionStateOptions,\n useDraggableCollectionState\n} from 'react-stately/useDraggableCollectionState';\nimport {\n DropIndicatorAria,\n DropIndicatorProps,\n DroppableCollectionOptions,\n DroppableCollectionResult,\n DroppableItemOptions,\n DroppableItemResult,\n useDropIndicator,\n useDroppableCollection,\n useDroppableItem\n} from 'react-aria/useDroppableCollection';\nimport {\n DroppableCollectionState,\n DroppableCollectionStateOptions,\n useDroppableCollectionState\n} from 'react-stately/useDroppableCollectionState';\nimport {isVirtualDragging} from 'react-aria/private/dnd/DragManager';\nimport {JSX, useMemo} from 'react';\n\ninterface DraggableCollectionStateOpts<T> extends Omit<\n DraggableCollectionStateOptions<T>,\n 'getItems'\n> {}\n\ninterface DragHooks<T = object> {\n useDraggableCollectionState?: (\n props: DraggableCollectionStateOpts<T>\n ) => DraggableCollectionState;\n useDraggableCollection?: (\n props: DraggableCollectionOptions,\n state: DraggableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => void;\n useDraggableItem?: (\n props: DraggableItemProps,\n state: DraggableCollectionState\n ) => DraggableItemResult;\n DragPreview?: typeof DragPreview;\n}\n\ninterface DropHooks {\n useDroppableCollectionState?: (\n props: DroppableCollectionStateOptions\n ) => DroppableCollectionState;\n useDroppableCollection?: (\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableCollectionResult;\n useDroppableItem?: (\n options: DroppableItemOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableItemResult;\n useDropIndicator?: (\n props: DropIndicatorProps,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DropIndicatorAria;\n}\n\nexport interface DragAndDropHooks<T = object> {\n /** Drag and drop hooks for the collection element. */\n dragAndDropHooks: DragHooks<T> &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n}\n\nexport interface DragAndDropOptions<T = object>\n extends\n Omit<DraggableCollectionProps, 'preview' | 'getItems'>,\n Omit<DroppableCollectionProps, 'onMove'> {\n /**\n * A function that returns the items being dragged. If not specified, we assume that the\n * collection is not draggable.\n *\n * @default () => []\n */\n getItems?: (keys: Set<Key>, items: T[]) => DragItem[];\n /**\n * Provide a custom drag preview. `draggedKey` represents the key of the item the user actually\n * dragged.\n */\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n}\n\n/**\n * Provides the hooks required to enable drag and drop behavior for a drag and drop compatible React\n * Spectrum component.\n */\nexport function useDragAndDrop<T = object>(options: DragAndDropOptions<T>): DragAndDropHooks {\n let dragAndDropHooks = useMemo(() => {\n let {onDrop, onInsert, onItemDrop, onReorder, onRootDrop, getItems, renderPreview} = options;\n\n let isDraggable = !!getItems;\n let isDroppable = !!(onDrop || onInsert || onItemDrop || onReorder || onRootDrop);\n\n let hooks = {} as DragHooks &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n if (isDraggable) {\n hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(\n props: DraggableCollectionStateOpts<T>\n ) {\n return useDraggableCollectionState({...props, ...options, getItems: options.getItems!});\n };\n hooks.useDraggableCollection = useDraggableCollection;\n hooks.useDraggableItem = useDraggableItem;\n hooks.DragPreview = DragPreview;\n hooks.renderPreview = renderPreview;\n }\n\n if (isDroppable) {\n hooks.useDroppableCollectionState = function useDroppableCollectionStateOverride(\n props: DroppableCollectionStateOptions\n ) {\n return useDroppableCollectionState({...props, ...options});\n };\n hooks.useDroppableItem = useDroppableItem;\n hooks.useDroppableCollection = function useDroppableCollectionOverride(\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) {\n return useDroppableCollection({...props, ...options}, state, ref);\n };\n hooks.useDropIndicator = useDropIndicator;\n }\n\n if (isDraggable || isDroppable) {\n hooks.isVirtualDragging = isVirtualDragging;\n }\n\n return hooks;\n }, [options]);\n\n return {\n dragAndDropHooks: dragAndDropHooks\n };\n}\n"],"names":[],"version":3,"file":"useDragAndDrop.js.map"}
1
+ {"mappings":";;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;AAkHM,SAAS,0CAA2B,OAA8B;IACvE,IAAI,mBAAmB,CAAA,GAAA,cAAM,EAAE;QAC7B,IAAI,UAAC,MAAM,YAAE,QAAQ,cAAE,UAAU,aAAE,SAAS,cAAE,UAAU,YAAE,QAAQ,iBAAE,aAAa,EAAC,GAAG;QAErF,IAAI,cAAc,CAAC,CAAC;QACpB,IAAI,cAAc,CAAC,CAAE,CAAA,UAAU,YAAY,cAAc,aAAa,UAAS;QAE/E,IAAI,QAAQ,CAAC;QAKb,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,kCAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;oBAAE,UAAU,QAAQ,QAAQ;gBAAC;YACvF;YACA,gDAAgD;YAChD,MAAM,sBAAsB,GAAG,CAAA,GAAA,6BAAqB;YACpD,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;YACxC,MAAM,WAAW,GAAG,CAAA,GAAA,kBAAU;YAC9B,MAAM,aAAa,GAAG;QACxB;QAEA,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,kCAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA;YAC1D;YACA,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;YACxC,MAAM,sBAAsB,GAAG,SAAS,+BACtC,KAAiC,EACjC,KAA+B,EAC/B,GAAkC;gBAElC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,6BAAqB,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA,GAAG,OAAO;YAC/D;YACA,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;QAC1C;QAEA,IAAI,eAAe,aACjB,MAAM,iBAAiB,GAAG,CAAA,GAAA,wBAAgB;QAG5C,OAAO;IACT,GAAG;QAAC;KAAQ;IAEZ,OAAO;QACL,kBAAkB;IACpB;AACF","sources":["packages/@adobe/react-spectrum/src/dnd/useDragAndDrop.ts"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n DraggableCollectionOptions,\n DraggableItemProps,\n DraggableItemResult,\n DragPreview,\n useDraggableCollection,\n useDraggableItem\n} from 'react-aria/useDraggableCollection';\nimport {\n DraggableCollectionProps,\n DragItem,\n DroppableCollectionProps,\n Key,\n RefObject\n} from '@react-types/shared';\nimport {\n DraggableCollectionState,\n DraggableCollectionStateOptions,\n useDraggableCollectionState\n} from 'react-stately/useDraggableCollectionState';\nimport {\n DropIndicatorAria,\n DropIndicatorProps,\n DroppableCollectionOptions,\n DroppableCollectionResult,\n DroppableItemOptions,\n DroppableItemResult,\n useDropIndicator,\n useDroppableCollection,\n useDroppableItem\n} from 'react-aria/useDroppableCollection';\nimport {\n DroppableCollectionState,\n DroppableCollectionStateOptions,\n useDroppableCollectionState\n} from 'react-stately/useDroppableCollectionState';\nimport {isVirtualDragging} from 'react-aria/private/dnd/DragManager';\nimport {JSX, useMemo} from 'react';\n\ninterface DraggableCollectionStateOpts<T> extends Omit<\n DraggableCollectionStateOptions<T>,\n 'getItems'\n> {}\n\ninterface DragHooks<T = object> {\n useDraggableCollectionState?: (\n props: DraggableCollectionStateOpts<T>\n ) => DraggableCollectionState;\n useDraggableCollection?: (\n props: DraggableCollectionOptions,\n state: DraggableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => void;\n useDraggableItem?: (\n props: DraggableItemProps,\n state: DraggableCollectionState\n ) => DraggableItemResult;\n DragPreview?: typeof DragPreview;\n}\n\ninterface DropHooks {\n useDroppableCollectionState?: (\n props: DroppableCollectionStateOptions\n ) => DroppableCollectionState;\n useDroppableCollection?: (\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableCollectionResult;\n useDroppableItem?: (\n options: DroppableItemOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableItemResult;\n useDropIndicator?: (\n props: DropIndicatorProps,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DropIndicatorAria;\n}\n\nexport interface DragAndDropHooks<T = object> {\n /** Drag and drop hooks for the collection element. */\n dragAndDropHooks: DragHooks<T> &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n}\n\nexport interface DragAndDropOptions<T = object>\n extends\n Omit<DraggableCollectionProps, 'preview' | 'getItems'>,\n Omit<DroppableCollectionProps, 'onMove'> {\n /**\n * A function that returns the items being dragged. If not specified, we assume that the\n * collection is not draggable.\n *\n * @default () => []\n */\n getItems?: (keys: Set<Key>, items: T[]) => DragItem[];\n /**\n * Provide a custom drag preview. `draggedKey` represents the key of the item the user actually\n * dragged.\n */\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n}\n\n/**\n * Provides the hooks required to enable drag and drop behavior for a drag and drop compatible React\n * Spectrum component.\n */\nexport function useDragAndDrop<T = object>(options: DragAndDropOptions<T>): DragAndDropHooks {\n let dragAndDropHooks = useMemo(() => {\n let {onDrop, onInsert, onItemDrop, onReorder, onRootDrop, getItems, renderPreview} = options;\n\n let isDraggable = !!getItems;\n let isDroppable = !!(onDrop || onInsert || onItemDrop || onReorder || onRootDrop);\n\n let hooks = {} as DragHooks &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n if (isDraggable) {\n hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(\n props: DraggableCollectionStateOpts<T>\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDraggableCollectionState({...props, ...options, getItems: options.getItems!});\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDraggableCollection = useDraggableCollection;\n // oxlint-disable-next-line react/react-compiler\n hooks.useDraggableItem = useDraggableItem;\n hooks.DragPreview = DragPreview;\n hooks.renderPreview = renderPreview;\n }\n\n if (isDroppable) {\n hooks.useDroppableCollectionState = function useDroppableCollectionStateOverride(\n props: DroppableCollectionStateOptions\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDroppableCollectionState({...props, ...options});\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDroppableItem = useDroppableItem;\n hooks.useDroppableCollection = function useDroppableCollectionOverride(\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDroppableCollection({...props, ...options}, state, ref);\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDropIndicator = useDropIndicator;\n }\n\n if (isDraggable || isDroppable) {\n hooks.isVirtualDragging = isVirtualDragging;\n }\n\n return hooks;\n }, [options]);\n\n return {\n dragAndDropHooks: dragAndDropHooks\n };\n}\n"],"names":[],"version":3,"file":"useDragAndDrop.js.map"}
@@ -29,31 +29,38 @@ function $b2e02c624cc31fc7$export$2cfc5be7a55829f6(options) {
29
29
  let hooks = {};
30
30
  if (isDraggable) {
31
31
  hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(props) {
32
+ // oxlint-disable-next-line react/react-compiler
32
33
  return (0, $h8ULG$useDraggableCollectionState)({
33
34
  ...props,
34
35
  ...options,
35
36
  getItems: options.getItems
36
37
  });
37
38
  };
39
+ // oxlint-disable-next-line react/react-compiler
38
40
  hooks.useDraggableCollection = (0, $h8ULG$useDraggableCollection);
41
+ // oxlint-disable-next-line react/react-compiler
39
42
  hooks.useDraggableItem = (0, $h8ULG$useDraggableItem);
40
43
  hooks.DragPreview = (0, $h8ULG$DragPreview);
41
44
  hooks.renderPreview = renderPreview;
42
45
  }
43
46
  if (isDroppable) {
44
47
  hooks.useDroppableCollectionState = function useDroppableCollectionStateOverride(props) {
48
+ // oxlint-disable-next-line react/react-compiler
45
49
  return (0, $h8ULG$useDroppableCollectionState)({
46
50
  ...props,
47
51
  ...options
48
52
  });
49
53
  };
54
+ // oxlint-disable-next-line react/react-compiler
50
55
  hooks.useDroppableItem = (0, $h8ULG$useDroppableItem);
51
56
  hooks.useDroppableCollection = function useDroppableCollectionOverride(props, state, ref) {
57
+ // oxlint-disable-next-line react/react-compiler
52
58
  return (0, $h8ULG$useDroppableCollection)({
53
59
  ...props,
54
60
  ...options
55
61
  }, state, ref);
56
62
  };
63
+ // oxlint-disable-next-line react/react-compiler
57
64
  hooks.useDropIndicator = (0, $h8ULG$useDropIndicator);
58
65
  }
59
66
  if (isDraggable || isDroppable) hooks.isVirtualDragging = (0, $h8ULG$isVirtualDragging);
@@ -1 +1 @@
1
- {"mappings":";;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;AAkHM,SAAS,0CAA2B,OAA8B;IACvE,IAAI,mBAAmB,CAAA,GAAA,cAAM,EAAE;QAC7B,IAAI,UAAC,MAAM,YAAE,QAAQ,cAAE,UAAU,aAAE,SAAS,cAAE,UAAU,YAAE,QAAQ,iBAAE,aAAa,EAAC,GAAG;QAErF,IAAI,cAAc,CAAC,CAAC;QACpB,IAAI,cAAc,CAAC,CAAE,CAAA,UAAU,YAAY,cAAc,aAAa,UAAS;QAE/E,IAAI,QAAQ,CAAC;QAKb,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,OAAO,CAAA,GAAA,kCAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;oBAAE,UAAU,QAAQ,QAAQ;gBAAC;YACvF;YACA,MAAM,sBAAsB,GAAG,CAAA,GAAA,6BAAqB;YACpD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;YACxC,MAAM,WAAW,GAAG,CAAA,GAAA,kBAAU;YAC9B,MAAM,aAAa,GAAG;QACxB;QAEA,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,OAAO,CAAA,GAAA,kCAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA;YAC1D;YACA,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;YACxC,MAAM,sBAAsB,GAAG,SAAS,+BACtC,KAAiC,EACjC,KAA+B,EAC/B,GAAkC;gBAElC,OAAO,CAAA,GAAA,6BAAqB,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA,GAAG,OAAO;YAC/D;YACA,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;QAC1C;QAEA,IAAI,eAAe,aACjB,MAAM,iBAAiB,GAAG,CAAA,GAAA,wBAAgB;QAG5C,OAAO;IACT,GAAG;QAAC;KAAQ;IAEZ,OAAO;QACL,kBAAkB;IACpB;AACF","sources":["packages/@adobe/react-spectrum/src/dnd/useDragAndDrop.ts"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n DraggableCollectionOptions,\n DraggableItemProps,\n DraggableItemResult,\n DragPreview,\n useDraggableCollection,\n useDraggableItem\n} from 'react-aria/useDraggableCollection';\nimport {\n DraggableCollectionProps,\n DragItem,\n DroppableCollectionProps,\n Key,\n RefObject\n} from '@react-types/shared';\nimport {\n DraggableCollectionState,\n DraggableCollectionStateOptions,\n useDraggableCollectionState\n} from 'react-stately/useDraggableCollectionState';\nimport {\n DropIndicatorAria,\n DropIndicatorProps,\n DroppableCollectionOptions,\n DroppableCollectionResult,\n DroppableItemOptions,\n DroppableItemResult,\n useDropIndicator,\n useDroppableCollection,\n useDroppableItem\n} from 'react-aria/useDroppableCollection';\nimport {\n DroppableCollectionState,\n DroppableCollectionStateOptions,\n useDroppableCollectionState\n} from 'react-stately/useDroppableCollectionState';\nimport {isVirtualDragging} from 'react-aria/private/dnd/DragManager';\nimport {JSX, useMemo} from 'react';\n\ninterface DraggableCollectionStateOpts<T> extends Omit<\n DraggableCollectionStateOptions<T>,\n 'getItems'\n> {}\n\ninterface DragHooks<T = object> {\n useDraggableCollectionState?: (\n props: DraggableCollectionStateOpts<T>\n ) => DraggableCollectionState;\n useDraggableCollection?: (\n props: DraggableCollectionOptions,\n state: DraggableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => void;\n useDraggableItem?: (\n props: DraggableItemProps,\n state: DraggableCollectionState\n ) => DraggableItemResult;\n DragPreview?: typeof DragPreview;\n}\n\ninterface DropHooks {\n useDroppableCollectionState?: (\n props: DroppableCollectionStateOptions\n ) => DroppableCollectionState;\n useDroppableCollection?: (\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableCollectionResult;\n useDroppableItem?: (\n options: DroppableItemOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableItemResult;\n useDropIndicator?: (\n props: DropIndicatorProps,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DropIndicatorAria;\n}\n\nexport interface DragAndDropHooks<T = object> {\n /** Drag and drop hooks for the collection element. */\n dragAndDropHooks: DragHooks<T> &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n}\n\nexport interface DragAndDropOptions<T = object>\n extends\n Omit<DraggableCollectionProps, 'preview' | 'getItems'>,\n Omit<DroppableCollectionProps, 'onMove'> {\n /**\n * A function that returns the items being dragged. If not specified, we assume that the\n * collection is not draggable.\n *\n * @default () => []\n */\n getItems?: (keys: Set<Key>, items: T[]) => DragItem[];\n /**\n * Provide a custom drag preview. `draggedKey` represents the key of the item the user actually\n * dragged.\n */\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n}\n\n/**\n * Provides the hooks required to enable drag and drop behavior for a drag and drop compatible React\n * Spectrum component.\n */\nexport function useDragAndDrop<T = object>(options: DragAndDropOptions<T>): DragAndDropHooks {\n let dragAndDropHooks = useMemo(() => {\n let {onDrop, onInsert, onItemDrop, onReorder, onRootDrop, getItems, renderPreview} = options;\n\n let isDraggable = !!getItems;\n let isDroppable = !!(onDrop || onInsert || onItemDrop || onReorder || onRootDrop);\n\n let hooks = {} as DragHooks &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n if (isDraggable) {\n hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(\n props: DraggableCollectionStateOpts<T>\n ) {\n return useDraggableCollectionState({...props, ...options, getItems: options.getItems!});\n };\n hooks.useDraggableCollection = useDraggableCollection;\n hooks.useDraggableItem = useDraggableItem;\n hooks.DragPreview = DragPreview;\n hooks.renderPreview = renderPreview;\n }\n\n if (isDroppable) {\n hooks.useDroppableCollectionState = function useDroppableCollectionStateOverride(\n props: DroppableCollectionStateOptions\n ) {\n return useDroppableCollectionState({...props, ...options});\n };\n hooks.useDroppableItem = useDroppableItem;\n hooks.useDroppableCollection = function useDroppableCollectionOverride(\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) {\n return useDroppableCollection({...props, ...options}, state, ref);\n };\n hooks.useDropIndicator = useDropIndicator;\n }\n\n if (isDraggable || isDroppable) {\n hooks.isVirtualDragging = isVirtualDragging;\n }\n\n return hooks;\n }, [options]);\n\n return {\n dragAndDropHooks: dragAndDropHooks\n };\n}\n"],"names":[],"version":3,"file":"useDragAndDrop.mjs.map"}
1
+ {"mappings":";;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;AAkHM,SAAS,0CAA2B,OAA8B;IACvE,IAAI,mBAAmB,CAAA,GAAA,cAAM,EAAE;QAC7B,IAAI,UAAC,MAAM,YAAE,QAAQ,cAAE,UAAU,aAAE,SAAS,cAAE,UAAU,YAAE,QAAQ,iBAAE,aAAa,EAAC,GAAG;QAErF,IAAI,cAAc,CAAC,CAAC;QACpB,IAAI,cAAc,CAAC,CAAE,CAAA,UAAU,YAAY,cAAc,aAAa,UAAS;QAE/E,IAAI,QAAQ,CAAC;QAKb,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,kCAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;oBAAE,UAAU,QAAQ,QAAQ;gBAAC;YACvF;YACA,gDAAgD;YAChD,MAAM,sBAAsB,GAAG,CAAA,GAAA,6BAAqB;YACpD,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;YACxC,MAAM,WAAW,GAAG,CAAA,GAAA,kBAAU;YAC9B,MAAM,aAAa,GAAG;QACxB;QAEA,IAAI,aAAa;YACf,MAAM,2BAA2B,GAAG,SAAS,oCAC3C,KAAsC;gBAEtC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,kCAA0B,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA;YAC1D;YACA,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;YACxC,MAAM,sBAAsB,GAAG,SAAS,+BACtC,KAAiC,EACjC,KAA+B,EAC/B,GAAkC;gBAElC,gDAAgD;gBAChD,OAAO,CAAA,GAAA,6BAAqB,EAAE;oBAAC,GAAG,KAAK;oBAAE,GAAG,OAAO;gBAAA,GAAG,OAAO;YAC/D;YACA,gDAAgD;YAChD,MAAM,gBAAgB,GAAG,CAAA,GAAA,uBAAe;QAC1C;QAEA,IAAI,eAAe,aACjB,MAAM,iBAAiB,GAAG,CAAA,GAAA,wBAAgB;QAG5C,OAAO;IACT,GAAG;QAAC;KAAQ;IAEZ,OAAO;QACL,kBAAkB;IACpB;AACF","sources":["packages/@adobe/react-spectrum/src/dnd/useDragAndDrop.ts"],"sourcesContent":["/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {\n DraggableCollectionOptions,\n DraggableItemProps,\n DraggableItemResult,\n DragPreview,\n useDraggableCollection,\n useDraggableItem\n} from 'react-aria/useDraggableCollection';\nimport {\n DraggableCollectionProps,\n DragItem,\n DroppableCollectionProps,\n Key,\n RefObject\n} from '@react-types/shared';\nimport {\n DraggableCollectionState,\n DraggableCollectionStateOptions,\n useDraggableCollectionState\n} from 'react-stately/useDraggableCollectionState';\nimport {\n DropIndicatorAria,\n DropIndicatorProps,\n DroppableCollectionOptions,\n DroppableCollectionResult,\n DroppableItemOptions,\n DroppableItemResult,\n useDropIndicator,\n useDroppableCollection,\n useDroppableItem\n} from 'react-aria/useDroppableCollection';\nimport {\n DroppableCollectionState,\n DroppableCollectionStateOptions,\n useDroppableCollectionState\n} from 'react-stately/useDroppableCollectionState';\nimport {isVirtualDragging} from 'react-aria/private/dnd/DragManager';\nimport {JSX, useMemo} from 'react';\n\ninterface DraggableCollectionStateOpts<T> extends Omit<\n DraggableCollectionStateOptions<T>,\n 'getItems'\n> {}\n\ninterface DragHooks<T = object> {\n useDraggableCollectionState?: (\n props: DraggableCollectionStateOpts<T>\n ) => DraggableCollectionState;\n useDraggableCollection?: (\n props: DraggableCollectionOptions,\n state: DraggableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => void;\n useDraggableItem?: (\n props: DraggableItemProps,\n state: DraggableCollectionState\n ) => DraggableItemResult;\n DragPreview?: typeof DragPreview;\n}\n\ninterface DropHooks {\n useDroppableCollectionState?: (\n props: DroppableCollectionStateOptions\n ) => DroppableCollectionState;\n useDroppableCollection?: (\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableCollectionResult;\n useDroppableItem?: (\n options: DroppableItemOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DroppableItemResult;\n useDropIndicator?: (\n props: DropIndicatorProps,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) => DropIndicatorAria;\n}\n\nexport interface DragAndDropHooks<T = object> {\n /** Drag and drop hooks for the collection element. */\n dragAndDropHooks: DragHooks<T> &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n}\n\nexport interface DragAndDropOptions<T = object>\n extends\n Omit<DraggableCollectionProps, 'preview' | 'getItems'>,\n Omit<DroppableCollectionProps, 'onMove'> {\n /**\n * A function that returns the items being dragged. If not specified, we assume that the\n * collection is not draggable.\n *\n * @default () => []\n */\n getItems?: (keys: Set<Key>, items: T[]) => DragItem[];\n /**\n * Provide a custom drag preview. `draggedKey` represents the key of the item the user actually\n * dragged.\n */\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n}\n\n/**\n * Provides the hooks required to enable drag and drop behavior for a drag and drop compatible React\n * Spectrum component.\n */\nexport function useDragAndDrop<T = object>(options: DragAndDropOptions<T>): DragAndDropHooks {\n let dragAndDropHooks = useMemo(() => {\n let {onDrop, onInsert, onItemDrop, onReorder, onRootDrop, getItems, renderPreview} = options;\n\n let isDraggable = !!getItems;\n let isDroppable = !!(onDrop || onInsert || onItemDrop || onReorder || onRootDrop);\n\n let hooks = {} as DragHooks &\n DropHooks & {\n isVirtualDragging?: () => boolean;\n renderPreview?: (keys: Set<Key>, draggedKey: Key) => JSX.Element;\n };\n if (isDraggable) {\n hooks.useDraggableCollectionState = function useDraggableCollectionStateOverride(\n props: DraggableCollectionStateOpts<T>\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDraggableCollectionState({...props, ...options, getItems: options.getItems!});\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDraggableCollection = useDraggableCollection;\n // oxlint-disable-next-line react/react-compiler\n hooks.useDraggableItem = useDraggableItem;\n hooks.DragPreview = DragPreview;\n hooks.renderPreview = renderPreview;\n }\n\n if (isDroppable) {\n hooks.useDroppableCollectionState = function useDroppableCollectionStateOverride(\n props: DroppableCollectionStateOptions\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDroppableCollectionState({...props, ...options});\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDroppableItem = useDroppableItem;\n hooks.useDroppableCollection = function useDroppableCollectionOverride(\n props: DroppableCollectionOptions,\n state: DroppableCollectionState,\n ref: RefObject<HTMLElement | null>\n ) {\n // oxlint-disable-next-line react/react-compiler\n return useDroppableCollection({...props, ...options}, state, ref);\n };\n // oxlint-disable-next-line react/react-compiler\n hooks.useDropIndicator = useDropIndicator;\n }\n\n if (isDraggable || isDroppable) {\n hooks.isVirtualDragging = isVirtualDragging;\n }\n\n return hooks;\n }, [options]);\n\n return {\n dragAndDropHooks: dragAndDropHooks\n };\n}\n"],"names":[],"version":3,"file":"useDragAndDrop.mjs.map"}
@@ -50,7 +50,7 @@ function $3ebd5b8b621d30d1$export$f04a61298a47a40f(props) {
50
50
  let { styleProps: styleProps } = (0, $b8f90d51c4908137$exports.useStyleProps)(otherProps, $3ebd5b8b621d30d1$var$iconStyleProps);
51
51
  let provider;
52
52
  try {
53
- // eslint-disable-next-line react-hooks/rules-of-hooks
53
+ // oxlint-disable-next-line react/react-compiler
54
54
  provider = (0, $544fc82701fc93e9$exports.useProvider)();
55
55
  } catch {
56
56
  // ignore
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AA2CD,SAAS,qCAAe,KAAqB;IAC3C,OAAO,CAAC,wBAAwB,EAAE,MAAM,YAAY,CAAC;AACvD;AAEA,MAAM,uCAAgC;IACpC,GAAG,CAAA,GAAA,wCAAa,CAAC;IACjB,OAAO;QAAC;QAAS;KAAe;AAClC;AAMO,SAAS,0CAAK,KAAgB;IACnC,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,QAAE,IAAI,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAC1F,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE,YAAY;IAE7C,IAAI;IACJ,IAAI;QACF,sDAAsD;QACtD,WAAW,CAAA,GAAA,qCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAE7C,IAAI,CAAC,YACH,aAAa;IAGf,2EAA2E;IAC3E,IAAI,WAAW,OAAO,OAAO;IAE7B,qBAAO,CAAA,GAAA,sCAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,6CAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;QACb,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,mDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA,CAAC,mBAAmB,EAAE,UAAU,EAChC,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/Icon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, StyleHandlers, useStyleProps} from '../utils/styleProps';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\n\nexport interface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string;\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement<any>;\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';\n /**\n * A slot to place the icon in.\n *\n * @default 'icon'\n */\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n /**\n * Color of the Icon.\n */\n color?: IconColorValue;\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and\n * rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, size, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider: undefined | ProviderContext;\n try {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"Icon.cjs.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AA2CD,SAAS,qCAAe,KAAqB;IAC3C,OAAO,CAAC,wBAAwB,EAAE,MAAM,YAAY,CAAC;AACvD;AAEA,MAAM,uCAAgC;IACpC,GAAG,CAAA,GAAA,wCAAa,CAAC;IACjB,OAAO;QAAC;QAAS;KAAe;AAClC;AAMO,SAAS,0CAAK,KAAgB;IACnC,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,QAAE,IAAI,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAC1F,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE,YAAY;IAE7C,IAAI;IACJ,IAAI;QACF,gDAAgD;QAChD,WAAW,CAAA,GAAA,qCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAE7C,IAAI,CAAC,YACH,aAAa;IAGf,2EAA2E;IAC3E,IAAI,WAAW,OAAO,OAAO;IAE7B,qBAAO,CAAA,GAAA,sCAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,6CAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;QACb,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,mDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA,CAAC,mBAAmB,EAAE,UAAU,EAChC,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/Icon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, StyleHandlers, useStyleProps} from '../utils/styleProps';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\n\nexport interface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string;\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement<any>;\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';\n /**\n * A slot to place the icon in.\n *\n * @default 'icon'\n */\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n /**\n * Color of the Icon.\n */\n color?: IconColorValue;\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and\n * rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, size, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider: undefined | ProviderContext;\n try {\n // oxlint-disable-next-line react/react-compiler\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"Icon.cjs.map"}
@@ -44,7 +44,7 @@ function $68df32599618a4b7$export$f04a61298a47a40f(props) {
44
44
  let { styleProps: styleProps } = (0, $120fbea2d95e11ed$export$b8e6fb9d2dff3f41)(otherProps, $68df32599618a4b7$var$iconStyleProps);
45
45
  let provider;
46
46
  try {
47
- // eslint-disable-next-line react-hooks/rules-of-hooks
47
+ // oxlint-disable-next-line react/react-compiler
48
48
  provider = (0, $089943c7a219141c$export$693cdb10cec23617)();
49
49
  } catch {
50
50
  // ignore
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AA2CD,SAAS,qCAAe,KAAqB;IAC3C,OAAO,CAAC,wBAAwB,EAAE,MAAM,YAAY,CAAC;AACvD;AAEA,MAAM,uCAAgC;IACpC,GAAG,CAAA,GAAA,yCAAa,CAAC;IACjB,OAAO;QAAC;QAAS;KAAe;AAClC;AAMO,SAAS,0CAAK,KAAgB;IACnC,QAAQ,CAAA,GAAA,yCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,QAAE,IAAI,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAC1F,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,yCAAY,EAAE,YAAY;IAE7C,IAAI;IACJ,IAAI;QACF,sDAAsD;QACtD,WAAW,CAAA,GAAA,yCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAE7C,IAAI,CAAC,YACH,aAAa;IAGf,2EAA2E;IAC3E,IAAI,WAAW,OAAO,OAAO;IAE7B,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;QACb,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,iDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA,CAAC,mBAAmB,EAAE,UAAU,EAChC,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/Icon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, StyleHandlers, useStyleProps} from '../utils/styleProps';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\n\nexport interface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string;\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement<any>;\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';\n /**\n * A slot to place the icon in.\n *\n * @default 'icon'\n */\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n /**\n * Color of the Icon.\n */\n color?: IconColorValue;\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and\n * rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, size, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider: undefined | ProviderContext;\n try {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"Icon.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AA2CD,SAAS,qCAAe,KAAqB;IAC3C,OAAO,CAAC,wBAAwB,EAAE,MAAM,YAAY,CAAC;AACvD;AAEA,MAAM,uCAAgC;IACpC,GAAG,CAAA,GAAA,yCAAa,CAAC;IACjB,OAAO;QAAC;QAAS;KAAe;AAClC;AAMO,SAAS,0CAAK,KAAgB;IACnC,QAAQ,CAAA,GAAA,yCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,QAAE,IAAI,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAC1F,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,yCAAY,EAAE,YAAY;IAE7C,IAAI;IACJ,IAAI;QACF,gDAAgD;QAChD,WAAW,CAAA,GAAA,yCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAE7C,IAAI,CAAC,YACH,aAAa;IAGf,2EAA2E;IAC3E,IAAI,WAAW,OAAO,OAAO;IAE7B,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;QACb,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,iDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA,CAAC,mBAAmB,EAAE,UAAU,EAChC,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/Icon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, StyleHandlers, useStyleProps} from '../utils/styleProps';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\n\nexport interface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string;\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement<any>;\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';\n /**\n * A slot to place the icon in.\n *\n * @default 'icon'\n */\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n /**\n * Color of the Icon.\n */\n color?: IconColorValue;\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and\n * rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, size, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider: undefined | ProviderContext;\n try {\n // oxlint-disable-next-line react/react-compiler\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"Icon.js.map"}
@@ -44,7 +44,7 @@ function $20f96c95fdf7a1d8$export$f04a61298a47a40f(props) {
44
44
  let { styleProps: styleProps } = (0, $63d03c54ca5e4b88$export$b8e6fb9d2dff3f41)(otherProps, $20f96c95fdf7a1d8$var$iconStyleProps);
45
45
  let provider;
46
46
  try {
47
- // eslint-disable-next-line react-hooks/rules-of-hooks
47
+ // oxlint-disable-next-line react/react-compiler
48
48
  provider = (0, $71dfb0e0358a12de$export$693cdb10cec23617)();
49
49
  } catch {
50
50
  // ignore
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AA2CD,SAAS,qCAAe,KAAqB;IAC3C,OAAO,CAAC,wBAAwB,EAAE,MAAM,YAAY,CAAC;AACvD;AAEA,MAAM,uCAAgC;IACpC,GAAG,CAAA,GAAA,yCAAa,CAAC;IACjB,OAAO;QAAC;QAAS;KAAe;AAClC;AAMO,SAAS,0CAAK,KAAgB;IACnC,QAAQ,CAAA,GAAA,yCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,QAAE,IAAI,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAC1F,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,yCAAY,EAAE,YAAY;IAE7C,IAAI;IACJ,IAAI;QACF,sDAAsD;QACtD,WAAW,CAAA,GAAA,yCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAE7C,IAAI,CAAC,YACH,aAAa;IAGf,2EAA2E;IAC3E,IAAI,WAAW,OAAO,OAAO;IAE7B,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;QACb,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,iDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA,CAAC,mBAAmB,EAAE,UAAU,EAChC,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/Icon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, StyleHandlers, useStyleProps} from '../utils/styleProps';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\n\nexport interface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string;\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement<any>;\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';\n /**\n * A slot to place the icon in.\n *\n * @default 'icon'\n */\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n /**\n * Color of the Icon.\n */\n color?: IconColorValue;\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and\n * rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, size, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider: undefined | ProviderContext;\n try {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"Icon.mjs.map"}
1
+ {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AA2CD,SAAS,qCAAe,KAAqB;IAC3C,OAAO,CAAC,wBAAwB,EAAE,MAAM,YAAY,CAAC;AACvD;AAEA,MAAM,uCAAgC;IACpC,GAAG,CAAA,GAAA,yCAAa,CAAC;IACjB,OAAO;QAAC;QAAS;KAAe;AAClC;AAMO,SAAS,0CAAK,KAAgB;IACnC,QAAQ,CAAA,GAAA,yCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,QAAE,IAAI,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAC1F,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,yCAAY,EAAE,YAAY;IAE7C,IAAI;IACJ,IAAI;QACF,gDAAgD;QAChD,WAAW,CAAA,GAAA,yCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAE7C,IAAI,CAAC,YACH,aAAa;IAGf,2EAA2E;IAC3E,IAAI,WAAW,OAAO,OAAO;IAE7B,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;QACb,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,iDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA,CAAC,mBAAmB,EAAE,UAAU,EAChC,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/Icon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, IconColorValue, StyleProps} from '@react-types/shared';\nimport {baseStyleProps, StyleHandlers, useStyleProps} from '../utils/styleProps';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\n\nexport interface IconProps extends DOMProps, AriaLabelingProps, StyleProps {\n /**\n * A screen reader only label for the Icon.\n */\n 'aria-label'?: string;\n /**\n * The content to display. Should be an SVG.\n */\n children: ReactElement<any>;\n /**\n * Size of Icon (changes based on scale).\n */\n size?: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';\n /**\n * A slot to place the icon in.\n *\n * @default 'icon'\n */\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n /**\n * Color of the Icon.\n */\n color?: IconColorValue;\n}\n\nexport type IconPropsWithoutChildren = Omit<IconProps, 'children'>;\n\nfunction iconColorValue(value: IconColorValue) {\n return `var(--spectrum-semantic-${value}-color-icon)`;\n}\n\nconst iconStyleProps: StyleHandlers = {\n ...baseStyleProps,\n color: ['color', iconColorValue]\n};\n\n/**\n * Spectrum icons are clear, minimal, and consistent across platforms. They follow the focused and\n * rational principles of the design system in both metaphor and style.\n */\nexport function Icon(props: IconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, size, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n let {styleProps} = useStyleProps(otherProps, iconStyleProps);\n\n let provider: undefined | ProviderContext;\n try {\n // oxlint-disable-next-line react/react-compiler\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n // Use user specified size, falling back to provider scale if size is undef\n let iconSize = size ? size : scale;\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n `spectrum-Icon--size${iconSize}`,\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"Icon.mjs.map"}
@@ -40,7 +40,7 @@ function $8b9c8915fc2ec08b$export$906cc5990ff10700(props) {
40
40
  let { styleProps: styleProps } = (0, $b8f90d51c4908137$exports.useStyleProps)(otherProps);
41
41
  let provider;
42
42
  try {
43
- // eslint-disable-next-line react-hooks/rules-of-hooks
43
+ // oxlint-disable-next-line react/react-compiler
44
44
  provider = (0, $544fc82701fc93e9$exports.useProvider)();
45
45
  } catch {
46
46
  // ignore
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AAuBM,SAAS,0CAAO,KAAkB;IACvC,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAEpF,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI;IACJ,IAAI;QACF,sDAAsD;QACtD,WAAW,CAAA,GAAA,qCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAG7C,IAAI,CAAC,YACH,aAAa;IAGf,qBAAO,CAAA,GAAA,sCAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,6CAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;eACb;QACA,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,mDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA;YACE,CAAC,CAAC,gBAAgB,EAAE,SAAS,IAAI,CAAC,cAAc,EAAE,CAAC,EAAE,SAAS,IAAI,CAAC,cAAc;QACnF,GACA,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/UIIcon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\nimport {useStyleProps} from '../utils/styleProps';\n\nexport interface UIIconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement<any>;\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n}\n\nexport type UIIconPropsWithoutChildren = Omit<UIIconProps, 'children'>;\n\nexport function UIIcon(props: UIIconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider: undefined | ProviderContext;\n try {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"UIIcon.cjs.map"}
1
+ {"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AAuBM,SAAS,0CAAO,KAAkB;IACvC,QAAQ,CAAA,GAAA,sCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAEpF,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,uCAAY,EAAE;IACjC,IAAI;IACJ,IAAI;QACF,gDAAgD;QAChD,WAAW,CAAA,GAAA,qCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAG7C,IAAI,CAAC,YACH,aAAa;IAGf,qBAAO,CAAA,GAAA,sCAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,6CAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;eACb;QACA,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,oCAAS,EAClB,CAAA,GAAA,mDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA;YACE,CAAC,CAAC,gBAAgB,EAAE,SAAS,IAAI,CAAC,cAAc,EAAE,CAAC,EAAE,SAAS,IAAI,CAAC,cAAc;QACnF,GACA,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/UIIcon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\nimport {useStyleProps} from '../utils/styleProps';\n\nexport interface UIIconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement<any>;\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n}\n\nexport type UIIconPropsWithoutChildren = Omit<UIIconProps, 'children'>;\n\nexport function UIIcon(props: UIIconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider: undefined | ProviderContext;\n try {\n // oxlint-disable-next-line react/react-compiler\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"UIIcon.cjs.map"}
@@ -34,7 +34,7 @@ function $984a9a9397301034$export$906cc5990ff10700(props) {
34
34
  let { styleProps: styleProps } = (0, $120fbea2d95e11ed$export$b8e6fb9d2dff3f41)(otherProps);
35
35
  let provider;
36
36
  try {
37
- // eslint-disable-next-line react-hooks/rules-of-hooks
37
+ // oxlint-disable-next-line react/react-compiler
38
38
  provider = (0, $089943c7a219141c$export$693cdb10cec23617)();
39
39
  } catch {
40
40
  // ignore
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AAuBM,SAAS,0CAAO,KAAkB;IACvC,QAAQ,CAAA,GAAA,yCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAEpF,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,yCAAY,EAAE;IACjC,IAAI;IACJ,IAAI;QACF,sDAAsD;QACtD,WAAW,CAAA,GAAA,yCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAG7C,IAAI,CAAC,YACH,aAAa;IAGf,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;eACb;QACA,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,iDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA;YACE,CAAC,CAAC,gBAAgB,EAAE,SAAS,IAAI,CAAC,cAAc,EAAE,CAAC,EAAE,SAAS,IAAI,CAAC,cAAc;QACnF,GACA,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/UIIcon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\nimport {useStyleProps} from '../utils/styleProps';\n\nexport interface UIIconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement<any>;\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n}\n\nexport type UIIconPropsWithoutChildren = Omit<UIIconProps, 'children'>;\n\nexport function UIIcon(props: UIIconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider: undefined | ProviderContext;\n try {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"UIIcon.js.map"}
1
+ {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AAuBM,SAAS,0CAAO,KAAkB;IACvC,QAAQ,CAAA,GAAA,yCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAEpF,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,yCAAY,EAAE;IACjC,IAAI;IACJ,IAAI;QACF,gDAAgD;QAChD,WAAW,CAAA,GAAA,yCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAG7C,IAAI,CAAC,YACH,aAAa;IAGf,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;eACb;QACA,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,iDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA;YACE,CAAC,CAAC,gBAAgB,EAAE,SAAS,IAAI,CAAC,cAAc,EAAE,CAAC,EAAE,SAAS,IAAI,CAAC,cAAc;QACnF,GACA,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/UIIcon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\nimport {useStyleProps} from '../utils/styleProps';\n\nexport interface UIIconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement<any>;\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n}\n\nexport type UIIconPropsWithoutChildren = Omit<UIIconProps, 'children'>;\n\nexport function UIIcon(props: UIIconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider: undefined | ProviderContext;\n try {\n // oxlint-disable-next-line react/react-compiler\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"UIIcon.js.map"}
@@ -34,7 +34,7 @@ function $9a2a85fbdc5a6581$export$906cc5990ff10700(props) {
34
34
  let { styleProps: styleProps } = (0, $63d03c54ca5e4b88$export$b8e6fb9d2dff3f41)(otherProps);
35
35
  let provider;
36
36
  try {
37
- // eslint-disable-next-line react-hooks/rules-of-hooks
37
+ // oxlint-disable-next-line react/react-compiler
38
38
  provider = (0, $71dfb0e0358a12de$export$693cdb10cec23617)();
39
39
  } catch {
40
40
  // ignore
@@ -1 +1 @@
1
- {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AAuBM,SAAS,0CAAO,KAAkB;IACvC,QAAQ,CAAA,GAAA,yCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAEpF,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,yCAAY,EAAE;IACjC,IAAI;IACJ,IAAI;QACF,sDAAsD;QACtD,WAAW,CAAA,GAAA,yCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAG7C,IAAI,CAAC,YACH,aAAa;IAGf,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;eACb;QACA,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,iDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA;YACE,CAAC,CAAC,gBAAgB,EAAE,SAAS,IAAI,CAAC,cAAc,EAAE,CAAC,EAAE,SAAS,IAAI,CAAC,cAAc;QACnF,GACA,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/UIIcon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\nimport {useStyleProps} from '../utils/styleProps';\n\nexport interface UIIconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement<any>;\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n}\n\nexport type UIIconPropsWithoutChildren = Omit<UIIconProps, 'children'>;\n\nexport function UIIcon(props: UIIconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider: undefined | ProviderContext;\n try {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"UIIcon.mjs.map"}
1
+ {"mappings":";;;;;;;;;;;;;AAAA;;;;;;;;;;CAUC;;;;;;;AAuBM,SAAS,0CAAO,KAAkB;IACvC,QAAQ,CAAA,GAAA,yCAAW,EAAE,OAAO;IAC5B,IAAI,YAAC,QAAQ,EAAE,cAAc,SAAS,EAAE,eAAe,UAAU,EAAE,GAAG,YAAW,GAAG;IAEpF,IAAI,cAAC,UAAU,EAAC,GAAG,CAAA,GAAA,yCAAY,EAAE;IACjC,IAAI;IACJ,IAAI;QACF,gDAAgD;QAChD,WAAW,CAAA,GAAA,yCAAU;IACvB,EAAE,OAAM;IACN,SAAS;IACX;IACA,IAAI,QAAQ;IACZ,IAAI,YAAY,MACd,QAAQ,SAAS,KAAK,KAAK,UAAU,MAAM;IAG7C,IAAI,CAAC,YACH,aAAa;IAGf,qBAAO,CAAA,GAAA,YAAI,EAAE,YAAY,CAAC,UAAU;QAClC,GAAG,CAAA,GAAA,qBAAa,EAAE,WAAW;QAC7B,GAAG,UAAU;eACb;QACA,WAAW;QACX,cAAc;QACd,eAAe,YAAY,cAAc,YAAY;QACrD,MAAM;QACN,WAAW,CAAA,GAAA,yCAAS,EAClB,CAAA,GAAA,iDAAK,GACL,SAAS,KAAK,CAAC,SAAS,EACxB,iBACA;YACE,CAAC,CAAC,gBAAgB,EAAE,SAAS,IAAI,CAAC,cAAc,EAAE,CAAC,EAAE,SAAS,IAAI,CAAC,cAAc;QACnF,GACA,WAAW,SAAS;IAExB;AACF","sources":["packages/@adobe/react-spectrum/src/icon/UIIcon.tsx"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\nimport {AriaLabelingProps, DOMProps, StyleProps} from '@react-types/shared';\nimport {classNames} from '../utils/classNames';\nimport {filterDOMProps} from 'react-aria/filterDOMProps';\nimport {ProviderContext} from '../provider/types';\nimport React, {JSX, ReactElement} from 'react';\nimport styles from '@adobe/spectrum-css-temp/components/icon/vars.css';\nimport {useProvider} from '../provider/Provider';\nimport {useSlotProps} from '../utils/Slots';\nimport {useStyleProps} from '../utils/styleProps';\n\nexport interface UIIconProps extends DOMProps, AriaLabelingProps, StyleProps {\n children: ReactElement<any>;\n slot?: string;\n /**\n * Indicates whether the element is exposed to an accessibility API.\n */\n 'aria-hidden'?: boolean | 'false' | 'true';\n}\n\nexport type UIIconPropsWithoutChildren = Omit<UIIconProps, 'children'>;\n\nexport function UIIcon(props: UIIconProps): JSX.Element {\n props = useSlotProps(props, 'icon');\n let {children, 'aria-label': ariaLabel, 'aria-hidden': ariaHidden, ...otherProps} = props;\n\n let {styleProps} = useStyleProps(otherProps);\n let provider: undefined | ProviderContext;\n try {\n // oxlint-disable-next-line react/react-compiler\n provider = useProvider();\n } catch {\n // ignore\n }\n let scale = 'M';\n if (provider != null) {\n scale = provider.scale === 'large' ? 'L' : 'M';\n }\n\n if (!ariaHidden) {\n ariaHidden = undefined;\n }\n\n return React.cloneElement(children, {\n ...filterDOMProps(otherProps),\n ...styleProps,\n scale,\n focusable: 'false',\n 'aria-label': ariaLabel,\n 'aria-hidden': ariaLabel ? ariaHidden || undefined : true,\n role: 'img',\n className: classNames(\n styles,\n children.props.className,\n 'spectrum-Icon',\n {\n [`spectrum-UIIcon-${children.type['displayName']}`]: children.type['displayName']\n },\n styleProps.className\n )\n });\n}\n"],"names":[],"version":3,"file":"UIIcon.mjs.map"}
@@ -1,5 +1,5 @@
1
1
  module.exports = {
2
- "(optional)": `\u{FF08}\u{53EF}\u{9009}\u{FF09}`,
2
+ "(optional)": `\u{FF08}\u{975E}\u{5FC5}\u{987B}\u{FF09}`,
3
3
  "(required)": `\u{FF08}\u{5FC5}\u{586B}\u{FF09}`
4
4
  };
5
5
 
@@ -1 +1 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,gCAAI,CAAC;IACtC,cAAc,CAAC,gCAAI,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/label/zh-CN.json"],"sourcesContent":["{\n \"(optional)\": \"(可选)\",\n \"(required)\": \"(必填)\"\n}\n"],"names":[],"version":3,"file":"zh-CN.cjs.map"}
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,wCAAK,CAAC;IACvC,cAAc,CAAC,gCAAI,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/label/zh-CN.json"],"sourcesContent":["{\n \"(optional)\": \"(非必须)\",\n \"(required)\": \"(必填)\"\n}\n"],"names":[],"version":3,"file":"zh-CN.cjs.map"}
@@ -1,6 +1,6 @@
1
1
  var $bb28fc97ce0bcd2d$exports = {};
2
2
  $bb28fc97ce0bcd2d$exports = {
3
- "(optional)": `\u{FF08}\u{53EF}\u{9009}\u{FF09}`,
3
+ "(optional)": `\u{FF08}\u{975E}\u{5FC5}\u{987B}\u{FF09}`,
4
4
  "(required)": `\u{FF08}\u{5FC5}\u{586B}\u{FF09}`
5
5
  };
6
6
 
@@ -1 +1 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,gCAAI,CAAC;IACtC,cAAc,CAAC,gCAAI,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/label/zh-CN.json"],"sourcesContent":["{\n \"(optional)\": \"(可选)\",\n \"(required)\": \"(必填)\"\n}\n"],"names":[],"version":3,"file":"zh-CN.js.map"}
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,wCAAK,CAAC;IACvC,cAAc,CAAC,gCAAI,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/label/zh-CN.json"],"sourcesContent":["{\n \"(optional)\": \"(非必须)\",\n \"(required)\": \"(必填)\"\n}\n"],"names":[],"version":3,"file":"zh-CN.js.map"}
@@ -1,6 +1,6 @@
1
1
  var $a8674336c84eda04$exports = {};
2
2
  $a8674336c84eda04$exports = {
3
- "(optional)": `\u{FF08}\u{53EF}\u{9009}\u{FF09}`,
3
+ "(optional)": `\u{FF08}\u{975E}\u{5FC5}\u{987B}\u{FF09}`,
4
4
  "(required)": `\u{FF08}\u{5FC5}\u{586B}\u{FF09}`
5
5
  };
6
6
 
@@ -1 +1 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,gCAAI,CAAC;IACtC,cAAc,CAAC,gCAAI,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/label/zh-CN.json"],"sourcesContent":["{\n \"(optional)\": \"(可选)\",\n \"(required)\": \"(必填)\"\n}\n"],"names":[],"version":3,"file":"zh-CN.mjs.map"}
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,wCAAK,CAAC;IACvC,cAAc,CAAC,gCAAI,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/label/zh-CN.json"],"sourcesContent":["{\n \"(optional)\": \"(非必须)\",\n \"(required)\": \"(必填)\"\n}\n"],"names":[],"version":3,"file":"zh-CN.mjs.map"}
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  "backButton": (args)=>`Volver a ${args.prevMenuButton}`,
3
3
  "moreActions": `M\xe1s acciones`,
4
- "unavailable": `No disponible, ampliar para m\xe1s detalles`
4
+ "unavailable": `No disponible, expandir para m\xe1s detalles`
5
5
  };
6
6
 
7
7
 
@@ -1 +1 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,OAAS,CAAC,SAAS,EAAE,KAAK,cAAc,EAAE;IAC3E,eAAe,CAAC,eAAY,CAAC;IAC7B,eAAe,CAAC,2CAAwC,CAAC;AAC3D","sources":["packages/@adobe/react-spectrum/intl/menu/es-ES.json"],"sourcesContent":["{\n \"backButton\": \"Volver a {prevMenuButton}\",\n \"moreActions\": \"Más acciones\",\n \"unavailable\": \"No disponible, ampliar para más detalles\"\n}\n"],"names":[],"version":3,"file":"es-ES.cjs.map"}
1
+ {"mappings":"AAAA,iBAAiB;IAAG,cAAc,CAAC,OAAS,CAAC,SAAS,EAAE,KAAK,cAAc,EAAE;IAC3E,eAAe,CAAC,eAAY,CAAC;IAC7B,eAAe,CAAC,4CAAyC,CAAC;AAC5D","sources":["packages/@adobe/react-spectrum/intl/menu/es-ES.json"],"sourcesContent":["{\n \"backButton\": \"Volver a {prevMenuButton}\",\n \"moreActions\": \"Más acciones\",\n \"unavailable\": \"No disponible, expandir para más detalles\"\n}\n"],"names":[],"version":3,"file":"es-ES.cjs.map"}
@@ -2,7 +2,7 @@ var $ac36b7b052fc463d$exports = {};
2
2
  $ac36b7b052fc463d$exports = {
3
3
  "backButton": (args)=>`Volver a ${args.prevMenuButton}`,
4
4
  "moreActions": `M\xe1s acciones`,
5
- "unavailable": `No disponible, ampliar para m\xe1s detalles`
5
+ "unavailable": `No disponible, expandir para m\xe1s detalles`
6
6
  };
7
7
 
8
8
 
@@ -1 +1 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,OAAS,CAAC,SAAS,EAAE,KAAK,cAAc,EAAE;IAC3E,eAAe,CAAC,eAAY,CAAC;IAC7B,eAAe,CAAC,2CAAwC,CAAC;AAC3D","sources":["packages/@adobe/react-spectrum/intl/menu/es-ES.json"],"sourcesContent":["{\n \"backButton\": \"Volver a {prevMenuButton}\",\n \"moreActions\": \"Más acciones\",\n \"unavailable\": \"No disponible, ampliar para más detalles\"\n}\n"],"names":[],"version":3,"file":"es-ES.js.map"}
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,OAAS,CAAC,SAAS,EAAE,KAAK,cAAc,EAAE;IAC3E,eAAe,CAAC,eAAY,CAAC;IAC7B,eAAe,CAAC,4CAAyC,CAAC;AAC5D","sources":["packages/@adobe/react-spectrum/intl/menu/es-ES.json"],"sourcesContent":["{\n \"backButton\": \"Volver a {prevMenuButton}\",\n \"moreActions\": \"Más acciones\",\n \"unavailable\": \"No disponible, expandir para más detalles\"\n}\n"],"names":[],"version":3,"file":"es-ES.js.map"}
@@ -2,7 +2,7 @@ var $f4136d995a29eff2$exports = {};
2
2
  $f4136d995a29eff2$exports = {
3
3
  "backButton": (args)=>`Volver a ${args.prevMenuButton}`,
4
4
  "moreActions": `M\xe1s acciones`,
5
- "unavailable": `No disponible, ampliar para m\xe1s detalles`
5
+ "unavailable": `No disponible, expandir para m\xe1s detalles`
6
6
  };
7
7
 
8
8
 
@@ -1 +1 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,OAAS,CAAC,SAAS,EAAE,KAAK,cAAc,EAAE;IAC3E,eAAe,CAAC,eAAY,CAAC;IAC7B,eAAe,CAAC,2CAAwC,CAAC;AAC3D","sources":["packages/@adobe/react-spectrum/intl/menu/es-ES.json"],"sourcesContent":["{\n \"backButton\": \"Volver a {prevMenuButton}\",\n \"moreActions\": \"Más acciones\",\n \"unavailable\": \"No disponible, ampliar para más detalles\"\n}\n"],"names":[],"version":3,"file":"es-ES.mjs.map"}
1
+ {"mappings":";AAAA,4BAAiB;IAAG,cAAc,CAAC,OAAS,CAAC,SAAS,EAAE,KAAK,cAAc,EAAE;IAC3E,eAAe,CAAC,eAAY,CAAC;IAC7B,eAAe,CAAC,4CAAyC,CAAC;AAC5D","sources":["packages/@adobe/react-spectrum/intl/menu/es-ES.json"],"sourcesContent":["{\n \"backButton\": \"Volver a {prevMenuButton}\",\n \"moreActions\": \"Más acciones\",\n \"unavailable\": \"No disponible, expandir para más detalles\"\n}\n"],"names":[],"version":3,"file":"es-ES.mjs.map"}
@@ -1,6 +1,6 @@
1
1
  module.exports = {
2
2
  "loading": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}...`,
3
- "placeholder": `\u{9009}\u{62E9}...`
3
+ "placeholder": `\u{9009}\u{62E9}\u{2026}`
4
4
  };
5
5
 
6
6
 
@@ -1 +1 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,WAAW,CAAC,mCAAO,CAAC;IACtC,eAAe,CAAC,mBAAK,CAAC;AACxB","sources":["packages/@adobe/react-spectrum/intl/picker/zh-CN.json"],"sourcesContent":["{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择...\"\n}\n"],"names":[],"version":3,"file":"zh-CN.cjs.map"}
1
+ {"mappings":"AAAA,iBAAiB;IAAG,WAAW,CAAC,mCAAO,CAAC;IACtC,eAAe,CAAC,wBAAG,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/picker/zh-CN.json"],"sourcesContent":["{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择…\"\n}\n"],"names":[],"version":3,"file":"zh-CN.cjs.map"}
@@ -1,7 +1,7 @@
1
1
  var $636739fffa3b925d$exports = {};
2
2
  $636739fffa3b925d$exports = {
3
3
  "loading": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}...`,
4
- "placeholder": `\u{9009}\u{62E9}...`
4
+ "placeholder": `\u{9009}\u{62E9}\u{2026}`
5
5
  };
6
6
 
7
7
 
@@ -1 +1 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,WAAW,CAAC,mCAAO,CAAC;IACtC,eAAe,CAAC,mBAAK,CAAC;AACxB","sources":["packages/@adobe/react-spectrum/intl/picker/zh-CN.json"],"sourcesContent":["{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择...\"\n}\n"],"names":[],"version":3,"file":"zh-CN.js.map"}
1
+ {"mappings":";AAAA,4BAAiB;IAAG,WAAW,CAAC,mCAAO,CAAC;IACtC,eAAe,CAAC,wBAAG,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/picker/zh-CN.json"],"sourcesContent":["{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择…\"\n}\n"],"names":[],"version":3,"file":"zh-CN.js.map"}
@@ -1,7 +1,7 @@
1
1
  var $1057e6307507310d$exports = {};
2
2
  $1057e6307507310d$exports = {
3
3
  "loading": `\u{6B63}\u{5728}\u{52A0}\u{8F7D}...`,
4
- "placeholder": `\u{9009}\u{62E9}...`
4
+ "placeholder": `\u{9009}\u{62E9}\u{2026}`
5
5
  };
6
6
 
7
7
 
@@ -1 +1 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,WAAW,CAAC,mCAAO,CAAC;IACtC,eAAe,CAAC,mBAAK,CAAC;AACxB","sources":["packages/@adobe/react-spectrum/intl/picker/zh-CN.json"],"sourcesContent":["{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择...\"\n}\n"],"names":[],"version":3,"file":"zh-CN.mjs.map"}
1
+ {"mappings":";AAAA,4BAAiB;IAAG,WAAW,CAAC,mCAAO,CAAC;IACtC,eAAe,CAAC,wBAAG,CAAC;AACtB","sources":["packages/@adobe/react-spectrum/intl/picker/zh-CN.json"],"sourcesContent":["{\n \"loading\": \"正在加载...\",\n \"placeholder\": \"选择…\"\n}\n"],"names":[],"version":3,"file":"zh-CN.mjs.map"}
@@ -2,7 +2,7 @@ module.exports = {
2
2
  "collapse": `Contraer`,
3
3
  "columnResizer": `Redimensionador de columnas`,
4
4
  "drag": `Arrastrar`,
5
- "expand": `Ampliar`,
5
+ "expand": `Expandir`,
6
6
  "loading": `Cargando\u{2026}`,
7
7
  "loadingMore": `Cargando m\xe1s\u{2026}`,
8
8
  "resizeColumn": `Cambiar el tama\xf1o de la columna`,
@@ -1 +1 @@
1
- {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,QAAQ,CAAC;IACxC,iBAAiB,CAAC,2BAA2B,CAAC;IAC9C,QAAQ,CAAC,SAAS,CAAC;IACnB,UAAU,CAAC,OAAO,CAAC;IACnB,WAAW,CAAC,gBAAS,CAAC;IACtB,eAAe,CAAC,uBAAa,CAAC;IAC9B,gBAAgB,CAAC,kCAA+B,CAAC;IACjD,iBAAiB,CAAC,gBAAgB,CAAC;IACnC,kBAAkB,CAAC,iBAAiB,CAAC;AACvC","sources":["packages/@adobe/react-spectrum/intl/table/es-ES.json"],"sourcesContent":["{\n \"collapse\": \"Contraer\",\n \"columnResizer\": \"Redimensionador de columnas\",\n \"drag\": \"Arrastrar\",\n \"expand\": \"Ampliar\",\n \"loading\": \"Cargando…\",\n \"loadingMore\": \"Cargando más…\",\n \"resizeColumn\": \"Cambiar el tamaño de la columna\",\n \"sortAscending\": \"Orden ascendente\",\n \"sortDescending\": \"Orden descendente\"\n}\n"],"names":[],"version":3,"file":"es-ES.cjs.map"}
1
+ {"mappings":"AAAA,iBAAiB;IAAG,YAAY,CAAC,QAAQ,CAAC;IACxC,iBAAiB,CAAC,2BAA2B,CAAC;IAC9C,QAAQ,CAAC,SAAS,CAAC;IACnB,UAAU,CAAC,QAAQ,CAAC;IACpB,WAAW,CAAC,gBAAS,CAAC;IACtB,eAAe,CAAC,uBAAa,CAAC;IAC9B,gBAAgB,CAAC,kCAA+B,CAAC;IACjD,iBAAiB,CAAC,gBAAgB,CAAC;IACnC,kBAAkB,CAAC,iBAAiB,CAAC;AACvC","sources":["packages/@adobe/react-spectrum/intl/table/es-ES.json"],"sourcesContent":["{\n \"collapse\": \"Contraer\",\n \"columnResizer\": \"Redimensionador de columnas\",\n \"drag\": \"Arrastrar\",\n \"expand\": \"Expandir\",\n \"loading\": \"Cargando…\",\n \"loadingMore\": \"Cargando más…\",\n \"resizeColumn\": \"Cambiar el tamaño de la columna\",\n \"sortAscending\": \"Orden ascendente\",\n \"sortDescending\": \"Orden descendente\"\n}\n"],"names":[],"version":3,"file":"es-ES.cjs.map"}
@@ -3,7 +3,7 @@ $ab1fffb8ea066790$exports = {
3
3
  "collapse": `Contraer`,
4
4
  "columnResizer": `Redimensionador de columnas`,
5
5
  "drag": `Arrastrar`,
6
- "expand": `Ampliar`,
6
+ "expand": `Expandir`,
7
7
  "loading": `Cargando\u{2026}`,
8
8
  "loadingMore": `Cargando m\xe1s\u{2026}`,
9
9
  "resizeColumn": `Cambiar el tama\xf1o de la columna`,
@@ -1 +1 @@
1
- {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,QAAQ,CAAC;IACxC,iBAAiB,CAAC,2BAA2B,CAAC;IAC9C,QAAQ,CAAC,SAAS,CAAC;IACnB,UAAU,CAAC,OAAO,CAAC;IACnB,WAAW,CAAC,gBAAS,CAAC;IACtB,eAAe,CAAC,uBAAa,CAAC;IAC9B,gBAAgB,CAAC,kCAA+B,CAAC;IACjD,iBAAiB,CAAC,gBAAgB,CAAC;IACnC,kBAAkB,CAAC,iBAAiB,CAAC;AACvC","sources":["packages/@adobe/react-spectrum/intl/table/es-ES.json"],"sourcesContent":["{\n \"collapse\": \"Contraer\",\n \"columnResizer\": \"Redimensionador de columnas\",\n \"drag\": \"Arrastrar\",\n \"expand\": \"Ampliar\",\n \"loading\": \"Cargando…\",\n \"loadingMore\": \"Cargando más…\",\n \"resizeColumn\": \"Cambiar el tamaño de la columna\",\n \"sortAscending\": \"Orden ascendente\",\n \"sortDescending\": \"Orden descendente\"\n}\n"],"names":[],"version":3,"file":"es-ES.js.map"}
1
+ {"mappings":";AAAA,4BAAiB;IAAG,YAAY,CAAC,QAAQ,CAAC;IACxC,iBAAiB,CAAC,2BAA2B,CAAC;IAC9C,QAAQ,CAAC,SAAS,CAAC;IACnB,UAAU,CAAC,QAAQ,CAAC;IACpB,WAAW,CAAC,gBAAS,CAAC;IACtB,eAAe,CAAC,uBAAa,CAAC;IAC9B,gBAAgB,CAAC,kCAA+B,CAAC;IACjD,iBAAiB,CAAC,gBAAgB,CAAC;IACnC,kBAAkB,CAAC,iBAAiB,CAAC;AACvC","sources":["packages/@adobe/react-spectrum/intl/table/es-ES.json"],"sourcesContent":["{\n \"collapse\": \"Contraer\",\n \"columnResizer\": \"Redimensionador de columnas\",\n \"drag\": \"Arrastrar\",\n \"expand\": \"Expandir\",\n \"loading\": \"Cargando…\",\n \"loadingMore\": \"Cargando más…\",\n \"resizeColumn\": \"Cambiar el tamaño de la columna\",\n \"sortAscending\": \"Orden ascendente\",\n \"sortDescending\": \"Orden descendente\"\n}\n"],"names":[],"version":3,"file":"es-ES.js.map"}