@hopper-ui/components 1.3.16 → 1.3.18
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 +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 +948 -948
- 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 +948 -948
- 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 +715 -715
- package/dist/Form/src/Form.js +83 -79
- package/dist/Form/src/index.css +715 -715
- 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 +1160 -1160
- 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-2HFFANGL.js → chunk-33YTZ3QA.js} +2 -2
- package/dist/{chunk-LNMXRJGJ.js → chunk-5DZSNBY4.js} +1 -1
- package/dist/{chunk-43D3MCMN.js → chunk-6NM7WUL4.js} +2 -2
- package/dist/{chunk-LZNVIB4Q.js → chunk-6YQY6Z2V.js} +2 -2
- package/dist/{chunk-AAMYSAT4.js → chunk-ABNZDBZP.js} +3 -3
- package/dist/{chunk-JMBLHNVE.js → chunk-AED25SMX.js} +1 -1
- package/dist/{chunk-GFAHOC2Y.js → chunk-AK267453.js} +5 -5
- package/dist/{chunk-5TLUX4FA.js → chunk-ALFEQ7WW.js} +2 -2
- package/dist/{chunk-CKPFSDF5.js → chunk-AMBRBOIQ.js} +1 -1
- package/dist/{chunk-D3ATZADP.js → chunk-ATCE62U5.js} +2 -2
- package/dist/{chunk-RERNNMNX.js → chunk-B3LVKBHM.js} +2 -2
- package/dist/{chunk-PBFGUMTY.js → chunk-BRBEVRVF.js} +1 -1
- package/dist/{chunk-ZCP2AXPD.js → chunk-CIJ3WPZ7.js} +1 -1
- package/dist/chunk-CQFXGAJK.js +7 -0
- package/dist/{chunk-RLNCYCEL.js → chunk-D3533FNR.js} +1 -1
- package/dist/{chunk-7A6CYDDX.js → chunk-EWAN3WSB.js} +2 -2
- package/dist/{chunk-T2DMBK3U.js → chunk-FWP67SDV.js} +1 -1
- package/dist/{chunk-MGHBK4XX.js → chunk-H6HGDEW4.js} +2 -2
- package/dist/{chunk-CQQWAC7P.js → chunk-IBHETMJB.js} +2 -2
- package/dist/{chunk-AUEHFPNX.js → chunk-IPM7WRBC.js} +1 -1
- package/dist/{chunk-ZJND7BQD.js → chunk-JL3K5IXR.js} +4 -4
- package/dist/{chunk-532EGRYD.js → chunk-K6BLKKG3.js} +3 -3
- package/dist/{chunk-PXMJ2JSP.js → chunk-MPJYOQU5.js} +1 -1
- package/dist/{chunk-V2Z4BWEP.js → chunk-N3LRCSUZ.js} +96 -352
- package/dist/{chunk-KBDTTZPD.js → chunk-NVDHY6W4.js} +2 -2
- package/dist/{chunk-BK4B5TOE.js → chunk-O25LM3KC.js} +1 -1
- package/dist/{chunk-3RRF33G3.js → chunk-OK4ANEAT.js} +6 -6
- package/dist/{chunk-BOFZY7AG.js → chunk-OZKEVEPI.js} +2 -2
- package/dist/{chunk-BMNXD345.js → chunk-PYN3T726.js} +3 -3
- package/dist/{chunk-3HPUMEF6.js → chunk-QYVXEOFZ.js} +1 -1
- package/dist/{chunk-GLAJGJ5L.js → chunk-SDVRNCLY.js} +2 -2
- package/dist/{chunk-BWBS4H3T.js → chunk-TGQPH7A3.js} +5 -5
- package/dist/{chunk-TIT2RZMI.js → chunk-TIP427IG.js} +1 -1
- package/dist/{chunk-E3ZVVZI2.js → chunk-TOOEBZKT.js} +3 -3
- package/dist/{chunk-TU4QEQE4.js → chunk-UDPW7R42.js} +1 -1
- package/dist/{chunk-KGMX2K4Z.js → chunk-URE5PFMU.js} +1 -1
- package/dist/{chunk-NCOVEXXO.js → chunk-VP46GULO.js} +1 -1
- package/dist/chunk-WHGDC7T4.js +210 -0
- package/dist/{chunk-2PPQY3B2.js → chunk-WJZ2OTC5.js} +2 -2
- package/dist/{chunk-YGEQT76S.js → chunk-WX6CCUCW.js} +3 -3
- package/dist/{chunk-XH5AZHD6.js → chunk-XBN3O7RO.js} +3 -3
- package/dist/chunk-XGOJ7VOE.js +7 -0
- package/dist/{chunk-HG4WPVDQ.js → chunk-XPPRHRLO.js} +6 -6
- package/dist/{chunk-ARZVBUNR.js → chunk-YSIZ6OV3.js} +2 -2
- package/dist/chunk-YVCELBU7.js +149 -0
- package/dist/{chunk-4YPVPNN3.js → chunk-Z5CODJIW.js} +1 -1
- package/dist/{chunk-SOS2KEKX.js → chunk-ZDIKM45I.js} +2 -2
- package/dist/{chunk-BZZ3R77M.js → chunk-ZPDZFICA.js} +1 -1
- package/dist/{chunk-7C76VW2S.js → chunk-ZQOVNUKV.js} +2 -2
- package/dist/index.css +715 -715
- 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 +715 -715
- 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 +715 -715
- 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,295 +1,128 @@
|
|
|
1
|
-
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
2
1
|
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
3
2
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
4
|
-
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
5
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
6
4
|
import { _Footer } from './chunk-GTM56LGX.js';
|
|
7
5
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
8
|
-
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
9
|
-
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
10
6
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
11
7
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
8
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
9
|
+
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
10
|
+
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
12
11
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
13
12
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
14
|
-
import { ButtonContext as ButtonContext$1 } from './chunk-WMTWFKKP.js';
|
|
15
13
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
14
|
+
import { ButtonContext as ButtonContext$1 } from './chunk-WMTWFKKP.js';
|
|
16
15
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
17
|
-
import {
|
|
18
|
-
import { _ListBox } from './chunk-
|
|
16
|
+
import { SelectOptionsContext } from './chunk-CQFXGAJK.js';
|
|
17
|
+
import { _ListBox } from './chunk-XPPRHRLO.js';
|
|
19
18
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
20
|
-
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
21
|
-
import { _ListBoxItem } from './chunk-BWBS4H3T.js';
|
|
22
19
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
23
20
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
24
|
-
import { EnsureTextWrapper } from './chunk-TU4QEQE4.js';
|
|
25
|
-
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
26
|
-
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
27
21
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
28
22
|
import { FormContext } from './chunk-EURJK4ZT.js';
|
|
29
|
-
import {
|
|
30
|
-
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
23
|
+
import { ComboBoxOptionsContext } from './chunk-XGOJ7VOE.js';
|
|
31
24
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
25
|
+
import { PopoverContext } from './chunk-SC6ZK5ON.js';
|
|
26
|
+
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
27
|
+
import { EnsureTextWrapper } from './chunk-UDPW7R42.js';
|
|
28
|
+
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
29
|
+
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
32
30
|
import { ComboBoxContext } from './chunk-4XHTP4GX.js';
|
|
33
31
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
34
|
-
import {
|
|
32
|
+
import { ClearProviders } from './chunk-HXI3MEEK.js';
|
|
35
33
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
36
34
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
37
35
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
38
|
-
import { IconContext, AngleUpIcon, AngleDownIcon } from '@hopper-ui/icons';
|
|
39
36
|
import { useStyledSystem, useResponsiveValue, useColorSchemeContext } from '@hopper-ui/styled-system';
|
|
40
37
|
export * from '@hopper-ui/styled-system';
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import { useContextProps, useSlottedContext,
|
|
38
|
+
import { forwardRef, useReducer, useRef, useEffect } from 'react';
|
|
39
|
+
import { mergeProps } from 'react-aria';
|
|
40
|
+
import { useContextProps, useSlottedContext, composeRenderProps, TextContext as TextContext$1, ButtonContext, Form as Form$1, Popover as Popover$1, Dialog } from 'react-aria-components';
|
|
44
41
|
export { Collection } from 'react-aria-components';
|
|
45
|
-
import { jsx, jsxs
|
|
42
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
46
43
|
import clsx2 from 'clsx';
|
|
47
44
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
function ComboBox(props, ref) {
|
|
52
|
-
var _a, _b, _c;
|
|
53
|
-
const {
|
|
54
|
-
inputRef: userProvidedInputRef = null,
|
|
55
|
-
...propsWithoutRef
|
|
56
|
-
} = props;
|
|
57
|
-
[props, ref] = useContextProps(propsWithoutRef, ref, ComboBoxContext);
|
|
45
|
+
var GlobalComboBoxOptionsCssSelector = "hop-ComboBoxOptions";
|
|
46
|
+
function ComboBoxOptions(props, ref) {
|
|
47
|
+
[props, ref] = useContextProps(props, ref, ComboBoxOptionsContext);
|
|
58
48
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
59
49
|
const {
|
|
60
50
|
className,
|
|
61
51
|
children,
|
|
62
|
-
fieldChildren,
|
|
63
52
|
footer,
|
|
64
53
|
isAutoMenuWidth,
|
|
65
|
-
isFluid: isFluidProp,
|
|
66
|
-
isInvalid,
|
|
67
|
-
isRequired,
|
|
68
|
-
items,
|
|
69
|
-
menuTrigger = "focus",
|
|
70
54
|
listBoxProps,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
popoverProps,
|
|
74
|
-
prefix,
|
|
75
|
-
size: sizeProp,
|
|
55
|
+
placement = "bottom start",
|
|
56
|
+
slot,
|
|
76
57
|
style: styleProp,
|
|
77
|
-
triggerProps,
|
|
78
58
|
footerProps,
|
|
79
59
|
...otherProps
|
|
80
60
|
} = ownProps;
|
|
81
|
-
const
|
|
82
|
-
const
|
|
83
|
-
const mergedInputRefs = (inputContext == null ? void 0 : inputContext.ref) ? mergeRefs(inputRef, inputContext.ref) : inputRef;
|
|
84
|
-
const triggerRef = useRef(null);
|
|
85
|
-
const buttonRef = useRef(null);
|
|
86
|
-
const [triggerWidth, setTriggerWidth] = useState(null);
|
|
87
|
-
const onResize = useCallback(() => {
|
|
88
|
-
if (triggerRef.current) {
|
|
89
|
-
setTriggerWidth(triggerRef.current.offsetWidth + "px");
|
|
90
|
-
}
|
|
91
|
-
}, [triggerRef]);
|
|
92
|
-
useResizeObserver({
|
|
93
|
-
ref: triggerRef,
|
|
94
|
-
onResize
|
|
95
|
-
});
|
|
96
|
-
const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
|
|
97
|
-
const {
|
|
98
|
-
className: triggerClassName,
|
|
99
|
-
style: triggerStyleProp,
|
|
100
|
-
...otherTriggerProps
|
|
101
|
-
} = triggerOwnProps;
|
|
102
|
-
const { stylingProps: popoverStylingProps, ...popoverOwnProps } = useStyledSystem(popoverProps != null ? popoverProps : {});
|
|
103
|
-
const {
|
|
104
|
-
placement = "bottom start",
|
|
105
|
-
style: popoverStyleProp,
|
|
106
|
-
...otherPopoverProps
|
|
107
|
-
} = popoverOwnProps;
|
|
108
|
-
const size = (_b = useResponsiveValue(sizeProp)) != null ? _b : "sm";
|
|
109
|
-
const isFluid = (_c = useResponsiveValue(isFluidProp)) != null ? _c : false;
|
|
61
|
+
const listBoxCtx = useSlottedContext(ListBoxContext);
|
|
62
|
+
const textCtx = useSlottedContext(TextContext);
|
|
110
63
|
const classNames = composeClassnameRenderProps(
|
|
111
64
|
className,
|
|
112
|
-
|
|
113
|
-
cssModule(
|
|
114
|
-
ComboBox_module_default,
|
|
115
|
-
"hop-ComboBox",
|
|
116
|
-
isFluid && "fluid",
|
|
117
|
-
size
|
|
118
|
-
),
|
|
65
|
+
GlobalComboBoxOptionsCssSelector,
|
|
119
66
|
stylingProps.className
|
|
120
67
|
);
|
|
121
|
-
const triggerClassNames = composeClassnameRenderProps(
|
|
122
|
-
triggerClassName,
|
|
123
|
-
cssModule(
|
|
124
|
-
ComboBox_module_default,
|
|
125
|
-
"hop-ComboBox__trigger",
|
|
126
|
-
size
|
|
127
|
-
),
|
|
128
|
-
triggerStylingProps.className
|
|
129
|
-
);
|
|
130
|
-
const buttonClassNames = composeClassnameRenderProps(
|
|
131
|
-
cssModule(
|
|
132
|
-
ComboBox_module_default,
|
|
133
|
-
"hop-ComboBox__button"
|
|
134
|
-
)
|
|
135
|
-
);
|
|
136
|
-
const inputClassNames = composeClassnameRenderProps(
|
|
137
|
-
inputContext == null ? void 0 : inputContext.className,
|
|
138
|
-
ComboBox_module_default["hop-ComboBox__input"]
|
|
139
|
-
);
|
|
140
68
|
const style = composeRenderProps(styleProp, (prev) => {
|
|
141
69
|
return {
|
|
142
70
|
...stylingProps.style,
|
|
143
71
|
...prev
|
|
144
72
|
};
|
|
145
73
|
});
|
|
146
|
-
const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
|
|
147
|
-
return {
|
|
148
|
-
...triggerStylingProps.style,
|
|
149
|
-
...prev
|
|
150
|
-
};
|
|
151
|
-
});
|
|
152
|
-
const popoverStyle = composeRenderProps(popoverStyleProp, (prev) => {
|
|
153
|
-
return {
|
|
154
|
-
...popoverStylingProps.style,
|
|
155
|
-
...prev,
|
|
156
|
-
"--custom-trigger-width": triggerWidth
|
|
157
|
-
};
|
|
158
|
-
});
|
|
159
|
-
const handleMouseDown = useCallback((e) => {
|
|
160
|
-
if (inputRef.current && e.target !== inputRef.current && buttonRef.current && e.target !== buttonRef.current) {
|
|
161
|
-
inputRef.current.focus();
|
|
162
|
-
e.preventDefault();
|
|
163
|
-
}
|
|
164
|
-
}, [inputRef]);
|
|
165
|
-
const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
|
|
166
|
-
SlotProvider,
|
|
167
|
-
{
|
|
168
|
-
values: [
|
|
169
|
-
[TextContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }],
|
|
170
|
-
[IconContext, { size, className: ComboBox_module_default["hop-ComboBox__prefix"] }]
|
|
171
|
-
],
|
|
172
|
-
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prefix }) })
|
|
173
|
-
}
|
|
174
|
-
) : null;
|
|
175
74
|
const footerMarkup = footer ? /* @__PURE__ */ jsx(
|
|
176
|
-
|
|
75
|
+
ClearProviders,
|
|
177
76
|
{
|
|
178
77
|
values: [
|
|
179
|
-
|
|
78
|
+
TextContext$1,
|
|
79
|
+
TextContext,
|
|
80
|
+
ButtonContext
|
|
180
81
|
],
|
|
181
82
|
children: /* @__PURE__ */ jsx(
|
|
182
|
-
|
|
83
|
+
SlotProvider,
|
|
183
84
|
{
|
|
184
85
|
values: [
|
|
185
|
-
TextContext
|
|
186
|
-
TextContext,
|
|
187
|
-
ButtonContext
|
|
86
|
+
[TextContext, { size: textCtx == null ? void 0 : textCtx.size }]
|
|
188
87
|
],
|
|
189
88
|
children: /* @__PURE__ */ jsx(_Footer, { ...footerProps, children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: footer }) })
|
|
190
89
|
}
|
|
191
90
|
)
|
|
192
91
|
}
|
|
193
92
|
) : null;
|
|
194
|
-
return /* @__PURE__ */
|
|
195
|
-
|
|
93
|
+
return /* @__PURE__ */ jsxs(
|
|
94
|
+
_Popover,
|
|
196
95
|
{
|
|
96
|
+
...otherProps,
|
|
197
97
|
ref,
|
|
198
98
|
className: classNames,
|
|
99
|
+
isAutoWidth: isAutoMenuWidth,
|
|
100
|
+
isNonDialog: true,
|
|
101
|
+
placement,
|
|
199
102
|
style,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
{
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
necessityIndicator
|
|
216
|
-
}],
|
|
217
|
-
[HelperMessageContext, {
|
|
218
|
-
className: ComboBox_module_default["hop-ComboBox__helper-message"]
|
|
219
|
-
}],
|
|
220
|
-
[ErrorMessageContext, {
|
|
221
|
-
className: ComboBox_module_default["hop-ComboBox__error-message"]
|
|
222
|
-
}]
|
|
223
|
-
],
|
|
224
|
-
children: fieldChildren
|
|
225
|
-
}
|
|
226
|
-
),
|
|
227
|
-
/* @__PURE__ */ jsxs(
|
|
228
|
-
Group,
|
|
229
|
-
{
|
|
230
|
-
ref: triggerRef,
|
|
231
|
-
className: triggerClassNames,
|
|
232
|
-
style: triggerStyle,
|
|
233
|
-
onMouseDown: handleMouseDown,
|
|
234
|
-
"data-selected": isOpen || void 0,
|
|
235
|
-
...otherTriggerProps,
|
|
236
|
-
children: [
|
|
237
|
-
prefixMarkup,
|
|
238
|
-
/* @__PURE__ */ jsx(
|
|
239
|
-
Input,
|
|
240
|
-
{
|
|
241
|
-
ref: mergedInputRefs,
|
|
242
|
-
className: inputClassNames,
|
|
243
|
-
placeholder
|
|
244
|
-
}
|
|
245
|
-
),
|
|
246
|
-
/* @__PURE__ */ jsx(Button, { className: buttonClassNames, ref: buttonRef, children: /* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: ComboBox_module_default["hop-ComboBox__button-icon"] }) })
|
|
247
|
-
]
|
|
248
|
-
}
|
|
249
|
-
),
|
|
250
|
-
/* @__PURE__ */ jsxs(
|
|
251
|
-
_Popover,
|
|
252
|
-
{
|
|
253
|
-
placement,
|
|
254
|
-
isNonDialog: true,
|
|
255
|
-
autoWidth: isAutoMenuWidth,
|
|
256
|
-
style: popoverStyle,
|
|
257
|
-
triggerRef,
|
|
258
|
-
...otherPopoverProps,
|
|
259
|
-
children: [
|
|
260
|
-
/* @__PURE__ */ jsx(
|
|
261
|
-
SlotProvider,
|
|
262
|
-
{
|
|
263
|
-
values: [
|
|
264
|
-
[BadgeContext, {
|
|
265
|
-
variant: "secondary"
|
|
266
|
-
}]
|
|
267
|
-
],
|
|
268
|
-
children: /* @__PURE__ */ jsx(_ListBox, { items, size, isInvalid, ...listBoxProps, children })
|
|
269
|
-
}
|
|
270
|
-
),
|
|
271
|
-
footerMarkup
|
|
272
|
-
]
|
|
273
|
-
}
|
|
274
|
-
)
|
|
275
|
-
] });
|
|
276
|
-
}
|
|
103
|
+
slot: slot != null ? slot : void 0,
|
|
104
|
+
children: [
|
|
105
|
+
/* @__PURE__ */ jsx(
|
|
106
|
+
SlotProvider,
|
|
107
|
+
{
|
|
108
|
+
values: [
|
|
109
|
+
[BadgeContext, {
|
|
110
|
+
variant: "secondary"
|
|
111
|
+
}]
|
|
112
|
+
],
|
|
113
|
+
children: /* @__PURE__ */ jsx(_ListBox, { ...mergeProps(listBoxCtx, listBoxProps), children })
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
footerMarkup
|
|
117
|
+
]
|
|
277
118
|
}
|
|
278
119
|
);
|
|
279
120
|
}
|
|
280
|
-
var
|
|
281
|
-
|
|
282
|
-
var CompoundComboBox = Object.assign(_ComboBox, {
|
|
283
|
-
/**
|
|
284
|
-
* A combo box option is an item that is displayed in a combo box.
|
|
285
|
-
*
|
|
286
|
-
* [View Documentation](TODO)
|
|
287
|
-
*/
|
|
288
|
-
Option: _ListBoxItem
|
|
289
|
-
});
|
|
121
|
+
var _ComboBoxOptions = forwardRef(ComboBoxOptions);
|
|
122
|
+
_ComboBoxOptions.displayName = "ComboBoxOptions";
|
|
290
123
|
|
|
291
124
|
// css-module:./Form.module.css#css-module
|
|
292
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
125
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___MqgRc" };
|
|
293
126
|
var GlobalFormCssSelector = "hop-Form";
|
|
294
127
|
function Form(props, ref) {
|
|
295
128
|
var _a;
|
|
@@ -414,173 +247,84 @@ function Form(props, ref) {
|
|
|
414
247
|
}
|
|
415
248
|
var _Form = forwardRef(Form);
|
|
416
249
|
_Form.displayName = "Form";
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
var GlobalSelectCssSelector = "hop-Select";
|
|
421
|
-
function Select(props, ref) {
|
|
422
|
-
var _a, _b;
|
|
423
|
-
[props, ref] = useContextProps(props, ref, SelectContext);
|
|
250
|
+
var GlobalSelectOptionsCssSelector = "hop-SelectOptions";
|
|
251
|
+
function SelectOptions(props, ref) {
|
|
252
|
+
[props, ref] = useContextProps(props, ref, SelectOptionsContext);
|
|
424
253
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
425
254
|
const {
|
|
426
255
|
className,
|
|
427
256
|
children,
|
|
428
|
-
fieldChildren,
|
|
429
257
|
footer,
|
|
258
|
+
footerProps,
|
|
430
259
|
isAutoMenuWidth,
|
|
431
|
-
isFluid: isFluidProp,
|
|
432
|
-
isInvalid,
|
|
433
|
-
isRequired,
|
|
434
|
-
items,
|
|
435
260
|
listBoxProps,
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
prefix,
|
|
439
|
-
renderValue,
|
|
440
|
-
size: sizeProp,
|
|
261
|
+
placement = "bottom start",
|
|
262
|
+
slot,
|
|
441
263
|
style: styleProp,
|
|
442
|
-
triggerProps,
|
|
443
|
-
footerProps,
|
|
444
264
|
...otherProps
|
|
445
265
|
} = ownProps;
|
|
446
|
-
const
|
|
447
|
-
const
|
|
448
|
-
className: triggerClassName,
|
|
449
|
-
style: triggerStyleProp,
|
|
450
|
-
...otherTriggerProps
|
|
451
|
-
} = triggerOwnProps;
|
|
452
|
-
const { placement = "bottom start", ...otherPopoverProps } = popoverProps != null ? popoverProps : {};
|
|
453
|
-
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "sm";
|
|
454
|
-
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
266
|
+
const listBoxCtx = useSlottedContext(ListBoxContext);
|
|
267
|
+
const textCtx = useSlottedContext(TextContext);
|
|
455
268
|
const classNames = composeClassnameRenderProps(
|
|
456
269
|
className,
|
|
457
|
-
|
|
458
|
-
cssModule(
|
|
459
|
-
Select_module_default,
|
|
460
|
-
"hop-Select",
|
|
461
|
-
isFluid && "fluid",
|
|
462
|
-
size
|
|
463
|
-
),
|
|
270
|
+
GlobalSelectOptionsCssSelector,
|
|
464
271
|
stylingProps.className
|
|
465
272
|
);
|
|
466
|
-
const buttonClassNames = composeClassnameRenderProps(
|
|
467
|
-
triggerClassName,
|
|
468
|
-
cssModule(
|
|
469
|
-
Select_module_default,
|
|
470
|
-
"hop-Select__button",
|
|
471
|
-
size
|
|
472
|
-
),
|
|
473
|
-
triggerStylingProps.className
|
|
474
|
-
);
|
|
475
273
|
const style = composeRenderProps(styleProp, (prev) => {
|
|
476
274
|
return {
|
|
477
275
|
...stylingProps.style,
|
|
478
276
|
...prev
|
|
479
277
|
};
|
|
480
278
|
});
|
|
481
|
-
const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
|
|
482
|
-
return {
|
|
483
|
-
...triggerStylingProps.style,
|
|
484
|
-
...prev
|
|
485
|
-
};
|
|
486
|
-
});
|
|
487
|
-
const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
|
|
488
|
-
SlotProvider,
|
|
489
|
-
{
|
|
490
|
-
values: [
|
|
491
|
-
[TextContext, { size, className: Select_module_default["hop-Select__prefix"] }],
|
|
492
|
-
[IconContext, { size, className: Select_module_default["hop-Select__prefix"] }]
|
|
493
|
-
],
|
|
494
|
-
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: prefix }) })
|
|
495
|
-
}
|
|
496
|
-
) : null;
|
|
497
279
|
const footerMarkup = footer ? /* @__PURE__ */ jsx(
|
|
498
|
-
|
|
280
|
+
ClearProviders,
|
|
499
281
|
{
|
|
500
282
|
values: [
|
|
501
|
-
|
|
283
|
+
TextContext$1,
|
|
284
|
+
TextContext,
|
|
285
|
+
ButtonContext
|
|
502
286
|
],
|
|
503
287
|
children: /* @__PURE__ */ jsx(
|
|
504
|
-
|
|
288
|
+
SlotProvider,
|
|
505
289
|
{
|
|
506
290
|
values: [
|
|
507
|
-
TextContext
|
|
508
|
-
TextContext,
|
|
509
|
-
ButtonContext
|
|
291
|
+
[TextContext, { size: textCtx == null ? void 0 : textCtx.size }]
|
|
510
292
|
],
|
|
511
293
|
children: /* @__PURE__ */ jsx(_Footer, { ...footerProps, children: /* @__PURE__ */ jsx(EnsureTextWrapper, { children: footer }) })
|
|
512
294
|
}
|
|
513
295
|
)
|
|
514
296
|
}
|
|
515
297
|
) : null;
|
|
516
|
-
return /* @__PURE__ */
|
|
517
|
-
|
|
298
|
+
return /* @__PURE__ */ jsxs(
|
|
299
|
+
_Popover,
|
|
518
300
|
{
|
|
519
301
|
...otherProps,
|
|
520
302
|
ref,
|
|
521
303
|
className: classNames,
|
|
304
|
+
isAutoWidth: isAutoMenuWidth,
|
|
305
|
+
isNonDialog: true,
|
|
306
|
+
placement,
|
|
522
307
|
style,
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
[HelperMessageContext, {
|
|
539
|
-
className: Select_module_default["hop-Select__helper-message"]
|
|
540
|
-
}],
|
|
541
|
-
[ErrorMessageContext, {
|
|
542
|
-
className: Select_module_default["hop-Select__error-message"]
|
|
543
|
-
}]
|
|
544
|
-
],
|
|
545
|
-
children: fieldChildren
|
|
546
|
-
}
|
|
547
|
-
),
|
|
548
|
-
/* @__PURE__ */ jsxs(Button, { className: buttonClassNames, style: triggerStyle, "data-invalid": isInvalid || void 0, ...otherTriggerProps, children: [
|
|
549
|
-
prefixMarkup,
|
|
550
|
-
/* @__PURE__ */ jsx(_SelectValue, { size, children: (valueRenderProps) => {
|
|
551
|
-
return renderValue == null ? void 0 : renderValue(valueRenderProps);
|
|
552
|
-
} }),
|
|
553
|
-
/* @__PURE__ */ jsx(ButtonIcon, { size: "sm", className: Select_module_default["hop-Select__button-icon"] })
|
|
554
|
-
] }),
|
|
555
|
-
/* @__PURE__ */ jsxs(_Popover, { ...otherPopoverProps, placement, isNonDialog: true, autoWidth: isAutoMenuWidth, children: [
|
|
556
|
-
/* @__PURE__ */ jsx(
|
|
557
|
-
SlotProvider,
|
|
558
|
-
{
|
|
559
|
-
values: [
|
|
560
|
-
[BadgeContext, {
|
|
561
|
-
variant: "secondary"
|
|
562
|
-
}]
|
|
563
|
-
],
|
|
564
|
-
children: /* @__PURE__ */ jsx(_ListBox, { items, size, isInvalid, ...listBoxProps, children })
|
|
565
|
-
}
|
|
566
|
-
),
|
|
567
|
-
footerMarkup
|
|
568
|
-
] })
|
|
569
|
-
] });
|
|
570
|
-
}
|
|
308
|
+
slot: slot != null ? slot : void 0,
|
|
309
|
+
children: [
|
|
310
|
+
/* @__PURE__ */ jsx(
|
|
311
|
+
SlotProvider,
|
|
312
|
+
{
|
|
313
|
+
values: [
|
|
314
|
+
[BadgeContext, {
|
|
315
|
+
variant: "secondary"
|
|
316
|
+
}]
|
|
317
|
+
],
|
|
318
|
+
children: /* @__PURE__ */ jsx(_ListBox, { ...mergeProps(listBoxCtx, listBoxProps), children })
|
|
319
|
+
}
|
|
320
|
+
),
|
|
321
|
+
footerMarkup
|
|
322
|
+
]
|
|
571
323
|
}
|
|
572
324
|
);
|
|
573
325
|
}
|
|
574
|
-
var
|
|
575
|
-
|
|
576
|
-
var CompoundSelect = Object.assign(_Select, {
|
|
577
|
-
/**
|
|
578
|
-
* A select option is an item that is displayed in a select.
|
|
579
|
-
*
|
|
580
|
-
* [View Documentation](TODO)
|
|
581
|
-
*/
|
|
582
|
-
Option: _ListBoxItem
|
|
583
|
-
});
|
|
326
|
+
var _SelectOptions = forwardRef(SelectOptions);
|
|
327
|
+
_SelectOptions.displayName = "SelectOptions";
|
|
584
328
|
function $0d86e9c8f07f9a7b$export$79c0c687a5963b0a(opts, dispatch) {
|
|
585
329
|
let { cursor, getKey } = opts;
|
|
586
330
|
return {
|
|
@@ -992,14 +736,14 @@ function $f86e6c1ec7da6ebb$export$bc3384a35de93d66(options) {
|
|
|
992
736
|
}
|
|
993
737
|
|
|
994
738
|
// css-module:./Popover.module.css#css-module
|
|
995
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
739
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___DYbof", "fade": "Popover-module__fade___fnFGM", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___-bLX3", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___Mz1P2", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___G2P2B", "hop-Popover__title": "Popover-module__hop-Popover__title___m-XxR", "hop-Popover__content": "Popover-module__hop-Popover__content___bCwia", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___posdL", "hop-Popover__footer": "Popover-module__hop-Popover__footer___FHCir", "hop-Popover__actions": "Popover-module__hop-Popover__actions___N1Qf3", "hop-Popover__action": "Popover-module__hop-Popover__action___EXz-c" };
|
|
996
740
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
997
741
|
function Popover(props, ref) {
|
|
998
742
|
var _a;
|
|
999
743
|
[props, ref] = useContextProps(props, ref, PopoverContext);
|
|
1000
744
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
1001
745
|
const {
|
|
1002
|
-
|
|
746
|
+
isAutoWidth,
|
|
1003
747
|
children,
|
|
1004
748
|
className,
|
|
1005
749
|
offset = 4,
|
|
@@ -1050,7 +794,7 @@ function Popover(props, ref) {
|
|
|
1050
794
|
ref,
|
|
1051
795
|
className: popoverClassNames,
|
|
1052
796
|
arrowBoundaryOffset: boundaryOffset,
|
|
1053
|
-
"data-auto-width":
|
|
797
|
+
"data-auto-width": isAutoWidth || void 0,
|
|
1054
798
|
containerPadding,
|
|
1055
799
|
style,
|
|
1056
800
|
placement,
|
|
@@ -1125,4 +869,4 @@ function Popover(props, ref) {
|
|
|
1125
869
|
var _Popover = forwardRef(Popover);
|
|
1126
870
|
_Popover.displayName = "Popover";
|
|
1127
871
|
|
|
1128
|
-
export { $f86e6c1ec7da6ebb$export$bc3384a35de93d66,
|
|
872
|
+
export { $f86e6c1ec7da6ebb$export$bc3384a35de93d66, GlobalComboBoxOptionsCssSelector, GlobalFormCssSelector, GlobalPopoverCssSelector, GlobalSelectOptionsCssSelector, _ComboBoxOptions, _Form, _Popover, _SelectOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-AUEHFPNX.js';
|
|
2
1
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
2
|
+
import { _OverlineText } from './chunk-IPM7WRBC.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.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:./Badge.module.css#css-module
|
|
15
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
15
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___wJQ3c" };
|
|
16
16
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
17
17
|
function Badge(props, ref) {
|
|
18
18
|
[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-BRBEVRVF.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
@@ -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-EWAN3WSB.js';
|
|
3
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
4
|
+
import { _InputGroup } from './chunk-D3533FNR.js';
|
|
5
|
+
import { _ClearButton } from './chunk-MPJYOQU5.js';
|
|
6
|
+
import { EnsureTextWrapper } from './chunk-UDPW7R42.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___D128F", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___EZzsd", "hop-TextField__Label": "TextField-module__hop-TextField__Label___0-t5h", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___RfHJ1", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___LVNN3", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___X2LAX", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___4kYmY" };
|
|
27
27
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
28
28
|
function TextField(props, ref) {
|
|
29
29
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
|
-
import { EnsureTextWrapper } from './chunk-TU4QEQE4.js';
|
|
3
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
+
import { EnsureTextWrapper } from './chunk-UDPW7R42.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Radio.module.css#css-module
|
|
16
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
16
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___faJuK", "hop-Radio--sm": "Radio-module__hop-Radio--sm___W--x6", "hop-Radio--md": "Radio-module__hop-Radio--md___1vAWK", "hop-Radio__icon": "Radio-module__hop-Radio__icon___ic6xU", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___QKwEe", "hop-Radio__box": "Radio-module__hop-Radio__box___98f-A", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___Xd-hd", "hop-Radio__text": "Radio-module__hop-Radio__text___BcX3d" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|