@hopper-ui/components 1.4.6 → 1.4.8

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 (325) 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 +3 -3
  8. package/dist/Avatar/src/Avatar.css +56 -56
  9. package/dist/Avatar/src/Avatar.js +5 -5
  10. package/dist/Avatar/src/DeletedAvatar.css +38 -38
  11. package/dist/Avatar/src/DeletedAvatar.js +3 -3
  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 +7 -7
  16. package/dist/Badge/src/Badge.css +43 -43
  17. package/dist/Badge/src/Badge.js +3 -3
  18. package/dist/Badge/src/FloatingBadge.css +38 -38
  19. package/dist/Badge/src/FloatingBadge.js +2 -2
  20. package/dist/Badge/src/index.css +53 -53
  21. package/dist/Badge/src/index.js +5 -5
  22. package/dist/Callout/src/Callout.css +1649 -0
  23. package/dist/Callout/src/Callout.d.ts +38 -0
  24. package/dist/Callout/src/Callout.js +30 -0
  25. package/dist/Callout/src/CalloutContext.d.ts +10 -0
  26. package/dist/Callout/src/CalloutContext.js +2 -0
  27. package/dist/Callout/src/CompactCallout.css +1750 -0
  28. package/dist/Callout/src/CompactCallout.d.ts +18 -0
  29. package/dist/Callout/src/CompactCallout.js +31 -0
  30. package/dist/Callout/src/CompactCalloutContext.d.ts +11 -0
  31. package/dist/Callout/src/CompactCalloutContext.js +2 -0
  32. package/dist/Callout/src/index.css +1835 -0
  33. package/dist/Callout/src/index.d.ts +9 -0
  34. package/dist/Callout/src/index.js +33 -0
  35. package/dist/Card/src/Card.css +31 -31
  36. package/dist/Card/src/Card.js +1 -1
  37. package/dist/Card/src/index.css +31 -31
  38. package/dist/Card/src/index.js +1 -1
  39. package/dist/ComboBox/src/ComboBox.css +3200 -2838
  40. package/dist/ComboBox/src/ComboBox.d.ts +6 -6
  41. package/dist/ComboBox/src/ComboBox.js +28 -25
  42. package/dist/ComboBox/src/ComboBoxContext.d.ts +3 -2
  43. package/dist/ComboBox/src/index.css +3200 -2838
  44. package/dist/ComboBox/src/index.d.ts +4 -3
  45. package/dist/ComboBox/src/index.js +28 -25
  46. package/dist/Disclosure/src/Disclosure.css +38 -38
  47. package/dist/Disclosure/src/Disclosure.js +3 -3
  48. package/dist/Disclosure/src/DisclosureHeader.css +45 -45
  49. package/dist/Disclosure/src/DisclosureHeader.js +10 -10
  50. package/dist/Disclosure/src/DisclosurePanel.css +38 -38
  51. package/dist/Disclosure/src/DisclosurePanel.js +9 -9
  52. package/dist/Disclosure/src/index.css +63 -63
  53. package/dist/Disclosure/src/index.js +14 -14
  54. package/dist/Divider/src/Divider.css +30 -30
  55. package/dist/Divider/src/Divider.js +1 -1
  56. package/dist/Divider/src/index.css +30 -30
  57. package/dist/Divider/src/index.js +1 -1
  58. package/dist/ErrorMessage/src/ErrorMessage.css +30 -30
  59. package/dist/ErrorMessage/src/ErrorMessage.js +3 -3
  60. package/dist/ErrorMessage/src/index.css +30 -30
  61. package/dist/ErrorMessage/src/index.js +3 -3
  62. package/dist/Form/src/Form.css +28 -28
  63. package/dist/Form/src/Form.js +1 -1
  64. package/dist/Form/src/index.css +28 -28
  65. package/dist/Form/src/index.js +1 -1
  66. package/dist/HelperMessage/src/HelperMessage.css +30 -30
  67. package/dist/HelperMessage/src/HelperMessage.js +2 -2
  68. package/dist/HelperMessage/src/index.css +30 -30
  69. package/dist/HelperMessage/src/index.js +2 -2
  70. package/dist/IconList/src/IconList.css +29 -29
  71. package/dist/IconList/src/IconList.js +1 -1
  72. package/dist/IconList/src/index.css +29 -29
  73. package/dist/IconList/src/index.js +1 -1
  74. package/dist/IllustratedMessage/src/IllustratedMessage.css +281 -269
  75. package/dist/IllustratedMessage/src/IllustratedMessage.js +2 -2
  76. package/dist/IllustratedMessage/src/index.css +281 -269
  77. package/dist/IllustratedMessage/src/index.js +2 -2
  78. package/dist/Image/src/Image.css +31 -31
  79. package/dist/Image/src/Image.js +1 -1
  80. package/dist/Image/src/SvgImage.css +29 -29
  81. package/dist/Image/src/SvgImage.js +1 -1
  82. package/dist/Image/src/index.css +32 -32
  83. package/dist/Image/src/index.js +2 -2
  84. package/dist/Link/src/Link.css +59 -59
  85. package/dist/Link/src/Link.js +8 -8
  86. package/dist/Link/src/index.css +59 -59
  87. package/dist/Link/src/index.js +8 -8
  88. package/dist/ListBox/src/ListBox.css +275 -275
  89. package/dist/ListBox/src/ListBox.js +14 -14
  90. package/dist/ListBox/src/ListBoxItem.css +263 -263
  91. package/dist/ListBox/src/ListBoxItem.js +12 -12
  92. package/dist/ListBox/src/ListBoxItemSkeleton.css +35 -35
  93. package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
  94. package/dist/ListBox/src/index.css +275 -275
  95. package/dist/ListBox/src/index.js +14 -14
  96. package/dist/SegmentedControl/src/SegmentedControl.css +29 -29
  97. package/dist/SegmentedControl/src/SegmentedControl.js +1 -1
  98. package/dist/SegmentedControl/src/SegmentedControlItem.css +43 -43
  99. package/dist/SegmentedControl/src/SegmentedControlItem.js +7 -7
  100. package/dist/SegmentedControl/src/index.css +44 -44
  101. package/dist/SegmentedControl/src/index.d.ts +2 -0
  102. package/dist/SegmentedControl/src/index.js +10 -10
  103. package/dist/Select/src/Select.css +587 -575
  104. package/dist/Select/src/Select.js +26 -26
  105. package/dist/Select/src/SelectValue.css +62 -62
  106. package/dist/Select/src/SelectValue.js +8 -8
  107. package/dist/Select/src/index.css +587 -575
  108. package/dist/Select/src/index.js +26 -26
  109. package/dist/Spinner/src/Spinner.css +38 -38
  110. package/dist/Spinner/src/Spinner.js +2 -2
  111. package/dist/Spinner/src/index.css +38 -38
  112. package/dist/Spinner/src/index.js +2 -2
  113. package/dist/Tile/src/Tile.css +326 -0
  114. package/dist/Tile/src/Tile.d.ts +20 -0
  115. package/dist/Tile/src/Tile.js +19 -0
  116. package/dist/Tile/src/TileContext.d.ts +9 -0
  117. package/dist/Tile/src/TileContext.js +2 -0
  118. package/dist/Tile/src/TileGroup.css +241 -0
  119. package/dist/Tile/src/TileGroup.d.ts +30 -0
  120. package/dist/Tile/src/TileGroup.js +6 -0
  121. package/dist/Tile/src/TileGroupContext.d.ts +8 -0
  122. package/dist/Tile/src/TileGroupContext.js +2 -0
  123. package/dist/Tile/src/index.css +334 -0
  124. package/dist/Tile/src/index.d.ts +7 -0
  125. package/dist/Tile/src/index.js +21 -0
  126. package/dist/ToggleArrow/src/ToggleArrow.css +30 -30
  127. package/dist/ToggleArrow/src/ToggleArrow.js +1 -1
  128. package/dist/ToggleArrow/src/index.css +30 -30
  129. package/dist/ToggleArrow/src/index.js +1 -1
  130. package/dist/buttons/src/Button.css +94 -94
  131. package/dist/buttons/src/Button.js +10 -10
  132. package/dist/buttons/src/ButtonGroup.css +39 -39
  133. package/dist/buttons/src/ButtonGroup.js +1 -1
  134. package/dist/buttons/src/ClearButton.css +99 -99
  135. package/dist/buttons/src/ClearButton.d.ts +12 -5
  136. package/dist/buttons/src/ClearButton.js +4 -4
  137. package/dist/buttons/src/ClearButtonContext.d.ts +2 -4
  138. package/dist/buttons/src/CloseButton.css +679 -0
  139. package/dist/buttons/src/CloseButton.d.ts +18 -0
  140. package/dist/buttons/src/CloseButton.js +27 -0
  141. package/dist/buttons/src/CloseButtonContext.d.ts +13 -0
  142. package/dist/buttons/src/CloseButtonContext.js +2 -0
  143. package/dist/buttons/src/EmbeddedButton.css +99 -99
  144. package/dist/buttons/src/EmbeddedButton.d.ts +27 -7
  145. package/dist/buttons/src/EmbeddedButton.js +1 -1
  146. package/dist/buttons/src/EmbeddedButtonContext.d.ts +1 -4
  147. package/dist/buttons/src/LinkButton.css +103 -103
  148. package/dist/buttons/src/LinkButton.js +8 -8
  149. package/dist/buttons/src/index.css +262 -250
  150. package/dist/buttons/src/index.d.ts +4 -1
  151. package/dist/buttons/src/index.js +17 -15
  152. package/dist/checkbox/src/Checkbox.css +47 -47
  153. package/dist/checkbox/src/Checkbox.js +8 -8
  154. package/dist/checkbox/src/CheckboxField.css +34 -34
  155. package/dist/checkbox/src/CheckboxField.js +4 -4
  156. package/dist/checkbox/src/CheckboxGroup.css +99 -99
  157. package/dist/checkbox/src/CheckboxGroup.js +9 -9
  158. package/dist/checkbox/src/DecorativeCheckbox.css +55 -55
  159. package/dist/checkbox/src/DecorativeCheckbox.js +9 -9
  160. package/dist/checkbox/src/index.css +99 -99
  161. package/dist/checkbox/src/index.js +16 -16
  162. package/dist/{chunk-NH3IVMXB.js → chunk-2NSUMKNH.js} +1 -1
  163. package/dist/chunk-3MTGAZ77.js +7 -0
  164. package/dist/{chunk-FQHHLFAB.js → chunk-53WBWLKL.js} +12 -11
  165. package/dist/chunk-56WMYNUD.js +79 -0
  166. package/dist/{chunk-73CBNN4K.js → chunk-5TGWIM5C.js} +16 -14
  167. package/dist/{chunk-OUGECIOS.js → chunk-6CVROWNN.js} +2 -2
  168. package/dist/{chunk-67VFL63C.js → chunk-725VVVMA.js} +1 -1
  169. package/dist/{chunk-OMGZXRVE.js → chunk-72CSHV4D.js} +6 -6
  170. package/dist/{chunk-TFVDF4YH.js → chunk-75DHKNW2.js} +2 -0
  171. package/dist/chunk-7HIGRTLG.js +34 -0
  172. package/dist/{chunk-ZLWJJVD3.js → chunk-7JQJ5U7J.js} +1 -1
  173. package/dist/{chunk-Q5WT3U7W.js → chunk-7SMF3TO5.js} +2 -2
  174. package/dist/{chunk-OUTV4GW4.js → chunk-AD5GQ24L.js} +1 -1
  175. package/dist/{chunk-GK7I65BF.js → chunk-B7MWXJWS.js} +2 -2
  176. package/dist/{chunk-X5H6RCTP.js → chunk-BPO44JV2.js} +4 -4
  177. package/dist/{chunk-XE6JG2MF.js → chunk-CKH5EUEC.js} +3 -3
  178. package/dist/{chunk-JELBOYLB.js → chunk-CYICQ2TZ.js} +1 -1
  179. package/dist/{chunk-RTB477QF.js → chunk-CZRMFNRT.js} +3 -3
  180. package/dist/{chunk-KUBUEVXB.js → chunk-EZF74GSX.js} +2 -2
  181. package/dist/chunk-EZXZMHPJ.js +77 -0
  182. package/dist/chunk-F6D7LSXZ.js +73 -0
  183. package/dist/{chunk-25APP2V4.js → chunk-F6NQHY35.js} +1 -1
  184. package/dist/{chunk-5OS5HF6G.js → chunk-GOY3T3HI.js} +3 -3
  185. package/dist/chunk-GRCAVJC6.js +7 -0
  186. package/dist/{chunk-5CW3ZTUM.js → chunk-GZYLFGDT.js} +4 -4
  187. package/dist/{chunk-C67PNOQX.js → chunk-I2LTZFXN.js} +3 -3
  188. package/dist/{chunk-X7QAJPWB.js → chunk-IMUQCB4Q.js} +2 -2
  189. package/dist/{chunk-BQZSLU4S.js → chunk-IYT75GWO.js} +2 -2
  190. package/dist/chunk-JTNKUYE5.js +8 -0
  191. package/dist/{chunk-3AB3J5EP.js → chunk-JZ4LJ4M4.js} +4 -4
  192. package/dist/{chunk-BQJA5YLU.js → chunk-KFH2WZVX.js} +7 -7
  193. package/dist/{chunk-MISFLYHH.js → chunk-KIQW5BE4.js} +3 -3
  194. package/dist/{chunk-IFQPPUVZ.js → chunk-KVJHBVJU.js} +51 -72
  195. package/dist/{chunk-XQIEHXUJ.js → chunk-KW6WJUD5.js} +4 -4
  196. package/dist/{chunk-DCIGY462.js → chunk-M35EMGMO.js} +1 -1
  197. package/dist/{chunk-ULU4LXYF.js → chunk-ML4JW4EF.js} +17 -25
  198. package/dist/chunk-MM2SG6JU.js +75 -0
  199. package/dist/{chunk-YKHKR2GB.js → chunk-N455JVEG.js} +4 -4
  200. package/dist/chunk-NHKYEZTW.js +56 -0
  201. package/dist/{chunk-E74QE424.js → chunk-NIOF2SKT.js} +2 -2
  202. package/dist/{chunk-6I4ZCACA.js → chunk-NXT7EAML.js} +3 -3
  203. package/dist/chunk-NZ4VFVXA.js +7 -0
  204. package/dist/{chunk-3HGZNFEQ.js → chunk-OSGTA6DG.js} +1 -1
  205. package/dist/{chunk-56QFPH7A.js → chunk-PAVQC74G.js} +1 -1
  206. package/dist/{chunk-YA5VMTPD.js → chunk-PXOVV47X.js} +2 -2
  207. package/dist/{chunk-DW26OLDB.js → chunk-Q5XBTXXT.js} +7 -7
  208. package/dist/{chunk-LULTNKIP.js → chunk-QOFWY452.js} +3 -3
  209. package/dist/{chunk-SUB3BVYD.js → chunk-QR6WDDBN.js} +2 -2
  210. package/dist/{chunk-LLEWW4UQ.js → chunk-QVXYZX5B.js} +1 -1
  211. package/dist/chunk-RBWFFWIG.js +7 -0
  212. package/dist/{chunk-LUC6XJU7.js → chunk-RZG5PUET.js} +11 -11
  213. package/dist/{chunk-D4CWHBFC.js → chunk-S4VWM2B6.js} +29 -17
  214. package/dist/{chunk-YAK3UMON.js → chunk-SRMMLWHK.js} +1 -1
  215. package/dist/chunk-SSV5APP2.js +118 -0
  216. package/dist/{chunk-CPI34H7R.js → chunk-TMVLBCMF.js} +3 -3
  217. package/dist/{chunk-P63VMXVG.js → chunk-U2E2PK7O.js} +4 -4
  218. package/dist/{chunk-WN3TGQHF.js → chunk-UC2WGSJH.js} +13 -13
  219. package/dist/{chunk-4WKUWT6B.js → chunk-UIG77WBM.js} +6 -6
  220. package/dist/{chunk-SC6GOFII.js → chunk-UXCNMI34.js} +3 -3
  221. package/dist/{chunk-VUDALBYV.js → chunk-UXGG4SUH.js} +1 -1
  222. package/dist/{chunk-OT3SSSAN.js → chunk-VFZ2K6U6.js} +2 -2
  223. package/dist/{chunk-B22BEVRV.js → chunk-VHVRECJY.js} +6 -6
  224. package/dist/{chunk-M5Q2CFRQ.js → chunk-VOXZA4YS.js} +1 -1
  225. package/dist/{chunk-EOES5IUI.js → chunk-W2TEMTXK.js} +1 -1
  226. package/dist/{chunk-QZL7DSHL.js → chunk-WNFSIU36.js} +4 -4
  227. package/dist/{chunk-AZBN2SOE.js → chunk-XV2C6MXF.js} +9 -9
  228. package/dist/{chunk-LPKBOHFG.js → chunk-YHRCBRDZ.js} +2 -2
  229. package/dist/{chunk-ZXHTDMQB.js → chunk-YMQMJAC4.js} +3 -3
  230. package/dist/{chunk-5DW5MIOP.js → chunk-YP2IQM4Y.js} +3 -3
  231. package/dist/{chunk-4PZCXSIJ.js → chunk-Z2SUHJJH.js} +4 -4
  232. package/dist/{chunk-BOOMSDK7.js → chunk-Z7ORLEY6.js} +1 -1
  233. package/dist/{chunk-NKCDMR4Y.js → chunk-ZJBNVQTB.js} +1 -3
  234. package/dist/{chunk-O2YRPX5E.js → chunk-ZMNX5LVE.js} +2 -2
  235. package/dist/i18n/src/index.js +1 -1
  236. package/dist/i18n/src/useLocalizedString.js +1 -1
  237. package/dist/index.css +1636 -1563
  238. package/dist/index.d.ts +14 -4
  239. package/dist/index.js +94 -88
  240. package/dist/inputs/src/Input.css +302 -0
  241. package/dist/inputs/src/Input.d.ts +15 -0
  242. package/dist/inputs/src/Input.js +3 -0
  243. package/dist/inputs/src/InputGroup.css +47 -1471
  244. package/dist/inputs/src/InputGroup.d.ts +1 -18
  245. package/dist/inputs/src/InputGroup.js +1 -3
  246. package/dist/inputs/src/InputGroupContext.d.ts +0 -2
  247. package/dist/inputs/src/NumberField.css +130 -1514
  248. package/dist/inputs/src/NumberField.js +13 -14
  249. package/dist/inputs/src/PasswordField.css +357 -379
  250. package/dist/inputs/src/PasswordField.d.ts +4 -4
  251. package/dist/inputs/src/PasswordField.js +14 -13
  252. package/dist/inputs/src/PasswordFieldContext.d.ts +2 -2
  253. package/dist/inputs/src/RemainingCharacterCount.css +31 -31
  254. package/dist/inputs/src/RemainingCharacterCount.js +8 -8
  255. package/dist/inputs/src/SearchField.css +361 -385
  256. package/dist/inputs/src/SearchField.d.ts +2 -2
  257. package/dist/inputs/src/SearchField.js +16 -15
  258. package/dist/inputs/src/SearchFieldContext.d.ts +2 -2
  259. package/dist/inputs/src/TextArea.css +122 -1486
  260. package/dist/inputs/src/TextArea.js +12 -13
  261. package/dist/inputs/src/TextField.css +359 -383
  262. package/dist/inputs/src/TextField.js +18 -17
  263. package/dist/inputs/src/index.css +636 -627
  264. package/dist/inputs/src/index.d.ts +4 -3
  265. package/dist/inputs/src/index.js +23 -23
  266. package/dist/overlays/Popover/src/Popover.css +563 -551
  267. package/dist/overlays/Popover/src/Popover.js +10 -10
  268. package/dist/overlays/Popover/src/index.css +563 -551
  269. package/dist/overlays/Popover/src/index.js +10 -10
  270. package/dist/radio/src/DecorativeRadio.css +55 -55
  271. package/dist/radio/src/DecorativeRadio.js +9 -9
  272. package/dist/radio/src/Radio.css +47 -47
  273. package/dist/radio/src/Radio.js +8 -8
  274. package/dist/radio/src/RadioField.css +34 -34
  275. package/dist/radio/src/RadioField.js +3 -3
  276. package/dist/radio/src/RadioGroup.css +99 -99
  277. package/dist/radio/src/RadioGroup.js +9 -9
  278. package/dist/radio/src/index.css +99 -99
  279. package/dist/radio/src/index.js +16 -16
  280. package/dist/switch/src/Switch.css +44 -44
  281. package/dist/switch/src/Switch.js +8 -8
  282. package/dist/switch/src/SwitchField.css +34 -34
  283. package/dist/switch/src/SwitchField.js +4 -4
  284. package/dist/switch/src/index.css +50 -50
  285. package/dist/switch/src/index.js +11 -11
  286. package/dist/tag/src/Tag.css +403 -391
  287. package/dist/tag/src/Tag.d.ts +46 -5
  288. package/dist/tag/src/Tag.js +12 -12
  289. package/dist/tag/src/TagContext.d.ts +3 -1
  290. package/dist/tag/src/TagGroup.css +38 -38
  291. package/dist/tag/src/TagGroup.d.ts +3 -1
  292. package/dist/tag/src/TagGroup.js +9 -9
  293. package/dist/tag/src/TagGroupContext.d.ts +3 -1
  294. package/dist/tag/src/index.css +413 -401
  295. package/dist/tag/src/index.d.ts +3 -1
  296. package/dist/tag/src/index.js +18 -18
  297. package/dist/typography/Heading/src/Heading.css +28 -28
  298. package/dist/typography/Heading/src/Heading.js +1 -1
  299. package/dist/typography/Heading/src/index.css +28 -28
  300. package/dist/typography/Heading/src/index.js +1 -1
  301. package/dist/typography/Label/src/Label.css +28 -28
  302. package/dist/typography/Label/src/Label.js +3 -3
  303. package/dist/typography/Label/src/index.css +28 -28
  304. package/dist/typography/Label/src/index.js +3 -3
  305. package/dist/typography/OverlineText/src/OverlineText.css +28 -28
  306. package/dist/typography/OverlineText/src/OverlineText.js +1 -1
  307. package/dist/typography/OverlineText/src/index.css +28 -28
  308. package/dist/typography/OverlineText/src/index.js +1 -1
  309. package/dist/typography/Text/src/Text.css +28 -28
  310. package/dist/typography/Text/src/Text.js +1 -1
  311. package/dist/typography/Text/src/index.css +28 -28
  312. package/dist/typography/Text/src/index.js +1 -1
  313. package/dist/utils/src/EnsureTextWrapper.css +28 -28
  314. package/dist/utils/src/EnsureTextWrapper.js +7 -7
  315. package/dist/utils/src/index.css +28 -28
  316. package/dist/utils/src/index.d.ts +0 -1
  317. package/dist/utils/src/index.js +9 -10
  318. package/dist/utils/src/types.d.ts +1 -1
  319. package/dist/utils/src/useRenderProps.js +1 -1
  320. package/package.json +2 -2
  321. package/dist/ClearButton-wcnm_ugx.d.ts +0 -80
  322. package/dist/chunk-MTDFS4CZ.js +0 -12
  323. package/dist/chunk-X7PEWS4A.js +0 -102
  324. package/dist/utils/src/useScale.d.ts +0 -11
  325. package/dist/utils/src/useScale.js +0 -2
