@easypost/easy-ui 1.0.0-alpha.12 → 1.0.0-alpha.120

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 (1105) hide show
  1. package/AlertBadge/AlertBadge.d.ts +32 -0
  2. package/AlertBadge/AlertBadge.d.ts.map +1 -0
  3. package/AlertBadge/AlertBadge.stories.d.ts +10 -0
  4. package/AlertBadge/AlertBadge.stories.d.ts.map +1 -0
  5. package/AlertBadge/AlertBadge.test.d.ts +2 -0
  6. package/AlertBadge/AlertBadge.test.d.ts.map +1 -0
  7. package/AlertBadge/index.d.ts +2 -0
  8. package/AlertBadge/index.d.ts.map +1 -0
  9. package/AlertBadge/index.js +59 -0
  10. package/AlertBadge/index.mjs +59 -0
  11. package/Badge/Badge.d.ts +11 -0
  12. package/Badge/Badge.d.ts.map +1 -1
  13. package/Badge/Badge.stories.d.ts +1 -1
  14. package/Badge/Badge.stories.d.ts.map +1 -1
  15. package/Badge/index.js +47 -33
  16. package/Badge/index.mjs +47 -33
  17. package/Banner/Banner.stories.d.ts +1 -1
  18. package/Banner/Banner.stories.d.ts.map +1 -1
  19. package/Banner/index.js +23 -16
  20. package/Banner/index.mjs +23 -16
  21. package/Button/Button.d.ts +12 -10
  22. package/Button/Button.d.ts.map +1 -1
  23. package/Button/Button.stories.d.ts +12 -10
  24. package/Button/Button.stories.d.ts.map +1 -1
  25. package/Button/index.js +2 -92
  26. package/Button/index.mjs +2 -92
  27. package/Button/utilities.d.ts +4 -0
  28. package/Button/utilities.d.ts.map +1 -1
  29. package/CHANGELOG.md +856 -0
  30. package/Calendar/Calendar.d.ts +67 -0
  31. package/Calendar/Calendar.d.ts.map +1 -0
  32. package/Calendar/Calendar.stories.d.ts +15 -0
  33. package/Calendar/Calendar.stories.d.ts.map +1 -0
  34. package/Calendar/Calendar.test.d.ts +2 -0
  35. package/Calendar/Calendar.test.d.ts.map +1 -0
  36. package/Calendar/CalendarBase.d.ts +57 -0
  37. package/Calendar/CalendarBase.d.ts.map +1 -0
  38. package/Calendar/CalendarCell.d.ts +12 -0
  39. package/Calendar/CalendarCell.d.ts.map +1 -0
  40. package/Calendar/CalendarGrid.d.ts +9 -0
  41. package/Calendar/CalendarGrid.d.ts.map +1 -0
  42. package/Calendar/CalendarHeader.d.ts +20 -0
  43. package/Calendar/CalendarHeader.d.ts.map +1 -0
  44. package/Calendar/index.d.ts +2 -0
  45. package/Calendar/index.d.ts.map +1 -0
  46. package/Calendar/index.js +4 -0
  47. package/Calendar/index.mjs +4 -0
  48. package/Card/Card.d.ts +64 -5
  49. package/Card/Card.d.ts.map +1 -1
  50. package/Card/Card.stories.d.ts +5 -1
  51. package/Card/Card.stories.d.ts.map +1 -1
  52. package/Card/index.js +3 -84
  53. package/Card/index.mjs +3 -84
  54. package/CheckableCard/CheckableCard.d.ts +28 -0
  55. package/CheckableCard/CheckableCard.d.ts.map +1 -0
  56. package/CheckableCard/CheckableCard.stories.d.ts +7 -0
  57. package/CheckableCard/CheckableCard.stories.d.ts.map +1 -0
  58. package/CheckableCard/CheckableCard.test.d.ts +2 -0
  59. package/CheckableCard/CheckableCard.test.d.ts.map +1 -0
  60. package/CheckableCard/index.d.ts +2 -0
  61. package/CheckableCard/index.d.ts.map +1 -0
  62. package/CheckableCard/index.js +74 -0
  63. package/CheckableCard/index.mjs +74 -0
  64. package/Checkbox/Checkbox.d.ts +1 -1
  65. package/Checkbox/Checkbox.d.ts.map +1 -1
  66. package/Checkbox/Checkbox.stories.d.ts +2 -1
  67. package/Checkbox/Checkbox.stories.d.ts.map +1 -1
  68. package/Checkbox/Checkbox.test.d.ts +1 -2
  69. package/Checkbox/Checkbox.test.d.ts.map +1 -1
  70. package/Checkbox/index.js +3 -231
  71. package/Checkbox/index.mjs +3 -215
  72. package/CodeBlock/CodeBlock.d.ts +6 -0
  73. package/CodeBlock/CodeBlock.d.ts.map +1 -1
  74. package/CodeBlock/CodeBlock.stories.d.ts +1 -1
  75. package/CodeBlock/CodeBlock.stories.d.ts.map +1 -1
  76. package/CodeBlock/LanguageMenu.d.ts.map +1 -1
  77. package/CodeBlock/context.d.ts +2 -1
  78. package/CodeBlock/context.d.ts.map +1 -1
  79. package/CodeBlock/index.js +232 -211
  80. package/CodeBlock/index.mjs +227 -206
  81. package/CodeSnippet/CodeSnippet.d.ts +3 -3
  82. package/CodeSnippet/CodeSnippet.d.ts.map +1 -1
  83. package/CodeSnippet/CodeSnippet.stories.d.ts +1 -1
  84. package/CodeSnippet/CodeSnippet.stories.d.ts.map +1 -1
  85. package/CodeSnippet/SyntaxHighlighter.d.ts +7 -0
  86. package/CodeSnippet/SyntaxHighlighter.d.ts.map +1 -1
  87. package/CodeSnippet/index.js +2 -9
  88. package/CodeSnippet/index.mjs +2 -9
  89. package/CodeSnippet/theme.d.ts +0 -1
  90. package/CodeSnippet/theme.d.ts.map +1 -1
  91. package/ColorPicker/ColorArea.d.ts +4 -0
  92. package/ColorPicker/ColorArea.d.ts.map +1 -0
  93. package/ColorPicker/ColorPicker.d.ts +36 -0
  94. package/ColorPicker/ColorPicker.d.ts.map +1 -0
  95. package/ColorPicker/ColorPicker.stories.d.ts +7 -0
  96. package/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
  97. package/ColorPicker/ColorPicker.test.d.ts +2 -0
  98. package/ColorPicker/ColorPicker.test.d.ts.map +1 -0
  99. package/ColorPicker/ColorPickerInputField.d.ts +72 -0
  100. package/ColorPicker/ColorPickerInputField.d.ts.map +1 -0
  101. package/ColorPicker/ColorPickerInputField.stories.d.ts +16 -0
  102. package/ColorPicker/ColorPickerInputField.stories.d.ts.map +1 -0
  103. package/ColorPicker/ColorPickerInputField.test.d.ts +2 -0
  104. package/ColorPicker/ColorPickerInputField.test.d.ts.map +1 -0
  105. package/ColorPicker/ColorSlider.d.ts +4 -0
  106. package/ColorPicker/ColorSlider.d.ts.map +1 -0
  107. package/ColorPicker/ColorThumb.d.ts +6 -0
  108. package/ColorPicker/ColorThumb.d.ts.map +1 -0
  109. package/ColorPicker/index.d.ts +3 -0
  110. package/ColorPicker/index.d.ts.map +1 -0
  111. package/ColorPicker/index.js +5361 -0
  112. package/ColorPicker/index.mjs +5361 -0
  113. package/CustomerPortalLayout/CustomerPortalLayout.d.ts +97 -0
  114. package/CustomerPortalLayout/CustomerPortalLayout.d.ts.map +1 -0
  115. package/CustomerPortalLayout/CustomerPortalLayout.stories.d.ts +10 -0
  116. package/CustomerPortalLayout/CustomerPortalLayout.stories.d.ts.map +1 -0
  117. package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts +2 -0
  118. package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts.map +1 -0
  119. package/CustomerPortalLayout/CustomerPortalLayoutActions.d.ts +50 -0
  120. package/CustomerPortalLayout/CustomerPortalLayoutActions.d.ts.map +1 -0
  121. package/CustomerPortalLayout/index.d.ts +2 -0
  122. package/CustomerPortalLayout/index.d.ts.map +1 -0
  123. package/CustomerPortalLayout/index.js +319 -0
  124. package/CustomerPortalLayout/index.mjs +303 -0
  125. package/DataGrid/ActionsCellContent.d.ts +8 -0
  126. package/DataGrid/ActionsCellContent.d.ts.map +1 -0
  127. package/DataGrid/Cell.d.ts +15 -0
  128. package/DataGrid/Cell.d.ts.map +1 -0
  129. package/DataGrid/ColumnHeader.d.ts +10 -0
  130. package/DataGrid/ColumnHeader.d.ts.map +1 -0
  131. package/DataGrid/DataGrid.d.ts +39 -0
  132. package/DataGrid/DataGrid.d.ts.map +1 -0
  133. package/DataGrid/DataGrid.stories.d.ts +19 -0
  134. package/DataGrid/DataGrid.stories.d.ts.map +1 -0
  135. package/DataGrid/DataGrid.test.d.ts +2 -0
  136. package/DataGrid/DataGrid.test.d.ts.map +1 -0
  137. package/DataGrid/ExpandCellContent.d.ts +8 -0
  138. package/DataGrid/ExpandCellContent.d.ts.map +1 -0
  139. package/DataGrid/ExpandedRowContent.d.ts +7 -0
  140. package/DataGrid/ExpandedRowContent.d.ts.map +1 -0
  141. package/DataGrid/HeaderRow.d.ts +11 -0
  142. package/DataGrid/HeaderRow.d.ts.map +1 -0
  143. package/DataGrid/Row.d.ts +16 -0
  144. package/DataGrid/Row.d.ts.map +1 -0
  145. package/DataGrid/RowGroup.d.ts +8 -0
  146. package/DataGrid/RowGroup.d.ts.map +1 -0
  147. package/DataGrid/SortIndicator.d.ts +7 -0
  148. package/DataGrid/SortIndicator.d.ts.map +1 -0
  149. package/DataGrid/Table.d.ts +8 -0
  150. package/DataGrid/Table.d.ts.map +1 -0
  151. package/DataGrid/VisuallyHiddenCellContent.d.ts +7 -0
  152. package/DataGrid/VisuallyHiddenCellContent.d.ts.map +1 -0
  153. package/DataGrid/constants.d.ts +5 -0
  154. package/DataGrid/constants.d.ts.map +1 -0
  155. package/DataGrid/context.d.ts +31 -0
  156. package/DataGrid/context.d.ts.map +1 -0
  157. package/DataGrid/index.d.ts +2 -0
  158. package/DataGrid/index.d.ts.map +1 -0
  159. package/DataGrid/index.js +2844 -0
  160. package/DataGrid/index.mjs +2844 -0
  161. package/DataGrid/types.d.ts +99 -0
  162. package/DataGrid/types.d.ts.map +1 -0
  163. package/DataGrid/useEdgeInterceptors.d.ts +15 -0
  164. package/DataGrid/useEdgeInterceptors.d.ts.map +1 -0
  165. package/DataGrid/useExpandedRow.d.ts +14 -0
  166. package/DataGrid/useExpandedRow.d.ts.map +1 -0
  167. package/DataGrid/useGridTemplate.d.ts +14 -0
  168. package/DataGrid/useGridTemplate.d.ts.map +1 -0
  169. package/DatePicker/DateField.d.ts +14 -0
  170. package/DatePicker/DateField.d.ts.map +1 -0
  171. package/DatePicker/DatePicker.d.ts +91 -0
  172. package/DatePicker/DatePicker.d.ts.map +1 -0
  173. package/DatePicker/DatePicker.stories.d.ts +14 -0
  174. package/DatePicker/DatePicker.stories.d.ts.map +1 -0
  175. package/DatePicker/DatePicker.test.d.ts +2 -0
  176. package/DatePicker/DatePicker.test.d.ts.map +1 -0
  177. package/DatePicker/DatePickerBase.d.ts +32 -0
  178. package/DatePicker/DatePickerBase.d.ts.map +1 -0
  179. package/DatePicker/DatePickerOverlay.d.ts +12 -0
  180. package/DatePicker/DatePickerOverlay.d.ts.map +1 -0
  181. package/DatePicker/DatePickerTrigger.d.ts +20 -0
  182. package/DatePicker/DatePickerTrigger.d.ts.map +1 -0
  183. package/DatePicker/index.d.ts +2 -0
  184. package/DatePicker/index.d.ts.map +1 -0
  185. package/DatePicker/index.js +299 -0
  186. package/DatePicker/index.mjs +299 -0
  187. package/DateRangePicker/DateRangePicker.d.ts +89 -0
  188. package/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  189. package/DateRangePicker/DateRangePicker.stories.d.ts +14 -0
  190. package/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
  191. package/DateRangePicker/DateRangePicker.test.d.ts +2 -0
  192. package/DateRangePicker/DateRangePicker.test.d.ts.map +1 -0
  193. package/DateRangePicker/index.d.ts +2 -0
  194. package/DateRangePicker/index.d.ts.map +1 -0
  195. package/DateRangePicker/index.js +461 -0
  196. package/DateRangePicker/index.mjs +461 -0
  197. package/Drawer/Drawer.d.ts +53 -0
  198. package/Drawer/Drawer.d.ts.map +1 -0
  199. package/Drawer/Drawer.stories.d.ts +14 -0
  200. package/Drawer/Drawer.stories.d.ts.map +1 -0
  201. package/Drawer/Drawer.test.d.ts +2 -0
  202. package/Drawer/Drawer.test.d.ts.map +1 -0
  203. package/Drawer/DrawerBanner.d.ts +9 -0
  204. package/Drawer/DrawerBanner.d.ts.map +1 -0
  205. package/Drawer/DrawerBody.d.ts +10 -0
  206. package/Drawer/DrawerBody.d.ts.map +1 -0
  207. package/Drawer/DrawerCloseButton.d.ts +3 -0
  208. package/Drawer/DrawerCloseButton.d.ts.map +1 -0
  209. package/Drawer/DrawerContainer.d.ts +18 -0
  210. package/Drawer/DrawerContainer.d.ts.map +1 -0
  211. package/Drawer/DrawerContentArea.d.ts +17 -0
  212. package/Drawer/DrawerContentArea.d.ts.map +1 -0
  213. package/Drawer/DrawerHeader.d.ts +12 -0
  214. package/Drawer/DrawerHeader.d.ts.map +1 -0
  215. package/Drawer/DrawerTrigger.d.ts +26 -0
  216. package/Drawer/DrawerTrigger.d.ts.map +1 -0
  217. package/Drawer/DrawerUnderlay.d.ts +23 -0
  218. package/Drawer/DrawerUnderlay.d.ts.map +1 -0
  219. package/Drawer/context.d.ts +21 -0
  220. package/Drawer/context.d.ts.map +1 -0
  221. package/Drawer/index.d.ts +2 -0
  222. package/Drawer/index.d.ts.map +1 -0
  223. package/Drawer/index.js +403 -0
  224. package/Drawer/index.mjs +387 -0
  225. package/Drawer/useIntersectionDetection.d.ts +10 -0
  226. package/Drawer/useIntersectionDetection.d.ts.map +1 -0
  227. package/DropdownButton/DropdownButton.d.ts +3 -3
  228. package/DropdownButton/DropdownButton.d.ts.map +1 -1
  229. package/DropdownButton/DropdownButton.stories.d.ts +6 -6
  230. package/DropdownButton/DropdownButton.stories.d.ts.map +1 -1
  231. package/DropdownButton/index.js +28 -23
  232. package/DropdownButton/index.mjs +28 -23
  233. package/EmptyStateCard/EmptyStateCard.d.ts +87 -0
  234. package/EmptyStateCard/EmptyStateCard.d.ts.map +1 -0
  235. package/EmptyStateCard/EmptyStateCard.stories.d.ts +10 -0
  236. package/EmptyStateCard/EmptyStateCard.stories.d.ts.map +1 -0
  237. package/EmptyStateCard/EmptyStateCard.test.d.ts +2 -0
  238. package/EmptyStateCard/EmptyStateCard.test.d.ts.map +1 -0
  239. package/EmptyStateCard/index.d.ts +2 -0
  240. package/EmptyStateCard/index.d.ts.map +1 -0
  241. package/EmptyStateCard/index.js +147 -0
  242. package/EmptyStateCard/index.mjs +147 -0
  243. package/EmptyStateCard/utilities.d.ts +3 -0
  244. package/EmptyStateCard/utilities.d.ts.map +1 -0
  245. package/FocusedProductLayout/BackArrow.d.ts +4 -0
  246. package/FocusedProductLayout/BackArrow.d.ts.map +1 -0
  247. package/FocusedProductLayout/Content.d.ts +10 -0
  248. package/FocusedProductLayout/Content.d.ts.map +1 -0
  249. package/FocusedProductLayout/FocusedProductLayout.d.ts +111 -0
  250. package/FocusedProductLayout/FocusedProductLayout.d.ts.map +1 -0
  251. package/FocusedProductLayout/FocusedProductLayout.stories.d.ts +12 -0
  252. package/FocusedProductLayout/FocusedProductLayout.stories.d.ts.map +1 -0
  253. package/FocusedProductLayout/FocusedProductLayout.test.d.ts +2 -0
  254. package/FocusedProductLayout/FocusedProductLayout.test.d.ts.map +1 -0
  255. package/FocusedProductLayout/HeaderAtTopOfPage.d.ts +11 -0
  256. package/FocusedProductLayout/HeaderAtTopOfPage.d.ts.map +1 -0
  257. package/FocusedProductLayout/HeaderInContentArea.d.ts +11 -0
  258. package/FocusedProductLayout/HeaderInContentArea.d.ts.map +1 -0
  259. package/FocusedProductLayout/SidePanel.d.ts +13 -0
  260. package/FocusedProductLayout/SidePanel.d.ts.map +1 -0
  261. package/FocusedProductLayout/WizardContent.d.ts +49 -0
  262. package/FocusedProductLayout/WizardContent.d.ts.map +1 -0
  263. package/FocusedProductLayout/index.d.ts +2 -0
  264. package/FocusedProductLayout/index.d.ts.map +1 -0
  265. package/FocusedProductLayout/index.js +214 -0
  266. package/FocusedProductLayout/index.mjs +214 -0
  267. package/ForgeLayout/ForgeLayout.d.ts +138 -0
  268. package/ForgeLayout/ForgeLayout.d.ts.map +1 -0
  269. package/ForgeLayout/ForgeLayout.stories.d.ts +9 -0
  270. package/ForgeLayout/ForgeLayout.stories.d.ts.map +1 -0
  271. package/ForgeLayout/ForgeLayout.test.d.ts +2 -0
  272. package/ForgeLayout/ForgeLayout.test.d.ts.map +1 -0
  273. package/ForgeLayout/ForgeLayoutActions.d.ts +50 -0
  274. package/ForgeLayout/ForgeLayoutActions.d.ts.map +1 -0
  275. package/ForgeLayout/ForgeLayoutControls.d.ts +38 -0
  276. package/ForgeLayout/ForgeLayoutControls.d.ts.map +1 -0
  277. package/ForgeLayout/ForgeLayoutHeader.d.ts +18 -0
  278. package/ForgeLayout/ForgeLayoutHeader.d.ts.map +1 -0
  279. package/ForgeLayout/ForgeLayoutNav.d.ts +35 -0
  280. package/ForgeLayout/ForgeLayoutNav.d.ts.map +1 -0
  281. package/ForgeLayout/index.d.ts +2 -0
  282. package/ForgeLayout/index.d.ts.map +1 -0
  283. package/ForgeLayout/index.js +596 -0
  284. package/ForgeLayout/index.mjs +596 -0
  285. package/FormLayout/FormLayout.d.ts +55 -0
  286. package/FormLayout/FormLayout.d.ts.map +1 -0
  287. package/FormLayout/FormLayout.stories.d.ts +13 -0
  288. package/FormLayout/FormLayout.stories.d.ts.map +1 -0
  289. package/FormLayout/FormLayout.test.d.ts +2 -0
  290. package/FormLayout/FormLayout.test.d.ts.map +1 -0
  291. package/FormLayout/Grid.d.ts +19 -0
  292. package/FormLayout/Grid.d.ts.map +1 -0
  293. package/FormLayout/Header.d.ts +9 -0
  294. package/FormLayout/Header.d.ts.map +1 -0
  295. package/FormLayout/HelperText.d.ts +13 -0
  296. package/FormLayout/HelperText.d.ts.map +1 -0
  297. package/FormLayout/Section.d.ts +12 -0
  298. package/FormLayout/Section.d.ts.map +1 -0
  299. package/FormLayout/Title.d.ts +23 -0
  300. package/FormLayout/Title.d.ts.map +1 -0
  301. package/FormLayout/context.d.ts +2 -0
  302. package/FormLayout/context.d.ts.map +1 -0
  303. package/FormLayout/index.d.ts +2 -0
  304. package/FormLayout/index.d.ts.map +1 -0
  305. package/FormLayout/index.js +140 -0
  306. package/FormLayout/index.mjs +140 -0
  307. package/HorizontalGrid/HorizontalGrid.stories.d.ts +1 -1
  308. package/HorizontalGrid/HorizontalGrid.stories.d.ts.map +1 -1
  309. package/HorizontalGrid/index.js +2 -62
  310. package/HorizontalGrid/index.mjs +2 -62
  311. package/HorizontalStack/HorizontalStack.stories.d.ts +1 -1
  312. package/HorizontalStack/HorizontalStack.stories.d.ts.map +1 -1
  313. package/HorizontalStack/index.js +2 -48
  314. package/HorizontalStack/index.mjs +2 -48
  315. package/Icon/Icon.d.ts +19 -4
  316. package/Icon/Icon.d.ts.map +1 -1
  317. package/Icon/Icon.stories.d.ts +2 -1
  318. package/Icon/Icon.stories.d.ts.map +1 -1
  319. package/Icon/index.js +2 -38
  320. package/Icon/index.mjs +2 -38
  321. package/IconButton/IconButton.d.ts +8 -3
  322. package/IconButton/IconButton.d.ts.map +1 -1
  323. package/IconButton/IconButton.stories.d.ts +7 -6
  324. package/IconButton/IconButton.stories.d.ts.map +1 -1
  325. package/IconButton/index.js +35 -25
  326. package/IconButton/index.mjs +35 -25
  327. package/InputField/InputField.d.ts +7 -4
  328. package/InputField/InputField.d.ts.map +1 -1
  329. package/InputField/InputField.test.d.ts.map +1 -1
  330. package/InputField/Label.d.ts +0 -5
  331. package/InputField/Label.d.ts.map +1 -1
  332. package/InputField/index.js +2 -285
  333. package/InputField/index.mjs +2 -269
  334. package/InputField/inputText.d.ts +24 -0
  335. package/InputField/inputText.d.ts.map +1 -0
  336. package/InputField/utilities.d.ts +3 -1
  337. package/InputField/utilities.d.ts.map +1 -1
  338. package/KebabButton/KebabButton.d.ts +19 -0
  339. package/KebabButton/KebabButton.d.ts.map +1 -0
  340. package/KebabButton/KebabButton.stories.d.ts +7 -0
  341. package/KebabButton/KebabButton.stories.d.ts.map +1 -0
  342. package/KebabButton/KebabButton.test.d.ts +2 -0
  343. package/KebabButton/KebabButton.test.d.ts.map +1 -0
  344. package/KebabButton/index.d.ts +2 -0
  345. package/KebabButton/index.d.ts.map +1 -0
  346. package/KebabButton/index.js +4 -0
  347. package/KebabButton/index.mjs +4 -0
  348. package/Menu/Menu.stories.d.ts +5 -1
  349. package/Menu/Menu.stories.d.ts.map +1 -1
  350. package/Menu/MenuItem.d.ts.map +1 -1
  351. package/Menu/MenuOverlay.d.ts +18 -2
  352. package/Menu/MenuOverlay.d.ts.map +1 -1
  353. package/Menu/MenuSection.d.ts +2 -0
  354. package/Menu/MenuSection.d.ts.map +1 -1
  355. package/Menu/MenuTrigger.d.ts +1 -1
  356. package/Menu/MenuTrigger.d.ts.map +1 -1
  357. package/Menu/index.js +2 -378
  358. package/Menu/index.mjs +2 -378
  359. package/Menu/utilities.d.ts +17 -1
  360. package/Menu/utilities.d.ts.map +1 -1
  361. package/Modal/Modal.d.ts +6 -7
  362. package/Modal/Modal.d.ts.map +1 -1
  363. package/Modal/Modal.stories.d.ts +4 -1
  364. package/Modal/Modal.stories.d.ts.map +1 -1
  365. package/Modal/ModalContainer.d.ts +2 -3
  366. package/Modal/ModalContainer.d.ts.map +1 -1
  367. package/Modal/ModalFooter.d.ts +19 -13
  368. package/Modal/ModalFooter.d.ts.map +1 -1
  369. package/Modal/ModalHeader.d.ts +3 -3
  370. package/Modal/ModalHeader.d.ts.map +1 -1
  371. package/Modal/ModalTrigger.d.ts.map +1 -1
  372. package/Modal/ModalUnderlay.d.ts.map +1 -1
  373. package/Modal/context.d.ts +12 -5
  374. package/Modal/context.d.ts.map +1 -1
  375. package/Modal/index.js +193 -197
  376. package/Modal/index.mjs +186 -190
  377. package/Modal/useIntersectionDetection.d.ts +1 -1
  378. package/Modal/useIntersectionDetection.d.ts.map +1 -1
  379. package/MultiSelect/MultiSelect.d.ts +133 -0
  380. package/MultiSelect/MultiSelect.d.ts.map +1 -0
  381. package/MultiSelect/MultiSelect.stories.d.ts +13 -0
  382. package/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
  383. package/MultiSelect/MultiSelect.test.d.ts +2 -0
  384. package/MultiSelect/MultiSelect.test.d.ts.map +1 -0
  385. package/MultiSelect/MultiSelectDropdown.d.ts +22 -0
  386. package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -0
  387. package/MultiSelect/index.d.ts +2 -0
  388. package/MultiSelect/index.d.ts.map +1 -0
  389. package/MultiSelect/index.js +2016 -0
  390. package/MultiSelect/index.mjs +2001 -0
  391. package/MultiSelect/utilities.d.ts +3 -0
  392. package/MultiSelect/utilities.d.ts.map +1 -0
  393. package/MultipageSection/MultipageSection.d.ts +118 -0
  394. package/MultipageSection/MultipageSection.d.ts.map +1 -0
  395. package/MultipageSection/MultipageSection.stories.d.ts +8 -0
  396. package/MultipageSection/MultipageSection.stories.d.ts.map +1 -0
  397. package/MultipageSection/MultipageSection.test.d.ts +2 -0
  398. package/MultipageSection/MultipageSection.test.d.ts.map +1 -0
  399. package/MultipageSection/MultipageSectionSidebarNav.d.ts +29 -0
  400. package/MultipageSection/MultipageSectionSidebarNav.d.ts.map +1 -0
  401. package/MultipageSection/index.d.ts +2 -0
  402. package/MultipageSection/index.d.ts.map +1 -0
  403. package/MultipageSection/index.js +231 -0
  404. package/MultipageSection/index.mjs +231 -0
  405. package/NexusLayout/NexusLayout.d.ts +97 -0
  406. package/NexusLayout/NexusLayout.d.ts.map +1 -0
  407. package/NexusLayout/NexusLayout.stories.d.ts +8 -0
  408. package/NexusLayout/NexusLayout.stories.d.ts.map +1 -0
  409. package/NexusLayout/NexusLayout.test.d.ts +2 -0
  410. package/NexusLayout/NexusLayout.test.d.ts.map +1 -0
  411. package/NexusLayout/NexusLayoutActions.d.ts +38 -0
  412. package/NexusLayout/NexusLayoutActions.d.ts.map +1 -0
  413. package/NexusLayout/NexusLayoutMultipage.d.ts +27 -0
  414. package/NexusLayout/NexusLayoutMultipage.d.ts.map +1 -0
  415. package/NexusLayout/NexusLayoutMultipageSidebarNav.d.ts +31 -0
  416. package/NexusLayout/NexusLayoutMultipageSidebarNav.d.ts.map +1 -0
  417. package/NexusLayout/NexusLayoutNav.d.ts +28 -0
  418. package/NexusLayout/NexusLayoutNav.d.ts.map +1 -0
  419. package/NexusLayout/index.d.ts +2 -0
  420. package/NexusLayout/index.d.ts.map +1 -0
  421. package/NexusLayout/index.js +370 -0
  422. package/NexusLayout/index.mjs +370 -0
  423. package/Notification/Notification.d.ts +12 -1
  424. package/Notification/Notification.d.ts.map +1 -1
  425. package/Notification/Notification.stories.d.ts +1 -1
  426. package/Notification/Notification.stories.d.ts.map +1 -1
  427. package/Notification/NotificationContainer.d.ts.map +1 -1
  428. package/Notification/NotificationRegion.d.ts +7 -2
  429. package/Notification/NotificationRegion.d.ts.map +1 -1
  430. package/Notification/NotificationTransition.d.ts +29 -0
  431. package/Notification/NotificationTransition.d.ts.map +1 -0
  432. package/Notification/index.js +5 -1491
  433. package/Notification/index.mjs +5 -1475
  434. package/Pagination/Pagination.d.ts +81 -0
  435. package/Pagination/Pagination.d.ts.map +1 -0
  436. package/Pagination/Pagination.stories.d.ts +9 -0
  437. package/Pagination/Pagination.stories.d.ts.map +1 -0
  438. package/Pagination/Pagination.test.d.ts +2 -0
  439. package/Pagination/Pagination.test.d.ts.map +1 -0
  440. package/Pagination/PaginationButton.d.ts +9 -0
  441. package/Pagination/PaginationButton.d.ts.map +1 -0
  442. package/Pagination/PaginationDropdown.d.ts +24 -0
  443. package/Pagination/PaginationDropdown.d.ts.map +1 -0
  444. package/Pagination/index.d.ts +2 -0
  445. package/Pagination/index.d.ts.map +1 -0
  446. package/Pagination/index.js +131 -0
  447. package/Pagination/index.mjs +131 -0
  448. package/PillGroup/PillGroup.d.ts +89 -0
  449. package/PillGroup/PillGroup.d.ts.map +1 -0
  450. package/PillGroup/PillGroup.stories.d.ts +13 -0
  451. package/PillGroup/PillGroup.stories.d.ts.map +1 -0
  452. package/PillGroup/PillGroup.test.d.ts +2 -0
  453. package/PillGroup/PillGroup.test.d.ts.map +1 -0
  454. package/PillGroup/PillGroupContext.d.ts +9 -0
  455. package/PillGroup/PillGroupContext.d.ts.map +1 -0
  456. package/PillGroup/index.d.ts +2 -0
  457. package/PillGroup/index.d.ts.map +1 -0
  458. package/PillGroup/index.js +5 -0
  459. package/PillGroup/index.mjs +5 -0
  460. package/PlanCard/PlanCard.d.ts +89 -0
  461. package/PlanCard/PlanCard.d.ts.map +1 -0
  462. package/PlanCard/PlanCard.stories.d.ts +12 -0
  463. package/PlanCard/PlanCard.stories.d.ts.map +1 -0
  464. package/PlanCard/PlanCard.test.d.ts +2 -0
  465. package/PlanCard/PlanCard.test.d.ts.map +1 -0
  466. package/PlanCard/illustrations/Building01/Building01.d.ts +3 -0
  467. package/PlanCard/illustrations/Building01/Building01.d.ts.map +1 -0
  468. package/PlanCard/illustrations/Building01/index.d.ts +2 -0
  469. package/PlanCard/illustrations/Building01/index.d.ts.map +1 -0
  470. package/PlanCard/illustrations/Building01/index.js +541 -0
  471. package/PlanCard/illustrations/Building01/index.mjs +541 -0
  472. package/PlanCard/illustrations/Building02/Building02.d.ts +3 -0
  473. package/PlanCard/illustrations/Building02/Building02.d.ts.map +1 -0
  474. package/PlanCard/illustrations/Building02/index.d.ts +2 -0
  475. package/PlanCard/illustrations/Building02/index.d.ts.map +1 -0
  476. package/PlanCard/illustrations/Building02/index.js +215 -0
  477. package/PlanCard/illustrations/Building02/index.mjs +215 -0
  478. package/PlanCard/illustrations/Building03/Building03.d.ts +3 -0
  479. package/PlanCard/illustrations/Building03/Building03.d.ts.map +1 -0
  480. package/PlanCard/illustrations/Building03/index.d.ts +2 -0
  481. package/PlanCard/illustrations/Building03/index.d.ts.map +1 -0
  482. package/PlanCard/illustrations/Building03/index.js +782 -0
  483. package/PlanCard/illustrations/Building03/index.mjs +782 -0
  484. package/PlanCard/illustrations/Building04/Building04.d.ts +3 -0
  485. package/PlanCard/illustrations/Building04/Building04.d.ts.map +1 -0
  486. package/PlanCard/illustrations/Building04/index.d.ts +2 -0
  487. package/PlanCard/illustrations/Building04/index.d.ts.map +1 -0
  488. package/PlanCard/illustrations/Building04/index.js +1537 -0
  489. package/PlanCard/illustrations/Building04/index.mjs +1537 -0
  490. package/PlanCard/index.d.ts +2 -0
  491. package/PlanCard/index.d.ts.map +1 -0
  492. package/PlanCard/index.js +169 -0
  493. package/PlanCard/index.mjs +169 -0
  494. package/ProductLayout/HelpMenu.d.ts +8 -0
  495. package/ProductLayout/HelpMenu.d.ts.map +1 -0
  496. package/ProductLayout/LayoutScreenSizeRenderer.d.ts +21 -0
  497. package/ProductLayout/LayoutScreenSizeRenderer.d.ts.map +1 -0
  498. package/ProductLayout/ProductLayout.d.ts +75 -0
  499. package/ProductLayout/ProductLayout.d.ts.map +1 -0
  500. package/ProductLayout/ProductLayout.stories.d.ts +8 -0
  501. package/ProductLayout/ProductLayout.stories.d.ts.map +1 -0
  502. package/ProductLayout/ProductLayout.test.d.ts +2 -0
  503. package/ProductLayout/ProductLayout.test.d.ts.map +1 -0
  504. package/ProductLayout/ProductLayoutContent.d.ts +9 -0
  505. package/ProductLayout/ProductLayoutContent.d.ts.map +1 -0
  506. package/ProductLayout/ProductLayoutHeader.d.ts +44 -0
  507. package/ProductLayout/ProductLayoutHeader.d.ts.map +1 -0
  508. package/ProductLayout/ProductLayoutSidebar.d.ts +9 -0
  509. package/ProductLayout/ProductLayoutSidebar.d.ts.map +1 -0
  510. package/ProductLayout/ProductLayoutTabbedContent.d.ts +15 -0
  511. package/ProductLayout/ProductLayoutTabbedContent.d.ts.map +1 -0
  512. package/ProductLayout/constants.d.ts +2 -0
  513. package/ProductLayout/constants.d.ts.map +1 -0
  514. package/ProductLayout/context.d.ts +13 -0
  515. package/ProductLayout/context.d.ts.map +1 -0
  516. package/ProductLayout/index.d.ts +2 -0
  517. package/ProductLayout/index.d.ts.map +1 -0
  518. package/ProductLayout/index.js +319 -0
  519. package/ProductLayout/index.mjs +319 -0
  520. package/Provider/Provider.d.ts +22 -5
  521. package/Provider/Provider.d.ts.map +1 -1
  522. package/Provider/index.js +28 -23
  523. package/Provider/index.mjs +28 -23
  524. package/README.md +68 -37
  525. package/RadioButtonGroup/RadioButtonGroup.d.ts +103 -0
  526. package/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -0
  527. package/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -0
  528. package/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
  529. package/RadioButtonGroup/RadioButtonGroup.test.d.ts +2 -0
  530. package/RadioButtonGroup/RadioButtonGroup.test.d.ts.map +1 -0
  531. package/RadioButtonGroup/index.d.ts +2 -0
  532. package/RadioButtonGroup/index.d.ts.map +1 -0
  533. package/RadioButtonGroup/index.js +279 -0
  534. package/RadioButtonGroup/index.mjs +279 -0
  535. package/RadioGroup/RadioGroup.d.ts +6 -6
  536. package/RadioGroup/RadioGroup.d.ts.map +1 -1
  537. package/RadioGroup/RadioGroup.stories.d.ts +1 -1
  538. package/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
  539. package/RadioGroup/index.js +3 -299
  540. package/RadioGroup/index.mjs +3 -299
  541. package/RangeCalendar/RangeCalendar.d.ts +71 -0
  542. package/RangeCalendar/RangeCalendar.d.ts.map +1 -0
  543. package/RangeCalendar/RangeCalendar.stories.d.ts +15 -0
  544. package/RangeCalendar/RangeCalendar.stories.d.ts.map +1 -0
  545. package/RangeCalendar/RangeCalendar.test.d.ts +3 -0
  546. package/RangeCalendar/RangeCalendar.test.d.ts.map +1 -0
  547. package/RangeCalendar/index.d.ts +2 -0
  548. package/RangeCalendar/index.d.ts.map +1 -0
  549. package/RangeCalendar/index.js +4 -0
  550. package/RangeCalendar/index.mjs +4 -0
  551. package/SearchNav/CTAGroup.d.ts +21 -0
  552. package/SearchNav/CTAGroup.d.ts.map +1 -0
  553. package/SearchNav/CondensedSearchNav.d.ts +9 -0
  554. package/SearchNav/CondensedSearchNav.d.ts.map +1 -0
  555. package/SearchNav/Logo.d.ts +13 -0
  556. package/SearchNav/Logo.d.ts.map +1 -0
  557. package/SearchNav/LogoGroup.d.ts +21 -0
  558. package/SearchNav/LogoGroup.d.ts.map +1 -0
  559. package/SearchNav/PrimaryCTAItem.d.ts +14 -0
  560. package/SearchNav/PrimaryCTAItem.d.ts.map +1 -0
  561. package/SearchNav/Search.d.ts +13 -0
  562. package/SearchNav/Search.d.ts.map +1 -0
  563. package/SearchNav/SearchNav.d.ts +105 -0
  564. package/SearchNav/SearchNav.d.ts.map +1 -0
  565. package/SearchNav/SearchNav.stories.d.ts +14 -0
  566. package/SearchNav/SearchNav.stories.d.ts.map +1 -0
  567. package/SearchNav/SearchNav.test.d.ts +2 -0
  568. package/SearchNav/SearchNav.test.d.ts.map +1 -0
  569. package/SearchNav/SecondaryCTAItem.d.ts +23 -0
  570. package/SearchNav/SecondaryCTAItem.d.ts.map +1 -0
  571. package/SearchNav/Selector.d.ts +15 -0
  572. package/SearchNav/Selector.d.ts.map +1 -0
  573. package/SearchNav/SelectorTrigger.d.ts +14 -0
  574. package/SearchNav/SelectorTrigger.d.ts.map +1 -0
  575. package/SearchNav/Separator.d.ts +9 -0
  576. package/SearchNav/Separator.d.ts.map +1 -0
  577. package/SearchNav/Title.d.ts +12 -0
  578. package/SearchNav/Title.d.ts.map +1 -0
  579. package/SearchNav/context.d.ts +20 -0
  580. package/SearchNav/context.d.ts.map +1 -0
  581. package/SearchNav/index.d.ts +2 -0
  582. package/SearchNav/index.d.ts.map +1 -0
  583. package/SearchNav/index.js +532 -0
  584. package/SearchNav/index.mjs +516 -0
  585. package/SearchNav/utilities.d.ts +14 -0
  586. package/SearchNav/utilities.d.ts.map +1 -0
  587. package/SectionCard/SectionCard.d.ts +53 -0
  588. package/SectionCard/SectionCard.d.ts.map +1 -0
  589. package/SectionCard/SectionCard.stories.d.ts +11 -0
  590. package/SectionCard/SectionCard.stories.d.ts.map +1 -0
  591. package/SectionCard/SectionCard.test.d.ts +2 -0
  592. package/SectionCard/SectionCard.test.d.ts.map +1 -0
  593. package/SectionCard/index.d.ts +2 -0
  594. package/SectionCard/index.d.ts.map +1 -0
  595. package/SectionCard/index.js +121 -0
  596. package/SectionCard/index.mjs +121 -0
  597. package/Select/Select.d.ts +59 -58
  598. package/Select/Select.d.ts.map +1 -1
  599. package/Select/Select.stories.d.ts +2 -1
  600. package/Select/Select.stories.d.ts.map +1 -1
  601. package/Select/SelectField.d.ts +3 -4
  602. package/Select/SelectField.d.ts.map +1 -1
  603. package/Select/SelectOption.d.ts +4 -0
  604. package/Select/SelectOption.d.ts.map +1 -1
  605. package/Select/SelectOverlay.d.ts.map +1 -1
  606. package/Select/SelectSection.d.ts.map +1 -1
  607. package/Select/SelectTrigger.d.ts +1 -1
  608. package/Select/SelectTrigger.d.ts.map +1 -1
  609. package/Select/index.js +102 -776
  610. package/Select/index.mjs +98 -772
  611. package/SelectorErrorTooltip/index.js +2 -104
  612. package/SelectorErrorTooltip/index.mjs +2 -88
  613. package/Spinner/Spinner.d.ts +73 -0
  614. package/Spinner/Spinner.d.ts.map +1 -0
  615. package/Spinner/Spinner.stories.d.ts +11 -0
  616. package/Spinner/Spinner.stories.d.ts.map +1 -0
  617. package/Spinner/Spinner.test.d.ts +2 -0
  618. package/Spinner/Spinner.test.d.ts.map +1 -0
  619. package/Spinner/index.d.ts +2 -0
  620. package/Spinner/index.d.ts.map +1 -0
  621. package/Spinner/index.js +4 -0
  622. package/Spinner/index.mjs +4 -0
  623. package/SplitToggleCard/SplitToggleCard.d.ts +57 -0
  624. package/SplitToggleCard/SplitToggleCard.d.ts.map +1 -0
  625. package/SplitToggleCard/SplitToggleCard.stories.d.ts +11 -0
  626. package/SplitToggleCard/SplitToggleCard.stories.d.ts.map +1 -0
  627. package/SplitToggleCard/SplitToggleCard.test.d.ts +2 -0
  628. package/SplitToggleCard/SplitToggleCard.test.d.ts.map +1 -0
  629. package/SplitToggleCard/index.d.ts +2 -0
  630. package/SplitToggleCard/index.d.ts.map +1 -0
  631. package/SplitToggleCard/index.js +56 -0
  632. package/SplitToggleCard/index.mjs +56 -0
  633. package/Stepper/Step.d.ts +33 -0
  634. package/Stepper/Step.d.ts.map +1 -0
  635. package/Stepper/StepButton.d.ts +25 -0
  636. package/Stepper/StepButton.d.ts.map +1 -0
  637. package/Stepper/Stepper.d.ts +104 -0
  638. package/Stepper/Stepper.d.ts.map +1 -0
  639. package/Stepper/Stepper.stories.d.ts +10 -0
  640. package/Stepper/Stepper.stories.d.ts.map +1 -0
  641. package/Stepper/Stepper.test.d.ts +2 -0
  642. package/Stepper/Stepper.test.d.ts.map +1 -0
  643. package/Stepper/StepperContext.d.ts +11 -0
  644. package/Stepper/StepperContext.d.ts.map +1 -0
  645. package/Stepper/index.d.ts +2 -0
  646. package/Stepper/index.d.ts.map +1 -0
  647. package/Stepper/index.js +4 -0
  648. package/Stepper/index.mjs +4 -0
  649. package/TabNav/TabNav.d.ts +29 -0
  650. package/TabNav/TabNav.d.ts.map +1 -0
  651. package/TabNav/TabNav.stories.d.ts +9 -0
  652. package/TabNav/TabNav.stories.d.ts.map +1 -0
  653. package/TabNav/TabNav.test.d.ts +2 -0
  654. package/TabNav/TabNav.test.d.ts.map +1 -0
  655. package/TabNav/TabNavItem.d.ts +12 -0
  656. package/TabNav/TabNavItem.d.ts.map +1 -0
  657. package/TabNav/index.d.ts +2 -0
  658. package/TabNav/index.d.ts.map +1 -0
  659. package/TabNav/index.js +4 -0
  660. package/TabNav/index.mjs +4 -0
  661. package/TabPanels/TabPanels.d.ts +68 -0
  662. package/TabPanels/TabPanels.d.ts.map +1 -0
  663. package/TabPanels/TabPanels.stories.d.ts +14 -0
  664. package/TabPanels/TabPanels.stories.d.ts.map +1 -0
  665. package/TabPanels/TabPanels.test.d.ts +2 -0
  666. package/TabPanels/TabPanels.test.d.ts.map +1 -0
  667. package/TabPanels/TabPanelsItem.d.ts +15 -0
  668. package/TabPanels/TabPanelsItem.d.ts.map +1 -0
  669. package/TabPanels/TabPanelsPanels.d.ts +14 -0
  670. package/TabPanels/TabPanelsPanels.d.ts.map +1 -0
  671. package/TabPanels/TabPanelsTabs.d.ts +15 -0
  672. package/TabPanels/TabPanelsTabs.d.ts.map +1 -0
  673. package/TabPanels/context.d.ts +10 -0
  674. package/TabPanels/context.d.ts.map +1 -0
  675. package/TabPanels/index.d.ts +2 -0
  676. package/TabPanels/index.d.ts.map +1 -0
  677. package/TabPanels/index.js +333 -0
  678. package/TabPanels/index.mjs +333 -0
  679. package/Tabs/Edge.d.ts +8 -0
  680. package/Tabs/Edge.d.ts.map +1 -0
  681. package/Tabs/Tabs.d.ts +23 -0
  682. package/Tabs/Tabs.d.ts.map +1 -0
  683. package/Tabs/TabsItem.d.ts +13 -0
  684. package/Tabs/TabsItem.d.ts.map +1 -0
  685. package/Tabs/context.d.ts +7 -0
  686. package/Tabs/context.d.ts.map +1 -0
  687. package/Tabs/index.d.ts +2 -0
  688. package/Tabs/index.d.ts.map +1 -0
  689. package/Tabs/index.js +4 -0
  690. package/Tabs/index.mjs +4 -0
  691. package/Tabs/useIndicatorSizing.d.ts +11 -0
  692. package/Tabs/useIndicatorSizing.d.ts.map +1 -0
  693. package/Tabs/useScrollIntoViewIfNeeded.d.ts +11 -0
  694. package/Tabs/useScrollIntoViewIfNeeded.d.ts.map +1 -0
  695. package/Tabs/useScrollbar.d.ts +6 -0
  696. package/Tabs/useScrollbar.d.ts.map +1 -0
  697. package/Tabs/util.d.ts +9 -0
  698. package/Tabs/util.d.ts.map +1 -0
  699. package/Text/Text.d.ts +20 -6
  700. package/Text/Text.d.ts.map +1 -1
  701. package/Text/Text.stories.d.ts +3 -1
  702. package/Text/Text.stories.d.ts.map +1 -1
  703. package/Text/index.js +2 -85
  704. package/Text/index.mjs +2 -85
  705. package/TextField/TextField.d.ts +3 -3
  706. package/TextField/TextField.d.ts.map +1 -1
  707. package/TextField/TextField.stories.d.ts +2 -1
  708. package/TextField/TextField.stories.d.ts.map +1 -1
  709. package/TextField/index.js +2 -53
  710. package/TextField/index.mjs +2 -53
  711. package/Textarea/Textarea.d.ts +3 -3
  712. package/Textarea/Textarea.d.ts.map +1 -1
  713. package/Textarea/Textarea.stories.d.ts +1 -1
  714. package/Textarea/Textarea.stories.d.ts.map +1 -1
  715. package/Textarea/index.js +4 -14
  716. package/Textarea/index.mjs +4 -14
  717. package/Theme/Theme.d.ts +2 -1
  718. package/Theme/Theme.d.ts.map +1 -1
  719. package/Theme/Theme.stories.d.ts +8 -0
  720. package/Theme/Theme.stories.d.ts.map +1 -0
  721. package/Theme/index.js +5 -145
  722. package/Theme/index.mjs +5 -145
  723. package/Toggle/Switch.d.ts +4 -0
  724. package/Toggle/Switch.d.ts.map +1 -1
  725. package/Toggle/Toggle.d.ts +42 -1
  726. package/Toggle/Toggle.d.ts.map +1 -1
  727. package/Toggle/Toggle.stories.d.ts +2 -1
  728. package/Toggle/Toggle.stories.d.ts.map +1 -1
  729. package/Toggle/index.js +2 -117
  730. package/Toggle/index.mjs +2 -117
  731. package/Toggle/utils.d.ts +7 -0
  732. package/Toggle/utils.d.ts.map +1 -0
  733. package/ToggleCard/ToggleCard.d.ts +88 -0
  734. package/ToggleCard/ToggleCard.d.ts.map +1 -0
  735. package/ToggleCard/ToggleCard.stories.d.ts +12 -0
  736. package/ToggleCard/ToggleCard.stories.d.ts.map +1 -0
  737. package/ToggleCard/ToggleCard.test.d.ts +2 -0
  738. package/ToggleCard/ToggleCard.test.d.ts.map +1 -0
  739. package/ToggleCard/index.d.ts +2 -0
  740. package/ToggleCard/index.d.ts.map +1 -0
  741. package/ToggleCard/index.js +52 -0
  742. package/ToggleCard/index.mjs +52 -0
  743. package/Tooltip/Tooltip.stories.d.ts +3 -1
  744. package/Tooltip/Tooltip.stories.d.ts.map +1 -1
  745. package/Tooltip/Tooltip.test.d.ts.map +1 -1
  746. package/Tooltip/index.js +2 -11
  747. package/Tooltip/index.mjs +1 -10
  748. package/UnstyledButton/UnstyledButton.d.ts +2 -2
  749. package/UnstyledButton/UnstyledButton.d.ts.map +1 -1
  750. package/UnstyledButton/UnstyledPressButton.d.ts +10 -0
  751. package/UnstyledButton/UnstyledPressButton.d.ts.map +1 -0
  752. package/UnstyledButton/index.js +2 -7
  753. package/UnstyledButton/index.mjs +1 -6
  754. package/VerticalNav/Container.d.ts +4 -0
  755. package/VerticalNav/Container.d.ts.map +1 -0
  756. package/VerticalNav/ExpandButton.d.ts +7 -0
  757. package/VerticalNav/ExpandButton.d.ts.map +1 -0
  758. package/VerticalNav/Item.d.ts +37 -0
  759. package/VerticalNav/Item.d.ts.map +1 -0
  760. package/VerticalNav/ListVerticalNav.d.ts +29 -0
  761. package/VerticalNav/ListVerticalNav.d.ts.map +1 -0
  762. package/VerticalNav/NavItem.d.ts +13 -0
  763. package/VerticalNav/NavItem.d.ts.map +1 -0
  764. package/VerticalNav/Subnav.d.ts +18 -0
  765. package/VerticalNav/Subnav.d.ts.map +1 -0
  766. package/VerticalNav/SubnavItem.d.ts +9 -0
  767. package/VerticalNav/SubnavItem.d.ts.map +1 -0
  768. package/VerticalNav/SubnavItemDot.d.ts +7 -0
  769. package/VerticalNav/SubnavItemDot.d.ts.map +1 -0
  770. package/VerticalNav/SupplementaryAction.d.ts +26 -0
  771. package/VerticalNav/SupplementaryAction.d.ts.map +1 -0
  772. package/VerticalNav/TreeVerticalNav.d.ts +58 -0
  773. package/VerticalNav/TreeVerticalNav.d.ts.map +1 -0
  774. package/VerticalNav/VerticalNav.d.ts +29 -0
  775. package/VerticalNav/VerticalNav.d.ts.map +1 -0
  776. package/VerticalNav/VerticalNav.stories.d.ts +13 -0
  777. package/VerticalNav/VerticalNav.stories.d.ts.map +1 -0
  778. package/VerticalNav/VerticalNav.test.d.ts +2 -0
  779. package/VerticalNav/VerticalNav.test.d.ts.map +1 -0
  780. package/VerticalNav/context.d.ts +4 -0
  781. package/VerticalNav/context.d.ts.map +1 -0
  782. package/VerticalNav/index.d.ts +2 -0
  783. package/VerticalNav/index.d.ts.map +1 -0
  784. package/VerticalNav/index.js +320 -0
  785. package/VerticalNav/index.mjs +320 -0
  786. package/VerticalStack/VerticalStack.d.ts +2 -3
  787. package/VerticalStack/VerticalStack.d.ts.map +1 -1
  788. package/VerticalStack/VerticalStack.stories.d.ts +1 -1
  789. package/VerticalStack/VerticalStack.stories.d.ts.map +1 -1
  790. package/VerticalStack/index.js +2 -53
  791. package/VerticalStack/index.mjs +2 -53
  792. package/__chunks__/ArrowBack-BFS-tCpV.mjs +41 -0
  793. package/__chunks__/ArrowBack-C_LSatif.js +57 -0
  794. package/__chunks__/ArrowForwardIos-DSeLeLhY.mjs +41 -0
  795. package/__chunks__/ArrowForwardIos-DpRiDPNZ.js +57 -0
  796. package/__chunks__/BaseCollection-BFCqPRBy.js +256 -0
  797. package/__chunks__/BaseCollection-BVO0lZBs.mjs +257 -0
  798. package/__chunks__/Button-B4DxcTvZ.mjs +110 -0
  799. package/__chunks__/Button-BpQFyL49.js +109 -0
  800. package/__chunks__/Button-CQdi4TMV.js +102 -0
  801. package/__chunks__/Button-JL1YQxJ5.mjs +103 -0
  802. package/__chunks__/CSSTransition-C23znX_H.js +1687 -0
  803. package/__chunks__/CSSTransition-DZuEb-M0.mjs +1688 -0
  804. package/__chunks__/Calendar-BEjAu6AJ.mjs +43 -0
  805. package/__chunks__/Calendar-QlM--CET.js +42 -0
  806. package/__chunks__/CalendarBase-BuIkpPIv.mjs +3567 -0
  807. package/__chunks__/CalendarBase-CSr5E__l.js +3566 -0
  808. package/__chunks__/Card-BgjWYPVY.mjs +288 -0
  809. package/__chunks__/Card-LPIW5drP.js +287 -0
  810. package/__chunks__/CheckCircle-C9h2PNWU.mjs +41 -0
  811. package/__chunks__/CheckCircle-lgmtkEe6.js +57 -0
  812. package/__chunks__/Checkbox-B_-6lfKk.js +268 -0
  813. package/__chunks__/Checkbox-DcaO0fC3.mjs +253 -0
  814. package/__chunks__/{Close-e92ca701.js → Close-BQ2IlPyf.js} +9 -17
  815. package/__chunks__/Close-Cq6Q6MN6.mjs +41 -0
  816. package/__chunks__/CodeSnippet-25l4r2Gh.js +5696 -0
  817. package/__chunks__/CodeSnippet-B3nsMpvq.mjs +5697 -0
  818. package/__chunks__/DatePickerBase-BQA4SEJK.mjs +2727 -0
  819. package/__chunks__/DatePickerBase-Cas79CEI.js +2741 -0
  820. package/__chunks__/Dialog-DIhV589X.mjs +371 -0
  821. package/__chunks__/Dialog-iU9BJB0o.js +370 -0
  822. package/__chunks__/EasyPostLogo-C9-Q0lSn.js +22 -0
  823. package/__chunks__/EasyPostLogo-DgIgAGa3.mjs +23 -0
  824. package/__chunks__/ExpandMore400-CH7GNxqk.mjs +41 -0
  825. package/__chunks__/{ExpandMore400-92646971.js → ExpandMore400-CJpvxyJm.js} +9 -17
  826. package/__chunks__/FocusScope-B_FktBGw.mjs +870 -0
  827. package/__chunks__/FocusScope-CncDnO-E.js +869 -0
  828. package/__chunks__/HelpMenu-BZRV42ab.mjs +119 -0
  829. package/__chunks__/HelpMenu-C2t8KQuU.js +135 -0
  830. package/__chunks__/Hidden-C0ANs40F.js +40 -0
  831. package/__chunks__/Hidden-COe48wta.mjs +41 -0
  832. package/__chunks__/HorizontalGrid-CAoDcmPW.js +63 -0
  833. package/__chunks__/HorizontalGrid-DbLeJBt8.mjs +64 -0
  834. package/__chunks__/HorizontalStack-CJavrBHm.mjs +52 -0
  835. package/__chunks__/HorizontalStack-CWdKKY8L.js +51 -0
  836. package/__chunks__/Icon-BIpaQJ_I.mjs +41 -0
  837. package/__chunks__/Icon-BRlbo3RF.js +40 -0
  838. package/__chunks__/Input-BIRbdEcT.mjs +79 -0
  839. package/__chunks__/Input-CwXLFYJK.js +78 -0
  840. package/__chunks__/InputCaption-CccF4ynE.js +65 -0
  841. package/__chunks__/InputCaption-DoyGkWQe.mjs +66 -0
  842. package/__chunks__/InputField-CAY9O90X.mjs +236 -0
  843. package/__chunks__/InputField-DGb4ZDoR.js +251 -0
  844. package/__chunks__/InputField.module-ClTfhFSB.mjs +65 -0
  845. package/__chunks__/InputField.module-CmwwDXio.js +64 -0
  846. package/__chunks__/InputIcon-CEATdJ1j.mjs +51 -0
  847. package/__chunks__/InputIcon-DDKBJ_Tk.js +50 -0
  848. package/__chunks__/Item-FD89BR0i.mjs +80 -0
  849. package/__chunks__/Item-h_oPjYVR.js +79 -0
  850. package/__chunks__/KebabButton-D-5Mjaj0.mjs +96 -0
  851. package/__chunks__/KebabButton-TbapERgy.js +111 -0
  852. package/__chunks__/KeyboardDoubleArrowRight-AAMLvGk-.mjs +79 -0
  853. package/__chunks__/KeyboardDoubleArrowRight-Ber8mUIO.js +95 -0
  854. package/__chunks__/Label-B6GdFt8f.js +47 -0
  855. package/__chunks__/Label-LpYJUKnw.mjs +48 -0
  856. package/__chunks__/LiveAnnouncer-BSV5-C0m.mjs +81 -0
  857. package/__chunks__/LiveAnnouncer-CzeNwq2D.js +80 -0
  858. package/__chunks__/Menu-Ci1FGh8B.mjs +553 -0
  859. package/__chunks__/Menu-MGDv1tob.js +552 -0
  860. package/__chunks__/Menu-OacI_98l.js +57 -0
  861. package/__chunks__/Menu-qMqvSorL.mjs +41 -0
  862. package/__chunks__/Notification-CFtJx7Uz.js +1696 -0
  863. package/__chunks__/Notification-YATlp3lK.mjs +1681 -0
  864. package/__chunks__/NumberFormatter-CXW1Iqpu.js +153 -0
  865. package/__chunks__/NumberFormatter-p5KNJNTT.mjs +154 -0
  866. package/__chunks__/Overlay-BNP_t3v4.js +164 -0
  867. package/__chunks__/Overlay-Dkjxuk6V.mjs +165 -0
  868. package/__chunks__/PillGroup-BK8VCf3B.js +2242 -0
  869. package/__chunks__/PillGroup-DN72MPhg.mjs +2243 -0
  870. package/__chunks__/RadioGroup-BfKaJnSo.mjs +375 -0
  871. package/__chunks__/RadioGroup-BiCqtR0F.js +374 -0
  872. package/__chunks__/RangeCalendar-DVnJU360.mjs +229 -0
  873. package/__chunks__/RangeCalendar-Ph-WM1Bb.js +228 -0
  874. package/__chunks__/Search-BY7IgEyX.js +57 -0
  875. package/__chunks__/Search-Cyblmqo5.mjs +41 -0
  876. package/__chunks__/SelectOverlay-C23EXgqX.mjs +575 -0
  877. package/__chunks__/SelectOverlay-DpI9vNLw.js +574 -0
  878. package/__chunks__/SelectionIndicator-Co962vpA.mjs +16 -0
  879. package/__chunks__/SelectionIndicator-DW9MR_Io.js +15 -0
  880. package/__chunks__/SelectionManager-CFPcxpAj.js +713 -0
  881. package/__chunks__/SelectionManager-QKdFux5L.mjs +714 -0
  882. package/__chunks__/SelectorErrorTooltip-BNLrFRLN.js +98 -0
  883. package/__chunks__/SelectorErrorTooltip-rO2-k3Gl.mjs +82 -0
  884. package/__chunks__/Spinner-COsekFr1.mjs +96 -0
  885. package/__chunks__/Spinner-vRnrcEz0.js +95 -0
  886. package/__chunks__/Stepper-DlI-16t-.mjs +180 -0
  887. package/__chunks__/Stepper-lhcjfVFY.js +179 -0
  888. package/__chunks__/TabNav-BNhQF0b0.mjs +60 -0
  889. package/__chunks__/TabNav-bVgyfEV7.js +59 -0
  890. package/__chunks__/Tabs-BaROnbKg.mjs +263 -0
  891. package/__chunks__/Tabs-DSngzN9A.js +262 -0
  892. package/__chunks__/Text-B9fD1q8n.js +4 -0
  893. package/__chunks__/Text-BBBs9zA4.mjs +5 -0
  894. package/__chunks__/Text-D6oT5WJQ.mjs +124 -0
  895. package/__chunks__/Text-DkzMEqky.js +123 -0
  896. package/__chunks__/{ExpandMore400-7c5263a4.mjs → TextField-818kTElu.mjs} +16 -20
  897. package/__chunks__/{Close-25146223.mjs → TextField-DKQVJPP_.js} +17 -22
  898. package/__chunks__/Theme-C2nSZUpG.js +156 -0
  899. package/__chunks__/Theme-M__gFMM3.mjs +157 -0
  900. package/__chunks__/Toggle-BmJjrdVn.js +168 -0
  901. package/__chunks__/Toggle-DlDQ7rr2.mjs +169 -0
  902. package/__chunks__/{index-5e281e5a.js → Tooltip-BSMvNula.js} +160 -157
  903. package/__chunks__/{index-d80c6f1f.mjs → Tooltip-BXRi0h4E.mjs} +152 -149
  904. package/__chunks__/UnstyledButton-DW8CjaXN.js +81 -0
  905. package/__chunks__/UnstyledButton-DxJLvL-G.mjs +82 -0
  906. package/__chunks__/VerticalStack-BHkiocKU.js +56 -0
  907. package/__chunks__/VerticalStack-DoMqBfYD.mjs +57 -0
  908. package/__chunks__/VisuallyHidden-BrpRPZGD.mjs +75 -0
  909. package/__chunks__/VisuallyHidden-CIjowwM_.js +74 -0
  910. package/__chunks__/_commonjsHelpers-Bc2YnDe1.js +7 -0
  911. package/__chunks__/_commonjsHelpers-DWwsNxpa.mjs +8 -0
  912. package/__chunks__/ariaHideOutside-BYq9cUwo.mjs +411 -0
  913. package/__chunks__/ariaHideOutside-Dl8SH3FU.js +410 -0
  914. package/__chunks__/config-ChibgUKd.js +5 -0
  915. package/__chunks__/config-DeltQABu.mjs +6 -0
  916. package/__chunks__/context-5UR8ToA1.mjs +95 -0
  917. package/__chunks__/context-DJdNiOsb.js +94 -0
  918. package/__chunks__/filterDOMProps-eGTqWSTd.mjs +71 -0
  919. package/__chunks__/filterDOMProps-p6wKN-SS.js +70 -0
  920. package/__chunks__/focusSafely-C5HWSeZE.js +84 -0
  921. package/__chunks__/focusSafely-CeJM_lIS.mjs +85 -0
  922. package/__chunks__/getScrollParent-B5CCP-yO.mjs +10 -0
  923. package/__chunks__/getScrollParent-DNz2ReWu.js +9 -0
  924. package/__chunks__/index-6ObXAT_4.js +147 -0
  925. package/__chunks__/index-CqNUlUoB.js +217 -0
  926. package/__chunks__/index-DOQwYO8h.mjs +148 -0
  927. package/__chunks__/index-ee-P7jQr.mjs +218 -0
  928. package/__chunks__/isScrollable-CE3Xdlg4.js +9 -0
  929. package/__chunks__/isScrollable-DwbLAiO0.mjs +10 -0
  930. package/__chunks__/keyboard-C0kScltA.mjs +23 -0
  931. package/__chunks__/keyboard-CchXvoCh.js +22 -0
  932. package/__chunks__/lodash-B19QVK6q.mjs +5492 -0
  933. package/__chunks__/lodash-CS8bkZ7S.js +5491 -0
  934. package/__chunks__/mergeProps-COnPag8r.mjs +220 -0
  935. package/__chunks__/mergeProps-DLPcevok.js +219 -0
  936. package/__chunks__/mergeRefs-ClQjEiLh.mjs +24 -0
  937. package/__chunks__/mergeRefs-qNwPManW.js +23 -0
  938. package/__chunks__/number-9u40S_vx.mjs +41 -0
  939. package/__chunks__/number-Bc1GdGoD.js +40 -0
  940. package/__chunks__/objectWithoutPropertiesLoose-C4Mip8ZU.js +21 -0
  941. package/__chunks__/objectWithoutPropertiesLoose-COdxq1Ge.mjs +22 -0
  942. package/__chunks__/omit-CC3uE8z5.js +2245 -0
  943. package/__chunks__/omit-CYoLXTjq.mjs +2246 -0
  944. package/__chunks__/{overlayscrollbars-react.es-f2a0bcff.js → overlayscrollbars-react-BFy4nomP.js} +982 -880
  945. package/__chunks__/{overlayscrollbars-react.es-7f332a3b.mjs → overlayscrollbars-react-BiRJpzDY.mjs} +982 -880
  946. package/__chunks__/scrollIntoView-C4mf6apy.mjs +116 -0
  947. package/__chunks__/scrollIntoView-Dc7KrfAg.js +115 -0
  948. package/__chunks__/tokens-BXztpSjv.mjs +326 -0
  949. package/__chunks__/tokens-CJGKzS0r.js +325 -0
  950. package/__chunks__/useButton-DLOnoEAf.mjs +59 -0
  951. package/__chunks__/useButton-YEnc5PHl.js +58 -0
  952. package/__chunks__/useCollator-BR9eXLiM.mjs +13 -0
  953. package/__chunks__/useCollator-ClAv0Zlw.js +12 -0
  954. package/__chunks__/useControlledState-BPR3PrW4.mjs +40 -0
  955. package/__chunks__/useControlledState-CcM4H_K0.js +39 -0
  956. package/__chunks__/useDialog-nKMoC_Cs.mjs +72 -0
  957. package/__chunks__/useDialog-uxNR0maK.js +71 -0
  958. package/__chunks__/useEdgeInterceptors-OZmGXvtF.mjs +52 -0
  959. package/__chunks__/useEdgeInterceptors-Rb2Hf0v8.js +51 -0
  960. package/__chunks__/useEvent-CnahkmoD.mjs +22 -0
  961. package/__chunks__/useEvent-D3eKExds.js +21 -0
  962. package/__chunks__/useField-C5BKHYDX.mjs +39 -0
  963. package/__chunks__/useField-CsvcuQrg.js +38 -0
  964. package/__chunks__/useFilter-DQ5GzevW.js +64 -0
  965. package/__chunks__/useFilter-Dm0fSoJl.mjs +65 -0
  966. package/__chunks__/useFocus-D_NKNXdi.js +37 -0
  967. package/__chunks__/useFocus-u61kyYs8.mjs +38 -0
  968. package/__chunks__/useFocusRing-BWKhJSvH.mjs +43 -0
  969. package/__chunks__/useFocusRing-DbC9E5wC.js +42 -0
  970. package/__chunks__/useFocusVisible-BNcpO5Sv.js +715 -0
  971. package/__chunks__/useFocusVisible-DDvp2PwR.mjs +716 -0
  972. package/__chunks__/useFocusWithin-DDWT9Br8.js +69 -0
  973. package/__chunks__/useFocusWithin-DcYF2gZd.mjs +70 -0
  974. package/__chunks__/useFocusable-BDOoYzWB.mjs +102 -0
  975. package/__chunks__/useFocusable-fxgaZN7X.js +101 -0
  976. package/__chunks__/useFormReset-D6l7xmN8.js +19 -0
  977. package/__chunks__/useFormReset-DjC42YuS.mjs +20 -0
  978. package/__chunks__/useFormValidation-Bdyc51B-.mjs +270 -0
  979. package/__chunks__/useFormValidation-joghLMcB.js +269 -0
  980. package/__chunks__/useHasTabbableChild-73d-1Yus.mjs +37 -0
  981. package/__chunks__/useHasTabbableChild-9MZ8LK0l.js +36 -0
  982. package/__chunks__/useHighlightSelectionDescription-DSdR3FZY.js +592 -0
  983. package/__chunks__/useHighlightSelectionDescription-HcMpuRGQ.mjs +594 -0
  984. package/__chunks__/useHover-Ck1otl-j.js +121 -0
  985. package/__chunks__/useHover-FWU5y5-k.mjs +122 -0
  986. package/__chunks__/useIntersectionDetection-BvUmtDgl.mjs +22 -0
  987. package/__chunks__/useIntersectionDetection-DI5n4zwA.js +21 -0
  988. package/__chunks__/useLabel-BvPZr3TC.js +26 -0
  989. package/__chunks__/useLabel-cE7myAez.mjs +27 -0
  990. package/__chunks__/useLabels-AshNb54x.mjs +23 -0
  991. package/__chunks__/useLabels-BiHauKNF.js +22 -0
  992. package/__chunks__/useLink-CChqhQkC.js +73 -0
  993. package/__chunks__/useLink-y6WGv96n.mjs +74 -0
  994. package/__chunks__/useListBoxSection-BdO_lWyz.mjs +197 -0
  995. package/__chunks__/useListBoxSection-Cf0YWwDY.js +196 -0
  996. package/__chunks__/useListState-3s3ZON5A.mjs +200 -0
  997. package/__chunks__/useListState-DDaaA7mG.js +199 -0
  998. package/__chunks__/useLocalizedStringFormatter-DWQ_olZl.mjs +122 -0
  999. package/__chunks__/useLocalizedStringFormatter-DxxEMHfO.js +121 -0
  1000. package/__chunks__/useMenuTrigger-DQl6sBWY.js +270 -0
  1001. package/__chunks__/useMenuTrigger-e_p0x3OT.mjs +271 -0
  1002. package/__chunks__/useMenuTriggerState-CnbwSNoa.mjs +67 -0
  1003. package/__chunks__/useMenuTriggerState-DMyxc9hK.js +66 -0
  1004. package/__chunks__/useModalOverlay-BmYXH7rq.mjs +50 -0
  1005. package/__chunks__/useModalOverlay-C4Gci3MA.js +49 -0
  1006. package/__chunks__/useNumberFormatter-BCYp6Is8.js +12 -0
  1007. package/__chunks__/useNumberFormatter-dSwO_MBg.mjs +13 -0
  1008. package/__chunks__/useObjectRef-77h4G8qk.mjs +40 -0
  1009. package/__chunks__/useObjectRef-Bma_uNHw.js +39 -0
  1010. package/__chunks__/useOverlayPosition-DOISkEGO.mjs +501 -0
  1011. package/__chunks__/useOverlayPosition-oRFqirlD.js +500 -0
  1012. package/__chunks__/useOverlayTrigger-CIVwezu3.mjs +28 -0
  1013. package/__chunks__/useOverlayTrigger-DP9RbCAF.js +27 -0
  1014. package/__chunks__/usePopover-BTGHi16_.mjs +278 -0
  1015. package/__chunks__/usePopover-CR0xi5y-.js +277 -0
  1016. package/__chunks__/usePress-B5G5CgVn.js +747 -0
  1017. package/__chunks__/usePress-Cw67P1FM.mjs +748 -0
  1018. package/__chunks__/useResizeObserver-CEeqtqhm.js +35 -0
  1019. package/__chunks__/useResizeObserver-NbpgP2Md.mjs +36 -0
  1020. package/__chunks__/useSelectableItem-BP2rZ6Gy.mjs +703 -0
  1021. package/__chunks__/useSelectableItem-Dtmy73y6.js +702 -0
  1022. package/__chunks__/useSelectableList-CQpiui2v.mjs +282 -0
  1023. package/__chunks__/useSelectableList-DeSKmxTV.js +281 -0
  1024. package/__chunks__/useSingleSelectListState-BX2vNU2f.js +55 -0
  1025. package/__chunks__/useSingleSelectListState-KDg6mjR3.mjs +56 -0
  1026. package/__chunks__/useSpinButton-BtlaFD9D.js +616 -0
  1027. package/__chunks__/useSpinButton-COlOvKCF.mjs +617 -0
  1028. package/__chunks__/useTextField-0Mbs_DmY.mjs +100 -0
  1029. package/__chunks__/useTextField-BlTYl2ML.js +99 -0
  1030. package/__chunks__/useToggle-THIfY8rz.mjs +90 -0
  1031. package/__chunks__/useToggle-m_Bxvur2.js +89 -0
  1032. package/__chunks__/useToggleState-BLVhvfl9.mjs +23 -0
  1033. package/__chunks__/useToggleState-BYfp0R5h.js +22 -0
  1034. package/__chunks__/useTreeState-B9z3iENl.mjs +143 -0
  1035. package/__chunks__/useTreeState-Cb1U-iBl.js +142 -0
  1036. package/__chunks__/useTriggerWidth-CBghrvjy.mjs +133 -0
  1037. package/__chunks__/useTriggerWidth-NhYqZmlX.js +132 -0
  1038. package/__chunks__/useUpdateEffect-CdLMBMvy.mjs +22 -0
  1039. package/__chunks__/useUpdateEffect-D8vVKdY1.js +21 -0
  1040. package/__chunks__/utilities-CBYsZn-t.mjs +107 -0
  1041. package/__chunks__/utilities-Q88aR_Y9.js +106 -0
  1042. package/__chunks__/utils-C1be5hOp.mjs +149 -0
  1043. package/__chunks__/utils-CRWC8dEm.js +148 -0
  1044. package/package.json +17 -17
  1045. package/style.css +6429 -2532
  1046. package/styles/_accessibility.scss +54 -0
  1047. package/styles/_common.scss +8 -0
  1048. package/styles/_media-queries.scss +25 -0
  1049. package/styles/_poppins-fallback.scss +73 -0
  1050. package/styles/_responsive-props.scss +90 -0
  1051. package/styles/_scrollbars.scss +52 -0
  1052. package/styles/_string-functions.scss +26 -0
  1053. package/styles/_token-helpers.scss +36 -0
  1054. package/styles/_typography.scss +53 -0
  1055. package/styles/_unstyled.scss +32 -0
  1056. package/styles/global.scss +32 -0
  1057. package/types.d.ts +11 -5
  1058. package/types.d.ts.map +1 -1
  1059. package/utilities/EasyPostLogo.d.ts +3 -0
  1060. package/utilities/EasyPostLogo.d.ts.map +1 -0
  1061. package/utilities/Noop.d.ts +1 -1
  1062. package/utilities/Noop.d.ts.map +1 -1
  1063. package/utilities/css.d.ts +1 -0
  1064. package/utilities/css.d.ts.map +1 -1
  1065. package/utilities/css.js +20 -1
  1066. package/utilities/css.mjs +20 -1
  1067. package/utilities/react.d.ts +18 -2
  1068. package/utilities/react.d.ts.map +1 -1
  1069. package/utilities/react.js +44 -307
  1070. package/utilities/react.mjs +43 -306
  1071. package/utilities/storybook.d.ts +21 -41
  1072. package/utilities/storybook.d.ts.map +1 -1
  1073. package/utilities/test.d.ts +20 -6
  1074. package/utilities/test.d.ts.map +1 -1
  1075. package/utilities/test.js +163 -0
  1076. package/utilities/test.mjs +163 -0
  1077. package/utilities/tokens.d.ts.map +1 -1
  1078. package/utilities/useScrollbar.js +2 -2
  1079. package/utilities/useScrollbar.mjs +2 -2
  1080. package/__chunks__/InputIcon-42b83782.mjs +0 -148
  1081. package/__chunks__/InputIcon-d7449227.js +0 -147
  1082. package/__chunks__/import-109dab60.js +0 -698
  1083. package/__chunks__/import-1f82f104.mjs +0 -699
  1084. package/__chunks__/import-313d3d73.js +0 -1944
  1085. package/__chunks__/import-3306af6d.mjs +0 -1945
  1086. package/__chunks__/import-4535b3fd.mjs +0 -83
  1087. package/__chunks__/import-5b668da0.js +0 -82
  1088. package/__chunks__/import-5d56d155.js +0 -1186
  1089. package/__chunks__/import-6a831ca1.mjs +0 -56
  1090. package/__chunks__/import-7a45b8e7.mjs +0 -1187
  1091. package/__chunks__/import-ac0be4fd.mjs +0 -60
  1092. package/__chunks__/import-db7a850c.js +0 -59
  1093. package/__chunks__/import-dea5a24d.js +0 -55
  1094. package/__chunks__/index-307aca2b.mjs +0 -133
  1095. package/__chunks__/index-46617001.mjs +0 -5421
  1096. package/__chunks__/index-82df46cc.js +0 -5420
  1097. package/__chunks__/index-fd91868d.js +0 -132
  1098. package/__chunks__/omit-f17deb8f.mjs +0 -1296
  1099. package/__chunks__/omit-fca26542.js +0 -1295
  1100. package/__chunks__/real-module-bf5db268.mjs +0 -216
  1101. package/__chunks__/real-module-c0f9f92a.js +0 -215
  1102. package/__chunks__/tokens-57cf84c2.mjs +0 -320
  1103. package/__chunks__/tokens-645c903d.js +0 -319
  1104. package/__chunks__/useTriggerWidth-61c09005.js +0 -2044
  1105. package/__chunks__/useTriggerWidth-79c0903e.mjs +0 -2045
