@hopper-ui/components 1.3.8 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/Avatar/src/AnonymousAvatar.css +237 -10
  3. package/dist/Avatar/src/AnonymousAvatar.js +2 -2
  4. package/dist/Avatar/src/Avatar.css +184 -37
  5. package/dist/Avatar/src/Avatar.js +3 -3
  6. package/dist/Avatar/src/DeletedAvatar.css +237 -10
  7. package/dist/Avatar/src/DeletedAvatar.js +2 -2
  8. package/dist/Avatar/src/RichIconAvatarImage.css +237 -10
  9. package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
  10. package/dist/Avatar/src/index.css +184 -37
  11. package/dist/Avatar/src/index.js +5 -5
  12. package/dist/Badge/src/Badge.css +205 -21
  13. package/dist/Badge/src/Badge.js +2 -2
  14. package/dist/Badge/src/FloatingBadge.css +237 -10
  15. package/dist/Badge/src/FloatingBadge.js +1 -1
  16. package/dist/Badge/src/index.css +215 -31
  17. package/dist/Badge/src/index.js +3 -3
  18. package/dist/ComboBox/src/ComboBox.css +5135 -0
  19. package/dist/ComboBox/src/ComboBox.d.ts +90 -0
  20. package/dist/ComboBox/src/ComboBox.js +124 -0
  21. package/dist/ComboBox/src/ComboBoxContext.d.ts +16 -0
  22. package/dist/ComboBox/src/ComboBoxContext.js +2 -0
  23. package/dist/ComboBox/src/index.css +5135 -0
  24. package/dist/ComboBox/src/index.d.ts +12 -0
  25. package/dist/ComboBox/src/index.js +124 -0
  26. package/dist/Divider/src/Divider.css +229 -2
  27. package/dist/Divider/src/Divider.js +1 -1
  28. package/dist/Divider/src/index.css +229 -2
  29. package/dist/Divider/src/index.js +1 -1
  30. package/dist/ErrorMessage/src/ErrorMessage.css +158 -11
  31. package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
  32. package/dist/ErrorMessage/src/index.css +158 -11
  33. package/dist/ErrorMessage/src/index.js +2 -2
  34. package/dist/Form/src/Form.css +836 -825
  35. package/dist/Form/src/Form.js +68 -67
  36. package/dist/Form/src/index.css +836 -825
  37. package/dist/Form/src/index.js +68 -67
  38. package/dist/HelperMessage/src/HelperMessage.css +158 -11
  39. package/dist/HelperMessage/src/HelperMessage.js +2 -2
  40. package/dist/HelperMessage/src/index.css +158 -11
  41. package/dist/HelperMessage/src/index.js +2 -2
  42. package/dist/IconList/src/IconList.css +228 -1
  43. package/dist/IconList/src/IconList.js +1 -1
  44. package/dist/IconList/src/index.css +228 -1
  45. package/dist/IconList/src/index.js +1 -1
  46. package/dist/Link/src/Link.css +184 -37
  47. package/dist/Link/src/Link.js +3 -3
  48. package/dist/Link/src/index.css +184 -37
  49. package/dist/Link/src/index.js +3 -3
  50. package/dist/ListBox/src/ListBox.css +398 -346
  51. package/dist/ListBox/src/ListBox.js +7 -8
  52. package/dist/ListBox/src/ListBoxItem.css +391 -306
  53. package/dist/ListBox/src/ListBoxItem.js +5 -5
  54. package/dist/ListBox/src/ListBoxItemSkeleton.css +234 -7
  55. package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
  56. package/dist/ListBox/src/index.css +398 -346
  57. package/dist/ListBox/src/index.js +7 -8
  58. package/dist/Select/src/Select.css +901 -890
  59. package/dist/Select/src/Select.js +68 -67
  60. package/dist/Select/src/SelectValue.css +197 -191
  61. package/dist/Select/src/SelectValue.js +5 -5
  62. package/dist/Select/src/index.css +901 -890
  63. package/dist/Select/src/index.js +68 -67
  64. package/dist/Spinner/src/Spinner.css +166 -19
  65. package/dist/Spinner/src/Spinner.js +2 -2
  66. package/dist/Spinner/src/index.css +166 -19
  67. package/dist/Spinner/src/index.js +2 -2
  68. package/dist/buttons/src/Button.css +247 -100
  69. package/dist/buttons/src/Button.js +4 -4
  70. package/dist/buttons/src/ButtonGroup.css +238 -11
  71. package/dist/buttons/src/ButtonGroup.js +2 -2
  72. package/dist/buttons/src/ClearButton.css +298 -71
  73. package/dist/buttons/src/ClearButton.js +2 -2
  74. package/dist/buttons/src/EmbeddedButton.css +298 -71
  75. package/dist/buttons/src/EmbeddedButton.js +1 -1
  76. package/dist/buttons/src/index.css +329 -182
  77. package/dist/buttons/src/index.js +8 -8
  78. package/dist/checkbox/src/Checkbox.css +181 -34
  79. package/dist/checkbox/src/Checkbox.js +2 -2
  80. package/dist/checkbox/src/CheckboxField.css +162 -15
  81. package/dist/checkbox/src/CheckboxField.js +1 -1
  82. package/dist/checkbox/src/CheckboxGroup.css +233 -105
  83. package/dist/checkbox/src/CheckboxGroup.js +2 -2
  84. package/dist/checkbox/src/DecorativeCheckbox.css +189 -42
  85. package/dist/checkbox/src/DecorativeCheckbox.js +2 -2
  86. package/dist/checkbox/src/index.css +233 -105
  87. package/dist/checkbox/src/index.js +8 -8
  88. package/dist/{chunk-KQ735GKE.js → chunk-2GYC6ADT.js} +5 -5
  89. package/dist/{chunk-TQZKBOSP.js → chunk-2SF7BBJT.js} +1 -1
  90. package/dist/{chunk-XJAHZJVO.js → chunk-2WK465I4.js} +1 -1
  91. package/dist/{chunk-BFVCZF4H.js → chunk-2ZXF62AA.js} +2 -2
  92. package/dist/{chunk-THMKXCNG.js → chunk-3O74ORYF.js} +3 -3
  93. package/dist/{chunk-PEB7PBUB.js → chunk-4EUVVRTY.js} +1 -1
  94. package/dist/{chunk-E4PIETAY.js → chunk-4FVIH73F.js} +2 -2
  95. package/dist/{chunk-AJMHHWRN.js → chunk-4PBFVO5S.js} +1 -1
  96. package/dist/chunk-4XHTP4GX.js +7 -0
  97. package/dist/{chunk-RR6N2GZX.js → chunk-54U727IV.js} +2 -2
  98. package/dist/{chunk-YHH5TXPG.js → chunk-5TH7VHRH.js} +3 -3
  99. package/dist/{chunk-JNDKNURH.js → chunk-6KHTQTRF.js} +1 -1
  100. package/dist/{chunk-J2OCA4O2.js → chunk-6U6JI3L3.js} +1 -1
  101. package/dist/{chunk-AC6JVAVX.js → chunk-7LTA4KPO.js} +3 -3
  102. package/dist/chunk-A3E76SDY.js +9 -0
  103. package/dist/{chunk-4ARX267G.js → chunk-ANO4F3LJ.js} +2 -2
  104. package/dist/{chunk-FIJ3CLQB.js → chunk-B2O3ZCYC.js} +1 -1
  105. package/dist/{chunk-VMCZQTOI.js → chunk-BGOYDN4M.js} +2 -2
  106. package/dist/{chunk-PWOFOTJR.js → chunk-CZRCXQFS.js} +1 -1
  107. package/dist/{chunk-6FDLX77I.js → chunk-E4JB7I3F.js} +2 -2
  108. package/dist/{chunk-MVBXZQAH.js → chunk-ENHK4K3U.js} +2 -2
  109. package/dist/{chunk-DRG2376D.js → chunk-FBABNQTM.js} +3 -3
  110. package/dist/{chunk-MBFMR455.js → chunk-GDVP2QEZ.js} +1 -1
  111. package/dist/{chunk-KZWQ57ZJ.js → chunk-GIMOHY5C.js} +2 -2
  112. package/dist/{chunk-7H4MZKSZ.js → chunk-HCJLAF2O.js} +4 -4
  113. package/dist/{chunk-NLQW4MJR.js → chunk-HI2SHIGG.js} +1 -1
  114. package/dist/{chunk-GMMQYERH.js → chunk-I55EPFTM.js} +2 -2
  115. package/dist/{chunk-JVDDMMRS.js → chunk-JX5YYFB3.js} +2 -2
  116. package/dist/{chunk-7CIKPH4J.js → chunk-KOT3ULJY.js} +2 -2
  117. package/dist/{chunk-2J5HM77N.js → chunk-KQQCELPA.js} +1 -1
  118. package/dist/chunk-KSKIQSYM.js +260 -0
  119. package/dist/{chunk-UR26A74E.js → chunk-MLHAFFJQ.js} +1 -1
  120. package/dist/{chunk-XEZVEXWO.js → chunk-N66DZLL6.js} +2 -2
  121. package/dist/{chunk-AGRLOZWN.js → chunk-NQD2OQEG.js} +1 -1
  122. package/dist/{chunk-R4LPKOSF.js → chunk-PAW7CB3K.js} +2 -2
  123. package/dist/{chunk-CTTRBWBT.js → chunk-Q6SYCTJD.js} +2 -2
  124. package/dist/{chunk-IP4N5EBH.js → chunk-RDLI353P.js} +1 -1
  125. package/dist/{chunk-XHMXUELC.js → chunk-S6AH3YTH.js} +6 -6
  126. package/dist/{chunk-BPFMTXRF.js → chunk-TMGUYWTR.js} +2 -2
  127. package/dist/{chunk-Z54LX6IU.js → chunk-TRDXTYZD.js} +3 -3
  128. package/dist/{chunk-H2L3SQIO.js → chunk-UJXKUNEW.js} +42 -33
  129. package/dist/{chunk-KXUA2JOW.js → chunk-UR3NK3LV.js} +1 -1
  130. package/dist/{chunk-Z2VOM3C3.js → chunk-VC3HSOGC.js} +3 -3
  131. package/dist/{chunk-3LUQ6A2L.js → chunk-VQKJXEPU.js} +2 -2
  132. package/dist/{chunk-JURJ6BXP.js → chunk-XHW2Z6AX.js} +1 -1
  133. package/dist/{chunk-CURG4YI3.js → chunk-XQFICAVB.js} +4 -8
  134. package/dist/{chunk-QLLCRVCV.js → chunk-YQDRT547.js} +3 -3
  135. package/dist/index.css +836 -825
  136. package/dist/index.d.ts +8 -7
  137. package/dist/index.js +68 -67
  138. package/dist/inputs/src/InputGroup.css +344 -197
  139. package/dist/inputs/src/InputGroup.js +1 -1
  140. package/dist/inputs/src/NumberField.css +336 -336
  141. package/dist/inputs/src/NumberField.js +6 -6
  142. package/dist/inputs/src/PasswordField.css +354 -354
  143. package/dist/inputs/src/PasswordField.js +7 -7
  144. package/dist/inputs/src/RemainingCharacterCount.css +30 -30
  145. package/dist/inputs/src/RemainingCharacterCount.js +5 -5
  146. package/dist/inputs/src/SearchField.css +360 -360
  147. package/dist/inputs/src/SearchField.js +8 -8
  148. package/dist/inputs/src/TextArea.css +331 -331
  149. package/dist/inputs/src/TextArea.js +7 -7
  150. package/dist/inputs/src/TextField.css +358 -358
  151. package/dist/inputs/src/TextField.js +10 -10
  152. package/dist/inputs/src/index.css +404 -404
  153. package/dist/inputs/src/index.js +17 -17
  154. package/dist/overlays/Popover/src/Popover.css +836 -825
  155. package/dist/overlays/Popover/src/Popover.js +68 -67
  156. package/dist/overlays/Popover/src/index.css +836 -825
  157. package/dist/overlays/Popover/src/index.js +68 -67
  158. package/dist/radio/src/DecorativeRadio.css +189 -42
  159. package/dist/radio/src/DecorativeRadio.js +2 -2
  160. package/dist/radio/src/Radio.css +181 -34
  161. package/dist/radio/src/Radio.js +2 -2
  162. package/dist/radio/src/RadioField.css +162 -15
  163. package/dist/radio/src/RadioField.js +1 -1
  164. package/dist/radio/src/RadioGroup.css +227 -99
  165. package/dist/radio/src/RadioGroup.js +2 -2
  166. package/dist/radio/src/index.css +233 -105
  167. package/dist/radio/src/index.js +8 -8
  168. package/dist/switch/src/Switch.css +178 -31
  169. package/dist/switch/src/Switch.js +2 -2
  170. package/dist/switch/src/SwitchField.css +162 -15
  171. package/dist/switch/src/SwitchField.js +2 -2
  172. package/dist/switch/src/index.css +184 -37
  173. package/dist/switch/src/index.js +4 -4
  174. package/dist/tag/src/Tag.css +464 -360
  175. package/dist/tag/src/Tag.js +5 -5
  176. package/dist/tag/src/TagGroup.css +166 -38
  177. package/dist/tag/src/TagGroup.js +2 -2
  178. package/dist/tag/src/TagList.css +226 -0
  179. package/dist/tag/src/index.css +474 -389
  180. package/dist/tag/src/index.js +9 -9
  181. package/dist/typography/Heading/src/Heading.css +151 -9
  182. package/dist/typography/Heading/src/Heading.js +1 -1
  183. package/dist/typography/Heading/src/index.css +151 -9
  184. package/dist/typography/Heading/src/index.js +1 -1
  185. package/dist/typography/Label/src/Label.css +211 -3
  186. package/dist/typography/Label/src/Label.js +1 -1
  187. package/dist/typography/Label/src/index.css +211 -3
  188. package/dist/typography/Label/src/index.js +1 -1
  189. package/dist/typography/OverlineText/src/OverlineText.css +190 -6
  190. package/dist/typography/OverlineText/src/OverlineText.js +1 -1
  191. package/dist/typography/OverlineText/src/index.css +190 -6
  192. package/dist/typography/OverlineText/src/index.js +1 -1
  193. package/dist/typography/Text/src/Text.css +156 -9
  194. package/dist/typography/Text/src/Text.js +1 -1
  195. package/dist/typography/Text/src/index.css +156 -9
  196. package/dist/typography/Text/src/index.js +1 -1
  197. package/dist/utils/src/EnsureTextWrapper.css +226 -0
  198. package/dist/utils/src/EnsureTextWrapper.d.ts +9 -0
  199. package/dist/utils/src/EnsureTextWrapper.js +16 -0
  200. package/dist/utils/src/index.css +226 -0
  201. package/dist/utils/src/index.d.ts +11 -10
  202. package/dist/utils/src/index.js +14 -3
  203. package/package.json +1 -1
