@hopper-ui/components 1.2.1 → 1.3.1

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 +12 -0
  2. package/dist/Avatar/src/AnonymousAvatar.css +10 -10
  3. package/dist/Avatar/src/AnonymousAvatar.js +2 -2
  4. package/dist/Avatar/src/Avatar.css +37 -37
  5. package/dist/Avatar/src/Avatar.js +4 -4
  6. package/dist/Avatar/src/DeletedAvatar.css +10 -10
  7. package/dist/Avatar/src/DeletedAvatar.js +2 -2
  8. package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
  9. package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
  10. package/dist/Avatar/src/index.css +37 -37
  11. package/dist/Avatar/src/index.js +6 -6
  12. package/dist/Badge/src/Badge.css +85 -13
  13. package/dist/Badge/src/Badge.d.ts +6 -2
  14. package/dist/Badge/src/Badge.js +2 -2
  15. package/dist/Badge/src/BadgeContext.d.ts +8 -3
  16. package/dist/Badge/src/FloatingBadge.css +96 -0
  17. package/dist/Badge/src/FloatingBadge.d.ts +33 -0
  18. package/dist/Badge/src/FloatingBadge.js +7 -0
  19. package/dist/Badge/src/FloatingBadgeContext.d.ts +10 -0
  20. package/dist/Badge/src/FloatingBadgeContext.js +2 -0
  21. package/dist/Badge/src/index.css +182 -13
  22. package/dist/Badge/src/index.d.ts +3 -1
  23. package/dist/Badge/src/index.js +5 -2
  24. package/dist/Divider/src/Divider.css +2 -2
  25. package/dist/Divider/src/Divider.js +1 -1
  26. package/dist/Divider/src/index.css +2 -2
  27. package/dist/Divider/src/index.js +1 -1
  28. package/dist/ErrorMessage/src/ErrorMessage.css +11 -11
  29. package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
  30. package/dist/ErrorMessage/src/index.css +11 -11
  31. package/dist/ErrorMessage/src/index.js +2 -2
  32. package/dist/Form/src/Form.css +1034 -608
  33. package/dist/Form/src/Form.js +71 -67
  34. package/dist/Form/src/index.css +1034 -608
  35. package/dist/Form/src/index.js +71 -67
  36. package/dist/HelperMessage/src/HelperMessage.css +11 -11
  37. package/dist/HelperMessage/src/HelperMessage.js +2 -2
  38. package/dist/HelperMessage/src/index.css +11 -11
  39. package/dist/HelperMessage/src/index.js +2 -2
  40. package/dist/IconList/src/IconList.css +1 -1
  41. package/dist/IconList/src/IconList.js +1 -1
  42. package/dist/IconList/src/index.css +1 -1
  43. package/dist/IconList/src/index.js +1 -1
  44. package/dist/Link/src/Link.css +31 -31
  45. package/dist/Link/src/Link.js +2 -2
  46. package/dist/Link/src/index.css +31 -31
  47. package/dist/Link/src/index.js +2 -2
  48. package/dist/ListBox/src/ListBox.css +398 -201
  49. package/dist/ListBox/src/ListBox.js +15 -16
  50. package/dist/ListBox/src/ListBoxItem.css +380 -185
  51. package/dist/ListBox/src/ListBoxItem.js +14 -14
  52. package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
  53. package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
  54. package/dist/ListBox/src/index.css +398 -201
  55. package/dist/ListBox/src/index.js +15 -16
  56. package/dist/Select/src/Select.css +4537 -0
  57. package/dist/Select/src/Select.d.ts +93 -0
  58. package/dist/Select/src/Select.js +118 -0
  59. package/dist/Select/src/SelectContext.d.ts +16 -0
  60. package/dist/Select/src/SelectContext.js +2 -0
  61. package/dist/Select/src/SelectValue.css +443 -0
  62. package/dist/Select/src/SelectValue.d.ts +31 -0
  63. package/dist/Select/src/SelectValue.js +19 -0
  64. package/dist/Select/src/index.css +4537 -0
  65. package/dist/Select/src/index.d.ts +13 -0
  66. package/dist/Select/src/index.js +118 -0
  67. package/dist/Spinner/src/Spinner.css +19 -19
  68. package/dist/Spinner/src/Spinner.js +2 -2
  69. package/dist/Spinner/src/index.css +19 -19
  70. package/dist/Spinner/src/index.js +2 -2
  71. package/dist/buttons/src/Button.css +94 -94
  72. package/dist/buttons/src/Button.js +5 -5
  73. package/dist/buttons/src/ButtonGroup.css +11 -11
  74. package/dist/buttons/src/ButtonGroup.js +2 -2
  75. package/dist/buttons/src/ClearButton.css +70 -70
  76. package/dist/buttons/src/ClearButton.js +3 -3
  77. package/dist/buttons/src/EmbeddedButton.css +70 -70
  78. package/dist/buttons/src/EmbeddedButton.js +1 -1
  79. package/dist/buttons/src/index.css +175 -175
  80. package/dist/buttons/src/index.js +9 -9
  81. package/dist/checkbox/src/Checkbox.css +31 -31
  82. package/dist/checkbox/src/Checkbox.js +2 -2
  83. package/dist/checkbox/src/CheckboxField.css +15 -15
  84. package/dist/checkbox/src/CheckboxField.js +1 -1
  85. package/dist/checkbox/src/CheckboxGroup.css +60 -60
  86. package/dist/checkbox/src/CheckboxGroup.js +3 -3
  87. package/dist/checkbox/src/index.css +60 -60
  88. package/dist/checkbox/src/index.js +7 -7
  89. package/dist/{chunk-J7BXE7WN.js → chunk-2WWHL3EF.js} +4 -4
  90. package/dist/{chunk-6WKRP4MN.js → chunk-2ZOLM7VR.js} +11 -5
  91. package/dist/{chunk-F47GZGT7.js → chunk-47SFZCKK.js} +1 -1
  92. package/dist/{chunk-C7XRB2J6.js → chunk-52LHX4PE.js} +2 -2
  93. package/dist/{chunk-IUFABTFZ.js → chunk-5NMCOZOW.js} +1 -1
  94. package/dist/{chunk-J6YYPRGY.js → chunk-7QUXYE3E.js} +10 -7
  95. package/dist/{chunk-BN32T6QQ.js → chunk-A2S2Q73W.js} +2 -2
  96. package/dist/{chunk-YXD3IR3T.js → chunk-ANBOSYAL.js} +2 -2
  97. package/dist/chunk-ARD3LWL2.js +118 -0
  98. package/dist/{chunk-55AWCUQF.js → chunk-BF6YUKC2.js} +1 -1
  99. package/dist/{chunk-THUFFPGX.js → chunk-BO53NITW.js} +1 -1
  100. package/dist/{chunk-RLDQEH6F.js → chunk-BV7O26TY.js} +4 -4
  101. package/dist/chunk-CIGS4QGT.js +7 -0
  102. package/dist/{chunk-2DPE3H3G.js → chunk-D2GZKHYD.js} +1 -1
  103. package/dist/{chunk-T7QJEHL7.js → chunk-D7VVQIPM.js} +2 -2
  104. package/dist/chunk-EHXOXTDN.js +29 -0
  105. package/dist/{chunk-TM4R5NO7.js → chunk-EMD2K6B3.js} +2 -2
  106. package/dist/{chunk-MFFXNI66.js → chunk-ESWRMGHR.js} +4 -4
  107. package/dist/{chunk-CSE22YXO.js → chunk-EUELVL2L.js} +3 -3
  108. package/dist/{chunk-PUNJWQAN.js → chunk-GG6RHMJ7.js} +270 -45
  109. package/dist/{chunk-WYBQCRQB.js → chunk-HLXQ6C2E.js} +2 -2
  110. package/dist/{chunk-SPFANCCV.js → chunk-HXPTWMD5.js} +3 -3
  111. package/dist/{chunk-MX5BW5VE.js → chunk-JVDCU4PT.js} +1 -1
  112. package/dist/{chunk-XI3BX2TP.js → chunk-JVZRUDLP.js} +5 -5
  113. package/dist/{chunk-F4KQUFXI.js → chunk-L3Y67TUF.js} +3 -3
  114. package/dist/{chunk-QGC3OX7W.js → chunk-NEPRDVF7.js} +1 -1
  115. package/dist/{chunk-4APVXEPA.js → chunk-NJHNYL6X.js} +2 -2
  116. package/dist/{chunk-XUCH26RT.js → chunk-OLXX46IZ.js} +2 -2
  117. package/dist/{chunk-TFELIWJO.js → chunk-PUMWU6M4.js} +1 -1
  118. package/dist/{chunk-ZEXXNE5U.js → chunk-QAIK237T.js} +5 -5
  119. package/dist/{chunk-K7DU4YR4.js → chunk-QCTIAKM6.js} +1 -1
  120. package/dist/{chunk-CXWMHWSS.js → chunk-QSWSZUZM.js} +1 -1
  121. package/dist/{chunk-462UBJV3.js → chunk-SD6DBWYC.js} +1 -1
  122. package/dist/{chunk-ZPPQJKHC.js → chunk-SFZBLVJN.js} +2 -2
  123. package/dist/chunk-T24MBA34.js +7 -0
  124. package/dist/{chunk-F4H76S4H.js → chunk-TFVDF4YH.js} +4 -2
  125. package/dist/{chunk-DZKJZSTQ.js → chunk-TJMAMWRQ.js} +1 -1
  126. package/dist/{chunk-RYZNMKWB.js → chunk-UNSJTDXN.js} +1 -1
  127. package/dist/{chunk-AGRQ7UGN.js → chunk-USVXH6MO.js} +2 -2
  128. package/dist/{chunk-4H7PKEMJ.js → chunk-WDA6LWC4.js} +14 -13
  129. package/dist/chunk-X2T2UX2O.js +72 -0
  130. package/dist/{chunk-WQSVNGFJ.js → chunk-XF4SQ222.js} +1 -1
  131. package/dist/{chunk-YWIDJ55Q.js → chunk-XHQWDF7B.js} +2 -2
  132. package/dist/{chunk-VQC5F6I7.js → chunk-YD2TGFCB.js} +3 -3
  133. package/dist/{chunk-LXCCS4SA.js → chunk-ZG5E36S3.js} +7 -8
  134. package/dist/i18n/src/index.js +1 -1
  135. package/dist/i18n/src/useLocalizedString.js +1 -1
  136. package/dist/index.css +1034 -608
  137. package/dist/index.d.ts +9 -3
  138. package/dist/index.js +71 -67
  139. package/dist/inputs/src/InputGroup.css +14 -16
  140. package/dist/inputs/src/InputGroup.js +1 -1
  141. package/dist/inputs/src/NumberField.css +64 -65
  142. package/dist/inputs/src/NumberField.js +9 -9
  143. package/dist/inputs/src/PasswordField.css +218 -219
  144. package/dist/inputs/src/PasswordField.js +11 -11
  145. package/dist/inputs/src/SearchField.css +224 -225
  146. package/dist/inputs/src/SearchField.js +12 -12
  147. package/dist/inputs/src/TextArea.css +58 -59
  148. package/dist/inputs/src/TextArea.js +10 -10
  149. package/dist/inputs/src/TextField.css +219 -220
  150. package/dist/inputs/src/TextField.js +12 -12
  151. package/dist/inputs/src/index.css +271 -268
  152. package/dist/inputs/src/index.js +18 -18
  153. package/dist/overlays/Popover/src/Popover.css +1034 -608
  154. package/dist/overlays/Popover/src/Popover.d.ts +26 -3
  155. package/dist/overlays/Popover/src/Popover.js +71 -67
  156. package/dist/overlays/Popover/src/PopoverContext.d.ts +3 -0
  157. package/dist/overlays/Popover/src/index.css +1034 -608
  158. package/dist/overlays/Popover/src/index.d.ts +4 -1
  159. package/dist/overlays/Popover/src/index.js +71 -67
  160. package/dist/radio/src/Radio.css +31 -31
  161. package/dist/radio/src/Radio.js +2 -2
  162. package/dist/radio/src/RadioField.css +15 -15
  163. package/dist/radio/src/RadioField.js +1 -1
  164. package/dist/radio/src/RadioGroup.css +60 -60
  165. package/dist/radio/src/RadioGroup.js +3 -3
  166. package/dist/radio/src/index.css +60 -60
  167. package/dist/radio/src/index.js +7 -7
  168. package/dist/switch/src/Switch.css +25 -25
  169. package/dist/switch/src/Switch.js +2 -2
  170. package/dist/switch/src/SwitchField.css +15 -15
  171. package/dist/switch/src/SwitchField.js +1 -1
  172. package/dist/switch/src/index.css +31 -31
  173. package/dist/switch/src/index.js +3 -3
  174. package/dist/tag/src/Tag.css +473 -304
  175. package/dist/tag/src/Tag.js +6 -6
  176. package/dist/tag/src/TagGroup.css +22 -22
  177. package/dist/tag/src/TagGroup.js +2 -2
  178. package/dist/tag/src/index.css +486 -317
  179. package/dist/tag/src/index.js +9 -9
  180. package/dist/typography/Heading/src/Heading.css +9 -9
  181. package/dist/typography/Heading/src/Heading.js +1 -1
  182. package/dist/typography/Heading/src/index.css +9 -9
  183. package/dist/typography/Heading/src/index.js +1 -1
  184. package/dist/typography/Label/src/Label.css +3 -3
  185. package/dist/typography/Label/src/Label.js +2 -2
  186. package/dist/typography/Label/src/index.css +3 -3
  187. package/dist/typography/Label/src/index.js +2 -2
  188. package/dist/typography/OverlineText/src/OverlineText.css +6 -6
  189. package/dist/typography/OverlineText/src/OverlineText.js +1 -1
  190. package/dist/typography/OverlineText/src/index.css +6 -6
  191. package/dist/typography/OverlineText/src/index.js +1 -1
  192. package/dist/typography/Text/src/Text.css +9 -9
  193. package/dist/typography/Text/src/Text.js +1 -1
  194. package/dist/typography/Text/src/index.css +9 -9
  195. package/dist/typography/Text/src/index.js +1 -1
  196. package/dist/utils/src/index.d.ts +1 -0
  197. package/dist/utils/src/index.js +3 -2
  198. package/dist/utils/src/useIsOverflow.d.ts +5 -0
  199. package/dist/utils/src/useIsOverflow.js +2 -0
  200. package/package.json +6 -6
  201. package/dist/ListBox/src/useLoadOnScroll.d.ts +0 -16
  202. package/dist/ListBox/src/useLoadOnScroll.js +0 -2
  203. package/dist/chunk-JTNMFPM4.js +0 -41