@@ -1,31 +1,31 @@
1
- export { _Checkbox as Checkbox, GlobalCheckboxCssSelector } from '../../chunk-CPI34H7R.js';
2
- export { _CheckboxField as CheckboxField, GlobalCheckboxFieldCssSelector } from '../../chunk-X5H6RCTP.js';
3
- export { _CheckboxGroup as CheckboxGroup, GlobalCheckboxGroupCssSelector } from '../../chunk-4WKUWT6B.js';
4
- export { CheckboxFieldContext } from '../../chunk-ZGNK4GWA.js';
1
+ export { _CheckboxGroup as CheckboxGroup, GlobalCheckboxGroupCssSelector } from '../../chunk-UIG77WBM.js';
5
2
  export { CheckboxGroupContext } from '../../chunk-N7YDPVZL.js';
6
- export { _DecorativeCheckbox as DecorativeCheckbox, GlobalDecorativeCheckboxCssSelector } from '../../chunk-RTB477QF.js';
3
+ export { _Checkbox as Checkbox, GlobalCheckboxCssSelector } from '../../chunk-TMVLBCMF.js';
4
+ export { _CheckboxField as CheckboxField, GlobalCheckboxFieldCssSelector } from '../../chunk-BPO44JV2.js';
5
+ export { CheckboxFieldContext } from '../../chunk-ZGNK4GWA.js';
6
+ export { _DecorativeCheckbox as DecorativeCheckbox, GlobalDecorativeCheckboxCssSelector } from '../../chunk-CZRMFNRT.js';
7
7
  export { CheckboxContext } from '../../chunk-2EAZPH3M.js';
