@hopper-ui/components 1.3.0 → 1.3.2
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 +12 -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 +4 -4
- 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 +6 -6
- package/dist/Badge/src/Badge.css +85 -13
- package/dist/Badge/src/Badge.d.ts +6 -2
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/BadgeContext.d.ts +8 -3
- package/dist/Badge/src/FloatingBadge.css +96 -0
- package/dist/Badge/src/FloatingBadge.d.ts +33 -0
- package/dist/Badge/src/FloatingBadge.js +7 -0
- package/dist/Badge/src/FloatingBadgeContext.d.ts +10 -0
- package/dist/Badge/src/FloatingBadgeContext.js +2 -0
- package/dist/Badge/src/index.css +182 -13
- package/dist/Badge/src/index.d.ts +3 -1
- package/dist/Badge/src/index.js +5 -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/Form/src/Form.css +809 -627
- package/dist/Form/src/Form.js +61 -59
- package/dist/Form/src/index.css +809 -627
- package/dist/Form/src/index.js +61 -59
- 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 +373 -204
- package/dist/ListBox/src/ListBox.js +11 -11
- package/dist/ListBox/src/ListBoxItem.css +358 -189
- package/dist/ListBox/src/ListBoxItem.js +10 -10
- package/dist/ListBox/src/ListBoxItemSkeleton.css +7 -7
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +373 -204
- package/dist/ListBox/src/index.js +11 -11
- package/dist/Select/src/Select.css +809 -627
- package/dist/Select/src/Select.js +61 -59
- package/dist/Select/src/SelectValue.css +60 -60
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +809 -627
- package/dist/Select/src/index.js +61 -59
- 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/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +3 -3
- package/dist/buttons/src/ButtonGroup.css +11 -11
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +70 -70
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +70 -70
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +175 -175
- package/dist/buttons/src/index.js +7 -7
- package/dist/checkbox/src/Checkbox.css +31 -31
- 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 +60 -60
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/index.css +60 -60
- package/dist/checkbox/src/index.js +5 -5
- package/dist/chunk-2JKIODNX.js +72 -0
- package/dist/{chunk-QQI3KNHZ.js → chunk-2QRF6QS4.js} +4 -4
- package/dist/{chunk-LFN43ROH.js → chunk-4DUNOSY3.js} +2 -2
- package/dist/{chunk-AZJME7JV.js → chunk-4HDV2BLR.js} +3 -3
- package/dist/{chunk-4RMADICI.js → chunk-6ARIISLQ.js} +3 -3
- package/dist/{chunk-D5PBETXF.js → chunk-7PGPLWWM.js} +1 -1
- package/dist/{chunk-C72PRNOP.js → chunk-7UCX7BHD.js} +1 -1
- package/dist/{chunk-JIRLWUDP.js → chunk-BZEAJIFE.js} +2 -2
- package/dist/chunk-CIGS4QGT.js +7 -0
- package/dist/{chunk-BQITTESM.js → chunk-DBRCQKUP.js} +1 -1
- package/dist/{chunk-6C5RI4RT.js → chunk-DVUZTKLP.js} +11 -8
- package/dist/{chunk-LYPR2YMY.js → chunk-E3OC54N2.js} +18 -7
- package/dist/{chunk-YB7IYQW4.js → chunk-E4XUYBHM.js} +2 -2
- package/dist/{chunk-HIDHDS2L.js → chunk-EM46HWRZ.js} +1 -1
- package/dist/{chunk-3573Q6QG.js → chunk-FJ22ZFSR.js} +2 -2
- package/dist/{chunk-TOWSC7FO.js → chunk-GVSKXB2L.js} +3 -3
- package/dist/{chunk-GRJ3VKHY.js → chunk-GX73DZCI.js} +4 -4
- package/dist/{chunk-6H5DRQZH.js → chunk-HIBGDGNG.js} +2 -2
- package/dist/{chunk-BODCT27J.js → chunk-IU74RATZ.js} +1 -1
- package/dist/{chunk-DLZGJBL7.js → chunk-JCH77LJD.js} +1 -1
- package/dist/{chunk-SSDFINDD.js → chunk-KCISVH6E.js} +2 -2
- package/dist/{chunk-DXEWBV4C.js → chunk-KYREXCID.js} +11 -5
- package/dist/{chunk-TTY5HDLL.js → chunk-LBJ4PRPZ.js} +2 -2
- package/dist/{chunk-7L5MCX2A.js → chunk-M23LQGWD.js} +2 -2
- package/dist/{chunk-O2ZMTKCT.js → chunk-M72B6IEL.js} +1 -1
- package/dist/{chunk-DFVORYEU.js → chunk-MVQ4SZCY.js} +2 -2
- package/dist/{chunk-CWX45XWS.js → chunk-OHK3RWIU.js} +3 -3
- package/dist/{chunk-JQMXGSAE.js → chunk-PMPZHA56.js} +1 -1
- package/dist/{chunk-SCXYAGZI.js → chunk-QIGWJIKW.js} +11 -11
- package/dist/{chunk-BRU54ERL.js → chunk-SYP4FGDH.js} +2 -2
- package/dist/{chunk-ZHOQYYHY.js → chunk-SZE6BURJ.js} +1 -1
- package/dist/{chunk-FOXOPL2E.js → chunk-T46AXTFR.js} +9 -6
- package/dist/{chunk-T3CLGQI6.js → chunk-TKCXSKGR.js} +1 -1
- package/dist/{chunk-CAHZCRTK.js → chunk-UUNBQSPD.js} +1 -1
- package/dist/{chunk-BTHPJL3A.js → chunk-UURAYM5Q.js} +1 -1
- package/dist/{chunk-D7DIUGRI.js → chunk-VAX4ILUC.js} +1 -1
- package/dist/{chunk-3ZRCYKIV.js → chunk-VSUK2R4A.js} +2 -2
- package/dist/{chunk-CU36N5JQ.js → chunk-XBDHVTY7.js} +3 -3
- package/dist/{chunk-OLS7K6PO.js → chunk-XZRK3MCS.js} +2 -2
- package/dist/{chunk-T742LIIS.js → chunk-XZZGXNY3.js} +1 -1
- package/dist/{chunk-T37HTUEU.js → chunk-YAWQ7HJ5.js} +2 -2
- package/dist/{chunk-SKEMSZ63.js → chunk-ZUIUPK7K.js} +2 -2
- package/dist/index.css +809 -627
- package/dist/index.d.ts +3 -1
- package/dist/index.js +61 -59
- package/dist/inputs/src/InputGroup.css +14 -14
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +63 -63
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/PasswordField.css +217 -217
- package/dist/inputs/src/PasswordField.js +9 -9
- package/dist/inputs/src/SearchField.css +223 -223
- package/dist/inputs/src/SearchField.js +10 -10
- package/dist/inputs/src/TextArea.css +57 -57
- package/dist/inputs/src/TextArea.js +8 -8
- package/dist/inputs/src/TextField.css +231 -218
- package/dist/inputs/src/TextField.d.ts +7 -0
- package/dist/inputs/src/TextField.js +10 -9
- package/dist/inputs/src/index.css +279 -266
- package/dist/inputs/src/index.js +16 -16
- package/dist/overlays/Popover/src/Popover.css +809 -627
- package/dist/overlays/Popover/src/Popover.js +61 -59
- package/dist/overlays/Popover/src/index.css +809 -627
- package/dist/overlays/Popover/src/index.js +61 -59
- package/dist/radio/src/Radio.css +31 -31
- 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 +60 -60
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +60 -60
- 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 +2 -2
- package/dist/switch/src/index.css +31 -31
- package/dist/switch/src/index.js +4 -4
- package/dist/tag/src/Tag.css +473 -304
- package/dist/tag/src/Tag.js +5 -5
- package/dist/tag/src/TagGroup.css +22 -22
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/index.css +486 -317
- package/dist/tag/src/index.js +8 -8
- 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.js +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-PMPZHA56.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';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _Radio } from './chunk-LBJ4PRPZ.js';
|
|
2
|
+
import { _RadioGroup } from './chunk-KCISVH6E.js';
|
|
2
3
|
import { _RadioList } from './chunk-NKHMUPAP.js';
|
|
3
|
-
import {
|
|
4
|
-
import { _Checkbox } from './chunk-OLS7K6PO.js';
|
|
4
|
+
import { _Checkbox } from './chunk-XZRK3MCS.js';
|
|
5
5
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
6
|
+
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
7
|
+
import { _ListBoxItemSkeleton } from './chunk-TKCXSKGR.js';
|
|
6
8
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
7
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
|
-
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
9
|
-
import { _ListBoxItemSkeleton } from './chunk-T3CLGQI6.js';
|
|
10
10
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
11
11
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
12
|
-
import { _Text } from './chunk-
|
|
12
|
+
import { _Text } from './chunk-7PGPLWWM.js';
|
|
13
13
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
14
14
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
15
15
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -21,7 +21,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
21
21
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
22
22
|
|
|
23
23
|
// css-module:./ListBoxItem.module.css#css-module
|
|
24
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
24
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___WPcI6", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___9yqv-", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___-dIPa", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___zsuXH", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___2POEB", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___Q-WyC", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___8tVvi", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___zO-1q", "hop-ListBoxItem__radio-group": "ListBoxItem-module__hop-ListBoxItem__radio-group___BWVk3", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___TrEmP", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___2ts9n", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___cDnpz", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___lyDh4", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___bb5Mc", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___Auh9U", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___6JGnU", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___-OS1t" };
|
|
25
25
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
26
26
|
var ListBoxItemToIconSizeAdapter = {
|
|
27
27
|
xs: "sm",
|
|
@@ -157,7 +157,10 @@ function ListBoxItemInner(props) {
|
|
|
157
157
|
}],
|
|
158
158
|
[BadgeContext, {
|
|
159
159
|
className: ListBoxItem_module_default["hop-ListBoxItem__badge"],
|
|
160
|
-
isDisabled
|
|
160
|
+
isDisabled,
|
|
161
|
+
isHovered,
|
|
162
|
+
isPressed,
|
|
163
|
+
isSelected
|
|
161
164
|
}],
|
|
162
165
|
[AvatarContext, {
|
|
163
166
|
className: ListBoxItem_module_default["hop-ListBoxItem__avatar"],
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
+
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
1
2
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
3
|
+
import { _InputGroup } from './chunk-SZE6BURJ.js';
|
|
4
|
+
import { _ClearButton } from './chunk-UURAYM5Q.js';
|
|
4
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
6
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
6
7
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
7
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
9
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
9
10
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
10
|
-
import { _Text } from './chunk-
|
|
11
|
+
import { _Text } from './chunk-7PGPLWWM.js';
|
|
11
12
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
12
13
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
13
14
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
14
15
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
15
16
|
import { IconContext } from '@hopper-ui/icons';
|
|
16
|
-
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
17
|
+
import { useStyledSystem, useResponsiveValue, useIsomorphicLayoutEffect } from '@hopper-ui/styled-system';
|
|
17
18
|
import { mergeRefs } from '@react-aria/utils';
|
|
18
19
|
import { useControlledState } from '@react-stately/utils';
|
|
19
20
|
import { forwardRef, useState, useCallback } from 'react';
|
|
@@ -22,7 +23,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
22
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
24
|
|
|
24
25
|
// css-module:./TextField.module.css#css-module
|
|
25
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
26
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___hk6Yk", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___ZsmOR", "hop-TextField__Label": "TextField-module__hop-TextField__Label___imz7C", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___2ukPK", "hop-TextField__char-count": "TextField-module__hop-TextField__char-count___aADbQ", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___c6vKu", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___EPMW6", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___T2wjf" };
|
|
26
27
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
27
28
|
function TextField(props, ref) {
|
|
28
29
|
var _a;
|
|
@@ -54,10 +55,12 @@ function TextField(props, ref) {
|
|
|
54
55
|
isDisabled,
|
|
55
56
|
isInvalid,
|
|
56
57
|
isRequired,
|
|
58
|
+
restrictMaxLength = true,
|
|
57
59
|
...otherProps
|
|
58
60
|
} = ownProps;
|
|
59
61
|
const inputRef = useObjectRef(mergeRefs(userProvidedInputRef, props.inputRef !== void 0 ? props.inputRef : null));
|
|
60
62
|
const isFluid = (_a = useResponsiveValue(isFluidProp)) != null ? _a : false;
|
|
63
|
+
const overMaxLength = !!maxLength && characterCount > maxLength;
|
|
61
64
|
const classNames = composeClassnameRenderProps(
|
|
62
65
|
className,
|
|
63
66
|
GlobalTextFieldCssSelector,
|
|
@@ -79,6 +82,7 @@ function TextField(props, ref) {
|
|
|
79
82
|
setCharacterCount(value2.length);
|
|
80
83
|
onChangeProp == null ? void 0 : onChangeProp(value2);
|
|
81
84
|
}, [onChangeProp]);
|
|
85
|
+
const truncateText = useTruncatedText();
|
|
82
86
|
const [value, onChange] = useControlledState(valueProp, defaultValue || "", handleTextChanged);
|
|
83
87
|
const handleClear = useCallback(() => {
|
|
84
88
|
onChange("");
|
|
@@ -98,6 +102,12 @@ function TextField(props, ref) {
|
|
|
98
102
|
children: isTextOnlyChildren(prefix) ? /* @__PURE__ */ jsx(_Text, { children: prefix }) : prefix
|
|
99
103
|
}
|
|
100
104
|
) : null;
|
|
105
|
+
useIsomorphicLayoutEffect(() => {
|
|
106
|
+
if (restrictMaxLength) {
|
|
107
|
+
const newValue = truncateText(value, maxLength);
|
|
108
|
+
onChange(newValue);
|
|
109
|
+
}
|
|
110
|
+
}, [value]);
|
|
101
111
|
const inputMarkup = /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsxs(
|
|
102
112
|
_InputGroup,
|
|
103
113
|
{
|
|
@@ -137,11 +147,12 @@ function TextField(props, ref) {
|
|
|
137
147
|
value,
|
|
138
148
|
style,
|
|
139
149
|
className: classNames,
|
|
140
|
-
maxLength,
|
|
150
|
+
maxLength: restrictMaxLength ? maxLength : void 0,
|
|
141
151
|
onChange,
|
|
142
152
|
isDisabled,
|
|
143
153
|
isInvalid,
|
|
144
154
|
isRequired,
|
|
155
|
+
"data-over-max-length": overMaxLength || void 0,
|
|
145
156
|
...otherProps,
|
|
146
157
|
children: childrenMarkup
|
|
147
158
|
}
|
|
@@ -154,8 +165,8 @@ function CharacterCount({ characterLeft }) {
|
|
|
154
165
|
_Text,
|
|
155
166
|
{
|
|
156
167
|
"aria-label": accessibilityString,
|
|
168
|
+
className: TextField_module_default["hop-TextField__char-count"],
|
|
157
169
|
role: "status",
|
|
158
|
-
color: "neutral-weakest",
|
|
159
170
|
size: "xs",
|
|
160
171
|
children: characterLeft
|
|
161
172
|
}
|
|
@@ -2,7 +2,7 @@ import { useIsOverflow } from './chunk-EHXOXTDN.js';
|
|
|
2
2
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-7PGPLWWM.js';
|
|
6
6
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
7
7
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
8
8
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, SelectValueContext, SelectStateContext, useSlottedCont
|
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./SelectValue.module.css#css-module
|
|
19
|
-
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-
|
|
19
|
+
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-SelectValue___aeUo4", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___ydj2c", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___sLKo8", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___MvBWs", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___sApM8" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -8,7 +8,7 @@ import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Label.module.css#css-module
|
|
11
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
11
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___fMtr-", "hop-Label__indicator": "Label-module__hop-Label__indicator___L7EES" };
|
|
12
12
|
var GlobalLabelCssSelector = "hop-Label";
|
|
13
13
|
function Label(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SpinnerContext } from './chunk-4ZYV2XLW.js';
|
|
2
2
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-7PGPLWWM.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';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, ProgressBar } from 'react-aria-components';
|
|
|
9
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Spinner.module.css#css-module
|
|
12
|
-
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-
|
|
12
|
+
var Spinner_module_default = { "hop-Spinner": "Spinner-module__hop-Spinner___Zh1Ig", "spin": "Spinner-module__spin___HWAqt", "hop-Spinner--sm": "Spinner-module__hop-Spinner--sm___xO7jF", "hop-Spinner--md": "Spinner-module__hop-Spinner--md___86MBc", "hop-Spinner--lg": "Spinner-module__hop-Spinner--lg___6WVVx", "hop-Spinner__track": "Spinner-module__hop-Spinner__track___bSJvF", "hop-Spinner__fill": "Spinner-module__hop-Spinner__fill___HqVd1", "hop-Spinner__label": "Spinner-module__hop-Spinner__label___u732A" };
|
|
13
13
|
var GlobalSpinnerCssSelector = "hop-Spinner";
|
|
14
14
|
var SpinnerToTextSizeAdapter = {
|
|
15
15
|
sm: "xs",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import { _Spinner } from './chunk-
|
|
2
|
+
import { _Spinner } from './chunk-FJ22ZFSR.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
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
8
8
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
9
|
-
import { _Text } from './chunk-
|
|
9
|
+
import { _Text } from './chunk-7PGPLWWM.js';
|
|
10
10
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, ButtonContext as ButtonContext$1, composeRenderProps,
|
|
|
19
19
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Button.module.css#css-module
|
|
22
|
-
var Button_module_default = { "hop-Button": "Button-module__hop-
|
|
22
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___lmqpa", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___2xBXm", "hop-Button--fluid": "Button-module__hop-Button--fluid___l-oPy", "hop-Button--sm": "Button-module__hop-Button--sm___BH-SD", "hop-Button--primary": "Button-module__hop-Button--primary___kVWtX", "hop-Button--md": "Button-module__hop-Button--md___UEh5L", "hop-Button--secondary": "Button-module__hop-Button--secondary___PBpba", "hop-Button--upsell": "Button-module__hop-Button--upsell___f4MnG", "hop-Button--danger": "Button-module__hop-Button--danger___TV-l6", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___qqiOP", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___PyKnm", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___VOEr-", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___R38Q-", "hop-Button__icon": "Button-module__hop-Button__icon___ytKYx", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___MguPH", "hop-Button__text": "Button-module__hop-Button__text___hzQn3", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___iWHO9", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___WUaQk" };
|
|
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) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
2
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
3
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
4
|
-
import {
|
|
3
|
+
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
+
import { _InputGroup } from './chunk-SZE6BURJ.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
9
9
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
10
|
-
import { _Text } from './chunk-
|
|
10
|
+
import { _Text } from './chunk-7PGPLWWM.js';
|
|
11
11
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
12
12
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
13
13
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -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___nGCAY", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___tOStF", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___7XDtF", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___5sJCg", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___bA0hN", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___lSguM", "hop-TextArea__char-count": "TextArea-module__hop-TextArea__char-count___yJIH-", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___h64Vh", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___DhORP" };
|
|
83
83
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
84
84
|
var DefaultMinimumTextAreaRows = 3;
|
|
85
85
|
var pxToInt = (value) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-7PGPLWWM.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___wUoas", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___An68p" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -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___gSY2V", "hop-Heading--xs": "Heading-module__hop-Heading--xs___eEbWp", "hop-Heading--sm": "Heading-module__hop-Heading--sm___XW-eh", "hop-Heading--md": "Heading-module__hop-Heading--md___4aHJY", "hop-Heading--lg": "Heading-module__hop-Heading--lg___2NCdP", "hop-Heading--xl": "Heading-module__hop-Heading--xl___njv3P", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___GYFl2", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___-2AIg" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -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___fqfQB", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___GATaO" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -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___5uPZC", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___QTb7g", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___sySXY", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___bhsBV", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___4M6KT", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___K-Y-B", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___CSjUc", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___QXzMh", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___BkFNa" };
|
|
18
18
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
19
19
|
function RadioGroup(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-7UCX7BHD.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,27 +9,29 @@ 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___j2yOS" };
|
|
13
13
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
14
14
|
function Badge(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
16
|
+
const { isHovered, isPressed, isSelected } = props;
|
|
16
17
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
17
18
|
const {
|
|
18
19
|
children,
|
|
19
20
|
className,
|
|
20
21
|
isDisabled,
|
|
22
|
+
isIndeterminate,
|
|
21
23
|
style,
|
|
22
24
|
slot,
|
|
23
25
|
variant = "primary",
|
|
24
26
|
...otherProps
|
|
25
27
|
} = ownProps;
|
|
28
|
+
const isDot = isIndeterminate || !children;
|
|
26
29
|
const classNames = clsx(
|
|
27
30
|
className,
|
|
28
31
|
GlobalBadgeCssSelector,
|
|
29
32
|
cssModule(
|
|
30
33
|
Badge_module_default,
|
|
31
|
-
"hop-Badge"
|
|
32
|
-
variant
|
|
34
|
+
"hop-Badge"
|
|
33
35
|
),
|
|
34
36
|
stylingProps.className
|
|
35
37
|
);
|
|
@@ -47,8 +49,12 @@ function Badge(props, ref) {
|
|
|
47
49
|
slot: slot != null ? slot : void 0,
|
|
48
50
|
"data-disabled": isDisabled || void 0,
|
|
49
51
|
"aria-disabled": isDisabled || void 0,
|
|
52
|
+
"data-indeterminate": isDot || void 0,
|
|
53
|
+
"data-hovered": isHovered || void 0,
|
|
54
|
+
"data-pressed": isPressed || void 0,
|
|
55
|
+
"data-selected": isSelected || void 0,
|
|
50
56
|
"data-variant": variant,
|
|
51
|
-
children
|
|
57
|
+
children: !isDot && children
|
|
52
58
|
}
|
|
53
59
|
) });
|
|
54
60
|
}
|
|
@@ -2,7 +2,7 @@ import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-7PGPLWWM.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___fiLqZ", "hop-Radio--focused": "Radio-module__hop-Radio--focused___ljAlt", "hop-Radio--hovered": "Radio-module__hop-Radio--hovered___1jVbG", "hop-Radio--pressed": "Radio-module__hop-Radio--pressed___fFpLV", "hop-Radio--sm": "Radio-module__hop-Radio--sm___lMp9M", "hop-Radio--md": "Radio-module__hop-Radio--md___2SjXP", "hop-Radio__icon": "Radio-module__hop-Radio__icon___RhEJ7", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___3-dCQ", "hop-Radio__box": "Radio-module__hop-Radio__box___XsjuT", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___rhaGm", "hop-Radio__text": "Radio-module__hop-Radio__text___gKthl" };
|
|
18
18
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
19
19
|
function Radio(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -2,7 +2,7 @@ import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
|
2
2
|
import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-7PGPLWWM.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___uGj2-", "hop-Switch--sm": "Switch-module__hop-Switch--sm___HYfto", "hop-Switch--md": "Switch-module__hop-Switch--md___AfBBH", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___nXNzx", "hop-Switch__text": "Switch-module__hop-Switch__text___AVZma", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___m-I5f", "hop-Switch__icon": "Switch-module__hop-Switch__icon___YH2YF" };
|
|
18
18
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
19
19
|
function Switch(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-PMPZHA56.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,6 +1,6 @@
|
|
|
1
|
+
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
1
2
|
import { TagListContext } from './chunk-XLKYXKWE.js';
|
|
2
3
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import { TagGroupContext } from './chunk-LCAS3YQV.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___td3l-", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___e3DCJ", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___EqUHr", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___2FN5L", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___8cR86" };
|
|
17
17
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
18
18
|
function TagGroup(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _InputGroup } from './chunk-ZHOQYYHY.js';
|
|
2
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
3
|
-
import {
|
|
2
|
+
import { _InputGroup } from './chunk-SZE6BURJ.js';
|
|
3
|
+
import { _ClearButton } from './chunk-UURAYM5Q.js';
|
|
4
4
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, Input, SearchField as SearchField$
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./SearchField.module.css#css-module
|
|
20
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
20
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___porIP", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___Zmi0a", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___FRVg6", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___Ft5xn", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___up43t", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___kZ2Cn", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___W28CU", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___84FAI", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___hA3ul" };
|
|
21
21
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
22
22
|
function SearchField(props, ref) {
|
|
23
23
|
var _a;
|
|
@@ -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___qCno4", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___CJQjx", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___atibm", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___bnHkl", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___MIOqU", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___hOZPm", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___8l-pB", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___6NmFu" };
|
|
13
13
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
14
14
|
var AvatarToIconSizeAdapter = {
|
|
15
15
|
xs: "md",
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
2
|
import { _Footer } from './chunk-AQITZWYM.js';
|
|
3
3
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
4
|
+
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
4
5
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
5
6
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
6
7
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
7
8
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
8
9
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
9
|
-
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
10
|
-
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
11
10
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
12
|
-
import {
|
|
11
|
+
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
13
12
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
14
13
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
15
|
-
import { _SelectValue } from './chunk-
|
|
14
|
+
import { _SelectValue } from './chunk-E4XUYBHM.js';
|
|
16
15
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
16
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
17
17
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
18
|
-
import { _ListBox } from './chunk-
|
|
18
|
+
import { _ListBox } from './chunk-2QRF6QS4.js';
|
|
19
19
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
20
20
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
21
|
-
import { _ListBoxItem } from './chunk-
|
|
21
|
+
import { _ListBoxItem } from './chunk-DVUZTKLP.js';
|
|
22
22
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
23
23
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
24
24
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
@@ -26,10 +26,10 @@ import { isTextOnlyChildren } from './chunk-ZWU6DRRZ.js';
|
|
|
26
26
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
27
27
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
28
28
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
29
|
+
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
29
30
|
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
30
31
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
31
|
-
import {
|
|
32
|
-
import { _Text } from './chunk-D5PBETXF.js';
|
|
32
|
+
import { _Text } from './chunk-7PGPLWWM.js';
|
|
33
33
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
34
34
|
import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
|
|
35
35
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -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___gUuqE", "fade": "Popover-module__fade___ByoOf", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___PUZxp", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___sW-hf", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___fQSFy", "hop-Popover__title": "Popover-module__hop-Popover__title___kUozx", "hop-Popover__content": "Popover-module__hop-Popover__content___lGFNJ", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___3a8GD", "hop-Popover__footer": "Popover-module__hop-Popover__footer___OfxU-", "hop-Popover__actions": "Popover-module__hop-Popover__actions___dmf8x", "hop-Popover__action": "Popover-module__hop-Popover__action___DxkKZ" };
|
|
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___NY-PE", "hop-Select--fluid": "Select-module__hop-Select--fluid___Spz5C", "hop-Select__label": "Select-module__hop-Select__label___2D4bX", "hop-Select__button": "Select-module__hop-Select__button___Go9H0", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___EbGeY", "hop-Select__button--md": "Select-module__hop-Select__button--md___cdeXg", "hop-Select__prefix": "Select-module__hop-Select__prefix___2TSOS", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___aX0YH", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___lx7SC", "hop-Select__error-message": "Select-module__hop-Select__error-message___00F7I" };
|
|
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___C2j6d" };
|
|
742
742
|
var GlobalFormCssSelector = "hop-Form";
|
|
743
743
|
function Form(props, ref) {
|
|
744
744
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
2
2
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-7PGPLWWM.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { WarningIcon } from '@hopper-ui/icons';
|
|
6
6
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -10,7 +10,7 @@ import { FieldErrorContext, useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ErrorMessage.module.css#css-module
|
|
13
|
-
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-
|
|
13
|
+
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-ErrorMessage___RgnZ8", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___55BuQ" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -9,7 +9,7 @@ import { useContextProps, useSlottedContext, InputContext, TextAreaContext, Fiel
|
|
|
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___WTjn6", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___qLBy2", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___PglDr", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___pDQNr", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___738GU" };
|
|
13
13
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
14
14
|
function InputGroup(props, ref) {
|
|
15
15
|
var _a, _b;
|