@hopper-ui/components 1.0.2 → 1.0.4

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 (268) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/HopperProvider/src/HopperProvider.js +1 -1
  3. package/dist/HopperProvider/src/index.js +1 -1
  4. package/dist/IconList/src/IconList.css +1 -1
  5. package/dist/IconList/src/IconList.js +2 -2
  6. package/dist/IconList/src/IconListContext.js +1 -1
  7. package/dist/IconList/src/index.css +1 -1
  8. package/dist/IconList/src/index.js +2 -2
  9. package/dist/Link/src/Link.css +32 -32
  10. package/dist/Link/src/Link.js +7 -7
  11. package/dist/Link/src/LinkContext.js +1 -1
  12. package/dist/Link/src/index.css +32 -32
  13. package/dist/Link/src/index.js +7 -7
  14. package/dist/Spinner/src/Spinner.css +29 -29
  15. package/dist/Spinner/src/Spinner.js +5 -5
  16. package/dist/Spinner/src/SpinnerContext.js +1 -1
  17. package/dist/Spinner/src/index.css +29 -29
  18. package/dist/Spinner/src/index.js +5 -5
  19. package/dist/badge/src/Badge.css +80 -0
  20. package/dist/badge/src/Badge.d.ts +26 -0
  21. package/dist/badge/src/Badge.js +6 -0
  22. package/dist/badge/src/BadgeContext.d.ts +10 -0
  23. package/dist/badge/src/BadgeContext.js +2 -0
  24. package/dist/badge/src/index.css +80 -0
  25. package/dist/badge/src/index.d.ts +7 -0
  26. package/dist/badge/src/index.js +6 -0
  27. package/dist/buttons/src/Button.css +120 -120
  28. package/dist/buttons/src/Button.d.ts +1 -1
  29. package/dist/buttons/src/Button.js +11 -11
  30. package/dist/buttons/src/ButtonContext.js +1 -1
  31. package/dist/buttons/src/ButtonGroup.css +11 -11
  32. package/dist/buttons/src/ButtonGroup.d.ts +1 -1
  33. package/dist/buttons/src/ButtonGroup.js +6 -83
  34. package/dist/buttons/src/ButtonGroupContext.js +1 -1
  35. package/dist/buttons/src/ClearButton.css +76 -40
  36. package/dist/buttons/src/ClearButton.d.ts +4 -3
  37. package/dist/buttons/src/ClearButton.js +6 -3
  38. package/dist/buttons/src/ClearButtonContext.d.ts +1 -0
  39. package/dist/buttons/src/ClearButtonContext.js +1 -1
  40. package/dist/buttons/src/EmbeddedButton.css +102 -0
  41. package/dist/buttons/src/EmbeddedButton.d.ts +20 -0
  42. package/dist/buttons/src/EmbeddedButton.js +6 -0
  43. package/dist/buttons/src/EmbeddedButtonContext.d.ts +8 -0
  44. package/dist/buttons/src/EmbeddedButtonContext.js +2 -0
  45. package/dist/buttons/src/index.css +236 -161
  46. package/dist/buttons/src/index.d.ts +5 -0
  47. package/dist/buttons/src/index.js +17 -13
  48. package/dist/checkbox/src/Checkbox.css +39 -35
  49. package/dist/checkbox/src/Checkbox.js +6 -6
  50. package/dist/checkbox/src/CheckboxContext.js +1 -1
  51. package/dist/checkbox/src/CheckboxField.css +16 -16
  52. package/dist/checkbox/src/CheckboxField.js +5 -5
  53. package/dist/checkbox/src/CheckboxFieldContext.js +1 -1
  54. package/dist/checkbox/src/CheckboxGroup.css +79 -75
  55. package/dist/checkbox/src/CheckboxGroup.js +5 -5
  56. package/dist/checkbox/src/CheckboxGroupContext.js +1 -1
  57. package/dist/checkbox/src/CheckboxList.js +1 -1
  58. package/dist/checkbox/src/CheckboxListContext.js +1 -1
  59. package/dist/checkbox/src/index.css +79 -75
  60. package/dist/checkbox/src/index.js +10 -10
  61. package/dist/chip/src/Chip.css +34 -34
  62. package/dist/chip/src/Chip.js +5 -5
  63. package/dist/chip/src/ChipContext.js +1 -1
  64. package/dist/chip/src/index.css +34 -34
  65. package/dist/chip/src/index.js +5 -5
  66. package/dist/{chunk-NUUG5PFN.js → chunk-2CKDJG6R.js} +2 -2
  67. package/dist/{chunk-YSQDPG26.js → chunk-2P3A4VVY.js} +6 -1
  68. package/dist/chunk-3NKF5TPD.js +7 -0
  69. package/dist/chunk-5GRWAXTT.js +32 -0
  70. package/dist/chunk-6BFSSZCY.js +7 -0
  71. package/dist/chunk-6MSYEF4W.js +69 -0
  72. package/dist/chunk-AQITZWYM.js +43 -0
  73. package/dist/chunk-BCHUEONM.js +44 -0
  74. package/dist/{chunk-TOCGJB3X.js → chunk-BGESEKEN.js} +5 -5
  75. package/dist/chunk-CPWTHZGJ.js +156 -0
  76. package/dist/chunk-D6UTDI2K.js +28 -0
  77. package/dist/chunk-DZTMUFVC.js +83 -0
  78. package/dist/chunk-EWMWQ2MC.js +7 -0
  79. package/dist/{chunk-MICIYADH.js → chunk-F7HR3VI4.js} +1 -1
  80. package/dist/chunk-FGDSWA7S.js +91 -0
  81. package/dist/{chunk-FJ4WILCG.js → chunk-GBABMUAI.js} +2 -2
  82. package/dist/chunk-GXBVNCVP.js +43 -0
  83. package/dist/{chunk-LL2FMAAO.js → chunk-H6CDFWVR.js} +9 -3
  84. package/dist/chunk-HDYG2F3D.js +82 -0
  85. package/dist/chunk-I67NHYK4.js +7 -0
  86. package/dist/chunk-IXB2WK56.js +7 -0
  87. package/dist/chunk-LCAS3YQV.js +7 -0
  88. package/dist/chunk-LJXTJRSB.js +1 -0
  89. package/dist/chunk-LRXYIR2A.js +56 -0
  90. package/dist/{chunk-6JSCWDLJ.js → chunk-LSVXKVG4.js} +4 -4
  91. package/dist/{chunk-O2WSE3EM.js → chunk-N745TDH5.js} +4 -4
  92. package/dist/chunk-O4XPUINW.js +7 -0
  93. package/dist/chunk-O7IJYNVQ.js +7 -0
  94. package/dist/{chunk-S67EVV3J.js → chunk-OMBQ3J4O.js} +5 -5
  95. package/dist/{chunk-LKE4VXIP.js → chunk-PDYU6DNF.js} +5 -5
  96. package/dist/{chunk-GYK77A5U.js → chunk-PEPKE5SW.js} +5 -4
  97. package/dist/{chunk-HVKOIMMW.js → chunk-QCA3ZR56.js} +1 -1
  98. package/dist/{chunk-N2QZWPQF.js → chunk-QJBQRYJS.js} +2 -2
  99. package/dist/chunk-QW45G6K4.js +7 -0
  100. package/dist/{chunk-XTRE6FPK.js → chunk-RCFB4SN4.js} +5 -5
  101. package/dist/chunk-SC6ZK5ON.js +7 -0
  102. package/dist/chunk-SWMFTL46.js +373 -0
  103. package/dist/chunk-TIPN4VYD.js +46 -0
  104. package/dist/chunk-TR7YX3IZ.js +96 -0
  105. package/dist/{chunk-FAXZNX63.js → chunk-TSXPLL55.js} +6 -5
  106. package/dist/chunk-TXZ6BMFR.js +7 -0
  107. package/dist/{chunk-2NABNL6G.js → chunk-WGDP4ECF.js} +3 -3
  108. package/dist/chunk-WPNVVGFW.js +7 -0
  109. package/dist/chunk-WWRB4K4M.js +44 -0
  110. package/dist/{chunk-OE5BLFZI.js → chunk-X6SER3TZ.js} +1 -1
  111. package/dist/chunk-XLKYXKWE.js +7 -0
  112. package/dist/{chunk-IYQZFIWZ.js → chunk-XSASR6CK.js} +4 -4
  113. package/dist/{chunk-M67A5LAA.js → chunk-Y3L6TPP3.js} +11 -11
  114. package/dist/chunk-Y7HUXUHX.js +30 -0
  115. package/dist/{chunk-RLIG2IHH.js → chunk-Y7XWWUMU.js} +3 -3
  116. package/dist/chunk-Z3ID4UEE.js +55 -0
  117. package/dist/{chunk-CK42RJLK.js → chunk-ZAJJD5FY.js} +5 -5
  118. package/dist/chunk-ZSFJVMJN.js +7 -0
  119. package/dist/errorMessage/src/ErrorMessage.css +12 -12
  120. package/dist/errorMessage/src/ErrorMessage.d.ts +1 -1
  121. package/dist/errorMessage/src/ErrorMessage.js +5 -5
  122. package/dist/errorMessage/src/ErrorMessageContext.d.ts +1 -1
  123. package/dist/errorMessage/src/ErrorMessageContext.js +1 -1
  124. package/dist/errorMessage/src/index.css +12 -12
  125. package/dist/errorMessage/src/index.d.ts +1 -1
  126. package/dist/errorMessage/src/index.js +5 -5
  127. package/dist/helperMessage/src/HelperMessage.css +12 -12
  128. package/dist/helperMessage/src/HelperMessage.d.ts +1 -1
  129. package/dist/helperMessage/src/HelperMessage.js +5 -5
  130. package/dist/helperMessage/src/HelperMessageContext.d.ts +1 -1
  131. package/dist/helperMessage/src/HelperMessageContext.js +1 -1
  132. package/dist/helperMessage/src/index.css +12 -12
  133. package/dist/helperMessage/src/index.d.ts +1 -1
  134. package/dist/helperMessage/src/index.js +5 -5
  135. package/dist/i18n/src/index.js +2 -2
  136. package/dist/i18n/src/useLocalizedString.js +2 -2
  137. package/dist/inputs/src/InputGroup.css +111 -0
  138. package/dist/inputs/src/InputGroup.d.ts +24 -0
  139. package/dist/inputs/src/InputGroup.js +6 -0
  140. package/dist/inputs/src/InputGroupContext.d.ts +8 -0
  141. package/dist/inputs/src/InputGroupContext.js +2 -0
  142. package/dist/inputs/src/PasswordField.css +2527 -0
  143. package/dist/inputs/src/PasswordField.d.ts +33 -0
  144. package/dist/inputs/src/PasswordField.js +186 -0
  145. package/dist/inputs/src/PasswordFieldContext.d.ts +8 -0
  146. package/dist/inputs/src/PasswordFieldContext.js +2 -0
  147. package/dist/inputs/src/SearchField.css +2548 -0
  148. package/dist/inputs/src/SearchField.d.ts +42 -0
  149. package/dist/inputs/src/SearchField.js +186 -0
  150. package/dist/inputs/src/SearchFieldContext.d.ts +8 -0
  151. package/dist/inputs/src/SearchFieldContext.js +2 -0
  152. package/dist/inputs/src/TextField.css +2531 -0
  153. package/dist/inputs/src/TextField.d.ts +49 -0
  154. package/dist/inputs/src/TextField.js +79 -0
  155. package/dist/inputs/src/TextFieldContext.d.ts +8 -0
  156. package/dist/inputs/src/TextFieldContext.js +2 -0
  157. package/dist/inputs/src/index.css +2531 -0
  158. package/dist/inputs/src/index.d.ts +7 -0
  159. package/dist/inputs/src/index.js +79 -0
  160. package/dist/layout/src/Content.d.ts +17 -0
  161. package/dist/layout/src/Content.js +3 -0
  162. package/dist/layout/src/ContentContext.d.ts +10 -0
  163. package/dist/layout/src/ContentContext.js +2 -0
  164. package/dist/layout/src/Flex.js +1 -1
  165. package/dist/layout/src/Footer.d.ts +17 -0
  166. package/dist/layout/src/Footer.js +3 -0
  167. package/dist/layout/src/FooterContext.d.ts +10 -0
  168. package/dist/layout/src/FooterContext.js +2 -0
  169. package/dist/layout/src/Grid.js +2 -55
  170. package/dist/layout/src/Inline.js +3 -31
  171. package/dist/layout/src/Stack.js +3 -29
  172. package/dist/overlays/Popover/src/Popover.css +2456 -0
  173. package/dist/overlays/Popover/src/Popover.d.ts +20 -0
  174. package/dist/overlays/Popover/src/Popover.js +76 -0
  175. package/dist/overlays/Popover/src/PopoverContext.d.ts +9 -0
  176. package/dist/overlays/Popover/src/PopoverContext.js +2 -0
  177. package/dist/overlays/Popover/src/index.css +2456 -0
  178. package/dist/overlays/Popover/src/index.d.ts +6 -0
  179. package/dist/overlays/Popover/src/index.js +76 -0
  180. package/dist/radio/src/Radio.css +31 -31
  181. package/dist/radio/src/Radio.js +6 -6
  182. package/dist/radio/src/RadioContext.js +1 -1
  183. package/dist/radio/src/RadioField.css +16 -16
  184. package/dist/radio/src/RadioField.js +5 -4
  185. package/dist/radio/src/RadioFieldContext.js +1 -1
  186. package/dist/radio/src/RadioGroup.css +137 -137
  187. package/dist/radio/src/RadioGroup.js +6 -6
  188. package/dist/radio/src/RadioGroupContext.js +1 -1
  189. package/dist/radio/src/RadioList.js +1 -1
  190. package/dist/radio/src/RadioListContext.js +1 -1
  191. package/dist/radio/src/index.css +71 -71
  192. package/dist/radio/src/index.js +11 -11
  193. package/dist/switch/src/Switch.css +26 -26
  194. package/dist/switch/src/Switch.js +6 -6
  195. package/dist/switch/src/SwitchContext.js +1 -1
  196. package/dist/switch/src/SwitchField.css +16 -16
  197. package/dist/switch/src/SwitchField.js +5 -5
  198. package/dist/switch/src/SwitchFieldContext.js +1 -1
  199. package/dist/switch/src/index.css +32 -32
  200. package/dist/switch/src/index.js +8 -8
  201. package/dist/tag/src/Tag.css +2380 -0
  202. package/dist/tag/src/Tag.d.ts +28 -0
  203. package/dist/tag/src/Tag.js +74 -0
  204. package/dist/tag/src/TagContext.d.ts +8 -0
  205. package/dist/tag/src/TagContext.js +2 -0
  206. package/dist/tag/src/TagGroup.css +239 -0
  207. package/dist/tag/src/TagGroup.d.ts +24 -0
  208. package/dist/tag/src/TagGroup.js +10 -0
  209. package/dist/tag/src/TagGroupContext.d.ts +8 -0
  210. package/dist/tag/src/TagGroupContext.js +2 -0
  211. package/dist/tag/src/TagList.d.ts +15 -0
  212. package/dist/tag/src/TagList.js +4 -0
  213. package/dist/tag/src/TagListContext.d.ts +8 -0
  214. package/dist/tag/src/TagListContext.js +2 -0
  215. package/dist/tag/src/index.css +2380 -0
  216. package/dist/tag/src/index.d.ts +9 -0
  217. package/dist/tag/src/index.js +74 -0
  218. package/dist/typography/Heading/src/Heading.css +2380 -0
  219. package/dist/typography/Heading/src/Heading.d.ts +57 -0
  220. package/dist/typography/Heading/src/Heading.js +74 -0
  221. package/dist/typography/Heading/src/HeadingContext.d.ts +8 -0
  222. package/dist/typography/Heading/src/HeadingContext.js +2 -0
  223. package/dist/typography/Heading/src/index.css +2380 -0
  224. package/dist/typography/Heading/src/index.d.ts +5 -0
  225. package/dist/typography/Heading/src/index.js +74 -0
  226. package/dist/{Label → typography/Label}/src/Label.css +14 -14
  227. package/dist/{Label → typography/Label}/src/Label.d.ts +2 -3
  228. package/dist/typography/Label/src/Label.js +4 -0
  229. package/dist/typography/Label/src/LabelContext.js +2 -0
  230. package/dist/{Label → typography/Label}/src/index.css +14 -14
  231. package/dist/{Label → typography/Label}/src/index.d.ts +1 -1
  232. package/dist/typography/Label/src/index.js +4 -0
  233. package/dist/typography/OverlineText/src/OverlineText.css +42 -0
  234. package/dist/typography/OverlineText/src/OverlineText.d.ts +15 -0
  235. package/dist/typography/OverlineText/src/OverlineText.js +4 -0
  236. package/dist/typography/OverlineText/src/OverlineTextContext.d.ts +8 -0
  237. package/dist/typography/OverlineText/src/OverlineTextContext.js +2 -0
  238. package/dist/typography/OverlineText/src/index.css +42 -0
  239. package/dist/typography/OverlineText/src/index.d.ts +5 -0
  240. package/dist/typography/OverlineText/src/index.js +4 -0
  241. package/dist/{Text → typography/Text}/src/Text.css +10 -10
  242. package/dist/typography/Text/src/Text.js +6 -0
  243. package/dist/typography/Text/src/TextContext.js +2 -0
  244. package/dist/{Text → typography/Text}/src/index.css +10 -10
  245. package/dist/typography/Text/src/index.js +6 -0
  246. package/dist/utils/src/ClearSlots.js +1 -1
  247. package/dist/utils/src/SlotProvider.js +1 -1
  248. package/dist/utils/src/assertion.d.ts +15 -0
  249. package/dist/utils/src/assertion.js +2 -0
  250. package/dist/utils/src/composeClassnameRenderProps.js +1 -1
  251. package/dist/utils/src/cssModule.js +1 -1
  252. package/dist/utils/src/index.d.ts +1 -0
  253. package/dist/utils/src/index.js +4 -3
  254. package/dist/utils/src/isTextOnlyChildren.js +1 -1
  255. package/dist/utils/src/useRenderProps.js +1 -1
  256. package/dist/utils/src/useSlot.js +1 -1
  257. package/package.json +14 -13
  258. package/dist/Label/src/Label.js +0 -4
  259. package/dist/Label/src/LabelContext.js +0 -2
  260. package/dist/Label/src/index.js +0 -4
  261. package/dist/Text/src/Text.js +0 -6
  262. package/dist/Text/src/TextContext.js +0 -2
  263. package/dist/Text/src/index.js +0 -6
  264. package/dist/chunk-DBTHMTO4.js +0 -56
  265. /package/dist/{Label → typography/Label}/src/LabelContext.d.ts +0 -0
  266. /package/dist/{Text → typography/Text}/src/Text.d.ts +0 -0
  267. /package/dist/{Text → typography/Text}/src/TextContext.d.ts +0 -0
  268. /package/dist/{Text → typography/Text}/src/index.d.ts +0 -0
