@hopper-ui/components 1.4.7 → 1.4.9

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 (335) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/Accordion/src/Accordion.css +68 -68
  3. package/dist/Accordion/src/Accordion.js +3 -3
  4. package/dist/Accordion/src/index.css +68 -68
  5. package/dist/Accordion/src/index.js +3 -3
  6. package/dist/Avatar/src/AnonymousAvatar.css +38 -38
  7. package/dist/Avatar/src/AnonymousAvatar.js +4 -4
  8. package/dist/Avatar/src/Avatar.css +56 -56
  9. package/dist/Avatar/src/Avatar.js +7 -7
  10. package/dist/Avatar/src/DeletedAvatar.css +38 -38
  11. package/dist/Avatar/src/DeletedAvatar.js +4 -4
  12. package/dist/Avatar/src/RichIconAvatarImage.css +38 -38
  13. package/dist/Avatar/src/RichIconAvatarImage.js +2 -2
  14. package/dist/Avatar/src/index.css +56 -56
  15. package/dist/Avatar/src/index.js +9 -9
  16. package/dist/Badge/src/Badge.css +43 -43
  17. package/dist/Badge/src/Badge.js +5 -5
  18. package/dist/Badge/src/FloatingBadge.css +38 -38
  19. package/dist/Badge/src/FloatingBadge.js +4 -4
  20. package/dist/Badge/src/index.css +53 -53
  21. package/dist/Badge/src/index.js +7 -7
  22. package/dist/Callout/src/Callout.css +262 -262
  23. package/dist/Callout/src/Callout.js +13 -13
  24. package/dist/Callout/src/CompactCallout.css +293 -293
  25. package/dist/Callout/src/CompactCallout.js +13 -13
  26. package/dist/Callout/src/index.css +304 -304
  27. package/dist/Callout/src/index.js +14 -14
  28. package/dist/Card/src/Card.css +31 -31
  29. package/dist/Card/src/Card.js +1 -1
  30. package/dist/Card/src/index.css +31 -31
  31. package/dist/Card/src/index.js +1 -1
  32. package/dist/ComboBox/src/ComboBox.css +3202 -2852
  33. package/dist/ComboBox/src/ComboBox.d.ts +6 -6
  34. package/dist/ComboBox/src/ComboBox.js +26 -23
  35. package/dist/ComboBox/src/ComboBoxContext.d.ts +3 -2
  36. package/dist/ComboBox/src/index.css +3202 -2852
  37. package/dist/ComboBox/src/index.d.ts +4 -3
  38. package/dist/ComboBox/src/index.js +26 -23
  39. package/dist/Disclosure/src/Disclosure.css +38 -38
  40. package/dist/Disclosure/src/Disclosure.js +3 -3
  41. package/dist/Disclosure/src/DisclosureHeader.css +45 -45
  42. package/dist/Disclosure/src/DisclosureHeader.js +11 -11
  43. package/dist/Disclosure/src/DisclosurePanel.css +38 -38
  44. package/dist/Disclosure/src/DisclosurePanel.js +11 -11
  45. package/dist/Disclosure/src/index.css +63 -63
  46. package/dist/Disclosure/src/index.js +15 -15
  47. package/dist/Divider/src/Divider.css +30 -30
  48. package/dist/Divider/src/Divider.js +1 -1
  49. package/dist/Divider/src/index.css +30 -30
  50. package/dist/Divider/src/index.js +1 -1
  51. package/dist/ErrorMessage/src/ErrorMessage.css +30 -30
  52. package/dist/ErrorMessage/src/ErrorMessage.js +4 -4
  53. package/dist/ErrorMessage/src/index.css +30 -30
  54. package/dist/ErrorMessage/src/index.js +4 -4
  55. package/dist/Form/src/Form.css +28 -28
  56. package/dist/Form/src/Form.js +1 -1
  57. package/dist/Form/src/index.css +28 -28
  58. package/dist/Form/src/index.js +1 -1
  59. package/dist/HelperMessage/src/HelperMessage.css +30 -30
  60. package/dist/HelperMessage/src/HelperMessage.js +3 -3
  61. package/dist/HelperMessage/src/index.css +30 -30
  62. package/dist/HelperMessage/src/index.js +3 -3
  63. package/dist/IconList/src/IconList.css +29 -29
  64. package/dist/IconList/src/IconList.js +1 -1
  65. package/dist/IconList/src/index.css +29 -29
  66. package/dist/IconList/src/index.js +1 -1
  67. package/dist/IllustratedMessage/src/IllustratedMessage.css +270 -270
  68. package/dist/IllustratedMessage/src/IllustratedMessage.js +1 -1
  69. package/dist/IllustratedMessage/src/index.css +270 -270
  70. package/dist/IllustratedMessage/src/index.js +1 -1
  71. package/dist/Image/src/Image.css +31 -31
  72. package/dist/Image/src/Image.js +1 -1
  73. package/dist/Image/src/SvgImage.css +29 -29
  74. package/dist/Image/src/SvgImage.js +1 -1
  75. package/dist/Image/src/index.css +32 -32
  76. package/dist/Image/src/index.js +2 -2
  77. package/dist/Link/src/Link.css +59 -59
  78. package/dist/Link/src/Link.js +9 -9
  79. package/dist/Link/src/index.css +59 -59
  80. package/dist/Link/src/index.js +9 -9
  81. package/dist/ListBox/src/ListBox.css +275 -275
  82. package/dist/ListBox/src/ListBox.js +16 -16
  83. package/dist/ListBox/src/ListBoxItem.css +263 -263
  84. package/dist/ListBox/src/ListBoxItem.js +15 -15
  85. package/dist/ListBox/src/ListBoxItemSkeleton.css +35 -35
  86. package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
  87. package/dist/ListBox/src/index.css +275 -275
  88. package/dist/ListBox/src/index.js +16 -16
  89. package/dist/Modal/src/BaseModal.css +347 -0
  90. package/dist/Modal/src/BaseModal.d.ts +24 -0
  91. package/dist/Modal/src/BaseModal.js +5 -0
  92. package/dist/Modal/src/BaseModalContext.d.ts +8 -0
  93. package/dist/Modal/src/BaseModalContext.js +2 -0
  94. package/dist/Modal/src/CustomModal.css +361 -0
  95. package/dist/Modal/src/CustomModal.d.ts +35 -0
  96. package/dist/Modal/src/CustomModal.js +7 -0
  97. package/dist/Modal/src/CustomModalContext.d.ts +8 -0
  98. package/dist/Modal/src/CustomModalContext.js +2 -0
  99. package/dist/Modal/src/Modal.css +1806 -0
  100. package/dist/Modal/src/Modal.d.ts +33 -0
  101. package/dist/Modal/src/Modal.js +37 -0
  102. package/dist/Modal/src/ModalContext.d.ts +8 -0
  103. package/dist/Modal/src/ModalContext.js +2 -0
  104. package/dist/Modal/src/ModalTrigger.d.ts +5 -0
  105. package/dist/Modal/src/ModalTrigger.js +2 -0
  106. package/dist/Modal/src/index.css +1820 -0
  107. package/dist/Modal/src/index.d.ts +8 -0
  108. package/dist/Modal/src/index.js +40 -0
  109. package/dist/SegmentedControl/src/SegmentedControl.css +29 -29
  110. package/dist/SegmentedControl/src/SegmentedControl.js +1 -1
  111. package/dist/SegmentedControl/src/SegmentedControlItem.css +43 -43
  112. package/dist/SegmentedControl/src/SegmentedControlItem.js +8 -8
  113. package/dist/SegmentedControl/src/index.css +44 -44
  114. package/dist/SegmentedControl/src/index.js +9 -9
  115. package/dist/Select/src/Select.css +576 -576
  116. package/dist/Select/src/Select.js +23 -23
  117. package/dist/Select/src/SelectValue.css +62 -62
  118. package/dist/Select/src/SelectValue.js +10 -10
  119. package/dist/Select/src/index.css +576 -576
  120. package/dist/Select/src/index.js +23 -23
  121. package/dist/Spinner/src/Spinner.css +38 -38
  122. package/dist/Spinner/src/Spinner.js +3 -3
  123. package/dist/Spinner/src/index.css +38 -38
  124. package/dist/Spinner/src/index.js +3 -3
  125. package/dist/Tile/src/Tile.css +326 -0
  126. package/dist/Tile/src/Tile.d.ts +20 -0
  127. package/dist/Tile/src/Tile.js +19 -0
  128. package/dist/Tile/src/TileContext.d.ts +9 -0
  129. package/dist/Tile/src/TileContext.js +2 -0
  130. package/dist/Tile/src/TileGroup.css +241 -0
  131. package/dist/Tile/src/TileGroup.d.ts +30 -0
  132. package/dist/Tile/src/TileGroup.js +6 -0
  133. package/dist/Tile/src/TileGroupContext.d.ts +8 -0
  134. package/dist/Tile/src/TileGroupContext.js +2 -0
  135. package/dist/Tile/src/index.css +334 -0
  136. package/dist/Tile/src/index.d.ts +7 -0
  137. package/dist/Tile/src/index.js +21 -0
  138. package/dist/ToggleArrow/src/ToggleArrow.css +30 -30
  139. package/dist/ToggleArrow/src/ToggleArrow.js +1 -1
  140. package/dist/ToggleArrow/src/index.css +30 -30
  141. package/dist/ToggleArrow/src/index.js +1 -1
  142. package/dist/buttons/src/Button.css +94 -94
  143. package/dist/buttons/src/Button.js +10 -10
  144. package/dist/buttons/src/ButtonGroup.css +39 -39
  145. package/dist/buttons/src/ButtonGroup.js +1 -1
  146. package/dist/buttons/src/ClearButton.css +99 -99
  147. package/dist/buttons/src/ClearButton.d.ts +12 -5
  148. package/dist/buttons/src/ClearButton.js +3 -3
  149. package/dist/buttons/src/ClearButtonContext.d.ts +2 -4
  150. package/dist/buttons/src/CloseButton.css +95 -95
  151. package/dist/buttons/src/CloseButton.js +12 -12
  152. package/dist/buttons/src/EmbeddedButton.css +99 -99
  153. package/dist/buttons/src/EmbeddedButton.d.ts +27 -7
  154. package/dist/buttons/src/EmbeddedButton.js +1 -1
  155. package/dist/buttons/src/EmbeddedButtonContext.d.ts +1 -4
  156. package/dist/buttons/src/LinkButton.css +103 -103
  157. package/dist/buttons/src/LinkButton.js +9 -9
  158. package/dist/buttons/src/index.css +251 -251
  159. package/dist/buttons/src/index.d.ts +2 -1
  160. package/dist/buttons/src/index.js +17 -17
  161. package/dist/checkbox/src/Checkbox.css +47 -47
  162. package/dist/checkbox/src/Checkbox.js +9 -9
  163. package/dist/checkbox/src/CheckboxField.css +34 -34
  164. package/dist/checkbox/src/CheckboxField.js +5 -5
  165. package/dist/checkbox/src/CheckboxGroup.css +99 -99
  166. package/dist/checkbox/src/CheckboxGroup.js +9 -9
  167. package/dist/checkbox/src/DecorativeCheckbox.css +55 -55
  168. package/dist/checkbox/src/DecorativeCheckbox.js +10 -10
  169. package/dist/checkbox/src/index.css +99 -99
  170. package/dist/checkbox/src/index.js +16 -16
  171. package/dist/{chunk-P5EIKUXO.js → chunk-26I53B5Y.js} +5 -5
  172. package/dist/{chunk-NH3IVMXB.js → chunk-2NSUMKNH.js} +1 -1
  173. package/dist/{chunk-7UNZPFF5.js → chunk-2NUBBFM5.js} +13 -12
  174. package/dist/{chunk-TZEOP7YF.js → chunk-35HDR5EW.js} +1 -1
  175. package/dist/{chunk-MIZJXB3R.js → chunk-35MPBJ2Y.js} +6 -6
  176. package/dist/chunk-3MTGAZ77.js +7 -0
  177. package/dist/{chunk-IIAAY3DD.js → chunk-3TXCNKNC.js} +2 -2
  178. package/dist/{chunk-MF2LIHC6.js → chunk-4O36V5KR.js} +4 -4
  179. package/dist/{chunk-K7JDZAO3.js → chunk-4VGF4WNW.js} +11 -11
  180. package/dist/{chunk-ERIQNISN.js → chunk-6HV32IPY.js} +1 -1
  181. package/dist/{chunk-JAR25BBL.js → chunk-7RPAPVYW.js} +4 -4
  182. package/dist/{chunk-4B5NJLD3.js → chunk-B277P7AQ.js} +1 -1
  183. package/dist/{chunk-KBHWDMMF.js → chunk-BTV2OYVC.js} +1 -3
  184. package/dist/{chunk-55OPYST3.js → chunk-BXG66HY3.js} +1 -1
  185. package/dist/{chunk-DW44WR6W.js → chunk-C34TTCEP.js} +4 -4
  186. package/dist/chunk-DRFFM5PG.js +6 -0
  187. package/dist/chunk-EG6J2LGD.js +34 -0
  188. package/dist/{chunk-RYJBYNZT.js → chunk-EZ5RRUX5.js} +1 -1
  189. package/dist/chunk-FLU4UPP6.js +7 -0
  190. package/dist/{chunk-ZVNGQXRR.js → chunk-GEZPNFFE.js} +2 -2
  191. package/dist/{chunk-6LIFUQT4.js → chunk-GGPG3AP3.js} +5 -5
  192. package/dist/{chunk-NJUYQ7VF.js → chunk-GTHTPLWR.js} +3 -3
  193. package/dist/{chunk-MO4EWTIM.js → chunk-H7ATUWV2.js} +2 -2
  194. package/dist/{chunk-OIELLCFE.js → chunk-HCYKOE75.js} +1 -1
  195. package/dist/{chunk-GNPTWYD3.js → chunk-HSK7PS5Z.js} +3 -3
  196. package/dist/{chunk-7EUXODLY.js → chunk-I7VLBEP3.js} +1 -1
  197. package/dist/chunk-IJY4EEMM.js +120 -0
  198. package/dist/{chunk-BHIQ5PPC.js → chunk-JA3YZAMV.js} +2 -2
  199. package/dist/{chunk-Z3WDZ52E.js → chunk-JALNC6MF.js} +1 -1
  200. package/dist/{chunk-2DF25AEQ.js → chunk-JHZLARBW.js} +2 -2
  201. package/dist/chunk-JTNKUYE5.js +8 -0
  202. package/dist/{chunk-ZWDUMUN4.js → chunk-JWHK6VZE.js} +2 -2
  203. package/dist/{chunk-XLPW4NX3.js → chunk-KRWMJC24.js} +53 -74
  204. package/dist/{chunk-JZ6DMATL.js → chunk-KYGM6GSZ.js} +5 -5
  205. package/dist/{chunk-MHQ3VHAA.js → chunk-L52ZO6DK.js} +6 -6
  206. package/dist/chunk-LUO2HNXA.js +7 -0
  207. package/dist/{chunk-N3XC5CZP.js → chunk-M43P32S2.js} +3 -3
  208. package/dist/{chunk-HXNEWO5D.js → chunk-MJD4HEF7.js} +16 -14
  209. package/dist/{chunk-UICYQNAO.js → chunk-MRKDMC6T.js} +4 -4
  210. package/dist/chunk-MS353K3B.js +77 -0
  211. package/dist/{chunk-OCG7CSY5.js → chunk-MYDMC5AL.js} +1 -1
  212. package/dist/{chunk-WICGT2T5.js → chunk-NSFQDIGS.js} +1 -1
  213. package/dist/{chunk-DOYWH7O2.js → chunk-O4BGMHFN.js} +30 -18
  214. package/dist/{chunk-J6RDT7TX.js → chunk-O7ASYBWX.js} +5 -5
  215. package/dist/chunk-O7T4L4C5.js +77 -0
  216. package/dist/{chunk-HJXC5SRI.js → chunk-OKFJ545T.js} +2 -2
  217. package/dist/{chunk-YQLCOKBQ.js → chunk-OLY7SREJ.js} +3 -3
  218. package/dist/chunk-PESGOSPX.js +59 -0
  219. package/dist/{chunk-OQFPMKF2.js → chunk-PFUFA75W.js} +13 -13
  220. package/dist/chunk-PH5BSJDK.js +7 -0
  221. package/dist/{chunk-IYRRO5H3.js → chunk-QHB7NUOZ.js} +2 -2
  222. package/dist/{chunk-LMATFHSS.js → chunk-R54ZMYQ4.js} +5 -5
  223. package/dist/chunk-RU2R4HRN.js +73 -0
  224. package/dist/chunk-RZVA6GTJ.js +75 -0
  225. package/dist/{chunk-NFIZ44XF.js → chunk-SQ4WQLG3.js} +5 -5
  226. package/dist/{chunk-3JJL6GD6.js → chunk-TEOQZH4R.js} +2 -2
  227. package/dist/{chunk-7SCKD7PW.js → chunk-TFMCSZBX.js} +4 -4
  228. package/dist/{chunk-5JYQWCE5.js → chunk-V6IGV2A6.js} +9 -9
  229. package/dist/{chunk-HMG6U7FQ.js → chunk-VLRWUC3G.js} +3 -3
  230. package/dist/{chunk-2GGER6XM.js → chunk-W2QZ6LNV.js} +1 -1
  231. package/dist/{chunk-4BXMSXYQ.js → chunk-W7UY3AN2.js} +1 -1
  232. package/dist/{chunk-7DLSOYOU.js → chunk-WEOELGV3.js} +5 -5
  233. package/dist/{chunk-WX5UNPM3.js → chunk-WNCTZPDC.js} +1 -1
  234. package/dist/{chunk-WLIPEWRM.js → chunk-WOHPT4IQ.js} +3 -3
  235. package/dist/{chunk-PHQ6YPQQ.js → chunk-WTW6WMRY.js} +2 -2
  236. package/dist/{chunk-K3IUMMRF.js → chunk-XCLYO62A.js} +4 -4
  237. package/dist/{chunk-JUVZRX26.js → chunk-XPU2VOT2.js} +4 -4
  238. package/dist/{chunk-JNJYQ26N.js → chunk-YDFVC72F.js} +14 -14
  239. package/dist/{chunk-BXPKRAAY.js → chunk-YE2X3QC5.js} +1 -1
  240. package/dist/{chunk-2XVB536Z.js → chunk-YGO4PKGI.js} +18 -26
  241. package/dist/{chunk-W5HTSWT3.js → chunk-YI3NOFUB.js} +3 -3
  242. package/dist/{chunk-MPCOEMN2.js → chunk-YYYKLACT.js} +3 -3
  243. package/dist/{chunk-KXAYZ6PQ.js → chunk-Z2OMFFPS.js} +1 -1
  244. package/dist/{chunk-SV6RSWOR.js → chunk-ZNATFVK3.js} +2 -2
  245. package/dist/{chunk-I73SWVA3.js → chunk-ZSBIKIOS.js} +4 -4
  246. package/dist/{chunk-Y7ATRH3L.js → chunk-ZVFVY7LL.js} +3 -3
  247. package/dist/index.css +1468 -1337
  248. package/dist/index.d.ts +12 -4
  249. package/dist/index.js +98 -90
  250. package/dist/inputs/src/Input.css +302 -0
  251. package/dist/inputs/src/Input.d.ts +15 -0
  252. package/dist/inputs/src/Input.js +3 -0
  253. package/dist/inputs/src/InputGroup.css +47 -1483
  254. package/dist/inputs/src/InputGroup.d.ts +1 -18
  255. package/dist/inputs/src/InputGroup.js +1 -3
  256. package/dist/inputs/src/InputGroupContext.d.ts +0 -2
  257. package/dist/inputs/src/NumberField.css +130 -1526
  258. package/dist/inputs/src/NumberField.js +14 -15
  259. package/dist/inputs/src/PasswordField.css +346 -380
  260. package/dist/inputs/src/PasswordField.d.ts +4 -4
  261. package/dist/inputs/src/PasswordField.js +15 -14
  262. package/dist/inputs/src/PasswordFieldContext.d.ts +2 -2
  263. package/dist/inputs/src/RemainingCharacterCount.css +31 -31
  264. package/dist/inputs/src/RemainingCharacterCount.js +9 -9
  265. package/dist/inputs/src/SearchField.css +350 -386
  266. package/dist/inputs/src/SearchField.d.ts +2 -2
  267. package/dist/inputs/src/SearchField.js +17 -16
  268. package/dist/inputs/src/SearchFieldContext.d.ts +2 -2
  269. package/dist/inputs/src/TextArea.css +122 -1498
  270. package/dist/inputs/src/TextArea.js +13 -14
  271. package/dist/inputs/src/TextField.css +348 -384
  272. package/dist/inputs/src/TextField.js +19 -18
  273. package/dist/inputs/src/index.css +625 -628
  274. package/dist/inputs/src/index.d.ts +4 -3
  275. package/dist/inputs/src/index.js +23 -23
  276. package/dist/overlays/Popover/src/Popover.css +552 -552
  277. package/dist/overlays/Popover/src/Popover.js +9 -9
  278. package/dist/overlays/Popover/src/index.css +552 -552
  279. package/dist/overlays/Popover/src/index.js +9 -9
  280. package/dist/radio/src/DecorativeRadio.css +55 -55
  281. package/dist/radio/src/DecorativeRadio.js +10 -10
  282. package/dist/radio/src/Radio.css +47 -47
  283. package/dist/radio/src/Radio.js +9 -9
  284. package/dist/radio/src/RadioField.css +34 -34
  285. package/dist/radio/src/RadioField.js +4 -4
  286. package/dist/radio/src/RadioGroup.css +99 -99
  287. package/dist/radio/src/RadioGroup.js +8 -8
  288. package/dist/radio/src/index.css +99 -99
  289. package/dist/radio/src/index.js +15 -15
  290. package/dist/switch/src/Switch.css +44 -44
  291. package/dist/switch/src/Switch.js +9 -9
  292. package/dist/switch/src/SwitchField.css +34 -34
  293. package/dist/switch/src/SwitchField.js +5 -5
  294. package/dist/switch/src/index.css +50 -50
  295. package/dist/switch/src/index.js +12 -12
  296. package/dist/tag/src/Tag.css +392 -392
  297. package/dist/tag/src/Tag.d.ts +46 -5
  298. package/dist/tag/src/Tag.js +15 -15
  299. package/dist/tag/src/TagContext.d.ts +3 -1
  300. package/dist/tag/src/TagGroup.css +38 -38
  301. package/dist/tag/src/TagGroup.d.ts +3 -1
  302. package/dist/tag/src/TagGroup.js +9 -9
  303. package/dist/tag/src/TagGroupContext.d.ts +3 -1
  304. package/dist/tag/src/index.css +402 -402
  305. package/dist/tag/src/index.d.ts +3 -1
  306. package/dist/tag/src/index.js +20 -20
  307. package/dist/typography/Heading/src/Heading.css +28 -28
  308. package/dist/typography/Heading/src/Heading.js +1 -1
  309. package/dist/typography/Heading/src/index.css +28 -28
  310. package/dist/typography/Heading/src/index.js +1 -1
  311. package/dist/typography/Label/src/Label.css +28 -28
  312. package/dist/typography/Label/src/Label.js +2 -2
  313. package/dist/typography/Label/src/index.css +28 -28
  314. package/dist/typography/Label/src/index.js +2 -2
  315. package/dist/typography/OverlineText/src/OverlineText.css +28 -28
  316. package/dist/typography/OverlineText/src/OverlineText.js +1 -1
  317. package/dist/typography/OverlineText/src/index.css +28 -28
  318. package/dist/typography/OverlineText/src/index.js +1 -1
  319. package/dist/typography/Text/src/Text.css +28 -28
  320. package/dist/typography/Text/src/Text.js +2 -2
  321. package/dist/typography/Text/src/index.css +28 -28
  322. package/dist/typography/Text/src/index.js +2 -2
  323. package/dist/utils/src/EnsureTextWrapper.css +28 -28
  324. package/dist/utils/src/EnsureTextWrapper.js +8 -8
  325. package/dist/utils/src/index.css +28 -28
  326. package/dist/utils/src/index.d.ts +0 -1
  327. package/dist/utils/src/index.js +9 -10
  328. package/dist/utils/src/types.d.ts +1 -1
  329. package/dist/utils/src/useRenderProps.js +1 -1
  330. package/package.json +5 -2
  331. package/dist/ClearButton-wcnm_ugx.d.ts +0 -80
  332. package/dist/chunk-2JXEPUMG.js +0 -102
  333. package/dist/chunk-MTDFS4CZ.js +0 -12
  334. package/dist/utils/src/useScale.d.ts +0 -11
  335. package/dist/utils/src/useScale.js +0 -2