8
- import '../../chunk-OUGECIOS.js';
8
+ import '../../chunk-6CVROWNN.js';
9
9
  import '../../chunk-HZKFQ33E.js';
10
- import '../../chunk-DHVVYSLB.js';
11
- import '../../chunk-SC6GOFII.js';
10
+ import '../../chunk-UXCNMI34.js';
12
11
  import '../../chunk-FAE27DLF.js';
13
- import '../../chunk-YAK3UMON.js';
12
+ import '../../chunk-DHVVYSLB.js';
13
+ import '../../chunk-SRMMLWHK.js';
14
14
  import '../../chunk-ZWU6DRRZ.js';
15
15
  import '../../chunk-DBIN32YS.js';
16
- import '../../chunk-56QFPH7A.js';
17
- import '../../chunk-C67PNOQX.js';
16
+ import '../../chunk-PAVQC74G.js';
17
+ import '../../chunk-I2LTZFXN.js';
18
18
  import '../../chunk-QCA3ZR56.js';
19
- import '../../chunk-TFVDF4YH.js';
19
+ import '../../chunk-75DHKNW2.js';
20
20
  import '../../chunk-TXZ6BMFR.js';
21
- import '../../chunk-M5Q2CFRQ.js';
21
+ import '../../chunk-VOXZA4YS.js';
22
22
  import '../../chunk-Q7NXUUB3.js';