@@ -0,0 +1,260 @@
1
+ import { ComboBoxContext } from './chunk-4XHTP4GX.js';
2
+ import { _Popover } from './chunk-UJXKUNEW.js';
3
+ import { EnsureTextWrapper } from './chunk-A3E76SDY.js';
4
+ import { _Footer } from './chunk-AQITZWYM.js';
5
+ import { LabelContext } from './chunk-QCA3ZR56.js';
6
+ import { _ListBox } from './chunk-XQFICAVB.js';
7
+ import { _ListBoxItem } from './chunk-2GYC6ADT.js';
8
+ import { HelperMessageContext } from './chunk-HZKFQ33E.js';
9
+ import { ErrorMessageContext } from './chunk-FAE27DLF.js';
10
+ import { BadgeContext } from './chunk-CQDLZ42T.js';
11
+ import { TextContext } from './chunk-X6SER3TZ.js';
12
+ import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
13
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
14
+ import { SlotProvider } from './chunk-M36KANKC.js';
15
+ import { cssModule } from './chunk-KVDXQMWI.js';
16
+ import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
17
+ import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
18
+ import { useObjectRef, mergeRefs, useResizeObserver } from '@react-aria/utils';
19
+ import { forwardRef, useRef, useState, useCallback } from 'react';
20
+ import { useContextProps, useSlottedContext, InputContext, composeRenderProps, TextContext as TextContext$1, ButtonContext, ComboBox as ComboBox$1, Group, Input, Button } from 'react-aria-components';
21
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
22
+
23
+ // css-module:./ComboBox.module.css#css-module
24
+ var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___yka4p", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___wc-wK", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___JxClR", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___mwnmp", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___t-bwh", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___SwrW0", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___-iJvh", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___N4euJ", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___iz3ml", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___EtzJV", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___T5Iem", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___qYblw" };
25
+ var GlobalComboBoxCssSelector = "hop-ComboBox";
26
+ function ComboBox(props, ref) {
27
+ var _a, _b, _c;
28
+ const {
29
+ inputRef: userProvidedInputRef = null,
30
+ ...propsWithoutRef
31
+ } = props;
32
+ [props, ref] = useContextProps(propsWithoutRef, ref, ComboBoxContext);
33
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
34
+ const {
35
+ className,
36
+ children,
37
+ fieldChildren,
38
+ footer,
39
+ isAutoMenuWidth,
40
+ isFluid: isFluidProp,
41
+ isInvalid,
42
+ items,
43
+ menuTrigger = "focus",
44
+ listBoxProps,
45
+ placeholder,
46
+ popoverProps,
47
+ prefix,
48
+ size: sizeProp,
49
+ style: styleProp,
50
+ triggerProps,
51
+ ...otherProps
52
+ } = ownProps;
53
+ const inputRef = useObjectRef(mergeRefs(userProvidedInputRef, (_a = props.inputRef) != null ? _a : null));
54
+ const inputContext = useSlottedContext(InputContext);
55
+ const mergedInputRefs = (inputContext == null ? void 0 : inputContext.ref) ? mergeRefs(inputRef, inputContext.ref) : inputRef;
56
+ const triggerRef = useRef(null);
57
+ const buttonRef = useRef(null);
58
+ const [triggerWidth, setTriggerWidth] = useState(null);
59
+ const onResize = useCallback(() => {
60
+ if (triggerRef.current) {
61
+ setTriggerWidth(triggerRef.current.offsetWidth + "px");
62
+ }
63
+ }, [triggerRef]);
64
+ useResizeObserver({
65
+ ref: triggerRef,
66
+ onResize
67
+ });
68
+ const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
69
+ const {
70
+ className: triggerClassName,
71
+ style: triggerStyleProp,
72
+ ...otherTriggerProps
73
+ } = triggerOwnProps;
74
+ const { stylingProps: popoverStylingProps, ...popoverOwnProps } = useStyledSystem(popoverProps != null ? popoverProps : {});
75
+ const {
76
+ placement = "bottom start",
77
+ style: popoverStyleProp,
78
+ ...otherPopoverProps
79
+ } = popoverOwnProps;
80
+ const size = (_b = useResponsiveValue(sizeProp)) != null ? _b : "sm";
81
+ const isFluid = (_c = useResponsiveValue(isFluidProp)) != null ? _c : false;
82
+ const classNames = composeClassnameRenderProps(
83
+ className,
84
+ GlobalComboBoxCssSelector,
85
+ cssModule(
86
+ ComboBox_module_default,
87
+ "hop-ComboBox",
88
+ isFluid && "fluid",
89
+ size
90
+ ),
91
+ stylingProps.className
92
+ );
93
+ const triggerClassNames = composeClassnameRenderProps(
94
+ triggerClassName,
95
+ cssModule(
96
+ ComboBox_module_default,
97
+ "hop-ComboBox__trigger",
98
+ size
99
+ ),
100
+ triggerStylingProps.className
101
+ );
102
+ const buttonClassNames = composeClassnameRenderProps(
103
+ cssModule(
104
+ ComboBox_module_default,
105
+ "hop-ComboBox__button"
106
+ )
107
+ );
108
+ const inputClassNames = composeClassnameRenderProps(
109
+ inputContext == null ? void 0 : inputContext.className,
110
+ ComboBox_module_default["hop-ComboBox__input"]
111
+ );
112
+ const style = composeRenderProps(styleProp, (prev) => {
113
+ return {
114
+ ...stylingProps.style,
115
+ ...prev
116
+ };
117
+ });
118
+ const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
119
+ return {
120
+ ...triggerStylingProps.style,
121
+ ...prev
122
+ };
123
+ });
124
+ const popoverStyle = composeRenderProps(popoverStyleProp, (prev) => {
125
+ return {
126
+ ...popoverStylingProps.style,
127
+ ...prev,
128
+ "--custom-trigger-width": triggerWidth
129
+ };
130
+ });
131
+ const handleMouseDown = useCallback((e) => {
132
+ if (inputRef.current && e.target !== inputRef.current && buttonRef.current && e.target !== buttonRef.current) {
133
+ inputRef.current.focus();
134
+ e.preventDefault();
135
+ }
136
+ }, [inputRef]);
137
+ const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
138
+ SlotProvider,
139
+ {
140
+ values: [
141
+ [TextContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }],
142
+ [IconContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }]
143
+ ],
144
+ children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prefix }) })
145
+ }
146
+ ) : null;
147
+ const footerMarkup = footer ? /* @__PURE__ */ jsx(
148
+ SlotProvider,
149
+ {
150
+ values: [
151
+ [TextContext, { size, className: ComboBox_module_default["hop-ComboBox__footer-text"] }]
152
+ ],
153
+ children: /* @__PURE__ */ jsx(
154
+ ClearProviders,
155
+ {
156
+ values: [
157
+ TextContext$1,
158
+ TextContext,
159
+ ButtonContext
160
+ ],
161
+ children: /* @__PURE__ */ jsx(_Footer, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: footer }) })
162
+ }
163
+ )
164
+ }
165
+ ) : null;
166
+ return /* @__PURE__ */ jsx(
167
+ ComboBox$1,
168
+ {
169
+ ...otherProps,
170
+ ref,
171
+ className: classNames,
172
+ style,
173
+ isInvalid,
174
+ menuTrigger,
175
+ children: (comboBoxRenderProps) => {
176
+ const { isOpen } = comboBoxRenderProps;
177
+ const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
178
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
179
+ /* @__PURE__ */ jsx(
180
+ SlotProvider,
181
+ {
182
+ values: [
183
+ [LabelContext, {
184
+ className: ComboBox_module_default["hop-ComboBox__label"]
185
+ }],
186
+ [HelperMessageContext, {
187
+ className: ComboBox_module_default["hop-ComboBox__helper-message"]
188
+ }],
189
+ [ErrorMessageContext, {
190
+ className: ComboBox_module_default["hop-ComboBox__error-message"]
191
+ }]
192
+ ],
193
+ children: fieldChildren
194
+ }
195
+ ),
196
+ /* @__PURE__ */ jsxs(
197
+ Group,
198
+ {
199
+ ...otherTriggerProps,
200
+ ref: triggerRef,
201
+ className: triggerClassNames,
202
+ style: triggerStyle,
203
+ onMouseDown: handleMouseDown,
204
+ "data-selected": isOpen || void 0,
205
+ children: [
206
+ prefixMarkup,
207
+ /* @__PURE__ */ jsx(
208
+ Input,
209
+ {
210
+ ref: mergedInputRefs,
211
+ className: inputClassNames,
212
+ placeholder
213
+ }
214
+ ),
215
+ /* @__PURE__ */ jsx(Button, { className: buttonClassNames, ref: buttonRef, children: /* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: ComboBox_module_default["hop-ComboBox__button-icon"] }) })
216
+ ]
217
+ }
218
+ ),
219
+ /* @__PURE__ */ jsxs(
220
+ _Popover,
221
+ {
222
+ ...otherPopoverProps,
223
+ placement,
224
+ isNonDialog: true,
225
+ autoWidth: isAutoMenuWidth,
226
+ style: popoverStyle,
227
+ triggerRef,
228
+ children: [
229
+ /* @__PURE__ */ jsx(
230
+ SlotProvider,
231
+ {
232
+ values: [
233
+ [BadgeContext, {
234
+ variant: "secondary"
235
+ }]
236
+ ],
237
+ children: /* @__PURE__ */ jsx(_ListBox, { ...listBoxProps, items, size, isInvalid, children })
238
+ }
239
+ ),
240
+ footerMarkup
241
+ ]
242
+ }
243
+ )
244
+ ] });
245
+ }
246
+ }
247
+ );
248
+ }
249
+ var _ComboBox = forwardRef(ComboBox);
250
+ _ComboBox.displayName = "ComboBox";
251
+ var CompoundComboBox = Object.assign(_ComboBox, {
252
+ /**
253
+ * A combo box option is an item that is displayed in a combo box.
254
+ *
255
+ * [View Documentation](TODO)
256
+ */
257
+ Option: _ListBoxItem
258
+ });
259
+
260
+ export { CompoundComboBox, GlobalComboBoxCssSelector };
@@ -1,5 +1,5 @@
1
1
  import { AvatarContext } from './chunk-AES7QBQE.js';
2
- import { _RichIconAvatarImage } from './chunk-XJAHZJVO.js';
2
+ import { _RichIconAvatarImage } from './chunk-2WK465I4.js';
3
3
  import { useRenderProps } from './chunk-NH3IVMXB.js';
4
4
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
5
5
  import { DeletedUserRichIcon } from '@hopper-ui/icons';
@@ -1,6 +1,6 @@
1
+ import { TagListContext } from './chunk-XLKYXKWE.js';
1
2
  import { TagContext } from './chunk-EWMWQ2MC.js';
2
3
  import { TagGroupContext } from './chunk-LCAS3YQV.js';
3
- import { TagListContext } from './chunk-XLKYXKWE.js';
4
4
  import { LabelContext } from './chunk-QCA3ZR56.js';
5
5
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
6
6
  import { ErrorMessageContext } from './chunk-FAE27DLF.js';
@@ -13,7 +13,7 @@ import { useContextProps, FieldErrorContext, TagGroup as TagGroup$1 } from 'reac
13
13
  import { jsx } from 'react/jsx-runtime';
14
14
 
15
15
  // css-module:./TagGroup.module.css#css-module
16
- var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___tcuEw", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___MIfwe", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___BBlDb", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___JUQXc", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___Oka5s" };
16
+ var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___14xMC", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___l2bhv", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___neJyh", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___rWmWC", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___XikDk" };
17
17
  var GlobalTagGroupCssSelector = "hop-TagGroup";
18
18
  function TagGroup(props, ref) {
19
19
  var _a;
@@ -8,7 +8,7 @@ import { useContextProps, Label as Label$1 } from 'react-aria-components';
8
8
  import { jsx, jsxs } from 'react/jsx-runtime';
9
9
 
10
10
  // css-module:./Label.module.css#css-module
11
- var Label_module_default = { "hop-Label": "Label-module__hop-Label___I1lcR", "hop-Label__indicator": "Label-module__hop-Label__indicator___bMR5H" };
11
+ var Label_module_default = { "hop-Label": "Label-module__hop-Label___1zcVv", "hop-Label__indicator": "Label-module__hop-Label__indicator___ZX47s" };
12
12
  var GlobalLabelCssSelector = "hop-Label";
13
13
  function Label(props, ref) {
14
14
  [props, ref] = useContextProps(props, ref, LabelContext);
@@ -1,7 +1,7 @@
1
1
  import { CheckboxContext } from './chunk-2EAZPH3M.js';
2
2
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
3
3
  import { IconListContext } from './chunk-DHVVYSLB.js';
4
- import { _Text } from './chunk-2J5HM77N.js';
4
+ import { _Text } from './chunk-KQQCELPA.js';
5
5
  import { TextContext } from './chunk-X6SER3TZ.js';
6
6
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
7
7
  import { useRenderProps } from './chunk-NH3IVMXB.js';
@@ -16,7 +16,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
16
16
  import { jsx, jsxs } from 'react/jsx-runtime';
17
17
 
18
18
  // css-module:./DecorativeCheckbox.module.css#css-module
19
- var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___lRQTM Checkbox-module__hop-Checkbox___N1R82", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___dkdhx Checkbox-module__hop-Checkbox--sm___fyMAY", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___E8aCr Checkbox-module__hop-Checkbox--md___K8Wf4", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___r2Af7 Checkbox-module__hop-Checkbox__icon___-2zc-", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___aE0N0 Checkbox-module__hop-Checkbox__icon___-2zc-", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___H1ERN Checkbox-module__hop-Checkbox__box___KQHTU", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___uTYXx Checkbox-module__hop-Checkbox__check___kpRRX", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___RAk7V Checkbox-module__hop-Checkbox__text___lT5Jd" };
19
+ var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___uojgy Checkbox-module__hop-Checkbox___ftNKr", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___NCu0g Checkbox-module__hop-Checkbox--sm___aBalJ", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___zZoAa Checkbox-module__hop-Checkbox--md___NRQ6W", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___GdgJP Checkbox-module__hop-Checkbox__icon___9RX3t", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___0hjQG Checkbox-module__hop-Checkbox__icon___9RX3t", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___B1OKw Checkbox-module__hop-Checkbox__box___aUVd0", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___uWACi Checkbox-module__hop-Checkbox__check___6akLc", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___8K-I- Checkbox-module__hop-Checkbox__text___b92Eu" };
20
20
  var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
21
21
  function DecorativeCheckbox(props, ref) {
22
22
  var _a;
@@ -1,6 +1,6 @@
1
+ import { CheckboxListContext } from './chunk-WDUQUPTE.js';
1
2
  import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
2
3
  import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
3
- import { CheckboxListContext } from './chunk-WDUQUPTE.js';
4
4
  import { LabelContext } from './chunk-QCA3ZR56.js';
5
5
  import { CheckboxContext } from './chunk-2EAZPH3M.js';
6
6
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 }
14
14
  import { jsx } from 'react/jsx-runtime';
15
15
 
16
16
  // css-module:./CheckboxGroup.module.css#css-module
17
- var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-CheckboxGroup___A7CLi", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___mx6gE", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___a-1SG", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___-K6J2", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___HydnG", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___NPuKI", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___smlgE", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___CfroT", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___3r4Gx" };
17
+ var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-CheckboxGroup___YZl2f", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___kuOiD", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___pb3m6", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___CLmD-", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___Le2oD", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___Izhrn", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___s97d3", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___EVE-z", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___y8GQ-" };
18
18
  var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
19
19
  function CheckboxGroup(props, ref) {
20
20
  var _a, _b;
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
9
9
  // css-module:./ListBoxItemSkeleton.module.css#css-module
10
- var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___x-eOh", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___qw0Y4", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___0GrS5", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___1E4s5", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___JXT-p", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___671cG" };
10
+ var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___lR0QJ", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___3zK8z", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___D0X6e", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___hoJSr", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___v24sl", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___SPqjn" };
11
11
  var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
