@hopper-ui/components 1.0.3 → 1.0.5
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.
- package/CHANGELOG.md +14 -0
- package/dist/Avatar/src/AnonymousAvatar.css +69 -0
- package/dist/Avatar/src/AnonymousAvatar.d.ts +29 -0
- package/dist/Avatar/src/AnonymousAvatar.js +7 -0
- package/dist/Avatar/src/Avatar.css +265 -0
- package/dist/Avatar/src/Avatar.d.ts +60 -0
- package/dist/Avatar/src/Avatar.js +11 -0
- package/dist/Avatar/src/AvatarContext.d.ts +12 -0
- package/dist/Avatar/src/AvatarContext.js +2 -0
- package/dist/Avatar/src/DeletedAvatar.css +69 -0
- package/dist/Avatar/src/DeletedAvatar.d.ts +29 -0
- package/dist/Avatar/src/DeletedAvatar.js +7 -0
- package/dist/Avatar/src/RichIconAvatarImage.css +69 -0
- package/dist/Avatar/src/RichIconAvatarImage.d.ts +32 -0
- package/dist/Avatar/src/RichIconAvatarImage.js +5 -0
- package/dist/Avatar/src/RichIconAvatarImageContext.d.ts +14 -0
- package/dist/Avatar/src/RichIconAvatarImageContext.js +2 -0
- package/dist/Avatar/src/index.css +265 -0
- package/dist/Avatar/src/index.d.ts +14 -0
- package/dist/Avatar/src/index.js +13 -0
- package/dist/Avatar/src/useImageFallback.d.ts +34 -0
- package/dist/Avatar/src/useImageFallback.js +2 -0
- package/dist/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.js +2 -2
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +2 -2
- package/dist/Link/src/Link.css +31 -31
- package/dist/Link/src/Link.js +5 -5
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +5 -5
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +2 -2
- package/dist/badge/src/Badge.css +10 -10
- package/dist/badge/src/Badge.js +2 -2
- package/dist/badge/src/index.css +10 -10
- package/dist/badge/src/index.js +2 -2
- package/dist/buttons/src/Button.css +103 -103
- package/dist/buttons/src/Button.d.ts +2 -2
- package/dist/buttons/src/Button.js +6 -6
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +12 -12
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +12 -12
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +126 -126
- package/dist/buttons/src/index.js +9 -9
- package/dist/checkbox/src/Checkbox.css +35 -35
- package/dist/checkbox/src/Checkbox.js +4 -4
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +70 -70
- package/dist/checkbox/src/CheckboxGroup.js +1 -1
- package/dist/checkbox/src/index.css +70 -70
- package/dist/checkbox/src/index.js +6 -6
- package/dist/chip/src/Chip.css +33 -33
- package/dist/chip/src/Chip.js +3 -3
- package/dist/chip/src/index.css +33 -33
- package/dist/chip/src/index.js +3 -3
- package/dist/{chunk-3DWVMCIV.js → chunk-22YUFCHD.js} +2 -2
- package/dist/{chunk-5EPNXRCT.js → chunk-3IEED7AY.js} +1 -1
- package/dist/{chunk-XIOIAME2.js → chunk-3OWQHIJ6.js} +2 -2
- package/dist/{chunk-CTK5YVBZ.js → chunk-5F5CWOM4.js} +1 -1
- package/dist/{chunk-OGMLQRES.js → chunk-6WWYES56.js} +1 -1
- package/dist/{chunk-4RIAVSLK.js → chunk-7Q7VIED2.js} +1 -1
- package/dist/chunk-AES7QBQE.js +7 -0
- package/dist/{chunk-JLF7DSUY.js → chunk-BD53A2LL.js} +4 -4
- package/dist/{chunk-WLSLSMK7.js → chunk-BVGKXCQH.js} +2 -2
- package/dist/chunk-CP4AWOFU.js +81 -0
- package/dist/{chunk-LYV2D5RZ.js → chunk-F7S2I43Y.js} +1 -1
- package/dist/chunk-FYDLV5BM.js +46 -0
- package/dist/{chunk-DLTYFRKN.js → chunk-GELM73MQ.js} +4 -4
- package/dist/chunk-GFHBDUJD.js +17 -0
- package/dist/{chunk-RXBKOHT2.js → chunk-GWEUWPLT.js} +1 -1
- package/dist/{chunk-2VBOJKEP.js → chunk-IIZECZAH.js} +2 -2
- package/dist/chunk-JWW56J7M.js +7 -0
- package/dist/{chunk-JLFHTZUA.js → chunk-KOA2CREJ.js} +5 -5
- package/dist/{chunk-DJU2DUTQ.js → chunk-KOJGCQ3F.js} +3 -3
- package/dist/{chunk-EE75ND6V.js → chunk-KQPY2D3P.js} +1 -1
- package/dist/{chunk-UY7WQ7TC.js → chunk-LUAIMTPE.js} +7 -7
- package/dist/{chunk-Z3ID4UEE.js → chunk-N77LTZ4U.js} +3 -15
- package/dist/chunk-NS3XVOQ7.js +53 -0
- package/dist/{chunk-OQW6BT6B.js → chunk-NXNV5JDN.js} +50 -31
- package/dist/chunk-OPFRM3JC.js +161 -0
- package/dist/{chunk-UARL5M2W.js → chunk-P7JRKXBD.js} +1 -1
- package/dist/{chunk-XFKAXBB5.js → chunk-T6VFQSII.js} +4 -4
- package/dist/{chunk-OUN5KSHD.js → chunk-THCG3QCD.js} +1 -1
- package/dist/{chunk-BAKCRZAG.js → chunk-TM6742MU.js} +1 -1
- package/dist/{chunk-CTOL6AVF.js → chunk-UOBWYTW7.js} +5 -5
- package/dist/{chunk-IOLNBXZM.js → chunk-UYVKDU2W.js} +2 -2
- package/dist/{chunk-7NT6M6KM.js → chunk-W2SKBBWE.js} +2 -2
- package/dist/{chunk-3XFTRBIC.js → chunk-WFPCHFJI.js} +1 -1
- package/dist/{chunk-GF2U6E4D.js → chunk-WNVTTHBK.js} +2 -2
- package/dist/chunk-Z33QZKRG.js +46 -0
- package/dist/{chunk-YQHNOQ3N.js → chunk-ZCEVY7LM.js} +3 -3
- package/dist/errorMessage/src/ErrorMessage.css +11 -11
- package/dist/errorMessage/src/ErrorMessage.js +2 -2
- package/dist/errorMessage/src/index.css +11 -11
- package/dist/errorMessage/src/index.js +2 -2
- package/dist/helperMessage/src/HelperMessage.css +11 -11
- package/dist/helperMessage/src/HelperMessage.js +2 -2
- package/dist/helperMessage/src/index.css +11 -11
- package/dist/helperMessage/src/index.js +2 -2
- package/dist/inputs/src/InputGroup.css +12 -12
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/PasswordField.css +540 -355
- package/dist/inputs/src/PasswordField.js +40 -32
- package/dist/inputs/src/SearchField.css +546 -361
- package/dist/inputs/src/SearchField.d.ts +2 -2
- package/dist/inputs/src/SearchField.js +40 -32
- package/dist/inputs/src/TextField.css +541 -356
- package/dist/inputs/src/TextField.js +40 -32
- package/dist/inputs/src/index.css +541 -356
- package/dist/inputs/src/index.js +40 -32
- package/dist/layout/src/Grid.d.ts +2 -22
- package/dist/layout/src/Grid.js +1 -1
- package/dist/layout/src/grid-helpers.d.ts +24 -0
- package/dist/layout/src/grid-helpers.js +2 -0
- package/dist/overlays/Popover/src/Popover.css +600 -415
- package/dist/overlays/Popover/src/Popover.js +39 -31
- package/dist/overlays/Popover/src/index.css +600 -415
- package/dist/overlays/Popover/src/index.js +39 -31
- package/dist/radio/src/Radio.css +32 -32
- package/dist/radio/src/Radio.js +4 -4
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +67 -67
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +67 -67
- package/dist/radio/src/index.js +7 -7
- package/dist/switch/src/Switch.css +27 -28
- package/dist/switch/src/Switch.js +4 -4
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +33 -34
- package/dist/switch/src/index.js +5 -5
- package/dist/tag/src/Tag.css +593 -408
- package/dist/tag/src/Tag.js +38 -30
- package/dist/tag/src/TagGroup.css +28 -28
- package/dist/tag/src/TagGroup.js +1 -1
- package/dist/tag/src/index.css +593 -408
- package/dist/tag/src/index.js +38 -30
- package/dist/typography/Heading/src/Heading.css +593 -408
- package/dist/typography/Heading/src/Heading.js +38 -30
- package/dist/typography/Heading/src/index.css +593 -408
- package/dist/typography/Heading/src/index.js +38 -30
- package/dist/typography/Label/src/Label.css +9 -9
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +9 -9
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +6 -6
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +6 -6
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +9 -9
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +9 -9
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/index.js +1 -1
- package/package.json +5 -4
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { _Text } from './chunk-7Q7VIED2.js';
|
|
2
|
+
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
3
|
+
import { _RichIconAvatarImage } from './chunk-CP4AWOFU.js';
|
|
4
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
|
+
import { useImageFallback } from './chunk-NS3XVOQ7.js';
|
|
6
|
+
import { BrokenImageRichIcon } from '@hopper-ui/icons';
|
|
7
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
8
|
+
import { filterDOMProps } from '@react-aria/utils';
|
|
9
|
+
import clsx from 'clsx';
|
|
10
|
+
import { forwardRef, useMemo } from 'react';
|
|
11
|
+
import { useContextProps } from 'react-aria-components';
|
|
12
|
+
import { jsx } from 'react/jsx-runtime';
|
|
13
|
+
|
|
14
|
+
// css-module:./Avatar.module.css#css-module
|
|
15
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___d9YZ9", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___BWHEr", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___fNWQO", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___-6GnY", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___f8yyT", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___r5PUt", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___CG0YD", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___OIRSj", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___-uwSb", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___xhe3G", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___e38Gs", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___-GQzw", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___CeiJh", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___nvuXB", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___Q4Z9Z", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___TsOBZ", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___6YUZZ" };
|
|
16
|
+
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
17
|
+
var AvatarToTextSizeAdapter = {
|
|
18
|
+
xs: "xs",
|
|
19
|
+
sm: "xs",
|
|
20
|
+
md: "md",
|
|
21
|
+
lg: "lg",
|
|
22
|
+
xl: "xl",
|
|
23
|
+
"2xl": "xl"
|
|
24
|
+
};
|
|
25
|
+
function getColorIndex(name, maxNumberOfColor) {
|
|
26
|
+
let hashCode = 0;
|
|
27
|
+
for (let i = name.length - 1; i >= 0; i--) {
|
|
28
|
+
const character = name.charCodeAt(i);
|
|
29
|
+
const shift = i % 8;
|
|
30
|
+
hashCode ^= (character << shift) + (character >> 8 - shift);
|
|
31
|
+
}
|
|
32
|
+
return hashCode % maxNumberOfColor;
|
|
33
|
+
}
|
|
34
|
+
function getColorName(name) {
|
|
35
|
+
const variantToUse = `option${getColorIndex(name, 8) + 1}`;
|
|
36
|
+
return `decorative-${variantToUse}`;
|
|
37
|
+
}
|
|
38
|
+
function AvatarInitials(props) {
|
|
39
|
+
var _a;
|
|
40
|
+
const {
|
|
41
|
+
name,
|
|
42
|
+
size: sizeValue
|
|
43
|
+
} = props;
|
|
44
|
+
const size = (_a = useResponsiveValue(sizeValue)) != null ? _a : "md";
|
|
45
|
+
const initials = useMemo(() => {
|
|
46
|
+
const cleanName = name.replace(/\s+/g, " ").trim();
|
|
47
|
+
const [firstName, lastName] = cleanName.split(" ");
|
|
48
|
+
const letters = firstName && lastName ? `${firstName.charAt(0)}${lastName.charAt(0)}` : firstName.charAt(0);
|
|
49
|
+
return size === "xs" && letters.length > 1 ? letters.charAt(0) : letters;
|
|
50
|
+
}, [name, size]);
|
|
51
|
+
return /* @__PURE__ */ jsx(
|
|
52
|
+
_Text,
|
|
53
|
+
{
|
|
54
|
+
size: AvatarToTextSizeAdapter[size],
|
|
55
|
+
className: Avatar_module_default["hop-Avatar__initials"],
|
|
56
|
+
children: initials
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
function Avatar(props, ref) {
|
|
61
|
+
var _a;
|
|
62
|
+
[props, ref] = useContextProps(props, ref, AvatarContext);
|
|
63
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
64
|
+
const {
|
|
65
|
+
"aria-label": ariaLabel,
|
|
66
|
+
className,
|
|
67
|
+
fallbackSrc,
|
|
68
|
+
imageProps,
|
|
69
|
+
isDisabled,
|
|
70
|
+
name,
|
|
71
|
+
size: sizeValue,
|
|
72
|
+
slot,
|
|
73
|
+
src,
|
|
74
|
+
style,
|
|
75
|
+
...otherProps
|
|
76
|
+
} = ownProps;
|
|
77
|
+
const domProps = filterDOMProps(otherProps);
|
|
78
|
+
const { onError, onLoad, ...otherImageProps } = imageProps != null ? imageProps : {};
|
|
79
|
+
const { imageUrl, status } = useImageFallback({ src, fallbackSrc, onError, onLoad });
|
|
80
|
+
const imageLoaded = status === "loaded";
|
|
81
|
+
const imageFailed = status === "failed";
|
|
82
|
+
const size = (_a = useResponsiveValue(sizeValue)) != null ? _a : "md";
|
|
83
|
+
const isBrokenImage = src && imageFailed && fallbackSrc !== null;
|
|
84
|
+
const isImage = src && !imageFailed;
|
|
85
|
+
const isInitials = !src || src && imageFailed && fallbackSrc === null;
|
|
86
|
+
const classNames = clsx(
|
|
87
|
+
className,
|
|
88
|
+
GlobalAvatarCssSelector,
|
|
89
|
+
cssModule(
|
|
90
|
+
Avatar_module_default,
|
|
91
|
+
"hop-Avatar",
|
|
92
|
+
size,
|
|
93
|
+
isBrokenImage && "broken-image",
|
|
94
|
+
isImage && "image",
|
|
95
|
+
isInitials && getColorName(name)
|
|
96
|
+
),
|
|
97
|
+
stylingProps.className
|
|
98
|
+
);
|
|
99
|
+
const mergedStyles = {
|
|
100
|
+
...stylingProps.style,
|
|
101
|
+
...style
|
|
102
|
+
};
|
|
103
|
+
if (imageFailed && fallbackSrc !== null) {
|
|
104
|
+
return /* @__PURE__ */ jsx(
|
|
105
|
+
_RichIconAvatarImage,
|
|
106
|
+
{
|
|
107
|
+
...domProps,
|
|
108
|
+
"aria-label": ariaLabel != null ? ariaLabel : name,
|
|
109
|
+
className: classNames,
|
|
110
|
+
isDisabled,
|
|
111
|
+
ref,
|
|
112
|
+
size,
|
|
113
|
+
slot,
|
|
114
|
+
style: mergedStyles,
|
|
115
|
+
children: /* @__PURE__ */ jsx(BrokenImageRichIcon, {})
|
|
116
|
+
}
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
let content = null;
|
|
120
|
+
if (isInitials || imageLoaded) {
|
|
121
|
+
content = /* @__PURE__ */ jsx(
|
|
122
|
+
AvatarInitials,
|
|
123
|
+
{
|
|
124
|
+
...otherProps,
|
|
125
|
+
name,
|
|
126
|
+
size
|
|
127
|
+
}
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
if (imageLoaded) {
|
|
131
|
+
content = /* @__PURE__ */ jsx(
|
|
132
|
+
"img",
|
|
133
|
+
{
|
|
134
|
+
...filterDOMProps(otherImageProps),
|
|
135
|
+
alt: "",
|
|
136
|
+
"aria-hidden": true,
|
|
137
|
+
className: Avatar_module_default["hop-Avatar__image"],
|
|
138
|
+
onError,
|
|
139
|
+
src: imageUrl
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
return /* @__PURE__ */ jsx(
|
|
144
|
+
"div",
|
|
145
|
+
{
|
|
146
|
+
...domProps,
|
|
147
|
+
"aria-label": ariaLabel != null ? ariaLabel : name,
|
|
148
|
+
className: classNames,
|
|
149
|
+
"data-disabled": isDisabled || void 0,
|
|
150
|
+
role: "img",
|
|
151
|
+
slot: slot != null ? slot : void 0,
|
|
152
|
+
ref,
|
|
153
|
+
style: mergedStyles,
|
|
154
|
+
children: content
|
|
155
|
+
}
|
|
156
|
+
);
|
|
157
|
+
}
|
|
158
|
+
var _Avatar = forwardRef(Avatar);
|
|
159
|
+
_Avatar.displayName = "Avatar";
|
|
160
|
+
|
|
161
|
+
export { AvatarToTextSizeAdapter, GlobalAvatarCssSelector, _Avatar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-F7S2I43Y.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-H6CDFWVR.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
|
-
import {
|
|
3
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
+
import { _Text } from './chunk-7Q7VIED2.js';
|
|
4
6
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
7
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
|
-
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
10
10
|
import { IconContext } from '@hopper-ui/icons';
|
|
11
11
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
12
12
|
import { forwardRef } from 'react';
|
|
@@ -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-
|
|
17
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___g-wMP", "hop-Switch--sm": "Switch-module__hop-Switch--sm___x4P0y", "hop-Switch--md": "Switch-module__hop-Switch--md___5n6kY", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___zoC1a", "hop-Switch__text": "Switch-module__hop-Switch__text___zwJVh", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___tBX-Z", "hop-Switch__icon": "Switch-module__hop-Switch__icon___TKU4w" };
|
|
18
18
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
19
19
|
function Switch(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./SwitchField.module.css#css-module
|
|
14
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
14
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___nmxTu", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___cVtQp", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___DpMwX", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___hUNKc", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___-gZNo" };
|
|
15
15
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
16
16
|
var SwitchToDescriptionSizeAdapter = {
|
|
17
17
|
sm: "xs",
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ButtonGroup.module.css#css-module
|
|
13
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
13
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___nzEIB", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___-b5iJ", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___bArOc", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___5BJTJ", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___bPHp6", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___RtzB4", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___PiEGR", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___9BHBE" };
|
|
14
14
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
15
15
|
function ButtonGroup(props, ref) {
|
|
16
16
|
var _a, _b, _c, _d, _e;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-GWEUWPLT.js';
|
|
3
3
|
import { ErrorMessageContext } from './chunk-ACVMW6YD.js';
|
|
4
4
|
import { HelperMessageContext } from './chunk-ESVVLTEN.js';
|
|
5
|
-
import { _ClearButton } from './chunk-
|
|
5
|
+
import { _ClearButton } from './chunk-P7JRKXBD.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-H6CDFWVR.js';
|
|
7
7
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
8
8
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
9
|
-
import {
|
|
9
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
|
+
import { _Text } from './chunk-7Q7VIED2.js';
|
|
10
11
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
11
12
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
12
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
13
13
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
14
14
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
15
15
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -22,7 +22,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
22
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
23
|
|
|
24
24
|
// css-module:./TextField.module.css#css-module
|
|
25
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
25
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___kinvO", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___9n2wP", "hop-TextField__Label": "TextField-module__hop-TextField__Label___C1veN", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___Hw8Cr", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___or9FG", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___zXsFu", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___yHZ0J" };
|
|
26
26
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
27
27
|
function TextField(props, ref) {
|
|
28
28
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
|
+
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./RadioField.module.css#css-module
|
|
15
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
15
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___XLgwE", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___mQpVi", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___GTmnH", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___-HL2K", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___7qSUo" };
|
|
16
16
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
17
17
|
var RadioToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
2
2
|
import { RadioListContext } from './chunk-A7TZHALP.js';
|
|
3
|
-
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
4
3
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
4
|
+
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
5
5
|
import { ErrorMessageContext } from './chunk-ACVMW6YD.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-ESVVLTEN.js';
|
|
7
7
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from
|
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioGroup.module.css#css-module
|
|
17
|
-
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-
|
|
17
|
+
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___ZkN81", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___Bi-0Z", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___rknTP", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___hXQE8", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___2-otR", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___HI--g", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___Y2PHm", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___fsKgY", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___qULS3" };
|
|
18
18
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
19
|
function RadioGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./CheckboxField.module.css#css-module
|
|
14
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
14
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___1AqAL", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___OJnAa", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___tIMZu", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___66dnG", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___wXN2n" };
|
|
15
15
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
16
16
|
var CheckboxToDescriptionSizeAdapter = {
|
|
17
17
|
sm: "xs",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-3IEED7AY.js';
|
|
2
2
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Badge.module.css#css-module
|
|
11
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
11
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___6JEMi", "hop-Badge--primary": "Badge-module__hop-Badge--primary___fXWYG", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___vxWGy" };
|
|
12
12
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
13
13
|
function Badge(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-CP4AWOFU.js';
|
|
3
|
+
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
4
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { useContextProps } from 'react-aria-components';
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
var GlobalDeletedAvatarCssSelector = "hop-DeletedAvatar";
|
|
11
|
+
function DeletedAvatar(props, ref) {
|
|
12
|
+
var _a;
|
|
13
|
+
[props, ref] = useContextProps(props, ref, AvatarContext);
|
|
14
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
15
|
+
const {
|
|
16
|
+
className,
|
|
17
|
+
size: sizeValue,
|
|
18
|
+
style,
|
|
19
|
+
...otherProps
|
|
20
|
+
} = ownProps;
|
|
21
|
+
const size = (_a = useResponsiveValue(sizeValue)) != null ? _a : "md";
|
|
22
|
+
const classNames = clsx(
|
|
23
|
+
className,
|
|
24
|
+
GlobalDeletedAvatarCssSelector,
|
|
25
|
+
stylingProps.className
|
|
26
|
+
);
|
|
27
|
+
const mergedStyles = {
|
|
28
|
+
...stylingProps.style,
|
|
29
|
+
...style
|
|
30
|
+
};
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
32
|
+
_RichIconAvatarImage,
|
|
33
|
+
{
|
|
34
|
+
...otherProps,
|
|
35
|
+
className: classNames,
|
|
36
|
+
ref,
|
|
37
|
+
size,
|
|
38
|
+
style: mergedStyles,
|
|
39
|
+
children: /* @__PURE__ */ jsx(DeletedUserRichIcon, {})
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
var _DeletedAvatar = forwardRef(DeletedAvatar);
|
|
44
|
+
_DeletedAvatar.displayName = "DeletedAvatar";
|
|
45
|
+
|
|
46
|
+
export { GlobalDeletedAvatarCssSelector, _DeletedAvatar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
|
-
import { src_exports } from './chunk-
|
|
2
|
+
import { src_exports } from './chunk-NXNV5JDN.js';
|
|
3
3
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
4
4
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
5
5
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
@@ -8,9 +8,9 @@ import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
|
8
8
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
9
9
|
import { _HopperProvider } from './chunk-ANVMQBBG.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
|
+
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
11
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
12
13
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
13
|
-
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
14
14
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
15
15
|
import clsx from 'clsx';
|
|
16
16
|
import { forwardRef } from 'react';
|
|
@@ -18,7 +18,7 @@ import { DialogTrigger, useContextProps, Popover as Popover$1, Dialog } from 're
|
|
|
18
18
|
import { jsx } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./Popover.module.css#css-module
|
|
21
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
21
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___c-Ekg", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___oxAHL", "hop-Popover__title": "Popover-module__hop-Popover__title___R9VLN", "hop-Popover__actions": "Popover-module__hop-Popover__actions___gTQ99", "hop-Popover__action": "Popover-module__hop-Popover__action___gI-Mg", "hop-Popover__content": "Popover-module__hop-Popover__content___t34xa", "hop-Popover__footer": "Popover-module__hop-Popover__footer___9yOCm" };
|
|
22
22
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
23
23
|
var PopoverTrigger = (props) => /* @__PURE__ */ jsx(DialogTrigger, { ...props, children: props.children });
|
|
24
24
|
function Popover(props, ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
.Text-module__hop-Text___xYoYb {
|
|
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-
|
|
32
|
+
:where(.Text-module__hop-Text___xYoYb) {
|
|
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--
|
|
38
|
+
:where(.Text-module__hop-Text--xs___nPUGu) {
|
|
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--
|
|
44
|
+
:where(.Text-module__hop-Text--sm___nMPq3) {
|
|
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--
|
|
50
|
+
:where(.Text-module__hop-Text--md___HT-Wz) {
|
|
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--
|
|
56
|
+
:where(.Text-module__hop-Text--lg___NL7tS) {
|
|
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--
|
|
62
|
+
:where(.Text-module__hop-Text--xl___3aFN2) {
|
|
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--
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___bsEDq) {
|
|
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--
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___xKxgn) {
|
|
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-
|
|
82
|
+
.ErrorMessage-module__hop-ErrorMessage___r0-aG {
|
|
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-
|
|
99
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___Kkk3g {
|
|
100
100
|
flex: 0 0 auto;
|
|
101
101
|
align-self: flex-start;
|
|
102
102
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { _ErrorMessage as ErrorMessage, GlobalErrorMessageCssSelector } from '../../chunk-
|
|
1
|
+
export { _ErrorMessage as ErrorMessage, GlobalErrorMessageCssSelector } from '../../chunk-22YUFCHD.js';
|
|
2
2
|
import '../../chunk-ACVMW6YD.js';
|
|
3
3
|
import '../../chunk-NH3IVMXB.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-7Q7VIED2.js';
|
|
5
5
|
import '../../chunk-HXI3MEEK.js';
|
|
6
6
|
import '../../chunk-X6SER3TZ.js';
|
|
7
7
|
import '../../chunk-KVDXQMWI.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
.Text-module__hop-Text___xYoYb {
|
|
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-
|
|
32
|
+
:where(.Text-module__hop-Text___xYoYb) {
|
|
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--
|
|
38
|
+
:where(.Text-module__hop-Text--xs___nPUGu) {
|
|
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--
|
|
44
|
+
:where(.Text-module__hop-Text--sm___nMPq3) {
|
|
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--
|
|
50
|
+
:where(.Text-module__hop-Text--md___HT-Wz) {
|
|
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--
|
|
56
|
+
:where(.Text-module__hop-Text--lg___NL7tS) {
|
|
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--
|
|
62
|
+
:where(.Text-module__hop-Text--xl___3aFN2) {
|
|
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--
|
|
68
|
+
:where(.Text-module__hop-Text--2xl___bsEDq) {
|
|
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--
|
|
74
|
+
:where(.Text-module__hop-Text--inherit___xKxgn) {
|
|
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-
|
|
82
|
+
.ErrorMessage-module__hop-ErrorMessage___r0-aG {
|
|
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-
|
|
99
|
+
.ErrorMessage-module__hop-ErrorMessage__icon___Kkk3g {
|
|
100
100
|
flex: 0 0 auto;
|
|
101
101
|
align-self: flex-start;
|
|
102
102
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { _ErrorMessage as ErrorMessage, GlobalErrorMessageCssSelector } from '../../chunk-
|
|
1
|
+
export { _ErrorMessage as ErrorMessage, GlobalErrorMessageCssSelector } from '../../chunk-22YUFCHD.js';
|
|
2
2
|
export { ErrorMessageContext } from '../../chunk-ACVMW6YD.js';
|
|
3
3
|
import '../../chunk-NH3IVMXB.js';
|
|
4
|
-
import '../../chunk-
|
|
4
|
+
import '../../chunk-7Q7VIED2.js';
|
|
5
5
|
import '../../chunk-HXI3MEEK.js';
|
|
6
6
|
import '../../chunk-X6SER3TZ.js';
|
|
7
7
|
import '../../chunk-KVDXQMWI.js';
|