@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
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { ModalContext } from './chunk-JBPNJWC7.js';
|
|
2
|
+
import { ImageContext } from './chunk-JAR7CXVS.js';
|
|
3
|
+
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
4
|
+
import { HeaderContext } from './chunk-FOQ7KN4V.js';
|
|
5
|
+
import { _BaseModal } from './chunk-3FHJOMUC.js';
|
|
6
|
+
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
7
|
+
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
8
|
+
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
9
|
+
import { _CloseButton } from './chunk-CNG2EXC7.js';
|
|
10
|
+
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
11
|
+
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
12
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
13
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
14
|
+
import clsx from 'clsx';
|
|
15
|
+
import { forwardRef } from 'react';
|
|
16
|
+
import { useContextProps, composeRenderProps, Dialog, OverlayTriggerStateContext, Provider } from 'react-aria-components';
|
|
17
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
18
|
+
|
|
19
|
+
// css-module:./Modal.module.css#css-module
|
|
20
|
+
var Modal_module_default = { "hop-Modal": "Modal-module__hop-Modal___Ei--r", "hop-Modal__top-container": "Modal-module__hop-Modal__top-container___bA5g3", "hop-Modal__bottom-container": "Modal-module__hop-Modal__bottom-container___gOf9-", "hop-Modal--has-image": "Modal-module__hop-Modal--has-image___Cl1Cz", "hop-Modal--fullscreen": "Modal-module__hop-Modal--fullscreen___4buL0", "hop-Modal--fullscreenTakeover": "Modal-module__hop-Modal--fullscreenTakeover___-YGbR", "hop-Modal__close": "Modal-module__hop-Modal__close___n6bxv", "hop-Modal__image": "Modal-module__hop-Modal__image___Y8e77", "hop-Modal__heading": "Modal-module__hop-Modal__heading___jPz-7", "hop-Modal__header": "Modal-module__hop-Modal__header___oNd92", "hop-Modal__content": "Modal-module__hop-Modal__content___LQcDa", "hop-Modal__footer": "Modal-module__hop-Modal__footer___GBCoi", "hop-Modal__button": "Modal-module__hop-Modal__button___XPYVr", "hop-Modal__button-group": "Modal-module__hop-Modal__button-group___5-j-Q" };
|
|
21
|
+
var GlobalModalCssSelector = "hop-Modal";
|
|
22
|
+
var ClearContexts = [ImageContext, HeadingContext, HeaderContext, ContentContext, FooterContext, ButtonContext, ButtonGroupContext];
|
|
23
|
+
var Modal = (props, ref) => {
|
|
24
|
+
var _a;
|
|
25
|
+
[props, ref] = useContextProps(props, ref, ModalContext);
|
|
26
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
27
|
+
const [imageRef, hasImage] = useSlot();
|
|
28
|
+
const {
|
|
29
|
+
className,
|
|
30
|
+
style,
|
|
31
|
+
slot,
|
|
32
|
+
isDismissible = true,
|
|
33
|
+
isKeyboardDismissDisabled,
|
|
34
|
+
size: sizeProp,
|
|
35
|
+
children: childrenProp,
|
|
36
|
+
isOpen,
|
|
37
|
+
defaultOpen,
|
|
38
|
+
onOpenChange,
|
|
39
|
+
overlayProps,
|
|
40
|
+
...otherProps
|
|
41
|
+
} = ownProps;
|
|
42
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
43
|
+
const classNames = clsx(
|
|
44
|
+
GlobalModalCssSelector,
|
|
45
|
+
cssModule(
|
|
46
|
+
Modal_module_default,
|
|
47
|
+
GlobalModalCssSelector,
|
|
48
|
+
size,
|
|
49
|
+
hasImage && "has-image"
|
|
50
|
+
),
|
|
51
|
+
stylingProps.className,
|
|
52
|
+
className
|
|
53
|
+
);
|
|
54
|
+
const mergedStyles = {
|
|
55
|
+
...style,
|
|
56
|
+
...stylingProps.style
|
|
57
|
+
};
|
|
58
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
59
|
+
return prev;
|
|
60
|
+
});
|
|
61
|
+
return /* @__PURE__ */ jsx(
|
|
62
|
+
_BaseModal,
|
|
63
|
+
{
|
|
64
|
+
...overlayProps,
|
|
65
|
+
isOpen,
|
|
66
|
+
defaultOpen,
|
|
67
|
+
onOpenChange,
|
|
68
|
+
hasImage,
|
|
69
|
+
size,
|
|
70
|
+
isDismissable: isDismissible,
|
|
71
|
+
isKeyboardDismissDisabled,
|
|
72
|
+
children: /* @__PURE__ */ jsx(
|
|
73
|
+
Dialog,
|
|
74
|
+
{
|
|
75
|
+
...otherProps,
|
|
76
|
+
ref,
|
|
77
|
+
className: classNames,
|
|
78
|
+
style: mergedStyles,
|
|
79
|
+
slot,
|
|
80
|
+
children: (renderProps) => /* @__PURE__ */ jsxs(OverlayTriggerStateContext.Provider, { value: null, children: [
|
|
81
|
+
/* @__PURE__ */ jsxs("div", { className: Modal_module_default["hop-Modal__top-container"], children: [
|
|
82
|
+
/* @__PURE__ */ jsx(
|
|
83
|
+
Provider,
|
|
84
|
+
{
|
|
85
|
+
values: [
|
|
86
|
+
[ImageContext, { isHidden: true }],
|
|
87
|
+
[HeadingContext, {
|
|
88
|
+
className: Modal_module_default["hop-Modal__heading"],
|
|
89
|
+
size: "lg",
|
|
90
|
+
slot: "title",
|
|
91
|
+
clearContexts: ClearContexts
|
|
92
|
+
}],
|
|
93
|
+
[HeaderContext, {
|
|
94
|
+
className: Modal_module_default["hop-Modal__header"],
|
|
95
|
+
clearContexts: ClearContexts
|
|
96
|
+
}],
|
|
97
|
+
[ContentContext, { isHidden: true }],
|
|
98
|
+
[FooterContext, { isHidden: true }],
|
|
99
|
+
[ButtonContext, { isHidden: true }],
|
|
100
|
+
[ButtonGroupContext, { isHidden: true }]
|
|
101
|
+
],
|
|
102
|
+
children: children(renderProps)
|
|
103
|
+
}
|
|
104
|
+
),
|
|
105
|
+
isDismissible && /* @__PURE__ */ jsx(_CloseButton, { className: Modal_module_default["hop-Modal__close"] })
|
|
106
|
+
] }),
|
|
107
|
+
/* @__PURE__ */ jsx(
|
|
108
|
+
Provider,
|
|
109
|
+
{
|
|
110
|
+
values: [
|
|
111
|
+
[ImageContext, { isHidden: true }],
|
|
112
|
+
[HeadingContext, { isHidden: true }],
|
|
113
|
+
[HeaderContext, { isHidden: true }],
|
|
114
|
+
[ContentContext, {
|
|
115
|
+
className: Modal_module_default["hop-Modal__content"],
|
|
116
|
+
clearContexts: ClearContexts
|
|
117
|
+
}],
|
|
118
|
+
[FooterContext, { isHidden: true }],
|
|
119
|
+
[ButtonContext, { isHidden: true }],
|
|
120
|
+
[ButtonGroupContext, { isHidden: true }]
|
|
121
|
+
],
|
|
122
|
+
children: children(renderProps)
|
|
123
|
+
}
|
|
124
|
+
),
|
|
125
|
+
/* @__PURE__ */ jsx("div", { className: Modal_module_default["hop-Modal__bottom-container"], children: /* @__PURE__ */ jsx(
|
|
126
|
+
Provider,
|
|
127
|
+
{
|
|
128
|
+
values: [
|
|
129
|
+
[ImageContext, { isHidden: true }],
|
|
130
|
+
[HeadingContext, { isHidden: true }],
|
|
131
|
+
[HeaderContext, { isHidden: true }],
|
|
132
|
+
[ContentContext, { isHidden: true }],
|
|
133
|
+
[FooterContext, {
|
|
134
|
+
className: Modal_module_default["hop-Modal__footer"],
|
|
135
|
+
clearContexts: ClearContexts
|
|
136
|
+
}],
|
|
137
|
+
[ButtonContext, {
|
|
138
|
+
className: Modal_module_default["hop-Modal__button"],
|
|
139
|
+
clearContexts: ClearContexts
|
|
140
|
+
}],
|
|
141
|
+
[ButtonGroupContext, {
|
|
142
|
+
className: Modal_module_default["hop-Modal__button-group"],
|
|
143
|
+
clearContexts: ClearContexts
|
|
144
|
+
}]
|
|
145
|
+
],
|
|
146
|
+
children: children(renderProps)
|
|
147
|
+
}
|
|
148
|
+
) }),
|
|
149
|
+
/* @__PURE__ */ jsx(
|
|
150
|
+
Provider,
|
|
151
|
+
{
|
|
152
|
+
values: [
|
|
153
|
+
//TODO: should support illustrations
|
|
154
|
+
[ImageContext, {
|
|
155
|
+
className: Modal_module_default["hop-Modal__image"],
|
|
156
|
+
ref: imageRef,
|
|
157
|
+
clearContexts: ClearContexts
|
|
158
|
+
}],
|
|
159
|
+
[HeadingContext, { isHidden: true }],
|
|
160
|
+
[HeaderContext, { isHidden: true }],
|
|
161
|
+
[ContentContext, { isHidden: true }],
|
|
162
|
+
[FooterContext, { isHidden: true }],
|
|
163
|
+
[ButtonContext, { isHidden: true }],
|
|
164
|
+
[ButtonGroupContext, { isHidden: true }]
|
|
165
|
+
],
|
|
166
|
+
children: children(renderProps)
|
|
167
|
+
}
|
|
168
|
+
)
|
|
169
|
+
] })
|
|
170
|
+
}
|
|
171
|
+
)
|
|
172
|
+
}
|
|
173
|
+
);
|
|
174
|
+
};
|
|
175
|
+
var _Modal = forwardRef(Modal);
|
|
176
|
+
_Modal.displayName = "Modal";
|
|
177
|
+
|
|
178
|
+
export { GlobalModalCssSelector, _Modal };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
2
2
|
import { FloatingBadgeContext } from './chunk-KZSTJ3QZ.js';
|
|
3
|
-
import { ClearContainerSlots } from './chunk-
|
|
3
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
4
4
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
6
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./FloatingBadge.module.css#css-module
|
|
13
|
-
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-
|
|
13
|
+
var FloatingBadge_module_default = { "hop-FloatingBadge": "FloatingBadge-module__hop-FloatingBadge___TCgcQ", "hop-FloatingBadge__badge": "FloatingBadge-module__hop-FloatingBadge__badge___sf8Z8" };
|
|
14
14
|
var GlobalFloatingBadgeCssSelector = "hop-FloatingBadge";
|
|
15
15
|
function FloatingBadge(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, FloatingBadgeContext);
|
|
@@ -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___WqqEa" };
|
|
11
11
|
var GlobalSvgImageCssSelector = "hop-SvgImage";
|
|
12
12
|
function SvgImage(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, SvgImageContext);
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./RichIconAvatarImage.module.css#css-module
|
|
14
|
-
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-
|
|
14
|
+
var RichIconAvatarImage_module_default = { "hop-RichIconAvatarImage": "RichIconAvatarImage-module__hop-RichIconAvatarImage___1PUxR", "hop-RichIconAvatarImage--xs": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___AaOnx", "hop-RichIconAvatarImage--sm": "RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___8Ecej", "hop-RichIconAvatarImage--md": "RichIconAvatarImage-module__hop-RichIconAvatarImage--md___aIh9w", "hop-RichIconAvatarImage--lg": "RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___9uTaH", "hop-RichIconAvatarImage--xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___ZOuAb", "hop-RichIconAvatarImage--2xl": "RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___ybj8I", "hop-RichIconAvatarImage__icon": "RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___SKpum" };
|
|
15
15
|
var GlobalRichIconAvatarImageCssSelector = "hop-RichIconAvatarImage";
|
|
16
16
|
var AvatarToIconSizeAdapter = {
|
|
17
17
|
xs: "md",
|
|
@@ -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___rObah", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___-NuVJ", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___iG7AV", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___RTYn-", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___79v-l", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___oDs-0" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Card.module.css#css-module
|
|
10
|
-
var Card_module_default = { "hop-Card": "Card-module__hop-
|
|
10
|
+
var Card_module_default = { "hop-Card": "Card-module__hop-Card___B597M", "hop-Card--main": "Card-module__hop-Card--main___VI3rp", "hop-Card--second-level": "Card-module__hop-Card--second-level___9tutu" };
|
|
11
11
|
var GlobalCardCssSelector = "hop-Card";
|
|
12
12
|
var Card = (props, ref) => {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, CardContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _Button } from './chunk-
|
|
2
|
-
import { useLocalizedString } from './chunk-
|
|
1
|
+
import { _Button } from './chunk-5FXGGEA5.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___aWaMI" };
|
|
14
14
|
var GlobalCloseButtonCssSelector = "hop-CloseButton";
|
|
15
15
|
function CloseButton(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, CloseButtonContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TabLine } from './chunk-R5CEXZPL.js';
|
|
2
1
|
import { TabListContext, InternalTabsContext } from './chunk-ZXON3BAA.js';
|
|
2
|
+
import { TabLine } from './chunk-EDDYY4KO.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
5
5
|
import clsx from 'clsx';
|
|
@@ -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___WpnwV", "hop-TabList--standalone": "TabList-module__hop-TabList--standalone___kwlhx", "hop-TabList--in-card": "TabList-module__hop-TabList--in-card___gqOCv", "hop-TabList__tablist": "TabList-module__hop-TabList__tablist___IKAk3", "hop-TabList--heading": "TabList-module__hop-TabList--heading___BzPNj" };
|
|
12
12
|
var GlobalTabListCssSelector = "hop-TabList";
|
|
13
13
|
function TabList(props, ref) {
|
|
14
14
|
var _a, _b;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ToggleArrowContext } from './chunk-LWPDIKEX.js';
|
|
2
2
|
import { DisclosureHeaderContext } from './chunk-CPAFY34U.js';
|
|
3
|
-
import { DisclosureContext } from './chunk-U4HRZ6DN.js';
|
|
4
3
|
import { DisclosurePanelContext } from './chunk-5XY5L6ZN.js';
|
|
4
|
+
import { DisclosureContext } from './chunk-U4HRZ6DN.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, useSlottedContext, composeRenderProps, Disclosure as D
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Disclosure.module.css#css-module
|
|
15
|
-
var Disclosure_module_default = { "hop-Disclosure": "Disclosure-module__hop-
|
|
15
|
+
var Disclosure_module_default = { "hop-Disclosure": "Disclosure-module__hop-Disclosure___ouzzc", "hop-Disclosure__header": "Disclosure-module__hop-Disclosure__header___tLUKD", "hop-Disclosure--inline": "Disclosure-module__hop-Disclosure--inline___j8F9D", "hop-Disclosure__panel": "Disclosure-module__hop-Disclosure__panel___LejU6" };
|
|
16
16
|
var GlobalDisclosureCssSelector = "hop-Disclosure";
|
|
17
17
|
function Disclosure(props, ref) {
|
|
18
18
|
[props, ref] = useContextProps(props, ref, DisclosureContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-PNEJ6JDM.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-L7DSMPLQ.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { InfoIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
|
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./HelperMessage.module.css#css-module
|
|
12
|
-
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-
|
|
12
|
+
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___QIP7E", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___bYyzZ" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
2
1
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
2
|
+
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
3
|
+
import { _RemainingCharacterCount } from './chunk-67EK2P5M.js';
|
|
4
|
+
import { Input } from './chunk-S5AHDRSE.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 { _ClearButton } from './chunk-JNJFX2LE.js';
|
|
10
|
+
import { useFormProps } from './chunk-HQJZSCV7.js';
|
|
11
|
+
import { ensureTextWrapper } from './chunk-CIQZIY5N.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___nNpMg", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___f42pQ", "hop-TextField__Label": "TextField-module__hop-TextField__Label___5MOpI", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___vsNDI", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___KqLxZ", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___4kKV8", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___4owpa" };
|
|
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,13 +1,13 @@
|
|
|
1
1
|
import { PasswordFieldContext } from './chunk-QW45G6K4.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 { _EmbeddedButton } from './chunk-
|
|
8
|
-
import { useFormProps } from './chunk-
|
|
9
|
-
import { useLocalizedString } from './chunk-
|
|
10
|
-
import { ClearContainerSlots } from './chunk-
|
|
2
|
+
import { Input } from './chunk-S5AHDRSE.js';
|
|
3
|
+
import { _InputGroup } from './chunk-UBILZ2MS.js';
|
|
4
|
+
import { FieldLabel } from './chunk-PDWWX5JI.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-DEFXMEBJ.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-23WYVBUK.js';
|
|
7
|
+
import { _EmbeddedButton } from './chunk-KKUSWUZC.js';
|
|
8
|
+
import { useFormProps } from './chunk-HQJZSCV7.js';
|
|
9
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.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 { EyeVisibleIcon, EyeHiddenIcon } from '@hopper-ui/icons';
|
|
@@ -20,7 +20,7 @@ import { useContextProps, composeRenderProps, TextField } from 'react-aria-compo
|
|
|
20
20
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
21
21
|
|
|
22
22
|
// css-module:./PasswordField.module.css#css-module
|
|
23
|
-
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-
|
|
23
|
+
var PasswordField_module_default = { "hop-PasswordField": "PasswordField-module__hop-PasswordField___15NYm", "hop-PasswordField--fluid": "PasswordField-module__hop-PasswordField--fluid___fjZCZ", "hop-PasswordField__Label": "PasswordField-module__hop-PasswordField__Label___fQTe4", "hop-PasswordField__InputGroup": "PasswordField-module__hop-PasswordField__InputGroup___9BMhI", "hop-PasswordField__ErrorMessage": "PasswordField-module__hop-PasswordField__ErrorMessage___BMY87", "hop-PasswordField__HelperMessage": "PasswordField-module__hop-PasswordField__HelperMessage___tjF1T" };
|
|
24
24
|
var GlobalPasswordFieldCssSelector = "hop-PasswordField";
|
|
25
25
|
function PasswordField(props, ref) {
|
|
26
26
|
var _a;
|
|
@@ -35,6 +35,7 @@ function PasswordField(props, ref) {
|
|
|
35
35
|
const stringFormatter = useLocalizedString();
|
|
36
36
|
const {
|
|
37
37
|
className,
|
|
38
|
+
contextualHelp,
|
|
38
39
|
style: styleProp,
|
|
39
40
|
size,
|
|
40
41
|
placeholder,
|
|
@@ -100,7 +101,16 @@ function PasswordField(props, ref) {
|
|
|
100
101
|
}
|
|
101
102
|
) });
|
|
102
103
|
const childrenMarkup = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
103
|
-
|
|
104
|
+
/* @__PURE__ */ jsx(
|
|
105
|
+
FieldLabel,
|
|
106
|
+
{
|
|
107
|
+
className: PasswordField_module_default["hop-PasswordField__Label"],
|
|
108
|
+
contextualHelp,
|
|
109
|
+
isRequired,
|
|
110
|
+
necessityIndicator,
|
|
111
|
+
children: label
|
|
112
|
+
}
|
|
113
|
+
),
|
|
104
114
|
inputMarkup,
|
|
105
115
|
description && /* @__PURE__ */ jsx(_HelperMessage, { className: PasswordField_module_default["hop-PasswordField__HelperMessage"], children: description }),
|
|
106
116
|
/* @__PURE__ */ jsx(_ErrorMessage, { className: PasswordField_module_default["hop-PasswordField__ErrorMessage"], children: errorMessage })
|
|
@@ -5,7 +5,7 @@ import { TabListStateContext } from 'react-aria-components';
|
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
// css-module:./TabLine.module.css#css-module
|
|
8
|
-
var TabLine_module_default = { "hop-TabLine": "TabLine-module__hop-
|
|
8
|
+
var TabLine_module_default = { "hop-TabLine": "TabLine-module__hop-TabLine___5CNI1", "hop-TabLine--disabled": "TabLine-module__hop-TabLine--disabled___cjaWT" };
|
|
9
9
|
var GlobalTabLineCssSelector = "hop-TabLine";
|
|
10
10
|
function TabLine(props) {
|
|
11
11
|
var _a;
|
|
@@ -1,31 +1,25 @@
|
|
|
1
1
|
import { LabelContext } from './chunk-YVCZUIU3.js';
|
|
2
|
-
import { useFormProps } from './chunk-R4ICRVDS.js';
|
|
3
|
-
import { useLocalizedString } from './chunk-75DHKNW2.js';
|
|
4
2
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
3
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
6
4
|
import { filterDOMProps } from '@react-aria/utils';
|
|
7
5
|
import clsx from 'clsx';
|
|
8
6
|
import { forwardRef } from 'react';
|
|
9
7
|
import { useContextProps, Label as Label$1 } from 'react-aria-components';
|
|
10
|
-
import { jsx
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
11
9
|
|
|
12
10
|
// css-module:./Label.module.css#css-module
|
|
13
|
-
var Label_module_default = { "hop-Label": "Label-module__hop-
|
|
11
|
+
var Label_module_default = { "hop-Label": "Label-module__hop-Label___dgJtM" };
|
|
14
12
|
var GlobalLabelCssSelector = "hop-Label";
|
|
15
13
|
function Label(props, ref) {
|
|
16
14
|
[props, ref] = useContextProps(props, ref, LabelContext);
|
|
17
|
-
props = useFormProps(props);
|
|
18
15
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
19
16
|
const {
|
|
20
17
|
className,
|
|
21
18
|
children,
|
|
22
19
|
slot,
|
|
23
20
|
style,
|
|
24
|
-
isRequired,
|
|
25
|
-
necessityIndicator,
|
|
26
21
|
...otherProps
|
|
27
22
|
} = ownProps;
|
|
28
|
-
const stringFormatter = useLocalizedString();
|
|
29
23
|
const classNames = clsx(
|
|
30
24
|
className,
|
|
31
25
|
GlobalLabelCssSelector,
|
|
@@ -39,18 +33,8 @@ function Label(props, ref) {
|
|
|
39
33
|
...stylingProps.style,
|
|
40
34
|
...style
|
|
41
35
|
};
|
|
42
|
-
const necessityLabel = isRequired ? stringFormatter.format("Label.necessityLabel.required") : stringFormatter.format("Label.necessityLabel.optional");
|
|
43
|
-
const requiredIndicator = /* @__PURE__ */ jsx(
|
|
44
|
-
"span",
|
|
45
|
-
{
|
|
46
|
-
"aria-hidden": "true",
|
|
47
|
-
"aria-label": necessityLabel,
|
|
48
|
-
className: Label_module_default["hop-Label__indicator"],
|
|
49
|
-
children: "*"
|
|
50
|
-
}
|
|
51
|
-
);
|
|
52
36
|
const filteredProps = filterDOMProps(otherProps, { labelable: true });
|
|
53
|
-
return /* @__PURE__ */
|
|
37
|
+
return /* @__PURE__ */ jsx(
|
|
54
38
|
Label$1,
|
|
55
39
|
{
|
|
56
40
|
ref,
|
|
@@ -58,15 +42,7 @@ function Label(props, ref) {
|
|
|
58
42
|
slot: slot || void 0,
|
|
59
43
|
style: mergedStyles,
|
|
60
44
|
...filteredProps,
|
|
61
|
-
children
|
|
62
|
-
children,
|
|
63
|
-
necessityIndicator === "label" && !isRequired && /* @__PURE__ */ jsxs("span", { className: Label_module_default["hop-Label__label-indicator"], children: [
|
|
64
|
-
" (",
|
|
65
|
-
necessityLabel,
|
|
66
|
-
")"
|
|
67
|
-
] }),
|
|
68
|
-
necessityIndicator === "asterisk" && isRequired && requiredIndicator
|
|
69
|
-
]
|
|
45
|
+
children
|
|
70
46
|
}
|
|
71
47
|
);
|
|
72
48
|
}
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./IconList.module.css#css-module
|
|
11
|
-
var IconList_module_default = { "hop-IconList": "IconList-module__hop-
|
|
11
|
+
var IconList_module_default = { "hop-IconList": "IconList-module__hop-IconList___m2E3v" };
|
|
12
12
|
var GlobalIconListCssSelector = "hop-IconList";
|
|
13
13
|
function IconList(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, IconListContext);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { InternalTagGroupContext } from './chunk-4BWTFR22.js';
|
|
2
2
|
import { TagContext } from './chunk-EWMWQ2MC.js';
|
|
3
|
-
import { _ClearButton } from './chunk-
|
|
4
|
-
import { mapOrbiterToHopperVariants } from './chunk-
|
|
3
|
+
import { _ClearButton } from './chunk-JNJFX2LE.js';
|
|
4
|
+
import { mapOrbiterToHopperVariants } from './chunk-KKUSWUZC.js';
|
|
5
5
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
6
6
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
7
7
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
8
|
-
import { _Spinner } from './chunk-
|
|
8
|
+
import { _Spinner } from './chunk-53QBBZR4.js';
|
|
9
9
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
10
|
-
import { useFormProps } from './chunk-
|
|
11
|
-
import { useLocalizedString } from './chunk-
|
|
12
|
-
import { ensureTextWrapper } from './chunk-
|
|
13
|
-
import { ClearContainerSlots } from './chunk-
|
|
10
|
+
import { useFormProps } from './chunk-HQJZSCV7.js';
|
|
11
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
12
|
+
import { ensureTextWrapper } from './chunk-CIQZIY5N.js';
|
|
13
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
14
14
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
15
15
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
16
16
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -25,7 +25,7 @@ import { useContextProps, composeRenderProps, Tag as Tag$1 } from 'react-aria-co
|
|
|
25
25
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
26
26
|
|
|
27
27
|
// css-module:./Tag.module.css#css-module
|
|
28
|
-
var Tag_module_default = { "hop-Tag": "Tag-module__hop-
|
|
28
|
+
var Tag_module_default = { "hop-Tag": "Tag-module__hop-Tag___TUAuQ", "hop-Tag--sm": "Tag-module__hop-Tag--sm___qupvw", "hop-Tag__remove-btn": "Tag-module__hop-Tag__remove-btn___LWGUY", "hop-Tag__Spinner": "Tag-module__hop-Tag__Spinner___owefL", "hop-Tag__avatar": "Tag-module__hop-Tag__avatar___JGUX1", "hop-Tag--md": "Tag-module__hop-Tag--md___orF2o", "hop-Tag--lg": "Tag-module__hop-Tag--lg___JhLRp", "hop-Tag--neutral": "Tag-module__hop-Tag--neutral___dqPlQ", "hop-Tag--subdued": "Tag-module__hop-Tag--subdued___o7oto", "hop-Tag--progress": "Tag-module__hop-Tag--progress___fCcQd", "hop-Tag--positive": "Tag-module__hop-Tag--positive___xBCWA", "hop-Tag--caution": "Tag-module__hop-Tag--caution___U-1Km", "hop-Tag--negative": "Tag-module__hop-Tag--negative___0ynAV", "hop-Tag--option1": "Tag-module__hop-Tag--option1___i9Q9R", "hop-Tag--option2": "Tag-module__hop-Tag--option2___srQPr", "hop-Tag--option3": "Tag-module__hop-Tag--option3___X7s-B", "hop-Tag--option4": "Tag-module__hop-Tag--option4___8hbe-", "hop-Tag--option5": "Tag-module__hop-Tag--option5___1GGgO", "hop-Tag--option6": "Tag-module__hop-Tag--option6___BMtkR", "hop-Tag__icon": "Tag-module__hop-Tag__icon___qdNLu", "hop-Tag__icon-list": "Tag-module__hop-Tag__icon-list___0ljri", "hop-Tag__text": "Tag-module__hop-Tag__text___0JZM5", "hop-Tag__badge": "Tag-module__hop-Tag__badge___bA1PK", "hop-Tag__badge--subdued": "Tag-module__hop-Tag__badge--subdued___9EbJ-" };
|
|
29
29
|
var GlobalTagCssSelector = "hop-Tag";
|
|
30
30
|
var TagToTextSizeAdapter = {
|
|
31
31
|
sm: "xs",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
3
|
-
import { useFormProps } from './chunk-
|
|
4
|
-
import { ensureTextWrapper } from './chunk-
|
|
5
|
-
import { ClearContainerSlots } from './chunk-
|
|
3
|
+
import { useFormProps } from './chunk-HQJZSCV7.js';
|
|
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';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Checkbox as Checkbox$1 } from 'rea
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Checkbox.module.css#css-module
|
|
17
|
-
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-
|
|
17
|
+
var Checkbox_module_default = { "hop-Checkbox": "Checkbox-module__hop-Checkbox___RAOey", "hop-Checkbox--sm": "Checkbox-module__hop-Checkbox--sm___i3CSP", "hop-Checkbox--md": "Checkbox-module__hop-Checkbox--md___GL7zO", "hop-Checkbox__icon": "Checkbox-module__hop-Checkbox__icon___s-OVR", "hop-Checkbox__icon-list": "Checkbox-module__hop-Checkbox__icon-list___LdGhF", "hop-Checkbox__box": "Checkbox-module__hop-Checkbox__box___oqQ7-", "hop-Checkbox__check": "Checkbox-module__hop-Checkbox__check___QKTgI", "hop-Checkbox__text": "Checkbox-module__hop-Checkbox__text___vQWZ9" };
|
|
18
18
|
var GlobalCheckboxCssSelector = "hop-Checkbox";
|
|
19
19
|
function Checkbox(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _OverlineText } from './chunk-
|
|
1
|
+
import { _OverlineText } from './chunk-J5FY5YAZ.js';
|
|
2
2
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
|
-
import { ClearContainerSlots } from './chunk-
|
|
4
|
+
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
7
|
import { slot, useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -23,7 +23,7 @@ function mapOrbiterToHopperVariants(variant) {
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
// css-module:./Badge.module.css#css-module
|
|
26
|
-
var Badge_module_default = { "hop-Badge": "Badge-module__hop-
|
|
26
|
+
var Badge_module_default = { "hop-Badge": "Badge-module__hop-Badge___A-Bla", "hop-Badge--primary": "Badge-module__hop-Badge--primary___E55Gz", "hop-Badge--secondary": "Badge-module__hop-Badge--secondary___0bxAx", "hop-Badge--subdued": "Badge-module__hop-Badge--subdued___zdomT" };
|
|
27
27
|
var GlobalBadgeCssSelector = "hop-Badge";
|
|
28
28
|
function Badge(props, ref) {
|
|
29
29
|
[props, ref] = useContextProps(props, ref, BadgeContext);
|
|
@@ -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___7RaBZ" };
|
|
11
11
|
var GlobalFormCssSelector = "hop-Form";
|
|
12
12
|
function useFormProps(props) {
|
|
13
13
|
const ctx = useContext(FormContext);
|