23
- import '../../chunk-JELBOYLB.js';
23
+ import '../../chunk-CYICQ2TZ.js';
24
24
  import '../../chunk-WPNVVGFW.js';
25
- import '../../chunk-BOOMSDK7.js';
25
+ import '../../chunk-Z7ORLEY6.js';
26
26
  import '../../chunk-X6SER3TZ.js';
27
27
  import '../../chunk-HXI3MEEK.js';
28
- import '../../chunk-NH3IVMXB.js';
28
+ import '../../chunk-2NSUMKNH.js';
29
29
  import '../../chunk-65JPI4FL.js';
30
30
  import '../../chunk-M36KANKC.js';
31
31
  import '../../chunk-KVDXQMWI.js';
@@ -21,7 +21,7 @@ function useRenderProps(props) {
21
21
  computedClassName = className;
22
22
  }
23
23
  if (typeof style === "function") {
24
- computedStyle = style({ ...values, defaultStyle: defaultStyle || {} });
24
+ computedStyle = style({ ...values, defaultStyle: defaultStyle != null ? defaultStyle : {} });
25
25
  } else {
26
26
  computedStyle = style;
27
27
  }
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/Tile/src/TileGroupContext.ts
4
+ var TileGroupContext = createContext({});
5
+ TileGroupContext.displayName = "TileGroupContext";
6
+
7
+ export { TileGroupContext };
@@ -1,10 +1,11 @@
1
1
  import { SearchFieldContext } from './chunk-3NKF5TPD.js';
2
- import { _InputGroup } from './chunk-X7PEWS4A.js';
3
- import { _ClearButton } from './chunk-LPKBOHFG.js';
4
- import { _HelperMessage } from './chunk-OUGECIOS.js';
5
- import { _ErrorMessage } from './chunk-SC6GOFII.js';
6
- import { _Label } from './chunk-C67PNOQX.js';
7
- import { useFormProps } from './chunk-M5Q2CFRQ.js';
2
+ import { _ClearButton } from './chunk-YHRCBRDZ.js';
3
+ import { _InputGroup } from './chunk-F6D7LSXZ.js';
4
+ import { Input } from './chunk-7HIGRTLG.js';
5
+ import { _HelperMessage } from './chunk-6CVROWNN.js';
6
+ import { _ErrorMessage } from './chunk-UXCNMI34.js';
7
+ import { _Label } from './chunk-I2LTZFXN.js';
8
+ import { useFormProps } from './chunk-VOXZA4YS.js';
8
9
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
9
10
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
10
11
  import { SlotProvider } from './chunk-M36KANKC.js';