@@ -0,0 +1,373 @@
1
+ import { HeadingContext } from './chunk-TXZ6BMFR.js';
2
+ import { isArray, isDefined, isEmptyArray, isFunction, isNil, isNilOrEmpty, isNull, isNumber, isObject, isPlainObject, isPromise, isString, isUndefined } from './chunk-TIPN4VYD.js';
3
+ import { GlobalTagGroupCssSelector, _TagGroup } from './chunk-FGDSWA7S.js';
4
+ import { TagContext } from './chunk-EWMWQ2MC.js';
5
+ import { TagGroupContext } from './chunk-LCAS3YQV.js';
6
+ import { GlobalTagListCssSelector, _TagList } from './chunk-WWRB4K4M.js';
7
+ import { TagListContext } from './chunk-XLKYXKWE.js';
8
+ import { GlobalRadioGroupCssSelector, _RadioGroup } from './chunk-PDYU6DNF.js';
9
+ import { RadioGroupContext } from './chunk-5MBJWRZD.js';
10
+ import { GlobalRadioListCssSelector, _RadioList } from './chunk-NKHMUPAP.js';
11
+ import { RadioListContext } from './chunk-A7TZHALP.js';
12
+ import { GlobalSwitchCssSelector, _Switch } from './chunk-ZAJJD5FY.js';
13
+ import { GlobalSwitchFieldCssSelector, _SwitchField } from './chunk-N745TDH5.js';
14
+ import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
15
+ import { SwitchContext } from './chunk-YHBJAXUY.js';
16
+ import { _Grid, fitContent, minmax, repeat } from './chunk-Z3ID4UEE.js';
17
+ import { _Inline } from './chunk-Y7HUXUHX.js';
18
+ import { _Stack } from './chunk-D6UTDI2K.js';
19
+ import { GlobalRadioCssSelector, _Radio } from './chunk-BGESEKEN.js';
20
+ import { GlobalRadioFieldCssSelector, _RadioField } from './chunk-TSXPLL55.js';
21
+ import { RadioContext } from './chunk-FU5CCPLP.js';
22
+ import { RadioFieldContext } from './chunk-DGLAGYBD.js';
23
+ import { _Content, GlobalContentCssSelector } from './chunk-GXBVNCVP.js';
24
+ import { ContentContext } from './chunk-IXB2WK56.js';
25
+ import { _Flex } from './chunk-TVFC2MJ4.js';
26
+ import { _Footer, GlobalFooterCssSelector } from './chunk-AQITZWYM.js';
27
+ import { FooterContext } from './chunk-I67NHYK4.js';
28
+ import { _Chip, GlobalChipCssSelector } from './chunk-PEPKE5SW.js';
29
+ import { ChipContext } from './chunk-WTKIUAHI.js';
30
+ import { _ErrorMessage, GlobalErrorMessageCssSelector } from './chunk-QJBQRYJS.js';
31
+ import { GlobalHelperMessageCssSelector, _HelperMessage } from './chunk-GBABMUAI.js';
32
+ import { _CheckboxField, GlobalCheckboxFieldCssSelector } from './chunk-XSASR6CK.js';
33
+ import { _CheckboxGroup, GlobalCheckboxGroupCssSelector } from './chunk-LSVXKVG4.js';
34
+ import { ErrorMessageContext } from './chunk-ACVMW6YD.js';
35
+ import { HelperMessageContext } from './chunk-ESVVLTEN.js';
36
+ import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
37
+ import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
38
+ import { _CheckboxList, GlobalCheckboxListCssSelector } from './chunk-3LRBUQC2.js';
39
+ import { CheckboxListContext } from './chunk-WDUQUPTE.js';
40
+ import { _ButtonGroup, GlobalButtonGroupCssSelector } from './chunk-HDYG2F3D.js';
41
+ import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
42
+ import { _ClearButton, GlobalClearButtonCssSelector } from './chunk-5GRWAXTT.js';
43
+ import { ClearButtonContext } from './chunk-DXVKHP4V.js';
44
+ import { _EmbeddedButton, GlobalEmbeddedButtonCssSelector } from './chunk-6MSYEF4W.js';
45
+ import { EmbeddedButtonContext } from './chunk-O7IJYNVQ.js';
46
+ import { _Checkbox, GlobalCheckboxCssSelector } from './chunk-OMBQ3J4O.js';
47
+ import { CheckboxContext } from './chunk-2EAZPH3M.js';
48
+ import { _Badge, GlobalBadgeCssSelector } from './chunk-LRXYIR2A.js';
49
+ import { GlobalOverlineTextCssSelector, _OverlineText } from './chunk-BCHUEONM.js';
50
+ import { OverlineTextContext } from './chunk-WPNVVGFW.js';
51
+ import { BadgeContext } from './chunk-ZSFJVMJN.js';
52
+ import { _Button, GlobalButtonCssSelector } from './chunk-Y3L6TPP3.js';
53
+ import { useSlot } from './chunk-H5YTU3U7.js';
54
+ import { useRenderProps } from './chunk-NH3IVMXB.js';
55
+ import { useLocalizedString } from './chunk-H6CDFWVR.js';
56
+ import { GlobalSpinnerCssSelector, _Spinner } from './chunk-Y7XWWUMU.js';
57
+ import { GlobalLabelCssSelector, _Label } from './chunk-2CKDJG6R.js';
58
+ import { LabelContext } from './chunk-QCA3ZR56.js';
59
+ import { SpinnerContext } from './chunk-4ZYV2XLW.js';
60
+ import { ButtonContext } from './chunk-WMTWFKKP.js';
61
+ import { GlobalHopperProviderCssSelector, _HopperProvider } from './chunk-ANVMQBBG.js';
62
+ import { GlobalIconListCssSelector, _IconList } from './chunk-F7HR3VI4.js';
63
+ import { GlobalLinkCssSelector, _Link } from './chunk-RCFB4SN4.js';
64
+ import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
65
+ import { GlobalTextCssSelector, _Text } from './chunk-WGDP4ECF.js';
66
+ import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
67
+ import { TextContext } from './chunk-X6SER3TZ.js';
68
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
69
+ import { cssModule } from './chunk-KVDXQMWI.js';
70
+ import { SlotProvider } from './chunk-M36KANKC.js';
71
+ import { IconListContext } from './chunk-DHVVYSLB.js';
72
+ import { LinkContext } from './chunk-4VVNSXIB.js';
73
+ import { __export, __reExport } from './chunk-2P3A4VVY.js';
74
+ import * as styled_system_star from '@hopper-ui/styled-system';
75
+ import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
76
+ import clsx from 'clsx';
77
+ import { forwardRef } from 'react';
78
+ import { useContextProps, Heading as Heading$1, composeRenderProps, Tag as Tag$1 } from 'react-aria-components';
79
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
80
+ import { IconContext } from '@hopper-ui/icons';
81
+
82
+ // src/index.ts
83
+ var src_exports = {};
84
+ __export(src_exports, {
85
+ Badge: () => _Badge,
86
+ BadgeContext: () => BadgeContext,
87
+ Button: () => _Button,
88
+ ButtonContext: () => ButtonContext,
89
+ ButtonGroup: () => _ButtonGroup,
90
+ ButtonGroupContext: () => ButtonGroupContext,
91
+ Checkbox: () => _Checkbox,
92
+ CheckboxContext: () => CheckboxContext,
93
+ CheckboxField: () => _CheckboxField,
94
+ CheckboxFieldContext: () => CheckboxFieldContext,
95
+ CheckboxGroup: () => _CheckboxGroup,
96
+ CheckboxGroupContext: () => CheckboxGroupContext,
97
+ CheckboxList: () => _CheckboxList,
98
+ CheckboxListContext: () => CheckboxListContext,
99
+ Chip: () => _Chip,
100
+ ChipContext: () => ChipContext,
101
+ ClearButton: () => _ClearButton,
102
+ ClearButtonContext: () => ClearButtonContext,
103
+ ClearContainerSlots: () => ClearContainerSlots,
104
+ ClearProviders: () => ClearProviders,
105
+ Content: () => _Content,
106
+ ContentContext: () => ContentContext,
107
+ EmbeddedButton: () => _EmbeddedButton,
108
+ EmbeddedButtonContext: () => EmbeddedButtonContext,
109
+ ErrorMessage: () => _ErrorMessage,
110
+ ErrorMessageContext: () => ErrorMessageContext,
111
+ Flex: () => _Flex,
112
+ Footer: () => _Footer,
113
+ FooterContext: () => FooterContext,
114
+ GlobalBadgeCssSelector: () => GlobalBadgeCssSelector,
115
+ GlobalButtonCssSelector: () => GlobalButtonCssSelector,
116
+ GlobalButtonGroupCssSelector: () => GlobalButtonGroupCssSelector,
117
+ GlobalCheckboxCssSelector: () => GlobalCheckboxCssSelector,
118
+ GlobalCheckboxFieldCssSelector: () => GlobalCheckboxFieldCssSelector,
119
+ GlobalCheckboxGroupCssSelector: () => GlobalCheckboxGroupCssSelector,
120
+ GlobalCheckboxListCssSelector: () => GlobalCheckboxListCssSelector,
121
+ GlobalChipCssSelector: () => GlobalChipCssSelector,
122
+ GlobalClearButtonCssSelector: () => GlobalClearButtonCssSelector,
123
+ GlobalContentCssSelector: () => GlobalContentCssSelector,
124
+ GlobalEmbeddedButtonCssSelector: () => GlobalEmbeddedButtonCssSelector,
125
+ GlobalErrorMessageCssSelector: () => GlobalErrorMessageCssSelector,
126
+ GlobalFooterCssSelector: () => GlobalFooterCssSelector,
127
+ GlobalHeadingCssSelector: () => GlobalHeadingCssSelector,
128
+ GlobalHelperMessageCssSelector: () => GlobalHelperMessageCssSelector,
129
+ GlobalHopperProviderCssSelector: () => GlobalHopperProviderCssSelector,
130
+ GlobalIconListCssSelector: () => GlobalIconListCssSelector,
131
+ GlobalLabelCssSelector: () => GlobalLabelCssSelector,
132
+ GlobalLinkCssSelector: () => GlobalLinkCssSelector,
133
+ GlobalOverlineTextCssSelector: () => GlobalOverlineTextCssSelector,
134
+ GlobalRadioCssSelector: () => GlobalRadioCssSelector,
135
+ GlobalRadioFieldCssSelector: () => GlobalRadioFieldCssSelector,
136
+ GlobalRadioGroupCssSelector: () => GlobalRadioGroupCssSelector,
137
+ GlobalRadioListCssSelector: () => GlobalRadioListCssSelector,
138
+ GlobalSpinnerCssSelector: () => GlobalSpinnerCssSelector,
139
+ GlobalSwitchCssSelector: () => GlobalSwitchCssSelector,
140
+ GlobalSwitchFieldCssSelector: () => GlobalSwitchFieldCssSelector,
141
+ GlobalTagCssSelector: () => GlobalTagCssSelector,
142
+ GlobalTagGroupCssSelector: () => GlobalTagGroupCssSelector,
143
+ GlobalTagListCssSelector: () => GlobalTagListCssSelector,
144
+ GlobalTextCssSelector: () => GlobalTextCssSelector,
145
+ Grid: () => _Grid,
146
+ H1: () => H1,
147
+ H2: () => H2,
148
+ H3: () => H3,
149
+ H4: () => H4,
150
+ H5: () => H5,
151
+ H6: () => H6,
152
+ Heading: () => _Heading,
153
+ HeadingContext: () => HeadingContext,
154
+ HelperMessage: () => _HelperMessage,
155
+ HelperMessageContext: () => HelperMessageContext,
156
+ HopperProvider: () => _HopperProvider,
157
+ IconList: () => _IconList,
158
+ IconListContext: () => IconListContext,
159
+ Inline: () => _Inline,
160
+ Label: () => _Label,
161
+ LabelContext: () => LabelContext,
162
+ Link: () => _Link,
163
+ LinkContext: () => LinkContext,
164
+ OverlineText: () => _OverlineText,
165
+ OverlineTextContext: () => OverlineTextContext,
166
+ Radio: () => _Radio,
167
+ RadioContext: () => RadioContext,
168
+ RadioField: () => _RadioField,
169
+ RadioFieldContext: () => RadioFieldContext,
170
+ RadioGroup: () => _RadioGroup,
171
+ RadioGroupContext: () => RadioGroupContext,
172
+ RadioList: () => _RadioList,
173
+ RadioListContext: () => RadioListContext,
174
+ SlotProvider: () => SlotProvider,
175
+ Spinner: () => _Spinner,
176
+ SpinnerContext: () => SpinnerContext,
177
+ Stack: () => _Stack,
178
+ Switch: () => _Switch,
179
+ SwitchContext: () => SwitchContext,
180
+ SwitchField: () => _SwitchField,
181
+ SwitchFieldContext: () => SwitchFieldContext,
182
+ Tag: () => _Tag,
183
+ TagContext: () => TagContext,
184
+ TagGroup: () => _TagGroup,
185
+ TagGroupContext: () => TagGroupContext,
186
+ TagList: () => _TagList,
187
+ TagListContext: () => TagListContext,
188
+ Text: () => _Text,
189
+ TextContext: () => TextContext,
190
+ composeClassnameRenderProps: () => composeClassnameRenderProps,
191
+ cssModule: () => cssModule,
192
+ fitContent: () => fitContent,
193
+ isArray: () => isArray,
194
+ isDefined: () => isDefined,
195
+ isEmptyArray: () => isEmptyArray,
196
+ isFunction: () => isFunction,
197
+ isNil: () => isNil,
198
+ isNilOrEmpty: () => isNilOrEmpty,
199
+ isNull: () => isNull,
200
+ isNumber: () => isNumber,
201
+ isObject: () => isObject,
202
+ isPlainObject: () => isPlainObject,
203
+ isPromise: () => isPromise,
204
+ isString: () => isString,
205
+ isTextOnlyChildren: () => isTextOnlyChildren,
206
+ isUndefined: () => isUndefined,
207
+ minmax: () => minmax,
208
+ repeat: () => repeat,
209
+ useRenderProps: () => useRenderProps,
210
+ useSlot: () => useSlot
211
+ });
212
+
213
+ // css-module:./Heading.module.css#css-module
214
+ var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___Q3-KC", "hop-Heading--xs": "Heading-module__hop-Heading--xs___7idA2", "hop-Heading--sm": "Heading-module__hop-Heading--sm___tKfS2", "hop-Heading--md": "Heading-module__hop-Heading--md___EZDa1", "hop-Heading--lg": "Heading-module__hop-Heading--lg___wONbp", "hop-Heading--xl": "Heading-module__hop-Heading--xl___jZufr", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___UHXYW", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___f817X" };
215
+ var GlobalHeadingCssSelector = "hop-Heading";
216
+ function Heading(props, ref) {
217
+ [props, ref] = useContextProps(props, ref, HeadingContext);
218
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
219
+ const { className, size: sizeProp, children, style, ...otherProps } = ownProps;
220
+ const size = (0, src_exports.useResponsiveValue)(sizeProp != null ? sizeProp : "md");
221
+ const classNames = clsx(
222
+ GlobalHeadingCssSelector,
223
+ cssModule(
224
+ Heading_module_default,
225
+ "hop-Heading",
226
+ size
227
+ ),
228
+ stylingProps.className,
229
+ className
230
+ );
231
+ const mergedStyles = {
232
+ ...stylingProps.style,
233
+ ...style
234
+ };
235
+ return /* @__PURE__ */ jsx(
236
+ Heading$1,
237
+ {
238
+ ...otherProps,
239
+ ref,
240
+ className: classNames,
241
+ style: mergedStyles,
242
+ children
243
+ }
244
+ );
245
+ }
246
+ var _Heading = forwardRef(Heading);
247
+ _Heading.displayName = "Heading";
248
+ function createHeading(as) {
249
+ const level = parseInt(as[1]);
250
+ return forwardRef((props, ref) => {
251
+ return /* @__PURE__ */ jsx(_Heading, { ...props, ref, level });
252
+ });
253
+ }
254
+ var H1 = createHeading("h1");
255
+ var H2 = createHeading("h2");
256
+ var H3 = createHeading("h3");
257
+ var H4 = createHeading("h4");
258
+ var H5 = createHeading("h5");
259
+ var H6 = createHeading("h6");
260
+
261
+ // src/index.ts
262
+ __reExport(src_exports, styled_system_star);
263
+
264
+ // css-module:./Tag.module.css#css-module
265
+ var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___7-wrs", "hop-Tag--md": "Tag-module__hop-Tag--md___WMt5B", "hop-Tag__icon": "Tag-module__hop-Tag__icon___5WFui", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___bWXWD", "hop-Tag__badge": "Tag-module__hop-Tag__badge___d16x6", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___UFMPy", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___MVzwl", "hop-Tag--lg": "Tag-module__hop-Tag--lg___8WdhU", "hop-Tag__text": "Tag-module__hop-Tag__text___kf8E-", "hop-Badge--secondary": "Tag-module__hop-Badge--secondary___nwORS" };
266
+ var GlobalTagCssSelector = "hop-Tag";
267
+ var TagToTextSizeAdapter = {
268
+ md: "xs",
269
+ lg: "sm"
270
+ };
271
+ function Tag(props, ref) {
272
+ var _a;
273
+ [props, ref] = useContextProps(props, ref, TagContext);
274
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
275
+ const {
276
+ className,
277
+ children: childrenProp,
278
+ isInvalid,
279
+ isLoading,
280
+ size: sizeProp = "md",
281
+ style: styleProp,
282
+ textValue: textValueProp,
283
+ ...otherProps
284
+ } = ownProps;
285
+ const stringFormatter = useLocalizedString();
286
+ const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
287
+ const textValue = textValueProp != null ? textValueProp : typeof childrenProp === "string" ? childrenProp : void 0;
288
+ const classNames = composeClassnameRenderProps(
289
+ className,
290
+ GlobalTagCssSelector,
291
+ cssModule(
292
+ Tag_module_default,
293
+ "hop-Tag",
294
+ size
295
+ ),
296
+ stylingProps.className
297
+ );
298
+ const style = composeRenderProps(styleProp, (prev) => {
299
+ return {
300
+ ...stylingProps.style,
301
+ ...prev
302
+ };
303
+ });
304
+ const children = composeRenderProps(childrenProp, (prev) => {
305
+ if (prev && isTextOnlyChildren(prev)) {
306
+ return /* @__PURE__ */ jsx(_Text, { children: prev });
307
+ }
308
+ return prev;
309
+ });
310
+ return /* @__PURE__ */ jsx(
311
+ Tag$1,
312
+ {
313
+ ...otherProps,
314
+ ref,
315
+ className: classNames,
316
+ style,
317
+ textValue,
318
+ "data-invalid": isInvalid || void 0,
319
+ "data-loading": isLoading || void 0,
320
+ children: (tagProps) => {
321
+ const { allowsRemoving, isDisabled } = tagProps;
322
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
323
+ /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(
324
+ SlotProvider,
325
+ {
326
+ values: [
327
+ [TextContext, {
328
+ className: Tag_module_default["hop-Tag__text"],
329
+ size: TagToTextSizeAdapter[size]
330
+ }],
331
+ [IconListContext, {
332
+ className: Tag_module_default["hop-Tag__icon-list"],
333
+ size: "sm"
334
+ }],
335
+ [IconContext, {
336
+ className: Tag_module_default["hop-Tag__icon"],
337
+ size: "sm"
338
+ }],
339
+ [BadgeContext, {
340
+ className: Tag_module_default["hop-Tag__badge"],
341
+ isDisabled
342
+ }]
343
+ ],
344
+ children: children(tagProps)
345
+ }
346
+ ) }),
347
+ allowsRemoving && !isLoading && /* @__PURE__ */ jsx(
348
+ _ClearButton,
349
+ {
350
+ slot: "remove",
351
+ isDisabled,
352
+ className: Tag_module_default["hop-Tag__remove-btn"],
353
+ "aria-label": stringFormatter.format("Tag.removeAriaLabel"),
354
+ size
355
+ }
356
+ ),
357
+ isLoading && /* @__PURE__ */ jsx(
358
+ _Spinner,
359
+ {
360
+ "aria-label": stringFormatter.format("Tag.spinnerAriaLabel"),
361
+ size: "sm",
362
+ className: Tag_module_default["hop-Tag__Spinner"]
363
+ }
364
+ )
365
+ ] });
366
+ }
367
+ }
368
+ );
369
+ }
370
+ var _Tag = forwardRef(Tag);
371
+ _Tag.displayName = "Tag";
372
+
373
+ export { GlobalHeadingCssSelector, GlobalTagCssSelector, H1, H2, H3, H4, H5, H6, _Heading, _Tag, src_exports };
@@ -0,0 +1,46 @@
1
+ // src/utils/src/assertion.ts
2
+ function isNull(value) {
3
+ return value == null;
4
+ }
5
+ function isUndefined(value) {
6
+ return typeof value === "undefined" || value === void 0;
7
+ }
8
+ function isDefined(value) {
9
+ return typeof value !== "undefined" && value !== void 0;
10
+ }
11
+ function isNil(value) {
12
+ return isNull(value) || isUndefined(value);
13
+ }
14
+ function isNilOrEmpty(value) {
15
+ return isNil(value) || value === "";
16
+ }
17
+ function isString(value) {
18
+ return Object.prototype.toString.call(value) === "[object String]";
19
+ }
20
+ function isNumber(value) {
21
+ return typeof value === "number";
22
+ }
23
+ function isArray(value) {
24
+ return Array.isArray(value);
25
+ }
26
+ function isEmptyArray(value) {
27
+ return isArray(value) && value.length === 0;
28
+ }
29
+ function isFunction(value) {
30
+ return typeof value === "function";
31
+ }
32
+ function isObject(value) {
33
+ return typeof value === "object" && !Array.isArray(value) && value != null;
34
+ }
35
+ function isPlainObject(value) {
36
+ if (Object.prototype.toString.call(value) !== "[object Object]") {
37
+ return false;
38
+ }
39
+ const prototype = Object.getPrototypeOf(value);
40
+ return prototype === null || prototype === Object.prototype;
41
+ }
42
+ function isPromise(value) {
43
+ return !isNil(value) && !isNil(value.then);
44
+ }
45
+
46
+ export { isArray, isDefined, isEmptyArray, isFunction, isNil, isNilOrEmpty, isNull, isNumber, isObject, isPlainObject, isPromise, isString, isUndefined };
@@ -0,0 +1,96 @@
1
+ import { PopoverContext } from './chunk-SC6ZK5ON.js';
2
+ import { src_exports } from './chunk-SWMFTL46.js';
3
+ import { HeadingContext } from './chunk-TXZ6BMFR.js';
4
+ import { isFunction, isNil } from './chunk-TIPN4VYD.js';
5
+ import { ContentContext } from './chunk-IXB2WK56.js';
6
+ import { FooterContext } from './chunk-I67NHYK4.js';
7
+ import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
8
+ import { ButtonContext } from './chunk-WMTWFKKP.js';
9
+ import { _HopperProvider } from './chunk-ANVMQBBG.js';
10
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
11
+ import { cssModule } from './chunk-KVDXQMWI.js';
12
+ import { SlotProvider } from './chunk-M36KANKC.js';
13
+ import { LinkContext } from './chunk-4VVNSXIB.js';
14
+ import { useStyledSystem } from '@hopper-ui/styled-system';
15
+ import clsx from 'clsx';
16
+ import { forwardRef } from 'react';
17
+ import { DialogTrigger, useContextProps, Popover as Popover$1, Dialog } from 'react-aria-components';
18
+ import { jsx } from 'react/jsx-runtime';
19
+
20
+ // css-module:./Popover.module.css#css-module
21
+ var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___zDpdV", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___hHqgn", "hop-Popover__title": "Popover-module__hop-Popover__title___z78aU", "hop-Popover__actions": "Popover-module__hop-Popover__actions___j-QCL", "hop-Popover__action": "Popover-module__hop-Popover__action___AXH59", "hop-Popover__content": "Popover-module__hop-Popover__content___4Mf8v", "hop-Popover__footer": "Popover-module__hop-Popover__footer___sSTVx" };
22
+ var GlobalPopoverCssSelector = "hop-Popover";
23
+ var PopoverTrigger = (props) => /* @__PURE__ */ jsx(DialogTrigger, { ...props, children: props.children });
24
+ function Popover(props, ref) {
25
+ [props, ref] = useContextProps(props, ref, PopoverContext);
26
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
27
+ const {
28
+ children,
29
+ className,
30
+ offset = 4,
31
+ boundaryOffset,
32
+ ...otherProps
33
+ } = ownProps;
34
+ const { colorScheme } = (0, src_exports.useColorSchemeContext)();
35
+ const popoverClassNames = composeClassnameRenderProps(
36
+ className,
37
+ GlobalPopoverCssSelector,
38
+ cssModule(
39
+ Popover_module_default,
40
+ "hop-Popover"
41
+ )
42
+ );
43
+ return /* @__PURE__ */ jsx(
44
+ Popover$1,
45
+ {
46
+ ...otherProps,
47
+ offset,
48
+ ref,
49
+ className: popoverClassNames,
50
+ arrowBoundaryOffset: boundaryOffset,
51
+ children: (state) => /* @__PURE__ */ jsx(_HopperProvider, { colorScheme, children: /* @__PURE__ */ jsx(
52
+ Dialog,
53
+ {
54
+ className: clsx(stylingProps.className, Popover_module_default["hop-Popover__dialog"]),
55
+ style: stylingProps.style,
56
+ children: /* @__PURE__ */ jsx(
57
+ SlotProvider,
58
+ {
59
+ values: [
60
+ [HeadingContext, {
61
+ className: Popover_module_default["hop-Popover__title"],
62
+ size: "xs"
63
+ }],
64
+ [ButtonContext, {
65
+ size: "sm",
66
+ className: Popover_module_default["hop-Popover__action"]
67
+ }],
68
+ [ButtonGroupContext, {
69
+ size: "sm",
70
+ align: "end",
71
+ className: Popover_module_default["hop-Popover__actions"]
72
+ }],
73
+ [ContentContext, {
74
+ className: Popover_module_default["hop-Popover__content"]
75
+ }],
76
+ [FooterContext, {
77
+ className: Popover_module_default["hop-Popover__footer"]
78
+ }],
79
+ [LinkContext, {
80
+ size: "sm",
81
+ variant: "primary",
82
+ isQuiet: true
83
+ }]
84
+ ],
85
+ children: isFunction(children) && !isNil(children) ? children(state) : children
86
+ }
87
+ )
88
+ }
89
+ ) })
90
+ }
91
+ );
92
+ }
93
+ var _Popover = forwardRef(Popover);
94
+ _Popover.displayName = "Popover";
95
+
96
+ export { GlobalPopoverCssSelector, PopoverTrigger, _Popover };
@@ -1,8 +1,9 @@
1
1
  import { RadioContext } from './chunk-FU5CCPLP.js';
