@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,12 +1,12 @@
|
|
|
1
1
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import { _HelperMessage } from './chunk-
|
|
6
|
-
import { _ErrorMessage } from './chunk-
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
8
|
-
import { ensureTextWrapper } from './chunk-
|
|
9
|
-
import { ClearContainerSlots } from './chunk-
|
|
2
|
+
import { Input } from './chunk-5MNBACCS.js';
|
|
3
|
+
import { _InputGroup } from './chunk-URTTLQAC.js';
|
|
4
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
7
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
8
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
9
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
10
10
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
11
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
12
12
|
import { SlotProvider } from './chunk-M36KANKC.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___bgUbS", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___Ss9t7", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___mL-RC", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___AH0o-", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___hXoqN", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___I3-zK", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___4JUMO", "hop-NumberField__steppers": "NumberField-module__hop-NumberField__steppers___7-fEN", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___tEqC6", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___KWUDA", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___0hA-T", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___fC06A", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___U4h8z" };
|
|
26
26
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
27
27
|
var StepperButton = ({ direction }) => {
|
|
28
28
|
const StepperIcon = direction === "increment" ? AngleUpIcon : AngleDownIcon;
|
|
@@ -60,6 +60,7 @@ function NumberField(props, ref) {
|
|
|
60
60
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
61
61
|
const {
|
|
62
62
|
className,
|
|
63
|
+
contextualHelp,
|
|
63
64
|
style: styleProp,
|
|
64
65
|
size,
|
|
65
66
|
prefix,
|
|
@@ -130,7 +131,16 @@ function NumberField(props, ref) {
|
|
|
130
131
|
}
|
|
131
132
|
) });
|
|
132
133
|
const childrenMarkup = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
133
|
-
|
|
134
|
+
/* @__PURE__ */ jsx(
|
|
135
|
+
FieldLabel,
|
|
136
|
+
{
|
|
137
|
+
className: NumberField_module_default["hop-NumberField__Label"],
|
|
138
|
+
contextualHelp,
|
|
139
|
+
isRequired,
|
|
140
|
+
necessityIndicator,
|
|
141
|
+
children: label
|
|
142
|
+
}
|
|
143
|
+
),
|
|
134
144
|
inputMarkup,
|
|
135
145
|
description && /* @__PURE__ */ jsx(_HelperMessage, { className: NumberField_module_default["hop-NumberField__HelperMessage"], children: description }),
|
|
136
146
|
/* @__PURE__ */ jsx(_ErrorMessage, { className: NumberField_module_default["hop-NumberField__ErrorMessage"], children: errorMessage })
|
|
@@ -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___SQ1Kz" };
|
|
11
11
|
var GlobalSvgImageCssSelector = "hop-SvgImage";
|
|
12
12
|
function SvgImage(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, SvgImageContext);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
2
1
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
3
|
-
import { _RemainingCharacterCount } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
2
|
+
import { _RemainingCharacterCount } from './chunk-Q4BKNDZD.js';
|
|
3
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
4
|
+
import { Input } from './chunk-5MNBACCS.js';
|
|
5
|
+
import { _InputGroup } from './chunk-URTTLQAC.js';
|
|
6
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
7
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
9
|
+
import { _ClearButton } from './chunk-KN6OG3WN.js';
|
|
10
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
11
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
12
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
13
13
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
14
14
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
15
15
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -25,7 +25,7 @@ import { useContextProps, composeRenderProps, TextField as TextField$1 } from 'r
|
|
|
25
25
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
26
26
|
|
|
27
27
|
// css-module:./TextField.module.css#css-module
|
|
28
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
28
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___gU-Sw", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___LA6FA", "hop-TextField__Label": "TextField-module__hop-TextField__Label___N-b2b", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___jbIxr", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___ZCcQg", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___x5q8Z", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___EixVn" };
|
|
29
29
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
30
30
|
function TextField(props, ref) {
|
|
31
31
|
var _a;
|
|
@@ -62,6 +62,7 @@ function TextField(props, ref) {
|
|
|
62
62
|
inputGroupProps,
|
|
63
63
|
remainingCharacterCountProps,
|
|
64
64
|
label,
|
|
65
|
+
contextualHelp,
|
|
65
66
|
description,
|
|
66
67
|
errorMessage,
|
|
67
68
|
...otherProps
|
|
@@ -146,7 +147,18 @@ function TextField(props, ref) {
|
|
|
146
147
|
}
|
|
147
148
|
) });
|
|
148
149
|
const childrenMarkup = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
149
|
-
|
|
150
|
+
/* @__PURE__ */ jsx(
|
|
151
|
+
FieldLabel,
|
|
152
|
+
{
|
|
153
|
+
wrapperProps: {
|
|
154
|
+
className: TextField_module_default["hop-TextField__Label"]
|
|
155
|
+
},
|
|
156
|
+
isRequired,
|
|
157
|
+
necessityIndicator,
|
|
158
|
+
contextualHelp,
|
|
159
|
+
children: label
|
|
160
|
+
}
|
|
161
|
+
),
|
|
150
162
|
inputMarkup,
|
|
151
163
|
description && /* @__PURE__ */ jsx(_HelperMessage, { className: TextField_module_default["hop-TextField__HelperMessage"], children: description }),
|
|
152
164
|
/* @__PURE__ */ jsx(_ErrorMessage, { className: TextField_module_default["hop-TextField__ErrorMessage"], children: errorMessage })
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-NRUHVUQY.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { BrokenImageRichIcon } from '@hopper-ui/icons';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TileGroupContext } from './chunk-RZFNJMEH.js';
|
|
2
1
|
import { InternalTileContext } from './chunk-S7KMOXY2.js';
|
|
2
|
+
import { TileGroupContext } from './chunk-RZFNJMEH.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -8,7 +8,7 @@ import { useContextProps, composeRenderProps, ToggleButtonGroup, Provider } from
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./TileGroup.module.css#css-module
|
|
11
|
-
var TileGroup_module_default = { "hop-TileGroup": "TileGroup-module__hop-
|
|
11
|
+
var TileGroup_module_default = { "hop-TileGroup": "TileGroup-module__hop-TileGroup___8zjf-" };
|
|
12
12
|
var GlobalTileGroupCssSelector = "hop-TileGroup";
|
|
13
13
|
var TileGroup = (props, ref) => {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, TileGroupContext);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
2
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
2
3
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
3
|
-
import { useFormProps } from './chunk-4V3BBI6M.js';
|
|
4
4
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
5
|
-
import { ensureTextWrapper } from './chunk-
|
|
5
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.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';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Link, DEFAULT_SLOT } from 'react-a
|
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./LinkButton.module.css#css-module
|
|
17
|
-
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-
|
|
17
|
+
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-LinkButton___-WoGS Button-module__hop-Button___0Z1G-", "hop-LinkButton--fluid": "LinkButton-module__hop-LinkButton--fluid___dxw2A Button-module__hop-Button--fluid___ocE9B", "hop-LinkButton--sm": "LinkButton-module__hop-LinkButton--sm___OyTLF Button-module__hop-Button--sm___Iin1k", "hop-LinkButton--icon-only": "LinkButton-module__hop-LinkButton--icon-only___JOox2 Button-module__hop-Button--icon-only___aWeym", "hop-LinkButton--primary": "LinkButton-module__hop-LinkButton--primary___GqNpo Button-module__hop-Button--primary___3Qmg3", "hop-LinkButton--secondary": "LinkButton-module__hop-LinkButton--secondary___Bekbp Button-module__hop-Button--secondary___u3qlM", "hop-LinkButton--upsell": "LinkButton-module__hop-LinkButton--upsell___SKX6u Button-module__hop-Button--upsell___Wa1Kb", "hop-LinkButton--danger": "LinkButton-module__hop-LinkButton--danger___qDii5 Button-module__hop-Button--danger___de-7T", "hop-LinkButton--ghost-primary": "LinkButton-module__hop-LinkButton--ghost-primary___e2zJB Button-module__hop-Button--ghost-primary___f-GHo", "hop-LinkButton--ghost-secondary": "LinkButton-module__hop-LinkButton--ghost-secondary___8BpKH Button-module__hop-Button--ghost-secondary___732dQ", "hop-LinkButton--ghost-danger": "LinkButton-module__hop-LinkButton--ghost-danger___VmCaQ Button-module__hop-Button--ghost-danger___mXQFT", "hop-LinkButton__Spinner": "LinkButton-module__hop-LinkButton__Spinner___3DWvP Button-module__hop-Button__Spinner___Aydmf", "hop-LinkButton__icon": "LinkButton-module__hop-LinkButton__icon___agTeu Button-module__hop-Button__icon___3H1Sb", "hop-LinkButton__icon-list": "LinkButton-module__hop-LinkButton__icon-list___vFCgT Button-module__hop-Button__icon___3H1Sb", "hop-LinkButton__text": "LinkButton-module__hop-LinkButton__text___pBNkq Button-module__hop-Button__text___ZFtXo", "hop-LinkButton__end-icon": "LinkButton-module__hop-LinkButton__end-icon___Ya3uz Button-module__hop-Button__end-icon___nOaCX", "hop-LinkButton__end-icon-list": "LinkButton-module__hop-LinkButton__end-icon-list___mVfmL Button-module__hop-Button__end-icon___nOaCX" };
|
|
18
18
|
var GlobalLinkButtonCssSelector = "hop-LinkButton";
|
|
19
19
|
function LinkButton(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./ListBoxItemSkeleton.module.css#css-module
|
|
10
|
-
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-
|
|
10
|
+
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___MaL8f", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___MgwG1", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___COLzl", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___kEXil", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___W4gr6", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___KNfCL" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TabLine } from './chunk-
|
|
1
|
+
import { TabLine } from './chunk-RBUBE5ET.js';
|
|
2
2
|
import { TabListContext, InternalTabsContext } from './chunk-ZXON3BAA.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -8,7 +8,7 @@ import { useContextProps, TabListStateContext, TabList as TabList$1 } from 'reac
|
|
|
8
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./TabList.module.css#css-module
|
|
11
|
-
var TabList_module_default = { "hop-TabList": "TabList-module__hop-
|
|
11
|
+
var TabList_module_default = { "hop-TabList": "TabList-module__hop-TabList___Aonzp", "hop-TabList--standalone": "TabList-module__hop-TabList--standalone___YhYUs", "hop-TabList--in-card": "TabList-module__hop-TabList--in-card___zSh9V", "hop-TabList__tablist": "TabList-module__hop-TabList__tablist___wEBXC", "hop-TabList--heading": "TabList-module__hop-TabList--heading___yuJzJ" };
|
|
12
12
|
var GlobalTabListCssSelector = "hop-TabList";
|
|
13
13
|
function TabList(props, ref) {
|
|
14
14
|
var _a, _b;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
|
+
import { ListBoxSectionContext } from './chunk-MOZ6M5ZZ.js';
|
|
2
3
|
import { ListBoxContext } from './chunk-4HEOTMP7.js';
|
|
3
|
-
import { _ListBoxItem } from './chunk-
|
|
4
|
+
import { _ListBoxItem } from './chunk-NNPOWTQ4.js';
|
|
4
5
|
import { ListBoxItemContext } from './chunk-FDJDFE4U.js';
|
|
5
|
-
import { ListBoxSectionContext } from './chunk-MOZ6M5ZZ.js';
|
|
6
6
|
import { HeaderContext } from './chunk-FOQ7KN4V.js';
|
|
7
|
-
import { useLocalizedString } from './chunk-
|
|
8
|
-
import { _Text } from './chunk-
|
|
9
|
-
import { ClearContainerSlots } from './chunk-
|
|
7
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
8
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
9
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBox.module.css#css-module
|
|
21
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
21
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___PSbqU", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___GX-qg", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___bsYz4", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___LdnNS", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___JA5vG" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _Button } from './chunk-
|
|
2
|
-
import { useLocalizedString } from './chunk-
|
|
1
|
+
import { _Button } from './chunk-UH3WEXVR.js';
|
|
2
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
3
3
|
import { CloseButtonContext } from './chunk-RBWFFWIG.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./CloseButton.module.css#css-module
|
|
13
|
-
var CloseButton_module_default = { "hop-CloseButton": "CloseButton-module__hop-
|
|
13
|
+
var CloseButton_module_default = { "hop-CloseButton": "CloseButton-module__hop-CloseButton___i-yPG" };
|
|
14
14
|
var GlobalCloseButtonCssSelector = "hop-CloseButton";
|
|
15
15
|
function CloseButton(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, CloseButtonContext);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
|
|
3
|
+
// src/utils/src/useProgressVisibility.ts
|
|
4
|
+
var useProgressVisibility = (isLoading) => {
|
|
5
|
+
const [isProgressVisible, setIsProgressVisible] = useState(false);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
let timeout;
|
|
8
|
+
if (isLoading) {
|
|
9
|
+
timeout = setTimeout(() => {
|
|
10
|
+
setIsProgressVisible(true);
|
|
11
|
+
}, 1e3);
|
|
12
|
+
} else {
|
|
13
|
+
setIsProgressVisible(false);
|
|
14
|
+
}
|
|
15
|
+
return () => {
|
|
16
|
+
clearTimeout(timeout);
|
|
17
|
+
};
|
|
18
|
+
}, [isLoading, setIsProgressVisible]);
|
|
19
|
+
return isProgressVisible;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { useProgressVisibility };
|
|
@@ -2,7 +2,7 @@ import { PopoverContext } from './chunk-RNGNPV6Q.js';
|
|
|
2
2
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
3
3
|
import { ListBoxContext } from './chunk-4HEOTMP7.js';
|
|
4
4
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
5
|
-
import { useForwardedHopperContext, _HopperProvider } from './chunk-
|
|
5
|
+
import { useForwardedHopperContext, _HopperProvider } from './chunk-YF4DILIQ.js';
|
|
6
6
|
import { LinkContext } from './chunk-MTULE7GI.js';
|
|
7
7
|
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
8
8
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, composeRenderProps, Popover as Popover$1, Dialog } fro
|
|
|
19
19
|
import { jsx } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Popover.module.css#css-module
|
|
22
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
22
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___Tn-G9", "fade": "Popover-module__fade___nUmvV", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___606o6", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___OKeOS", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___GLwYO", "hop-Popover__title": "Popover-module__hop-Popover__title___Tu4KH", "hop-Popover__content": "Popover-module__hop-Popover__content___t3KK5", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___XmUYJ", "hop-Popover__footer": "Popover-module__hop-Popover__footer___jo9Dl", "hop-Popover__actions": "Popover-module__hop-Popover__actions___dcbdB", "hop-Popover__action": "Popover-module__hop-Popover__action___6mpc0" };
|
|
23
23
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
24
24
|
function Popover(props, ref) {
|
|
25
25
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _BaseModal } from './chunk-
|
|
1
|
+
import { _BaseModal } from './chunk-ZHEWPE46.js';
|
|
2
2
|
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
3
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
|
-
import { _ButtonGroup } from './chunk-
|
|
5
|
-
import { _CloseButton } from './chunk-
|
|
6
|
-
import { _Button } from './chunk-
|
|
4
|
+
import { _ButtonGroup } from './chunk-WOQOIB6V.js';
|
|
5
|
+
import { _CloseButton } from './chunk-HL2I2YUG.js';
|
|
6
|
+
import { _Button } from './chunk-UH3WEXVR.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
8
|
import { AlertContext } from './chunk-5DT3S5YY.js';
|
|
9
9
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Dialog, Provider } from 'react-ari
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Alert.module.css#css-module
|
|
17
|
-
var Alert_module_default = { "hop-Alert": "Alert-module__hop-
|
|
17
|
+
var Alert_module_default = { "hop-Alert": "Alert-module__hop-Alert___cS5k1", "hop-Alert__button-group": "Alert-module__hop-Alert__button-group___c5ZMa", "hop-Alert__heading": "Alert-module__hop-Alert__heading___dz29k", "hop-Alert__close": "Alert-module__hop-Alert__close___uJlHm", "hop-Alert__content": "Alert-module__hop-Alert__content___nmSvf" };
|
|
18
18
|
var GlobalAlertCssSelector = "hop-Alert";
|
|
19
19
|
function Alert(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -2,7 +2,7 @@ import { CalloutContext } from './chunk-5CURYPE7.js';
|
|
|
2
2
|
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
3
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
4
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
5
|
-
import { _CloseButton } from './chunk-
|
|
5
|
+
import { _CloseButton } from './chunk-HL2I2YUG.js';
|
|
6
6
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
7
7
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./Callout.module.css#css-module
|
|
18
|
-
var Callout_module_default = { "hop-Callout": "Callout-module__hop-
|
|
18
|
+
var Callout_module_default = { "hop-Callout": "Callout-module__hop-Callout___NqTD-", "hop-Callout__icon": "Callout-module__hop-Callout__icon___AQdwf", "hop-Callout__heading": "Callout-module__hop-Callout__heading___2kunw", "hop-Callout__content": "Callout-module__hop-Callout__content___6WOAE", "hop-Callout__button": "Callout-module__hop-Callout__button___DcEZ2", "hop-Callout__dismiss": "Callout-module__hop-Callout__dismiss___a2Lr1", "hop-Callout--information": "Callout-module__hop-Callout--information___e-PVL", "hop-Callout--success": "Callout-module__hop-Callout--success___-VSg2", "hop-Callout--warning": "Callout-module__hop-Callout--warning___cQr0W", "hop-Callout--upsell": "Callout-module__hop-Callout--upsell___lB-Jn", "hop-Callout--subtle-fill": "Callout-module__hop-Callout--subtle-fill___xDv2i" };
|
|
19
19
|
var GlobalCalloutCssSelector = "hop-Callout";
|
|
20
20
|
var Callout = (props, ref) => {
|
|
21
21
|
[props, ref] = useContextProps(props, ref, CalloutContext);
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { _Popover } from './chunk-
|
|
2
|
-
import { _ListBox } from './chunk-VE63YOPC.js';
|
|
3
|
-
import { _ListBoxItem } from './chunk-FCWARLFN.js';
|
|
1
|
+
import { _Popover } from './chunk-I377K7IX.js';
|
|
4
2
|
import { _ListBoxSection } from './chunk-PN5BRTOO.js';
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { _HelperMessage } from './chunk-CFBDROF2.js';
|
|
11
|
-
import { _ErrorMessage } from './chunk-H7EN3SVB.js';
|
|
3
|
+
import { _ListBox } from './chunk-HF5YS5Z6.js';
|
|
4
|
+
import { _ListBoxItem } from './chunk-NNPOWTQ4.js';
|
|
5
|
+
import { _Footer } from './chunk-RN3FLBX4.js';
|
|
6
|
+
import { InputContext, Input } from './chunk-5MNBACCS.js';
|
|
7
|
+
import { _InputGroup } from './chunk-URTTLQAC.js';
|
|
12
8
|
import { ComboBoxContext } from './chunk-RFZC5CHX.js';
|
|
9
|
+
import { _ToggleArrow } from './chunk-PWYDH3ZA.js';
|
|
10
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
11
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
12
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
13
13
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
14
|
-
import { useFormProps } from './chunk-
|
|
15
|
-
import { ensureTextWrapper } from './chunk-
|
|
16
|
-
import { ClearProviders, ClearContainerSlots } from './chunk-
|
|
14
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
15
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
16
|
+
import { ClearProviders, ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
17
17
|
import { TextContext as TextContext$1 } from './chunk-ZNOU2CGM.js';
|
|
18
18
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
19
19
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -26,7 +26,7 @@ import { useContextProps, useSlottedContext, composeRenderProps, TextContext, Bu
|
|
|
26
26
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
27
27
|
|
|
28
28
|
// css-module:./ComboBox.module.css#css-module
|
|
29
|
-
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-
|
|
29
|
+
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___GvCoa", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___OvKor", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___O-Kpw", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___q6qg2", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___cAzhI", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___xQSGm", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___P-ah-", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___TGYtK" };
|
|
30
30
|
var GlobalComboBoxCssSelector = "hop-ComboBox";
|
|
31
31
|
function ComboBox(props, ref) {
|
|
32
32
|
var _a, _b, _c, _d, _e;
|
|
@@ -41,6 +41,7 @@ function ComboBox(props, ref) {
|
|
|
41
41
|
align: alignProp,
|
|
42
42
|
className,
|
|
43
43
|
children,
|
|
44
|
+
contextualHelp,
|
|
44
45
|
description,
|
|
45
46
|
direction: directionProp,
|
|
46
47
|
errorMessage,
|
|
@@ -169,10 +170,11 @@ function ComboBox(props, ref) {
|
|
|
169
170
|
...otherProps,
|
|
170
171
|
children: ({ isOpen }) => {
|
|
171
172
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
/* @__PURE__ */ jsx(
|
|
174
|
+
FieldLabel,
|
|
174
175
|
{
|
|
175
176
|
className: ComboBox_module_default["hop-ComboBox__label"],
|
|
177
|
+
contextualHelp,
|
|
176
178
|
isRequired,
|
|
177
179
|
necessityIndicator,
|
|
178
180
|
children: label
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TileContext } from './chunk-S7KMOXY2.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
3
3
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { useContextProps, composeRenderProps, ToggleButton, Provider } from 'rea
|
|
|
10
10
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./Tile.module.css#css-module
|
|
13
|
-
var Tile_module_default = { "hop-Tile": "Tile-module__hop-
|
|
13
|
+
var Tile_module_default = { "hop-Tile": "Tile-module__hop-Tile___t0aKB", "hop-Tile__icon": "Tile-module__hop-Tile__icon___LeTq-" };
|
|
14
14
|
var GlobalTileCssSelector = "hop-Tile";
|
|
15
15
|
var Tile = (props, ref) => {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, TileContext);
|
|
@@ -7,7 +7,7 @@ import { 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___uqGvw" };
|
|
11
11
|
var GlobalFormCssSelector = "hop-Form";
|
|
12
12
|
function useFormProps(props) {
|
|
13
13
|
const ctx = useContext(FormContext);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, TabPanel as TabPanel$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./TabPanel.module.css#css-module
|
|
10
|
-
var TabPanel_module_default = { "hop-TabPanel": "TabPanel-module__hop-
|
|
10
|
+
var TabPanel_module_default = { "hop-TabPanel": "TabPanel-module__hop-TabPanel___U9p5S" };
|
|
11
11
|
var GlobalTabPanelCssSelector = "hop-TabPanel";
|
|
12
12
|
function TabPanel(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, TabPanelContext);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useIsOverflow } from './chunk-EHXOXTDN.js';
|
|
2
2
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
|
-
import { useLocalizedString } from './chunk-
|
|
5
|
-
import { _Text } from './chunk-
|
|
6
|
-
import { ClearContainerSlots } from './chunk-
|
|
4
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
5
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
6
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
7
7
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, SelectValueContext, SelectStateContext, useSlottedCont
|
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./SelectValue.module.css#css-module
|
|
19
|
-
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-
|
|
19
|
+
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-SelectValue___zcA1x", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___39UL6", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___4lcAZ", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___Je5Rn", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___UOM0S" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _EmbeddedButton } from './chunk-
|
|
1
|
+
import { _EmbeddedButton } from './chunk-UGZYYO3T.js';
|
|
2
2
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
3
|
-
import { useLocalizedString } from './chunk-
|
|
3
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { forwardRef } from 'react';
|
|
6
6
|
import { useContextProps } from 'react-aria-components';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
2
1
|
import { TabContext, InternalTabsContext } from './chunk-ZXON3BAA.js';
|
|
2
|
+
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
3
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
5
5
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
6
6
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
7
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, Tab as Tab$1, Provider } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Tab.module.css#css-module
|
|
15
|
-
var Tab_module_default = { "hop-Tab": "Tab-module__hop-
|
|
15
|
+
var Tab_module_default = { "hop-Tab": "Tab-module__hop-Tab___ftOeX", "hop-Tab--fluid": "Tab-module__hop-Tab--fluid___aH3xR", "hop-Tab--md": "Tab-module__hop-Tab--md___dgvsJ", "hop-Tab__icon": "Tab-module__hop-Tab__icon___brQbc", "hop-Tab__text": "Tab-module__hop-Tab__text___HZpz8", "hop-Tab__badge": "Tab-module__hop-Tab__badge___tSYj2", "hop-Tab__tag": "Tab-module__hop-Tab__tag___R14Wb" };
|
|
16
16
|
var GlobalTabCssSelector = "hop-Tab";
|
|
17
17
|
function Tab(props, ref) {
|
|
18
18
|
var _a;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
2
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
|
+
import { RadioGroupContext } from './chunk-5MBJWRZD.js';
|
|
3
3
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
4
|
-
import {
|
|
5
|
-
import { _HelperMessage } from './chunk-
|
|
6
|
-
import { _ErrorMessage } from './chunk-
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
4
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
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, RadioGroup as RadioGroup$1 } from
|
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./RadioGroup.module.css#css-module
|
|
18
|
-
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-
|
|
18
|
+
var RadioGroup_module_default = { "hop-RadioGroup": "RadioGroup-module__hop-RadioGroup___GAhMc", "hop-RadioGroup--bordered": "RadioGroup-module__hop-RadioGroup--bordered___aW9rV", "hop-RadioGroup--sm": "RadioGroup-module__hop-RadioGroup--sm___TlUOa", "hop-RadioGroup--md": "RadioGroup-module__hop-RadioGroup--md___K9W8i", "hop-RadioGroup__label": "RadioGroup-module__hop-RadioGroup__label___Vi-x9", "hop-RadioGroup__list": "RadioGroup-module__hop-RadioGroup__list___pz3Nn", "hop-RadioGroup__radio": "RadioGroup-module__hop-RadioGroup__radio___HdWpQ", "hop-RadioGroup__error-message": "RadioGroup-module__hop-RadioGroup__error-message___KU5wE", "hop-RadioGroup__helper-message": "RadioGroup-module__hop-RadioGroup__helper-message___Rx1kN" };
|
|
19
19
|
var GlobalRadioGroupCssSelector = "hop-RadioGroup";
|
|
20
20
|
function RadioGroup(props, ref) {
|
|
21
21
|
var _a, _b, _c;
|
|
@@ -26,6 +26,7 @@ function RadioGroup(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 RadioGroup(props, ref) {
|
|
|
111
112
|
orientation,
|
|
112
113
|
...otherProps,
|
|
113
114
|
children: (radioGroupRenderProps) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
/* @__PURE__ */ jsx(
|
|
116
|
+
FieldLabel,
|
|
116
117
|
{
|
|
117
118
|
className: RadioGroup_module_default["hop-RadioGroup__label"],
|
|
119
|
+
contextualHelp,
|
|
118
120
|
isRequired,
|
|
119
121
|
necessityIndicator,
|
|
120
122
|
children: label
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SwitchContext } from './chunk-YHBJAXUY.js';
|
|
2
2
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
4
|
-
import { ClearContainerSlots } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
4
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
5
5
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Switch as Switch$1 } from 'react-a
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Switch.module.css#css-module
|
|
16
|
-
var Switch_module_default = { "hop-Switch": "Switch-module__hop-
|
|
16
|
+
var Switch_module_default = { "hop-Switch": "Switch-module__hop-Switch___pmxJ9", "hop-Switch--sm": "Switch-module__hop-Switch--sm___F-I2x", "hop-Switch--md": "Switch-module__hop-Switch--md___8-5b-", "hop-Switch__indicator": "Switch-module__hop-Switch__indicator___aJxF6", "hop-Switch__text": "Switch-module__hop-Switch__text___er2eV", "hop-Switch__icon-list": "Switch-module__hop-Switch__icon-list___-1Ydr", "hop-Switch__icon": "Switch-module__hop-Switch__icon___m9cXJ" };
|
|
17
17
|
var GlobalSwitchCssSelector = "hop-Switch";
|
|
18
18
|
function Switch(props, ref) {
|
|
19
19
|
var _a;
|