@@ -15,11 +16,11 @@ import { mergeRefs } from '@react-aria/utils';
15
16
  import clsx from 'clsx';
16
17
  import { forwardRef } from 'react';
17
18
  import { useObjectRef } from 'react-aria';
18
- import { useContextProps, composeRenderProps, Input, SearchField as SearchField$1 } from 'react-aria-components';
19
+ import { useContextProps, composeRenderProps, SearchField as SearchField$1 } from 'react-aria-components';
19
20
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
20
21
 
21
22
  // css-module:./SearchField.module.css#css-module
22
- var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___CHQAQ", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___x6B8r", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___9bTSb", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___IUpsK", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___0VRrb", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___Y3qPW", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___sBlhy", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___bY0uL", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___SqWL9" };
23
+ var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___-5HLF", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___8IdG-", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___s6O8x", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___DiTam", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___L4lf4", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___Hc4-6", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___xfrWc", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___RPzZr", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___LqiRr" };
23
24
  var GlobalSearchFieldCssSelector = "hop-SearchField";
24
25
  function SearchField(props, ref) {
25
26
  var _a;
@@ -44,6 +45,7 @@ function SearchField(props, ref) {
44
45
  necessityIndicator,
45
46
  inputGroupProps,
46
47
  clearButtonProps,
48
+ isReadOnly,
47
49
  label,
48
50
  description,
49
51
  errorMessage,
@@ -77,7 +79,6 @@ function SearchField(props, ref) {
77
79
  isDisabled,
78
80
  isInvalid,
79
81
  isFluid: true,
80
- size,
81
82
  className: inputGroupClassNames,
82
83
  ...otherInputGroupProps,
83
84
  children: [
@@ -92,8 +93,8 @@ function SearchField(props, ref) {
92
93
  children: icon
93
94
  }
94
95
  ),
95
- /* @__PURE__ */ jsx(Input, { ref: inputRef, placeholder }),
96
- isClearable && /* @__PURE__ */ jsx(_ClearButton, { size: "lg", isDisabled, className: clearButtonClassNames, ...otherClearButtonProps })
96
+ /* @__PURE__ */ jsx(Input, { size, ref: inputRef, placeholder }),
97
+ isClearable && !isReadOnly && /* @__PURE__ */ jsx(_ClearButton, { size: "lg", isDisabled, className: clearButtonClassNames, ...otherClearButtonProps })
97
98
  ]
98
99
  }
99
100
  ) });
@@ -0,0 +1,79 @@
1
+ import { _CloseButton } from './chunk-NHKYEZTW.js';
2
+ import { CompactCalloutContext } from './chunk-GRCAVJC6.js';
3
+ import { LinkContext } from './chunk-4VVNSXIB.js';
4
+ import { ContentContext } from './chunk-IXB2WK56.js';
5
+ import { ButtonContext } from './chunk-WMTWFKKP.js';
6
+ import { SlotProvider } from './chunk-M36KANKC.js';
7
+ import { cssModule } from './chunk-KVDXQMWI.js';
8
+ import { useStyledSystem } from '@hopper-ui/styled-system';
9
+ import clsx from 'clsx';
10
+ import { forwardRef } from 'react';
11
+ import { useContextProps } from 'react-aria-components';
12
+ import { jsx, jsxs } from 'react/jsx-runtime';
13
+
14
+ // css-module:./CompactCallout.module.css#css-module
15
+ var CompactCallout_module_default = { "hop-CompactCallout": "CompactCallout-module__hop-CompactCallout___xoUxq", "hop-CompactCallout__content": "CompactCallout-module__hop-CompactCallout__content___HNWIL", "hop-CompactCallout__button": "CompactCallout-module__hop-CompactCallout__button___B0uaw", "hop-CompactCallout__link": "CompactCallout-module__hop-CompactCallout__link___iMUnV", "hop-CompactCallout__dismiss": "CompactCallout-module__hop-CompactCallout__dismiss___hhR2w", "hop-CompactCallout--information": "CompactCallout-module__hop-CompactCallout--information___tIHrH", "hop-CompactCallout--success": "CompactCallout-module__hop-CompactCallout--success___oLJys", "hop-CompactCallout--warning": "CompactCallout-module__hop-CompactCallout--warning___gfKTH", "hop-CompactCallout--upsell": "CompactCallout-module__hop-CompactCallout--upsell___lYgtF", "hop-CompactCallout--subtle-fill": "CompactCallout-module__hop-CompactCallout--subtle-fill___ypEoM" };
16
+ var GlobalCompactCalloutCssSelector = "hop-CompactCallout";
17
+ var CompactCallout = (props, ref) => {
18
+ [props, ref] = useContextProps(props, ref, CompactCalloutContext);
19
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
20
+ const {
21
+ className,
22
+ children,
23
+ style,
24
+ slot,
25
+ onClose,
26
+ fillStyle = "border",
27
+ variant = "information",
28
+ ...otherProps
29
+ } = ownProps;
30
+ const classNames = clsx(
31
+ GlobalCompactCalloutCssSelector,
32
+ cssModule(
33
+ CompactCallout_module_default,
34
+ "hop-CompactCallout",
35
+ variant,
36
+ fillStyle === "subtleFill" && "subtle-fill"
37
+ ),
38
+ stylingProps.className,
39
+ className
40
+ );
41
+ const mergedStyles = {
42
+ ...style,
43
+ ...stylingProps.style
44
+ };
45
+ return /* @__PURE__ */ jsx(
46
+ "div",
47
+ {
48
+ ref,
49
+ className: classNames,
50
+ style: mergedStyles,
51
+ slot: slot != null ? slot : void 0,
52
+ ...otherProps,
53
+ children: /* @__PURE__ */ jsxs(
54
+ SlotProvider,
55
+ {
56
+ values: [
57
+ [ContentContext, {
58
+ className: CompactCallout_module_default["hop-CompactCallout__content"]
59
+ }],
60
+ [ButtonContext, {
61
+ className: CompactCallout_module_default["hop-CompactCallout__button"]
62
+ }],
63
+ [LinkContext, {
64
+ className: CompactCallout_module_default["hop-CompactCallout__link"]
65
+ }]
66
+ ],
67
+ children: [
68
+ children,
69
+ onClose && /* @__PURE__ */ jsx(_CloseButton, { className: CompactCallout_module_default["hop-CompactCallout__dismiss"], onPress: onClose })
70
+ ]
71
+ }
72
+ )
73
+ }
74
+ );
75
+ };
76
+ var _CompactCallout = forwardRef(CompactCallout);
77
+ _CompactCallout.displayName = "CompactCallout";
78
+
79
+ export { GlobalCompactCalloutCssSelector, _CompactCallout };
@@ -1,11 +1,12 @@
1
1
  import { PasswordFieldContext } from './chunk-QW45G6K4.js';
