@hopper-ui/components 1.4.4 → 1.4.5
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 +7 -0
- package/dist/Accordion/src/Accordion.css +68 -68
- package/dist/Accordion/src/Accordion.js +1 -1
- package/dist/Accordion/src/index.css +68 -68
- package/dist/Accordion/src/index.js +1 -1
- package/dist/Avatar/src/AnonymousAvatar.css +38 -38
- package/dist/Avatar/src/AnonymousAvatar.js +2 -2
- package/dist/Avatar/src/Avatar.css +56 -56
- package/dist/Avatar/src/Avatar.js +4 -4
- package/dist/Avatar/src/DeletedAvatar.css +38 -38
- package/dist/Avatar/src/DeletedAvatar.js +2 -2
- package/dist/Avatar/src/RichIconAvatarImage.css +38 -38
- package/dist/Avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/Avatar/src/index.css +56 -56
- package/dist/Avatar/src/index.js +6 -6
- package/dist/Badge/src/Badge.css +43 -43
- package/dist/Badge/src/Badge.js +2 -2
- package/dist/Badge/src/FloatingBadge.css +38 -38
- package/dist/Badge/src/FloatingBadge.js +2 -2
- package/dist/Badge/src/index.css +53 -53
- package/dist/Badge/src/index.js +4 -4
- package/dist/Card/src/Card.css +31 -31
- package/dist/Card/src/Card.js +1 -1
- package/dist/Card/src/index.css +31 -31
- package/dist/Card/src/index.js +1 -1
- package/dist/ComboBox/src/ComboBox.css +564 -564
- package/dist/ComboBox/src/ComboBox.js +19 -19
- package/dist/ComboBox/src/index.css +564 -564
- package/dist/ComboBox/src/index.js +19 -19
- package/dist/Disclosure/src/Disclosure.css +38 -38
- package/dist/Disclosure/src/Disclosure.js +1 -1
- package/dist/Disclosure/src/DisclosureHeader.css +45 -45
- package/dist/Disclosure/src/DisclosureHeader.js +8 -8
- package/dist/Disclosure/src/DisclosurePanel.css +38 -38
- package/dist/Disclosure/src/DisclosurePanel.js +7 -7
- package/dist/Disclosure/src/index.css +63 -63
- package/dist/Disclosure/src/index.js +11 -11
- package/dist/Divider/src/Divider.css +30 -30
- package/dist/Divider/src/Divider.js +1 -1
- package/dist/Divider/src/index.css +30 -30
- package/dist/Divider/src/index.js +1 -1
- package/dist/ErrorMessage/src/ErrorMessage.css +30 -30
- package/dist/ErrorMessage/src/ErrorMessage.js +2 -2
- package/dist/ErrorMessage/src/index.css +30 -30
- package/dist/ErrorMessage/src/index.js +2 -2
- package/dist/Form/src/Form.css +28 -28
- package/dist/Form/src/Form.js +1 -1
- package/dist/Form/src/index.css +28 -28
- package/dist/Form/src/index.js +1 -1
- package/dist/HelperMessage/src/HelperMessage.css +30 -30
- package/dist/HelperMessage/src/HelperMessage.js +2 -2
- package/dist/HelperMessage/src/index.css +30 -30
- package/dist/HelperMessage/src/index.js +2 -2
- package/dist/IconList/src/IconList.css +29 -29
- package/dist/IconList/src/IconList.js +1 -1
- package/dist/IconList/src/index.css +29 -29
- package/dist/IconList/src/index.js +1 -1
- package/dist/IllustratedMessage/src/IllustratedMessage.css +269 -269
- package/dist/IllustratedMessage/src/IllustratedMessage.js +2 -2
- package/dist/IllustratedMessage/src/index.css +269 -269
- package/dist/IllustratedMessage/src/index.js +2 -2
- package/dist/Image/src/Image.css +31 -31
- package/dist/Image/src/Image.js +1 -1
- package/dist/Image/src/SvgImage.css +29 -29
- package/dist/Image/src/SvgImage.js +1 -1
- package/dist/Image/src/index.css +32 -32
- package/dist/Image/src/index.js +2 -2
- package/dist/Link/src/Link.css +50 -50
- package/dist/Link/src/Link.js +7 -7
- package/dist/Link/src/index.css +50 -50
- package/dist/Link/src/index.js +7 -7
- package/dist/ListBox/src/ListBox.css +277 -277
- package/dist/ListBox/src/ListBox.js +11 -11
- package/dist/ListBox/src/ListBoxItem.css +265 -265
- package/dist/ListBox/src/ListBoxItem.js +10 -10
- package/dist/ListBox/src/ListBoxItemSkeleton.css +37 -37
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +277 -277
- package/dist/ListBox/src/index.js +11 -11
- package/dist/SegmentedControl/src/SegmentedControl.css +251 -0
- package/dist/SegmentedControl/src/SegmentedControl.d.ts +43 -0
- package/dist/SegmentedControl/src/SegmentedControl.js +5 -0
- package/dist/SegmentedControl/src/SegmentedControlContext.d.ts +18 -0
- package/dist/SegmentedControl/src/SegmentedControlContext.js +2 -0
- package/dist/SegmentedControl/src/SegmentedControlItem.css +344 -0
- package/dist/SegmentedControl/src/SegmentedControlItem.d.ts +31 -0
- package/dist/SegmentedControl/src/SegmentedControlItem.js +19 -0
- package/dist/SegmentedControl/src/SegmentedControlItemContext.d.ts +12 -0
- package/dist/SegmentedControl/src/SegmentedControlItemContext.js +2 -0
- package/dist/SegmentedControl/src/index.css +362 -0
- package/dist/SegmentedControl/src/index.d.ts +7 -0
- package/dist/SegmentedControl/src/index.js +20 -0
- package/dist/Select/src/Select.css +568 -568
- package/dist/Select/src/Select.js +20 -20
- package/dist/Select/src/SelectValue.css +62 -62
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +568 -568
- package/dist/Select/src/index.js +20 -20
- package/dist/Spinner/src/Spinner.css +38 -38
- package/dist/Spinner/src/Spinner.js +2 -2
- package/dist/Spinner/src/index.css +38 -38
- package/dist/Spinner/src/index.js +2 -2
- package/dist/ToggleArrow/src/ToggleArrow.css +30 -30
- package/dist/ToggleArrow/src/ToggleArrow.js +1 -1
- package/dist/ToggleArrow/src/index.css +30 -30
- package/dist/ToggleArrow/src/index.js +1 -1
- package/dist/buttons/src/Button.css +94 -94
- package/dist/buttons/src/Button.js +8 -8
- package/dist/buttons/src/ButtonGroup.css +39 -39
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +99 -99
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/EmbeddedButton.css +99 -99
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +103 -103
- package/dist/buttons/src/LinkButton.js +7 -7
- package/dist/buttons/src/index.css +250 -250
- package/dist/buttons/src/index.js +14 -14
- package/dist/checkbox/src/Checkbox.css +47 -47
- package/dist/checkbox/src/Checkbox.js +7 -7
- package/dist/checkbox/src/CheckboxField.css +34 -34
- package/dist/checkbox/src/CheckboxField.js +3 -3
- package/dist/checkbox/src/CheckboxGroup.css +99 -99
- package/dist/checkbox/src/CheckboxGroup.js +8 -8
- package/dist/checkbox/src/DecorativeCheckbox.css +55 -55
- package/dist/checkbox/src/DecorativeCheckbox.js +7 -7
- package/dist/checkbox/src/index.css +99 -99
- package/dist/checkbox/src/index.js +14 -14
- package/dist/{chunk-6ZYGCRKJ.js → chunk-2QQKKCA6.js} +1 -1
- package/dist/{chunk-SMLTEO45.js → chunk-2W2TKWDW.js} +2 -2
- package/dist/{chunk-NFLZWSYR.js → chunk-5FCYITMW.js} +9 -9
- package/dist/{chunk-WLLYP5GR.js → chunk-64TQVQTQ.js} +3 -3
- package/dist/{chunk-GJTJWDMN.js → chunk-6OMB77M2.js} +7 -7
- package/dist/{chunk-KZXK4WRP.js → chunk-6SYXRO7O.js} +7 -7
- package/dist/chunk-6WA3AN6A.js +108 -0
- package/dist/{chunk-Z4NZLU64.js → chunk-766WLLQC.js} +2 -2
- package/dist/{chunk-PX2R6M5I.js → chunk-A72NEHON.js} +1 -1
- package/dist/{chunk-CZZBGCIX.js → chunk-B4BGTJ4J.js} +2 -2
- package/dist/{chunk-6ZDC2YFW.js → chunk-CCQ763SQ.js} +1 -1
- package/dist/{chunk-M6RD5JHJ.js → chunk-CP5LVXCN.js} +6 -6
- package/dist/{chunk-JIMLRXXF.js → chunk-CTY5LBJO.js} +2 -2
- package/dist/{chunk-BW663SSE.js → chunk-CVEBTQOB.js} +3 -3
- package/dist/{chunk-BJZAXT2F.js → chunk-DL26PLJ5.js} +2 -2
- package/dist/{chunk-QLFOYPBD.js → chunk-DOUSEJVO.js} +5 -5
- package/dist/{chunk-BORQ3ZAL.js → chunk-EET7QW7I.js} +2 -2
- package/dist/{chunk-JFHEC3M5.js → chunk-EPS36KLB.js} +2 -2
- package/dist/{chunk-6MY6YECS.js → chunk-F3I7ZVUI.js} +2 -2
- package/dist/{chunk-64BCMHW2.js → chunk-FDCAYJ5A.js} +1 -1
- package/dist/{chunk-OUY6UXVS.js → chunk-FZSIUTUC.js} +2 -2
- package/dist/{chunk-5EC2BYL7.js → chunk-HAA6MG3M.js} +1 -1
- package/dist/{chunk-NCRCC7XA.js → chunk-HOCZEYM2.js} +2 -2
- package/dist/chunk-IH5J4BVC.js +89 -0
- package/dist/{chunk-XEUVFD47.js → chunk-IIBGMFOV.js} +1 -1
- package/dist/{chunk-X323OHPE.js → chunk-ILMELMNG.js} +3 -3
- package/dist/{chunk-746EWHEN.js → chunk-IRDC4A5V.js} +6 -6
- package/dist/{chunk-4XZTEP4Q.js → chunk-IUEZ452B.js} +2 -2
- package/dist/chunk-JHX5QEIH.js +8 -0
- package/dist/{chunk-SN4PLDSN.js → chunk-JPKQVKZQ.js} +1 -1
- package/dist/{chunk-MLNWMBCL.js → chunk-L5FIZTGO.js} +1 -1
- package/dist/{chunk-7Z6WJCG6.js → chunk-NBCVQB4U.js} +2 -2
- package/dist/{chunk-5JGCU3OG.js → chunk-NJVZCXT2.js} +3 -3
- package/dist/{chunk-WYIF7VLQ.js → chunk-OIPDQPIS.js} +1 -1
- package/dist/{chunk-SBW6CWYN.js → chunk-P7BDCUU6.js} +10 -10
- package/dist/{chunk-3AAGPFDH.js → chunk-PBW55YB6.js} +2 -2
- package/dist/{chunk-WFR36XTH.js → chunk-PE4RUTRT.js} +2 -2
- package/dist/{chunk-2X2LRNYD.js → chunk-PG3QT3L4.js} +1 -1
- package/dist/{chunk-7KB2OZW3.js → chunk-PHUI65VC.js} +2 -2
- package/dist/{chunk-ONMGC33C.js → chunk-PIUO4NSJ.js} +1 -1
- package/dist/{chunk-Q5E3TQRF.js → chunk-PNRCYEDV.js} +1 -1
- package/dist/{chunk-R2EYP5QR.js → chunk-R3EA53KY.js} +7 -7
- package/dist/{chunk-WCRASDES.js → chunk-R3XRXUM2.js} +1 -1
- package/dist/{chunk-URJ67DGZ.js → chunk-RBX5I4PK.js} +1 -1
- package/dist/{chunk-BUD4Z25C.js → chunk-RELQCWQJ.js} +10 -10
- package/dist/{chunk-Z7MJ7PV5.js → chunk-RYVQOAWM.js} +1 -1
- package/dist/{chunk-N3R475B6.js → chunk-SNTJBZFO.js} +1 -1
- package/dist/chunk-TDKQPTN6.js +7 -0
- package/dist/{chunk-MLK5TBAR.js → chunk-U3OENUO3.js} +1 -1
- package/dist/{chunk-F4Z6ISDK.js → chunk-U4GZB4FZ.js} +4 -4
- package/dist/{chunk-TPRZ7BTR.js → chunk-UN4M3P2L.js} +1 -1
- package/dist/{chunk-JPEUJXYD.js → chunk-UNDDUZQL.js} +6 -6
- package/dist/{chunk-CMG4VD5X.js → chunk-UVOV47HY.js} +1 -1
- package/dist/{chunk-AJYF4K7F.js → chunk-VEEIDUMU.js} +2 -2
- package/dist/{chunk-XY7PAHQB.js → chunk-VORDUOQQ.js} +7 -7
- package/dist/{chunk-LU4ZOPNX.js → chunk-WYBZUVI5.js} +2 -2
- package/dist/{chunk-LT2MDHP5.js → chunk-X5YVAVRA.js} +1 -1
- package/dist/{chunk-R2ZIGLJV.js → chunk-XJOESRMM.js} +3 -3
- package/dist/{chunk-5LDARV3U.js → chunk-XKSS3LMT.js} +2 -2
- package/dist/{chunk-EV6GK7WQ.js → chunk-XNQQNB7H.js} +3 -3
- package/dist/{chunk-4JBPIRZN.js → chunk-XR6N6XOG.js} +6 -6
- package/dist/{chunk-4O66BZ6D.js → chunk-ZN7WZHZY.js} +3 -3
- package/dist/index.css +963 -834
- package/dist/index.d.ts +2 -0
- package/dist/index.js +79 -75
- package/dist/inputs/src/InputGroup.css +265 -265
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +287 -287
- package/dist/inputs/src/NumberField.js +11 -11
- package/dist/inputs/src/PasswordField.css +275 -275
- package/dist/inputs/src/PasswordField.js +11 -11
- package/dist/inputs/src/RemainingCharacterCount.css +31 -31
- package/dist/inputs/src/RemainingCharacterCount.js +6 -6
- package/dist/inputs/src/SearchField.css +281 -281
- package/dist/inputs/src/SearchField.js +12 -12
- package/dist/inputs/src/TextArea.css +282 -282
- package/dist/inputs/src/TextArea.js +11 -11
- package/dist/inputs/src/TextField.css +279 -279
- package/dist/inputs/src/TextField.js +15 -15
- package/dist/inputs/src/index.css +325 -325
- package/dist/inputs/src/index.js +22 -22
- package/dist/overlays/Popover/src/Popover.css +544 -544
- package/dist/overlays/Popover/src/Popover.js +7 -7
- package/dist/overlays/Popover/src/index.css +544 -544
- package/dist/overlays/Popover/src/index.js +7 -7
- package/dist/radio/src/DecorativeRadio.css +55 -55
- package/dist/radio/src/DecorativeRadio.js +7 -7
- package/dist/radio/src/Radio.css +47 -47
- package/dist/radio/src/Radio.js +7 -7
- package/dist/radio/src/RadioField.css +34 -34
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +99 -99
- package/dist/radio/src/RadioGroup.js +8 -8
- package/dist/radio/src/index.css +99 -99
- package/dist/radio/src/index.js +14 -14
- package/dist/switch/src/Switch.css +44 -44
- package/dist/switch/src/Switch.js +7 -7
- package/dist/switch/src/SwitchField.css +34 -34
- package/dist/switch/src/SwitchField.js +3 -3
- package/dist/switch/src/index.css +50 -50
- package/dist/switch/src/index.js +9 -9
- package/dist/tag/src/Tag.css +391 -391
- package/dist/tag/src/Tag.js +10 -10
- package/dist/tag/src/TagGroup.css +38 -38
- package/dist/tag/src/TagGroup.js +8 -8
- package/dist/tag/src/index.css +401 -401
- package/dist/tag/src/index.js +15 -15
- package/dist/typography/Heading/src/Heading.css +28 -28
- package/dist/typography/Heading/src/Heading.js +1 -1
- package/dist/typography/Heading/src/index.css +28 -28
- package/dist/typography/Heading/src/index.js +1 -1
- package/dist/typography/Label/src/Label.css +28 -28
- package/dist/typography/Label/src/Label.js +2 -2
- package/dist/typography/Label/src/index.css +28 -28
- package/dist/typography/Label/src/index.js +2 -2
- package/dist/typography/OverlineText/src/OverlineText.css +28 -28
- package/dist/typography/OverlineText/src/OverlineText.js +1 -1
- package/dist/typography/OverlineText/src/index.css +28 -28
- package/dist/typography/OverlineText/src/index.js +1 -1
- package/dist/typography/Text/src/Text.css +28 -28
- package/dist/typography/Text/src/Text.js +1 -1
- package/dist/typography/Text/src/index.css +28 -28
- package/dist/typography/Text/src/index.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +28 -28
- package/dist/utils/src/EnsureTextWrapper.js +6 -6
- package/dist/utils/src/index.css +28 -28
- package/dist/utils/src/index.js +8 -8
- package/package.json +1 -1
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { SegmentedControlContext, InternalSegmentedControlContext } from './chunk-JHX5QEIH.js';
|
|
2
|
+
import { SegmentedControlItemContext } from './chunk-TDKQPTN6.js';
|
|
3
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { forwardRef, useContext, useRef, useEffect } from 'react';
|
|
7
|
+
import { useContextProps, ToggleGroupStateContext, ToggleButtonGroup, Provider } from 'react-aria-components';
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
// css-module:./SegmentedControl.module.css#css-module
|
|
11
|
+
var SegmentedControl_module_default = { "hop-SegmentedControl": "SegmentedControl-module__hop-SegmentedControl___HjcCV" };
|
|
12
|
+
var GlobalSegmentedControlCssSelector = "hop-SegmentedControl";
|
|
13
|
+
var SegmentedControl = (props, ref) => {
|
|
14
|
+
[props, ref] = useContextProps(props, ref, SegmentedControlContext);
|
|
15
|
+
const state = useContext(ToggleGroupStateContext);
|
|
16
|
+
const prevRef = useRef(null);
|
|
17
|
+
const currentSelectedRef = useRef(null);
|
|
18
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
19
|
+
const {
|
|
20
|
+
className,
|
|
21
|
+
children,
|
|
22
|
+
style,
|
|
23
|
+
slot,
|
|
24
|
+
defaultSelectedKey,
|
|
25
|
+
selectedKey,
|
|
26
|
+
onSelectionChange,
|
|
27
|
+
size,
|
|
28
|
+
isJustified,
|
|
29
|
+
...otherProps
|
|
30
|
+
} = ownProps;
|
|
31
|
+
const classNames = clsx(
|
|
32
|
+
GlobalSegmentedControlCssSelector,
|
|
33
|
+
cssModule(
|
|
34
|
+
SegmentedControl_module_default,
|
|
35
|
+
"hop-SegmentedControl"
|
|
36
|
+
),
|
|
37
|
+
stylingProps.className,
|
|
38
|
+
className
|
|
39
|
+
);
|
|
40
|
+
const mergedStyles = {
|
|
41
|
+
...style,
|
|
42
|
+
...stylingProps.style
|
|
43
|
+
};
|
|
44
|
+
const onChange = (values) => {
|
|
45
|
+
const [firstKey] = values;
|
|
46
|
+
if (!firstKey) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
if (currentSelectedRef.current) {
|
|
50
|
+
prevRef.current = currentSelectedRef.current.getBoundingClientRect();
|
|
51
|
+
}
|
|
52
|
+
onSelectionChange == null ? void 0 : onSelectionChange(firstKey);
|
|
53
|
+
};
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
const key = defaultSelectedKey != null ? defaultSelectedKey : selectedKey;
|
|
56
|
+
if (key) {
|
|
57
|
+
state == null ? void 0 : state.toggleKey(key);
|
|
58
|
+
}
|
|
59
|
+
}, []);
|
|
60
|
+
return /* @__PURE__ */ jsx(
|
|
61
|
+
ToggleButtonGroup,
|
|
62
|
+
{
|
|
63
|
+
ref,
|
|
64
|
+
className: classNames,
|
|
65
|
+
style: mergedStyles,
|
|
66
|
+
slot: slot != null ? slot : void 0,
|
|
67
|
+
orientation: "horizontal",
|
|
68
|
+
onSelectionChange: onChange,
|
|
69
|
+
selectedKeys: selectedKey != null ? [selectedKey] : void 0,
|
|
70
|
+
defaultSelectedKeys: defaultSelectedKey != null ? [defaultSelectedKey] : void 0,
|
|
71
|
+
disallowEmptySelection: true,
|
|
72
|
+
...otherProps,
|
|
73
|
+
children: /* @__PURE__ */ jsx(
|
|
74
|
+
Provider,
|
|
75
|
+
{
|
|
76
|
+
values: [
|
|
77
|
+
[SegmentedControlItemContext, { size, isDisabled: otherProps.isDisabled }],
|
|
78
|
+
[InternalSegmentedControlContext, { prevRef, currentSelectedRef, isJustified }]
|
|
79
|
+
],
|
|
80
|
+
children
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
};
|
|
86
|
+
var _SegmentedControl = forwardRef(SegmentedControl);
|
|
87
|
+
_SegmentedControl.displayName = "SegmentedControl";
|
|
88
|
+
|
|
89
|
+
export { GlobalSegmentedControlCssSelector, _SegmentedControl };
|
|
@@ -20,7 +20,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
// css-module:./EmbeddedButton.module.css#css-module
|
|
23
|
-
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-
|
|
23
|
+
var EmbeddedButton_module_default = { "hop-EmbeddedButton": "EmbeddedButton-module__hop-EmbeddedButton___R6m7s", "hop-EmbeddedButton--md": "EmbeddedButton-module__hop-EmbeddedButton--md___zZqaK", "hop-EmbeddedButton--lg": "EmbeddedButton-module__hop-EmbeddedButton--lg___yWXGG", "hop-EmbeddedButton--neutral": "EmbeddedButton-module__hop-EmbeddedButton--neutral___lkZqd", "hop-EmbeddedButton--subdued": "EmbeddedButton-module__hop-EmbeddedButton--subdued___-dOyC", "hop-EmbeddedButton--progress": "EmbeddedButton-module__hop-EmbeddedButton--progress___ChJF7", "hop-EmbeddedButton--positive": "EmbeddedButton-module__hop-EmbeddedButton--positive___HheoT", "hop-EmbeddedButton--caution": "EmbeddedButton-module__hop-EmbeddedButton--caution___aUad-", "hop-EmbeddedButton--negative": "EmbeddedButton-module__hop-EmbeddedButton--negative___E9mBi", "hop-EmbeddedButton--option1": "EmbeddedButton-module__hop-EmbeddedButton--option1___EnRqX", "hop-EmbeddedButton--option2": "EmbeddedButton-module__hop-EmbeddedButton--option2___JkPx3", "hop-EmbeddedButton--option3": "EmbeddedButton-module__hop-EmbeddedButton--option3___ZmE6i", "hop-EmbeddedButton--option4": "EmbeddedButton-module__hop-EmbeddedButton--option4___wigL-", "hop-EmbeddedButton--option5": "EmbeddedButton-module__hop-EmbeddedButton--option5___zoUrM", "hop-EmbeddedButton--option6": "EmbeddedButton-module__hop-EmbeddedButton--option6___5ET-x", "hop-EmbeddedButton__icon": "EmbeddedButton-module__hop-EmbeddedButton__icon___Qkka9" };
|
|
24
24
|
var GlobalEmbeddedButtonCssSelector = "hop-EmbeddedButton";
|
|
25
25
|
function EmbeddedButton(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
|
-
import { useFormProps } from './chunk-
|
|
4
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { useFormProps } from './chunk-R3XRXUM2.js';
|
|
4
|
+
import { _Text } from './chunk-2QQKKCA6.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./CheckboxField.module.css#css-module
|
|
18
|
-
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-
|
|
18
|
+
var CheckboxField_module_default = { "hop-CheckboxField": "CheckboxField-module__hop-CheckboxField___23gwg", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___QQ2IO", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___EZK-q", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___OWXRg", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___TkI47" };
|
|
19
19
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
20
20
|
var CheckboxToDescriptionSizeAdapter = {
|
|
21
21
|
sm: "xs",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
2
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
|
+
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
3
3
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { _Label } from './chunk-
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
4
|
+
import { _ErrorMessage } from './chunk-HOCZEYM2.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-VEEIDUMU.js';
|
|
6
|
+
import { _Label } from './chunk-DL26PLJ5.js';
|
|
7
|
+
import { useFormProps } from './chunk-R3XRXUM2.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 }
|
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./CheckboxGroup.module.css#css-module
|
|
18
|
-
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-
|
|
18
|
+
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-CheckboxGroup___LA86B", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___xDzsX", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___YdFjD", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___qFVhz", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___Jv9ym", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___4TkKj", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___hPvG5", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___6ux-r", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___z8wh9" };
|
|
19
19
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
20
20
|
function CheckboxGroup(props, ref) {
|
|
21
21
|
var _a, _b, _c;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-2QQKKCA6.js';
|
|
3
3
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { composeRenderProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./RemainingCharacterCount.module.css#css-module
|
|
13
|
-
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-
|
|
13
|
+
var RemainingCharacterCount_module_default = { "hop-RemainingCharacterCount": "RemainingCharacterCount-module__hop-RemainingCharacterCount___djiV8" };
|
|
14
14
|
var GlobalRemainingCharacterCountCssSelector = "hop-RemainingCharacterCount";
|
|
15
15
|
function RemainingCharacterCount(props, ref) {
|
|
16
16
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { createContext } from 'react';
|
|
2
|
+
|
|
3
|
+
// src/SegmentedControl/src/SegmentedControlContext.ts
|
|
4
|
+
var SegmentedControlContext = createContext({});
|
|
5
|
+
SegmentedControlContext.displayName = "SegmentedControlContext";
|
|
6
|
+
var InternalSegmentedControlContext = createContext({});
|
|
7
|
+
|
|
8
|
+
export { InternalSegmentedControlContext, SegmentedControlContext };
|
|
@@ -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___-EHZR" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Text } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./OverlineText.module.css#css-module
|
|
10
|
-
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-
|
|
10
|
+
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___ylqIL", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___VXI1W" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-PNRCYEDV.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, Switch as Switch$1 } from 'react-a
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Switch.module.css#css-module
|
|
16
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
16
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___spKpf", "hop-Switch--sm": "Switch-module__hop-Switch--sm___4NMlo", "hop-Switch--md": "Switch-module__hop-Switch--md___eql0s", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___v086c", "hop-Switch__text": "Switch-module__hop-Switch__text___-3RWI", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___TvAYA", "hop-Switch__icon": "Switch-module__hop-Switch__icon___bgjY-" };
|
|
17
17
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
18
18
|
function Switch(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
2
|
import { ListBoxSectionContext } from './chunk-RLDIAT4F.js';
|
|
3
3
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
4
|
-
import { _ListBoxItem } from './chunk-
|
|
4
|
+
import { _ListBoxItem } from './chunk-DOUSEJVO.js';
|
|
5
5
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
6
6
|
import { HeaderContext } from './chunk-7JOGKC3W.js';
|
|
7
7
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
8
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-2QQKKCA6.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBox.module.css#css-module
|
|
21
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
21
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___xsG4C", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___yrQmx", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___Fq55b", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___6jsxg", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___fpq8-" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -10,7 +10,7 @@ import { useContextProps, useSlottedContext, InputContext, TextAreaContext, Fiel
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./InputGroup.module.css#css-module
|
|
13
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
13
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___HpS9V", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___AUFRM", "hop-InputGroup--sm": "InputGroup-module__hop-InputGroup--sm___xfUg7", "hop-InputGroup__input": "InputGroup-module__hop-InputGroup__input___5VK78", "hop-InputGroup__textarea": "InputGroup-module__hop-InputGroup__textarea___GatiP", "hop-InputGroup__embedded-button": "InputGroup-module__hop-InputGroup__embedded-button___ByrkK" };
|
|
14
14
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
15
15
|
function InputGroup(props, ref) {
|
|
16
16
|
var _a, _b;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
2
|
-
import { _SelectValue } from './chunk-
|
|
3
|
-
import { _Popover } from './chunk-
|
|
2
|
+
import { _SelectValue } from './chunk-WYBZUVI5.js';
|
|
3
|
+
import { _Popover } from './chunk-PHUI65VC.js';
|
|
4
4
|
import { _Footer } from './chunk-VOZN65OL.js';
|
|
5
|
-
import { _ListBox } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { _ToggleArrow } from './chunk-
|
|
9
|
-
import { ensureTextWrapper } from './chunk-
|
|
10
|
-
import { _Label } from './chunk-
|
|
11
|
-
import { useFormProps } from './chunk-
|
|
5
|
+
import { _ListBox } from './chunk-NJVZCXT2.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-HOCZEYM2.js';
|
|
7
|
+
import { _HelperMessage } from './chunk-VEEIDUMU.js';
|
|
8
|
+
import { _ToggleArrow } from './chunk-SNTJBZFO.js';
|
|
9
|
+
import { ensureTextWrapper } from './chunk-PNRCYEDV.js';
|
|
10
|
+
import { _Label } from './chunk-DL26PLJ5.js';
|
|
11
|
+
import { useFormProps } from './chunk-R3XRXUM2.js';
|
|
12
12
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
13
13
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
14
14
|
import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
|
|
@@ -22,7 +22,7 @@ import { useContextProps, composeRenderProps, TextContext as TextContext$1, Butt
|
|
|
22
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
23
|
|
|
24
24
|
// css-module:./Select.module.css#css-module
|
|
25
|
-
var Select_module_default = { "hop-Select": "Select-module__hop-
|
|
25
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___4hUV-", "hop-Select--fluid": "Select-module__hop-Select--fluid___oIKXC", "hop-Select__label": "Select-module__hop-Select__label___sARJb", "hop-Select__button": "Select-module__hop-Select__button___gvovZ", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___iQlXp", "hop-Select__button--md": "Select-module__hop-Select__button--md___VUi5q", "hop-Select__prefix": "Select-module__hop-Select__prefix___JBo-G", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___VKasH", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___7V--C", "hop-Select__error-message": "Select-module__hop-Select__error-message___mDbtt" };
|
|
26
26
|
var GlobalSelectCssSelector = "hop-Select";
|
|
27
27
|
function Select(props, ref) {
|
|
28
28
|
var _a, _b, _c, _d;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FloatingBadgeContext } from './chunk-CIGS4QGT.js';
|
|
2
1
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
2
|
+
import { FloatingBadgeContext } from './chunk-CIGS4QGT.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./FloatingBadge.module.css#css-module
|
|
13
|
-
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-
|
|
13
|
+
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-FloatingBadge___SF-4H", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___xU3Uu" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-PNRCYEDV.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./DecorativeRadio.module.css#css-module
|
|
18
|
-
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-
|
|
18
|
+
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___2bOw2 Radio-module__hop-Radio___ncN-g", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___EA5L6 Radio-module__hop-Radio--sm___lmI69", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___hTfkr Radio-module__hop-Radio--md___nqnhp", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___TwekP Radio-module__hop-Radio__icon___pQ5lq", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___JAsIg Radio-module__hop-Radio__icon___pQ5lq", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___7do7S Radio-module__hop-Radio__box___vvW-U", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___YSl6k Radio-module__hop-Radio__bullet___jGOaB", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___vjCQt Radio-module__hop-Radio__text___7ucBd" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -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___fG7LR", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___Ej8FH" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -5,8 +5,8 @@ import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
|
5
5
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
6
6
|
import { ListBoxContext } from './chunk-UIEP5BA5.js';
|
|
7
7
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
8
|
-
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
9
8
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
9
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
10
10
|
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
11
11
|
import { HeadingContext } from './chunk-TXZ6BMFR.js';
|
|
12
12
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, composeRenderProps, Popover as Popover$1, Dialog } fro
|
|
|
19
19
|
import { jsx } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Popover.module.css#css-module
|
|
22
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
22
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___D3Ng4", "fade": "Popover-module__fade___70DEo", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___SBq2a", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___270wW", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___OR6kR", "hop-Popover__title": "Popover-module__hop-Popover__title___ttP2a", "hop-Popover__content": "Popover-module__hop-Popover__content___NZMo3", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___2QxP-", "hop-Popover__footer": "Popover-module__hop-Popover__footer___vg8ZV", "hop-Popover__actions": "Popover-module__hop-Popover__actions___EcbSA", "hop-Popover__action": "Popover-module__hop-Popover__action___d5Dii" };
|
|
23
23
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
24
24
|
function Popover(props, ref) {
|
|
25
25
|
var _a;
|
|
@@ -12,7 +12,7 @@ import { useContextProps, useSlottedContext, composeRenderProps, Disclosure as D
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Disclosure.module.css#css-module
|
|
15
|
-
var Disclosure_module_default = { "hop-Disclosure": "Disclosure-module__hop-
|
|
15
|
+
var Disclosure_module_default = { "hop-Disclosure": "Disclosure-module__hop-Disclosure___arfd5", "hop-Disclosure__header": "Disclosure-module__hop-Disclosure__header___Hd6Im", "hop-Disclosure--inline": "Disclosure-module__hop-Disclosure--inline___nuiDX", "hop-Disclosure__panel": "Disclosure-module__hop-Disclosure__panel___SgY2m" };
|
|
16
16
|
var GlobalDisclosureCssSelector = "hop-Disclosure";
|
|
17
17
|
function Disclosure(props, ref) {
|
|
18
18
|
[props, ref] = useContextProps(props, ref, DisclosureContext);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useScale } from './chunk-MTDFS4CZ.js';
|
|
2
2
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ensureTextWrapper } from './chunk-
|
|
7
|
-
import { _Label } from './chunk-
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
3
|
+
import { _InputGroup } from './chunk-OIPDQPIS.js';
|
|
4
|
+
import { _ErrorMessage } from './chunk-HOCZEYM2.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-VEEIDUMU.js';
|
|
6
|
+
import { ensureTextWrapper } from './chunk-PNRCYEDV.js';
|
|
7
|
+
import { _Label } from './chunk-DL26PLJ5.js';
|
|
8
|
+
import { useFormProps } from './chunk-R3XRXUM2.js';
|
|
9
9
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
10
10
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
11
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -22,7 +22,7 @@ import { useContextProps, composeRenderProps, Input, NumberField as NumberField$
|
|
|
22
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
23
|
|
|
24
24
|
// css-module:./NumberField.module.css#css-module
|
|
25
|
-
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-
|
|
25
|
+
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-NumberField___Yr92E", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___yDu-c", "hop-NumberField--mobile": "NumberField-module__hop-NumberField--mobile___nd13U", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___I22co", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___hcUSl", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___54w4O", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___wp-B-", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___p9fBH", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___0TKRt", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___Use6w", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___UypXg", "hop-NumberField__stepper-button--mobile": "NumberField-module__hop-NumberField__stepper-button--mobile___WhYPr", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___BP-4V", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___8KT2t" };
|
|
26
26
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
27
27
|
var StepperButton = ({ direction }) => {
|
|
28
28
|
const scale = useScale();
|
|
@@ -7,7 +7,7 @@ import { Form as Form$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Form.module.css#css-module
|
|
10
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
10
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___CUW7s" };
|
|
11
11
|
var GlobalFormCssSelector = "hop-Form";
|
|
12
12
|
function useFormProps(props) {
|
|
13
13
|
const ctx = useContext(FormContext);
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
14
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
14
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___9jfhn", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___SzArm", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___GBM6B", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___ywXzy", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___WuvOq", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___rZ0c2", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___SFJg-", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___4GNy9" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -1,13 +1,13 @@
|
|
|
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 {
|
|
7
|
-
import { _ErrorMessage } from './chunk-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
2
|
+
import { _RemainingCharacterCount } from './chunk-IUEZ452B.js';
|
|
3
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
4
|
+
import { _InputGroup } from './chunk-OIPDQPIS.js';
|
|
5
|
+
import { _ClearButton } from './chunk-FDCAYJ5A.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-HOCZEYM2.js';
|
|
7
|
+
import { _HelperMessage } from './chunk-VEEIDUMU.js';
|
|
8
|
+
import { ensureTextWrapper } from './chunk-PNRCYEDV.js';
|
|
9
|
+
import { _Label } from './chunk-DL26PLJ5.js';
|
|
10
|
+
import { useFormProps } from './chunk-R3XRXUM2.js';
|
|
11
11
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
12
12
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
13
13
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -24,7 +24,7 @@ import { useContextProps, composeRenderProps, Input, TextField as TextField$1 }
|
|
|
24
24
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
25
25
|
|
|
26
26
|
// css-module:./TextField.module.css#css-module
|
|
27
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
27
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___nktUs", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___Wua79", "hop-TextField__Label": "TextField-module__hop-TextField__Label___IM2vg", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___HGWZ0", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___93l2k", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___JP3Jo", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___1i7-G" };
|
|
28
28
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
29
29
|
function TextField(props, ref) {
|
|
30
30
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Card.module.css#css-module
|
|
10
|
-
var Card_module_default = { "hop-Card": "Card-module__hop-
|
|
10
|
+
var Card_module_default = { "hop-Card": "Card-module__hop-Card___bSbgF", "hop-Card--main": "Card-module__hop-Card--main___NeDzE", "hop-Card--second-level": "Card-module__hop-Card--second-level___9KDL-" };
|
|
11
11
|
var GlobalCardCssSelector = "hop-Card";
|
|
12
12
|
var Card = (props, ref) => {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, CardContext);
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./ToggleArrow.module.css#css-module
|
|
11
|
-
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-
|
|
11
|
+
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-ToggleArrow___k2P1d" };
|
|
12
12
|
var GlobalToggleArrowCssSelector = "hop-ToggleArrow";
|
|
13
13
|
function ToggleArrow(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, ToggleArrowContext);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { createContext } from 'react';
|
|
2
|
+
|
|
3
|
+
// src/SegmentedControl/src/SegmentedControlItemContext.ts
|
|
4
|
+
var SegmentedControlItemContext = createContext({});
|
|
5
|
+
SegmentedControlItemContext.displayName = "SegmentedControlItemContext";
|
|
6
|
+
|
|
7
|
+
export { SegmentedControlItemContext };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
1
|
+
import { _RichIconAvatarImage } from './chunk-RBX5I4PK.js';
|
|
2
2
|
import { useRenderProps } from './chunk-NH3IVMXB.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { AvatarContext } from './chunk-AES7QBQE.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import { _Spinner } from './chunk-
|
|
2
|
+
import { _Spinner } from './chunk-CTY5LBJO.js';
|
|
3
3
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
4
4
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
5
|
-
import { ensureTextWrapper } from './chunk-
|
|
5
|
+
import { ensureTextWrapper } from './chunk-PNRCYEDV.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-TFVDF4YH.js';
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
7
|
+
import { useFormProps } from './chunk-R3XRXUM2.js';
|
|
8
8
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
9
9
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Button as Button$1 }
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./Button.module.css#css-module
|
|
20
|
-
var Button_module_default = { "hop-Button": "Button-module__hop-
|
|
20
|
+
var Button_module_default = { "hop-Button": "Button-module__hop-Button___6jdea", "hop-Button--fluid": "Button-module__hop-Button--fluid___-kDxT", "hop-Button--sm": "Button-module__hop-Button--sm___ssMuQ", "hop-Button--md": "Button-module__hop-Button--md___eslrO", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___14Bgf", "hop-Button--primary": "Button-module__hop-Button--primary___heW9v", "hop-Button--secondary": "Button-module__hop-Button--secondary___dGQoQ", "hop-Button--upsell": "Button-module__hop-Button--upsell___XkxHG", "hop-Button--danger": "Button-module__hop-Button--danger___2GI4-", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___WbTOr", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___rucYv", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___EEFQf", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___-0J1W", "hop-Button__icon": "Button-module__hop-Button__icon___Rv7QT", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___Dvrbe", "hop-Button__text": "Button-module__hop-Button__text___pNCyo", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___nAsoZ", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___7V1ne" };
|
|
21
21
|
var GlobalButtonCssSelector = "hop-Button";
|
|
22
22
|
function Button(props, ref) {
|
|
23
23
|
var _a, _b;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Image.module.css#css-module
|
|
10
|
-
var Image_module_default = { "hop-Image": "Image-module__hop-
|
|
10
|
+
var Image_module_default = { "hop-Image": "Image-module__hop-Image___D5KWS", "hop-Image--rounded": "Image-module__hop-Image--rounded___wKJOl", "hop-Image--circular": "Image-module__hop-Image--circular___dUXRS" };
|
|
11
11
|
var GlobalImageCssSelector = "hop-Image";
|
|
12
12
|
function Image(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, ImageContext);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
1
|
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
2
|
+
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
3
3
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { _Label } from './chunk-
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
4
|
+
import { _ErrorMessage } from './chunk-HOCZEYM2.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-VEEIDUMU.js';
|
|
6
|
+
import { _Label } from './chunk-DL26PLJ5.js';
|
|
7
|
+
import { useFormProps } from './chunk-R3XRXUM2.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps, RadioGroup as RadioGroup$1 } from
|
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./RadioGroup.module.css#css-module
|
|
18
|
-
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-
|
|
18
|
+
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___GqHEi", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___5zQLT", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___XYFgI", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___PDRDH", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___-WxgG", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___bcO-F", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___jNOT4", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___ecD7Z", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___vqJjy" };
|
|
19
19
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
20
20
|
function RadioGroup(props, ref) {
|
|
21
21
|
var _a, _b, _c;
|
|
@@ -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___kIjJK", "hop-Heading--xs": "Heading-module__hop-Heading--xs___n7uR3", "hop-Heading--sm": "Heading-module__hop-Heading--sm___5UFh3", "hop-Heading--md": "Heading-module__hop-Heading--md___mHsGk", "hop-Heading--lg": "Heading-module__hop-Heading--lg___Bwq0I", "hop-Heading--xl": "Heading-module__hop-Heading--xl___iz9mD", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___3Vykl", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___K4kAz" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|