@hopper-ui/components 1.3.5 → 1.3.7

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 +13 -0
  2. package/dist/Avatar/src/AnonymousAvatar.css +10 -10
  3. package/dist/Avatar/src/AnonymousAvatar.d.ts +8 -2
  4. package/dist/Avatar/src/AnonymousAvatar.js +4 -2
  5. package/dist/Avatar/src/Avatar.css +37 -37
  6. package/dist/Avatar/src/Avatar.d.ts +8 -2
  7. package/dist/Avatar/src/Avatar.js +5 -3
  8. package/dist/Avatar/src/DeletedAvatar.css +10 -10
  9. package/dist/Avatar/src/DeletedAvatar.d.ts +8 -2
  10. package/dist/Avatar/src/DeletedAvatar.js +4 -2
  11. package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
  12. package/dist/Avatar/src/RichIconAvatarImage.d.ts +9 -2
  13. package/dist/Avatar/src/RichIconAvatarImage.js +3 -1
  14. package/dist/Avatar/src/index.css +37 -37
  15. package/dist/Avatar/src/index.js +7 -5
  16. package/dist/Badge/src/Badge.css +21 -21
  17. package/dist/Badge/src/Badge.d.ts +24 -2
  18. package/dist/Badge/src/Badge.js +4 -2
  19. package/dist/Badge/src/FloatingBadge.css +10 -10
  20. package/dist/Badge/src/FloatingBadge.d.ts +2 -2
  21. package/dist/Badge/src/FloatingBadge.js +1 -1
  22. package/dist/Badge/src/index.css +31 -31
  23. package/dist/Badge/src/index.js +5 -3
  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 +4 -3
  30. package/dist/ErrorMessage/src/index.css +11 -11
  31. package/dist/ErrorMessage/src/index.js +4 -3
  32. package/dist/Form/src/Form.css +723 -701
  33. package/dist/Form/src/Form.js +45 -45
  34. package/dist/Form/src/index.css +723 -701
  35. package/dist/Form/src/index.js +45 -45
  36. package/dist/Header/src/Header.d.ts +2 -2
  37. package/dist/HelperMessage/src/HelperMessage.css +11 -11
  38. package/dist/HelperMessage/src/HelperMessage.js +2 -2
  39. package/dist/HelperMessage/src/index.css +11 -11
  40. package/dist/HelperMessage/src/index.js +2 -2
  41. package/dist/IconList/src/IconList.css +1 -1
  42. package/dist/IconList/src/IconList.d.ts +2 -2
  43. package/dist/IconList/src/IconList.js +1 -1
  44. package/dist/IconList/src/index.css +1 -1
  45. package/dist/IconList/src/index.js +1 -1
  46. package/dist/Link/src/Link.css +31 -31
  47. package/dist/Link/src/Link.js +3 -3
  48. package/dist/Link/src/index.css +31 -31
  49. package/dist/Link/src/index.js +3 -3
  50. package/dist/ListBox/src/ListBox.css +267 -273
  51. package/dist/ListBox/src/ListBox.js +8 -8
  52. package/dist/ListBox/src/ListBoxItem.css +253 -253
  53. package/dist/ListBox/src/ListBoxItem.js +7 -7
  54. package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
  55. package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +2 -2
  56. package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
  57. package/dist/ListBox/src/index.css +267 -273
  58. package/dist/ListBox/src/index.js +8 -8
  59. package/dist/Select/src/Select.css +723 -701
  60. package/dist/Select/src/Select.js +45 -45
  61. package/dist/Select/src/SelectValue.css +60 -60
  62. package/dist/Select/src/SelectValue.js +7 -7
  63. package/dist/Select/src/index.css +723 -701
  64. package/dist/Select/src/index.js +45 -45
  65. package/dist/Spinner/src/Spinner.css +19 -19
  66. package/dist/Spinner/src/Spinner.d.ts +2 -2
  67. package/dist/Spinner/src/Spinner.js +3 -3
  68. package/dist/Spinner/src/index.css +19 -19
  69. package/dist/Spinner/src/index.js +3 -3
  70. package/dist/buttons/src/Button.css +94 -94
  71. package/dist/buttons/src/Button.js +5 -5
  72. package/dist/buttons/src/ButtonGroup.css +11 -11
  73. package/dist/buttons/src/ButtonGroup.js +1 -1
  74. package/dist/buttons/src/ClearButton.css +71 -71
  75. package/dist/buttons/src/ClearButton.js +2 -2
  76. package/dist/buttons/src/EmbeddedButton.css +71 -71
  77. package/dist/buttons/src/EmbeddedButton.js +1 -1
  78. package/dist/buttons/src/index.css +176 -176
  79. package/dist/buttons/src/index.js +8 -8
  80. package/dist/checkbox/src/Checkbox.css +28 -28
  81. package/dist/checkbox/src/Checkbox.js +3 -3
  82. package/dist/checkbox/src/CheckboxField.css +15 -15
  83. package/dist/checkbox/src/CheckboxField.d.ts +8 -2
  84. package/dist/checkbox/src/CheckboxField.js +3 -1
  85. package/dist/checkbox/src/CheckboxGroup.css +83 -83
  86. package/dist/checkbox/src/CheckboxGroup.js +2 -2
  87. package/dist/checkbox/src/CheckboxList.d.ts +2 -2
  88. package/dist/checkbox/src/DecorativeCheckbox.css +36 -36
  89. package/dist/checkbox/src/DecorativeCheckbox.js +4 -4
  90. package/dist/checkbox/src/index.css +83 -83
  91. package/dist/checkbox/src/index.js +7 -7
  92. package/dist/{chunk-5PSDYTOT.js → chunk-2LS24P2S.js} +1 -1
  93. package/dist/{chunk-GR4ZXUOX.js → chunk-4PCMNJTD.js} +15 -13
  94. package/dist/{chunk-UEHE2IY5.js → chunk-5CR5V44E.js} +23 -11
  95. package/dist/{chunk-3SMTAPEK.js → chunk-5LGDXMKZ.js} +4 -4
  96. package/dist/{chunk-2RFHHVN3.js → chunk-AHMI7DHJ.js} +4 -4
  97. package/dist/{chunk-YZEDTLPG.js → chunk-AWYN6573.js} +1 -1
  98. package/dist/{chunk-5IRT2QDF.js → chunk-BNBUTFBN.js} +1 -1
  99. package/dist/{chunk-24JZVLAU.js → chunk-BUI76FPU.js} +1 -1
  100. package/dist/{chunk-6AFXZYF5.js → chunk-BZC3DOXC.js} +4 -4
  101. package/dist/{chunk-T6MMAU6N.js → chunk-C4W3WI5F.js} +2 -2
  102. package/dist/{chunk-LYTJ7OUI.js → chunk-CWP3RDUT.js} +2 -2
  103. package/dist/{chunk-PSGKAJML.js → chunk-DCTC6KDW.js} +1 -1
  104. package/dist/{chunk-EBDEMWL7.js → chunk-DMAM2GFN.js} +5 -5
  105. package/dist/{chunk-CH44JMHK.js → chunk-DNFIKL5N.js} +3 -3
  106. package/dist/{chunk-QUEZJSCY.js → chunk-DSUR3NPA.js} +3 -3
  107. package/dist/{chunk-EOXY566V.js → chunk-F4XYXAPX.js} +1 -1
  108. package/dist/{chunk-7MCVN25U.js → chunk-FKFP4LFR.js} +22 -12
  109. package/dist/{chunk-52A7OS5J.js → chunk-FSRORCX7.js} +5 -5
  110. package/dist/{chunk-LI2RM2EK.js → chunk-HIF2U66B.js} +1 -1
  111. package/dist/{chunk-7XEWB4YU.js → chunk-IA343FCT.js} +25 -18
  112. package/dist/{chunk-RMXL2PC5.js → chunk-IZUZUN6Z.js} +8 -6
  113. package/dist/{chunk-SAHIPNPF.js → chunk-JGOXWGEG.js} +5 -5
  114. package/dist/{chunk-NT6XKRT2.js → chunk-JKE2GH2D.js} +28 -15
  115. package/dist/{chunk-GEYJZ3VZ.js → chunk-JZGG67JQ.js} +1 -1
  116. package/dist/{chunk-UQY26ITM.js → chunk-LULNSRRY.js} +1 -1
  117. package/dist/{chunk-3KW6ENLR.js → chunk-LXWDXMVL.js} +8 -8
  118. package/dist/{chunk-LSTGTYUX.js → chunk-MDI3RFZS.js} +22 -14
  119. package/dist/{chunk-XXFIU5GK.js → chunk-MJ24AAEX.js} +1 -1
  120. package/dist/{chunk-3OVZI77M.js → chunk-MTQURD2G.js} +4 -4
  121. package/dist/{chunk-HABA5CYG.js → chunk-PGYHBNCP.js} +2 -2
  122. package/dist/{chunk-D6CIA7NA.js → chunk-PJLVJG4E.js} +1 -1
  123. package/dist/{chunk-AIO2PFOS.js → chunk-PQTB3F7K.js} +4 -4
  124. package/dist/{chunk-SUXNDVNP.js → chunk-PVLUQZAG.js} +24 -16
  125. package/dist/{chunk-4UOBMEPP.js → chunk-SRT6TJ7K.js} +1 -1
  126. package/dist/{chunk-S4LXTCFZ.js → chunk-SZIBBFKI.js} +4 -4
  127. package/dist/{chunk-5IRH7LBK.js → chunk-T2DEFREG.js} +22 -14
  128. package/dist/{chunk-QBGX4KU2.js → chunk-VMSIQERT.js} +3 -3
  129. package/dist/{chunk-FMNUFTYZ.js → chunk-VZAUDQPW.js} +4 -4
  130. package/dist/{chunk-RPYDBKIG.js → chunk-WD3GLWJA.js} +2 -2
  131. package/dist/{chunk-RYROB3P6.js → chunk-YFJWAPT5.js} +1 -1
  132. package/dist/{chunk-6UW2BF2Z.js → chunk-YUMDUDZX.js} +4 -4
  133. package/dist/{chunk-LIGWTMRQ.js → chunk-Z63VLZM2.js} +3 -3
  134. package/dist/{chunk-Y3VCNKJB.js → chunk-ZVOVNXPJ.js} +22 -13
  135. package/dist/index.css +723 -701
  136. package/dist/index.d.ts +1 -1
  137. package/dist/index.js +45 -45
  138. package/dist/inputs/src/InputGroup.css +191 -191
  139. package/dist/inputs/src/InputGroup.js +1 -1
  140. package/dist/inputs/src/NumberField.css +231 -231
  141. package/dist/inputs/src/NumberField.js +7 -7
  142. package/dist/inputs/src/PasswordField.css +219 -219
  143. package/dist/inputs/src/PasswordField.js +8 -8
  144. package/dist/inputs/src/SearchField.css +225 -225
  145. package/dist/inputs/src/SearchField.js +9 -9
  146. package/dist/inputs/src/TextArea.css +225 -225
  147. package/dist/inputs/src/TextArea.js +7 -7
  148. package/dist/inputs/src/TextField.css +223 -223
  149. package/dist/inputs/src/TextField.js +9 -9
  150. package/dist/inputs/src/index.css +271 -271
  151. package/dist/inputs/src/index.js +13 -13
  152. package/dist/layout/src/Content.d.ts +2 -2
  153. package/dist/layout/src/Footer.d.ts +2 -2
  154. package/dist/overlays/Popover/src/Popover.css +723 -701
  155. package/dist/overlays/Popover/src/Popover.d.ts +2 -2
  156. package/dist/overlays/Popover/src/Popover.js +45 -45
  157. package/dist/overlays/Popover/src/index.css +723 -701
  158. package/dist/overlays/Popover/src/index.js +45 -45
  159. package/dist/radio/src/DecorativeRadio.css +36 -36
  160. package/dist/radio/src/DecorativeRadio.js +4 -4
  161. package/dist/radio/src/Radio.css +28 -28
  162. package/dist/radio/src/Radio.js +3 -3
  163. package/dist/radio/src/RadioField.css +15 -15
  164. package/dist/radio/src/RadioField.d.ts +8 -2
  165. package/dist/radio/src/RadioField.js +3 -1
  166. package/dist/radio/src/RadioGroup.css +83 -83
  167. package/dist/radio/src/RadioGroup.js +2 -2
  168. package/dist/radio/src/RadioList.d.ts +2 -2
  169. package/dist/radio/src/index.css +83 -83
  170. package/dist/radio/src/index.js +7 -7
  171. package/dist/switch/src/Switch.css +25 -25
  172. package/dist/switch/src/Switch.js +3 -3
  173. package/dist/switch/src/SwitchField.css +15 -15
  174. package/dist/switch/src/SwitchField.d.ts +8 -2
  175. package/dist/switch/src/SwitchField.js +3 -1
  176. package/dist/switch/src/index.css +31 -31
  177. package/dist/switch/src/index.js +5 -4
  178. package/dist/tag/src/Tag.css +323 -323
  179. package/dist/tag/src/Tag.js +6 -6
  180. package/dist/tag/src/TagGroup.css +22 -22
  181. package/dist/tag/src/TagGroup.js +1 -1
  182. package/dist/tag/src/index.css +336 -336
  183. package/dist/tag/src/index.js +7 -7
  184. package/dist/typography/Heading/src/Heading.css +9 -9
  185. package/dist/typography/Heading/src/Heading.js +1 -1
  186. package/dist/typography/Heading/src/index.css +9 -9
  187. package/dist/typography/Heading/src/index.js +1 -1
  188. package/dist/typography/Label/src/Label.css +3 -3
  189. package/dist/typography/Label/src/Label.js +1 -1
  190. package/dist/typography/Label/src/index.css +3 -3
  191. package/dist/typography/Label/src/index.js +1 -1
  192. package/dist/typography/OverlineText/src/OverlineText.css +6 -6
  193. package/dist/typography/OverlineText/src/OverlineText.js +1 -1
  194. package/dist/typography/OverlineText/src/index.css +6 -6
  195. package/dist/typography/OverlineText/src/index.js +1 -1
  196. package/dist/typography/Text/src/Text.css +9 -9
  197. package/dist/typography/Text/src/Text.js +1 -1
  198. package/dist/typography/Text/src/index.css +9 -9
  199. package/dist/typography/Text/src/index.js +1 -1
  200. package/dist/utils/src/index.d.ts +1 -1
  201. package/dist/utils/src/index.js +2 -2
  202. package/dist/utils/src/types.d.ts +3 -3
  203. package/package.json +4 -4
