@hopper-ui/components 1.4.7 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/Accordion/src/Accordion.css +68 -68
- package/dist/Accordion/src/Accordion.js +3 -3
- package/dist/Accordion/src/index.css +68 -68
- package/dist/Accordion/src/index.js +3 -3
- 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 +4 -4
- 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 +6 -6
- 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 +11 -11
- package/dist/Callout/src/CompactCallout.css +293 -293
- package/dist/Callout/src/CompactCallout.js +13 -13
- package/dist/Callout/src/index.css +304 -304
- package/dist/Callout/src/index.js +14 -14
- 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 +3202 -2852
- package/dist/ComboBox/src/ComboBox.d.ts +6 -6
- package/dist/ComboBox/src/ComboBox.js +21 -18
- package/dist/ComboBox/src/ComboBoxContext.d.ts +3 -2
- package/dist/ComboBox/src/index.css +3202 -2852
- package/dist/ComboBox/src/index.d.ts +4 -3
- package/dist/ComboBox/src/index.js +21 -18
- package/dist/Disclosure/src/Disclosure.css +38 -38
- package/dist/Disclosure/src/Disclosure.js +3 -3
- 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 +8 -8
- package/dist/Disclosure/src/index.css +63 -63
- package/dist/Disclosure/src/index.js +12 -12
- 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 +3 -3
- package/dist/ErrorMessage/src/index.css +30 -30
- package/dist/ErrorMessage/src/index.js +3 -3
- 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/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 +18 -18
- package/dist/Select/src/SelectValue.css +62 -62
- package/dist/Select/src/SelectValue.js +7 -7
- package/dist/Select/src/index.css +576 -576
- package/dist/Select/src/index.js +18 -18
- 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 +326 -0
- package/dist/Tile/src/Tile.d.ts +20 -0
- package/dist/Tile/src/Tile.js +19 -0
- package/dist/Tile/src/TileContext.d.ts +9 -0
- package/dist/Tile/src/TileContext.js +2 -0
- package/dist/Tile/src/TileGroup.css +241 -0
- package/dist/Tile/src/TileGroup.d.ts +30 -0
- package/dist/Tile/src/TileGroup.js +6 -0
- package/dist/Tile/src/TileGroupContext.d.ts +8 -0
- package/dist/Tile/src/TileGroupContext.js +2 -0
- package/dist/Tile/src/index.css +334 -0
- package/dist/Tile/src/index.d.ts +7 -0
- package/dist/Tile/src/index.js +21 -0
- 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.d.ts +12 -5
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/ClearButtonContext.d.ts +2 -4
- package/dist/buttons/src/CloseButton.css +95 -95
- package/dist/buttons/src/CloseButton.js +10 -10
- package/dist/buttons/src/EmbeddedButton.css +99 -99
- package/dist/buttons/src/EmbeddedButton.d.ts +27 -7
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/EmbeddedButtonContext.d.ts +1 -4
- 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.d.ts +2 -1
- package/dist/buttons/src/index.js +17 -17
- 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 +4 -4
- 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 +8 -8
- package/dist/checkbox/src/index.css +99 -99
- package/dist/checkbox/src/index.js +14 -14
- package/dist/{chunk-NH3IVMXB.js → chunk-2NSUMKNH.js} +1 -1
- package/dist/chunk-3MTGAZ77.js +7 -0
- package/dist/{chunk-7UNZPFF5.js → chunk-53WBWLKL.js} +12 -11
- package/dist/{chunk-ZVNGQXRR.js → chunk-56WMYNUD.js} +3 -3
- package/dist/{chunk-HXNEWO5D.js → chunk-5TGWIM5C.js} +15 -13
- package/dist/{chunk-2DF25AEQ.js → chunk-6CVROWNN.js} +2 -2
- package/dist/{chunk-RYJBYNZT.js → chunk-725VVVMA.js} +1 -1
- package/dist/{chunk-MHQ3VHAA.js → chunk-72CSHV4D.js} +6 -6
- package/dist/chunk-7HIGRTLG.js +34 -0
- package/dist/{chunk-TZEOP7YF.js → chunk-7JQJ5U7J.js} +1 -1
- package/dist/{chunk-BHIQ5PPC.js → chunk-7SMF3TO5.js} +2 -2
- package/dist/{chunk-OCG7CSY5.js → chunk-AD5GQ24L.js} +1 -1
- package/dist/{chunk-JAR25BBL.js → chunk-B7MWXJWS.js} +1 -1
- package/dist/{chunk-J6RDT7TX.js → chunk-BPO44JV2.js} +4 -4
- package/dist/{chunk-7SCKD7PW.js → chunk-CKH5EUEC.js} +3 -3
- package/dist/{chunk-WX5UNPM3.js → chunk-CYICQ2TZ.js} +1 -1
- package/dist/{chunk-I73SWVA3.js → chunk-CZRMFNRT.js} +3 -3
- package/dist/{chunk-NJUYQ7VF.js → chunk-EZF74GSX.js} +2 -2
- package/dist/chunk-EZXZMHPJ.js +77 -0
- package/dist/chunk-F6D7LSXZ.js +73 -0
- package/dist/{chunk-Z3WDZ52E.js → chunk-F6NQHY35.js} +1 -1
- package/dist/{chunk-6LIFUQT4.js → chunk-GOY3T3HI.js} +3 -3
- package/dist/{chunk-7DLSOYOU.js → chunk-GZYLFGDT.js} +4 -4
- package/dist/{chunk-PHQ6YPQQ.js → chunk-I2LTZFXN.js} +2 -2
- package/dist/{chunk-IIAAY3DD.js → chunk-IMUQCB4Q.js} +2 -2
- package/dist/{chunk-HJXC5SRI.js → chunk-IYT75GWO.js} +2 -2
- package/dist/chunk-JTNKUYE5.js +8 -0
- package/dist/{chunk-JUVZRX26.js → chunk-JZ4LJ4M4.js} +4 -4
- package/dist/{chunk-LMATFHSS.js → chunk-KFH2WZVX.js} +5 -5
- package/dist/{chunk-MF2LIHC6.js → chunk-KIQW5BE4.js} +3 -3
- package/dist/{chunk-XLPW4NX3.js → chunk-KVJHBVJU.js} +51 -72
- package/dist/{chunk-MPCOEMN2.js → chunk-KW6WJUD5.js} +3 -3
- package/dist/{chunk-WICGT2T5.js → chunk-M35EMGMO.js} +1 -1
- package/dist/{chunk-2XVB536Z.js → chunk-ML4JW4EF.js} +17 -25
- package/dist/chunk-MM2SG6JU.js +75 -0
- package/dist/{chunk-SV6RSWOR.js → chunk-N455JVEG.js} +1 -1
- package/dist/{chunk-MO4EWTIM.js → chunk-NHKYEZTW.js} +2 -2
- package/dist/{chunk-IYRRO5H3.js → chunk-NIOF2SKT.js} +2 -2
- package/dist/{chunk-GNPTWYD3.js → chunk-NXT7EAML.js} +3 -3
- package/dist/{chunk-4B5NJLD3.js → chunk-OSGTA6DG.js} +1 -1
- package/dist/{chunk-ERIQNISN.js → chunk-PAVQC74G.js} +1 -1
- package/dist/{chunk-2GGER6XM.js → chunk-PXOVV47X.js} +1 -1
- package/dist/{chunk-5JYQWCE5.js → chunk-Q5XBTXXT.js} +7 -7
- package/dist/{chunk-DW44WR6W.js → chunk-QOFWY452.js} +3 -3
- package/dist/{chunk-HMG6U7FQ.js → chunk-QR6WDDBN.js} +2 -2
- package/dist/{chunk-KXAYZ6PQ.js → chunk-QVXYZX5B.js} +1 -1
- package/dist/{chunk-OQFPMKF2.js → chunk-RZG5PUET.js} +11 -11
- package/dist/{chunk-DOYWH7O2.js → chunk-S4VWM2B6.js} +29 -17
- package/dist/{chunk-4BXMSXYQ.js → chunk-SRMMLWHK.js} +1 -1
- package/dist/{chunk-ZWDUMUN4.js → chunk-SSV5APP2.js} +2 -2
- package/dist/{chunk-K3IUMMRF.js → chunk-TMVLBCMF.js} +3 -3
- package/dist/{chunk-P5EIKUXO.js → chunk-U2E2PK7O.js} +3 -3
- package/dist/{chunk-JNJYQ26N.js → chunk-UC2WGSJH.js} +13 -13
- package/dist/{chunk-MIZJXB3R.js → chunk-UIG77WBM.js} +6 -6
- package/dist/{chunk-N3XC5CZP.js → chunk-UXCNMI34.js} +3 -3
- package/dist/{chunk-BXPKRAAY.js → chunk-UXGG4SUH.js} +1 -1
- package/dist/{chunk-WLIPEWRM.js → chunk-VFZ2K6U6.js} +2 -2
- package/dist/{chunk-JZ6DMATL.js → chunk-VHVRECJY.js} +5 -5
- package/dist/{chunk-7EUXODLY.js → chunk-VOXZA4YS.js} +1 -1
- package/dist/{chunk-OIELLCFE.js → chunk-W2TEMTXK.js} +1 -1
- package/dist/{chunk-UICYQNAO.js → chunk-WNFSIU36.js} +3 -3
- package/dist/{chunk-K7JDZAO3.js → chunk-XV2C6MXF.js} +8 -8
- package/dist/{chunk-55OPYST3.js → chunk-YHRCBRDZ.js} +1 -1
- package/dist/{chunk-W5HTSWT3.js → chunk-YMQMJAC4.js} +4 -4
- package/dist/{chunk-Y7ATRH3L.js → chunk-YP2IQM4Y.js} +3 -3
- package/dist/{chunk-NFIZ44XF.js → chunk-Z2SUHJJH.js} +4 -4
- package/dist/{chunk-3JJL6GD6.js → chunk-Z7ORLEY6.js} +1 -1
- package/dist/{chunk-KBHWDMMF.js → chunk-ZJBNVQTB.js} +1 -3
- package/dist/{chunk-YQLCOKBQ.js → chunk-ZMNX5LVE.js} +2 -2
- package/dist/index.css +1845 -1948
- package/dist/index.d.ts +6 -4
- package/dist/index.js +83 -83
- package/dist/inputs/src/Input.css +302 -0
- package/dist/inputs/src/Input.d.ts +15 -0
- package/dist/inputs/src/Input.js +3 -0
- package/dist/inputs/src/InputGroup.css +47 -1483
- package/dist/inputs/src/InputGroup.d.ts +1 -18
- package/dist/inputs/src/InputGroup.js +1 -3
- package/dist/inputs/src/InputGroupContext.d.ts +0 -2
- package/dist/inputs/src/NumberField.css +130 -1526
- package/dist/inputs/src/NumberField.js +12 -13
- package/dist/inputs/src/PasswordField.css +346 -380
- package/dist/inputs/src/PasswordField.d.ts +4 -4
- package/dist/inputs/src/PasswordField.js +13 -12
- package/dist/inputs/src/PasswordFieldContext.d.ts +2 -2
- package/dist/inputs/src/RemainingCharacterCount.css +31 -31
- package/dist/inputs/src/RemainingCharacterCount.js +7 -7
- package/dist/inputs/src/SearchField.css +350 -386
- package/dist/inputs/src/SearchField.d.ts +2 -2
- package/dist/inputs/src/SearchField.js +15 -14
- package/dist/inputs/src/SearchFieldContext.d.ts +2 -2
- package/dist/inputs/src/TextArea.css +122 -1498
- package/dist/inputs/src/TextArea.js +11 -12
- package/dist/inputs/src/TextField.css +348 -384
- package/dist/inputs/src/TextField.js +17 -16
- package/dist/inputs/src/index.css +625 -628
- package/dist/inputs/src/index.d.ts +4 -3
- package/dist/inputs/src/index.js +22 -22
- package/dist/overlays/Popover/src/Popover.css +552 -552
- package/dist/overlays/Popover/src/Popover.js +6 -6
- package/dist/overlays/Popover/src/index.css +552 -552
- package/dist/overlays/Popover/src/index.js +6 -6
- package/dist/radio/src/DecorativeRadio.css +55 -55
- package/dist/radio/src/DecorativeRadio.js +8 -8
- 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 +3 -3
- package/dist/radio/src/RadioGroup.css +99 -99
- package/dist/radio/src/RadioGroup.js +7 -7
- package/dist/radio/src/index.css +99 -99
- package/dist/radio/src/index.js +13 -13
- 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 +4 -4
- package/dist/switch/src/index.css +50 -50
- package/dist/switch/src/index.js +10 -10
- package/dist/tag/src/Tag.css +392 -392
- package/dist/tag/src/Tag.d.ts +46 -5
- package/dist/tag/src/Tag.js +11 -11
- package/dist/tag/src/TagContext.d.ts +3 -1
- package/dist/tag/src/TagGroup.css +38 -38
- package/dist/tag/src/TagGroup.d.ts +3 -1
- package/dist/tag/src/TagGroup.js +8 -8
- package/dist/tag/src/TagGroupContext.d.ts +3 -1
- package/dist/tag/src/index.css +402 -402
- package/dist/tag/src/index.d.ts +3 -1
- package/dist/tag/src/index.js +17 -17
- 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.d.ts +0 -1
- package/dist/utils/src/index.js +8 -9
- package/dist/utils/src/types.d.ts +1 -1
- package/dist/utils/src/useRenderProps.js +1 -1
- package/package.json +1 -1
- package/dist/ClearButton-wcnm_ugx.d.ts +0 -80
- package/dist/chunk-2JXEPUMG.js +0 -102
- package/dist/chunk-MTDFS4CZ.js +0 -12
- package/dist/utils/src/useScale.d.ts +0 -11
- package/dist/utils/src/useScale.js +0 -2
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export { _CheckboxField as CheckboxField, GlobalCheckboxFieldCssSelector } from '../../chunk-J6RDT7TX.js';
|
|
3
|
-
export { _CheckboxGroup as CheckboxGroup, GlobalCheckboxGroupCssSelector } from '../../chunk-MIZJXB3R.js';
|
|
4
|
-
export { CheckboxFieldContext } from '../../chunk-ZGNK4GWA.js';
|
|
1
|
+
export { _CheckboxGroup as CheckboxGroup, GlobalCheckboxGroupCssSelector } from '../../chunk-UIG77WBM.js';
|
|
5
2
|
export { CheckboxGroupContext } from '../../chunk-N7YDPVZL.js';
|
|
6
|
-
export {
|
|
3
|
+
export { _Checkbox as Checkbox, GlobalCheckboxCssSelector } from '../../chunk-TMVLBCMF.js';
|
|
4
|
+
export { _CheckboxField as CheckboxField, GlobalCheckboxFieldCssSelector } from '../../chunk-BPO44JV2.js';
|
|
5
|
+
export { CheckboxFieldContext } from '../../chunk-ZGNK4GWA.js';
|
|
6
|
+
export { _DecorativeCheckbox as DecorativeCheckbox, GlobalDecorativeCheckboxCssSelector } from '../../chunk-CZRMFNRT.js';
|
|
7
7
|
export { CheckboxContext } from '../../chunk-2EAZPH3M.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-6CVROWNN.js';
|
|
9
9
|
import '../../chunk-HZKFQ33E.js';
|
|
10
|
-
import '../../chunk-
|
|
10
|
+
import '../../chunk-UXCNMI34.js';
|
|
11
11
|
import '../../chunk-FAE27DLF.js';
|
|
12
12
|
import '../../chunk-DHVVYSLB.js';
|
|
13
|
-
import '../../chunk-
|
|
13
|
+
import '../../chunk-SRMMLWHK.js';
|
|
14
14
|
import '../../chunk-ZWU6DRRZ.js';
|
|
15
15
|
import '../../chunk-DBIN32YS.js';
|
|
16
|
-
import '../../chunk-
|
|
17
|
-
import '../../chunk-
|
|
16
|
+
import '../../chunk-PAVQC74G.js';
|
|
17
|
+
import '../../chunk-I2LTZFXN.js';
|
|
18
18
|
import '../../chunk-QCA3ZR56.js';
|
|
19
19
|
import '../../chunk-75DHKNW2.js';
|
|
20
20
|
import '../../chunk-TXZ6BMFR.js';
|
|
21
|
-
import '../../chunk-
|
|
21
|
+
import '../../chunk-VOXZA4YS.js';
|
|
22
22
|
import '../../chunk-Q7NXUUB3.js';
|
|
23
|
-
import '../../chunk-
|
|
23
|
+
import '../../chunk-CYICQ2TZ.js';
|
|
24
24
|
import '../../chunk-WPNVVGFW.js';
|
|
25
|
-
import '../../chunk-
|
|
25
|
+
import '../../chunk-Z7ORLEY6.js';
|
|
26
26
|
import '../../chunk-X6SER3TZ.js';
|
|
27
27
|
import '../../chunk-HXI3MEEK.js';
|
|
28
|
-
import '../../chunk-
|
|
28
|
+
import '../../chunk-2NSUMKNH.js';
|
|
29
29
|
import '../../chunk-65JPI4FL.js';
|
|
30
30
|
import '../../chunk-M36KANKC.js';
|
|
31
31
|
import '../../chunk-KVDXQMWI.js';
|
|
@@ -21,7 +21,7 @@ function useRenderProps(props) {
|
|
|
21
21
|
computedClassName = className;
|
|
22
22
|
}
|
|
23
23
|
if (typeof style === "function") {
|
|
24
|
-
computedStyle = style({ ...values, defaultStyle: defaultStyle
|
|
24
|
+
computedStyle = style({ ...values, defaultStyle: defaultStyle != null ? defaultStyle : {} });
|
|
25
25
|
} else {
|
|
26
26
|
computedStyle = style;
|
|
27
27
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
2
|
+
import { _ClearButton } from './chunk-YHRCBRDZ.js';
|
|
3
|
+
import { _InputGroup } from './chunk-F6D7LSXZ.js';
|
|
4
|
+
import { Input } from './chunk-7HIGRTLG.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-6CVROWNN.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-UXCNMI34.js';
|
|
7
|
+
import { _Label } from './chunk-I2LTZFXN.js';
|
|
8
|
+
import { useFormProps } from './chunk-VOXZA4YS.js';
|
|
8
9
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
9
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
10
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -15,11 +16,11 @@ import { mergeRefs } from '@react-aria/utils';
|
|
|
15
16
|
import clsx from 'clsx';
|
|
16
17
|
import { forwardRef } from 'react';
|
|
17
18
|
import { useObjectRef } from 'react-aria';
|
|
18
|
-
import { useContextProps, composeRenderProps,
|
|
19
|
+
import { useContextProps, composeRenderProps, SearchField as SearchField$1 } from 'react-aria-components';
|
|
19
20
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
20
21
|
|
|
21
22
|
// css-module:./SearchField.module.css#css-module
|
|
22
|
-
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-
|
|
23
|
+
var SearchField_module_default = { "hop-SearchField": "SearchField-module__hop-SearchField___-5HLF", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___8IdG-", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___s6O8x", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___DiTam", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___L4lf4", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___Hc4-6", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___xfrWc", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___RPzZr", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___LqiRr" };
|
|
23
24
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
24
25
|
function SearchField(props, ref) {
|
|
25
26
|
var _a;
|
|
@@ -44,6 +45,7 @@ function SearchField(props, ref) {
|
|
|
44
45
|
necessityIndicator,
|
|
45
46
|
inputGroupProps,
|
|
46
47
|
clearButtonProps,
|
|
48
|
+
isReadOnly,
|
|
47
49
|
label,
|
|
48
50
|
description,
|
|
49
51
|
errorMessage,
|
|
@@ -77,7 +79,6 @@ function SearchField(props, ref) {
|
|
|
77
79
|
isDisabled,
|
|
78
80
|
isInvalid,
|
|
79
81
|
isFluid: true,
|
|
80
|
-
size,
|
|
81
82
|
className: inputGroupClassNames,
|
|
82
83
|
...otherInputGroupProps,
|
|
83
84
|
children: [
|
|
@@ -92,8 +93,8 @@ function SearchField(props, ref) {
|
|
|
92
93
|
children: icon
|
|
93
94
|
}
|
|
94
95
|
),
|
|
95
|
-
/* @__PURE__ */ jsx(Input, { ref: inputRef, placeholder }),
|
|
96
|
-
isClearable && /* @__PURE__ */ jsx(_ClearButton, { size: "lg", isDisabled, className: clearButtonClassNames, ...otherClearButtonProps })
|
|
96
|
+
/* @__PURE__ */ jsx(Input, { size, ref: inputRef, placeholder }),
|
|
97
|
+
isClearable && !isReadOnly && /* @__PURE__ */ jsx(_ClearButton, { size: "lg", isDisabled, className: clearButtonClassNames, ...otherClearButtonProps })
|
|
97
98
|
]
|
|
98
99
|
}
|
|
99
100
|
) });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { _CloseButton } from './chunk-NHKYEZTW.js';
|
|
2
|
+
import { CompactCalloutContext } from './chunk-GRCAVJC6.js';
|
|
1
3
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
2
|
-
import { _CloseButton } from './chunk-MO4EWTIM.js';
|
|
3
4
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
5
|
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___xoUxq", "hop-CompactCallout__content": "CompactCallout-module__hop-CompactCallout__content___HNWIL", "hop-CompactCallout__button": "CompactCallout-module__hop-CompactCallout__button___B0uaw", "hop-CompactCallout__link": "CompactCallout-module__hop-CompactCallout__link___iMUnV", "hop-CompactCallout__dismiss": "CompactCallout-module__hop-CompactCallout__dismiss___hhR2w", "hop-CompactCallout--information": "CompactCallout-module__hop-CompactCallout--information___tIHrH", "hop-CompactCallout--success": "CompactCallout-module__hop-CompactCallout--success___oLJys", "hop-CompactCallout--warning": "CompactCallout-module__hop-CompactCallout--warning___gfKTH", "hop-CompactCallout--upsell": "CompactCallout-module__hop-CompactCallout--upsell___lYgtF", "hop-CompactCallout--subtle-fill": "CompactCallout-module__hop-CompactCallout--subtle-fill___ypEoM" };
|
|
16
16
|
var GlobalCompactCalloutCssSelector = "hop-CompactCallout";
|
|
17
17
|
var CompactCallout = (props, ref) => {
|
|
18
18
|
[props, ref] = useContextProps(props, ref, CompactCalloutContext);
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { _InputGroup } from './chunk-2JXEPUMG.js';
|
|
2
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.js';
|
|
3
|
-
import { _EmbeddedButton } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { _EmbeddedButton } from './chunk-ZJBNVQTB.js';
|
|
3
|
+
import { _InputGroup } from './chunk-F6D7LSXZ.js';
|
|
4
|
+
import { Input } from './chunk-7HIGRTLG.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-6CVROWNN.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-UXCNMI34.js';
|
|
7
|
+
import { _Label } from './chunk-I2LTZFXN.js';
|
|
7
8
|
import { useLocalizedString } from './chunk-75DHKNW2.js';
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
9
|
+
import { useFormProps } from './chunk-VOXZA4YS.js';
|
|
9
10
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
10
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -15,11 +16,11 @@ import { mergeRefs } from '@react-aria/utils';
|
|
|
15
16
|
import clsx from 'clsx';
|
|
16
17
|
import { forwardRef, useState } from 'react';
|
|
17
18
|
import { useObjectRef } from 'react-aria';
|
|
18
|
-
import { useContextProps, composeRenderProps,
|
|
19
|
+
import { useContextProps, composeRenderProps, TextField } from 'react-aria-components';
|
|
19
20
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
20
21
|
|
|
21
22
|
// css-module:./PasswordField.module.css#css-module
|
|
22
|
-
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-
|
|
23
|
+
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___tt6Fb", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___JLaOb", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___eF-D-", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___i-K8U", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___M1NYA", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___Ihur9" };
|
|
23
24
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
24
25
|
function PasswordField(props, ref) {
|
|
25
26
|
var _a;
|
|
@@ -76,21 +77,22 @@ function PasswordField(props, ref) {
|
|
|
76
77
|
isDisabled,
|
|
77
78
|
isInvalid,
|
|
78
79
|
isFluid: true,
|
|
79
|
-
size,
|
|
80
80
|
className: inputGroupClassNames,
|
|
81
81
|
...otherInputGroupProps,
|
|
82
82
|
children: [
|
|
83
|
-
/* @__PURE__ */ jsx(Input, { ref: inputRef, placeholder, type: showPassword ? "text" : "password", ...inputProps }),
|
|
83
|
+
/* @__PURE__ */ jsx(Input, { ref: inputRef, placeholder, type: showPassword ? "text" : "password", size, ...inputProps }),
|
|
84
84
|
/* @__PURE__ */ jsx(
|
|
85
85
|
_EmbeddedButton,
|
|
86
86
|
{
|
|
87
87
|
isDisabled,
|
|
88
88
|
"aria-label": stringFormatter.format("PasswordField.toggleVisibility"),
|
|
89
|
-
onPress: () => {
|
|
90
|
-
setShowPassword((x) => !x);
|
|
91
|
-
},
|
|
92
89
|
size: "lg",
|
|
93
90
|
...embeddedButtonProps,
|
|
91
|
+
onPress: (e) => {
|
|
92
|
+
var _a2;
|
|
93
|
+
setShowPassword((x) => !x);
|
|
94
|
+
(_a2 = embeddedButtonProps == null ? void 0 : embeddedButtonProps.onPress) == null ? void 0 : _a2.call(embeddedButtonProps, e);
|
|
95
|
+
},
|
|
94
96
|
children: showPassword ? /* @__PURE__ */ jsx(EyeVisibleIcon, {}) : /* @__PURE__ */ jsx(EyeHiddenIcon, {})
|
|
95
97
|
}
|
|
96
98
|
)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-Z7ORLEY6.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { InfoIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
|
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./HelperMessage.module.css#css-module
|
|
12
|
-
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-
|
|
12
|
+
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___xIcmM", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___ACn9W" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./ButtonGroup.module.css#css-module
|
|
14
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
14
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___-Y84e", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___0O5WA", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___XAj7Z", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___DILQT", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___oNNDT", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___3P-Su", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___OzFmj", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___LmBb3" };
|
|
15
15
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
16
16
|
function ButtonGroup(props, ref) {
|
|
17
17
|
var _a, _b, _c, _d;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
2
1
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { TagGroupContext } from './chunk-LCAS3YQV.js';
|
|
3
|
+
import { _HelperMessage } from './chunk-6CVROWNN.js';
|
|
4
|
+
import { _ErrorMessage } from './chunk-UXCNMI34.js';
|
|
5
|
+
import { _Label } from './chunk-I2LTZFXN.js';
|
|
6
|
+
import { useFormProps } from './chunk-VOXZA4YS.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, FieldErrorContext, TagGroup as Tag
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./TagGroup.module.css#css-module
|
|
17
|
-
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-
|
|
17
|
+
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___46Zpi", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___DLyok", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___f-q3G", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___Qeij4", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___m5Dpu" };
|
|
18
18
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
19
19
|
function TagGroup(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
2
|
+
import { useResponsiveValue } from '@hopper-ui/styled-system';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { createContext, forwardRef } from 'react';
|
|
5
|
+
import { useContextProps, Input as Input$1 } from 'react-aria-components';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
// css-module:./Input.module.css#css-module
|
|
9
|
+
var Input_module_default = { "hop-Input": "Input-module__hop-Input___BFsFZ", "hop-Input--sm": "Input-module__hop-Input--sm___z0ZJ7" };
|
|
10
|
+
var InputContext = createContext({});
|
|
11
|
+
var Input = forwardRef(function Input2(props, ref) {
|
|
12
|
+
var _a;
|
|
13
|
+
[props, ref] = useContextProps(props, ref, InputContext);
|
|
14
|
+
const { className, size: sizeProp, ...otherProps } = props;
|
|
15
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
16
|
+
const classNames = clsx(
|
|
17
|
+
className,
|
|
18
|
+
cssModule(
|
|
19
|
+
Input_module_default,
|
|
20
|
+
"hop-Input",
|
|
21
|
+
size
|
|
22
|
+
)
|
|
23
|
+
);
|
|
24
|
+
return /* @__PURE__ */ jsx(
|
|
25
|
+
Input$1,
|
|
26
|
+
{
|
|
27
|
+
...otherProps,
|
|
28
|
+
ref,
|
|
29
|
+
className: classNames
|
|
30
|
+
}
|
|
31
|
+
);
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
export { Input, InputContext };
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./ListBoxItemSkeleton.module.css#css-module
|
|
10
|
-
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-
|
|
10
|
+
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___qL3tk", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___9lb5u", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___uwJrP", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___kbPsX", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___Cyj3g", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___beTGy" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InternalSegmentedControlContext } from './chunk-JHX5QEIH.js';
|
|
2
2
|
import { SegmentedControlItemContext } from './chunk-TDKQPTN6.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-Z7ORLEY6.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -11,7 +11,7 @@ import { useContextProps, ToggleGroupStateContext, ToggleButton, Provider, DEFAU
|
|
|
11
11
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./SegmentedControlItem.module.css#css-module
|
|
14
|
-
var SegmentedControlItem_module_default = { "hop-SegmentedControlItem": "SegmentedControlItem-module__hop-
|
|
14
|
+
var SegmentedControlItem_module_default = { "hop-SegmentedControlItem": "SegmentedControlItem-module__hop-SegmentedControlItem___7Qop2", "hop-SegmentedControlItem__slider": "SegmentedControlItem-module__hop-SegmentedControlItem__slider___kDUjY", "hop-SegmentedControlItem__wrapper": "SegmentedControlItem-module__hop-SegmentedControlItem__wrapper___wVaA4", "hop-SegmentedControlItem--md": "SegmentedControlItem-module__hop-SegmentedControlItem--md___tNpfW", "hop-SegmentedControlItem__icon": "SegmentedControlItem-module__hop-SegmentedControlItem__icon___lnimi", "hop-SegmentedControlItem__text": "SegmentedControlItem-module__hop-SegmentedControlItem__text___i0fOE", "hop-SegmentedControlItem__start-icon": "SegmentedControlItem-module__hop-SegmentedControlItem__start-icon___Ogwhh", "hop-SegmentedControlItem--justified": "SegmentedControlItem-module__hop-SegmentedControlItem--justified___6-8I-" };
|
|
15
15
|
var GlobalSegmentedControlItemCssSelector = "hop-SegmentedControlItem";
|
|
16
16
|
var SegmentedControlItem = (props, ref) => {
|
|
17
17
|
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:./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___6qN5S", "hop-Image--rounded": "Image-module__hop-Image--rounded___NsX3-", "hop-Image--circular": "Image-module__hop-Image--circular___MhwfG" };
|
|
11
11
|
var GlobalImageCssSelector = "hop-Image";
|
|
12
12
|
function Image(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, ImageContext);
|
|
@@ -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___QuXe5", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___Kkz9-" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
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-VOXZA4YS.js';
|
|
4
|
+
import { _Text } from './chunk-Z7ORLEY6.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
-
import { useRenderProps } from './chunk-
|
|
6
|
+
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.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___eS3EQ", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___S4tBN", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___zQPTK", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___0-ebq", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___iyVgg" };
|
|
19
19
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
20
20
|
var CheckboxToDescriptionSizeAdapter = {
|
|
21
21
|
sm: "xs",
|
|
@@ -1,9 +1,9 @@
|
|
|
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-SRMMLWHK.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
-
import { useRenderProps } from './chunk-
|
|
6
|
+
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.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___9x54r Radio-module__hop-Radio___5Jk1g", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___hNZXf Radio-module__hop-Radio--sm___BdNTW", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___vTAyH Radio-module__hop-Radio--md___UrmYv", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___Vb74v Radio-module__hop-Radio__icon___7DzPA", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___sGxSh Radio-module__hop-Radio__icon___7DzPA", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___bgTCS Radio-module__hop-Radio__box___2043M", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___RNTT4 Radio-module__hop-Radio__bullet___TcAp4", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___0jHZl Radio-module__hop-Radio__text___ul46c" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -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___LwiJI", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___ExOHp" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
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-SRMMLWHK.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
6
|
-
import { useRenderProps } from './chunk-
|
|
6
|
+
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.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___Y2q2d Checkbox-module__hop-Checkbox___zCt0Z", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___2sqwJ Checkbox-module__hop-Checkbox--sm___Q8wN-", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___EC1yt Checkbox-module__hop-Checkbox--md___AoYwc", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___U9p-C Checkbox-module__hop-Checkbox__icon___JYmIA", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___GhS2C Checkbox-module__hop-Checkbox__icon___JYmIA", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___h-d0F Checkbox-module__hop-Checkbox__box___Zq0yt", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___WlBbU Checkbox-module__hop-Checkbox__check___8zhd4", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___9vmJ0 Checkbox-module__hop-Checkbox__text___5m9Tt" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -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-SRMMLWHK.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___5Jk1g", "hop-Radio--sm": "Radio-module__hop-Radio--sm___BdNTW", "hop-Radio--md": "Radio-module__hop-Radio--md___UrmYv", "hop-Radio__icon": "Radio-module__hop-Radio__icon___7DzPA", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___91xg0", "hop-Radio__box": "Radio-module__hop-Radio__box___2043M", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___TcAp4", "hop-Radio__text": "Radio-module__hop-Radio__text___ul46c" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { TileContext } from './chunk-JTNKUYE5.js';
|
|
2
|
+
import { _Text } from './chunk-Z7ORLEY6.js';
|
|
3
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
4
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
|
+
import { CheckmarkIcon } from '@hopper-ui/icons';
|
|
7
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
8
|
+
import { forwardRef } from 'react';
|
|
9
|
+
import { useContextProps, composeRenderProps, ToggleButton, Provider } from 'react-aria-components';
|
|
10
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
11
|
+
|
|
12
|
+
// css-module:./Tile.module.css#css-module
|
|
13
|
+
var Tile_module_default = { "hop-Tile": "Tile-module__hop-Tile___voLrp", "hop-Tile__icon": "Tile-module__hop-Tile__icon___iI2bk" };
|
|
14
|
+
var GlobalTileCssSelector = "hop-Tile";
|
|
15
|
+
var Tile = (props, ref) => {
|
|
16
|
+
[props, ref] = useContextProps(props, ref, TileContext);
|
|
17
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
18
|
+
const {
|
|
19
|
+
className,
|
|
20
|
+
children: childrenProp,
|
|
21
|
+
style,
|
|
22
|
+
isDisabled,
|
|
23
|
+
slot,
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const classNames = composeClassnameRenderProps(
|
|
27
|
+
GlobalTileCssSelector,
|
|
28
|
+
cssModule(
|
|
29
|
+
Tile_module_default,
|
|
30
|
+
"hop-Tile"
|
|
31
|
+
),
|
|
32
|
+
stylingProps.className,
|
|
33
|
+
className
|
|
34
|
+
);
|
|
35
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
36
|
+
return {
|
|
37
|
+
...stylingProps.style,
|
|
38
|
+
...prev
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
const childrenFn = composeRenderProps(childrenProp, (prev) => {
|
|
42
|
+
return prev;
|
|
43
|
+
});
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
ToggleButton,
|
|
46
|
+
{
|
|
47
|
+
...otherProps,
|
|
48
|
+
isDisabled,
|
|
49
|
+
ref,
|
|
50
|
+
className: classNames,
|
|
51
|
+
style: mergedStyles,
|
|
52
|
+
slot: slot != null ? slot : void 0,
|
|
53
|
+
children: (renderProps) => {
|
|
54
|
+
const children = childrenFn(renderProps);
|
|
55
|
+
return /* @__PURE__ */ jsxs(
|
|
56
|
+
Provider,
|
|
57
|
+
{
|
|
58
|
+
values: [
|
|
59
|
+
[TextContext, {
|
|
60
|
+
size: "md",
|
|
61
|
+
className: Tile_module_default["hop-Tile__text"]
|
|
62
|
+
}]
|
|
63
|
+
],
|
|
64
|
+
children: [
|
|
65
|
+
typeof children === "string" ? /* @__PURE__ */ jsx(_Text, { children }) : children,
|
|
66
|
+
/* @__PURE__ */ jsx(CheckmarkIcon, { className: Tile_module_default["hop-Tile__icon"] })
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
};
|
|
74
|
+
var _Tile = forwardRef(Tile);
|
|
75
|
+
_Tile.displayName = "Tile";
|
|
76
|
+
|
|
77
|
+
export { GlobalTileCssSelector, _Tile };
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { InputGroupContext } from './chunk-6BFSSZCY.js';
|
|
2
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
3
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
|
+
import { forwardRef, useContext } from 'react';
|
|
6
|
+
import { useContextProps, FieldErrorContext, composeRenderProps, Group } from 'react-aria-components';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// css-module:./InputGroup.module.css#css-module
|
|
10
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___-SLz7", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___Ev-PS" };
|
|
11
|
+
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
12
|
+
function InputGroup(props, ref) {
|
|
13
|
+
var _a;
|
|
14
|
+
[props, ref] = useContextProps(props, ref, InputGroupContext);
|
|
15
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
16
|
+
const {
|
|
17
|
+
className,
|
|
18
|
+
style: styleProp,
|
|
19
|
+
children,
|
|
20
|
+
isFluid: isFluidProp,
|
|
21
|
+
isInvalid,
|
|
22
|
+
...otherProps
|
|
23
|
+
} = ownProps;
|
|
24
|
+
const isFluid = (_a = useResponsiveValue(isFluidProp)) != null ? _a : false;
|
|
25
|
+
const classNames = composeClassnameRenderProps(
|
|
26
|
+
className,
|
|
27
|
+
GlobalInputGroupCssSelector,
|
|
28
|
+
cssModule(
|
|
29
|
+
InputGroup_module_default,
|
|
30
|
+
"hop-InputGroup",
|
|
31
|
+
isFluid && "fluid"
|
|
32
|
+
),
|
|
33
|
+
stylingProps.className
|
|
34
|
+
);
|
|
35
|
+
const validation = useContext(FieldErrorContext);
|
|
36
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
37
|
+
return {
|
|
38
|
+
...stylingProps.style,
|
|
39
|
+
...prev
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
const handlePointerUp = (e) => {
|
|
43
|
+
var _a2;
|
|
44
|
+
if (e.pointerType !== "mouse" && !e.target.closest("button,input,textarea")) {
|
|
45
|
+
e.preventDefault();
|
|
46
|
+
(_a2 = e.currentTarget.querySelector("input")) == null ? void 0 : _a2.focus();
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const handlePointerDown = (e) => {
|
|
50
|
+
var _a2;
|
|
51
|
+
if (e.pointerType === "mouse" && !e.target.closest("button,input,textarea")) {
|
|
52
|
+
e.preventDefault();
|
|
53
|
+
(_a2 = e.currentTarget.querySelector("input")) == null ? void 0 : _a2.focus();
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
return /* @__PURE__ */ jsx(
|
|
57
|
+
Group,
|
|
58
|
+
{
|
|
59
|
+
isInvalid: (validation == null ? void 0 : validation.isInvalid) || isInvalid,
|
|
60
|
+
onPointerDown: handlePointerDown,
|
|
61
|
+
onPointerUp: handlePointerUp,
|
|
62
|
+
ref,
|
|
63
|
+
className: classNames,
|
|
64
|
+
style,
|
|
65
|
+
...otherProps,
|
|
66
|
+
children
|
|
67
|
+
}
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
var _InputGroup = forwardRef(InputGroup);
|
|
71
|
+
_InputGroup.displayName = "InputGroup";
|
|
72
|
+
|
|
73
|
+
export { GlobalInputGroupCssSelector, _InputGroup };
|