@hopper-ui/components 1.0.1 → 1.0.3

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 (269) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/HopperProvider/src/HopperProvider.js +1 -1
  3. package/dist/HopperProvider/src/index.js +1 -1
  4. package/dist/IconList/src/IconList.css +1 -1
  5. package/dist/IconList/src/IconList.js +2 -2
  6. package/dist/IconList/src/IconListContext.js +1 -1
  7. package/dist/IconList/src/index.css +1 -1
  8. package/dist/IconList/src/index.js +2 -2
  9. package/dist/Link/src/Link.css +32 -32
  10. package/dist/Link/src/Link.js +6 -6
  11. package/dist/Link/src/LinkContext.js +1 -1
  12. package/dist/Link/src/index.css +32 -32
  13. package/dist/Link/src/index.js +6 -6
  14. package/dist/Spinner/src/Spinner.css +29 -29
  15. package/dist/Spinner/src/Spinner.js +5 -5
  16. package/dist/Spinner/src/SpinnerContext.js +1 -1
  17. package/dist/Spinner/src/index.css +29 -29
  18. package/dist/Spinner/src/index.js +5 -5
  19. package/dist/badge/src/Badge.css +80 -0
  20. package/dist/badge/src/Badge.d.ts +26 -0
  21. package/dist/badge/src/Badge.js +6 -0
  22. package/dist/badge/src/BadgeContext.d.ts +10 -0
  23. package/dist/badge/src/BadgeContext.js +2 -0
  24. package/dist/badge/src/index.css +80 -0
  25. package/dist/badge/src/index.d.ts +7 -0
  26. package/dist/badge/src/index.js +6 -0
  27. package/dist/buttons/src/Button.css +120 -120
  28. package/dist/buttons/src/Button.d.ts +1 -1
  29. package/dist/buttons/src/Button.js +10 -10
  30. package/dist/buttons/src/ButtonContext.d.ts +1 -1
  31. package/dist/buttons/src/ButtonContext.js +1 -1
  32. package/dist/buttons/src/ButtonGroup.css +11 -11
  33. package/dist/buttons/src/ButtonGroup.d.ts +1 -1
  34. package/dist/buttons/src/ButtonGroup.js +6 -83
  35. package/dist/buttons/src/ButtonGroupContext.js +1 -1
  36. package/dist/buttons/src/ClearButton.css +102 -0
  37. package/dist/buttons/src/ClearButton.d.ts +16 -0
  38. package/dist/buttons/src/ClearButton.js +9 -0
  39. package/dist/buttons/src/ClearButtonContext.d.ts +9 -0
  40. package/dist/buttons/src/ClearButtonContext.js +2 -0
  41. package/dist/buttons/src/EmbeddedButton.css +102 -0
  42. package/dist/buttons/src/EmbeddedButton.d.ts +20 -0
  43. package/dist/buttons/src/EmbeddedButton.js +6 -0
  44. package/dist/buttons/src/EmbeddedButtonContext.d.ts +8 -0
  45. package/dist/buttons/src/EmbeddedButtonContext.js +2 -0
  46. package/dist/buttons/src/index.css +262 -120
  47. package/dist/buttons/src/index.d.ts +7 -0
  48. package/dist/buttons/src/index.js +16 -10
  49. package/dist/checkbox/src/Checkbox.css +39 -35
  50. package/dist/checkbox/src/Checkbox.js +5 -5
  51. package/dist/checkbox/src/CheckboxContext.js +1 -1
  52. package/dist/checkbox/src/CheckboxField.css +16 -16
  53. package/dist/checkbox/src/CheckboxField.js +3 -3
  54. package/dist/checkbox/src/CheckboxFieldContext.js +1 -1
  55. package/dist/checkbox/src/CheckboxGroup.css +79 -75
  56. package/dist/checkbox/src/CheckboxGroup.js +3 -3
  57. package/dist/checkbox/src/CheckboxGroupContext.js +1 -1
  58. package/dist/checkbox/src/CheckboxList.js +1 -1
  59. package/dist/checkbox/src/CheckboxListContext.js +1 -1
  60. package/dist/checkbox/src/index.css +79 -75
  61. package/dist/checkbox/src/index.js +8 -8
  62. package/dist/chip/src/Chip.css +34 -34
  63. package/dist/chip/src/Chip.js +4 -4
  64. package/dist/chip/src/ChipContext.js +1 -1
  65. package/dist/chip/src/index.css +34 -34
  66. package/dist/chip/src/index.js +4 -4
  67. package/dist/{chunk-YSQDPG26.js → chunk-2P3A4VVY.js} +6 -1
  68. package/dist/{chunk-CJFCOPMQ.js → chunk-2VBOJKEP.js} +2 -2
  69. package/dist/{chunk-3KIUEBO3.js → chunk-3DWVMCIV.js} +2 -2
  70. package/dist/chunk-3NKF5TPD.js +7 -0
  71. package/dist/{chunk-H234F7HP.js → chunk-3XFTRBIC.js} +2 -2
  72. package/dist/{chunk-HUJ3PTM7.js → chunk-4RIAVSLK.js} +2 -2
  73. package/dist/chunk-5EPNXRCT.js +44 -0
  74. package/dist/chunk-6BFSSZCY.js +7 -0
  75. package/dist/{chunk-BIVAOAN2.js → chunk-7NT6M6KM.js} +3 -3
  76. package/dist/chunk-AQITZWYM.js +43 -0
  77. package/dist/chunk-BAKCRZAG.js +82 -0
  78. package/dist/{chunk-TRS7R4W3.js → chunk-CTK5YVBZ.js} +2 -2
  79. package/dist/chunk-CTOL6AVF.js +156 -0
  80. package/dist/chunk-D6UTDI2K.js +28 -0
  81. package/dist/{chunk-ZUMAL5WB.js → chunk-DJU2DUTQ.js} +4 -3
  82. package/dist/{chunk-EADFYPVX.js → chunk-DLTYFRKN.js} +4 -4
  83. package/dist/chunk-DXVKHP4V.js +7 -0
  84. package/dist/{chunk-VYNBJRJW.js → chunk-EE75ND6V.js} +2 -2
  85. package/dist/chunk-EWMWQ2MC.js +7 -0
  86. package/dist/chunk-GF2U6E4D.js +56 -0
  87. package/dist/chunk-GXBVNCVP.js +43 -0
  88. package/dist/{chunk-BPM4ETTB.js → chunk-H6CDFWVR.js} +11 -3
  89. package/dist/chunk-I67NHYK4.js +7 -0
  90. package/dist/{chunk-KKFX7YII.js → chunk-IOLNBXZM.js} +6 -5
  91. package/dist/chunk-IXB2WK56.js +7 -0
  92. package/dist/{chunk-CE3ABLD2.js → chunk-JLF7DSUY.js} +4 -4
  93. package/dist/{chunk-3FT5XSWV.js → chunk-JLFHTZUA.js} +4 -4
  94. package/dist/chunk-LCAS3YQV.js +7 -0
  95. package/dist/chunk-LJXTJRSB.js +1 -0
  96. package/dist/chunk-LYV2D5RZ.js +69 -0
  97. package/dist/chunk-O4XPUINW.js +7 -0
  98. package/dist/chunk-O7IJYNVQ.js +7 -0
  99. package/dist/chunk-OGMLQRES.js +91 -0
  100. package/dist/chunk-OQW6BT6B.js +373 -0
  101. package/dist/{chunk-6EMOC7TA.js → chunk-OUN5KSHD.js} +2 -2
  102. package/dist/{chunk-HVKOIMMW.js → chunk-QCA3ZR56.js} +1 -1
  103. package/dist/chunk-QW45G6K4.js +7 -0
  104. package/dist/chunk-RXBKOHT2.js +83 -0
  105. package/dist/chunk-SC6ZK5ON.js +7 -0
  106. package/dist/chunk-TIPN4VYD.js +46 -0
  107. package/dist/chunk-TXZ6BMFR.js +7 -0
  108. package/dist/chunk-UARL5M2W.js +32 -0
  109. package/dist/{chunk-SC4G54ML.js → chunk-UY7WQ7TC.js} +8 -8
  110. package/dist/{chunk-G7RKLBFT.js → chunk-WLSLSMK7.js} +3 -3
  111. package/dist/chunk-WPNVVGFW.js +7 -0
  112. package/dist/chunk-WWRB4K4M.js +44 -0
  113. package/dist/{chunk-OE5BLFZI.js → chunk-X6SER3TZ.js} +1 -1
  114. package/dist/{chunk-FD4HMY5A.js → chunk-XFKAXBB5.js} +4 -4
  115. package/dist/{chunk-YFTLWL74.js → chunk-XIOIAME2.js} +1 -1
  116. package/dist/chunk-XLKYXKWE.js +7 -0
  117. package/dist/chunk-Y7HUXUHX.js +30 -0
  118. package/dist/chunk-YQHNOQ3N.js +96 -0
  119. package/dist/chunk-Z3ID4UEE.js +55 -0
  120. package/dist/chunk-ZSFJVMJN.js +7 -0
  121. package/dist/errorMessage/src/ErrorMessage.css +12 -12
  122. package/dist/errorMessage/src/ErrorMessage.d.ts +1 -1
  123. package/dist/errorMessage/src/ErrorMessage.js +4 -4
  124. package/dist/errorMessage/src/ErrorMessageContext.d.ts +1 -1
  125. package/dist/errorMessage/src/ErrorMessageContext.js +1 -1
  126. package/dist/errorMessage/src/index.css +12 -12
  127. package/dist/errorMessage/src/index.d.ts +1 -1
  128. package/dist/errorMessage/src/index.js +4 -4
  129. package/dist/helperMessage/src/HelperMessage.css +12 -12
  130. package/dist/helperMessage/src/HelperMessage.d.ts +1 -1
  131. package/dist/helperMessage/src/HelperMessage.js +4 -4
  132. package/dist/helperMessage/src/HelperMessageContext.d.ts +1 -1
  133. package/dist/helperMessage/src/HelperMessageContext.js +1 -1
  134. package/dist/helperMessage/src/index.css +12 -12
  135. package/dist/helperMessage/src/index.d.ts +1 -1
  136. package/dist/helperMessage/src/index.js +4 -4
  137. package/dist/i18n/src/index.js +2 -2
  138. package/dist/i18n/src/useLocalizedString.js +2 -2
  139. package/dist/inputs/src/InputGroup.css +111 -0
  140. package/dist/inputs/src/InputGroup.d.ts +24 -0
  141. package/dist/inputs/src/InputGroup.js +6 -0
  142. package/dist/inputs/src/InputGroupContext.d.ts +8 -0
  143. package/dist/inputs/src/InputGroupContext.js +2 -0
  144. package/dist/inputs/src/PasswordField.css +2527 -0
  145. package/dist/inputs/src/PasswordField.d.ts +33 -0
  146. package/dist/inputs/src/PasswordField.js +186 -0
  147. package/dist/inputs/src/PasswordFieldContext.d.ts +8 -0
  148. package/dist/inputs/src/PasswordFieldContext.js +2 -0
  149. package/dist/inputs/src/SearchField.css +2548 -0
  150. package/dist/inputs/src/SearchField.d.ts +42 -0
  151. package/dist/inputs/src/SearchField.js +186 -0
  152. package/dist/inputs/src/SearchFieldContext.d.ts +8 -0
  153. package/dist/inputs/src/SearchFieldContext.js +2 -0
  154. package/dist/inputs/src/TextField.css +2531 -0
  155. package/dist/inputs/src/TextField.d.ts +49 -0
  156. package/dist/inputs/src/TextField.js +79 -0
  157. package/dist/inputs/src/TextFieldContext.d.ts +8 -0
  158. package/dist/inputs/src/TextFieldContext.js +2 -0
  159. package/dist/inputs/src/index.css +2531 -0
  160. package/dist/inputs/src/index.d.ts +7 -0
  161. package/dist/inputs/src/index.js +79 -0
  162. package/dist/layout/src/Content.d.ts +17 -0
  163. package/dist/layout/src/Content.js +3 -0
  164. package/dist/layout/src/ContentContext.d.ts +10 -0
  165. package/dist/layout/src/ContentContext.js +2 -0
  166. package/dist/layout/src/Flex.js +1 -1
  167. package/dist/layout/src/Footer.d.ts +17 -0
  168. package/dist/layout/src/Footer.js +3 -0
  169. package/dist/layout/src/FooterContext.d.ts +10 -0
  170. package/dist/layout/src/FooterContext.js +2 -0
  171. package/dist/layout/src/Grid.js +2 -55
  172. package/dist/layout/src/Inline.js +3 -31
  173. package/dist/layout/src/Stack.js +3 -29
  174. package/dist/overlays/Popover/src/Popover.css +2456 -0
  175. package/dist/overlays/Popover/src/Popover.d.ts +20 -0
  176. package/dist/overlays/Popover/src/Popover.js +76 -0
  177. package/dist/overlays/Popover/src/PopoverContext.d.ts +9 -0
  178. package/dist/overlays/Popover/src/PopoverContext.js +2 -0
  179. package/dist/overlays/Popover/src/index.css +2456 -0
  180. package/dist/overlays/Popover/src/index.d.ts +6 -0
  181. package/dist/overlays/Popover/src/index.js +76 -0
  182. package/dist/radio/src/Radio.css +31 -31
  183. package/dist/radio/src/Radio.js +5 -5
  184. package/dist/radio/src/RadioContext.js +1 -1
  185. package/dist/radio/src/RadioField.css +16 -16
  186. package/dist/radio/src/RadioField.js +5 -4
  187. package/dist/radio/src/RadioFieldContext.js +1 -1
  188. package/dist/radio/src/RadioGroup.css +137 -137
  189. package/dist/radio/src/RadioGroup.js +4 -4
  190. package/dist/radio/src/RadioGroupContext.js +1 -1
  191. package/dist/radio/src/RadioList.js +1 -1
  192. package/dist/radio/src/RadioListContext.js +1 -1
  193. package/dist/radio/src/index.css +71 -71
  194. package/dist/radio/src/index.js +9 -9
  195. package/dist/switch/src/Switch.css +26 -26
  196. package/dist/switch/src/Switch.js +5 -5
  197. package/dist/switch/src/SwitchContext.js +1 -1
  198. package/dist/switch/src/SwitchField.css +16 -16
  199. package/dist/switch/src/SwitchField.js +3 -3
  200. package/dist/switch/src/SwitchFieldContext.js +1 -1
  201. package/dist/switch/src/index.css +32 -32
  202. package/dist/switch/src/index.js +6 -6
  203. package/dist/tag/src/Tag.css +2380 -0
  204. package/dist/tag/src/Tag.d.ts +28 -0
  205. package/dist/tag/src/Tag.js +74 -0
  206. package/dist/tag/src/TagContext.d.ts +8 -0
  207. package/dist/tag/src/TagContext.js +2 -0
  208. package/dist/tag/src/TagGroup.css +239 -0
  209. package/dist/tag/src/TagGroup.d.ts +24 -0
  210. package/dist/tag/src/TagGroup.js +10 -0
  211. package/dist/tag/src/TagGroupContext.d.ts +8 -0
  212. package/dist/tag/src/TagGroupContext.js +2 -0
  213. package/dist/tag/src/TagList.d.ts +15 -0
  214. package/dist/tag/src/TagList.js +4 -0
  215. package/dist/tag/src/TagListContext.d.ts +8 -0
  216. package/dist/tag/src/TagListContext.js +2 -0
  217. package/dist/tag/src/index.css +2380 -0
  218. package/dist/tag/src/index.d.ts +9 -0
  219. package/dist/tag/src/index.js +74 -0
  220. package/dist/typography/Heading/src/Heading.css +2380 -0
  221. package/dist/typography/Heading/src/Heading.d.ts +57 -0
  222. package/dist/typography/Heading/src/Heading.js +74 -0
  223. package/dist/typography/Heading/src/HeadingContext.d.ts +8 -0
  224. package/dist/typography/Heading/src/HeadingContext.js +2 -0
  225. package/dist/typography/Heading/src/index.css +2380 -0
  226. package/dist/typography/Heading/src/index.d.ts +5 -0
  227. package/dist/typography/Heading/src/index.js +74 -0
  228. package/dist/{Label → typography/Label}/src/Label.css +14 -14
  229. package/dist/{Label → typography/Label}/src/Label.d.ts +2 -3
  230. package/dist/typography/Label/src/Label.js +4 -0
  231. package/dist/typography/Label/src/LabelContext.js +2 -0
  232. package/dist/{Label → typography/Label}/src/index.css +14 -14
  233. package/dist/{Label → typography/Label}/src/index.d.ts +1 -1
  234. package/dist/typography/Label/src/index.js +4 -0
  235. package/dist/typography/OverlineText/src/OverlineText.css +42 -0
  236. package/dist/typography/OverlineText/src/OverlineText.d.ts +15 -0
  237. package/dist/typography/OverlineText/src/OverlineText.js +4 -0
  238. package/dist/typography/OverlineText/src/OverlineTextContext.d.ts +8 -0
  239. package/dist/typography/OverlineText/src/OverlineTextContext.js +2 -0
  240. package/dist/typography/OverlineText/src/index.css +42 -0
  241. package/dist/typography/OverlineText/src/index.d.ts +5 -0
  242. package/dist/typography/OverlineText/src/index.js +4 -0
  243. package/dist/{Text → typography/Text}/src/Text.css +10 -10
  244. package/dist/typography/Text/src/Text.js +6 -0
  245. package/dist/typography/Text/src/TextContext.js +2 -0
  246. package/dist/{Text → typography/Text}/src/index.css +10 -10
  247. package/dist/typography/Text/src/index.js +6 -0
  248. package/dist/utils/src/ClearSlots.js +1 -1
  249. package/dist/utils/src/SlotProvider.js +1 -1
  250. package/dist/utils/src/assertion.d.ts +15 -0
  251. package/dist/utils/src/assertion.js +2 -0
  252. package/dist/utils/src/composeClassnameRenderProps.js +1 -1
  253. package/dist/utils/src/cssModule.js +1 -1
  254. package/dist/utils/src/index.d.ts +1 -0
  255. package/dist/utils/src/index.js +3 -2
  256. package/dist/utils/src/isTextOnlyChildren.js +1 -1
  257. package/dist/utils/src/useRenderProps.js +1 -1
  258. package/dist/utils/src/useSlot.js +1 -1
  259. package/package.json +13 -12
  260. package/dist/Label/src/Label.js +0 -4
  261. package/dist/Label/src/LabelContext.js +0 -2
  262. package/dist/Label/src/index.js +0 -4
  263. package/dist/Text/src/Text.js +0 -6
  264. package/dist/Text/src/TextContext.js +0 -2
  265. package/dist/Text/src/index.js +0 -6
  266. /package/dist/{Label → typography/Label}/src/LabelContext.d.ts +0 -0
  267. /package/dist/{Text → typography/Text}/src/Text.d.ts +0 -0
  268. /package/dist/{Text → typography/Text}/src/TextContext.d.ts +0 -0
  269. /package/dist/{Text → typography/Text}/src/index.d.ts +0 -0