@@ -1,55 +1,99 @@
1
1
  import { PopoverContext } from './chunk-SC6ZK5ON.js';
2
- import { ContentContext } from './chunk-IXB2WK56.js';
2
+ import { _Footer } from './chunk-AQITZWYM.js';
3
3
  import { FooterContext } from './chunk-I67NHYK4.js';
4
- import { PasswordFieldContext } from './chunk-QW45G6K4.js';
5
4
  import { SearchFieldContext } from './chunk-3NKF5TPD.js';
6
5
  import { TextAreaContext } from './chunk-MHQZXLKW.js';
7
6
  import { TextFieldContext } from './chunk-O4XPUINW.js';
7
+ import { ContentContext } from './chunk-IXB2WK56.js';
8
8
  import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
9
- import { HeadingContext } from './chunk-TXZ6BMFR.js';
9
+ import { PasswordFieldContext } from './chunk-QW45G6K4.js';
10
10
  import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
11
11
  import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
12
- import { ButtonContext } from './chunk-WMTWFKKP.js';
13
12
  import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
13
+ import { SelectContext } from './chunk-T24MBA34.js';
14
+ import { _SelectValue } from './chunk-ARD3LWL2.js';
15
+ import { HeadingContext } from './chunk-TXZ6BMFR.js';
16
+ import { ButtonContext } from './chunk-WMTWFKKP.js';
14
17
  import { LinkContext } from './chunk-4VVNSXIB.js';
