@hopper-ui/components 1.2.0 → 1.3.0

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 (193) hide show
  1. package/CHANGELOG.md +13 -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 +3 -3
  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 +5 -5
  12. package/dist/Badge/src/Badge.css +10 -10
  13. package/dist/Badge/src/Badge.js +2 -2
  14. package/dist/Badge/src/index.css +10 -10
  15. package/dist/Badge/src/index.js +2 -2
  16. package/dist/Divider/src/Divider.css +2 -2
  17. package/dist/Divider/src/Divider.js +1 -1
  18. package/dist/Divider/src/index.css +2 -2
  19. package/dist/Divider/src/index.js +1 -1
  20. package/dist/ErrorMessage/src/ErrorMessage.css +11 -11
  21. package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
  22. package/dist/ErrorMessage/src/index.css +11 -11
  23. package/dist/ErrorMessage/src/index.js +2 -2
  24. package/dist/Form/src/Form.css +862 -605
  25. package/dist/Form/src/Form.js +67 -65
  26. package/dist/Form/src/index.css +862 -605
  27. package/dist/Form/src/index.js +67 -65
  28. package/dist/HelperMessage/src/HelperMessage.css +11 -11
  29. package/dist/HelperMessage/src/HelperMessage.js +2 -2
  30. package/dist/HelperMessage/src/index.css +11 -11
  31. package/dist/HelperMessage/src/index.js +2 -2
  32. package/dist/IconList/src/IconList.css +1 -1
  33. package/dist/IconList/src/IconList.js +1 -1
  34. package/dist/IconList/src/index.css +1 -1
  35. package/dist/IconList/src/index.js +1 -1
  36. package/dist/Link/src/Link.css +31 -31
  37. package/dist/Link/src/Link.js +2 -2
  38. package/dist/Link/src/index.css +31 -31
  39. package/dist/Link/src/index.js +2 -2
  40. package/dist/ListBox/src/ListBox.css +226 -198
  41. package/dist/ListBox/src/ListBox.js +12 -13
  42. package/dist/ListBox/src/ListBoxItem.css +208 -182
  43. package/dist/ListBox/src/ListBoxItem.js +10 -10
  44. package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
  45. package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
  46. package/dist/ListBox/src/index.css +226 -198
  47. package/dist/ListBox/src/index.js +12 -13
  48. package/dist/Select/src/Select.css +4368 -0
  49. package/dist/Select/src/Select.d.ts +93 -0
  50. package/dist/Select/src/Select.js +116 -0
  51. package/dist/Select/src/SelectContext.d.ts +16 -0
  52. package/dist/Select/src/SelectContext.js +2 -0
  53. package/dist/Select/src/SelectValue.css +443 -0
  54. package/dist/Select/src/SelectValue.d.ts +31 -0
  55. package/dist/Select/src/SelectValue.js +19 -0
  56. package/dist/Select/src/index.css +4368 -0
  57. package/dist/Select/src/index.d.ts +13 -0
  58. package/dist/Select/src/index.js +116 -0
  59. package/dist/Spinner/src/Spinner.css +19 -19
  60. package/dist/Spinner/src/Spinner.js +2 -2
  61. package/dist/Spinner/src/index.css +19 -19
  62. package/dist/Spinner/src/index.js +2 -2
  63. package/dist/buttons/src/Button.css +94 -94
  64. package/dist/buttons/src/Button.js +5 -5
  65. package/dist/buttons/src/ButtonGroup.css +11 -11
  66. package/dist/buttons/src/ButtonGroup.js +1 -1
  67. package/dist/buttons/src/ClearButton.css +70 -70
  68. package/dist/buttons/src/ClearButton.js +3 -3
  69. package/dist/buttons/src/EmbeddedButton.css +70 -70
  70. package/dist/buttons/src/EmbeddedButton.js +1 -1
  71. package/dist/buttons/src/index.css +175 -175
  72. package/dist/buttons/src/index.js +10 -10
  73. package/dist/checkbox/src/Checkbox.css +31 -31
  74. package/dist/checkbox/src/Checkbox.js +2 -2
  75. package/dist/checkbox/src/CheckboxField.css +15 -15
  76. package/dist/checkbox/src/CheckboxField.js +1 -1
  77. package/dist/checkbox/src/CheckboxGroup.css +60 -60
  78. package/dist/checkbox/src/CheckboxGroup.js +3 -3
  79. package/dist/checkbox/src/index.css +60 -60
  80. package/dist/checkbox/src/index.js +6 -6
  81. package/dist/{chunk-CKKLDA5J.js → chunk-3573Q6QG.js} +2 -2
  82. package/dist/{chunk-SZSQZ4C7.js → chunk-3ZRCYKIV.js} +2 -2
  83. package/dist/{chunk-VISBUD2K.js → chunk-4RMADICI.js} +4 -4
  84. package/dist/{chunk-W474WFOP.js → chunk-6C5RI4RT.js} +9 -11
  85. package/dist/{chunk-L5KI4ZCL.js → chunk-6H5DRQZH.js} +2 -2
  86. package/dist/{chunk-VYKPDMP3.js → chunk-7L5MCX2A.js} +2 -2
  87. package/dist/{chunk-COIGQP33.js → chunk-AZJME7JV.js} +3 -3
  88. package/dist/{chunk-PQXVL3YJ.js → chunk-BODCT27J.js} +1 -1
  89. package/dist/{chunk-XUJNQNB3.js → chunk-BQITTESM.js} +1 -1
  90. package/dist/{chunk-T6MAOVLH.js → chunk-BRU54ERL.js} +2 -2
  91. package/dist/{chunk-2XO5CZBO.js → chunk-BTHPJL3A.js} +2 -2
  92. package/dist/{chunk-CEUQHDEQ.js → chunk-C72PRNOP.js} +1 -1
  93. package/dist/{chunk-IUOLKHYQ.js → chunk-CAHZCRTK.js} +1 -1
  94. package/dist/{chunk-TG623HPA.js → chunk-CU36N5JQ.js} +4 -4
  95. package/dist/{chunk-S5CK32KM.js → chunk-CWX45XWS.js} +3 -3
  96. package/dist/{chunk-XT2MZWEV.js → chunk-D5PBETXF.js} +1 -1
  97. package/dist/{chunk-5IB23E3O.js → chunk-D7DIUGRI.js} +1 -1
  98. package/dist/{chunk-V5Q245NH.js → chunk-DFVORYEU.js} +2 -2
  99. package/dist/{chunk-354H4FNA.js → chunk-DLZGJBL7.js} +1 -1
  100. package/dist/{chunk-X253QCYD.js → chunk-DXEWBV4C.js} +2 -2
  101. package/dist/chunk-EHXOXTDN.js +29 -0
  102. package/dist/{chunk-FOD7XUSJ.js → chunk-FOXOPL2E.js} +5 -5
  103. package/dist/{chunk-HCRWIU7V.js → chunk-GRJ3VKHY.js} +5 -5
  104. package/dist/{chunk-RWAVMW7T.js → chunk-HIDHDS2L.js} +2 -2
  105. package/dist/{chunk-IXWYHDGU.js → chunk-JIRLWUDP.js} +3 -3
  106. package/dist/{chunk-M3K4IYX6.js → chunk-JQMXGSAE.js} +1 -1
  107. package/dist/{chunk-MJHMFANK.js → chunk-LFN43ROH.js} +2 -2
  108. package/dist/{chunk-FA4IXLWZ.js → chunk-LYPR2YMY.js} +5 -5
  109. package/dist/{chunk-JJ4EFTES.js → chunk-O2ZMTKCT.js} +1 -1
  110. package/dist/{chunk-FOKTHCFK.js → chunk-OLS7K6PO.js} +2 -2
  111. package/dist/{chunk-W2BQZEW6.js → chunk-QQI3KNHZ.js} +6 -7
  112. package/dist/{chunk-TCOZUCPD.js → chunk-SCXYAGZI.js} +271 -46
  113. package/dist/{chunk-PFABSIDM.js → chunk-SKEMSZ63.js} +2 -2
  114. package/dist/{chunk-EJUIYBAC.js → chunk-SSDFINDD.js} +2 -2
  115. package/dist/chunk-T24MBA34.js +7 -0
  116. package/dist/{chunk-RQKU3XDG.js → chunk-T37HTUEU.js} +1 -1
  117. package/dist/{chunk-UT4CSUUM.js → chunk-T3CLGQI6.js} +1 -1
  118. package/dist/{chunk-BKCMCC7V.js → chunk-T742LIIS.js} +1 -1
  119. package/dist/{chunk-F4H76S4H.js → chunk-TFVDF4YH.js} +4 -2
  120. package/dist/{chunk-U56LEEEA.js → chunk-TOWSC7FO.js} +4 -4
  121. package/dist/{chunk-J44DIB5J.js → chunk-TTY5HDLL.js} +2 -2
  122. package/dist/chunk-YB7IYQW4.js +118 -0
  123. package/dist/{chunk-Q63YLWI6.js → chunk-ZHOQYYHY.js} +1 -1
  124. package/dist/i18n/src/index.js +1 -1
  125. package/dist/i18n/src/useLocalizedString.js +1 -1
  126. package/dist/index.css +862 -605
  127. package/dist/index.d.ts +6 -2
  128. package/dist/index.js +67 -65
  129. package/dist/inputs/src/InputGroup.css +14 -16
  130. package/dist/inputs/src/InputGroup.js +1 -1
  131. package/dist/inputs/src/NumberField.css +64 -65
  132. package/dist/inputs/src/NumberField.js +8 -8
  133. package/dist/inputs/src/PasswordField.css +218 -219
  134. package/dist/inputs/src/PasswordField.js +10 -10
  135. package/dist/inputs/src/SearchField.css +224 -225
  136. package/dist/inputs/src/SearchField.js +12 -12
  137. package/dist/inputs/src/TextArea.css +58 -59
  138. package/dist/inputs/src/TextArea.js +9 -9
  139. package/dist/inputs/src/TextField.css +219 -220
  140. package/dist/inputs/src/TextField.js +11 -11
  141. package/dist/inputs/src/index.css +271 -268
  142. package/dist/inputs/src/index.js +18 -18
  143. package/dist/overlays/Popover/src/Popover.css +862 -605
  144. package/dist/overlays/Popover/src/Popover.d.ts +26 -3
  145. package/dist/overlays/Popover/src/Popover.js +67 -65
  146. package/dist/overlays/Popover/src/PopoverContext.d.ts +3 -0
  147. package/dist/overlays/Popover/src/index.css +862 -605
  148. package/dist/overlays/Popover/src/index.d.ts +4 -1
  149. package/dist/overlays/Popover/src/index.js +67 -65
  150. package/dist/radio/src/Radio.css +31 -31
  151. package/dist/radio/src/Radio.js +2 -2
  152. package/dist/radio/src/RadioField.css +15 -15
  153. package/dist/radio/src/RadioField.js +2 -2
  154. package/dist/radio/src/RadioGroup.css +60 -60
  155. package/dist/radio/src/RadioGroup.js +2 -2
  156. package/dist/radio/src/index.css +60 -60
  157. package/dist/radio/src/index.js +6 -6
  158. package/dist/switch/src/Switch.css +25 -25
  159. package/dist/switch/src/Switch.js +2 -2
  160. package/dist/switch/src/SwitchField.css +15 -15
  161. package/dist/switch/src/SwitchField.js +2 -2
  162. package/dist/switch/src/index.css +31 -31
  163. package/dist/switch/src/index.js +4 -4
  164. package/dist/tag/src/Tag.css +301 -301
  165. package/dist/tag/src/Tag.js +6 -6
  166. package/dist/tag/src/TagGroup.css +22 -22
  167. package/dist/tag/src/TagGroup.js +2 -2
  168. package/dist/tag/src/index.css +314 -314
  169. package/dist/tag/src/index.js +9 -9
  170. package/dist/typography/Heading/src/Heading.css +9 -9
  171. package/dist/typography/Heading/src/Heading.js +1 -1
  172. package/dist/typography/Heading/src/index.css +9 -9
  173. package/dist/typography/Heading/src/index.js +1 -1
  174. package/dist/typography/Label/src/Label.css +3 -3
  175. package/dist/typography/Label/src/Label.js +2 -2
  176. package/dist/typography/Label/src/index.css +3 -3
  177. package/dist/typography/Label/src/index.js +2 -2
  178. package/dist/typography/OverlineText/src/OverlineText.css +6 -6
  179. package/dist/typography/OverlineText/src/OverlineText.js +1 -1
  180. package/dist/typography/OverlineText/src/index.css +6 -6
  181. package/dist/typography/OverlineText/src/index.js +1 -1
  182. package/dist/typography/Text/src/Text.css +9 -9
  183. package/dist/typography/Text/src/Text.js +1 -1
  184. package/dist/typography/Text/src/index.css +9 -9
  185. package/dist/typography/Text/src/index.js +1 -1
  186. package/dist/utils/src/index.d.ts +1 -0
  187. package/dist/utils/src/index.js +3 -2
  188. package/dist/utils/src/useIsOverflow.d.ts +5 -0
  189. package/dist/utils/src/useIsOverflow.js +2 -0
  190. package/package.json +7 -7
  191. package/dist/ListBox/src/useLoadOnScroll.d.ts +0 -16
  192. package/dist/ListBox/src/useLoadOnScroll.js +0 -2
  193. 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