12
12
  function ListBoxItemSkeleton(props, ref) {
13
13
  var _a;
@@ -1,13 +1,13 @@
1
- import { useTruncatedText } from './chunk-Z57VHYOF.js';
2
- import { _RemainingCharacterCount } from './chunk-BFVCZF4H.js';
3
1
  import { TextFieldContext } from './chunk-O4XPUINW.js';
4
- import { _InputGroup } from './chunk-MBFMR455.js';
5
- import { _ClearButton } from './chunk-KXUA2JOW.js';
2
+ import { useTruncatedText } from './chunk-Z57VHYOF.js';
3
+ import { _RemainingCharacterCount } from './chunk-2ZXF62AA.js';
4
+ import { _InputGroup } from './chunk-GDVP2QEZ.js';
5
+ import { _ClearButton } from './chunk-UR3NK3LV.js';
6
6
  import { LabelContext } from './chunk-QCA3ZR56.js';
7
7
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
8
8
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
9
9
  import { ErrorMessageContext } from './chunk-FAE27DLF.js';
10
- import { _Text } from './chunk-2J5HM77N.js';
10
+ import { _Text } from './chunk-KQQCELPA.js';
11
11
  import { TextContext } from './chunk-X6SER3TZ.js';
12
12
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
13
13
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
@@ -23,7 +23,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
23
23
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
24
24
 
25
25
  // css-module:./TextField.module.css#css-module
26
- var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___ayCGD", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___6ZUUt", "hop-TextField__Label": "TextField-module__hop-TextField__Label___ylFL9", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___P7wyK", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___kaNJe", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___T6KZN", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___uPCZ2" };
26
+ var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___1sv5-", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___12PF-", "hop-TextField__Label": "TextField-module__hop-TextField__Label___v5PNS", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___6Ykah", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___e0Vhr", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___9tUFi", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___b5vV2" };
27
27
  var GlobalTextFieldCssSelector = "hop-TextField";