18
+ import { _ListBox } from './chunk-ZG5E36S3.js';
15
19
  import { isFunction, isNil } from './chunk-TIPN4VYD.js';
20
+ import { ListBoxContext } from './chunk-UIEP5BA5.js';
21
+ import { _ListBoxItem } from './chunk-WDA6LWC4.js';
16
22
  import { RadioGroupContext } from './chunk-5MBJWRZD.js';
17
23
  import { CheckboxContext } from './chunk-2EAZPH3M.js';
24
+ import { LabelContext } from './chunk-QCA3ZR56.js';
25
+ import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
18
26
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
27
+ import { HelperMessageContext } from './chunk-HZKFQ33E.js';
19
28
  import { _HopperProvider } from './chunk-NMKBUGSO.js';
29
+ import { ErrorMessageContext } from './chunk-FAE27DLF.js';
20
30
  import { FormContext } from './chunk-EURJK4ZT.js';
31
+ import { BadgeContext } from './chunk-CQDLZ42T.js';
32
+ import { _Text } from './chunk-QCTIAKM6.js';
33
+ import { TextContext } from './chunk-X6SER3TZ.js';
34
+ import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
21
35
  import { SlotProvider } from './chunk-M36KANKC.js';
22
36
  import { cssModule } from './chunk-KVDXQMWI.js';
23
- import { useStyledSystem, useColorSchemeContext, useResponsiveValue } from '@hopper-ui/styled-system';
37
+ import { useStyledSystem, useResponsiveValue, useColorSchemeContext } from '@hopper-ui/styled-system';
24
38
  export * from '@hopper-ui/styled-system';
25
39
  import clsx from 'clsx';
26
40
  import { forwardRef, useReducer, useRef, useEffect } from 'react';
27
- import { useContextProps, Popover as Popover$1, Dialog, Form as Form$1 } from 'react-aria-components';
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';
28
42
  export { Collection } from 'react-aria-components';
29
- import { jsx } from 'react/jsx-runtime';
43
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
44
+ import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
30
45
 
