@hopper-ui/components 1.0.5 → 1.0.6

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 (240) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +3 -0
  3. package/dist/Avatar/src/AnonymousAvatar.css +10 -10
  4. package/dist/Avatar/src/AnonymousAvatar.js +3 -3
  5. package/dist/Avatar/src/Avatar.css +37 -37
  6. package/dist/Avatar/src/Avatar.js +5 -5
  7. package/dist/Avatar/src/DeletedAvatar.css +10 -10
  8. package/dist/Avatar/src/DeletedAvatar.js +3 -3
  9. package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
  10. package/dist/Avatar/src/RichIconAvatarImage.js +2 -2
  11. package/dist/Avatar/src/index.css +37 -37
  12. package/dist/Avatar/src/index.js +7 -7
  13. package/dist/{badge → Badge}/src/Badge.css +11 -11
  14. package/dist/{badge → Badge}/src/Badge.d.ts +1 -1
  15. package/dist/{badge → Badge}/src/Badge.js +4 -3
  16. package/dist/Badge/src/BadgeContext.js +2 -0
  17. package/dist/{badge → Badge}/src/index.css +11 -11
  18. package/dist/{badge → Badge}/src/index.js +4 -3
  19. package/dist/{chip → Chip}/src/Chip.css +34 -34
  20. package/dist/{chip → Chip}/src/Chip.js +5 -5
  21. package/dist/Chip/src/ChipContext.js +2 -0
  22. package/dist/{chip → Chip}/src/index.css +34 -34
  23. package/dist/{chip → Chip}/src/index.js +5 -5
  24. package/dist/Divider/src/Divider.css +32 -0
  25. package/dist/Divider/src/Divider.d.ts +15 -0
  26. package/dist/Divider/src/Divider.js +4 -0
  27. package/dist/Divider/src/DividerContext.d.ts +8 -0
  28. package/dist/Divider/src/DividerContext.js +2 -0
  29. package/dist/Divider/src/index.css +32 -0
  30. package/dist/Divider/src/index.d.ts +5 -0
  31. package/dist/Divider/src/index.js +4 -0
  32. package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.css +12 -12
  33. package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.js +5 -5
  34. package/dist/ErrorMessage/src/ErrorMessageContext.js +2 -0
  35. package/dist/{errorMessage → ErrorMessage}/src/index.css +12 -12
  36. package/dist/{errorMessage → ErrorMessage}/src/index.js +5 -5
  37. package/dist/Header/src/Header.d.ts +17 -0
  38. package/dist/Header/src/Header.js +3 -0
  39. package/dist/Header/src/HeaderContext.d.ts +10 -0
  40. package/dist/Header/src/HeaderContext.js +2 -0
  41. package/dist/Header/src/index.d.ts +7 -0
  42. package/dist/Header/src/index.js +3 -0
  43. package/dist/{helperMessage → HelperMessage}/src/HelperMessage.css +12 -12
  44. package/dist/{helperMessage → HelperMessage}/src/HelperMessage.js +5 -5
  45. package/dist/HelperMessage/src/HelperMessageContext.js +2 -0
  46. package/dist/{helperMessage → HelperMessage}/src/index.css +12 -12
  47. package/dist/{helperMessage → HelperMessage}/src/index.js +5 -5
  48. package/dist/HopperProvider/src/HopperProvider.d.ts +1 -1
  49. package/dist/HopperProvider/src/HopperProvider.js +1 -1
  50. package/dist/HopperProvider/src/index.js +1 -1
  51. package/dist/IconList/src/IconList.css +1 -1
  52. package/dist/IconList/src/IconList.js +1 -1
  53. package/dist/IconList/src/index.css +1 -1
  54. package/dist/IconList/src/index.js +1 -1
  55. package/dist/Link/src/Link.css +31 -31
  56. package/dist/Link/src/Link.js +6 -6
  57. package/dist/Link/src/index.css +31 -31
  58. package/dist/Link/src/index.js +6 -6
  59. package/dist/ListBox/src/ListBox.css +1434 -0
  60. package/dist/ListBox/src/ListBox.d.ts +48 -0
  61. package/dist/ListBox/src/ListBox.js +34 -0
  62. package/dist/ListBox/src/ListBoxContext.d.ts +10 -0
  63. package/dist/ListBox/src/ListBoxContext.js +2 -0
  64. package/dist/ListBox/src/ListBoxItem.css +1297 -0
  65. package/dist/ListBox/src/ListBoxItem.d.ts +39 -0
  66. package/dist/ListBox/src/ListBoxItem.js +27 -0
  67. package/dist/ListBox/src/ListBoxItemContext.d.ts +9 -0
  68. package/dist/ListBox/src/ListBoxItemContext.js +2 -0
  69. package/dist/ListBox/src/ListBoxItemSkeleton.css +56 -0
  70. package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +23 -0
  71. package/dist/ListBox/src/ListBoxItemSkeleton.js +4 -0
  72. package/dist/ListBox/src/ListBoxItemSkeletonContext.d.ts +10 -0
  73. package/dist/ListBox/src/ListBoxItemSkeletonContext.js +2 -0
  74. package/dist/ListBox/src/index.css +1434 -0
  75. package/dist/ListBox/src/index.d.ts +8 -0
  76. package/dist/ListBox/src/index.js +34 -0
  77. package/dist/ListBox/src/useLoadOnScroll.d.ts +16 -0
  78. package/dist/ListBox/src/useLoadOnScroll.js +2 -0
  79. package/dist/Section/src/Section.d.ts +19 -0
  80. package/dist/Section/src/Section.js +3 -0
  81. package/dist/Section/src/SectionContext.d.ts +9 -0
  82. package/dist/Section/src/SectionContext.js +2 -0
  83. package/dist/Section/src/index.d.ts +6 -0
  84. package/dist/Section/src/index.js +3 -0
  85. package/dist/Spinner/src/Spinner.css +19 -19
  86. package/dist/Spinner/src/Spinner.js +3 -3
  87. package/dist/Spinner/src/index.css +19 -19
  88. package/dist/Spinner/src/index.js +3 -3
  89. package/dist/buttons/src/Button.css +103 -103
  90. package/dist/buttons/src/Button.js +11 -11
  91. package/dist/buttons/src/ButtonGroup.css +11 -11
  92. package/dist/buttons/src/ButtonGroup.js +3 -3
  93. package/dist/buttons/src/ClearButton.css +12 -12
  94. package/dist/buttons/src/ClearButton.js +4 -4
  95. package/dist/buttons/src/EmbeddedButton.css +12 -12
  96. package/dist/buttons/src/EmbeddedButton.js +2 -2
  97. package/dist/buttons/src/index.css +126 -126
  98. package/dist/buttons/src/index.js +15 -15
  99. package/dist/checkbox/src/Checkbox.css +79 -94
  100. package/dist/checkbox/src/Checkbox.d.ts +3 -1
  101. package/dist/checkbox/src/Checkbox.js +5 -5
  102. package/dist/checkbox/src/CheckboxContext.d.ts +2 -0
  103. package/dist/checkbox/src/CheckboxField.css +15 -15
  104. package/dist/checkbox/src/CheckboxField.js +2 -2
  105. package/dist/checkbox/src/CheckboxGroup.css +116 -131
  106. package/dist/checkbox/src/CheckboxGroup.js +4 -4
  107. package/dist/checkbox/src/index.css +116 -131
  108. package/dist/checkbox/src/index.js +9 -9
  109. package/dist/{chunk-BD53A2LL.js → chunk-2XUHTPCX.js} +12 -6
  110. package/dist/{chunk-6WWYES56.js → chunk-37NW34QM.js} +5 -5
  111. package/dist/{chunk-3OWQHIJ6.js → chunk-3A6TTZAA.js} +1 -1
  112. package/dist/{chunk-KQPY2D3P.js → chunk-3LH2JHUO.js} +4 -4
  113. package/dist/{chunk-T6VFQSII.js → chunk-4JAV3FIH.js} +5 -5
  114. package/dist/chunk-4TXFHYHL.js +52 -0
  115. package/dist/{chunk-GELM73MQ.js → chunk-53FHDOG7.js} +12 -6
  116. package/dist/chunk-5H5AZJPQ.js +7 -0
  117. package/dist/{chunk-WTKIUAHI.js → chunk-632B5YBQ.js} +1 -1
  118. package/dist/{chunk-WFPCHFJI.js → chunk-6QMIRVLY.js} +2 -2
  119. package/dist/chunk-7JOGKC3W.js +7 -0
  120. package/dist/chunk-BC5A7RHI.js +1260 -0
  121. package/dist/{chunk-TM6742MU.js → chunk-BKC74M6Y.js} +3 -3
  122. package/dist/{chunk-ZSFJVMJN.js → chunk-CQDLZ42T.js} +1 -1
  123. package/dist/chunk-E4ALW4MZ.js +250 -0
  124. package/dist/{chunk-OPFRM3JC.js → chunk-E4WFKXW4.js} +3 -3
  125. package/dist/{chunk-KOJGCQ3F.js → chunk-F2URSFJA.js} +4 -4
  126. package/dist/{chunk-ACVMW6YD.js → chunk-FAE27DLF.js} +1 -1
  127. package/dist/chunk-FYIHMKHI.js +7 -0
  128. package/dist/{chunk-BVGKXCQH.js → chunk-G242LPQE.js} +2 -2
  129. package/dist/{chunk-5F5CWOM4.js → chunk-HR25MLRP.js} +1 -1
  130. package/dist/{chunk-ESVVLTEN.js → chunk-HZKFQ33E.js} +1 -1
  131. package/dist/chunk-I4VPBQI7.js +7 -0
  132. package/dist/{chunk-CP4AWOFU.js → chunk-ITQK6JTD.js} +2 -2
  133. package/dist/{chunk-Z33QZKRG.js → chunk-J33IFG4U.js} +1 -1
  134. package/dist/chunk-J53HGLCT.js +49 -0
  135. package/dist/{chunk-W2SKBBWE.js → chunk-JRDN364E.js} +5 -5
  136. package/dist/chunk-JTNMFPM4.js +41 -0
  137. package/dist/{chunk-FYDLV5BM.js → chunk-JUMJ6A3K.js} +1 -1
  138. package/dist/{chunk-3IEED7AY.js → chunk-K4ZGI7DJ.js} +1 -1
  139. package/dist/chunk-L5A2UTQV.js +43 -0
  140. package/dist/{chunk-F7S2I43Y.js → chunk-MED2BIDV.js} +2 -2
  141. package/dist/{chunk-22YUFCHD.js → chunk-MVRI6GLQ.js} +3 -3
  142. package/dist/{chunk-ANVMQBBG.js → chunk-NMKBUGSO.js} +12 -1
  143. package/dist/chunk-O5PTD6IN.js +41 -0
  144. package/dist/{chunk-P7JRKXBD.js → chunk-OHB5QR5P.js} +2 -2
  145. package/dist/chunk-OKZYR4RF.js +7 -0
  146. package/dist/{chunk-IIZECZAH.js → chunk-P5CWOV3L.js} +3 -3
  147. package/dist/{chunk-KOA2CREJ.js → chunk-QBCCF2C2.js} +5 -5
  148. package/dist/chunk-RA7PM75O.js +142 -0
  149. package/dist/{chunk-UYVKDU2W.js → chunk-RCX5B3S3.js} +3 -3
  150. package/dist/{chunk-7Q7VIED2.js → chunk-RG4JKE4N.js} +3 -3
  151. package/dist/{chunk-WNVTTHBK.js → chunk-SOSHKMNI.js} +6 -5
  152. package/dist/chunk-UIEP5BA5.js +7 -0
  153. package/dist/{chunk-GWEUWPLT.js → chunk-V5GOY6TV.js} +2 -2
  154. package/dist/{chunk-LUAIMTPE.js → chunk-XGKPMLYD.js} +7 -7
  155. package/dist/{chunk-THCG3QCD.js → chunk-XRC7XE6B.js} +2 -2
  156. package/dist/chunk-Y2POLIXK.js +7 -0
  157. package/dist/{chunk-H6CDFWVR.js → chunk-ZOTVZM6F.js} +6 -2
  158. package/dist/i18n/src/index.js +1 -1
  159. package/dist/i18n/src/useLocalizedString.js +1 -1
  160. package/dist/inputs/src/InputGroup.css +12 -12
  161. package/dist/inputs/src/InputGroup.js +2 -2
  162. package/dist/inputs/src/PasswordField.css +1176 -591
  163. package/dist/inputs/src/PasswordField.js +73 -165
  164. package/dist/inputs/src/SearchField.css +1161 -597
  165. package/dist/inputs/src/SearchField.js +73 -165
  166. package/dist/inputs/src/TextField.css +1173 -592
  167. package/dist/inputs/src/TextField.js +72 -57
  168. package/dist/inputs/src/index.css +1073 -492
  169. package/dist/inputs/src/index.d.ts +4 -0
  170. package/dist/inputs/src/index.js +72 -57
  171. package/dist/overlays/Popover/src/Popover.css +1211 -555
  172. package/dist/overlays/Popover/src/Popover.d.ts +5 -6
  173. package/dist/overlays/Popover/src/Popover.js +73 -55
  174. package/dist/overlays/Popover/src/PopoverContext.d.ts +1 -2
  175. package/dist/overlays/Popover/src/PopoverTrigger.d.ts +8 -0
  176. package/dist/overlays/Popover/src/PopoverTrigger.js +2 -0
  177. package/dist/overlays/Popover/src/index.css +1211 -555
  178. package/dist/overlays/Popover/src/index.d.ts +3 -2
  179. package/dist/overlays/Popover/src/index.js +73 -55
  180. package/dist/radio/src/Radio.css +67 -79
  181. package/dist/radio/src/Radio.d.ts +3 -1
  182. package/dist/radio/src/Radio.js +5 -5
  183. package/dist/radio/src/RadioContext.d.ts +2 -0
  184. package/dist/radio/src/RadioField.css +15 -15
  185. package/dist/radio/src/RadioField.js +3 -3
  186. package/dist/radio/src/RadioGroup.css +104 -116
  187. package/dist/radio/src/RadioGroup.js +5 -5
  188. package/dist/radio/src/index.css +104 -116
  189. package/dist/radio/src/index.js +10 -10
  190. package/dist/switch/src/Switch.css +25 -25
  191. package/dist/switch/src/Switch.js +5 -5
  192. package/dist/switch/src/SwitchField.css +15 -15
  193. package/dist/switch/src/SwitchField.js +2 -2
  194. package/dist/switch/src/index.css +31 -31
  195. package/dist/switch/src/index.js +6 -6
  196. package/dist/tag/src/Tag.css +1280 -548
  197. package/dist/tag/src/Tag.js +73 -53
  198. package/dist/tag/src/TagGroup.css +30 -30
  199. package/dist/tag/src/TagGroup.js +5 -5
  200. package/dist/tag/src/index.css +1280 -548
  201. package/dist/tag/src/index.js +73 -53
  202. package/dist/typography/Heading/src/Heading.css +1204 -472
  203. package/dist/typography/Heading/src/Heading.js +73 -53
  204. package/dist/typography/Heading/src/index.css +1204 -472
  205. package/dist/typography/Heading/src/index.js +73 -53
  206. package/dist/typography/Label/src/Label.css +9 -9
  207. package/dist/typography/Label/src/Label.js +1 -1
  208. package/dist/typography/Label/src/index.css +9 -9
  209. package/dist/typography/Label/src/index.js +1 -1
  210. package/dist/typography/OverlineText/src/OverlineText.css +6 -6
  211. package/dist/typography/OverlineText/src/OverlineText.js +1 -1
  212. package/dist/typography/OverlineText/src/index.css +6 -6
  213. package/dist/typography/OverlineText/src/index.js +1 -1
  214. package/dist/typography/Text/src/Text.css +9 -9
  215. package/dist/typography/Text/src/Text.js +3 -3
  216. package/dist/typography/Text/src/index.css +9 -9
  217. package/dist/typography/Text/src/index.js +3 -3
  218. package/dist/utils/src/index.d.ts +1 -1
  219. package/dist/utils/src/index.js +3 -3
  220. package/dist/utils/src/types.d.ts +16 -1
  221. package/package.json +2 -2
  222. package/dist/badge/src/BadgeContext.js +0 -2
  223. package/dist/chip/src/ChipContext.js +0 -2
  224. package/dist/chunk-LJXTJRSB.js +0 -1
  225. package/dist/chunk-NXNV5JDN.js +0 -392
  226. package/dist/chunk-UOBWYTW7.js +0 -156
  227. package/dist/chunk-ZCEVY7LM.js +0 -96
  228. package/dist/errorMessage/src/ErrorMessageContext.js +0 -2
  229. package/dist/helperMessage/src/HelperMessageContext.js +0 -2
  230. /package/dist/{badge → Badge}/src/BadgeContext.d.ts +0 -0
  231. /package/dist/{badge → Badge}/src/index.d.ts +0 -0
  232. /package/dist/{chip → Chip}/src/Chip.d.ts +0 -0
  233. /package/dist/{chip → Chip}/src/ChipContext.d.ts +0 -0
  234. /package/dist/{chip → Chip}/src/index.d.ts +0 -0
  235. /package/dist/{errorMessage → ErrorMessage}/src/ErrorMessage.d.ts +0 -0
  236. /package/dist/{errorMessage → ErrorMessage}/src/ErrorMessageContext.d.ts +0 -0
  237. /package/dist/{errorMessage → ErrorMessage}/src/index.d.ts +0 -0
  238. /package/dist/{helperMessage → HelperMessage}/src/HelperMessage.d.ts +0 -0
  239. /package/dist/{helperMessage → HelperMessage}/src/HelperMessageContext.d.ts +0 -0
  240. /package/dist/{helperMessage → HelperMessage}/src/index.d.ts +0 -0