28
28
  function TextField(props, ref) {
29
29
  var _a;
@@ -1,5 +1,5 @@
1
1
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
2
- import { _Text } from './chunk-2J5HM77N.js';
2
+ import { _Text } from './chunk-KQQCELPA.js';
3
3
  import { cssModule } from './chunk-KVDXQMWI.js';
4
4
  import { InfoIcon } from '@hopper-ui/icons';
5
5
  import { useStyledSystem } from '@hopper-ui/styled-system';
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
9
9
  import { jsxs, jsx } from 'react/jsx-runtime';
10
10
 
11
11
  // css-module:./HelperMessage.module.css#css-module
12
- var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___aVOod", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___ijRfm" };
12
+ var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___baQv5", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___85txW" };
13
13
  var GlobalHelperMessageCssSelector = "hop-HelperMessage";
14
14
  function HelperMessage(props, ref) {
15
15
  const validation = useContext(FieldErrorContext);
@@ -1,10 +1,10 @@
1
1
  import { useSlot } from './chunk-H5YTU3U7.js';
2
- import { _Spinner } from './chunk-RR6N2GZX.js';
3
2
  import { ButtonContext } from './chunk-WMTWFKKP.js';
3
+ import { _Spinner } from './chunk-54U727IV.js';
4
4
  import { useLocalizedString } from './chunk-TFVDF4YH.js';
5
5
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
6
6
  import { IconListContext } from './chunk-DHVVYSLB.js';
7
- import { _Text } from './chunk-2J5HM77N.js';
7
+ import { _Text } from './chunk-KQQCELPA.js';
8
8
  import { TextContext } from './chunk-X6SER3TZ.js';
9
9
  import { useRenderProps } from './chunk-NH3IVMXB.js';
10
10
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
@@ -19,7 +19,7 @@ import { useContextProps, ButtonContext as ButtonContext$1, composeRenderProps,
19
19
  import { jsx, jsxs } from 'react/jsx-runtime';
20
20
 
21
21
  // css-module:./Button.module.css#css-module
22
- var Button_module_default = { "hop-Button": "Button-module__hop-Button___5w5a2", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___V-noN", "hop-Button--fluid": "Button-module__hop-Button--fluid___QaAvn", "hop-Button--sm": "Button-module__hop-Button--sm___nMy5q", "hop-Button--primary": "Button-module__hop-Button--primary___EvsVi", "hop-Button--md": "Button-module__hop-Button--md___cThV4", "hop-Button--secondary": "Button-module__hop-Button--secondary___HYyfJ", "hop-Button--upsell": "Button-module__hop-Button--upsell___laWqg", "hop-Button--danger": "Button-module__hop-Button--danger___4-NJy", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___5xkKn", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___74X2R", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___sh82s", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___23sIY", "hop-Button__icon": "Button-module__hop-Button__icon___OCH09", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___90QTb", "hop-Button__text": "Button-module__hop-Button__text___hmgmJ", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___WUX-K", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___TYtCm" };
22
+ var Button_module_default = { "hop-Button": "Button-module__hop-Button___hJrlG", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___FjUDk", "hop-Button--fluid": "Button-module__hop-Button--fluid___zHyAn", "hop-Button--sm": "Button-module__hop-Button--sm___TjmEa", "hop-Button--primary": "Button-module__hop-Button--primary___x2k3w", "hop-Button--md": "Button-module__hop-Button--md___SSJmI", "hop-Button--secondary": "Button-module__hop-Button--secondary___ehb-w", "hop-Button--upsell": "Button-module__hop-Button--upsell___aWCox", "hop-Button--danger": "Button-module__hop-Button--danger___KtNGT", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___DLGVS", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___H0XJg", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___SaGFj", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___ItCTY", "hop-Button__icon": "Button-module__hop-Button__icon___EQqO8", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___nrpu8", "hop-Button__text": "Button-module__hop-Button__text___TXP9n", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___sFMht", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___f9BkT" };
23
23
  var GlobalButtonCssSelector = "hop-Button";
24
24
  var additionalButtonHTMLAttributes = /* @__PURE__ */ new Set(["form", "formAction", "formEncType", "formMethod", "formNoValidate", "formTarget", "name", "value"]);
25
25
  function useSimulatedRACButton(props, ref) {
@@ -1,34 +1,33 @@
1
1
  import { PopoverContext } from './chunk-SC6ZK5ON.js';
2
+ import { EnsureTextWrapper } from './chunk-A3E76SDY.js';
2
3
  import { RadioGroupContext } from './chunk-5MBJWRZD.js';
4
+ import { TextFieldContext } from './chunk-O4XPUINW.js';
3
5
  import { ContentContext } from './chunk-IXB2WK56.js';
4
6
  import { _Footer } from './chunk-AQITZWYM.js';
5
7
  import { FooterContext } from './chunk-I67NHYK4.js';
6
- import { SearchFieldContext } from './chunk-3NKF5TPD.js';
7
- import { TextAreaContext } from './chunk-MHQZXLKW.js';
8
- import { TextFieldContext } from './chunk-O4XPUINW.js';
9
8
  import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
10
9
  import { PasswordFieldContext } from './chunk-QW45G6K4.js';
10
+ import { SearchFieldContext } from './chunk-3NKF5TPD.js';
11
+ import { TextAreaContext } from './chunk-MHQZXLKW.js';
11
12
  import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
12
13
  import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
14
+ import { ButtonContext } from './chunk-WMTWFKKP.js';
13
15
  import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
14
16
  import { SelectContext } from './chunk-T24MBA34.js';
15
- import { _SelectValue } from './chunk-VMCZQTOI.js';
17
+ import { _SelectValue } from './chunk-BGOYDN4M.js';
16
18
  import { HeadingContext } from './chunk-TXZ6BMFR.js';
17
19
  import { LabelContext } from './chunk-QCA3ZR56.js';
18
- import { ButtonContext } from './chunk-WMTWFKKP.js';
19
- import { LinkContext } from './chunk-4VVNSXIB.js';
20
- import { _ListBox } from './chunk-CURG4YI3.js';
20
+ import { _ListBox } from './chunk-XQFICAVB.js';
21
21
  import { isFunction, isNil } from './chunk-TIPN4VYD.js';
22
22
  import { ListBoxContext } from './chunk-UIEP5BA5.js';
23
- import { _ListBoxItem } from './chunk-KQ735GKE.js';
23
+ import { _ListBoxItem } from './chunk-2GYC6ADT.js';
24
24
  import { CheckboxContext } from './chunk-2EAZPH3M.js';
25
- import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
26
- import { HelperMessageContext } from './chunk-HZKFQ33E.js';
27
25
  import { _HopperProvider } from './chunk-NMKBUGSO.js';
28
- import { ErrorMessageContext } from './chunk-FAE27DLF.js';
26
+ import { LinkContext } from './chunk-4VVNSXIB.js';
29
27
  import { FormContext } from './chunk-EURJK4ZT.js';
28
+ import { HelperMessageContext } from './chunk-HZKFQ33E.js';
29
+ import { ErrorMessageContext } from './chunk-FAE27DLF.js';
30
30
  import { BadgeContext } from './chunk-CQDLZ42T.js';
31
- import { _Text } from './chunk-2J5HM77N.js';
32
31
  import { TextContext } from './chunk-X6SER3TZ.js';
33
32
  import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
34
33
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
@@ -38,13 +37,13 @@ import { useStyledSystem, useResponsiveValue, useColorSchemeContext } from '@hop
38
37
  export * from '@hopper-ui/styled-system';
39
38
  import clsx from 'clsx';
40
39
  import { forwardRef, useReducer, useRef, useEffect } from 'react';
41
- import { useContextProps, composeRenderProps, Popover as Popover$1, Dialog, Select as Select$1, Button, TextContext as TextContext$1, ButtonContext as ButtonContext$1, Form as Form$1 } from 'react-aria-components';
40
+ import { useContextProps, composeRenderProps, Popover as Popover$1, Dialog, TextContext as TextContext$1, ButtonContext as ButtonContext$1, Select as Select$1, Button, Form as Form$1 } from 'react-aria-components';
42
41
  export { Collection } from 'react-aria-components';
43
42
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
44
43
  import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
45
44
 
46
45
  // css-module:./Popover.module.css#css-module
47
- var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___gIFrM", "fade": "Popover-module__fade___ph4u3", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___HAIbd", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___UFZee", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___H-yZY", "hop-Popover__title": "Popover-module__hop-Popover__title___7iBNB", "hop-Popover__content": "Popover-module__hop-Popover__content___9qGsS", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___4ZJko", "hop-Popover__footer": "Popover-module__hop-Popover__footer___GUjGi", "hop-Popover__actions": "Popover-module__hop-Popover__actions___8dlIL", "hop-Popover__action": "Popover-module__hop-Popover__action___PdeSV" };
46
+ var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___YqMrl", "fade": "Popover-module__fade___cM9Hu", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___bBvVC", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___-Qm8I", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___2Pes0", "hop-Popover__title": "Popover-module__hop-Popover__title___SZT2m", "hop-Popover__content": "Popover-module__hop-Popover__content___V6KMC", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___PnPGa", "hop-Popover__footer": "Popover-module__hop-Popover__footer___sJmo-", "hop-Popover__actions": "Popover-module__hop-Popover__actions___dlp9Q", "hop-Popover__action": "Popover-module__hop-Popover__action___hcQBI" };
48
47
  var GlobalPopoverCssSelector = "hop-Popover";
49
48
  function Popover(props, ref) {
50
49
  var _a;
@@ -178,7 +177,7 @@ var _Popover = forwardRef(Popover);
178
177
  _Popover.displayName = "Popover";
179
178
 
180
179
  // css-module:./Select.module.css#css-module
181
- var Select_module_default = { "hop-Select": "Select-module__hop-Select___-ffji", "hop-Select--fluid": "Select-module__hop-Select--fluid___a4kzj", "hop-Select__label": "Select-module__hop-Select__label___rG82d", "hop-Select__button": "Select-module__hop-Select__button___Ml5ar", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___z5rTo", "hop-Select__button--md": "Select-module__hop-Select__button--md___pRWBr", "hop-Select__prefix": "Select-module__hop-Select__prefix___ioXh1", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___hyZcO", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___uE0gS", "hop-Select__error-message": "Select-module__hop-Select__error-message___66saO" };
180
+ var Select_module_default = { "hop-Select": "Select-module__hop-Select___9asPc", "hop-Select--fluid": "Select-module__hop-Select--fluid___kdYun", "hop-Select__label": "Select-module__hop-Select__label___lX0YF", "hop-Select__button": "Select-module__hop-Select__button___72TRN", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___t6WUP", "hop-Select__button--md": "Select-module__hop-Select__button--md___GNNkD", "hop-Select__prefix": "Select-module__hop-Select__prefix___lRC4S", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___t9tu4", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___-E4RI", "hop-Select__error-message": "Select-module__hop-Select__error-message___cOkJl" };
182
181
  var GlobalSelectCssSelector = "hop-Select";
183
182
  function Select(props, ref) {
184
183
  var _a, _b;
@@ -237,10 +236,12 @@ function Select(props, ref) {
237
236
  ...prev
238
237
  };
239
238
  });
240
- const triggerStyle = {
241
- ...triggerStylingProps.style,
242
- ...triggerStyleProp
243
- };
239
+ const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
240
+ return {
241
+ ...triggerStylingProps.style,
242
+ ...prev
243
+ };
244
+ });
244
245
  const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
245
246
  SlotProvider,
246
247
  {
@@ -248,10 +249,28 @@ function Select(props, ref) {
248
249
  [TextContext, { size, className: Select_module_default["hop-Select__prefix"] }],
249
250
  [IconContext, { size, className: Select_module_default["hop-Select__prefix"] }]
250
251
  ],
251
- children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: isTextOnlyChildren(prefix) ? /* @__PURE__ */ jsx(_Text, { children: prefix }) : prefix })
252
+ children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prefix }) })
253
+ }
254
+ ) : null;
255
+ const footerMarkup = footer ? /* @__PURE__ */ jsx(
256
+ SlotProvider,
257
+ {
258
+ values: [
259
+ [TextContext, { size, className: Select_module_default["hop-Select__footer-text"] }]
260
+ ],
261
+ children: /* @__PURE__ */ jsx(
262
+ ClearProviders,
263
+ {
264
+ values: [
265
+ TextContext$1,
266
+ TextContext,
267
+ ButtonContext$1
268
+ ],
269
+ children: /* @__PURE__ */ jsx(_Footer, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: footer }) })
270
+ }
271
+ )
252
272
  }