2
- import { _InputGroup } from './chunk-X7PEWS4A.js';
3
- import { _EmbeddedButton } from './chunk-NKCDMR4Y.js';
4
- import { _HelperMessage } from './chunk-OUGECIOS.js';
5
- import { _ErrorMessage } from './chunk-SC6GOFII.js';
6
- import { _Label } from './chunk-C67PNOQX.js';
7
- import { useLocalizedString } from './chunk-TFVDF4YH.js';
8
- import { useFormProps } from './chunk-M5Q2CFRQ.js';
2
+ import { _EmbeddedButton } from './chunk-ZJBNVQTB.js';
3
+ import { _InputGroup } from './chunk-F6D7LSXZ.js';
4
+ import { Input } from './chunk-7HIGRTLG.js';
5
+ import { _HelperMessage } from './chunk-6CVROWNN.js';
6
+ import { _ErrorMessage } from './chunk-UXCNMI34.js';
7
+ import { _Label } from './chunk-I2LTZFXN.js';
8
+ import { useLocalizedString } from './chunk-75DHKNW2.js';
9
+ import { useFormProps } from './chunk-VOXZA4YS.js';
9
10
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
10
11
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
11
12
  import { cssModule } from './chunk-KVDXQMWI.js';
@@ -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___x6oZM", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___KWlRN", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___6hV4k", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___Cf647", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___eMqo-", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___W-riH" };
23
+ var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___tt6Fb", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___JLaOb", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___eF-D-", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___i-K8U", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___M1NYA", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___Ihur9" };
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,5 +1,5 @@
1
1
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
2
- import { _Text } from './chunk-BOOMSDK7.js';
2
+ import { _Text } from './chunk-Z7ORLEY6.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___jW0Zp", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___jXeNe" };
12
+ var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___xIcmM", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___ACn9W" };
13
13
  var GlobalHelperMessageCssSelector = "hop-HelperMessage";
14
14
  function HelperMessage(props, ref) {
15
15
  const validation = useContext(FieldErrorContext);
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
11
11
  import { jsx } from 'react/jsx-runtime';
12
12
 
13
13
  // css-module:./ButtonGroup.module.css#css-module
14
- var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___ouAnr", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___J7KXB", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___ZWW8V", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___IlnuR", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___zsIwv", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___mmlUu", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___0-jfB", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___xMsbE" };
14
+ var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___-Y84e", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___0O5WA", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___XAj7Z", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___DILQT", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___oNNDT", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___3P-Su", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___OzFmj", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___LmBb3" };
15
15
  var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
