@hopper-ui/components 1.3.4 → 1.3.6
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 +10 -10
- package/dist/Avatar/src/AnonymousAvatar.d.ts +8 -2
- package/dist/Avatar/src/AnonymousAvatar.js +4 -2
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.d.ts +8 -2
- package/dist/Avatar/src/Avatar.js +5 -3
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.d.ts +8 -2
- package/dist/Avatar/src/DeletedAvatar.js +4 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.d.ts +9 -2
- package/dist/Avatar/src/RichIconAvatarImage.js +3 -1
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +7 -5
- package/dist/Badge/src/Badge.css +21 -21
- package/dist/Badge/src/Badge.d.ts +24 -2
- package/dist/Badge/src/Badge.js +4 -2
- package/dist/Badge/src/FloatingBadge.css +10 -10
- package/dist/Badge/src/FloatingBadge.d.ts +2 -2
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +31 -31
- package/dist/Badge/src/index.js +5 -3
- package/dist/Divider/src/Divider.css +2 -2
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +2 -2
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +11 -11
- package/dist/ErrorMessage/src/ErrorMessage.js +4 -3
- package/dist/ErrorMessage/src/index.css +11 -11
- package/dist/ErrorMessage/src/index.js +4 -3
- package/dist/Form/src/Form.css +1069 -650
- package/dist/Form/src/Form.js +57 -55
- package/dist/Form/src/index.css +1069 -650
- package/dist/Form/src/index.js +57 -55
- package/dist/Header/src/Header.d.ts +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/IconList/src/IconList.css +1 -1
- package/dist/IconList/src/IconList.d.ts +2 -2
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +1 -1
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +31 -31
- package/dist/Link/src/Link.js +3 -3
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +3 -3
- package/dist/ListBox/src/ListBox.css +613 -222
- package/dist/ListBox/src/ListBox.js +9 -16
- package/dist/ListBox/src/ListBoxItem.css +598 -207
- package/dist/ListBox/src/ListBoxItem.js +7 -15
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.d.ts +2 -2
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +613 -222
- package/dist/ListBox/src/index.js +9 -16
- package/dist/Select/src/Select.css +1069 -650
- package/dist/Select/src/Select.js +57 -55
- package/dist/Select/src/SelectValue.css +60 -60
- package/dist/Select/src/SelectValue.js +7 -7
- package/dist/Select/src/index.css +1069 -650
- package/dist/Select/src/index.js +57 -55
- package/dist/Spinner/src/Spinner.css +19 -19
- package/dist/Spinner/src/Spinner.d.ts +2 -2
- package/dist/Spinner/src/Spinner.js +3 -3
- package/dist/Spinner/src/index.css +19 -19
- package/dist/Spinner/src/index.js +3 -3
- package/dist/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +5 -5
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +71 -71
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +71 -71
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +176 -176
- package/dist/buttons/src/index.js +8 -8
- package/dist/checkbox/src/Checkbox.css +28 -31
- package/dist/checkbox/src/Checkbox.d.ts +1 -3
- package/dist/checkbox/src/Checkbox.js +3 -3
- package/dist/checkbox/src/CheckboxContext.d.ts +0 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.d.ts +8 -2
- package/dist/checkbox/src/CheckboxField.js +3 -1
- package/dist/checkbox/src/CheckboxGroup.css +256 -60
- package/dist/checkbox/src/CheckboxGroup.js +3 -3
- package/dist/checkbox/src/CheckboxList.d.ts +2 -2
- package/dist/checkbox/src/DecorativeCheckbox.css +287 -0
- package/dist/checkbox/src/DecorativeCheckbox.d.ts +18 -0
- package/dist/checkbox/src/DecorativeCheckbox.js +12 -0
- package/dist/checkbox/src/index.css +256 -60
- package/dist/checkbox/src/index.d.ts +1 -0
- package/dist/checkbox/src/index.js +8 -6
- package/dist/{chunk-K7RMLEFM.js → chunk-23GXMA5L.js} +3 -3
- package/dist/{chunk-C4X5PI6E.js → chunk-32QBNIEM.js} +1 -1
- package/dist/{chunk-M5XA2PEG.js → chunk-3K2JRC5Y.js} +1 -1
- package/dist/{chunk-7CT2IBNY.js → chunk-46GSYJ4O.js} +5 -5
- package/dist/{chunk-UWR4QQYY.js → chunk-4RSRAAPW.js} +15 -13
- package/dist/{chunk-3HABKGTW.js → chunk-4U7DCAUG.js} +23 -15
- package/dist/{chunk-YYU3DZW3.js → chunk-56UB7UOG.js} +1 -1
- package/dist/{chunk-BYEORLMA.js → chunk-5RHMPFIJ.js} +4 -4
- package/dist/chunk-6W5XVFIS.js +127 -0
- package/dist/{chunk-QYKLMSBR.js → chunk-6XHZ6XI2.js} +5 -12
- package/dist/chunk-7L5HTRIH.js +130 -0
- package/dist/{chunk-43LD4A2H.js → chunk-7MB63YNF.js} +24 -16
- package/dist/{chunk-OZQT5F42.js → chunk-AAV7H2PI.js} +4 -4
- package/dist/{chunk-RMTA4M7X.js → chunk-C2IFIGEU.js} +4 -10
- package/dist/{chunk-CJU6B2CE.js → chunk-CGL75FSH.js} +17 -28
- package/dist/{chunk-LLQHZY4A.js → chunk-CVYYW7J4.js} +2 -2
- package/dist/{chunk-LUE3SWJ2.js → chunk-D7KHPU3U.js} +1 -1
- package/dist/{chunk-C77ZSLQG.js → chunk-DZZ4WWRN.js} +2 -2
- package/dist/{chunk-MDUON6B4.js → chunk-EUXXCRBZ.js} +1 -1
- package/dist/{chunk-NJD5XPQF.js → chunk-FE6YBJMN.js} +4 -4
- package/dist/{chunk-IZJI5MOD.js → chunk-FU2IY2JF.js} +25 -18
- package/dist/{chunk-MB52JXEM.js → chunk-G6W6FNEX.js} +3 -3
- package/dist/{chunk-KPHI7JZW.js → chunk-HXMMNMFV.js} +4 -4
- package/dist/{chunk-2L4JHF4B.js → chunk-ICGQUOUM.js} +1 -1
- package/dist/{chunk-746OLQYL.js → chunk-KIZSSIMT.js} +3 -3
- package/dist/{chunk-GLSPSFBC.js → chunk-LDWNFZXA.js} +1 -1
- package/dist/{chunk-V7RSOERT.js → chunk-LEPWFS5L.js} +4 -10
- package/dist/{chunk-NLLH6YL3.js → chunk-MYAC6TLH.js} +1 -1
- package/dist/{chunk-Q2VOGHVA.js → chunk-NKZRZZMH.js} +1 -1
- package/dist/{chunk-7HQIQPIT.js → chunk-NQYHB7S3.js} +5 -5
- package/dist/{chunk-24TFXRVQ.js → chunk-NUB4BYRF.js} +22 -12
- package/dist/{chunk-TXW35G4W.js → chunk-NZKS5OKD.js} +22 -13
- package/dist/{chunk-LEG7NAKL.js → chunk-ODXA2UZN.js} +28 -15
- package/dist/{chunk-XTQ3H3SE.js → chunk-OGIBVQFW.js} +22 -14
- package/dist/{chunk-L7K2RI3N.js → chunk-OMF56Z2Y.js} +2 -2
- package/dist/{chunk-F2UGOH5F.js → chunk-PNWMICY7.js} +1 -1
- package/dist/{chunk-OZRPGA34.js → chunk-QLR77TGC.js} +1 -1
- package/dist/{chunk-AGLZTGGC.js → chunk-R4LJYEOV.js} +5 -5
- package/dist/{chunk-BITEHGS4.js → chunk-RDPNKPZ3.js} +23 -11
- package/dist/{chunk-5BCWNYYC.js → chunk-SSCVAJ2H.js} +4 -4
- package/dist/{chunk-37572JO3.js → chunk-UJVTDWNG.js} +11 -11
- package/dist/{chunk-36KWPNRH.js → chunk-YZ676IC2.js} +5 -5
- package/dist/{chunk-ZGJENXEU.js → chunk-ZSOGDKV5.js} +1 -1
- package/dist/index.css +1069 -650
- package/dist/index.d.ts +3 -1
- package/dist/index.js +57 -55
- package/dist/inputs/src/InputGroup.css +191 -191
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.d.ts +0 -4
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.js +9 -9
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextArea.css +225 -225
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextField.css +223 -223
- package/dist/inputs/src/TextField.js +9 -9
- package/dist/inputs/src/index.css +271 -271
- package/dist/inputs/src/index.js +14 -14
- package/dist/layout/src/Content.d.ts +2 -2
- package/dist/layout/src/Footer.d.ts +2 -2
- package/dist/overlays/Popover/src/Popover.css +1069 -650
- package/dist/overlays/Popover/src/Popover.d.ts +2 -2
- package/dist/overlays/Popover/src/Popover.js +57 -55
- package/dist/overlays/Popover/src/index.css +1069 -650
- package/dist/overlays/Popover/src/index.js +57 -55
- package/dist/radio/src/DecorativeRadio.css +286 -0
- package/dist/radio/src/DecorativeRadio.d.ts +18 -0
- package/dist/radio/src/DecorativeRadio.js +12 -0
- package/dist/radio/src/Radio.css +28 -31
- package/dist/radio/src/Radio.d.ts +1 -3
- package/dist/radio/src/Radio.js +3 -3
- package/dist/radio/src/RadioContext.d.ts +0 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.d.ts +8 -2
- package/dist/radio/src/RadioField.js +4 -2
- package/dist/radio/src/RadioGroup.css +255 -60
- package/dist/radio/src/RadioGroup.js +4 -4
- package/dist/radio/src/RadioList.d.ts +2 -2
- package/dist/radio/src/index.css +255 -60
- package/dist/radio/src/index.d.ts +1 -0
- package/dist/radio/src/index.js +10 -8
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +3 -3
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.d.ts +8 -2
- package/dist/switch/src/SwitchField.js +3 -1
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +5 -4
- package/dist/tag/src/Tag.css +323 -323
- package/dist/tag/src/Tag.js +6 -6
- package/dist/tag/src/TagGroup.css +22 -22
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/index.css +336 -336
- package/dist/tag/src/index.js +9 -9
- package/dist/typography/Heading/src/Heading.css +9 -9
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +9 -9
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +3 -3
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +3 -3
- 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.d.ts +1 -1
- package/dist/utils/src/index.js +2 -2
- package/dist/utils/src/types.d.ts +30 -6
- package/package.json +4 -4
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-NZKS5OKD.js';
|
|
3
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
5
|
import { AnonymousRichIcon } from '@hopper-ui/icons';
|
|
4
6
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
|
-
import clsx from 'clsx';
|
|
6
7
|
import { forwardRef } from 'react';
|
|
7
|
-
import {
|
|
8
|
+
import { mergeProps } from 'react-aria';
|
|
9
|
+
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
8
10
|
import { jsx } from 'react/jsx-runtime';
|
|
9
11
|
|
|
10
12
|
var GlobalAnonymousAvatarCssSelector = "hop-AnonymousAvatar";
|
|
@@ -14,28 +16,36 @@ function AnonymousAvatar(props, ref) {
|
|
|
14
16
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
15
17
|
const {
|
|
16
18
|
className,
|
|
17
|
-
size: sizeValue,
|
|
18
19
|
style,
|
|
20
|
+
size: sizeValue,
|
|
19
21
|
...otherProps
|
|
20
22
|
} = ownProps;
|
|
21
23
|
const size = (_a = useResponsiveValue(sizeValue)) != null ? _a : "md";
|
|
22
|
-
const classNames =
|
|
24
|
+
const classNames = composeClassnameRenderProps(
|
|
23
25
|
className,
|
|
24
26
|
GlobalAnonymousAvatarCssSelector,
|
|
25
27
|
stylingProps.className
|
|
26
28
|
);
|
|
27
|
-
const mergedStyles = {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
30
|
+
return {
|
|
31
|
+
...stylingProps.style,
|
|
32
|
+
...prev
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
const renderProps = useRenderProps({
|
|
36
|
+
...otherProps,
|
|
37
|
+
className: classNames,
|
|
38
|
+
style: mergedStyles,
|
|
39
|
+
values: {
|
|
40
|
+
isDisabled: props.isDisabled || false
|
|
41
|
+
}
|
|
42
|
+
});
|
|
31
43
|
return /* @__PURE__ */ jsx(
|
|
32
44
|
_RichIconAvatarImage,
|
|
33
45
|
{
|
|
34
|
-
...otherProps,
|
|
35
|
-
className: classNames,
|
|
46
|
+
...mergeProps(otherProps, renderProps),
|
|
36
47
|
ref,
|
|
37
48
|
size,
|
|
38
|
-
style: mergedStyles,
|
|
39
49
|
children: /* @__PURE__ */ jsx(AnonymousRichIcon, {})
|
|
40
50
|
}
|
|
41
51
|
);
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
2
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
1
3
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
2
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
5
|
import { RichIconAvatarImageContext } from './chunk-JWW56J7M.js';
|
|
4
6
|
import { RichIconContext } from '@hopper-ui/icons';
|
|
5
7
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
|
-
import clsx from 'clsx';
|
|
7
8
|
import { forwardRef } from 'react';
|
|
8
|
-
import {
|
|
9
|
+
import { mergeProps } from 'react-aria';
|
|
10
|
+
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
9
11
|
import { jsx } from 'react/jsx-runtime';
|
|
10
12
|
|
|
11
13
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
12
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
14
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___3-4v6", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___bQsOe", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___XA19V", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___xr-lR", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___Xtfzn", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___fUQr1", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___Qkwlw", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___-LdB5" };
|
|
13
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
14
16
|
var AvatarToIconSizeAdapter = {
|
|
15
17
|
xs: "md",
|
|
@@ -24,7 +26,6 @@ function RichIconAvatarImage(props, ref) {
|
|
|
24
26
|
[props, ref] = useContextProps(props, ref, RichIconAvatarImageContext);
|
|
25
27
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
26
28
|
const {
|
|
27
|
-
children,
|
|
28
29
|
className,
|
|
29
30
|
isDisabled,
|
|
30
31
|
style,
|
|
@@ -33,7 +34,7 @@ function RichIconAvatarImage(props, ref) {
|
|
|
33
34
|
...otherProps
|
|
34
35
|
} = ownProps;
|
|
35
36
|
const size = (_a = useResponsiveValue(sizeValue)) != null ? _a : "md";
|
|
36
|
-
const classNames =
|
|
37
|
+
const classNames = composeClassnameRenderProps(
|
|
37
38
|
className,
|
|
38
39
|
GlobalRichIconAvatarImageCssSelector,
|
|
39
40
|
cssModule(
|
|
@@ -43,20 +44,28 @@ function RichIconAvatarImage(props, ref) {
|
|
|
43
44
|
),
|
|
44
45
|
stylingProps.className
|
|
45
46
|
);
|
|
46
|
-
const mergedStyles = {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
48
|
+
return {
|
|
49
|
+
...stylingProps.style,
|
|
50
|
+
...prev
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
const renderProps = useRenderProps({
|
|
54
|
+
...props,
|
|
55
|
+
className: classNames,
|
|
56
|
+
style: mergedStyles,
|
|
57
|
+
values: {
|
|
58
|
+
isDisabled: isDisabled || false
|
|
59
|
+
}
|
|
60
|
+
});
|
|
50
61
|
if (!props["aria-label"] && !props["aria-labelledby"]) {
|
|
51
62
|
console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
52
63
|
}
|
|
53
64
|
return /* @__PURE__ */ jsx(
|
|
54
65
|
"div",
|
|
55
66
|
{
|
|
56
|
-
...otherProps,
|
|
67
|
+
...mergeProps(otherProps, renderProps),
|
|
57
68
|
ref,
|
|
58
|
-
className: classNames,
|
|
59
|
-
style: mergedStyles,
|
|
60
69
|
slot: slot != null ? slot : void 0,
|
|
61
70
|
role: "img",
|
|
62
71
|
"data-disabled": isDisabled || void 0,
|
|
@@ -69,7 +78,7 @@ function RichIconAvatarImage(props, ref) {
|
|
|
69
78
|
size: AvatarToIconSizeAdapter[size]
|
|
70
79
|
}]
|
|
71
80
|
],
|
|
72
|
-
children
|
|
81
|
+
children: renderProps.children
|
|
73
82
|
}
|
|
74
83
|
)
|
|
75
84
|
}
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-EUXXCRBZ.js';
|
|
2
2
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
6
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
7
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
6
|
-
import clsx from 'clsx';
|
|
7
8
|
import { forwardRef } from 'react';
|
|
8
|
-
import {
|
|
9
|
+
import { mergeProps } from 'react-aria';
|
|
10
|
+
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
9
11
|
import { jsx } from 'react/jsx-runtime';
|
|
10
12
|
|
|
11
13
|
// css-module:./Badge.module.css#css-module
|
|
12
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
14
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___RGKDc" };
|
|
13
15
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
14
16
|
function Badge(props, ref) {
|
|
15
17
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
16
18
|
const { isHovered, isPressed, isSelected } = props;
|
|
17
19
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
18
20
|
const {
|
|
19
|
-
children,
|
|
20
21
|
className,
|
|
21
22
|
isDisabled,
|
|
22
23
|
isIndeterminate,
|
|
@@ -25,8 +26,7 @@ function Badge(props, ref) {
|
|
|
25
26
|
variant = "primary",
|
|
26
27
|
...otherProps
|
|
27
28
|
} = ownProps;
|
|
28
|
-
const
|
|
29
|
-
const classNames = clsx(
|
|
29
|
+
const classNames = composeClassnameRenderProps(
|
|
30
30
|
className,
|
|
31
31
|
GlobalBadgeCssSelector,
|
|
32
32
|
cssModule(
|
|
@@ -35,17 +35,30 @@ function Badge(props, ref) {
|
|
|
35
35
|
),
|
|
36
36
|
stylingProps.className
|
|
37
37
|
);
|
|
38
|
-
const mergedStyles = {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
39
|
+
return {
|
|
40
|
+
...stylingProps.style,
|
|
41
|
+
...prev
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
const renderProps = useRenderProps({
|
|
45
|
+
...props,
|
|
46
|
+
className: classNames,
|
|
47
|
+
style: mergedStyles,
|
|
48
|
+
values: {
|
|
49
|
+
isDisabled: isDisabled || false,
|
|
50
|
+
isIndeterminate: isIndeterminate || false,
|
|
51
|
+
isHovered: isHovered || false,
|
|
52
|
+
isPressed: isPressed || false,
|
|
53
|
+
isSelected: isSelected || false
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
const isDot = isIndeterminate || !renderProps.children;
|
|
42
57
|
return /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(
|
|
43
58
|
_OverlineText,
|
|
44
59
|
{
|
|
45
|
-
...otherProps,
|
|
60
|
+
...mergeProps(otherProps, renderProps),
|
|
46
61
|
ref,
|
|
47
|
-
className: classNames,
|
|
48
|
-
style: mergedStyles,
|
|
49
62
|
slot: slot != null ? slot : void 0,
|
|
50
63
|
"data-disabled": isDisabled || void 0,
|
|
51
64
|
"aria-disabled": isDisabled || void 0,
|
|
@@ -54,7 +67,7 @@ function Badge(props, ref) {
|
|
|
54
67
|
"data-pressed": isPressed || void 0,
|
|
55
68
|
"data-selected": isSelected || void 0,
|
|
56
69
|
"data-variant": variant,
|
|
57
|
-
children: !isDot && children
|
|
70
|
+
children: !isDot && renderProps.children
|
|
58
71
|
}
|
|
59
72
|
) });
|
|
60
73
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
8
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
7
|
-
import clsx from 'clsx';
|
|
8
9
|
import { forwardRef } from 'react';
|
|
9
|
-
import { useId } from 'react-aria';
|
|
10
|
-
import { useContextProps } from 'react-aria-components';
|
|
10
|
+
import { useId, mergeProps } from 'react-aria';
|
|
11
|
+
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
11
12
|
import { jsx } from 'react/jsx-runtime';
|
|
12
13
|
|
|
13
14
|
// css-module:./CheckboxField.module.css#css-module
|
|
14
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
15
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___vf1MO", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___g7W5A", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___4kKpo", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___nhfiF", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___6R77t" };
|
|
15
16
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
16
17
|
var CheckboxToDescriptionSizeAdapter = {
|
|
17
18
|
sm: "xs",
|
|
@@ -23,7 +24,6 @@ function CheckboxField(props, ref) {
|
|
|
23
24
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
24
25
|
const {
|
|
25
26
|
className,
|
|
26
|
-
children,
|
|
27
27
|
isDisabled,
|
|
28
28
|
size: sizeProp = "md",
|
|
29
29
|
style,
|
|
@@ -31,7 +31,7 @@ function CheckboxField(props, ref) {
|
|
|
31
31
|
...otherProps
|
|
32
32
|
} = ownProps;
|
|
33
33
|
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
34
|
-
const classNames =
|
|
34
|
+
const classNames = composeClassnameRenderProps(
|
|
35
35
|
className,
|
|
36
36
|
GlobalCheckboxFieldCssSelector,
|
|
37
37
|
cssModule(
|
|
@@ -41,10 +41,20 @@ function CheckboxField(props, ref) {
|
|
|
41
41
|
),
|
|
42
42
|
stylingProps.className
|
|
43
43
|
);
|
|
44
|
-
const mergedStyles = {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
44
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
45
|
+
return {
|
|
46
|
+
...stylingProps.style,
|
|
47
|
+
...prev
|
|
48
|
+
};
|
|
49
|
+
});
|
|
50
|
+
const renderProps = useRenderProps({
|
|
51
|
+
...props,
|
|
52
|
+
className: classNames,
|
|
53
|
+
style: mergedStyles,
|
|
54
|
+
values: {
|
|
55
|
+
isDisabled: isDisabled || false
|
|
56
|
+
}
|
|
57
|
+
});
|
|
48
58
|
const descriptionId = useId();
|
|
49
59
|
return /* @__PURE__ */ jsx(
|
|
50
60
|
SlotProvider,
|
|
@@ -65,13 +75,11 @@ function CheckboxField(props, ref) {
|
|
|
65
75
|
children: /* @__PURE__ */ jsx(
|
|
66
76
|
"div",
|
|
67
77
|
{
|
|
68
|
-
...otherProps,
|
|
78
|
+
...mergeProps(otherProps, renderProps),
|
|
69
79
|
ref,
|
|
70
|
-
className: classNames,
|
|
71
|
-
style: mergedStyles,
|
|
72
80
|
slot: slot != null ? slot : void 0,
|
|
73
81
|
"data-disabled": isDisabled,
|
|
74
|
-
children
|
|
82
|
+
children: renderProps.children
|
|
75
83
|
}
|
|
76
84
|
)
|
|
77
85
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
1
2
|
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
2
3
|
import { TagListContext } from './chunk-XLKYXKWE.js';
|
|
3
|
-
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
6
6
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, FieldErrorContext, TagGroup as TagGroup$1 } from 'reac
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./TagGroup.module.css#css-module
|
|
16
|
-
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-
|
|
16
|
+
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___41aHV", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___wHna0", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___CGwly", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___Lhj6I", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___5mwOJ" };
|
|
17
17
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
18
|
function TagGroup(props, ref) {
|
|
19
19
|
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-
|
|
11
|
+
var IconList_module_default = { "hop-IconList": "IconList-module__hop-IconList___Q3MT-" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
2
|
-
import { _EmbeddedButton } from './chunk-
|
|
2
|
+
import { _EmbeddedButton } from './chunk-NKZRZZMH.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
2
2
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
4
|
-
import { _ClearButton } from './chunk-
|
|
3
|
+
import { _InputGroup } from './chunk-ZSOGDKV5.js';
|
|
4
|
+
import { _ClearButton } from './chunk-QLR77TGC.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
7
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
8
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
8
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
10
9
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
11
|
-
import { _Text } from './chunk-
|
|
10
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
12
11
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
13
12
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
13
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
14
14
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
15
15
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
16
16
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -23,7 +23,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
23
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
24
|
|
|
25
25
|
// css-module:./TextField.module.css#css-module
|
|
26
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
26
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___PTMtk", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___avhOT", "hop-TextField__Label": "TextField-module__hop-TextField__Label___u2Ks9", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___Fiyv5", "hop-TextField__char-count": "TextField-module__hop-TextField__char-count___5KbZ5", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___JLzkG", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___aJHcq", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___2GFwW" };
|
|
27
27
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
28
28
|
function TextField(props, ref) {
|
|
29
29
|
var _a;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-NZKS5OKD.js';
|
|
3
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
5
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
4
6
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
|
-
import clsx from 'clsx';
|
|
6
7
|
import { forwardRef } from 'react';
|
|
7
|
-
import {
|
|
8
|
+
import { mergeProps } from 'react-aria';
|
|
9
|
+
import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
8
10
|
import { jsx } from 'react/jsx-runtime';
|
|
9
11
|
|
|
10
12
|
var GlobalDeletedAvatarCssSelector = "hop-DeletedAvatar";
|
|
@@ -16,26 +18,36 @@ function DeletedAvatar(props, ref) {
|
|
|
16
18
|
className,
|
|
17
19
|
size: sizeValue,
|
|
18
20
|
style,
|
|
21
|
+
isDisabled,
|
|
19
22
|
...otherProps
|
|
20
23
|
} = ownProps;
|
|
21
24
|
const size = (_a = useResponsiveValue(sizeValue)) != null ? _a : "md";
|
|
22
|
-
const classNames =
|
|
25
|
+
const classNames = composeClassnameRenderProps(
|
|
23
26
|
className,
|
|
24
27
|
GlobalDeletedAvatarCssSelector,
|
|
25
28
|
stylingProps.className
|
|
26
29
|
);
|
|
27
|
-
const mergedStyles = {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
31
|
+
return {
|
|
32
|
+
...stylingProps.style,
|
|
33
|
+
...prev
|
|
34
|
+
};
|
|
35
|
+
});
|
|
36
|
+
const renderProps = useRenderProps({
|
|
37
|
+
...props,
|
|
38
|
+
className: classNames,
|
|
39
|
+
style: mergedStyles,
|
|
40
|
+
values: {
|
|
41
|
+
isDisabled: isDisabled || false
|
|
42
|
+
}
|
|
43
|
+
});
|
|
31
44
|
return /* @__PURE__ */ jsx(
|
|
32
45
|
_RichIconAvatarImage,
|
|
33
46
|
{
|
|
34
|
-
...otherProps,
|
|
35
|
-
|
|
47
|
+
...mergeProps(otherProps, renderProps),
|
|
48
|
+
isDisabled,
|
|
36
49
|
ref,
|
|
37
50
|
size,
|
|
38
|
-
style: mergedStyles,
|
|
39
51
|
children: /* @__PURE__ */ jsx(DeletedUserRichIcon, {})
|
|
40
52
|
}
|
|
41
53
|
);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
3
3
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
-
import { _InputGroup } from './chunk-
|
|
4
|
+
import { _InputGroup } from './chunk-ZSOGDKV5.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
7
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
9
8
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
10
|
-
import { _Text } from './chunk-
|
|
9
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
11
10
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
11
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
12
12
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
13
13
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
14
14
|
import { useStyledSystem, useResponsiveValue, useIsomorphicLayoutEffect } from '@hopper-ui/styled-system';
|
|
@@ -79,7 +79,7 @@ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
// css-module:./TextArea.module.css#css-module
|
|
82
|
-
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-
|
|
82
|
+
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___qaonI", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___Cyf8M", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___Hrr66", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___2BdDx", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___d4oXY", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___3wZu0", "hop-TextArea__char-count": "TextArea-module__hop-TextArea__char-count___-1sD-", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___RTzEd", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___yeQUs" };
|
|
83
83
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
84
84
|
var DefaultMinimumTextAreaRows = 3;
|
|
85
85
|
var pxToInt = (value) => {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
|
+
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
3
|
+
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
2
4
|
import { _Footer } from './chunk-AQITZWYM.js';
|
|
3
5
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
4
6
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
5
7
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
6
8
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
7
|
-
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
8
9
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
9
10
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
10
11
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
11
12
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
12
13
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
13
14
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
14
|
-
import { _SelectValue } from './chunk-
|
|
15
|
+
import { _SelectValue } from './chunk-AAV7H2PI.js';
|
|
15
16
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
17
|
+
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
16
18
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
17
19
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
18
|
-
import { _ListBox } from './chunk-
|
|
20
|
+
import { _ListBox } from './chunk-NQYHB7S3.js';
|
|
19
21
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
20
22
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
21
|
-
import { _ListBoxItem } from './chunk-
|
|
22
|
-
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
23
|
+
import { _ListBoxItem } from './chunk-CGL75FSH.js';
|
|
23
24
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
24
|
-
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
25
25
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
26
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
27
26
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
28
27
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
29
28
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
30
29
|
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
31
30
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
32
|
-
import { _Text } from './chunk-
|
|
31
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
33
32
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
34
33
|
import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
|
|
34
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
35
35
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
36
36
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
37
37
|
import { useStyledSystem, useResponsiveValue, useColorSchemeContext } from '@hopper-ui/styled-system';
|
|
@@ -44,7 +44,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
44
44
|
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
45
45
|
|
|
46
46
|
// css-module:./Popover.module.css#css-module
|
|
47
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
47
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___pOS32", "fade": "Popover-module__fade___0AhRl", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___Gpx6-", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___KwJ4t", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___Ydsf8", "hop-Popover__title": "Popover-module__hop-Popover__title___Ac5V0", "hop-Popover__content": "Popover-module__hop-Popover__content___LsWgM", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___jhPeo", "hop-Popover__footer": "Popover-module__hop-Popover__footer___KvfnC", "hop-Popover__actions": "Popover-module__hop-Popover__actions___3EQON", "hop-Popover__action": "Popover-module__hop-Popover__action___lVwso" };
|
|
48
48
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
49
49
|
function Popover(props, ref) {
|
|
50
50
|
var _a;
|
|
@@ -178,7 +178,7 @@ var _Popover = forwardRef(Popover);
|
|
|
178
178
|
_Popover.displayName = "Popover";
|
|
179
179
|
|
|
180
180
|
// css-module:./Select.module.css#css-module
|
|
181
|
-
var Select_module_default = { "hop-Select": "Select-module__hop-
|
|
181
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___dZacu", "hop-Select--fluid": "Select-module__hop-Select--fluid___RMUq3", "hop-Select__label": "Select-module__hop-Select__label___yCY4A", "hop-Select__button": "Select-module__hop-Select__button___pty-P", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___ybcFD", "hop-Select__button--md": "Select-module__hop-Select__button--md___w1cwq", "hop-Select__prefix": "Select-module__hop-Select__prefix___QGcJO", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___UCJ9e", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___gU1Rh", "hop-Select__error-message": "Select-module__hop-Select__error-message___p0QAg" };
|
|
182
182
|
var GlobalSelectCssSelector = "hop-Select";
|
|
183
183
|
function Select(props, ref) {
|
|
184
184
|
var _a, _b;
|
|
@@ -738,7 +738,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
|
|
|
738
738
|
}
|
|
739
739
|
|
|
740
740
|
// css-module:./Form.module.css#css-module
|
|
741
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
741
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___Kd5fG" };
|
|
742
742
|
var GlobalFormCssSelector = "hop-Form";
|
|
743
743
|
function Form(props, ref) {
|
|
744
744
|
var _a;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import { _Spinner } from './chunk-
|
|
2
|
+
import { _Spinner } from './chunk-CVYYW7J4.js';
|
|
3
3
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
4
4
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
5
5
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
6
|
-
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
6
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
8
|
-
import {
|
|
9
|
-
import { _Text } from './chunk-NLLH6YL3.js';
|
|
7
|
+
import { _Text } from './chunk-MYAC6TLH.js';
|
|
10
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
|
+
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
10
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
13
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -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-
|
|
22
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___5iBZz", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___TPK5R", "hop-Button--fluid": "Button-module__hop-Button--fluid___Zb3Z4", "hop-Button--sm": "Button-module__hop-Button--sm___xENmf", "hop-Button--primary": "Button-module__hop-Button--primary___zbhJ9", "hop-Button--md": "Button-module__hop-Button--md___KZwYW", "hop-Button--secondary": "Button-module__hop-Button--secondary___PKbCY", "hop-Button--upsell": "Button-module__hop-Button--upsell___61sYX", "hop-Button--danger": "Button-module__hop-Button--danger___AxMDH", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___2TdbY", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___6I7vD", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___--qrr", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___jwKkE", "hop-Button__icon": "Button-module__hop-Button__icon___hTxKS", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___bUhP9", "hop-Button__text": "Button-module__hop-Button__text___hOS-u", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___groP0", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___9WVoR" };
|
|
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) {
|
|
@@ -10,7 +10,7 @@ import { useContextProps, useSlottedContext, InputContext, TextAreaContext, Fiel
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./InputGroup.module.css#css-module
|
|
13
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
13
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___WcTzE", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___nS6mP", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___JnRFs", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___IXkwy", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___bj7DV", "hop-InputGroup__embedded-button": "InputGroup-module__hop-InputGroup__embedded-button___aJeH4" };
|
|
14
14
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
15
15
|
function InputGroup(props, ref) {
|
|
16
16
|
var _a, _b;
|