@hopper-ui/components 1.3.16 → 1.3.17
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 +6 -0
- package/dist/Avatar/src/AnonymousAvatar.css +37 -37
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +55 -55
- package/dist/Avatar/src/Avatar.js +4 -4
- package/dist/Avatar/src/DeletedAvatar.css +37 -37
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +37 -37
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +55 -55
- package/dist/Avatar/src/index.js +6 -6
- package/dist/Badge/src/Badge.css +42 -42
- package/dist/Badge/src/Badge.js +3 -3
- package/dist/Badge/src/FloatingBadge.css +37 -37
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +52 -52
- package/dist/Badge/src/index.js +4 -4
- package/dist/ComboBox/src/ComboBox.css +946 -946
- package/dist/ComboBox/src/ComboBox.d.ts +6 -56
- package/dist/ComboBox/src/ComboBox.js +6 -106
- package/dist/ComboBox/src/ComboBoxContext.d.ts +1 -10
- package/dist/ComboBox/src/ComboBoxOptions.css +5140 -0
- package/dist/ComboBox/src/ComboBoxOptions.d.ts +51 -0
- package/dist/ComboBox/src/ComboBoxOptions.js +127 -0
- package/dist/ComboBox/src/ComboBoxOptionsContext.d.ts +21 -0
- package/dist/ComboBox/src/ComboBoxOptionsContext.js +2 -0
- package/dist/ComboBox/src/index.css +946 -946
- package/dist/ComboBox/src/index.d.ts +8 -6
- package/dist/ComboBox/src/index.js +83 -79
- package/dist/Divider/src/Divider.css +29 -29
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +29 -29
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +29 -29
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +29 -29
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +713 -713
- package/dist/Form/src/Form.js +83 -79
- package/dist/Form/src/index.css +713 -713
- package/dist/Form/src/index.js +83 -79
- package/dist/HelperMessage/src/HelperMessage.css +29 -29
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +29 -29
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +28 -28
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +28 -28
- package/dist/IconList/src/index.js +1 -1
- package/dist/Link/src/Link.css +49 -49
- package/dist/Link/src/Link.js +8 -8
- package/dist/Link/src/index.css +49 -49
- package/dist/Link/src/index.js +8 -8
- package/dist/ListBox/src/ListBox.css +274 -274
- package/dist/ListBox/src/ListBox.js +15 -15
- package/dist/ListBox/src/ListBoxItem.css +262 -262
- package/dist/ListBox/src/ListBoxItem.js +11 -11
- package/dist/ListBox/src/ListBoxItemSkeleton.css +34 -34
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +274 -274
- package/dist/ListBox/src/index.js +15 -15
- package/dist/Select/src/Select.css +648 -3434
- package/dist/Select/src/Select.d.ts +6 -52
- package/dist/Select/src/Select.js +8 -105
- package/dist/Select/src/SelectContext.d.ts +0 -9
- package/dist/Select/src/SelectOptions.css +5140 -0
- package/dist/Select/src/SelectOptions.d.ts +50 -0
- package/dist/Select/src/SelectOptions.js +127 -0
- package/dist/Select/src/SelectOptionsContext.d.ts +21 -0
- package/dist/Select/src/SelectOptionsContext.js +2 -0
- package/dist/Select/src/SelectValue.css +61 -61
- package/dist/Select/src/SelectValue.js +5 -5
- package/dist/Select/src/index.css +1158 -1158
- package/dist/Select/src/index.d.ts +8 -6
- package/dist/Select/src/index.js +83 -79
- package/dist/Spinner/src/Spinner.css +37 -37
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +37 -37
- package/dist/Spinner/src/index.js +2 -2
- package/dist/buttons/src/Button.css +112 -112
- package/dist/buttons/src/Button.js +9 -9
- package/dist/buttons/src/ButtonGroup.css +38 -38
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +98 -98
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +98 -98
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/index.css +194 -194
- package/dist/buttons/src/index.js +14 -14
- package/dist/checkbox/src/Checkbox.css +46 -46
- package/dist/checkbox/src/Checkbox.js +7 -7
- package/dist/checkbox/src/CheckboxField.css +33 -33
- package/dist/checkbox/src/CheckboxField.js +1 -1
- package/dist/checkbox/src/CheckboxGroup.css +98 -98
- package/dist/checkbox/src/CheckboxGroup.js +2 -2
- package/dist/checkbox/src/DecorativeCheckbox.css +54 -54
- package/dist/checkbox/src/DecorativeCheckbox.js +7 -7
- package/dist/checkbox/src/index.css +98 -98
- package/dist/checkbox/src/index.js +12 -12
- package/dist/{chunk-RERNNMNX.js → chunk-2Z23W7ZB.js} +2 -2
- package/dist/{chunk-7C76VW2S.js → chunk-32EM3PKP.js} +2 -2
- package/dist/{chunk-T2DMBK3U.js → chunk-32OQI72G.js} +1 -1
- package/dist/{chunk-BK4B5TOE.js → chunk-3K4FVAI2.js} +1 -1
- package/dist/{chunk-532EGRYD.js → chunk-46F22R6P.js} +3 -3
- package/dist/{chunk-CKPFSDF5.js → chunk-4GBIZJ3R.js} +1 -1
- package/dist/{chunk-YGEQT76S.js → chunk-54PR6T3F.js} +3 -3
- package/dist/{chunk-MGHBK4XX.js → chunk-5DKHVW5F.js} +2 -2
- package/dist/{chunk-SOS2KEKX.js → chunk-5JTQK4N6.js} +2 -2
- package/dist/{chunk-E3ZVVZI2.js → chunk-5Z5BPX63.js} +3 -3
- package/dist/{chunk-HG4WPVDQ.js → chunk-6ACKXIMZ.js} +6 -6
- package/dist/{chunk-KGMX2K4Z.js → chunk-77FWDWLW.js} +1 -1
- package/dist/{chunk-BWBS4H3T.js → chunk-BKBLBV3T.js} +5 -5
- package/dist/{chunk-CQQWAC7P.js → chunk-C6ECNNTN.js} +2 -2
- package/dist/{chunk-BOFZY7AG.js → chunk-CENRFUBQ.js} +2 -2
- package/dist/{chunk-GFAHOC2Y.js → chunk-CN462QLK.js} +5 -5
- package/dist/chunk-CQFXGAJK.js +7 -0
- package/dist/{chunk-43D3MCMN.js → chunk-CRJLEZQN.js} +2 -2
- package/dist/{chunk-2HFFANGL.js → chunk-CUXQ6GU5.js} +2 -2
- package/dist/{chunk-AAMYSAT4.js → chunk-DFH27VCT.js} +3 -3
- package/dist/{chunk-LNMXRJGJ.js → chunk-ECCNLKOA.js} +1 -1
- package/dist/{chunk-TU4QEQE4.js → chunk-EEEMR2R3.js} +1 -1
- package/dist/{chunk-PBFGUMTY.js → chunk-EMQFLPCD.js} +1 -1
- package/dist/{chunk-LZNVIB4Q.js → chunk-FHTV5GSM.js} +2 -2
- package/dist/{chunk-TIT2RZMI.js → chunk-FLLGE3ES.js} +1 -1
- package/dist/{chunk-RLNCYCEL.js → chunk-GQOH47EH.js} +1 -1
- package/dist/{chunk-D3ATZADP.js → chunk-IBQ62LWK.js} +2 -2
- package/dist/{chunk-AUEHFPNX.js → chunk-J3PSP5BB.js} +1 -1
- package/dist/{chunk-PXMJ2JSP.js → chunk-JISMKFNZ.js} +1 -1
- package/dist/{chunk-7A6CYDDX.js → chunk-JIUQVPKZ.js} +2 -2
- package/dist/{chunk-3RRF33G3.js → chunk-KV4GILRK.js} +6 -6
- package/dist/chunk-L6CLR42U.js +210 -0
- package/dist/chunk-MH2ITVPT.js +149 -0
- package/dist/{chunk-NCOVEXXO.js → chunk-MKQEZWWO.js} +1 -1
- package/dist/{chunk-2PPQY3B2.js → chunk-NI2WTR2F.js} +2 -2
- package/dist/{chunk-BZZ3R77M.js → chunk-O4BMADXB.js} +1 -1
- package/dist/{chunk-BMNXD345.js → chunk-OCVKN5AO.js} +3 -3
- package/dist/{chunk-ZJND7BQD.js → chunk-P2LXRVM2.js} +4 -4
- package/dist/{chunk-JMBLHNVE.js → chunk-PVNIJYBP.js} +1 -1
- package/dist/{chunk-4YPVPNN3.js → chunk-QV6P736B.js} +1 -1
- package/dist/{chunk-V2Z4BWEP.js → chunk-RZPJV4US.js} +96 -352
- package/dist/{chunk-5TLUX4FA.js → chunk-S2WS33QE.js} +2 -2
- package/dist/{chunk-GLAJGJ5L.js → chunk-S3IPCHSB.js} +2 -2
- package/dist/{chunk-3HPUMEF6.js → chunk-T2XCLPZE.js} +1 -1
- package/dist/{chunk-KBDTTZPD.js → chunk-UOT4YN2U.js} +2 -2
- package/dist/{chunk-ZCP2AXPD.js → chunk-UPE2QDRV.js} +1 -1
- package/dist/{chunk-XH5AZHD6.js → chunk-VDEENHJH.js} +3 -3
- package/dist/chunk-XGOJ7VOE.js +7 -0
- package/dist/{chunk-ARZVBUNR.js → chunk-XIFYV5FB.js} +2 -2
- package/dist/index.css +713 -713
- package/dist/index.d.ts +5 -1
- package/dist/index.js +83 -79
- package/dist/inputs/src/InputGroup.css +209 -209
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +231 -231
- package/dist/inputs/src/NumberField.js +7 -7
- package/dist/inputs/src/PasswordField.css +219 -219
- package/dist/inputs/src/PasswordField.js +8 -8
- package/dist/inputs/src/RemainingCharacterCount.css +30 -30
- package/dist/inputs/src/RemainingCharacterCount.js +5 -5
- package/dist/inputs/src/SearchField.css +225 -225
- package/dist/inputs/src/SearchField.js +8 -8
- package/dist/inputs/src/TextArea.css +226 -226
- package/dist/inputs/src/TextArea.js +7 -7
- package/dist/inputs/src/TextField.css +223 -223
- package/dist/inputs/src/TextField.js +11 -11
- package/dist/inputs/src/index.css +269 -269
- package/dist/inputs/src/index.js +18 -18
- package/dist/overlays/Popover/src/Popover.css +713 -713
- package/dist/overlays/Popover/src/Popover.d.ts +1 -1
- package/dist/overlays/Popover/src/Popover.js +83 -79
- package/dist/overlays/Popover/src/index.css +713 -713
- package/dist/overlays/Popover/src/index.js +83 -79
- package/dist/radio/src/DecorativeRadio.css +54 -54
- package/dist/radio/src/DecorativeRadio.js +7 -7
- package/dist/radio/src/Radio.css +46 -46
- package/dist/radio/src/Radio.js +7 -7
- package/dist/radio/src/RadioField.css +33 -33
- package/dist/radio/src/RadioField.js +1 -1
- package/dist/radio/src/RadioGroup.css +98 -98
- package/dist/radio/src/RadioGroup.js +2 -2
- package/dist/radio/src/index.css +98 -98
- package/dist/radio/src/index.js +12 -12
- package/dist/switch/src/Switch.css +43 -43
- package/dist/switch/src/Switch.js +7 -7
- package/dist/switch/src/SwitchField.css +33 -33
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +49 -49
- package/dist/switch/src/index.js +9 -9
- package/dist/tag/src/Tag.css +335 -335
- package/dist/tag/src/Tag.js +11 -11
- package/dist/tag/src/TagGroup.css +37 -37
- package/dist/tag/src/TagGroup.js +2 -2
- package/dist/tag/src/TagList.css +27 -27
- package/dist/tag/src/index.css +345 -345
- package/dist/tag/src/index.js +14 -14
- package/dist/typography/Heading/src/Heading.css +27 -27
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +27 -27
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +27 -27
- package/dist/typography/Label/src/Label.js +1 -1
- package/dist/typography/Label/src/index.css +27 -27
- package/dist/typography/Label/src/index.js +1 -1
- package/dist/typography/OverlineText/src/OverlineText.css +27 -27
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +27 -27
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +27 -27
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +27 -27
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +27 -27
- package/dist/utils/src/EnsureTextWrapper.js +5 -5
- package/dist/utils/src/index.css +27 -27
- package/dist/utils/src/index.js +7 -7
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
2
1
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
3
|
-
import { _RemainingCharacterCount } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { _RemainingCharacterCount } from './chunk-JIUQVPKZ.js';
|
|
3
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
4
|
+
import { _InputGroup } from './chunk-GQOH47EH.js';
|
|
5
|
+
import { _ClearButton } from './chunk-JISMKFNZ.js';
|
|
6
|
+
import { EnsureTextWrapper } from './chunk-EEEMR2R3.js';
|
|
7
7
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
8
8
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
9
9
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
@@ -23,7 +23,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
23
23
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
24
24
|
|
|
25
25
|
// css-module:./TextField.module.css#css-module
|
|
26
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
26
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___cPRGw", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___nbm1S", "hop-TextField__Label": "TextField-module__hop-TextField__Label___JJZPs", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___pU0k-", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___PKQeM", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___33K-f", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___qHMy2" };
|
|
27
27
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
28
28
|
function TextField(props, ref) {
|
|
29
29
|
var _a;
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
|
+
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-EEEMR2R3.js';
|
|
4
|
+
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
5
|
+
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
6
|
+
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
7
|
+
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
8
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
|
+
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
|
+
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
14
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
15
|
+
import { useObjectRef, mergeRefs, useResizeObserver } from '@react-aria/utils';
|
|
16
|
+
import { forwardRef, useRef, useState, useCallback } from 'react';
|
|
17
|
+
import { useContextProps, useSlottedContext, InputContext, composeRenderProps, ComboBox as ComboBox$1, Group, Input, Button } from 'react-aria-components';
|
|
18
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
19
|
+
|
|
20
|
+
// css-module:./ComboBox.module.css#css-module
|
|
21
|
+
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___22q-o", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___gZnV9", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___TUEfZ", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___ovjnZ", "hop-ComboBox__trigger--sm": "ComboBox-module__hop-ComboBox__trigger--sm___ANdPR", "hop-ComboBox__trigger--md": "ComboBox-module__hop-ComboBox__trigger--md___5KfXC", "hop-ComboBox__input": "ComboBox-module__hop-ComboBox__input___V6tKJ", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___YA0E8", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___BlcTQ", "hop-ComboBox__button-icon": "ComboBox-module__hop-ComboBox__button-icon___xTn4O", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___LpFXd", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___mmT2Q" };
|
|
22
|
+
var GlobalComboBoxCssSelector = "hop-ComboBox";
|
|
23
|
+
function ComboBox(props, ref) {
|
|
24
|
+
var _a, _b, _c;
|
|
25
|
+
const {
|
|
26
|
+
inputRef: userProvidedInputRef = null,
|
|
27
|
+
...propsWithoutRef
|
|
28
|
+
} = props;
|
|
29
|
+
[props, ref] = useContextProps(propsWithoutRef, ref, ComboBoxContext);
|
|
30
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
31
|
+
const {
|
|
32
|
+
className,
|
|
33
|
+
children: childrenProp,
|
|
34
|
+
isFluid: isFluidProp,
|
|
35
|
+
isInvalid,
|
|
36
|
+
isRequired,
|
|
37
|
+
items,
|
|
38
|
+
menuTrigger = "focus",
|
|
39
|
+
necessityIndicator,
|
|
40
|
+
placeholder,
|
|
41
|
+
prefix,
|
|
42
|
+
size: sizeProp,
|
|
43
|
+
style: styleProp,
|
|
44
|
+
triggerProps,
|
|
45
|
+
...otherProps
|
|
46
|
+
} = ownProps;
|
|
47
|
+
const inputRef = useObjectRef(mergeRefs(userProvidedInputRef, (_a = props.inputRef) != null ? _a : null));
|
|
48
|
+
const inputContext = useSlottedContext(InputContext);
|
|
49
|
+
const mergedInputRefs = (inputContext == null ? void 0 : inputContext.ref) ? mergeRefs(inputRef, inputContext.ref) : inputRef;
|
|
50
|
+
const triggerRef = useRef(null);
|
|
51
|
+
const buttonRef = useRef(null);
|
|
52
|
+
const [triggerWidth, setTriggerWidth] = useState(null);
|
|
53
|
+
const onResize = useCallback(() => {
|
|
54
|
+
if (triggerRef.current) {
|
|
55
|
+
setTriggerWidth(triggerRef.current.offsetWidth + "px");
|
|
56
|
+
}
|
|
57
|
+
}, [triggerRef]);
|
|
58
|
+
useResizeObserver({
|
|
59
|
+
ref: triggerRef,
|
|
60
|
+
onResize
|
|
61
|
+
});
|
|
62
|
+
const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
|
|
63
|
+
const {
|
|
64
|
+
className: triggerClassName,
|
|
65
|
+
style: triggerStyleProp,
|
|
66
|
+
...otherTriggerProps
|
|
67
|
+
} = triggerOwnProps;
|
|
68
|
+
const size = (_b = useResponsiveValue(sizeProp)) != null ? _b : "sm";
|
|
69
|
+
const isFluid = (_c = useResponsiveValue(isFluidProp)) != null ? _c : false;
|
|
70
|
+
const classNames = composeClassnameRenderProps(
|
|
71
|
+
className,
|
|
72
|
+
GlobalComboBoxCssSelector,
|
|
73
|
+
cssModule(
|
|
74
|
+
ComboBox_module_default,
|
|
75
|
+
"hop-ComboBox",
|
|
76
|
+
isFluid && "fluid",
|
|
77
|
+
size
|
|
78
|
+
),
|
|
79
|
+
stylingProps.className
|
|
80
|
+
);
|
|
81
|
+
const triggerClassNames = composeClassnameRenderProps(
|
|
82
|
+
triggerClassName,
|
|
83
|
+
cssModule(
|
|
84
|
+
ComboBox_module_default,
|
|
85
|
+
"hop-ComboBox__trigger",
|
|
86
|
+
size
|
|
87
|
+
),
|
|
88
|
+
triggerStylingProps.className
|
|
89
|
+
);
|
|
90
|
+
const buttonClassNames = composeClassnameRenderProps(
|
|
91
|
+
cssModule(
|
|
92
|
+
ComboBox_module_default,
|
|
93
|
+
"hop-ComboBox__button"
|
|
94
|
+
)
|
|
95
|
+
);
|
|
96
|
+
const inputClassNames = composeClassnameRenderProps(
|
|
97
|
+
inputContext == null ? void 0 : inputContext.className,
|
|
98
|
+
ComboBox_module_default["hop-ComboBox__input"]
|
|
99
|
+
);
|
|
100
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
101
|
+
return {
|
|
102
|
+
...stylingProps.style,
|
|
103
|
+
...prev
|
|
104
|
+
};
|
|
105
|
+
});
|
|
106
|
+
const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
|
|
107
|
+
return {
|
|
108
|
+
...triggerStylingProps.style,
|
|
109
|
+
...prev
|
|
110
|
+
};
|
|
111
|
+
});
|
|
112
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
113
|
+
return prev;
|
|
114
|
+
});
|
|
115
|
+
const handleMouseDown = useCallback((e) => {
|
|
116
|
+
if (inputRef.current && e.target !== inputRef.current && buttonRef.current && e.target !== buttonRef.current) {
|
|
117
|
+
inputRef.current.focus();
|
|
118
|
+
e.preventDefault();
|
|
119
|
+
}
|
|
120
|
+
}, [inputRef]);
|
|
121
|
+
const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
|
|
122
|
+
SlotProvider,
|
|
123
|
+
{
|
|
124
|
+
values: [
|
|
125
|
+
[TextContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }],
|
|
126
|
+
[IconContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }]
|
|
127
|
+
],
|
|
128
|
+
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prefix }) })
|
|
129
|
+
}
|
|
130
|
+
) : null;
|
|
131
|
+
return /* @__PURE__ */ jsx(
|
|
132
|
+
ComboBox$1,
|
|
133
|
+
{
|
|
134
|
+
ref,
|
|
135
|
+
className: classNames,
|
|
136
|
+
style,
|
|
137
|
+
isInvalid,
|
|
138
|
+
isRequired,
|
|
139
|
+
items,
|
|
140
|
+
menuTrigger,
|
|
141
|
+
...otherProps,
|
|
142
|
+
children: (comboBoxRenderProps) => {
|
|
143
|
+
const { isOpen } = comboBoxRenderProps;
|
|
144
|
+
const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
|
|
145
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
146
|
+
/* @__PURE__ */ jsx(
|
|
147
|
+
SlotProvider,
|
|
148
|
+
{
|
|
149
|
+
values: [
|
|
150
|
+
[LabelContext, {
|
|
151
|
+
className: ComboBox_module_default["hop-ComboBox__label"],
|
|
152
|
+
isRequired,
|
|
153
|
+
necessityIndicator
|
|
154
|
+
}],
|
|
155
|
+
[HelperMessageContext, {
|
|
156
|
+
className: ComboBox_module_default["hop-ComboBox__helper-message"]
|
|
157
|
+
}],
|
|
158
|
+
[ErrorMessageContext, {
|
|
159
|
+
className: ComboBox_module_default["hop-ComboBox__error-message"]
|
|
160
|
+
}],
|
|
161
|
+
[TextContext, {
|
|
162
|
+
size
|
|
163
|
+
}],
|
|
164
|
+
[ListBoxContext, {
|
|
165
|
+
size,
|
|
166
|
+
isInvalid,
|
|
167
|
+
items
|
|
168
|
+
}],
|
|
169
|
+
[PopoverContext, {
|
|
170
|
+
triggerRef,
|
|
171
|
+
style: {
|
|
172
|
+
"--custom-trigger-width": triggerWidth
|
|
173
|
+
}
|
|
174
|
+
}]
|
|
175
|
+
],
|
|
176
|
+
children: children(comboBoxRenderProps)
|
|
177
|
+
}
|
|
178
|
+
),
|
|
179
|
+
/* @__PURE__ */ jsxs(
|
|
180
|
+
Group,
|
|
181
|
+
{
|
|
182
|
+
ref: triggerRef,
|
|
183
|
+
className: triggerClassNames,
|
|
184
|
+
style: triggerStyle,
|
|
185
|
+
onMouseDown: handleMouseDown,
|
|
186
|
+
"data-selected": isOpen || void 0,
|
|
187
|
+
...otherTriggerProps,
|
|
188
|
+
children: [
|
|
189
|
+
prefixMarkup,
|
|
190
|
+
/* @__PURE__ */ jsx(
|
|
191
|
+
Input,
|
|
192
|
+
{
|
|
193
|
+
ref: mergedInputRefs,
|
|
194
|
+
className: inputClassNames,
|
|
195
|
+
placeholder
|
|
196
|
+
}
|
|
197
|
+
),
|
|
198
|
+
/* @__PURE__ */ jsx(Button, { className: buttonClassNames, ref: buttonRef, children: /* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: ComboBox_module_default["hop-ComboBox__button-icon"] }) })
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
)
|
|
202
|
+
] });
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
);
|
|
206
|
+
}
|
|
207
|
+
var _ComboBox = forwardRef(ComboBox);
|
|
208
|
+
_ComboBox.displayName = "ComboBox";
|
|
209
|
+
|
|
210
|
+
export { GlobalComboBoxCssSelector, _ComboBox };
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import { _SelectValue } from './chunk-5JTQK4N6.js';
|
|
2
|
+
import { SelectContext } from './chunk-T24MBA34.js';
|
|
3
|
+
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
4
|
+
import { EnsureTextWrapper } from './chunk-EEEMR2R3.js';
|
|
5
|
+
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
|
+
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
7
|
+
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
8
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
|
+
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
|
+
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
14
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
15
|
+
import { forwardRef } from 'react';
|
|
16
|
+
import { useContextProps, composeRenderProps, Select as Select$1, Button } from 'react-aria-components';
|
|
17
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
|
+
|
|
19
|
+
// css-module:./Select.module.css#css-module
|
|
20
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___TNlZK", "hop-Select--fluid": "Select-module__hop-Select--fluid___Pmtyu", "hop-Select__label": "Select-module__hop-Select__label___gr4p-", "hop-Select__button": "Select-module__hop-Select__button___KARiT", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___D3kQ0", "hop-Select__button--md": "Select-module__hop-Select__button--md___hDawq", "hop-Select__prefix": "Select-module__hop-Select__prefix___aur4M", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___heDUO", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___y3Ab0", "hop-Select__error-message": "Select-module__hop-Select__error-message___c0pzc" };
|
|
21
|
+
var GlobalSelectCssSelector = "hop-Select";
|
|
22
|
+
function Select(props, ref) {
|
|
23
|
+
var _a, _b;
|
|
24
|
+
[props, ref] = useContextProps(props, ref, SelectContext);
|
|
25
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
26
|
+
const {
|
|
27
|
+
className,
|
|
28
|
+
children: childrenProp,
|
|
29
|
+
isFluid: isFluidProp,
|
|
30
|
+
isInvalid,
|
|
31
|
+
isRequired,
|
|
32
|
+
items,
|
|
33
|
+
necessityIndicator,
|
|
34
|
+
prefix,
|
|
35
|
+
renderValue,
|
|
36
|
+
size: sizeProp,
|
|
37
|
+
style: styleProp,
|
|
38
|
+
triggerProps,
|
|
39
|
+
...otherProps
|
|
40
|
+
} = ownProps;
|
|
41
|
+
const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
|
|
42
|
+
const {
|
|
43
|
+
className: triggerClassName,
|
|
44
|
+
style: triggerStyleProp,
|
|
45
|
+
...otherTriggerProps
|
|
46
|
+
} = triggerOwnProps;
|
|
47
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "sm";
|
|
48
|
+
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
49
|
+
const classNames = composeClassnameRenderProps(
|
|
50
|
+
className,
|
|
51
|
+
GlobalSelectCssSelector,
|
|
52
|
+
cssModule(
|
|
53
|
+
Select_module_default,
|
|
54
|
+
"hop-Select",
|
|
55
|
+
isFluid && "fluid",
|
|
56
|
+
size
|
|
57
|
+
),
|
|
58
|
+
stylingProps.className
|
|
59
|
+
);
|
|
60
|
+
const buttonClassNames = composeClassnameRenderProps(
|
|
61
|
+
triggerClassName,
|
|
62
|
+
cssModule(
|
|
63
|
+
Select_module_default,
|
|
64
|
+
"hop-Select__button",
|
|
65
|
+
size
|
|
66
|
+
),
|
|
67
|
+
triggerStylingProps.className
|
|
68
|
+
);
|
|
69
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
70
|
+
return {
|
|
71
|
+
...stylingProps.style,
|
|
72
|
+
...prev
|
|
73
|
+
};
|
|
74
|
+
});
|
|
75
|
+
const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
|
|
76
|
+
return {
|
|
77
|
+
...triggerStylingProps.style,
|
|
78
|
+
...prev
|
|
79
|
+
};
|
|
80
|
+
});
|
|
81
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
82
|
+
return prev;
|
|
83
|
+
});
|
|
84
|
+
const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
|
|
85
|
+
SlotProvider,
|
|
86
|
+
{
|
|
87
|
+
values: [
|
|
88
|
+
[TextContext, { size, className: Select_module_default["hop-Select__prefix"] }],
|
|
89
|
+
[IconContext, { size, className: Select_module_default["hop-Select__prefix"] }]
|
|
90
|
+
],
|
|
91
|
+
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prefix }) })
|
|
92
|
+
}
|
|
93
|
+
) : null;
|
|
94
|
+
return /* @__PURE__ */ jsx(
|
|
95
|
+
Select$1,
|
|
96
|
+
{
|
|
97
|
+
...otherProps,
|
|
98
|
+
ref,
|
|
99
|
+
className: classNames,
|
|
100
|
+
style,
|
|
101
|
+
isInvalid,
|
|
102
|
+
isRequired,
|
|
103
|
+
children: (selectRenderProps) => {
|
|
104
|
+
const { isOpen } = selectRenderProps;
|
|
105
|
+
const ButtonIcon = isOpen ? AngleUpIcon : AngleDownIcon;
|
|
106
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
107
|
+
/* @__PURE__ */ jsx(
|
|
108
|
+
SlotProvider,
|
|
109
|
+
{
|
|
110
|
+
values: [
|
|
111
|
+
[LabelContext, {
|
|
112
|
+
className: Select_module_default["hop-Select__label"],
|
|
113
|
+
isRequired,
|
|
114
|
+
necessityIndicator
|
|
115
|
+
}],
|
|
116
|
+
[HelperMessageContext, {
|
|
117
|
+
className: Select_module_default["hop-Select__helper-message"]
|
|
118
|
+
}],
|
|
119
|
+
[ErrorMessageContext, {
|
|
120
|
+
className: Select_module_default["hop-Select__error-message"]
|
|
121
|
+
}],
|
|
122
|
+
[TextContext, {
|
|
123
|
+
size
|
|
124
|
+
}],
|
|
125
|
+
[ListBoxContext, {
|
|
126
|
+
size,
|
|
127
|
+
isInvalid,
|
|
128
|
+
items
|
|
129
|
+
}]
|
|
130
|
+
],
|
|
131
|
+
children: children(selectRenderProps)
|
|
132
|
+
}
|
|
133
|
+
),
|
|
134
|
+
/* @__PURE__ */ jsxs(Button, { className: buttonClassNames, style: triggerStyle, "data-invalid": isInvalid || void 0, ...otherTriggerProps, children: [
|
|
135
|
+
prefixMarkup,
|
|
136
|
+
/* @__PURE__ */ jsx(_SelectValue, { size, children: (valueRenderProps) => {
|
|
137
|
+
return renderValue == null ? void 0 : renderValue(valueRenderProps);
|
|
138
|
+
} }),
|
|
139
|
+
/* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: Select_module_default["hop-Select__button-icon"] })
|
|
140
|
+
] })
|
|
141
|
+
] });
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
var _Select = forwardRef(Select);
|
|
147
|
+
_Select.displayName = "Select";
|
|
148
|
+
|
|
149
|
+
export { GlobalSelectCssSelector, _Select };
|
|
@@ -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___BdLR7", "hop-Heading--xs": "Heading-module__hop-Heading--xs___WyXi8", "hop-Heading--sm": "Heading-module__hop-Heading--sm___7BkZ-", "hop-Heading--md": "Heading-module__hop-Heading--md___Yb-wf", "hop-Heading--lg": "Heading-module__hop-Heading--lg___Iajp0", "hop-Heading--xl": "Heading-module__hop-Heading--xl___7gcoD", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___SBxPs", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___PK0X3" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
|
|
2
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
|
+
import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
4
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./SwitchField.module.css#css-module
|
|
15
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
15
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___UIMQX", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___bHFx9", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___sLVhe", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___hU3uI", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___A8KJQ" };
|
|
16
16
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
17
17
|
var SwitchToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|
|
@@ -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___XVzRk" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
2
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
4
|
-
import { EnsureTextWrapper } from './chunk-
|
|
3
|
+
import { _InputGroup } from './chunk-GQOH47EH.js';
|
|
4
|
+
import { EnsureTextWrapper } from './chunk-EEEMR2R3.js';
|
|
5
5
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
6
6
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
7
7
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
@@ -21,7 +21,7 @@ import { useContextProps, composeRenderProps, Input, NumberField as NumberField$
|
|
|
21
21
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
22
22
|
|
|
23
23
|
// css-module:./NumberField.module.css#css-module
|
|
24
|
-
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-
|
|
24
|
+
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-NumberField___vn6R7", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___1Vq6n", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___Gh3Z6", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___cNCTi", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___ctRUQ", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___RysSI", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___qxV5I", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___7YBrz", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___UQ3ww", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___y8QR8", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___0lzAt", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___qb9S-", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___WyfRZ", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___t1Gmh" };
|
|
25
25
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
26
26
|
var StepperButton = ({ direction }) => {
|
|
27
27
|
const scale = useScale();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
+
import { _Spinner } from './chunk-CRJLEZQN.js';
|
|
2
3
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
3
|
-
import { _Spinner } from './chunk-43D3MCMN.js';
|
|
4
|
-
import { EnsureTextWrapper } from './chunk-TU4QEQE4.js';
|
|
5
|
-
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
6
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
+
import { EnsureTextWrapper } from './chunk-EEEMR2R3.js';
|
|
6
|
+
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
7
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
8
8
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
9
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.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___zGXVn", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___vt2yi", "hop-Button--fluid": "Button-module__hop-Button--fluid___EtgJF", "hop-Button--sm": "Button-module__hop-Button--sm___99WKy", "hop-Button--primary": "Button-module__hop-Button--primary___H8AZX", "hop-Button--md": "Button-module__hop-Button--md___Rw2ZG", "hop-Button--secondary": "Button-module__hop-Button--secondary___KZp-x", "hop-Button--upsell": "Button-module__hop-Button--upsell___3jxDZ", "hop-Button--danger": "Button-module__hop-Button--danger___SS6-k", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___dzKiM", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___rcqAj", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___ZH-FY", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___vlV36", "hop-Button__icon": "Button-module__hop-Button__icon___lVHsd", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___UO6Jd", "hop-Button__text": "Button-module__hop-Button__text___-uwhc", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___OizU3", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___DASVK" };
|
|
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) {
|
|
@@ -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___97F5M", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___iAwyR", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___-vKuX", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___d7ujV", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___nT13x", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___JS1b2" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./CheckboxField.module.css#css-module
|
|
15
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
15
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___5opk8", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___aXNMc", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___AzvrX", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___Wxdt-", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___sDXa7" };
|
|
16
16
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
17
17
|
var CheckboxToDescriptionSizeAdapter = {
|
|
18
18
|
sm: "xs",
|