@hopper-ui/components 1.6.0 → 1.7.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 +344 -325
- package/dist/alert/src/Alert.js +11 -11
- package/dist/alert/src/index.css +344 -325
- package/dist/alert/src/index.js +11 -11
- 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 +6 -6
- 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 +11 -11
- 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 +7 -7
- 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 +8 -8
- 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 +5 -5
- package/dist/buttons/src/index.css +267 -260
- package/dist/buttons/src/index.d.ts +2 -2
- package/dist/buttons/src/index.js +12 -12
- package/dist/callout/src/Callout.css +279 -272
- package/dist/callout/src/Callout.js +9 -9
- package/dist/callout/src/CompactCallout.css +316 -309
- package/dist/callout/src/CompactCallout.js +9 -9
- package/dist/callout/src/index.css +328 -321
- package/dist/callout/src/index.js +10 -10
- 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 +5 -5
- 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 +9 -8
- 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 +13 -12
- package/dist/{chunk-HCFKAC4T.js → chunk-23WYVBUK.js} +2 -2
- package/dist/{chunk-QYEV2QUA.js → chunk-2C4RHHUL.js} +2 -2
- package/dist/{chunk-MCUPCFYQ.js → chunk-2KFOOJ34.js} +20 -10
- package/dist/{chunk-H7K7KLU4.js → chunk-2WU7UWOH.js} +3 -3
- package/dist/{chunk-HEHMZWBC.js → chunk-3FHJOMUC.js} +1 -1
- package/dist/{chunk-AXBVBNPN.js → chunk-3VZPTUVR.js} +3 -3
- package/dist/{chunk-C76BH4QR.js → chunk-53QBBZR4.js} +2 -2
- package/dist/{chunk-SKHYIVXR.js → chunk-57RTMTQ7.js} +3 -3
- package/dist/{chunk-SW4UF2MM.js → chunk-5FXGGEA5.js} +26 -20
- package/dist/{chunk-36S3E6PJ.js → chunk-5H2DG3VF.js} +2 -2
- package/dist/{chunk-ZJKGATZR.js → chunk-5I6PDORP.js} +8 -2
- package/dist/{chunk-STU7DFF5.js → chunk-5ZP2KUGN.js} +17 -15
- package/dist/{chunk-2USDHEIV.js → chunk-67EK2P5M.js} +3 -3
- package/dist/{chunk-GEMZ5EDW.js → chunk-6G56A3XH.js} +20 -10
- package/dist/{chunk-TU5MAMGV.js → chunk-6Q6Q4HUH.js} +10 -8
- package/dist/chunk-6T7TUF6N.js +178 -0
- package/dist/{chunk-ONCR64LB.js → chunk-AC5FLJJL.js} +2 -2
- package/dist/{chunk-H6CZ6DKP.js → chunk-ACG3BFJQ.js} +1 -1
- package/dist/{chunk-XKREPRGK.js → chunk-AV7XDPXN.js} +1 -1
- package/dist/{chunk-LAN2LJO2.js → chunk-AX3SYX3G.js} +1 -1
- package/dist/{chunk-H637L477.js → chunk-CC5SXS5R.js} +1 -1
- package/dist/{chunk-KUGVMCIB.js → chunk-CIQZIY5N.js} +1 -1
- package/dist/{chunk-AYAKR4MK.js → chunk-CNG2EXC7.js} +3 -3
- package/dist/{chunk-REXPSB5P.js → chunk-CT3S2ZJP.js} +2 -2
- package/dist/{chunk-B2PCJYJW.js → chunk-DE74UTDH.js} +2 -2
- package/dist/{chunk-W53AAAUA.js → chunk-DEFXMEBJ.js} +2 -2
- package/dist/{chunk-HGSA2Y3P.js → chunk-DP4FHVJR.js} +25 -13
- package/dist/{chunk-62EZGVKH.js → chunk-EBXH6HHZ.js} +21 -11
- package/dist/{chunk-R5CEXZPL.js → chunk-EDDYY4KO.js} +1 -1
- package/dist/{chunk-SINPHU2Z.js → chunk-FIY4TUYL.js} +4 -28
- package/dist/{chunk-V2AGZ5A5.js → chunk-G2IQWVGX.js} +1 -1
- package/dist/{chunk-K73FGFB2.js → chunk-G5GYOSK7.js} +8 -8
- package/dist/{chunk-TZZQP76M.js → chunk-GR5QWFCA.js} +4 -4
- package/dist/{chunk-BI3MQKBI.js → chunk-HERQEWF5.js} +3 -3
- package/dist/{chunk-R4ICRVDS.js → chunk-HQJZSCV7.js} +1 -1
- package/dist/{chunk-DLYK3JRB.js → chunk-I25B6DME.js} +2 -2
- package/dist/{chunk-W2C47VCH.js → chunk-IIBLQ2CB.js} +1 -1
- package/dist/{chunk-SLFA36JO.js → chunk-J5FY5YAZ.js} +1 -1
- package/dist/{chunk-V7HFSPRY.js → chunk-J6FKM7WM.js} +1 -1
- package/dist/{chunk-R3PAHNRL.js → chunk-JBTFYM4B.js} +3 -3
- package/dist/{chunk-L4D32IWU.js → chunk-JNJFX2LE.js} +2 -2
- package/dist/{chunk-A2BFPCVC.js → chunk-JVLK5INM.js} +3 -3
- package/dist/{chunk-5WUSHVW7.js → chunk-KKUSWUZC.js} +1 -1
- package/dist/{chunk-CQHB3HRC.js → chunk-L7DSMPLQ.js} +2 -2
- package/dist/{chunk-RMAIQQFV.js → chunk-LACYHXY5.js} +2 -2
- package/dist/{chunk-EELIGZUD.js → chunk-LBXB3JFD.js} +5 -5
- package/dist/{chunk-6LKFNPEM.js → chunk-LMH2XI5J.js} +10 -4
- package/dist/{chunk-J62I6GH3.js → chunk-LOFWD2GD.js} +2 -2
- package/dist/{chunk-JNFQC65H.js → chunk-LUCUQMMD.js} +3 -3
- package/dist/chunk-MR5BPD6R.js +7 -0
- package/dist/{chunk-NVOQLDA5.js → chunk-N7A4SDQA.js} +18 -16
- package/dist/{chunk-GKN3BY36.js → chunk-NAK42XEC.js} +3 -3
- package/dist/{chunk-M3L2VYKL.js → chunk-NC7G3EHF.js} +2 -2
- package/dist/{chunk-GKUY4QWP.js → chunk-NFETZ57D.js} +2 -2
- package/dist/{chunk-75DHKNW2.js → chunk-NNLLQWDS.js} +4 -4
- package/dist/{chunk-YWNBO3UY.js → chunk-OABMTS4J.js} +1 -1
- package/dist/{chunk-KWXJDQ4M.js → chunk-OCK54JWW.js} +2 -2
- package/dist/{chunk-MYZE5GJA.js → chunk-OINTMN5W.js} +2 -2
- package/dist/{chunk-D7IJXSDN.js → chunk-OS6JDQKO.js} +2 -2
- package/dist/{chunk-K7PQOHUQ.js → chunk-OYPIU6JL.js} +2 -2
- package/dist/chunk-PDWWX5JI.js +70 -0
- package/dist/{chunk-XUO7HGRK.js → chunk-PJ2RHMZ3.js} +2 -2
- package/dist/{chunk-WJ55ZV54.js → chunk-PQSMCDAM.js} +3 -0
- package/dist/{chunk-ARCWWXRR.js → chunk-PQVBUEXC.js} +3 -3
- package/dist/{chunk-SEQN7G35.js → chunk-QARGGDML.js} +4 -4
- package/dist/{chunk-IJZK5LYV.js → chunk-QDN24QKG.js} +1 -1
- package/dist/{chunk-QVHMDEWO.js → chunk-QSCBTSIF.js} +9 -3
- package/dist/{chunk-RNVPPIZQ.js → chunk-RIFW5PYW.js} +3 -3
- package/dist/{chunk-VOZN65OL.js → chunk-RN3FLBX4.js} +8 -2
- package/dist/{chunk-U35DID2L.js → chunk-S5AHDRSE.js} +1 -1
- package/dist/chunk-TQQMWXRK.js +190 -0
- package/dist/{chunk-PPV6OKAK.js → chunk-UBBZ4LV5.js} +19 -9
- package/dist/{chunk-MYPNAEEC.js → chunk-UBILZ2MS.js} +1 -1
- package/dist/{chunk-VLGOJ5DY.js → chunk-UFR36PXP.js} +4 -4
- package/dist/{chunk-KEDXRQG2.js → chunk-ULY62A7P.js} +6 -6
- package/dist/{chunk-FOD6Q7UN.js → chunk-V5PLUMR5.js} +3 -3
- package/dist/{chunk-UIOWILYW.js → chunk-V7OAPBQT.js} +1 -1
- package/dist/{chunk-ZSOUOAD4.js → chunk-V7VDYDIQ.js} +3 -4
- package/dist/{chunk-MP4UER4S.js → chunk-VBJVG2YA.js} +15 -6
- package/dist/{chunk-RKZRG2QV.js → chunk-VSCRFXJ2.js} +5 -5
- package/dist/{chunk-WDZO4L7Z.js → chunk-W2EX7F7K.js} +1 -1
- package/dist/{chunk-TLAJAVGL.js → chunk-WJE3JIRZ.js} +3 -3
- package/dist/{chunk-LERLQFPC.js → chunk-X4IV4VLD.js} +4 -4
- package/dist/{chunk-FJJG6PMV.js → chunk-XEMYAR47.js} +1 -1
- package/dist/{chunk-JOCKBZYP.js → chunk-XLJODMSX.js} +8 -2
- package/dist/{chunk-TN5C3AE3.js → chunk-YDNBMCQD.js} +8 -4
- package/dist/{chunk-2EAZ5H42.js → chunk-YFQIN27E.js} +1 -1
- package/dist/{chunk-FJ6AAK5Z.js → chunk-YZBOR2D4.js} +9 -7
- package/dist/{chunk-VMGVHR42.js → chunk-Z5WDAIAE.js} +2 -2
- package/dist/{chunk-CICKS5HQ.js → chunk-ZLL3VV5V.js} +3 -3
- package/dist/{chunk-WY3JOP43.js → chunk-ZRYHXQDJ.js} +1 -1
- package/dist/combobox/src/ComboBox.css +687 -684
- package/dist/combobox/src/ComboBox.js +24 -23
- package/dist/combobox/src/index.css +687 -684
- package/dist/combobox/src/index.js +24 -23
- package/dist/contextual-help/src/ContextualHelp.css +4165 -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 +4165 -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 +286 -279
- package/dist/illustrated-message/src/IllustratedMessage.js +2 -2
- package/dist/illustrated-message/src/index.css +286 -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 +1135 -1064
- package/dist/index.d.ts +10 -7
- package/dist/index.js +116 -113
- 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 +287 -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 +293 -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 +291 -284
- package/dist/inputs/src/TextField.js +16 -15
- package/dist/inputs/src/index.css +339 -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 +621 -627
- package/dist/menu/src/Menu.js +4 -4
- package/dist/menu/src/MenuItem.css +125 -118
- 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 +648 -654
- 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 +334 -315
- package/dist/modal/src/Modal.js +10 -10
- package/dist/modal/src/index.css +335 -316
- package/dist/modal/src/index.js +12 -12
- package/dist/overlays/popover/src/Popover.css +604 -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 +607 -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 +14 -13
- package/dist/segmented-control/src/SegmentedControl.css +45 -38
- package/dist/segmented-control/src/SegmentedControl.js +2 -2
- package/dist/segmented-control/src/SegmentedControlItem.css +59 -52
- package/dist/segmented-control/src/SegmentedControlItem.js +4 -4
- package/dist/segmented-control/src/index.css +60 -53
- package/dist/segmented-control/src/index.js +5 -5
- package/dist/select/src/Select.css +631 -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 +631 -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 +457 -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 +468 -461
- package/dist/tabs/src/index.js +7 -7
- package/dist/tag/src/Tag.css +435 -428
- package/dist/tag/src/Tag.js +9 -9
- package/dist/tag/src/TagGroup.css +54 -47
- package/dist/tag/src/TagGroup.js +9 -8
- package/dist/tag/src/index.css +445 -438
- package/dist/tag/src/index.js +14 -13
- 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/index.css +54 -47
- package/dist/tooltip/src/index.js +5 -5
- 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 +1 -1
- package/dist/utils/src/index.js +3 -3
- package/dist/utils/src/types.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chunk-67EKVQAF.js +0 -121
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomModalContext } from './chunk-AJKN2ALX.js';
|
|
2
|
-
import { _BaseModal } from './chunk-
|
|
2
|
+
import { _BaseModal } from './chunk-3FHJOMUC.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -8,7 +8,7 @@ import { useContextProps, composeRenderProps, Dialog, OverlayTriggerStateContext
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./CustomModal.module.css#css-module
|
|
11
|
-
var CustomModal_module_default = { "hop-CustomModal": "CustomModal-module__hop-
|
|
11
|
+
var CustomModal_module_default = { "hop-CustomModal": "CustomModal-module__hop-CustomModal___CihLj" };
|
|
12
12
|
var GlobalCustomModalCssSelector = "hop-CustomModal";
|
|
13
13
|
var CustomModal = (props, ref) => {
|
|
14
14
|
var _a;
|
|
@@ -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-CIQZIY5N.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___agg1U Checkbox-module__hop-Checkbox___RAOey", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___9dMA0 Checkbox-module__hop-Checkbox--sm___i3CSP", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___Rd0Gm Checkbox-module__hop-Checkbox--md___GL7zO", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___6J6me Checkbox-module__hop-Checkbox__icon___s-OVR", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___w-8bI Checkbox-module__hop-Checkbox__icon___s-OVR", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___Uw7KN Checkbox-module__hop-Checkbox__box___oqQ7-", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___m8tUW Checkbox-module__hop-Checkbox__check___QKTgI", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___0JcKA Checkbox-module__hop-Checkbox__text___vQWZ9" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -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-HQJZSCV7.js';
|
|
5
|
+
import { _Text } from './chunk-L7DSMPLQ.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___5HYK9", "hop-CheckboxField--sm": "CheckboxField-module__hop-CheckboxField--sm___5W8yn", "hop-CheckboxField--md": "CheckboxField-module__hop-CheckboxField--md___90C92", "hop-CheckboxField__description": "CheckboxField-module__hop-CheckboxField__description___Dqu-O", "hop-CheckboxField__checkbox": "CheckboxField-module__hop-CheckboxField__checkbox___JDrLW" };
|
|
19
19
|
var GlobalCheckboxFieldCssSelector = "hop-CheckboxField";
|
|
20
20
|
var CheckboxToDescriptionSizeAdapter = {
|
|
21
21
|
sm: "xs",
|
|
@@ -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___I83No" };
|
|
9
9
|
var GlobalMenuSectionCssSelector = "hop-MenuSection";
|
|
10
10
|
function MenuSection(props) {
|
|
11
11
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
2
2
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
3
3
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
4
|
+
import { ClearProviders } from './chunk-PQSMCDAM.js';
|
|
4
5
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
6
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
7
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -11,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
11
12
|
import { jsx } from 'react/jsx-runtime';
|
|
12
13
|
|
|
13
14
|
// css-module:./ButtonGroup.module.css#css-module
|
|
14
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
15
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___-ALaZ", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___DnLYQ", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___xVumF", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___MCLnI", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___Yzha7", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___TPfzu", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___lpmtc", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___bOmqM" };
|
|
15
16
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
16
17
|
function ButtonGroup(props, ref) {
|
|
17
18
|
var _a, _b, _c, _d;
|
|
@@ -27,6 +28,8 @@ function ButtonGroup(props, ref) {
|
|
|
27
28
|
style: styleProp,
|
|
28
29
|
orientation: orientationProp,
|
|
29
30
|
wrap: wrapProp,
|
|
31
|
+
isHidden,
|
|
32
|
+
clearContexts,
|
|
30
33
|
...otherProps
|
|
31
34
|
} = ownProps;
|
|
32
35
|
const align = useResponsiveValue(alignProp);
|
|
@@ -34,6 +37,9 @@ function ButtonGroup(props, ref) {
|
|
|
34
37
|
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
35
38
|
const wrap = (_c = useResponsiveValue(wrapProp)) != null ? _c : true;
|
|
36
39
|
const orientation = (_d = useResponsiveValue(orientationProp)) != null ? _d : "horizontal";
|
|
40
|
+
if (isHidden) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
37
43
|
const classNames = clsx(
|
|
38
44
|
className,
|
|
39
45
|
GlobalButtonGroupCssSelector,
|
|
@@ -52,7 +58,7 @@ function ButtonGroup(props, ref) {
|
|
|
52
58
|
...stylingProps.style,
|
|
53
59
|
...styleProp
|
|
54
60
|
};
|
|
55
|
-
return /* @__PURE__ */ jsx(
|
|
61
|
+
return /* @__PURE__ */ jsx(ClearProviders, { values: clearContexts, children: /* @__PURE__ */ jsx(
|
|
56
62
|
"div",
|
|
57
63
|
{
|
|
58
64
|
...filterDOMProps(otherProps, { labelable: true }),
|
|
@@ -79,7 +85,7 @@ function ButtonGroup(props, ref) {
|
|
|
79
85
|
}
|
|
80
86
|
)
|
|
81
87
|
}
|
|
82
|
-
);
|
|
88
|
+
) });
|
|
83
89
|
}
|
|
84
90
|
var _ButtonGroup = slot("button-group", forwardRef(ButtonGroup));
|
|
85
91
|
_ButtonGroup.displayName = "ButtonGroup";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.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-CIQZIY5N.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:./DecorativeRadio.module.css#css-module
|
|
18
|
-
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-
|
|
18
|
+
var DecorativeRadio_module_default = { "hop-DecorativeRadio": "DecorativeRadio-module__hop-DecorativeRadio___X2ojB Radio-module__hop-Radio___oBKRQ", "hop-DecorativeRadio--sm": "DecorativeRadio-module__hop-DecorativeRadio--sm___0duOP Radio-module__hop-Radio--sm___C-Q1U", "hop-DecorativeRadio--md": "DecorativeRadio-module__hop-DecorativeRadio--md___qlpiC Radio-module__hop-Radio--md___8cI7H", "hop-DecorativeRadio__icon": "DecorativeRadio-module__hop-DecorativeRadio__icon___X3Y3Y Radio-module__hop-Radio__icon___Ai4EA", "hop-DecorativeRadio__icon-list": "DecorativeRadio-module__hop-DecorativeRadio__icon-list___Pe71- Radio-module__hop-Radio__icon___Ai4EA", "hop-DecorativeRadio__box": "DecorativeRadio-module__hop-DecorativeRadio__box___whoC1 Radio-module__hop-Radio__box___gF3Ys", "hop-DecorativeRadio__bullet": "DecorativeRadio-module__hop-DecorativeRadio__bullet___-GKnC Radio-module__hop-Radio__bullet___DLVyb", "hop-DecorativeRadio__text": "DecorativeRadio-module__hop-DecorativeRadio__text___RXYUE Radio-module__hop-Radio__text___md8fJ" };
|
|
19
19
|
var GlobalDecorativeRadioCssSelector = "hop-DecorativeRadio";
|
|
20
20
|
function DecorativeRadio(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
2
|
+
import { ClearProviders } from './chunk-PQSMCDAM.js';
|
|
2
3
|
import { slot, useStyledSystem } from '@hopper-ui/styled-system';
|
|
3
4
|
import clsx from 'clsx';
|
|
4
5
|
import { forwardRef } from 'react';
|
|
@@ -14,8 +15,13 @@ function Footer(props, ref) {
|
|
|
14
15
|
children,
|
|
15
16
|
style,
|
|
16
17
|
slot,
|
|
18
|
+
isHidden,
|
|
19
|
+
clearContexts,
|
|
17
20
|
...otherProps
|
|
18
21
|
} = ownProps;
|
|
22
|
+
if (isHidden) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
19
25
|
const classNames = clsx(
|
|
20
26
|
GlobalFooterCssSelector,
|
|
21
27
|
stylingProps.className,
|
|
@@ -25,7 +31,7 @@ function Footer(props, ref) {
|
|
|
25
31
|
...stylingProps.style,
|
|
26
32
|
...style
|
|
27
33
|
};
|
|
28
|
-
return /* @__PURE__ */ jsx(
|
|
34
|
+
return /* @__PURE__ */ jsx(ClearProviders, { values: clearContexts, children: /* @__PURE__ */ jsx(
|
|
29
35
|
"footer",
|
|
30
36
|
{
|
|
31
37
|
ref,
|
|
@@ -35,7 +41,7 @@ function Footer(props, ref) {
|
|
|
35
41
|
...otherProps,
|
|
36
42
|
children
|
|
37
43
|
}
|
|
38
|
-
);
|
|
44
|
+
) });
|
|
39
45
|
}
|
|
40
46
|
var _Footer = slot("footer", forwardRef(Footer));
|
|
41
47
|
_Footer.displayName = "Footer";
|
|
@@ -6,7 +6,7 @@ import { useContextProps, Input as Input$1 } from 'react-aria-components';
|
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
// css-module:./Input.module.css#css-module
|
|
9
|
-
var Input_module_default = { "hop-Input": "Input-module__hop-
|
|
9
|
+
var Input_module_default = { "hop-Input": "Input-module__hop-Input___b2lYS", "hop-Input--sm": "Input-module__hop-Input--sm___T3sjx" };
|
|
10
10
|
var InputContext = createContext({});
|
|
11
11
|
var Input = forwardRef(function Input2(props, ref) {
|
|
12
12
|
var _a;
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { PopoverTrigger } from './chunk-KHDRGFVV.js';
|
|
2
|
+
import { _PopoverBase } from './chunk-W2EX7F7K.js';
|
|
3
|
+
import { ContextualHelpContext } from './chunk-MR5BPD6R.js';
|
|
4
|
+
import { ensureTextWrapper } from './chunk-CIQZIY5N.js';
|
|
5
|
+
import { ClearProviders, ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
6
|
+
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
7
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
|
+
import { QuestionIcon, InfoIcon } from '@hopper-ui/icons';
|
|
9
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
10
|
+
import { useControlledState } from '@react-stately/utils';
|
|
11
|
+
import clsx from 'clsx';
|
|
12
|
+
import { forwardRef, useRef, useState, useCallback, useEffect } from 'react';
|
|
13
|
+
import { useContextProps, ButtonContext, Button, Provider } from 'react-aria-components';
|
|
14
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
|
+
|
|
16
|
+
// css-module:./ContextualHelp.module.css#css-module
|
|
17
|
+
var ContextualHelp_module_default = { "hop-ContextualHelp": "ContextualHelp-module__hop-ContextualHelp___DzLJ0", "hop-ContextualHelp__popover": "ContextualHelp-module__hop-ContextualHelp__popover___rV7qC" };
|
|
18
|
+
var GlobalContextualHelpCssSelector = "hop-ContextualHelp";
|
|
19
|
+
function ContextualHelp(props, ref) {
|
|
20
|
+
var _a;
|
|
21
|
+
[props, ref] = useContextProps(props, ref, ContextualHelpContext);
|
|
22
|
+
const popoverRef = useRef(null);
|
|
23
|
+
const timeoutRef = useRef(null);
|
|
24
|
+
const [openTrigger, setOpenTrigger] = useState(void 0);
|
|
25
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
26
|
+
const {
|
|
27
|
+
className,
|
|
28
|
+
children,
|
|
29
|
+
defaultOpen,
|
|
30
|
+
isOpen: isOpenProp,
|
|
31
|
+
offset,
|
|
32
|
+
crossOffset,
|
|
33
|
+
onHoverStart,
|
|
34
|
+
onOpenChange,
|
|
35
|
+
onPress,
|
|
36
|
+
popoverProps,
|
|
37
|
+
placement = "top",
|
|
38
|
+
shouldFlip,
|
|
39
|
+
size: sizeProp,
|
|
40
|
+
style,
|
|
41
|
+
slot,
|
|
42
|
+
variant = "help",
|
|
43
|
+
...otherProps
|
|
44
|
+
} = ownProps;
|
|
45
|
+
const [isOpen, setOpen] = useControlledState(isOpenProp, defaultOpen || false, onOpenChange);
|
|
46
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "sm";
|
|
47
|
+
const classNames = clsx(
|
|
48
|
+
GlobalContextualHelpCssSelector,
|
|
49
|
+
cssModule(
|
|
50
|
+
ContextualHelp_module_default,
|
|
51
|
+
GlobalContextualHelpCssSelector,
|
|
52
|
+
placement
|
|
53
|
+
),
|
|
54
|
+
stylingProps.className,
|
|
55
|
+
className
|
|
56
|
+
);
|
|
57
|
+
const mergedStyles = {
|
|
58
|
+
...style,
|
|
59
|
+
...stylingProps.style
|
|
60
|
+
};
|
|
61
|
+
const clearCloseTimeout = useCallback(() => {
|
|
62
|
+
if (timeoutRef.current) {
|
|
63
|
+
clearTimeout(timeoutRef.current);
|
|
64
|
+
timeoutRef.current = null;
|
|
65
|
+
}
|
|
66
|
+
}, []);
|
|
67
|
+
const scheduleClose = useCallback(() => {
|
|
68
|
+
clearCloseTimeout();
|
|
69
|
+
timeoutRef.current = setTimeout(() => {
|
|
70
|
+
setOpen(false);
|
|
71
|
+
}, 50);
|
|
72
|
+
}, [clearCloseTimeout, setOpen]);
|
|
73
|
+
const handleOpenChanged = useCallback((open) => {
|
|
74
|
+
if (openTrigger === "hover") {
|
|
75
|
+
setOpen(open || isOpen);
|
|
76
|
+
} else {
|
|
77
|
+
setOpen(open);
|
|
78
|
+
}
|
|
79
|
+
if (!open) {
|
|
80
|
+
setOpenTrigger(void 0);
|
|
81
|
+
}
|
|
82
|
+
}, [openTrigger, setOpen, isOpen]);
|
|
83
|
+
const handleMouseMove = useCallback((event) => {
|
|
84
|
+
if (!isOpen || openTrigger !== "hover") {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const { clientX, clientY } = event;
|
|
88
|
+
if (isPointInSafeArea(clientX, clientY, ref, popoverRef)) {
|
|
89
|
+
clearCloseTimeout();
|
|
90
|
+
} else {
|
|
91
|
+
scheduleClose();
|
|
92
|
+
}
|
|
93
|
+
}, [isOpen, openTrigger, ref, clearCloseTimeout, scheduleClose]);
|
|
94
|
+
const handleTriggerMouseEnter = useCallback(() => {
|
|
95
|
+
clearCloseTimeout();
|
|
96
|
+
setOpen(true);
|
|
97
|
+
}, [clearCloseTimeout, setOpen]);
|
|
98
|
+
useEffect(() => {
|
|
99
|
+
if (isOpen) {
|
|
100
|
+
document.addEventListener("mousemove", handleMouseMove);
|
|
101
|
+
return () => {
|
|
102
|
+
document.removeEventListener("mousemove", handleMouseMove);
|
|
103
|
+
clearCloseTimeout();
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
}, [clearCloseTimeout, handleMouseMove, isOpen]);
|
|
107
|
+
const handlePressed = useCallback((e) => {
|
|
108
|
+
onPress == null ? void 0 : onPress(e);
|
|
109
|
+
setOpenTrigger("click");
|
|
110
|
+
}, [setOpenTrigger, onPress]);
|
|
111
|
+
const handleHoverStarted = useCallback((e) => {
|
|
112
|
+
onHoverStart == null ? void 0 : onHoverStart(e);
|
|
113
|
+
handleTriggerMouseEnter();
|
|
114
|
+
if (openTrigger === void 0) {
|
|
115
|
+
setOpenTrigger("hover");
|
|
116
|
+
}
|
|
117
|
+
}, [handleTriggerMouseEnter, openTrigger, setOpenTrigger, onHoverStart]);
|
|
118
|
+
const Icon = variant === "help" ? QuestionIcon : InfoIcon;
|
|
119
|
+
return (
|
|
120
|
+
/**
|
|
121
|
+
* TODO: Remove the ClearContainerSlots once RAC deploys the issue of Contexts being passed down to Popovers.
|
|
122
|
+
* https://github.com/adobe/react-spectrum/pull/8321#issue-3098913572
|
|
123
|
+
*/
|
|
124
|
+
/* @__PURE__ */ jsx(
|
|
125
|
+
ClearProviders,
|
|
126
|
+
{
|
|
127
|
+
values: [
|
|
128
|
+
ButtonContext
|
|
129
|
+
],
|
|
130
|
+
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: /* @__PURE__ */ jsxs(PopoverTrigger, { isOpen, onOpenChange: handleOpenChanged, children: [
|
|
131
|
+
/* @__PURE__ */ jsx(
|
|
132
|
+
Button,
|
|
133
|
+
{
|
|
134
|
+
slot: slot != null ? slot : void 0,
|
|
135
|
+
className: classNames,
|
|
136
|
+
style: mergedStyles,
|
|
137
|
+
ref,
|
|
138
|
+
onPress: handlePressed,
|
|
139
|
+
onHoverStart: handleHoverStarted,
|
|
140
|
+
...otherProps,
|
|
141
|
+
children: /* @__PURE__ */ jsx(Icon, { size })
|
|
142
|
+
}
|
|
143
|
+
),
|
|
144
|
+
/* @__PURE__ */ jsx(
|
|
145
|
+
_PopoverBase,
|
|
146
|
+
{
|
|
147
|
+
ref: popoverRef,
|
|
148
|
+
crossOffset,
|
|
149
|
+
isNonModal: openTrigger === "hover",
|
|
150
|
+
offset,
|
|
151
|
+
placement,
|
|
152
|
+
shouldFlip,
|
|
153
|
+
className: clsx(popoverProps == null ? void 0 : popoverProps.className, ContextualHelp_module_default["hop-ContextualHelp__popover"]),
|
|
154
|
+
children: /* @__PURE__ */ jsx(
|
|
155
|
+
Provider,
|
|
156
|
+
{
|
|
157
|
+
values: [
|
|
158
|
+
[TextContext, {
|
|
159
|
+
size: "xs"
|
|
160
|
+
}]
|
|
161
|
+
],
|
|
162
|
+
children: ensureTextWrapper(children)
|
|
163
|
+
}
|
|
164
|
+
)
|
|
165
|
+
}
|
|
166
|
+
)
|
|
167
|
+
] }) })
|
|
168
|
+
}
|
|
169
|
+
)
|
|
170
|
+
);
|
|
171
|
+
}
|
|
172
|
+
function isPointInSafeArea(x, y, triggeRef, popoverRef) {
|
|
173
|
+
if (!triggeRef.current || !popoverRef.current) {
|
|
174
|
+
return false;
|
|
175
|
+
}
|
|
176
|
+
const triggerRect = triggeRef.current.getBoundingClientRect();
|
|
177
|
+
const popoverRect = popoverRef.current.getBoundingClientRect();
|
|
178
|
+
const safeArea = {
|
|
179
|
+
top: Math.min(triggerRect.top, popoverRect.top),
|
|
180
|
+
right: Math.max(triggerRect.right, popoverRect.right),
|
|
181
|
+
bottom: Math.max(triggerRect.bottom, popoverRect.bottom),
|
|
182
|
+
left: Math.min(triggerRect.left, popoverRect.left)
|
|
183
|
+
};
|
|
184
|
+
const isSafe = x >= safeArea.left && x <= safeArea.right && y >= safeArea.top && y <= safeArea.bottom;
|
|
185
|
+
return isSafe;
|
|
186
|
+
}
|
|
187
|
+
var _ContextualHelp = forwardRef(ContextualHelp);
|
|
188
|
+
_ContextualHelp.displayName = "ContextualHelp";
|
|
189
|
+
|
|
190
|
+
export { GlobalContextualHelpCssSelector, _ContextualHelp };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useFontFaceReady } from './chunk-IU6XMS2X.js';
|
|
2
2
|
import { TextAreaContext } from './chunk-MHQZXLKW.js';
|
|
3
3
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
4
|
-
import { _RemainingCharacterCount } from './chunk-
|
|
5
|
-
import { _InputGroup } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import { _HelperMessage } from './chunk-
|
|
8
|
-
import { _ErrorMessage } from './chunk-
|
|
9
|
-
import { useFormProps } from './chunk-
|
|
10
|
-
import { ClearContainerSlots } from './chunk-
|
|
4
|
+
import { _RemainingCharacterCount } from './chunk-67EK2P5M.js';
|
|
5
|
+
import { _InputGroup } from './chunk-UBILZ2MS.js';
|
|
6
|
+
import { FieldLabel } from './chunk-PDWWX5JI.js';
|
|
7
|
+
import { _HelperMessage } from './chunk-DEFXMEBJ.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-23WYVBUK.js';
|
|
9
|
+
import { useFormProps } from './chunk-HQJZSCV7.js';
|
|
10
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
11
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
13
|
import { useStyledSystem, useResponsiveValue, useIsomorphicLayoutEffect } from '@hopper-ui/styled-system';
|
|
@@ -79,7 +79,7 @@ function $b5e257d569688ac6$export$535bd6ca7f90a273() {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
// css-module:./TextArea.module.css#css-module
|
|
82
|
-
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-
|
|
82
|
+
var TextArea_module_default = { "hop-TextArea": "TextArea-module__hop-TextArea___r1Sqd", "hop-TextArea--fluid": "TextArea-module__hop-TextArea--fluid___Bw9Pn", "hop-TextArea__Label": "TextArea-module__hop-TextArea__Label___r0qV8", "hop-TextArea__prefix": "TextArea-module__hop-TextArea__prefix___aO21j", "hop-TextArea__RemainingCharacterCount": "TextArea-module__hop-TextArea__RemainingCharacterCount___M1s4z", "hop-TextArea__InputGroup": "TextArea-module__hop-TextArea__InputGroup___Izeth", "hop-TextArea__ErrorMessage": "TextArea-module__hop-TextArea__ErrorMessage___voe0u", "hop-TextArea__HelperMessage": "TextArea-module__hop-TextArea__HelperMessage___qYCcv", "hop-TextArea__textarea": "TextArea-module__hop-TextArea__textarea___czWmy", "hop-TextArea__textarea--with-character-count": "TextArea-module__hop-TextArea__textarea--with-character-count___NNXnP", "hop-TextArea__textarea--sm": "TextArea-module__hop-TextArea__textarea--sm___p2t1X" };
|
|
83
83
|
var GlobalTextAreaCssSelector = "hop-TextArea";
|
|
84
84
|
var DefaultMinimumTextAreaRows = 3;
|
|
85
85
|
var pxToInt = (value) => {
|
|
@@ -126,6 +126,7 @@ function TextArea(props, ref) {
|
|
|
126
126
|
});
|
|
127
127
|
const {
|
|
128
128
|
className,
|
|
129
|
+
contextualHelp,
|
|
129
130
|
style: styleProp,
|
|
130
131
|
size: sizeProp,
|
|
131
132
|
showCharacterCount,
|
|
@@ -259,7 +260,16 @@ function TextArea(props, ref) {
|
|
|
259
260
|
}
|
|
260
261
|
) });
|
|
261
262
|
const childrenMarkup = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
262
|
-
|
|
263
|
+
/* @__PURE__ */ jsx(
|
|
264
|
+
FieldLabel,
|
|
265
|
+
{
|
|
266
|
+
className: TextArea_module_default["hop-TextArea__Label"],
|
|
267
|
+
contextualHelp,
|
|
268
|
+
isRequired,
|
|
269
|
+
necessityIndicator,
|
|
270
|
+
children: label
|
|
271
|
+
}
|
|
272
|
+
),
|
|
263
273
|
inputMarkup,
|
|
264
274
|
description && /* @__PURE__ */ jsx(_HelperMessage, { className: TextArea_module_default["hop-TextArea__HelperMessage"], children: description }),
|
|
265
275
|
/* @__PURE__ */ jsx(_ErrorMessage, { className: TextArea_module_default["hop-TextArea__ErrorMessage"], children: errorMessage })
|
|
@@ -7,7 +7,7 @@ import { useContextProps, FieldErrorContext, composeRenderProps, Group } from 'r
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./InputGroup.module.css#css-module
|
|
10
|
-
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-
|
|
10
|
+
var InputGroup_module_default = { "hop-InputGroup": "InputGroup-module__hop-InputGroup___dpz8J", "hop-InputGroup--fluid": "InputGroup-module__hop-InputGroup--fluid___LJngv" };
|
|
11
11
|
var GlobalInputGroupCssSelector = "hop-InputGroup";
|
|
12
12
|
function InputGroup(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -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-L7DSMPLQ.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___WZbm6", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___k7mso", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___ZOHuW", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___dZdIH", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___DZR8u" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -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-VSCRFXJ2.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-L7DSMPLQ.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___lYzDi", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___s8oHK", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___dSbP6", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___-NndN", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___OPwVg" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { InternalSegmentedControlContext } from './chunk-6BJLSAMM.js';
|
|
2
1
|
import { SegmentedControlItemContext } from './chunk-VS3PE4S6.js';
|
|
3
|
-
import {
|
|
2
|
+
import { InternalSegmentedControlContext } from './chunk-6BJLSAMM.js';
|
|
3
|
+
import { _Text } from './chunk-L7DSMPLQ.js';
|
|
4
4
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { IconContext } from '@hopper-ui/icons';
|
|
@@ -11,7 +11,7 @@ import { useContextProps, ToggleGroupStateContext, ToggleButton, Provider, DEFAU
|
|
|
11
11
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./SegmentedControlItem.module.css#css-module
|
|
14
|
-
var SegmentedControlItem_module_default = { "hop-SegmentedControlItem": "SegmentedControlItem-module__hop-
|
|
14
|
+
var SegmentedControlItem_module_default = { "hop-SegmentedControlItem": "SegmentedControlItem-module__hop-SegmentedControlItem___d8bYH", "hop-SegmentedControlItem__slider": "SegmentedControlItem-module__hop-SegmentedControlItem__slider___HEESq", "hop-SegmentedControlItem__wrapper": "SegmentedControlItem-module__hop-SegmentedControlItem__wrapper___SAyeX", "hop-SegmentedControlItem--md": "SegmentedControlItem-module__hop-SegmentedControlItem--md___qQnJa", "hop-SegmentedControlItem__icon": "SegmentedControlItem-module__hop-SegmentedControlItem__icon___3m6Ek", "hop-SegmentedControlItem__text": "SegmentedControlItem-module__hop-SegmentedControlItem__text___JlSFG", "hop-SegmentedControlItem__start-icon": "SegmentedControlItem-module__hop-SegmentedControlItem__start-icon___dtSqN", "hop-SegmentedControlItem--justified": "SegmentedControlItem-module__hop-SegmentedControlItem--justified___7duSS" };
|
|
15
15
|
var GlobalSegmentedControlItemCssSelector = "hop-SegmentedControlItem";
|
|
16
16
|
var SegmentedControlItem = (props, ref) => {
|
|
17
17
|
var _a;
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./ToggleArrow.module.css#css-module
|
|
11
|
-
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-
|
|
11
|
+
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-ToggleArrow___F3uDI" };
|
|
12
12
|
var GlobalToggleArrowCssSelector = "hop-ToggleArrow";
|
|
13
13
|
function ToggleArrow(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, ToggleArrowContext);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InternalMenuTriggerContext } from './chunk-ERUOMTWL.js';
|
|
2
2
|
import { MenuContext, InternalMenuContext } from './chunk-U4LYXB7W.js';
|
|
3
3
|
import { MenuItemContext } from './chunk-OGC6BUEX.js';
|
|
4
|
-
import { InternalMenuTriggerContext } from './chunk-ERUOMTWL.js';
|
|
5
4
|
import { DividerContext } from './chunk-AB4BRU6Z.js';
|
|
5
|
+
import { _PopoverBase } from './chunk-W2EX7F7K.js';
|
|
6
6
|
import { HeaderContext } from './chunk-FOQ7KN4V.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, Menu as Menu$1 } from 'react-aria-components';
|
|
|
13
13
|
import { jsx } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Menu.module.css#css-module
|
|
16
|
-
var Menu_module_default = { "hop-Menu": "Menu-module__hop-
|
|
16
|
+
var Menu_module_default = { "hop-Menu": "Menu-module__hop-Menu___dxMmH", "hop-Menu__header": "Menu-module__hop-Menu__header___mkIkj", "hop-Menu__divider": "Menu-module__hop-Menu__divider___92H4y" };
|
|
17
17
|
var GlobalMenuCssSelector = "hop-Menu";
|
|
18
18
|
function Menu(props, ref) {
|
|
19
19
|
[props, ref] = useContextProps(props, ref, MenuContext);
|
|
@@ -84,7 +84,6 @@ function Menu(props, ref) {
|
|
|
84
84
|
outline: "none",
|
|
85
85
|
offset: isSubmenu ? 12 : 8,
|
|
86
86
|
crossOffset: isSubmenu ? -10 : 0,
|
|
87
|
-
className: clsx(popoverProps == null ? void 0 : popoverProps.className, Menu_module_default["hop-Menu__popover"]),
|
|
88
87
|
...popoverProps,
|
|
89
88
|
children: content
|
|
90
89
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TagGroupContext, InternalTagGroupContext } from './chunk-4BWTFR22.js';
|
|
2
2
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import {
|
|
4
|
-
import { _HelperMessage } from './chunk-
|
|
5
|
-
import { _ErrorMessage } from './chunk-
|
|
6
|
-
import { useFormProps } from './chunk-
|
|
3
|
+
import { FieldLabel } from './chunk-PDWWX5JI.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-DEFXMEBJ.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-23WYVBUK.js';
|
|
6
|
+
import { useFormProps } from './chunk-HQJZSCV7.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
9
9
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, FieldErrorContext, TagGroup as Tag
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./TagGroup.module.css#css-module
|
|
17
|
-
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-
|
|
17
|
+
var TagGroup_module_default = { "hop-TagGroup": "TagGroup-module__hop-TagGroup___48fwW", "hop-TagGroup__label": "TagGroup-module__hop-TagGroup__label___8gSQ3", "hop-TagGroup__list": "TagGroup-module__hop-TagGroup__list___FWPsU", "hop-TagGroup__error-message": "TagGroup-module__hop-TagGroup__error-message___IKwxJ", "hop-TagGroup__helper-message": "TagGroup-module__hop-TagGroup__helper-message___ysCU-" };
|
|
18
18
|
var GlobalTagGroupCssSelector = "hop-TagGroup";
|
|
19
19
|
function TagGroup(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -24,6 +24,7 @@ function TagGroup(props, ref) {
|
|
|
24
24
|
const {
|
|
25
25
|
className,
|
|
26
26
|
children,
|
|
27
|
+
contextualHelp,
|
|
27
28
|
description,
|
|
28
29
|
errorMessage,
|
|
29
30
|
isInvalid = false,
|
|
@@ -103,7 +104,15 @@ function TagGroup(props, ref) {
|
|
|
103
104
|
style,
|
|
104
105
|
...otherProps,
|
|
105
106
|
children: [
|
|
106
|
-
|
|
107
|
+
/* @__PURE__ */ jsx(
|
|
108
|
+
FieldLabel,
|
|
109
|
+
{
|
|
110
|
+
className: TagGroup_module_default["hop-TagGroup__Label"],
|
|
111
|
+
necessityIndicator,
|
|
112
|
+
contextualHelp,
|
|
113
|
+
children: label
|
|
114
|
+
}
|
|
115
|
+
),
|
|
107
116
|
/* @__PURE__ */ jsx(
|
|
108
117
|
TagList,
|
|
109
118
|
{
|