@@ -1,7 +1,7 @@
1
- import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
2
1
  import { ButtonContext } from './chunk-WMTWFKKP.js';
3
- import { cssModule } from './chunk-KVDXQMWI.js';
2
+ import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
4
3
  import { SlotProvider } from './chunk-M36KANKC.js';
4
+ import { cssModule } from './chunk-KVDXQMWI.js';
5
5
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
6
6
  import { filterDOMProps } from '@react-aria/utils';
7
7
  import clsx from 'clsx';
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
10
10
  import { jsx } from 'react/jsx-runtime';
11
11
 
12
12
  // css-module:./ButtonGroup.module.css#css-module
13
- var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___nzEIB", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___-b5iJ", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___bArOc", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___5BJTJ", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___bPHp6", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___RtzB4", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___PiEGR", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___9BHBE" };
13
+ var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___WMOza", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___Ifbuz", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___FV4jP", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___SCa6l", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___09ey-", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___SudBa", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___O3fzZ", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___70I5p" };
14
14
  var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
15
15
  function ButtonGroup(props, ref) {
16
16
  var _a, _b, _c, _d, _e;
@@ -1,6 +1,6 @@
1
1
  import { createContext } from 'react';
2
2
 
3
- // src/badge/src/BadgeContext.ts
3
+ // src/Badge/src/BadgeContext.ts
4
4
  var BadgeContext = createContext({});
5
5
  BadgeContext.displayName = "BadgeContext";
6
6
 
@@ -0,0 +1,250 @@
1
+ import { _RadioGroup } from './chunk-JRDN364E.js';
2
+ import { _RadioList } from './chunk-NKHMUPAP.js';
3
+ import { _Radio } from './chunk-2XUHTPCX.js';
4
+ import { _Checkbox } from './chunk-53FHDOG7.js';
5
+ import { useLocalizedString } from './chunk-ZOTVZM6F.js';
6
+ import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
7
+ import { _ListBoxItemSkeleton } from './chunk-4TXFHYHL.js';
8
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
9
+ import { BadgeContext } from './chunk-CQDLZ42T.js';
10
+ import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
11
+ import { IconListContext } from './chunk-DHVVYSLB.js';
12
+ import { _Text } from './chunk-RG4JKE4N.js';
13
+ import { TextContext } from './chunk-X6SER3TZ.js';
14
+ import { SlotProvider } from './chunk-M36KANKC.js';
15
+ import { cssModule } from './chunk-KVDXQMWI.js';
16
+ import { CheckmarkIcon, IconContext } from '@hopper-ui/icons';
17
+ import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
18
+ import { forwardRef, useContext, useState } from 'react';
19
+ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, ListStateContext, DEFAULT_SLOT } from 'react-aria-components';
20
+ import { jsx, jsxs } from 'react/jsx-runtime';
21
+
22
+ // css-module:./ListBoxItem.module.css#css-module
23
+ var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___Yx1lW", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___-dXrA", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___PJua2", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___tUXMc", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___eGqO4", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___QR5j1", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___Ei8-S", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___grvX-", "hop-ListBoxItem__radio-group": "ListBoxItem-module__hop-ListBoxItem__radio-group___7RjtE", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___jfL9v", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___q2xtk", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___FHexQ", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___0KEwI", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___-q2Uo", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___h93Wc", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___bzOPv", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___AONN3" };
24
+ var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
25
+ var ListBoxItemToIconSizeAdapter = {
26
+ xs: "sm",
27
+ sm: "sm",
28
+ md: "md",
29
+ lg: "md"
30
+ };
31
+ var ListBoxItemToTextSizeAdapter = {
32
+ xs: "sm",
33
+ sm: "sm",
34
+ md: "sm",
35
+ lg: "md"
36
+ };
37
+ function ListBoxItemInner(props) {
38
+ const stringFormatter = useLocalizedString();
39
+ const listStateContext = useContext(ListStateContext);
40
+ const {
41
+ selectionMode,
42
+ isDisabled,
43
+ isFocusVisible,
44
+ isPressed,
45
+ isHovered,
46
+ isSelected,
47
+ selectionIndicator,
48
+ isInvalid,
49
+ size,
50
+ children
51
+ } = props;
52
+ const isRadio = selectionIndicator === "input" && selectionMode === "single";
53
+ const isCheckbox = selectionIndicator === "input" && selectionMode === "multiple";
54
+ const isCheck = selectionIndicator === "check" && selectionMode !== "none";
55
+ const isListHasSelection = listStateContext.selectionManager.selectedKeys.size > 0;
56
+ const [isListHasSelectionEnd, setIsListHasSelectionEnd] = useState(isListHasSelection);
57
+ const handleTransitionEnd = (event) => {
58
+ if (event.propertyName === "grid-template-columns") {
59
+ setIsListHasSelectionEnd((prev) => isListHasSelection && !prev);
60
+ }
61
+ };
62
+ return /* @__PURE__ */ jsxs(
63
+ "div",
64
+ {
65
+ className: ListBoxItem_module_default["hop-ListBoxItem__inner"],
66
+ "data-list-has-selection": isListHasSelection || void 0,
67
+ "data-list-has-selection-end": isListHasSelectionEnd || void 0,
68
+ onTransitionEnd: handleTransitionEnd,
69
+ children: [
70
+ isRadio && /* @__PURE__ */ jsx(
71
+ _RadioGroup,
72
+ {
73
+ size: "sm",
74
+ "aria-hidden": "true",
75
+ "aria-label": stringFormatter.format("ListBoxItem.indicatorAriaLabel"),
76
+ value: isSelected ? "radio" : null,
77
+ className: ListBoxItem_module_default["hop-ListBoxItem__radio-group"],
78
+ isInvalid,
79
+ children: /* @__PURE__ */ jsx(_RadioList, { children: /* @__PURE__ */ jsx(
80
+ _Radio,
81
+ {
82
+ className: ListBoxItem_module_default["hop-ListBoxItem__radio"],
83
+ value: "radio",
84
+ isDisabled,
85
+ isFocused: isFocusVisible,
86
+ isHovered,
87
+ isPressed
88
+ }
89
+ ) })
90
+ }
91
+ ),
92
+ isCheckbox && /* @__PURE__ */ jsx(
93
+ _Checkbox,
94
+ {
95
+ size: "sm",
96
+ value: "checkbox",
97
+ "aria-hidden": "true",
98
+ className: ListBoxItem_module_default["hop-ListBoxItem__checkbox"],
99
+ isDisabled,
100
+ isFocused: isFocusVisible,
101
+ isHovered,
102
+ isPressed,
103
+ isSelected,
104
+ isInvalid
105
+ }
106
+ ),
107
+ isCheck && /* @__PURE__ */ jsx(CheckmarkIcon, { className: ListBoxItem_module_default["hop-ListBoxItem__checkmark"], size: "sm" }),
108
+ /* @__PURE__ */ jsx(
109
+ SlotProvider,
110
+ {
111
+ values: [
112
+ [TextContext, {
113
+ slots: {
114
+ [DEFAULT_SLOT]: {
115
+ slot: "label",
116
+ className: ListBoxItem_module_default["hop-ListBoxItem__label"],
117
+ size: ListBoxItemToTextSizeAdapter[size]
118
+ },
119
+ label: {
120
+ className: ListBoxItem_module_default["hop-ListBoxItem__label"],
121
+ size: ListBoxItemToTextSizeAdapter[size]
122
+ },
123
+ description: {
124
+ className: ListBoxItem_module_default["hop-ListBoxItem__description"],
125
+ size: "xs"
126
+ }
127
+ }
128
+ }],
129
+ [IconListContext, {
130
+ slots: {
131
+ [DEFAULT_SLOT]: {
132
+ className: ListBoxItem_module_default["hop-ListBoxItem__icon-list"],
133
+ size: ListBoxItemToIconSizeAdapter[size]
134
+ },
135
+ "end-icon": {
136
+ className: ListBoxItem_module_default["hop-ListBoxItem__end-icon-list"],
137
+ size: ListBoxItemToIconSizeAdapter[size]
138
+ }
139
+ }
140
+ }],
141
+ [IconContext, {
142
+ slots: {
143
+ [DEFAULT_SLOT]: {
144
+ className: ListBoxItem_module_default["hop-ListBoxItem__icon"],
145
+ size: ListBoxItemToIconSizeAdapter[size]
146
+ },
147
+ "end-icon": {
148
+ className: ListBoxItem_module_default["hop-ListBoxItem__end-icon"],
149
+ size: ListBoxItemToIconSizeAdapter[size]
150
+ }
151
+ }
152
+ }],
153
+ [BadgeContext, {
154
+ className: ListBoxItem_module_default["hop-ListBoxItem__badge"],
155
+ isDisabled
156
+ }]
157
+ ],
158
+ children
159
+ }
160
+ )
161
+ ]
162
+ }
163
+ );
164
+ }
165
+ function ListBoxItem(props, ref) {
166
+ var _a;
167
+ [props, ref] = useContextProps(props, ref, ListBoxItemContext);
168
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
169
+ const {
170
+ className,
171
+ children: childrenProp,
172
+ isDisabled,
173
+ isInvalid,
174
+ isLoading,
175
+ size: sizeProp,
176
+ style: styleProp,
177
+ textValue: textValueProp,
178
+ selectionIndicator,
179
+ ...otherProps
180
+ } = ownProps;
181
+ const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "sm";
182
+ const textValue = textValueProp != null ? textValueProp : typeof childrenProp === "string" ? childrenProp : void 0;
183
+ const classNames = composeClassnameRenderProps(
184
+ className,
185
+ GlobalListBoxItemCssSelector,
186
+ cssModule(
187
+ ListBoxItem_module_default,
188
+ "hop-ListBoxItem",
189
+ size,
190
+ selectionIndicator
191
+ ),
192
+ stylingProps.className
193
+ );
194
+ const style = composeRenderProps(styleProp, (prev) => {
195
+ return {
196
+ ...stylingProps.style,
197
+ ...prev
198
+ };
199
+ });
200
+ const children = composeRenderProps(childrenProp, (prev) => {
201
+ if (prev && isTextOnlyChildren(prev)) {
202
+ return /* @__PURE__ */ jsx(_Text, { slot: "label", children: prev });
203
+ }
204
+ return prev;
205
+ });
206
+ return /* @__PURE__ */ jsx(
207
+ ListBoxItem$1,
208
+ {
209
+ ...otherProps,
210
+ ref,
211
+ className: classNames,
212
+ style,
213
+ textValue,
214
+ isDisabled: isLoading || isDisabled,
215
+ "data-invalid": isInvalid || void 0,
216
+ "data-loading": isLoading || void 0,
217
+ children: (listBoxItemProps) => {
218
+ if (isLoading) {
219
+ return /* @__PURE__ */ jsx(
220
+ "div",
221
+ {
222
+ className: ListBoxItem_module_default["hop-ListBoxItem__inner"],
223
+ children: /* @__PURE__ */ jsx(
224
+ _ListBoxItemSkeleton,
225
+ {
226
+ size,
227
+ slot: "label"
228
+ }
229
+ )
230
+ }
231
+ );
232
+ }
233
+ return /* @__PURE__ */ jsx(
234
+ ListBoxItemInner,
235
+ {
236
+ ...listBoxItemProps,
237
+ selectionIndicator,
238
+ isInvalid,
239
+ size,
240
+ children: children(listBoxItemProps)
241
+ }
242
+ );
243
+ }
244
+ }
245
+ );
246
+ }
247
+ var _ListBoxItem = forwardRef(ListBoxItem);
248
+ _ListBoxItem.displayName = "ListBoxItem";
249
+
250
+ export { GlobalListBoxItemCssSelector, _ListBoxItem };
@@ -1,6 +1,6 @@
1
- import { _Text } from './chunk-7Q7VIED2.js';
1
+ import { _Text } from './chunk-RG4JKE4N.js';
2
2
  import { AvatarContext } from './chunk-AES7QBQE.js';