@@ -1,11 +1,11 @@
1
1
  import { SearchFieldContext } from './chunk-3NKF5TPD.js';
2
- import { _InputGroup } from './chunk-24JZVLAU.js';
3
- import { _ClearButton } from './chunk-YZEDTLPG.js';
2
+ import { _InputGroup } from './chunk-BUI76FPU.js';
3
+ import { _ClearButton } from './chunk-AWYN6573.js';
4
4
  import { LabelContext } from './chunk-QCA3ZR56.js';
5
- import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
6
5
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
7
6
  import { ErrorMessageContext } from './chunk-FAE27DLF.js';
8
7
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
8
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
9
9
  import { SlotProvider } from './chunk-M36KANKC.js';
10
10
  import { cssModule } from './chunk-KVDXQMWI.js';
11
11
  import { IconContext, SearchIcon } from '@hopper-ui/icons';
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, Input, SearchField as SearchField$
17
17
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
18
18
 
19
19
  // css-module:./SearchField.module.css#css-module
20
- var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___GwHlh", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___O7Q8F", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___6png2", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___gfmy9", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___wUEhF", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___KHhkC", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___hgVi5", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___o0oGA", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___N4jdH" };
20
+ var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___AV5d9", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___fk-1h", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___cDU1N", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___CXWRj", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___WkPdD", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___rVtfI", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___fscIC", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___wlBbe", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___7B2Ke" };
21
21
  var GlobalSearchFieldCssSelector = "hop-SearchField";