@@ -0,0 +1,1696 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __spreadValues = (a, b) => {
10
+ for (var prop in b || (b = {}))
11
+ if (__hasOwnProp.call(b, prop))
12
+ __defNormalProp(a, prop, b[prop]);
13
+ if (__getOwnPropSymbols)
14
+ for (var prop of __getOwnPropSymbols(b)) {
15
+ if (__propIsEnum.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ }
18
+ return a;
19
+ };
20
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
+ var __objRest = (source, exclude) => {
22
+ var target = {};
23
+ for (var prop in source)
24
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
+ target[prop] = source[prop];
26
+ if (source != null && __getOwnPropSymbols)
27
+ for (var prop of __getOwnPropSymbols(source)) {
28
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
+ target[prop] = source[prop];
30
+ }
31
+ return target;
32
+ };
33
+ const jsxRuntime = require("react/jsx-runtime");
34
+ const React = require("react");
35
+ const mergeRefs = require("./mergeRefs-qNwPManW.js");
36
+ const useObjectRef = require("./useObjectRef-Bma_uNHw.js");
37
+ const Close = require("./Close-BQ2IlPyf.js");
38
+ const CheckCircle = require("./CheckCircle-lgmtkEe6.js");
39
+ const mergeProps = require("./mergeProps-DLPcevok.js");
40
+ const filterDOMProps = require("./filterDOMProps-p6wKN-SS.js");
41
+ const useLocalizedStringFormatter = require("./useLocalizedStringFormatter-DxxEMHfO.js");
42
+ const ReactDOM = require("react-dom");
43
+ const useFocusVisible = require("./useFocusVisible-BNcpO5Sv.js");
44
+ const useFocusWithin = require("./useFocusWithin-DDWT9Br8.js");
45
+ const useHover = require("./useHover-Ck1otl-j.js");
46
+ const index = require("./index-6ObXAT_4.js");
47
+ const Icon = require("./Icon-BRlbo3RF.js");
48
+ const Text = require("./Text-DkzMEqky.js");
49
+ const utilities_css = require("../utilities/css.js");
50
+ const UnstyledButton = require("./UnstyledButton-DW8CjaXN.js");
51
+ const CSSTransition = require("./CSSTransition-C23znX_H.js");
52
+ const objectWithoutPropertiesLoose = require("./objectWithoutPropertiesLoose-C4Mip8ZU.js");
53
+ function _interopNamespaceDefault(e) {
54
+ const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
55
+ if (e) {
56
+ for (const k in e) {
57
+ if (k !== "default") {
58
+ const d = Object.getOwnPropertyDescriptor(e, k);
59
+ Object.defineProperty(n, k, d.get ? d : {
60
+ enumerable: true,
61
+ get: () => e[k]
62
+ });
63
+ }
64
+ }
65
+ }
66
+ n.default = e;
67
+ return Object.freeze(n);
68
+ }
69
+ const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
70
+ function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
71
+ let subscribe = React.useCallback((fn) => queue.subscribe(fn), [
72
+ queue
73
+ ]);
74
+ let getSnapshot = React.useCallback(() => queue.visibleToasts, [
75
+ queue
76
+ ]);
77
+ let visibleToasts = index.shimExports.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
78
+ return {
79
+ visibleToasts,
80
+ add: (content, options) => queue.add(content, options),
81
+ close: (key) => queue.close(key),
82
+ pauseAll: () => queue.pauseAll(),
83
+ resumeAll: () => queue.resumeAll()
84
+ };
85
+ }
86
+ class $77b352cf12efcf73$export$f1f8569633bbbec4 {
87
+ runWithWrapUpdate(fn, action) {
88
+ if (this.wrapUpdate) this.wrapUpdate(fn, action);
89
+ else fn();
90
+ }
91
+ /** Subscribes to updates to the visible toasts. */
92
+ subscribe(fn) {
93
+ this.subscriptions.add(fn);
94
+ return () => this.subscriptions.delete(fn);
95
+ }
96
+ /** Adds a new toast to the queue. */
97
+ add(content, options = {}) {
98
+ let toastKey = "_" + Math.random().toString(36).slice(2);
99
+ let toast = __spreadProps(__spreadValues({}, options), {
100
+ content,
101
+ key: toastKey,
102
+ timer: options.timeout ? new $77b352cf12efcf73$var$Timer(() => this.close(toastKey), options.timeout) : void 0
103
+ });
104
+ this.queue.unshift(toast);
105
+ this.updateVisibleToasts("add");
106
+ return toastKey;
107
+ }
108
+ /**
109
+ * Closes a toast.
110
+ */
111
+ close(key) {
112
+ let index2 = this.queue.findIndex((t) => t.key === key);
113
+ if (index2 >= 0) {
114
+ var _this_queue_index_onClose, _this_queue_index;
115
+ (_this_queue_index_onClose = (_this_queue_index = this.queue[index2]).onClose) === null || _this_queue_index_onClose === void 0 ? void 0 : _this_queue_index_onClose.call(_this_queue_index);
116
+ this.queue.splice(index2, 1);
117
+ }
118
+ this.updateVisibleToasts("remove");
119
+ }
120
+ updateVisibleToasts(action) {
121
+ this.visibleToasts = this.queue.slice(0, this.maxVisibleToasts);
122
+ this.runWithWrapUpdate(() => {
123
+ for (let fn of this.subscriptions) fn();
124
+ }, action);
125
+ }
126
+ /** Pauses the timers for all visible toasts. */
127
+ pauseAll() {
128
+ for (let toast of this.visibleToasts) if (toast.timer) toast.timer.pause();
129
+ }
130
+ /** Resumes the timers for all visible toasts. */
131
+ resumeAll() {
132
+ for (let toast of this.visibleToasts) if (toast.timer) toast.timer.resume();
133
+ }
134
+ clear() {
135
+ this.queue = [];
136
+ this.updateVisibleToasts("clear");
137
+ }
138
+ constructor(options) {
139
+ this.queue = [];
140
+ this.subscriptions = /* @__PURE__ */ new Set();
141
+ this.visibleToasts = [];
142
+ var _options_maxVisibleToasts;
143
+ this.maxVisibleToasts = (_options_maxVisibleToasts = options === null || options === void 0 ? void 0 : options.maxVisibleToasts) !== null && _options_maxVisibleToasts !== void 0 ? _options_maxVisibleToasts : Infinity;
144
+ this.wrapUpdate = options === null || options === void 0 ? void 0 : options.wrapUpdate;
145
+ }
146
+ }
147
+ class $77b352cf12efcf73$var$Timer {
148
+ reset(delay) {
149
+ this.remaining = delay;
150
+ this.resume();
151
+ }
152
+ pause() {
153
+ if (this.timerId == null) return;
154
+ clearTimeout(this.timerId);
155
+ this.timerId = null;
156
+ this.remaining -= Date.now() - this.startTime;
157
+ }
158
+ resume() {
159
+ if (this.remaining <= 0) return;
160
+ this.startTime = Date.now();
161
+ this.timerId = setTimeout(() => {
162
+ this.timerId = null;
163
+ this.remaining = 0;
164
+ this.callback();
165
+ }, this.remaining);
166
+ }
167
+ constructor(callback, delay) {
168
+ this.startTime = null;
169
+ this.remaining = delay;
170
+ this.callback = callback;
171
+ }
172
+ }
173
+ const $a86207c5d7f7e1fb$var$LANDMARK_API_VERSION = 1;
174
+ const $a86207c5d7f7e1fb$var$landmarkSymbol = Symbol.for("react-aria-landmark-manager");
175
+ function $a86207c5d7f7e1fb$var$subscribe(fn) {
176
+ document.addEventListener("react-aria-landmark-manager-change", fn);
177
+ return () => document.removeEventListener("react-aria-landmark-manager-change", fn);
178
+ }
179
+ function $a86207c5d7f7e1fb$var$getLandmarkManager() {
180
+ if (typeof document === "undefined") return null;
181
+ let instance = document[$a86207c5d7f7e1fb$var$landmarkSymbol];
182
+ if (instance && instance.version >= $a86207c5d7f7e1fb$var$LANDMARK_API_VERSION) return instance;
183
+ document[$a86207c5d7f7e1fb$var$landmarkSymbol] = new $a86207c5d7f7e1fb$var$LandmarkManager();
184
+ document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change"));
185
+ return document[$a86207c5d7f7e1fb$var$landmarkSymbol];
186
+ }
187
+ function $a86207c5d7f7e1fb$var$useLandmarkManager() {
188
+ return index.shimExports.useSyncExternalStore($a86207c5d7f7e1fb$var$subscribe, $a86207c5d7f7e1fb$var$getLandmarkManager, $a86207c5d7f7e1fb$var$getLandmarkManager);
189
+ }
190
+ class $a86207c5d7f7e1fb$var$LandmarkManager {
191
+ setupIfNeeded() {
192
+ if (this.isListening) return;
193
+ document.addEventListener("keydown", this.f6Handler, {
194
+ capture: true
195
+ });
196
+ document.addEventListener("focusin", this.focusinHandler, {
197
+ capture: true
198
+ });
199
+ document.addEventListener("focusout", this.focusoutHandler, {
200
+ capture: true
201
+ });
202
+ this.isListening = true;
203
+ }
204
+ teardownIfNeeded() {
205
+ if (!this.isListening || this.landmarks.length > 0 || this.refCount > 0) return;
206
+ document.removeEventListener("keydown", this.f6Handler, {
207
+ capture: true
208
+ });
209
+ document.removeEventListener("focusin", this.focusinHandler, {
210
+ capture: true
211
+ });
212
+ document.removeEventListener("focusout", this.focusoutHandler, {
213
+ capture: true
214
+ });
215
+ this.isListening = false;
216
+ }
217
+ focusLandmark(landmark, direction) {
218
+ var _this_landmarks_find_focus, _this_landmarks_find;
219
+ (_this_landmarks_find = this.landmarks.find((l) => l.ref.current === landmark)) === null || _this_landmarks_find === void 0 ? void 0 : (_this_landmarks_find_focus = _this_landmarks_find.focus) === null || _this_landmarks_find_focus === void 0 ? void 0 : _this_landmarks_find_focus.call(_this_landmarks_find, direction);
220
+ }
221
+ /**
222
+ * Return set of landmarks with a specific role.
223
+ */
224
+ getLandmarksByRole(role) {
225
+ return new Set(this.landmarks.filter((l) => l.role === role));
226
+ }
227
+ /**
228
+ * Return first landmark with a specific role.
229
+ */
230
+ getLandmarkByRole(role) {
231
+ return this.landmarks.find((l) => l.role === role);
232
+ }
233
+ addLandmark(newLandmark) {
234
+ this.setupIfNeeded();
235
+ if (this.landmarks.find((landmark) => landmark.ref === newLandmark.ref) || !newLandmark.ref.current) return;
236
+ if (this.landmarks.filter((landmark) => landmark.role === "main").length > 1 && process.env.NODE_ENV !== "production") console.error('Page can contain no more than one landmark with the role "main".');
237
+ if (this.landmarks.length === 0) {
238
+ this.landmarks = [
239
+ newLandmark
240
+ ];
241
+ this.checkLabels(newLandmark.role);
242
+ return;
243
+ }
244
+ let start = 0;
245
+ let end = this.landmarks.length - 1;
246
+ while (start <= end) {
247
+ let mid = Math.floor((start + end) / 2);
248
+ let comparedPosition = newLandmark.ref.current.compareDocumentPosition(this.landmarks[mid].ref.current);
249
+ let isNewAfterExisting = Boolean(comparedPosition & Node.DOCUMENT_POSITION_PRECEDING || comparedPosition & Node.DOCUMENT_POSITION_CONTAINS);
250
+ if (isNewAfterExisting) start = mid + 1;
251
+ else end = mid - 1;
252
+ }
253
+ this.landmarks.splice(start, 0, newLandmark);
254
+ this.checkLabels(newLandmark.role);
255
+ }
256
+ updateLandmark(landmark) {
257
+ let index2 = this.landmarks.findIndex((l) => l.ref === landmark.ref);
258
+ if (index2 >= 0) {
259
+ this.landmarks[index2] = __spreadValues(__spreadValues({}, this.landmarks[index2]), landmark);
260
+ this.checkLabels(this.landmarks[index2].role);
261
+ }
262
+ }
263
+ removeLandmark(ref) {
264
+ this.landmarks = this.landmarks.filter((landmark) => landmark.ref !== ref);
265
+ this.teardownIfNeeded();
266
+ }
267
+ /**
268
+ * Warn if there are 2+ landmarks with the same role but no label.
269
+ * Labels for landmarks with the same role must also be unique.
270
+ *
271
+ * See https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/.
272
+ */
273
+ checkLabels(role) {
274
+ let landmarksWithRole = this.getLandmarksByRole(role);
275
+ if (landmarksWithRole.size > 1) {
276
+ let duplicatesWithoutLabel = [
277
+ ...landmarksWithRole
278
+ ].filter((landmark) => !landmark.label);
279
+ if (duplicatesWithoutLabel.length > 0 && process.env.NODE_ENV !== "production") console.warn(`Page contains more than one landmark with the '${role}' role. If two or more landmarks on a page share the same role, all must be labeled with an aria-label or aria-labelledby attribute: `, duplicatesWithoutLabel.map((landmark) => landmark.ref.current));
280
+ else if (process.env.NODE_ENV !== "production") {
281
+ let labels = [
282
+ ...landmarksWithRole
283
+ ].map((landmark) => landmark.label);
284
+ let duplicateLabels = labels.filter((item, index2) => labels.indexOf(item) !== index2);
285
+ duplicateLabels.forEach((label) => {
286
+ console.warn(`Page contains more than one landmark with the '${role}' role and '${label}' label. If two or more landmarks on a page share the same role, they must have unique labels: `, [
287
+ ...landmarksWithRole
288
+ ].filter((landmark) => landmark.label === label).map((landmark) => landmark.ref.current));
289
+ });
290
+ }
291
+ }
292
+ }
293
+ /**
294
+ * Get the landmark that is the closest parent in the DOM.
295
+ * Returns undefined if no parent is a landmark.
296
+ */
297
+ closestLandmark(element) {
298
+ let landmarkMap = new Map(this.landmarks.map((l) => [
299
+ l.ref.current,
300
+ l
301
+ ]));
302
+ let currentElement = element;
303
+ while (currentElement && !landmarkMap.has(currentElement) && currentElement !== document.body && currentElement.parentElement) currentElement = currentElement.parentElement;
304
+ return landmarkMap.get(currentElement);
305
+ }
306
+ /**
307
+ * Gets the next landmark, in DOM focus order, or previous if backwards is specified.
308
+ * If last landmark, next should be the first landmark.
309
+ * If not inside a landmark, will return first landmark.
310
+ * Returns undefined if there are no landmarks.
311
+ */
312
+ getNextLandmark(element, { backward }) {
313
+ var _this_landmarks_nextLandmarkIndex_ref_current;
314
+ let currentLandmark = this.closestLandmark(element);
315
+ let nextLandmarkIndex = backward ? this.landmarks.length - 1 : 0;
316
+ if (currentLandmark) nextLandmarkIndex = this.landmarks.indexOf(currentLandmark) + (backward ? -1 : 1);
317
+ let wrapIfNeeded = () => {
318
+ if (nextLandmarkIndex < 0) {
319
+ if (!element.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
320
+ detail: {
321
+ direction: "backward"
322
+ },
323
+ bubbles: true,
324
+ cancelable: true
325
+ }))) return true;
326
+ nextLandmarkIndex = this.landmarks.length - 1;
327
+ } else if (nextLandmarkIndex >= this.landmarks.length) {
328
+ if (!element.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
329
+ detail: {
330
+ direction: "forward"
331
+ },
332
+ bubbles: true,
333
+ cancelable: true
334
+ }))) return true;
335
+ nextLandmarkIndex = 0;
336
+ }
337
+ if (nextLandmarkIndex < 0 || nextLandmarkIndex >= this.landmarks.length) return true;
338
+ return false;
339
+ };
340
+ if (wrapIfNeeded()) return void 0;
341
+ let i = nextLandmarkIndex;
342
+ while ((_this_landmarks_nextLandmarkIndex_ref_current = this.landmarks[nextLandmarkIndex].ref.current) === null || _this_landmarks_nextLandmarkIndex_ref_current === void 0 ? void 0 : _this_landmarks_nextLandmarkIndex_ref_current.closest("[aria-hidden=true]")) {
343
+ nextLandmarkIndex += backward ? -1 : 1;
344
+ if (wrapIfNeeded()) return void 0;
345
+ if (nextLandmarkIndex === i) break;
346
+ }
347
+ return this.landmarks[nextLandmarkIndex];
348
+ }
349
+ /**
350
+ * Look at next landmark. If an element was previously focused inside, restore focus there.
351
+ * If not, focus the landmark itself.
352
+ * If no landmarks at all, or none with focusable elements, don't move focus.
353
+ */
354
+ f6Handler(e) {
355
+ if (e.key === "F6") {
356
+ let handled = e.altKey ? this.focusMain() : this.navigate(e.target, e.shiftKey);
357
+ if (handled) {
358
+ e.preventDefault();
359
+ e.stopPropagation();
360
+ }
361
+ }
362
+ }
363
+ focusMain() {
364
+ let main = this.getLandmarkByRole("main");
365
+ if (main && main.ref.current && document.contains(main.ref.current)) {
366
+ this.focusLandmark(main.ref.current, "forward");
367
+ return true;
368
+ }
369
+ return false;
370
+ }
371
+ navigate(from, backward) {
372
+ let nextLandmark = this.getNextLandmark(from, {
373
+ backward
374
+ });
375
+ if (!nextLandmark) return false;
376
+ if (nextLandmark.lastFocused) {
377
+ let lastFocused = nextLandmark.lastFocused;
378
+ if (document.body.contains(lastFocused)) {
379
+ lastFocused.focus();
380
+ return true;
381
+ }
382
+ }
383
+ if (nextLandmark.ref.current && document.contains(nextLandmark.ref.current)) {
384
+ this.focusLandmark(nextLandmark.ref.current, backward ? "backward" : "forward");
385
+ return true;
386
+ }
387
+ return false;
388
+ }
389
+ /**
390
+ * Sets lastFocused for a landmark, if focus is moved within that landmark.
391
+ * Lets the last focused landmark know it was blurred if something else is focused.
392
+ */
393
+ focusinHandler(e) {
394
+ let currentLandmark = this.closestLandmark(e.target);
395
+ if (currentLandmark && currentLandmark.ref.current !== e.target) this.updateLandmark({
396
+ ref: currentLandmark.ref,
397
+ lastFocused: e.target
398
+ });
399
+ let previousFocusedElement = e.relatedTarget;
400
+ if (previousFocusedElement) {
401
+ let closestPreviousLandmark = this.closestLandmark(previousFocusedElement);
402
+ if (closestPreviousLandmark && closestPreviousLandmark.ref.current === previousFocusedElement) closestPreviousLandmark.blur();
403
+ }
404
+ }
405
+ /**
406
+ * Track if the focus is lost to the body. If it is, do cleanup on the landmark that last had focus.
407
+ */
408
+ focusoutHandler(e) {
409
+ let previousFocusedElement = e.target;
410
+ let nextFocusedElement = e.relatedTarget;
411
+ if (!nextFocusedElement || nextFocusedElement === document) {
412
+ let closestPreviousLandmark = this.closestLandmark(previousFocusedElement);
413
+ if (closestPreviousLandmark && closestPreviousLandmark.ref.current === previousFocusedElement) closestPreviousLandmark.blur();
414
+ }
415
+ }
416
+ createLandmarkController() {
417
+ let instance = this;
418
+ instance.refCount++;
419
+ instance.setupIfNeeded();
420
+ return {
421
+ navigate(direction, opts) {
422
+ let element = (opts === null || opts === void 0 ? void 0 : opts.from) || document.activeElement;
423
+ return instance.navigate(element, direction === "backward");
424
+ },
425
+ focusNext(opts) {
426
+ let element = (opts === null || opts === void 0 ? void 0 : opts.from) || document.activeElement;
427
+ return instance.navigate(element, false);
428
+ },
429
+ focusPrevious(opts) {
430
+ let element = (opts === null || opts === void 0 ? void 0 : opts.from) || document.activeElement;
431
+ return instance.navigate(element, true);
432
+ },
433
+ focusMain() {
434
+ return instance.focusMain();
435
+ },
436
+ dispose() {
437
+ if (instance) {
438
+ instance.refCount--;
439
+ instance.teardownIfNeeded();
440
+ instance = null;
441
+ }
442
+ }
443
+ };
444
+ }
445
+ registerLandmark(landmark) {
446
+ if (this.landmarks.find((l) => l.ref === landmark.ref)) this.updateLandmark(landmark);
447
+ else this.addLandmark(landmark);
448
+ return () => this.removeLandmark(landmark.ref);
449
+ }
450
+ constructor() {
451
+ this.landmarks = [];
452
+ this.isListening = false;
453
+ this.refCount = 0;
454
+ this.version = $a86207c5d7f7e1fb$var$LANDMARK_API_VERSION;
455
+ this.f6Handler = this.f6Handler.bind(this);
456
+ this.focusinHandler = this.focusinHandler.bind(this);
457
+ this.focusoutHandler = this.focusoutHandler.bind(this);
458
+ }
459
+ }
460
+ function $a86207c5d7f7e1fb$export$4cc632584fd87fae(props, ref) {
461
+ const { role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, focus } = props;
462
+ let manager = $a86207c5d7f7e1fb$var$useLandmarkManager();
463
+ let label = ariaLabel || ariaLabelledby;
464
+ let [isLandmarkFocused, setIsLandmarkFocused] = React.useState(false);
465
+ let defaultFocus = React.useCallback(() => {
466
+ setIsLandmarkFocused(true);
467
+ }, [
468
+ setIsLandmarkFocused
469
+ ]);
470
+ let blur = React.useCallback(() => {
471
+ setIsLandmarkFocused(false);
472
+ }, [
473
+ setIsLandmarkFocused
474
+ ]);
475
+ mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
476
+ if (manager) return manager.registerLandmark({
477
+ ref,
478
+ label,
479
+ role,
480
+ focus: focus || defaultFocus,
481
+ blur
482
+ });
483
+ }, [
484
+ manager,
485
+ label,
486
+ ref,
487
+ role,
488
+ focus,
489
+ defaultFocus,
490
+ blur
491
+ ]);
492
+ React.useEffect(() => {
493
+ var _ref_current;
494
+ if (isLandmarkFocused) (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();
495
+ }, [
496
+ isLandmarkFocused,
497
+ ref
498
+ ]);
499
+ return {
500
+ landmarkProps: {
501
+ role,
502
+ tabIndex: isLandmarkFocused ? -1 : void 0,
503
+ "aria-label": ariaLabel,
504
+ "aria-labelledby": ariaLabelledby
505
+ }
506
+ };
507
+ }
508
+ var $ff9177efc58547ad$exports = {};
509
+ $ff9177efc58547ad$exports = {
510
+ "close": `إغلاق`,
511
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
512
+ one: () => `${formatter.number(args.count)} إشعار`,
513
+ other: () => `${formatter.number(args.count)} إشعارات`
514
+ })}.`
515
+ };
516
+ var $25eb7c0c0c45e544$exports = {};
517
+ $25eb7c0c0c45e544$exports = {
518
+ "close": `Затвори`,
519
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
520
+ one: () => `${formatter.number(args.count)} известие`,
521
+ other: () => `${formatter.number(args.count)} известия`
522
+ })}.`
523
+ };
524
+ var $28feffc3d61a8691$exports = {};
525
+ $28feffc3d61a8691$exports = {
526
+ "close": `Zavřít`,
527
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
528
+ one: () => `${formatter.number(args.count)} oznámení`,
529
+ other: () => `${formatter.number(args.count)} oznámení`
530
+ })}.`
531
+ };
532
+ var $390d441203d25ff4$exports = {};
533
+ $390d441203d25ff4$exports = {
534
+ "close": `Luk`,
535
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
536
+ one: () => `${formatter.number(args.count)} besked`,
537
+ other: () => `${formatter.number(args.count)} beskeder`
538
+ })}.`
539
+ };
540
+ var $7063c2d0f14f979a$exports = {};
541
+ $7063c2d0f14f979a$exports = {
542
+ "close": `Schließen`,
543
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
544
+ one: () => `${formatter.number(args.count)} Benachrichtigung`,
545
+ other: () => `${formatter.number(args.count)} Benachrichtigungen`
546
+ })}.`
547
+ };
548
+ var $2dfc1dbb6590af88$exports = {};
549
+ $2dfc1dbb6590af88$exports = {
550
+ "close": `Κλείσιμο`,
551
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
552
+ one: () => `${formatter.number(args.count)} ειδοποίηση`,
553
+ other: () => `${formatter.number(args.count)} ειδοποιήσεις`
554
+ })}.`
555
+ };
556
+ var $9a12ff1caae5a7a5$exports = {};
557
+ $9a12ff1caae5a7a5$exports = {
558
+ "close": `Close`,
559
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
560
+ one: () => `${formatter.number(args.count)} notification`,
561
+ other: () => `${formatter.number(args.count)} notifications`
562
+ })}.`
563
+ };
564
+ var $f4095fb5a72adbe6$exports = {};
565
+ $f4095fb5a72adbe6$exports = {
566
+ "close": `Cerrar`,
567
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
568
+ one: () => `${formatter.number(args.count)} notificación`,
569
+ other: () => `${formatter.number(args.count)} notificaciones`
570
+ })}.`
571
+ };
572
+ var $75bc5191b9d7826a$exports = {};
573
+ $75bc5191b9d7826a$exports = {
574
+ "close": `Sule`,
575
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
576
+ one: () => `${formatter.number(args.count)} teatis`,
577
+ other: () => `${formatter.number(args.count)} teatist`
578
+ })}.`
579
+ };
580
+ var $e4b9aef18b0db8dc$exports = {};
581
+ $e4b9aef18b0db8dc$exports = {
582
+ "close": `Sulje`,
583
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
584
+ one: () => `${formatter.number(args.count)} ilmoitus`,
585
+ other: () => `${formatter.number(args.count)} ilmoitusta`
586
+ })}.`
587
+ };
588
+ var $888756784d832bd7$exports = {};
589
+ $888756784d832bd7$exports = {
590
+ "close": `Fermer`,
591
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
592
+ one: () => `${formatter.number(args.count)} notification`,
593
+ other: () => `${formatter.number(args.count)} notifications`
594
+ })}.`
595
+ };
596
+ var $6835949b68a1fabf$exports = {};
597
+ $6835949b68a1fabf$exports = {
598
+ "close": `סגור`,
599
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
600
+ one: () => `${formatter.number(args.count)} התראה`,
601
+ other: () => `${formatter.number(args.count)} התראות`
602
+ })}.`
603
+ };
604
+ var $87ffcbc0b651e40b$exports = {};
605
+ $87ffcbc0b651e40b$exports = {
606
+ "close": `Zatvori`,
607
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
608
+ one: () => `${formatter.number(args.count)} obavijest`,
609
+ other: () => `${formatter.number(args.count)} obavijesti`
610
+ })}.`
611
+ };
612
+ var $dc6e3b2813600d69$exports = {};
613
+ $dc6e3b2813600d69$exports = {
614
+ "close": `Bezárás`,
615
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
616
+ one: () => `${formatter.number(args.count)} értesítés`,
617
+ other: () => `${formatter.number(args.count)} értesítés`
618
+ })}.`
619
+ };
620
+ var $fe136bcbacfcfa14$exports = {};
621
+ $fe136bcbacfcfa14$exports = {
622
+ "close": `Chiudi`,
623
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
624
+ one: () => `${formatter.number(args.count)} notifica`,
625
+ other: () => `${formatter.number(args.count)} notifiche`
626
+ })}.`
627
+ };
628
+ var $8fb53a929b46df83$exports = {};
629
+ $8fb53a929b46df83$exports = {
630
+ "close": `閉じる`,
631
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
632
+ one: () => `${formatter.number(args.count)} 個の通知`,
633
+ other: () => `${formatter.number(args.count)} 個の通知`
634
+ })}。`
635
+ };
636
+ var $2c38dbfaf041a865$exports = {};
637
+ $2c38dbfaf041a865$exports = {
638
+ "close": `닫기`,
639
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
640
+ one: () => `${formatter.number(args.count)}개 알림`,
641
+ other: () => `${formatter.number(args.count)}개 알림`
642
+ })}.`
643
+ };
644
+ var $48f3f33a29908d4c$exports = {};
645
+ $48f3f33a29908d4c$exports = {
646
+ "close": `Uždaryti`,
647
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
648
+ one: () => `${formatter.number(args.count)} pranešimas`,
649
+ other: () => `${formatter.number(args.count)} pranešimai`
650
+ })}.`
651
+ };
652
+ var $9867160d996455a0$exports = {};
653
+ $9867160d996455a0$exports = {
654
+ "close": `Aizvērt`,
655
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
656
+ one: () => `${formatter.number(args.count)} paziņojums`,
657
+ other: () => `${formatter.number(args.count)} paziņojumi`
658
+ })}.`
659
+ };
660
+ var $196258ea25c96487$exports = {};
661
+ $196258ea25c96487$exports = {
662
+ "close": `Lukk`,
663
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
664
+ one: () => `${formatter.number(args.count)} varsling`,
665
+ other: () => `${formatter.number(args.count)} varsler`
666
+ })}.`
667
+ };
668
+ var $949061cb954e8000$exports = {};
669
+ $949061cb954e8000$exports = {
670
+ "close": `Sluiten`,
671
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
672
+ one: () => `${formatter.number(args.count)} melding`,
673
+ other: () => `${formatter.number(args.count)} meldingen`
674
+ })}.`
675
+ };
676
+ var $8189bed27add1ad3$exports = {};
677
+ $8189bed27add1ad3$exports = {
678
+ "close": `Zamknij`,
679
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
680
+ one: () => `${formatter.number(args.count)} powiadomienie`,
681
+ few: () => `${formatter.number(args.count)} powiadomienia`,
682
+ many: () => `${formatter.number(args.count)} powiadomień`,
683
+ other: () => `${formatter.number(args.count)} powiadomienia`
684
+ })}.`
685
+ };
686
+ var $a361756a93b6e28c$exports = {};
687
+ $a361756a93b6e28c$exports = {
688
+ "close": `Fechar`,
689
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
690
+ one: () => `${formatter.number(args.count)} notificação`,
691
+ other: () => `${formatter.number(args.count)} notificações`
692
+ })}.`
693
+ };
694
+ var $034c7393857c8db0$exports = {};
695
+ $034c7393857c8db0$exports = {
696
+ "close": `Fechar`,
697
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
698
+ one: () => `${formatter.number(args.count)} notificação`,
699
+ other: () => `${formatter.number(args.count)} notificações`
700
+ })}.`
701
+ };
702
+ var $e33d3b3868478b04$exports = {};
703
+ $e33d3b3868478b04$exports = {
704
+ "close": `Închideţi`,
705
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
706
+ one: () => `${formatter.number(args.count)} notificare`,
707
+ other: () => `${formatter.number(args.count)} notificări`
708
+ })}.`
709
+ };
710
+ var $9a7dcb914b29cd9f$exports = {};
711
+ $9a7dcb914b29cd9f$exports = {
712
+ "close": `Закрыть`,
713
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
714
+ one: () => `${formatter.number(args.count)} уведомление`,
715
+ other: () => `${formatter.number(args.count)} уведомления`
716
+ })}.`
717
+ };
718
+ var $e43d964a0c7f1266$exports = {};
719
+ $e43d964a0c7f1266$exports = {
720
+ "close": `Zatvoriť`,
721
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
722
+ one: () => `${formatter.number(args.count)} oznámenie`,
723
+ few: () => `${formatter.number(args.count)} oznámenia`,
724
+ other: () => `${formatter.number(args.count)} oznámení`
725
+ })}.`
726
+ };
727
+ var $0bc56cee3275bcaa$exports = {};
728
+ $0bc56cee3275bcaa$exports = {
729
+ "close": `Zapri`,
730
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
731
+ one: () => `${formatter.number(args.count)} obvestilo`,
732
+ two: () => `${formatter.number(args.count)} obvestili`,
733
+ few: () => `${formatter.number(args.count)} obvestila`,
734
+ other: () => `${formatter.number(args.count)} obvestil`
735
+ })}.`
736
+ };
737
+ var $7dbdd7289c10d2ba$exports = {};
738
+ $7dbdd7289c10d2ba$exports = {
739
+ "close": `Zatvori`,
740
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
741
+ one: () => `${formatter.number(args.count)} obaveštenje`,
742
+ other: () => `${formatter.number(args.count)} obaveštenja`
743
+ })}.`
744
+ };
745
+ var $ccbe6066c10b1e53$exports = {};
746
+ $ccbe6066c10b1e53$exports = {
747
+ "close": `Stäng`,
748
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
749
+ one: () => `${formatter.number(args.count)} meddelande`,
750
+ other: () => `${formatter.number(args.count)} meddelanden`
751
+ })}.`
752
+ };
753
+ var $9d503476b9d858b7$exports = {};
754
+ $9d503476b9d858b7$exports = {
755
+ "close": `Kapat`,
756
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
757
+ one: () => `${formatter.number(args.count)} bildirim`,
758
+ other: () => `${formatter.number(args.count)} bildirim`
759
+ })}.`
760
+ };
761
+ var $32ee419c7b9b7a83$exports = {};
762
+ $32ee419c7b9b7a83$exports = {
763
+ "close": `Закрити`,
764
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
765
+ one: () => `${formatter.number(args.count)} сповіщення`,
766
+ other: () => `${formatter.number(args.count)} сповіщення`
767
+ })}.`
768
+ };
769
+ var $122525af1cb737c7$exports = {};
770
+ $122525af1cb737c7$exports = {
771
+ "close": `关闭`,
772
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
773
+ one: () => `${formatter.number(args.count)} 个通知`,
774
+ other: () => `${formatter.number(args.count)} 个通知`
775
+ })}。`
776
+ };
777
+ var $52e8b1b00094e5a3$exports = {};
778
+ $52e8b1b00094e5a3$exports = {
779
+ "close": `關閉`,
780
+ "notifications": (args, formatter) => `${formatter.plural(args.count, {
781
+ one: () => `${formatter.number(args.count)} 個通知`,
782
+ other: () => `${formatter.number(args.count)} 個通知`
783
+ })}。`
784
+ };
785
+ var $7853651519a70071$exports = {};
786
+ $7853651519a70071$exports = {
787
+ "ar-AE": $ff9177efc58547ad$exports,
788
+ "bg-BG": $25eb7c0c0c45e544$exports,
789
+ "cs-CZ": $28feffc3d61a8691$exports,
790
+ "da-DK": $390d441203d25ff4$exports,
791
+ "de-DE": $7063c2d0f14f979a$exports,
792
+ "el-GR": $2dfc1dbb6590af88$exports,
793
+ "en-US": $9a12ff1caae5a7a5$exports,
794
+ "es-ES": $f4095fb5a72adbe6$exports,
795
+ "et-EE": $75bc5191b9d7826a$exports,
796
+ "fi-FI": $e4b9aef18b0db8dc$exports,
797
+ "fr-FR": $888756784d832bd7$exports,
798
+ "he-IL": $6835949b68a1fabf$exports,
799
+ "hr-HR": $87ffcbc0b651e40b$exports,
800
+ "hu-HU": $dc6e3b2813600d69$exports,
801
+ "it-IT": $fe136bcbacfcfa14$exports,
802
+ "ja-JP": $8fb53a929b46df83$exports,
803
+ "ko-KR": $2c38dbfaf041a865$exports,
804
+ "lt-LT": $48f3f33a29908d4c$exports,
805
+ "lv-LV": $9867160d996455a0$exports,
806
+ "nb-NO": $196258ea25c96487$exports,
807
+ "nl-NL": $949061cb954e8000$exports,
808
+ "pl-PL": $8189bed27add1ad3$exports,
809
+ "pt-BR": $a361756a93b6e28c$exports,
810
+ "pt-PT": $034c7393857c8db0$exports,
811
+ "ro-RO": $e33d3b3868478b04$exports,
812
+ "ru-RU": $9a7dcb914b29cd9f$exports,
813
+ "sk-SK": $e43d964a0c7f1266$exports,
814
+ "sl-SI": $0bc56cee3275bcaa$exports,
815
+ "sr-SP": $7dbdd7289c10d2ba$exports,
816
+ "sv-SE": $ccbe6066c10b1e53$exports,
817
+ "tr-TR": $9d503476b9d858b7$exports,
818
+ "uk-UA": $32ee419c7b9b7a83$exports,
819
+ "zh-CN": $122525af1cb737c7$exports,
820
+ "zh-TW": $52e8b1b00094e5a3$exports
821
+ };
822
+ function $parcel$interopDefault$1(a) {
823
+ return a && a.__esModule ? a.default : a;
824
+ }
825
+ function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
826
+ let { key, timer, timeout } = props.toast;
827
+ React.useEffect(() => {
828
+ if (timer == null || timeout == null) return;
829
+ timer.reset(timeout);
830
+ return () => {
831
+ timer.pause();
832
+ };
833
+ }, [
834
+ timer,
835
+ timeout
836
+ ]);
837
+ let titleId = mergeProps.$bdb11010cef70236$export$f680877a34711e37();
838
+ let descriptionId = mergeProps.$bdb11010cef70236$export$b4cc09c592e8fdb8();
839
+ let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault$1($7853651519a70071$exports), "@react-aria/toast");
840
+ let [isVisible, setIsVisible] = React.useState(false);
841
+ mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
842
+ setIsVisible(true);
843
+ }, []);
844
+ let toastProps = filterDOMProps.$65484d02dcb7eb3e$export$457c3d6518dd4c6f(props, {
845
+ labelable: true
846
+ });
847
+ return {
848
+ toastProps: __spreadProps(__spreadValues({}, toastProps), {
849
+ role: "alertdialog",
850
+ "aria-modal": "false",
851
+ "aria-labelledby": props["aria-labelledby"] || titleId,
852
+ "aria-describedby": props["aria-describedby"] || descriptionId,
853
+ tabIndex: 0
854
+ }),
855
+ contentProps: {
856
+ role: "alert",
857
+ "aria-atomic": "true",
858
+ "aria-hidden": isVisible ? void 0 : "true"
859
+ },
860
+ titleProps: {
861
+ id: titleId
862
+ },
863
+ descriptionProps: {
864
+ id: descriptionId
865
+ },
866
+ closeButtonProps: {
867
+ "aria-label": stringFormatter.format("close"),
868
+ onPress: () => state.close(key)
869
+ }
870
+ };
871
+ }
872
+ function $parcel$interopDefault(a) {
873
+ return a && a.__esModule ? a.default : a;
874
+ }
875
+ function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
876
+ let stringFormatter = useLocalizedStringFormatter.$fca6afa0e843324b$export$f12b703ca79dfbb1($parcel$interopDefault($7853651519a70071$exports), "@react-aria/toast");
877
+ let { landmarkProps } = $a86207c5d7f7e1fb$export$4cc632584fd87fae({
878
+ role: "region",
879
+ "aria-label": props["aria-label"] || stringFormatter.format("notifications", {
880
+ count: state.visibleToasts.length
881
+ })
882
+ }, ref);
883
+ let isHovered = React.useRef(false);
884
+ let isFocused = React.useRef(false);
885
+ let updateTimers = React.useCallback(() => {
886
+ if (isHovered.current || isFocused.current) state.pauseAll();
887
+ else state.resumeAll();
888
+ }, [
889
+ state
890
+ ]);
891
+ let { hoverProps } = useHover.$6179b936705e76d3$export$ae780daf29e6d456({
892
+ onHoverStart: () => {
893
+ isHovered.current = true;
894
+ updateTimers();
895
+ },
896
+ onHoverEnd: () => {
897
+ isHovered.current = false;
898
+ updateTimers();
899
+ }
900
+ });
901
+ let toasts = React.useRef([]);
902
+ let prevVisibleToasts = React.useRef(state.visibleToasts);
903
+ let focusedToast = React.useRef(null);
904
+ mergeProps.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
905
+ if (focusedToast.current === -1 || state.visibleToasts.length === 0 || !ref.current) {
906
+ toasts.current = [];
907
+ prevVisibleToasts.current = state.visibleToasts;
908
+ return;
909
+ }
910
+ toasts.current = [
911
+ ...ref.current.querySelectorAll('[role="alertdialog"]')
912
+ ];
913
+ if (prevVisibleToasts.current.length === state.visibleToasts.length && state.visibleToasts.every((t, i) => t.key === prevVisibleToasts.current[i].key)) {
914
+ prevVisibleToasts.current = state.visibleToasts;
915
+ return;
916
+ }
917
+ let allToasts = prevVisibleToasts.current.map((t, i) => __spreadProps(__spreadValues({}, t), {
918
+ i,
919
+ isRemoved: !state.visibleToasts.some((t2) => t.key === t2.key)
920
+ }));
921
+ let removedFocusedToastIndex = allToasts.findIndex((t) => t.i === focusedToast.current && t.isRemoved);
922
+ if (removedFocusedToastIndex > -1) {
923
+ var _lastFocused_current;
924
+ if (useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer" && ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected)) useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
925
+ else {
926
+ let i = 0;
927
+ let nextToast;
928
+ let prevToast;
929
+ while (i <= removedFocusedToastIndex) {
930
+ if (!allToasts[i].isRemoved) prevToast = Math.max(0, i - 1);
931
+ i++;
932
+ }
933
+ while (i < allToasts.length) {
934
+ if (!allToasts[i].isRemoved) {
935
+ nextToast = i - 1;
936
+ break;
937
+ }
938
+ i++;
939
+ }
940
+ if (prevToast === void 0 && nextToast === void 0) prevToast = 0;
941
+ if (prevToast >= 0 && prevToast < toasts.current.length) useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[prevToast]);
942
+ else if (nextToast >= 0 && nextToast < toasts.current.length) useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(toasts.current[nextToast]);
943
+ }
944
+ }
945
+ prevVisibleToasts.current = state.visibleToasts;
946
+ }, [
947
+ state.visibleToasts,
948
+ ref
949
+ ]);
950
+ let lastFocused = React.useRef(null);
951
+ let { focusWithinProps } = useFocusWithin.$9ab94262bd0047c7$export$420e68273165f4ec({
952
+ onFocusWithin: (e) => {
953
+ isFocused.current = true;
954
+ lastFocused.current = e.relatedTarget;
955
+ updateTimers();
956
+ },
957
+ onBlurWithin: () => {
958
+ isFocused.current = false;
959
+ lastFocused.current = null;
960
+ updateTimers();
961
+ }
962
+ });
963
+ React.useEffect(() => {
964
+ var _lastFocused_current;
965
+ if (state.visibleToasts.length === 0 && ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected)) {
966
+ if (useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer") useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
967
+ else lastFocused.current.focus();
968
+ lastFocused.current = null;
969
+ }
970
+ }, [
971
+ ref,
972
+ state.visibleToasts.length
973
+ ]);
974
+ React.useEffect(() => {
975
+ return () => {
976
+ var _lastFocused_current;
977
+ if ((_lastFocused_current = lastFocused.current) === null || _lastFocused_current === void 0 ? void 0 : _lastFocused_current.isConnected) {
978
+ if (useFocusVisible.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer") useFocusVisible.$7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
979
+ else lastFocused.current.focus();
980
+ lastFocused.current = null;
981
+ }
982
+ };
983
+ }, [
984
+ ref
985
+ ]);
986
+ return {
987
+ regionProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(landmarkProps, hoverProps, focusWithinProps, {
988
+ tabIndex: -1,
989
+ // Mark the toast region as a "top layer", so that it:
990
+ // - is not aria-hidden when opening an overlay
991
+ // - allows focus even outside a containing focus scope
992
+ // - doesn’t dismiss overlays when clicking on it, even though it is outside
993
+ // @ts-ignore
994
+ "data-react-aria-top-layer": true,
995
+ // listen to focus events separate from focuswithin because that will only fire once
996
+ // and we need to follow all focus changes
997
+ onFocus: (e) => {
998
+ let target = e.target.closest('[role="alertdialog"]');
999
+ focusedToast.current = toasts.current.findIndex((t) => t === target);
1000
+ },
1001
+ onBlur: () => {
1002
+ focusedToast.current = -1;
1003
+ }
1004
+ })
1005
+ };
1006
+ }
1007
+ var __defProp$3 = Object.defineProperty;
1008
+ var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
1009
+ var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
1010
+ var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
1011
+ var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
1012
+ enumerable: true,
1013
+ configurable: true,
1014
+ writable: true,
1015
+ value
1016
+ }) : obj[key] = value;
1017
+ var __spreadValues$3 = (a, b) => {
1018
+ for (var prop in b || (b = {})) if (__hasOwnProp$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
1019
+ if (__getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(b)) {
1020
+ if (__propIsEnum$3.call(b, prop)) __defNormalProp$3(a, prop, b[prop]);
1021
+ }
1022
+ return a;
1023
+ };
1024
+ var __objRest$3 = (source, exclude) => {
1025
+ var target = {};
1026
+ for (var prop in source) if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
1027
+ if (source != null && __getOwnPropSymbols$3) for (var prop of __getOwnPropSymbols$3(source)) {
1028
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop)) target[prop] = source[prop];
1029
+ }
1030
+ return target;
1031
+ };
1032
+ const Error2 = (_a) => {
1033
+ var _b = _a, { title, titleId } = _b, props = __objRest$3(_b, ["title", "titleId"]);
1034
+ return React__namespace.createElement("svg", __spreadValues$3({
1035
+ xmlns: "http://www.w3.org/2000/svg",
1036
+ viewBox: "0 -960 960 960",
1037
+ "aria-labelledby": titleId
1038
+ }, props), title ? React__namespace.createElement("title", {
1039
+ id: titleId
1040
+ }, title) : null, React__namespace.createElement("path", {
1041
+ d: "M479.98-290.77q11.9 0 19.58-7.66 7.67-7.65 7.67-19.55t-7.66-19.58q-7.65-7.67-19.55-7.67t-19.58 7.65q-7.67 7.66-7.67 19.56 0 11.9 7.66 19.58 7.65 7.67 19.55 7.67Zm-20.44-141.08h45.38v-249.53h-45.38v249.53ZM480.33-100q-78.95 0-147.89-29.92-68.95-29.92-120.76-81.71-51.81-51.79-81.75-120.78Q100-401.39 100-480.43q0-78.66 29.92-147.87 29.92-69.21 81.71-120.52 51.79-51.31 120.78-81.25Q401.39-860 480.43-860q78.66 0 147.87 29.92 69.21 29.92 120.52 81.21 51.31 51.29 81.25 120.63Q860-558.9 860-480.33q0 78.95-29.92 147.89-29.92 68.95-81.21 120.57-51.29 51.63-120.63 81.75Q558.9-100 480.33-100Zm.17-45.39q139.19 0 236.65-97.76 97.46-97.77 97.46-237.35 0-139.19-97.27-236.65-97.27-97.46-237.34-97.46-139.08 0-236.85 97.27-97.76 97.27-97.76 237.34 0 139.08 97.76 236.85 97.77 97.76 237.35 97.76ZM480-480Z"
1042
+ }));
1043
+ };
1044
+ var __defProp$2 = Object.defineProperty;
1045
+ var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
1046
+ var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
1047
+ var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
1048
+ var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
1049
+ enumerable: true,
1050
+ configurable: true,
1051
+ writable: true,
1052
+ value
1053
+ }) : obj[key] = value;
1054
+ var __spreadValues$2 = (a, b) => {
1055
+ for (var prop in b || (b = {})) if (__hasOwnProp$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
1056
+ if (__getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(b)) {
1057
+ if (__propIsEnum$2.call(b, prop)) __defNormalProp$2(a, prop, b[prop]);
1058
+ }
1059
+ return a;
1060
+ };
1061
+ var __objRest$2 = (source, exclude) => {
1062
+ var target = {};
1063
+ for (var prop in source) if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
1064
+ if (source != null && __getOwnPropSymbols$2) for (var prop of __getOwnPropSymbols$2(source)) {
1065
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop)) target[prop] = source[prop];
1066
+ }
1067
+ return target;
1068
+ };
1069
+ const Warning = (_a) => {
1070
+ var _b = _a, { title, titleId } = _b, props = __objRest$2(_b, ["title", "titleId"]);
1071
+ return React__namespace.createElement("svg", __spreadValues$2({
1072
+ xmlns: "http://www.w3.org/2000/svg",
1073
+ viewBox: "0 -960 960 960",
1074
+ "aria-labelledby": titleId
1075
+ }, props), title ? React__namespace.createElement("title", {
1076
+ id: titleId
1077
+ }, title) : null, React__namespace.createElement("path", {
1078
+ d: "M74.62-140 480-840l405.38 700H74.62Zm78.61-45.39h653.54L480-749.23 153.23-185.39Zm329.8-60.07q10.7 0 17.76-7.24 7.06-7.24 7.06-17.94 0-10.71-7.24-17.76-7.24-7.06-17.95-7.06-10.7 0-17.76 7.24-7.05 7.24-7.05 17.94 0 10.7 7.24 17.76 7.24 7.06 17.94 7.06Zm-22.88-97.92h45.39v-217.85h-45.39v217.85ZM480-467.31Z"
1079
+ }));
1080
+ };
1081
+ var __defProp$1 = Object.defineProperty;
1082
+ var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
1083
+ var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
1084
+ var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
1085
+ var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
1086
+ enumerable: true,
1087
+ configurable: true,
1088
+ writable: true,
1089
+ value
1090
+ }) : obj[key] = value;
1091
+ var __spreadValues$1 = (a, b) => {
1092
+ for (var prop in b || (b = {})) if (__hasOwnProp$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
1093
+ if (__getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(b)) {
1094
+ if (__propIsEnum$1.call(b, prop)) __defNormalProp$1(a, prop, b[prop]);
1095
+ }
1096
+ return a;
1097
+ };
1098
+ var __objRest$1 = (source, exclude) => {
1099
+ var target = {};
1100
+ for (var prop in source) if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
1101
+ if (source != null && __getOwnPropSymbols$1) for (var prop of __getOwnPropSymbols$1(source)) {
1102
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop)) target[prop] = source[prop];
1103
+ }
1104
+ return target;
1105
+ };
1106
+ const DocumentScanner = (_a) => {
1107
+ var _b = _a, { title, titleId } = _b, props = __objRest$1(_b, ["title", "titleId"]);
1108
+ return React__namespace.createElement("svg", __spreadValues$1({
1109
+ xmlns: "http://www.w3.org/2000/svg",
1110
+ viewBox: "0 -960 960 960",
1111
+ "aria-labelledby": titleId
1112
+ }, props), title ? React__namespace.createElement("title", {
1113
+ id: titleId
1114
+ }, title) : null, React__namespace.createElement("path", {
1115
+ d: "M90-748.46V-910h161.92v45.38H135.38v116.16H90Zm734.62 0v-116.16H708.46V-910H870v161.54h-45.38ZM90-50v-161.92h45.38v116.54h116.54V-50H90Zm618.46 0v-45.38h116.16v-116.54H870V-50H708.46ZM255.38-227.69q0 4.61 3.85 8.46 3.85 3.85 8.46 3.85h424.62q4.61 0 8.46-3.85 3.85-3.85 3.85-8.46v-504.62q0-4.61-3.85-8.46-3.85-3.85-8.46-3.85H267.69q-4.61 0-8.46 3.85-3.85 3.85-3.85 8.46v504.62ZM267.69-170q-23.53 0-40.61-17.08T210-227.69v-504.62q0-23.53 17.08-40.61T267.69-790h424.62q23.53 0 40.61 17.08T750-732.31v504.62q0 23.53-17.08 40.61T692.31-170H267.69Zm109.62-407.31h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38Zm0 120h205.38v-45.38H377.31v45.38ZM255.38-227.69v-516.93 529.24-12.31Z"
1116
+ }));
1117
+ };
1118
+ var __defProp2 = Object.defineProperty;
1119
+ var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
1120
+ var __hasOwnProp2 = Object.prototype.hasOwnProperty;
1121
+ var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
1122
+ var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
1123
+ enumerable: true,
1124
+ configurable: true,
1125
+ writable: true,
1126
+ value
1127
+ }) : obj[key] = value;
1128
+ var __spreadValues2 = (a, b) => {
1129
+ for (var prop in b || (b = {})) if (__hasOwnProp2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
1130
+ if (__getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(b)) {
1131
+ if (__propIsEnum2.call(b, prop)) __defNormalProp2(a, prop, b[prop]);
1132
+ }
1133
+ return a;
1134
+ };
1135
+ var __objRest2 = (source, exclude) => {
1136
+ var target = {};
1137
+ for (var prop in source) if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0) target[prop] = source[prop];
1138
+ if (source != null && __getOwnPropSymbols2) for (var prop of __getOwnPropSymbols2(source)) {
1139
+ if (exclude.indexOf(prop) < 0 && __propIsEnum2.call(source, prop)) target[prop] = source[prop];
1140
+ }
1141
+ return target;
1142
+ };
1143
+ const CurrencyExchange = (_a) => {
1144
+ var _b = _a, { title, titleId } = _b, props = __objRest2(_b, ["title", "titleId"]);
1145
+ return React__namespace.createElement("svg", __spreadValues2({
1146
+ xmlns: "http://www.w3.org/2000/svg",
1147
+ viewBox: "0 -960 960 960",
1148
+ "aria-labelledby": titleId
1149
+ }, props), title ? React__namespace.createElement("title", {
1150
+ id: titleId
1151
+ }, title) : null, React__namespace.createElement("path", {
1152
+ d: "M480-60q-117 0-219.65-68.89-102.66-68.88-156.89-166.19v141.23H58.08v-220h220v45.39H136.85q45.61 91.23 142.03 157.15 96.43 65.92 201.12 65.92 75.69 0 142.88-28.26 67.2-28.27 117.73-77.47 50.54-49.19 80.93-115.99 30.38-66.81 32.69-142.89h45.38q-1.92 85.23-35.65 159.85-33.73 74.61-90.46 130.38Q716.77-124 641.19-92 565.61-60 480-60Zm-23.23-142.62v-52.07q-42.31-10.85-72.23-34.85T334-356.46l39.85-14.31q14.3 37.23 44.61 58.46 30.31 21.23 68.16 21.23 39.61 0 68.8-19.88 29.2-19.89 29.2-56.89 0-34.15-23.66-55.88-23.65-21.73-90.27-48.96-62.69-25-91.73-52.46-29.04-27.47-29.04-74.16 0-40.92 28.85-71.15 28.85-30.23 80-37.23v-49.08h43.84v49.08q34.93 3.23 62.16 21.69Q592-667.54 609-635.62L571.38-618Q556-643.69 534-657.31q-22-13.61-52-13.61-40.15 0-64.38 19.92-24.24 19.92-24.24 51.69 0 32.77 22.93 51.39 22.92 18.61 84.77 43 69.77 28.23 98.19 58.3 28.42 30.08 28.42 78.77 0 26.16-9.96 46.77-9.96 20.62-26.85 35.04-16.88 14.42-40.11 22.96-23.23 8.54-50.16 10.39v50.07h-43.84ZM60.39-490q2.69-87.15 36.8-161.96 34.12-74.81 91.23-130.19 57.12-55.39 132.12-86.62Q395.54-900 480-900q115.85 0 219.65 69.08 103.81 69.08 156.89 167.54v-142.77h45.38v220h-220v-45.39h141.23q-44.46-89.3-140.57-156.19-96.12-66.88-202.58-66.88-74.15 0-141.35 27.88-67.19 27.88-117.92 76.69-50.73 48.81-81.69 115.62-30.96 66.8-33.27 144.42H60.39Z"
1153
+ }));
1154
+ };
1155
+ function _assertThisInitialized(e) {
1156
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
1157
+ return e;
1158
+ }
1159
+ function getChildMapping(children, mapFn) {
1160
+ var mapper = function mapper2(child) {
1161
+ return mapFn && React.isValidElement(child) ? mapFn(child) : child;
1162
+ };
1163
+ var result = /* @__PURE__ */ Object.create(null);
1164
+ if (children) React.Children.map(children, function(c) {
1165
+ return c;
1166
+ }).forEach(function(child) {
1167
+ result[child.key] = mapper(child);
1168
+ });
1169
+ return result;
1170
+ }
1171
+ function mergeChildMappings(prev, next) {
1172
+ prev = prev || {};
1173
+ next = next || {};
1174
+ function getValueForKey(key) {
1175
+ return key in next ? next[key] : prev[key];
1176
+ }
1177
+ var nextKeysPending = /* @__PURE__ */ Object.create(null);
1178
+ var pendingKeys = [];
1179
+ for (var prevKey in prev) {
1180
+ if (prevKey in next) {
1181
+ if (pendingKeys.length) {
1182
+ nextKeysPending[prevKey] = pendingKeys;
1183
+ pendingKeys = [];
1184
+ }
1185
+ } else {
1186
+ pendingKeys.push(prevKey);
1187
+ }
1188
+ }
1189
+ var i;
1190
+ var childMapping = {};
1191
+ for (var nextKey in next) {
1192
+ if (nextKeysPending[nextKey]) {
1193
+ for (i = 0; i < nextKeysPending[nextKey].length; i++) {
1194
+ var pendingNextKey = nextKeysPending[nextKey][i];
1195
+ childMapping[nextKeysPending[nextKey][i]] = getValueForKey(pendingNextKey);
1196
+ }
1197
+ }
1198
+ childMapping[nextKey] = getValueForKey(nextKey);
1199
+ }
1200
+ for (i = 0; i < pendingKeys.length; i++) {
1201
+ childMapping[pendingKeys[i]] = getValueForKey(pendingKeys[i]);
1202
+ }
1203
+ return childMapping;
1204
+ }
1205
+ function getProp(child, prop, props) {
1206
+ return props[prop] != null ? props[prop] : child.props[prop];
1207
+ }
1208
+ function getInitialChildMapping(props, onExited) {
1209
+ return getChildMapping(props.children, function(child) {
1210
+ return React.cloneElement(child, {
1211
+ onExited: onExited.bind(null, child),
1212
+ in: true,
1213
+ appear: getProp(child, "appear", props),
1214
+ enter: getProp(child, "enter", props),
1215
+ exit: getProp(child, "exit", props)
1216
+ });
1217
+ });
1218
+ }
1219
+ function getNextChildMapping(nextProps, prevChildMapping, onExited) {
1220
+ var nextChildMapping = getChildMapping(nextProps.children);
1221
+ var children = mergeChildMappings(prevChildMapping, nextChildMapping);
1222
+ Object.keys(children).forEach(function(key) {
1223
+ var child = children[key];
1224
+ if (!React.isValidElement(child)) return;
1225
+ var hasPrev = key in prevChildMapping;
1226
+ var hasNext = key in nextChildMapping;
1227
+ var prevChild = prevChildMapping[key];
1228
+ var isLeaving = React.isValidElement(prevChild) && !prevChild.props.in;
1229
+ if (hasNext && (!hasPrev || isLeaving)) {
1230
+ children[key] = React.cloneElement(child, {
1231
+ onExited: onExited.bind(null, child),
1232
+ in: true,
1233
+ exit: getProp(child, "exit", nextProps),
1234
+ enter: getProp(child, "enter", nextProps)
1235
+ });
1236
+ } else if (!hasNext && hasPrev && !isLeaving) {
1237
+ children[key] = React.cloneElement(child, {
1238
+ in: false
1239
+ });
1240
+ } else if (hasNext && hasPrev && React.isValidElement(prevChild)) {
1241
+ children[key] = React.cloneElement(child, {
1242
+ onExited: onExited.bind(null, child),
1243
+ in: prevChild.props.in,
1244
+ exit: getProp(child, "exit", nextProps),
1245
+ enter: getProp(child, "enter", nextProps)
1246
+ });
1247
+ }
1248
+ });
1249
+ return children;
1250
+ }
1251
+ var values = Object.values || function(obj) {
1252
+ return Object.keys(obj).map(function(k) {
1253
+ return obj[k];
1254
+ });
1255
+ };
1256
+ var defaultProps = {
1257
+ component: "div",
1258
+ childFactory: function childFactory(child) {
1259
+ return child;
1260
+ }
1261
+ };
1262
+ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
1263
+ CSSTransition._inheritsLoose(TransitionGroup2, _React$Component);
1264
+ function TransitionGroup2(props, context) {
1265
+ var _this;
1266
+ _this = _React$Component.call(this, props, context) || this;
1267
+ var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
1268
+ _this.state = {
1269
+ contextValue: {
1270
+ isMounting: true
1271
+ },
1272
+ handleExited,
1273
+ firstRender: true
1274
+ };
1275
+ return _this;
1276
+ }
1277
+ var _proto = TransitionGroup2.prototype;
1278
+ _proto.componentDidMount = function componentDidMount() {
1279
+ this.mounted = true;
1280
+ this.setState({
1281
+ contextValue: {
1282
+ isMounting: false
1283
+ }
1284
+ });
1285
+ };
1286
+ _proto.componentWillUnmount = function componentWillUnmount() {
1287
+ this.mounted = false;
1288
+ };
1289
+ TransitionGroup2.getDerivedStateFromProps = function getDerivedStateFromProps(nextProps, _ref) {
1290
+ var prevChildMapping = _ref.children, handleExited = _ref.handleExited, firstRender = _ref.firstRender;
1291
+ return {
1292
+ children: firstRender ? getInitialChildMapping(nextProps, handleExited) : getNextChildMapping(nextProps, prevChildMapping, handleExited),
1293
+ firstRender: false
1294
+ };
1295
+ };
1296
+ _proto.handleExited = function handleExited(child, node) {
1297
+ var currentChildMapping = getChildMapping(this.props.children);
1298
+ if (child.key in currentChildMapping) return;
1299
+ if (child.props.onExited) {
1300
+ child.props.onExited(node);
1301
+ }
1302
+ if (this.mounted) {
1303
+ this.setState(function(state) {
1304
+ var children = objectWithoutPropertiesLoose._extends({}, state.children);
1305
+ delete children[child.key];
1306
+ return {
1307
+ children
1308
+ };
1309
+ });
1310
+ }
1311
+ };
1312
+ _proto.render = function render() {
1313
+ var _this$props = this.props, Component = _this$props.component, childFactory2 = _this$props.childFactory, props = objectWithoutPropertiesLoose._objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
1314
+ var contextValue = this.state.contextValue;
1315
+ var children = values(this.state.children).map(childFactory2);
1316
+ delete props.appear;
1317
+ delete props.enter;
1318
+ delete props.exit;
1319
+ if (Component === null) {
1320
+ return /* @__PURE__ */ React.createElement(CSSTransition.TransitionGroupContext.Provider, {
1321
+ value: contextValue
1322
+ }, children);
1323
+ }
1324
+ return /* @__PURE__ */ React.createElement(CSSTransition.TransitionGroupContext.Provider, {
1325
+ value: contextValue
1326
+ }, /* @__PURE__ */ React.createElement(Component, props, children));
1327
+ };
1328
+ return TransitionGroup2;
1329
+ }(React.Component);
1330
+ TransitionGroup.propTypes = process.env.NODE_ENV !== "production" ? {
1331
+ /**
1332
+ * `<TransitionGroup>` renders a `<div>` by default. You can change this
1333
+ * behavior by providing a `component` prop.
1334
+ * If you use React v16+ and would like to avoid a wrapping `<div>` element
1335
+ * you can pass in `component={null}`. This is useful if the wrapping div
1336
+ * borks your css styles.
1337
+ */
1338
+ component: CSSTransition.PropTypes.any,
1339
+ /**
1340
+ * A set of `<Transition>` components, that are toggled `in` and out as they
1341
+ * leave. the `<TransitionGroup>` will inject specific transition props, so
1342
+ * remember to spread them through if you are wrapping the `<Transition>` as
1343
+ * with our `<Fade>` example.
1344
+ *
1345
+ * While this component is meant for multiple `Transition` or `CSSTransition`
1346
+ * children, sometimes you may want to have a single transition child with
1347
+ * content that you want to be transitioned out and in when you change it
1348
+ * (e.g. routes, images etc.) In that case you can change the `key` prop of
1349
+ * the transition child as you change its content, this will cause
1350
+ * `TransitionGroup` to transition the child out and back in.
1351
+ */
1352
+ children: CSSTransition.PropTypes.node,
1353
+ /**
1354
+ * A convenience prop that enables or disables appear animations
1355
+ * for all children. Note that specifying this will override any defaults set
1356
+ * on individual children Transitions.
1357
+ */
1358
+ appear: CSSTransition.PropTypes.bool,
1359
+ /**
1360
+ * A convenience prop that enables or disables enter animations
1361
+ * for all children. Note that specifying this will override any defaults set
1362
+ * on individual children Transitions.
1363
+ */
1364
+ enter: CSSTransition.PropTypes.bool,
1365
+ /**
1366
+ * A convenience prop that enables or disables exit animations
1367
+ * for all children. Note that specifying this will override any defaults set
1368
+ * on individual children Transitions.
1369
+ */
1370
+ exit: CSSTransition.PropTypes.bool,
1371
+ /**
1372
+ * You may need to apply reactive updates to a child as it is exiting.
1373
+ * This is generally done by using `cloneElement` however in the case of an exiting
1374
+ * child the element has already been removed and not accessible to the consumer.
1375
+ *
1376
+ * If you do need to update a child as it leaves you can provide a `childFactory`
1377
+ * to wrap every child, even the ones that are leaving.
1378
+ *
1379
+ * @type Function(child: ReactElement) -> ReactElement
1380
+ */
1381
+ childFactory: CSSTransition.PropTypes.func
1382
+ } : {};
1383
+ TransitionGroup.defaultProps = defaultProps;
1384
+ const statusPromotional = "_statusPromotional_1xl7t_4";
1385
+ const statusSuccess = "_statusSuccess_1xl7t_9";
1386
+ const statusNeutral = "_statusNeutral_1xl7t_14";
1387
+ const statusWarning = "_statusWarning_1xl7t_19";
1388
+ const statusError = "_statusError_1xl7t_24";
1389
+ const typeToast = "_typeToast_1xl7t_29";
1390
+ const typeAlert = "_typeAlert_1xl7t_33";
1391
+ const Notification$1 = "_Notification_1xl7t_38";
1392
+ const iconText = "_iconText_1xl7t_55";
1393
+ const closeButtonContainer = "_closeButtonContainer_1xl7t_61";
1394
+ const closeButton = "_closeButton_1xl7t_61";
1395
+ const region = "_region_1xl7t_74";
1396
+ const container = "_container_1xl7t_81";
1397
+ const styles$1 = {
1398
+ statusPromotional,
1399
+ statusSuccess,
1400
+ statusNeutral,
1401
+ statusWarning,
1402
+ statusError,
1403
+ typeToast,
1404
+ typeAlert,
1405
+ Notification: Notification$1,
1406
+ iconText,
1407
+ closeButtonContainer,
1408
+ closeButton,
1409
+ region,
1410
+ container
1411
+ };
1412
+ const appear = "_appear_9o3cj_1";
1413
+ const enter = "_enter_9o3cj_2";
1414
+ const appearActive = "_appearActive_9o3cj_7";
1415
+ const enterActive = "_enterActive_9o3cj_8";
1416
+ const exit = "_exit_9o3cj_14";
1417
+ const exitActive = "_exitActive_9o3cj_22";
1418
+ const styles = {
1419
+ appear,
1420
+ enter,
1421
+ appearActive,
1422
+ enterActive,
1423
+ exit,
1424
+ exitActive
1425
+ };
1426
+ function NotificationTransition(_a) {
1427
+ var _b = _a, { children, transitionKey, onTransitionPendingChange = () => {
1428
+ } } = _b, transitionGroupProps = __objRest(_b, ["children", "transitionKey", "onTransitionPendingChange"]);
1429
+ const nodeRef = React.useRef(null);
1430
+ const transitionEndListener = React.useCallback((done) => {
1431
+ if (nodeRef.current) {
1432
+ nodeRef.current.addEventListener("transitionend", done, false);
1433
+ }
1434
+ }, []);
1435
+ return React.createElement(CSSTransition.CSSTransition, __spreadProps(__spreadValues({}, transitionGroupProps), {
1436
+ key: transitionKey,
1437
+ appear: true,
1438
+ nodeRef,
1439
+ unmountOnExit: true,
1440
+ addEndListener: transitionEndListener,
1441
+ classNames: {
1442
+ appear: styles.appear,
1443
+ appearActive: styles.appearActive,
1444
+ enter: styles.enter,
1445
+ enterActive: styles.enterActive,
1446
+ exit: styles.exit,
1447
+ exitActive: styles.exitActive
1448
+ },
1449
+ onEnter: () => {
1450
+ onTransitionPendingChange(true);
1451
+ },
1452
+ onExited: () => {
1453
+ onTransitionPendingChange(false);
1454
+ }
1455
+ }), children({
1456
+ nodeRef
1457
+ }));
1458
+ }
1459
+ function useNotificationTransitionTracking() {
1460
+ const [transitionsPending, setTransitionsPending] = React.useState(0);
1461
+ const onTransitionPendingChange = (isTransitionPending) => {
1462
+ setTransitionsPending((prev) => isTransitionPending ? prev + 1 : prev - 1);
1463
+ };
1464
+ return {
1465
+ isTransitionPending: transitionsPending > 0,
1466
+ onTransitionPendingChange
1467
+ };
1468
+ }
1469
+ function NotificationRegion(props) {
1470
+ const { state, onTransitionPendingChange } = props;
1471
+ const ref = React.useRef(null);
1472
+ const { regionProps } = $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref);
1473
+ return jsxRuntime.jsx("div", __spreadProps(__spreadValues({}, regionProps), {
1474
+ ref,
1475
+ className: styles$1.region,
1476
+ children: jsxRuntime.jsx(TransitionGroup, {
1477
+ component: null,
1478
+ children: state.visibleToasts.map((toast) => jsxRuntime.jsx(NotificationTransition, {
1479
+ transitionKey: toast.key,
1480
+ onTransitionPendingChange,
1481
+ children: ({ nodeRef }) => jsxRuntime.jsx(Notification, {
1482
+ ref: nodeRef,
1483
+ toast,
1484
+ state
1485
+ })
1486
+ }, toast.key))
1487
+ })
1488
+ }));
1489
+ }
1490
+ function NotificationContainer(props) {
1491
+ const { getContainer = null, position = "fixed", offset, state } = props;
1492
+ const { isTransitionPending, onTransitionPendingChange } = useNotificationTransitionTracking();
1493
+ const showNotifications = state.visibleToasts.length > 0 || isTransitionPending;
1494
+ let requestFailed = false;
1495
+ let container2 = null;
1496
+ if (showNotifications && getContainer) {
1497
+ container2 = getContainer();
1498
+ requestFailed = container2 === null;
1499
+ }
1500
+ const positionStyleProps = offset && !requestFailed ? {
1501
+ top: offset == null ? void 0 : offset.top,
1502
+ right: offset == null ? void 0 : offset.right,
1503
+ bottom: offset == null ? void 0 : offset.bottom,
1504
+ left: offset == null ? void 0 : offset.left
1505
+ } : {
1506
+ top: 0,
1507
+ left: 0
1508
+ };
1509
+ const positionProps = {
1510
+ position: !requestFailed ? position : "fixed"
1511
+ };
1512
+ const containerStyles = __spreadValues(__spreadValues({}, positionStyleProps), positionProps);
1513
+ return jsxRuntime.jsx(jsxRuntime.Fragment, {
1514
+ children: showNotifications ? ReactDOM.createPortal(jsxRuntime.jsx("div", {
1515
+ className: styles$1.container,
1516
+ style: containerStyles,
1517
+ children: jsxRuntime.jsx(NotificationRegion, {
1518
+ state,
1519
+ onTransitionPendingChange
1520
+ })
1521
+ }), container2 != null ? container2 : document.body) : null
1522
+ });
1523
+ }
1524
+ const TOAST_TIMEOUT_DURATION = 4e3;
1525
+ class EasyUINotificationQueue extends $77b352cf12efcf73$export$f1f8569633bbbec4 {
1526
+ constructor(options) {
1527
+ super(options);
1528
+ this.activeNotificationKey = "";
1529
+ }
1530
+ closeActiveNotification() {
1531
+ if (this.activeNotificationKey) {
1532
+ super.close(this.activeNotificationKey);
1533
+ }
1534
+ }
1535
+ alert(content) {
1536
+ this.closeActiveNotification();
1537
+ this.activeNotificationKey = super.add(content);
1538
+ }
1539
+ toast(content) {
1540
+ this.closeActiveNotification();
1541
+ this.activeNotificationKey = super.add(content, {
1542
+ timeout: TOAST_TIMEOUT_DURATION
1543
+ });
1544
+ }
1545
+ }
1546
+ function useNotificationState() {
1547
+ const queue = React.useMemo(() => new EasyUINotificationQueue(), []);
1548
+ const state = $77b352cf12efcf73$export$84726ef35ca2129a(queue);
1549
+ return __spreadProps(__spreadValues({}, state), {
1550
+ showPromotionalAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1551
+ status: "promotional",
1552
+ type: "alert"
1553
+ })),
1554
+ showNeutralAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1555
+ status: "neutral",
1556
+ type: "alert"
1557
+ })),
1558
+ showSuccessAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1559
+ status: "success",
1560
+ type: "alert"
1561
+ })),
1562
+ showWarningAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1563
+ status: "warning",
1564
+ type: "alert"
1565
+ })),
1566
+ showErrorAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1567
+ status: "error",
1568
+ type: "alert"
1569
+ })),
1570
+ showPromotionalToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1571
+ status: "promotional",
1572
+ type: "toast"
1573
+ })),
1574
+ showNeutralToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1575
+ status: "neutral",
1576
+ type: "toast"
1577
+ })),
1578
+ showSuccessToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1579
+ status: "success",
1580
+ type: "toast"
1581
+ })),
1582
+ showWarningToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1583
+ status: "warning",
1584
+ type: "toast"
1585
+ })),
1586
+ showErrorToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1587
+ status: "error",
1588
+ type: "toast"
1589
+ })),
1590
+ closeActiveNotification: () => queue.closeActiveNotification()
1591
+ });
1592
+ }
1593
+ const Notification = React.forwardRef((props, forwardedRef) => {
1594
+ const ref = React.useRef(null);
1595
+ const mergedRef = useObjectRef.$df56164dff5785e2$export$4338b53315abf666(mergeRefs.$5dc95899b306f630$export$c9058316764c140e(ref, forwardedRef));
1596
+ const { state, toast: notification } = props;
1597
+ const { type = "toast", message, status = "success", hasIcon = true, onDismiss } = notification.content;
1598
+ const { toastProps: notificationProps, titleProps, closeButtonProps } = $d6542812f0669241$export$a407b657d3044108(props, state);
1599
+ const notificationPropsWithAdjustedAriaRole = type === "toast" ? __spreadProps(__spreadValues({}, notificationProps), {
1600
+ role: "status"
1601
+ }) : notificationProps;
1602
+ const handleDismiss = () => {
1603
+ if (onDismiss) {
1604
+ onDismiss();
1605
+ }
1606
+ state.close(notification.key);
1607
+ };
1608
+ const closeButtonPropsWithDismiss = __spreadProps(__spreadValues({}, closeButtonProps), {
1609
+ onPress: handleDismiss
1610
+ });
1611
+ return jsxRuntime.jsxs("div", __spreadProps(__spreadValues({}, notificationPropsWithAdjustedAriaRole), {
1612
+ ref: mergedRef,
1613
+ className: utilities_css.classNames(styles$1.Notification, styles$1[utilities_css.variationName("status", status)], styles$1[utilities_css.variationName("type", type)]),
1614
+ children: [jsxRuntime.jsxs("div", {
1615
+ className: styles$1.iconText,
1616
+ children: [hasIcon && jsxRuntime.jsx(Icon.Icon, {
1617
+ size: "lg",
1618
+ symbol: getStatusIcon(status)
1619
+ }), jsxRuntime.jsx("div", __spreadProps(__spreadValues({}, titleProps), {
1620
+ children: jsxRuntime.jsx(Text.Text, {
1621
+ weight: "semibold",
1622
+ children: message
1623
+ })
1624
+ }))]
1625
+ }), type === "alert" && jsxRuntime.jsx("span", {
1626
+ className: styles$1.closeButtonContainer,
1627
+ children: jsxRuntime.jsx(UnstyledButton.UnstyledButton, __spreadProps(__spreadValues({}, closeButtonPropsWithDismiss), {
1628
+ className: styles$1.closeButton,
1629
+ children: jsxRuntime.jsx(Icon.Icon, {
1630
+ size: "md",
1631
+ symbol: Close.Close
1632
+ })
1633
+ }))
1634
+ })]
1635
+ }));
1636
+ });
1637
+ Notification.displayName = "Notification";
1638
+ function getStatusIcon(status) {
1639
+ switch (status) {
1640
+ case "promotional":
1641
+ return CurrencyExchange;
1642
+ case "success":
1643
+ return CheckCircle.CheckCircle;
1644
+ case "neutral":
1645
+ return DocumentScanner;
1646
+ case "error":
1647
+ return Error2;
1648
+ case "warning":
1649
+ return Warning;
1650
+ }
1651
+ }
1652
+ const NotificationContext = React.createContext(null);
1653
+ function useNotification() {
1654
+ const notification = React.useContext(NotificationContext);
1655
+ if (!notification) {
1656
+ throw new Error("useNotification() must be used within a NotificationProvider, which is bundled with EasyUIProvider");
1657
+ }
1658
+ return notification;
1659
+ }
1660
+ function NotificationProvider(props) {
1661
+ const { children, notificationPlacement } = props;
1662
+ const combinedState = useNotificationState();
1663
+ const state = {
1664
+ close: combinedState.close,
1665
+ add: combinedState.add,
1666
+ pauseAll: combinedState.pauseAll,
1667
+ resumeAll: combinedState.resumeAll,
1668
+ visibleToasts: combinedState.visibleToasts
1669
+ };
1670
+ const notification = {
1671
+ showErrorAlert: combinedState.showErrorAlert,
1672
+ showErrorToast: combinedState.showErrorToast,
1673
+ showPromotionalToast: combinedState.showPromotionalToast,
1674
+ showPromotionalAlert: combinedState.showPromotionalAlert,
1675
+ showNeutralToast: combinedState.showNeutralToast,
1676
+ showNeutralAlert: combinedState.showNeutralAlert,
1677
+ showSuccessToast: combinedState.showSuccessToast,
1678
+ showSuccessAlert: combinedState.showSuccessAlert,
1679
+ showWarningToast: combinedState.showWarningToast,
1680
+ showWarningAlert: combinedState.showWarningAlert,
1681
+ closeActiveNotification: combinedState.closeActiveNotification
1682
+ };
1683
+ return jsxRuntime.jsxs(NotificationContext.Provider, {
1684
+ value: notification,
1685
+ children: [jsxRuntime.jsx(NotificationContainer, {
1686
+ getContainer: notificationPlacement == null ? void 0 : notificationPlacement.getContainer,
1687
+ offset: notificationPlacement == null ? void 0 : notificationPlacement.offset,
1688
+ position: notificationPlacement == null ? void 0 : notificationPlacement.position,
1689
+ state
1690
+ }), children]
1691
+ });
1692
+ }
1693
+ exports.Notification = Notification;
1694
+ exports.NotificationContext = NotificationContext;
1695
+ exports.NotificationProvider = NotificationProvider;
1696
+ exports.useNotification = useNotification;