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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1105) hide show
  1. package/AlertBadge/AlertBadge.d.ts +32 -0
  2. package/AlertBadge/AlertBadge.d.ts.map +1 -0
  3. package/AlertBadge/AlertBadge.stories.d.ts +10 -0
  4. package/AlertBadge/AlertBadge.stories.d.ts.map +1 -0
  5. package/AlertBadge/AlertBadge.test.d.ts +2 -0
  6. package/AlertBadge/AlertBadge.test.d.ts.map +1 -0
  7. package/AlertBadge/index.d.ts +2 -0
  8. package/AlertBadge/index.d.ts.map +1 -0
  9. package/AlertBadge/index.js +59 -0
  10. package/AlertBadge/index.mjs +59 -0
  11. package/Badge/Badge.d.ts +11 -0
  12. package/Badge/Badge.d.ts.map +1 -1
  13. package/Badge/Badge.stories.d.ts +1 -1
  14. package/Badge/Badge.stories.d.ts.map +1 -1
  15. package/Badge/index.js +47 -33
  16. package/Badge/index.mjs +47 -33
  17. package/Banner/Banner.stories.d.ts +1 -1
  18. package/Banner/Banner.stories.d.ts.map +1 -1
  19. package/Banner/index.js +23 -16
  20. package/Banner/index.mjs +23 -16
  21. package/Button/Button.d.ts +12 -10
  22. package/Button/Button.d.ts.map +1 -1
  23. package/Button/Button.stories.d.ts +12 -10
  24. package/Button/Button.stories.d.ts.map +1 -1
  25. package/Button/index.js +2 -92
  26. package/Button/index.mjs +2 -92
  27. package/Button/utilities.d.ts +4 -0
  28. package/Button/utilities.d.ts.map +1 -1
  29. package/CHANGELOG.md +856 -0
  30. package/Calendar/Calendar.d.ts +67 -0
  31. package/Calendar/Calendar.d.ts.map +1 -0
  32. package/Calendar/Calendar.stories.d.ts +15 -0
  33. package/Calendar/Calendar.stories.d.ts.map +1 -0
  34. package/Calendar/Calendar.test.d.ts +2 -0
  35. package/Calendar/Calendar.test.d.ts.map +1 -0
  36. package/Calendar/CalendarBase.d.ts +57 -0
  37. package/Calendar/CalendarBase.d.ts.map +1 -0
  38. package/Calendar/CalendarCell.d.ts +12 -0
  39. package/Calendar/CalendarCell.d.ts.map +1 -0
  40. package/Calendar/CalendarGrid.d.ts +9 -0
  41. package/Calendar/CalendarGrid.d.ts.map +1 -0
  42. package/Calendar/CalendarHeader.d.ts +20 -0
  43. package/Calendar/CalendarHeader.d.ts.map +1 -0
  44. package/Calendar/index.d.ts +2 -0
  45. package/Calendar/index.d.ts.map +1 -0
  46. package/Calendar/index.js +4 -0
  47. package/Calendar/index.mjs +4 -0
  48. package/Card/Card.d.ts +64 -5
  49. package/Card/Card.d.ts.map +1 -1
  50. package/Card/Card.stories.d.ts +5 -1
  51. package/Card/Card.stories.d.ts.map +1 -1
  52. package/Card/index.js +3 -84
  53. package/Card/index.mjs +3 -84
  54. package/CheckableCard/CheckableCard.d.ts +28 -0
  55. package/CheckableCard/CheckableCard.d.ts.map +1 -0
  56. package/CheckableCard/CheckableCard.stories.d.ts +7 -0
  57. package/CheckableCard/CheckableCard.stories.d.ts.map +1 -0
  58. package/CheckableCard/CheckableCard.test.d.ts +2 -0
  59. package/CheckableCard/CheckableCard.test.d.ts.map +1 -0
  60. package/CheckableCard/index.d.ts +2 -0
  61. package/CheckableCard/index.d.ts.map +1 -0
  62. package/CheckableCard/index.js +74 -0
  63. package/CheckableCard/index.mjs +74 -0
  64. package/Checkbox/Checkbox.d.ts +1 -1
  65. package/Checkbox/Checkbox.d.ts.map +1 -1
  66. package/Checkbox/Checkbox.stories.d.ts +2 -1
  67. package/Checkbox/Checkbox.stories.d.ts.map +1 -1
  68. package/Checkbox/Checkbox.test.d.ts +1 -2
  69. package/Checkbox/Checkbox.test.d.ts.map +1 -1
  70. package/Checkbox/index.js +3 -231
  71. package/Checkbox/index.mjs +3 -215
  72. package/CodeBlock/CodeBlock.d.ts +6 -0
  73. package/CodeBlock/CodeBlock.d.ts.map +1 -1
  74. package/CodeBlock/CodeBlock.stories.d.ts +1 -1
  75. package/CodeBlock/CodeBlock.stories.d.ts.map +1 -1
  76. package/CodeBlock/LanguageMenu.d.ts.map +1 -1
  77. package/CodeBlock/context.d.ts +2 -1
  78. package/CodeBlock/context.d.ts.map +1 -1
  79. package/CodeBlock/index.js +232 -211
  80. package/CodeBlock/index.mjs +227 -206
  81. package/CodeSnippet/CodeSnippet.d.ts +3 -3
  82. package/CodeSnippet/CodeSnippet.d.ts.map +1 -1
  83. package/CodeSnippet/CodeSnippet.stories.d.ts +1 -1
  84. package/CodeSnippet/CodeSnippet.stories.d.ts.map +1 -1
  85. package/CodeSnippet/SyntaxHighlighter.d.ts +7 -0
  86. package/CodeSnippet/SyntaxHighlighter.d.ts.map +1 -1
  87. package/CodeSnippet/index.js +2 -9
  88. package/CodeSnippet/index.mjs +2 -9
  89. package/CodeSnippet/theme.d.ts +0 -1
  90. package/CodeSnippet/theme.d.ts.map +1 -1
  91. package/ColorPicker/ColorArea.d.ts +4 -0
  92. package/ColorPicker/ColorArea.d.ts.map +1 -0
  93. package/ColorPicker/ColorPicker.d.ts +36 -0
  94. package/ColorPicker/ColorPicker.d.ts.map +1 -0
  95. package/ColorPicker/ColorPicker.stories.d.ts +7 -0
  96. package/ColorPicker/ColorPicker.stories.d.ts.map +1 -0
  97. package/ColorPicker/ColorPicker.test.d.ts +2 -0
  98. package/ColorPicker/ColorPicker.test.d.ts.map +1 -0
  99. package/ColorPicker/ColorPickerInputField.d.ts +72 -0
  100. package/ColorPicker/ColorPickerInputField.d.ts.map +1 -0
  101. package/ColorPicker/ColorPickerInputField.stories.d.ts +16 -0
  102. package/ColorPicker/ColorPickerInputField.stories.d.ts.map +1 -0
  103. package/ColorPicker/ColorPickerInputField.test.d.ts +2 -0
  104. package/ColorPicker/ColorPickerInputField.test.d.ts.map +1 -0
  105. package/ColorPicker/ColorSlider.d.ts +4 -0
  106. package/ColorPicker/ColorSlider.d.ts.map +1 -0
  107. package/ColorPicker/ColorThumb.d.ts +6 -0
  108. package/ColorPicker/ColorThumb.d.ts.map +1 -0
  109. package/ColorPicker/index.d.ts +3 -0
  110. package/ColorPicker/index.d.ts.map +1 -0
  111. package/ColorPicker/index.js +5361 -0
  112. package/ColorPicker/index.mjs +5361 -0
  113. package/CustomerPortalLayout/CustomerPortalLayout.d.ts +97 -0
  114. package/CustomerPortalLayout/CustomerPortalLayout.d.ts.map +1 -0
  115. package/CustomerPortalLayout/CustomerPortalLayout.stories.d.ts +10 -0
  116. package/CustomerPortalLayout/CustomerPortalLayout.stories.d.ts.map +1 -0
  117. package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts +2 -0
  118. package/CustomerPortalLayout/CustomerPortalLayout.test.d.ts.map +1 -0
  119. package/CustomerPortalLayout/CustomerPortalLayoutActions.d.ts +50 -0
  120. package/CustomerPortalLayout/CustomerPortalLayoutActions.d.ts.map +1 -0
  121. package/CustomerPortalLayout/index.d.ts +2 -0
  122. package/CustomerPortalLayout/index.d.ts.map +1 -0
  123. package/CustomerPortalLayout/index.js +319 -0
  124. package/CustomerPortalLayout/index.mjs +303 -0
  125. package/DataGrid/ActionsCellContent.d.ts +8 -0
  126. package/DataGrid/ActionsCellContent.d.ts.map +1 -0
  127. package/DataGrid/Cell.d.ts +15 -0
  128. package/DataGrid/Cell.d.ts.map +1 -0
  129. package/DataGrid/ColumnHeader.d.ts +10 -0
  130. package/DataGrid/ColumnHeader.d.ts.map +1 -0
  131. package/DataGrid/DataGrid.d.ts +39 -0
  132. package/DataGrid/DataGrid.d.ts.map +1 -0
  133. package/DataGrid/DataGrid.stories.d.ts +19 -0
  134. package/DataGrid/DataGrid.stories.d.ts.map +1 -0
  135. package/DataGrid/DataGrid.test.d.ts +2 -0
  136. package/DataGrid/DataGrid.test.d.ts.map +1 -0
  137. package/DataGrid/ExpandCellContent.d.ts +8 -0
  138. package/DataGrid/ExpandCellContent.d.ts.map +1 -0
  139. package/DataGrid/ExpandedRowContent.d.ts +7 -0
  140. package/DataGrid/ExpandedRowContent.d.ts.map +1 -0
  141. package/DataGrid/HeaderRow.d.ts +11 -0
  142. package/DataGrid/HeaderRow.d.ts.map +1 -0
  143. package/DataGrid/Row.d.ts +16 -0
  144. package/DataGrid/Row.d.ts.map +1 -0
  145. package/DataGrid/RowGroup.d.ts +8 -0
  146. package/DataGrid/RowGroup.d.ts.map +1 -0
  147. package/DataGrid/SortIndicator.d.ts +7 -0
  148. package/DataGrid/SortIndicator.d.ts.map +1 -0
  149. package/DataGrid/Table.d.ts +8 -0
  150. package/DataGrid/Table.d.ts.map +1 -0
  151. package/DataGrid/VisuallyHiddenCellContent.d.ts +7 -0
  152. package/DataGrid/VisuallyHiddenCellContent.d.ts.map +1 -0
  153. package/DataGrid/constants.d.ts +5 -0
  154. package/DataGrid/constants.d.ts.map +1 -0
  155. package/DataGrid/context.d.ts +31 -0
  156. package/DataGrid/context.d.ts.map +1 -0
  157. package/DataGrid/index.d.ts +2 -0
  158. package/DataGrid/index.d.ts.map +1 -0
  159. package/DataGrid/index.js +2844 -0
  160. package/DataGrid/index.mjs +2844 -0
  161. package/DataGrid/types.d.ts +99 -0
  162. package/DataGrid/types.d.ts.map +1 -0
  163. package/DataGrid/useEdgeInterceptors.d.ts +15 -0
  164. package/DataGrid/useEdgeInterceptors.d.ts.map +1 -0
  165. package/DataGrid/useExpandedRow.d.ts +14 -0
  166. package/DataGrid/useExpandedRow.d.ts.map +1 -0
  167. package/DataGrid/useGridTemplate.d.ts +14 -0
  168. package/DataGrid/useGridTemplate.d.ts.map +1 -0
  169. package/DatePicker/DateField.d.ts +14 -0
  170. package/DatePicker/DateField.d.ts.map +1 -0
  171. package/DatePicker/DatePicker.d.ts +91 -0
  172. package/DatePicker/DatePicker.d.ts.map +1 -0
  173. package/DatePicker/DatePicker.stories.d.ts +14 -0
  174. package/DatePicker/DatePicker.stories.d.ts.map +1 -0
  175. package/DatePicker/DatePicker.test.d.ts +2 -0
  176. package/DatePicker/DatePicker.test.d.ts.map +1 -0
  177. package/DatePicker/DatePickerBase.d.ts +32 -0
  178. package/DatePicker/DatePickerBase.d.ts.map +1 -0
  179. package/DatePicker/DatePickerOverlay.d.ts +12 -0
  180. package/DatePicker/DatePickerOverlay.d.ts.map +1 -0
  181. package/DatePicker/DatePickerTrigger.d.ts +20 -0
  182. package/DatePicker/DatePickerTrigger.d.ts.map +1 -0
  183. package/DatePicker/index.d.ts +2 -0
  184. package/DatePicker/index.d.ts.map +1 -0
  185. package/DatePicker/index.js +299 -0
  186. package/DatePicker/index.mjs +299 -0
  187. package/DateRangePicker/DateRangePicker.d.ts +89 -0
  188. package/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  189. package/DateRangePicker/DateRangePicker.stories.d.ts +14 -0
  190. package/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
  191. package/DateRangePicker/DateRangePicker.test.d.ts +2 -0
  192. package/DateRangePicker/DateRangePicker.test.d.ts.map +1 -0
  193. package/DateRangePicker/index.d.ts +2 -0
  194. package/DateRangePicker/index.d.ts.map +1 -0
  195. package/DateRangePicker/index.js +461 -0
  196. package/DateRangePicker/index.mjs +461 -0
  197. package/Drawer/Drawer.d.ts +53 -0
  198. package/Drawer/Drawer.d.ts.map +1 -0
  199. package/Drawer/Drawer.stories.d.ts +14 -0
  200. package/Drawer/Drawer.stories.d.ts.map +1 -0
  201. package/Drawer/Drawer.test.d.ts +2 -0
  202. package/Drawer/Drawer.test.d.ts.map +1 -0
  203. package/Drawer/DrawerBanner.d.ts +9 -0
  204. package/Drawer/DrawerBanner.d.ts.map +1 -0
  205. package/Drawer/DrawerBody.d.ts +10 -0
  206. package/Drawer/DrawerBody.d.ts.map +1 -0
  207. package/Drawer/DrawerCloseButton.d.ts +3 -0
  208. package/Drawer/DrawerCloseButton.d.ts.map +1 -0
  209. package/Drawer/DrawerContainer.d.ts +18 -0
  210. package/Drawer/DrawerContainer.d.ts.map +1 -0
  211. package/Drawer/DrawerContentArea.d.ts +17 -0
  212. package/Drawer/DrawerContentArea.d.ts.map +1 -0
  213. package/Drawer/DrawerHeader.d.ts +12 -0
  214. package/Drawer/DrawerHeader.d.ts.map +1 -0
  215. package/Drawer/DrawerTrigger.d.ts +26 -0
  216. package/Drawer/DrawerTrigger.d.ts.map +1 -0
  217. package/Drawer/DrawerUnderlay.d.ts +23 -0
  218. package/Drawer/DrawerUnderlay.d.ts.map +1 -0
  219. package/Drawer/context.d.ts +21 -0
  220. package/Drawer/context.d.ts.map +1 -0
  221. package/Drawer/index.d.ts +2 -0
  222. package/Drawer/index.d.ts.map +1 -0
  223. package/Drawer/index.js +403 -0
  224. package/Drawer/index.mjs +387 -0
  225. package/Drawer/useIntersectionDetection.d.ts +10 -0
  226. package/Drawer/useIntersectionDetection.d.ts.map +1 -0
  227. package/DropdownButton/DropdownButton.d.ts +3 -3
  228. package/DropdownButton/DropdownButton.d.ts.map +1 -1
  229. package/DropdownButton/DropdownButton.stories.d.ts +6 -6
  230. package/DropdownButton/DropdownButton.stories.d.ts.map +1 -1
  231. package/DropdownButton/index.js +28 -23
  232. package/DropdownButton/index.mjs +28 -23
  233. package/EmptyStateCard/EmptyStateCard.d.ts +87 -0
  234. package/EmptyStateCard/EmptyStateCard.d.ts.map +1 -0
  235. package/EmptyStateCard/EmptyStateCard.stories.d.ts +10 -0
  236. package/EmptyStateCard/EmptyStateCard.stories.d.ts.map +1 -0
  237. package/EmptyStateCard/EmptyStateCard.test.d.ts +2 -0
  238. package/EmptyStateCard/EmptyStateCard.test.d.ts.map +1 -0
  239. package/EmptyStateCard/index.d.ts +2 -0
  240. package/EmptyStateCard/index.d.ts.map +1 -0
  241. package/EmptyStateCard/index.js +147 -0
  242. package/EmptyStateCard/index.mjs +147 -0
  243. package/EmptyStateCard/utilities.d.ts +3 -0
  244. package/EmptyStateCard/utilities.d.ts.map +1 -0
  245. package/FocusedProductLayout/BackArrow.d.ts +4 -0
  246. package/FocusedProductLayout/BackArrow.d.ts.map +1 -0
  247. package/FocusedProductLayout/Content.d.ts +10 -0
  248. package/FocusedProductLayout/Content.d.ts.map +1 -0
  249. package/FocusedProductLayout/FocusedProductLayout.d.ts +111 -0
  250. package/FocusedProductLayout/FocusedProductLayout.d.ts.map +1 -0
  251. package/FocusedProductLayout/FocusedProductLayout.stories.d.ts +12 -0
  252. package/FocusedProductLayout/FocusedProductLayout.stories.d.ts.map +1 -0
  253. package/FocusedProductLayout/FocusedProductLayout.test.d.ts +2 -0
  254. package/FocusedProductLayout/FocusedProductLayout.test.d.ts.map +1 -0
  255. package/FocusedProductLayout/HeaderAtTopOfPage.d.ts +11 -0
  256. package/FocusedProductLayout/HeaderAtTopOfPage.d.ts.map +1 -0
  257. package/FocusedProductLayout/HeaderInContentArea.d.ts +11 -0
  258. package/FocusedProductLayout/HeaderInContentArea.d.ts.map +1 -0
  259. package/FocusedProductLayout/SidePanel.d.ts +13 -0
  260. package/FocusedProductLayout/SidePanel.d.ts.map +1 -0
  261. package/FocusedProductLayout/WizardContent.d.ts +49 -0
  262. package/FocusedProductLayout/WizardContent.d.ts.map +1 -0
  263. package/FocusedProductLayout/index.d.ts +2 -0
  264. package/FocusedProductLayout/index.d.ts.map +1 -0
  265. package/FocusedProductLayout/index.js +214 -0
  266. package/FocusedProductLayout/index.mjs +214 -0
  267. package/ForgeLayout/ForgeLayout.d.ts +138 -0
  268. package/ForgeLayout/ForgeLayout.d.ts.map +1 -0
  269. package/ForgeLayout/ForgeLayout.stories.d.ts +9 -0
  270. package/ForgeLayout/ForgeLayout.stories.d.ts.map +1 -0
  271. package/ForgeLayout/ForgeLayout.test.d.ts +2 -0
  272. package/ForgeLayout/ForgeLayout.test.d.ts.map +1 -0
  273. package/ForgeLayout/ForgeLayoutActions.d.ts +50 -0
  274. package/ForgeLayout/ForgeLayoutActions.d.ts.map +1 -0
  275. package/ForgeLayout/ForgeLayoutControls.d.ts +38 -0
  276. package/ForgeLayout/ForgeLayoutControls.d.ts.map +1 -0
  277. package/ForgeLayout/ForgeLayoutHeader.d.ts +18 -0
  278. package/ForgeLayout/ForgeLayoutHeader.d.ts.map +1 -0
  279. package/ForgeLayout/ForgeLayoutNav.d.ts +35 -0
  280. package/ForgeLayout/ForgeLayoutNav.d.ts.map +1 -0
  281. package/ForgeLayout/index.d.ts +2 -0
  282. package/ForgeLayout/index.d.ts.map +1 -0
  283. package/ForgeLayout/index.js +596 -0
  284. package/ForgeLayout/index.mjs +596 -0
  285. package/FormLayout/FormLayout.d.ts +55 -0
  286. package/FormLayout/FormLayout.d.ts.map +1 -0
  287. package/FormLayout/FormLayout.stories.d.ts +13 -0
  288. package/FormLayout/FormLayout.stories.d.ts.map +1 -0
  289. package/FormLayout/FormLayout.test.d.ts +2 -0
  290. package/FormLayout/FormLayout.test.d.ts.map +1 -0
  291. package/FormLayout/Grid.d.ts +19 -0
  292. package/FormLayout/Grid.d.ts.map +1 -0
  293. package/FormLayout/Header.d.ts +9 -0
  294. package/FormLayout/Header.d.ts.map +1 -0
  295. package/FormLayout/HelperText.d.ts +13 -0
  296. package/FormLayout/HelperText.d.ts.map +1 -0
  297. package/FormLayout/Section.d.ts +12 -0
  298. package/FormLayout/Section.d.ts.map +1 -0
  299. package/FormLayout/Title.d.ts +23 -0
  300. package/FormLayout/Title.d.ts.map +1 -0
  301. package/FormLayout/context.d.ts +2 -0
  302. package/FormLayout/context.d.ts.map +1 -0
  303. package/FormLayout/index.d.ts +2 -0
  304. package/FormLayout/index.d.ts.map +1 -0
  305. package/FormLayout/index.js +140 -0
  306. package/FormLayout/index.mjs +140 -0
  307. package/HorizontalGrid/HorizontalGrid.stories.d.ts +1 -1
  308. package/HorizontalGrid/HorizontalGrid.stories.d.ts.map +1 -1
  309. package/HorizontalGrid/index.js +2 -62
  310. package/HorizontalGrid/index.mjs +2 -62
  311. package/HorizontalStack/HorizontalStack.stories.d.ts +1 -1
  312. package/HorizontalStack/HorizontalStack.stories.d.ts.map +1 -1
  313. package/HorizontalStack/index.js +2 -48
  314. package/HorizontalStack/index.mjs +2 -48
  315. package/Icon/Icon.d.ts +19 -4
  316. package/Icon/Icon.d.ts.map +1 -1
  317. package/Icon/Icon.stories.d.ts +2 -1
  318. package/Icon/Icon.stories.d.ts.map +1 -1
  319. package/Icon/index.js +2 -38
  320. package/Icon/index.mjs +2 -38
  321. package/IconButton/IconButton.d.ts +8 -3
  322. package/IconButton/IconButton.d.ts.map +1 -1
  323. package/IconButton/IconButton.stories.d.ts +7 -6
  324. package/IconButton/IconButton.stories.d.ts.map +1 -1
  325. package/IconButton/index.js +35 -25
  326. package/IconButton/index.mjs +35 -25
  327. package/InputField/InputField.d.ts +7 -4
  328. package/InputField/InputField.d.ts.map +1 -1
  329. package/InputField/InputField.test.d.ts.map +1 -1
  330. package/InputField/Label.d.ts +0 -5
  331. package/InputField/Label.d.ts.map +1 -1
  332. package/InputField/index.js +2 -285
  333. package/InputField/index.mjs +2 -269
  334. package/InputField/inputText.d.ts +24 -0
  335. package/InputField/inputText.d.ts.map +1 -0
  336. package/InputField/utilities.d.ts +3 -1
  337. package/InputField/utilities.d.ts.map +1 -1
  338. package/KebabButton/KebabButton.d.ts +19 -0
  339. package/KebabButton/KebabButton.d.ts.map +1 -0
  340. package/KebabButton/KebabButton.stories.d.ts +7 -0
  341. package/KebabButton/KebabButton.stories.d.ts.map +1 -0
  342. package/KebabButton/KebabButton.test.d.ts +2 -0
  343. package/KebabButton/KebabButton.test.d.ts.map +1 -0
  344. package/KebabButton/index.d.ts +2 -0
  345. package/KebabButton/index.d.ts.map +1 -0
  346. package/KebabButton/index.js +4 -0
  347. package/KebabButton/index.mjs +4 -0
  348. package/Menu/Menu.stories.d.ts +5 -1
  349. package/Menu/Menu.stories.d.ts.map +1 -1
  350. package/Menu/MenuItem.d.ts.map +1 -1
  351. package/Menu/MenuOverlay.d.ts +18 -2
  352. package/Menu/MenuOverlay.d.ts.map +1 -1
  353. package/Menu/MenuSection.d.ts +2 -0
  354. package/Menu/MenuSection.d.ts.map +1 -1
  355. package/Menu/MenuTrigger.d.ts +1 -1
  356. package/Menu/MenuTrigger.d.ts.map +1 -1
  357. package/Menu/index.js +2 -378
  358. package/Menu/index.mjs +2 -378
  359. package/Menu/utilities.d.ts +17 -1
  360. package/Menu/utilities.d.ts.map +1 -1
  361. package/Modal/Modal.d.ts +6 -7
  362. package/Modal/Modal.d.ts.map +1 -1
  363. package/Modal/Modal.stories.d.ts +4 -1
  364. package/Modal/Modal.stories.d.ts.map +1 -1
  365. package/Modal/ModalContainer.d.ts +2 -3
  366. package/Modal/ModalContainer.d.ts.map +1 -1
  367. package/Modal/ModalFooter.d.ts +19 -13
  368. package/Modal/ModalFooter.d.ts.map +1 -1
  369. package/Modal/ModalHeader.d.ts +3 -3
  370. package/Modal/ModalHeader.d.ts.map +1 -1
  371. package/Modal/ModalTrigger.d.ts.map +1 -1
  372. package/Modal/ModalUnderlay.d.ts.map +1 -1
  373. package/Modal/context.d.ts +12 -5
  374. package/Modal/context.d.ts.map +1 -1
  375. package/Modal/index.js +193 -197
  376. package/Modal/index.mjs +186 -190
  377. package/Modal/useIntersectionDetection.d.ts +1 -1
  378. package/Modal/useIntersectionDetection.d.ts.map +1 -1
  379. package/MultiSelect/MultiSelect.d.ts +133 -0
  380. package/MultiSelect/MultiSelect.d.ts.map +1 -0
  381. package/MultiSelect/MultiSelect.stories.d.ts +13 -0
  382. package/MultiSelect/MultiSelect.stories.d.ts.map +1 -0
  383. package/MultiSelect/MultiSelect.test.d.ts +2 -0
  384. package/MultiSelect/MultiSelect.test.d.ts.map +1 -0
  385. package/MultiSelect/MultiSelectDropdown.d.ts +22 -0
  386. package/MultiSelect/MultiSelectDropdown.d.ts.map +1 -0
  387. package/MultiSelect/index.d.ts +2 -0
  388. package/MultiSelect/index.d.ts.map +1 -0
  389. package/MultiSelect/index.js +2016 -0
  390. package/MultiSelect/index.mjs +2001 -0
  391. package/MultiSelect/utilities.d.ts +3 -0
  392. package/MultiSelect/utilities.d.ts.map +1 -0
  393. package/MultipageSection/MultipageSection.d.ts +118 -0
  394. package/MultipageSection/MultipageSection.d.ts.map +1 -0
  395. package/MultipageSection/MultipageSection.stories.d.ts +8 -0
  396. package/MultipageSection/MultipageSection.stories.d.ts.map +1 -0
  397. package/MultipageSection/MultipageSection.test.d.ts +2 -0
  398. package/MultipageSection/MultipageSection.test.d.ts.map +1 -0
  399. package/MultipageSection/MultipageSectionSidebarNav.d.ts +29 -0
  400. package/MultipageSection/MultipageSectionSidebarNav.d.ts.map +1 -0
  401. package/MultipageSection/index.d.ts +2 -0
  402. package/MultipageSection/index.d.ts.map +1 -0
  403. package/MultipageSection/index.js +231 -0
  404. package/MultipageSection/index.mjs +231 -0
  405. package/NexusLayout/NexusLayout.d.ts +97 -0
  406. package/NexusLayout/NexusLayout.d.ts.map +1 -0
  407. package/NexusLayout/NexusLayout.stories.d.ts +8 -0
  408. package/NexusLayout/NexusLayout.stories.d.ts.map +1 -0
  409. package/NexusLayout/NexusLayout.test.d.ts +2 -0
  410. package/NexusLayout/NexusLayout.test.d.ts.map +1 -0
  411. package/NexusLayout/NexusLayoutActions.d.ts +38 -0
  412. package/NexusLayout/NexusLayoutActions.d.ts.map +1 -0
  413. package/NexusLayout/NexusLayoutMultipage.d.ts +27 -0
  414. package/NexusLayout/NexusLayoutMultipage.d.ts.map +1 -0
  415. package/NexusLayout/NexusLayoutMultipageSidebarNav.d.ts +31 -0
  416. package/NexusLayout/NexusLayoutMultipageSidebarNav.d.ts.map +1 -0
  417. package/NexusLayout/NexusLayoutNav.d.ts +28 -0
  418. package/NexusLayout/NexusLayoutNav.d.ts.map +1 -0
  419. package/NexusLayout/index.d.ts +2 -0
  420. package/NexusLayout/index.d.ts.map +1 -0
  421. package/NexusLayout/index.js +370 -0
  422. package/NexusLayout/index.mjs +370 -0
  423. package/Notification/Notification.d.ts +12 -1
  424. package/Notification/Notification.d.ts.map +1 -1
  425. package/Notification/Notification.stories.d.ts +1 -1
  426. package/Notification/Notification.stories.d.ts.map +1 -1
  427. package/Notification/NotificationContainer.d.ts.map +1 -1
  428. package/Notification/NotificationRegion.d.ts +7 -2
  429. package/Notification/NotificationRegion.d.ts.map +1 -1
  430. package/Notification/NotificationTransition.d.ts +29 -0
  431. package/Notification/NotificationTransition.d.ts.map +1 -0
  432. package/Notification/index.js +5 -1491
  433. package/Notification/index.mjs +5 -1475
  434. package/Pagination/Pagination.d.ts +81 -0
  435. package/Pagination/Pagination.d.ts.map +1 -0
  436. package/Pagination/Pagination.stories.d.ts +9 -0
  437. package/Pagination/Pagination.stories.d.ts.map +1 -0
  438. package/Pagination/Pagination.test.d.ts +2 -0
  439. package/Pagination/Pagination.test.d.ts.map +1 -0
  440. package/Pagination/PaginationButton.d.ts +9 -0
  441. package/Pagination/PaginationButton.d.ts.map +1 -0
  442. package/Pagination/PaginationDropdown.d.ts +24 -0
  443. package/Pagination/PaginationDropdown.d.ts.map +1 -0
  444. package/Pagination/index.d.ts +2 -0
  445. package/Pagination/index.d.ts.map +1 -0
  446. package/Pagination/index.js +131 -0
  447. package/Pagination/index.mjs +131 -0
  448. package/PillGroup/PillGroup.d.ts +89 -0
  449. package/PillGroup/PillGroup.d.ts.map +1 -0
  450. package/PillGroup/PillGroup.stories.d.ts +13 -0
  451. package/PillGroup/PillGroup.stories.d.ts.map +1 -0
  452. package/PillGroup/PillGroup.test.d.ts +2 -0
  453. package/PillGroup/PillGroup.test.d.ts.map +1 -0
  454. package/PillGroup/PillGroupContext.d.ts +9 -0
  455. package/PillGroup/PillGroupContext.d.ts.map +1 -0
  456. package/PillGroup/index.d.ts +2 -0
  457. package/PillGroup/index.d.ts.map +1 -0
  458. package/PillGroup/index.js +5 -0
  459. package/PillGroup/index.mjs +5 -0
  460. package/PlanCard/PlanCard.d.ts +89 -0
  461. package/PlanCard/PlanCard.d.ts.map +1 -0
  462. package/PlanCard/PlanCard.stories.d.ts +12 -0
  463. package/PlanCard/PlanCard.stories.d.ts.map +1 -0
  464. package/PlanCard/PlanCard.test.d.ts +2 -0
  465. package/PlanCard/PlanCard.test.d.ts.map +1 -0
  466. package/PlanCard/illustrations/Building01/Building01.d.ts +3 -0
  467. package/PlanCard/illustrations/Building01/Building01.d.ts.map +1 -0
  468. package/PlanCard/illustrations/Building01/index.d.ts +2 -0
  469. package/PlanCard/illustrations/Building01/index.d.ts.map +1 -0
  470. package/PlanCard/illustrations/Building01/index.js +541 -0
  471. package/PlanCard/illustrations/Building01/index.mjs +541 -0
  472. package/PlanCard/illustrations/Building02/Building02.d.ts +3 -0
  473. package/PlanCard/illustrations/Building02/Building02.d.ts.map +1 -0
  474. package/PlanCard/illustrations/Building02/index.d.ts +2 -0
  475. package/PlanCard/illustrations/Building02/index.d.ts.map +1 -0
  476. package/PlanCard/illustrations/Building02/index.js +215 -0
  477. package/PlanCard/illustrations/Building02/index.mjs +215 -0
  478. package/PlanCard/illustrations/Building03/Building03.d.ts +3 -0
  479. package/PlanCard/illustrations/Building03/Building03.d.ts.map +1 -0
  480. package/PlanCard/illustrations/Building03/index.d.ts +2 -0
  481. package/PlanCard/illustrations/Building03/index.d.ts.map +1 -0
  482. package/PlanCard/illustrations/Building03/index.js +782 -0
  483. package/PlanCard/illustrations/Building03/index.mjs +782 -0
  484. package/PlanCard/illustrations/Building04/Building04.d.ts +3 -0
  485. package/PlanCard/illustrations/Building04/Building04.d.ts.map +1 -0
  486. package/PlanCard/illustrations/Building04/index.d.ts +2 -0
  487. package/PlanCard/illustrations/Building04/index.d.ts.map +1 -0
  488. package/PlanCard/illustrations/Building04/index.js +1537 -0
  489. package/PlanCard/illustrations/Building04/index.mjs +1537 -0
  490. package/PlanCard/index.d.ts +2 -0
  491. package/PlanCard/index.d.ts.map +1 -0
  492. package/PlanCard/index.js +169 -0
  493. package/PlanCard/index.mjs +169 -0
  494. package/ProductLayout/HelpMenu.d.ts +8 -0
  495. package/ProductLayout/HelpMenu.d.ts.map +1 -0
  496. package/ProductLayout/LayoutScreenSizeRenderer.d.ts +21 -0
  497. package/ProductLayout/LayoutScreenSizeRenderer.d.ts.map +1 -0
  498. package/ProductLayout/ProductLayout.d.ts +75 -0
  499. package/ProductLayout/ProductLayout.d.ts.map +1 -0
  500. package/ProductLayout/ProductLayout.stories.d.ts +8 -0
  501. package/ProductLayout/ProductLayout.stories.d.ts.map +1 -0
  502. package/ProductLayout/ProductLayout.test.d.ts +2 -0
  503. package/ProductLayout/ProductLayout.test.d.ts.map +1 -0
  504. package/ProductLayout/ProductLayoutContent.d.ts +9 -0
  505. package/ProductLayout/ProductLayoutContent.d.ts.map +1 -0
  506. package/ProductLayout/ProductLayoutHeader.d.ts +44 -0
  507. package/ProductLayout/ProductLayoutHeader.d.ts.map +1 -0
  508. package/ProductLayout/ProductLayoutSidebar.d.ts +9 -0
  509. package/ProductLayout/ProductLayoutSidebar.d.ts.map +1 -0
  510. package/ProductLayout/ProductLayoutTabbedContent.d.ts +15 -0
  511. package/ProductLayout/ProductLayoutTabbedContent.d.ts.map +1 -0
  512. package/ProductLayout/constants.d.ts +2 -0
  513. package/ProductLayout/constants.d.ts.map +1 -0
  514. package/ProductLayout/context.d.ts +13 -0
  515. package/ProductLayout/context.d.ts.map +1 -0
  516. package/ProductLayout/index.d.ts +2 -0
  517. package/ProductLayout/index.d.ts.map +1 -0
  518. package/ProductLayout/index.js +319 -0
  519. package/ProductLayout/index.mjs +319 -0
  520. package/Provider/Provider.d.ts +22 -5
  521. package/Provider/Provider.d.ts.map +1 -1
  522. package/Provider/index.js +28 -23
  523. package/Provider/index.mjs +28 -23
  524. package/README.md +68 -37
  525. package/RadioButtonGroup/RadioButtonGroup.d.ts +103 -0
  526. package/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -0
  527. package/RadioButtonGroup/RadioButtonGroup.stories.d.ts +11 -0
  528. package/RadioButtonGroup/RadioButtonGroup.stories.d.ts.map +1 -0
  529. package/RadioButtonGroup/RadioButtonGroup.test.d.ts +2 -0
  530. package/RadioButtonGroup/RadioButtonGroup.test.d.ts.map +1 -0
  531. package/RadioButtonGroup/index.d.ts +2 -0
  532. package/RadioButtonGroup/index.d.ts.map +1 -0
  533. package/RadioButtonGroup/index.js +279 -0
  534. package/RadioButtonGroup/index.mjs +279 -0
  535. package/RadioGroup/RadioGroup.d.ts +6 -6
  536. package/RadioGroup/RadioGroup.d.ts.map +1 -1
  537. package/RadioGroup/RadioGroup.stories.d.ts +1 -1
  538. package/RadioGroup/RadioGroup.stories.d.ts.map +1 -1
  539. package/RadioGroup/index.js +3 -299
  540. package/RadioGroup/index.mjs +3 -299
  541. package/RangeCalendar/RangeCalendar.d.ts +71 -0
  542. package/RangeCalendar/RangeCalendar.d.ts.map +1 -0
  543. package/RangeCalendar/RangeCalendar.stories.d.ts +15 -0
  544. package/RangeCalendar/RangeCalendar.stories.d.ts.map +1 -0
  545. package/RangeCalendar/RangeCalendar.test.d.ts +3 -0
  546. package/RangeCalendar/RangeCalendar.test.d.ts.map +1 -0
  547. package/RangeCalendar/index.d.ts +2 -0
  548. package/RangeCalendar/index.d.ts.map +1 -0
  549. package/RangeCalendar/index.js +4 -0
  550. package/RangeCalendar/index.mjs +4 -0
  551. package/SearchNav/CTAGroup.d.ts +21 -0
  552. package/SearchNav/CTAGroup.d.ts.map +1 -0
  553. package/SearchNav/CondensedSearchNav.d.ts +9 -0
  554. package/SearchNav/CondensedSearchNav.d.ts.map +1 -0
  555. package/SearchNav/Logo.d.ts +13 -0
  556. package/SearchNav/Logo.d.ts.map +1 -0
  557. package/SearchNav/LogoGroup.d.ts +21 -0
  558. package/SearchNav/LogoGroup.d.ts.map +1 -0
  559. package/SearchNav/PrimaryCTAItem.d.ts +14 -0
  560. package/SearchNav/PrimaryCTAItem.d.ts.map +1 -0
  561. package/SearchNav/Search.d.ts +13 -0
  562. package/SearchNav/Search.d.ts.map +1 -0
  563. package/SearchNav/SearchNav.d.ts +105 -0
  564. package/SearchNav/SearchNav.d.ts.map +1 -0
  565. package/SearchNav/SearchNav.stories.d.ts +14 -0
  566. package/SearchNav/SearchNav.stories.d.ts.map +1 -0
  567. package/SearchNav/SearchNav.test.d.ts +2 -0
  568. package/SearchNav/SearchNav.test.d.ts.map +1 -0
  569. package/SearchNav/SecondaryCTAItem.d.ts +23 -0
  570. package/SearchNav/SecondaryCTAItem.d.ts.map +1 -0
  571. package/SearchNav/Selector.d.ts +15 -0
  572. package/SearchNav/Selector.d.ts.map +1 -0
  573. package/SearchNav/SelectorTrigger.d.ts +14 -0
  574. package/SearchNav/SelectorTrigger.d.ts.map +1 -0
  575. package/SearchNav/Separator.d.ts +9 -0
  576. package/SearchNav/Separator.d.ts.map +1 -0
  577. package/SearchNav/Title.d.ts +12 -0
  578. package/SearchNav/Title.d.ts.map +1 -0
  579. package/SearchNav/context.d.ts +20 -0
  580. package/SearchNav/context.d.ts.map +1 -0
  581. package/SearchNav/index.d.ts +2 -0
  582. package/SearchNav/index.d.ts.map +1 -0
  583. package/SearchNav/index.js +532 -0
  584. package/SearchNav/index.mjs +516 -0
  585. package/SearchNav/utilities.d.ts +14 -0
  586. package/SearchNav/utilities.d.ts.map +1 -0
  587. package/SectionCard/SectionCard.d.ts +53 -0
  588. package/SectionCard/SectionCard.d.ts.map +1 -0
  589. package/SectionCard/SectionCard.stories.d.ts +11 -0
  590. package/SectionCard/SectionCard.stories.d.ts.map +1 -0
  591. package/SectionCard/SectionCard.test.d.ts +2 -0
  592. package/SectionCard/SectionCard.test.d.ts.map +1 -0
  593. package/SectionCard/index.d.ts +2 -0
  594. package/SectionCard/index.d.ts.map +1 -0
  595. package/SectionCard/index.js +121 -0
  596. package/SectionCard/index.mjs +121 -0
  597. package/Select/Select.d.ts +59 -58
  598. package/Select/Select.d.ts.map +1 -1
  599. package/Select/Select.stories.d.ts +2 -1
  600. package/Select/Select.stories.d.ts.map +1 -1
  601. package/Select/SelectField.d.ts +3 -4
  602. package/Select/SelectField.d.ts.map +1 -1
  603. package/Select/SelectOption.d.ts +4 -0
  604. package/Select/SelectOption.d.ts.map +1 -1
  605. package/Select/SelectOverlay.d.ts.map +1 -1
  606. package/Select/SelectSection.d.ts.map +1 -1
  607. package/Select/SelectTrigger.d.ts +1 -1
  608. package/Select/SelectTrigger.d.ts.map +1 -1
  609. package/Select/index.js +102 -776
  610. package/Select/index.mjs +98 -772
  611. package/SelectorErrorTooltip/index.js +2 -104
  612. package/SelectorErrorTooltip/index.mjs +2 -88
  613. package/Spinner/Spinner.d.ts +73 -0
  614. package/Spinner/Spinner.d.ts.map +1 -0
  615. package/Spinner/Spinner.stories.d.ts +11 -0
  616. package/Spinner/Spinner.stories.d.ts.map +1 -0
  617. package/Spinner/Spinner.test.d.ts +2 -0
  618. package/Spinner/Spinner.test.d.ts.map +1 -0
  619. package/Spinner/index.d.ts +2 -0
  620. package/Spinner/index.d.ts.map +1 -0
  621. package/Spinner/index.js +4 -0
  622. package/Spinner/index.mjs +4 -0
  623. package/SplitToggleCard/SplitToggleCard.d.ts +57 -0
  624. package/SplitToggleCard/SplitToggleCard.d.ts.map +1 -0
  625. package/SplitToggleCard/SplitToggleCard.stories.d.ts +11 -0
  626. package/SplitToggleCard/SplitToggleCard.stories.d.ts.map +1 -0
  627. package/SplitToggleCard/SplitToggleCard.test.d.ts +2 -0
  628. package/SplitToggleCard/SplitToggleCard.test.d.ts.map +1 -0
  629. package/SplitToggleCard/index.d.ts +2 -0
  630. package/SplitToggleCard/index.d.ts.map +1 -0
  631. package/SplitToggleCard/index.js +56 -0
  632. package/SplitToggleCard/index.mjs +56 -0
  633. package/Stepper/Step.d.ts +33 -0
  634. package/Stepper/Step.d.ts.map +1 -0
  635. package/Stepper/StepButton.d.ts +25 -0
  636. package/Stepper/StepButton.d.ts.map +1 -0
  637. package/Stepper/Stepper.d.ts +104 -0
  638. package/Stepper/Stepper.d.ts.map +1 -0
  639. package/Stepper/Stepper.stories.d.ts +10 -0
  640. package/Stepper/Stepper.stories.d.ts.map +1 -0
  641. package/Stepper/Stepper.test.d.ts +2 -0
  642. package/Stepper/Stepper.test.d.ts.map +1 -0
  643. package/Stepper/StepperContext.d.ts +11 -0
  644. package/Stepper/StepperContext.d.ts.map +1 -0
  645. package/Stepper/index.d.ts +2 -0
  646. package/Stepper/index.d.ts.map +1 -0
  647. package/Stepper/index.js +4 -0
  648. package/Stepper/index.mjs +4 -0
  649. package/TabNav/TabNav.d.ts +29 -0
  650. package/TabNav/TabNav.d.ts.map +1 -0
  651. package/TabNav/TabNav.stories.d.ts +9 -0
  652. package/TabNav/TabNav.stories.d.ts.map +1 -0
  653. package/TabNav/TabNav.test.d.ts +2 -0
  654. package/TabNav/TabNav.test.d.ts.map +1 -0
  655. package/TabNav/TabNavItem.d.ts +12 -0
  656. package/TabNav/TabNavItem.d.ts.map +1 -0
  657. package/TabNav/index.d.ts +2 -0
  658. package/TabNav/index.d.ts.map +1 -0
  659. package/TabNav/index.js +4 -0
  660. package/TabNav/index.mjs +4 -0
  661. package/TabPanels/TabPanels.d.ts +68 -0
  662. package/TabPanels/TabPanels.d.ts.map +1 -0
  663. package/TabPanels/TabPanels.stories.d.ts +14 -0
  664. package/TabPanels/TabPanels.stories.d.ts.map +1 -0
  665. package/TabPanels/TabPanels.test.d.ts +2 -0
  666. package/TabPanels/TabPanels.test.d.ts.map +1 -0
  667. package/TabPanels/TabPanelsItem.d.ts +15 -0
  668. package/TabPanels/TabPanelsItem.d.ts.map +1 -0
  669. package/TabPanels/TabPanelsPanels.d.ts +14 -0
  670. package/TabPanels/TabPanelsPanels.d.ts.map +1 -0
  671. package/TabPanels/TabPanelsTabs.d.ts +15 -0
  672. package/TabPanels/TabPanelsTabs.d.ts.map +1 -0
  673. package/TabPanels/context.d.ts +10 -0
  674. package/TabPanels/context.d.ts.map +1 -0
  675. package/TabPanels/index.d.ts +2 -0
  676. package/TabPanels/index.d.ts.map +1 -0
  677. package/TabPanels/index.js +333 -0
  678. package/TabPanels/index.mjs +333 -0
  679. package/Tabs/Edge.d.ts +8 -0
  680. package/Tabs/Edge.d.ts.map +1 -0
  681. package/Tabs/Tabs.d.ts +23 -0
  682. package/Tabs/Tabs.d.ts.map +1 -0
  683. package/Tabs/TabsItem.d.ts +13 -0
  684. package/Tabs/TabsItem.d.ts.map +1 -0
  685. package/Tabs/context.d.ts +7 -0
  686. package/Tabs/context.d.ts.map +1 -0
  687. package/Tabs/index.d.ts +2 -0
  688. package/Tabs/index.d.ts.map +1 -0
  689. package/Tabs/index.js +4 -0
  690. package/Tabs/index.mjs +4 -0
  691. package/Tabs/useIndicatorSizing.d.ts +11 -0
  692. package/Tabs/useIndicatorSizing.d.ts.map +1 -0
  693. package/Tabs/useScrollIntoViewIfNeeded.d.ts +11 -0
  694. package/Tabs/useScrollIntoViewIfNeeded.d.ts.map +1 -0
  695. package/Tabs/useScrollbar.d.ts +6 -0
  696. package/Tabs/useScrollbar.d.ts.map +1 -0
  697. package/Tabs/util.d.ts +9 -0
  698. package/Tabs/util.d.ts.map +1 -0
  699. package/Text/Text.d.ts +20 -6
  700. package/Text/Text.d.ts.map +1 -1
  701. package/Text/Text.stories.d.ts +3 -1
  702. package/Text/Text.stories.d.ts.map +1 -1
  703. package/Text/index.js +2 -85
  704. package/Text/index.mjs +2 -85
  705. package/TextField/TextField.d.ts +3 -3
  706. package/TextField/TextField.d.ts.map +1 -1
  707. package/TextField/TextField.stories.d.ts +2 -1
  708. package/TextField/TextField.stories.d.ts.map +1 -1
  709. package/TextField/index.js +2 -53
  710. package/TextField/index.mjs +2 -53
  711. package/Textarea/Textarea.d.ts +3 -3
  712. package/Textarea/Textarea.d.ts.map +1 -1
  713. package/Textarea/Textarea.stories.d.ts +1 -1
  714. package/Textarea/Textarea.stories.d.ts.map +1 -1
  715. package/Textarea/index.js +4 -14
  716. package/Textarea/index.mjs +4 -14
  717. package/Theme/Theme.d.ts +2 -1
  718. package/Theme/Theme.d.ts.map +1 -1
  719. package/Theme/Theme.stories.d.ts +8 -0
  720. package/Theme/Theme.stories.d.ts.map +1 -0
  721. package/Theme/index.js +5 -145
  722. package/Theme/index.mjs +5 -145
  723. package/Toggle/Switch.d.ts +4 -0
  724. package/Toggle/Switch.d.ts.map +1 -1
  725. package/Toggle/Toggle.d.ts +42 -1
  726. package/Toggle/Toggle.d.ts.map +1 -1
  727. package/Toggle/Toggle.stories.d.ts +2 -1
  728. package/Toggle/Toggle.stories.d.ts.map +1 -1
  729. package/Toggle/index.js +2 -117
  730. package/Toggle/index.mjs +2 -117
  731. package/Toggle/utils.d.ts +7 -0
  732. package/Toggle/utils.d.ts.map +1 -0
  733. package/ToggleCard/ToggleCard.d.ts +88 -0
  734. package/ToggleCard/ToggleCard.d.ts.map +1 -0
  735. package/ToggleCard/ToggleCard.stories.d.ts +12 -0
  736. package/ToggleCard/ToggleCard.stories.d.ts.map +1 -0
  737. package/ToggleCard/ToggleCard.test.d.ts +2 -0
  738. package/ToggleCard/ToggleCard.test.d.ts.map +1 -0
  739. package/ToggleCard/index.d.ts +2 -0
  740. package/ToggleCard/index.d.ts.map +1 -0
  741. package/ToggleCard/index.js +52 -0
  742. package/ToggleCard/index.mjs +52 -0
  743. package/Tooltip/Tooltip.stories.d.ts +3 -1
  744. package/Tooltip/Tooltip.stories.d.ts.map +1 -1
  745. package/Tooltip/Tooltip.test.d.ts.map +1 -1
  746. package/Tooltip/index.js +2 -11
  747. package/Tooltip/index.mjs +1 -10
  748. package/UnstyledButton/UnstyledButton.d.ts +2 -2
  749. package/UnstyledButton/UnstyledButton.d.ts.map +1 -1
  750. package/UnstyledButton/UnstyledPressButton.d.ts +10 -0
  751. package/UnstyledButton/UnstyledPressButton.d.ts.map +1 -0
  752. package/UnstyledButton/index.js +2 -7
  753. package/UnstyledButton/index.mjs +1 -6
  754. package/VerticalNav/Container.d.ts +4 -0
  755. package/VerticalNav/Container.d.ts.map +1 -0
  756. package/VerticalNav/ExpandButton.d.ts +7 -0
  757. package/VerticalNav/ExpandButton.d.ts.map +1 -0
  758. package/VerticalNav/Item.d.ts +37 -0
  759. package/VerticalNav/Item.d.ts.map +1 -0
  760. package/VerticalNav/ListVerticalNav.d.ts +29 -0
  761. package/VerticalNav/ListVerticalNav.d.ts.map +1 -0
  762. package/VerticalNav/NavItem.d.ts +13 -0
  763. package/VerticalNav/NavItem.d.ts.map +1 -0
  764. package/VerticalNav/Subnav.d.ts +18 -0
  765. package/VerticalNav/Subnav.d.ts.map +1 -0
  766. package/VerticalNav/SubnavItem.d.ts +9 -0
  767. package/VerticalNav/SubnavItem.d.ts.map +1 -0
  768. package/VerticalNav/SubnavItemDot.d.ts +7 -0
  769. package/VerticalNav/SubnavItemDot.d.ts.map +1 -0
  770. package/VerticalNav/SupplementaryAction.d.ts +26 -0
  771. package/VerticalNav/SupplementaryAction.d.ts.map +1 -0
  772. package/VerticalNav/TreeVerticalNav.d.ts +58 -0
  773. package/VerticalNav/TreeVerticalNav.d.ts.map +1 -0
  774. package/VerticalNav/VerticalNav.d.ts +29 -0
  775. package/VerticalNav/VerticalNav.d.ts.map +1 -0
  776. package/VerticalNav/VerticalNav.stories.d.ts +13 -0
  777. package/VerticalNav/VerticalNav.stories.d.ts.map +1 -0
  778. package/VerticalNav/VerticalNav.test.d.ts +2 -0
  779. package/VerticalNav/VerticalNav.test.d.ts.map +1 -0
  780. package/VerticalNav/context.d.ts +4 -0
  781. package/VerticalNav/context.d.ts.map +1 -0
  782. package/VerticalNav/index.d.ts +2 -0
  783. package/VerticalNav/index.d.ts.map +1 -0
  784. package/VerticalNav/index.js +320 -0
  785. package/VerticalNav/index.mjs +320 -0
  786. package/VerticalStack/VerticalStack.d.ts +2 -3
  787. package/VerticalStack/VerticalStack.d.ts.map +1 -1
  788. package/VerticalStack/VerticalStack.stories.d.ts +1 -1
  789. package/VerticalStack/VerticalStack.stories.d.ts.map +1 -1
  790. package/VerticalStack/index.js +2 -53
  791. package/VerticalStack/index.mjs +2 -53
  792. package/__chunks__/ArrowBack-BFS-tCpV.mjs +41 -0
  793. package/__chunks__/ArrowBack-C_LSatif.js +57 -0
  794. package/__chunks__/ArrowForwardIos-DSeLeLhY.mjs +41 -0
  795. package/__chunks__/ArrowForwardIos-DpRiDPNZ.js +57 -0
  796. package/__chunks__/BaseCollection-BFCqPRBy.js +256 -0
  797. package/__chunks__/BaseCollection-BVO0lZBs.mjs +257 -0
  798. package/__chunks__/Button-B4DxcTvZ.mjs +110 -0
  799. package/__chunks__/Button-BpQFyL49.js +109 -0
  800. package/__chunks__/Button-CQdi4TMV.js +102 -0
  801. package/__chunks__/Button-JL1YQxJ5.mjs +103 -0
  802. package/__chunks__/CSSTransition-C23znX_H.js +1687 -0
  803. package/__chunks__/CSSTransition-DZuEb-M0.mjs +1688 -0
  804. package/__chunks__/Calendar-BEjAu6AJ.mjs +43 -0
  805. package/__chunks__/Calendar-QlM--CET.js +42 -0
  806. package/__chunks__/CalendarBase-BuIkpPIv.mjs +3567 -0
  807. package/__chunks__/CalendarBase-CSr5E__l.js +3566 -0
  808. package/__chunks__/Card-BgjWYPVY.mjs +288 -0
  809. package/__chunks__/Card-LPIW5drP.js +287 -0
  810. package/__chunks__/CheckCircle-C9h2PNWU.mjs +41 -0
  811. package/__chunks__/CheckCircle-lgmtkEe6.js +57 -0
  812. package/__chunks__/Checkbox-B_-6lfKk.js +268 -0
  813. package/__chunks__/Checkbox-DcaO0fC3.mjs +253 -0
  814. package/__chunks__/{Close-e92ca701.js → Close-BQ2IlPyf.js} +9 -17
  815. package/__chunks__/Close-Cq6Q6MN6.mjs +41 -0
  816. package/__chunks__/CodeSnippet-25l4r2Gh.js +5696 -0
  817. package/__chunks__/CodeSnippet-B3nsMpvq.mjs +5697 -0
  818. package/__chunks__/DatePickerBase-BQA4SEJK.mjs +2727 -0
  819. package/__chunks__/DatePickerBase-Cas79CEI.js +2741 -0
  820. package/__chunks__/Dialog-DIhV589X.mjs +371 -0
  821. package/__chunks__/Dialog-iU9BJB0o.js +370 -0
  822. package/__chunks__/EasyPostLogo-C9-Q0lSn.js +22 -0
  823. package/__chunks__/EasyPostLogo-DgIgAGa3.mjs +23 -0
  824. package/__chunks__/ExpandMore400-CH7GNxqk.mjs +41 -0
  825. package/__chunks__/{ExpandMore400-92646971.js → ExpandMore400-CJpvxyJm.js} +9 -17
  826. package/__chunks__/FocusScope-B_FktBGw.mjs +870 -0
  827. package/__chunks__/FocusScope-CncDnO-E.js +869 -0
  828. package/__chunks__/HelpMenu-BZRV42ab.mjs +119 -0
  829. package/__chunks__/HelpMenu-C2t8KQuU.js +135 -0
  830. package/__chunks__/Hidden-C0ANs40F.js +40 -0
  831. package/__chunks__/Hidden-COe48wta.mjs +41 -0
  832. package/__chunks__/HorizontalGrid-CAoDcmPW.js +63 -0
  833. package/__chunks__/HorizontalGrid-DbLeJBt8.mjs +64 -0
  834. package/__chunks__/HorizontalStack-CJavrBHm.mjs +52 -0
  835. package/__chunks__/HorizontalStack-CWdKKY8L.js +51 -0
  836. package/__chunks__/Icon-BIpaQJ_I.mjs +41 -0
  837. package/__chunks__/Icon-BRlbo3RF.js +40 -0
  838. package/__chunks__/Input-BIRbdEcT.mjs +79 -0
  839. package/__chunks__/Input-CwXLFYJK.js +78 -0
  840. package/__chunks__/InputCaption-CccF4ynE.js +65 -0
  841. package/__chunks__/InputCaption-DoyGkWQe.mjs +66 -0
  842. package/__chunks__/InputField-CAY9O90X.mjs +236 -0
  843. package/__chunks__/InputField-DGb4ZDoR.js +251 -0
  844. package/__chunks__/InputField.module-ClTfhFSB.mjs +65 -0
  845. package/__chunks__/InputField.module-CmwwDXio.js +64 -0
  846. package/__chunks__/InputIcon-CEATdJ1j.mjs +51 -0
  847. package/__chunks__/InputIcon-DDKBJ_Tk.js +50 -0
  848. package/__chunks__/Item-FD89BR0i.mjs +80 -0
  849. package/__chunks__/Item-h_oPjYVR.js +79 -0
  850. package/__chunks__/KebabButton-D-5Mjaj0.mjs +96 -0
  851. package/__chunks__/KebabButton-TbapERgy.js +111 -0
  852. package/__chunks__/KeyboardDoubleArrowRight-AAMLvGk-.mjs +79 -0
  853. package/__chunks__/KeyboardDoubleArrowRight-Ber8mUIO.js +95 -0
  854. package/__chunks__/Label-B6GdFt8f.js +47 -0
  855. package/__chunks__/Label-LpYJUKnw.mjs +48 -0
  856. package/__chunks__/LiveAnnouncer-BSV5-C0m.mjs +81 -0
  857. package/__chunks__/LiveAnnouncer-CzeNwq2D.js +80 -0
  858. package/__chunks__/Menu-Ci1FGh8B.mjs +553 -0
  859. package/__chunks__/Menu-MGDv1tob.js +552 -0
  860. package/__chunks__/Menu-OacI_98l.js +57 -0
  861. package/__chunks__/Menu-qMqvSorL.mjs +41 -0
  862. package/__chunks__/Notification-CFtJx7Uz.js +1696 -0
  863. package/__chunks__/Notification-YATlp3lK.mjs +1681 -0
  864. package/__chunks__/NumberFormatter-CXW1Iqpu.js +153 -0
  865. package/__chunks__/NumberFormatter-p5KNJNTT.mjs +154 -0
  866. package/__chunks__/Overlay-BNP_t3v4.js +164 -0
  867. package/__chunks__/Overlay-Dkjxuk6V.mjs +165 -0
  868. package/__chunks__/PillGroup-BK8VCf3B.js +2242 -0
  869. package/__chunks__/PillGroup-DN72MPhg.mjs +2243 -0
  870. package/__chunks__/RadioGroup-BfKaJnSo.mjs +375 -0
  871. package/__chunks__/RadioGroup-BiCqtR0F.js +374 -0
  872. package/__chunks__/RangeCalendar-DVnJU360.mjs +229 -0
  873. package/__chunks__/RangeCalendar-Ph-WM1Bb.js +228 -0
  874. package/__chunks__/Search-BY7IgEyX.js +57 -0
  875. package/__chunks__/Search-Cyblmqo5.mjs +41 -0
  876. package/__chunks__/SelectOverlay-C23EXgqX.mjs +575 -0
  877. package/__chunks__/SelectOverlay-DpI9vNLw.js +574 -0
  878. package/__chunks__/SelectionIndicator-Co962vpA.mjs +16 -0
  879. package/__chunks__/SelectionIndicator-DW9MR_Io.js +15 -0
  880. package/__chunks__/SelectionManager-CFPcxpAj.js +713 -0
  881. package/__chunks__/SelectionManager-QKdFux5L.mjs +714 -0
  882. package/__chunks__/SelectorErrorTooltip-BNLrFRLN.js +98 -0
  883. package/__chunks__/SelectorErrorTooltip-rO2-k3Gl.mjs +82 -0
  884. package/__chunks__/Spinner-COsekFr1.mjs +96 -0
  885. package/__chunks__/Spinner-vRnrcEz0.js +95 -0
  886. package/__chunks__/Stepper-DlI-16t-.mjs +180 -0
  887. package/__chunks__/Stepper-lhcjfVFY.js +179 -0
  888. package/__chunks__/TabNav-BNhQF0b0.mjs +60 -0
  889. package/__chunks__/TabNav-bVgyfEV7.js +59 -0
  890. package/__chunks__/Tabs-BaROnbKg.mjs +263 -0
  891. package/__chunks__/Tabs-DSngzN9A.js +262 -0
  892. package/__chunks__/Text-B9fD1q8n.js +4 -0
  893. package/__chunks__/Text-BBBs9zA4.mjs +5 -0
  894. package/__chunks__/Text-D6oT5WJQ.mjs +124 -0
  895. package/__chunks__/Text-DkzMEqky.js +123 -0
  896. package/__chunks__/{ExpandMore400-7c5263a4.mjs → TextField-818kTElu.mjs} +16 -20
  897. package/__chunks__/{Close-25146223.mjs → TextField-DKQVJPP_.js} +17 -22
  898. package/__chunks__/Theme-C2nSZUpG.js +156 -0
  899. package/__chunks__/Theme-M__gFMM3.mjs +157 -0
  900. package/__chunks__/Toggle-BmJjrdVn.js +168 -0
  901. package/__chunks__/Toggle-DlDQ7rr2.mjs +169 -0
  902. package/__chunks__/{index-5e281e5a.js → Tooltip-BSMvNula.js} +160 -157
  903. package/__chunks__/{index-d80c6f1f.mjs → Tooltip-BXRi0h4E.mjs} +152 -149
  904. package/__chunks__/UnstyledButton-DW8CjaXN.js +81 -0
  905. package/__chunks__/UnstyledButton-DxJLvL-G.mjs +82 -0
  906. package/__chunks__/VerticalStack-BHkiocKU.js +56 -0
  907. package/__chunks__/VerticalStack-DoMqBfYD.mjs +57 -0
  908. package/__chunks__/VisuallyHidden-BrpRPZGD.mjs +75 -0
  909. package/__chunks__/VisuallyHidden-CIjowwM_.js +74 -0
  910. package/__chunks__/_commonjsHelpers-Bc2YnDe1.js +7 -0
  911. package/__chunks__/_commonjsHelpers-DWwsNxpa.mjs +8 -0
  912. package/__chunks__/ariaHideOutside-BYq9cUwo.mjs +411 -0
  913. package/__chunks__/ariaHideOutside-Dl8SH3FU.js +410 -0
  914. package/__chunks__/config-ChibgUKd.js +5 -0
  915. package/__chunks__/config-DeltQABu.mjs +6 -0
  916. package/__chunks__/context-5UR8ToA1.mjs +95 -0
  917. package/__chunks__/context-DJdNiOsb.js +94 -0
  918. package/__chunks__/filterDOMProps-eGTqWSTd.mjs +71 -0
  919. package/__chunks__/filterDOMProps-p6wKN-SS.js +70 -0
  920. package/__chunks__/focusSafely-C5HWSeZE.js +84 -0
  921. package/__chunks__/focusSafely-CeJM_lIS.mjs +85 -0
  922. package/__chunks__/getScrollParent-B5CCP-yO.mjs +10 -0
  923. package/__chunks__/getScrollParent-DNz2ReWu.js +9 -0
  924. package/__chunks__/index-6ObXAT_4.js +147 -0
  925. package/__chunks__/index-CqNUlUoB.js +217 -0
  926. package/__chunks__/index-DOQwYO8h.mjs +148 -0
  927. package/__chunks__/index-ee-P7jQr.mjs +218 -0
  928. package/__chunks__/isScrollable-CE3Xdlg4.js +9 -0
  929. package/__chunks__/isScrollable-DwbLAiO0.mjs +10 -0
  930. package/__chunks__/keyboard-C0kScltA.mjs +23 -0
  931. package/__chunks__/keyboard-CchXvoCh.js +22 -0
  932. package/__chunks__/lodash-B19QVK6q.mjs +5492 -0
  933. package/__chunks__/lodash-CS8bkZ7S.js +5491 -0
  934. package/__chunks__/mergeProps-COnPag8r.mjs +220 -0
  935. package/__chunks__/mergeProps-DLPcevok.js +219 -0
  936. package/__chunks__/mergeRefs-ClQjEiLh.mjs +24 -0
  937. package/__chunks__/mergeRefs-qNwPManW.js +23 -0
  938. package/__chunks__/number-9u40S_vx.mjs +41 -0
  939. package/__chunks__/number-Bc1GdGoD.js +40 -0
  940. package/__chunks__/objectWithoutPropertiesLoose-C4Mip8ZU.js +21 -0
  941. package/__chunks__/objectWithoutPropertiesLoose-COdxq1Ge.mjs +22 -0
  942. package/__chunks__/omit-CC3uE8z5.js +2245 -0
  943. package/__chunks__/omit-CYoLXTjq.mjs +2246 -0
  944. package/__chunks__/{overlayscrollbars-react.es-f2a0bcff.js → overlayscrollbars-react-BFy4nomP.js} +982 -880
  945. package/__chunks__/{overlayscrollbars-react.es-7f332a3b.mjs → overlayscrollbars-react-BiRJpzDY.mjs} +982 -880
  946. package/__chunks__/scrollIntoView-C4mf6apy.mjs +116 -0
  947. package/__chunks__/scrollIntoView-Dc7KrfAg.js +115 -0
  948. package/__chunks__/tokens-BXztpSjv.mjs +326 -0
  949. package/__chunks__/tokens-CJGKzS0r.js +325 -0
  950. package/__chunks__/useButton-DLOnoEAf.mjs +59 -0
  951. package/__chunks__/useButton-YEnc5PHl.js +58 -0
  952. package/__chunks__/useCollator-BR9eXLiM.mjs +13 -0
  953. package/__chunks__/useCollator-ClAv0Zlw.js +12 -0
  954. package/__chunks__/useControlledState-BPR3PrW4.mjs +40 -0
  955. package/__chunks__/useControlledState-CcM4H_K0.js +39 -0
  956. package/__chunks__/useDialog-nKMoC_Cs.mjs +72 -0
  957. package/__chunks__/useDialog-uxNR0maK.js +71 -0
  958. package/__chunks__/useEdgeInterceptors-OZmGXvtF.mjs +52 -0
  959. package/__chunks__/useEdgeInterceptors-Rb2Hf0v8.js +51 -0
  960. package/__chunks__/useEvent-CnahkmoD.mjs +22 -0
  961. package/__chunks__/useEvent-D3eKExds.js +21 -0
  962. package/__chunks__/useField-C5BKHYDX.mjs +39 -0
  963. package/__chunks__/useField-CsvcuQrg.js +38 -0
  964. package/__chunks__/useFilter-DQ5GzevW.js +64 -0
  965. package/__chunks__/useFilter-Dm0fSoJl.mjs +65 -0
  966. package/__chunks__/useFocus-D_NKNXdi.js +37 -0
  967. package/__chunks__/useFocus-u61kyYs8.mjs +38 -0
  968. package/__chunks__/useFocusRing-BWKhJSvH.mjs +43 -0
  969. package/__chunks__/useFocusRing-DbC9E5wC.js +42 -0
  970. package/__chunks__/useFocusVisible-BNcpO5Sv.js +715 -0
  971. package/__chunks__/useFocusVisible-DDvp2PwR.mjs +716 -0
  972. package/__chunks__/useFocusWithin-DDWT9Br8.js +69 -0
  973. package/__chunks__/useFocusWithin-DcYF2gZd.mjs +70 -0
  974. package/__chunks__/useFocusable-BDOoYzWB.mjs +102 -0
  975. package/__chunks__/useFocusable-fxgaZN7X.js +101 -0
  976. package/__chunks__/useFormReset-D6l7xmN8.js +19 -0
  977. package/__chunks__/useFormReset-DjC42YuS.mjs +20 -0
  978. package/__chunks__/useFormValidation-Bdyc51B-.mjs +270 -0
  979. package/__chunks__/useFormValidation-joghLMcB.js +269 -0
  980. package/__chunks__/useHasTabbableChild-73d-1Yus.mjs +37 -0
  981. package/__chunks__/useHasTabbableChild-9MZ8LK0l.js +36 -0
  982. package/__chunks__/useHighlightSelectionDescription-DSdR3FZY.js +592 -0
  983. package/__chunks__/useHighlightSelectionDescription-HcMpuRGQ.mjs +594 -0
  984. package/__chunks__/useHover-Ck1otl-j.js +121 -0
  985. package/__chunks__/useHover-FWU5y5-k.mjs +122 -0
  986. package/__chunks__/useIntersectionDetection-BvUmtDgl.mjs +22 -0
  987. package/__chunks__/useIntersectionDetection-DI5n4zwA.js +21 -0
  988. package/__chunks__/useLabel-BvPZr3TC.js +26 -0
  989. package/__chunks__/useLabel-cE7myAez.mjs +27 -0
  990. package/__chunks__/useLabels-AshNb54x.mjs +23 -0
  991. package/__chunks__/useLabels-BiHauKNF.js +22 -0
  992. package/__chunks__/useLink-CChqhQkC.js +73 -0
  993. package/__chunks__/useLink-y6WGv96n.mjs +74 -0
  994. package/__chunks__/useListBoxSection-BdO_lWyz.mjs +197 -0
  995. package/__chunks__/useListBoxSection-Cf0YWwDY.js +196 -0
  996. package/__chunks__/useListState-3s3ZON5A.mjs +200 -0
  997. package/__chunks__/useListState-DDaaA7mG.js +199 -0
  998. package/__chunks__/useLocalizedStringFormatter-DWQ_olZl.mjs +122 -0
  999. package/__chunks__/useLocalizedStringFormatter-DxxEMHfO.js +121 -0
  1000. package/__chunks__/useMenuTrigger-DQl6sBWY.js +270 -0
  1001. package/__chunks__/useMenuTrigger-e_p0x3OT.mjs +271 -0
  1002. package/__chunks__/useMenuTriggerState-CnbwSNoa.mjs +67 -0
  1003. package/__chunks__/useMenuTriggerState-DMyxc9hK.js +66 -0
  1004. package/__chunks__/useModalOverlay-BmYXH7rq.mjs +50 -0
  1005. package/__chunks__/useModalOverlay-C4Gci3MA.js +49 -0
  1006. package/__chunks__/useNumberFormatter-BCYp6Is8.js +12 -0
  1007. package/__chunks__/useNumberFormatter-dSwO_MBg.mjs +13 -0
  1008. package/__chunks__/useObjectRef-77h4G8qk.mjs +40 -0
  1009. package/__chunks__/useObjectRef-Bma_uNHw.js +39 -0
  1010. package/__chunks__/useOverlayPosition-DOISkEGO.mjs +501 -0
  1011. package/__chunks__/useOverlayPosition-oRFqirlD.js +500 -0
  1012. package/__chunks__/useOverlayTrigger-CIVwezu3.mjs +28 -0
  1013. package/__chunks__/useOverlayTrigger-DP9RbCAF.js +27 -0
  1014. package/__chunks__/usePopover-BTGHi16_.mjs +278 -0
  1015. package/__chunks__/usePopover-CR0xi5y-.js +277 -0
  1016. package/__chunks__/usePress-B5G5CgVn.js +747 -0
  1017. package/__chunks__/usePress-Cw67P1FM.mjs +748 -0
  1018. package/__chunks__/useResizeObserver-CEeqtqhm.js +35 -0
  1019. package/__chunks__/useResizeObserver-NbpgP2Md.mjs +36 -0
  1020. package/__chunks__/useSelectableItem-BP2rZ6Gy.mjs +703 -0
  1021. package/__chunks__/useSelectableItem-Dtmy73y6.js +702 -0
  1022. package/__chunks__/useSelectableList-CQpiui2v.mjs +282 -0
  1023. package/__chunks__/useSelectableList-DeSKmxTV.js +281 -0
  1024. package/__chunks__/useSingleSelectListState-BX2vNU2f.js +55 -0
  1025. package/__chunks__/useSingleSelectListState-KDg6mjR3.mjs +56 -0
  1026. package/__chunks__/useSpinButton-BtlaFD9D.js +616 -0
  1027. package/__chunks__/useSpinButton-COlOvKCF.mjs +617 -0
  1028. package/__chunks__/useTextField-0Mbs_DmY.mjs +100 -0
  1029. package/__chunks__/useTextField-BlTYl2ML.js +99 -0
  1030. package/__chunks__/useToggle-THIfY8rz.mjs +90 -0
  1031. package/__chunks__/useToggle-m_Bxvur2.js +89 -0
  1032. package/__chunks__/useToggleState-BLVhvfl9.mjs +23 -0
  1033. package/__chunks__/useToggleState-BYfp0R5h.js +22 -0
  1034. package/__chunks__/useTreeState-B9z3iENl.mjs +143 -0
  1035. package/__chunks__/useTreeState-Cb1U-iBl.js +142 -0
  1036. package/__chunks__/useTriggerWidth-CBghrvjy.mjs +133 -0
  1037. package/__chunks__/useTriggerWidth-NhYqZmlX.js +132 -0
  1038. package/__chunks__/useUpdateEffect-CdLMBMvy.mjs +22 -0
  1039. package/__chunks__/useUpdateEffect-D8vVKdY1.js +21 -0
  1040. package/__chunks__/utilities-CBYsZn-t.mjs +107 -0
  1041. package/__chunks__/utilities-Q88aR_Y9.js +106 -0
  1042. package/__chunks__/utils-C1be5hOp.mjs +149 -0
  1043. package/__chunks__/utils-CRWC8dEm.js +148 -0
  1044. package/package.json +17 -17
  1045. package/style.css +6429 -2532
  1046. package/styles/_accessibility.scss +54 -0
  1047. package/styles/_common.scss +8 -0
  1048. package/styles/_media-queries.scss +25 -0
  1049. package/styles/_poppins-fallback.scss +73 -0
  1050. package/styles/_responsive-props.scss +90 -0
  1051. package/styles/_scrollbars.scss +52 -0
  1052. package/styles/_string-functions.scss +26 -0
  1053. package/styles/_token-helpers.scss +36 -0
  1054. package/styles/_typography.scss +53 -0
  1055. package/styles/_unstyled.scss +32 -0
  1056. package/styles/global.scss +32 -0
  1057. package/types.d.ts +11 -5
  1058. package/types.d.ts.map +1 -1
  1059. package/utilities/EasyPostLogo.d.ts +3 -0
  1060. package/utilities/EasyPostLogo.d.ts.map +1 -0
  1061. package/utilities/Noop.d.ts +1 -1
  1062. package/utilities/Noop.d.ts.map +1 -1
  1063. package/utilities/css.d.ts +1 -0
  1064. package/utilities/css.d.ts.map +1 -1
  1065. package/utilities/css.js +20 -1
  1066. package/utilities/css.mjs +20 -1
  1067. package/utilities/react.d.ts +18 -2
  1068. package/utilities/react.d.ts.map +1 -1
  1069. package/utilities/react.js +44 -307
  1070. package/utilities/react.mjs +43 -306
  1071. package/utilities/storybook.d.ts +21 -41
  1072. package/utilities/storybook.d.ts.map +1 -1
  1073. package/utilities/test.d.ts +20 -6
  1074. package/utilities/test.d.ts.map +1 -1
  1075. package/utilities/test.js +163 -0
  1076. package/utilities/test.mjs +163 -0
  1077. package/utilities/tokens.d.ts.map +1 -1
  1078. package/utilities/useScrollbar.js +2 -2
  1079. package/utilities/useScrollbar.mjs +2 -2
  1080. package/__chunks__/InputIcon-42b83782.mjs +0 -148
  1081. package/__chunks__/InputIcon-d7449227.js +0 -147
  1082. package/__chunks__/import-109dab60.js +0 -698
  1083. package/__chunks__/import-1f82f104.mjs +0 -699
  1084. package/__chunks__/import-313d3d73.js +0 -1944
  1085. package/__chunks__/import-3306af6d.mjs +0 -1945
  1086. package/__chunks__/import-4535b3fd.mjs +0 -83
  1087. package/__chunks__/import-5b668da0.js +0 -82
  1088. package/__chunks__/import-5d56d155.js +0 -1186
  1089. package/__chunks__/import-6a831ca1.mjs +0 -56
  1090. package/__chunks__/import-7a45b8e7.mjs +0 -1187
  1091. package/__chunks__/import-ac0be4fd.mjs +0 -60
  1092. package/__chunks__/import-db7a850c.js +0 -59
  1093. package/__chunks__/import-dea5a24d.js +0 -55
  1094. package/__chunks__/index-307aca2b.mjs +0 -133
  1095. package/__chunks__/index-46617001.mjs +0 -5421
  1096. package/__chunks__/index-82df46cc.js +0 -5420
  1097. package/__chunks__/index-fd91868d.js +0 -132
  1098. package/__chunks__/omit-f17deb8f.mjs +0 -1296
  1099. package/__chunks__/omit-fca26542.js +0 -1295
  1100. package/__chunks__/real-module-bf5db268.mjs +0 -216
  1101. package/__chunks__/real-module-c0f9f92a.js +0 -215
  1102. package/__chunks__/tokens-57cf84c2.mjs +0 -320
  1103. package/__chunks__/tokens-645c903d.js +0 -319
  1104. package/__chunks__/useTriggerWidth-61c09005.js +0 -2044
  1105. package/__chunks__/useTriggerWidth-79c0903e.mjs +0 -2045
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ const useFocusVisible = require("./useFocusVisible-BNcpO5Sv.js");
3
+ const React = require("react");
4
+ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
5
+ let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
6
+ let state = React.useRef({
7
+ isFocusWithin: false
8
+ });
9
+ let { addGlobalListener, removeAllGlobalListeners } = useFocusVisible.$03deb23ff14920c4$export$4eaf04e54aa8eed6();
10
+ let onBlur = React.useCallback((e) => {
11
+ if (!e.currentTarget.contains(e.target)) return;
12
+ if (state.current.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {
13
+ state.current.isFocusWithin = false;
14
+ removeAllGlobalListeners();
15
+ if (onBlurWithin) onBlurWithin(e);
16
+ if (onFocusWithinChange) onFocusWithinChange(false);
17
+ }
18
+ }, [
19
+ onBlurWithin,
20
+ onFocusWithinChange,
21
+ state,
22
+ removeAllGlobalListeners
23
+ ]);
24
+ let onSyntheticFocus = useFocusVisible.$8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
25
+ let onFocus = React.useCallback((e) => {
26
+ if (!e.currentTarget.contains(e.target)) return;
27
+ const ownerDocument = useFocusVisible.$431fbd86ca7dc216$export$b204af158042fbac(e.target);
28
+ const activeElement = useFocusVisible.$d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
29
+ if (!state.current.isFocusWithin && activeElement === useFocusVisible.$d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
30
+ if (onFocusWithin) onFocusWithin(e);
31
+ if (onFocusWithinChange) onFocusWithinChange(true);
32
+ state.current.isFocusWithin = true;
33
+ onSyntheticFocus(e);
34
+ let currentTarget = e.currentTarget;
35
+ addGlobalListener(ownerDocument, "focus", (e2) => {
36
+ if (state.current.isFocusWithin && !useFocusVisible.$d4ee10de306f2510$export$4282f70798064fe0(currentTarget, e2.target)) {
37
+ let nativeEvent = new ownerDocument.defaultView.FocusEvent("blur", {
38
+ relatedTarget: e2.target
39
+ });
40
+ useFocusVisible.$8a9cb279dc87e130$export$c2b7abe5d61ec696(nativeEvent, currentTarget);
41
+ let event = useFocusVisible.$8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent);
42
+ onBlur(event);
43
+ }
44
+ }, {
45
+ capture: true
46
+ });
47
+ }
48
+ }, [
49
+ onFocusWithin,
50
+ onFocusWithinChange,
51
+ onSyntheticFocus,
52
+ addGlobalListener,
53
+ onBlur
54
+ ]);
55
+ if (isDisabled) return {
56
+ focusWithinProps: {
57
+ // These cannot be null, that would conflict in mergeProps
58
+ onFocus: void 0,
59
+ onBlur: void 0
60
+ }
61
+ };
62
+ return {
63
+ focusWithinProps: {
64
+ onFocus,
65
+ onBlur
66
+ }
67
+ };
68
+ }
69
+ exports.$9ab94262bd0047c7$export$420e68273165f4ec = $9ab94262bd0047c7$export$420e68273165f4ec;
@@ -0,0 +1,70 @@
1
+ import { $ as $03deb23ff14920c4$export$4eaf04e54aa8eed6, c as $8a9cb279dc87e130$export$715c682d09d639cc, a as $431fbd86ca7dc216$export$b204af158042fbac, d as $d4ee10de306f2510$export$cd4e5573fbe2b576, e as $d4ee10de306f2510$export$e58f029f0fbfdb29, b as $d4ee10de306f2510$export$4282f70798064fe0, i as $8a9cb279dc87e130$export$c2b7abe5d61ec696, j as $8a9cb279dc87e130$export$525bc4921d56d4a } from "./useFocusVisible-DDvp2PwR.mjs";
2
+ import { useRef, useCallback } from "react";
3
+ function $9ab94262bd0047c7$export$420e68273165f4ec(props) {
4
+ let { isDisabled, onBlurWithin, onFocusWithin, onFocusWithinChange } = props;
5
+ let state = useRef({
6
+ isFocusWithin: false
7
+ });
8
+ let { addGlobalListener, removeAllGlobalListeners } = $03deb23ff14920c4$export$4eaf04e54aa8eed6();
9
+ let onBlur = useCallback((e) => {
10
+ if (!e.currentTarget.contains(e.target)) return;
11
+ if (state.current.isFocusWithin && !e.currentTarget.contains(e.relatedTarget)) {
12
+ state.current.isFocusWithin = false;
13
+ removeAllGlobalListeners();
14
+ if (onBlurWithin) onBlurWithin(e);
15
+ if (onFocusWithinChange) onFocusWithinChange(false);
16
+ }
17
+ }, [
18
+ onBlurWithin,
19
+ onFocusWithinChange,
20
+ state,
21
+ removeAllGlobalListeners
22
+ ]);
23
+ let onSyntheticFocus = $8a9cb279dc87e130$export$715c682d09d639cc(onBlur);
24
+ let onFocus = useCallback((e) => {
25
+ if (!e.currentTarget.contains(e.target)) return;
26
+ const ownerDocument = $431fbd86ca7dc216$export$b204af158042fbac(e.target);
27
+ const activeElement = $d4ee10de306f2510$export$cd4e5573fbe2b576(ownerDocument);
28
+ if (!state.current.isFocusWithin && activeElement === $d4ee10de306f2510$export$e58f029f0fbfdb29(e.nativeEvent)) {
29
+ if (onFocusWithin) onFocusWithin(e);
30
+ if (onFocusWithinChange) onFocusWithinChange(true);
31
+ state.current.isFocusWithin = true;
32
+ onSyntheticFocus(e);
33
+ let currentTarget = e.currentTarget;
34
+ addGlobalListener(ownerDocument, "focus", (e2) => {
35
+ if (state.current.isFocusWithin && !$d4ee10de306f2510$export$4282f70798064fe0(currentTarget, e2.target)) {
36
+ let nativeEvent = new ownerDocument.defaultView.FocusEvent("blur", {
37
+ relatedTarget: e2.target
38
+ });
39
+ $8a9cb279dc87e130$export$c2b7abe5d61ec696(nativeEvent, currentTarget);
40
+ let event = $8a9cb279dc87e130$export$525bc4921d56d4a(nativeEvent);
41
+ onBlur(event);
42
+ }
43
+ }, {
44
+ capture: true
45
+ });
46
+ }
47
+ }, [
48
+ onFocusWithin,
49
+ onFocusWithinChange,
50
+ onSyntheticFocus,
51
+ addGlobalListener,
52
+ onBlur
53
+ ]);
54
+ if (isDisabled) return {
55
+ focusWithinProps: {
56
+ // These cannot be null, that would conflict in mergeProps
57
+ onFocus: void 0,
58
+ onBlur: void 0
59
+ }
60
+ };
61
+ return {
62
+ focusWithinProps: {
63
+ onFocus,
64
+ onBlur
65
+ }
66
+ };
67
+ }
68
+ export {
69
+ $9ab94262bd0047c7$export$420e68273165f4ec as $
70
+ };
@@ -0,0 +1,102 @@
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
+ var __objRest = (source, exclude) => {
21
+ var target = {};
22
+ for (var prop in source)
23
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
24
+ target[prop] = source[prop];
25
+ if (source != null && __getOwnPropSymbols)
26
+ for (var prop of __getOwnPropSymbols(source)) {
27
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
28
+ target[prop] = source[prop];
29
+ }
30
+ return target;
31
+ };
32
+ import { $ as $3ad3f6e1647bc98d$export$80f3e147d781571c, a as $e7801be82b4b2a53$export$4debdb1a3f0fa79e } from "./focusSafely-CeJM_lIS.mjs";
33
+ import { $ as $a1ea59d68270f0dd$export$f8168d8dd8fd66e6 } from "./useFocus-u61kyYs8.mjs";
34
+ import { $ as $3ef42575df84b30b$export$9d1611c77c2fe928 } from "./mergeProps-COnPag8r.mjs";
35
+ import React__default, { useRef, useEffect, useContext } from "react";
36
+ function $93925083ecbb358c$export$48d1ea6320830260(handler) {
37
+ if (!handler) return void 0;
38
+ let shouldStopPropagation = true;
39
+ return (e) => {
40
+ let event = __spreadProps(__spreadValues({}, e), {
41
+ preventDefault() {
42
+ e.preventDefault();
43
+ },
44
+ isDefaultPrevented() {
45
+ return e.isDefaultPrevented();
46
+ },
47
+ stopPropagation() {
48
+ if (shouldStopPropagation && process.env.NODE_ENV !== "production") console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
49
+ else shouldStopPropagation = true;
50
+ },
51
+ continuePropagation() {
52
+ shouldStopPropagation = false;
53
+ },
54
+ isPropagationStopped() {
55
+ return shouldStopPropagation;
56
+ }
57
+ });
58
+ handler(event);
59
+ if (shouldStopPropagation) e.stopPropagation();
60
+ };
61
+ }
62
+ function $46d819fcbaf35654$export$8f71654801c2f7cd(props) {
63
+ return {
64
+ keyboardProps: props.isDisabled ? {} : {
65
+ onKeyDown: $93925083ecbb358c$export$48d1ea6320830260(props.onKeyDown),
66
+ onKeyUp: $93925083ecbb358c$export$48d1ea6320830260(props.onKeyUp)
67
+ }
68
+ };
69
+ }
70
+ let $f645667febf57a63$export$f9762fab77588ecb = /* @__PURE__ */ React__default.createContext(null);
71
+ function $f645667febf57a63$var$useFocusableContext(ref) {
72
+ let context = useContext($f645667febf57a63$export$f9762fab77588ecb) || {};
73
+ $e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref);
74
+ let _a = context, { ref: _ } = _a, otherProps = __objRest(_a, ["ref"]);
75
+ return otherProps;
76
+ }
77
+ function $f645667febf57a63$export$4c014de7c8940b4c(props, domRef) {
78
+ let { focusProps } = $a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props);
79
+ let { keyboardProps } = $46d819fcbaf35654$export$8f71654801c2f7cd(props);
80
+ let interactions = $3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, keyboardProps);
81
+ let domProps = $f645667febf57a63$var$useFocusableContext(domRef);
82
+ let interactionProps = props.isDisabled ? {} : domProps;
83
+ let autoFocusRef = useRef(props.autoFocus);
84
+ useEffect(() => {
85
+ if (autoFocusRef.current && domRef.current) $3ad3f6e1647bc98d$export$80f3e147d781571c(domRef.current);
86
+ autoFocusRef.current = false;
87
+ }, [
88
+ domRef
89
+ ]);
90
+ let tabIndex = props.excludeFromTabOrder ? -1 : 0;
91
+ if (props.isDisabled) tabIndex = void 0;
92
+ return {
93
+ focusableProps: $3ef42575df84b30b$export$9d1611c77c2fe928(__spreadProps(__spreadValues({}, interactions), {
94
+ tabIndex
95
+ }), interactionProps)
96
+ };
97
+ }
98
+ export {
99
+ $f645667febf57a63$export$4c014de7c8940b4c as $,
100
+ $46d819fcbaf35654$export$8f71654801c2f7cd as a,
101
+ $f645667febf57a63$export$f9762fab77588ecb as b
102
+ };
@@ -0,0 +1,101 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __defProps = Object.defineProperties;
4
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
5
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
8
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
9
+ var __spreadValues = (a, b) => {
10
+ for (var prop in b || (b = {}))
11
+ if (__hasOwnProp.call(b, prop))
12
+ __defNormalProp(a, prop, b[prop]);
13
+ if (__getOwnPropSymbols)
14
+ for (var prop of __getOwnPropSymbols(b)) {
15
+ if (__propIsEnum.call(b, prop))
16
+ __defNormalProp(a, prop, b[prop]);
17
+ }
18
+ return a;
19
+ };
20
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
21
+ var __objRest = (source, exclude) => {
22
+ var target = {};
23
+ for (var prop in source)
24
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
+ target[prop] = source[prop];
26
+ if (source != null && __getOwnPropSymbols)
27
+ for (var prop of __getOwnPropSymbols(source)) {
28
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
+ target[prop] = source[prop];
30
+ }
31
+ return target;
32
+ };
33
+ const focusSafely = require("./focusSafely-C5HWSeZE.js");
34
+ const useFocus = require("./useFocus-D_NKNXdi.js");
35
+ const mergeProps = require("./mergeProps-DLPcevok.js");
36
+ const React = require("react");
37
+ function $93925083ecbb358c$export$48d1ea6320830260(handler) {
38
+ if (!handler) return void 0;
39
+ let shouldStopPropagation = true;
40
+ return (e) => {
41
+ let event = __spreadProps(__spreadValues({}, e), {
42
+ preventDefault() {
43
+ e.preventDefault();
44
+ },
45
+ isDefaultPrevented() {
46
+ return e.isDefaultPrevented();
47
+ },
48
+ stopPropagation() {
49
+ if (shouldStopPropagation && process.env.NODE_ENV !== "production") console.error("stopPropagation is now the default behavior for events in React Spectrum. You can use continuePropagation() to revert this behavior.");
50
+ else shouldStopPropagation = true;
51
+ },
52
+ continuePropagation() {
53
+ shouldStopPropagation = false;
54
+ },
55
+ isPropagationStopped() {
56
+ return shouldStopPropagation;
57
+ }
58
+ });
59
+ handler(event);
60
+ if (shouldStopPropagation) e.stopPropagation();
61
+ };
62
+ }
63
+ function $46d819fcbaf35654$export$8f71654801c2f7cd(props) {
64
+ return {
65
+ keyboardProps: props.isDisabled ? {} : {
66
+ onKeyDown: $93925083ecbb358c$export$48d1ea6320830260(props.onKeyDown),
67
+ onKeyUp: $93925083ecbb358c$export$48d1ea6320830260(props.onKeyUp)
68
+ }
69
+ };
70
+ }
71
+ let $f645667febf57a63$export$f9762fab77588ecb = /* @__PURE__ */ React.createContext(null);
72
+ function $f645667febf57a63$var$useFocusableContext(ref) {
73
+ let context = React.useContext($f645667febf57a63$export$f9762fab77588ecb) || {};
74
+ focusSafely.$e7801be82b4b2a53$export$4debdb1a3f0fa79e(context, ref);
75
+ let _a = context, { ref: _ } = _a, otherProps = __objRest(_a, ["ref"]);
76
+ return otherProps;
77
+ }
78
+ function $f645667febf57a63$export$4c014de7c8940b4c(props, domRef) {
79
+ let { focusProps } = useFocus.$a1ea59d68270f0dd$export$f8168d8dd8fd66e6(props);
80
+ let { keyboardProps } = $46d819fcbaf35654$export$8f71654801c2f7cd(props);
81
+ let interactions = mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(focusProps, keyboardProps);
82
+ let domProps = $f645667febf57a63$var$useFocusableContext(domRef);
83
+ let interactionProps = props.isDisabled ? {} : domProps;
84
+ let autoFocusRef = React.useRef(props.autoFocus);
85
+ React.useEffect(() => {
86
+ if (autoFocusRef.current && domRef.current) focusSafely.$3ad3f6e1647bc98d$export$80f3e147d781571c(domRef.current);
87
+ autoFocusRef.current = false;
88
+ }, [
89
+ domRef
90
+ ]);
91
+ let tabIndex = props.excludeFromTabOrder ? -1 : 0;
92
+ if (props.isDisabled) tabIndex = void 0;
93
+ return {
94
+ focusableProps: mergeProps.$3ef42575df84b30b$export$9d1611c77c2fe928(__spreadProps(__spreadValues({}, interactions), {
95
+ tabIndex
96
+ }), interactionProps)
97
+ };
98
+ }
99
+ exports.$46d819fcbaf35654$export$8f71654801c2f7cd = $46d819fcbaf35654$export$8f71654801c2f7cd;
100
+ exports.$f645667febf57a63$export$4c014de7c8940b4c = $f645667febf57a63$export$4c014de7c8940b4c;
101
+ exports.$f645667febf57a63$export$f9762fab77588ecb = $f645667febf57a63$export$f9762fab77588ecb;
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ const useFocusVisible = require("./useFocusVisible-BNcpO5Sv.js");
3
+ const React = require("react");
4
+ function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
5
+ let handleReset = useFocusVisible.$8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
6
+ if (onReset) onReset(initialValue);
7
+ });
8
+ React.useEffect(() => {
9
+ var _ref_current;
10
+ let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;
11
+ form === null || form === void 0 ? void 0 : form.addEventListener("reset", handleReset);
12
+ return () => {
13
+ form === null || form === void 0 ? void 0 : form.removeEventListener("reset", handleReset);
14
+ };
15
+ }, [
16
+ ref
17
+ ]);
18
+ }
19
+ exports.$99facab73266f662$export$5add1d006293d136 = $99facab73266f662$export$5add1d006293d136;
@@ -0,0 +1,20 @@
1
+ import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52 } from "./useFocusVisible-DDvp2PwR.mjs";
2
+ import { useEffect } from "react";
3
+ function $99facab73266f662$export$5add1d006293d136(ref, initialValue, onReset) {
4
+ let handleReset = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
5
+ if (onReset) onReset(initialValue);
6
+ });
7
+ useEffect(() => {
8
+ var _ref_current;
9
+ let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;
10
+ form === null || form === void 0 ? void 0 : form.addEventListener("reset", handleReset);
11
+ return () => {
12
+ form === null || form === void 0 ? void 0 : form.removeEventListener("reset", handleReset);
13
+ };
14
+ }, [
15
+ ref
16
+ ]);
17
+ }
18
+ export {
19
+ $99facab73266f662$export$5add1d006293d136 as $
20
+ };
@@ -0,0 +1,270 @@
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 { useMemo, useContext, createContext, useState, useRef, useEffect } from "react";
21
+ import { f as $8ae05eaa5c114e9c$export$7f54fc3180508a52, w as $507fabe10e71c6fb$export$8397ddfc504fdb9a } from "./useFocusVisible-DDvp2PwR.mjs";
22
+ import { a as $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c } from "./mergeProps-COnPag8r.mjs";
23
+ const $e5be200c675c3b3a$export$aca958c65c314e6c = {
24
+ badInput: false,
25
+ customError: false,
26
+ patternMismatch: false,
27
+ rangeOverflow: false,
28
+ rangeUnderflow: false,
29
+ stepMismatch: false,
30
+ tooLong: false,
31
+ tooShort: false,
32
+ typeMismatch: false,
33
+ valueMissing: false,
34
+ valid: true
35
+ };
36
+ const $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE = __spreadProps(__spreadValues({}, $e5be200c675c3b3a$export$aca958c65c314e6c), {
37
+ customError: true,
38
+ valid: false
39
+ });
40
+ const $e5be200c675c3b3a$export$dad6ae84456c676a = {
41
+ isInvalid: false,
42
+ validationDetails: $e5be200c675c3b3a$export$aca958c65c314e6c,
43
+ validationErrors: []
44
+ };
45
+ const $e5be200c675c3b3a$export$571b5131b7e65c11 = createContext({});
46
+ const $e5be200c675c3b3a$export$a763b9476acd3eb = "__formValidationState" + Date.now();
47
+ function $e5be200c675c3b3a$export$fc1a364ae1f3ff10(props) {
48
+ if (props[$e5be200c675c3b3a$export$a763b9476acd3eb]) {
49
+ let { realtimeValidation, displayValidation, updateValidation, resetValidation, commitValidation } = props[$e5be200c675c3b3a$export$a763b9476acd3eb];
50
+ return {
51
+ realtimeValidation,
52
+ displayValidation,
53
+ updateValidation,
54
+ resetValidation,
55
+ commitValidation
56
+ };
57
+ }
58
+ return $e5be200c675c3b3a$var$useFormValidationStateImpl(props);
59
+ }
60
+ function $e5be200c675c3b3a$var$useFormValidationStateImpl(props) {
61
+ let { isInvalid, validationState, name, value, builtinValidation, validate, validationBehavior = "aria" } = props;
62
+ if (validationState) isInvalid || (isInvalid = validationState === "invalid");
63
+ let controlledError = isInvalid !== void 0 ? {
64
+ isInvalid,
65
+ validationErrors: [],
66
+ validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE
67
+ } : null;
68
+ let clientError = useMemo(() => {
69
+ if (!validate || value == null) return null;
70
+ let validateErrors = $e5be200c675c3b3a$var$runValidate(validate, value);
71
+ return $e5be200c675c3b3a$var$getValidationResult(validateErrors);
72
+ }, [
73
+ validate,
74
+ value
75
+ ]);
76
+ if (builtinValidation === null || builtinValidation === void 0 ? void 0 : builtinValidation.validationDetails.valid) builtinValidation = void 0;
77
+ let serverErrors = useContext($e5be200c675c3b3a$export$571b5131b7e65c11);
78
+ let serverErrorMessages = useMemo(() => {
79
+ if (name) return Array.isArray(name) ? name.flatMap((name2) => $e5be200c675c3b3a$var$asArray(serverErrors[name2])) : $e5be200c675c3b3a$var$asArray(serverErrors[name]);
80
+ return [];
81
+ }, [
82
+ serverErrors,
83
+ name
84
+ ]);
85
+ let [lastServerErrors, setLastServerErrors] = useState(serverErrors);
86
+ let [isServerErrorCleared, setServerErrorCleared] = useState(false);
87
+ if (serverErrors !== lastServerErrors) {
88
+ setLastServerErrors(serverErrors);
89
+ setServerErrorCleared(false);
90
+ }
91
+ let serverError = useMemo(() => $e5be200c675c3b3a$var$getValidationResult(isServerErrorCleared ? [] : serverErrorMessages), [
92
+ isServerErrorCleared,
93
+ serverErrorMessages
94
+ ]);
95
+ let nextValidation = useRef($e5be200c675c3b3a$export$dad6ae84456c676a);
96
+ let [currentValidity, setCurrentValidity] = useState($e5be200c675c3b3a$export$dad6ae84456c676a);
97
+ let lastError = useRef($e5be200c675c3b3a$export$dad6ae84456c676a);
98
+ let commitValidation = () => {
99
+ if (!commitQueued) return;
100
+ setCommitQueued(false);
101
+ let error = clientError || builtinValidation || nextValidation.current;
102
+ if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {
103
+ lastError.current = error;
104
+ setCurrentValidity(error);
105
+ }
106
+ };
107
+ let [commitQueued, setCommitQueued] = useState(false);
108
+ useEffect(commitValidation);
109
+ let realtimeValidation = controlledError || serverError || clientError || builtinValidation || $e5be200c675c3b3a$export$dad6ae84456c676a;
110
+ let displayValidation = validationBehavior === "native" ? controlledError || serverError || currentValidity : controlledError || serverError || clientError || builtinValidation || currentValidity;
111
+ return {
112
+ realtimeValidation,
113
+ displayValidation,
114
+ updateValidation(value2) {
115
+ if (validationBehavior === "aria" && !$e5be200c675c3b3a$var$isEqualValidation(currentValidity, value2)) setCurrentValidity(value2);
116
+ else nextValidation.current = value2;
117
+ },
118
+ resetValidation() {
119
+ let error = $e5be200c675c3b3a$export$dad6ae84456c676a;
120
+ if (!$e5be200c675c3b3a$var$isEqualValidation(error, lastError.current)) {
121
+ lastError.current = error;
122
+ setCurrentValidity(error);
123
+ }
124
+ if (validationBehavior === "native") setCommitQueued(false);
125
+ setServerErrorCleared(true);
126
+ },
127
+ commitValidation() {
128
+ if (validationBehavior === "native") setCommitQueued(true);
129
+ setServerErrorCleared(true);
130
+ }
131
+ };
132
+ }
133
+ function $e5be200c675c3b3a$var$asArray(v) {
134
+ if (!v) return [];
135
+ return Array.isArray(v) ? v : [
136
+ v
137
+ ];
138
+ }
139
+ function $e5be200c675c3b3a$var$runValidate(validate, value) {
140
+ if (typeof validate === "function") {
141
+ let e = validate(value);
142
+ if (e && typeof e !== "boolean") return $e5be200c675c3b3a$var$asArray(e);
143
+ }
144
+ return [];
145
+ }
146
+ function $e5be200c675c3b3a$var$getValidationResult(errors) {
147
+ return errors.length ? {
148
+ isInvalid: true,
149
+ validationErrors: errors,
150
+ validationDetails: $e5be200c675c3b3a$var$CUSTOM_VALIDITY_STATE
151
+ } : null;
152
+ }
153
+ function $e5be200c675c3b3a$var$isEqualValidation(a, b) {
154
+ if (a === b) return true;
155
+ return !!a && !!b && a.isInvalid === b.isInvalid && a.validationErrors.length === b.validationErrors.length && a.validationErrors.every((a2, i) => a2 === b.validationErrors[i]) && Object.entries(a.validationDetails).every(([k, v]) => b.validationDetails[k] === v);
156
+ }
157
+ function $e5be200c675c3b3a$export$75ee7c75d68f5b0e(...results) {
158
+ let errors = /* @__PURE__ */ new Set();
159
+ let isInvalid = false;
160
+ let validationDetails = __spreadValues({}, $e5be200c675c3b3a$export$aca958c65c314e6c);
161
+ for (let v of results) {
162
+ var _validationDetails, _key;
163
+ for (let e of v.validationErrors) errors.add(e);
164
+ isInvalid || (isInvalid = v.isInvalid);
165
+ for (let key in validationDetails) (_validationDetails = validationDetails)[_key = key] || (_validationDetails[_key] = v.validationDetails[key]);
166
+ }
167
+ validationDetails.valid = !isInvalid;
168
+ return {
169
+ isInvalid,
170
+ validationErrors: [
171
+ ...errors
172
+ ],
173
+ validationDetails
174
+ };
175
+ }
176
+ function $e93e671b31057976$export$b8473d3665f3a75a(props, state, ref) {
177
+ let { validationBehavior, focus } = props;
178
+ $f0a04ccd8dbdd83b$export$e5c5a5f917a5871c(() => {
179
+ if (validationBehavior === "native" && (ref === null || ref === void 0 ? void 0 : ref.current) && !ref.current.disabled) {
180
+ let errorMessage = state.realtimeValidation.isInvalid ? state.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
181
+ ref.current.setCustomValidity(errorMessage);
182
+ if (!ref.current.hasAttribute("title")) ref.current.title = "";
183
+ if (!state.realtimeValidation.isInvalid) state.updateValidation($e93e671b31057976$var$getNativeValidity(ref.current));
184
+ }
185
+ });
186
+ let isIgnoredReset = useRef(false);
187
+ let onReset = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
188
+ if (!isIgnoredReset.current) state.resetValidation();
189
+ });
190
+ let onInvalid = $8ae05eaa5c114e9c$export$7f54fc3180508a52((e) => {
191
+ var _ref_current;
192
+ if (!state.displayValidation.isInvalid) state.commitValidation();
193
+ let form = ref === null || ref === void 0 ? void 0 : (_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.form;
194
+ if (!e.defaultPrevented && ref && form && $e93e671b31057976$var$getFirstInvalidInput(form) === ref.current) {
195
+ var _ref_current1;
196
+ if (focus) focus();
197
+ else (_ref_current1 = ref.current) === null || _ref_current1 === void 0 ? void 0 : _ref_current1.focus();
198
+ $507fabe10e71c6fb$export$8397ddfc504fdb9a("keyboard");
199
+ }
200
+ e.preventDefault();
201
+ });
202
+ let onChange = $8ae05eaa5c114e9c$export$7f54fc3180508a52(() => {
203
+ state.commitValidation();
204
+ });
205
+ useEffect(() => {
206
+ let input = ref === null || ref === void 0 ? void 0 : ref.current;
207
+ if (!input) return;
208
+ let form = input.form;
209
+ let reset = form === null || form === void 0 ? void 0 : form.reset;
210
+ if (form)
211
+ form.reset = () => {
212
+ isIgnoredReset.current = !window.event || window.event.type === "message" && window.event.target instanceof MessagePort;
213
+ reset === null || reset === void 0 ? void 0 : reset.call(form);
214
+ isIgnoredReset.current = false;
215
+ };
216
+ input.addEventListener("invalid", onInvalid);
217
+ input.addEventListener("change", onChange);
218
+ form === null || form === void 0 ? void 0 : form.addEventListener("reset", onReset);
219
+ return () => {
220
+ input.removeEventListener("invalid", onInvalid);
221
+ input.removeEventListener("change", onChange);
222
+ form === null || form === void 0 ? void 0 : form.removeEventListener("reset", onReset);
223
+ if (form)
224
+ form.reset = reset;
225
+ };
226
+ }, [
227
+ ref,
228
+ validationBehavior
229
+ ]);
230
+ }
231
+ function $e93e671b31057976$var$getValidity(input) {
232
+ let validity = input.validity;
233
+ return {
234
+ badInput: validity.badInput,
235
+ customError: validity.customError,
236
+ patternMismatch: validity.patternMismatch,
237
+ rangeOverflow: validity.rangeOverflow,
238
+ rangeUnderflow: validity.rangeUnderflow,
239
+ stepMismatch: validity.stepMismatch,
240
+ tooLong: validity.tooLong,
241
+ tooShort: validity.tooShort,
242
+ typeMismatch: validity.typeMismatch,
243
+ valueMissing: validity.valueMissing,
244
+ valid: validity.valid
245
+ };
246
+ }
247
+ function $e93e671b31057976$var$getNativeValidity(input) {
248
+ return {
249
+ isInvalid: !input.validity.valid,
250
+ validationDetails: $e93e671b31057976$var$getValidity(input),
251
+ validationErrors: input.validationMessage ? [
252
+ input.validationMessage
253
+ ] : []
254
+ };
255
+ }
256
+ function $e93e671b31057976$var$getFirstInvalidInput(form) {
257
+ for (let i = 0; i < form.elements.length; i++) {
258
+ let element = form.elements[i];
259
+ if (!element.validity.valid) return element;
260
+ }
261
+ return null;
262
+ }
263
+ export {
264
+ $e5be200c675c3b3a$export$fc1a364ae1f3ff10 as $,
265
+ $e93e671b31057976$export$b8473d3665f3a75a as a,
266
+ $e5be200c675c3b3a$export$dad6ae84456c676a as b,
267
+ $e5be200c675c3b3a$export$a763b9476acd3eb as c,
268
+ $e5be200c675c3b3a$export$75ee7c75d68f5b0e as d,
269
+ $e5be200c675c3b3a$export$aca958c65c314e6c as e
270
+ };