- import { SearchFieldContext } from './chunk-3NKF5TPD.js';
6
4
  import { TextAreaContext } from './chunk-MHQZXLKW.js';
7
5
  import { TextFieldContext } from './chunk-O4XPUINW.js';
6
+ import { ContentContext } from './chunk-IXB2WK56.js';
8
7
  import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
9
- import { HeadingContext } from './chunk-TXZ6BMFR.js';
10
- import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
8
+ import { PasswordFieldContext } from './chunk-QW45G6K4.js';
9
+ import { SearchFieldContext } from './chunk-3NKF5TPD.js';
11
10
  import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
11
+ import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
12
12
  import { ButtonContext } from './chunk-WMTWFKKP.js';
13
13
  import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
14
+ import { SelectContext } from './chunk-T24MBA34.js';
15
+ import { _SelectValue } from './chunk-YB7IYQW4.js';
16
+ import { HeadingContext } from './chunk-TXZ6BMFR.js';
14
17
  import { LinkContext } from './chunk-4VVNSXIB.js';
18
+ import { _ListBox } from './chunk-QQI3KNHZ.js';
15
19
  import { isFunction, isNil } from './chunk-TIPN4VYD.js';
20
+ import { ListBoxContext } from './chunk-UIEP5BA5.js';
21
+ import { _ListBoxItem } from './chunk-6C5RI4RT.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';
20
29
  import { FormContext } from './chunk-EURJK4ZT.js';