253
273
  ) : null;
254
- const footerMarkup = footer ? /* @__PURE__ */ jsx(_Footer, { children: isTextOnlyChildren(footer) ? /* @__PURE__ */ jsx(_Text, { children: footer }) : footer }) : null;
255
274
  return /* @__PURE__ */ jsx(
256
275
  Select$1,
257
276
  {
@@ -300,17 +319,7 @@ function Select(props, ref) {
300
319
  children: /* @__PURE__ */ jsx(_ListBox, { ...listBoxProps, items, size, isInvalid, children })
301
320
  }
302
321
  ),
303
- /* @__PURE__ */ jsx(
304
- ClearProviders,
305
- {
306
- values: [
307
- TextContext$1,
308
- TextContext,
309
- ButtonContext$1
310
- ],
311
- children: footerMarkup
312
- }
313
- )
322
+ footerMarkup
314
323
  ] })
315
324
  ] });
316
325
  }
@@ -738,7 +747,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
738
747
  }
739
748
 
740
749
  // css-module:./Form.module.css#css-module
741
- var Form_module_default = { "hop-Form": "Form-module__hop-Form___00trG" };
750
+ var Form_module_default = { "hop-Form": "Form-module__hop-Form___jz9NZ" };
742
751
  var GlobalFormCssSelector = "hop-Form";
