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