22
22
  function SearchField(props, ref) {
23
23
  var _a;
@@ -3,9 +3,9 @@ import { RadioFieldContext } from './chunk-DGLAGYBD.js';
3
3
  import { RadioGroupContext } from './chunk-5MBJWRZD.js';
4
4
  import { LabelContext } from './chunk-QCA3ZR56.js';
5
5
  import { RadioContext } from './chunk-FU5CCPLP.js';
6
- import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
7
6
  import { HelperMessageContext } from './chunk-HZKFQ33E.js';
8
7
  import { ErrorMessageContext } from './chunk-FAE27DLF.js';
8
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
9
9
  import { SlotProvider } from './chunk-M36KANKC.js';
10
10
  import { cssModule } from './chunk-KVDXQMWI.js';
11
11
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
@@ -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___has4j", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___sLe-B", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___T-FZw", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___4yS6O", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___hHfIp", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___MXi9G", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___1B1gK", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___nd3QV", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___KJIEd" };
17
+ var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___ByriM", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___U6RNR", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___wPypQ", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___uVawW", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___ieR7x", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___3EuL0", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___m6LmJ", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___QtRJp", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___CHWOA" };
18
18
  var GlobalRadioGroupCssSelector = "hop-RadioGroup";
19
19
  function RadioGroup(props, ref) {
20
20
  var _a, _b;
@@ -7,7 +7,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
9
9
  // css-module:./Heading.module.css#css-module
10
- var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___3ueiS", "hop-Heading--xs": "Heading-module__hop-Heading--xs___5sgKJ", "hop-Heading--sm": "Heading-module__hop-Heading--sm___06P1n", "hop-Heading--md": "Heading-module__hop-Heading--md___nbkYZ", "hop-Heading--lg": "Heading-module__hop-Heading--lg___lSiFQ", "hop-Heading--xl": "Heading-module__hop-Heading--xl___df64W", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___Vsuh7", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___PXstD" };
10
+ var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___byI5a", "hop-Heading--xs": "Heading-module__hop-Heading--xs___S-Spm", "hop-Heading--sm": "Heading-module__hop-Heading--sm___eYVWY", "hop-Heading--md": "Heading-module__hop-Heading--md___Trt4d", "hop-Heading--lg": "Heading-module__hop-Heading--lg___8RulN", "hop-Heading--xl": "Heading-module__hop-Heading--xl___XLAp5", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___ghz3S", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___sTxzT" };
11
11
  var GlobalHeadingCssSelector = "hop-Heading";
12
12
  function Heading(props, ref) {
13
13
  [props, ref] = useContextProps(props, ref, HeadingContext);
@@ -2,12 +2,12 @@ import { isFunction } from './chunk-TIPN4VYD.js';
2
2
  import { useLocalizedString } from './chunk-TFVDF4YH.js';
3
3
  import { SectionContext } from './chunk-5H5AZJPQ.js';
4
4
  import { ListBoxContext } from './chunk-UIEP5BA5.js';
5
- import { _ListBoxItem } from './chunk-RMXL2PC5.js';
5
+ import { _ListBoxItem } from './chunk-IZUZUN6Z.js';
6
6
  import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
7
- import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
8
7
  import { HeaderContext } from './chunk-7JOGKC3W.js';
9
8
  import { DividerContext } from './chunk-FYIHMKHI.js';
10
- import { _Text } from './chunk-EOXY566V.js';
9
+ import { _Text } from './chunk-F4XYXAPX.js';
10
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
11
11
  import { SlotProvider } from './chunk-M36KANKC.js';
12
12
  import { cssModule } from './chunk-KVDXQMWI.js';
13
13
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
18
18
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
19
19
 
20
20
  // css-module:./ListBox.module.css#css-module
21
- var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___c4-GN", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___1nBzD", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___DH0Gv", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___9nKGd", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___FGKIR", "hop-ListBox__divider": "ListBox-module__hop-ListBox__divider___-nFoG" };
21
+ var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___fCheu", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___2fafn", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___sIZIS", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___4-Gsh", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___1GilQ" };
22
22
  var GlobalListBoxCssSelector = "hop-ListBox";
23
23
  var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
24
24
  var ListBoxToTextSizeAdapter = {
@@ -1,10 +1,10 @@
1
1
  import { SwitchContext } from './chunk-YHBJAXUY.js';
2
2
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
3
- import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
4
3
  import { IconListContext } from './chunk-DHVVYSLB.js';
5
- import { _Text } from './chunk-EOXY566V.js';
4
+ import { _Text } from './chunk-F4XYXAPX.js';
6
5
  import { TextContext } from './chunk-X6SER3TZ.js';
7
6
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
7
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
8
8
  import { SlotProvider } from './chunk-M36KANKC.js';
9
9
  import { cssModule } from './chunk-KVDXQMWI.js';
10
10
  import { IconContext } from '@hopper-ui/icons';
@@ -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___kbnS3", "hop-Switch--sm": "Switch-module__hop-Switch--sm___tE8C-", "hop-Switch--md": "Switch-module__hop-Switch--md___XAaG6", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___oPB86", "hop-Switch__text": "Switch-module__hop-Switch__text___kgaPA", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___8mMxh", "hop-Switch__icon": "Switch-module__hop-Switch__icon___7vu8m" };
17
+ var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___pDNWk", "hop-Switch--sm": "Switch-module__hop-Switch--sm___iOw3G", "hop-Switch--md": "Switch-module__hop-Switch--md___tQX-I", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___zn9K-", "hop-Switch__text": "Switch-module__hop-Switch__text___HP1cV", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___Dv9Q0", "hop-Switch__icon": "Switch-module__hop-Switch__icon___ofe0Q" };
18
18
  var GlobalSwitchCssSelector = "hop-Switch";
19
19
  function Switch(props, ref) {
20
20
  var _a;
@@ -1,15 +1,17 @@
1
+ import { useRenderProps } from './chunk-NH3IVMXB.js';
2
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
1
3
  import { SlotProvider } from './chunk-M36KANKC.js';
2
4
  import { cssModule } from './chunk-KVDXQMWI.js';
3
5
  import { RichIconAvatarImageContext } from './chunk-JWW56J7M.js';
4
6
  import { RichIconContext } from '@hopper-ui/icons';
5
7
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
6
- import clsx from 'clsx';
7
8
  import { forwardRef } from 'react';
8
- import { useContextProps } from 'react-aria-components';
9
+ import { mergeProps } from 'react-aria';
10
+ import { useContextProps, composeRenderProps } from 'react-aria-components';
9
11
  import { jsx } from 'react/jsx-runtime';
10
12
 
11
13
  // css-module:./RichIconAvatarImage.module.css#css-module
12
- var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___wNiuO", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___Aj5aq", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___a3YuL", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___M0I9p", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___-TJH8", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___xw3ON", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___Y4sXQ", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___wOzcN" };
14
+ var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___48JUv", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___is3ow", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___Uv85l", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___MKeiw", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___zWajo", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___G8Mrm", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___IX8Rm", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___xjvN9" };
13
15
  var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
14
16
  var AvatarToIconSizeAdapter = {
15
17
  xs: "md",
@@ -24,7 +26,6 @@ function RichIconAvatarImage(props, ref) {
24
26
  [props, ref] = useContextProps(props, ref, RichIconAvatarImageContext);
25
27
  const { stylingProps, ...ownProps } = useStyledSystem(props);
26
28
  const {
27
- children,
28
29
  className,
29
30
  isDisabled,
30
31
  style,
@@ -33,7 +34,7 @@ function RichIconAvatarImage(props, ref) {
33
34
  ...otherProps
34
35
  } = ownProps;
35
36
  const size = (_a = useResponsiveValue(sizeValue)) != null ? _a : "md";
36
- const classNames = clsx(
37
+ const classNames = composeClassnameRenderProps(
37
38
  className,
38
39
  GlobalRichIconAvatarImageCssSelector,
39
40
  cssModule(
@@ -43,20 +44,28 @@ function RichIconAvatarImage(props, ref) {
43
44
  ),
44
45
  stylingProps.className
45
46
  );
46
- const mergedStyles = {
47
- ...stylingProps.style,
48
- ...style
49
- };
47
+ const mergedStyles = composeRenderProps(style, (prev) => {
48
+ return {
49
+ ...stylingProps.style,
50
+ ...prev
51
+ };
52
+ });
53
+ const renderProps = useRenderProps({
54
+ ...props,
55
+ className: classNames,
56
+ style: mergedStyles,
57
+ values: {
58
+ isDisabled: isDisabled || false
59
+ }
60
+ });
50
61
  if (!props["aria-label"] && !props["aria-labelledby"]) {
51
62
  console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
52
63
  }
53
64
  return /* @__PURE__ */ jsx(
54
65
  "div",
55
66
  {
56
- ...otherProps,
67
+ ...mergeProps(otherProps, renderProps),
57
68
  ref,
58
- className: classNames,
59
- style: mergedStyles,
60
69
  slot: slot != null ? slot : void 0,
61
70
  role: "img",
62
71
  "data-disabled": isDisabled || void 0,
@@ -69,7 +78,7 @@ function RichIconAvatarImage(props, ref) {
69
78
  size: AvatarToIconSizeAdapter[size]
70
79
  }]
71
80
  ],
72
- children
81
+ children: renderProps.children
73
82
  }
74
83
  )
75
84
  }