@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
@@ -1,1493 +1,7 @@
1
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
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
22
- const React = require("react");
23
- const Close = require("../__chunks__/Close-e92ca701.js");
24
- const _import = require("../__chunks__/import-109dab60.js");
25
- const _import$1 = require("../__chunks__/import-313d3d73.js");
26
- const realModule = require("../__chunks__/real-module-c0f9f92a.js");
27
- const $k7QOs$reactdom = require("react-dom");
28
- const Icon_index = require("../Icon/index.js");
29
- const Text_index = require("../Text/index.js");
30
- const utilities_css = require("../utilities/css.js");
31
- const UnstyledButton_index = require("../__chunks__/index-fd91868d.js");
32
- require("../__chunks__/omit-fca26542.js");
33
- function _interopNamespaceDefault(e) {
34
- const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
35
- if (e) {
36
- for (const k in e) {
37
- if (k !== "default") {
38
- const d = Object.getOwnPropertyDescriptor(e, k);
39
- Object.defineProperty(n, k, d.get ? d : {
40
- enumerable: true,
41
- get: () => e[k]
42
- });
43
- }
44
- }
45
- }
46
- n.default = e;
47
- return Object.freeze(n);
48
- }
49
- const React__namespace = /* @__PURE__ */ _interopNamespaceDefault(React);
50
- var __defProp$4 = Object.defineProperty;
51
- var __getOwnPropSymbols$4 = Object.getOwnPropertySymbols;
52
- var __hasOwnProp$4 = Object.prototype.hasOwnProperty;
53
- var __propIsEnum$4 = Object.prototype.propertyIsEnumerable;
54
- var __defNormalProp$4 = (obj, key, value) => key in obj ? __defProp$4(obj, key, {
55
- enumerable: true,
56
- configurable: true,
57
- writable: true,
58
- value
59
- }) : obj[key] = value;
60
- var __spreadValues$4 = (a, b) => {
61
- for (var prop in b || (b = {}))
62
- if (__hasOwnProp$4.call(b, prop))
63
- __defNormalProp$4(a, prop, b[prop]);
64
- if (__getOwnPropSymbols$4)
65
- for (var prop of __getOwnPropSymbols$4(b)) {
66
- if (__propIsEnum$4.call(b, prop))
67
- __defNormalProp$4(a, prop, b[prop]);
68
- }
69
- return a;
70
- };
71
- var __objRest$4 = (source, exclude) => {
72
- var target = {};
73
- for (var prop in source)
74
- if (__hasOwnProp$4.call(source, prop) && exclude.indexOf(prop) < 0)
75
- target[prop] = source[prop];
76
- if (source != null && __getOwnPropSymbols$4)
77
- for (var prop of __getOwnPropSymbols$4(source)) {
78
- if (exclude.indexOf(prop) < 0 && __propIsEnum$4.call(source, prop))
79
- target[prop] = source[prop];
80
- }
81
- return target;
82
- };
83
- const Error2 = (_a) => {
84
- var _b = _a, { title, titleId } = _b, props = __objRest$4(_b, ["title", "titleId"]);
85
- return React__namespace.createElement("svg", __spreadValues$4({
86
- xmlns: "http://www.w3.org/2000/svg",
87
- viewBox: "0 -960 960 960",
88
- "aria-labelledby": titleId
89
- }, props), title ? React__namespace.createElement("title", {
90
- id: titleId
91
- }, title) : null, React__namespace.createElement("path", {
92
- d: "M479.982-290.77q11.902 0 19.575-7.655 7.673-7.656 7.673-19.558 0-11.902-7.655-19.575t-19.557-7.673q-11.902 0-19.575 7.656-7.673 7.655-7.673 19.557 0 11.902 7.655 19.575t19.557 7.673Zm-20.443-141.076h45.383v-249.538h-45.383v249.538Zm20.794 331.845q-78.955 0-147.897-29.92t-120.755-81.71q-51.814-51.791-81.747-120.777t-29.933-148.025q0-78.655 29.92-147.864t81.71-120.522q51.791-51.314 120.777-81.247t148.025-29.933q78.655 0 147.864 29.92t120.522 81.21q51.314 51.291 81.247 120.629 29.933 69.337 29.933 147.907 0 78.955-29.92 147.897t-81.21 120.571q-51.291 51.629-120.629 81.746-69.337 30.118-147.907 30.118Zm.167-45.384q139.192 0 236.654-97.769 97.461-97.769 97.461-237.346 0-139.192-97.274-236.654Q620.067-814.615 480-814.615q-139.077 0-236.846 97.274T145.385-480q0 139.077 97.769 236.846T480.5-145.385ZM480-480Z"
93
- }));
94
- };
95
- var __defProp$3 = Object.defineProperty;
96
- var __getOwnPropSymbols$3 = Object.getOwnPropertySymbols;
97
- var __hasOwnProp$3 = Object.prototype.hasOwnProperty;
98
- var __propIsEnum$3 = Object.prototype.propertyIsEnumerable;
99
- var __defNormalProp$3 = (obj, key, value) => key in obj ? __defProp$3(obj, key, {
100
- enumerable: true,
101
- configurable: true,
102
- writable: true,
103
- value
104
- }) : obj[key] = value;
105
- var __spreadValues$3 = (a, b) => {
106
- for (var prop in b || (b = {}))
107
- if (__hasOwnProp$3.call(b, prop))
108
- __defNormalProp$3(a, prop, b[prop]);
109
- if (__getOwnPropSymbols$3)
110
- for (var prop of __getOwnPropSymbols$3(b)) {
111
- if (__propIsEnum$3.call(b, prop))
112
- __defNormalProp$3(a, prop, b[prop]);
113
- }
114
- return a;
115
- };
116
- var __objRest$3 = (source, exclude) => {
117
- var target = {};
118
- for (var prop in source)
119
- if (__hasOwnProp$3.call(source, prop) && exclude.indexOf(prop) < 0)
120
- target[prop] = source[prop];
121
- if (source != null && __getOwnPropSymbols$3)
122
- for (var prop of __getOwnPropSymbols$3(source)) {
123
- if (exclude.indexOf(prop) < 0 && __propIsEnum$3.call(source, prop))
124
- target[prop] = source[prop];
125
- }
126
- return target;
127
- };
128
- const CheckCircle = (_a) => {
129
- var _b = _a, { title, titleId } = _b, props = __objRest$3(_b, ["title", "titleId"]);
130
- return React__namespace.createElement("svg", __spreadValues$3({
131
- xmlns: "http://www.w3.org/2000/svg",
132
- viewBox: "0 -960 960 960",
133
- "aria-labelledby": titleId
134
- }, props), title ? React__namespace.createElement("title", {
135
- id: titleId
136
- }, title) : null, React__namespace.createElement("path", {
137
- d: "M421-311.463 690.537-581l-34.845-34.23L421-380.153 302.539-498.615l-33.846 34.23L421-311.463Zm59.067 211.462q-78.221 0-147.397-29.92-69.176-29.92-120.989-81.71-51.814-51.791-81.747-120.936-29.933-69.146-29.933-147.366 0-78.836 29.92-148.204 29.92-69.369 81.71-120.682 51.791-51.314 120.936-81.247 69.146-29.933 147.366-29.933 78.836 0 148.204 29.92 69.369 29.92 120.682 81.21 51.314 51.291 81.247 120.629 29.933 69.337 29.933 148.173 0 78.221-29.92 147.397-29.92 69.176-81.21 120.989-51.291 51.814-120.629 81.747-69.337 29.933-148.173 29.933ZM480-145.385q139.692 0 237.154-97.769Q814.615-340.923 814.615-480q0-139.692-97.461-237.154Q619.692-814.615 480-814.615q-139.077 0-236.846 97.461Q145.385-619.692 145.385-480q0 139.077 97.769 236.846T480-145.385ZM480-480Z"
138
- }));
139
- };
140
- var __defProp$2 = Object.defineProperty;
141
- var __getOwnPropSymbols$2 = Object.getOwnPropertySymbols;
142
- var __hasOwnProp$2 = Object.prototype.hasOwnProperty;
143
- var __propIsEnum$2 = Object.prototype.propertyIsEnumerable;
144
- var __defNormalProp$2 = (obj, key, value) => key in obj ? __defProp$2(obj, key, {
145
- enumerable: true,
146
- configurable: true,
147
- writable: true,
148
- value
149
- }) : obj[key] = value;
150
- var __spreadValues$2 = (a, b) => {
151
- for (var prop in b || (b = {}))
152
- if (__hasOwnProp$2.call(b, prop))
153
- __defNormalProp$2(a, prop, b[prop]);
154
- if (__getOwnPropSymbols$2)
155
- for (var prop of __getOwnPropSymbols$2(b)) {
156
- if (__propIsEnum$2.call(b, prop))
157
- __defNormalProp$2(a, prop, b[prop]);
158
- }
159
- return a;
160
- };
161
- var __objRest$2 = (source, exclude) => {
162
- var target = {};
163
- for (var prop in source)
164
- if (__hasOwnProp$2.call(source, prop) && exclude.indexOf(prop) < 0)
165
- target[prop] = source[prop];
166
- if (source != null && __getOwnPropSymbols$2)
167
- for (var prop of __getOwnPropSymbols$2(source)) {
168
- if (exclude.indexOf(prop) < 0 && __propIsEnum$2.call(source, prop))
169
- target[prop] = source[prop];
170
- }
171
- return target;
172
- };
173
- const Warning = (_a) => {
174
- var _b = _a, { title, titleId } = _b, props = __objRest$2(_b, ["title", "titleId"]);
175
- return React__namespace.createElement("svg", __spreadValues$2({
176
- xmlns: "http://www.w3.org/2000/svg",
177
- viewBox: "0 -960 960 960",
178
- "aria-labelledby": titleId
179
- }, props), title ? React__namespace.createElement("title", {
180
- id: titleId
181
- }, title) : null, React__namespace.createElement("path", {
182
- d: "M74.618-140.001 480-839.997l405.382 699.996H74.618Zm78.613-45.384h653.538L480-749.23 153.231-185.385Zm329.797-60.077q10.703 0 17.76-7.24 7.058-7.24 7.058-17.942t-7.24-17.76q-7.24-7.057-17.942-7.057t-17.76 7.239q-7.058 7.24-7.058 17.942 0 10.703 7.24 17.76 7.24 7.058 17.942 7.058Zm-22.874-97.922h45.384V-561.23h-45.384v217.846ZM480-467.307Z"
183
- }));
184
- };
185
- var __defProp$1 = Object.defineProperty;
186
- var __getOwnPropSymbols$1 = Object.getOwnPropertySymbols;
187
- var __hasOwnProp$1 = Object.prototype.hasOwnProperty;
188
- var __propIsEnum$1 = Object.prototype.propertyIsEnumerable;
189
- var __defNormalProp$1 = (obj, key, value) => key in obj ? __defProp$1(obj, key, {
190
- enumerable: true,
191
- configurable: true,
192
- writable: true,
193
- value
194
- }) : obj[key] = value;
195
- var __spreadValues$1 = (a, b) => {
196
- for (var prop in b || (b = {}))
197
- if (__hasOwnProp$1.call(b, prop))
198
- __defNormalProp$1(a, prop, b[prop]);
199
- if (__getOwnPropSymbols$1)
200
- for (var prop of __getOwnPropSymbols$1(b)) {
201
- if (__propIsEnum$1.call(b, prop))
202
- __defNormalProp$1(a, prop, b[prop]);
203
- }
204
- return a;
205
- };
206
- var __objRest$1 = (source, exclude) => {
207
- var target = {};
208
- for (var prop in source)
209
- if (__hasOwnProp$1.call(source, prop) && exclude.indexOf(prop) < 0)
210
- target[prop] = source[prop];
211
- if (source != null && __getOwnPropSymbols$1)
212
- for (var prop of __getOwnPropSymbols$1(source)) {
213
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1.call(source, prop))
214
- target[prop] = source[prop];
215
- }
216
- return target;
217
- };
218
- const DocumentScanner = (_a) => {
219
- var _b = _a, { title, titleId } = _b, props = __objRest$1(_b, ["title", "titleId"]);
220
- return React__namespace.createElement("svg", __spreadValues$1({
221
- xmlns: "http://www.w3.org/2000/svg",
222
- viewBox: "0 -960 960 960",
223
- "aria-labelledby": titleId
224
- }, props), title ? React__namespace.createElement("title", {
225
- id: titleId
226
- }, title) : null, React__namespace.createElement("path", {
227
- d: "M90-748.462v-161.537h161.923v45.383H135.384v116.154H90.001Zm734.616 0v-116.154H708.462v-45.383h161.537v161.537h-45.383ZM90.001-50.001v-161.922h45.383v116.539h116.539v45.383H90.001Zm618.461 0v-45.383h116.154v-116.539h45.383v161.922H708.462ZM255.384-227.693q0 4.616 3.847 8.462 3.846 3.847 8.462 3.847h424.614q4.616 0 8.462-3.847 3.847-3.846 3.847-8.462v-504.614q0-4.616-3.847-8.462-3.846-3.847-8.462-3.847H267.693q-4.616 0-8.462 3.847-3.847 3.846-3.847 8.462v504.614Zm12.309 57.692q-23.529 0-40.611-17.081-17.081-17.082-17.081-40.611v-504.614q0-23.529 17.081-40.611 17.082-17.081 40.611-17.081h424.614q23.529 0 40.611 17.081 17.081 17.082 17.081 40.611v504.614q0 23.529-17.081 40.611-17.082 17.081-40.611 17.081H267.693Zm109.615-407.307h205.384v-45.384H377.308v45.384Zm0 120h205.384v-45.384H377.308v45.384Zm0 120h205.384v-45.384H377.308v45.384ZM255.384-227.693v-516.923 529.232-12.309Z"
228
- }));
229
- };
230
- var __defProp2 = Object.defineProperty;
231
- var __getOwnPropSymbols2 = Object.getOwnPropertySymbols;
232
- var __hasOwnProp2 = Object.prototype.hasOwnProperty;
233
- var __propIsEnum2 = Object.prototype.propertyIsEnumerable;
234
- var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, {
235
- enumerable: true,
236
- configurable: true,
237
- writable: true,
238
- value
239
- }) : obj[key] = value;
240
- var __spreadValues2 = (a, b) => {
241
- for (var prop in b || (b = {}))
242
- if (__hasOwnProp2.call(b, prop))
243
- __defNormalProp2(a, prop, b[prop]);
244
- if (__getOwnPropSymbols2)
245
- for (var prop of __getOwnPropSymbols2(b)) {
246
- if (__propIsEnum2.call(b, prop))
247
- __defNormalProp2(a, prop, b[prop]);
248
- }
249
- return a;
250
- };
251
- var __objRest = (source, exclude) => {
252
- var target = {};
253
- for (var prop in source)
254
- if (__hasOwnProp2.call(source, prop) && exclude.indexOf(prop) < 0)
255
- target[prop] = source[prop];
256
- if (source != null && __getOwnPropSymbols2)
257
- for (var prop of __getOwnPropSymbols2(source)) {
258
- if (exclude.indexOf(prop) < 0 && __propIsEnum2.call(source, prop))
259
- target[prop] = source[prop];
260
- }
261
- return target;
262
- };
263
- const CurrencyExchange = (_a) => {
264
- var _b = _a, { title, titleId } = _b, props = __objRest(_b, ["title", "titleId"]);
265
- return React__namespace.createElement("svg", __spreadValues2({
266
- xmlns: "http://www.w3.org/2000/svg",
267
- viewBox: "0 -960 960 960",
268
- "aria-labelledby": titleId
269
- }, props), title ? React__namespace.createElement("title", {
270
- id: titleId
271
- }, title) : null, React__namespace.createElement("path", {
272
- d: "M480-60.002q-117 0-219.654-68.884-102.654-68.885-156.884-166.194v141.231H58.078v-219.998h219.999v45.383H136.846q45.615 91.232 142.038 157.156Q375.307-105.385 480-105.385q75.692 0 142.884-28.269t117.731-77.461q50.538-49.192 80.923-116 30.384-66.807 32.692-142.884h45.384q-1.923 85.23-35.654 159.845T773.499-179.77q-56.731 55.769-132.307 87.769-75.577 32-161.192 32Zm-23.23-142.614v-52.077q-42.308-10.846-72.231-34.846-29.923-24-50.538-66.922l39.845-14.308q14.308 37.231 44.616 58.462 30.307 21.23 68.153 21.23 39.616 0 68.808-19.884 29.193-19.885 29.193-56.885 0-34.154-23.654-55.885-23.654-21.731-90.269-48.962-62.693-25-91.731-52.461-29.038-27.461-29.038-74.153 0-40.923 28.846-71.154 28.846-30.231 80-37.231v-49.077h43.845v49.077q34.923 3.231 62.154 21.692 27.23 18.462 44.23 50.385L571.385-618Q556-643.693 534-657.308q-22-13.615-52-13.615-40.154 0-64.385 19.923t-24.231 51.693q0 32.769 22.923 51.384 22.923 18.616 84.769 43 69.77 28.231 98.193 58.308 28.423 30.076 28.423 78.769 0 26.153-9.962 46.769-9.961 20.615-26.846 35.038-16.885 14.423-40.115 22.962-23.231 8.538-50.154 10.384v50.077H456.77ZM60.386-490.001q2.693-87.153 36.808-161.961 34.115-74.807 91.23-130.191 57.116-55.384 132.115-86.615 75-31.231 159.461-31.231 115.846 0 219.654 69.078 103.808 69.077 156.884 167.539v-142.769h45.384v219.998H681.923v-45.383h141.231q-44.461-89.309-140.576-156.194Q586.462-854.615 480-854.615q-74.154 0-141.346 27.884-67.192 27.885-117.923 76.692-50.73 48.808-81.692 115.615-30.961 66.808-33.269 144.423H60.386Z"
273
- }));
274
- };
275
- var shim = { exports: {} };
276
- var useSyncExternalStoreShim_production_min = {};
277
- /**
278
- * @license React
279
- * use-sync-external-store-shim.production.min.js
280
- *
281
- * Copyright (c) Facebook, Inc. and its affiliates.
282
- *
283
- * This source code is licensed under the MIT license found in the
284
- * LICENSE file in the root directory of this source tree.
285
- */
286
- var hasRequiredUseSyncExternalStoreShim_production_min;
287
- function requireUseSyncExternalStoreShim_production_min() {
288
- if (hasRequiredUseSyncExternalStoreShim_production_min)
289
- return useSyncExternalStoreShim_production_min;
290
- hasRequiredUseSyncExternalStoreShim_production_min = 1;
291
- var e = React;
292
- function h(a, b) {
293
- return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;
294
- }
295
- var k = "function" === typeof Object.is ? Object.is : h, l = e.useState, m = e.useEffect, n = e.useLayoutEffect, p = e.useDebugValue;
296
- function q(a, b) {
297
- var d = b(), f = l({ inst: { value: d, getSnapshot: b } }), c = f[0].inst, g = f[1];
298
- n(function() {
299
- c.value = d;
300
- c.getSnapshot = b;
301
- r(c) && g({ inst: c });
302
- }, [a, d, b]);
303
- m(function() {
304
- r(c) && g({ inst: c });
305
- return a(function() {
306
- r(c) && g({ inst: c });
307
- });
308
- }, [a]);
309
- p(d);
310
- return d;
311
- }
312
- function r(a) {
313
- var b = a.getSnapshot;
314
- a = a.value;
315
- try {
316
- var d = b();
317
- return !k(a, d);
318
- } catch (f) {
319
- return true;
320
- }
321
- }
322
- function t(a, b) {
323
- return b();
324
- }
325
- var u = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? t : q;
326
- useSyncExternalStoreShim_production_min.useSyncExternalStore = void 0 !== e.useSyncExternalStore ? e.useSyncExternalStore : u;
327
- return useSyncExternalStoreShim_production_min;
328
- }
329
- var useSyncExternalStoreShim_development = {};
330
- /**
331
- * @license React
332
- * use-sync-external-store-shim.development.js
333
- *
334
- * Copyright (c) Facebook, Inc. and its affiliates.
335
- *
336
- * This source code is licensed under the MIT license found in the
337
- * LICENSE file in the root directory of this source tree.
338
- */
339
- var hasRequiredUseSyncExternalStoreShim_development;
340
- function requireUseSyncExternalStoreShim_development() {
341
- if (hasRequiredUseSyncExternalStoreShim_development)
342
- return useSyncExternalStoreShim_development;
343
- hasRequiredUseSyncExternalStoreShim_development = 1;
344
- if (process.env.NODE_ENV !== "production") {
345
- (function() {
346
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") {
347
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
348
- }
349
- var React$1 = React;
350
- var ReactSharedInternals = React$1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
351
- function error(format) {
352
- {
353
- {
354
- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
355
- args[_key2 - 1] = arguments[_key2];
356
- }
357
- printWarning("error", format, args);
358
- }
359
- }
360
- }
361
- function printWarning(level, format, args) {
362
- {
363
- var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
364
- var stack = ReactDebugCurrentFrame.getStackAddendum();
365
- if (stack !== "") {
366
- format += "%s";
367
- args = args.concat([stack]);
368
- }
369
- var argsWithFormat = args.map(function(item) {
370
- return String(item);
371
- });
372
- argsWithFormat.unshift("Warning: " + format);
373
- Function.prototype.apply.call(console[level], console, argsWithFormat);
374
- }
375
- }
376
- function is(x, y) {
377
- return x === y && (x !== 0 || 1 / x === 1 / y) || x !== x && y !== y;
378
- }
379
- var objectIs = typeof Object.is === "function" ? Object.is : is;
380
- var useState = React$1.useState, useEffect = React$1.useEffect, useLayoutEffect = React$1.useLayoutEffect, useDebugValue = React$1.useDebugValue;
381
- var didWarnOld18Alpha = false;
382
- var didWarnUncachedGetSnapshot = false;
383
- function useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {
384
- {
385
- if (!didWarnOld18Alpha) {
386
- if (React$1.startTransition !== void 0) {
387
- didWarnOld18Alpha = true;
388
- error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release.");
389
- }
390
- }
391
- }
392
- var value = getSnapshot();
393
- {
394
- if (!didWarnUncachedGetSnapshot) {
395
- var cachedValue = getSnapshot();
396
- if (!objectIs(value, cachedValue)) {
397
- error("The result of getSnapshot should be cached to avoid an infinite loop");
398
- didWarnUncachedGetSnapshot = true;
399
- }
400
- }
401
- }
402
- var _useState = useState({
403
- inst: {
404
- value,
405
- getSnapshot
406
- }
407
- }), inst = _useState[0].inst, forceUpdate = _useState[1];
408
- useLayoutEffect(function() {
409
- inst.value = value;
410
- inst.getSnapshot = getSnapshot;
411
- if (checkIfSnapshotChanged(inst)) {
412
- forceUpdate({
413
- inst
414
- });
415
- }
416
- }, [subscribe, value, getSnapshot]);
417
- useEffect(function() {
418
- if (checkIfSnapshotChanged(inst)) {
419
- forceUpdate({
420
- inst
421
- });
422
- }
423
- var handleStoreChange = function() {
424
- if (checkIfSnapshotChanged(inst)) {
425
- forceUpdate({
426
- inst
427
- });
428
- }
429
- };
430
- return subscribe(handleStoreChange);
431
- }, [subscribe]);
432
- useDebugValue(value);
433
- return value;
434
- }
435
- function checkIfSnapshotChanged(inst) {
436
- var latestGetSnapshot = inst.getSnapshot;
437
- var prevValue = inst.value;
438
- try {
439
- var nextValue = latestGetSnapshot();
440
- return !objectIs(prevValue, nextValue);
441
- } catch (error2) {
442
- return true;
443
- }
444
- }
445
- function useSyncExternalStore$1(subscribe, getSnapshot, getServerSnapshot) {
446
- return getSnapshot();
447
- }
448
- var canUseDOM = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined");
449
- var isServerEnvironment = !canUseDOM;
450
- var shim2 = isServerEnvironment ? useSyncExternalStore$1 : useSyncExternalStore;
451
- var useSyncExternalStore$2 = React$1.useSyncExternalStore !== void 0 ? React$1.useSyncExternalStore : shim2;
452
- useSyncExternalStoreShim_development.useSyncExternalStore = useSyncExternalStore$2;
453
- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop === "function") {
454
- __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
455
- }
456
- })();
457
- }
458
- return useSyncExternalStoreShim_development;
459
- }
460
- if (process.env.NODE_ENV === "production") {
461
- shim.exports = requireUseSyncExternalStoreShim_production_min();
462
- } else {
463
- shim.exports = requireUseSyncExternalStoreShim_development();
464
- }
465
- var shimExports = shim.exports;
466
- const $a86207c5d7f7e1fb$var$LANDMARK_API_VERSION = 1;
467
- const $a86207c5d7f7e1fb$var$landmarkSymbol = Symbol.for("react-aria-landmark-manager");
468
- function $a86207c5d7f7e1fb$var$subscribe(fn) {
469
- document.addEventListener("react-aria-landmark-manager-change", fn);
470
- return () => document.removeEventListener("react-aria-landmark-manager-change", fn);
471
- }
472
- function $a86207c5d7f7e1fb$var$getLandmarkManager() {
473
- if (typeof document === "undefined")
474
- return null;
475
- let instance = document[$a86207c5d7f7e1fb$var$landmarkSymbol];
476
- if (instance && instance.version >= $a86207c5d7f7e1fb$var$LANDMARK_API_VERSION)
477
- return instance;
478
- document[$a86207c5d7f7e1fb$var$landmarkSymbol] = new $a86207c5d7f7e1fb$var$LandmarkManager();
479
- document.dispatchEvent(new CustomEvent("react-aria-landmark-manager-change"));
480
- return document[$a86207c5d7f7e1fb$var$landmarkSymbol];
481
- }
482
- function $a86207c5d7f7e1fb$var$useLandmarkManager() {
483
- return shimExports.useSyncExternalStore($a86207c5d7f7e1fb$var$subscribe, $a86207c5d7f7e1fb$var$getLandmarkManager, $a86207c5d7f7e1fb$var$getLandmarkManager);
484
- }
485
- class $a86207c5d7f7e1fb$var$LandmarkManager {
486
- setupIfNeeded() {
487
- if (this.isListening)
488
- return;
489
- document.addEventListener("keydown", this.f6Handler, {
490
- capture: true
491
- });
492
- document.addEventListener("focusin", this.focusinHandler, {
493
- capture: true
494
- });
495
- document.addEventListener("focusout", this.focusoutHandler, {
496
- capture: true
497
- });
498
- this.isListening = true;
499
- }
500
- teardownIfNeeded() {
501
- if (!this.isListening || this.landmarks.length > 0 || this.refCount > 0)
502
- return;
503
- document.removeEventListener("keydown", this.f6Handler, {
504
- capture: true
505
- });
506
- document.removeEventListener("focusin", this.focusinHandler, {
507
- capture: true
508
- });
509
- document.removeEventListener("focusout", this.focusoutHandler, {
510
- capture: true
511
- });
512
- this.isListening = false;
513
- }
514
- focusLandmark(landmark, direction) {
515
- var _this_landmarks_find, _this_landmarks_find_focus;
516
- (_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);
517
- }
518
- /**
519
- * Return set of landmarks with a specific role.
520
- */
521
- getLandmarksByRole(role) {
522
- return new Set(this.landmarks.filter((l) => l.role === role));
523
- }
524
- /**
525
- * Return first landmark with a specific role.
526
- */
527
- getLandmarkByRole(role) {
528
- return this.landmarks.find((l) => l.role === role);
529
- }
530
- addLandmark(newLandmark) {
531
- this.setupIfNeeded();
532
- if (this.landmarks.find((landmark) => landmark.ref === newLandmark.ref) || !newLandmark.ref.current)
533
- return;
534
- if (this.landmarks.filter((landmark) => landmark.role === "main").length > 1)
535
- console.error('Page can contain no more than one landmark with the role "main".');
536
- if (this.landmarks.length === 0) {
537
- this.landmarks = [
538
- newLandmark
539
- ];
540
- this.checkLabels(newLandmark.role);
541
- return;
542
- }
543
- let start = 0;
544
- let end = this.landmarks.length - 1;
545
- while (start <= end) {
546
- let mid = Math.floor((start + end) / 2);
547
- let comparedPosition = newLandmark.ref.current.compareDocumentPosition(this.landmarks[mid].ref.current);
548
- let isNewAfterExisting = Boolean(comparedPosition & Node.DOCUMENT_POSITION_PRECEDING || comparedPosition & Node.DOCUMENT_POSITION_CONTAINS);
549
- if (isNewAfterExisting)
550
- start = mid + 1;
551
- else
552
- end = mid - 1;
553
- }
554
- this.landmarks.splice(start, 0, newLandmark);
555
- this.checkLabels(newLandmark.role);
556
- }
557
- updateLandmark(landmark) {
558
- let index = this.landmarks.findIndex((l) => l.ref === landmark.ref);
559
- if (index >= 0) {
560
- this.landmarks[index] = __spreadValues(__spreadValues({}, this.landmarks[index]), landmark);
561
- this.checkLabels(this.landmarks[index].role);
562
- }
563
- }
564
- removeLandmark(ref) {
565
- this.landmarks = this.landmarks.filter((landmark) => landmark.ref !== ref);
566
- this.teardownIfNeeded();
567
- }
568
- /**
569
- * Warn if there are 2+ landmarks with the same role but no label.
570
- * Labels for landmarks with the same role must also be unique.
571
- *
572
- * See https://www.w3.org/WAI/ARIA/apg/practices/landmark-regions/.
573
- */
574
- checkLabels(role) {
575
- let landmarksWithRole = this.getLandmarksByRole(role);
576
- if (landmarksWithRole.size > 1) {
577
- let duplicatesWithoutLabel = [
578
- ...landmarksWithRole
579
- ].filter((landmark) => !landmark.label);
580
- if (duplicatesWithoutLabel.length > 0)
581
- 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));
582
- else {
583
- let labels = [
584
- ...landmarksWithRole
585
- ].map((landmark) => landmark.label);
586
- let duplicateLabels = labels.filter((item, index) => labels.indexOf(item) !== index);
587
- duplicateLabels.forEach((label) => {
588
- 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: `, [
589
- ...landmarksWithRole
590
- ].filter((landmark) => landmark.label === label).map((landmark) => landmark.ref.current));
591
- });
592
- }
593
- }
594
- }
595
- /**
596
- * Get the landmark that is the closest parent in the DOM.
597
- * Returns undefined if no parent is a landmark.
598
- */
599
- closestLandmark(element) {
600
- let landmarkMap = new Map(this.landmarks.map((l) => [
601
- l.ref.current,
602
- l
603
- ]));
604
- let currentElement = element;
605
- while (currentElement && !landmarkMap.has(currentElement) && currentElement !== document.body && currentElement.parentElement)
606
- currentElement = currentElement.parentElement;
607
- return landmarkMap.get(currentElement);
608
- }
609
- /**
610
- * Gets the next landmark, in DOM focus order, or previous if backwards is specified.
611
- * If last landmark, next should be the first landmark.
612
- * If not inside a landmark, will return first landmark.
613
- * Returns undefined if there are no landmarks.
614
- */
615
- getNextLandmark(element, { backward }) {
616
- var _this_landmarks_nextLandmarkIndex_ref_current;
617
- let currentLandmark = this.closestLandmark(element);
618
- let nextLandmarkIndex = backward ? this.landmarks.length - 1 : 0;
619
- if (currentLandmark)
620
- nextLandmarkIndex = this.landmarks.indexOf(currentLandmark) + (backward ? -1 : 1);
621
- let wrapIfNeeded = () => {
622
- if (nextLandmarkIndex < 0) {
623
- if (!element.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
624
- detail: {
625
- direction: "backward"
626
- },
627
- bubbles: true,
628
- cancelable: true
629
- })))
630
- return true;
631
- nextLandmarkIndex = this.landmarks.length - 1;
632
- } else if (nextLandmarkIndex >= this.landmarks.length) {
633
- if (!element.dispatchEvent(new CustomEvent("react-aria-landmark-navigation", {
634
- detail: {
635
- direction: "forward"
636
- },
637
- bubbles: true,
638
- cancelable: true
639
- })))
640
- return true;
641
- nextLandmarkIndex = 0;
642
- }
643
- if (nextLandmarkIndex < 0 || nextLandmarkIndex >= this.landmarks.length)
644
- return true;
645
- return false;
646
- };
647
- if (wrapIfNeeded())
648
- return void 0;
649
- let i = nextLandmarkIndex;
650
- 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]")) {
651
- nextLandmarkIndex += backward ? -1 : 1;
652
- if (wrapIfNeeded())
653
- return void 0;
654
- if (nextLandmarkIndex === i)
655
- break;
656
- }
657
- return this.landmarks[nextLandmarkIndex];
658
- }
659
- /**
660
- * Look at next landmark. If an element was previously focused inside, restore focus there.
661
- * If not, focus the landmark itself.
662
- * If no landmarks at all, or none with focusable elements, don't move focus.
663
- */
664
- f6Handler(e) {
665
- if (e.key === "F6") {
666
- let handled = e.altKey ? this.focusMain() : this.navigate(e.target, e.shiftKey);
667
- if (handled) {
668
- e.preventDefault();
669
- e.stopPropagation();
670
- }
671
- }
672
- }
673
- focusMain() {
674
- let main = this.getLandmarkByRole("main");
675
- if (main && main.ref.current && document.contains(main.ref.current)) {
676
- this.focusLandmark(main.ref.current, "forward");
677
- return true;
678
- }
679
- return false;
680
- }
681
- navigate(from, backward) {
682
- let nextLandmark = this.getNextLandmark(from, {
683
- backward
684
- });
685
- if (!nextLandmark)
686
- return false;
687
- if (nextLandmark.lastFocused) {
688
- let lastFocused = nextLandmark.lastFocused;
689
- if (document.body.contains(lastFocused)) {
690
- lastFocused.focus();
691
- return true;
692
- }
693
- }
694
- if (nextLandmark.ref.current && document.contains(nextLandmark.ref.current)) {
695
- this.focusLandmark(nextLandmark.ref.current, backward ? "backward" : "forward");
696
- return true;
697
- }
698
- return false;
699
- }
700
- /**
701
- * Sets lastFocused for a landmark, if focus is moved within that landmark.
702
- * Lets the last focused landmark know it was blurred if something else is focused.
703
- */
704
- focusinHandler(e) {
705
- let currentLandmark = this.closestLandmark(e.target);
706
- if (currentLandmark && currentLandmark.ref.current !== e.target)
707
- this.updateLandmark({
708
- ref: currentLandmark.ref,
709
- lastFocused: e.target
710
- });
711
- let previousFocusedElement = e.relatedTarget;
712
- if (previousFocusedElement) {
713
- let closestPreviousLandmark = this.closestLandmark(previousFocusedElement);
714
- if (closestPreviousLandmark && closestPreviousLandmark.ref.current === previousFocusedElement)
715
- closestPreviousLandmark.blur();
716
- }
717
- }
718
- /**
719
- * Track if the focus is lost to the body. If it is, do cleanup on the landmark that last had focus.
720
- */
721
- focusoutHandler(e) {
722
- let previousFocusedElement = e.target;
723
- let nextFocusedElement = e.relatedTarget;
724
- if (!nextFocusedElement || nextFocusedElement === document) {
725
- let closestPreviousLandmark = this.closestLandmark(previousFocusedElement);
726
- if (closestPreviousLandmark && closestPreviousLandmark.ref.current === previousFocusedElement)
727
- closestPreviousLandmark.blur();
728
- }
729
- }
730
- createLandmarkController() {
731
- let instance = this;
732
- instance.refCount++;
733
- instance.setupIfNeeded();
734
- return {
735
- navigate(direction, opts) {
736
- let element = (opts === null || opts === void 0 ? void 0 : opts.from) || document.activeElement;
737
- return instance.navigate(element, direction === "backward");
738
- },
739
- focusNext(opts) {
740
- let element = (opts === null || opts === void 0 ? void 0 : opts.from) || document.activeElement;
741
- return instance.navigate(element, false);
742
- },
743
- focusPrevious(opts) {
744
- let element = (opts === null || opts === void 0 ? void 0 : opts.from) || document.activeElement;
745
- return instance.navigate(element, true);
746
- },
747
- focusMain() {
748
- return instance.focusMain();
749
- },
750
- dispose() {
751
- if (instance) {
752
- instance.refCount--;
753
- instance.teardownIfNeeded();
754
- instance = null;
755
- }
756
- }
757
- };
758
- }
759
- registerLandmark(landmark) {
760
- if (this.landmarks.find((l) => l.ref === landmark.ref))
761
- this.updateLandmark(landmark);
762
- else
763
- this.addLandmark(landmark);
764
- return () => this.removeLandmark(landmark.ref);
765
- }
766
- constructor() {
767
- this.landmarks = [];
768
- this.isListening = false;
769
- this.refCount = 0;
770
- this.version = $a86207c5d7f7e1fb$var$LANDMARK_API_VERSION;
771
- this.f6Handler = this.f6Handler.bind(this);
772
- this.focusinHandler = this.focusinHandler.bind(this);
773
- this.focusoutHandler = this.focusoutHandler.bind(this);
774
- }
775
- }
776
- function $a86207c5d7f7e1fb$export$4cc632584fd87fae(props, ref) {
777
- const { role, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, focus } = props;
778
- let manager = $a86207c5d7f7e1fb$var$useLandmarkManager();
779
- let label = ariaLabel || ariaLabelledby;
780
- let [isLandmarkFocused, setIsLandmarkFocused] = React.useState(false);
781
- let defaultFocus = React.useCallback(() => {
782
- setIsLandmarkFocused(true);
783
- }, [
784
- setIsLandmarkFocused
785
- ]);
786
- let blur = React.useCallback(() => {
787
- setIsLandmarkFocused(false);
788
- }, [
789
- setIsLandmarkFocused
790
- ]);
791
- _import.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
792
- if (manager)
793
- return manager.registerLandmark({
794
- ref,
795
- label,
796
- role,
797
- focus: focus || defaultFocus,
798
- blur
799
- });
800
- }, [
801
- manager,
802
- label,
803
- ref,
804
- role,
805
- focus,
806
- defaultFocus,
807
- blur
808
- ]);
809
- React.useEffect(() => {
810
- var _ref_current;
811
- if (isLandmarkFocused)
812
- (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();
813
- }, [
814
- isLandmarkFocused,
815
- ref
816
- ]);
817
- return {
818
- landmarkProps: {
819
- role,
820
- tabIndex: isLandmarkFocused ? -1 : void 0,
821
- "aria-label": ariaLabel,
822
- "aria-labelledby": ariaLabelledby
823
- }
824
- };
825
- }
826
- function $parcel$interopDefault(a) {
827
- return a && a.__esModule ? a.default : a;
828
- }
829
- var $7853651519a70071$exports = {};
830
- var $ff9177efc58547ad$exports = {};
831
- $ff9177efc58547ad$exports = {
832
- "close": `إغلاق`,
833
- "notifications": `إشعارات`
834
- };
835
- var $25eb7c0c0c45e544$exports = {};
836
- $25eb7c0c0c45e544$exports = {
837
- "close": `Затвори`,
838
- "notifications": `Известия`
839
- };
840
- var $28feffc3d61a8691$exports = {};
841
- $28feffc3d61a8691$exports = {
842
- "close": `Zavřít`,
843
- "notifications": `Upozornění`
844
- };
845
- var $390d441203d25ff4$exports = {};
846
- $390d441203d25ff4$exports = {
847
- "close": `Luk`,
848
- "notifications": `Påmindelser`
849
- };
850
- var $7063c2d0f14f979a$exports = {};
851
- $7063c2d0f14f979a$exports = {
852
- "close": `Schließen`,
853
- "notifications": `Benachrichtigungen`
854
- };
855
- var $2dfc1dbb6590af88$exports = {};
856
- $2dfc1dbb6590af88$exports = {
857
- "close": `Κλείσιμο`,
858
- "notifications": `Ειδοποιήσεις`
859
- };
860
- var $9a12ff1caae5a7a5$exports = {};
861
- $9a12ff1caae5a7a5$exports = {
862
- "close": `Close`,
863
- "notifications": `Notifications`
864
- };
865
- var $f4095fb5a72adbe6$exports = {};
866
- $f4095fb5a72adbe6$exports = {
867
- "close": `Cerrar`,
868
- "notifications": `Notificaciones`
869
- };
870
- var $75bc5191b9d7826a$exports = {};
871
- $75bc5191b9d7826a$exports = {
872
- "close": `Sule`,
873
- "notifications": `Teated`
874
- };
875
- var $e4b9aef18b0db8dc$exports = {};
876
- $e4b9aef18b0db8dc$exports = {
877
- "close": `Sulje`,
878
- "notifications": `Ilmoitukset`
879
- };
880
- var $888756784d832bd7$exports = {};
881
- $888756784d832bd7$exports = {
882
- "close": `Fermer`,
883
- "notifications": `Notifications`
884
- };
885
- var $6835949b68a1fabf$exports = {};
886
- $6835949b68a1fabf$exports = {
887
- "close": `סגור`,
888
- "notifications": `התראות`
889
- };
890
- var $87ffcbc0b651e40b$exports = {};
891
- $87ffcbc0b651e40b$exports = {
892
- "close": `Zatvori`,
893
- "notifications": `Obavijesti`
894
- };
895
- var $dc6e3b2813600d69$exports = {};
896
- $dc6e3b2813600d69$exports = {
897
- "close": `Bezárás`,
898
- "notifications": `Értesítések`
899
- };
900
- var $fe136bcbacfcfa14$exports = {};
901
- $fe136bcbacfcfa14$exports = {
902
- "close": `Chiudi`,
903
- "notifications": `Notifiche`
904
- };
905
- var $8fb53a929b46df83$exports = {};
906
- $8fb53a929b46df83$exports = {
907
- "close": `閉じる`,
908
- "notifications": `通知`
909
- };
910
- var $2c38dbfaf041a865$exports = {};
911
- $2c38dbfaf041a865$exports = {
912
- "close": `닫기`,
913
- "notifications": `알림`
914
- };
915
- var $48f3f33a29908d4c$exports = {};
916
- $48f3f33a29908d4c$exports = {
917
- "close": `Uždaryti`,
918
- "notifications": `Pranešimai`
919
- };
920
- var $9867160d996455a0$exports = {};
921
- $9867160d996455a0$exports = {
922
- "close": `Aizvērt`,
923
- "notifications": `Paziņojumi`
924
- };
925
- var $196258ea25c96487$exports = {};
926
- $196258ea25c96487$exports = {
927
- "close": `Lukk`,
928
- "notifications": `Varsler`
929
- };
930
- var $949061cb954e8000$exports = {};
931
- $949061cb954e8000$exports = {
932
- "close": `Sluiten`,
933
- "notifications": `Meldingen`
934
- };
935
- var $8189bed27add1ad3$exports = {};
936
- $8189bed27add1ad3$exports = {
937
- "close": `Zamknij`,
938
- "notifications": `Powiadomienia`
939
- };
940
- var $a361756a93b6e28c$exports = {};
941
- $a361756a93b6e28c$exports = {
942
- "close": `Fechar`,
943
- "notifications": `Notificações`
944
- };
945
- var $034c7393857c8db0$exports = {};
946
- $034c7393857c8db0$exports = {
947
- "close": `Fechar`,
948
- "notifications": `Notificações`
949
- };
950
- var $e33d3b3868478b04$exports = {};
951
- $e33d3b3868478b04$exports = {
952
- "close": `Închideţi`,
953
- "notifications": `Notificări`
954
- };
955
- var $9a7dcb914b29cd9f$exports = {};
956
- $9a7dcb914b29cd9f$exports = {
957
- "close": `Закрыть`,
958
- "notifications": `Уведомления`
959
- };
960
- var $e43d964a0c7f1266$exports = {};
961
- $e43d964a0c7f1266$exports = {
962
- "close": `Zatvoriť`,
963
- "notifications": `Oznámenia`
964
- };
965
- var $0bc56cee3275bcaa$exports = {};
966
- $0bc56cee3275bcaa$exports = {
967
- "close": `Zapri`,
968
- "notifications": `Obvestila`
969
- };
970
- var $7dbdd7289c10d2ba$exports = {};
971
- $7dbdd7289c10d2ba$exports = {
972
- "close": `Zatvori`,
973
- "notifications": `Obaveštenja`
974
- };
975
- var $ccbe6066c10b1e53$exports = {};
976
- $ccbe6066c10b1e53$exports = {
977
- "close": `Stäng`,
978
- "notifications": `Aviseringar`
979
- };
980
- var $9d503476b9d858b7$exports = {};
981
- $9d503476b9d858b7$exports = {
982
- "close": `Kapat`,
983
- "notifications": `Bildirimler`
984
- };
985
- var $32ee419c7b9b7a83$exports = {};
986
- $32ee419c7b9b7a83$exports = {
987
- "close": `Закрити`,
988
- "notifications": `Сповіщення`
989
- };
990
- var $122525af1cb737c7$exports = {};
991
- $122525af1cb737c7$exports = {
992
- "close": `关闭`,
993
- "notifications": `通知`
994
- };
995
- var $52e8b1b00094e5a3$exports = {};
996
- $52e8b1b00094e5a3$exports = {
997
- "close": `關閉`,
998
- "notifications": `通知`
999
- };
1000
- $7853651519a70071$exports = {
1001
- "ar-AE": $ff9177efc58547ad$exports,
1002
- "bg-BG": $25eb7c0c0c45e544$exports,
1003
- "cs-CZ": $28feffc3d61a8691$exports,
1004
- "da-DK": $390d441203d25ff4$exports,
1005
- "de-DE": $7063c2d0f14f979a$exports,
1006
- "el-GR": $2dfc1dbb6590af88$exports,
1007
- "en-US": $9a12ff1caae5a7a5$exports,
1008
- "es-ES": $f4095fb5a72adbe6$exports,
1009
- "et-EE": $75bc5191b9d7826a$exports,
1010
- "fi-FI": $e4b9aef18b0db8dc$exports,
1011
- "fr-FR": $888756784d832bd7$exports,
1012
- "he-IL": $6835949b68a1fabf$exports,
1013
- "hr-HR": $87ffcbc0b651e40b$exports,
1014
- "hu-HU": $dc6e3b2813600d69$exports,
1015
- "it-IT": $fe136bcbacfcfa14$exports,
1016
- "ja-JP": $8fb53a929b46df83$exports,
1017
- "ko-KR": $2c38dbfaf041a865$exports,
1018
- "lt-LT": $48f3f33a29908d4c$exports,
1019
- "lv-LV": $9867160d996455a0$exports,
1020
- "nb-NO": $196258ea25c96487$exports,
1021
- "nl-NL": $949061cb954e8000$exports,
1022
- "pl-PL": $8189bed27add1ad3$exports,
1023
- "pt-BR": $a361756a93b6e28c$exports,
1024
- "pt-PT": $034c7393857c8db0$exports,
1025
- "ro-RO": $e33d3b3868478b04$exports,
1026
- "ru-RU": $9a7dcb914b29cd9f$exports,
1027
- "sk-SK": $e43d964a0c7f1266$exports,
1028
- "sl-SI": $0bc56cee3275bcaa$exports,
1029
- "sr-SP": $7dbdd7289c10d2ba$exports,
1030
- "sv-SE": $ccbe6066c10b1e53$exports,
1031
- "tr-TR": $9d503476b9d858b7$exports,
1032
- "uk-UA": $32ee419c7b9b7a83$exports,
1033
- "zh-CN": $122525af1cb737c7$exports,
1034
- "zh-TW": $52e8b1b00094e5a3$exports
1035
- };
1036
- function $d6542812f0669241$export$a407b657d3044108(props, state, ref) {
1037
- let { key, timer, timeout, animation } = props.toast;
1038
- React.useEffect(() => {
1039
- if (!timer)
1040
- return;
1041
- timer.reset(timeout);
1042
- return () => {
1043
- timer.pause();
1044
- };
1045
- }, [
1046
- timer,
1047
- timeout
1048
- ]);
1049
- let focusOnUnmount = React.useRef(null);
1050
- _import.$f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
1051
- let container2 = ref.current.closest("[role=region]");
1052
- return () => {
1053
- if (container2 && container2.contains(document.activeElement))
1054
- focusOnUnmount.current = container2;
1055
- };
1056
- }, [
1057
- ref
1058
- ]);
1059
- React.useEffect(() => {
1060
- return () => {
1061
- if (focusOnUnmount.current)
1062
- focusOnUnmount.current.focus();
1063
- };
1064
- }, [
1065
- ref
1066
- ]);
1067
- let titleId = _import.$bdb11010cef70236$export$f680877a34711e37();
1068
- let descriptionId = _import.$bdb11010cef70236$export$b4cc09c592e8fdb8();
1069
- let stringFormatter = realModule.$fca6afa0e843324b$export$f12b703ca79dfbb1(/* @__PURE__ */ $parcel$interopDefault($7853651519a70071$exports));
1070
- return {
1071
- toastProps: {
1072
- role: "alert",
1073
- "aria-label": props["aria-label"],
1074
- "aria-labelledby": props["aria-labelledby"] || titleId,
1075
- "aria-describedby": props["aria-describedby"] || descriptionId,
1076
- "aria-details": props["aria-details"],
1077
- // Hide toasts that are animating out so VoiceOver doesn't announce them.
1078
- "aria-hidden": animation === "exiting" ? "true" : void 0
1079
- },
1080
- titleProps: {
1081
- id: titleId
1082
- },
1083
- descriptionProps: {
1084
- id: descriptionId
1085
- },
1086
- closeButtonProps: {
1087
- "aria-label": stringFormatter.format("close"),
1088
- onPress: () => state.close(key)
1089
- }
1090
- };
1091
- }
1092
- function $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref) {
1093
- let stringFormatter = realModule.$fca6afa0e843324b$export$f12b703ca79dfbb1(/* @__PURE__ */ $parcel$interopDefault($7853651519a70071$exports));
1094
- let { landmarkProps } = $a86207c5d7f7e1fb$export$4cc632584fd87fae({
1095
- role: "region",
1096
- "aria-label": props["aria-label"] || stringFormatter.format("notifications")
1097
- }, ref);
1098
- let { hoverProps } = _import$1.$6179b936705e76d3$export$ae780daf29e6d456({
1099
- onHoverStart: state.pauseAll,
1100
- onHoverEnd: state.resumeAll
1101
- });
1102
- let lastFocused = React.useRef(null);
1103
- let { focusWithinProps } = _import$1.$9ab94262bd0047c7$export$420e68273165f4ec({
1104
- onFocusWithin: (e) => {
1105
- state.pauseAll();
1106
- lastFocused.current = e.relatedTarget;
1107
- },
1108
- onBlurWithin: () => {
1109
- state.resumeAll();
1110
- lastFocused.current = null;
1111
- }
1112
- });
1113
- React.useEffect(() => {
1114
- return () => {
1115
- if (lastFocused.current && document.body.contains(lastFocused.current)) {
1116
- if (_import$1.$507fabe10e71c6fb$export$630ff653c5ada6a9() === "pointer")
1117
- _import.$7215afc6de606d6b$export$de79e2c695e052f3(lastFocused.current);
1118
- else
1119
- lastFocused.current.focus();
1120
- }
1121
- };
1122
- }, [
1123
- ref
1124
- ]);
1125
- return {
1126
- regionProps: _import.$3ef42575df84b30b$export$9d1611c77c2fe928(landmarkProps, hoverProps, focusWithinProps, {
1127
- tabIndex: -1,
1128
- // Mark the toast region as a "top layer", so that it:
1129
- // - is not aria-hidden when opening an overlay
1130
- // - allows focus even outside a containing focus scope
1131
- // - doesn’t dismiss overlays when clicking on it, even though it is outside
1132
- // @ts-ignore
1133
- "data-react-aria-top-layer": true
1134
- })
1135
- };
1136
- }
1137
- const statusPromotional = "_statusPromotional_1cj8w_5";
1138
- const statusSuccess = "_statusSuccess_1cj8w_10";
1139
- const statusNeutral = "_statusNeutral_1cj8w_15";
1140
- const statusWarning = "_statusWarning_1cj8w_20";
1141
- const statusError = "_statusError_1cj8w_25";
1142
- const typeToast = "_typeToast_1cj8w_30";
1143
- const typeAlert = "_typeAlert_1cj8w_34";
1144
- const Notification$1 = "_Notification_1cj8w_39";
1145
- const iconText = "_iconText_1cj8w_55";
1146
- const closeButton = "_closeButton_1cj8w_61";
1147
- const region = "_region_1cj8w_71";
1148
- const container = "_container_1cj8w_77";
1149
- const styles = {
1150
- statusPromotional,
1151
- statusSuccess,
1152
- statusNeutral,
1153
- statusWarning,
1154
- statusError,
1155
- typeToast,
1156
- typeAlert,
1157
- Notification: Notification$1,
1158
- iconText,
1159
- closeButton,
1160
- region,
1161
- container
1162
- };
1163
- function NotificationRegion(props) {
1164
- const { state } = props;
1165
- const ref = React.useRef(null);
1166
- const { regionProps } = $6cc546b19ee7130a$export$b8cbbb20a51697de(props, state, ref);
1167
- return React.createElement("div", __spreadProps(__spreadValues({}, regionProps), {
1168
- ref,
1169
- className: styles.region
1170
- }), state.visibleToasts.map((toast) => React.createElement(Notification, {
1171
- key: toast.key,
1172
- toast,
1173
- state
1174
- })));
1175
- }
1176
- function NotificationContainer(props) {
1177
- const { getContainer = null, position = "fixed", offset, state } = props;
1178
- const showNotifications = state.visibleToasts.length > 0;
1179
- let requestFailed = false;
1180
- let container2 = null;
1181
- if (showNotifications && getContainer) {
1182
- container2 = getContainer();
1183
- requestFailed = container2 === null;
1184
- }
1185
- const positionStyleProps = offset && !requestFailed ? {
1186
- top: offset == null ? void 0 : offset.top,
1187
- right: offset == null ? void 0 : offset.right,
1188
- bottom: offset == null ? void 0 : offset.bottom,
1189
- left: offset == null ? void 0 : offset.left
1190
- } : {
1191
- top: 0,
1192
- left: 0
1193
- };
1194
- const positionProps = {
1195
- position: !requestFailed ? position : "fixed"
1196
- };
1197
- const containerStyles = __spreadValues(__spreadValues({}, positionStyleProps), positionProps);
1198
- return React.createElement(React.Fragment, null, showNotifications ? $k7QOs$reactdom.createPortal(React.createElement("div", {
1199
- className: styles.container,
1200
- style: containerStyles
1201
- }, React.createElement(NotificationRegion, {
1202
- state
1203
- })), container2 != null ? container2 : document.body) : null);
1204
- }
1205
- function $77b352cf12efcf73$export$84726ef35ca2129a(queue) {
1206
- let subscribe = React.useCallback((fn) => queue.subscribe(fn), [
1207
- queue
1208
- ]);
1209
- let getSnapshot = React.useCallback(() => queue.visibleToasts, [
1210
- queue
1211
- ]);
1212
- let visibleToasts = shimExports.useSyncExternalStore(subscribe, getSnapshot, getSnapshot);
1213
- return {
1214
- visibleToasts,
1215
- add: (content, options) => queue.add(content, options),
1216
- close: (key) => queue.close(key),
1217
- remove: (key) => queue.remove(key),
1218
- pauseAll: () => queue.pauseAll(),
1219
- resumeAll: () => queue.resumeAll()
1220
- };
1221
- }
1222
- class $77b352cf12efcf73$export$f1f8569633bbbec4 {
1223
- /** Subscribes to updates to the visible toasts. */
1224
- subscribe(fn) {
1225
- this.subscriptions.add(fn);
1226
- return () => this.subscriptions.delete(fn);
1227
- }
1228
- /** Adds a new toast to the queue. */
1229
- add(content, options = {}) {
1230
- let toastKey = Math.random().toString(36);
1231
- let toast = __spreadProps(__spreadValues({}, options), {
1232
- content,
1233
- key: toastKey,
1234
- timer: options.timeout ? new $77b352cf12efcf73$var$Timer(() => this.close(toastKey), options.timeout) : null
1235
- });
1236
- let low = 0;
1237
- let high = this.queue.length;
1238
- while (low < high) {
1239
- let mid = Math.floor((low + high) / 2);
1240
- if ((toast.priority || 0) > (this.queue[mid].priority || 0))
1241
- high = mid;
1242
- else
1243
- low = mid + 1;
1244
- }
1245
- this.queue.splice(low, 0, toast);
1246
- toast.animation = low < this.maxVisibleToasts ? "entering" : "queued";
1247
- let i = this.maxVisibleToasts;
1248
- while (i < this.queue.length)
1249
- this.queue[i++].animation = "queued";
1250
- this.updateVisibleToasts();
1251
- return toastKey;
1252
- }
1253
- /**
1254
- * Closes a toast. If `hasExitAnimation` is true, the toast
1255
- * transitions to an "exiting" state instead of being removed immediately.
1256
- */
1257
- close(key) {
1258
- let index = this.queue.findIndex((t) => t.key === key);
1259
- if (index >= 0) {
1260
- var _this_queue_index, _this_queue_index_onClose;
1261
- (_this_queue_index_onClose = (_this_queue_index = this.queue[index]).onClose) === null || _this_queue_index_onClose === void 0 ? void 0 : _this_queue_index_onClose.call(_this_queue_index);
1262
- this.queue.splice(index, 1);
1263
- }
1264
- this.updateVisibleToasts();
1265
- }
1266
- /** Removes a toast from the visible toasts after an exiting animation. */
1267
- remove(key) {
1268
- this.visibleToasts = this.visibleToasts.filter((t) => t.key !== key);
1269
- this.updateVisibleToasts();
1270
- }
1271
- updateVisibleToasts() {
1272
- let toasts = this.queue.slice(0, this.maxVisibleToasts);
1273
- if (this.hasExitAnimation) {
1274
- let prevToasts = this.visibleToasts.filter((t) => !toasts.some((t2) => t.key === t2.key)).map((t) => __spreadProps(__spreadValues({}, t), {
1275
- animation: "exiting"
1276
- }));
1277
- this.visibleToasts = prevToasts.concat(toasts).sort((a, b) => b.priority - a.priority);
1278
- } else
1279
- this.visibleToasts = toasts;
1280
- for (let fn of this.subscriptions)
1281
- fn();
1282
- }
1283
- /** Pauses the timers for all visible toasts. */
1284
- pauseAll() {
1285
- for (let toast of this.visibleToasts)
1286
- if (toast.timer)
1287
- toast.timer.pause();
1288
- }
1289
- /** Resumes the timers for all visible toasts. */
1290
- resumeAll() {
1291
- for (let toast of this.visibleToasts)
1292
- if (toast.timer)
1293
- toast.timer.resume();
1294
- }
1295
- constructor(options) {
1296
- this.queue = [];
1297
- this.subscriptions = /* @__PURE__ */ new Set();
1298
- this.visibleToasts = [];
1299
- var _options_maxVisibleToasts;
1300
- this.maxVisibleToasts = (_options_maxVisibleToasts = options === null || options === void 0 ? void 0 : options.maxVisibleToasts) !== null && _options_maxVisibleToasts !== void 0 ? _options_maxVisibleToasts : 1;
1301
- var _options_hasExitAnimation;
1302
- this.hasExitAnimation = (_options_hasExitAnimation = options === null || options === void 0 ? void 0 : options.hasExitAnimation) !== null && _options_hasExitAnimation !== void 0 ? _options_hasExitAnimation : false;
1303
- }
1304
- }
1305
- class $77b352cf12efcf73$var$Timer {
1306
- reset(delay) {
1307
- this.remaining = delay;
1308
- this.resume();
1309
- }
1310
- pause() {
1311
- if (this.timerId == null)
1312
- return;
1313
- clearTimeout(this.timerId);
1314
- this.timerId = null;
1315
- this.remaining -= Date.now() - this.startTime;
1316
- }
1317
- resume() {
1318
- if (this.remaining <= 0)
1319
- return;
1320
- this.startTime = Date.now();
1321
- this.timerId = setTimeout(() => {
1322
- this.timerId = null;
1323
- this.remaining = 0;
1324
- this.callback();
1325
- }, this.remaining);
1326
- }
1327
- constructor(callback, delay) {
1328
- this.remaining = delay;
1329
- this.callback = callback;
1330
- }
1331
- }
1332
- const TOAST_TIMEOUT_DURATION = 4e3;
1333
- class EasyUINotificationQueue extends $77b352cf12efcf73$export$f1f8569633bbbec4 {
1334
- constructor(options) {
1335
- super(options);
1336
- this.activeNotificationKey = "";
1337
- }
1338
- closeActiveNotification() {
1339
- if (this.activeNotificationKey) {
1340
- super.close(this.activeNotificationKey);
1341
- }
1342
- }
1343
- alert(content) {
1344
- this.closeActiveNotification();
1345
- this.activeNotificationKey = super.add(content);
1346
- }
1347
- toast(content) {
1348
- this.closeActiveNotification();
1349
- this.activeNotificationKey = super.add(content, {
1350
- timeout: TOAST_TIMEOUT_DURATION
1351
- });
1352
- }
1353
- }
1354
- function useNotificationState() {
1355
- const queue = React.useMemo(() => new EasyUINotificationQueue(), []);
1356
- const state = $77b352cf12efcf73$export$84726ef35ca2129a(queue);
1357
- return __spreadProps(__spreadValues({}, state), {
1358
- showPromotionalAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1359
- status: "promotional",
1360
- type: "alert"
1361
- })),
1362
- showNeutralAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1363
- status: "neutral",
1364
- type: "alert"
1365
- })),
1366
- showSuccessAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1367
- status: "success",
1368
- type: "alert"
1369
- })),
1370
- showWarningAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1371
- status: "warning",
1372
- type: "alert"
1373
- })),
1374
- showErrorAlert: (content) => queue.alert(__spreadProps(__spreadValues({}, content), {
1375
- status: "error",
1376
- type: "alert"
1377
- })),
1378
- showPromotionalToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1379
- status: "promotional",
1380
- type: "toast"
1381
- })),
1382
- showNeutralToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1383
- status: "neutral",
1384
- type: "toast"
1385
- })),
1386
- showSuccessToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1387
- status: "success",
1388
- type: "toast"
1389
- })),
1390
- showWarningToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1391
- status: "warning",
1392
- type: "toast"
1393
- })),
1394
- showErrorToast: (content) => queue.toast(__spreadProps(__spreadValues({}, content), {
1395
- status: "error",
1396
- type: "toast"
1397
- })),
1398
- closeActiveNotification: () => queue.closeActiveNotification()
1399
- });
1400
- }
1401
- function Notification(props) {
1402
- const ref = React.useRef(null);
1403
- const { state, toast: notification } = props;
1404
- const { type = "toast", message, status = "success", hasIcon = true, onDismiss } = notification.content;
1405
- const { toastProps: notificationProps, titleProps, closeButtonProps } = $d6542812f0669241$export$a407b657d3044108(props, state, ref);
1406
- const notificationPropsWithAdjustedAriaRole = type === "toast" ? __spreadProps(__spreadValues({}, notificationProps), {
1407
- role: "status"
1408
- }) : notificationProps;
1409
- const handleDismiss = () => {
1410
- if (onDismiss) {
1411
- onDismiss();
1412
- }
1413
- state.close(notification.key);
1414
- };
1415
- const closeButtonPropsWithDismiss = __spreadProps(__spreadValues({}, closeButtonProps), {
1416
- onPress: handleDismiss
1417
- });
1418
- return React.createElement("div", __spreadProps(__spreadValues({}, notificationPropsWithAdjustedAriaRole), {
1419
- ref,
1420
- className: utilities_css.classNames(styles.Notification, styles[utilities_css.variationName("status", status)], styles[utilities_css.variationName("type", type)])
1421
- }), React.createElement("div", {
1422
- className: styles.iconText
1423
- }, hasIcon && React.createElement(Icon_index.Icon, {
1424
- size: "lg",
1425
- symbol: getStatusIcon(status)
1426
- }), React.createElement("div", __spreadValues({}, titleProps), React.createElement(Text_index.Text, {
1427
- weight: "semibold"
1428
- }, message))), type === "alert" && React.createElement(UnstyledButton_index.UnstyledButton, __spreadProps(__spreadValues({}, closeButtonPropsWithDismiss), {
1429
- className: utilities_css.classNames(styles.closeButton)
1430
- }), React.createElement(Icon_index.Icon, {
1431
- size: "md",
1432
- symbol: Close.Close
1433
- })));
1434
- }
1435
- function getStatusIcon(status) {
1436
- switch (status) {
1437
- case "promotional":
1438
- return CurrencyExchange;
1439
- case "success":
1440
- return CheckCircle;
1441
- case "neutral":
1442
- return DocumentScanner;
1443
- case "error":
1444
- return Error2;
1445
- case "warning":
1446
- return Warning;
1447
- }
1448
- }
1449
- const NotificationContext = React.createContext(null);
1450
- function useNotification() {
1451
- const notification = React.useContext(NotificationContext);
1452
- if (!notification) {
1453
- throw new Error("useNotification() must be used within a NotificationProvider, which is bundled with EasyUIProvider");
1454
- }
1455
- return notification;
1456
- }
1457
- function NotificationProvider(props) {
1458
- const { children, notificationPlacement } = props;
1459
- const combinedState = useNotificationState();
1460
- const state = {
1461
- close: combinedState.close,
1462
- add: combinedState.add,
1463
- remove: combinedState.remove,
1464
- pauseAll: combinedState.pauseAll,
1465
- resumeAll: combinedState.resumeAll,
1466
- visibleToasts: combinedState.visibleToasts
1467
- };
1468
- const notification = {
1469
- showErrorAlert: combinedState.showErrorAlert,
1470
- showErrorToast: combinedState.showErrorToast,
1471
- showPromotionalToast: combinedState.showPromotionalToast,
1472
- showPromotionalAlert: combinedState.showPromotionalAlert,
1473
- showNeutralToast: combinedState.showNeutralToast,
1474
- showNeutralAlert: combinedState.showNeutralAlert,
1475
- showSuccessToast: combinedState.showSuccessToast,
1476
- showSuccessAlert: combinedState.showSuccessAlert,
1477
- showWarningToast: combinedState.showWarningToast,
1478
- showWarningAlert: combinedState.showWarningAlert,
1479
- closeActiveNotification: combinedState.closeActiveNotification
1480
- };
1481
- return React.createElement(NotificationContext.Provider, {
1482
- value: notification
1483
- }, React.createElement(NotificationContainer, {
1484
- getContainer: notificationPlacement == null ? void 0 : notificationPlacement.getContainer,
1485
- offset: notificationPlacement == null ? void 0 : notificationPlacement.offset,
1486
- position: notificationPlacement == null ? void 0 : notificationPlacement.position,
1487
- state
1488
- }), children);
1489
- }
1490
- exports.Notification = Notification;
1491
- exports.NotificationContext = NotificationContext;
1492
- exports.NotificationProvider = NotificationProvider;
1493
- exports.useNotification = useNotification;
3
+ const Notification = require("../__chunks__/Notification-CFtJx7Uz.js");
4
+ exports.Notification = Notification.Notification;
5
+ exports.NotificationContext = Notification.NotificationContext;
6
+ exports.NotificationProvider = Notification.NotificationProvider;
7
+ exports.useNotification = Notification.useNotification;