31
46
  // css-module:./Popover.module.css#css-module
32
- var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___RNUtp", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___EcMei", "hop-Popover__title": "Popover-module__hop-Popover__title___mb1-K", "hop-Popover__actions": "Popover-module__hop-Popover__actions___OAUQ0", "hop-Popover__action": "Popover-module__hop-Popover__action___5Ok8v", "hop-Popover__content": "Popover-module__hop-Popover__content___n-NbF", "hop-Popover__footer": "Popover-module__hop-Popover__footer___zKrod" };
47
+ var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___GhhaI", "fade": "Popover-module__fade___uLf7r", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___AoYE2", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___-3-1Y", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___ub0rC", "hop-Popover__title": "Popover-module__hop-Popover__title___uge2S", "hop-Popover__content": "Popover-module__hop-Popover__content___sDJTD", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___mk7Zk", "hop-Popover__footer": "Popover-module__hop-Popover__footer___TkhzY", "hop-Popover__actions": "Popover-module__hop-Popover__actions___oM8iu", "hop-Popover__action": "Popover-module__hop-Popover__action___xyIXY" };
33
48
  var GlobalPopoverCssSelector = "hop-Popover";
34
49
  function Popover(props, ref) {
50
+ var _a;
35
51
  [props, ref] = useContextProps(props, ref, PopoverContext);
36
52
  const { stylingProps, ...ownProps } = useStyledSystem(props);
37
53
  const {
54
+ autoWidth,
38
55
  children,
39
56
  className,
40
57
  offset = 4,
41
58
  boundaryOffset,
59
+ isNonDialog,
60
+ containerPadding = 16,
61
+ containerProps,
62
+ placement: placementProp,
63
+ style: styleProp,
42
64
  ...otherProps
43
65
  } = ownProps;
66
+ const placement = (_a = useResponsiveValue(placementProp)) != null ? _a : "bottom";
67
+ const { stylingProps: containerStylingProps, ...containerOwnProps } = useStyledSystem(containerProps != null ? containerProps : {});
68
+ const {
69
+ className: containerClassName,
70
+ style: containerStyleProp,
71
+ slot,
72
+ ...containerOtherProps
73
+ } = containerOwnProps;
44
74
  const { colorScheme } = useColorSchemeContext();
45
75
  const popoverClassNames = composeClassnameRenderProps(
46
76
  className,
47
77
  GlobalPopoverCssSelector,
48
78
  cssModule(
49
79
  Popover_module_default,
50
- "hop-Popover"
51
- )
80
+ "hop-Popover",
81
+ isNonDialog && "non-dialog"
82
+ ),
83
+ stylingProps.className
52
84
  );
