@hopper-ui/components 1.4.8 → 1.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/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 +3 -3
- package/dist/Avatar/src/Avatar.css +56 -56
- package/dist/Avatar/src/Avatar.js +5 -5
- package/dist/Avatar/src/DeletedAvatar.css +38 -38
- package/dist/Avatar/src/DeletedAvatar.js +3 -3
- package/dist/Avatar/src/RichIconAvatarImage.css +38 -38
- package/dist/Avatar/src/RichIconAvatarImage.js +2 -2
- package/dist/Avatar/src/index.css +56 -56
- package/dist/Avatar/src/index.js +7 -7
- package/dist/Badge/src/Badge.css +43 -43
- package/dist/Badge/src/Badge.js +3 -3
- package/dist/Badge/src/FloatingBadge.css +38 -38
- package/dist/Badge/src/FloatingBadge.js +1 -1
- package/dist/Badge/src/index.css +53 -53
- package/dist/Badge/src/index.js +4 -4
- package/dist/Callout/src/Callout.css +262 -262
- package/dist/Callout/src/Callout.js +10 -10
- package/dist/Callout/src/CompactCallout.css +293 -293
- package/dist/Callout/src/CompactCallout.js +12 -12
- package/dist/Callout/src/index.css +304 -304
- package/dist/Callout/src/index.js +13 -13
- 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 +632 -632
- package/dist/ComboBox/src/ComboBox.js +21 -21
- package/dist/ComboBox/src/index.css +632 -632
- package/dist/ComboBox/src/index.js +21 -21
- 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 +7 -7
- 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 +10 -10
- 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 +270 -270
- package/dist/IllustratedMessage/src/IllustratedMessage.js +1 -1
- package/dist/IllustratedMessage/src/index.css +270 -270
- package/dist/IllustratedMessage/src/index.js +1 -1
- 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 +59 -59
- package/dist/Link/src/Link.js +7 -7
- package/dist/Link/src/index.css +59 -59
- package/dist/Link/src/index.js +7 -7
- package/dist/ListBox/src/ListBox.css +275 -275
- package/dist/ListBox/src/ListBox.js +12 -12
- package/dist/ListBox/src/ListBoxItem.css +263 -263
- package/dist/ListBox/src/ListBoxItem.js +11 -11
- package/dist/ListBox/src/ListBoxItemSkeleton.css +35 -35
- package/dist/ListBox/src/ListBoxItemSkeleton.js +1 -1
- package/dist/ListBox/src/index.css +275 -275
- package/dist/ListBox/src/index.js +12 -12
- package/dist/Modal/src/BaseModal.css +347 -0
- package/dist/Modal/src/BaseModal.d.ts +24 -0
- package/dist/Modal/src/BaseModal.js +5 -0
- package/dist/Modal/src/BaseModalContext.d.ts +8 -0
- package/dist/Modal/src/BaseModalContext.js +2 -0
- package/dist/Modal/src/CustomModal.css +361 -0
- package/dist/Modal/src/CustomModal.d.ts +35 -0
- package/dist/Modal/src/CustomModal.js +7 -0
- package/dist/Modal/src/CustomModalContext.d.ts +8 -0
- package/dist/Modal/src/CustomModalContext.js +2 -0
- package/dist/Modal/src/Modal.css +1806 -0
- package/dist/Modal/src/Modal.d.ts +33 -0
- package/dist/Modal/src/Modal.js +37 -0
- package/dist/Modal/src/ModalContext.d.ts +8 -0
- package/dist/Modal/src/ModalContext.js +2 -0
- package/dist/Modal/src/ModalTrigger.d.ts +5 -0
- package/dist/Modal/src/ModalTrigger.js +2 -0
- package/dist/Modal/src/index.css +1820 -0
- package/dist/Modal/src/index.d.ts +8 -0
- package/dist/Modal/src/index.js +40 -0
- package/dist/SegmentedControl/src/SegmentedControl.css +29 -29
- package/dist/SegmentedControl/src/SegmentedControl.js +1 -1
- package/dist/SegmentedControl/src/SegmentedControlItem.css +43 -43
- package/dist/SegmentedControl/src/SegmentedControlItem.js +6 -6
- package/dist/SegmentedControl/src/index.css +44 -44
- package/dist/SegmentedControl/src/index.js +7 -7
- package/dist/Select/src/Select.css +576 -576
- package/dist/Select/src/Select.js +19 -19
- package/dist/Select/src/SelectValue.css +62 -62
- package/dist/Select/src/SelectValue.js +6 -6
- package/dist/Select/src/index.css +576 -576
- package/dist/Select/src/index.js +19 -19
- 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/Tile/src/Tile.css +37 -37
- package/dist/Tile/src/Tile.js +6 -6
- package/dist/Tile/src/TileGroup.css +29 -29
- package/dist/Tile/src/TileGroup.js +1 -1
- package/dist/Tile/src/index.css +38 -38
- package/dist/Tile/src/index.js +7 -7
- 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 +1 -1
- package/dist/buttons/src/ClearButton.css +99 -99
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/CloseButton.css +95 -95
- package/dist/buttons/src/CloseButton.js +9 -9
- 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 +8 -8
- package/dist/buttons/src/index.css +251 -251
- package/dist/buttons/src/index.js +15 -15
- 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 +6 -6
- 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 +12 -12
- package/dist/{chunk-RZG5PUET.js → chunk-2B6UJXL6.js} +11 -11
- package/dist/{chunk-UXCNMI34.js → chunk-3G33VYB7.js} +2 -2
- package/dist/{chunk-PXOVV47X.js → chunk-3ZSXVHWK.js} +1 -1
- package/dist/{chunk-S4VWM2B6.js → chunk-4474CZXU.js} +7 -7
- package/dist/{chunk-KIQW5BE4.js → chunk-5GJRY5OC.js} +2 -2
- package/dist/{chunk-VHVRECJY.js → chunk-5JF7EUKN.js} +5 -5
- package/dist/{chunk-WNFSIU36.js → chunk-5JOBLX2X.js} +3 -3
- package/dist/{chunk-OSGTA6DG.js → chunk-5TJHLTQ6.js} +1 -1
- package/dist/{chunk-IYT75GWO.js → chunk-7KRTACMF.js} +2 -2
- package/dist/{chunk-CKH5EUEC.js → chunk-A3SYNZKP.js} +2 -2
- package/dist/{chunk-B7MWXJWS.js → chunk-A6YPAPMB.js} +1 -1
- package/dist/{chunk-MM2SG6JU.js → chunk-ANIQSFMU.js} +1 -1
- package/dist/chunk-ATO2OHLR.js +120 -0
- package/dist/{chunk-7SMF3TO5.js → chunk-AWXL6NRM.js} +2 -2
- package/dist/{chunk-YMQMJAC4.js → chunk-B47MWYFI.js} +4 -4
- package/dist/{chunk-U2E2PK7O.js → chunk-CDFCAPSB.js} +2 -2
- package/dist/{chunk-TMVLBCMF.js → chunk-DE66YUPA.js} +3 -3
- package/dist/{chunk-QR6WDDBN.js → chunk-DMFMZLME.js} +1 -1
- package/dist/chunk-DRFFM5PG.js +6 -0
- package/dist/{chunk-YHRCBRDZ.js → chunk-EEBGOP3G.js} +1 -1
- package/dist/{chunk-72CSHV4D.js → chunk-ERCGNLSF.js} +6 -6
- package/dist/{chunk-NIOF2SKT.js → chunk-EU5SU3GO.js} +2 -2
- package/dist/chunk-EUVOO6AN.js +59 -0
- package/dist/{chunk-Z7ORLEY6.js → chunk-FIZFXOX5.js} +1 -1
- package/dist/{chunk-PAVQC74G.js → chunk-FJWEWI6U.js} +1 -1
- package/dist/chunk-FLU4UPP6.js +7 -0
- package/dist/{chunk-CZRMFNRT.js → chunk-FXFWNXEG.js} +2 -2
- package/dist/{chunk-BPO44JV2.js → chunk-G52FWGYE.js} +3 -3
- package/dist/{chunk-UIG77WBM.js → chunk-GBV5HCMX.js} +5 -5
- package/dist/{chunk-KFH2WZVX.js → chunk-GNEWMHV7.js} +4 -4
- package/dist/{chunk-ML4JW4EF.js → chunk-GPQWIEKH.js} +8 -8
- package/dist/{chunk-Q5XBTXXT.js → chunk-GTCXBX4V.js} +6 -6
- package/dist/{chunk-I2LTZFXN.js → chunk-HNWPRKJS.js} +2 -2
- package/dist/{chunk-EZF74GSX.js → chunk-HYVZXVN6.js} +2 -2
- package/dist/{chunk-53WBWLKL.js → chunk-I7FKLVMO.js} +8 -8
- package/dist/{chunk-EZXZMHPJ.js → chunk-IQCSFR6R.js} +2 -2
- package/dist/{chunk-AD5GQ24L.js → chunk-JLYHWRJV.js} +1 -1
- package/dist/{chunk-IMUQCB4Q.js → chunk-JQHTQISK.js} +2 -2
- package/dist/{chunk-YP2IQM4Y.js → chunk-JRWAJ3QT.js} +1 -1
- package/dist/{chunk-56WMYNUD.js → chunk-K3O2JWWU.js} +3 -3
- package/dist/{chunk-M35EMGMO.js → chunk-K3YSAZUD.js} +1 -1
- package/dist/{chunk-NHKYEZTW.js → chunk-L5OLND54.js} +2 -2
- package/dist/chunk-LUO2HNXA.js +7 -0
- package/dist/chunk-M7VXXZLC.js +77 -0
- package/dist/{chunk-CYICQ2TZ.js → chunk-MA6J3BKQ.js} +1 -1
- package/dist/{chunk-JZ4LJ4M4.js → chunk-NB2FBBIE.js} +3 -3
- package/dist/{chunk-GOY3T3HI.js → chunk-NHM5FY74.js} +2 -2
- package/dist/{chunk-F6D7LSXZ.js → chunk-P4ZMZ54Q.js} +1 -1
- package/dist/{chunk-UC2WGSJH.js → chunk-P6WDC6ZS.js} +10 -10
- package/dist/chunk-PH5BSJDK.js +7 -0
- package/dist/{chunk-KVJHBVJU.js → chunk-PLPALRH6.js} +12 -12
- package/dist/{chunk-SSV5APP2.js → chunk-PSM3JOML.js} +2 -2
- package/dist/{chunk-KW6WJUD5.js → chunk-QLI42RZN.js} +2 -2
- package/dist/{chunk-7HIGRTLG.js → chunk-R5L7SK34.js} +12 -5
- package/dist/{chunk-6CVROWNN.js → chunk-RAWGWYOF.js} +2 -2
- package/dist/{chunk-ZJBNVQTB.js → chunk-REKY4BJM.js} +1 -1
- package/dist/{chunk-W2TEMTXK.js → chunk-S7RI5RQO.js} +1 -1
- package/dist/{chunk-SRMMLWHK.js → chunk-SMSHSMED.js} +1 -1
- package/dist/{chunk-XV2C6MXF.js → chunk-T3WRJK3V.js} +7 -7
- package/dist/{chunk-QVXYZX5B.js → chunk-THWHGUB6.js} +1 -1
- package/dist/{chunk-VOXZA4YS.js → chunk-TJDT2TJG.js} +1 -1
- package/dist/{chunk-NXT7EAML.js → chunk-TLDLLMGL.js} +1 -1
- package/dist/{chunk-F6NQHY35.js → chunk-TN2S45IN.js} +1 -1
- package/dist/{chunk-UXGG4SUH.js → chunk-UAZKXXEX.js} +1 -1
- package/dist/{chunk-VFZ2K6U6.js → chunk-UQZ4HW3G.js} +1 -1
- package/dist/{chunk-7JQJ5U7J.js → chunk-V5AZC3EI.js} +1 -1
- package/dist/{chunk-GZYLFGDT.js → chunk-VFJTSO5R.js} +3 -3
- package/dist/{chunk-Z2SUHJJH.js → chunk-WDSDGZYH.js} +3 -3
- package/dist/{chunk-N455JVEG.js → chunk-WPEOD36Y.js} +2 -2
- package/dist/{chunk-ZMNX5LVE.js → chunk-XJ3VC7WV.js} +2 -2
- package/dist/{chunk-QOFWY452.js → chunk-YHFZVPBU.js} +2 -2
- package/dist/{chunk-725VVVMA.js → chunk-YP5OBIRV.js} +1 -1
- package/dist/{chunk-5TGWIM5C.js → chunk-Z5FJSEQP.js} +8 -8
- package/dist/index.css +1104 -870
- package/dist/index.d.ts +6 -0
- package/dist/index.js +87 -79
- package/dist/inputs/src/Input.css +32 -32
- package/dist/inputs/src/Input.d.ts +2 -2
- package/dist/inputs/src/Input.js +1 -1
- package/dist/inputs/src/InputGroup.css +34 -34
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +58 -58
- package/dist/inputs/src/NumberField.js +11 -11
- package/dist/inputs/src/PasswordField.css +271 -271
- 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 +277 -277
- package/dist/inputs/src/SearchField.js +12 -12
- package/dist/inputs/src/TextArea.css +55 -55
- package/dist/inputs/src/TextArea.js +10 -10
- package/dist/inputs/src/TextField.css +275 -275
- package/dist/inputs/src/TextField.js +14 -14
- package/dist/inputs/src/index.css +323 -323
- package/dist/inputs/src/index.js +18 -18
- package/dist/overlays/Popover/src/Popover.css +552 -552
- package/dist/overlays/Popover/src/Popover.js +7 -7
- package/dist/overlays/Popover/src/index.css +552 -552
- 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 +6 -6
- package/dist/radio/src/index.css +99 -99
- package/dist/radio/src/index.js +12 -12
- 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 +392 -392
- package/dist/tag/src/Tag.js +11 -11
- package/dist/tag/src/TagGroup.css +38 -38
- package/dist/tag/src/TagGroup.js +7 -7
- package/dist/tag/src/index.css +402 -402
- package/dist/tag/src/index.js +16 -16
- 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 +7 -7
- package/package.json +5 -2
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { BaseModalContext } from './chunk-FLU4UPP6.js';
|
|
2
|
+
import { _HopperProvider } from './chunk-NMKBUGSO.js';
|
|
3
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
|
+
import { useStyledSystem, useColorSchemeContext, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { useContextProps, ModalOverlay, Modal } from 'react-aria-components';
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
// css-module:./BaseModal.module.css#css-module
|
|
11
|
+
var BaseModal_module_default = { "hop-BaseModal": "BaseModal-module__hop-BaseModal___vUaxP", "hop-BaseModal__modal": "BaseModal-module__hop-BaseModal__modal___cN-OB", "hop-BaseModal--image": "BaseModal-module__hop-BaseModal--image___X-fRT", "hop-BaseModal--entering": "BaseModal-module__hop-BaseModal--entering___0DaSV", "hop-BaseModal--exiting": "BaseModal-module__hop-BaseModal--exiting___wupS9", "hop-BaseModal--sm": "BaseModal-module__hop-BaseModal--sm___UOe40", "hop-BaseModal--md": "BaseModal-module__hop-BaseModal--md___Iq4Tt", "hop-BaseModal--lg": "BaseModal-module__hop-BaseModal--lg___-ES3I", "hop-BaseModal--xl": "BaseModal-module__hop-BaseModal--xl___LI2AH", "hop-BaseModal--fullscreen": "BaseModal-module__hop-BaseModal--fullscreen___Q73N-", "hop-BaseModal--fullscreentakeover": "BaseModal-module__hop-BaseModal--fullscreentakeover___cgSte" };
|
|
12
|
+
var GlobalBaseModalCssSelector = "hop-BaseModal";
|
|
13
|
+
var BaseModal = (props, ref) => {
|
|
14
|
+
var _a;
|
|
15
|
+
[props, ref] = useContextProps(props, ref, BaseModalContext);
|
|
16
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
17
|
+
const {
|
|
18
|
+
className,
|
|
19
|
+
style,
|
|
20
|
+
slot,
|
|
21
|
+
size: sizeProp,
|
|
22
|
+
children,
|
|
23
|
+
hasImage,
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const { colorScheme } = useColorSchemeContext();
|
|
27
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
28
|
+
const classNames = (renderProps) => clsx(
|
|
29
|
+
GlobalBaseModalCssSelector,
|
|
30
|
+
cssModule(
|
|
31
|
+
BaseModal_module_default,
|
|
32
|
+
GlobalBaseModalCssSelector,
|
|
33
|
+
size.toLowerCase(),
|
|
34
|
+
renderProps.isEntering && "entering",
|
|
35
|
+
renderProps.isExiting && "exiting",
|
|
36
|
+
hasImage && "image"
|
|
37
|
+
),
|
|
38
|
+
stylingProps.className,
|
|
39
|
+
className
|
|
40
|
+
);
|
|
41
|
+
const mergedStyles = {
|
|
42
|
+
...style,
|
|
43
|
+
...stylingProps.style
|
|
44
|
+
};
|
|
45
|
+
return /* @__PURE__ */ jsx(
|
|
46
|
+
ModalOverlay,
|
|
47
|
+
{
|
|
48
|
+
className: classNames,
|
|
49
|
+
style: mergedStyles,
|
|
50
|
+
slot,
|
|
51
|
+
...otherProps,
|
|
52
|
+
children: /* @__PURE__ */ jsx(_HopperProvider, { colorScheme, withCssVariables: false, children: /* @__PURE__ */ jsx(Modal, { ...otherProps, ref, className: BaseModal_module_default["hop-BaseModal__modal"], children }) })
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
};
|
|
56
|
+
var _BaseModal = forwardRef(BaseModal);
|
|
57
|
+
_BaseModal.displayName = "BaseModal";
|
|
58
|
+
|
|
59
|
+
export { GlobalBaseModalCssSelector, _BaseModal };
|
|
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Text.module.css#css-module
|
|
12
|
-
var Text_module_default = { "hop-Text": "Text-module__hop-
|
|
12
|
+
var Text_module_default = { "hop-Text": "Text-module__hop-Text___M-1m1", "hop-Text--xs": "Text-module__hop-Text--xs___vkJGg", "hop-Text--sm": "Text-module__hop-Text--sm___1m4ZS", "hop-Text--md": "Text-module__hop-Text--md___P7TpA", "hop-Text--lg": "Text-module__hop-Text--lg___eqMWx", "hop-Text--xl": "Text-module__hop-Text--xl___2KB2s", "hop-Text--2xl": "Text-module__hop-Text--2xl___ZE1BW", "hop-Text--inherit": "Text-module__hop-Text--inherit___6QtwX" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -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___fTtrt", "hop-Heading--xs": "Heading-module__hop-Heading--xs___MZpK2", "hop-Heading--sm": "Heading-module__hop-Heading--sm___SwLn2", "hop-Heading--md": "Heading-module__hop-Heading--md___Llu3w", "hop-Heading--lg": "Heading-module__hop-Heading--lg___ifE9U", "hop-Heading--xl": "Heading-module__hop-Heading--xl___oawUK", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___E6--Y", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___4neCh" };
|
|
11
11
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
12
|
function Heading(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-SMSHSMED.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { useRenderProps } from './chunk-2NSUMKNH.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:./DecorativeCheckbox.module.css#css-module
|
|
18
|
-
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-
|
|
18
|
+
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___kPU50 Checkbox-module__hop-Checkbox___NZb1-", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___-T-aW Checkbox-module__hop-Checkbox--sm___iXJ2Q", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___z2Jcd Checkbox-module__hop-Checkbox--md___CBJhw", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___L3keG Checkbox-module__hop-Checkbox__icon___bOVwj", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___gf3-4 Checkbox-module__hop-Checkbox__icon___bOVwj", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___qHrBl Checkbox-module__hop-Checkbox__box___QMQ-D", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___4j0Jt Checkbox-module__hop-Checkbox__check___S9ghy", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___zD0Br Checkbox-module__hop-Checkbox__text___PSb1V" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
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-TJDT2TJG.js';
|
|
4
|
+
import { _Text } from './chunk-FIZFXOX5.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
6
|
import { useRenderProps } from './chunk-2NSUMKNH.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___Rt98b", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___MlKVL", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___6yo21", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___sV-9K", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___mt4EW" };
|
|
19
19
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
20
20
|
var CheckboxToDescriptionSizeAdapter = {
|
|
21
21
|
sm: "xs",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
2
2
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
3
3
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
4
|
-
import { _HelperMessage } from './chunk-
|
|
5
|
-
import { _ErrorMessage } from './chunk-
|
|
6
|
-
import { _Label } from './chunk-
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
4
|
+
import { _HelperMessage } from './chunk-RAWGWYOF.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-3G33VYB7.js';
|
|
6
|
+
import { _Label } from './chunk-HNWPRKJS.js';
|
|
7
|
+
import { useFormProps } from './chunk-TJDT2TJG.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___hq7ts", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___KUe9B", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___-xKnt", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___bzpht", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___PXUhj", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___4Ex7y", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___Fu8Wo", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___THh8K", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___0Ap2W" };
|
|
19
19
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
20
20
|
function CheckboxGroup(props, ref) {
|
|
21
21
|
var _a, _b, _c;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
2
|
-
import { _Spinner } from './chunk-
|
|
2
|
+
import { _Spinner } from './chunk-7KRTACMF.js';
|
|
3
3
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
4
4
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
5
|
-
import { ensureTextWrapper } from './chunk-
|
|
5
|
+
import { ensureTextWrapper } from './chunk-SMSHSMED.js';
|
|
6
6
|
import { useLocalizedString } from './chunk-75DHKNW2.js';
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
7
|
+
import { useFormProps } from './chunk-TJDT2TJG.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___6KTmh", "hop-Button--fluid": "Button-module__hop-Button--fluid___-sSTR", "hop-Button--sm": "Button-module__hop-Button--sm___Ajqhy", "hop-Button--md": "Button-module__hop-Button--md___ZZE-v", "hop-Button--icon-only": "Button-module__hop-Button--icon-only___xEBqd", "hop-Button--primary": "Button-module__hop-Button--primary___A-3Et", "hop-Button--secondary": "Button-module__hop-Button--secondary___ajkdD", "hop-Button--upsell": "Button-module__hop-Button--upsell___-7Ts9", "hop-Button--danger": "Button-module__hop-Button--danger___Gt66B", "hop-Button--ghost-primary": "Button-module__hop-Button--ghost-primary___4Bo2l", "hop-Button--ghost-secondary": "Button-module__hop-Button--ghost-secondary___0cyJ7", "hop-Button--ghost-danger": "Button-module__hop-Button--ghost-danger___6Bhsv", "hop-Button__Spinner": "Button-module__hop-Button__Spinner___Ov6iM", "hop-Button__icon": "Button-module__hop-Button__icon___p8y2e", "hop-Button__icon-list": "Button-module__hop-Button__icon-list___odXja", "hop-Button__text": "Button-module__hop-Button__text___q1VFO", "hop-Button__end-icon": "Button-module__hop-Button__end-icon___yCciH", "hop-Button__end-icon-list": "Button-module__hop-Button__end-icon-list___rAF8V" };
|
|
21
21
|
var GlobalButtonCssSelector = "hop-Button";
|
|
22
22
|
function Button(props, ref) {
|
|
23
23
|
var _a, _b;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
2
|
-
import { _InputGroup } from './chunk-
|
|
3
|
-
import { Input } from './chunk-
|
|
4
|
-
import { _HelperMessage } from './chunk-
|
|
5
|
-
import { _ErrorMessage } from './chunk-
|
|
6
|
-
import { ensureTextWrapper } from './chunk-
|
|
7
|
-
import { _Label } from './chunk-
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
2
|
+
import { _InputGroup } from './chunk-P4ZMZ54Q.js';
|
|
3
|
+
import { Input } from './chunk-R5L7SK34.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-RAWGWYOF.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-3G33VYB7.js';
|
|
6
|
+
import { ensureTextWrapper } from './chunk-SMSHSMED.js';
|
|
7
|
+
import { _Label } from './chunk-HNWPRKJS.js';
|
|
8
|
+
import { useFormProps } from './chunk-TJDT2TJG.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, NumberField as NumberField$1, Butt
|
|
|
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___Ovjcp", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___SvzKR", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___hTvLv", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___VUBwZ", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___kB46p", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___QsrAC", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___sOOtR", "hop-NumberField__steppers": "NumberField-module__hop-NumberField__steppers___-fZ5u", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___aXkJL", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___NS7jQ", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___Bq2E8", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___pMHL3", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___rE9a8" };
|
|
26
26
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
27
27
|
var StepperButton = ({ direction }) => {
|
|
28
28
|
const StepperIcon = direction === "increment" ? AngleUpIcon : AngleDownIcon;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
2
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-A3SYNZKP.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-FXFWNXEG.js';
|
|
3
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
4
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
5
|
-
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
6
|
-
import { ensureTextWrapper } from './chunk-SRMMLWHK.js';
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-V5AZC3EI.js';
|
|
7
5
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
6
|
+
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
|
+
import { ensureTextWrapper } from './chunk-SMSHSMED.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';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBoxItem as ListBoxItem$1, List
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBoxItem.module.css#css-module
|
|
21
|
-
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-
|
|
21
|
+
var ListBoxItem_module_default = { "hop-ListBoxItem": "ListBoxItem-module__hop-ListBoxItem___R3zJd", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___2ys6-", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___NFYlp", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___0EWix", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___xC8lG", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___xGmwd", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___W-PtD", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___Rr7qn", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___fvyuk", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___IOFCe", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___w6iyV", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___G7rQB", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___GKp5W", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___M3m8D", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___iYtgT", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___VOV2p", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___Ze1-z" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LabelContext } from './chunk-QCA3ZR56.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-75DHKNW2.js';
|
|
3
|
-
import { useFormProps } from './chunk-
|
|
3
|
+
import { useFormProps } from './chunk-TJDT2TJG.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
6
6
|
import { filterDOMProps } from '@react-aria/utils';
|
|
@@ -10,7 +10,7 @@ import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
|
10
10
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./Label.module.css#css-module
|
|
13
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
13
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___S1bm-", "hop-Label__indicator": "Label-module__hop-Label__indicator___UXZ13" };
|
|
14
14
|
var GlobalLabelCssSelector = "hop-Label";
|
|
15
15
|
function Label(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
@@ -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-SMSHSMED.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___T-iZu", "hop-Radio--sm": "Radio-module__hop-Radio--sm___wc713", "hop-Radio--md": "Radio-module__hop-Radio--md___91tO3", "hop-Radio__icon": "Radio-module__hop-Radio__icon___NzigD", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___na5lQ", "hop-Radio__box": "Radio-module__hop-Radio__box___ZdNMl", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___U2NA7", "hop-Radio__text": "Radio-module__hop-Radio__text___Ulq--" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import { _ClearButton } from './chunk-
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
4
|
-
import { Input } from './chunk-
|
|
5
|
-
import { _HelperMessage } from './chunk-
|
|
6
|
-
import { _ErrorMessage } from './chunk-
|
|
7
|
-
import { _Label } from './chunk-
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
2
|
+
import { _ClearButton } from './chunk-EEBGOP3G.js';
|
|
3
|
+
import { _InputGroup } from './chunk-P4ZMZ54Q.js';
|
|
4
|
+
import { Input } from './chunk-R5L7SK34.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-RAWGWYOF.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-3G33VYB7.js';
|
|
7
|
+
import { _Label } from './chunk-HNWPRKJS.js';
|
|
8
|
+
import { useFormProps } from './chunk-TJDT2TJG.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';
|
|
@@ -20,7 +20,7 @@ import { useContextProps, composeRenderProps, SearchField as SearchField$1 } fro
|
|
|
20
20
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
21
|
|
|
22
22
|
// css-module:./SearchField.module.css#css-module
|
|
23
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
23
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___l-SmT", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___dEdlz", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___y5JW-", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___LYZqx", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___VTG9k", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___NADD7", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___PBLap", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___6X6CN", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___d-taq" };
|
|
24
24
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
25
25
|
function SearchField(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TileContext } from './chunk-JTNKUYE5.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-FIZFXOX5.js';
|
|
3
3
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { useContextProps, composeRenderProps, ToggleButton, Provider } from 'rea
|
|
|
10
10
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./Tile.module.css#css-module
|
|
13
|
-
var Tile_module_default = { "hop-Tile": "Tile-module__hop-
|
|
13
|
+
var Tile_module_default = { "hop-Tile": "Tile-module__hop-Tile___lejk9", "hop-Tile__icon": "Tile-module__hop-Tile__icon___KKUTx" };
|
|
14
14
|
var GlobalTileCssSelector = "hop-Tile";
|
|
15
15
|
var Tile = (props, ref) => {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, TileContext);
|
|
@@ -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___EvHLa", "hop-Image--rounded": "Image-module__hop-Image--rounded___X7O3u", "hop-Image--circular": "Image-module__hop-Image--circular___CtGqb" };
|
|
11
11
|
var GlobalImageCssSelector = "hop-Image";
|
|
12
12
|
function Image(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, ImageContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { RichIconAvatarImageContext } from './chunk-JWW56J7M.js';
|
|
2
1
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
2
|
+
import { RichIconAvatarImageContext } from './chunk-JWW56J7M.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -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___Q7PJi", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___FNy6b", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___iZhVS", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___UCxIO", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___Bgr8t", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___DB6bT", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___ADF6W", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___AE-sf" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -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___A-Lpx", "hop-Disclosure__header": "Disclosure-module__hop-Disclosure__header___C9D9x", "hop-Disclosure--inline": "Disclosure-module__hop-Disclosure--inline___Q9VgZ", "hop-Disclosure__panel": "Disclosure-module__hop-Disclosure__panel___9ZHrd" };
|
|
16
16
|
var GlobalDisclosureCssSelector = "hop-Disclosure";
|
|
17
17
|
function Disclosure(props, ref) {
|
|
18
18
|
[props, ref] = useContextProps(props, ref, DisclosureContext);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _CloseButton } from './chunk-NHKYEZTW.js';
|
|
2
|
-
import { CompactCalloutContext } from './chunk-GRCAVJC6.js';
|
|
3
1
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
2
|
+
import { _CloseButton } from './chunk-L5OLND54.js';
|
|
4
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
5
4
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
5
|
+
import { CompactCalloutContext } from './chunk-GRCAVJC6.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
8
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -12,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./CompactCallout.module.css#css-module
|
|
15
|
-
var CompactCallout_module_default = { "hop-CompactCallout": "CompactCallout-module__hop-
|
|
15
|
+
var CompactCallout_module_default = { "hop-CompactCallout": "CompactCallout-module__hop-CompactCallout___FskfO", "hop-CompactCallout__content": "CompactCallout-module__hop-CompactCallout__content___prAag", "hop-CompactCallout__button": "CompactCallout-module__hop-CompactCallout__button___dG6M-", "hop-CompactCallout__link": "CompactCallout-module__hop-CompactCallout__link___cLCoS", "hop-CompactCallout__dismiss": "CompactCallout-module__hop-CompactCallout__dismiss___8R-nZ", "hop-CompactCallout--information": "CompactCallout-module__hop-CompactCallout--information___FphyY", "hop-CompactCallout--success": "CompactCallout-module__hop-CompactCallout--success___zPSWD", "hop-CompactCallout--warning": "CompactCallout-module__hop-CompactCallout--warning___L300y", "hop-CompactCallout--upsell": "CompactCallout-module__hop-CompactCallout--upsell___E09CU", "hop-CompactCallout--subtle-fill": "CompactCallout-module__hop-CompactCallout--subtle-fill___oojVe" };
|
|
16
16
|
var GlobalCompactCalloutCssSelector = "hop-CompactCallout";
|
|
17
17
|
var CompactCallout = (props, ref) => {
|
|
18
18
|
[props, ref] = useContextProps(props, ref, CompactCalloutContext);
|
|
@@ -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___51LzM", "hop-Divider--vertical": "Divider-module__hop-Divider--vertical___-xXdC" };
|
|
11
11
|
var GlobalDividerCssSelector = "hop-Divider";
|
|
12
12
|
function Divider(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, DividerContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _Button } from './chunk-
|
|
1
|
+
import { _Button } from './chunk-GNEWMHV7.js';
|
|
2
2
|
import { CloseButtonContext } from './chunk-RBWFFWIG.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-75DHKNW2.js';
|
|
4
4
|
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:./CloseButton.module.css#css-module
|
|
13
|
-
var CloseButton_module_default = { "hop-CloseButton": "CloseButton-module__hop-
|
|
13
|
+
var CloseButton_module_default = { "hop-CloseButton": "CloseButton-module__hop-CloseButton___-MoJH" };
|
|
14
14
|
var GlobalCloseButtonCssSelector = "hop-CloseButton";
|
|
15
15
|
function CloseButton(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, CloseButtonContext);
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { _BaseModal } from './chunk-EUVOO6AN.js';
|
|
2
|
+
import { CustomModalContext } from './chunk-LUO2HNXA.js';
|
|
3
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { forwardRef } from 'react';
|
|
7
|
+
import { useContextProps, composeRenderProps, Dialog, OverlayTriggerStateContext, DialogTrigger } from 'react-aria-components';
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
// css-module:./CustomModal.module.css#css-module
|
|
11
|
+
var CustomModal_module_default = { "hop-CustomModal": "CustomModal-module__hop-CustomModal___xgKC4" };
|
|
12
|
+
var GlobalCustomModalCssSelector = "hop-CustomModal";
|
|
13
|
+
var CustomModal = (props, ref) => {
|
|
14
|
+
var _a;
|
|
15
|
+
[props, ref] = useContextProps(props, ref, CustomModalContext);
|
|
16
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
17
|
+
const {
|
|
18
|
+
className,
|
|
19
|
+
style,
|
|
20
|
+
slot,
|
|
21
|
+
isDismissible = true,
|
|
22
|
+
isKeyboardDismissDisabled,
|
|
23
|
+
size: sizeProp,
|
|
24
|
+
overlayProps,
|
|
25
|
+
isOpen,
|
|
26
|
+
defaultOpen,
|
|
27
|
+
onOpenChange,
|
|
28
|
+
children: childrenProp,
|
|
29
|
+
...otherProps
|
|
30
|
+
} = ownProps;
|
|
31
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
32
|
+
const classNames = clsx(
|
|
33
|
+
GlobalCustomModalCssSelector,
|
|
34
|
+
cssModule(
|
|
35
|
+
CustomModal_module_default,
|
|
36
|
+
GlobalCustomModalCssSelector,
|
|
37
|
+
size.toLowerCase()
|
|
38
|
+
),
|
|
39
|
+
stylingProps.className,
|
|
40
|
+
className
|
|
41
|
+
);
|
|
42
|
+
const mergedStyles = {
|
|
43
|
+
...style,
|
|
44
|
+
...stylingProps.style
|
|
45
|
+
};
|
|
46
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
47
|
+
return prev;
|
|
48
|
+
});
|
|
49
|
+
return /* @__PURE__ */ jsx(
|
|
50
|
+
_BaseModal,
|
|
51
|
+
{
|
|
52
|
+
...overlayProps,
|
|
53
|
+
isOpen,
|
|
54
|
+
defaultOpen,
|
|
55
|
+
onOpenChange,
|
|
56
|
+
size,
|
|
57
|
+
isDismissable: isDismissible,
|
|
58
|
+
isKeyboardDismissDisabled,
|
|
59
|
+
children: /* @__PURE__ */ jsx(
|
|
60
|
+
Dialog,
|
|
61
|
+
{
|
|
62
|
+
...otherProps,
|
|
63
|
+
ref,
|
|
64
|
+
className: classNames,
|
|
65
|
+
style: mergedStyles,
|
|
66
|
+
slot,
|
|
67
|
+
children: (renderProps) => /* @__PURE__ */ jsx(OverlayTriggerStateContext.Provider, { value: null, children: children(renderProps) })
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
var _CustomModal = forwardRef(CustomModal);
|
|
74
|
+
_CustomModal.displayName = "CustomModal";
|
|
75
|
+
var CustomModalTrigger = DialogTrigger;
|
|
76
|
+
|
|
77
|
+
export { CustomModalTrigger, GlobalCustomModalCssSelector, _CustomModal };
|
|
@@ -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___muoD5", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___9D0v-" };
|
|
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
|
-
import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
|
|
2
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
3
|
-
import {
|
|
2
|
+
import { SwitchFieldContext } from './chunk-H7VJS4MX.js';
|
|
3
|
+
import { _Text } from './chunk-FIZFXOX5.js';
|
|
4
4
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
13
13
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./SwitchField.module.css#css-module
|
|
16
|
-
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-
|
|
16
|
+
var SwitchField_module_default = { "hop-SwitchField": "SwitchField-module__hop-SwitchField___SCiBv", "hop-SwitchField--sm": "SwitchField-module__hop-SwitchField--sm___qIjcU", "hop-SwitchField--md": "SwitchField-module__hop-SwitchField--md___LLOSm", "hop-SwitchField__description": "SwitchField-module__hop-SwitchField__description___w2s5d", "hop-SwitchField__switch": "SwitchField-module__hop-SwitchField__switch___77U4Z" };
|
|
17
17
|
var GlobalSwitchFieldCssSelector = "hop-SwitchField";
|
|
18
18
|
var SwitchToDescriptionSizeAdapter = {
|
|
19
19
|
sm: "xs",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-CYICQ2TZ.js';
|
|
2
1
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
2
|
+
import { _OverlineText } from './chunk-MA6J3BKQ.js';
|
|
3
3
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
4
4
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -23,7 +23,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// css-module:./Badge.module.css#css-module
|
|
26
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
26
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___-2rNd", "hop-Badge--primary": "Badge-module__hop-Badge--primary___gZzjn", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___-hlH3", "hop-Badge--subdued": "Badge-module__hop-Badge--subdued___N2OlC" };
|
|
27
27
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
28
28
|
function Badge(props, ref) {
|
|
29
29
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, FieldErrorContext, composeRenderProps, Group } from 'r
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./InputGroup.module.css#css-module
|
|
10
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___-
|
|
10
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___-ZTNs", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___aJdkM" };
|
|
11
11
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
12
12
|
function InputGroup(props, ref) {
|
|
13
13
|
var _a;
|