@@ -0,0 +1,120 @@
1
+ import { ModalContext } from './chunk-PH5BSJDK.js';
2
+ import { _BaseModal } from './chunk-PESGOSPX.js';
3
+ import { ImageContext } from './chunk-XNHE2OVW.js';
4
+ import { FooterContext } from './chunk-I67NHYK4.js';
5
+ import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
6
+ import { HeaderContext } from './chunk-7JOGKC3W.js';
7
+ import { _CloseButton } from './chunk-H7ATUWV2.js';
8
+ import { useSlot } from './chunk-H5YTU3U7.js';
9
+ import { ContentContext } from './chunk-IXB2WK56.js';
10
+ import { ButtonContext } from './chunk-WMTWFKKP.js';
11
+ import { HeadingContext } from './chunk-TXZ6BMFR.js';
12
+ import { cssModule } from './chunk-KVDXQMWI.js';
13
+ import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
14
+ import clsx from 'clsx';
15
+ import { forwardRef } from 'react';
16
+ import { useContextProps, composeRenderProps, Dialog, OverlayTriggerStateContext, Provider } from 'react-aria-components';
17
+ import { jsx, jsxs } from 'react/jsx-runtime';
18
+
19
+ // css-module:./Modal.module.css#css-module
20
+ var Modal_module_default = { "hop-Modal": "Modal-module__hop-Modal___wjZ7y", "hop-Modal--fullscreen": "Modal-module__hop-Modal--fullscreen___90lIb", "hop-Modal--fullscreentakeover": "Modal-module__hop-Modal--fullscreentakeover___P3i5c", "hop-Modal__image": "Modal-module__hop-Modal__image___J33n9", "hop-Modal__close": "Modal-module__hop-Modal__close___mfifl", "hop-Modal__heading": "Modal-module__hop-Modal__heading___jk-kR", "hop-Modal__header": "Modal-module__hop-Modal__header___Kqi1n", "hop-Modal__content": "Modal-module__hop-Modal__content___jTeGe", "hop-Modal__footer": "Modal-module__hop-Modal__footer___z69Zp", "hop-Modal__button": "Modal-module__hop-Modal__button___Nj5d0", "hop-Modal__button-group": "Modal-module__hop-Modal__button-group___ZtwUy" };
21
+ var GlobalModalCssSelector = "hop-Modal";
22
+ var Modal = (props, ref) => {
23
+ var _a;
24
+ [props, ref] = useContextProps(props, ref, ModalContext);
25
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
26
+ const [imageRef, hasImage] = useSlot();
27
+ const {
28
+ className,
29
+ style,
30
+ slot,
31
+ isDismissible = true,
32
+ isKeyboardDismissDisabled,
33
+ size: sizeProp,
34
+ children: childrenProp,
35
+ isOpen,
36
+ defaultOpen,
37
+ onOpenChange,
38
+ overlayProps,
39
+ ...otherProps
40
+ } = ownProps;
41
+ const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
42
+ const classNames = clsx(
43
+ GlobalModalCssSelector,
44
+ cssModule(
45
+ Modal_module_default,
46
+ GlobalModalCssSelector,
47
+ size.toLowerCase()
48
+ ),
49
+ stylingProps.className,
50
+ className
51
+ );
52
+ const mergedStyles = {
53
+ ...style,
54
+ ...stylingProps.style
55
+ };
56
+ const children = composeRenderProps(childrenProp, (prev) => {
57
+ return prev;
58
+ });
59
+ return /* @__PURE__ */ jsx(
60
+ _BaseModal,
61
+ {
62
+ ...overlayProps,
63
+ isOpen,
64
+ defaultOpen,
65
+ onOpenChange,
66
+ hasImage,
67
+ size,
68
+ isDismissable: isDismissible,
69
+ isKeyboardDismissDisabled,
70
+ children: /* @__PURE__ */ jsx(
71
+ Dialog,
72
+ {
73
+ ...otherProps,
74
+ ref,
75
+ className: classNames,
76
+ style: mergedStyles,
77
+ slot,
78
+ children: (renderProps) => /* @__PURE__ */ jsxs(OverlayTriggerStateContext.Provider, { value: null, children: [
79
+ isDismissible && /* @__PURE__ */ jsx(_CloseButton, { className: Modal_module_default["hop-Modal__close"] }),
80
+ /* @__PURE__ */ jsx(
81
+ Provider,
82
+ {
83
+ values: [
84
+ [ImageContext, {
85
+ className: Modal_module_default["hop-Modal__image"],
86
+ ref: imageRef
87
+ }],
88
+ [HeadingContext, {
89
+ className: Modal_module_default["hop-Modal__heading"],
90
+ slot: "title"
91
+ }],
92
+ [HeaderContext, {
93
+ className: Modal_module_default["hop-Modal__header"]
94
+ }],
95
+ [ContentContext, {
96
+ className: Modal_module_default["hop-Modal__content"]
97
+ }],
98
+ [FooterContext, {
99
+ className: Modal_module_default["hop-Modal__footer"]
100
+ }],
101
+ [ButtonContext, {
102
+ className: Modal_module_default["hop-Modal__button"]
103
+ }],
104
+ [ButtonGroupContext, {
105
+ className: Modal_module_default["hop-Modal__button-group"]
106
+ }]
107
+ ],
108
+ children: children(renderProps)
109
+ }
110
+ )
111
+ ] })
112
+ }
113
+ )
114
+ }
115
+ );
116
+ };
117
+ var _Modal = forwardRef(Modal);
118
+ _Modal.displayName = "Modal";
119
+
120
+ export { GlobalModalCssSelector, _Modal };
@@ -1,6 +1,6 @@
1
1
  import { InternalSegmentedControlContext } from './chunk-JHX5QEIH.js';