85
+ const containerClassNames = isNonDialog ? clsx(containerClassName, Popover_module_default["hop-Popover__dropdown"], containerStylingProps.className) : clsx(containerClassName, Popover_module_default["hop-Popover__dialog"], containerStylingProps.className);
86
+ const style = composeRenderProps(styleProp, (prev) => {
87
+ return {
88
+ ...stylingProps.style,
89
+ "--container-padding": `${containerPadding}px`,
90
+ ...prev
91
+ };
92
+ });
93
+ const containerStyle = {
94
+ ...containerStylingProps.style,
95
+ ...containerStyleProp
96
+ };
53
97
  return /* @__PURE__ */ jsx(
54
98
  Popover$1,
55
99
  {
@@ -58,50 +102,231 @@ function Popover(props, ref) {
58
102
  ref,
59
103
  className: popoverClassNames,
60
104
  arrowBoundaryOffset: boundaryOffset,
61
- children: (state) => /* @__PURE__ */ jsx(_HopperProvider, { colorScheme, children: /* @__PURE__ */ jsx(
62
- Dialog,
63
- {
64
- className: clsx(stylingProps.className, Popover_module_default["hop-Popover__dialog"]),
65
- style: stylingProps.style,
66
- children: /* @__PURE__ */ jsx(
105
+ "data-auto-width": autoWidth || void 0,
106
+ containerPadding,
107
+ style,
108
+ placement,
109
+ children: (state) => {
110
+ const content = isFunction(children) && !isNil(children) ? children(state) : children;
111
+ if (isNonDialog) {
112
+ return /* @__PURE__ */ jsx(_HopperProvider, { colorScheme, className: Popover_module_default["hop-Popover__wrapper"], children: /* @__PURE__ */ jsx(
113
+ "div",
114
+ {
115
+ ...containerOtherProps,
116
+ className: containerClassNames,
117
+ style: containerStyle,
118
+ slot: slot || void 0,
119
+ children: /* @__PURE__ */ jsx(
120
+ SlotProvider,
121
+ {
122
+ values: [
123
+ [ListBoxContext, {
124
+ className: Popover_module_default["hop-Popover__list-box"]
125
+ }],
126
+ [FooterContext, {
127
+ className: Popover_module_default["hop-Popover__footer"]
128
+ }],
129
+ [LinkContext, {
130
+ size: "sm",
131
+ variant: "primary",
132
+ isQuiet: true
133
+ }]
134
+ ],
135
+ children: content
136
+ }
137
+ )
138
+ }
139
+ ) });
140
+ }
141
+ return /* @__PURE__ */ jsx(_HopperProvider, { colorScheme, children: /* @__PURE__ */ jsx(Dialog, { ...containerOtherProps, className: containerClassNames, style: containerStyle, children: /* @__PURE__ */ jsx(
142
+ SlotProvider,
143
+ {
144
+ values: [
145
+ [HeadingContext, {
146
+ className: Popover_module_default["hop-Popover__title"],
147
+ size: "xs"
148
+ }],
149
+ [ButtonContext, {
150
+ size: "sm",
151
+ className: Popover_module_default["hop-Popover__action"]
152
+ }],
153
+ [ButtonGroupContext, {
154
+ size: "sm",
155
+ align: "end",
156
+ className: Popover_module_default["hop-Popover__actions"]
157
+ }],
158
+ [ContentContext, {
159
+ className: Popover_module_default["hop-Popover__content"]
160
+ }],
161
+ [FooterContext, {
162
+ className: Popover_module_default["hop-Popover__footer"]
163
+ }],
164
+ [LinkContext, {
165
+ size: "sm",
166
+ variant: "primary",
167
+ isQuiet: true
168
+ }]
169
+ ],
170
+ children: content
171
+ }
172
+ ) }) });
173
+ }
174
+ }
175
+ );
176
+ }
177
+ var _Popover = forwardRef(Popover);
178
+ _Popover.displayName = "Popover";
179
+
180
+ // css-module:./Select.module.css#css-module
181
+ var Select_module_default = { "hop-Select": "Select-module__hop-Select___YSMVc", "hop-Select--fluid": "Select-module__hop-Select--fluid___w94yO", "hop-Select__label": "Select-module__hop-Select__label___NnWsa", "hop-Select__button": "Select-module__hop-Select__button___7z-Kj", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___XNopb", "hop-Select__button--md": "Select-module__hop-Select__button--md___bNWOy", "hop-Select__prefix": "Select-module__hop-Select__prefix___c-Ovr", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___JQAcH", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___VAqai", "hop-Select__error-message": "Select-module__hop-Select__error-message___OggC8" };
182
+ var GlobalSelectCssSelector = "hop-Select";
183
+ function Select(props, ref) {
184
+ var _a, _b;
185
+ [props, ref] = useContextProps(props, ref, SelectContext);
186
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
187
+ const {
188
+ className,
189
+ children,
190
+ fieldChildren,
191
+ footer,
192
+ isAutoMenuWidth,
193
+ isFluid: isFluidProp,
194
+ isInvalid,
195
+ items,
196
+ listBoxProps,
197
+ popoverProps,
198
+ prefix,
199
+ renderValue,
200
+ size: sizeProp,
201
+ style: styleProp,
202
+ triggerProps,
203
+ ...otherProps
204
+ } = ownProps;
205
+ const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
206
+ const {
207
+ className: triggerClassName,
208
+ style: triggerStyleProp,
209
+ ...otherTriggerProps
210
+ } = triggerOwnProps;
211
+ const { placement = "bottom start", ...otherPopoverProps } = popoverProps != null ? popoverProps : {};
212
+ const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "sm";
213
+ const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
214
+ const classNames = composeClassnameRenderProps(
215
+ className,
216
+ GlobalSelectCssSelector,
217
+ cssModule(
218
+ Select_module_default,
219
+ "hop-Select",
220
+ isFluid && "fluid",
221
+ size
222
+ ),
223
+ stylingProps.className
224
+ );
225
+ const buttonClassNames = composeClassnameRenderProps(
226
+ triggerClassName,
227
+ cssModule(
228
+ Select_module_default,
229
+ "hop-Select__button",
230
+ size
231
+ ),
232
+ triggerStylingProps.className
233
+ );
234
+ const style = composeRenderProps(styleProp, (prev) => {
235
+ return {
236
+ ...stylingProps.style,
237
+ ...prev
238
+ };
239
+ });
240
+ const triggerStyle = {
241
+ ...triggerStylingProps.style,
242
+ ...triggerStyleProp
243
+ };
244
+ const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
245
+ SlotProvider,
246
+ {
247
+ values: [
248
+ [TextContext, { size, className: Select_module_default["hop-Select__prefix"] }],
249
+ [IconContext, { size, className: Select_module_default["hop-Select__prefix"] }]
250
+ ],
251
+ children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: isTextOnlyChildren(prefix) ? /* @__PURE__ */ jsx(_Text, { children: prefix }) : prefix })
252
+ }
253
+ ) : null;
254
+ const footerMarkup = footer ? /* @__PURE__ */ jsx(_Footer, { children: isTextOnlyChildren(footer) ? /* @__PURE__ */ jsx(_Text, { children: footer }) : footer }) : null;
255
+ return /* @__PURE__ */ jsx(
256
+ Select$1,
257
+ {
258
+ ...otherProps,
259
+ ref,
260
+ className: classNames,
261
+ style,
262
+ isInvalid,
263
+ children: (selectRenderProps) => {
264
+ const { isOpen } = selectRenderProps;
265
+ const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
266
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
267
+ /* @__PURE__ */ jsx(
67
268
  SlotProvider,
68
269
  {
69
270
  values: [
70
- [HeadingContext, {
71
- className: Popover_module_default["hop-Popover__title"],
72
- size: "xs"
271
+ [LabelContext, {
272
+ className: Select_module_default["hop-Select__label"]
73
273
  }],
74
- [ButtonContext, {
75
- size: "sm",
76
- className: Popover_module_default["hop-Popover__action"]
274
+ [HelperMessageContext, {
275
+ className: Select_module_default["hop-Select__helper-message"]
77
276
  }],
78
- [ButtonGroupContext, {
79
- size: "sm",
80
- align: "end",
81
- className: Popover_module_default["hop-Popover__actions"]
82
- }],
83
- [ContentContext, {
84
- className: Popover_module_default["hop-Popover__content"]
85
- }],
86
- [FooterContext, {
87
- className: Popover_module_default["hop-Popover__footer"]
88
- }],
89
- [LinkContext, {
90
- size: "sm",
91
- variant: "primary",
92
- isQuiet: true
277
+ [ErrorMessageContext, {
278
+ className: Select_module_default["hop-Select__error-message"]
93
279
  }]
94
280
  ],
95
- children: isFunction(children) && !isNil(children) ? children(state) : children
281
+ children: fieldChildren
96
282
  }
97
- )
98
- }
99
- ) })
283
+ ),
284
+ /* @__PURE__ */ jsxs(Button, { ...otherTriggerProps, className: buttonClassNames, style: triggerStyle, "data-invalid": isInvalid || void 0, children: [
285
+ prefixMarkup,
286
+ /* @__PURE__ */ jsx(_SelectValue, { size, children: (valueRenderProps) => {
287
+ return renderValue == null ? void 0 : renderValue(valueRenderProps);
288
+ } }),
289
+ /* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: Select_module_default["hop-Select__button-icon"] })
290
+ ] }),
291
+ /* @__PURE__ */ jsxs(_Popover, { ...otherPopoverProps, placement, isNonDialog: true, autoWidth: isAutoMenuWidth, children: [
292
+ /* @__PURE__ */ jsx(
293
+ SlotProvider,
294
+ {
295
+ values: [
296
+ [BadgeContext, {
297
+ variant: "secondary"
298
+ }]
299
+ ],
300
+ children: /* @__PURE__ */ jsx(_ListBox, { ...listBoxProps, items, size, isInvalid, children })
301
+ }
302
+ ),
303
+ /* @__PURE__ */ jsx(
304
+ ClearProviders,
305
+ {
306
+ values: [
307
+ TextContext$1,
308
+ TextContext,
309
+ ButtonContext$1
310
+ ],
311
+ children: footerMarkup
312
+ }
313
+ )
314
+ ] })
315
+ ] });
316
+ }
100
317
  }
101
318
  );
102
319
  }
103
- var _Popover = forwardRef(Popover);
104
- _Popover.displayName = "Popover";
320
+ var _Select = forwardRef(Select);
321
+ _Select.displayName = "Select";
322
+ var CompoundSelect = Object.assign(_Select, {
323
+ /**
324
+ * A select option is an item that is displayed in a select.
325
+ *
326
+ * [View Documentation](TODO)
327
+ */
328
+ Option: _ListBoxItem
329
+ });
105
330
  function $0d86e9c8f07f9a7b$export$79c0c687a5963b0a(opts, dispatch) {
106
331
  let { cursor, getKey } = opts;
107
332
  return {
@@ -513,7 +738,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
513
738
  }
514
739
 
515
740
  // css-module:./Form.module.css#css-module
516
- var Form_module_default = { "hop-Form": "Form-module__hop-Form___QJzNB" };
741
+ var Form_module_default = { "hop-Form": "Form-module__hop-Form___Nzjsc" };
517
742
  var GlobalFormCssSelector = "hop-Form";
518
743
  function Form(props, ref) {
519
744
  var _a;
@@ -605,4 +830,4 @@ function Form(props, ref) {
605
830
  var _Form = forwardRef(Form);
606
831
  _Form.displayName = "Form";
607
832
 
608
- export { $f86e6c1ec7da6ebb$export$bc3384a35de93d66, GlobalFormCssSelector, GlobalPopoverCssSelector, _Form, _Popover };
833
+ export { $f86e6c1ec7da6ebb$export$bc3384a35de93d66, CompoundSelect, GlobalFormCssSelector, GlobalPopoverCssSelector, GlobalSelectCssSelector, _Form, _Popover };
@@ -1,6 +1,6 @@
1
1
  import { ClearButtonContext } from './chunk-DXVKHP4V.js';
2
- import { _EmbeddedButton } from './chunk-DZKJZSTQ.js';
3
- import { useLocalizedString } from './chunk-F4H76S4H.js';
2
+ import { _EmbeddedButton } from './chunk-TJMAMWRQ.js';
3
+ import { useLocalizedString } from './chunk-TFVDF4YH.js';
4
4
  import { DismissIcon } from '@hopper-ui/icons';
5
5
  import { forwardRef } from 'react';
6
6
  import { useContextProps } from 'react-aria-components';
@@ -1,7 +1,7 @@
1
+ import { _Text } from './chunk-QCTIAKM6.js';
1
2
  import { useImageFallback } from './chunk-NS3XVOQ7.js';
2
- import { _Text } from './chunk-K7DU4YR4.js';
3
3
  import { AvatarContext } from './chunk-AES7QBQE.js';
4
- import { _RichIconAvatarImage } from './chunk-THUFFPGX.js';
4
+ import { _RichIconAvatarImage } from './chunk-BO53NITW.js';
5
5
  import { cssModule } from './chunk-KVDXQMWI.js';
6
6
  import { BrokenImageRichIcon } from '@hopper-ui/icons';
7
7
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
@@ -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___IsFnk", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___xVZ4Y", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___dAvAi", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___v2kru", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___4a7C-", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___GGmZt", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___V0vm2", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___WjAhq", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___lp7nc", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___L4QFf", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___XDAjT", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___HT6Yj", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___ID7fC", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___yDEQt", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___FKawW", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___y4zJc", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___ikmZz" };
15
+ var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___voDSB", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___vyK5f", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___tZ1n5", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___ZETXa", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___2JJif", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___GbLkx", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___i2HmH", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___swzwE", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___61Ewl", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___btSY5", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___muuvm", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___FAvFc", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___tZ9LE", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___fXKic", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___43DZK", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___Hc--N", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___BNmTQ" };
16
16
  var GlobalAvatarCssSelector = "hop-Avatar";
17
17
  var AvatarToTextSizeAdapter = {
18
18
  xs: "xs",
@@ -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___N5J5g", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___EUFfb" };
10
+ var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___-AumH", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___epYug" };
11
11
  var GlobalOverlineTextCssSelector = "hop-OverlineText";
12
12
  function OverlineText(props, ref) {
13
13
  [props, ref] = useContextProps(props, ref, OverlineTextContext);
@@ -1,13 +1,13 @@
1
- import { useFontFaceReady } from './chunk-IU6XMS2X.js';
2
1
  import { useTruncatedText } from './chunk-Z57VHYOF.js';
2
+ import { useFontFaceReady } from './chunk-IU6XMS2X.js';
3
3
  import { TextAreaContext } from './chunk-MHQZXLKW.js';
4
- import { _InputGroup } from './chunk-TFELIWJO.js';
4
+ import { _InputGroup } from './chunk-PUMWU6M4.js';
5
5
  import { LabelContext } from './chunk-QCA3ZR56.js';
6
- import { useLocalizedString } from './chunk-F4H76S4H.js';
6
+ import { useLocalizedString } from './chunk-TFVDF4YH.js';
7
7
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
8
8
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
9
9
  import { ErrorMessageContext } from './chunk-FAE27DLF.js';
10
- import { _Text } from './chunk-K7DU4YR4.js';
10
+ import { _Text } from './chunk-QCTIAKM6.js';
11
11
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
12
12
  import { SlotProvider } from './chunk-M36KANKC.js';
13
13
  import { cssModule } from './chunk-KVDXQMWI.js';
@@ -79,7 +79,7 @@ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
79
79
  }
80
80
 
81
81
  // css-module:./TextArea.module.css#css-module
82
- var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___RQPX1", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___8Dtb-", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___up8f-", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___Goc9g", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___5CqUn", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___Hc7Ow", "hop-TextArea__char-count": "TextArea-module__hop-TextArea__char-count___U8NGM", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___QQhT-", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___JSKR5" };
82
+ var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___-viZw", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___z9E7Y", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___NLupB", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___ToOXW", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___NJe7D", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___qdiem", "hop-TextArea__char-count": "TextArea-module__hop-TextArea__char-count___hejQO", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___aOBw-", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___RDO3F" };
83
83
  var GlobalTextAreaCssSelector = "hop-TextArea";
84
84
  var DefaultMinimumTextAreaRows = 3;
85
85
  var pxToInt = (value) => {
@@ -1,7 +1,7 @@
1
- import { RadioGroupContext } from './chunk-5MBJWRZD.js';
2
- import { RadioListContext } from './chunk-A7TZHALP.js';
3
1
  import { RadioContext } from './chunk-FU5CCPLP.js';
4
2
  import { RadioFieldContext } from './chunk-DGLAGYBD.js';
3
+ import { RadioGroupContext } from './chunk-5MBJWRZD.js';
4
+ import { RadioListContext } from './chunk-A7TZHALP.js';
5
5
  import { LabelContext } from './chunk-QCA3ZR56.js';
6
6
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
7
7
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from
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___uUMYg", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___GS69Y", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___aaj9S", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___GZDza", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___6FEgv", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___ram8I", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___Wg80N", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___xY86-", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___vidfD" };
17
+ var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___Xb3dE", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___6ME7V", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___LFCc4", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___tynlW", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___KdIUX", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___XQf5n", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___KBI6w", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___An-sx", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___bKTCy" };
18
18
  var GlobalRadioGroupCssSelector = "hop-RadioGroup";
19
19
  function RadioGroup(props, ref) {
20
20
  var _a, _b;
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
11
11
  import { jsx } from 'react/jsx-runtime';
12
12
 
13
13
  // css-module:./SwitchField.module.css#css-module
14
- var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___zDwCH", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___lMs5H", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___QxTMV", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___VfRpb", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___CmbgN" };
14
+ var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___J7KA6", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___JlpAt", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___i2eDM", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___xETIr", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___ciEgu" };
15
15
  var GlobalSwitchFieldCssSelector = "hop-SwitchField";
16
16
  var SwitchToDescriptionSizeAdapter = {
17
17
  sm: "xs",
@@ -2,7 +2,7 @@ import { SwitchContext } from './chunk-YHBJAXUY.js';
2
2
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
3
3
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
4
4
  import { IconListContext } from './chunk-DHVVYSLB.js';
5
- import { _Text } from './chunk-K7DU4YR4.js';
5
+ import { _Text } from './chunk-QCTIAKM6.js';
6
6
  import { TextContext } from './chunk-X6SER3TZ.js';
7
7
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
8
8
  import { SlotProvider } from './chunk-M36KANKC.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___PBSbj", "hop-Switch--sm": "Switch-module__hop-Switch--sm___XOtE7", "hop-Switch--md": "Switch-module__hop-Switch--md___2hAHs", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___yA7xK", "hop-Switch__text": "Switch-module__hop-Switch__text___zM-BW", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___rl5uH", "hop-Switch__icon": "Switch-module__hop-Switch__icon___TgU-E" };
17
+ var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___spK1e", "hop-Switch--sm": "Switch-module__hop-Switch--sm___pXmUA", "hop-Switch--md": "Switch-module__hop-Switch--md___1EMLj", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___8cdnp", "hop-Switch__text": "Switch-module__hop-Switch__text___jqfx-", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___cwZEQ", "hop-Switch__icon": "Switch-module__hop-Switch__icon___Cp-D0" };
18
18
  var GlobalSwitchCssSelector = "hop-Switch";
19
19
  function Switch(props, ref) {
20
20
  var _a;
@@ -1,5 +1,5 @@
1
1
  import { LabelContext } from './chunk-QCA3ZR56.js';
2
- import { useLocalizedString } from './chunk-F4H76S4H.js';
2
+ import { useLocalizedString } from './chunk-TFVDF4YH.js';
3
3
  import { cssModule } from './chunk-KVDXQMWI.js';
4
4
  import { useStyledSystem } from '@hopper-ui/styled-system';
5
5
  import clsx from 'clsx';
@@ -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___43PE1", "hop-Label__indicator": "Label-module__hop-Label__indicator___PXvS0" };
11
+ var Label_module_default = { "hop-Label": "Label-module__hop-Label___xyX8G", "hop-Label__indicator": "Label-module__hop-Label__indicator___QJQXo" };
12
12
  var GlobalLabelCssSelector = "hop-Label";
13
13
  function Label(props, ref) {
14
14
  [props, ref] = useContextProps(props, ref, LabelContext);
@@ -9,7 +9,7 @@ import { useContextProps, useSlottedContext, InputContext, TextAreaContext, Fiel
9
9
  import { jsx } from 'react/jsx-runtime';
10
10
 
11
11
  // css-module:./InputGroup.module.css#css-module
12
- var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___JGJFG", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___6JfQH", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___JoxWu", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___2VtDU", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___eOkGw" };
12
+ var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___Bza37", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___cf38K", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___DJIbp", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___gfqs7", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___wZzaX" };
13
13
  var GlobalInputGroupCssSelector = "hop-InputGroup";
14
14
  function InputGroup(props, ref) {
15
15
  var _a, _b;
@@ -1,13 +1,13 @@
1
1
  import { TextFieldContext } from './chunk-O4XPUINW.js';
2
- import { _InputGroup } from './chunk-TFELIWJO.js';
3
- import { _ClearButton } from './chunk-WYBQCRQB.js';
2
+ import { _InputGroup } from './chunk-PUMWU6M4.js';
3
+ import { _ClearButton } from './chunk-HLXQ6C2E.js';
4
4
  import { LabelContext } from './chunk-QCA3ZR56.js';
5
- import { useLocalizedString } from './chunk-F4H76S4H.js';
5
+ import { useLocalizedString } from './chunk-TFVDF4YH.js';
6
6
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
7
7
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
8
8
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
9
9
  import { ErrorMessageContext } from './chunk-FAE27DLF.js';
10
- import { _Text } from './chunk-K7DU4YR4.js';
10
+ import { _Text } from './chunk-QCTIAKM6.js';
11
11
  import { TextContext } from './chunk-X6SER3TZ.js';
12
12
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
13
13
  import { SlotProvider } from './chunk-M36KANKC.js';
@@ -22,7 +22,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
22
22
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
23
23
 
24
24
  // css-module:./TextField.module.css#css-module
25
- var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___YVH8a", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___ZNRHZ", "hop-TextField__Label": "TextField-module__hop-TextField__Label___ztJuQ", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___Jjuy-", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___N7bZl", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___CUNme", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___FIu1i" };
25
+ var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___kOhsi", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___7iHqg", "hop-TextField__Label": "TextField-module__hop-TextField__Label___Gt48-", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___aeL29", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___g0Gme", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___Wp1Oo", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___TY3Us" };
26
26
  var GlobalTextFieldCssSelector = "hop-TextField";
27
27
  function TextField(props, ref) {
28
28
  var _a;
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
9
9
  import { jsx } from 'react/jsx-runtime';
10
10
 
11
11
  // css-module:./Text.module.css#css-module
12
- var Text_module_default = { "hop-Text": "Text-module__hop-Text___Ww7PP", "hop-Text--xs": "Text-module__hop-Text--xs___YsuwL", "hop-Text--sm": "Text-module__hop-Text--sm___9lTR-", "hop-Text--md": "Text-module__hop-Text--md___to5eX", "hop-Text--lg": "Text-module__hop-Text--lg___Y-6Mo", "hop-Text--xl": "Text-module__hop-Text--xl___Qo9et", "hop-Text--2xl": "Text-module__hop-Text--2xl___dViKj", "hop-Text--inherit": "Text-module__hop-Text--inherit___uMHTH" };
12
+ var Text_module_default = { "hop-Text": "Text-module__hop-Text___D1rn4", "hop-Text--xs": "Text-module__hop-Text--xs___83nUB", "hop-Text--sm": "Text-module__hop-Text--sm___J7Ynn", "hop-Text--md": "Text-module__hop-Text--md___vDq4E", "hop-Text--lg": "Text-module__hop-Text--lg___d93YP", "hop-Text--xl": "Text-module__hop-Text--xl___7Poiv", "hop-Text--2xl": "Text-module__hop-Text--2xl___owE8f", "hop-Text--inherit": "Text-module__hop-Text--inherit___LGo4-" };
13
13
  var GlobalTextCssSelector = "hop-Text";
14
14
  function Text(props, ref) {
15
15
  [props, ref] = useContextProps(props, ref, TextContext);
@@ -1,5 +1,5 @@
1
1
  import { AvatarContext } from './chunk-AES7QBQE.js';
2
- import { _RichIconAvatarImage } from './chunk-THUFFPGX.js';
2
+ import { _RichIconAvatarImage } from './chunk-BO53NITW.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';
@@ -12,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
12
12
  import { jsx } from 'react/jsx-runtime';
13
13
 
14
14
  // css-module:./RadioField.module.css#css-module
15
- var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___iH4DX", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___82LpO", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___mHhI1", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___VXjob", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___-LJe8" };
15
+ var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___C1gXe", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___LY1rM", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___QsiW7", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___PAedH", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___VMtji" };
16
16
  var GlobalRadioFieldCssSelector = "hop-RadioField";
17
17
  var RadioToDescriptionSizeAdapter = {
18
18
  sm: "xs",
@@ -2,7 +2,7 @@ import { RadioContext } from './chunk-FU5CCPLP.js';
2
2
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
3
3
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
4
4
  import { IconListContext } from './chunk-DHVVYSLB.js';
5
- import { _Text } from './chunk-K7DU4YR4.js';
5
+ import { _Text } from './chunk-QCTIAKM6.js';
6
6
  import { TextContext } from './chunk-X6SER3TZ.js';
7
7
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
8
8
  import { SlotProvider } from './chunk-M36KANKC.js';
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
14
14
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
15
15
 
16
16
  // css-module:./Radio.module.css#css-module
17
- var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___W0NkE", "hop-Radio--focused": "Radio-module__hop-Radio--focused___37nBy", "hop-Radio--hovered": "Radio-module__hop-Radio--hovered___bnBdz", "hop-Radio--pressed": "Radio-module__hop-Radio--pressed___Idq0t", "hop-Radio--sm": "Radio-module__hop-Radio--sm___Xk9cY", "hop-Radio--md": "Radio-module__hop-Radio--md___Ookee", "hop-Radio__icon": "Radio-module__hop-Radio__icon___V-YEN", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___-ZAQI", "hop-Radio__box": "Radio-module__hop-Radio__box___o2-Za", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___c4d6u", "hop-Radio__text": "Radio-module__hop-Radio__text___3HhWA" };
17
+ var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___kjqe3", "hop-Radio--focused": "Radio-module__hop-Radio--focused___lQ30-", "hop-Radio--hovered": "Radio-module__hop-Radio--hovered___-S-oj", "hop-Radio--pressed": "Radio-module__hop-Radio--pressed___7J0QF", "hop-Radio--sm": "Radio-module__hop-Radio--sm___xnPjA", "hop-Radio--md": "Radio-module__hop-Radio--md___9JVd4", "hop-Radio__icon": "Radio-module__hop-Radio__icon___MXNrF", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___6PWZA", "hop-Radio__box": "Radio-module__hop-Radio__box___kGWwH", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___A5FBg", "hop-Radio__text": "Radio-module__hop-Radio__text___yqy6k" };
18
18
  var GlobalRadioCssSelector = "hop-Radio";
19
19
  function Radio(props, ref) {
20
20
  var _a;