2
2
  import { RadioFieldContext } from './chunk-DGLAGYBD.js';
3
- import { TextContext } from './chunk-OE5BLFZI.js';
4
- import { SlotProvider } from './chunk-M36KANKC.js';
3
+ import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
4
+ import { TextContext } from './chunk-X6SER3TZ.js';
5
5
  import { cssModule } from './chunk-KVDXQMWI.js';
6
+ import { SlotProvider } from './chunk-M36KANKC.js';
6
7
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
7
8
  import clsx from 'clsx';
8
9
  import { forwardRef } from 'react';
@@ -11,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
11
12
  import { jsx } from 'react/jsx-runtime';
12
13
 
13
14
  // css-module:./RadioField.module.css#css-module
14
- var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___FXm1A", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___iqe9r", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___k4LVV", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___G8S6e", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___QOuTf" };
15
+ var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___j6Bgm", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___jr--X", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___RSqRn", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___kCUrj", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___ii87W" };
15
16
  var GlobalRadioFieldCssSelector = "hop-RadioField";
16
17
  var RadioToDescriptionSizeAdapter = {
17
18
  sm: "xs",
@@ -46,7 +47,7 @@ function RadioField(props, ref) {
46
47
  ...style
47
48
  };
48
49
  const descriptionId = useId();
49
- return /* @__PURE__ */ jsx(
50
+ return /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(
50
51
  SlotProvider,
51
52
  {
52
53
  values: [
@@ -75,7 +76,7 @@ function RadioField(props, ref) {
75
76
  }
76
77
  )
77
78
  }
78
- );
79
+ ) });
79
80
  }
