@hopper-ui/components 1.5.0 → 1.5.2
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 +11 -11
- 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 +635 -635
- package/dist/ComboBox/src/ComboBox.js +20 -20
- package/dist/ComboBox/src/index.css +635 -635
- package/dist/ComboBox/src/index.js +20 -20
- 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 +43 -43
- package/dist/Modal/src/BaseModal.js +1 -1
- package/dist/Modal/src/CustomModal.css +44 -44
- package/dist/Modal/src/CustomModal.js +2 -2
- package/dist/Modal/src/Modal.css +290 -290
- package/dist/Modal/src/Modal.js +12 -12
- package/dist/Modal/src/index.css +291 -291
- package/dist/Modal/src/index.js +13 -13
- 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 +579 -579
- 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 +579 -579
- 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/Tabs/src/Tab.css +2755 -0
- package/dist/Tabs/src/Tab.d.ts +15 -0
- package/dist/Tabs/src/Tab.js +10 -0
- package/dist/Tabs/src/TabLine.css +252 -0
- package/dist/Tabs/src/TabLine.d.ts +12 -0
- package/dist/Tabs/src/TabLine.js +3 -0
- package/dist/Tabs/src/TabList.css +307 -0
- package/dist/Tabs/src/TabList.d.ts +17 -0
- package/dist/Tabs/src/TabList.js +5 -0
- package/dist/Tabs/src/TabPanel.css +245 -0
- package/dist/Tabs/src/TabPanel.d.ts +15 -0
- package/dist/Tabs/src/TabPanel.js +4 -0
- package/dist/Tabs/src/Tabs.d.ts +31 -0
- package/dist/Tabs/src/Tabs.js +3 -0
- package/dist/Tabs/src/TabsContext.d.ts +16 -0
- package/dist/Tabs/src/TabsContext.js +2 -0
- package/dist/Tabs/src/index.css +2841 -0
- package/dist/Tabs/src/index.d.ts +10 -0
- package/dist/Tabs/src/index.js +14 -0
- 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 +2 -2
- package/dist/Tile/src/index.css +38 -38
- package/dist/Tile/src/index.js +8 -8
- 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 +3 -3
- 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.js +1 -1
- package/dist/buttons/src/LinkButton.css +103 -103
- package/dist/buttons/src/LinkButton.js +7 -7
- package/dist/buttons/src/index.css +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 +7 -7
- 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 +13 -13
- package/dist/{chunk-K7LPTDGA.js → chunk-2B32GI3I.js} +1 -1
- package/dist/{chunk-W4JGZWGA.js → chunk-3GBRC5JZ.js} +2 -2
- package/dist/{chunk-QXSZDRRV.js → chunk-3I6TVWVW.js} +5 -5
- package/dist/{chunk-ZDPAEZOK.js → chunk-3ZLPSJZF.js} +2 -2
- package/dist/{chunk-4NOHDGNG.js → chunk-4DHI4ZDU.js} +8 -8
- package/dist/chunk-4XMMR4UC.js +62 -0
- package/dist/{chunk-UBAIAYGZ.js → chunk-5GI6XYBX.js} +2 -2
- package/dist/{chunk-GAVVWKPV.js → chunk-5OEMYNBR.js} +5 -5
- package/dist/{chunk-ECIUI7CP.js → chunk-652BKF5V.js} +1 -1
- package/dist/{chunk-BUNJDMVL.js → chunk-6DNC64XS.js} +1 -1
- package/dist/{chunk-7FGBAFSD.js → chunk-6TXO67OW.js} +2 -2
- package/dist/{chunk-CQQP6QVP.js → chunk-7IJIVWP4.js} +4 -4
- package/dist/{chunk-QVYHV7EA.js → chunk-A6LJV4IH.js} +2 -2
- package/dist/{chunk-GD5Q3AZ5.js → chunk-BJWHH7N4.js} +7 -7
- package/dist/{chunk-XSEFUS46.js → chunk-BO2J7JEU.js} +3 -3
- package/dist/{chunk-7LXE3JU6.js → chunk-C4DYBD7L.js} +4 -4
- package/dist/{chunk-IFR3FMQI.js → chunk-C56TOSHD.js} +2 -2
- package/dist/{chunk-3ILCPDBG.js → chunk-CBF2D2S3.js} +1 -1
- package/dist/{chunk-YY5PARH2.js → chunk-CVCPVOI3.js} +2 -2
- package/dist/{chunk-7ZAVXQPS.js → chunk-CVMB6LAG.js} +1 -1
- package/dist/{chunk-42AL5WO3.js → chunk-CZG6FNOG.js} +3 -3
- package/dist/{chunk-GNANRAZ3.js → chunk-D2PP3WCQ.js} +2 -2
- package/dist/{chunk-M75JHDEW.js → chunk-DSKBTOQK.js} +1 -1
- package/dist/{chunk-2OZB4J6P.js → chunk-DXNA7IE6.js} +1 -1
- package/dist/{chunk-I6K2IF6S.js → chunk-E27ARXCP.js} +2 -2
- package/dist/{chunk-WERKME6J.js → chunk-EG7R3J2B.js} +2 -2
- package/dist/{chunk-F2CIGATZ.js → chunk-EX4TNKX6.js} +1 -1
- package/dist/{chunk-VRKYQ753.js → chunk-FHEXMRR4.js} +6 -6
- package/dist/chunk-FQEJKZ73.js +46 -0
- package/dist/{chunk-M7OZRSCE.js → chunk-FT6ASD4F.js} +1 -1
- package/dist/{chunk-2W32X7FU.js → chunk-G6Y53VHH.js} +1 -1
- package/dist/{chunk-WRSQGJQP.js → chunk-GFUBJSJ4.js} +2 -2
- package/dist/{chunk-P7Y5EFUU.js → chunk-GLJULTCI.js} +2 -2
- package/dist/{chunk-QOOKVLD6.js → chunk-GRCOKUPC.js} +1 -1
- package/dist/{chunk-7SLBZ5XD.js → chunk-H6UNVESF.js} +2 -2
- package/dist/{chunk-WFGDBWD6.js → chunk-I3S773MA.js} +2 -2
- package/dist/chunk-IFSZVCXH.js +74 -0
- package/dist/{chunk-PLCSZSWK.js → chunk-IH7P6DWQ.js} +8 -8
- package/dist/chunk-IHFVBNOE.js +80 -0
- package/dist/{chunk-MLH5QPM6.js → chunk-IXQOSJDS.js} +2 -2
- package/dist/{chunk-NKQRCWXB.js → chunk-JX5ASOQE.js} +2 -2
- package/dist/{chunk-DXEEYPET.js → chunk-KP52XYUO.js} +1 -1
- package/dist/{chunk-ZTRTZJS3.js → chunk-LIEDF72E.js} +1 -1
- package/dist/{chunk-CI4VOFJ3.js → chunk-LL3TLLAU.js} +11 -11
- package/dist/{chunk-L3CCWJXX.js → chunk-LN4JWEHN.js} +6 -6
- package/dist/{chunk-YRMUDTON.js → chunk-LXPL4Q4R.js} +1 -1
- package/dist/{chunk-AK56Z4NC.js → chunk-MXCSBEVT.js} +8 -8
- package/dist/{chunk-LLZVUS6L.js → chunk-MXNSZYTY.js} +2 -2
- package/dist/{chunk-YXKS63JL.js → chunk-NY2HCJ52.js} +1 -1
- package/dist/{chunk-RN66XUZB.js → chunk-OIPXQWIF.js} +3 -3
- package/dist/{chunk-WEFTO2YB.js → chunk-OSM5ZT5X.js} +2 -2
- package/dist/{chunk-B3USUGFX.js → chunk-OT52TNS2.js} +2 -2
- package/dist/{chunk-5RZUDLOJ.js → chunk-PBIKFWBX.js} +1 -1
- package/dist/{chunk-BSFMZPQZ.js → chunk-PXTZCRLR.js} +1 -1
- package/dist/{chunk-MQHDJMWK.js → chunk-QVMAB5DM.js} +1 -1
- package/dist/{chunk-PSGJ3SGD.js → chunk-QXUHQUOL.js} +2 -2
- package/dist/{chunk-U2CDB2WU.js → chunk-R6EF3QYI.js} +1 -1
- package/dist/{chunk-V3R6RBMW.js → chunk-RC2PPMUM.js} +8 -8
- package/dist/{chunk-3NXLB36H.js → chunk-RTUDIMZX.js} +3 -3
- package/dist/{chunk-6VK6XY4Y.js → chunk-SIME6JYB.js} +1 -1
- package/dist/{chunk-DMORGVIA.js → chunk-TZZDJSVA.js} +1 -1
- package/dist/{chunk-SBZFIZ34.js → chunk-UJDE3NIS.js} +2 -2
- package/dist/{chunk-WNFG7XHU.js → chunk-V32LFRCQ.js} +10 -10
- package/dist/{chunk-THMD4B6W.js → chunk-VMU3E6E5.js} +1 -1
- package/dist/chunk-VOVIELJ2.js +74 -0
- package/dist/{chunk-N3MAR5LA.js → chunk-VRZFQZ3X.js} +3 -3
- package/dist/{chunk-5RMNB4S2.js → chunk-VZN7FVLH.js} +2 -2
- package/dist/{chunk-GYIVG2QW.js → chunk-WG5M7LBE.js} +2 -2
- package/dist/{chunk-VHP2V6CH.js → chunk-WHS7GOCN.js} +2 -2
- package/dist/{chunk-JSU3GTVC.js → chunk-XBSLEE6P.js} +1 -1
- package/dist/{chunk-44OL5LKJ.js → chunk-XE6LXAC5.js} +1 -1
- package/dist/{chunk-NKPL7MOY.js → chunk-Y6NWHC6D.js} +3 -3
- package/dist/chunk-YOMX6DZZ.js +14 -0
- package/dist/{chunk-72H6V6NS.js → chunk-YZTM4YSL.js} +1 -1
- package/dist/{chunk-2D3PNAN4.js → chunk-ZGKKNC37.js} +12 -12
- package/dist/{chunk-ISHCPAHA.js → chunk-ZZ4FHLJV.js} +2 -4
- package/dist/index.css +1063 -909
- package/dist/index.d.ts +5 -0
- package/dist/index.js +84 -78
- package/dist/inputs/src/Input.css +32 -32
- 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 +12 -12
- package/dist/inputs/src/PasswordField.css +271 -271
- package/dist/inputs/src/PasswordField.js +12 -12
- 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 +14 -14
- package/dist/inputs/src/TextArea.css +55 -55
- package/dist/inputs/src/TextArea.js +11 -11
- package/dist/inputs/src/TextField.css +275 -275
- package/dist/inputs/src/TextField.js +16 -16
- package/dist/inputs/src/index.css +323 -323
- package/dist/inputs/src/index.js +20 -20
- package/dist/overlays/Popover/src/Popover.css +552 -552
- package/dist/overlays/Popover/src/Popover.js +6 -6
- package/dist/overlays/Popover/src/PopoverBase.css +31 -31
- package/dist/overlays/Popover/src/PopoverBase.js +1 -1
- package/dist/overlays/Popover/src/index.css +555 -555
- 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 +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 +2 -2
- package/dist/switch/src/index.css +50 -50
- package/dist/switch/src/index.js +8 -8
- package/dist/tag/src/Tag.css +392 -392
- package/dist/tag/src/Tag.js +13 -13
- package/dist/tag/src/TagGroup.css +38 -38
- package/dist/tag/src/TagGroup.js +8 -8
- package/dist/tag/src/index.css +402 -402
- 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.js +6 -6
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CalloutContext } from './chunk-NZ4VFVXA.js';
|
|
2
|
-
import { _CloseButton } from './chunk-
|
|
2
|
+
import { _CloseButton } from './chunk-QXUHQUOL.js';
|
|
3
3
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
4
4
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
5
5
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Callout.module.css#css-module
|
|
17
|
-
var Callout_module_default = { "hop-Callout": "Callout-module__hop-
|
|
17
|
+
var Callout_module_default = { "hop-Callout": "Callout-module__hop-Callout___z3DN-", "hop-Callout__icon": "Callout-module__hop-Callout__icon___GHy-c", "hop-Callout__heading": "Callout-module__hop-Callout__heading___finsz", "hop-Callout__content": "Callout-module__hop-Callout__content___DWUXN", "hop-Callout__button": "Callout-module__hop-Callout__button___mYNkB", "hop-Callout__dismiss": "Callout-module__hop-Callout__dismiss___p3gU3", "hop-Callout--information": "Callout-module__hop-Callout--information___jshGA", "hop-Callout--success": "Callout-module__hop-Callout--success___S-dNv", "hop-Callout--warning": "Callout-module__hop-Callout--warning___VTAtS", "hop-Callout--upsell": "Callout-module__hop-Callout--upsell___yO6ct", "hop-Callout--subtle-fill": "Callout-module__hop-Callout--subtle-fill___PStUJ" };
|
|
18
18
|
var GlobalCalloutCssSelector = "hop-Callout";
|
|
19
19
|
var Callout = (props, ref) => {
|
|
20
20
|
[props, ref] = useContextProps(props, ref, CalloutContext);
|
|
@@ -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-EX4TNKX6.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___b41EM", "hop-Label__indicator": "Label-module__hop-Label__indicator___VmW1e" };
|
|
14
14
|
var GlobalLabelCssSelector = "hop-Label";
|
|
15
15
|
function Label(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
@@ -7,7 +7,7 @@ import { Form as Form$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Form.module.css#css-module
|
|
10
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
10
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___C5zd1" };
|
|
11
11
|
var GlobalFormCssSelector = "hop-Form";
|
|
12
12
|
function useFormProps(props) {
|
|
13
13
|
const ctx = useContext(FormContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
1
|
import { TagGroupContext, InternalTagGroupContext } from './chunk-4BWTFR22.js';
|
|
3
|
-
import {
|
|
4
|
-
import { _ErrorMessage } from './chunk-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
+
import { _ErrorMessage } from './chunk-MXNSZYTY.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-GLJULTCI.js';
|
|
5
|
+
import { _Label } from './chunk-EG7R3J2B.js';
|
|
6
|
+
import { useFormProps } from './chunk-EX4TNKX6.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___22I7N", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___uZ3cI", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___97q9v", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___MhBTX", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___QLPsg" };
|
|
18
18
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
19
19
|
function TagGroup(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { TabPanelContext } from './chunk-YOMX6DZZ.js';
|
|
2
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { forwardRef } from 'react';
|
|
6
|
+
import { useContextProps, TabPanel as TabPanel$1 } from 'react-aria-components';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// css-module:./TabPanel.module.css#css-module
|
|
10
|
+
var TabPanel_module_default = { "hop-TabPanel": "TabPanel-module__hop-TabPanel___j68ny" };
|
|
11
|
+
var GlobalTabPanelCssSelector = "hop-TabPanel";
|
|
12
|
+
function TabPanel(props, ref) {
|
|
13
|
+
[props, ref] = useContextProps(props, ref, TabPanelContext);
|
|
14
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
15
|
+
const {
|
|
16
|
+
className,
|
|
17
|
+
style,
|
|
18
|
+
...otherProps
|
|
19
|
+
} = ownProps;
|
|
20
|
+
const classNames = clsx(
|
|
21
|
+
GlobalTabPanelCssSelector,
|
|
22
|
+
cssModule(
|
|
23
|
+
TabPanel_module_default,
|
|
24
|
+
"hop-TabPanel"
|
|
25
|
+
),
|
|
26
|
+
stylingProps.className,
|
|
27
|
+
className
|
|
28
|
+
);
|
|
29
|
+
const mergedStyles = {
|
|
30
|
+
...style,
|
|
31
|
+
...stylingProps.style
|
|
32
|
+
};
|
|
33
|
+
return /* @__PURE__ */ jsx(
|
|
34
|
+
TabPanel$1,
|
|
35
|
+
{
|
|
36
|
+
ref,
|
|
37
|
+
style: mergedStyles,
|
|
38
|
+
className: classNames,
|
|
39
|
+
...otherProps
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
var _TabPanel = forwardRef(TabPanel);
|
|
44
|
+
_TabPanel.displayName = "TabPanel";
|
|
45
|
+
|
|
46
|
+
export { GlobalTabPanelCssSelector, _TabPanel };
|
|
@@ -8,7 +8,7 @@ import { useContextProps, ToggleGroupStateContext, ToggleButtonGroup, Provider }
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./SegmentedControl.module.css#css-module
|
|
11
|
-
var SegmentedControl_module_default = { "hop-SegmentedControl": "SegmentedControl-module__hop-
|
|
11
|
+
var SegmentedControl_module_default = { "hop-SegmentedControl": "SegmentedControl-module__hop-SegmentedControl___l4Epu" };
|
|
12
12
|
var GlobalSegmentedControlCssSelector = "hop-SegmentedControl";
|
|
13
13
|
var SegmentedControl = (props, ref) => {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, SegmentedControlContext);
|
|
@@ -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-
|
|
10
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___Mbbmm", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___hEK3K" };
|
|
11
11
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
12
12
|
function InputGroup(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LinkContext } from './chunk-4VVNSXIB.js';
|
|
2
2
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-SIME6JYB.js';
|
|
4
4
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps, DEFAULT_SLOT, Link as Link$1 } fro
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Link.module.css#css-module
|
|
15
|
-
var Link_module_default = { "hop-Link": "Link-module__hop-
|
|
15
|
+
var Link_module_default = { "hop-Link": "Link-module__hop-Link___HtLnl", "hop-Link--standalone": "Link-module__hop-Link--standalone___vupUx", "hop-Link__text": "Link-module__hop-Link__text___-Yvxm", "hop-Link--xs": "Link-module__hop-Link--xs___kDFkj", "hop-Link--sm": "Link-module__hop-Link--sm___u5wuE", "hop-Link--md": "Link-module__hop-Link--md___jJvze", "hop-Link--lg": "Link-module__hop-Link--lg___FTEMU", "hop-Link--xl": "Link-module__hop-Link--xl___SdxPh", "hop-Link--2xl": "Link-module__hop-Link--2xl___JTKIS", "hop-Link--quiet": "Link-module__hop-Link--quiet___BTS8c", "hop-Link--primary": "Link-module__hop-Link--primary___7TM-C", "hop-Link--secondary": "Link-module__hop-Link--secondary___Iu-U2", "hop-Link__icon": "Link-module__hop-Link__icon___0xdR6", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___kjOzC", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___2YOo5", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___-KZJZ" };
|
|
16
16
|
var GlobalLinkCssSelector = "hop-Link";
|
|
17
17
|
var LinkToIconSizeAdapter = {
|
|
18
18
|
inherit: void 0,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-HZKFQ33E.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-XE6LXAC5.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___yt2hE", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___rdeSI" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -6,7 +6,7 @@ import { useContextProps, Input as Input$1 } from 'react-aria-components';
|
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
// css-module:./Input.module.css#css-module
|
|
9
|
-
var Input_module_default = { "hop-Input": "Input-module__hop-
|
|
9
|
+
var Input_module_default = { "hop-Input": "Input-module__hop-Input___ZaRWZ", "hop-Input--sm": "Input-module__hop-Input--sm___LQ0Bc" };
|
|
10
10
|
var InputContext = createContext({});
|
|
11
11
|
var Input = forwardRef(function Input2(props, ref) {
|
|
12
12
|
var _a;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
2
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-XE6LXAC5.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-HXI3MEEK.js';
|
|
5
5
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioField.module.css#css-module
|
|
17
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
17
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___s6jwk", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___PAlc9", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___nF5oG", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___uQEzT", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___UiLg3" };
|
|
18
18
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
19
19
|
var RadioToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -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-SIME6JYB.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___0j3Bc", "hop-Radio--sm": "Radio-module__hop-Radio--sm___wdRGc", "hop-Radio--md": "Radio-module__hop-Radio--md___cg1J8", "hop-Radio__icon": "Radio-module__hop-Radio__icon___rFdnl", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___z8Y-a", "hop-Radio__box": "Radio-module__hop-Radio__box___yykJi", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___0H4wD", "hop-Radio__text": "Radio-module__hop-Radio__text___4eINf" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { TabsContext, InternalTabsContext } from './chunk-YOMX6DZZ.js';
|
|
2
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
3
|
+
import { useControlledState } from '@react-stately/utils';
|
|
4
|
+
import clsx from 'clsx';
|
|
5
|
+
import { forwardRef } from 'react';
|
|
6
|
+
import { useContextProps, Tabs as Tabs$1, Provider } from 'react-aria-components';
|
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
var GlobalTabsCssSelector = "hop-Tabs";
|
|
10
|
+
function Tabs(props, ref) {
|
|
11
|
+
var _a;
|
|
12
|
+
[props, ref] = useContextProps(props, ref, TabsContext);
|
|
13
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
14
|
+
const {
|
|
15
|
+
className,
|
|
16
|
+
children,
|
|
17
|
+
style,
|
|
18
|
+
slot,
|
|
19
|
+
isDisabled,
|
|
20
|
+
disabledKeys,
|
|
21
|
+
variant = "standalone",
|
|
22
|
+
size = "sm",
|
|
23
|
+
isFluid,
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const [value, setValue] = useControlledState(props.selectedKey, (_a = props.defaultSelectedKey) != null ? _a : null, props.onSelectionChange);
|
|
27
|
+
if (!props["aria-label"] && !props["aria-labelledby"]) {
|
|
28
|
+
console.warn("An aria-label or aria-labelledby prop is required on Tabs for accessibility.");
|
|
29
|
+
}
|
|
30
|
+
const classNames = clsx(
|
|
31
|
+
GlobalTabsCssSelector,
|
|
32
|
+
stylingProps.className,
|
|
33
|
+
className
|
|
34
|
+
);
|
|
35
|
+
const mergedStyles = {
|
|
36
|
+
...style,
|
|
37
|
+
...stylingProps.style
|
|
38
|
+
};
|
|
39
|
+
return /* @__PURE__ */ jsx(
|
|
40
|
+
Tabs$1,
|
|
41
|
+
{
|
|
42
|
+
ref,
|
|
43
|
+
slot,
|
|
44
|
+
className: classNames,
|
|
45
|
+
style: mergedStyles,
|
|
46
|
+
isDisabled,
|
|
47
|
+
disabledKeys,
|
|
48
|
+
...otherProps,
|
|
49
|
+
children: /* @__PURE__ */ jsx(
|
|
50
|
+
Provider,
|
|
51
|
+
{
|
|
52
|
+
values: [
|
|
53
|
+
[InternalTabsContext, {
|
|
54
|
+
variant,
|
|
55
|
+
size,
|
|
56
|
+
selectedKey: value,
|
|
57
|
+
onSelectionChange: setValue,
|
|
58
|
+
isFluid,
|
|
59
|
+
isDisabled,
|
|
60
|
+
disabledKeys,
|
|
61
|
+
"aria-label": props["aria-label"],
|
|
62
|
+
"aria-labelledby": props["aria-labelledby"]
|
|
63
|
+
}]
|
|
64
|
+
],
|
|
65
|
+
children
|
|
66
|
+
}
|
|
67
|
+
)
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
var _Tabs = forwardRef(Tabs);
|
|
72
|
+
_Tabs.displayName = "Tabs";
|
|
73
|
+
|
|
74
|
+
export { GlobalTabsCssSelector, _Tabs };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { SearchFieldContext } from './chunk-3NKF5TPD.js';
|
|
2
|
-
import { _ClearButton } from './chunk-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { _Label } from './chunk-
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
2
|
+
import { _ClearButton } from './chunk-DSKBTOQK.js';
|
|
3
|
+
import { Input } from './chunk-GRCOKUPC.js';
|
|
4
|
+
import { _InputGroup } from './chunk-G6Y53VHH.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-MXNSZYTY.js';
|
|
6
|
+
import { _HelperMessage } from './chunk-GLJULTCI.js';
|
|
7
|
+
import { _Label } from './chunk-EG7R3J2B.js';
|
|
8
|
+
import { useFormProps } from './chunk-EX4TNKX6.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___SECAe", "hop-SearchField--fluid": "SearchField-module__hop-SearchField--fluid___01rg0", "hop-SearchField__Label": "SearchField-module__hop-SearchField__Label___nEBtT", "hop-SearchField__prefix": "SearchField-module__hop-SearchField__prefix___X-yqo", "hop-SearchField__InputGroup": "SearchField-module__hop-SearchField__InputGroup___1UJBf", "hop-SearchField--clearable": "SearchField-module__hop-SearchField--clearable___qO9BM", "hop-SearchField__ErrorMessage": "SearchField-module__hop-SearchField__ErrorMessage___IfR5D", "hop-SearchField__HelperMessage": "SearchField-module__hop-SearchField__HelperMessage___befYe", "hop-SearchField__ClearButton": "SearchField-module__hop-SearchField__ClearButton___tZHhL" };
|
|
24
24
|
var GlobalSearchFieldCssSelector = "hop-SearchField";
|
|
25
25
|
function SearchField(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
|
+
import { TabContext, InternalTabsContext } from './chunk-YOMX6DZZ.js';
|
|
3
|
+
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
4
|
+
import { _Text } from './chunk-XE6LXAC5.js';
|
|
5
|
+
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
6
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
8
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
9
|
+
import clsx from 'clsx';
|
|
10
|
+
import { forwardRef, useContext } from 'react';
|
|
11
|
+
import { useContextProps, Tab as Tab$1, Provider } from 'react-aria-components';
|
|
12
|
+
import { jsx } from 'react/jsx-runtime';
|
|
13
|
+
|
|
14
|
+
// css-module:./Tab.module.css#css-module
|
|
15
|
+
var Tab_module_default = { "hop-Tab": "Tab-module__hop-Tab___vJUyZ", "hop-Tab--fluid": "Tab-module__hop-Tab--fluid___aA8yy", "hop-Tab--md": "Tab-module__hop-Tab--md___rPSjX", "hop-Tab__icon": "Tab-module__hop-Tab__icon___e2u-M", "hop-Tab__text": "Tab-module__hop-Tab__text___XGMER", "hop-Tab__badge": "Tab-module__hop-Tab__badge___stGUc", "hop-Tab__tag": "Tab-module__hop-Tab__tag___NODPO" };
|
|
16
|
+
var GlobalTabCssSelector = "hop-Tab";
|
|
17
|
+
function Tab(props, ref) {
|
|
18
|
+
var _a;
|
|
19
|
+
[props, ref] = useContextProps(props, ref, TabContext);
|
|
20
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
21
|
+
const { variant, size, isFluid } = (_a = useContext(InternalTabsContext)) != null ? _a : {};
|
|
22
|
+
const {
|
|
23
|
+
className,
|
|
24
|
+
children,
|
|
25
|
+
style,
|
|
26
|
+
...otherProps
|
|
27
|
+
} = ownProps;
|
|
28
|
+
const classNames = clsx(
|
|
29
|
+
GlobalTabCssSelector,
|
|
30
|
+
cssModule(
|
|
31
|
+
Tab_module_default,
|
|
32
|
+
"hop-Tab",
|
|
33
|
+
variant,
|
|
34
|
+
size,
|
|
35
|
+
isFluid && "fluid"
|
|
36
|
+
),
|
|
37
|
+
stylingProps.className,
|
|
38
|
+
className
|
|
39
|
+
);
|
|
40
|
+
const mergedStyles = {
|
|
41
|
+
...style,
|
|
42
|
+
...stylingProps.style
|
|
43
|
+
};
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
Tab$1,
|
|
46
|
+
{
|
|
47
|
+
...otherProps,
|
|
48
|
+
style: mergedStyles,
|
|
49
|
+
className: classNames,
|
|
50
|
+
ref,
|
|
51
|
+
children: /* @__PURE__ */ jsx(
|
|
52
|
+
Provider,
|
|
53
|
+
{
|
|
54
|
+
values: [
|
|
55
|
+
[TextContext, {
|
|
56
|
+
className: Tab_module_default["hop-Tab__text"],
|
|
57
|
+
size
|
|
58
|
+
}],
|
|
59
|
+
[IconContext, {
|
|
60
|
+
className: Tab_module_default["hop-Tab__icon"],
|
|
61
|
+
size
|
|
62
|
+
}],
|
|
63
|
+
[BadgeContext, {
|
|
64
|
+
className: Tab_module_default["hop-Tab__badge"]
|
|
65
|
+
}],
|
|
66
|
+
[TagContext, {
|
|
67
|
+
className: Tab_module_default["hop-Tab__tag"],
|
|
68
|
+
size
|
|
69
|
+
}]
|
|
70
|
+
],
|
|
71
|
+
children: typeof children === "string" ? /* @__PURE__ */ jsx(_Text, { children }) : children
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
var _Tab = forwardRef(Tab);
|
|
78
|
+
_Tab.displayName = "Tab";
|
|
79
|
+
|
|
80
|
+
export { GlobalTabCssSelector, _Tab };
|
|
@@ -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-SIME6JYB.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___0qC6k Checkbox-module__hop-Checkbox___ikHEN", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___W--Tz Checkbox-module__hop-Checkbox--sm___76VZX", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___ui7iG Checkbox-module__hop-Checkbox--md___Mi59Y", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___GgFJz Checkbox-module__hop-Checkbox__icon___tF-bn", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___CF2l- Checkbox-module__hop-Checkbox__icon___tF-bn", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___ba5IE Checkbox-module__hop-Checkbox__box___UCsQ9", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___I2dZH Checkbox-module__hop-Checkbox__check___Nuzuy", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___CerK6 Checkbox-module__hop-Checkbox__text___Bv8NA" };
|
|
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-SIME6JYB.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:./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___sSdtw Radio-module__hop-Radio___0j3Bc", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___toC4N Radio-module__hop-Radio--sm___wdRGc", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___Brw8a Radio-module__hop-Radio--md___cg1J8", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___zgPYs Radio-module__hop-Radio__icon___rFdnl", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___VJJhQ Radio-module__hop-Radio__icon___rFdnl", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___z2umf Radio-module__hop-Radio__box___yykJi", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___u-PnS Radio-module__hop-Radio__bullet___0H4wD", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___OjK31 Radio-module__hop-Radio__text___4eINf" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Card.module.css#css-module
|
|
10
|
-
var Card_module_default = { "hop-Card": "Card-module__hop-
|
|
10
|
+
var Card_module_default = { "hop-Card": "Card-module__hop-Card___XkmRk", "hop-Card--main": "Card-module__hop-Card--main___31bGc", "hop-Card--second-level": "Card-module__hop-Card--second-level___xLJBY" };
|
|
11
11
|
var GlobalCardCssSelector = "hop-Card";
|
|
12
12
|
var Card = (props, ref) => {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, CardContext);
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./SvgImage.module.css#css-module
|
|
10
|
-
var SvgImage_module_default = { "hop-SvgImage": "SvgImage-module__hop-
|
|
10
|
+
var SvgImage_module_default = { "hop-SvgImage": "SvgImage-module__hop-SvgImage___nG02x" };
|
|
11
11
|
var GlobalSvgImageCssSelector = "hop-SvgImage";
|
|
12
12
|
function SvgImage(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, SvgImageContext);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { SelectContext } from './chunk-T24MBA34.js';
|
|
2
|
-
import { _SelectValue } from './chunk-
|
|
3
|
-
import { _Popover } from './chunk-
|
|
2
|
+
import { _SelectValue } from './chunk-3GBRC5JZ.js';
|
|
3
|
+
import { _Popover } from './chunk-LXPL4Q4R.js';
|
|
4
4
|
import { _Footer } from './chunk-VOZN65OL.js';
|
|
5
5
|
import { _ListBoxSection } from './chunk-DZJSSJVJ.js';
|
|
6
|
-
import { _ListBox } from './chunk-
|
|
7
|
-
import { _ListBoxItem } from './chunk-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { _ToggleArrow } from './chunk-
|
|
6
|
+
import { _ListBox } from './chunk-C4DYBD7L.js';
|
|
7
|
+
import { _ListBoxItem } from './chunk-LN4JWEHN.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-MXNSZYTY.js';
|
|
9
|
+
import { _HelperMessage } from './chunk-GLJULTCI.js';
|
|
10
|
+
import { _ToggleArrow } from './chunk-PXTZCRLR.js';
|
|
11
|
+
import { ensureTextWrapper } from './chunk-SIME6JYB.js';
|
|
12
|
+
import { _Label } from './chunk-EG7R3J2B.js';
|
|
13
|
+
import { useFormProps } from './chunk-EX4TNKX6.js';
|
|
11
14
|
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
12
|
-
import { ensureTextWrapper } from './chunk-6VK6XY4Y.js';
|
|
13
|
-
import { _Label } from './chunk-WERKME6J.js';
|
|
14
|
-
import { useFormProps } from './chunk-F2CIGATZ.js';
|
|
15
15
|
import { TextContext } from './chunk-X6SER3TZ.js';
|
|
16
16
|
import { ClearContainerSlots, ClearProviders } from './chunk-HXI3MEEK.js';
|
|
17
17
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -24,7 +24,7 @@ import { useContextProps, composeRenderProps, TextContext as TextContext$1, Butt
|
|
|
24
24
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
25
25
|
|
|
26
26
|
// css-module:./Select.module.css#css-module
|
|
27
|
-
var Select_module_default = { "hop-Select": "Select-module__hop-
|
|
27
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___xP3Pm", "hop-Select--fluid": "Select-module__hop-Select--fluid___WnF-A", "hop-Select__label": "Select-module__hop-Select__label___s97ar", "hop-Select__button": "Select-module__hop-Select__button___MzW-J", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___X4Sad", "hop-Select__button--md": "Select-module__hop-Select__button--md___4xGuX", "hop-Select__prefix": "Select-module__hop-Select__prefix___SQW7L", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___mZW46", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___kZK-L", "hop-Select__error-message": "Select-module__hop-Select__error-message___mLHj1" };
|
|
28
28
|
var GlobalSelectCssSelector = "hop-Select";
|
|
29
29
|
function Select(props, ref) {
|
|
30
30
|
var _a, _b, _c, _d;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { _DecorativeRadio } from './chunk-
|
|
2
|
-
import { _DecorativeCheckbox } from './chunk-
|
|
1
|
+
import { _DecorativeRadio } from './chunk-JX5ASOQE.js';
|
|
2
|
+
import { _DecorativeCheckbox } from './chunk-IXQOSJDS.js';
|
|
3
3
|
import { ListBoxItemContext } from './chunk-Y2POLIXK.js';
|
|
4
|
-
import { _ListBoxItemSkeleton } from './chunk-
|
|
5
|
-
import { BadgeContext } from './chunk-CQDLZ42T.js';
|
|
4
|
+
import { _ListBoxItemSkeleton } from './chunk-6DNC64XS.js';
|
|
6
5
|
import { IconListContext } from './chunk-DHVVYSLB.js';
|
|
7
|
-
import { ensureTextWrapper } from './chunk-
|
|
6
|
+
import { ensureTextWrapper } from './chunk-SIME6JYB.js';
|
|
7
|
+
import { BadgeContext } from './chunk-CQDLZ42T.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___kgLEg", "hop-ListBoxItem--xs": "ListBoxItem-module__hop-ListBoxItem--xs___LeEL1", "hop-ListBoxItem--sm": "ListBoxItem-module__hop-ListBoxItem--sm___efuQG", "hop-ListBoxItem--md": "ListBoxItem-module__hop-ListBoxItem--md___qu69S", "hop-ListBoxItem--lg": "ListBoxItem-module__hop-ListBoxItem--lg___zx1ud", "hop-ListBoxItem__inner": "ListBoxItem-module__hop-ListBoxItem__inner___Q4keJ", "hop-ListBoxItem__checkmark": "ListBoxItem-module__hop-ListBoxItem__checkmark___p4b4k", "hop-ListBoxItem__description": "ListBoxItem-module__hop-ListBoxItem__description___2qjGh", "hop-ListBoxItem__radio": "ListBoxItem-module__hop-ListBoxItem__radio___yB5y9", "hop-ListBoxItem__checkbox": "ListBoxItem-module__hop-ListBoxItem__checkbox___Tgoaq", "hop-ListBoxItem__avatar": "ListBoxItem-module__hop-ListBoxItem__avatar___PMINC", "hop-ListBoxItem__icon-list": "ListBoxItem-module__hop-ListBoxItem__icon-list___VSibD", "hop-ListBoxItem__icon": "ListBoxItem-module__hop-ListBoxItem__icon___flYcr", "hop-ListBoxItem__label": "ListBoxItem-module__hop-ListBoxItem__label___iMWE-", "hop-ListBoxItem__end-icon-list": "ListBoxItem-module__hop-ListBoxItem__end-icon-list___Ib7Ls", "hop-ListBoxItem__end-icon": "ListBoxItem-module__hop-ListBoxItem__end-icon___82jVi", "hop-ListBoxItem__badge": "ListBoxItem-module__hop-ListBoxItem__badge___PGqKM" };
|
|
22
22
|
var GlobalListBoxItemCssSelector = "hop-ListBoxItem";
|
|
23
23
|
var ListBoxItemToIconSizeAdapter = {
|
|
24
24
|
xs: "sm",
|
|
@@ -19,7 +19,7 @@ import { useContextProps, composeRenderProps, Popover as Popover$1, Dialog } fro
|
|
|
19
19
|
import { jsx } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Popover.module.css#css-module
|
|
22
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
22
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___rnTQf", "fade": "Popover-module__fade___N1SEZ", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___8448r", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___Z3Pzn", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___ldZjj", "hop-Popover__title": "Popover-module__hop-Popover__title___PbX2n", "hop-Popover__content": "Popover-module__hop-Popover__content___4QjB-", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___Vhhhv", "hop-Popover__footer": "Popover-module__hop-Popover__footer___zdYvg", "hop-Popover__actions": "Popover-module__hop-Popover__actions___rGdVq", "hop-Popover__action": "Popover-module__hop-Popover__action___wKefG" };
|
|
23
23
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
24
24
|
function Popover(props, ref) {
|
|
25
25
|
var _a;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ensureTextWrapper } from './chunk-
|
|
7
|
-
import { _Label } from './chunk-
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
2
|
+
import { Input } from './chunk-GRCOKUPC.js';
|
|
3
|
+
import { _InputGroup } from './chunk-G6Y53VHH.js';
|
|
4
|
+
import { _ErrorMessage } from './chunk-MXNSZYTY.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-GLJULTCI.js';
|
|
6
|
+
import { ensureTextWrapper } from './chunk-SIME6JYB.js';
|
|
7
|
+
import { _Label } from './chunk-EG7R3J2B.js';
|
|
8
|
+
import { useFormProps } from './chunk-EX4TNKX6.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___8Ygym", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___VcjrO", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___GV41Z", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___JUwkJ", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___C6-RY", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___uxktp", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___ZCsyE", "hop-NumberField__steppers": "NumberField-module__hop-NumberField__steppers___XhdVG", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___0Eiad", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___NpQw4", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___Lb45I", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___A7QiK", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___ICkxA" };
|
|
26
26
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
27
27
|
var StepperButton = ({ direction }) => {
|
|
28
28
|
const StepperIcon = direction === "increment" ? AngleUpIcon : AngleDownIcon;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FAE27DLF.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-XE6LXAC5.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { FieldErrorContext, useContextProps, composeRenderProps } from 'react-ar
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./ErrorMessage.module.css#css-module
|
|
13
|
-
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-
|
|
13
|
+
var ErrorMessage_module_default = { "hop-ErrorMessage": "ErrorMessage-module__hop-ErrorMessage___vDFlD", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___ZLyWg" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|