30
+ import { BadgeContext } from './chunk-CQDLZ42T.js';
31
+ import { ErrorMessageContext } from './chunk-FAE27DLF.js';
32
+ import { _Text } from './chunk-D5PBETXF.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___nKZak", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___vnp7r", "hop-Popover__title": "Popover-module__hop-Popover__title___NazSs", "hop-Popover__actions": "Popover-module__hop-Popover__actions___VImV7", "hop-Popover__action": "Popover-module__hop-Popover__action___fsXDT", "hop-Popover__content": "Popover-module__hop-Popover__content___fZfhh", "hop-Popover__footer": "Popover-module__hop-Popover__footer___GPaEX" };
47
+ var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___VDTYB", "fade": "Popover-module__fade___uwIjr", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___rBazX", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___6ncUU", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___kjrcJ", "hop-Popover__title": "Popover-module__hop-Popover__title___qZBhF", "hop-Popover__content": "Popover-module__hop-Popover__content___e35rK", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___uD0ue", "hop-Popover__footer": "Popover-module__hop-Popover__footer___OyNk-", "hop-Popover__actions": "Popover-module__hop-Popover__actions___l8RIe", "hop-Popover__action": "Popover-module__hop-Popover__action___xdB8e" };
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___-8SYI", "hop-Select--fluid": "Select-module__hop-Select--fluid___xc7Ku", "hop-Select__label": "Select-module__hop-Select__label___g3Dp1", "hop-Select__button": "Select-module__hop-Select__button___bVgEW", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___lAmUR", "hop-Select__button--md": "Select-module__hop-Select__button--md___imFfM", "hop-Select__prefix": "Select-module__hop-Select__prefix___IpM32", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___nOSOw", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___sMWir", "hop-Select__error-message": "Select-module__hop-Select__error-message___co23W" };
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___WWA27" };
741
+ var Form_module_default = { "hop-Form": "Form-module__hop-Form___tKcK9" };
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,5 +1,5 @@
1
- import { RadioContext } from './chunk-FU5CCPLP.js';
2
1
  import { RadioFieldContext } from './chunk-DGLAGYBD.js';
