@hopper-ui/components 1.3.9 → 1.3.11

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 (217) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/Avatar/src/AnonymousAvatar.css +37 -37
  3. package/dist/Avatar/src/AnonymousAvatar.js +2 -2
  4. package/dist/Avatar/src/Avatar.css +55 -55
  5. package/dist/Avatar/src/Avatar.js +3 -3
  6. package/dist/Avatar/src/DeletedAvatar.css +37 -37
  7. package/dist/Avatar/src/DeletedAvatar.js +2 -2
  8. package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
  9. package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
  10. package/dist/Avatar/src/index.css +55 -55
  11. package/dist/Avatar/src/index.js +5 -5
  12. package/dist/Badge/src/Badge.css +42 -42
  13. package/dist/Badge/src/Badge.js +2 -2
  14. package/dist/Badge/src/FloatingBadge.css +37 -37
  15. package/dist/Badge/src/FloatingBadge.js +1 -1
  16. package/dist/Badge/src/index.css +52 -52
  17. package/dist/Badge/src/index.js +3 -3
  18. package/dist/ComboBox/src/ComboBox.css +713 -713
  19. package/dist/ComboBox/src/ComboBox.d.ts +4 -0
  20. package/dist/ComboBox/src/ComboBox.js +49 -50
  21. package/dist/ComboBox/src/index.css +713 -713
  22. package/dist/ComboBox/src/index.js +49 -50
  23. package/dist/Divider/src/Divider.css +29 -29
  24. package/dist/Divider/src/Divider.js +1 -1
  25. package/dist/Divider/src/index.css +29 -29
  26. package/dist/Divider/src/index.js +1 -1
  27. package/dist/ErrorMessage/src/ErrorMessage.css +29 -29
  28. package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
  29. package/dist/ErrorMessage/src/index.css +29 -29
  30. package/dist/ErrorMessage/src/index.js +2 -2
  31. package/dist/Form/src/Form.css +1833 -1671
  32. package/dist/Form/src/Form.d.ts +4 -0
  33. package/dist/Form/src/Form.js +49 -48
  34. package/dist/Form/src/index.css +1833 -1671
  35. package/dist/Form/src/index.js +49 -48
  36. package/dist/Header/src/Header.js +1 -1
  37. package/dist/Header/src/index.js +1 -1
  38. package/dist/HelperMessage/src/HelperMessage.css +29 -29
  39. package/dist/HelperMessage/src/HelperMessage.js +2 -2
  40. package/dist/HelperMessage/src/index.css +29 -29
  41. package/dist/HelperMessage/src/index.js +2 -2
  42. package/dist/IconList/src/IconList.css +28 -28
  43. package/dist/IconList/src/IconList.js +1 -1
  44. package/dist/IconList/src/index.css +28 -28
  45. package/dist/IconList/src/index.js +1 -1
  46. package/dist/Link/src/Link.css +49 -49
  47. package/dist/Link/src/Link.js +2 -2
  48. package/dist/Link/src/index.css +49 -49
  49. package/dist/Link/src/index.js +2 -2
  50. package/dist/ListBox/src/ListBox.css +274 -274
  51. package/dist/ListBox/src/ListBox.js +6 -6
  52. package/dist/ListBox/src/ListBoxItem.css +262 -262
  53. package/dist/ListBox/src/ListBoxItem.js +5 -5
  54. package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
  55. package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
  56. package/dist/ListBox/src/index.css +274 -274
  57. package/dist/ListBox/src/index.js +6 -6
  58. package/dist/Select/src/Select.css +857 -695
  59. package/dist/Select/src/Select.d.ts +4 -0
  60. package/dist/Select/src/Select.js +49 -48
  61. package/dist/Select/src/SelectValue.css +61 -61
  62. package/dist/Select/src/SelectValue.js +5 -5
  63. package/dist/Select/src/index.css +857 -695
  64. package/dist/Select/src/index.js +49 -48
  65. package/dist/Spinner/src/Spinner.css +37 -37
  66. package/dist/Spinner/src/Spinner.js +2 -2
  67. package/dist/Spinner/src/index.css +37 -37
  68. package/dist/Spinner/src/index.js +2 -2
  69. package/dist/buttons/src/Button.css +112 -112
  70. package/dist/buttons/src/Button.js +3 -3
  71. package/dist/buttons/src/ButtonGroup.css +38 -38
  72. package/dist/buttons/src/ButtonGroup.js +1 -1
  73. package/dist/buttons/src/ClearButton.css +98 -98
  74. package/dist/buttons/src/ClearButton.js +2 -2
  75. package/dist/buttons/src/EmbeddedButton.css +98 -98
  76. package/dist/buttons/src/EmbeddedButton.js +1 -1
  77. package/dist/buttons/src/index.css +194 -194
  78. package/dist/buttons/src/index.js +6 -6
  79. package/dist/checkbox/src/Checkbox.css +46 -46
  80. package/dist/checkbox/src/Checkbox.js +2 -2
  81. package/dist/checkbox/src/CheckboxField.css +33 -33
  82. package/dist/checkbox/src/CheckboxField.js +1 -1
  83. package/dist/checkbox/src/CheckboxGroup.css +98 -98
  84. package/dist/checkbox/src/CheckboxGroup.d.ts +4 -0
  85. package/dist/checkbox/src/CheckboxGroup.js +1 -1
  86. package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
  87. package/dist/checkbox/src/DecorativeCheckbox.js +2 -2
  88. package/dist/checkbox/src/index.css +98 -98
  89. package/dist/checkbox/src/index.js +5 -5
  90. package/dist/{chunk-B2O3ZCYC.js → chunk-47AZN77D.js} +1 -1
  91. package/dist/{chunk-5TH7VHRH.js → chunk-4D5OKVKB.js} +5 -5
  92. package/dist/{chunk-54U727IV.js → chunk-4PLO6M5P.js} +2 -2
  93. package/dist/{chunk-BGOYDN4M.js → chunk-4ZCY2KEA.js} +2 -2
  94. package/dist/{chunk-ANO4F3LJ.js → chunk-4ZUCHCV2.js} +7 -2
  95. package/dist/{chunk-UR3NK3LV.js → chunk-5ORMXIMY.js} +1 -1
  96. package/dist/{chunk-4FVIH73F.js → chunk-5RQ3FMMG.js} +2 -2
  97. package/dist/{chunk-GDVP2QEZ.js → chunk-64O3N7JE.js} +1 -1
  98. package/dist/{chunk-JX5YYFB3.js → chunk-6HV7YSW5.js} +7 -5
  99. package/dist/{chunk-7LTA4KPO.js → chunk-6NS4AQDI.js} +5 -4
  100. package/dist/{chunk-4EUVVRTY.js → chunk-7B6XUT4A.js} +3 -3
  101. package/dist/{chunk-HCJLAF2O.js → chunk-BJNIT3X3.js} +6 -6
  102. package/dist/{chunk-TRDXTYZD.js → chunk-BPFYQL3X.js} +3 -3
  103. package/dist/{chunk-2SF7BBJT.js → chunk-BUP6LEQX.js} +1 -1
  104. package/dist/{chunk-2WK465I4.js → chunk-BXBMRBPB.js} +3 -3
  105. package/dist/{chunk-KOT3ULJY.js → chunk-D7WXRB6L.js} +2 -2
  106. package/dist/{chunk-GXBVNCVP.js → chunk-DPC3Y6Y2.js} +2 -2
  107. package/dist/{chunk-UJXKUNEW.js → chunk-F2BSC3KH.js} +478 -194
  108. package/dist/{chunk-AQITZWYM.js → chunk-GTM56LGX.js} +2 -2
  109. package/dist/{chunk-ENHK4K3U.js → chunk-GTNBBI2S.js} +2 -2
  110. package/dist/{chunk-TMGUYWTR.js → chunk-HPPNJVV6.js} +2 -2
  111. package/dist/{chunk-CZRCXQFS.js → chunk-I7C4D6SO.js} +1 -1
  112. package/dist/{chunk-HI2SHIGG.js → chunk-JOIYDL4E.js} +1 -1
  113. package/dist/{chunk-6U6JI3L3.js → chunk-KKCIN6AH.js} +1 -1
  114. package/dist/{chunk-VQKJXEPU.js → chunk-KS255M2B.js} +2 -2
  115. package/dist/{chunk-E4JB7I3F.js → chunk-L3DEPUAF.js} +1 -1
  116. package/dist/{chunk-A3E76SDY.js → chunk-M64YZ3V3.js} +1 -1
  117. package/dist/{chunk-S6AH3YTH.js → chunk-MOEKGI3Q.js} +7 -6
  118. package/dist/{chunk-NQD2OQEG.js → chunk-MZTFEGDM.js} +4 -4
  119. package/dist/{chunk-L5A2UTQV.js → chunk-N5UT7MST.js} +2 -2
  120. package/dist/{chunk-2GYC6ADT.js → chunk-NTFJHBUN.js} +5 -5
  121. package/dist/{chunk-VC3HSOGC.js → chunk-O6I523D7.js} +5 -4
  122. package/dist/{chunk-3O74ORYF.js → chunk-P7OXW6SX.js} +2 -2
  123. package/dist/{chunk-PAW7CB3K.js → chunk-QAUIUFHM.js} +2 -2
  124. package/dist/{chunk-N66DZLL6.js → chunk-QEVF4GU6.js} +4 -2
  125. package/dist/{chunk-KQQCELPA.js → chunk-R5YV23ZF.js} +3 -3
  126. package/dist/{chunk-4PBFVO5S.js → chunk-S4JSEGNU.js} +3 -3
  127. package/dist/{chunk-I55EPFTM.js → chunk-SCDADO4Y.js} +3 -3
  128. package/dist/{chunk-6KHTQTRF.js → chunk-TELARNV2.js} +1 -1
  129. package/dist/{chunk-Q6SYCTJD.js → chunk-TQLIL4FK.js} +7 -2
  130. package/dist/{chunk-FBABNQTM.js → chunk-UXI6MVF4.js} +5 -4
  131. package/dist/{chunk-MLHAFFJQ.js → chunk-VFI4XPBU.js} +1 -1
  132. package/dist/{chunk-RDLI353P.js → chunk-VJWTYDCA.js} +1 -1
  133. package/dist/{chunk-GIMOHY5C.js → chunk-W6DTEUHF.js} +2 -2
  134. package/dist/{chunk-2ZXF62AA.js → chunk-WSHJXUF4.js} +9 -4
  135. package/dist/{chunk-XQFICAVB.js → chunk-Y4V25PX4.js} +3 -3
  136. package/dist/{chunk-XHW2Z6AX.js → chunk-YV4BUYJN.js} +3 -3
  137. package/dist/{chunk-YQDRT547.js → chunk-ZJKTV2QB.js} +7 -4
  138. package/dist/index.css +1839 -1677
  139. package/dist/index.d.ts +3 -1
  140. package/dist/index.js +49 -48
  141. package/dist/inputs/src/InputGroup.css +209 -209
  142. package/dist/inputs/src/InputGroup.js +1 -1
  143. package/dist/inputs/src/NumberField.css +231 -231
  144. package/dist/inputs/src/NumberField.d.ts +4 -0
  145. package/dist/inputs/src/NumberField.js +6 -6
  146. package/dist/inputs/src/PasswordField.css +219 -219
  147. package/dist/inputs/src/PasswordField.d.ts +4 -0
  148. package/dist/inputs/src/PasswordField.js +7 -7
  149. package/dist/inputs/src/RemainingCharacterCount.css +30 -30
  150. package/dist/inputs/src/RemainingCharacterCount.d.ts +2 -1
  151. package/dist/inputs/src/RemainingCharacterCount.js +5 -5
  152. package/dist/inputs/src/SearchField.css +225 -225
  153. package/dist/inputs/src/SearchField.d.ts +4 -0
  154. package/dist/inputs/src/SearchField.js +8 -8
  155. package/dist/inputs/src/TextArea.css +226 -226
  156. package/dist/inputs/src/TextArea.d.ts +4 -0
  157. package/dist/inputs/src/TextArea.js +7 -7
  158. package/dist/inputs/src/TextField.css +223 -223
  159. package/dist/inputs/src/TextField.d.ts +4 -0
  160. package/dist/inputs/src/TextField.js +9 -9
  161. package/dist/inputs/src/index.css +269 -269
  162. package/dist/inputs/src/index.d.ts +1 -1
  163. package/dist/inputs/src/index.js +13 -13
  164. package/dist/layout/src/Content.js +1 -1
  165. package/dist/layout/src/Footer.js +1 -1
  166. package/dist/overlays/Popover/src/Popover.css +1975 -1813
  167. package/dist/overlays/Popover/src/Popover.js +49 -48
  168. package/dist/overlays/Popover/src/index.css +1975 -1813
  169. package/dist/overlays/Popover/src/index.js +49 -48
  170. package/dist/radio/src/DecorativeRadio.css +54 -54
  171. package/dist/radio/src/DecorativeRadio.js +2 -2
  172. package/dist/radio/src/Radio.css +46 -46
  173. package/dist/radio/src/Radio.js +2 -2
  174. package/dist/radio/src/RadioField.css +33 -33
  175. package/dist/radio/src/RadioField.js +1 -1
  176. package/dist/radio/src/RadioGroup.css +98 -98
  177. package/dist/radio/src/RadioGroup.d.ts +4 -0
  178. package/dist/radio/src/RadioGroup.js +1 -1
  179. package/dist/radio/src/index.css +98 -98
  180. package/dist/radio/src/index.js +5 -5
  181. package/dist/switch/src/Switch.css +43 -43
  182. package/dist/switch/src/Switch.js +2 -2
  183. package/dist/switch/src/SwitchField.css +33 -33
  184. package/dist/switch/src/SwitchField.js +1 -1
  185. package/dist/switch/src/index.css +49 -49
  186. package/dist/switch/src/index.js +3 -3
  187. package/dist/tag/src/Tag.css +335 -335
  188. package/dist/tag/src/Tag.js +5 -5
  189. package/dist/tag/src/TagGroup.css +37 -37
  190. package/dist/tag/src/TagGroup.d.ts +4 -0
  191. package/dist/tag/src/TagGroup.js +1 -1
  192. package/dist/tag/src/TagList.css +27 -27
  193. package/dist/tag/src/index.css +345 -345
  194. package/dist/tag/src/index.js +6 -6
  195. package/dist/typography/Heading/src/Heading.css +27 -27
  196. package/dist/typography/Heading/src/Heading.js +1 -1
  197. package/dist/typography/Heading/src/index.css +27 -27
  198. package/dist/typography/Heading/src/index.js +1 -1
  199. package/dist/typography/Label/src/Label.css +27 -27
  200. package/dist/typography/Label/src/Label.d.ts +2 -2
  201. package/dist/typography/Label/src/Label.js +1 -1
  202. package/dist/typography/Label/src/index.css +27 -27
  203. package/dist/typography/Label/src/index.js +1 -1
  204. package/dist/typography/OverlineText/src/OverlineText.css +27 -27
  205. package/dist/typography/OverlineText/src/OverlineText.js +1 -1
  206. package/dist/typography/OverlineText/src/index.css +27 -27
  207. package/dist/typography/OverlineText/src/index.js +1 -1
  208. package/dist/typography/Text/src/Text.css +27 -27
  209. package/dist/typography/Text/src/Text.js +1 -1
  210. package/dist/typography/Text/src/index.css +27 -27
  211. package/dist/typography/Text/src/index.js +1 -1
  212. package/dist/utils/src/EnsureTextWrapper.css +27 -27
  213. package/dist/utils/src/EnsureTextWrapper.js +5 -5
  214. package/dist/utils/src/index.css +27 -27
  215. package/dist/utils/src/index.js +5 -5
  216. package/package.json +3 -3
  217. package/dist/chunk-KSKIQSYM.js +0 -260
