@hopper-ui/components 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/accordion/src/Accordion.css +78 -78
- package/dist/accordion/src/Accordion.js +2 -2
- package/dist/accordion/src/index.css +78 -78
- package/dist/accordion/src/index.js +2 -2
- package/dist/alert/src/Alert.css +586 -313
- package/dist/alert/src/Alert.js +11 -10
- package/dist/alert/src/index.css +586 -313
- package/dist/alert/src/index.js +11 -10
- package/dist/avatar/src/AnonymousAvatar.css +48 -48
- package/dist/avatar/src/AnonymousAvatar.js +2 -2
- package/dist/avatar/src/Avatar.css +66 -66
- package/dist/avatar/src/Avatar.js +4 -4
- package/dist/avatar/src/AvatarGroup.css +65 -65
- package/dist/avatar/src/AvatarGroup.js +6 -6
- package/dist/avatar/src/BrokenAvatar.css +48 -48
- package/dist/avatar/src/BrokenAvatar.js +2 -2
- package/dist/avatar/src/DeletedAvatar.css +48 -48
- package/dist/avatar/src/DeletedAvatar.js +2 -2
- package/dist/avatar/src/RichIconAvatarImage.css +48 -48
- package/dist/avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/avatar/src/index.css +93 -93
- package/dist/avatar/src/index.js +11 -11
- package/dist/badge/src/Badge.css +53 -53
- package/dist/badge/src/Badge.js +2 -2
- package/dist/badge/src/FloatingBadge.css +48 -48
- package/dist/badge/src/FloatingBadge.js +1 -1
- package/dist/badge/src/index.css +63 -63
- package/dist/badge/src/index.js +3 -3
- package/dist/buttons/src/Button.css +104 -104
- package/dist/buttons/src/Button.js +7 -6
- package/dist/buttons/src/ButtonContext.d.ts +1 -1
- package/dist/buttons/src/ButtonGroup.css +49 -49
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ClearButton.css +109 -109
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/CloseButton.css +105 -105
- package/dist/buttons/src/CloseButton.js +8 -7
- package/dist/buttons/src/EmbeddedButton.css +109 -109
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +113 -113
- package/dist/buttons/src/LinkButton.js +5 -5
- package/dist/buttons/src/ToggleButton.css +630 -0
- package/dist/buttons/src/ToggleButton.d.ts +51 -0
- package/dist/buttons/src/ToggleButton.js +17 -0
- package/dist/buttons/src/ToggleButtonContext.d.ts +22 -0
- package/dist/buttons/src/ToggleButtonContext.js +2 -0
- package/dist/buttons/src/index.css +534 -261
- package/dist/buttons/src/index.d.ts +2 -0
- package/dist/buttons/src/index.js +14 -11
- package/dist/callout/src/Callout.css +546 -273
- package/dist/callout/src/Callout.js +9 -8
- package/dist/callout/src/CompactCallout.css +583 -310
- package/dist/callout/src/CompactCallout.js +9 -8
- package/dist/callout/src/index.css +595 -322
- package/dist/callout/src/index.js +11 -10
- package/dist/card/src/Card.css +41 -41
- package/dist/card/src/Card.js +1 -1
- package/dist/card/src/index.css +41 -41
- package/dist/card/src/index.js +1 -1
- package/dist/checkbox/src/Checkbox.css +57 -57
- package/dist/checkbox/src/Checkbox.js +5 -5
- package/dist/checkbox/src/CheckboxField.css +44 -44
- package/dist/checkbox/src/CheckboxField.js +3 -3
- package/dist/checkbox/src/CheckboxGroup.css +109 -109
- package/dist/checkbox/src/CheckboxGroup.js +8 -8
- package/dist/checkbox/src/DecorativeCheckbox.css +65 -65
- package/dist/checkbox/src/DecorativeCheckbox.js +3 -3
- package/dist/checkbox/src/index.css +109 -109
- package/dist/checkbox/src/index.js +13 -13
- package/dist/{chunk-3VZPTUVR.js → chunk-2AD6XN2R.js} +2 -2
- package/dist/{chunk-6T7TUF6N.js → chunk-3ETJUGAP.js} +3 -3
- package/dist/{chunk-X4IV4VLD.js → chunk-3OGBUJLO.js} +3 -3
- package/dist/{chunk-TQQMWXRK.js → chunk-3YYC7XZW.js} +3 -3
- package/dist/{chunk-DEFXMEBJ.js → chunk-57WEWZ4L.js} +2 -2
- package/dist/{chunk-JBTFYM4B.js → chunk-5F2LUFRN.js} +2 -2
- package/dist/{chunk-S5AHDRSE.js → chunk-5MNBACCS.js} +1 -1
- package/dist/{chunk-5H2DG3VF.js → chunk-72UDPGXN.js} +2 -2
- package/dist/{chunk-VBJVG2YA.js → chunk-76JOA74P.js} +5 -5
- package/dist/{chunk-OYPIU6JL.js → chunk-7K3TKE2R.js} +2 -2
- package/dist/{chunk-J6FKM7WM.js → chunk-7KXUKO5L.js} +1 -1
- package/dist/{chunk-PQVBUEXC.js → chunk-7WJAJGOX.js} +2 -2
- package/dist/{chunk-Z5WDAIAE.js → chunk-A5MNOCQ2.js} +2 -2
- package/dist/{chunk-FIY4TUYL.js → chunk-BD2ZOQJW.js} +1 -1
- package/dist/chunk-BYERWFG4.js +7 -0
- package/dist/{chunk-NAK42XEC.js → chunk-D3QAZ56J.js} +4 -4
- package/dist/{chunk-LACYHXY5.js → chunk-D7ICCQM5.js} +2 -2
- package/dist/{chunk-5ZP2KUGN.js → chunk-DB4Y2SXS.js} +11 -11
- package/dist/{chunk-G5GYOSK7.js → chunk-DGU5YZM5.js} +6 -6
- package/dist/{chunk-23WYVBUK.js → chunk-DOP43XH5.js} +2 -2
- package/dist/{chunk-QARGGDML.js → chunk-DSK6IH5M.js} +3 -3
- package/dist/{chunk-PDWWX5JI.js → chunk-E5RHW4IY.js} +3 -3
- package/dist/chunk-ESCEY6RN.js +137 -0
- package/dist/{chunk-YDNBMCQD.js → chunk-ETBPFG5Z.js} +1 -1
- package/dist/{chunk-QDN24QKG.js → chunk-EWP3IGMD.js} +1 -1
- package/dist/{chunk-J5FY5YAZ.js → chunk-F6VSINXC.js} +1 -1
- package/dist/{chunk-YZBOR2D4.js → chunk-FJUFE7XU.js} +6 -6
- package/dist/{chunk-2KFOOJ34.js → chunk-FORSJNLX.js} +8 -8
- package/dist/{chunk-ACG3BFJQ.js → chunk-FPHBQO6G.js} +1 -1
- package/dist/{chunk-DP4FHVJR.js → chunk-FSS4CZQI.js} +10 -10
- package/dist/{chunk-OABMTS4J.js → chunk-FXNQDM7U.js} +1 -1
- package/dist/{chunk-NFETZ57D.js → chunk-G5AQXKGI.js} +1 -1
- package/dist/{chunk-JVLK5INM.js → chunk-GDODCIB6.js} +3 -3
- package/dist/{chunk-AX3SYX3G.js → chunk-GHMBKUTU.js} +1 -1
- package/dist/{chunk-CT3S2ZJP.js → chunk-GVGOWUJG.js} +2 -2
- package/dist/{chunk-ULY62A7P.js → chunk-HF5YS5Z6.js} +3 -3
- package/dist/{chunk-CNG2EXC7.js → chunk-HL2I2YUG.js} +2 -2
- package/dist/chunk-HZTYQ5FQ.js +22 -0
- package/dist/{chunk-OS6JDQKO.js → chunk-I377K7IX.js} +2 -2
- package/dist/{chunk-LBXB3JFD.js → chunk-JASPC6XG.js} +5 -5
- package/dist/{chunk-OCK54JWW.js → chunk-JHAHLWQJ.js} +2 -2
- package/dist/{chunk-N7A4SDQA.js → chunk-JNV6W5JC.js} +12 -12
- package/dist/{chunk-NC7G3EHF.js → chunk-JQLKVLV7.js} +2 -2
- package/dist/{chunk-HQJZSCV7.js → chunk-K3GNQGLK.js} +1 -1
- package/dist/{chunk-XEMYAR47.js → chunk-KD5CC7J2.js} +1 -1
- package/dist/{chunk-UFR36PXP.js → chunk-KIXYAIPB.js} +2 -2
- package/dist/{chunk-JNJFX2LE.js → chunk-KN6OG3WN.js} +1 -1
- package/dist/{chunk-57RTMTQ7.js → chunk-KOLL65WL.js} +2 -2
- package/dist/{chunk-6Q6Q4HUH.js → chunk-L64YORM7.js} +5 -5
- package/dist/{chunk-2WU7UWOH.js → chunk-LO44K2EI.js} +2 -2
- package/dist/{chunk-V5PLUMR5.js → chunk-M64J2RXB.js} +3 -3
- package/dist/{chunk-I25B6DME.js → chunk-N6JCPZ5G.js} +2 -2
- package/dist/{chunk-CIQZIY5N.js → chunk-NGZNCS3G.js} +1 -1
- package/dist/{chunk-VSCRFXJ2.js → chunk-NNPOWTQ4.js} +5 -5
- package/dist/{chunk-AV7XDPXN.js → chunk-NRUHVUQY.js} +1 -1
- package/dist/{chunk-PJ2RHMZ3.js → chunk-PPBA6RPY.js} +2 -2
- package/dist/{chunk-V7OAPBQT.js → chunk-PWYDH3ZA.js} +1 -1
- package/dist/{chunk-HERQEWF5.js → chunk-Q252HANX.js} +2 -2
- package/dist/{chunk-67EK2P5M.js → chunk-Q4BKNDZD.js} +2 -2
- package/dist/{chunk-L7DSMPLQ.js → chunk-QCFV6G6K.js} +1 -1
- package/dist/{chunk-W2EX7F7K.js → chunk-QXTTPOP5.js} +1 -1
- package/dist/{chunk-DE74UTDH.js → chunk-QXZSPZWJ.js} +2 -2
- package/dist/{chunk-EDDYY4KO.js → chunk-RBUBE5ET.js} +1 -1
- package/dist/{chunk-G2IQWVGX.js → chunk-RM3WVAEZ.js} +1 -1
- package/dist/{chunk-EBXH6HHZ.js → chunk-RNGFFSNG.js} +8 -8
- package/dist/{chunk-UBBZ4LV5.js → chunk-SLK22PRQ.js} +7 -7
- package/dist/{chunk-IIBLQ2CB.js → chunk-TGQ4XIIL.js} +1 -1
- package/dist/{chunk-AC5FLJJL.js → chunk-TXETMX5H.js} +1 -1
- package/dist/{chunk-KKUSWUZC.js → chunk-UGZYYO3T.js} +1 -1
- package/dist/{chunk-5FXGGEA5.js → chunk-UH3WEXVR.js} +10 -19
- package/dist/{chunk-ZLL3VV5V.js → chunk-UPGCU4V3.js} +3 -3
- package/dist/{chunk-UBILZ2MS.js → chunk-URTTLQAC.js} +1 -1
- package/dist/{chunk-GR5QWFCA.js → chunk-VECFKZI5.js} +3 -3
- package/dist/{chunk-CC5SXS5R.js → chunk-VEXKMBM6.js} +1 -1
- package/dist/{chunk-LUCUQMMD.js → chunk-VFURXZPW.js} +2 -2
- package/dist/{chunk-LOFWD2GD.js → chunk-VQRXNT3Q.js} +2 -2
- package/dist/{chunk-WJE3JIRZ.js → chunk-VTHB4J4N.js} +2 -2
- package/dist/{chunk-2C4RHHUL.js → chunk-VUWTKMHT.js} +1 -1
- package/dist/{chunk-V7VDYDIQ.js → chunk-VX7TMQSF.js} +3 -3
- package/dist/{chunk-53QBBZR4.js → chunk-WEKPO5YP.js} +2 -2
- package/dist/{chunk-ZRYHXQDJ.js → chunk-WLNEXEEX.js} +1 -1
- package/dist/{chunk-QSCBTSIF.js → chunk-WOQOIB6V.js} +1 -1
- package/dist/{chunk-RIFW5PYW.js → chunk-X72OOA2X.js} +2 -2
- package/dist/{chunk-6G56A3XH.js → chunk-XQ3MES4Y.js} +8 -8
- package/dist/{chunk-LMH2XI5J.js → chunk-Y7ACQLH4.js} +1 -1
- package/dist/{chunk-YFQIN27E.js → chunk-YF4DILIQ.js} +1 -1
- package/dist/{chunk-3FHJOMUC.js → chunk-ZHEWPE46.js} +1 -1
- package/dist/{chunk-OINTMN5W.js → chunk-ZWCN6ASW.js} +2 -2
- package/dist/combobox/src/ComboBox.css +954 -681
- package/dist/combobox/src/ComboBox.js +20 -20
- package/dist/combobox/src/index.css +954 -681
- package/dist/combobox/src/index.js +20 -20
- package/dist/contextual-help/src/ContextualHelp.css +877 -604
- package/dist/contextual-help/src/ContextualHelp.js +4 -4
- package/dist/contextual-help/src/index.css +877 -604
- package/dist/contextual-help/src/index.js +4 -4
- package/dist/disclosure/src/Disclosure.css +48 -48
- package/dist/disclosure/src/Disclosure.js +2 -2
- package/dist/disclosure/src/DisclosureHeader.css +55 -55
- package/dist/disclosure/src/DisclosureHeader.js +3 -3
- package/dist/disclosure/src/DisclosurePanel.css +48 -48
- package/dist/disclosure/src/DisclosurePanel.js +3 -3
- package/dist/disclosure/src/index.css +73 -73
- package/dist/disclosure/src/index.js +8 -8
- package/dist/divider/src/Divider.css +40 -40
- package/dist/divider/src/Divider.js +1 -1
- package/dist/divider/src/index.css +40 -40
- package/dist/divider/src/index.js +1 -1
- package/dist/error-message/src/ErrorMessage.css +40 -40
- package/dist/error-message/src/ErrorMessage.js +2 -2
- package/dist/error-message/src/index.css +40 -40
- package/dist/error-message/src/index.js +2 -2
- package/dist/form/src/Form.css +38 -38
- package/dist/form/src/Form.js +1 -1
- package/dist/form/src/index.css +38 -38
- package/dist/form/src/index.js +1 -1
- package/dist/header/src/Header.css +38 -38
- package/dist/header/src/index.css +38 -38
- package/dist/helper-message/src/HelperMessage.css +40 -40
- package/dist/helper-message/src/HelperMessage.js +2 -2
- package/dist/helper-message/src/index.css +40 -40
- package/dist/helper-message/src/index.js +2 -2
- package/dist/hopper-provider/src/HopperProvider.css +39 -39
- package/dist/hopper-provider/src/HopperProvider.js +1 -1
- package/dist/hopper-provider/src/index.css +39 -39
- package/dist/hopper-provider/src/index.js +1 -1
- package/dist/icon-list/src/IconList.css +39 -39
- package/dist/icon-list/src/IconList.js +1 -1
- package/dist/icon-list/src/index.css +39 -39
- package/dist/icon-list/src/index.js +1 -1
- package/dist/illustrated-message/src/IllustratedMessage.css +553 -280
- package/dist/illustrated-message/src/IllustratedMessage.js +1 -1
- package/dist/illustrated-message/src/index.css +553 -280
- package/dist/illustrated-message/src/index.js +1 -1
- package/dist/image/src/Image.css +41 -41
- package/dist/image/src/Image.js +1 -1
- package/dist/image/src/SvgImage.css +39 -39
- package/dist/image/src/SvgImage.js +1 -1
- package/dist/image/src/index.css +42 -42
- package/dist/image/src/index.js +2 -2
- package/dist/index.css +1304 -1031
- package/dist/index.d.ts +3 -0
- package/dist/index.js +104 -101
- package/dist/inputs/src/Input.css +42 -42
- package/dist/inputs/src/Input.js +1 -1
- package/dist/inputs/src/InputGroup.css +44 -44
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +68 -68
- package/dist/inputs/src/NumberField.js +10 -10
- package/dist/inputs/src/PasswordField.css +554 -281
- package/dist/inputs/src/PasswordField.js +10 -10
- package/dist/inputs/src/RemainingCharacterCount.css +41 -41
- package/dist/inputs/src/RemainingCharacterCount.js +2 -2
- package/dist/inputs/src/SearchField.css +560 -287
- package/dist/inputs/src/SearchField.js +11 -11
- package/dist/inputs/src/TextArea.css +65 -65
- package/dist/inputs/src/TextArea.js +9 -9
- package/dist/inputs/src/TextField.css +558 -285
- package/dist/inputs/src/TextField.js +13 -13
- package/dist/inputs/src/index.css +606 -333
- package/dist/inputs/src/index.js +17 -17
- package/dist/layout/src/Content.css +38 -38
- package/dist/layout/src/Footer.css +38 -38
- package/dist/link/src/Link.css +77 -77
- package/dist/link/src/Link.js +3 -3
- package/dist/link/src/index.css +77 -77
- package/dist/link/src/index.js +3 -3
- package/dist/list-box/src/ListBox.css +312 -312
- package/dist/list-box/src/ListBox.js +7 -7
- package/dist/list-box/src/ListBoxItem.css +300 -300
- package/dist/list-box/src/ListBoxItem.js +6 -6
- package/dist/list-box/src/ListBoxItemSkeleton.css +45 -45
- package/dist/list-box/src/ListBoxItemSkeleton.js +1 -1
- package/dist/list-box/src/index.css +312 -312
- package/dist/list-box/src/index.js +7 -7
- package/dist/menu/src/Menu.css +879 -606
- package/dist/menu/src/Menu.js +3 -3
- package/dist/menu/src/MenuItem.css +117 -117
- package/dist/menu/src/MenuItem.js +2 -2
- package/dist/menu/src/MenuSection.css +40 -40
- package/dist/menu/src/MenuSection.js +1 -1
- package/dist/menu/src/index.css +904 -631
- package/dist/menu/src/index.js +6 -6
- package/dist/modal/src/BaseModal.css +53 -53
- package/dist/modal/src/BaseModal.js +1 -1
- package/dist/modal/src/CustomModal.css +54 -54
- package/dist/modal/src/CustomModal.js +2 -2
- package/dist/modal/src/Modal.css +576 -303
- package/dist/modal/src/Modal.js +10 -9
- package/dist/modal/src/index.css +577 -304
- package/dist/modal/src/index.js +12 -11
- package/dist/overlays/popover/src/Popover.css +871 -598
- package/dist/overlays/popover/src/Popover.js +2 -2
- package/dist/overlays/popover/src/PopoverBase.css +41 -41
- package/dist/overlays/popover/src/PopoverBase.js +1 -1
- package/dist/overlays/popover/src/index.css +874 -601
- package/dist/overlays/popover/src/index.js +3 -3
- package/dist/radio/src/DecorativeRadio.css +65 -65
- package/dist/radio/src/DecorativeRadio.js +3 -3
- package/dist/radio/src/Radio.css +57 -57
- package/dist/radio/src/Radio.js +3 -3
- package/dist/radio/src/RadioField.css +44 -44
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +109 -109
- package/dist/radio/src/RadioGroup.js +7 -7
- package/dist/radio/src/index.css +109 -109
- package/dist/radio/src/index.js +12 -12
- package/dist/segmented-control/src/SegmentedControl.css +39 -39
- package/dist/segmented-control/src/SegmentedControl.js +2 -2
- package/dist/segmented-control/src/SegmentedControlItem.css +53 -53
- package/dist/segmented-control/src/SegmentedControlItem.js +3 -3
- package/dist/segmented-control/src/index.css +54 -54
- package/dist/segmented-control/src/index.js +4 -4
- package/dist/select/src/Select.css +898 -625
- package/dist/select/src/Select.js +18 -18
- package/dist/select/src/SelectValue.css +99 -99
- package/dist/select/src/SelectValue.js +2 -2
- package/dist/select/src/index.css +898 -625
- package/dist/select/src/index.js +18 -18
- package/dist/spinner/src/Spinner.css +48 -48
- package/dist/spinner/src/Spinner.js +2 -2
- package/dist/spinner/src/index.css +48 -48
- package/dist/spinner/src/index.js +2 -2
- package/dist/switch/src/Switch.css +54 -54
- package/dist/switch/src/Switch.js +3 -3
- package/dist/switch/src/SwitchField.css +44 -44
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +60 -60
- package/dist/switch/src/index.js +4 -4
- package/dist/tabs/src/Tab.css +724 -451
- package/dist/tabs/src/Tab.js +2 -2
- package/dist/tabs/src/TabLine.css +40 -40
- package/dist/tabs/src/TabLine.js +1 -1
- package/dist/tabs/src/TabList.css +47 -47
- package/dist/tabs/src/TabList.js +2 -2
- package/dist/tabs/src/TabPanel.css +40 -40
- package/dist/tabs/src/TabPanel.js +1 -1
- package/dist/tabs/src/index.css +735 -462
- package/dist/tabs/src/index.js +5 -5
- package/dist/tag/src/Tag.css +702 -429
- package/dist/tag/src/Tag.js +8 -8
- package/dist/tag/src/TagGroup.css +48 -48
- package/dist/tag/src/TagGroup.js +7 -7
- package/dist/tag/src/index.css +712 -439
- package/dist/tag/src/index.js +13 -13
- package/dist/tile/src/Tile.css +47 -47
- package/dist/tile/src/Tile.js +2 -2
- package/dist/tile/src/TileGroup.css +39 -39
- package/dist/tile/src/TileGroup.js +1 -1
- package/dist/tile/src/index.css +48 -48
- package/dist/tile/src/index.js +3 -3
- package/dist/toggle-arrow/src/ToggleArrow.css +40 -40
- package/dist/toggle-arrow/src/ToggleArrow.js +1 -1
- package/dist/toggle-arrow/src/index.css +40 -40
- package/dist/toggle-arrow/src/index.js +1 -1
- package/dist/tooltip/src/Tooltip.css +48 -48
- package/dist/tooltip/src/Tooltip.js +3 -3
- package/dist/tooltip/src/TooltipTrigger.css +38 -38
- package/dist/tooltip/src/TooltipTrigger.js +2 -2
- package/dist/tooltip/src/index.css +48 -48
- package/dist/tooltip/src/index.js +5 -5
- package/dist/typography/heading/src/Heading.css +38 -38
- package/dist/typography/heading/src/Heading.js +1 -1
- package/dist/typography/heading/src/index.css +38 -38
- package/dist/typography/heading/src/index.js +1 -1
- package/dist/typography/label/src/FieldLabel.css +38 -38
- package/dist/typography/label/src/FieldLabel.js +3 -3
- package/dist/typography/label/src/Label.css +38 -38
- package/dist/typography/label/src/Label.js +1 -1
- package/dist/typography/label/src/index.css +38 -38
- package/dist/typography/label/src/index.js +3 -3
- package/dist/typography/overline-text/src/OverlineText.css +38 -38
- package/dist/typography/overline-text/src/OverlineText.js +1 -1
- package/dist/typography/overline-text/src/index.css +38 -38
- package/dist/typography/overline-text/src/index.js +1 -1
- package/dist/typography/paragraph/src/Paragraph.css +38 -38
- package/dist/typography/paragraph/src/Paragraph.js +2 -2
- package/dist/typography/paragraph/src/index.css +38 -38
- package/dist/typography/paragraph/src/index.js +2 -2
- package/dist/typography/text/src/Text.css +38 -38
- package/dist/typography/text/src/Text.js +1 -1
- package/dist/typography/text/src/index.css +38 -38
- package/dist/typography/text/src/index.js +1 -1
- package/dist/utils/src/ClearSlots.css +38 -38
- package/dist/utils/src/EnsureTextWrapper.css +38 -38
- package/dist/utils/src/EnsureTextWrapper.js +2 -2
- package/dist/utils/src/index.css +38 -38
- package/dist/utils/src/index.d.ts +1 -0
- package/dist/utils/src/index.js +4 -3
- package/dist/utils/src/useProgressVisibility.d.ts +3 -0
- package/dist/utils/src/useProgressVisibility.js +2 -0
- package/package.json +2 -2
- package/dist/{chunk-DCO4XGBI.js → chunk-DAF2CRGN.js} +1 -1
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { ToggleButtonContext } from './chunk-BYERWFG4.js';
|
|
2
|
+
import { useProgressVisibility } from './chunk-HZTYQ5FQ.js';
|
|
3
|
+
import { _Spinner } from './chunk-WEKPO5YP.js';
|
|
4
|
+
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
5
|
+
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
6
|
+
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
7
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
8
|
+
import { ClearProviders } from './chunk-PQSMCDAM.js';
|
|
9
|
+
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
10
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
11
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
12
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
13
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
14
|
+
import clsx from 'clsx';
|
|
15
|
+
import { forwardRef } from 'react';
|
|
16
|
+
import { useContextProps, composeRenderProps, ToggleButton as ToggleButton$1, DEFAULT_SLOT } from 'react-aria-components';
|
|
17
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
|
+
|
|
19
|
+
// css-module:./ToggleButton.module.css#css-module
|
|
20
|
+
var ToggleButton_module_default = { "hop-ToggleButton": "ToggleButton-module__hop-ToggleButton___oE-c4", "hop-ToggleButton--fluid": "ToggleButton-module__hop-ToggleButton--fluid___tjNCt", "hop-ToggleButton--sm": "ToggleButton-module__hop-ToggleButton--sm___3FzX2", "hop-ToggleButton--icon-only": "ToggleButton-module__hop-ToggleButton--icon-only___sdnLP", "hop-ToggleButton--primary": "ToggleButton-module__hop-ToggleButton--primary___j98yk", "hop-ToggleButton--secondary": "ToggleButton-module__hop-ToggleButton--secondary___8WysN", "hop-ToggleButton--upsell": "ToggleButton-module__hop-ToggleButton--upsell___Op-iH", "hop-ToggleButton--tertiary": "ToggleButton-module__hop-ToggleButton--tertiary___YiTR9", "hop-ToggleButton--loading": "ToggleButton-module__hop-ToggleButton--loading___l26Nv", "hop-ToggleButton__Spinner": "ToggleButton-module__hop-ToggleButton__Spinner___eTDKR", "hop-ToggleButton__icon": "ToggleButton-module__hop-ToggleButton__icon___9MF68", "hop-ToggleButton__icon-list": "ToggleButton-module__hop-ToggleButton__icon-list___36wAy", "hop-ToggleButton__text": "ToggleButton-module__hop-ToggleButton__text___dDxdD", "hop-ToggleButton__end-icon": "ToggleButton-module__hop-ToggleButton__end-icon___kTzUI", "hop-ToggleButton__end-icon-list": "ToggleButton-module__hop-ToggleButton__end-icon-list___OooWy" };
|
|
21
|
+
var GlobalToggleButtonCssSelector = "hop-ToggleButton";
|
|
22
|
+
function ToggleButton(props, ref) {
|
|
23
|
+
[props, ref] = useContextProps(props, ref, ToggleButtonContext);
|
|
24
|
+
const stringFormatter = useLocalizedString();
|
|
25
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
26
|
+
const [textRef, hasText] = useSlot();
|
|
27
|
+
const {
|
|
28
|
+
className,
|
|
29
|
+
children: childrenProp,
|
|
30
|
+
size: sizeProp,
|
|
31
|
+
style,
|
|
32
|
+
slot,
|
|
33
|
+
clearContexts,
|
|
34
|
+
isFluid,
|
|
35
|
+
isHidden,
|
|
36
|
+
isLoading,
|
|
37
|
+
spinnerProps,
|
|
38
|
+
variant = "primary",
|
|
39
|
+
...otherProps
|
|
40
|
+
} = ownProps;
|
|
41
|
+
const isProgressVisible = useProgressVisibility(isLoading);
|
|
42
|
+
const size = useResponsiveValue(sizeProp) || "md";
|
|
43
|
+
if (isHidden) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
const classNames = clsx(
|
|
47
|
+
GlobalToggleButtonCssSelector,
|
|
48
|
+
cssModule(
|
|
49
|
+
ToggleButton_module_default,
|
|
50
|
+
GlobalToggleButtonCssSelector,
|
|
51
|
+
variant,
|
|
52
|
+
size,
|
|
53
|
+
isFluid && "fluid",
|
|
54
|
+
isProgressVisible && "loading",
|
|
55
|
+
!hasText && "icon-only"
|
|
56
|
+
),
|
|
57
|
+
stylingProps.className,
|
|
58
|
+
className
|
|
59
|
+
);
|
|
60
|
+
const mergedStyles = {
|
|
61
|
+
...style,
|
|
62
|
+
...stylingProps.style
|
|
63
|
+
};
|
|
64
|
+
if (!hasText && (!props["aria-label"] && !props["aria-labelledby"])) {
|
|
65
|
+
console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
|
|
66
|
+
}
|
|
67
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
68
|
+
return ensureTextWrapper(prev);
|
|
69
|
+
});
|
|
70
|
+
const { className: spinnerClassName, ...otherSpinnerProps } = spinnerProps != null ? spinnerProps : {};
|
|
71
|
+
const spinnerClassNames = clsx(ToggleButton_module_default["hop-ToggleButton__Spinner"], spinnerClassName);
|
|
72
|
+
return /* @__PURE__ */ jsx(ClearProviders, { values: clearContexts, children: /* @__PURE__ */ jsx(
|
|
73
|
+
SlotProvider,
|
|
74
|
+
{
|
|
75
|
+
values: [
|
|
76
|
+
[IconListContext, {
|
|
77
|
+
slots: {
|
|
78
|
+
[DEFAULT_SLOT]: {
|
|
79
|
+
size,
|
|
80
|
+
className: ToggleButton_module_default["hop-ToggleButton__icon-list"]
|
|
81
|
+
},
|
|
82
|
+
"end-icon": {
|
|
83
|
+
size,
|
|
84
|
+
className: ToggleButton_module_default["hop-ToggleButton__end-icon-list"]
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}],
|
|
88
|
+
[IconContext, {
|
|
89
|
+
slots: {
|
|
90
|
+
[DEFAULT_SLOT]: {
|
|
91
|
+
size,
|
|
92
|
+
className: ToggleButton_module_default["hop-ToggleButton__icon"]
|
|
93
|
+
},
|
|
94
|
+
"end-icon": {
|
|
95
|
+
size,
|
|
96
|
+
className: ToggleButton_module_default["hop-ToggleButton__end-icon"]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
}],
|
|
100
|
+
[TextContext, {
|
|
101
|
+
className: ToggleButton_module_default["hop-ToggleButton__text"],
|
|
102
|
+
size,
|
|
103
|
+
ref: textRef
|
|
104
|
+
}]
|
|
105
|
+
],
|
|
106
|
+
children: /* @__PURE__ */ jsx(
|
|
107
|
+
ToggleButton$1,
|
|
108
|
+
{
|
|
109
|
+
ref,
|
|
110
|
+
className: classNames,
|
|
111
|
+
style: mergedStyles,
|
|
112
|
+
slot: slot != null ? slot : void 0,
|
|
113
|
+
isDisabled: isLoading,
|
|
114
|
+
...otherProps,
|
|
115
|
+
children: (buttonRenderProps) => {
|
|
116
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
117
|
+
children(buttonRenderProps),
|
|
118
|
+
isProgressVisible && /* @__PURE__ */ jsx(
|
|
119
|
+
_Spinner,
|
|
120
|
+
{
|
|
121
|
+
"aria-label": stringFormatter.format("Button.spinnerAriaLabel"),
|
|
122
|
+
size,
|
|
123
|
+
className: spinnerClassNames,
|
|
124
|
+
...otherSpinnerProps
|
|
125
|
+
}
|
|
126
|
+
)
|
|
127
|
+
] });
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
)
|
|
131
|
+
}
|
|
132
|
+
) });
|
|
133
|
+
}
|
|
134
|
+
var _ToggleButton = forwardRef(ToggleButton);
|
|
135
|
+
_ToggleButton.displayName = "ToggleButton";
|
|
136
|
+
|
|
137
|
+
export { GlobalToggleButtonCssSelector, _ToggleButton };
|
|
@@ -8,7 +8,7 @@ import { useContextProps, Heading as Heading$1 } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Heading.module.css#css-module
|
|
11
|
-
var Heading_module_default = { "hop-Heading": "Heading-module__hop-
|
|
11
|
+
var Heading_module_default = { "hop-Heading": "Heading-module__hop-Heading___EG00A", "hop-Heading--xs": "Heading-module__hop-Heading--xs___xNucC", "hop-Heading--sm": "Heading-module__hop-Heading--sm___05Byx", "hop-Heading--md": "Heading-module__hop-Heading--md___7vlXO", "hop-Heading--lg": "Heading-module__hop-Heading--lg___-iM4S", "hop-Heading--xl": "Heading-module__hop-Heading--xl___YiFxf", "hop-Heading--2xl": "Heading-module__hop-Heading--2xl___sLtGX", "hop-Heading--3xl": "Heading-module__hop-Heading--3xl___L3BmC" };
|
|
12
12
|
var GlobalHeadingCssSelector = "hop-Heading";
|
|
13
13
|
function Heading(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, HeadingContext);
|
|
@@ -5,7 +5,7 @@ import { MenuSection as MenuSection$1 } from 'react-aria-components';
|
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
// css-module:./MenuSection.module.css#css-module
|
|
8
|
-
var MenuSection_module_default = { "hop-MenuSection": "MenuSection-module__hop-
|
|
8
|
+
var MenuSection_module_default = { "hop-MenuSection": "MenuSection-module__hop-MenuSection___asqc2" };
|
|
9
9
|
var GlobalMenuSectionCssSelector = "hop-MenuSection";
|
|
10
10
|
function MenuSection(props) {
|
|
11
11
|
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, Text } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./OverlineText.module.css#css-module
|
|
10
|
-
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-
|
|
10
|
+
var OverlineText_module_default = { "hop-OverlineText": "OverlineText-module__hop-OverlineText___uqriG", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___QC4h8" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
2
|
-
import { FieldLabel } from './chunk-PDWWX5JI.js';
|
|
3
|
-
import { _HelperMessage } from './chunk-DEFXMEBJ.js';
|
|
4
|
-
import { _ErrorMessage } from './chunk-23WYVBUK.js';
|
|
5
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
|
+
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
3
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
6
6
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
7
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
9
9
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
10
10
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps, CheckboxGroup as CheckboxGroup$1 }
|
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./CheckboxGroup.module.css#css-module
|
|
18
|
-
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-
|
|
18
|
+
var CheckboxGroup_module_default = { "hop-CheckboxGroup": "CheckboxGroup-module__hop-CheckboxGroup___FPWi2", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___eaDJ-", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___vIgLP", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___XAwZY", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___5XiPD", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___CDciU", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___0tf6w", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___fx1ES", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___JhiB-" };
|
|
19
19
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
20
20
|
function CheckboxGroup(props, ref) {
|
|
21
21
|
var _a, _b, _c;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NumberFieldContext } from './chunk-ZQ3AWYRR.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
3
|
-
import { _InputGroup } from './chunk-
|
|
4
|
-
import { FieldLabel } from './chunk-
|
|
5
|
-
import { _HelperMessage } from './chunk-
|
|
6
|
-
import { _ErrorMessage } from './chunk-
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
8
|
-
import { ensureTextWrapper } from './chunk-
|
|
2
|
+
import { Input } from './chunk-5MNBACCS.js';
|
|
3
|
+
import { _InputGroup } from './chunk-URTTLQAC.js';
|
|
4
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
5
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
6
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
7
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
8
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
10
10
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
11
11
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -22,7 +22,7 @@ import { useContextProps, composeRenderProps, NumberField as NumberField$1, Butt
|
|
|
22
22
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
23
23
|
|
|
24
24
|
// css-module:./NumberField.module.css#css-module
|
|
25
|
-
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-
|
|
25
|
+
var NumberField_module_default = { "hop-NumberField": "NumberField-module__hop-NumberField___bgUbS", "hop-NumberField--fluid": "NumberField-module__hop-NumberField--fluid___Ss9t7", "hop-NumberField__Label": "NumberField-module__hop-NumberField__Label___mL-RC", "hop-NumberField__prefix": "NumberField-module__hop-NumberField__prefix___AH0o-", "hop-NumberField__InputGroup": "NumberField-module__hop-NumberField__InputGroup___hXoqN", "hop-NumberField__ErrorMessage": "NumberField-module__hop-NumberField__ErrorMessage___I3-zK", "hop-NumberField__HelperMessage": "NumberField-module__hop-NumberField__HelperMessage___4JUMO", "hop-NumberField__steppers": "NumberField-module__hop-NumberField__steppers___7-fEN", "hop-NumberField__stepper-button": "NumberField-module__hop-NumberField__stepper-button___tEqC6", "hop-NumberField__stepper-button--increment": "NumberField-module__hop-NumberField__stepper-button--increment___KWUDA", "hop-NumberField__stepper-button--decrement": "NumberField-module__hop-NumberField__stepper-button--decrement___0hA-T", "hop-NumberField__stepper-button__icon": "NumberField-module__hop-NumberField__stepper-button__icon___fC06A", "hop-NumberField__input": "NumberField-module__hop-NumberField__input___U4h8z" };
|
|
26
26
|
var GlobalNumberFieldCssSelector = "hop-NumberField";
|
|
27
27
|
var StepperButton = ({ direction }) => {
|
|
28
28
|
const StepperIcon = direction === "increment" ? AngleUpIcon : AngleDownIcon;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./SvgImage.module.css#css-module
|
|
10
|
-
var SvgImage_module_default = { "hop-SvgImage": "SvgImage-module__hop-
|
|
10
|
+
var SvgImage_module_default = { "hop-SvgImage": "SvgImage-module__hop-SvgImage___SQ1Kz" };
|
|
11
11
|
var GlobalSvgImageCssSelector = "hop-SvgImage";
|
|
12
12
|
function SvgImage(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, SvgImageContext);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
2
|
+
import { _RemainingCharacterCount } from './chunk-Q4BKNDZD.js';
|
|
2
3
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { ensureTextWrapper } from './chunk-CIQZIY5N.js';
|
|
4
|
+
import { Input } from './chunk-5MNBACCS.js';
|
|
5
|
+
import { _InputGroup } from './chunk-URTTLQAC.js';
|
|
6
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
7
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
9
|
+
import { _ClearButton } from './chunk-KN6OG3WN.js';
|
|
10
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
11
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
12
12
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
13
13
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
14
14
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -25,7 +25,7 @@ import { useContextProps, composeRenderProps, TextField as TextField$1 } from 'r
|
|
|
25
25
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
26
26
|
|
|
27
27
|
// css-module:./TextField.module.css#css-module
|
|
28
|
-
var TextField_module_default = { "hop-TextField": "TextField-module__hop-
|
|
28
|
+
var TextField_module_default = { "hop-TextField": "TextField-module__hop-TextField___gU-Sw", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___LA6FA", "hop-TextField__Label": "TextField-module__hop-TextField__Label___N-b2b", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___jbIxr", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___ZCcQg", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___x5q8Z", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___EixVn" };
|
|
29
29
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
30
30
|
function TextField(props, ref) {
|
|
31
31
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-NRUHVUQY.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { BrokenImageRichIcon } from '@hopper-ui/icons';
|
|
@@ -8,7 +8,7 @@ import { useContextProps, composeRenderProps, ToggleButtonGroup, Provider } from
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./TileGroup.module.css#css-module
|
|
11
|
-
var TileGroup_module_default = { "hop-TileGroup": "TileGroup-module__hop-
|
|
11
|
+
var TileGroup_module_default = { "hop-TileGroup": "TileGroup-module__hop-TileGroup___8zjf-" };
|
|
12
12
|
var GlobalTileGroupCssSelector = "hop-TileGroup";
|
|
13
13
|
var TileGroup = (props, ref) => {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, TileGroupContext);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
2
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
2
3
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
3
|
-
import { useFormProps } from './chunk-HQJZSCV7.js';
|
|
4
4
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
5
|
-
import { ensureTextWrapper } from './chunk-
|
|
5
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
6
6
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Link, DEFAULT_SLOT } from 'react-a
|
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./LinkButton.module.css#css-module
|
|
17
|
-
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-
|
|
17
|
+
var LinkButton_module_default = { "hop-LinkButton": "LinkButton-module__hop-LinkButton___-WoGS Button-module__hop-Button___0Z1G-", "hop-LinkButton--fluid": "LinkButton-module__hop-LinkButton--fluid___dxw2A Button-module__hop-Button--fluid___ocE9B", "hop-LinkButton--sm": "LinkButton-module__hop-LinkButton--sm___OyTLF Button-module__hop-Button--sm___Iin1k", "hop-LinkButton--icon-only": "LinkButton-module__hop-LinkButton--icon-only___JOox2 Button-module__hop-Button--icon-only___aWeym", "hop-LinkButton--primary": "LinkButton-module__hop-LinkButton--primary___GqNpo Button-module__hop-Button--primary___3Qmg3", "hop-LinkButton--secondary": "LinkButton-module__hop-LinkButton--secondary___Bekbp Button-module__hop-Button--secondary___u3qlM", "hop-LinkButton--upsell": "LinkButton-module__hop-LinkButton--upsell___SKX6u Button-module__hop-Button--upsell___Wa1Kb", "hop-LinkButton--danger": "LinkButton-module__hop-LinkButton--danger___qDii5 Button-module__hop-Button--danger___de-7T", "hop-LinkButton--ghost-primary": "LinkButton-module__hop-LinkButton--ghost-primary___e2zJB Button-module__hop-Button--ghost-primary___f-GHo", "hop-LinkButton--ghost-secondary": "LinkButton-module__hop-LinkButton--ghost-secondary___8BpKH Button-module__hop-Button--ghost-secondary___732dQ", "hop-LinkButton--ghost-danger": "LinkButton-module__hop-LinkButton--ghost-danger___VmCaQ Button-module__hop-Button--ghost-danger___mXQFT", "hop-LinkButton__Spinner": "LinkButton-module__hop-LinkButton__Spinner___3DWvP Button-module__hop-Button__Spinner___Aydmf", "hop-LinkButton__icon": "LinkButton-module__hop-LinkButton__icon___agTeu Button-module__hop-Button__icon___3H1Sb", "hop-LinkButton__icon-list": "LinkButton-module__hop-LinkButton__icon-list___vFCgT Button-module__hop-Button__icon___3H1Sb", "hop-LinkButton__text": "LinkButton-module__hop-LinkButton__text___pBNkq Button-module__hop-Button__text___ZFtXo", "hop-LinkButton__end-icon": "LinkButton-module__hop-LinkButton__end-icon___Ya3uz Button-module__hop-Button__end-icon___nOaCX", "hop-LinkButton__end-icon-list": "LinkButton-module__hop-LinkButton__end-icon-list___mVfmL Button-module__hop-Button__end-icon___nOaCX" };
|
|
18
18
|
var GlobalLinkButtonCssSelector = "hop-LinkButton";
|
|
19
19
|
function LinkButton(props, ref) {
|
|
20
20
|
var _a, _b;
|
|
@@ -7,7 +7,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./ListBoxItemSkeleton.module.css#css-module
|
|
10
|
-
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-
|
|
10
|
+
var ListBoxItemSkeleton_module_default = { "hop-ListBoxItemSkeleton": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton___MaL8f", "placeholder-shimmer": "ListBoxItemSkeleton-module__placeholder-shimmer___MgwG1", "hop-ListBoxItemSkeleton--xs": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--xs___COLzl", "hop-ListBoxItemSkeleton--sm": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--sm___kEXil", "hop-ListBoxItemSkeleton--md": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--md___W4gr6", "hop-ListBoxItemSkeleton--lg": "ListBoxItemSkeleton-module__hop-ListBoxItemSkeleton--lg___KNfCL" };
|
|
11
11
|
var GlobalListBoxItemSkeletonCssSelector = "hop-ListBoxItemSkeleton";
|
|
12
12
|
function ListBoxItemSkeleton(props, ref) {
|
|
13
13
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { TabLine } from './chunk-RBUBE5ET.js';
|
|
1
2
|
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___Aonzp", "hop-TabList--standalone": "TabList-module__hop-TabList--standalone___YhYUs", "hop-TabList--in-card": "TabList-module__hop-TabList--in-card___zSh9V", "hop-TabList__tablist": "TabList-module__hop-TabList__tablist___wEBXC", "hop-TabList--heading": "TabList-module__hop-TabList--heading___yuJzJ" };
|
|
12
12
|
var GlobalTabListCssSelector = "hop-TabList";
|
|
13
13
|
function TabList(props, ref) {
|
|
14
14
|
var _a, _b;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { isFunction } from './chunk-TIPN4VYD.js';
|
|
2
2
|
import { ListBoxSectionContext } from './chunk-MOZ6M5ZZ.js';
|
|
3
3
|
import { ListBoxContext } from './chunk-4HEOTMP7.js';
|
|
4
|
-
import { _ListBoxItem } from './chunk-
|
|
4
|
+
import { _ListBoxItem } from './chunk-NNPOWTQ4.js';
|
|
5
5
|
import { ListBoxItemContext } from './chunk-FDJDFE4U.js';
|
|
6
6
|
import { HeaderContext } from './chunk-FOQ7KN4V.js';
|
|
7
7
|
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
8
|
-
import { _Text } from './chunk-
|
|
8
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
9
9
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
10
10
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
11
11
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -18,7 +18,7 @@ import { useContextProps, composeRenderProps, ListBox as ListBox$1, Collection }
|
|
|
18
18
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
19
19
|
|
|
20
20
|
// css-module:./ListBox.module.css#css-module
|
|
21
|
-
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-
|
|
21
|
+
var ListBox_module_default = { "hop-ListBox": "ListBox-module__hop-ListBox___PSbqU", "hop-ListBox--fluid": "ListBox-module__hop-ListBox--fluid___GX-qg", "hop-ListBox__section": "ListBox-module__hop-ListBox__section___bsYz4", "hop-ListBox__item": "ListBox-module__hop-ListBox__item___LdnNS", "hop-ListBox__section-header": "ListBox-module__hop-ListBox__section-header___JA5vG" };
|
|
22
22
|
var GlobalListBoxCssSelector = "hop-ListBox";
|
|
23
23
|
var GlobalListBoxEmptyItemCssSelector = "hop-ListBox__empty-item";
|
|
24
24
|
var ListBoxToTextSizeAdapter = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _Button } from './chunk-
|
|
1
|
+
import { _Button } from './chunk-UH3WEXVR.js';
|
|
2
2
|
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
3
3
|
import { CloseButtonContext } from './chunk-RBWFFWIG.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
10
10
|
import { jsx } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./CloseButton.module.css#css-module
|
|
13
|
-
var CloseButton_module_default = { "hop-CloseButton": "CloseButton-module__hop-
|
|
13
|
+
var CloseButton_module_default = { "hop-CloseButton": "CloseButton-module__hop-CloseButton___i-yPG" };
|
|
14
14
|
var GlobalCloseButtonCssSelector = "hop-CloseButton";
|
|
15
15
|
function CloseButton(props, ref) {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, CloseButtonContext);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useState, useEffect } from 'react';
|
|
2
|
+
|
|
3
|
+
// src/utils/src/useProgressVisibility.ts
|
|
4
|
+
var useProgressVisibility = (isLoading) => {
|
|
5
|
+
const [isProgressVisible, setIsProgressVisible] = useState(false);
|
|
6
|
+
useEffect(() => {
|
|
7
|
+
let timeout;
|
|
8
|
+
if (isLoading) {
|
|
9
|
+
timeout = setTimeout(() => {
|
|
10
|
+
setIsProgressVisible(true);
|
|
11
|
+
}, 1e3);
|
|
12
|
+
} else {
|
|
13
|
+
setIsProgressVisible(false);
|
|
14
|
+
}
|
|
15
|
+
return () => {
|
|
16
|
+
clearTimeout(timeout);
|
|
17
|
+
};
|
|
18
|
+
}, [isLoading, setIsProgressVisible]);
|
|
19
|
+
return isProgressVisible;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export { useProgressVisibility };
|
|
@@ -2,7 +2,7 @@ import { PopoverContext } from './chunk-RNGNPV6Q.js';
|
|
|
2
2
|
import { isFunction, isNil } from './chunk-TIPN4VYD.js';
|
|
3
3
|
import { ListBoxContext } from './chunk-4HEOTMP7.js';
|
|
4
4
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
5
|
-
import { useForwardedHopperContext, _HopperProvider } from './chunk-
|
|
5
|
+
import { useForwardedHopperContext, _HopperProvider } from './chunk-YF4DILIQ.js';
|
|
6
6
|
import { LinkContext } from './chunk-MTULE7GI.js';
|
|
7
7
|
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
8
8
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
@@ -19,7 +19,7 @@ import { useContextProps, composeRenderProps, Popover as Popover$1, Dialog } fro
|
|
|
19
19
|
import { jsx } from 'react/jsx-runtime';
|
|
20
20
|
|
|
21
21
|
// css-module:./Popover.module.css#css-module
|
|
22
|
-
var Popover_module_default = { "hop-Popover": "Popover-module__hop-
|
|
22
|
+
var Popover_module_default = { "hop-Popover": "Popover-module__hop-Popover___Tn-G9", "fade": "Popover-module__fade___nUmvV", "hop-Popover__wrapper": "Popover-module__hop-Popover__wrapper___606o6", "hop-Popover__dialog": "Popover-module__hop-Popover__dialog___OKeOS", "hop-Popover__dropdown": "Popover-module__hop-Popover__dropdown___GLwYO", "hop-Popover__title": "Popover-module__hop-Popover__title___Tu4KH", "hop-Popover__content": "Popover-module__hop-Popover__content___t3KK5", "hop-Popover__list-box": "Popover-module__hop-Popover__list-box___XmUYJ", "hop-Popover__footer": "Popover-module__hop-Popover__footer___jo9Dl", "hop-Popover__actions": "Popover-module__hop-Popover__actions___dcbdB", "hop-Popover__action": "Popover-module__hop-Popover__action___6mpc0" };
|
|
23
23
|
var GlobalPopoverCssSelector = "hop-Popover";
|
|
24
24
|
function Popover(props, ref) {
|
|
25
25
|
var _a;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _BaseModal } from './chunk-
|
|
1
|
+
import { _BaseModal } from './chunk-ZHEWPE46.js';
|
|
2
2
|
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
3
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
|
-
import { _ButtonGroup } from './chunk-
|
|
5
|
-
import { _CloseButton } from './chunk-
|
|
6
|
-
import { _Button } from './chunk-
|
|
4
|
+
import { _ButtonGroup } from './chunk-WOQOIB6V.js';
|
|
5
|
+
import { _CloseButton } from './chunk-HL2I2YUG.js';
|
|
6
|
+
import { _Button } from './chunk-UH3WEXVR.js';
|
|
7
7
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
8
|
import { AlertContext } from './chunk-5DT3S5YY.js';
|
|
9
9
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps, Dialog, Provider } from 'react-ari
|
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./Alert.module.css#css-module
|
|
17
|
-
var Alert_module_default = { "hop-Alert": "Alert-module__hop-
|
|
17
|
+
var Alert_module_default = { "hop-Alert": "Alert-module__hop-Alert___cS5k1", "hop-Alert__button-group": "Alert-module__hop-Alert__button-group___c5ZMa", "hop-Alert__heading": "Alert-module__hop-Alert__heading___dz29k", "hop-Alert__close": "Alert-module__hop-Alert__close___uJlHm", "hop-Alert__content": "Alert-module__hop-Alert__content___nmSvf" };
|
|
18
18
|
var GlobalAlertCssSelector = "hop-Alert";
|
|
19
19
|
function Alert(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -2,7 +2,7 @@ import { CalloutContext } from './chunk-5CURYPE7.js';
|
|
|
2
2
|
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
3
3
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
4
4
|
import { LinkButtonContext } from './chunk-3UQFC2NQ.js';
|
|
5
|
-
import { _CloseButton } from './chunk-
|
|
5
|
+
import { _CloseButton } from './chunk-HL2I2YUG.js';
|
|
6
6
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
7
7
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
8
8
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./Callout.module.css#css-module
|
|
18
|
-
var Callout_module_default = { "hop-Callout": "Callout-module__hop-
|
|
18
|
+
var Callout_module_default = { "hop-Callout": "Callout-module__hop-Callout___NqTD-", "hop-Callout__icon": "Callout-module__hop-Callout__icon___AQdwf", "hop-Callout__heading": "Callout-module__hop-Callout__heading___2kunw", "hop-Callout__content": "Callout-module__hop-Callout__content___6WOAE", "hop-Callout__button": "Callout-module__hop-Callout__button___DcEZ2", "hop-Callout__dismiss": "Callout-module__hop-Callout__dismiss___a2Lr1", "hop-Callout--information": "Callout-module__hop-Callout--information___e-PVL", "hop-Callout--success": "Callout-module__hop-Callout--success___-VSg2", "hop-Callout--warning": "Callout-module__hop-Callout--warning___cQr0W", "hop-Callout--upsell": "Callout-module__hop-Callout--upsell___lB-Jn", "hop-Callout--subtle-fill": "Callout-module__hop-Callout--subtle-fill___xDv2i" };
|
|
19
19
|
var GlobalCalloutCssSelector = "hop-Callout";
|
|
20
20
|
var Callout = (props, ref) => {
|
|
21
21
|
[props, ref] = useContextProps(props, ref, CalloutContext);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { _Popover } from './chunk-
|
|
1
|
+
import { _Popover } from './chunk-I377K7IX.js';
|
|
2
2
|
import { _ListBoxSection } from './chunk-PN5BRTOO.js';
|
|
3
|
-
import { _ListBox } from './chunk-
|
|
4
|
-
import { _ListBoxItem } from './chunk-
|
|
3
|
+
import { _ListBox } from './chunk-HF5YS5Z6.js';
|
|
4
|
+
import { _ListBoxItem } from './chunk-NNPOWTQ4.js';
|
|
5
5
|
import { _Footer } from './chunk-RN3FLBX4.js';
|
|
6
|
-
import { InputContext, Input } from './chunk-
|
|
7
|
-
import { _InputGroup } from './chunk-
|
|
8
|
-
import { _ToggleArrow } from './chunk-V7OAPBQT.js';
|
|
9
|
-
import { FieldLabel } from './chunk-PDWWX5JI.js';
|
|
10
|
-
import { _HelperMessage } from './chunk-DEFXMEBJ.js';
|
|
11
|
-
import { _ErrorMessage } from './chunk-23WYVBUK.js';
|
|
6
|
+
import { InputContext, Input } from './chunk-5MNBACCS.js';
|
|
7
|
+
import { _InputGroup } from './chunk-URTTLQAC.js';
|
|
12
8
|
import { ComboBoxContext } from './chunk-RFZC5CHX.js';
|
|
9
|
+
import { _ToggleArrow } from './chunk-PWYDH3ZA.js';
|
|
10
|
+
import { FieldLabel } from './chunk-E5RHW4IY.js';
|
|
11
|
+
import { _HelperMessage } from './chunk-57WEWZ4L.js';
|
|
12
|
+
import { _ErrorMessage } from './chunk-DOP43XH5.js';
|
|
13
13
|
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
14
|
-
import { useFormProps } from './chunk-
|
|
15
|
-
import { ensureTextWrapper } from './chunk-
|
|
14
|
+
import { useFormProps } from './chunk-K3GNQGLK.js';
|
|
15
|
+
import { ensureTextWrapper } from './chunk-NGZNCS3G.js';
|
|
16
16
|
import { ClearProviders, ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
17
17
|
import { TextContext as TextContext$1 } from './chunk-ZNOU2CGM.js';
|
|
18
18
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -26,7 +26,7 @@ import { useContextProps, useSlottedContext, composeRenderProps, TextContext, Bu
|
|
|
26
26
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
27
27
|
|
|
28
28
|
// css-module:./ComboBox.module.css#css-module
|
|
29
|
-
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-
|
|
29
|
+
var ComboBox_module_default = { "hop-ComboBox": "ComboBox-module__hop-ComboBox___GvCoa", "hop-ComboBox--fluid": "ComboBox-module__hop-ComboBox--fluid___OvKor", "hop-ComboBox__label": "ComboBox-module__hop-ComboBox__label___O-Kpw", "hop-ComboBox__trigger": "ComboBox-module__hop-ComboBox__trigger___q6qg2", "hop-ComboBox__button": "ComboBox-module__hop-ComboBox__button___cAzhI", "hop-ComboBox__prefix": "ComboBox-module__hop-ComboBox__prefix___xQSGm", "hop-ComboBox__helper-message": "ComboBox-module__hop-ComboBox__helper-message___P-ah-", "hop-ComboBox__error-message": "ComboBox-module__hop-ComboBox__error-message___TGYtK" };
|
|
30
30
|
var GlobalComboBoxCssSelector = "hop-ComboBox";
|
|
31
31
|
function ComboBox(props, ref) {
|
|
32
32
|
var _a, _b, _c, _d, _e;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TileContext } from './chunk-S7KMOXY2.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
3
3
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -10,7 +10,7 @@ import { useContextProps, composeRenderProps, ToggleButton, Provider } from 'rea
|
|
|
10
10
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
11
11
|
|
|
12
12
|
// css-module:./Tile.module.css#css-module
|
|
13
|
-
var Tile_module_default = { "hop-Tile": "Tile-module__hop-
|
|
13
|
+
var Tile_module_default = { "hop-Tile": "Tile-module__hop-Tile___t0aKB", "hop-Tile__icon": "Tile-module__hop-Tile__icon___LeTq-" };
|
|
14
14
|
var GlobalTileCssSelector = "hop-Tile";
|
|
15
15
|
var Tile = (props, ref) => {
|
|
16
16
|
[props, ref] = useContextProps(props, ref, TileContext);
|
|
@@ -7,7 +7,7 @@ import { Form as Form$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./Form.module.css#css-module
|
|
10
|
-
var Form_module_default = { "hop-Form": "Form-module__hop-
|
|
10
|
+
var Form_module_default = { "hop-Form": "Form-module__hop-Form___uqGvw" };
|
|
11
11
|
var GlobalFormCssSelector = "hop-Form";
|
|
12
12
|
function useFormProps(props) {
|
|
13
13
|
const ctx = useContext(FormContext);
|
|
@@ -7,7 +7,7 @@ import { useContextProps, TabPanel as TabPanel$1 } from 'react-aria-components';
|
|
|
7
7
|
import { jsx } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./TabPanel.module.css#css-module
|
|
10
|
-
var TabPanel_module_default = { "hop-TabPanel": "TabPanel-module__hop-
|
|
10
|
+
var TabPanel_module_default = { "hop-TabPanel": "TabPanel-module__hop-TabPanel___U9p5S" };
|
|
11
11
|
var GlobalTabPanelCssSelector = "hop-TabPanel";
|
|
12
12
|
function TabPanel(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, TabPanelContext);
|
|
@@ -2,7 +2,7 @@ import { useIsOverflow } from './chunk-EHXOXTDN.js';
|
|
|
2
2
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
4
|
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-QCFV6G6K.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
7
7
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
8
8
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -16,7 +16,7 @@ import { useContextProps, SelectValueContext, SelectStateContext, useSlottedCont
|
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
// css-module:./SelectValue.module.css#css-module
|
|
19
|
-
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-
|
|
19
|
+
var SelectValue_module_default = { "hop-SelectValue": "SelectValue-module__hop-SelectValue___zcA1x", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___39UL6", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___4lcAZ", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___Je5Rn", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___UOM0S" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _EmbeddedButton } from './chunk-
|
|
1
|
+
import { _EmbeddedButton } from './chunk-UGZYYO3T.js';
|
|
2
2
|
import { ClearButtonContext } from './chunk-DXVKHP4V.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
4
4
|
import { DismissIcon } from '@hopper-ui/icons';
|