3
- import { _RichIconAvatarImage } from './chunk-CP4AWOFU.js';
3
+ import { _RichIconAvatarImage } from './chunk-ITQK6JTD.js';
4
4
  import { cssModule } from './chunk-KVDXQMWI.js';
5
5
  import { useImageFallback } from './chunk-NS3XVOQ7.js';
6
6
  import { BrokenImageRichIcon } from '@hopper-ui/icons';
@@ -12,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
12
12
  import { jsx } from 'react/jsx-runtime';
13
13
 
14
14
  // css-module:./Avatar.module.css#css-module
15
- var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___d9YZ9", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___BWHEr", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___fNWQO", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___-6GnY", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___f8yyT", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___r5PUt", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___CG0YD", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___OIRSj", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___-uwSb", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___xhe3G", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___e38Gs", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___-GQzw", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___CeiJh", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___nvuXB", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___Q4Z9Z", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___TsOBZ", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___6YUZZ" };
15
+ var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___8RZO3", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___ynFuF", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___3oY2t", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___6Gv9Q", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___S6Ehu", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___1CYyi", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___u7E0y", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___ULBn2", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___J4qwW", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___yKw7L", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___KS3Oe", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___lTcxY", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___vuJcI", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___SBK4z", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___smE79", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___vvtuE", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___M4hSZ" };
16
16
  var GlobalAvatarCssSelector = "hop-Avatar";