80
81
  var _RadioField = forwardRef(RadioField);
81
82
  _RadioField.displayName = "RadioField";
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/typography/Heading/src/HeadingContext.ts
4
+ var HeadingContext = createContext({});
5
+ HeadingContext.displayName = "HeadingContext";
6
+
7
+ export { HeadingContext };
@@ -1,7 +1,7 @@
1
1
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
2
- import { TextContext } from './chunk-OE5BLFZI.js';
3
- import { SlotProvider } from './chunk-M36KANKC.js';
2
+ import { TextContext } from './chunk-X6SER3TZ.js';
4
3
  import { cssModule } from './chunk-KVDXQMWI.js';
4
+ import { SlotProvider } from './chunk-M36KANKC.js';
5
5
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
6
6
  import clsx from 'clsx';
7
7
  import { forwardRef } from 'react';
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
9
9
  import { jsx } from 'react/jsx-runtime';
10
10
 
11
11
  // css-module:./Text.module.css#css-module
12
- var Text_module_default = { "hop-Text": "Text-module__hop-Text___AZmOV", "hop-Text--xs": "Text-module__hop-Text--xs___V1bcv", "hop-Text--sm": "Text-module__hop-Text--sm___Dq2fh", "hop-Text--md": "Text-module__hop-Text--md___OIBbn", "hop-Text--lg": "Text-module__hop-Text--lg___2Dp00", "hop-Text--xl": "Text-module__hop-Text--xl___OCJ5n", "hop-Text--2xl": "Text-module__hop-Text--2xl___bZkQu", "hop-Text--inherit": "Text-module__hop-Text--inherit___bNF26" };
12
+ var Text_module_default = { "hop-Text": "Text-module__hop-Text___L5SE4", "hop-Text--xs": "Text-module__hop-Text--xs___4XSOM", "hop-Text--sm": "Text-module__hop-Text--sm___rxq9a", "hop-Text--md": "Text-module__hop-Text--md___I1rkh", "hop-Text--lg": "Text-module__hop-Text--lg___A5qVa", "hop-Text--xl": "Text-module__hop-Text--xl___W3xPi", "hop-Text--2xl": "Text-module__hop-Text--2xl___C50TH", "hop-Text--inherit": "Text-module__hop-Text--inherit___YDakN" };
13
13
  var GlobalTextCssSelector = "hop-Text";