743
752
  function Form(props, ref) {
744
753
  var _a;
@@ -1,5 +1,5 @@
1
1
  import { ClearButtonContext } from './chunk-DXVKHP4V.js';
2
- import { _EmbeddedButton } from './chunk-AJMHHWRN.js';
2
+ import { _EmbeddedButton } from './chunk-4PBFVO5S.js';
3
3
  import { useLocalizedString } from './chunk-TFVDF4YH.js';
4
4
  import { DismissIcon } from '@hopper-ui/icons';
5
5
  import { forwardRef } from 'react';
@@ -1,11 +1,11 @@
1
1
  import { useScale } from './chunk-MTDFS4CZ.js';
2
2
  import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
3
- import { _InputGroup } from './chunk-MBFMR455.js';
3
+ import { _InputGroup } from './chunk-GDVP2QEZ.js';
4
4
  import { LabelContext } from './chunk-QCA3ZR56.js';
5
5
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
6
6
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
7
7
  import { ErrorMessageContext } from './chunk-FAE27DLF.js';
8
- import { _Text } from './chunk-2J5HM77N.js';
8
+ import { _Text } from './chunk-KQQCELPA.js';
9
9
  import { TextContext } from './chunk-X6SER3TZ.js';
10
10
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
11
11
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
@@ -21,7 +21,7 @@ import { useContextProps, composeRenderProps, Input, NumberField as NumberField$
21
21
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
22
22
 
23
23
  // css-module:./NumberField.module.css#css-module
24
- var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-NumberField___apdI6", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___zqiUX", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___NKAaR", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___Z2mj5", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___JnwJ1", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___y0Rb6", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___9p0yi", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___zIKmw", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___hxdTL", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___nUuTR", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___dKoOR", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___Td1XM", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___ACv7y", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___mcmo2" };
24
+ var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-NumberField___VWgJv", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___D4KuH", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___JdtJi", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___DpcSp", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___baTwE", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___f4BCh", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___iTVwp", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___JGOeo", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___h67o-", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___bcKtE", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___qY0Q-", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___DrHY1", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___ogLPx", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___7YBOI" };
25
25
  var GlobalNumberFieldCssSelector = "hop-NumberField";
