@hopper-ui/components 1.6.1 → 1.8.0
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 +16 -0
- package/dist/accordion/src/Accordion.css +84 -77
- package/dist/accordion/src/Accordion.js +2 -2
- package/dist/accordion/src/index.css +84 -77
- package/dist/accordion/src/index.js +2 -2
- package/dist/alert/src/Alert.css +617 -325
- package/dist/alert/src/Alert.js +13 -12
- package/dist/alert/src/index.css +617 -325
- package/dist/alert/src/index.js +13 -12
- package/dist/avatar/src/AnonymousAvatar.css +54 -47
- package/dist/avatar/src/AnonymousAvatar.js +2 -2
- package/dist/avatar/src/Avatar.css +72 -65
- package/dist/avatar/src/Avatar.js +5 -5
- package/dist/avatar/src/AvatarGroup.css +71 -64
- package/dist/avatar/src/AvatarGroup.js +8 -8
- package/dist/avatar/src/BrokenAvatar.css +54 -47
- package/dist/avatar/src/BrokenAvatar.js +2 -2
- package/dist/avatar/src/DeletedAvatar.css +54 -47
- package/dist/avatar/src/DeletedAvatar.js +2 -2
- package/dist/avatar/src/RichIconAvatarImage.css +54 -47
- package/dist/avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/avatar/src/index.css +99 -92
- package/dist/avatar/src/index.js +13 -13
- package/dist/badge/src/Badge.css +59 -52
- package/dist/badge/src/Badge.js +3 -3
- package/dist/badge/src/FloatingBadge.css +54 -47
- package/dist/badge/src/FloatingBadge.js +2 -2
- package/dist/badge/src/index.css +69 -62
- package/dist/badge/src/index.js +4 -4
- package/dist/buttons/src/Button.css +110 -103
- package/dist/buttons/src/Button.js +9 -8
- package/dist/buttons/src/ButtonContext.d.ts +13 -3
- package/dist/buttons/src/ButtonGroup.css +55 -48
- package/dist/buttons/src/ButtonGroup.js +3 -1
- package/dist/buttons/src/ButtonGroupContext.d.ts +13 -3
- package/dist/buttons/src/ClearButton.css +115 -108
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/CloseButton.css +111 -104
- package/dist/buttons/src/CloseButton.js +10 -9
- package/dist/buttons/src/EmbeddedButton.css +115 -108
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +119 -112
- package/dist/buttons/src/LinkButton.js +6 -6
- package/dist/buttons/src/ToggleButton.css +630 -0
- package/dist/buttons/src/ToggleButton.d.ts +51 -0
- package/dist/buttons/src/ToggleButton.js +17 -0
- package/dist/buttons/src/ToggleButtonContext.d.ts +22 -0
- package/dist/buttons/src/ToggleButtonContext.js +2 -0
- package/dist/buttons/src/index.css +540 -260
- package/dist/buttons/src/index.d.ts +4 -2
- package/dist/buttons/src/index.js +16 -13
- package/dist/callout/src/Callout.css +552 -272
- package/dist/callout/src/Callout.js +11 -10
- package/dist/callout/src/CompactCallout.css +589 -309
- package/dist/callout/src/CompactCallout.js +11 -10
- package/dist/callout/src/index.css +601 -321
- package/dist/callout/src/index.js +13 -12
- package/dist/card/src/Card.css +47 -40
- package/dist/card/src/Card.js +1 -1
- package/dist/card/src/index.css +47 -40
- package/dist/card/src/index.js +1 -1
- package/dist/checkbox/src/Checkbox.css +63 -56
- package/dist/checkbox/src/Checkbox.js +6 -6
- package/dist/checkbox/src/CheckboxField.css +50 -43
- package/dist/checkbox/src/CheckboxField.js +4 -4
- package/dist/checkbox/src/CheckboxGroup.css +115 -108
- package/dist/checkbox/src/CheckboxGroup.js +10 -9
- package/dist/checkbox/src/DecorativeCheckbox.css +71 -64
- package/dist/checkbox/src/DecorativeCheckbox.js +4 -4
- package/dist/checkbox/src/index.css +115 -108
- package/dist/checkbox/src/index.js +15 -14
- package/dist/{chunk-SGQFSCGP.js → chunk-2AD6XN2R.js} +3 -3
- package/dist/chunk-3ETJUGAP.js +178 -0
- package/dist/{chunk-6EXB57VD.js → chunk-3OGBUJLO.js} +4 -4
- package/dist/chunk-3YYC7XZW.js +190 -0
- package/dist/{chunk-CFBDROF2.js → chunk-57WEWZ4L.js} +2 -2
- package/dist/{chunk-B3VVOS3E.js → chunk-5F2LUFRN.js} +3 -3
- package/dist/{chunk-ZJKGATZR.js → chunk-5I6PDORP.js} +8 -2
- package/dist/{chunk-V6QSG3P7.js → chunk-5MNBACCS.js} +1 -1
- package/dist/{chunk-N63SCDXK.js → chunk-72UDPGXN.js} +2 -2
- package/dist/{chunk-TVDSIL3G.js → chunk-76JOA74P.js} +15 -6
- package/dist/{chunk-3WNM2QCE.js → chunk-7K3TKE2R.js} +2 -2
- package/dist/{chunk-Z6Z2LMH2.js → chunk-7KXUKO5L.js} +1 -1
- package/dist/{chunk-5H7VC5CQ.js → chunk-7WJAJGOX.js} +3 -3
- package/dist/{chunk-IEGPCDG2.js → chunk-A5MNOCQ2.js} +1 -1
- package/dist/{chunk-Q5UDUQNS.js → chunk-BD2ZOQJW.js} +4 -28
- package/dist/chunk-BYERWFG4.js +7 -0
- package/dist/{chunk-54G54DA4.js → chunk-D3QAZ56J.js} +4 -4
- package/dist/{chunk-FVYE4WG4.js → chunk-D7ICCQM5.js} +2 -2
- package/dist/{chunk-NNBUHQU4.js → chunk-DB4Y2SXS.js} +17 -15
- package/dist/{chunk-RNYGUJIL.js → chunk-DGU5YZM5.js} +8 -8
- package/dist/{chunk-H7EN3SVB.js → chunk-DOP43XH5.js} +2 -2
- package/dist/{chunk-2PIBQPSE.js → chunk-DSK6IH5M.js} +4 -4
- package/dist/chunk-E5RHW4IY.js +70 -0
- package/dist/chunk-ESCEY6RN.js +137 -0
- package/dist/{chunk-FMAMU4X6.js → chunk-ETBPFG5Z.js} +8 -4
- package/dist/{chunk-DROINCCH.js → chunk-EWP3IGMD.js} +1 -1
- package/dist/{chunk-HVTA4MEG.js → chunk-F6VSINXC.js} +1 -1
- package/dist/{chunk-MC6PDZR7.js → chunk-FJUFE7XU.js} +10 -8
- package/dist/{chunk-KB2NZRJF.js → chunk-FORSJNLX.js} +20 -10
- package/dist/{chunk-HPOWDWRH.js → chunk-FPHBQO6G.js} +1 -1
- package/dist/{chunk-PDVJDA3N.js → chunk-FSS4CZQI.js} +25 -13
- package/dist/{chunk-S37LFZ2Z.js → chunk-FXNQDM7U.js} +1 -1
- package/dist/{chunk-6C22LT4E.js → chunk-G5AQXKGI.js} +2 -2
- package/dist/{chunk-PZZ76MYC.js → chunk-GDODCIB6.js} +3 -3
- package/dist/{chunk-6BW3MSBX.js → chunk-GHMBKUTU.js} +1 -1
- package/dist/{chunk-4DNIPOHN.js → chunk-GVGOWUJG.js} +2 -2
- package/dist/{chunk-VE63YOPC.js → chunk-HF5YS5Z6.js} +6 -6
- package/dist/{chunk-GN2XLV5G.js → chunk-HL2I2YUG.js} +3 -3
- package/dist/chunk-HZTYQ5FQ.js +22 -0
- package/dist/{chunk-ZICTGDRV.js → chunk-I377K7IX.js} +2 -2
- package/dist/{chunk-RKYCEGIB.js → chunk-JASPC6XG.js} +5 -5
- package/dist/{chunk-ZAORXIJR.js → chunk-JHAHLWQJ.js} +2 -2
- package/dist/{chunk-23MPRPHQ.js → chunk-JNV6W5JC.js} +18 -16
- package/dist/{chunk-TY3S7XMW.js → chunk-JQLKVLV7.js} +2 -2
- package/dist/{chunk-4V3BBI6M.js → chunk-K3GNQGLK.js} +1 -1
- package/dist/{chunk-UZTC5A7X.js → chunk-KD5CC7J2.js} +1 -1
- package/dist/{chunk-VRCFCFB5.js → chunk-KIXYAIPB.js} +4 -4
- package/dist/{chunk-I4IBMLV4.js → chunk-KN6OG3WN.js} +2 -2
- package/dist/{chunk-IKSYTHKX.js → chunk-KOLL65WL.js} +3 -3
- package/dist/{chunk-KNHM5GQQ.js → chunk-L64YORM7.js} +10 -8
- package/dist/{chunk-NOD7XFD7.js → chunk-LO44K2EI.js} +3 -3
- package/dist/{chunk-BARSXCGR.js → chunk-M64J2RXB.js} +2 -2
- package/dist/chunk-MR5BPD6R.js +7 -0
- package/dist/{chunk-PHPJULDV.js → chunk-N6JCPZ5G.js} +2 -2
- package/dist/{chunk-GDUMGSIP.js → chunk-NGZNCS3G.js} +1 -1
- package/dist/{chunk-75DHKNW2.js → chunk-NNLLQWDS.js} +4 -4
- package/dist/{chunk-FCWARLFN.js → chunk-NNPOWTQ4.js} +5 -5
- package/dist/{chunk-N6FVXOZU.js → chunk-NRUHVUQY.js} +1 -1
- package/dist/{chunk-RIEGA5XZ.js → chunk-PPBA6RPY.js} +2 -2
- package/dist/{chunk-WJ55ZV54.js → chunk-PQSMCDAM.js} +3 -0
- package/dist/{chunk-IYYEOE54.js → chunk-PWYDH3ZA.js} +1 -1
- package/dist/{chunk-YPZVGCLY.js → chunk-Q252HANX.js} +3 -3
- package/dist/{chunk-WD34LPOD.js → chunk-Q4BKNDZD.js} +3 -3
- package/dist/{chunk-QYLYNHMO.js → chunk-QCFV6G6K.js} +2 -2
- package/dist/{chunk-G75ACCCJ.js → chunk-QXTTPOP5.js} +1 -1
- package/dist/{chunk-3SSWKFF2.js → chunk-QXZSPZWJ.js} +2 -2
- package/dist/{chunk-MEJX5PMD.js → chunk-RBUBE5ET.js} +1 -1
- package/dist/{chunk-MDFOHG56.js → chunk-RM3WVAEZ.js} +1 -1
- package/dist/{chunk-VOZN65OL.js → chunk-RN3FLBX4.js} +8 -2
- package/dist/{chunk-UWUX4HB6.js → chunk-RNGFFSNG.js} +21 -11
- package/dist/{chunk-LORXIAD3.js → chunk-SLK22PRQ.js} +19 -9
- package/dist/{chunk-FRX2T2G4.js → chunk-TGQ4XIIL.js} +1 -1
- package/dist/{chunk-FM7FVXF6.js → chunk-TXETMX5H.js} +2 -2
- package/dist/{chunk-BROSH5WN.js → chunk-UGZYYO3T.js} +1 -1
- package/dist/{chunk-AI4IV7FO.js → chunk-UH3WEXVR.js} +19 -22
- package/dist/{chunk-ENPVMPHJ.js → chunk-UPGCU4V3.js} +3 -3
- package/dist/{chunk-Y24SHU4H.js → chunk-URTTLQAC.js} +1 -1
- package/dist/{chunk-O7H6JXIB.js → chunk-VECFKZI5.js} +4 -4
- package/dist/{chunk-HCNRBWQR.js → chunk-VEXKMBM6.js} +1 -1
- package/dist/{chunk-BV2IOLOJ.js → chunk-VFURXZPW.js} +3 -3
- package/dist/{chunk-XUTZ5DK5.js → chunk-VQRXNT3Q.js} +2 -2
- package/dist/{chunk-MAWL2EMK.js → chunk-VTHB4J4N.js} +3 -3
- package/dist/{chunk-VB42QDEC.js → chunk-VUWTKMHT.js} +2 -2
- package/dist/{chunk-ZVJPFIET.js → chunk-VX7TMQSF.js} +3 -3
- package/dist/{chunk-S72G6RPK.js → chunk-WEKPO5YP.js} +2 -2
- package/dist/{chunk-J34HZLGN.js → chunk-WLNEXEEX.js} +1 -1
- package/dist/{chunk-4HT6QOTO.js → chunk-WOQOIB6V.js} +9 -3
- package/dist/{chunk-HPSQSM3G.js → chunk-X72OOA2X.js} +3 -3
- package/dist/{chunk-JOCKBZYP.js → chunk-XLJODMSX.js} +8 -2
- package/dist/{chunk-BHXYYOF6.js → chunk-XQ3MES4Y.js} +20 -10
- package/dist/{chunk-DPEJN5GM.js → chunk-Y7ACQLH4.js} +10 -4
- package/dist/{chunk-4VGMZWJ2.js → chunk-YF4DILIQ.js} +1 -1
- package/dist/{chunk-IGVGBFT6.js → chunk-ZHEWPE46.js} +1 -1
- package/dist/{chunk-6OC3EASW.js → chunk-ZWCN6ASW.js} +2 -2
- package/dist/combobox/src/ComboBox.css +960 -684
- package/dist/combobox/src/ComboBox.js +25 -24
- package/dist/combobox/src/index.css +960 -684
- package/dist/combobox/src/index.js +25 -24
- package/dist/contextual-help/src/ContextualHelp.css +4438 -0
- package/dist/contextual-help/src/ContextualHelp.d.ts +40 -0
- package/dist/contextual-help/src/ContextualHelp.js +14 -0
- package/dist/contextual-help/src/ContextualHelpContext.d.ts +13 -0
- package/dist/contextual-help/src/ContextualHelpContext.js +2 -0
- package/dist/contextual-help/src/index.css +4438 -0
- package/dist/contextual-help/src/index.d.ts +10 -0
- package/dist/contextual-help/src/index.js +14 -0
- package/dist/disclosure/src/Disclosure.css +54 -47
- package/dist/disclosure/src/Disclosure.js +2 -2
- package/dist/disclosure/src/DisclosureHeader.css +61 -54
- package/dist/disclosure/src/DisclosureHeader.js +4 -3
- package/dist/disclosure/src/DisclosurePanel.css +54 -47
- package/dist/disclosure/src/DisclosurePanel.js +5 -5
- package/dist/disclosure/src/index.css +79 -72
- package/dist/disclosure/src/index.js +9 -9
- package/dist/divider/src/Divider.css +46 -39
- package/dist/divider/src/Divider.js +1 -1
- package/dist/divider/src/index.css +46 -39
- package/dist/divider/src/index.js +1 -1
- package/dist/error-message/src/ErrorMessage.css +46 -39
- package/dist/error-message/src/ErrorMessage.js +3 -3
- package/dist/error-message/src/index.css +46 -39
- package/dist/error-message/src/index.js +3 -3
- package/dist/form/src/Form.css +44 -37
- package/dist/form/src/Form.js +1 -1
- package/dist/form/src/index.css +44 -37
- package/dist/form/src/index.js +1 -1
- package/dist/header/src/Header.css +279 -0
- package/dist/header/src/Header.js +3 -1
- package/dist/header/src/HeaderContext.d.ts +13 -3
- package/dist/header/src/index.css +279 -0
- package/dist/header/src/index.d.ts +1 -1
- package/dist/header/src/index.js +3 -1
- package/dist/helper-message/src/HelperMessage.css +46 -39
- package/dist/helper-message/src/HelperMessage.js +3 -3
- package/dist/helper-message/src/index.css +46 -39
- package/dist/helper-message/src/index.js +3 -3
- package/dist/hopper-provider/src/HopperProvider.css +45 -38
- package/dist/hopper-provider/src/HopperProvider.js +1 -1
- package/dist/hopper-provider/src/index.css +45 -38
- package/dist/hopper-provider/src/index.js +1 -1
- package/dist/i18n/src/index.js +1 -1
- package/dist/i18n/src/useLocalizedString.js +1 -1
- package/dist/icon-list/src/IconList.css +45 -38
- package/dist/icon-list/src/IconList.js +1 -1
- package/dist/icon-list/src/index.css +45 -38
- package/dist/icon-list/src/index.js +1 -1
- package/dist/illustrated-message/src/IllustratedMessage.css +559 -279
- package/dist/illustrated-message/src/IllustratedMessage.js +2 -2
- package/dist/illustrated-message/src/index.css +559 -279
- package/dist/illustrated-message/src/index.js +2 -2
- package/dist/image/src/Image.css +47 -40
- package/dist/image/src/Image.js +3 -1
- package/dist/image/src/ImageContext.d.ts +13 -3
- package/dist/image/src/SvgImage.css +45 -38
- package/dist/image/src/SvgImage.js +1 -1
- package/dist/image/src/index.css +48 -41
- package/dist/image/src/index.d.ts +1 -1
- package/dist/image/src/index.js +4 -2
- package/dist/index.css +1397 -1044
- package/dist/index.d.ts +13 -7
- package/dist/index.js +124 -118
- package/dist/inputs/src/Input.css +48 -41
- package/dist/inputs/src/Input.js +1 -1
- package/dist/inputs/src/InputGroup.css +50 -43
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +74 -67
- package/dist/inputs/src/NumberField.js +12 -11
- package/dist/inputs/src/PasswordField.css +560 -280
- package/dist/inputs/src/PasswordField.js +12 -11
- package/dist/inputs/src/RemainingCharacterCount.css +47 -40
- package/dist/inputs/src/RemainingCharacterCount.js +4 -4
- package/dist/inputs/src/SearchField.css +566 -286
- package/dist/inputs/src/SearchField.js +13 -12
- package/dist/inputs/src/TextArea.css +71 -64
- package/dist/inputs/src/TextArea.js +11 -10
- package/dist/inputs/src/TextField.css +564 -284
- package/dist/inputs/src/TextField.js +16 -15
- package/dist/inputs/src/index.css +612 -332
- package/dist/inputs/src/index.js +22 -21
- package/dist/layout/src/Content.css +279 -0
- package/dist/layout/src/Content.js +3 -1
- package/dist/layout/src/ContentContext.d.ts +13 -3
- package/dist/layout/src/Footer.css +279 -0
- package/dist/layout/src/Footer.js +3 -1
- package/dist/layout/src/FooterContext.d.ts +13 -3
- package/dist/link/src/Link.css +83 -76
- package/dist/link/src/Link.js +4 -4
- package/dist/link/src/index.css +83 -76
- package/dist/link/src/index.js +4 -4
- package/dist/list-box/src/ListBox.css +318 -311
- package/dist/list-box/src/ListBox.js +10 -10
- package/dist/list-box/src/ListBoxItem.css +306 -299
- package/dist/list-box/src/ListBoxItem.js +7 -7
- package/dist/list-box/src/ListBoxItemSkeleton.css +51 -44
- package/dist/list-box/src/ListBoxItemSkeleton.js +1 -1
- package/dist/list-box/src/index.css +318 -311
- package/dist/list-box/src/index.js +11 -11
- package/dist/menu/src/Menu.css +885 -609
- package/dist/menu/src/Menu.js +4 -4
- package/dist/menu/src/MenuItem.css +123 -116
- package/dist/menu/src/MenuItem.js +3 -3
- package/dist/menu/src/MenuSection.css +46 -39
- package/dist/menu/src/MenuSection.js +1 -1
- package/dist/menu/src/index.css +910 -634
- package/dist/menu/src/index.js +9 -9
- package/dist/modal/src/BaseModal.css +59 -52
- package/dist/modal/src/BaseModal.js +1 -1
- package/dist/modal/src/CustomModal.css +60 -53
- package/dist/modal/src/CustomModal.js +2 -2
- package/dist/modal/src/Modal.css +607 -315
- package/dist/modal/src/Modal.js +12 -11
- package/dist/modal/src/index.css +608 -316
- package/dist/modal/src/index.js +14 -13
- package/dist/overlays/popover/src/Popover.css +877 -597
- package/dist/overlays/popover/src/Popover.js +2 -2
- package/dist/overlays/popover/src/PopoverBase.css +47 -44
- package/dist/overlays/popover/src/PopoverBase.js +1 -1
- package/dist/overlays/popover/src/index.css +880 -604
- package/dist/overlays/popover/src/index.js +3 -3
- package/dist/radio/src/DecorativeRadio.css +71 -64
- package/dist/radio/src/DecorativeRadio.js +4 -4
- package/dist/radio/src/Radio.css +63 -56
- package/dist/radio/src/Radio.js +4 -4
- package/dist/radio/src/RadioField.css +50 -43
- package/dist/radio/src/RadioField.js +3 -3
- package/dist/radio/src/RadioGroup.css +115 -108
- package/dist/radio/src/RadioGroup.js +10 -9
- package/dist/radio/src/index.css +115 -108
- package/dist/radio/src/index.js +15 -14
- package/dist/segmented-control/src/SegmentedControl.css +45 -38
- package/dist/segmented-control/src/SegmentedControl.js +1 -1
- package/dist/segmented-control/src/SegmentedControlItem.css +59 -52
- package/dist/segmented-control/src/SegmentedControlItem.js +3 -3
- package/dist/segmented-control/src/index.css +60 -53
- package/dist/segmented-control/src/index.js +4 -4
- package/dist/select/src/Select.css +904 -628
- package/dist/select/src/Select.js +23 -22
- package/dist/select/src/SelectValue.css +105 -98
- package/dist/select/src/SelectValue.js +4 -4
- package/dist/select/src/index.css +904 -628
- package/dist/select/src/index.js +23 -22
- package/dist/spinner/src/Spinner.css +54 -47
- package/dist/spinner/src/Spinner.js +3 -3
- package/dist/spinner/src/index.css +54 -47
- package/dist/spinner/src/index.js +3 -3
- package/dist/switch/src/Switch.css +60 -53
- package/dist/switch/src/Switch.js +4 -4
- package/dist/switch/src/SwitchField.css +50 -43
- package/dist/switch/src/SwitchField.js +4 -4
- package/dist/switch/src/index.css +66 -59
- package/dist/switch/src/index.js +6 -6
- package/dist/tabs/src/Tab.css +730 -450
- package/dist/tabs/src/Tab.js +4 -4
- package/dist/tabs/src/TabLine.css +46 -39
- package/dist/tabs/src/TabLine.js +1 -1
- package/dist/tabs/src/TabList.css +53 -46
- package/dist/tabs/src/TabList.js +2 -2
- package/dist/tabs/src/TabPanel.css +46 -39
- package/dist/tabs/src/TabPanel.js +1 -1
- package/dist/tabs/src/index.css +741 -461
- package/dist/tabs/src/index.js +7 -7
- package/dist/tag/src/Tag.css +708 -428
- package/dist/tag/src/Tag.js +10 -10
- package/dist/tag/src/TagGroup.css +54 -47
- package/dist/tag/src/TagGroup.js +9 -8
- package/dist/tag/src/index.css +718 -438
- package/dist/tag/src/index.js +15 -14
- package/dist/tile/src/Tile.css +53 -46
- package/dist/tile/src/Tile.js +3 -3
- package/dist/tile/src/TileGroup.css +45 -38
- package/dist/tile/src/TileGroup.js +2 -2
- package/dist/tile/src/index.css +54 -47
- package/dist/tile/src/index.js +5 -5
- package/dist/toggle-arrow/src/ToggleArrow.css +46 -39
- package/dist/toggle-arrow/src/ToggleArrow.js +1 -1
- package/dist/toggle-arrow/src/index.css +46 -39
- package/dist/toggle-arrow/src/index.js +1 -1
- package/dist/tooltip/src/Tooltip.css +54 -47
- package/dist/tooltip/src/Tooltip.js +4 -4
- package/dist/tooltip/src/TooltipTrigger.css +44 -37
- package/dist/tooltip/src/TooltipTrigger.js +2 -2
- package/dist/tooltip/src/index.css +54 -47
- package/dist/tooltip/src/index.js +7 -7
- package/dist/typography/heading/src/Heading.css +44 -37
- package/dist/typography/heading/src/Heading.js +3 -1
- package/dist/typography/heading/src/HeadingContext.d.ts +13 -3
- package/dist/typography/heading/src/index.css +44 -37
- package/dist/typography/heading/src/index.d.ts +1 -1
- package/dist/typography/heading/src/index.js +3 -1
- package/dist/typography/label/src/FieldLabel.css +279 -0
- package/dist/typography/label/src/FieldLabel.d.ts +30 -0
- package/dist/typography/label/src/FieldLabel.js +8 -0
- package/dist/typography/label/src/Label.css +52 -45
- package/dist/typography/label/src/Label.d.ts +0 -10
- package/dist/typography/label/src/Label.js +1 -4
- package/dist/typography/label/src/LabelContext.d.ts +1 -3
- package/dist/typography/label/src/index.css +44 -37
- package/dist/typography/label/src/index.d.ts +4 -2
- package/dist/typography/label/src/index.js +4 -3
- package/dist/typography/overline-text/src/OverlineText.css +44 -37
- package/dist/typography/overline-text/src/OverlineText.js +1 -1
- package/dist/typography/overline-text/src/index.css +44 -37
- package/dist/typography/overline-text/src/index.js +1 -1
- package/dist/typography/paragraph/src/Paragraph.css +44 -37
- package/dist/typography/paragraph/src/Paragraph.js +3 -3
- package/dist/typography/paragraph/src/index.css +44 -37
- package/dist/typography/paragraph/src/index.js +3 -3
- package/dist/typography/text/src/Text.css +44 -37
- package/dist/typography/text/src/Text.js +2 -2
- package/dist/typography/text/src/index.css +44 -37
- package/dist/typography/text/src/index.js +2 -2
- package/dist/utils/src/ClearSlots.css +44 -37
- package/dist/utils/src/ClearSlots.d.ts +1 -2
- package/dist/utils/src/ClearSlots.js +1 -1
- package/dist/utils/src/EnsureTextWrapper.css +44 -37
- package/dist/utils/src/EnsureTextWrapper.js +3 -3
- package/dist/utils/src/index.css +44 -37
- package/dist/utils/src/index.d.ts +2 -1
- package/dist/utils/src/index.js +5 -4
- package/dist/utils/src/types.d.ts +4 -0
- package/dist/utils/src/useProgressVisibility.d.ts +3 -0
- package/dist/utils/src/useProgressVisibility.js +2 -0
- package/package.json +2 -2
- package/dist/chunk-LUQYZSMV.js +0 -121
- package/dist/{chunk-DCO4XGBI.js → chunk-DAF2CRGN.js} +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
3
3
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
4
|
-
import { ensureTextWrapper } from './chunk-
|
|
5
|
-
import { ClearContainerSlots } from './chunk-
|
|
4
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
5
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
6
6
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.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___TZCQR Checkbox-module__hop-Checkbox___5v0b4", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___WAN3J Checkbox-module__hop-Checkbox--sm___dSQOY", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___ycopn Checkbox-module__hop-Checkbox--md___TOu-C", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___HP7Ir Checkbox-module__hop-Checkbox__icon___nd2aw", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___TV-j- Checkbox-module__hop-Checkbox__icon___nd2aw", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___aQDXk Checkbox-module__hop-Checkbox__box___jxojt", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___EYvRS Checkbox-module__hop-Checkbox__check___AxXm6", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___db9bV Checkbox-module__hop-Checkbox__text___RWv7Z" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -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___yo8ku" };
|
|
12
12
|
var GlobalSegmentedControlCssSelector = "hop-SegmentedControl";
|
|
13
13
|
var SegmentedControl = (props, ref) => {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, SegmentedControlContext);
|
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
import { LabelContext } from './chunk-YVCZUIU3.js';
|
|
2
|
-
import { useFormProps } from './chunk-4V3BBI6M.js';
|
|
3
|
-
import { useLocalizedString } from './chunk-75DHKNW2.js';
|
|
4
2
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
3
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
6
4
|
import { filterDOMProps } from '@react-aria/utils';
|
|
7
5
|
import clsx from 'clsx';
|
|
8
6
|
import { forwardRef } from 'react';
|
|
9
7
|
import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
10
|
-
import { jsx
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
11
9
|
|
|
12
10
|
// css-module:./Label.module.css#css-module
|
|
13
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
11
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___x-D7q" };
|
|
14
12
|
var GlobalLabelCssSelector = "hop-Label";
|
|
15
13
|
function Label(props, ref) {
|
|
16
14
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
17
|
-
props = useFormProps(props);
|
|
18
15
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
19
16
|
const {
|
|
20
17
|
className,
|
|
21
18
|
children,
|
|
22
19
|
slot,
|
|
23
20
|
style,
|
|
24
|
-
isRequired,
|
|
25
|
-
necessityIndicator,
|
|
26
21
|
...otherProps
|
|
27
22
|
} = ownProps;
|
|
28
|
-
const stringFormatter = useLocalizedString();
|
|
29
23
|
const classNames = clsx(
|
|
30
24
|
className,
|
|
31
25
|
GlobalLabelCssSelector,
|
|
@@ -39,18 +33,8 @@ function Label(props, ref) {
|
|
|
39
33
|
...stylingProps.style,
|
|
40
34
|
...style
|
|
41
35
|
};
|
|
42
|
-
const necessityLabel = isRequired ? stringFormatter.format("Label.necessityLabel.required") : stringFormatter.format("Label.necessityLabel.optional");
|
|
43
|
-
const requiredIndicator = /* @__PURE__ */ jsx(
|
|
44
|
-
"span",
|
|
45
|
-
{
|
|
46
|
-
"aria-hidden": "true",
|
|
47
|
-
"aria-label": necessityLabel,
|
|
48
|
-
className: Label_module_default["hop-Label__indicator"],
|
|
49
|
-
children: "*"
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
36
|
const filteredProps = filterDOMProps(otherProps, { labelable: true });
|
|
53
|
-
return /* @__PURE__ */
|
|
37
|
+
return /* @__PURE__ */ jsx(
|
|
54
38
|
Label$1,
|
|
55
39
|
{
|
|
56
40
|
ref,
|
|
@@ -58,15 +42,7 @@ function Label(props, ref) {
|
|
|
58
42
|
slot: slot || void 0,
|
|
59
43
|
style: mergedStyles,
|
|
60
44
|
...filteredProps,
|
|
61
|
-
children
|
|
62
|
-
children,
|
|
63
|
-
necessityIndicator === "label" && !isRequired && /* @__PURE__ */ jsxs("span", { className: Label_module_default["hop-Label__label-indicator"], children: [
|
|
64
|
-
" (",
|
|
65
|
-
necessityLabel,
|
|
66
|
-
")"
|
|
67
|
-
] }),
|
|
68
|
-
necessityIndicator === "asterisk" && isRequired && requiredIndicator
|
|
69
|
-
]
|
|
45
|
+
children
|
|
70
46
|
}
|
|
71
47
|
);
|
|
72
48
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { _Tooltip } from './chunk-7K3TKE2R.js';
|
|
2
|
+
import { TooltipTrigger } from './chunk-DAF2CRGN.js';
|
|
3
3
|
import { AvatarGroupContext } from './chunk-G7F2YUBR.js';
|
|
4
4
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
6
6
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
7
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
8
8
|
import clsx from 'clsx';
|
|
@@ -11,7 +11,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./AvatarGroup.module.css#css-module
|
|
14
|
-
var AvatarGroup_module_default = { "hop-AvatarGroup": "AvatarGroup-module__hop-
|
|
14
|
+
var AvatarGroup_module_default = { "hop-AvatarGroup": "AvatarGroup-module__hop-AvatarGroup___OnxWJ", "hop-AvatarGroup--wrap": "AvatarGroup-module__hop-AvatarGroup--wrap___4--rv", "hop-AvatarGroup--xs": "AvatarGroup-module__hop-AvatarGroup--xs___L8mre", "hop-AvatarGroup--sm": "AvatarGroup-module__hop-AvatarGroup--sm___UjcIm", "hop-AvatarGroup--md": "AvatarGroup-module__hop-AvatarGroup--md___sBcpK", "hop-AvatarGroup--lg": "AvatarGroup-module__hop-AvatarGroup--lg___7YAak", "hop-AvatarGroup--xl": "AvatarGroup-module__hop-AvatarGroup--xl___nbZIy", "hop-AvatarGroup--2xl": "AvatarGroup-module__hop-AvatarGroup--2xl___ljxbT", "hop-AvatarGroup__avatar": "AvatarGroup-module__hop-AvatarGroup__avatar___O46a5", "hop-AvatarGroup__label": "AvatarGroup-module__hop-AvatarGroup__label___fbjFq", "hop-AvatarGroup__hiddenAvatar": "AvatarGroup-module__hop-AvatarGroup__hiddenAvatar___fFImk", "hop-AvatarGroup--start": "AvatarGroup-module__hop-AvatarGroup--start___rucz5", "hop-AvatarGroup--end": "AvatarGroup-module__hop-AvatarGroup--end___9n-g7", "hop-AvatarGroup--center": "AvatarGroup-module__hop-AvatarGroup--center___KbbSx" };
|
|
15
15
|
var GlobalAvatarGroupCssSelector = "hop-AvatarGroup";
|
|
16
16
|
function AvatarGroup(props, ref) {
|
|
17
17
|
var _a, _b, _c, _d;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _Text } from './chunk-
|
|
1
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
2
2
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
3
|
import { useResponsiveValue } from '@hopper-ui/styled-system';
|
|
4
4
|
import clsx from 'clsx';
|
|
@@ -6,7 +6,7 @@ import { forwardRef } from 'react';
|
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
// css-module:./Paragraph.module.css#css-module
|
|
9
|
-
var Paragraph_module_default = { "hop-Paragraph": "Paragraph-module__hop-
|
|
9
|
+
var Paragraph_module_default = { "hop-Paragraph": "Paragraph-module__hop-Paragraph___HpT17", "hop-Paragraph--xs": "Paragraph-module__hop-Paragraph--xs___DXGDe", "hop-Paragraph--sm": "Paragraph-module__hop-Paragraph--sm___qshKm", "hop-Paragraph--md": "Paragraph-module__hop-Paragraph--md___UEgGX", "hop-Paragraph--lg": "Paragraph-module__hop-Paragraph--lg___EvhSs", "hop-Paragraph--xl": "Paragraph-module__hop-Paragraph--xl___X9E7u", "hop-Paragraph--2xl": "Paragraph-module__hop-Paragraph--2xl___MYUu5", "hop-Paragraph--inherit": "Paragraph-module__hop-Paragraph--inherit___IZyrO" };
|
|
10
10
|
var GlobalParagraphCssSelector = "hop-Paragraph";
|
|
11
11
|
function Paragraph(props, ref) {
|
|
12
12
|
const { size: sizeProp, className, children, ...otherProps } = props;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { SelectContext } from './chunk-ZOTXNUAV.js';
|
|
2
|
-
import { _SelectValue } from './chunk-
|
|
3
|
-
import { _Popover } from './chunk-
|
|
4
|
-
import { _ListBox } from './chunk-VE63YOPC.js';
|
|
5
|
-
import { _ListBoxItem } from './chunk-FCWARLFN.js';
|
|
2
|
+
import { _SelectValue } from './chunk-KIXYAIPB.js';
|
|
3
|
+
import { _Popover } from './chunk-I377K7IX.js';
|
|
6
4
|
import { _ListBoxSection } from './chunk-PN5BRTOO.js';
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
5
|
+
import { _ListBox } from './chunk-HF5YS5Z6.js';
|
|
6
|
+
import { _ListBoxItem } from './chunk-NNPOWTQ4.js';
|
|
7
|
+
import { _Footer } from './chunk-RN3FLBX4.js';
|
|
8
|
+
import { _ToggleArrow } from './chunk-PWYDH3ZA.js';
|
|
9
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
10
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
11
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
12
12
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
13
|
-
import { useFormProps } from './chunk-
|
|
14
|
-
import { ensureTextWrapper } from './chunk-
|
|
15
|
-
import { ClearContainerSlots, ClearProviders } from './chunk-
|
|
13
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
14
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
15
|
+
import { ClearContainerSlots, ClearProviders } from './chunk-PQSMCDAM.js';
|
|
16
16
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
17
17
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
18
18
|
import { SlotProvider } from './chunk-M36KANKC.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___116Oi", "hop-Select--fluid": "Select-module__hop-Select--fluid___UJisd", "hop-Select__label": "Select-module__hop-Select__label___PsZQN", "hop-Select__button": "Select-module__hop-Select__button___xgLzx", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___Yjtma", "hop-Select__button--md": "Select-module__hop-Select__button--md___QJTBN", "hop-Select__prefix": "Select-module__hop-Select__prefix___Yhern", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___fxUm8", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___FX16H", "hop-Select__error-message": "Select-module__hop-Select__error-message___no2FB" };
|
|
28
28
|
var GlobalSelectCssSelector = "hop-Select";
|
|
29
29
|
function Select(props, ref) {
|
|
30
30
|
var _a, _b, _c, _d;
|
|
@@ -35,6 +35,7 @@ function Select(props, ref) {
|
|
|
35
35
|
align: alignProp,
|
|
36
36
|
className,
|
|
37
37
|
children,
|
|
38
|
+
contextualHelp,
|
|
38
39
|
description,
|
|
39
40
|
direction: directionProp,
|
|
40
41
|
errorMessage,
|
|
@@ -144,10 +145,11 @@ function Select(props, ref) {
|
|
|
144
145
|
children: (selectRenderProps) => {
|
|
145
146
|
const { isOpen } = selectRenderProps;
|
|
146
147
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
147
|
-
|
|
148
|
-
|
|
148
|
+
/* @__PURE__ */ jsx(
|
|
149
|
+
FieldLabel,
|
|
149
150
|
{
|
|
150
151
|
className: Select_module_default["hop-Select__label"],
|
|
152
|
+
contextualHelp,
|
|
151
153
|
isRequired,
|
|
152
154
|
necessityIndicator,
|
|
153
155
|
children: label
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { InternalTagGroupContext } from './chunk-4BWTFR22.js';
|
|
2
2
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
4
|
-
import { mapOrbiterToHopperVariants } from './chunk-
|
|
3
|
+
import { _ClearButton } from './chunk-KN6OG3WN.js';
|
|
4
|
+
import { mapOrbiterToHopperVariants } from './chunk-UGZYYO3T.js';
|
|
5
5
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
6
6
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
7
7
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
8
|
-
import {
|
|
8
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
9
|
+
import { _Spinner } from './chunk-WEKPO5YP.js';
|
|
9
10
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { ClearContainerSlots } from './chunk-WJ55ZV54.js';
|
|
11
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
12
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
13
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
14
14
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
15
15
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
16
16
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -25,7 +25,7 @@ import { useContextProps, composeRenderProps, Tag as Tag$1 } from 'react-aria-co
|
|
|
25
25
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
26
26
|
|
|
27
27
|
// css-module:./Tag.module.css#css-module
|
|
28
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
28
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___p19kx", "hop-Tag--sm": "Tag-module__hop-Tag--sm___xdeYI", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___7pFJ5", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___01iia", "hop-Tag__avatar": "Tag-module__hop-Tag__avatar___Zy7oa", "hop-Tag--md": "Tag-module__hop-Tag--md___154uo", "hop-Tag--lg": "Tag-module__hop-Tag--lg___APvIM", "hop-Tag--neutral": "Tag-module__hop-Tag--neutral___uPLBe", "hop-Tag--subdued": "Tag-module__hop-Tag--subdued___iq5Ll", "hop-Tag--progress": "Tag-module__hop-Tag--progress___Y11uF", "hop-Tag--positive": "Tag-module__hop-Tag--positive___BJ09j", "hop-Tag--caution": "Tag-module__hop-Tag--caution___AVtUG", "hop-Tag--negative": "Tag-module__hop-Tag--negative___IvUAG", "hop-Tag--option1": "Tag-module__hop-Tag--option1___Re2Wq", "hop-Tag--option2": "Tag-module__hop-Tag--option2___JxfDq", "hop-Tag--option3": "Tag-module__hop-Tag--option3___V74s2", "hop-Tag--option4": "Tag-module__hop-Tag--option4___ceysz", "hop-Tag--option5": "Tag-module__hop-Tag--option5___XUOwe", "hop-Tag--option6": "Tag-module__hop-Tag--option6___OulRe", "hop-Tag__icon": "Tag-module__hop-Tag__icon___KYxYR", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___zD4G0", "hop-Tag__text": "Tag-module__hop-Tag__text___U8szS", "hop-Tag__badge": "Tag-module__hop-Tag__badge___mqvm3", "hop-Tag__badge--subdued": "Tag-module__hop-Tag__badge--subdued___XlE86" };
|
|
29
29
|
var GlobalTagCssSelector = "hop-Tag";
|
|
30
30
|
var TagToTextSizeAdapter = {
|
|
31
31
|
sm: "xs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ErrorMessageContext } from './chunk-FV74YT2D.js';
|
|
2
2
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
3
|
-
import { _Text } from './chunk-
|
|
3
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { WarningIcon } from '@hopper-ui/icons';
|
|
@@ -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___V-yBH", "hop-ErrorMessage__icon": "ErrorMessage-module__hop-ErrorMessage__icon___DIRtx" };
|
|
14
14
|
var GlobalErrorMessageCssSelector = "hop-ErrorMessage";
|
|
15
15
|
function ErrorMessage(props, ref) {
|
|
16
16
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
|
-
import { useFormProps } from './chunk-
|
|
5
|
-
import { _Text } from './chunk-
|
|
6
|
-
import { ClearContainerSlots } from './chunk-
|
|
4
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
5
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
6
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.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___Moz--", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___WFkN2", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___0I29B", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___FQ5t0", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___hNlqN" };
|
|
19
19
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
20
20
|
var CheckboxToDescriptionSizeAdapter = {
|
|
21
21
|
sm: "xs",
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { _Label } from './chunk-BD2ZOQJW.js';
|
|
2
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
3
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
4
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
|
+
import { useStyledSystem, Div } from '@hopper-ui/styled-system';
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
|
+
|
|
9
|
+
// css-module:./FieldLabel.module.css#css-module
|
|
10
|
+
var FieldLabel_module_default = { "hop-FieldLabel__wrapper": "FieldLabel-module__hop-FieldLabel__wrapper___VGoF6", "hop-FieldLabel__indicator": "FieldLabel-module__hop-FieldLabel__indicator___fp8NS" };
|
|
11
|
+
var GlobalFieldLabelCssSelector = "hop-FieldLabel";
|
|
12
|
+
function FieldLabel(props) {
|
|
13
|
+
props = useFormProps(props);
|
|
14
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
15
|
+
const stringFormatter = useLocalizedString();
|
|
16
|
+
const {
|
|
17
|
+
className,
|
|
18
|
+
children,
|
|
19
|
+
style,
|
|
20
|
+
contextualHelp,
|
|
21
|
+
isRequired,
|
|
22
|
+
necessityIndicator,
|
|
23
|
+
wrapperProps,
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const classNames = clsx(
|
|
27
|
+
className,
|
|
28
|
+
GlobalFieldLabelCssSelector,
|
|
29
|
+
cssModule(
|
|
30
|
+
FieldLabel_module_default,
|
|
31
|
+
GlobalFieldLabelCssSelector
|
|
32
|
+
),
|
|
33
|
+
stylingProps.className
|
|
34
|
+
);
|
|
35
|
+
const mergedStyles = {
|
|
36
|
+
...stylingProps.style,
|
|
37
|
+
...style
|
|
38
|
+
};
|
|
39
|
+
if (!children) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
const necessityLabel = isRequired ? stringFormatter.format("FieldLabel.necessityLabel.required") : stringFormatter.format("FieldLabel.necessityLabel.optional");
|
|
43
|
+
const requiredIndicator = /* @__PURE__ */ jsx("span", { "aria-hidden": "true", "aria-label": necessityLabel, className: FieldLabel_module_default["hop-FieldLabel__indicator"], children: "*" });
|
|
44
|
+
const label = /* @__PURE__ */ jsxs(
|
|
45
|
+
_Label,
|
|
46
|
+
{
|
|
47
|
+
...otherProps,
|
|
48
|
+
className: classNames,
|
|
49
|
+
style: mergedStyles,
|
|
50
|
+
children: [
|
|
51
|
+
children,
|
|
52
|
+
necessityIndicator === "label" && !isRequired && /* @__PURE__ */ jsxs("span", { children: [
|
|
53
|
+
" (",
|
|
54
|
+
necessityLabel,
|
|
55
|
+
")"
|
|
56
|
+
] }),
|
|
57
|
+
necessityIndicator === "asterisk" && isRequired && requiredIndicator
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
if (!contextualHelp) {
|
|
62
|
+
return label;
|
|
63
|
+
}
|
|
64
|
+
return /* @__PURE__ */ jsxs(Div, { className: clsx(wrapperProps == null ? void 0 : wrapperProps.className, FieldLabel_module_default["hop-FieldLabel__wrapper"]), children: [
|
|
65
|
+
label,
|
|
66
|
+
contextualHelp
|
|
67
|
+
] });
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { FieldLabel, GlobalFieldLabelCssSelector };
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { ToggleButtonContext } from './chunk-BYERWFG4.js';
|
|
2
|
+
import { useProgressVisibility } from './chunk-HZTYQ5FQ.js';
|
|
3
|
+
import { _Spinner } from './chunk-WEKPO5YP.js';
|
|
4
|
+
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
5
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
6
|
+
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
7
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
8
|
+
import { ClearProviders } from './chunk-PQSMCDAM.js';
|
|
9
|
+
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
10
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
12
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
13
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
14
|
+
import clsx from 'clsx';
|
|
15
|
+
import { forwardRef } from 'react';
|
|
16
|
+
import { useContextProps, composeRenderProps, ToggleButton as ToggleButton$1, DEFAULT_SLOT } from 'react-aria-components';
|
|
17
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
|
+
|
|
19
|
+
// css-module:./ToggleButton.module.css#css-module
|
|
20
|
+
var ToggleButton_module_default = { "hop-ToggleButton": "ToggleButton-module__hop-ToggleButton___oE-c4", "hop-ToggleButton--fluid": "ToggleButton-module__hop-ToggleButton--fluid___tjNCt", "hop-ToggleButton--sm": "ToggleButton-module__hop-ToggleButton--sm___3FzX2", "hop-ToggleButton--icon-only": "ToggleButton-module__hop-ToggleButton--icon-only___sdnLP", "hop-ToggleButton--primary": "ToggleButton-module__hop-ToggleButton--primary___j98yk", "hop-ToggleButton--secondary": "ToggleButton-module__hop-ToggleButton--secondary___8WysN", "hop-ToggleButton--upsell": "ToggleButton-module__hop-ToggleButton--upsell___Op-iH", "hop-ToggleButton--tertiary": "ToggleButton-module__hop-ToggleButton--tertiary___YiTR9", "hop-ToggleButton--loading": "ToggleButton-module__hop-ToggleButton--loading___l26Nv", "hop-ToggleButton__Spinner": "ToggleButton-module__hop-ToggleButton__Spinner___eTDKR", "hop-ToggleButton__icon": "ToggleButton-module__hop-ToggleButton__icon___9MF68", "hop-ToggleButton__icon-list": "ToggleButton-module__hop-ToggleButton__icon-list___36wAy", "hop-ToggleButton__text": "ToggleButton-module__hop-ToggleButton__text___dDxdD", "hop-ToggleButton__end-icon": "ToggleButton-module__hop-ToggleButton__end-icon___kTzUI", "hop-ToggleButton__end-icon-list": "ToggleButton-module__hop-ToggleButton__end-icon-list___OooWy" };
|
|
21
|
+
var GlobalToggleButtonCssSelector = "hop-ToggleButton";
|
|
22
|
+
function ToggleButton(props, ref) {
|
|
23
|
+
[props, ref] = useContextProps(props, ref, ToggleButtonContext);
|
|
24
|
+
const stringFormatter = useLocalizedString();
|
|
25
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
26
|
+
const [textRef, hasText] = useSlot();
|
|
27
|
+
const {
|
|
28
|
+
className,
|
|
29
|
+
children: childrenProp,
|
|
30
|
+
size: sizeProp,
|
|
31
|
+
style,
|
|
32
|
+
slot,
|
|
33
|
+
clearContexts,
|
|
34
|
+
isFluid,
|
|
35
|
+
isHidden,
|
|
36
|
+
isLoading,
|
|
37
|
+
spinnerProps,
|
|
38
|
+
variant = "primary",
|
|
39
|
+
...otherProps
|
|
40
|
+
} = ownProps;
|
|
41
|
+
const isProgressVisible = useProgressVisibility(isLoading);
|
|
42
|
+
const size = useResponsiveValue(sizeProp) || "md";
|
|
43
|
+
if (isHidden) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
const classNames = clsx(
|
|
47
|
+
GlobalToggleButtonCssSelector,
|
|
48
|
+
cssModule(
|
|
49
|
+
ToggleButton_module_default,
|
|
50
|
+
GlobalToggleButtonCssSelector,
|
|
51
|
+
variant,
|
|
52
|
+
size,
|
|
53
|
+
isFluid && "fluid",
|
|
54
|
+
isProgressVisible && "loading",
|
|
55
|
+
!hasText && "icon-only"
|
|
56
|
+
),
|
|
57
|
+
stylingProps.className,
|
|
58
|
+
className
|
|
59
|
+
);
|
|
60
|
+
const mergedStyles = {
|
|
61
|
+
...style,
|
|
62
|
+
...stylingProps.style
|
|
63
|
+
};
|
|
64
|
+
if (!hasText && (!props["aria-label"] && !props["aria-labelledby"])) {
|
|
65
|
+
console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
66
|
+
}
|
|
67
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
68
|
+
return ensureTextWrapper(prev);
|
|
69
|
+
});
|
|
70
|
+
const { className: spinnerClassName, ...otherSpinnerProps } = spinnerProps != null ? spinnerProps : {};
|
|
71
|
+
const spinnerClassNames = clsx(ToggleButton_module_default["hop-ToggleButton__Spinner"], spinnerClassName);
|
|
72
|
+
return /* @__PURE__ */ jsx(ClearProviders, { values: clearContexts, children: /* @__PURE__ */ jsx(
|
|
73
|
+
SlotProvider,
|
|
74
|
+
{
|
|
75
|
+
values: [
|
|
76
|
+
[IconListContext, {
|
|
77
|
+
slots: {
|
|
78
|
+
[DEFAULT_SLOT]: {
|
|
79
|
+
size,
|
|
80
|
+
className: ToggleButton_module_default["hop-ToggleButton__icon-list"]
|
|
81
|
+
},
|
|
82
|
+
"end-icon": {
|
|
83
|
+
size,
|
|
84
|
+
className: ToggleButton_module_default["hop-ToggleButton__end-icon-list"]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}],
|
|
88
|
+
[IconContext, {
|
|
89
|
+
slots: {
|
|
90
|
+
[DEFAULT_SLOT]: {
|
|
91
|
+
size,
|
|
92
|
+
className: ToggleButton_module_default["hop-ToggleButton__icon"]
|
|
93
|
+
},
|
|
94
|
+
"end-icon": {
|
|
95
|
+
size,
|
|
96
|
+
className: ToggleButton_module_default["hop-ToggleButton__end-icon"]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}],
|
|
100
|
+
[TextContext, {
|
|
101
|
+
className: ToggleButton_module_default["hop-ToggleButton__text"],
|
|
102
|
+
size,
|
|
103
|
+
ref: textRef
|
|
104
|
+
}]
|
|
105
|
+
],
|
|
106
|
+
children: /* @__PURE__ */ jsx(
|
|
107
|
+
ToggleButton$1,
|
|
108
|
+
{
|
|
109
|
+
ref,
|
|
110
|
+
className: classNames,
|
|
111
|
+
style: mergedStyles,
|
|
112
|
+
slot: slot != null ? slot : void 0,
|
|
113
|
+
isDisabled: isLoading,
|
|
114
|
+
...otherProps,
|
|
115
|
+
children: (buttonRenderProps) => {
|
|
116
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
117
|
+
children(buttonRenderProps),
|
|
118
|
+
isProgressVisible && /* @__PURE__ */ jsx(
|
|
119
|
+
_Spinner,
|
|
120
|
+
{
|
|
121
|
+
"aria-label": stringFormatter.format("Button.spinnerAriaLabel"),
|
|
122
|
+
size,
|
|
123
|
+
className: spinnerClassNames,
|
|
124
|
+
...otherSpinnerProps
|
|
125
|
+
}
|
|
126
|
+
)
|
|
127
|
+
] });
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
)
|
|
131
|
+
}
|
|
132
|
+
) });
|
|
133
|
+
}
|
|
134
|
+
var _ToggleButton = forwardRef(ToggleButton);
|
|
135
|
+
_ToggleButton.displayName = "ToggleButton";
|
|
136
|
+
|
|
137
|
+
export { GlobalToggleButtonCssSelector, _ToggleButton };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
2
|
+
import { ClearProviders } from './chunk-PQSMCDAM.js';
|
|
2
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
3
4
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
4
5
|
import clsx from 'clsx';
|
|
@@ -7,13 +8,16 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
7
8
|
import { jsx } from 'react/jsx-runtime';
|
|
8
9
|
|
|
9
10
|
// css-module:./Heading.module.css#css-module
|
|
10
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
11
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___EG00A", "hop-Heading--xs": "Heading-module__hop-Heading--xs___xNucC", "hop-Heading--sm": "Heading-module__hop-Heading--sm___05Byx", "hop-Heading--md": "Heading-module__hop-Heading--md___7vlXO", "hop-Heading--lg": "Heading-module__hop-Heading--lg___-iM4S", "hop-Heading--xl": "Heading-module__hop-Heading--xl___YiFxf", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___sLtGX", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___L3BmC" };
|
|
11
12
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
12
13
|
function Heading(props, ref) {
|
|
13
14
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
14
15
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
15
|
-
const { className, size: sizeProp, children, style, ...otherProps } = ownProps;
|
|
16
|
+
const { className, size: sizeProp, children, style, isHidden, clearContexts, ...otherProps } = ownProps;
|
|
16
17
|
const size = useResponsiveValue(sizeProp != null ? sizeProp : "md");
|
|
18
|
+
if (isHidden) {
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
17
21
|
const classNames = clsx(
|
|
18
22
|
GlobalHeadingCssSelector,
|
|
19
23
|
cssModule(
|
|
@@ -28,7 +32,7 @@ function Heading(props, ref) {
|
|
|
28
32
|
...stylingProps.style,
|
|
29
33
|
...style
|
|
30
34
|
};
|
|
31
|
-
return /* @__PURE__ */ jsx(
|
|
35
|
+
return /* @__PURE__ */ jsx(ClearProviders, { values: clearContexts, children: /* @__PURE__ */ jsx(
|
|
32
36
|
Heading$1,
|
|
33
37
|
{
|
|
34
38
|
ref,
|
|
@@ -37,7 +41,7 @@ function Heading(props, ref) {
|
|
|
37
41
|
...otherProps,
|
|
38
42
|
children
|
|
39
43
|
}
|
|
40
|
-
);
|
|
44
|
+
) });
|
|
41
45
|
}
|
|
42
46
|
var _Heading = slot("heading", forwardRef(Heading));
|
|
43
47
|
_Heading.displayName = "Heading";
|
|
@@ -5,7 +5,7 @@ import { MenuSection as MenuSection$1 } from 'react-aria-components';
|
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
// css-module:./MenuSection.module.css#css-module
|
|
8
|
-
var MenuSection_module_default = { "hop-MenuSection": "MenuSection-module__hop-
|
|
8
|
+
var MenuSection_module_default = { "hop-MenuSection": "MenuSection-module__hop-MenuSection___asqc2" };
|
|
9
9
|
var GlobalMenuSectionCssSelector = "hop-MenuSection";
|
|
10
10
|
function MenuSection(props) {
|
|
11
11
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
@@ -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___uqriG", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___QC4h8" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
2
|
-
import { _Label } from './chunk-Q5UDUQNS.js';
|
|
3
|
-
import { _HelperMessage } from './chunk-CFBDROF2.js';
|
|
4
|
-
import { _ErrorMessage } from './chunk-H7EN3SVB.js';
|
|
5
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
|
+
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
3
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
6
6
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
7
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 }
|
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./CheckboxGroup.module.css#css-module
|
|
18
|
-
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-
|
|
18
|
+
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-CheckboxGroup___FPWi2", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___eaDJ-", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___vIgLP", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___XAwZY", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___5XiPD", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___CDciU", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___0tf6w", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___fx1ES", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___JhiB-" };
|
|
19
19
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
20
20
|
function CheckboxGroup(props, ref) {
|
|
21
21
|
var _a, _b, _c;
|
|
@@ -26,6 +26,7 @@ function CheckboxGroup(props, ref) {
|
|
|
26
26
|
const {
|
|
27
27
|
className,
|
|
28
28
|
children: childrenProp,
|
|
29
|
+
contextualHelp,
|
|
29
30
|
description,
|
|
30
31
|
errorMessage,
|
|
31
32
|
isDisabled,
|
|
@@ -111,10 +112,11 @@ function CheckboxGroup(props, ref) {
|
|
|
111
112
|
"data-orientation": orientation,
|
|
112
113
|
...otherProps,
|
|
113
114
|
children: (checkboxGroupRenderProps) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
/* @__PURE__ */ jsx(
|
|
116
|
+
FieldLabel,
|
|
116
117
|
{
|
|
117
118
|
className: CheckboxGroup_module_default["hop-CheckboxGroup__label"],
|
|
119
|
+
contextualHelp,
|
|
118
120
|
isRequired,
|
|
119
121
|
necessityIndicator,
|
|
120
122
|
children: label
|