17
17
  var AvatarToTextSizeAdapter = {
18
18
  xs: "xs",
@@ -1,10 +1,10 @@
1
- import { ChipContext } from './chunk-WTKIUAHI.js';
2
1
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
3
2
  import { IconListContext } from './chunk-DHVVYSLB.js';
4
- import { _Text } from './chunk-7Q7VIED2.js';
3
+ import { ChipContext } from './chunk-632B5YBQ.js';
4
+ import { _Text } from './chunk-RG4JKE4N.js';
5
5
  import { TextContext } from './chunk-X6SER3TZ.js';
6
- import { cssModule } from './chunk-KVDXQMWI.js';
7
6
  import { SlotProvider } from './chunk-M36KANKC.js';
7
+ import { cssModule } from './chunk-KVDXQMWI.js';
8
8
  import { IconContext } from '@hopper-ui/icons';
9
9
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
10
10
  import clsx from 'clsx';
@@ -13,7 +13,7 @@ import { useContextProps, DEFAULT_SLOT } from 'react-aria-components';
13
13
  import { jsx } from 'react/jsx-runtime';
14
14
 
15
15
  // css-module:./Chip.module.css#css-module
16
- var Chip_module_default = { "hop-Chip": "Chip-module__hop-Chip___cxU82", "hop-Chip--xs": "Chip-module__hop-Chip--xs___MPhiR", "hop-Chip--sm": "Chip-module__hop-Chip--sm___OYijB", "hop-Chip--md": "Chip-module__hop-Chip--md___-CMix", "hop-Chip--lg": "Chip-module__hop-Chip--lg___j1jM1", "hop-Chip--neutral": "Chip-module__hop-Chip--neutral___kLtLJ", "hop-Chip--progress": "Chip-module__hop-Chip--progress___5GBF8", "hop-Chip--positive": "Chip-module__hop-Chip--positive___F-3cU", "hop-Chip--caution": "Chip-module__hop-Chip--caution___ezAXo", "hop-Chip--negative": "Chip-module__hop-Chip--negative___SrEHc", "hop-Chip--option1": "Chip-module__hop-Chip--option1___TNAVL", "hop-Chip--option2": "Chip-module__hop-Chip--option2___WFy37", "hop-Chip--option3": "Chip-module__hop-Chip--option3___qYEVE", "hop-Chip--option4": "Chip-module__hop-Chip--option4___MHav7", "hop-Chip--option5": "Chip-module__hop-Chip--option5___Y-i-5", "hop-Chip--option6": "Chip-module__hop-Chip--option6___qTRX9", "hop-Chip--inactive": "Chip-module__hop-Chip--inactive___vSk80", "hop-Chip--disabled": "Chip-module__hop-Chip--disabled___175zy", "hop-Chip__icon": "Chip-module__hop-Chip__icon___yyVQ2", "hop-Chip__icon-list": "Chip-module__hop-Chip__icon-list___fSAV6", "hop-Chip__text": "Chip-module__hop-Chip__text___hO2-Q", "hop-Chip__end-icon": "Chip-module__hop-Chip__end-icon___thI6k", "hop-Chip__end-icon-list": "Chip-module__hop-Chip__end-icon-list___sNXbx" };
16
+ var Chip_module_default = { "hop-Chip": "Chip-module__hop-Chip___s008o", "hop-Chip--xs": "Chip-module__hop-Chip--xs___b5iix", "hop-Chip--sm": "Chip-module__hop-Chip--sm___C8xGE", "hop-Chip--md": "Chip-module__hop-Chip--md___taZzL", "hop-Chip--lg": "Chip-module__hop-Chip--lg___7MJ0a", "hop-Chip--neutral": "Chip-module__hop-Chip--neutral___WiQy4", "hop-Chip--progress": "Chip-module__hop-Chip--progress___D-NIl", "hop-Chip--positive": "Chip-module__hop-Chip--positive___x7VFX", "hop-Chip--caution": "Chip-module__hop-Chip--caution___4ZjhL", "hop-Chip--negative": "Chip-module__hop-Chip--negative___D02Dr", "hop-Chip--option1": "Chip-module__hop-Chip--option1___eYOWy", "hop-Chip--option2": "Chip-module__hop-Chip--option2___2gGTf", "hop-Chip--option3": "Chip-module__hop-Chip--option3___1ZcdZ", "hop-Chip--option4": "Chip-module__hop-Chip--option4___5KV7u", "hop-Chip--option5": "Chip-module__hop-Chip--option5___dcyfm", "hop-Chip--option6": "Chip-module__hop-Chip--option6___PO6T4", "hop-Chip--inactive": "Chip-module__hop-Chip--inactive___ASMuf", "hop-Chip--disabled": "Chip-module__hop-Chip--disabled___-uqxh", "hop-Chip__icon": "Chip-module__hop-Chip__icon___mqVpj", "hop-Chip__icon-list": "Chip-module__hop-Chip__icon-list___PV91l", "hop-Chip__text": "Chip-module__hop-Chip__text___KOlG8", "hop-Chip__end-icon": "Chip-module__hop-Chip__end-icon___yJdUP", "hop-Chip__end-icon-list": "Chip-module__hop-Chip__end-icon-list___BmX3z" };
17
17
  var GlobalChipCssSelector = "hop-Chip";
18
18
  var ChipToTextSizeAdapter = {
19
19
  xs: "xs",
@@ -1,6 +1,6 @@
1
1
  import { createContext } from 'react';
2
2
 
3
- // src/errorMessage/src/ErrorMessageContext.ts
3
+ // src/ErrorMessage/src/ErrorMessageContext.ts
4
4
  var ErrorMessageContext = createContext({});
5
5
  ErrorMessageContext.displayName = "ErrorMessageContext";
6
6
 
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/Divider/src/DividerContext.ts
4
+ var DividerContext = createContext({});
5
+ DividerContext.displayName = "DividerContext";
6
+
7
+ export { DividerContext };
@@ -1,4 +1,4 @@
1
- import { _Label } from './chunk-5F5CWOM4.js';
1
+ import { _Label } from './chunk-HR25MLRP.js';
2
2
  import { SpinnerContext } from './chunk-4ZYV2XLW.js';
3
3
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
4
4
  import { cssModule } from './chunk-KVDXQMWI.js';
@@ -8,7 +8,7 @@ import { useContextProps, ProgressBar } from 'react-aria-components';
8
8
  import { jsx, jsxs } from 'react/jsx-runtime';
9
9
 
10
10
  // css-module:./Spinner.module.css#css-module
11
- var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___RPH--", "spin": "Spinner-module__spin___oUKEY", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___tp6ha", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___hQWm0", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___erfkq", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___bATgL", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___eBQF8", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___J7Dnp" };
11
+ var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___LbEMh", "spin": "Spinner-module__spin___Z5UnU", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___peiQV", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___8fE20", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___3UVCZ", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___tZuJb", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___EVNJP", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___nM4Dw" };
12
12
  var GlobalSpinnerCssSelector = "hop-Spinner";
13
13
  var SpinnerToLabelSizeAdapter = {
14
14
  sm: "xs",
@@ -7,7 +7,7 @@ import { useContextProps, Label as Label$1 } from 'react-aria-components';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
9
9
  // css-module:./Label.module.css#css-module
10
- var Label_module_default = { "hop-Label": "Label-module__hop-Label___Wqsi6", "hop-Label--xs": "Label-module__hop-Label--xs___4haq7", "hop-Label--sm": "Label-module__hop-Label--sm___-mTev", "hop-Label--md": "Label-module__hop-Label--md___Itj3l", "hop-Label--lg": "Label-module__hop-Label--lg___HB3TK", "hop-Label--xl": "Label-module__hop-Label--xl___7o9x-", "hop-Label--2xl": "Label-module__hop-Label--2xl___7vA1P", "hop-Label--inherit": "Label-module__hop-Label--inherit___XavZ-" };
10
+ var Label_module_default = { "hop-Label": "Label-module__hop-Label___mLBaa", "hop-Label--xs": "Label-module__hop-Label--xs___SooLf", "hop-Label--sm": "Label-module__hop-Label--sm___0IFHf", "hop-Label--md": "Label-module__hop-Label--md___OwSmD", "hop-Label--lg": "Label-module__hop-Label--lg___NtQQ0", "hop-Label--xl": "Label-module__hop-Label--xl___-Hdm9", "hop-Label--2xl": "Label-module__hop-Label--2xl___Ulb-V", "hop-Label--inherit": "Label-module__hop-Label--inherit___K1Xcp" };
11
11
  var GlobalLabelCssSelector = "hop-Label";
12
12
  function Label(props, ref) {
13
13
  var _a;
@@ -1,6 +1,6 @@
1
1
  import { createContext } from 'react';
2
2
 
3
- // src/helperMessage/src/HelperMessageContext.ts
3
+ // src/HelperMessage/src/HelperMessageContext.ts
4
4
  var HelperMessageContext = createContext({});
5
5
  HelperMessageContext.displayName = "HelperMessageContext";
6
6
 
@@ -0,0 +1,7 @@
1
+ import { DialogTrigger } from 'react-aria-components';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ // src/overlays/Popover/src/PopoverTrigger.tsx
5
+ var PopoverTrigger = (props) => /* @__PURE__ */ jsx(DialogTrigger, { ...props, children: props.children });
6
+
7
+ export { PopoverTrigger };
@@ -1,5 +1,5 @@
1
- import { cssModule } from './chunk-KVDXQMWI.js';
2
1
  import { SlotProvider } from './chunk-M36KANKC.js';
2
+ import { cssModule } from './chunk-KVDXQMWI.js';
3
3
  import { RichIconAvatarImageContext } from './chunk-JWW56J7M.js';
4
4
  import { RichIconContext } from '@hopper-ui/icons';
5
5
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
@@ -9,7 +9,7 @@ import { useContextProps } from 'react-aria-components';
9
9
  import { jsx } from 'react/jsx-runtime';
10
10
 
11
11
  // css-module:./RichIconAvatarImage.module.css#css-module
12
- var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___oV9WF", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___kdGVl", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___4WUqP", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___fsiew", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___BJtzS", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___MFhsm", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___jFtFa", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___9-bD3" };
12
+ var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___R2v-y", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___r7PMb", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___nZFlr", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___mkcIx", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___TifOU", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___xs3Zv", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___l0TTX", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___6FWkl" };
13
13
  var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
14
14
  var AvatarToIconSizeAdapter = {
15
15
  xs: "md",
@@ -1,5 +1,5 @@
1
1
  import { AvatarContext } from './chunk-AES7QBQE.js';
2
- import { _RichIconAvatarImage } from './chunk-CP4AWOFU.js';
2
+ import { _RichIconAvatarImage } from './chunk-ITQK6JTD.js';
3
3
  import { DeletedUserRichIcon } from '@hopper-ui/icons';
4
4
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
5
5
  import clsx from 'clsx';
@@ -0,0 +1,49 @@
1
+ import { DividerContext } from './chunk-FYIHMKHI.js';
2
+ import { cssModule } from './chunk-KVDXQMWI.js';
3
+ import { useStyledSystem } from '@hopper-ui/styled-system';
4
+ import clsx from 'clsx';
5
+ import { forwardRef } from 'react';
6
+ import { useContextProps, Separator } from 'react-aria-components';
7
+ import { jsx } from 'react/jsx-runtime';
8
+
9
+ // css-module:./Divider.module.css#css-module
10
+ var Divider_module_default = { "hop-Divider": "Divider-module__hop-Divider___lUCFu", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___uIryJ" };
11
+ var GlobalDividerCssSelector = "hop-Divider";
12
+ function Divider(props, ref) {
13
+ [props, ref] = useContextProps(props, ref, DividerContext);
14
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
15
+ const {
16
+ className,
17
+ style,
18
+ orientation,
19
+ ...otherProps
20
+ } = ownProps;
21
+ const classNames = clsx(
22
+ GlobalDividerCssSelector,
23
+ cssModule(
24
+ Divider_module_default,
25
+ "hop-Divider",
26
+ orientation
27
+ ),
28
+ stylingProps.className,
29
+ className
30
+ );
31
+ const mergedStyles = {
32
+ ...stylingProps.style,
33
+ ...style
34
+ };
35
+ return /* @__PURE__ */ jsx(
36
+ Separator,
37
+ {
38
+ ...otherProps,
39
+ ref,
40
+ className: classNames,
41
+ style: mergedStyles,
42
+ orientation
43
+ }
44
+ );
45
+ }
46
+ var _Divider = forwardRef(Divider);
47
+ _Divider.displayName = "Divider";
48
+
49
+ export { GlobalDividerCssSelector, _Divider };
@@ -1,20 +1,20 @@
1
+ import { RadioFieldContext } from './chunk-DGLAGYBD.js';
1
2
  import { RadioGroupContext } from './chunk-5MBJWRZD.js';
2
3
  import { RadioListContext } from './chunk-A7TZHALP.js';
3
- import { RadioFieldContext } from './chunk-DGLAGYBD.js';
4
4
  import { RadioContext } from './chunk-FU5CCPLP.js';
5
- import { ErrorMessageContext } from './chunk-ACVMW6YD.js';
6
- import { HelperMessageContext } from './chunk-ESVVLTEN.js';
7
5
  import { LabelContext } from './chunk-QCA3ZR56.js';
8
6
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
9
- import { cssModule } from './chunk-KVDXQMWI.js';
7
+ import { ErrorMessageContext } from './chunk-FAE27DLF.js';
8
+ import { HelperMessageContext } from './chunk-HZKFQ33E.js';
10
9
  import { SlotProvider } from './chunk-M36KANKC.js';
10
+ import { cssModule } from './chunk-KVDXQMWI.js';
11
11
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
12
12
  import { forwardRef } from 'react';
13
13
  import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from 'react-aria-components';
14
14
  import { jsx } from 'react/jsx-runtime';
15
15
 
16
16
  // css-module:./RadioGroup.module.css#css-module
17
- var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___ZkN81", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___Bi-0Z", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___rknTP", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___hXQE8", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___2-otR", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___HI--g", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___Y2PHm", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___fsKgY", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___qULS3" };
17
+ var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___S6s5y", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___CFrBV", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___2p7Wk", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___eqGjG", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___7-iXB", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___C5N0N", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___k3eYk", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___vOUPq", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___uQgIj" };
18
18
  var GlobalRadioGroupCssSelector = "hop-RadioGroup";
19
19
  function RadioGroup(props, ref) {
20
20
  var _a, _b;
@@ -0,0 +1,41 @@
1
+ import { useIsomorphicLayoutEffect } from '@hopper-ui/styled-system';
2
+ import { useState, useRef, useCallback } from 'react';
3
+
4
+ // src/ListBox/src/useLoadOnScroll.ts
5
+ function useLoadOnScroll(props, ref) {
6
+ const { isLoading, onLoadMore, scrollOffset = 5 } = props;
7
+ const [hasLoaded, setHasLoaded] = useState(false);
8
+ const isLoadingRef = useRef(isLoading);
9
+ const prevProps = useRef(props);
10
+ const onScroll = useCallback(() => {
11
+ if (ref.current && !isLoadingRef.current && onLoadMore) {
12
+ const shouldLoadMore = ref.current.scrollHeight - ref.current.scrollTop - ref.current.clientHeight < scrollOffset;
13
+ if (shouldLoadMore) {
14
+ isLoadingRef.current = true;
15
+ onLoadMore();
16
+ }
17
+ }
18
+ }, [onLoadMore, ref, scrollOffset]);
19
+ const lastContentSize = useRef(0);
20
+ useIsomorphicLayoutEffect(() => {
21
+ var _a;
22
+ const wasLoading = isLoadingRef.current;
23
+ if (props !== prevProps.current) {
24
+ isLoadingRef.current = isLoading;
25
+ prevProps.current = props;
26
+ }
27
+ const shouldLoadMore = !hasLoaded && (ref == null ? void 0 : ref.current) && !isLoadingRef.current && onLoadMore && ref.current.clientHeight === ref.current.scrollHeight && (wasLoading || ref.current.scrollHeight !== lastContentSize.current);
28
+ if (shouldLoadMore) {
29
+ isLoadingRef.current = true;
30
+ onLoadMore == null ? void 0 : onLoadMore();
31
+ setHasLoaded(true);
32
+ }
33
+ lastContentSize.current = ((_a = ref.current) == null ? void 0 : _a.scrollHeight) || 0;
34
+ return () => {
35
+ setHasLoaded(false);
36
+ };
37
+ }, [isLoading, onLoadMore, props, ref]);
38
+ return onScroll;
39
+ }
40
+
41
+ export { useLoadOnScroll };
@@ -1,5 +1,5 @@
1
1
  import { AvatarContext } from './chunk-AES7QBQE.js';
2
- import { _RichIconAvatarImage } from './chunk-CP4AWOFU.js';
2
+ import { _RichIconAvatarImage } from './chunk-ITQK6JTD.js';
3
3
  import { AnonymousRichIcon } from '@hopper-ui/icons';
4
4
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
5
5
  import clsx from 'clsx';
@@ -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___pTUGl", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___D5JMM" };
10
+ var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___a5x6R", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___TV62d" };
11
11
  var GlobalOverlineTextCssSelector = "hop-OverlineText";
12
12
  function OverlineText(props, ref) {
13
13
  [props, ref] = useContextProps(props, ref, OverlineTextContext);
@@ -0,0 +1,43 @@
1
+ import { HeaderContext } from './chunk-7JOGKC3W.js';
2
+ import { useStyledSystem } from '@hopper-ui/styled-system';
3
+ import clsx from 'clsx';
4
+ import { forwardRef } from 'react';
5
+ import { useContextProps, Header as Header$1 } from 'react-aria-components';
6
+ import { jsx } from 'react/jsx-runtime';
7
+
8
+ var GlobalHeaderCssSelector = "hop-Header";
9
+ function Header(props, ref) {
10
+ [props, ref] = useContextProps(props, ref, HeaderContext);
11
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
12
+ const {
13
+ className,
14
+ children,
15
+ style,
16
+ slot,
17
+ ...otherProps
18
+ } = ownProps;
19
+ const classNames = clsx(
20
+ GlobalHeaderCssSelector,
21
+ stylingProps.className,
22
+ className
23
+ );
24
+ const mergedStyles = {
25
+ ...stylingProps.style,
26
+ ...style
27
+ };
28
+ return /* @__PURE__ */ jsx(
29
+ Header$1,
30
+ {
31
+ ...otherProps,
32
+ ref,
33
+ className: classNames,
34
+ style: mergedStyles,
35
+ slot: slot || void 0,
36
+ children
37
+ }
38
+ );
39
+ }
40
+ var _Header = forwardRef(Header);
41
+ _Header.displayName = "Header";
42
+
43
+ export { GlobalHeaderCssSelector, _Header };
@@ -1,7 +1,7 @@
1
1
  import { EmbeddedButtonContext } from './chunk-O7IJYNVQ.js';
2
2
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
3
- import { cssModule } from './chunk-KVDXQMWI.js';
4
3
  import { SlotProvider } from './chunk-M36KANKC.js';
4
+ import { cssModule } from './chunk-KVDXQMWI.js';
5
5
  import { IconContext } from '@hopper-ui/icons';
6
6
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
7
7
  import { forwardRef } from 'react';
@@ -9,7 +9,7 @@ import { useContextProps, composeRenderProps, Button } from 'react-aria-componen
9
9
  import { jsx } from 'react/jsx-runtime';
10
10
 
11
11
  // css-module:./EmbeddedButton.module.css#css-module
12
- var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___aWxfX", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___MHkDZ", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___hXT2I", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___XoFBK" };
12
+ var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___-vxw3", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___-R-Cb", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___RoLAu", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___JHGDE" };
13
13
  var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
14
14
  function EmbeddedButton(props, ref) {
15
15
  var _a;