2
+ import { RadioContext } from './chunk-FU5CCPLP.js';
3
3
  import { TextContext } from './chunk-X6SER3TZ.js';
4
4
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
5
5
  import { SlotProvider } from './chunk-M36KANKC.js';
@@ -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___uuirX", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___1lfkD", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___ytruf", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___waqNk", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___ySRK1" };
15
+ var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___7cWiA", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___Q6gn3", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___mzMoL", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___-wcF0", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___yCxtZ" };
16
16
  var GlobalRadioFieldCssSelector = "hop-RadioField";
17
17
  var RadioToDescriptionSizeAdapter = {
18
18
  sm: "xs",
@@ -1,7 +1,7 @@
1
+ import { RadioFieldContext } from './chunk-DGLAGYBD.js';
1
2
  import { RadioGroupContext } from './chunk-5MBJWRZD.js';
2
3
  import { RadioListContext } from './chunk-A7TZHALP.js';
3
4
  import { RadioContext } from './chunk-FU5CCPLP.js';
4
- import { RadioFieldContext } from './chunk-DGLAGYBD.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___v9ff9", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___R-avt", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___y9WU9", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___P8zUK", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___jZY0d", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___HGSkD", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___8y02f", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___2aZin", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___ip2nD" };
17
+ var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___3D-CQ", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___xUBDY", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___Wuezk", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___qDKnW", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___RPhTV", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___fsKD3", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___uu6mp", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___VVQJs", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___0axK9" };
18
18
  var GlobalRadioGroupCssSelector = "hop-RadioGroup";
19
19
  function RadioGroup(props, ref) {
20
20
  var _a, _b;
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/Select/src/SelectContext.ts
4
+ var SelectContext = createContext({});
5
+ SelectContext.displayName = "SelectContext";
6
+
7
+ export { SelectContext };
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
10
10
  import { jsx } from 'react/jsx-runtime';
11
11
 
12
12
  // css-module:./ButtonGroup.module.css#css-module
13
- var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___pg9lD", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___IeYfB", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___20OwE", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___8cAOO", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___bXsRU", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___QRAcI", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___72Z7i", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___cVwde" };
13
+ var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___V-GZD", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___ZRbG5", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___v3JGj", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___sc1iw", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___hfVSv", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___OwOEL", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___lgR5H", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___M4OVp" };
14
14
  var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