@@ -1,5 +1,5 @@
1
1
  /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Heading/src/Heading.module.css/#css-module-data */
2
- .Heading-module__hop-Heading___qL-Ga {
2
+ .Heading-module__hop-Heading___vu21Z {
3
3
  --hop-Heading-xs-font-size: var(--hop-heading-xs-font-size);
4
4
  --hop-Heading-xs-font-family: var(--hop-heading-xs-font-family);
5
5
  --hop-Heading-xs-font-weight: var(--hop-heading-xs-font-weight);
@@ -33,50 +33,50 @@
33
33
  --hop-Heading-inherit-size-font-weight: inherit;
34
34
  --hop-Heading-inherit-size-line-height: inherit;
35
35
  }
36
- :where(.Heading-module__hop-Heading___qL-Ga) {
36
+ :where(.Heading-module__hop-Heading___vu21Z) {
37
37
  margin: 0;
38
38
  font-family: var(--font-family);
39
39
  font-size: var(--font-size);
40
40
  font-weight: var(--font-weight);
41
41
  line-height: var(--line-height);
42
42
  }
43
- :where(.Heading-module__hop-Heading--xs___emC4g) {
43
+ :where(.Heading-module__hop-Heading--xs___gjgUo) {
44
44
  --font-size: var(--hop-Heading-xs-font-size);
45
45
  --font-family: var(--hop-Heading-xs-font-family);
46
46
  --font-weight: var(--hop-Heading-xs-font-weight);
47
47
  --line-height: var(--hop-Heading-xs-line-height);
48
48
  }
49
- :where(.Heading-module__hop-Heading--sm___0rHcs) {
49
+ :where(.Heading-module__hop-Heading--sm___1fSAD) {
50
50
  --font-size: var(--hop-Heading-sm-font-size);
51
51
  --font-family: var(--hop-Heading-sm-font-family);
52
52
  --font-weight: var(--hop-Heading-sm-font-weight);
53
53
  --line-height: var(--hop-Heading-sm-line-height);
54
54
  }
55
- :where(.Heading-module__hop-Heading--md___lrBIc) {
55
+ :where(.Heading-module__hop-Heading--md___ddJPc) {
56
56
  --font-size: var(--hop-Heading-md-font-size);
57
57
  --font-family: var(--hop-Heading-md-font-family);
58
58
  --font-weight: var(--hop-Heading-md-font-weight);
59
59
  --line-height: var(--hop-Heading-md-line-height);
60
60
  }
61
- :where(.Heading-module__hop-Heading--lg___9cuPI) {
61
+ :where(.Heading-module__hop-Heading--lg___-HY-X) {
62
62
  --font-size: var(--hop-Heading-lg-font-size);
63
63
  --font-family: var(--hop-Heading-lg-font-family);
64
64
  --font-weight: var(--hop-Heading-lg-font-weight);
65
65
  --line-height: var(--hop-Heading-lg-line-height);
66
66
  }
67
- :where(.Heading-module__hop-Heading--xl___WkYun) {
67
+ :where(.Heading-module__hop-Heading--xl___16E0u) {
68
68
  --font-size: var(--hop-Heading-xl-font-size);
69
69
  --font-family: var(--hop-Heading-xl-font-family);
70
70
  --font-weight: var(--hop-Heading-xl-font-weight);
71
71
  --line-height: var(--hop-Heading-xl-line-height);
72
72
  }
73
- :where(.Heading-module__hop-Heading--2xl___RaYLz) {
73
+ :where(.Heading-module__hop-Heading--2xl___j7Igk) {
74
74
  --font-size: var(--hop-Heading-2xl-font-size);
75
75
  --font-family: var(--hop-Heading-2xl-font-family);
76
76
  --font-weight: var(--hop-Heading-2xl-font-weight);
77
77
  --line-height: var(--hop-Heading-2xl-line-height);
78
78
  }
79
- :where(.Heading-module__hop-Heading--3xl___e1oE9) {
79
+ :where(.Heading-module__hop-Heading--3xl___xb45E) {
80
80
  --font-size: var(--hop-Heading-3xl-font-size);
81
81
  --font-family: var(--hop-Heading-3xl-font-family);
82
82
  --font-weight: var(--hop-Heading-3xl-font-weight);
@@ -84,7 +84,7 @@
84
84
  }
85
85
 
86
86
  /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
87
- .Text-module__hop-Text___aPHsZ {
87
+ .Text-module__hop-Text___qZV3q {
88
88
  --hop-Text-xs-font-size: var(--hop-body-xs-font-size);
89
89
  --hop-Text-xs-font-family: var(--hop-body-xs-font-family);
90
90
  --hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
@@ -114,49 +114,49 @@
114
114
  --hop-Text-inherit-size-font-weight: inherit;
115
115
  --hop-Text-inherit-size-line-height: inherit;
116
116
  }
117
- :where(.Text-module__hop-Text___aPHsZ) {
117
+ :where(.Text-module__hop-Text___qZV3q) {
118
118
  font-family: var(--font-family);
119
119
  font-size: var(--font-size);
120
120
  font-weight: var(--font-weight);
121
121
  line-height: var(--line-height);
122
122
  }
123
- :where(.Text-module__hop-Text--xs___Q-dLx) {
123
+ :where(.Text-module__hop-Text--xs___bDVxV) {
124
124
  --font-size: var(--hop-Text-xs-font-size);
125
125
  --font-family: var(--hop-Text-xs-font-family);
126
126
  --font-weight: var(--hop-Text-xs-font-weight);
127
127
  --line-height: var(--hop-Text-xs-line-height);
128
128
  }
129
- :where(.Text-module__hop-Text--sm___FPZs6) {
129
+ :where(.Text-module__hop-Text--sm___d61X4) {
130
130
  --font-size: var(--hop-Text-sm-font-size);
131
131
  --font-family: var(--hop-Text-sm-font-family);
132
132
  --font-weight: var(--hop-Text-sm-font-weight);
133
133
  --line-height: var(--hop-Text-sm-line-height);
134
134
  }
135
- :where(.Text-module__hop-Text--md___wwFGu) {
135
+ :where(.Text-module__hop-Text--md___xnyIv) {
136
136
  --font-size: var(--hop-Text-md-font-size);
137
137
  --font-family: var(--hop-Text-md-font-family);
138
138
  --font-weight: var(--hop-Text-md-font-weight);
139
139
  --line-height: var(--hop-Text-md-line-height);
140
140
  }
141
- :where(.Text-module__hop-Text--lg___eP1l5) {
141
+ :where(.Text-module__hop-Text--lg___8GI0t) {
142
142
  --font-size: var(--hop-Text-lg-font-size);
143
143
  --font-family: var(--hop-Text-lg-font-family);
144
144
  --font-weight: var(--hop-Text-lg-font-weight);
145
145
  --line-height: var(--hop-Text-lg-line-height);
146
146
  }
147
- :where(.Text-module__hop-Text--xl___MX4B5) {
147
+ :where(.Text-module__hop-Text--xl___x12No) {
148
148
  --font-size: var(--hop-Text-xl-font-size);
149
149
  --font-family: var(--hop-Text-xl-font-family);
150
150
  --font-weight: var(--hop-Text-xl-font-weight);
151
151
  --line-height: var(--hop-Text-xl-line-height);
152
152
  }
153
- :where(.Text-module__hop-Text--2xl___jSUoQ) {
153
+ :where(.Text-module__hop-Text--2xl___ctOKo) {
154
154
  --font-size: var(--hop-Text-2xl-font-size);
155
155
  --font-family: var(--hop-Text-2xl-font-family);
156
156
  --font-weight: var(--hop-Text-2xl-font-weight);
157
157
  --line-height: var(--hop-Text-2xl-line-height);
158
158
  }
159
- :where(.Text-module__hop-Text--inherit___rWFT-) {
159
+ :where(.Text-module__hop-Text--inherit___BukrW) {
160
160
  --font-size: var(--hop-Text-inherit-size-font-size);
161
161
  --font-family: var(--hop-Text-inherit-size-font-family);
162
162
  --font-weight: var(--hop-Text-inherit-size-font-weight);
@@ -164,7 +164,7 @@
164
164
  }
165
165
 
166
166
  /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/OverlineText/src/OverlineText.module.css/#css-module-data */
167
- :where(.OverlineText-module__hop-OverlineText___XDVrN) {
167
+ :where(.OverlineText-module__hop-OverlineText___8qz2T) {
168
168
  --hop-OverlineText-font-family: var(--hop-overline-font-family);
169
169
  --hop-OverlineText-font-size: var(--hop-overline-font-size);
170
170
  --hop-OverlineText-font-weight: var(--hop-overline-font-weight);
@@ -188,39 +188,39 @@
188
188
  text-transform: uppercase;
189
189
  letter-spacing: var(--letter-spacing);
190
190
  }
191
- .OverlineText-module__hop-OverlineText__text___nGtRo {
191
+ .OverlineText-module__hop-OverlineText__text___coZ7j {
192
192
  box-sizing: border-box;
193
193
  }
194
- .OverlineText-module__hop-OverlineText__text___nGtRo::before,
195
- .OverlineText-module__hop-OverlineText__text___nGtRo::after {
194
+ .OverlineText-module__hop-OverlineText__text___coZ7j::before,
195
+ .OverlineText-module__hop-OverlineText__text___coZ7j::after {
196
196
  content: "";
197
197
  display: block;
198
198
  box-sizing: border-box;
199
199
  inline-size: 0;
200
200
  block-size: 0;
201
201
  }
202
- .OverlineText-module__hop-OverlineText__text___nGtRo::before {
202
+ .OverlineText-module__hop-OverlineText__text___coZ7j::before {
203
203
  margin-block-end: var(--bottom-offset);
204
204
  }
205
- .OverlineText-module__hop-OverlineText__text___nGtRo::after {
205
+ .OverlineText-module__hop-OverlineText__text___coZ7j::after {
206
206
  margin-block-start: var(--top-offset);
207
207
  }
208
208
 
209
209
  /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Label/src/Label.module.css/#css-module-data */
210
- .Label-module__hop-Label___1zcVv {
210
+ .Label-module__hop-Label___Yuie9 {
211
211
  --hop-Label-font-size: var(--hop-heading-xs-font-size);
212
212
  --hop-Label-font-family: var(--hop-heading-xs-font-family);
213
213
  --hop-Label-font-weight: var(--hop-heading-xs-font-weight);
214
214
  --hop-Label-line-height: var(--hop-heading-xs-line-height);
215
215
  --hop-Label-color: var(--hop-neutral-text-weak);
216
216
  }
217
- :where(.Label-module__hop-Label___1zcVv) {
217
+ :where(.Label-module__hop-Label___Yuie9) {
218
218
  font-family: var(--hop-Label-font-family);
219
219
  font-size: var(--hop-Label-font-size);
220
220
  font-weight: var(--hop-Label-font-weight);
221
221
  line-height: var(--hop-Label-line-height);
222
222
  color: var(--hop-Label-color);
223
223
  }
224
- :where(.Label-module__hop-Label__indicator___ZX47s) {
224
+ :where(.Label-module__hop-Label__indicator___-c2pq) {
225
225
  padding-inline-start: var(--hop-space-20);
226
226
  }
@@ -1,22 +1,22 @@
1
1
  import '../../chunk-LQICWONC.js';
2
2
  import '../../chunk-SNIF7MEM.js';
3
- export { EnsureTextWrapper } from '../../chunk-A3E76SDY.js';
3
+ export { EnsureTextWrapper } from '../../chunk-M64YZ3V3.js';
4
4
  export { useScale } from '../../chunk-MTDFS4CZ.js';
5
5
  export { useFontFaceReady } from '../../chunk-IU6XMS2X.js';
6
6
  export { useTruncatedText } from '../../chunk-Z57VHYOF.js';
7
7
  export { useSlot } from '../../chunk-H5YTU3U7.js';
8
8
  export { useIsOverflow } from '../../chunk-EHXOXTDN.js';
9
9
  import '../../chunk-LJXTJRSB.js';
10
- import '../../chunk-NQD2OQEG.js';
11
- import '../../chunk-XHW2Z6AX.js';
10
+ import '../../chunk-MZTFEGDM.js';
11
+ import '../../chunk-YV4BUYJN.js';
12
12
  import '../../chunk-TXZ6BMFR.js';
13
13
  import '../../chunk-QCA3ZR56.js';
14
14
  export { isArray, isDefined, isEmptyArray, isFunction, isNil, isNilOrEmpty, isNull, isNumber, isObject, isPlainObject, isPromise, isString, isUndefined } from '../../chunk-TIPN4VYD.js';
15
15
  import '../../chunk-TFVDF4YH.js';
16
16
  export { isTextOnlyChildren } from '../../chunk-ZWU6DRRZ.js';
17
- import '../../chunk-2SF7BBJT.js';
17
+ import '../../chunk-BUP6LEQX.js';
18
18
  import '../../chunk-WPNVVGFW.js';
19
- import '../../chunk-KQQCELPA.js';
19
+ import '../../chunk-R5YV23ZF.js';
20
20
  import '../../chunk-X6SER3TZ.js';
21
21
  export { ClearContainerSlots, ClearProviders } from '../../chunk-HXI3MEEK.js';
22
22
  export { useRenderProps } from '../../chunk-NH3IVMXB.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hopper-ui/components",
3
3
  "author": "Workleap",
4
- "version": "1.3.9",
4
+ "version": "1.3.11",
5
5
  "description": "The components package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -45,7 +45,7 @@
45
45
  "@react-stately/utils": "^3.10.3",
46
46
  "@react-types/shared": "^3.24.1",
47
47
  "clsx": "^2.1.1",
48
- "@hopper-ui/icons": "2.8.0"
48
+ "@hopper-ui/icons": "2.8.1"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@swc/core": "1.5.25",
@@ -77,7 +77,7 @@
77
77
  "ts-jest": "29.1.4",
78
78
  "tsup": "8.1.0",
79
79
  "typescript": "5.4.5",
80
- "@hopper-ui/styled-system": "2.3.3"
80
+ "@hopper-ui/styled-system": "2.4.0"
81
81
  },
82
82
  "scripts": {
83
83
  "dev": "tsup --config ./tsup.dev.ts",
@@ -1,260 +0,0 @@
1
- import { ComboBoxContext } from './chunk-4XHTP4GX.js';
2
- import { _Popover } from './chunk-UJXKUNEW.js';
3
- import { EnsureTextWrapper } from './chunk-A3E76SDY.js';
4
- import { _Footer } from './chunk-AQITZWYM.js';
5
- import { LabelContext } from './chunk-QCA3ZR56.js';
6
- import { _ListBox } from './chunk-XQFICAVB.js';
7
- import { _ListBoxItem } from './chunk-2GYC6ADT.js';
8
- import { HelperMessageContext } from './chunk-HZKFQ33E.js';
9
- import { ErrorMessageContext } from './chunk-FAE27DLF.js';
10
- import { BadgeContext } from './chunk-CQDLZ42T.js';
11
- import { TextContext } from './chunk-X6SER3TZ.js';
12
- import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
13
- import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
14
- import { SlotProvider } from './chunk-M36KANKC.js';
15
- import { cssModule } from './chunk-KVDXQMWI.js';
16
- import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
17
- import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
18
- import { useObjectRef, mergeRefs, useResizeObserver } from '@react-aria/utils';
19
- import { forwardRef, useRef, useState, useCallback } from 'react';
20
- import { useContextProps, useSlottedContext, InputContext, composeRenderProps, TextContext as TextContext$1, ButtonContext, ComboBox as ComboBox$1, Group, Input, Button } from 'react-aria-components';
21
- import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
22
-
23
- // css-module:./ComboBox.module.css#css-module
24
- var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___yka4p", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___wc-wK", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___JxClR", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___mwnmp", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___t-bwh", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___SwrW0", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___-iJvh", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___N4euJ", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___iz3ml", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___EtzJV", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___T5Iem", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___qYblw" };
25
- var GlobalComboBoxCssSelector = "hop-ComboBox";
26
- function ComboBox(props, ref) {
27
- var _a, _b, _c;
28
- const {
29
- inputRef: userProvidedInputRef = null,
30
- ...propsWithoutRef
31
- } = props;
32
- [props, ref] = useContextProps(propsWithoutRef, ref, ComboBoxContext);
33
- const { stylingProps, ...ownProps } = useStyledSystem(props);
34
- const {
35
- className,
36
- children,
37
- fieldChildren,
38
- footer,
39
- isAutoMenuWidth,
40
- isFluid: isFluidProp,
41
- isInvalid,
42
- items,
43
- menuTrigger = "focus",
44
- listBoxProps,
45
- placeholder,
46
- popoverProps,
47
- prefix,
48
- size: sizeProp,
49
- style: styleProp,
50
- triggerProps,
51
- ...otherProps
52
- } = ownProps;
53
- const inputRef = useObjectRef(mergeRefs(userProvidedInputRef, (_a = props.inputRef) != null ? _a : null));
54
- const inputContext = useSlottedContext(InputContext);
55
- const mergedInputRefs = (inputContext == null ? void 0 : inputContext.ref) ? mergeRefs(inputRef, inputContext.ref) : inputRef;
56
- const triggerRef = useRef(null);
57
- const buttonRef = useRef(null);
58
- const [triggerWidth, setTriggerWidth] = useState(null);
59
- const onResize = useCallback(() => {
60
- if (triggerRef.current) {
61
- setTriggerWidth(triggerRef.current.offsetWidth + "px");
62
- }
63
- }, [triggerRef]);
64
- useResizeObserver({
65
- ref: triggerRef,
66
- onResize
67
- });
68
- const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
69
- const {
70
- className: triggerClassName,
71
- style: triggerStyleProp,
72
- ...otherTriggerProps
73
- } = triggerOwnProps;
74
- const { stylingProps: popoverStylingProps, ...popoverOwnProps } = useStyledSystem(popoverProps != null ? popoverProps : {});
75
- const {
76
- placement = "bottom start",
77
- style: popoverStyleProp,
78
- ...otherPopoverProps
79
- } = popoverOwnProps;
80
- const size = (_b = useResponsiveValue(sizeProp)) != null ? _b : "sm";
81
- const isFluid = (_c = useResponsiveValue(isFluidProp)) != null ? _c : false;
82
- const classNames = composeClassnameRenderProps(
83
- className,
84
- GlobalComboBoxCssSelector,
85
- cssModule(
86
- ComboBox_module_default,
87
- "hop-ComboBox",
88
- isFluid && "fluid",
89
- size
90
- ),
91
- stylingProps.className
92
- );
93
- const triggerClassNames = composeClassnameRenderProps(
94
- triggerClassName,
95
- cssModule(
96
- ComboBox_module_default,
97
- "hop-ComboBox__trigger",
98
- size
99
- ),
100
- triggerStylingProps.className
101
- );
102
- const buttonClassNames = composeClassnameRenderProps(
103
- cssModule(
104
- ComboBox_module_default,
105
- "hop-ComboBox__button"
106
- )
107
- );
108
- const inputClassNames = composeClassnameRenderProps(
109
- inputContext == null ? void 0 : inputContext.className,
110
- ComboBox_module_default["hop-ComboBox__input"]
111
- );
112
- const style = composeRenderProps(styleProp, (prev) => {
113
- return {
114
- ...stylingProps.style,
115
- ...prev
116
- };
117
- });
118
- const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
119
- return {
120
- ...triggerStylingProps.style,
121
- ...prev
122
- };
123
- });
124
- const popoverStyle = composeRenderProps(popoverStyleProp, (prev) => {
125
- return {
126
- ...popoverStylingProps.style,
127
- ...prev,
128
- "--custom-trigger-width": triggerWidth
129
- };
130
- });
131
- const handleMouseDown = useCallback((e) => {
132
- if (inputRef.current && e.target !== inputRef.current && buttonRef.current && e.target !== buttonRef.current) {
133
- inputRef.current.focus();
134
- e.preventDefault();
135
- }
136
- }, [inputRef]);
137
- const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
138
- SlotProvider,
139
- {
140
- values: [
141
- [TextContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }],
142
- [IconContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }]
143
- ],
144
- children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prefix }) })
145
- }
146
- ) : null;
147
- const footerMarkup = footer ? /* @__PURE__ */ jsx(
148
- SlotProvider,
149
- {
150
- values: [
151
- [TextContext, { size, className: ComboBox_module_default["hop-ComboBox__footer-text"] }]
152
- ],
153
- children: /* @__PURE__ */ jsx(
154
- ClearProviders,
155
- {
156
- values: [
157
- TextContext$1,
158
- TextContext,
159
- ButtonContext
160
- ],
161
- children: /* @__PURE__ */ jsx(_Footer, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: footer }) })
162
- }
163
- )
164
- }
165
- ) : null;
166
- return /* @__PURE__ */ jsx(
167
- ComboBox$1,
168
- {
169
- ...otherProps,
170
- ref,
171
- className: classNames,
172
- style,
173
- isInvalid,
174
- menuTrigger,
175
- children: (comboBoxRenderProps) => {
176
- const { isOpen } = comboBoxRenderProps;
177
- const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
178
- return /* @__PURE__ */ jsxs(Fragment, { children: [
179
- /* @__PURE__ */ jsx(
180
- SlotProvider,
181
- {
182
- values: [
183
- [LabelContext, {
184
- className: ComboBox_module_default["hop-ComboBox__label"]
185
- }],
186
- [HelperMessageContext, {
187
- className: ComboBox_module_default["hop-ComboBox__helper-message"]
188
- }],
189
- [ErrorMessageContext, {
190
- className: ComboBox_module_default["hop-ComboBox__error-message"]
191
- }]
192
- ],
193
- children: fieldChildren
194
- }
195
- ),
196
- /* @__PURE__ */ jsxs(
197
- Group,
198
- {
199
- ...otherTriggerProps,
200
- ref: triggerRef,
201
- className: triggerClassNames,
202
- style: triggerStyle,
203
- onMouseDown: handleMouseDown,
204
- "data-selected": isOpen || void 0,
205
- children: [
206
- prefixMarkup,
207
- /* @__PURE__ */ jsx(
208
- Input,
209
- {
210
- ref: mergedInputRefs,
211
- className: inputClassNames,
212
- placeholder
213
- }
214
- ),
215
- /* @__PURE__ */ jsx(Button, { className: buttonClassNames, ref: buttonRef, children: /* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: ComboBox_module_default["hop-ComboBox__button-icon"] }) })
216
- ]
217
- }
218
- ),
219
- /* @__PURE__ */ jsxs(
220
- _Popover,
221
- {
222
- ...otherPopoverProps,
223
- placement,
224
- isNonDialog: true,
225
- autoWidth: isAutoMenuWidth,
226
- style: popoverStyle,
227
- triggerRef,
228
- children: [
229
- /* @__PURE__ */ jsx(
230
- SlotProvider,
231
- {
232
- values: [
233
- [BadgeContext, {
234
- variant: "secondary"
235
- }]
236
- ],
237
- children: /* @__PURE__ */ jsx(_ListBox, { ...listBoxProps, items, size, isInvalid, children })
238
- }
239
- ),
240
- footerMarkup
241
- ]
242
- }
243
- )
244
- ] });
245
- }
246
- }
247
- );
248
- }
249
- var _ComboBox = forwardRef(ComboBox);
250
- _ComboBox.displayName = "ComboBox";
251
- var CompoundComboBox = Object.assign(_ComboBox, {
252
- /**
253
- * A combo box option is an item that is displayed in a combo box.
254
- *
255
- * [View Documentation](TODO)
256
- */
257
- Option: _ListBoxItem
258
- });
259
-
260
- export { CompoundComboBox, GlobalComboBoxCssSelector };