@hopper-ui/components 1.0.11 → 1.0.13
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 +13 -0
- package/dist/Avatar/src/AnonymousAvatar.css +10 -10
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +37 -37
- package/dist/Avatar/src/Avatar.js +3 -3
- package/dist/Avatar/src/DeletedAvatar.css +10 -10
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +10 -10
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +37 -37
- package/dist/Avatar/src/index.js +5 -5
- 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/Chip/src/Chip.css +33 -33
- package/dist/Chip/src/Chip.js +2 -2
- package/dist/Chip/src/index.css +33 -33
- package/dist/Chip/src/index.js +2 -2
- 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 +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/IconList/src/IconList.css +1 -1
- 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 +2 -2
- package/dist/Link/src/index.css +31 -31
- package/dist/Link/src/index.js +2 -2
- package/dist/ListBox/src/ListBox.css +179 -256
- package/dist/ListBox/src/ListBox.js +10 -10
- package/dist/ListBox/src/ListBoxItem.css +164 -241
- package/dist/ListBox/src/ListBoxItem.js +9 -9
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +179 -256
- package/dist/ListBox/src/index.js +10 -10
- package/dist/Spinner/src/Spinner.css +83 -83
- package/dist/Spinner/src/Spinner.js +5 -3
- package/dist/Spinner/src/index.css +83 -83
- package/dist/Spinner/src/index.js +5 -3
- package/dist/buttons/src/Button.css +156 -236
- package/dist/buttons/src/Button.js +3 -5
- 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 +179 -259
- package/dist/buttons/src/index.js +6 -8
- package/dist/checkbox/src/Checkbox.css +31 -37
- package/dist/checkbox/src/Checkbox.js +2 -2
- package/dist/checkbox/src/CheckboxField.css +15 -15
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +70 -140
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/index.css +70 -140
- package/dist/checkbox/src/index.js +5 -5
- package/dist/{chunk-L2HJORV2.js → chunk-2MUGMKNO.js} +3 -4
- package/dist/{chunk-TP6OU6SQ.js → chunk-44KY7MFF.js} +5 -5
- package/dist/{chunk-YLUVOHHC.js → chunk-5WWMVQI4.js} +1 -1
- package/dist/{chunk-JTX4ZTQ6.js → chunk-723W7LGB.js} +3 -3
- package/dist/{chunk-OFNA3Y6A.js → chunk-AMXRADUV.js} +9 -5
- package/dist/{chunk-ZINTZZLE.js → chunk-AYPCLDGU.js} +1 -1
- package/dist/{chunk-UAKDD5TO.js → chunk-B42AJF74.js} +7 -7
- package/dist/{chunk-7PFCZHVB.js → chunk-CCIVRIKG.js} +5 -4
- package/dist/{chunk-3XZXPN6Y.js → chunk-CS2RAWQB.js} +3 -3
- package/dist/{chunk-4SPQFKVC.js → chunk-CXIH6I5X.js} +2 -2
- package/dist/{chunk-OWWIZWZA.js → chunk-DZHRELLA.js} +1 -1
- package/dist/{chunk-5SHNL47W.js → chunk-ERE2XRQA.js} +1 -1
- package/dist/{chunk-TYMV4JQ2.js → chunk-ESRYOELK.js} +2 -2
- package/dist/{chunk-P62FAV3S.js → chunk-GH5LAOQU.js} +1 -1
- package/dist/{chunk-QQBJ4REK.js → chunk-I2YZLGRE.js} +4 -7
- package/dist/{chunk-LRJ5ZWXY.js → chunk-IEE2HHGR.js} +1 -1
- package/dist/{chunk-5VWMGH3R.js → chunk-JLUFMLGV.js} +1 -1
- package/dist/{chunk-HTM3ZSBX.js → chunk-JN2FF2IX.js} +1 -1
- package/dist/{chunk-7GVDINGU.js → chunk-KARK64JC.js} +1 -1
- package/dist/{chunk-EZX4K3AY.js → chunk-LDORNYHF.js} +2 -2
- package/dist/{chunk-B5563GK3.js → chunk-M4IVTAHY.js} +4 -4
- package/dist/chunk-MTDFS4CZ.js +12 -0
- package/dist/{chunk-N65OIMRV.js → chunk-MVWQVBTK.js} +3 -4
- package/dist/{chunk-B3EA6PO5.js → chunk-NHM3MQI3.js} +3 -4
- package/dist/{chunk-PPO5T6D3.js → chunk-PAYZGXTT.js} +1 -1
- package/dist/{chunk-NFOY572L.js → chunk-QTV45NTY.js} +2 -2
- package/dist/{chunk-GDCTBE7C.js → chunk-RGGVZKNN.js} +2 -2
- package/dist/{chunk-K7RORXVD.js → chunk-RXZQB35O.js} +2 -2
- package/dist/{chunk-BKYHKRAJ.js → chunk-SNWJJ3FF.js} +1 -1
- package/dist/{chunk-I3OSQDQM.js → chunk-SSMGKQ27.js} +2 -2
- package/dist/{chunk-W5DFK35A.js → chunk-SW7LHIQ2.js} +7 -7
- package/dist/{chunk-RYSCBMR6.js → chunk-THQZBL4T.js} +1 -1
- package/dist/{chunk-GAPQ6VJL.js → chunk-TNVYVDLF.js} +3 -3
- package/dist/{chunk-WC72FIUS.js → chunk-UGHMX7QX.js} +3 -3
- package/dist/{chunk-AB24MF66.js → chunk-UPR32DV5.js} +2 -2
- package/dist/{chunk-BRIG7AIE.js → chunk-W34MMJ2L.js} +2 -2
- package/dist/{chunk-WQPDNKWM.js → chunk-WCLGYVXV.js} +1 -1
- package/dist/chunk-ZQ3AWYRR.js +7 -0
- package/dist/{chunk-KUX5YOEF.js → chunk-ZXDN2IRM.js} +1 -1
- package/dist/index.css +469 -573
- package/dist/index.d.ts +1 -0
- package/dist/index.js +49 -48
- package/dist/inputs/src/InputGroup.css +14 -12
- package/dist/inputs/src/InputGroup.d.ts +1 -0
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +517 -0
- package/dist/inputs/src/NumberField.d.ts +37 -0
- package/dist/inputs/src/NumberField.js +177 -0
- package/dist/inputs/src/NumberFieldContext.d.ts +8 -0
- package/dist/inputs/src/NumberFieldContext.js +2 -0
- package/dist/inputs/src/PasswordField.css +234 -306
- package/dist/inputs/src/PasswordField.js +8 -8
- package/dist/inputs/src/SearchField.css +240 -311
- package/dist/inputs/src/SearchField.js +9 -9
- package/dist/inputs/src/TextField.css +235 -307
- package/dist/inputs/src/TextField.js +10 -10
- package/dist/inputs/src/index.css +253 -344
- package/dist/inputs/src/index.js +13 -13
- package/dist/overlays/Popover/src/Popover.css +469 -573
- package/dist/overlays/Popover/src/Popover.js +49 -48
- package/dist/overlays/Popover/src/index.css +469 -573
- package/dist/overlays/Popover/src/index.js +49 -48
- package/dist/radio/src/Radio.css +31 -38
- package/dist/radio/src/Radio.js +2 -2
- package/dist/radio/src/RadioField.css +15 -15
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +70 -141
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +70 -141
- package/dist/radio/src/index.js +5 -5
- package/dist/switch/src/Switch.css +25 -25
- package/dist/switch/src/Switch.js +2 -2
- package/dist/switch/src/SwitchField.css +15 -15
- package/dist/switch/src/SwitchField.js +1 -1
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +3 -3
- package/dist/tag/src/Tag.css +469 -573
- package/dist/tag/src/Tag.js +49 -48
- package/dist/tag/src/TagGroup.css +32 -96
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/index.css +469 -573
- package/dist/tag/src/index.js +49 -48
- 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 +13 -77
- package/dist/typography/Label/src/Label.d.ts +1 -6
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +13 -77
- 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 -0
- package/dist/utils/src/index.js +1 -0
- package/dist/utils/src/useScale.d.ts +11 -0
- package/dist/utils/src/useScale.js +2 -0
- package/package.json +2 -2
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { _Label } from './chunk-QQBJ4REK.js';
|
|
2
1
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
3
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
+
import { _Text } from './chunk-PAYZGXTT.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';
|
|
7
|
+
import { useId } from 'react-aria';
|
|
7
8
|
import { useContextProps, ProgressBar } from 'react-aria-components';
|
|
8
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
10
|
|
|
10
11
|
// css-module:./Spinner.module.css#css-module
|
|
11
|
-
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-
|
|
12
|
+
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___pI0C5", "spin": "Spinner-module__spin___FeXZb", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___3kRKf", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___mM0sK", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___CN3Ku", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___E-l4N", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___xxznA", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___1kKrV" };
|
|
12
13
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
13
|
-
var
|
|
14
|
+
var SpinnerToTextSizeAdapter = {
|
|
14
15
|
sm: "xs",
|
|
15
16
|
md: "sm",
|
|
16
17
|
lg: "md"
|
|
@@ -41,14 +42,16 @@ var Spinner = (props, ref) => {
|
|
|
41
42
|
...stylingProps.style,
|
|
42
43
|
...style
|
|
43
44
|
};
|
|
45
|
+
const labelId = useId();
|
|
44
46
|
const labelMarkup = children && /* @__PURE__ */ jsx(
|
|
45
|
-
|
|
47
|
+
_Text,
|
|
46
48
|
{
|
|
47
49
|
className: cssModule(
|
|
48
50
|
Spinner_module_default,
|
|
49
51
|
"hop-Spinner__label"
|
|
50
52
|
),
|
|
51
|
-
size:
|
|
53
|
+
size: SpinnerToTextSizeAdapter[size],
|
|
54
|
+
id: labelId,
|
|
52
55
|
children
|
|
53
56
|
}
|
|
54
57
|
);
|
|
@@ -59,6 +62,7 @@ var Spinner = (props, ref) => {
|
|
|
59
62
|
isIndeterminate: true,
|
|
60
63
|
className: classNames,
|
|
61
64
|
style: mergedStyles,
|
|
65
|
+
"aria-labelledby": labelId,
|
|
62
66
|
...otherProps,
|
|
63
67
|
children: [
|
|
64
68
|
/* @__PURE__ */ jsx(
|
|
@@ -9,7 +9,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
12
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
12
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___XXd8y", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___KPG-W", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___9CNdx", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___h5-5b", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___ikRI1", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___6eMAN", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___8uwXA", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___AneXe" };
|
|
13
13
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
14
14
|
var AvatarToIconSizeAdapter = {
|
|
15
15
|
xs: "md",
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
2
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
4
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
|
+
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
5
5
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
6
6
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
7
7
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
8
|
-
import { _ClearButton } from './chunk-
|
|
9
|
-
import { _Spinner } from './chunk-
|
|
8
|
+
import { _ClearButton } from './chunk-KARK64JC.js';
|
|
9
|
+
import { _Spinner } from './chunk-AMXRADUV.js';
|
|
10
10
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
11
11
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
12
12
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
13
13
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
14
14
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
15
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
15
16
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
16
17
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
17
|
-
import {
|
|
18
|
-
import { _Text } from './chunk-PPO5T6D3.js';
|
|
18
|
+
import { _Text } from './chunk-PAYZGXTT.js';
|
|
19
19
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
20
20
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
21
21
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -30,7 +30,7 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
|
30
30
|
import clsx from 'clsx';
|
|
31
31
|
|
|
32
32
|
// css-module:./Tag.module.css#css-module
|
|
33
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
33
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___uLop7", "hop-Tag--md": "Tag-module__hop-Tag--md___zQef7", "hop-Tag__icon": "Tag-module__hop-Tag__icon___1WuBJ", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___VWSnJ", "hop-Tag__badge": "Tag-module__hop-Tag__badge___6wq28", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___ltB14", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___ASKZ9", "hop-Tag--lg": "Tag-module__hop-Tag--lg___bwIxr", "hop-Tag__text": "Tag-module__hop-Tag__text___vJciq", "hop-Badge--secondary": "Tag-module__hop-Badge--secondary___tSUkl" };
|
|
34
34
|
var GlobalTagCssSelector = "hop-Tag";
|
|
35
35
|
var TagToTextSizeAdapter = {
|
|
36
36
|
md: "xs",
|
|
@@ -548,7 +548,7 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
// css-module:./Popover.module.css#css-module
|
|
551
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
551
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___NgSy-", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___7Vmsr", "hop-Popover__title": "Popover-module__hop-Popover__title___Ej7kd", "hop-Popover__actions": "Popover-module__hop-Popover__actions___KA---", "hop-Popover__action": "Popover-module__hop-Popover__action___fjhx-", "hop-Popover__content": "Popover-module__hop-Popover__content___-cu9Q", "hop-Popover__footer": "Popover-module__hop-Popover__footer___ri-Tk" };
|
|
552
552
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
553
553
|
function Popover(props, ref) {
|
|
554
554
|
[props, ref] = useContextProps(props, ref, PopoverContext);
|
|
@@ -9,7 +9,7 @@ import { useContextProps, useSlottedContext, InputContext, composeRenderProps, G
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./InputGroup.module.css#css-module
|
|
12
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
12
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___yPMIO", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___SDrjN", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___uk-A0", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___aerYh" };
|
|
13
13
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
14
14
|
function InputGroup(props, ref) {
|
|
15
15
|
var _a, _b;
|
|
@@ -24,6 +24,7 @@ function InputGroup(props, ref) {
|
|
|
24
24
|
children,
|
|
25
25
|
size: sizeProp,
|
|
26
26
|
isFluid: isFluidProp,
|
|
27
|
+
inputClassName,
|
|
27
28
|
onMouseDown,
|
|
28
29
|
...otherProps
|
|
29
30
|
} = ownProps;
|
|
@@ -48,10 +49,10 @@ function InputGroup(props, ref) {
|
|
|
48
49
|
});
|
|
49
50
|
const handleMouseDown = useCallback((e) => {
|
|
50
51
|
onMouseDown == null ? void 0 : onMouseDown(e);
|
|
51
|
-
if (inputRef.current) {
|
|
52
|
+
if (inputRef.current && e.target !== inputRef.current) {
|
|
52
53
|
inputRef.current.focus();
|
|
54
|
+
e.preventDefault();
|
|
53
55
|
}
|
|
54
|
-
e.preventDefault();
|
|
55
56
|
}, [onMouseDown]);
|
|
56
57
|
return /* @__PURE__ */ jsx(
|
|
57
58
|
SlotProvider,
|
|
@@ -60,7 +61,7 @@ function InputGroup(props, ref) {
|
|
|
60
61
|
[InputContext, {
|
|
61
62
|
...inputContext,
|
|
62
63
|
ref: mergedRefs,
|
|
63
|
-
className: composeClassnameRenderProps(inputContext == null ? void 0 : inputContext.className, InputGroup_module_default["hop-InputGroup__input"])
|
|
64
|
+
className: composeClassnameRenderProps(inputContext == null ? void 0 : inputContext.className, inputClassName, InputGroup_module_default["hop-InputGroup__input"])
|
|
64
65
|
}]
|
|
65
66
|
],
|
|
66
67
|
children: /* @__PURE__ */ jsx(
|
|
@@ -2,13 +2,13 @@ import { isFunction } from './chunk-TIPN4VYD.js';
|
|
|
2
2
|
import { useLoadOnScroll } from './chunk-JTNMFPM4.js';
|
|
3
3
|
import { SectionContext } from './chunk-5H5AZJPQ.js';
|
|
4
4
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
5
|
-
import { _ListBoxItem } from './chunk-
|
|
5
|
+
import { _ListBoxItem } from './chunk-SW7LHIQ2.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
9
9
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
10
10
|
import { DividerContext } from './chunk-FYIHMKHI.js';
|
|
11
|
-
import { _Text } from './chunk-
|
|
11
|
+
import { _Text } from './chunk-PAYZGXTT.js';
|
|
12
12
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
13
13
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
14
14
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBox.module.css#css-module
|
|
21
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
21
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___XQDch", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___3Im73", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___65r5k", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___XEwSd", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___GjNW9", "hop-ListBox__divider": "ListBox-module__hop-ListBox__divider___KcKrr" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
|
+
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
5
|
import { SlotProvider } from './chunk-M36KANKC.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___WTErz", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___CHfcV", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___g1iHe", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___LgMd1", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___SByLu" };
|
|
16
16
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
17
17
|
var RadioToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Separator } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Divider.module.css#css-module
|
|
10
|
-
var Divider_module_default = { "hop-Divider": "Divider-module__hop-
|
|
10
|
+
var Divider_module_default = { "hop-Divider": "Divider-module__hop-Divider___NNdxY", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___RKxFo" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Heading.module.css#css-module
|
|
10
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
10
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___FB1PP", "hop-Heading--xs": "Heading-module__hop-Heading--xs___ZJL3P", "hop-Heading--sm": "Heading-module__hop-Heading--sm___fp3A6", "hop-Heading--md": "Heading-module__hop-Heading--md___rEF7K", "hop-Heading--lg": "Heading-module__hop-Heading--lg___kCSub", "hop-Heading--xl": "Heading-module__hop-Heading--xl___5VyFh", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___-qmiM", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___xDM3d" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-5WWMVQI4.js';
|
|
2
2
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -9,7 +9,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Badge.module.css#css-module
|
|
12
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
12
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___xwY2X", "hop-Badge--primary": "Badge-module__hop-Badge--primary___t93CO", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___CO6Af" };
|
|
13
13
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
14
14
|
function Badge(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-AYPCLDGU.js';
|
|
3
3
|
import { AnonymousRichIcon } from '@hopper-ui/icons';
|
|
4
4
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
2
2
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
|
-
import { useStyledSystem
|
|
3
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
4
4
|
import clsx from 'clsx';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
6
6
|
import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Label.module.css#css-module
|
|
10
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
10
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___PodEd" };
|
|
11
11
|
var GlobalLabelCssSelector = "hop-Label";
|
|
12
12
|
function Label(props, ref) {
|
|
13
|
-
var _a;
|
|
14
13
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
15
14
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
16
|
-
const { className,
|
|
17
|
-
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
15
|
+
const { className, children, style, ...otherProps } = ownProps;
|
|
18
16
|
const classNames = clsx(
|
|
19
17
|
className,
|
|
20
18
|
GlobalLabelCssSelector,
|
|
21
19
|
cssModule(
|
|
22
20
|
Label_module_default,
|
|
23
|
-
"hop-Label"
|
|
24
|
-
size
|
|
21
|
+
"hop-Label"
|
|
25
22
|
),
|
|
26
23
|
stylingProps.className
|
|
27
24
|
);
|
|
@@ -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___MbE-q", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___dRzOt", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___xG-1g", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___SpFMs", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___132nd" };
|
|
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___0hm3B", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___EoJ-O", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___oZqn2", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___Jf3Eh", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___b2RH-", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___Cah50", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___l0jS3", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___8sZ-4" };
|
|
14
14
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
15
15
|
function ButtonGroup(props, ref) {
|
|
16
16
|
var _a, _b, _c, _d, _e;
|
|
@@ -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___RdFGP" };
|
|
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-ZXDN2IRM.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
@@ -2,7 +2,7 @@ import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
3
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-PAYZGXTT.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link as Link$1 } fro
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Link.module.css#css-module
|
|
16
|
-
var Link_module_default = { "hop-Link": "Link-module__hop-
|
|
16
|
+
var Link_module_default = { "hop-Link": "Link-module__hop-Link___Hq4l1", "hop-Link--quiet": "Link-module__hop-Link--quiet___ozYD8", "hop-Link--primary": "Link-module__hop-Link--primary___AKRce", "hop-Link--secondary": "Link-module__hop-Link--secondary___kYwz9", "hop-Link__icon": "Link-module__hop-Link__icon___mxuev", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___tQIDd", "hop-Link__text": "Link-module__hop-Link__text___-UVs-", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___OeHzX", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___zZt0A" };
|
|
17
17
|
var GlobalLinkCssSelector = "hop-Link";
|
|
18
18
|
var LinkToIconSizeAdapter = {
|
|
19
19
|
inherit: void 0,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _EmbeddedButton } from './chunk-
|
|
4
|
-
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
2
|
+
import { _InputGroup } from './chunk-CCIVRIKG.js';
|
|
3
|
+
import { _EmbeddedButton } from './chunk-ZXDN2IRM.js';
|
|
5
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
|
+
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
8
8
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, Input, TextField } from 'react-ari
|
|
|
18
18
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./PasswordField.module.css#css-module
|
|
21
|
-
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-
|
|
21
|
+
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___ban52", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___nt8Nm", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___lGjUQ", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___tZgCe", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___f-Szj", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___RJzJX" };
|
|
22
22
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
23
23
|
function PasswordField(props, ref) {
|
|
24
24
|
var _a;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { useMediaQuery } from '@hopper-ui/styled-system';
|
|
2
|
+
|
|
3
|
+
// src/utils/src/useScale.ts
|
|
4
|
+
function useScale() {
|
|
5
|
+
const matchesFine = useMediaQuery("(any-pointer: fine)");
|
|
6
|
+
if (matchesFine) {
|
|
7
|
+
return "medium";
|
|
8
|
+
}
|
|
9
|
+
return "large";
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { useScale };
|
|
@@ -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___tIhOW", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___TsXgv", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___L9Azr", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___qJgpi", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___-lcHp" };
|
|
17
17
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
18
|
function TagGroup(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -47,8 +47,7 @@ function TagGroup(props, ref) {
|
|
|
47
47
|
{
|
|
48
48
|
values: [
|
|
49
49
|
[LabelContext, {
|
|
50
|
-
className: TagGroup_module_default["hop-TagGroup__label"]
|
|
51
|
-
size
|
|
50
|
+
className: TagGroup_module_default["hop-TagGroup__label"]
|
|
52
51
|
}],
|
|
53
52
|
[TagListContext, {
|
|
54
53
|
className: TagGroup_module_default["hop-TagGroup__list"]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
1
2
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
3
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
3
4
|
import { RadioListContext } from './chunk-A7TZHALP.js';
|
|
4
|
-
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { HelperMessageContext } from './chunk-HZKFQ33E.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___GTWVm", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___UKV-A", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___a9Tbq", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___RYdU8", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___XRgtP", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___cPH4h", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___Esych", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___cJ0g4", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___35eYj" };
|
|
18
18
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
19
|
function RadioGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -55,8 +55,7 @@ function RadioGroup(props, ref) {
|
|
|
55
55
|
{
|
|
56
56
|
values: [
|
|
57
57
|
[LabelContext, {
|
|
58
|
-
className: RadioGroup_module_default["hop-RadioGroup__label"]
|
|
59
|
-
size
|
|
58
|
+
className: RadioGroup_module_default["hop-RadioGroup__label"]
|
|
60
59
|
}],
|
|
61
60
|
[RadioContext, {
|
|
62
61
|
className: RadioGroup_module_default["hop-RadioGroup__radio"],
|
|
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Text.module.css#css-module
|
|
12
|
-
var Text_module_default = { "hop-Text": "Text-module__hop-
|
|
12
|
+
var Text_module_default = { "hop-Text": "Text-module__hop-Text___XGciL", "hop-Text--xs": "Text-module__hop-Text--xs___8DcIm", "hop-Text--sm": "Text-module__hop-Text--sm___B0mGK", "hop-Text--md": "Text-module__hop-Text--md___QwBMo", "hop-Text--lg": "Text-module__hop-Text--lg___BAtSv", "hop-Text--xl": "Text-module__hop-Text--xl___QUy6V", "hop-Text--2xl": "Text-module__hop-Text--2xl___DFqJ4", "hop-Text--inherit": "Text-module__hop-Text--inherit___WkAxg" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -2,7 +2,7 @@ import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
3
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-PAYZGXTT.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.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-
|
|
17
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___r5edU", "hop-Switch--sm": "Switch-module__hop-Switch--sm___g5O2w", "hop-Switch--md": "Switch-module__hop-Switch--md___F6pgw", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___GZeio", "hop-Switch__text": "Switch-module__hop-Switch__text___8JPWQ", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___sXzkG", "hop-Switch__icon": "Switch-module__hop-Switch__icon___yeaOO" };
|
|
18
18
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
19
19
|
function Switch(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-PAYZGXTT.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { InfoIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
|
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./HelperMessage.module.css#css-module
|
|
12
|
-
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-
|
|
12
|
+
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___0xUz2", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___N2F4v" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
3
|
import { ChipContext } from './chunk-632B5YBQ.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-PAYZGXTT.js';
|
|
5
5
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, DEFAULT_SLOT } from 'react-aria-components';
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Chip.module.css#css-module
|
|
16
|
-
var Chip_module_default = { "hop-Chip": "Chip-module__hop-
|
|
16
|
+
var Chip_module_default = { "hop-Chip": "Chip-module__hop-Chip___Sfput", "hop-Chip--xs": "Chip-module__hop-Chip--xs___1FBWu", "hop-Chip--sm": "Chip-module__hop-Chip--sm___GsR-j", "hop-Chip--md": "Chip-module__hop-Chip--md___p7p8Z", "hop-Chip--lg": "Chip-module__hop-Chip--lg___LwB3r", "hop-Chip--neutral": "Chip-module__hop-Chip--neutral___zDurk", "hop-Chip--progress": "Chip-module__hop-Chip--progress___60Zzw", "hop-Chip--positive": "Chip-module__hop-Chip--positive___VYm5D", "hop-Chip--caution": "Chip-module__hop-Chip--caution___DOCwd", "hop-Chip--negative": "Chip-module__hop-Chip--negative___gE3rS", "hop-Chip--option1": "Chip-module__hop-Chip--option1___lfsAR", "hop-Chip--option2": "Chip-module__hop-Chip--option2___5XFUk", "hop-Chip--option3": "Chip-module__hop-Chip--option3___M686T", "hop-Chip--option4": "Chip-module__hop-Chip--option4___cQSS7", "hop-Chip--option5": "Chip-module__hop-Chip--option5___Ge8nG", "hop-Chip--option6": "Chip-module__hop-Chip--option6___mtUEM", "hop-Chip--inactive": "Chip-module__hop-Chip--inactive___XPGCu", "hop-Chip--disabled": "Chip-module__hop-Chip--disabled___acT3L", "hop-Chip__icon": "Chip-module__hop-Chip__icon___SGwtj", "hop-Chip__icon-list": "Chip-module__hop-Chip__icon-list___3-ZPq", "hop-Chip__text": "Chip-module__hop-Chip__text___YOY-X", "hop-Chip__end-icon": "Chip-module__hop-Chip__end-icon___Y--iM", "hop-Chip__end-icon-list": "Chip-module__hop-Chip__end-icon-list___Xo8tF" };
|
|
17
17
|
var GlobalChipCssSelector = "hop-Chip";
|
|
18
18
|
var ChipToTextSizeAdapter = {
|
|
19
19
|
xs: "xs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-AYPCLDGU.js';
|
|
3
3
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
4
4
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -2,7 +2,7 @@ import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
3
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-PAYZGXTT.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Radio.module.css#css-module
|
|
17
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
17
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___uyamy", "hop-Radio--focused": "Radio-module__hop-Radio--focused___TGZbx", "hop-Radio--hovered": "Radio-module__hop-Radio--hovered___YkYk3", "hop-Radio--pressed": "Radio-module__hop-Radio--pressed___SYCe0", "hop-Radio--sm": "Radio-module__hop-Radio--sm___0rL4j", "hop-Radio--md": "Radio-module__hop-Radio--md___2Sf0G", "hop-Radio__icon": "Radio-module__hop-Radio__icon___xaWvn", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___ipHyc", "hop-Radio__box": "Radio-module__hop-Radio__box___HK3bx", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___9QxuR", "hop-Radio__text": "Radio-module__hop-Radio__text___DVOte" };
|
|
18
18
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
19
19
|
function Radio(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _Radio } from './chunk-SSMGKQ27.js';
|
|
2
|
+
import { _RadioGroup } from './chunk-NHM3MQI3.js';
|
|
2
3
|
import { _RadioList } from './chunk-NKHMUPAP.js';
|
|
3
|
-
import {
|
|
4
|
-
import { _Checkbox } from './chunk-BRIG7AIE.js';
|
|
4
|
+
import { _Checkbox } from './chunk-W34MMJ2L.js';
|
|
5
5
|
import { useLocalizedString } from './chunk-YEYNRBMQ.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
8
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
8
|
+
import { _ListBoxItemSkeleton } from './chunk-THQZBL4T.js';
|
|
9
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
9
10
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
10
11
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
11
|
-
import {
|
|
12
|
-
import { _Text } from './chunk-PPO5T6D3.js';
|
|
12
|
+
import { _Text } from './chunk-PAYZGXTT.js';
|
|
13
13
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
14
14
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
15
15
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -20,7 +20,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
20
20
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
21
21
|
|
|
22
22
|
// css-module:./ListBoxItem.module.css#css-module
|
|
23
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
23
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___NSPLY", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___7hc2A", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___85bzp", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___MoEKQ", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___RDITm", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___zN4iO", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___SwFBV", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___FeYgQ", "hop-ListBoxItem__radio-group": "ListBoxItem-module__hop-ListBoxItem__radio-group___QRD7t", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___ERb2a", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___gaSut", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___3-13V", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___wPgqZ", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___dSaVa", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___MadkE", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___mXgdz", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___C8-JS" };
|
|
24
24
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
25
25
|
var ListBoxItemToIconSizeAdapter = {
|
|
26
26
|
xs: "sm",
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./ListBoxItemSkeleton.module.css#css-module
|
|
10
|
-
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-
|
|
10
|
+
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___9KoCq", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___hlN0J", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___ztoOV", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___SipZz", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___eAJ9R", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___w5aPz" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|