15
15
  function ButtonGroup(props, ref) {
16
16
  var _a, _b, _c, _d, _e;
@@ -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___wrIL3", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___kPWk2", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___cHo6m", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___Kyk8k", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___a5cds", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___dn0c2" };
10
+ var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___TYOGA", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___yey8v", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___DQWyN", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___dV4JT", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___RExw1", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___jni6f" };
11
11
  var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
12
12
  function ListBoxItemSkeleton(props, ref) {
13
13
  var _a;
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
11
11
  import { jsx } from 'react/jsx-runtime';
12
12
 
13
13
  // css-module:./CheckboxField.module.css#css-module
14
- var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___5uBr4", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___xPpv7", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___QtMwz", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___6r3ox", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___4P-Q8" };
14
+ var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___EeawF", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___QGCXc", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___Qm0Er", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___TlNzS", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___srYzU" };
15
15
  var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
16
16
  var CheckboxToDescriptionSizeAdapter = {
17
17
  sm: "xs",
@@ -14,7 +14,8 @@ var require_en_US = __commonJS({
14
14
  "ListBoxItem.loadingTextValue": `Loading Item`,
15
15
  "ListBoxItem.indicatorAriaLabel": `List Item Selection Indicator`,
16
16
  "Label.necessityLabel.required": `Required`,
17
- "Label.necessityLabel.optional": `Optional`
17
+ "Label.necessityLabel.optional": `Optional`,
18
+ "Select.placeholder": `Select an item`
18
19
  };
19
20
  }
20
21
  });
@@ -32,7 +33,8 @@ var require_fr_CA = __commonJS({
32
33
  "ListBoxItem.loadingTextValue": `\xC9l\xE9ment en cours de chargement`,
33
34
  "ListBoxItem.indicatorAriaLabel": `Indicateur de s\xE9lection d'\xE9l\xE9ment de liste`,
34
35
  "Label.necessityLabel.required": `Obligatoire`,
35
- "Label.necessityLabel.optional": `Facultatif`
36
+ "Label.necessityLabel.optional": `Facultatif`,
37
+ "Select.placeholder": `S\xE9lectionner un \xE9l\xE9ment`
36
38
  };
37
39
  }
38
40
  });
@@ -1,12 +1,12 @@
1
1
  import { useSlot } from './chunk-H5YTU3U7.js';
2
+ import { _Spinner } from './chunk-3573Q6QG.js';
2
3
  import { ButtonContext } from './chunk-WMTWFKKP.js';