@@ -0,0 +1,83 @@
1
+ import { InputGroupContext } from './chunk-6BFSSZCY.js';
2
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
3
+ import { cssModule } from './chunk-KVDXQMWI.js';
4
+ import { SlotProvider } from './chunk-M36KANKC.js';
5
+ import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
6
+ import { mergeRefs } from '@react-aria/utils';
7
+ import { forwardRef, useRef, useCallback } from 'react';
8
+ import { useContextProps, useSlottedContext, InputContext, composeRenderProps, Group } from 'react-aria-components';
9
+ import { jsx } from 'react/jsx-runtime';
10
+
11
+ // css-module:./InputGroup.module.css#css-module
12
+ var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___EJcIH", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___ixFk2", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___KN-DI", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___Uvn7W" };
13
+ var GlobalInputGroupCssSelector = "hop-InputGroup";
14
+ function InputGroup(props, ref) {
15
+ var _a, _b;
16
+ [props, ref] = useContextProps(props, ref, InputGroupContext);
17
+ const inputRef = useRef(null);
18
+ const inputContext = useSlottedContext(InputContext);
19
+ const mergedRefs = (inputContext == null ? void 0 : inputContext.ref) ? mergeRefs(inputRef, inputContext == null ? void 0 : inputContext.ref) : inputRef;
20
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
21
+ const {
22
+ className,
23
+ style: styleProp,
24
+ children,
25
+ size: sizeProp,
26
+ isFluid: isFluidProp,
27
+ onMouseDown,
28
+ ...otherProps
29
+ } = ownProps;
30
+ const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
31
+ const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
32
+ const classNames = composeClassnameRenderProps(
33
+ className,
34
+ GlobalInputGroupCssSelector,
35
+ cssModule(
36
+ InputGroup_module_default,
37
+ "hop-InputGroup",
38
+ isFluid && "fluid",
39
+ size
40
+ ),
41
+ stylingProps.className
42
+ );
43
+ const style = composeRenderProps(styleProp, (prev) => {
44
+ return {
45
+ ...stylingProps.style,
46
+ ...prev
47
+ };
48
+ });
49
+ const handleMouseDown = useCallback((e) => {
50
+ onMouseDown == null ? void 0 : onMouseDown(e);
51
+ if (inputRef.current) {
52
+ inputRef.current.focus();
53
+ }
54
+ e.preventDefault();
55
+ }, [onMouseDown]);
56
+ return /* @__PURE__ */ jsx(
57
+ SlotProvider,
58
+ {
59
+ values: [
60
+ [InputContext, {
61
+ ...inputContext,
62
+ ref: mergedRefs,
63
+ className: composeClassnameRenderProps(inputContext == null ? void 0 : inputContext.className, InputGroup_module_default["hop-InputGroup__input"])
64
+ }]
65
+ ],
66
+ children: /* @__PURE__ */ jsx(
67
+ Group,
68
+ {
69
+ ...otherProps,
70
+ onMouseDown: handleMouseDown,
71
+ ref,
72
+ className: classNames,
73
+ style,
74
+ children
75
+ }
76
+ )
77
+ }
78
+ );
79
+ }
80
+ var _InputGroup = forwardRef(InputGroup);
81
+ _InputGroup.displayName = "InputGroup";
82
+
83
+ export { GlobalInputGroupCssSelector, _InputGroup };
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/overlays/Popover/src/PopoverContext.ts
4
+ var PopoverContext = createContext({});
5
+ PopoverContext.displayName = "PopoverContext";
6
+
7
+ export { PopoverContext };
@@ -0,0 +1,46 @@
1
+ // src/utils/src/assertion.ts
2
+ function isNull(value) {
3
+ return value == null;
4
+ }
5
+ function isUndefined(value) {
6
+ return typeof value === "undefined" || value === void 0;
7
+ }
8
+ function isDefined(value) {
9
+ return typeof value !== "undefined" && value !== void 0;
10
+ }
11
+ function isNil(value) {
12
+ return isNull(value) || isUndefined(value);
13
+ }
14
+ function isNilOrEmpty(value) {
15
+ return isNil(value) || value === "";
16
+ }
17
+ function isString(value) {
18
+ return Object.prototype.toString.call(value) === "[object String]";
19
+ }
20
+ function isNumber(value) {
21
+ return typeof value === "number";
22
+ }
23
+ function isArray(value) {
24
+ return Array.isArray(value);
25
+ }
26
+ function isEmptyArray(value) {
27
+ return isArray(value) && value.length === 0;
28
+ }
29
+ function isFunction(value) {
30
+ return typeof value === "function";
31
+ }
32
+ function isObject(value) {
33
+ return typeof value === "object" && !Array.isArray(value) && value != null;
34
+ }
35
+ function isPlainObject(value) {
36
+ if (Object.prototype.toString.call(value) !== "[object Object]") {
37
+ return false;
38
+ }
39
+ const prototype = Object.getPrototypeOf(value);
40
+ return prototype === null || prototype === Object.prototype;
41
+ }
42
+ function isPromise(value) {
43
+ return !isNil(value) && !isNil(value.then);
44
+ }
45
+
46
+ export { isArray, isDefined, isEmptyArray, isFunction, isNil, isNilOrEmpty, isNull, isNumber, isObject, isPlainObject, isPromise, isString, isUndefined };
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/typography/Heading/src/HeadingContext.ts
4
+ var HeadingContext = createContext({});
5
+ HeadingContext.displayName = "HeadingContext";
6
+
7
+ export { HeadingContext };
@@ -0,0 +1,32 @@
1
+ import { ClearButtonContext } from './chunk-DXVKHP4V.js';
2
+ import { _EmbeddedButton } from './chunk-LYV2D5RZ.js';
3
+ import { useLocalizedString } from './chunk-H6CDFWVR.js';
4
+ import { DismissIcon } from '@hopper-ui/icons';
5
+ import { forwardRef } from 'react';
6
+ import { useContextProps } from 'react-aria-components';
7
+ import { jsx } from 'react/jsx-runtime';
8
+
9
+ var GlobalClearButtonCssSelector = "hop-ClearButton";
10
+ function ClearButton(props, ref) {
11
+ [props, ref] = useContextProps(props, ref, ClearButtonContext);
12
+ const stringFormatter = useLocalizedString();
13
+ const {
14
+ "aria-label": ariaLabel = stringFormatter.format("ClearButton.clearAriaLabel"),
15
+ size = "md",
16
+ ...otherProps
17
+ } = props;
18
+ return /* @__PURE__ */ jsx(
19
+ _EmbeddedButton,
20
+ {
21
+ ref,
22
+ "aria-label": ariaLabel,
23
+ size,
24
+ ...otherProps,
25
+ children: /* @__PURE__ */ jsx(DismissIcon, {})
26
+ }
27
+ );
28
+ }
29
+ var _ClearButton = forwardRef(ClearButton);
30
+ _ClearButton.displayName = "ClearButton";
31
+
32
+ export { GlobalClearButtonCssSelector, _ClearButton };
@@ -1,12 +1,12 @@
1
1
  import { useSlot } from './chunk-H5YTU3U7.js';