26
26
  var StepperButton = ({ direction }) => {
27
27
  const scale = useScale();
@@ -1,7 +1,7 @@
1
1
  import { SwitchContext } from './chunk-YHBJAXUY.js';
2
2
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
3
3
  import { IconListContext } from './chunk-DHVVYSLB.js';
4
- import { _Text } from './chunk-2J5HM77N.js';
4
+ import { _Text } from './chunk-KQQCELPA.js';
5
5
  import { TextContext } from './chunk-X6SER3TZ.js';
6
6
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
7
7
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
14
14
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
15
15
 
16
16
  // css-module:./Switch.module.css#css-module
17
- var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___wIPTD", "hop-Switch--sm": "Switch-module__hop-Switch--sm___IbMER", "hop-Switch--md": "Switch-module__hop-Switch--md___u8wNw", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___y1-JU", "hop-Switch__text": "Switch-module__hop-Switch__text___tx38o", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___nq-3a", "hop-Switch__icon": "Switch-module__hop-Switch__icon___EATtC" };
17
+ var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___ZiKpN", "hop-Switch--sm": "Switch-module__hop-Switch--sm___UnrZ2", "hop-Switch--md": "Switch-module__hop-Switch--md___FWbwB", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___lxvxY", "hop-Switch__text": "Switch-module__hop-Switch__text___jt3yM", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___5ELG6", "hop-Switch__icon": "Switch-module__hop-Switch__icon___U8pPq" };
18
18
  var GlobalSwitchCssSelector = "hop-Switch";
19
19
  function Switch(props, ref) {
20
20
  var _a;