2
2
  import { SegmentedControlItemContext } from './chunk-TDKQPTN6.js';
3
- import { _Text } from './chunk-3JJL6GD6.js';
3
+ import { _Text } from './chunk-TEOQZH4R.js';
4
4
  import { TextContext } from './chunk-X6SER3TZ.js';
5
5
  import { cssModule } from './chunk-KVDXQMWI.js';
6
6
  import { IconContext } from '@hopper-ui/icons';
@@ -11,7 +11,7 @@ import { useContextProps, ToggleGroupStateContext, ToggleButton, Provider, DEFAU
11
11
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
12
12
 
13
13
  // css-module:./SegmentedControlItem.module.css#css-module
14
- var SegmentedControlItem_module_default = { "hop-SegmentedControlItem": "SegmentedControlItem-module__hop-SegmentedControlItem___VOSrb", "hop-SegmentedControlItem__slider": "SegmentedControlItem-module__hop-SegmentedControlItem__slider___-87Co", "hop-SegmentedControlItem__wrapper": "SegmentedControlItem-module__hop-SegmentedControlItem__wrapper___Lck5C", "hop-SegmentedControlItem--md": "SegmentedControlItem-module__hop-SegmentedControlItem--md___Sab0L", "hop-SegmentedControlItem__icon": "SegmentedControlItem-module__hop-SegmentedControlItem__icon___4elRw", "hop-SegmentedControlItem__text": "SegmentedControlItem-module__hop-SegmentedControlItem__text___2Iy4U", "hop-SegmentedControlItem__start-icon": "SegmentedControlItem-module__hop-SegmentedControlItem__start-icon___Dpccu", "hop-SegmentedControlItem--justified": "SegmentedControlItem-module__hop-SegmentedControlItem--justified___UgPL1" };
14
+ var SegmentedControlItem_module_default = { "hop-SegmentedControlItem": "SegmentedControlItem-module__hop-SegmentedControlItem___DIh-p", "hop-SegmentedControlItem__slider": "SegmentedControlItem-module__hop-SegmentedControlItem__slider___iYM0q", "hop-SegmentedControlItem__wrapper": "SegmentedControlItem-module__hop-SegmentedControlItem__wrapper___BNDJ0", "hop-SegmentedControlItem--md": "SegmentedControlItem-module__hop-SegmentedControlItem--md___y2AgY", "hop-SegmentedControlItem__icon": "SegmentedControlItem-module__hop-SegmentedControlItem__icon___UCdZn", "hop-SegmentedControlItem__text": "SegmentedControlItem-module__hop-SegmentedControlItem__text___iXHlB", "hop-SegmentedControlItem__start-icon": "SegmentedControlItem-module__hop-SegmentedControlItem__start-icon___b8mM8", "hop-SegmentedControlItem--justified": "SegmentedControlItem-module__hop-SegmentedControlItem--justified___MIZxE" };
15
15
  var GlobalSegmentedControlItemCssSelector = "hop-SegmentedControlItem";
16
16
  var SegmentedControlItem = (props, ref) => {
17
17
  var _a;
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
9
9
  // css-module:./Card.module.css#css-module
10
- var Card_module_default = { "hop-Card": "Card-module__hop-Card___se8ow", "hop-Card--main": "Card-module__hop-Card--main___qOkxo", "hop-Card--second-level": "Card-module__hop-Card--second-level___0X6Xj" };
10
+ var Card_module_default = { "hop-Card": "Card-module__hop-Card___DFXbP", "hop-Card--main": "Card-module__hop-Card--main___xIrmj", "hop-Card--second-level": "Card-module__hop-Card--second-level___sw3LY" };
11
11
  var GlobalCardCssSelector = "hop-Card";
12
12
  var Card = (props, ref) => {
13
13
  [props, ref] = useContextProps(props, ref, CardContext);
@@ -1,5 +1,5 @@
1
1
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
2
- import { _Text } from './chunk-3JJL6GD6.js';
2
+ import { _Text } from './chunk-TEOQZH4R.js';
3
3
  import { cssModule } from './chunk-KVDXQMWI.js';
4
4
  import { InfoIcon } from '@hopper-ui/icons';
5
5
  import { useStyledSystem } from '@hopper-ui/styled-system';
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
9
9
  import { jsxs, jsx } from 'react/jsx-runtime';
10
10
 
11
11
  // css-module:./HelperMessage.module.css#css-module
12
- var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___yGssP", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___VEalH" };
12
+ var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___V7HTt", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___yyO6X" };
13
13
  var GlobalHelperMessageCssSelector = "hop-HelperMessage";
14
14
  function HelperMessage(props, ref) {
15
15
  const validation = useContext(FieldErrorContext);
@@ -0,0 +1,8 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/Tile/src/TileContext.ts
4
+ var TileContext = createContext({});
5
+ TileContext.displayName = "TileContext";
6
+ var InternalTileContext = createContext({});
7
+
8
+ export { InternalTileContext, TileContext };
@@ -1,5 +1,5 @@
1
1
  import { CalloutContext } from './chunk-NZ4VFVXA.js';
2
- import { _CloseButton } from './chunk-MO4EWTIM.js';
2
+ import { _CloseButton } from './chunk-H7ATUWV2.js';
3
3
  import { useSlot } from './chunk-H5YTU3U7.js';
4
4
  import { ContentContext } from './chunk-IXB2WK56.js';
5
5
  import { ButtonContext } from './chunk-WMTWFKKP.js';
@@ -14,7 +14,7 @@ import { useContextProps } from 'react-aria-components';
14
14
  import { jsx, jsxs } from 'react/jsx-runtime';
15
15
 
16
16
  // css-module:./Callout.module.css#css-module
17
- var Callout_module_default = { "hop-Callout": "Callout-module__hop-Callout___5V-kw", "hop-Callout__icon": "Callout-module__hop-Callout__icon___R-gXO", "hop-Callout__heading": "Callout-module__hop-Callout__heading___rteqk", "hop-Callout__content": "Callout-module__hop-Callout__content___qOMja", "hop-Callout__button": "Callout-module__hop-Callout__button___TwGMl", "hop-Callout__dismiss": "Callout-module__hop-Callout__dismiss___Rkd1z", "hop-Callout--information": "Callout-module__hop-Callout--information___d955B", "hop-Callout--success": "Callout-module__hop-Callout--success___BaKhq", "hop-Callout--warning": "Callout-module__hop-Callout--warning___BTHIn", "hop-Callout--upsell": "Callout-module__hop-Callout--upsell___QM-s4", "hop-Callout--subtle-fill": "Callout-module__hop-Callout--subtle-fill___oKHzb" };
17
+ var Callout_module_default = { "hop-Callout": "Callout-module__hop-Callout___-My7q", "hop-Callout__icon": "Callout-module__hop-Callout__icon___BQ0JB", "hop-Callout__heading": "Callout-module__hop-Callout__heading___v-Cro", "hop-Callout__content": "Callout-module__hop-Callout__content___PtGin", "hop-Callout__button": "Callout-module__hop-Callout__button___4Esvh", "hop-Callout__dismiss": "Callout-module__hop-Callout__dismiss___Au4Ub", "hop-Callout--information": "Callout-module__hop-Callout--information___PkjRH", "hop-Callout--success": "Callout-module__hop-Callout--success___2NhbN", "hop-Callout--warning": "Callout-module__hop-Callout--warning___-jTqa", "hop-Callout--upsell": "Callout-module__hop-Callout--upsell___FVQ5b", "hop-Callout--subtle-fill": "Callout-module__hop-Callout--subtle-fill___03isf" };
18
18
  var GlobalCalloutCssSelector = "hop-Callout";
19
19
  var Callout = (props, ref) => {
20
20
  [props, ref] = useContextProps(props, ref, CalloutContext);
@@ -1,30 +1,32 @@
1
- import { _Popover } from './chunk-SV6RSWOR.js';
1
+ import { InputContext, Input } from './chunk-EG6J2LGD.js';
2
+ import { _InputGroup } from './chunk-RU2R4HRN.js';
3
+ import { _Popover } from './chunk-ZNATFVK3.js';
2
4
  import { _Footer } from './chunk-VOZN65OL.js';
3
5
  import { _ListBoxSection } from './chunk-DZJSSJVJ.js';
4
- import { _ListBox } from './chunk-UICYQNAO.js';
5
- import { _ListBoxItem } from './chunk-5JYQWCE5.js';
6
- import { _HelperMessage } from './chunk-2DF25AEQ.js';
6
+ import { _ListBox } from './chunk-MRKDMC6T.js';
7
+ import { _ListBoxItem } from './chunk-V6IGV2A6.js';
8
+ import { _HelperMessage } from './chunk-JHZLARBW.js';
9
+ import { _ErrorMessage } from './chunk-M43P32S2.js';
7
10
  import { ComboBoxContext } from './chunk-4XHTP4GX.js';
8
- import { _ErrorMessage } from './chunk-N3XC5CZP.js';
9
- import { _ToggleArrow } from './chunk-OIELLCFE.js';
10
- import { ensureTextWrapper } from './chunk-4BXMSXYQ.js';
11
- import { _Label } from './chunk-PHQ6YPQQ.js';
12
- import { useFormProps } from './chunk-7EUXODLY.js';
13
- import { BadgeContext } from './chunk-CQDLZ42T.js';
11
+ import { _ToggleArrow } from './chunk-HCYKOE75.js';
12
+ import { ensureTextWrapper } from './chunk-W7UY3AN2.js';
13
+ import { _Label } from './chunk-WTW6WMRY.js';
14
+ import { useFormProps } from './chunk-I7VLBEP3.js';
14
15
  import { TextContext as TextContext$1 } from './chunk-X6SER3TZ.js';
15
- import { ClearProviders, ClearContainerSlots } from './chunk-HXI3MEEK.js';
16
16
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
17
17
  import { SlotProvider } from './chunk-M36KANKC.js';
18
+ import { ClearProviders, ClearContainerSlots } from './chunk-HXI3MEEK.js';
18
19
  import { cssModule } from './chunk-KVDXQMWI.js';
20
+ import { BadgeContext } from './chunk-CQDLZ42T.js';
19
21
  import { IconContext } from '@hopper-ui/icons';
20
22
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
21
23
  import { useObjectRef, mergeRefs, useResizeObserver } from '@react-aria/utils';
22
24
  import { forwardRef, useRef, useState, useCallback } from 'react';
23
- import { useContextProps, useSlottedContext, InputContext, composeRenderProps, TextContext, ButtonContext, ComboBox as ComboBox$1, Group, Input, Button } from 'react-aria-components';
25
+ import { useContextProps, useSlottedContext, composeRenderProps, TextContext, ButtonContext, ComboBox as ComboBox$1, Button } from 'react-aria-components';
24
26
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
25
27
 
26
28
  // css-module:./ComboBox.module.css#css-module
27
- var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___qaC5g", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___pweee", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___1Ef2l", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___-sd7F", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___KKZT6", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___fZXGk", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___AVYWQ", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___ZWtZo", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___It-w2", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___Ot2LN", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___ShFaj", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___OtWuP" };
29
+ var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___hT-ka", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___BJX9N", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___0A9v1", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___BvA1t", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___6POUD", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___qBzWu", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___Wn6ws", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___rzl2D" };
28
30
  var GlobalComboBoxCssSelector = "hop-ComboBox";
29
31
  function ComboBox(props, ref) {
30
32
  var _a, _b, _c, _d, _e;
@@ -44,6 +46,7 @@ function ComboBox(props, ref) {
44
46
  errorMessage,
45
47
  footer,
46
48
  isAutoMenuWidth,
49
+ isDisabled,
47
50
  isFluid: isFluidProp,
48
51
  isInvalid,
49
52
  isLoading,
@@ -68,7 +71,6 @@ function ComboBox(props, ref) {
68
71
  const inputContext = useSlottedContext(InputContext);
69
72
  const mergedInputRefs = (inputContext == null ? void 0 : inputContext.ref) ? mergeRefs(inputRef, inputContext.ref) : inputRef;
70
73
  const triggerRef = useRef(null);
71
- const buttonRef = useRef(null);
72
74
  const [triggerWidth, setTriggerWidth] = useState(null);
73
75
  const onResize = useCallback(() => {
74
76
  if (triggerRef.current) {
@@ -79,12 +81,10 @@ function ComboBox(props, ref) {
79
81
  ref: triggerRef,
80
82
  onResize
81
83
  });
82
- const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
83
84
  const {
84
85
  className: triggerClassName,
85
- style: triggerStyleProp,
86
86
  ...otherTriggerProps
87
- } = triggerOwnProps;
87
+ } = triggerProps != null ? triggerProps : {};
88
88
  const {
89
89
  style: popoverStyleProp
90
90
  } = popoverProps != null ? popoverProps : {};
@@ -109,35 +109,19 @@ function ComboBox(props, ref) {
109
109
  ComboBox_module_default,
110
110
  "hop-ComboBox__trigger",
111
111
  size
112
- ),
113
- triggerStylingProps.className
114
- );
115
- const buttonClassNames = composeClassnameRenderProps(
116
- cssModule(
117
- ComboBox_module_default,
118
- "hop-ComboBox__button"
119
112
  )
120
113
  );
121
- const inputClassNames = composeClassnameRenderProps(
122
- inputContext == null ? void 0 : inputContext.className,
123
- ComboBox_module_default["hop-ComboBox__input"]
124
- );
125
114
  const style = composeRenderProps(styleProp, (prev) => {
126
115
  return {
127
116
  ...stylingProps.style,
128
117
  ...prev
129
118
  };
130
119
  });
131
- const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
132
- return {
133
- ...triggerStylingProps.style,
134
- ...prev
135
- };
136
- });
137
120
  const popoverStyle = composeRenderProps(popoverStyleProp, (prev) => {
138
121
  return {
139
122
  ...prev,
140
123
  "--custom-trigger-width": triggerWidth
124
+ // TODO: declaring a variable here and using it in the Popover.module.css is a mistake.
141
125
  };
142
126
  });
143
127
  const footerMarkup = footer ? /* @__PURE__ */ jsx(
@@ -161,12 +145,6 @@ function ComboBox(props, ref) {
161
145
  )
162
146
  }
163
147
  ) : null;
164
- const handleMouseDown = useCallback((e) => {
165
- if (inputRef.current && e.target !== inputRef.current && buttonRef.current && e.target !== buttonRef.current) {
166
- inputRef.current.focus();
167
- e.preventDefault();
168
- }
169
- }, [inputRef]);
170
148
  const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
171
149
  SlotProvider,
172
150
  {
@@ -187,9 +165,9 @@ function ComboBox(props, ref) {
187
165
  isRequired,
188
166
  items,
189
167
  menuTrigger,
168
+ isDisabled,
190
169
  ...otherProps,
191
- children: (comboBoxRenderProps) => {
192
- const { isOpen } = comboBoxRenderProps;
170
+ children: ({ isOpen }) => {
193
171
  return /* @__PURE__ */ jsxs(Fragment, { children: [
194
172
  label && /* @__PURE__ */ jsx(
195
173
  _Label,
@@ -200,6 +178,38 @@ function ComboBox(props, ref) {
200
178
  children: label
201
179
  }
202
180
  ),
181
+ /* @__PURE__ */ jsxs(
182
+ _InputGroup,
183
+ {
184
+ ref: triggerRef,
185
+ className: triggerClassNames,
186
+ "data-selected": isOpen || void 0,
187
+ isFluid: true,
188
+ isDisabled,
189
+ isInvalid,
190
+ ...otherTriggerProps,
191
+ children: [
192
+ prefixMarkup,
193
+ /* @__PURE__ */ jsx(
194
+ Input,
195
+ {
196
+ ref: mergedInputRefs,
197
+ placeholder,
198
+ size
199
+ }
200
+ ),
201
+ /* @__PURE__ */ jsx(Button, { className: ComboBox_module_default["hop-ComboBox__button"], children: /* @__PURE__ */ jsx(
202
+ _ToggleArrow,
203
+ {
204
+ className: ComboBox_module_default["hop-ComboBox__button-icon"],
205
+ isExpanded: isOpen
206
+ }
207
+ ) })
208
+ ]
209
+ }
210
+ ),
211
+ description && /* @__PURE__ */ jsx(_HelperMessage, { className: ComboBox_module_default["hop-ComboBox__helper-message"], children: description }),
212
+ /* @__PURE__ */ jsx(_ErrorMessage, { className: ComboBox_module_default["hop-ComboBox__error-message"], children: errorMessage }),
203
213
  /* @__PURE__ */ jsxs(
204
214
  _Popover,
205
215
  {
@@ -237,38 +247,7 @@ function ComboBox(props, ref) {
237
247
  footerMarkup
238
248
  ]
239
249
  }
240
- ),
241
- /* @__PURE__ */ jsxs(
242
- Group,
243
- {
244
- ref: triggerRef,
245
- className: triggerClassNames,
246
- style: triggerStyle,
247
- onMouseDown: handleMouseDown,
248
- "data-selected": isOpen || void 0,
249
- ...otherTriggerProps,
250
- children: [
251
- prefixMarkup,
252
- /* @__PURE__ */ jsx(
253
- Input,
254
- {
255
- ref: mergedInputRefs,
256
- className: inputClassNames,
257
- placeholder
258
- }
259
- ),
260
- /* @__PURE__ */ jsx(Button, { className: buttonClassNames, ref: buttonRef, children: /* @__PURE__ */ jsx(
261
- _ToggleArrow,
262
- {
263
- className: ComboBox_module_default["hop-ComboBox__button-icon"],
264
- isExpanded: isOpen
265
- }
266
- ) })
267
- ]
268
- }
269
- ),
270
- description && /* @__PURE__ */ jsx(_HelperMessage, { className: ComboBox_module_default["hop-ComboBox__helper-message"], children: description }),
271
- /* @__PURE__ */ jsx(_ErrorMessage, { className: ComboBox_module_default["hop-ComboBox__error-message"], children: errorMessage })
250
+ )
272
251
  ] });
273
252
  }
274
253
  }
@@ -1,10 +1,10 @@
1
1
  import { RadioFieldContext } from './chunk-DGLAGYBD.js';
2
2
  import { RadioGroupContext } from './chunk-5MBJWRZD.js';
3
3
  import { RadioContext } from './chunk-FU5CCPLP.js';
4
- import { _HelperMessage } from './chunk-2DF25AEQ.js';
5
- import { _ErrorMessage } from './chunk-N3XC5CZP.js';
6
- import { _Label } from './chunk-PHQ6YPQQ.js';
7
- import { useFormProps } from './chunk-7EUXODLY.js';
4
+ import { _HelperMessage } from './chunk-JHZLARBW.js';
5
+ import { _ErrorMessage } from './chunk-M43P32S2.js';
6
+ import { _Label } from './chunk-WTW6WMRY.js';
7
+ import { useFormProps } from './chunk-I7VLBEP3.js';
8
8
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
9
9
  import { SlotProvider } from './chunk-M36KANKC.js';
10
10
  import { cssModule } from './chunk-KVDXQMWI.js';
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from
15
15
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
16
16
 
17
17
  // css-module:./RadioGroup.module.css#css-module
18
- var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___o6OLw", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___0mvuv", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___9D4HG", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___ypoJ4", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___386Hh", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___VbV5f", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___bQ0rh", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___N0NPq", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___gVVJc" };
18
+ var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___8FI2v", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___--DjV", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___mn67v", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___NovvY", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___N8hY0", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___NHfJB", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___oqhMS", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___th0kG", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___zNMY7" };
19
19
  var GlobalRadioGroupCssSelector = "hop-RadioGroup";
20
20
  function RadioGroup(props, ref) {
21
21
  var _a, _b, _c;
@@ -1,9 +1,9 @@
1
- import { TagGroupContext } from './chunk-LCAS3YQV.js';
2
1
  import { TagContext } from './chunk-EWMWQ2MC.js';
3
- import { _HelperMessage } from './chunk-2DF25AEQ.js';
4
- import { _ErrorMessage } from './chunk-N3XC5CZP.js';
5
- import { _Label } from './chunk-PHQ6YPQQ.js';
6
- import { useFormProps } from './chunk-7EUXODLY.js';
2
+ import { TagGroupContext } from './chunk-LCAS3YQV.js';
3
+ import { _HelperMessage } from './chunk-JHZLARBW.js';
4
+ import { _ErrorMessage } from './chunk-M43P32S2.js';
5
+ import { _Label } from './chunk-WTW6WMRY.js';
6
+ import { useFormProps } from './chunk-I7VLBEP3.js';
7
7
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
8
8
  import { SlotProvider } from './chunk-M36KANKC.js';
9
9
  import { cssModule } from './chunk-KVDXQMWI.js';
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, FieldErrorContext, TagGroup as Tag
14
14
  import { jsx, jsxs } from 'react/jsx-runtime';
15
15
 
16
16
  // css-module:./TagGroup.module.css#css-module
17
- var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___pfKOC", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___iCozS", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___mm9hn", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___hr57K", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___dxlVn" };
17
+ var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___5kSAi", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___Z43-v", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___xUOYR", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___xsrTf", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___YLkm0" };
18
18
  var GlobalTagGroupCssSelector = "hop-TagGroup";
19
19
  function TagGroup(props, ref) {
20
20
  var _a;
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/Modal/src/CustomModalContext.ts
4
+ var CustomModalContext = createContext({});
5
+ CustomModalContext.displayName = "CustomModalContext";
6
+
7
+ export { CustomModalContext };
@@ -1,6 +1,6 @@
1
1
  import { ErrorMessageContext } from './chunk-FAE27DLF.js';
2
- import { _Text } from './chunk-3JJL6GD6.js';
3
- import { useRenderProps } from './chunk-NH3IVMXB.js';
2
+ import { _Text } from './chunk-TEOQZH4R.js';
3
+ import { useRenderProps } from './chunk-2NSUMKNH.js';
4
4
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
5
5
  import { cssModule } from './chunk-KVDXQMWI.js';
6
6
  import { WarningIcon } from '@hopper-ui/icons';
@@ -10,7 +10,7 @@ import { FieldErrorContext, useContextProps, composeRenderProps } from 'react-ar
10
10
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
11
11
 
12
12
  // css-module:./ErrorMessage.module.css#css-module
13
- var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-ErrorMessage___s2fkF", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___r9WM6" };
13
+ var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-ErrorMessage___TlSrl", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___XJNoD" };
14
14
  var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
15
15
  function ErrorMessage(props, ref) {
16
16
  const validation = useContext(FieldErrorContext);
@@ -1,13 +1,14 @@
1
- import { _InputGroup } from './chunk-2JXEPUMG.js';
2
1
  import { PasswordFieldContext } from './chunk-QW45G6K4.js';
3
- import { _EmbeddedButton } from './chunk-KBHWDMMF.js';
4
- import { _HelperMessage } from './chunk-2DF25AEQ.js';
5
- import { _ErrorMessage } from './chunk-N3XC5CZP.js';
6
- import { _Label } from './chunk-PHQ6YPQQ.js';
2
+ import { _EmbeddedButton } from './chunk-BTV2OYVC.js';
3
+ import { Input } from './chunk-EG6J2LGD.js';
4
+ import { _InputGroup } from './chunk-RU2R4HRN.js';
5
+ import { _HelperMessage } from './chunk-JHZLARBW.js';
6
+ import { _ErrorMessage } from './chunk-M43P32S2.js';
7
+ import { _Label } from './chunk-WTW6WMRY.js';
7
8
  import { useLocalizedString } from './chunk-75DHKNW2.js';
8
- import { useFormProps } from './chunk-7EUXODLY.js';
9
- import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
9
+ import { useFormProps } from './chunk-I7VLBEP3.js';
10
10
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
11
+ import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
11
12
  import { cssModule } from './chunk-KVDXQMWI.js';
12
13
  import { EyeVisibleIcon, EyeHiddenIcon } from '@hopper-ui/icons';
13
14
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
@@ -15,11 +16,11 @@ import { mergeRefs } from '@react-aria/utils';
15
16
  import clsx from 'clsx';
16
17
  import { forwardRef, useState } from 'react';
17
18
  import { useObjectRef } from 'react-aria';
18
- import { useContextProps, composeRenderProps, Input, TextField } from 'react-aria-components';
19
+ import { useContextProps, composeRenderProps, TextField } from 'react-aria-components';
19
20
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
20
21
 
21
22
  // css-module:./PasswordField.module.css#css-module
22
- var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___-xvdh", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___IJaon", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___oxbKp", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___NAPLW", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___A4QRt", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___q9cP8" };
23
+ var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___q6L8n", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___l-TcN", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___p5VmJ", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___psVl2", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___H8-vu", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___qDFUU" };
23
24
  var GlobalPasswordFieldCssSelector = "hop-PasswordField";
24
25
  function PasswordField(props, ref) {
25
26
  var _a;
@@ -76,21 +77,22 @@ function PasswordField(props, ref) {
76
77
  isDisabled,
77
78
  isInvalid,
78
79
  isFluid: true,
79
- size,
80
80
  className: inputGroupClassNames,
81
81
  ...otherInputGroupProps,
82
82
  children: [
83
- /* @__PURE__ */ jsx(Input, { ref: inputRef, placeholder, type: showPassword ? "text" : "password", ...inputProps }),
83
+ /* @__PURE__ */ jsx(Input, { ref: inputRef, placeholder, type: showPassword ? "text" : "password", size, ...inputProps }),
84
84
  /* @__PURE__ */ jsx(
85
85
  _EmbeddedButton,
86
86
  {
87
87
  isDisabled,
88
88
  "aria-label": stringFormatter.format("PasswordField.toggleVisibility"),
89
- onPress: () => {
90
- setShowPassword((x) => !x);
91
- },
92
89
  size: "lg",
93
90
  ...embeddedButtonProps,
91
+ onPress: (e) => {
92
+ var _a2;
93
+ setShowPassword((x) => !x);
94
+ (_a2 = embeddedButtonProps == null ? void 0 : embeddedButtonProps.onPress) == null ? void 0 : _a2.call(embeddedButtonProps, e);
95
+ },
94
96
  children: showPassword ? /* @__PURE__ */ jsx(EyeVisibleIcon, {}) : /* @__PURE__ */ jsx(EyeHiddenIcon, {})
95
97
  }
96
98
  )
@@ -1,14 +1,14 @@
1
1
  import { isFunction } from './chunk-TIPN4VYD.js';
2
2
  import { ListBoxSectionContext } from './chunk-RLDIAT4F.js';
3
3
  import { ListBoxContext } from './chunk-UIEP5BA5.js';
4
- import { _ListBoxItem } from './chunk-5JYQWCE5.js';
4
+ import { _ListBoxItem } from './chunk-V6IGV2A6.js';
5
5
  import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
6
6
  import { HeaderContext } from './chunk-7JOGKC3W.js';
7
7
  import { useLocalizedString } from './chunk-75DHKNW2.js';
8
- import { _Text } from './chunk-3JJL6GD6.js';
9
- import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
8
+ import { _Text } from './chunk-TEOQZH4R.js';
10
9
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
11
10
  import { SlotProvider } from './chunk-M36KANKC.js';
11
+ import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
12
12
  import { cssModule } from './chunk-KVDXQMWI.js';
13
13
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
14
14
  import { useLoadMore } from '@react-aria/utils';
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
18
18
  import { jsx, jsxs } from 'react/jsx-runtime';
19
19
 
20
20
  // css-module:./ListBox.module.css#css-module
21
- var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___ukNfM", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___IfcPu", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___j6NHb", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___0jLwz", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___6LqU8" };
21
+ var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___lzwLl", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___aFGr1", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___3t3I0", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___WHmBg", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___FUmbX" };
22
22
  var GlobalListBoxCssSelector = "hop-ListBox";
23
23
  var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
24
24
  var ListBoxToTextSizeAdapter = {