2
- import { useLocalizedString } from './chunk-BPM4ETTB.js';
3
2
  import { useRenderProps } from './chunk-NH3IVMXB.js';
3
+ import { useLocalizedString } from './chunk-H6CDFWVR.js';
4
+ import { _Spinner } from './chunk-WLSLSMK7.js';
4
5
  import { ButtonContext } from './chunk-WMTWFKKP.js';
5
6
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
6
- import { _Spinner } from './chunk-G7RKLBFT.js';
7
+ import { _Text } from './chunk-4RIAVSLK.js';
8
+ import { TextContext } from './chunk-X6SER3TZ.js';
7
9
  import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
8
- import { _Text } from './chunk-HUJ3PTM7.js';
9
- import { TextContext } from './chunk-OE5BLFZI.js';
10
10
  import { cssModule } from './chunk-KVDXQMWI.js';
11
11
  import { SlotProvider } from './chunk-M36KANKC.js';
12
12
  import { IconListContext } from './chunk-DHVVYSLB.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___pJ-SR", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___vCgE0", "hop-Button--fluid": "Button-module__hop-Button--fluid___Ap2-3", "hop-Button--sm": "Button-module__hop-Button--sm___wbnfe", "hop-Button--primary": "Button-module__hop-Button--primary___OEdwW", "hop-Button--md": "Button-module__hop-Button--md___QAIfm", "hop-Button--secondary": "Button-module__hop-Button--secondary___ZCS63", "hop-Button--upsell": "Button-module__hop-Button--upsell___E3SYs", "hop-Button--danger": "Button-module__hop-Button--danger___ZOfPR", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___rYkpH", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___zCDkm", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___tnrgb", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___O6HR8", "hop-Button__icon": "Button-module__hop-Button__icon___rLXPv", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___RGTNp", "hop-Button__text": "Button-module__hop-Button__text___nIDoe", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___-DwWE", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___QHF2h" };