16
16
  function ButtonGroup(props, ref) {
17
17
  var _a, _b, _c, _d;
@@ -1,9 +1,9 @@
1
- import { TagGroupContext } from './chunk-LCAS3YQV.js';
2
1
  import { TagContext } from './chunk-EWMWQ2MC.js';
3
- import { _HelperMessage } from './chunk-OUGECIOS.js';
4
- import { _ErrorMessage } from './chunk-SC6GOFII.js';
5
- import { _Label } from './chunk-C67PNOQX.js';
6
- import { useFormProps } from './chunk-M5Q2CFRQ.js';
2
+ import { TagGroupContext } from './chunk-LCAS3YQV.js';
3
+ import { _HelperMessage } from './chunk-6CVROWNN.js';
4
+ import { _ErrorMessage } from './chunk-UXCNMI34.js';
5
+ import { _Label } from './chunk-I2LTZFXN.js';
6
+ import { useFormProps } from './chunk-VOXZA4YS.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___AdlNh", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___lDae3", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___KIy3x", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___9qkuc", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___cJ4Up" };
17
+ var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___46Zpi", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___DLyok", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___f-q3G", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___Qeij4", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___m5Dpu" };
18
18
  var GlobalTagGroupCssSelector = "hop-TagGroup";
19
19
  function TagGroup(props, ref) {
20
20
  var _a;
@@ -8,6 +8,7 @@ var require_en_US = __commonJS({
8
8
  "Button.spinnerAriaLabel": `Loading`,
9
9
  "Tag.spinnerAriaLabel": `Loading`,
10
10
  "ClearButton.clearAriaLabel": `Clear`,
11
+ "CloseButton.ariaLabel": `Close`,
11
12
  "Input.charactersLeft": (args, formatter) => `${formatter.plural(args.charLeft, { "=0": `No characters left`, one: () => `${formatter.number(args.charLeft)} character left`, other: () => `${formatter.number(args.charLeft)} characters left` })}.`,
12
13
  "PasswordField.toggleVisibility": `Toggle password visibility`,
13
14
  "Tag.removeAriaLabel": `Remove`,
@@ -27,6 +28,7 @@ var require_fr_CA = __commonJS({
27
28
  "Button.spinnerAriaLabel": `Chargement en cours`,
28
29
  "Tag.spinnerAriaLabel": `Chargement en cours`,
29
30
  "ClearButton.clearAriaLabel": `Effacer`,
31
+ "CloseButton.ariaLabel": `Fermer`,
30
32
  "Input.charactersLeft": (args, formatter) => `${formatter.plural(args.charLeft, { "=0": `Aucun caract\xE8re restant`, one: () => `${formatter.number(args.charLeft)} caract\xE8re restant`, other: () => `${formatter.number(args.charLeft)} caract\xE8res restants` })}.`,
31
33
  "PasswordField.toggleVisibility": `Basculer la visibilit\xE9 du mot de passe`,
32
34
  "Tag.removeAriaLabel": `Supprimer`,
@@ -0,0 +1,34 @@
1
+ import { cssModule } from './chunk-KVDXQMWI.js';
2
+ import { useResponsiveValue } from '@hopper-ui/styled-system';
3
+ import clsx from 'clsx';
4
+ import { createContext, forwardRef } from 'react';
5
+ import { useContextProps, Input as Input$1 } from 'react-aria-components';
6
+ import { jsx } from 'react/jsx-runtime';
7
+
8
+ // css-module:./Input.module.css#css-module
9
+ var Input_module_default = { "hop-Input": "Input-module__hop-Input___BFsFZ", "hop-Input--sm": "Input-module__hop-Input--sm___z0ZJ7" };
10
+ var InputContext = createContext({});
11
+ var Input = forwardRef(function Input2(props, ref) {
12
+ var _a;
13
+ [props, ref] = useContextProps(props, ref, InputContext);
14
+ const { className, size: sizeProp, ...otherProps } = props;
15
+ const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
16
+ const classNames = clsx(
17
+ className,
18
+ cssModule(
19
+ Input_module_default,
20
+ "hop-Input",
21
+ size
22
+ )
23
+ );
24
+ return /* @__PURE__ */ jsx(
25
+ Input$1,
26
+ {
27
+ ...otherProps,
28
+ ref,
29
+ className: classNames
30
+ }
31
+ );
32
+ });
33
+
34
+ export { Input, InputContext };
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
9
9
  // css-module:./ListBoxItemSkeleton.module.css#css-module
10
- var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___RfvtA", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___INDNg", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___rgJx7", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___EvccL", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___33acg", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___VIH9s" };
10
+ var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___qL3tk", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___9lb5u", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___uwJrP", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___kbPsX", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___Cyj3g", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___beTGy" };
11
11
  var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
12
12
  function ListBoxItemSkeleton(props, ref) {
13
13
  var _a;
@@ -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-BOOMSDK7.js';
3
+ import { _Text } from './chunk-Z7ORLEY6.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___HFbP8", "hop-SegmentedControlItem__slider": "SegmentedControlItem-module__hop-SegmentedControlItem__slider___eqB4q", "hop-SegmentedControlItem__wrapper": "SegmentedControlItem-module__hop-SegmentedControlItem__wrapper___TwKhe", "hop-SegmentedControlItem--md": "SegmentedControlItem-module__hop-SegmentedControlItem--md___y2AwI", "hop-SegmentedControlItem__icon": "SegmentedControlItem-module__hop-SegmentedControlItem__icon___odFx3", "hop-SegmentedControlItem__text": "SegmentedControlItem-module__hop-SegmentedControlItem__text___n3By5", "hop-SegmentedControlItem__start-icon": "SegmentedControlItem-module__hop-SegmentedControlItem__start-icon___u8O1n", "hop-SegmentedControlItem--justified": "SegmentedControlItem-module__hop-SegmentedControlItem--justified___EgUNA" };
14
+ var SegmentedControlItem_module_default = { "hop-SegmentedControlItem": "SegmentedControlItem-module__hop-SegmentedControlItem___7Qop2", "hop-SegmentedControlItem__slider": "SegmentedControlItem-module__hop-SegmentedControlItem__slider___kDUjY", "hop-SegmentedControlItem__wrapper": "SegmentedControlItem-module__hop-SegmentedControlItem__wrapper___wVaA4", "hop-SegmentedControlItem--md": "SegmentedControlItem-module__hop-SegmentedControlItem--md___tNpfW", "hop-SegmentedControlItem__icon": "SegmentedControlItem-module__hop-SegmentedControlItem__icon___lnimi", "hop-SegmentedControlItem__text": "SegmentedControlItem-module__hop-SegmentedControlItem__text___i0fOE", "hop-SegmentedControlItem__start-icon": "SegmentedControlItem-module__hop-SegmentedControlItem__start-icon___Ogwhh", "hop-SegmentedControlItem--justified": "SegmentedControlItem-module__hop-SegmentedControlItem--justified___6-8I-" };
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:./Image.module.css#css-module
10
- var Image_module_default = { "hop-Image": "Image-module__hop-Image___NAS2f", "hop-Image--rounded": "Image-module__hop-Image--rounded___Y-3G1", "hop-Image--circular": "Image-module__hop-Image--circular___-uuJL" };
10
+ var Image_module_default = { "hop-Image": "Image-module__hop-Image___6qN5S", "hop-Image--rounded": "Image-module__hop-Image--rounded___NsX3-", "hop-Image--circular": "Image-module__hop-Image--circular___MhwfG" };
11
11
  var GlobalImageCssSelector = "hop-Image";
12
12
  function Image(props, ref) {
13
13
  [props, ref] = useContextProps(props, ref, ImageContext);
@@ -1,5 +1,5 @@
1
- import { FloatingBadgeContext } from './chunk-CIGS4QGT.js';
2
1
  import { BadgeContext } from './chunk-CQDLZ42T.js';
2
+ import { FloatingBadgeContext } from './chunk-CIGS4QGT.js';
3
3
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
4
4
  import { SlotProvider } from './chunk-M36KANKC.js';
5
5
  import { cssModule } from './chunk-KVDXQMWI.js';
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
10
10
  import { jsx } from 'react/jsx-runtime';
11
11
 
12
12
  // css-module:./FloatingBadge.module.css#css-module
13
- var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-FloatingBadge___ZV3e4", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___agdA9" };
13
+ var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-FloatingBadge___QuXe5", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___Kkz9-" };
14
14
  var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
15
15
  function FloatingBadge(props, ref) {
16
16
  [props, ref] = useContextProps(props, ref, FloatingBadgeContext);
@@ -1,9 +1,9 @@
1
1
  import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
2
2
  import { CheckboxContext } from './chunk-2EAZPH3M.js';
3
- import { useFormProps } from './chunk-M5Q2CFRQ.js';
4
- import { _Text } from './chunk-BOOMSDK7.js';
3
+ import { useFormProps } from './chunk-VOXZA4YS.js';
4
+ import { _Text } from './chunk-Z7ORLEY6.js';
5
5
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
6
- import { useRenderProps } from './chunk-NH3IVMXB.js';
6
+ import { useRenderProps } from './chunk-2NSUMKNH.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';
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
15
15
  import { jsx, jsxs } from 'react/jsx-runtime';
16
16
 
17
17
  // css-module:./CheckboxField.module.css#css-module
18
- var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___I6q-B", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___b43sU", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___Z7fln", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___4zEav", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___KgkOF" };
18
+ var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___eS3EQ", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___S4tBN", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___zQPTK", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___0-ebq", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___iyVgg" };
19
19
  var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
20
20
  var CheckboxToDescriptionSizeAdapter = {
21
21
  sm: "xs",
@@ -1,9 +1,9 @@
1
1
  import { RadioContext } from './chunk-FU5CCPLP.js';
2
2
  import { IconListContext } from './chunk-DHVVYSLB.js';
3
- import { ensureTextWrapper } from './chunk-YAK3UMON.js';
3
+ import { ensureTextWrapper } from './chunk-SRMMLWHK.js';
4
4
  import { TextContext } from './chunk-X6SER3TZ.js';
5
5
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
6
- import { useRenderProps } from './chunk-NH3IVMXB.js';
6
+ import { useRenderProps } from './chunk-2NSUMKNH.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';
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
15
15
  import { jsxs, jsx } from 'react/jsx-runtime';
16
16
 
17
17
  // css-module:./DecorativeRadio.module.css#css-module
18
- var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___OAgfH Radio-module__hop-Radio___8oc3E", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___R7qZP Radio-module__hop-Radio--sm___G9sMW", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___HwESg Radio-module__hop-Radio--md___-JIuw", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___w3PMu Radio-module__hop-Radio__icon___Qkgcp", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___4l9-d Radio-module__hop-Radio__icon___Qkgcp", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___EnGAA Radio-module__hop-Radio__box___K-P27", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___0k3p0 Radio-module__hop-Radio__bullet___U45F0", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___i-Fbh Radio-module__hop-Radio__text___J-3ff" };
18
+ var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___9x54r Radio-module__hop-Radio___5Jk1g", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___hNZXf Radio-module__hop-Radio--sm___BdNTW", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___vTAyH Radio-module__hop-Radio--md___UrmYv", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___Vb74v Radio-module__hop-Radio__icon___7DzPA", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___sGxSh Radio-module__hop-Radio__icon___7DzPA", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___bgTCS Radio-module__hop-Radio__box___2043M", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___RNTT4 Radio-module__hop-Radio__bullet___TcAp4", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___0jHZl Radio-module__hop-Radio__text___ul46c" };
19
19
  var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
20
20
  function DecorativeRadio(props, ref) {
21
21
  var _a;
@@ -7,7 +7,7 @@ import { useContextProps, Text } from 'react-aria-components';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
9
9
  // css-module:./OverlineText.module.css#css-module
10
- var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___XmSxB", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___VSfku" };
10
+ var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___LwiJI", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___ExOHp" };
11
11
  var GlobalOverlineTextCssSelector = "hop-OverlineText";
12
12
  function OverlineText(props, ref) {
13
13
  [props, ref] = useContextProps(props, ref, OverlineTextContext);
@@ -1,9 +1,9 @@
1
1
  import { CheckboxContext } from './chunk-2EAZPH3M.js';
2
2
  import { IconListContext } from './chunk-DHVVYSLB.js';
3
- import { ensureTextWrapper } from './chunk-YAK3UMON.js';
3
+ import { ensureTextWrapper } from './chunk-SRMMLWHK.js';
4
4
  import { TextContext } from './chunk-X6SER3TZ.js';
5
5
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
6
- import { useRenderProps } from './chunk-NH3IVMXB.js';
6
+ import { useRenderProps } from './chunk-2NSUMKNH.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';
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
15
15
  import { jsxs, jsx } from 'react/jsx-runtime';
16
16
 
17
17
  // css-module:./DecorativeCheckbox.module.css#css-module
18
- var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___3SolS Checkbox-module__hop-Checkbox___kKIgH", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___n-agg Checkbox-module__hop-Checkbox--sm___kOCFn", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___I1uLT Checkbox-module__hop-Checkbox--md___-EsN1", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___DfqFS Checkbox-module__hop-Checkbox__icon___Sa4k3", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___RZ0MI Checkbox-module__hop-Checkbox__icon___Sa4k3", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___3ijCD Checkbox-module__hop-Checkbox__box___vtH2J", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___t5qyn Checkbox-module__hop-Checkbox__check___LR4oZ", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___mOiEO Checkbox-module__hop-Checkbox__text___Klogf" };
18
+ var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___Y2q2d Checkbox-module__hop-Checkbox___zCt0Z", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___2sqwJ Checkbox-module__hop-Checkbox--sm___Q8wN-", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___EC1yt Checkbox-module__hop-Checkbox--md___AoYwc", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___U9p-C Checkbox-module__hop-Checkbox__icon___JYmIA", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___GhS2C Checkbox-module__hop-Checkbox__icon___JYmIA", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___h-d0F Checkbox-module__hop-Checkbox__box___Zq0yt", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___WlBbU Checkbox-module__hop-Checkbox__check___8zhd4", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___9vmJ0 Checkbox-module__hop-Checkbox__text___5m9Tt" };
19
19
  var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
20
20
  function DecorativeCheckbox(props, ref) {
21
21
  var _a;
@@ -1,6 +1,6 @@
1
1
  import { RadioContext } from './chunk-FU5CCPLP.js';
2
2
  import { IconListContext } from './chunk-DHVVYSLB.js';
3
- import { ensureTextWrapper } from './chunk-YAK3UMON.js';
3
+ import { ensureTextWrapper } from './chunk-SRMMLWHK.js';
4
4
  import { TextContext } from './chunk-X6SER3TZ.js';
5
5
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
6
6
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
13
13
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
14
14
 
15
15
  // css-module:./Radio.module.css#css-module
16
- var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___8oc3E", "hop-Radio--sm": "Radio-module__hop-Radio--sm___G9sMW", "hop-Radio--md": "Radio-module__hop-Radio--md___-JIuw", "hop-Radio__icon": "Radio-module__hop-Radio__icon___Qkgcp", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___xVxxM", "hop-Radio__box": "Radio-module__hop-Radio__box___K-P27", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___U45F0", "hop-Radio__text": "Radio-module__hop-Radio__text___J-3ff" };
16
+ var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___5Jk1g", "hop-Radio--sm": "Radio-module__hop-Radio--sm___BdNTW", "hop-Radio--md": "Radio-module__hop-Radio--md___UrmYv", "hop-Radio__icon": "Radio-module__hop-Radio__icon___7DzPA", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___91xg0", "hop-Radio__box": "Radio-module__hop-Radio__box___2043M", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___TcAp4", "hop-Radio__text": "Radio-module__hop-Radio__text___ul46c" };
17
17
  var GlobalRadioCssSelector = "hop-Radio";
18
18
  function Radio(props, ref) {
19
19
  var _a;
@@ -0,0 +1,77 @@
1
+ import { TileContext } from './chunk-JTNKUYE5.js';
2
+ import { _Text } from './chunk-Z7ORLEY6.js';
3
+ import { TextContext } from './chunk-X6SER3TZ.js';
4
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
5
+ import { cssModule } from './chunk-KVDXQMWI.js';
6
+ import { CheckmarkIcon } from '@hopper-ui/icons';
7
+ import { useStyledSystem } from '@hopper-ui/styled-system';
8
+ import { forwardRef } from 'react';
9
+ import { useContextProps, composeRenderProps, ToggleButton, Provider } from 'react-aria-components';
10
+ import { jsx, jsxs } from 'react/jsx-runtime';
11
+
12
+ // css-module:./Tile.module.css#css-module
13
+ var Tile_module_default = { "hop-Tile": "Tile-module__hop-Tile___voLrp", "hop-Tile__icon": "Tile-module__hop-Tile__icon___iI2bk" };
14
+ var GlobalTileCssSelector = "hop-Tile";
15
+ var Tile = (props, ref) => {
16
+ [props, ref] = useContextProps(props, ref, TileContext);
17
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
18
+ const {
19
+ className,
20
+ children: childrenProp,
21
+ style,
22
+ isDisabled,
23
+ slot,
24
+ ...otherProps
25
+ } = ownProps;
26
+ const classNames = composeClassnameRenderProps(
27
+ GlobalTileCssSelector,
28
+ cssModule(
29
+ Tile_module_default,
30
+ "hop-Tile"
31
+ ),
32
+ stylingProps.className,
33
+ className
34
+ );
35
+ const mergedStyles = composeRenderProps(style, (prev) => {
36
+ return {
37
+ ...stylingProps.style,
38
+ ...prev
39
+ };
40
+ });
41
+ const childrenFn = composeRenderProps(childrenProp, (prev) => {
42
+ return prev;
43
+ });
44
+ return /* @__PURE__ */ jsx(
45
+ ToggleButton,
46
+ {
47
+ ...otherProps,
48
+ isDisabled,
49
+ ref,
50
+ className: classNames,
51
+ style: mergedStyles,
52
+ slot: slot != null ? slot : void 0,
53
+ children: (renderProps) => {
54
+ const children = childrenFn(renderProps);
55
+ return /* @__PURE__ */ jsxs(
56
+ Provider,
57
+ {
58
+ values: [
59
+ [TextContext, {
60
+ size: "md",
61
+ className: Tile_module_default["hop-Tile__text"]
62
+ }]
63
+ ],
64
+ children: [
65
+ typeof children === "string" ? /* @__PURE__ */ jsx(_Text, { children }) : children,
66
+ /* @__PURE__ */ jsx(CheckmarkIcon, { className: Tile_module_default["hop-Tile__icon"] })
67
+ ]
68
+ }
69
+ );
70
+ }
71
+ }
72
+ );
73
+ };
74
+ var _Tile = forwardRef(Tile);
75
+ _Tile.displayName = "Tile";
76
+
77
+ export { GlobalTileCssSelector, _Tile };