14
14
  function Text(props, ref) {
15
15
  [props, ref] = useContextProps(props, ref, TextContext);
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/typography/OverlineText/src/OverlineTextContext.ts
4
+ var OverlineTextContext = createContext({});
5
+ OverlineTextContext.displayName = "OverlineTextContext";
6
+
7
+ export { OverlineTextContext };
@@ -0,0 +1,44 @@
1
+ import { TagListContext } from './chunk-XLKYXKWE.js';
2
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
3
+ import { useStyledSystem } from '@hopper-ui/styled-system';
4
+ import { forwardRef } from 'react';
5
+ import { useContextProps, composeRenderProps, TagList as TagList$1 } from 'react-aria-components';
6
+ import { jsx } from 'react/jsx-runtime';
7
+
8
+ var GlobalTagListCssSelector = "hop-TagList";
9
+ function TagList(props, ref) {
10
+ [props, ref] = useContextProps(props, ref, TagListContext);
11
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
12
+ const {
13
+ className,
14
+ children,
15
+ style: styleProp,
16
+ ...otherProps
17
+ } = ownProps;
18
+ const classNames = composeClassnameRenderProps(
19
+ className,
20
+ GlobalTagListCssSelector,
21
+ "hop-TagList",
22
+ stylingProps.className
23
+ );
24
+ const style = composeRenderProps(styleProp, (prev) => {
25
+ return {
26
+ ...stylingProps.style,
27
+ ...prev
28
+ };
29
+ });
30
+ return /* @__PURE__ */ jsx(
31
+ TagList$1,
32
+ {
33
+ ...otherProps,
34
+ ref,
35
+ className: classNames,
36
+ style,
37
+ children
38
+ }
39
+ );
40
+ }
41
+ var _TagList = forwardRef(TagList);
42
+ _TagList.displayName = "TagList";
43
+
44
+ export { GlobalTagListCssSelector, _TagList };
@@ -1,6 +1,6 @@
1
1
  import { createContext } from 'react';
2
2
 
3
- // src/Text/src/TextContext.ts
3
+ // src/typography/Text/src/TextContext.ts
4
4
  var TextContext = createContext({});
5
5
  TextContext.displayName = "TextContext";
6
6
 
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/tag/src/TagListContext.ts
4
+ var TagListContext = createContext({});
5
+ TagListContext.displayName = "TagListContext";
6
+
7
+ export { TagListContext };