22
+ var Button_module_default = { "hop-Button": "Button-module__hop-Button___FaloC", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___I7AGj", "hop-Button--fluid": "Button-module__hop-Button--fluid___WpcgG", "hop-Button--sm": "Button-module__hop-Button--sm___RzTLv", "hop-Button--primary": "Button-module__hop-Button--primary___XnfK-", "hop-Button--md": "Button-module__hop-Button--md___FgAvl", "hop-Button--secondary": "Button-module__hop-Button--secondary___EbTA7", "hop-Button--upsell": "Button-module__hop-Button--upsell___THmQF", "hop-Button--danger": "Button-module__hop-Button--danger___bIFTk", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___k-QFo", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___HcAv6", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___aRJ8l", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___KBKEz", "hop-Button__icon": "Button-module__hop-Button__icon___fzwBg", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___mBFYH", "hop-Button__text": "Button-module__hop-Button__text___4wltD", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___UV66v", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___x1eFR" };
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) {
@@ -70,7 +70,7 @@ function Button(props, ref) {
70
70
  className,
71
71
  children: childrenProp,
72
72
  size: sizeProp,
73
- fluid: fluidProp,
73
+ isFluid: isFluidProp,
74
74
  variant = "primary",
75
75
  isLoading,
76
76
  style: styleProp,
@@ -78,7 +78,7 @@ function Button(props, ref) {
78
78
  } = ownProps;
79
79
  const [textRef, hasText] = useSlot();
80
80
  const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
81
- const fluid = (_b = useResponsiveValue(fluidProp)) != null ? _b : false;
81
+ const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
82
82
  const classNames = composeClassnameRenderProps(
83
83
  className,
84
84
  GlobalButtonCssSelector,
@@ -87,7 +87,7 @@ function Button(props, ref) {
87
87
  "hop-Button",
88
88
  variant,
89
89
  size,
90
- fluid && "fluid",
90
+ isFluid && "fluid",
91
91
  isLoading && "loading",
92
92
  !hasText && "icon-only"
93
93
  ),
@@ -1,6 +1,6 @@
1
- import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
1
+ import { _Label } from './chunk-CTK5YVBZ.js';
2
2
  import { SpinnerContext } from './chunk-4ZYV2XLW.js';
3
- import { _Label } from './chunk-TRS7R4W3.js';
3
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
4
4
  import { cssModule } from './chunk-KVDXQMWI.js';
5
5
  import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
6
6
  import { forwardRef } from 'react';
@@ -8,7 +8,7 @@ import { useContextProps, ProgressBar } from 'react-aria-components';
8
8
  import { jsx, jsxs } from 'react/jsx-runtime';
9
9
 
10
10
  // css-module:./Spinner.module.css#css-module
11
- var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___aEM81", "spin": "Spinner-module__spin___7FYor", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___OD2lW", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___sXKHE", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___L-WLb", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___DpgY-", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___2StSk", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___uof8N" };
11
+ var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___g8YMK", "spin": "Spinner-module__spin___AHP-g", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___ENKbf", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___dU1Hu", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___e6crn", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___aQB8a", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___PUZTX", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___j4f6H" };
12
12
  var GlobalSpinnerCssSelector = "hop-Spinner";
13
13
  var SpinnerToLabelSizeAdapter = {
14
14
  sm: "xs",
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/typography/OverlineText/src/OverlineTextContext.ts
4
+ var OverlineTextContext = createContext({});
5
+ OverlineTextContext.displayName = "OverlineTextContext";
6
+
7
+ export { OverlineTextContext };
@@ -0,0 +1,44 @@
1
+ import { TagListContext } from './chunk-XLKYXKWE.js';
2
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
3
+ import { useStyledSystem } from '@hopper-ui/styled-system';
4
+ import { forwardRef } from 'react';
5
+ import { useContextProps, composeRenderProps, TagList as TagList$1 } from 'react-aria-components';
6
+ import { jsx } from 'react/jsx-runtime';
7
+
8
+ var GlobalTagListCssSelector = "hop-TagList";
9
+ function TagList(props, ref) {
10
+ [props, ref] = useContextProps(props, ref, TagListContext);
11
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
12
+ const {
13
+ className,
14
+ children,
15
+ style: styleProp,
16
+ ...otherProps
17
+ } = ownProps;
18
+ const classNames = composeClassnameRenderProps(
19
+ className,
20
+ GlobalTagListCssSelector,
21
+ "hop-TagList",
22
+ stylingProps.className
23
+ );
24
+ const style = composeRenderProps(styleProp, (prev) => {
25
+ return {
26
+ ...stylingProps.style,
27
+ ...prev
28
+ };
29
+ });
30
+ return /* @__PURE__ */ jsx(
31
+ TagList$1,
32
+ {
33
+ ...otherProps,
34
+ ref,
35
+ className: classNames,
36
+ style,
37
+ children
38
+ }
39
+ );
40
+ }
41
+ var _TagList = forwardRef(TagList);
42
+ _TagList.displayName = "TagList";
43
+
44
+ export { GlobalTagListCssSelector, _TagList };
@@ -1,6 +1,6 @@
1
1
  import { createContext } from 'react';
2
2
 
3
- // src/Text/src/TextContext.ts
3
+ // src/typography/Text/src/TextContext.ts
4
4
  var TextContext = createContext({});
5
5
  TextContext.displayName = "TextContext";
6
6
 
@@ -1,9 +1,9 @@
1
1
  import { SwitchContext } from './chunk-YHBJAXUY.js';
2
2
  import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
3
- import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
4
- import { _Text } from './chunk-HUJ3PTM7.js';
3
+ import { _Text } from './chunk-4RIAVSLK.js';
5
4
  import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
6
- import { TextContext } from './chunk-OE5BLFZI.js';
5
+ import { TextContext } from './chunk-X6SER3TZ.js';
6
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
7
7
  import { cssModule } from './chunk-KVDXQMWI.js';
8
8
  import { SlotProvider } from './chunk-M36KANKC.js';
9
9
  import { IconListContext } from './chunk-DHVVYSLB.js';
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
14
14
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
15
15
 
16
16
  // css-module:./Switch.module.css#css-module
17
- var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___6Sj-R", "hop-Switch--sm": "Switch-module__hop-Switch--sm___KZDNj", "hop-Switch--md": "Switch-module__hop-Switch--md___vSzXv", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___HHYut", "hop-Switch__text": "Switch-module__hop-Switch__text___83KFO", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___fkOxm", "hop-Switch__icon": "Switch-module__hop-Switch__icon___AvDWN" };
17
+ var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___n4jxE", "hop-Switch--sm": "Switch-module__hop-Switch--sm___-f1X2", "hop-Switch--md": "Switch-module__hop-Switch--md___QZsov", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___iRVTh", "hop-Switch__text": "Switch-module__hop-Switch__text___QeO6o", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___ka5FC", "hop-Switch__icon": "Switch-module__hop-Switch__icon___j9U5W" };
18
18
  var GlobalSwitchCssSelector = "hop-Switch";
19
19
  function Switch(props, ref) {
20
20
  var _a;
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
8
8
  import { jsx } from 'react/jsx-runtime';
9
9
 
10
10
  // css-module:./IconList.module.css#css-module
11
- var IconList_module_default = { "hop-IconList": "IconList-module__hop-IconList___xoL0K" };
11
+ var IconList_module_default = { "hop-IconList": "IconList-module__hop-IconList___bEeEm" };
12
12
  var GlobalIconListCssSelector = "hop-IconList";
13
13
  function IconList(props, ref) {
14
14
  [props, ref] = useContextProps(props, ref, IconListContext);
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/tag/src/TagListContext.ts
4
+ var TagListContext = createContext({});
5
+ TagListContext.displayName = "TagListContext";
6
+
7
+ export { TagListContext };
@@ -0,0 +1,30 @@
1
+ import { _Flex } from './chunk-TVFC2MJ4.js';
2
+ import { forwardRef } from 'react';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ function Inline(props, ref) {
6
+ const {
7
+ alignX,
8
+ alignY = "center",
9
+ gap = "inline-md",
10
+ wrap = true,
11
+ reverse,
12
+ ...rest
13
+ } = props;
14
+ return /* @__PURE__ */ jsx(
15
+ _Flex,
16
+ {
17
+ ref,
18
+ alignItems: alignY,
19
+ justifyContent: alignX,
20
+ direction: reverse ? "row-reverse" : "row",
21
+ gap,
22
+ wrap,
23
+ ...rest
24
+ }
25
+ );
26
+ }
27
+ var _Inline = forwardRef(Inline);
28
+ _Inline.displayName = "Inline";
29
+
30
+ export { _Inline };
@@ -0,0 +1,96 @@
1
+ import { PopoverContext } from './chunk-SC6ZK5ON.js';
2
+ import { src_exports } from './chunk-OQW6BT6B.js';
3
+ import { HeadingContext } from './chunk-TXZ6BMFR.js';
4
+ import { isFunction, isNil } from './chunk-TIPN4VYD.js';
5
+ import { ContentContext } from './chunk-IXB2WK56.js';
6
+ import { FooterContext } from './chunk-I67NHYK4.js';
7
+ import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
8
+ import { ButtonContext } from './chunk-WMTWFKKP.js';
9
+ import { _HopperProvider } from './chunk-ANVMQBBG.js';
10
+ import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
11
+ import { cssModule } from './chunk-KVDXQMWI.js';
12
+ import { SlotProvider } from './chunk-M36KANKC.js';
13
+ import { LinkContext } from './chunk-4VVNSXIB.js';
14
+ import { useStyledSystem } from '@hopper-ui/styled-system';
15
+ import clsx from 'clsx';
16
+ import { forwardRef } from 'react';
17
+ import { DialogTrigger, useContextProps, Popover as Popover$1, Dialog } from 'react-aria-components';
18
+ import { jsx } from 'react/jsx-runtime';
19
+
20
+ // css-module:./Popover.module.css#css-module
21
+ var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___h8MZi", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___Av8Rn", "hop-Popover__title": "Popover-module__hop-Popover__title___-fd6i", "hop-Popover__actions": "Popover-module__hop-Popover__actions___annkX", "hop-Popover__action": "Popover-module__hop-Popover__action___YjIHH", "hop-Popover__content": "Popover-module__hop-Popover__content___17dUJ", "hop-Popover__footer": "Popover-module__hop-Popover__footer___m-UuZ" };
22
+ var GlobalPopoverCssSelector = "hop-Popover";
23
+ var PopoverTrigger = (props) => /* @__PURE__ */ jsx(DialogTrigger, { ...props, children: props.children });
24
+ function Popover(props, ref) {
25
+ [props, ref] = useContextProps(props, ref, PopoverContext);
26
+ const { stylingProps, ...ownProps } = useStyledSystem(props);
27
+ const {
28
+ children,
29
+ className,
30
+ offset = 4,
31
+ boundaryOffset,
32
+ ...otherProps
33
+ } = ownProps;
34
+ const { colorScheme } = (0, src_exports.useColorSchemeContext)();
35
+ const popoverClassNames = composeClassnameRenderProps(
36
+ className,
37
+ GlobalPopoverCssSelector,
38
+ cssModule(
39
+ Popover_module_default,
40
+ "hop-Popover"
41
+ )
42
+ );
43
+ return /* @__PURE__ */ jsx(
44
+ Popover$1,
45
+ {
46
+ ...otherProps,
47
+ offset,
48
+ ref,
49
+ className: popoverClassNames,
50
+ arrowBoundaryOffset: boundaryOffset,
51
+ children: (state) => /* @__PURE__ */ jsx(_HopperProvider, { colorScheme, children: /* @__PURE__ */ jsx(
52
+ Dialog,
53
+ {
54
+ className: clsx(stylingProps.className, Popover_module_default["hop-Popover__dialog"]),
55
+ style: stylingProps.style,
56
+ children: /* @__PURE__ */ jsx(
57
+ SlotProvider,
58
+ {
59
+ values: [
60
+ [HeadingContext, {
61
+ className: Popover_module_default["hop-Popover__title"],
62
+ size: "xs"
63
+ }],
64
+ [ButtonContext, {
65
+ size: "sm",
66
+ className: Popover_module_default["hop-Popover__action"]
67
+ }],
68
+ [ButtonGroupContext, {
69
+ size: "sm",
70
+ align: "end",
71
+ className: Popover_module_default["hop-Popover__actions"]
72
+ }],
73
+ [ContentContext, {
74
+ className: Popover_module_default["hop-Popover__content"]
75
+ }],
76
+ [FooterContext, {
77
+ className: Popover_module_default["hop-Popover__footer"]
78
+ }],
79
+ [LinkContext, {
80
+ size: "sm",
81
+ variant: "primary",
82
+ isQuiet: true
83
+ }]
84
+ ],
85
+ children: isFunction(children) && !isNil(children) ? children(state) : children
86
+ }
87
+ )
88
+ }
89
+ ) })
90
+ }
91
+ );
92
+ }
93
+ var _Popover = forwardRef(Popover);
94
+ _Popover.displayName = "Popover";
95
+
96
+ export { GlobalPopoverCssSelector, PopoverTrigger, _Popover };
@@ -0,0 +1,55 @@
1
+ import { Div, getSizingValue } from '@hopper-ui/styled-system';
2
+ import { forwardRef } from 'react';
3
+ import { jsx } from 'react/jsx-runtime';
4
+
5
+ // src/layout/src/Grid.tsx
6
+ function Grid(props, ref) {
7
+ const {
8
+ autoRows,
9
+ areas,
10
+ templateColumns,
11
+ templateRows,
12
+ autoColumns,
13
+ autoFlow,
14
+ inline,
15
+ UNSAFE_autoRows,
16
+ UNSAFE_templateColumns,
17
+ UNSAFE_templateRows,
18
+ UNSAFE_autoColumns,
19
+ ...otherProps
20
+ } = props;
21
+ return /* @__PURE__ */ jsx(
22
+ Div,
23
+ {
24
+ ref,
25
+ display: inline ? "inline-grid" : "grid",
26
+ gridAutoRows: autoRows,
27
+ gridTemplateAreas: areas,
28
+ gridTemplateColumns: templateColumns,
29
+ gridTemplateRows: templateRows,
30
+ gridAutoColumns: autoColumns,
31
+ gridAutoFlow: autoFlow,
32
+ UNSAFE_gridAutoRows: UNSAFE_autoRows,
33
+ UNSAFE_gridTemplateColumns: UNSAFE_templateColumns,
34
+ UNSAFE_gridTemplateRows: UNSAFE_templateRows,
35
+ UNSAFE_gridAutoColumns: UNSAFE_autoColumns,
36
+ ...otherProps
37
+ }
38
+ );
39
+ }
40
+ function repeat(count, repetition) {
41
+ return `repeat(${count}, ${Array.isArray(repetition) ? interpolateGridTemplateArray(repetition) : getSizingValue(repetition)})`;
42
+ }
43
+ function minmax(min, max) {
44
+ return `minmax(${getSizingValue(min)}, ${getSizingValue(max)})`;
45
+ }
46
+ function fitContent(dimension) {
47
+ return `fit-content(${getSizingValue(dimension)})`;
48
+ }
49
+ function interpolateGridTemplateArray(values) {
50
+ return values.map((x) => getSizingValue(x)).join(" ");
51
+ }
52
+ var _Grid = forwardRef(Grid);
53
+ _Grid.displayName = "Inline";
54
+
55
+ export { _Grid, fitContent, minmax, repeat };
@@ -0,0 +1,7 @@
1
+ import { createContext } from 'react';
2
+
3
+ // src/badge/src/BadgeContext.ts
4
+ var BadgeContext = createContext({});
5
+ BadgeContext.displayName = "BadgeContext";
6
+
7
+ export { BadgeContext };
@@ -1,5 +1,5 @@
1
- /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/Text/src/Text.module.css/#css-module-data */
2
- .Text-module__hop-Text___eHjGr {
1
+ /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/Text/src/Text.module.css/#css-module-data */
2
+ .Text-module__hop-Text___M-T6r {
3
3
  --hop-Text-xs-font-size: var(--hop-body-xs-font-size);
4
4
  --hop-Text-xs-font-family: var(--hop-body-xs-font-family);
5
5
  --hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
@@ -29,49 +29,49 @@
29
29
  --hop-Text-inherit-size-font-weight: inherit;
30
30
  --hop-Text-inherit-size-line-height: inherit;
31
31
  }
32
- :where(.Text-module__hop-Text___eHjGr) {
32
+ :where(.Text-module__hop-Text___M-T6r) {
33
33
  font-family: var(--font-family);
34
34
  font-size: var(--font-size);
35
35
  font-weight: var(--font-weight);
36
36
  line-height: var(--line-height);
37
37
  }
38
- :where(.Text-module__hop-Text--xs___6lQf3) {
38
+ :where(.Text-module__hop-Text--xs___4XQLX) {
39
39
  --font-size: var(--hop-Text-xs-font-size);
40
40
  --font-family: var(--hop-Text-xs-font-family);
41
41
  --font-weight: var(--hop-Text-xs-font-weight);
42
42
  --line-height: var(--hop-Text-xs-line-height);
43
43
  }
44
- :where(.Text-module__hop-Text--sm___79uWV) {
44
+ :where(.Text-module__hop-Text--sm___dM76a) {
45
45
  --font-size: var(--hop-Text-sm-font-size);
46
46
  --font-family: var(--hop-Text-sm-font-family);
47
47
  --font-weight: var(--hop-Text-sm-font-weight);
48
48
  --line-height: var(--hop-Text-sm-line-height);
49
49
  }
50
- :where(.Text-module__hop-Text--md___kaNdx) {
50
+ :where(.Text-module__hop-Text--md___M60JS) {
51
51
  --font-size: var(--hop-Text-md-font-size);
52
52
  --font-family: var(--hop-Text-md-font-family);
53
53
  --font-weight: var(--hop-Text-md-font-weight);
54
54
  --line-height: var(--hop-Text-md-line-height);
55
55
  }
56
- :where(.Text-module__hop-Text--lg___DD3l0) {
56
+ :where(.Text-module__hop-Text--lg___5mCtN) {
57
57
  --font-size: var(--hop-Text-lg-font-size);
58
58
  --font-family: var(--hop-Text-lg-font-family);
59
59
  --font-weight: var(--hop-Text-lg-font-weight);
60
60
  --line-height: var(--hop-Text-lg-line-height);
61
61
  }
62
- :where(.Text-module__hop-Text--xl___CU19-) {
62
+ :where(.Text-module__hop-Text--xl___bi1Vo) {
63
63
  --font-size: var(--hop-Text-xl-font-size);
64
64
  --font-family: var(--hop-Text-xl-font-family);
65
65
  --font-weight: var(--hop-Text-xl-font-weight);
66
66
  --line-height: var(--hop-Text-xl-line-height);
67
67
  }
68
- :where(.Text-module__hop-Text--2xl___Zif3-) {
68
+ :where(.Text-module__hop-Text--2xl___5SCg1) {
69
69
  --font-size: var(--hop-Text-2xl-font-size);
70
70
  --font-family: var(--hop-Text-2xl-font-family);
71
71
  --font-weight: var(--hop-Text-2xl-font-weight);
72
72
  --line-height: var(--hop-Text-2xl-line-height);
73
73
  }
74
- :where(.Text-module__hop-Text--inherit___NWdla) {
74
+ :where(.Text-module__hop-Text--inherit___X6rIb) {
75
75
  --font-size: var(--hop-Text-inherit-size-font-size);
76
76
  --font-family: var(--hop-Text-inherit-size-font-family);
77
77
  --font-weight: var(--hop-Text-inherit-size-font-weight);
@@ -79,7 +79,7 @@
79
79
  }
80
80
 
81
81
  /* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/errorMessage/src/ErrorMessage.module.css/#css-module-data */
82
- .ErrorMessage-module__hop-ErrorMessage___rzxzc {
82
+ .ErrorMessage-module__hop-ErrorMessage___rwfLE {
83
83
  --hop-ErrorMessage-color: var(--hop-danger-text-weak);
84
84
  --hop-ErrorMessage-font-family: var(--hop-body-xs-font-family);
85
85
  --hop-ErrorMessage-font-size: var(--hop-body-xs-font-size);
@@ -96,7 +96,7 @@
96
96
  line-height: var(--hop-ErrorMessage-line-height);
97
97
  color: var(--hop-ErrorMessage-color);
98
98
  }
99
- .ErrorMessage-module__hop-ErrorMessage__icon___XMlVC {
99
+ .ErrorMessage-module__hop-ErrorMessage__icon___OY9OV {
100
100
  flex: 0 0 auto;
101
101
  align-self: flex-start;
102
102
  }
@@ -1,7 +1,7 @@
1
1
  import * as react from 'react';
2
2
  import { StyledComponentProps } from '@hopper-ui/styled-system';
3
3
  import { FieldErrorProps } from 'react-aria-components';
4
- import { TextProps } from '../../Text/src/Text.js';
4
+ import { TextProps } from '../../typography/Text/src/Text.js';
5
5
 
6
6
  declare const GlobalErrorMessageCssSelector = "hop-ErrorMessage";
7
7
  interface ErrorMessageProps extends StyledComponentProps<FieldErrorProps>, Omit<TextProps, "style" | "className" | "children" | "color" | "content"> {