3
- import { _Spinner } from './chunk-CKKLDA5J.js';
4
- import { useLocalizedString } from './chunk-F4H76S4H.js';
4
+ import { useLocalizedString } from './chunk-TFVDF4YH.js';
5
5
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
6
6
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
7
7
  import { IconListContext } from './chunk-DHVVYSLB.js';
8
8
  import { useRenderProps } from './chunk-NH3IVMXB.js';
9
- import { _Text } from './chunk-XT2MZWEV.js';
9
+ import { _Text } from './chunk-D5PBETXF.js';
10
10
  import { TextContext } from './chunk-X6SER3TZ.js';
11
11
  import { SlotProvider } from './chunk-M36KANKC.js';
12
12
  import { cssModule } from './chunk-KVDXQMWI.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___ot9lw", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___i5ahP", "hop-Button--fluid": "Button-module__hop-Button--fluid___7p5MN", "hop-Button--sm": "Button-module__hop-Button--sm___8f5C7", "hop-Button--primary": "Button-module__hop-Button--primary___eGhk1", "hop-Button--md": "Button-module__hop-Button--md___Nq4Ho", "hop-Button--secondary": "Button-module__hop-Button--secondary___EK4MQ", "hop-Button--upsell": "Button-module__hop-Button--upsell___tKts9", "hop-Button--danger": "Button-module__hop-Button--danger___kCc82", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___p0AWu", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___Mh--L", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___bHqEG", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___pYUr5", "hop-Button__icon": "Button-module__hop-Button__icon___8a7Yy", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___7KNrU", "hop-Button__text": "Button-module__hop-Button__text___a4lmJ", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___oJS-s", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___iyDSw" };
22
+ var Button_module_default = { "hop-Button": "Button-module__hop-Button___mVpRP", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___xAh-6", "hop-Button--fluid": "Button-module__hop-Button--fluid___EFWA-", "hop-Button--sm": "Button-module__hop-Button--sm___-ue3C", "hop-Button--primary": "Button-module__hop-Button--primary___EKPMl", "hop-Button--md": "Button-module__hop-Button--md___BDVkz", "hop-Button--secondary": "Button-module__hop-Button--secondary___bcVUb", "hop-Button--upsell": "Button-module__hop-Button--upsell___6nknl", "hop-Button--danger": "Button-module__hop-Button--danger___MkovL", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___zlbPD", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___l-orO", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___F6-yL", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___1RnXX", "hop-Button__icon": "Button-module__hop-Button__icon___MFwf2", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___jC-21", "hop-Button__text": "Button-module__hop-Button__text___ebwCf", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___oyHTu", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___1U3mE" };
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) {
@@ -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-XT2MZWEV.js';
5
+ import { _Text } from './chunk-D5PBETXF.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___2E1Ba", "hop-Radio--focused": "Radio-module__hop-Radio--focused___uZjvZ", "hop-Radio--hovered": "Radio-module__hop-Radio--hovered___I3nXi", "hop-Radio--pressed": "Radio-module__hop-Radio--pressed___g-XN4", "hop-Radio--sm": "Radio-module__hop-Radio--sm___fb-Zv", "hop-Radio--md": "Radio-module__hop-Radio--md___WvIhk", "hop-Radio__icon": "Radio-module__hop-Radio__icon___f49M7", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___65C4k", "hop-Radio__box": "Radio-module__hop-Radio__box___HLxF3", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___SgKK1", "hop-Radio__text": "Radio-module__hop-Radio__text___uZHkI" };
17
+ var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___8KZXA", "hop-Radio--focused": "Radio-module__hop-Radio--focused___UOv6k", "hop-Radio--hovered": "Radio-module__hop-Radio--hovered___3648m", "hop-Radio--pressed": "Radio-module__hop-Radio--pressed___M5r4O", "hop-Radio--sm": "Radio-module__hop-Radio--sm___9nkSB", "hop-Radio--md": "Radio-module__hop-Radio--md___FD8ks", "hop-Radio__icon": "Radio-module__hop-Radio__icon___Axpaq", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___TH7pN", "hop-Radio__box": "Radio-module__hop-Radio__box___wDQH6", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___oXHWw", "hop-Radio__text": "Radio-module__hop-Radio__text___Kqa3G" };
18
18
  var GlobalRadioCssSelector = "hop-Radio";
19
19
  function Radio(props, ref) {
20
20
  var _a;