@hopper-ui/components 1.5.11 → 1.5.13
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 +13 -0
- package/README.md +0 -3
- package/dist/accordion/src/Accordion.css +574 -0
- package/dist/accordion/src/Accordion.js +9 -0
- package/dist/accordion/src/AccordionContext.js +2 -0
- package/dist/accordion/src/index.css +574 -0
- package/dist/accordion/src/index.js +9 -0
- package/dist/alert/src/Alert.css +1892 -0
- package/dist/alert/src/Alert.d.ts +75 -0
- package/dist/alert/src/Alert.js +29 -0
- package/dist/alert/src/AlertContext.d.ts +9 -0
- package/dist/alert/src/AlertContext.js +2 -0
- package/dist/alert/src/AlertTrigger.js +2 -0
- package/dist/alert/src/index.css +1892 -0
- package/dist/alert/src/index.d.ts +7 -0
- package/dist/alert/src/index.js +30 -0
- package/dist/avatar/src/AnonymousAvatar.css +304 -0
- package/dist/avatar/src/AnonymousAvatar.d.ts +35 -0
- package/dist/avatar/src/AnonymousAvatar.js +9 -0
- package/dist/avatar/src/Avatar.css +420 -0
- package/dist/avatar/src/Avatar.d.ts +66 -0
- package/dist/avatar/src/Avatar.js +14 -0
- package/dist/avatar/src/AvatarContext.d.ts +12 -0
- package/dist/avatar/src/AvatarContext.js +2 -0
- package/dist/avatar/src/AvatarGroup.css +366 -0
- package/dist/avatar/src/AvatarGroup.d.ts +53 -0
- package/dist/avatar/src/AvatarGroup.js +18 -0
- package/dist/avatar/src/AvatarGroupContext.d.ts +16 -0
- package/dist/avatar/src/AvatarGroupContext.js +2 -0
- package/dist/avatar/src/BrokenAvatar.css +304 -0
- package/dist/avatar/src/BrokenAvatar.d.ts +35 -0
- package/dist/avatar/src/BrokenAvatar.js +9 -0
- package/dist/avatar/src/DeletedAvatar.css +304 -0
- package/dist/avatar/src/DeletedAvatar.d.ts +35 -0
- package/dist/avatar/src/DeletedAvatar.js +9 -0
- package/dist/avatar/src/RichIconAvatarImage.css +304 -0
- package/dist/avatar/src/RichIconAvatarImage.d.ts +39 -0
- package/dist/avatar/src/RichIconAvatarImage.js +7 -0
- package/dist/avatar/src/RichIconAvatarImageContext.d.ts +14 -0
- package/dist/avatar/src/RichIconAvatarImageContext.js +2 -0
- package/dist/avatar/src/index.css +552 -0
- package/dist/avatar/src/index.d.ts +17 -0
- package/dist/avatar/src/index.js +27 -0
- package/dist/avatar/src/useImageFallback.js +2 -0
- package/dist/badge/src/Badge.css +344 -0
- package/dist/badge/src/Badge.js +10 -0
- package/dist/badge/src/BadgeContext.js +2 -0
- package/dist/badge/src/FloatingBadge.css +331 -0
- package/dist/badge/src/FloatingBadge.js +8 -0
- package/dist/badge/src/FloatingBadgeContext.js +2 -0
- package/dist/badge/src/index.css +441 -0
- package/dist/badge/src/index.js +13 -0
- package/dist/buttons/src/Button.css +171 -171
- package/dist/buttons/src/Button.d.ts +1 -1
- package/dist/buttons/src/Button.js +12 -19
- package/dist/buttons/src/ButtonContext.d.ts +1 -1
- package/dist/buttons/src/ButtonGroup.css +114 -114
- package/dist/buttons/src/ButtonGroup.d.ts +2 -3
- package/dist/buttons/src/ButtonGroup.js +2 -2
- package/dist/buttons/src/ClearButton.css +174 -174
- package/dist/buttons/src/ClearButton.js +3 -3
- package/dist/buttons/src/CloseButton.css +172 -172
- package/dist/buttons/src/CloseButton.d.ts +1 -1
- package/dist/buttons/src/CloseButton.js +13 -20
- package/dist/buttons/src/CloseButtonContext.d.ts +1 -1
- package/dist/buttons/src/EmbeddedButton.css +174 -174
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +179 -179
- package/dist/buttons/src/LinkButton.js +9 -17
- package/dist/buttons/src/index.css +328 -328
- package/dist/buttons/src/index.d.ts +1 -1
- package/dist/buttons/src/index.js +19 -26
- package/dist/callout/src/Callout.css +1662 -0
- package/dist/callout/src/Callout.js +25 -0
- package/dist/callout/src/CalloutContext.js +2 -0
- package/dist/callout/src/CompactCallout.css +1834 -0
- package/dist/callout/src/CompactCallout.js +25 -0
- package/dist/callout/src/CompactCalloutContext.js +2 -0
- package/dist/callout/src/index.css +1931 -0
- package/dist/callout/src/index.js +28 -0
- package/dist/card/src/Card.css +265 -0
- package/dist/card/src/Card.js +4 -0
- package/dist/card/src/CardContext.js +2 -0
- package/dist/card/src/index.css +265 -0
- package/dist/card/src/index.js +4 -0
- package/dist/checkbox/src/Checkbox.css +123 -123
- package/dist/checkbox/src/Checkbox.js +8 -16
- package/dist/checkbox/src/CheckboxField.css +109 -109
- package/dist/checkbox/src/CheckboxField.js +6 -6
- package/dist/checkbox/src/CheckboxGroup.css +177 -177
- package/dist/checkbox/src/CheckboxGroup.d.ts +2 -2
- package/dist/checkbox/src/CheckboxGroup.js +14 -14
- package/dist/checkbox/src/DecorativeCheckbox.css +131 -131
- package/dist/checkbox/src/DecorativeCheckbox.js +7 -17
- package/dist/checkbox/src/index.css +177 -177
- package/dist/checkbox/src/index.js +20 -25
- package/dist/chunk-26SAFLH2.js +103 -0
- package/dist/chunk-27MSAOIK.js +115 -0
- package/dist/chunk-2O2NCTBM.js +126 -0
- package/dist/chunk-2OHC57EK.js +49 -0
- package/dist/chunk-336PKPIF.js +82 -0
- package/dist/chunk-3B2PUC6W.js +7 -0
- package/dist/chunk-3IAYQDEZ.js +167 -0
- package/dist/chunk-3M3OPDB5.js +70 -0
- package/dist/chunk-3ZHH7T6Q.js +88 -0
- package/dist/chunk-4HEOTMP7.js +7 -0
- package/dist/chunk-4JPU7V7P.js +60 -0
- package/dist/chunk-4LOEZQ6K.js +108 -0
- package/dist/chunk-5CURYPE7.js +7 -0
- package/dist/chunk-5DT3S5YY.js +7 -0
- package/dist/chunk-5K3V5PGZ.js +7 -0
- package/dist/chunk-5UAXAY5Z.js +50 -0
- package/dist/chunk-5XY5L6ZN.js +7 -0
- package/dist/chunk-6BJLSAMM.js +8 -0
- package/dist/chunk-6HPTG4I7.js +89 -0
- package/dist/chunk-6KB3ZPEX.js +112 -0
- package/dist/chunk-77PD5K3M.js +7 -0
- package/dist/chunk-AAMIUZW2.js +41 -0
- package/dist/chunk-AB4BRU6Z.js +7 -0
- package/dist/chunk-AJKN2ALX.js +7 -0
- package/dist/chunk-AQ5PVP2O.js +77 -0
- package/dist/chunk-BAQO6H5D.js +217 -0
- package/dist/chunk-BBFLIS2N.js +76 -0
- package/dist/chunk-BDNN5DKK.js +7 -0
- package/dist/chunk-BQQSNNMG.js +44 -0
- package/dist/chunk-C3X6NC6X.js +122 -0
- package/dist/chunk-CFXK2ZSA.js +85 -0
- package/dist/chunk-CHA2MOQZ.js +32 -0
- package/dist/chunk-CJ3TZIBR.js +87 -0
- package/dist/chunk-CPAFY34U.js +7 -0
- package/dist/chunk-D4HRZVZO.js +7 -0
- package/dist/chunk-DCO4XGBI.js +131 -0
- package/dist/chunk-DIYUJMQO.js +91 -0
- package/dist/chunk-DNWSS3V2.js +123 -0
- package/dist/chunk-DQT6VAIZ.js +94 -0
- package/dist/chunk-DRIRW7MJ.js +77 -0
- package/dist/chunk-E42M72WS.js +74 -0
- package/dist/chunk-EGASA3QE.js +52 -0
- package/dist/chunk-FA26RZSE.js +7 -0
- package/dist/chunk-FDJDFE4U.js +7 -0
- package/dist/chunk-FFSXWRQ4.js +91 -0
- package/dist/chunk-FIEPLQID.js +58 -0
- package/dist/chunk-FJYBZVXI.js +219 -0
- package/dist/chunk-FOQ7KN4V.js +7 -0
- package/dist/chunk-FV74YT2D.js +7 -0
- package/dist/chunk-G7F2YUBR.js +7 -0
- package/dist/chunk-GBWXEK6N.js +7 -0
- package/dist/chunk-GEZ2O7GH.js +85 -0
- package/dist/chunk-H3CEJLCO.js +58 -0
- package/dist/chunk-H3THQ7OK.js +57 -0
- package/dist/chunk-H4FHS5GM.js +66 -0
- package/dist/chunk-HANWII4T.js +57 -0
- package/dist/chunk-IJC3LMVD.js +72 -0
- package/dist/chunk-J7GMVQDE.js +53 -0
- package/dist/chunk-JAR7CXVS.js +7 -0
- package/dist/chunk-JBPNJWC7.js +7 -0
- package/dist/chunk-JOCKBZYP.js +43 -0
- package/dist/chunk-KHDRGFVV.js +7 -0
- package/dist/chunk-KZSTJ3QZ.js +7 -0
- package/dist/chunk-LKH3JL3P.js +58 -0
- package/dist/chunk-LOJ6Y766.js +87 -0
- package/dist/chunk-LRMQLQVX.js +12 -0
- package/dist/chunk-LWPDIKEX.js +7 -0
- package/dist/chunk-M4CKZFAM.js +7 -0
- package/dist/chunk-MOZ6M5ZZ.js +7 -0
- package/dist/chunk-MSIFNLMK.js +246 -0
- package/dist/chunk-MTULE7GI.js +7 -0
- package/dist/chunk-MXBCLPHV.js +8 -0
- package/dist/chunk-MYC273X2.js +121 -0
- package/dist/chunk-ND5XR6RA.js +56 -0
- package/dist/chunk-NF64YIEZ.js +7 -0
- package/dist/chunk-NT7BHGVD.js +135 -0
- package/dist/chunk-NX7YNFUX.js +7 -0
- package/dist/chunk-OBWROGLB.js +157 -0
- package/dist/chunk-OKYRSI6N.js +52 -0
- package/dist/chunk-OLY4PH6S.js +7 -0
- package/dist/chunk-ONWB6QY6.js +153 -0
- package/dist/chunk-OXQZEGVN.js +46 -0
- package/dist/chunk-PA5BIB6Z.js +6 -0
- package/dist/chunk-PB7U6BYO.js +116 -0
- package/dist/chunk-PHYO5KW6.js +84 -0
- package/dist/chunk-PJGCHONW.js +58 -0
- package/dist/chunk-PN5BRTOO.js +41 -0
- package/dist/chunk-PNEJ6JDM.js +7 -0
- package/dist/chunk-Q3CGFKER.js +64 -0
- package/dist/chunk-Q7VZSQA4.js +52 -0
- package/dist/chunk-QF25FXI5.js +101 -0
- package/dist/chunk-QJ5FQN3N.js +56 -0
- package/dist/chunk-QOA4KYYB.js +98 -0
- package/dist/chunk-QYMSYYF5.js +56 -0
- package/dist/chunk-RFZC5CHX.js +7 -0
- package/dist/chunk-RNGNPV6Q.js +7 -0
- package/dist/chunk-RPAKOGH6.js +80 -0
- package/dist/chunk-RZFNJMEH.js +7 -0
- package/dist/chunk-S7KMOXY2.js +8 -0
- package/dist/chunk-SA322LHS.js +76 -0
- package/dist/chunk-SVY4NPVL.js +288 -0
- package/dist/chunk-SYFFZMMH.js +144 -0
- package/dist/chunk-TFDJKYCC.js +62 -0
- package/dist/chunk-TKMQCZDW.js +75 -0
- package/dist/chunk-TNLYOFSX.js +146 -0
- package/dist/chunk-TWKILUSS.js +100 -0
- package/dist/chunk-TZEU4NKY.js +124 -0
- package/dist/chunk-U4HRZ6DN.js +7 -0
- package/dist/chunk-UYYHPXUH.js +7 -0
- package/dist/chunk-V53G7BNL.js +74 -0
- package/dist/chunk-VJBJDRCA.js +131 -0
- package/dist/chunk-VS3PE4S6.js +7 -0
- package/dist/chunk-W4TCUPPA.js +7 -0
- package/dist/chunk-W5LSA7PK.js +135 -0
- package/dist/chunk-W6VX3CL4.js +261 -0
- package/dist/chunk-WBSUD7UN.js +174 -0
- package/dist/chunk-WCUPQIIB.js +160 -0
- package/dist/chunk-WJ55ZV54.js +27 -0
- package/dist/chunk-WJRMD4JP.js +7 -0
- package/dist/chunk-WPIH4OAE.js +12 -0
- package/dist/chunk-WUU53CNO.js +124 -0
- package/dist/chunk-X7VALEJB.js +73 -0
- package/dist/chunk-XDFCDNZP.js +90 -0
- package/dist/chunk-XFG3CXMD.js +6 -0
- package/dist/chunk-XXEXHHC6.js +7 -0
- package/dist/chunk-YCKOALBB.js +57 -0
- package/dist/chunk-YDPBF37I.js +67 -0
- package/dist/chunk-YKZRBQ6B.js +7 -0
- package/dist/chunk-YMTZYK3U.js +68 -0
- package/dist/chunk-YVCZUIU3.js +7 -0
- package/dist/chunk-YYRU4JQR.js +114 -0
- package/dist/chunk-ZNOU2CGM.js +7 -0
- package/dist/chunk-ZOTXNUAV.js +7 -0
- package/dist/chunk-ZRDKRE3E.js +7 -0
- package/dist/chunk-ZSFJVMJN.js +7 -0
- package/dist/chunk-ZXON3BAA.js +14 -0
- package/dist/chunk-ZXRWEYKU.js +125 -0
- package/dist/combobox/src/ComboBox.css +4542 -0
- package/dist/combobox/src/ComboBox.d.ts +107 -0
- package/dist/combobox/src/ComboBox.js +54 -0
- package/dist/combobox/src/ComboBoxContext.d.ts +22 -0
- package/dist/combobox/src/ComboBoxContext.js +2 -0
- package/dist/combobox/src/index.css +4542 -0
- package/dist/combobox/src/index.d.ts +18 -0
- package/dist/combobox/src/index.js +54 -0
- package/dist/disclosure/src/Disclosure.css +304 -0
- package/dist/disclosure/src/Disclosure.js +9 -0
- package/dist/disclosure/src/DisclosureContext.js +2 -0
- package/dist/disclosure/src/DisclosureHeader.css +410 -0
- package/dist/disclosure/src/DisclosureHeader.d.ts +21 -0
- package/dist/disclosure/src/DisclosureHeader.js +12 -0
- package/dist/disclosure/src/DisclosureHeaderContext.d.ts +9 -0
- package/dist/disclosure/src/DisclosureHeaderContext.js +2 -0
- package/dist/disclosure/src/DisclosurePanel.css +293 -0
- package/dist/disclosure/src/DisclosurePanel.js +13 -0
- package/dist/disclosure/src/DisclosurePanelContext.js +2 -0
- package/dist/disclosure/src/index.css +529 -0
- package/dist/disclosure/src/index.d.ts +10 -0
- package/dist/disclosure/src/index.js +20 -0
- package/dist/divider/src/Divider.css +268 -0
- package/dist/divider/src/Divider.js +4 -0
- package/dist/divider/src/DividerContext.js +2 -0
- package/dist/divider/src/index.css +268 -0
- package/dist/divider/src/index.js +4 -0
- package/dist/error-message/src/ErrorMessage.css +257 -0
- package/dist/error-message/src/ErrorMessage.d.ts +20 -0
- package/dist/error-message/src/ErrorMessage.js +10 -0
- package/dist/error-message/src/ErrorMessageContext.d.ts +9 -0
- package/dist/error-message/src/ErrorMessageContext.js +2 -0
- package/dist/error-message/src/index.css +257 -0
- package/dist/error-message/src/index.d.ts +6 -0
- package/dist/error-message/src/index.js +10 -0
- package/dist/form/src/Form.css +234 -0
- package/dist/form/src/Form.d.ts +37 -0
- package/dist/form/src/Form.js +4 -0
- package/dist/form/src/FormContext.js +2 -0
- package/dist/form/src/index.css +234 -0
- package/dist/form/src/index.js +4 -0
- package/dist/header/src/Header.js +3 -0
- package/dist/header/src/HeaderContext.js +2 -0
- package/dist/header/src/index.js +3 -0
- package/dist/helper-message/src/HelperMessage.css +249 -0
- package/dist/helper-message/src/HelperMessage.d.ts +20 -0
- package/dist/helper-message/src/HelperMessage.js +8 -0
- package/dist/helper-message/src/HelperMessageContext.d.ts +9 -0
- package/dist/helper-message/src/HelperMessageContext.js +2 -0
- package/dist/helper-message/src/index.css +249 -0
- package/dist/helper-message/src/index.d.ts +6 -0
- package/dist/helper-message/src/index.js +8 -0
- package/dist/hopper-provider/src/HopperProvider.js +2 -0
- package/dist/hopper-provider/src/index.js +2 -0
- package/dist/icon-list/src/IconList.css +243 -0
- package/dist/icon-list/src/IconList.js +4 -0
- package/dist/icon-list/src/IconListContext.js +2 -0
- package/dist/icon-list/src/index.css +243 -0
- package/dist/icon-list/src/index.js +4 -0
- package/dist/illustrated-message/src/IllustratedMessage.css +1671 -0
- package/dist/illustrated-message/src/IllustratedMessage.js +11 -0
- package/dist/illustrated-message/src/IllustratedMessageContext.js +2 -0
- package/dist/illustrated-message/src/index.css +1671 -0
- package/dist/illustrated-message/src/index.js +11 -0
- package/dist/image/src/Image.css +248 -0
- package/dist/image/src/Image.js +4 -0
- package/dist/image/src/ImageContext.js +2 -0
- package/dist/image/src/SvgImage.css +242 -0
- package/dist/image/src/SvgImage.js +4 -0
- package/dist/image/src/SvgImageContext.js +2 -0
- package/dist/image/src/index.css +256 -0
- package/dist/image/src/index.js +6 -0
- package/dist/index.css +1297 -1064
- package/dist/index.d.ts +103 -91
- package/dist/index.js +156 -145
- package/dist/inputs/src/Input.css +107 -107
- package/dist/inputs/src/Input.js +1 -1
- package/dist/inputs/src/InputGroup.css +109 -109
- package/dist/inputs/src/InputGroup.js +1 -1
- package/dist/inputs/src/NumberField.css +121 -121
- package/dist/inputs/src/NumberField.js +17 -22
- package/dist/inputs/src/PasswordField.css +350 -350
- package/dist/inputs/src/PasswordField.js +17 -22
- package/dist/inputs/src/RemainingCharacterCount.css +106 -106
- package/dist/inputs/src/RemainingCharacterCount.js +5 -14
- package/dist/inputs/src/SearchField.css +356 -356
- package/dist/inputs/src/SearchField.js +19 -24
- package/dist/inputs/src/TextArea.css +118 -118
- package/dist/inputs/src/TextArea.js +15 -20
- package/dist/inputs/src/TextField.css +354 -354
- package/dist/inputs/src/TextField.js +22 -27
- package/dist/inputs/src/index.css +402 -402
- package/dist/inputs/src/index.js +28 -33
- package/dist/link/src/Link.css +426 -0
- package/dist/link/src/Link.js +12 -0
- package/dist/link/src/LinkContext.js +2 -0
- package/dist/link/src/index.css +426 -0
- package/dist/link/src/index.js +12 -0
- package/dist/list-box/src/ListBox.css +2331 -0
- package/dist/list-box/src/ListBox.js +27 -0
- package/dist/list-box/src/ListBoxContext.js +2 -0
- package/dist/list-box/src/ListBoxItem.css +2231 -0
- package/dist/list-box/src/ListBoxItem.js +21 -0
- package/dist/list-box/src/ListBoxItemContext.js +2 -0
- package/dist/list-box/src/ListBoxItemSkeleton.css +291 -0
- package/dist/list-box/src/ListBoxItemSkeleton.js +4 -0
- package/dist/list-box/src/ListBoxItemSkeletonContext.js +2 -0
- package/dist/list-box/src/ListBoxSection.js +3 -0
- package/dist/list-box/src/ListBoxSectionContext.d.ts +9 -0
- package/dist/list-box/src/ListBoxSectionContext.js +2 -0
- package/dist/list-box/src/index.css +2331 -0
- package/dist/list-box/src/index.d.ts +16 -0
- package/dist/list-box/src/index.js +28 -0
- package/dist/modal/src/BaseModal.css +348 -0
- package/dist/modal/src/BaseModal.js +4 -0
- package/dist/modal/src/BaseModalContext.js +2 -0
- package/dist/modal/src/CustomModal.css +362 -0
- package/dist/modal/src/CustomModal.js +6 -0
- package/dist/modal/src/CustomModalContext.js +2 -0
- package/dist/modal/src/Modal.css +1815 -0
- package/dist/modal/src/Modal.js +30 -0
- package/dist/modal/src/ModalContext.js +2 -0
- package/dist/modal/src/ModalTrigger.js +2 -0
- package/dist/modal/src/index.css +1829 -0
- package/dist/modal/src/index.js +33 -0
- package/dist/overlays/popover/src/Popover.css +3995 -0
- package/dist/overlays/popover/src/Popover.d.ts +40 -0
- package/dist/overlays/popover/src/Popover.js +16 -0
- package/dist/overlays/popover/src/PopoverBase.css +268 -0
- package/dist/overlays/popover/src/PopoverBase.js +5 -0
- package/dist/overlays/popover/src/PopoverBaseContext.js +2 -0
- package/dist/overlays/popover/src/PopoverContext.js +2 -0
- package/dist/overlays/popover/src/PopoverTrigger.js +2 -0
- package/dist/overlays/popover/src/index.css +4029 -0
- package/dist/overlays/popover/src/index.js +19 -0
- package/dist/radio/src/DecorativeRadio.css +131 -131
- package/dist/radio/src/DecorativeRadio.js +7 -17
- package/dist/radio/src/Radio.css +123 -123
- package/dist/radio/src/Radio.js +6 -16
- package/dist/radio/src/RadioField.css +95 -95
- package/dist/radio/src/RadioField.js +4 -4
- package/dist/radio/src/RadioGroup.css +163 -163
- package/dist/radio/src/RadioGroup.d.ts +2 -2
- package/dist/radio/src/RadioGroup.js +14 -14
- package/dist/radio/src/index.css +177 -177
- package/dist/radio/src/index.js +20 -25
- package/dist/segmented-control/src/SegmentedControl.css +252 -0
- package/dist/segmented-control/src/SegmentedControl.js +5 -0
- package/dist/segmented-control/src/SegmentedControlContext.js +2 -0
- package/dist/segmented-control/src/SegmentedControlItem.css +345 -0
- package/dist/segmented-control/src/SegmentedControlItem.js +9 -0
- package/dist/segmented-control/src/SegmentedControlItemContext.js +2 -0
- package/dist/segmented-control/src/index.css +363 -0
- package/dist/segmented-control/src/index.js +10 -0
- package/dist/select/src/Select.css +4203 -0
- package/dist/select/src/Select.d.ts +114 -0
- package/dist/select/src/Select.js +53 -0
- package/dist/select/src/SelectContext.d.ts +21 -0
- package/dist/select/src/SelectContext.js +2 -0
- package/dist/select/src/SelectValue.css +589 -0
- package/dist/select/src/SelectValue.js +12 -0
- package/dist/select/src/index.css +4203 -0
- package/dist/select/src/index.d.ts +18 -0
- package/dist/select/src/index.js +53 -0
- package/dist/spinner/src/Spinner.css +303 -0
- package/dist/spinner/src/Spinner.js +9 -0
- package/dist/spinner/src/SpinnerContext.js +2 -0
- package/dist/spinner/src/index.css +303 -0
- package/dist/spinner/src/index.js +9 -0
- package/dist/switch/src/Switch.css +120 -120
- package/dist/switch/src/Switch.js +6 -16
- package/dist/switch/src/SwitchField.css +95 -95
- package/dist/switch/src/SwitchField.js +5 -5
- package/dist/switch/src/index.css +126 -126
- package/dist/switch/src/index.js +9 -19
- package/dist/tabs/src/Tab.css +2888 -0
- package/dist/tabs/src/Tab.js +10 -0
- package/dist/tabs/src/TabLine.css +253 -0
- package/dist/tabs/src/TabLine.js +3 -0
- package/dist/tabs/src/TabList.css +308 -0
- package/dist/tabs/src/TabList.js +5 -0
- package/dist/tabs/src/TabPanel.css +246 -0
- package/dist/tabs/src/TabPanel.js +4 -0
- package/dist/tabs/src/Tabs.js +3 -0
- package/dist/tabs/src/TabsContext.js +2 -0
- package/dist/tabs/src/index.css +2974 -0
- package/dist/tabs/src/index.js +14 -0
- package/dist/tag/src/Tag.css +605 -473
- package/dist/tag/src/Tag.d.ts +1 -1
- package/dist/tag/src/Tag.js +18 -25
- package/dist/tag/src/TagContext.d.ts +1 -1
- package/dist/tag/src/TagGroup.css +101 -101
- package/dist/tag/src/TagGroup.d.ts +2 -2
- package/dist/tag/src/TagGroup.js +13 -13
- package/dist/tag/src/TagGroupContext.d.ts +1 -1
- package/dist/tag/src/index.css +617 -485
- package/dist/tag/src/index.d.ts +1 -1
- package/dist/tag/src/index.js +25 -30
- package/dist/tile/src/Tile.css +327 -0
- package/dist/tile/src/Tile.js +9 -0
- package/dist/tile/src/TileContext.js +2 -0
- package/dist/tile/src/TileGroup.css +242 -0
- package/dist/tile/src/TileGroup.js +6 -0
- package/dist/tile/src/TileGroupContext.js +2 -0
- package/dist/tile/src/index.css +335 -0
- package/dist/tile/src/index.js +11 -0
- package/dist/toggle-arrow/src/ToggleArrow.css +244 -0
- package/dist/toggle-arrow/src/ToggleArrow.js +4 -0
- package/dist/toggle-arrow/src/ToggleArrowContext.js +2 -0
- package/dist/toggle-arrow/src/index.css +244 -0
- package/dist/toggle-arrow/src/index.js +4 -0
- package/dist/tooltip/src/Tooltip.css +285 -0
- package/dist/tooltip/src/Tooltip.d.ts +18 -0
- package/dist/tooltip/src/Tooltip.js +11 -0
- package/dist/tooltip/src/TooltipContext.d.ts +10 -0
- package/dist/tooltip/src/TooltipContext.js +2 -0
- package/dist/tooltip/src/TooltipTrigger.css +234 -0
- package/dist/tooltip/src/TooltipTrigger.d.ts +22 -0
- package/dist/tooltip/src/TooltipTrigger.js +6 -0
- package/dist/tooltip/src/TooltipTriggerContext.d.ts +8 -0
- package/dist/tooltip/src/TooltipTriggerContext.js +2 -0
- package/dist/tooltip/src/index.css +285 -0
- package/dist/tooltip/src/index.d.ts +10 -0
- package/dist/tooltip/src/index.js +15 -0
- package/dist/typography/heading/src/Heading.css +234 -0
- package/dist/typography/heading/src/Heading.js +4 -0
- package/dist/typography/heading/src/HeadingContext.js +2 -0
- package/dist/typography/heading/src/index.css +234 -0
- package/dist/typography/heading/src/index.js +4 -0
- package/dist/typography/label/src/Label.css +234 -0
- package/dist/typography/label/src/Label.js +7 -0
- package/dist/typography/label/src/LabelContext.js +2 -0
- package/dist/typography/label/src/index.css +234 -0
- package/dist/typography/label/src/index.js +7 -0
- package/dist/typography/overline-text/src/OverlineText.css +234 -0
- package/dist/typography/overline-text/src/OverlineText.js +4 -0
- package/dist/typography/overline-text/src/OverlineTextContext.js +2 -0
- package/dist/typography/overline-text/src/index.css +234 -0
- package/dist/typography/overline-text/src/index.js +4 -0
- package/dist/typography/text/src/Text.css +234 -0
- package/dist/typography/text/src/Text.js +6 -0
- package/dist/typography/text/src/TextContext.js +2 -0
- package/dist/typography/text/src/index.css +234 -0
- package/dist/typography/text/src/index.js +6 -0
- package/dist/utils/src/ClearSlots.css +89 -89
- package/dist/utils/src/ClearSlots.js +2 -2
- package/dist/utils/src/EnsureTextWrapper.css +103 -103
- package/dist/utils/src/EnsureTextWrapper.js +4 -14
- package/dist/utils/src/createSyntheticEvent.d.ts +9 -0
- package/dist/utils/src/createSyntheticEvent.js +2 -0
- package/dist/utils/src/getChildRef.d.ts +5 -0
- package/dist/utils/src/getChildRef.js +2 -0
- package/dist/utils/src/index.css +103 -103
- package/dist/utils/src/index.d.ts +2 -0
- package/dist/utils/src/index.js +8 -16
- package/dist/utils/src/types.d.ts +1 -1
- package/dist/utils/src/useSlot.d.ts +1 -1
- package/package.json +2 -1
- package/dist/Accordion/src/Accordion.css +0 -574
- package/dist/Accordion/src/Accordion.js +0 -9
- package/dist/Accordion/src/AccordionContext.js +0 -2
- package/dist/Accordion/src/index.css +0 -574
- package/dist/Accordion/src/index.js +0 -9
- package/dist/Alert/src/Alert.css +0 -1892
- package/dist/Alert/src/Alert.d.ts +0 -75
- package/dist/Alert/src/Alert.js +0 -35
- package/dist/Alert/src/AlertContext.d.ts +0 -9
- package/dist/Alert/src/AlertContext.js +0 -2
- package/dist/Alert/src/AlertTrigger.js +0 -2
- package/dist/Alert/src/index.css +0 -1892
- package/dist/Alert/src/index.d.ts +0 -7
- package/dist/Alert/src/index.js +0 -36
- package/dist/Avatar/src/AnonymousAvatar.css +0 -304
- package/dist/Avatar/src/AnonymousAvatar.d.ts +0 -35
- package/dist/Avatar/src/AnonymousAvatar.js +0 -9
- package/dist/Avatar/src/Avatar.css +0 -420
- package/dist/Avatar/src/Avatar.d.ts +0 -66
- package/dist/Avatar/src/Avatar.js +0 -14
- package/dist/Avatar/src/AvatarContext.d.ts +0 -12
- package/dist/Avatar/src/AvatarContext.js +0 -2
- package/dist/Avatar/src/BrokenAvatar.css +0 -304
- package/dist/Avatar/src/BrokenAvatar.d.ts +0 -35
- package/dist/Avatar/src/BrokenAvatar.js +0 -9
- package/dist/Avatar/src/DeletedAvatar.css +0 -304
- package/dist/Avatar/src/DeletedAvatar.d.ts +0 -35
- package/dist/Avatar/src/DeletedAvatar.js +0 -9
- package/dist/Avatar/src/RichIconAvatarImage.css +0 -304
- package/dist/Avatar/src/RichIconAvatarImage.d.ts +0 -39
- package/dist/Avatar/src/RichIconAvatarImage.js +0 -7
- package/dist/Avatar/src/RichIconAvatarImageContext.d.ts +0 -14
- package/dist/Avatar/src/RichIconAvatarImageContext.js +0 -2
- package/dist/Avatar/src/index.css +0 -420
- package/dist/Avatar/src/index.d.ts +0 -15
- package/dist/Avatar/src/index.js +0 -16
- package/dist/Avatar/src/useImageFallback.js +0 -2
- package/dist/Badge/src/Badge.css +0 -344
- package/dist/Badge/src/Badge.js +0 -10
- package/dist/Badge/src/BadgeContext.js +0 -2
- package/dist/Badge/src/FloatingBadge.css +0 -331
- package/dist/Badge/src/FloatingBadge.js +0 -8
- package/dist/Badge/src/FloatingBadgeContext.js +0 -2
- package/dist/Badge/src/index.css +0 -441
- package/dist/Badge/src/index.js +0 -13
- package/dist/Callout/src/Callout.css +0 -1662
- package/dist/Callout/src/Callout.js +0 -31
- package/dist/Callout/src/CalloutContext.js +0 -2
- package/dist/Callout/src/CompactCallout.css +0 -1834
- package/dist/Callout/src/CompactCallout.js +0 -32
- package/dist/Callout/src/CompactCalloutContext.js +0 -2
- package/dist/Callout/src/index.css +0 -1931
- package/dist/Callout/src/index.js +0 -34
- package/dist/Card/src/Card.css +0 -265
- package/dist/Card/src/Card.js +0 -4
- package/dist/Card/src/CardContext.js +0 -2
- package/dist/Card/src/index.css +0 -265
- package/dist/Card/src/index.js +0 -4
- package/dist/ComboBox/src/ComboBox.css +0 -4410
- package/dist/ComboBox/src/ComboBox.d.ts +0 -107
- package/dist/ComboBox/src/ComboBox.js +0 -58
- package/dist/ComboBox/src/ComboBoxContext.d.ts +0 -22
- package/dist/ComboBox/src/ComboBoxContext.js +0 -2
- package/dist/ComboBox/src/index.css +0 -4410
- package/dist/ComboBox/src/index.d.ts +0 -18
- package/dist/ComboBox/src/index.js +0 -58
- package/dist/Disclosure/src/Disclosure.css +0 -304
- package/dist/Disclosure/src/Disclosure.js +0 -9
- package/dist/Disclosure/src/DisclosureContext.js +0 -2
- package/dist/Disclosure/src/DisclosureHeader.css +0 -410
- package/dist/Disclosure/src/DisclosureHeader.d.ts +0 -21
- package/dist/Disclosure/src/DisclosureHeader.js +0 -22
- package/dist/Disclosure/src/DisclosureHeaderContext.d.ts +0 -9
- package/dist/Disclosure/src/DisclosureHeaderContext.js +0 -2
- package/dist/Disclosure/src/DisclosurePanel.css +0 -293
- package/dist/Disclosure/src/DisclosurePanel.js +0 -22
- package/dist/Disclosure/src/DisclosurePanelContext.js +0 -2
- package/dist/Disclosure/src/index.css +0 -529
- package/dist/Disclosure/src/index.d.ts +0 -10
- package/dist/Disclosure/src/index.js +0 -27
- package/dist/Divider/src/Divider.css +0 -268
- package/dist/Divider/src/Divider.js +0 -4
- package/dist/Divider/src/DividerContext.js +0 -2
- package/dist/Divider/src/index.css +0 -268
- package/dist/Divider/src/index.js +0 -4
- package/dist/ErrorMessage/src/ErrorMessage.css +0 -257
- package/dist/ErrorMessage/src/ErrorMessage.d.ts +0 -20
- package/dist/ErrorMessage/src/ErrorMessage.js +0 -10
- package/dist/ErrorMessage/src/ErrorMessageContext.d.ts +0 -9
- package/dist/ErrorMessage/src/ErrorMessageContext.js +0 -2
- package/dist/ErrorMessage/src/index.css +0 -257
- package/dist/ErrorMessage/src/index.d.ts +0 -6
- package/dist/ErrorMessage/src/index.js +0 -10
- package/dist/Form/src/Form.css +0 -234
- package/dist/Form/src/Form.d.ts +0 -37
- package/dist/Form/src/Form.js +0 -4
- package/dist/Form/src/FormContext.js +0 -2
- package/dist/Form/src/index.css +0 -234
- package/dist/Form/src/index.js +0 -4
- package/dist/Header/src/Header.js +0 -3
- package/dist/Header/src/HeaderContext.js +0 -2
- package/dist/Header/src/index.js +0 -3
- package/dist/HelperMessage/src/HelperMessage.css +0 -249
- package/dist/HelperMessage/src/HelperMessage.d.ts +0 -20
- package/dist/HelperMessage/src/HelperMessage.js +0 -8
- package/dist/HelperMessage/src/HelperMessageContext.d.ts +0 -9
- package/dist/HelperMessage/src/HelperMessageContext.js +0 -2
- package/dist/HelperMessage/src/index.css +0 -249
- package/dist/HelperMessage/src/index.d.ts +0 -6
- package/dist/HelperMessage/src/index.js +0 -8
- package/dist/HopperProvider/src/HopperProvider.js +0 -2
- package/dist/HopperProvider/src/index.js +0 -2
- package/dist/IconList/src/IconList.css +0 -243
- package/dist/IconList/src/IconList.js +0 -4
- package/dist/IconList/src/IconListContext.js +0 -2
- package/dist/IconList/src/index.css +0 -243
- package/dist/IconList/src/index.js +0 -4
- package/dist/IllustratedMessage/src/IllustratedMessage.css +0 -1671
- package/dist/IllustratedMessage/src/IllustratedMessage.js +0 -11
- package/dist/IllustratedMessage/src/IllustratedMessageContext.js +0 -2
- package/dist/IllustratedMessage/src/index.css +0 -1671
- package/dist/IllustratedMessage/src/index.js +0 -11
- package/dist/Image/src/Image.css +0 -248
- package/dist/Image/src/Image.js +0 -4
- package/dist/Image/src/ImageContext.js +0 -2
- package/dist/Image/src/SvgImage.css +0 -242
- package/dist/Image/src/SvgImage.js +0 -4
- package/dist/Image/src/SvgImageContext.js +0 -2
- package/dist/Image/src/index.css +0 -256
- package/dist/Image/src/index.js +0 -6
- package/dist/Link/src/Link.css +0 -426
- package/dist/Link/src/Link.js +0 -22
- package/dist/Link/src/LinkContext.js +0 -2
- package/dist/Link/src/index.css +0 -426
- package/dist/Link/src/index.js +0 -22
- package/dist/ListBox/src/ListBox.css +0 -2199
- package/dist/ListBox/src/ListBox.js +0 -36
- package/dist/ListBox/src/ListBoxContext.js +0 -2
- package/dist/ListBox/src/ListBoxItem.css +0 -2099
- package/dist/ListBox/src/ListBoxItem.js +0 -31
- package/dist/ListBox/src/ListBoxItemContext.js +0 -2
- package/dist/ListBox/src/ListBoxItemSkeleton.css +0 -291
- package/dist/ListBox/src/ListBoxItemSkeleton.js +0 -4
- package/dist/ListBox/src/ListBoxItemSkeletonContext.js +0 -2
- package/dist/ListBox/src/index.css +0 -2199
- package/dist/ListBox/src/index.d.ts +0 -14
- package/dist/ListBox/src/index.js +0 -36
- package/dist/ListBoxSection/src/ListBoxSection.js +0 -3
- package/dist/ListBoxSection/src/ListBoxSectionContext.d.ts +0 -9
- package/dist/ListBoxSection/src/ListBoxSectionContext.js +0 -2
- package/dist/ListBoxSection/src/index.d.ts +0 -6
- package/dist/ListBoxSection/src/index.js +0 -3
- package/dist/Modal/src/BaseModal.css +0 -348
- package/dist/Modal/src/BaseModal.js +0 -4
- package/dist/Modal/src/BaseModalContext.js +0 -2
- package/dist/Modal/src/CustomModal.css +0 -362
- package/dist/Modal/src/CustomModal.js +0 -6
- package/dist/Modal/src/CustomModalContext.js +0 -2
- package/dist/Modal/src/Modal.css +0 -1815
- package/dist/Modal/src/Modal.js +0 -36
- package/dist/Modal/src/ModalContext.js +0 -2
- package/dist/Modal/src/ModalTrigger.js +0 -2
- package/dist/Modal/src/index.css +0 -1829
- package/dist/Modal/src/index.js +0 -39
- package/dist/SegmentedControl/src/SegmentedControl.css +0 -252
- package/dist/SegmentedControl/src/SegmentedControl.js +0 -5
- package/dist/SegmentedControl/src/SegmentedControlContext.js +0 -2
- package/dist/SegmentedControl/src/SegmentedControlItem.css +0 -345
- package/dist/SegmentedControl/src/SegmentedControlItem.js +0 -19
- package/dist/SegmentedControl/src/SegmentedControlItemContext.js +0 -2
- package/dist/SegmentedControl/src/index.css +0 -363
- package/dist/SegmentedControl/src/index.js +0 -20
- package/dist/Select/src/Select.css +0 -4071
- package/dist/Select/src/Select.d.ts +0 -114
- package/dist/Select/src/Select.js +0 -57
- package/dist/Select/src/SelectContext.d.ts +0 -21
- package/dist/Select/src/SelectContext.js +0 -2
- package/dist/Select/src/SelectValue.css +0 -457
- package/dist/Select/src/SelectValue.js +0 -21
- package/dist/Select/src/index.css +0 -4071
- package/dist/Select/src/index.d.ts +0 -18
- package/dist/Select/src/index.js +0 -57
- package/dist/Spinner/src/Spinner.css +0 -303
- package/dist/Spinner/src/Spinner.js +0 -9
- package/dist/Spinner/src/SpinnerContext.js +0 -2
- package/dist/Spinner/src/index.css +0 -303
- package/dist/Spinner/src/index.js +0 -9
- package/dist/Tabs/src/Tab.css +0 -2756
- package/dist/Tabs/src/Tab.js +0 -10
- package/dist/Tabs/src/TabLine.css +0 -253
- package/dist/Tabs/src/TabLine.js +0 -3
- package/dist/Tabs/src/TabList.css +0 -308
- package/dist/Tabs/src/TabList.js +0 -5
- package/dist/Tabs/src/TabPanel.css +0 -246
- package/dist/Tabs/src/TabPanel.js +0 -4
- package/dist/Tabs/src/Tabs.js +0 -3
- package/dist/Tabs/src/TabsContext.js +0 -2
- package/dist/Tabs/src/index.css +0 -2842
- package/dist/Tabs/src/index.js +0 -14
- package/dist/Tile/src/Tile.css +0 -327
- package/dist/Tile/src/Tile.js +0 -19
- package/dist/Tile/src/TileContext.js +0 -2
- package/dist/Tile/src/TileGroup.css +0 -242
- package/dist/Tile/src/TileGroup.js +0 -6
- package/dist/Tile/src/TileGroupContext.js +0 -2
- package/dist/Tile/src/index.css +0 -335
- package/dist/Tile/src/index.js +0 -21
- package/dist/ToggleArrow/src/ToggleArrow.css +0 -244
- package/dist/ToggleArrow/src/ToggleArrow.js +0 -4
- package/dist/ToggleArrow/src/ToggleArrowContext.js +0 -2
- package/dist/ToggleArrow/src/index.css +0 -244
- package/dist/ToggleArrow/src/index.js +0 -4
- package/dist/chunk-2AYFJ76Y.js +0 -124
- package/dist/chunk-2P5ZPZML.js +0 -261
- package/dist/chunk-3MTGAZ77.js +0 -7
- package/dist/chunk-3Z5QMFUK.js +0 -100
- package/dist/chunk-3ZCLNFNH.js +0 -56
- package/dist/chunk-4N3XTYNJ.js +0 -90
- package/dist/chunk-4SPM5HGQ.js +0 -52
- package/dist/chunk-4VVNSXIB.js +0 -7
- package/dist/chunk-4XHTP4GX.js +0 -7
- package/dist/chunk-4ZYV2XLW.js +0 -7
- package/dist/chunk-5HGZSFRW.js +0 -52
- package/dist/chunk-5IJHCQKL.js +0 -85
- package/dist/chunk-5QNNA5HV.js +0 -84
- package/dist/chunk-6EIC57KP.js +0 -50
- package/dist/chunk-7CJXILRD.js +0 -7
- package/dist/chunk-7HTZQRHL.js +0 -108
- package/dist/chunk-7IM3UQB4.js +0 -7
- package/dist/chunk-7JCBI5OR.js +0 -122
- package/dist/chunk-7JOGKC3W.js +0 -7
- package/dist/chunk-7JVWOSIT.js +0 -125
- package/dist/chunk-7QO2PGJT.js +0 -6
- package/dist/chunk-7ZYFRN62.js +0 -67
- package/dist/chunk-AAL2T4TM.js +0 -160
- package/dist/chunk-AES7QBQE.js +0 -7
- package/dist/chunk-AHNPYZXW.js +0 -73
- package/dist/chunk-AHU5CD2L.js +0 -219
- package/dist/chunk-AXVLPMYS.js +0 -66
- package/dist/chunk-B6SNUBK5.js +0 -53
- package/dist/chunk-BB2TT36M.js +0 -121
- package/dist/chunk-BCUPLQ4B.js +0 -7
- package/dist/chunk-C5CMZQHV.js +0 -135
- package/dist/chunk-CIGS4QGT.js +0 -7
- package/dist/chunk-CQDLZ42T.js +0 -7
- package/dist/chunk-CTPAX3QF.js +0 -57
- package/dist/chunk-D2PQRE5K.js +0 -167
- package/dist/chunk-DBIN32YS.js +0 -1
- package/dist/chunk-DHVVYSLB.js +0 -7
- package/dist/chunk-DRFFM5PG.js +0 -6
- package/dist/chunk-DVVK2IWW.js +0 -64
- package/dist/chunk-DZJSSJVJ.js +0 -41
- package/dist/chunk-DZNKA3W5.js +0 -56
- package/dist/chunk-E6GUTV2A.js +0 -132
- package/dist/chunk-FAE27DLF.js +0 -7
- package/dist/chunk-FLU4UPP6.js +0 -7
- package/dist/chunk-FYIHMKHI.js +0 -7
- package/dist/chunk-GC4TXC63.js +0 -76
- package/dist/chunk-GFRTCF4B.js +0 -7
- package/dist/chunk-GHYAFDMB.js +0 -7
- package/dist/chunk-GLWSAOI7.js +0 -76
- package/dist/chunk-GRCAVJC6.js +0 -7
- package/dist/chunk-HB24CNAG.js +0 -75
- package/dist/chunk-HY4S7KLE.js +0 -91
- package/dist/chunk-HZKFQ33E.js +0 -7
- package/dist/chunk-I4VPBQI7.js +0 -7
- package/dist/chunk-IFSZVCXH.js +0 -74
- package/dist/chunk-IRPSU75N.js +0 -174
- package/dist/chunk-J4LVCU2Q.js +0 -123
- package/dist/chunk-J6MKCZDV.js +0 -124
- package/dist/chunk-J6WBI2I2.js +0 -7
- package/dist/chunk-JHX5QEIH.js +0 -8
- package/dist/chunk-JI5YG2S7.js +0 -57
- package/dist/chunk-JTNKUYE5.js +0 -8
- package/dist/chunk-JWW56J7M.js +0 -7
- package/dist/chunk-K3S2ERD7.js +0 -246
- package/dist/chunk-K62ZDUWC.js +0 -52
- package/dist/chunk-LUO2HNXA.js +0 -7
- package/dist/chunk-M2XJDWZ7.js +0 -7
- package/dist/chunk-MA5VDART.js +0 -58
- package/dist/chunk-MGSIUL6H.js +0 -115
- package/dist/chunk-MKQZKXQH.js +0 -77
- package/dist/chunk-MQDSORAG.js +0 -49
- package/dist/chunk-MU7TIWCL.js +0 -85
- package/dist/chunk-MUAXK42C.js +0 -7
- package/dist/chunk-MZE5K23B.js +0 -41
- package/dist/chunk-NZ4VFVXA.js +0 -7
- package/dist/chunk-O5GZVQOH.js +0 -56
- package/dist/chunk-OFPEYWUV.js +0 -217
- package/dist/chunk-OKZYR4RF.js +0 -7
- package/dist/chunk-OSMU4XR4.js +0 -44
- package/dist/chunk-PDQLSFUM.js +0 -98
- package/dist/chunk-PH5BSJDK.js +0 -7
- package/dist/chunk-PLN7W3IN.js +0 -58
- package/dist/chunk-PWZL5HZF.js +0 -62
- package/dist/chunk-Q7NXUUB3.js +0 -7
- package/dist/chunk-QCA3ZR56.js +0 -7
- package/dist/chunk-R7YMXR2R.js +0 -74
- package/dist/chunk-RCJYVQME.js +0 -114
- package/dist/chunk-RE6VSXSN.js +0 -87
- package/dist/chunk-RGFDCL23.js +0 -135
- package/dist/chunk-RIJOBFEH.js +0 -72
- package/dist/chunk-RLDIAT4F.js +0 -7
- package/dist/chunk-RXXLPTGE.js +0 -153
- package/dist/chunk-S7KULF4T.js +0 -87
- package/dist/chunk-SC6ZK5ON.js +0 -7
- package/dist/chunk-T24MBA34.js +0 -7
- package/dist/chunk-TDKQPTN6.js +0 -7
- package/dist/chunk-TGZU2G6O.js +0 -60
- package/dist/chunk-TI47KCJP.js +0 -82
- package/dist/chunk-TQFYXBJ7.js +0 -58
- package/dist/chunk-TXZ6BMFR.js +0 -7
- package/dist/chunk-U7FQMFRH.js +0 -103
- package/dist/chunk-UIEP5BA5.js +0 -7
- package/dist/chunk-UN7SBYC7.js +0 -89
- package/dist/chunk-UYA6ZTIE.js +0 -32
- package/dist/chunk-UZLOWYWR.js +0 -12
- package/dist/chunk-V2EQFVTJ.js +0 -7
- package/dist/chunk-V4GE24KV.js +0 -126
- package/dist/chunk-VFOSX7SD.js +0 -77
- package/dist/chunk-VUQD4E3D.js +0 -131
- package/dist/chunk-VURHG2PF.js +0 -80
- package/dist/chunk-W3P5KKNN.js +0 -68
- package/dist/chunk-W3VMWVVF.js +0 -88
- package/dist/chunk-WDM47WXF.js +0 -288
- package/dist/chunk-WPJCS7L2.js +0 -43
- package/dist/chunk-WPNVVGFW.js +0 -7
- package/dist/chunk-WXLTW6WM.js +0 -58
- package/dist/chunk-X6SER3TZ.js +0 -7
- package/dist/chunk-XIZCDT3V.js +0 -157
- package/dist/chunk-XL7LO6IZ.js +0 -7
- package/dist/chunk-XNHE2OVW.js +0 -7
- package/dist/chunk-XO2GAKY7.js +0 -101
- package/dist/chunk-XVA4MZVK.js +0 -116
- package/dist/chunk-Y2POLIXK.js +0 -7
- package/dist/chunk-Y2QNCLJJ.js +0 -57
- package/dist/chunk-Y5C7PR26.js +0 -142
- package/dist/chunk-YOMX6DZZ.js +0 -14
- package/dist/chunk-ZE25V2DY.js +0 -46
- package/dist/chunk-ZF2DDT3R.js +0 -91
- package/dist/chunk-ZMIX3DJQ.js +0 -27
- package/dist/chunk-ZZISMN4N.js +0 -94
- package/dist/overlays/Popover/src/Popover.css +0 -3863
- package/dist/overlays/Popover/src/Popover.d.ts +0 -40
- package/dist/overlays/Popover/src/Popover.js +0 -28
- package/dist/overlays/Popover/src/PopoverBase.css +0 -268
- package/dist/overlays/Popover/src/PopoverBase.js +0 -5
- package/dist/overlays/Popover/src/PopoverBaseContext.js +0 -2
- package/dist/overlays/Popover/src/PopoverContext.js +0 -2
- package/dist/overlays/Popover/src/PopoverTrigger.js +0 -2
- package/dist/overlays/Popover/src/index.css +0 -3897
- package/dist/overlays/Popover/src/index.js +0 -31
- package/dist/typography/Heading/src/Heading.css +0 -234
- package/dist/typography/Heading/src/Heading.js +0 -4
- package/dist/typography/Heading/src/HeadingContext.js +0 -2
- package/dist/typography/Heading/src/index.css +0 -234
- package/dist/typography/Heading/src/index.js +0 -4
- package/dist/typography/Label/src/Label.css +0 -234
- package/dist/typography/Label/src/Label.js +0 -7
- package/dist/typography/Label/src/LabelContext.js +0 -2
- package/dist/typography/Label/src/index.css +0 -234
- package/dist/typography/Label/src/index.js +0 -7
- package/dist/typography/OverlineText/src/OverlineText.css +0 -234
- package/dist/typography/OverlineText/src/OverlineText.js +0 -4
- package/dist/typography/OverlineText/src/OverlineTextContext.js +0 -2
- package/dist/typography/OverlineText/src/index.css +0 -234
- package/dist/typography/OverlineText/src/index.js +0 -4
- package/dist/typography/Text/src/Text.css +0 -234
- package/dist/typography/Text/src/Text.js +0 -6
- package/dist/typography/Text/src/TextContext.js +0 -2
- package/dist/typography/Text/src/index.css +0 -234
- package/dist/typography/Text/src/index.js +0 -6
- /package/dist/{Accordion → accordion}/src/Accordion.d.ts +0 -0
- /package/dist/{Accordion → accordion}/src/AccordionContext.d.ts +0 -0
- /package/dist/{Accordion → accordion}/src/index.d.ts +0 -0
- /package/dist/{Alert → alert}/src/AlertTrigger.d.ts +0 -0
- /package/dist/{Avatar → avatar}/src/useImageFallback.d.ts +0 -0
- /package/dist/{Badge → badge}/src/Badge.d.ts +0 -0
- /package/dist/{Badge → badge}/src/BadgeContext.d.ts +0 -0
- /package/dist/{Badge → badge}/src/FloatingBadge.d.ts +0 -0
- /package/dist/{Badge → badge}/src/FloatingBadgeContext.d.ts +0 -0
- /package/dist/{Badge → badge}/src/index.d.ts +0 -0
- /package/dist/{Callout → callout}/src/Callout.d.ts +0 -0
- /package/dist/{Callout → callout}/src/CalloutContext.d.ts +0 -0
- /package/dist/{Callout → callout}/src/CompactCallout.d.ts +0 -0
- /package/dist/{Callout → callout}/src/CompactCalloutContext.d.ts +0 -0
- /package/dist/{Callout → callout}/src/index.d.ts +0 -0
- /package/dist/{Card → card}/src/Card.d.ts +0 -0
- /package/dist/{Card → card}/src/CardContext.d.ts +0 -0
- /package/dist/{Card → card}/src/index.d.ts +0 -0
- /package/dist/{Disclosure → disclosure}/src/Disclosure.d.ts +0 -0
- /package/dist/{Disclosure → disclosure}/src/DisclosureContext.d.ts +0 -0
- /package/dist/{Disclosure → disclosure}/src/DisclosurePanel.d.ts +0 -0
- /package/dist/{Disclosure → disclosure}/src/DisclosurePanelContext.d.ts +0 -0
- /package/dist/{Divider → divider}/src/Divider.d.ts +0 -0
- /package/dist/{Divider → divider}/src/DividerContext.d.ts +0 -0
- /package/dist/{Divider → divider}/src/index.d.ts +0 -0
- /package/dist/{Form → form}/src/FormContext.d.ts +0 -0
- /package/dist/{Form → form}/src/index.d.ts +0 -0
- /package/dist/{Header → header}/src/Header.d.ts +0 -0
- /package/dist/{Header → header}/src/HeaderContext.d.ts +0 -0
- /package/dist/{Header → header}/src/index.d.ts +0 -0
- /package/dist/{HopperProvider → hopper-provider}/src/HopperProvider.d.ts +0 -0
- /package/dist/{HopperProvider → hopper-provider}/src/index.d.ts +0 -0
- /package/dist/{IconList → icon-list}/src/IconList.d.ts +0 -0
- /package/dist/{IconList → icon-list}/src/IconListContext.d.ts +0 -0
- /package/dist/{IconList → icon-list}/src/index.d.ts +0 -0
- /package/dist/{IllustratedMessage → illustrated-message}/src/IllustratedMessage.d.ts +0 -0
- /package/dist/{IllustratedMessage → illustrated-message}/src/IllustratedMessageContext.d.ts +0 -0
- /package/dist/{IllustratedMessage → illustrated-message}/src/index.d.ts +0 -0
- /package/dist/{Image → image}/src/Image.d.ts +0 -0
- /package/dist/{Image → image}/src/ImageContext.d.ts +0 -0
- /package/dist/{Image → image}/src/SvgImage.d.ts +0 -0
- /package/dist/{Image → image}/src/SvgImageContext.d.ts +0 -0
- /package/dist/{Image → image}/src/index.d.ts +0 -0
- /package/dist/{Link → link}/src/Link.d.ts +0 -0
- /package/dist/{Link → link}/src/LinkContext.d.ts +0 -0
- /package/dist/{Link → link}/src/index.d.ts +0 -0
- /package/dist/{ListBox → list-box}/src/ListBox.d.ts +0 -0
- /package/dist/{ListBox → list-box}/src/ListBoxContext.d.ts +0 -0
- /package/dist/{ListBox → list-box}/src/ListBoxItem.d.ts +0 -0
- /package/dist/{ListBox → list-box}/src/ListBoxItemContext.d.ts +0 -0
- /package/dist/{ListBox → list-box}/src/ListBoxItemSkeleton.d.ts +0 -0
- /package/dist/{ListBox → list-box}/src/ListBoxItemSkeletonContext.d.ts +0 -0
- /package/dist/{ListBoxSection → list-box}/src/ListBoxSection.d.ts +0 -0
- /package/dist/{Modal → modal}/src/BaseModal.d.ts +0 -0
- /package/dist/{Modal → modal}/src/BaseModalContext.d.ts +0 -0
- /package/dist/{Modal → modal}/src/CustomModal.d.ts +0 -0
- /package/dist/{Modal → modal}/src/CustomModalContext.d.ts +0 -0
- /package/dist/{Modal → modal}/src/Modal.d.ts +0 -0
- /package/dist/{Modal → modal}/src/ModalContext.d.ts +0 -0
- /package/dist/{Modal → modal}/src/ModalTrigger.d.ts +0 -0
- /package/dist/{Modal → modal}/src/index.d.ts +0 -0
- /package/dist/overlays/{Popover → popover}/src/PopoverBase.d.ts +0 -0
- /package/dist/overlays/{Popover → popover}/src/PopoverBaseContext.d.ts +0 -0
- /package/dist/overlays/{Popover → popover}/src/PopoverContext.d.ts +0 -0
- /package/dist/overlays/{Popover → popover}/src/PopoverTrigger.d.ts +0 -0
- /package/dist/overlays/{Popover → popover}/src/index.d.ts +0 -0
- /package/dist/{SegmentedControl → segmented-control}/src/SegmentedControl.d.ts +0 -0
- /package/dist/{SegmentedControl → segmented-control}/src/SegmentedControlContext.d.ts +0 -0
- /package/dist/{SegmentedControl → segmented-control}/src/SegmentedControlItem.d.ts +0 -0
- /package/dist/{SegmentedControl → segmented-control}/src/SegmentedControlItemContext.d.ts +0 -0
- /package/dist/{SegmentedControl → segmented-control}/src/index.d.ts +0 -0
- /package/dist/{Select → select}/src/SelectValue.d.ts +0 -0
- /package/dist/{Spinner → spinner}/src/Spinner.d.ts +0 -0
- /package/dist/{Spinner → spinner}/src/SpinnerContext.d.ts +0 -0
- /package/dist/{Spinner → spinner}/src/index.d.ts +0 -0
- /package/dist/{Tabs → tabs}/src/Tab.d.ts +0 -0
- /package/dist/{Tabs → tabs}/src/TabLine.d.ts +0 -0
- /package/dist/{Tabs → tabs}/src/TabList.d.ts +0 -0
- /package/dist/{Tabs → tabs}/src/TabPanel.d.ts +0 -0
- /package/dist/{Tabs → tabs}/src/Tabs.d.ts +0 -0
- /package/dist/{Tabs → tabs}/src/TabsContext.d.ts +0 -0
- /package/dist/{Tabs → tabs}/src/index.d.ts +0 -0
- /package/dist/{Tile → tile}/src/Tile.d.ts +0 -0
- /package/dist/{Tile → tile}/src/TileContext.d.ts +0 -0
- /package/dist/{Tile → tile}/src/TileGroup.d.ts +0 -0
- /package/dist/{Tile → tile}/src/TileGroupContext.d.ts +0 -0
- /package/dist/{Tile → tile}/src/index.d.ts +0 -0
- /package/dist/{ToggleArrow → toggle-arrow}/src/ToggleArrow.d.ts +0 -0
- /package/dist/{ToggleArrow → toggle-arrow}/src/ToggleArrowContext.d.ts +0 -0
- /package/dist/{ToggleArrow → toggle-arrow}/src/index.d.ts +0 -0
- /package/dist/typography/{Heading → heading}/src/Heading.d.ts +0 -0
- /package/dist/typography/{Heading → heading}/src/HeadingContext.d.ts +0 -0
- /package/dist/typography/{Heading → heading}/src/index.d.ts +0 -0
- /package/dist/typography/{Label → label}/src/Label.d.ts +0 -0
- /package/dist/typography/{Label → label}/src/LabelContext.d.ts +0 -0
- /package/dist/typography/{Label → label}/src/index.d.ts +0 -0
- /package/dist/typography/{OverlineText → overline-text}/src/OverlineText.d.ts +0 -0
- /package/dist/typography/{OverlineText → overline-text}/src/OverlineTextContext.d.ts +0 -0
- /package/dist/typography/{OverlineText → overline-text}/src/index.d.ts +0 -0
- /package/dist/typography/{Text → text}/src/Text.d.ts +0 -0
- /package/dist/typography/{Text → text}/src/TextContext.d.ts +0 -0
- /package/dist/typography/{Text → text}/src/index.d.ts +0 -0
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { SegmentedControlContext, InternalSegmentedControlContext } from './chunk-6BJLSAMM.js';
|
|
2
|
+
import { SegmentedControlItemContext } from './chunk-VS3PE4S6.js';
|
|
3
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
5
|
+
import clsx from 'clsx';
|
|
6
|
+
import { forwardRef, useContext, useRef, useEffect } from 'react';
|
|
7
|
+
import { useContextProps, ToggleGroupStateContext, ToggleButtonGroup, Provider } from 'react-aria-components';
|
|
8
|
+
import { jsx } from 'react/jsx-runtime';
|
|
9
|
+
|
|
10
|
+
// css-module:./SegmentedControl.module.css#css-module
|
|
11
|
+
var SegmentedControl_module_default = { "hop-SegmentedControl": "SegmentedControl-module__hop-SegmentedControl___5byAE" };
|
|
12
|
+
var GlobalSegmentedControlCssSelector = "hop-SegmentedControl";
|
|
13
|
+
var SegmentedControl = (props, ref) => {
|
|
14
|
+
[props, ref] = useContextProps(props, ref, SegmentedControlContext);
|
|
15
|
+
const state = useContext(ToggleGroupStateContext);
|
|
16
|
+
const prevRef = useRef(null);
|
|
17
|
+
const currentSelectedRef = useRef(null);
|
|
18
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
19
|
+
const {
|
|
20
|
+
className,
|
|
21
|
+
children,
|
|
22
|
+
style,
|
|
23
|
+
slot,
|
|
24
|
+
defaultSelectedKey,
|
|
25
|
+
selectedKey,
|
|
26
|
+
onSelectionChange,
|
|
27
|
+
size,
|
|
28
|
+
isJustified,
|
|
29
|
+
...otherProps
|
|
30
|
+
} = ownProps;
|
|
31
|
+
const classNames = clsx(
|
|
32
|
+
GlobalSegmentedControlCssSelector,
|
|
33
|
+
cssModule(
|
|
34
|
+
SegmentedControl_module_default,
|
|
35
|
+
"hop-SegmentedControl"
|
|
36
|
+
),
|
|
37
|
+
stylingProps.className,
|
|
38
|
+
className
|
|
39
|
+
);
|
|
40
|
+
const mergedStyles = {
|
|
41
|
+
...style,
|
|
42
|
+
...stylingProps.style
|
|
43
|
+
};
|
|
44
|
+
const onChange = (values) => {
|
|
45
|
+
const [firstKey] = values;
|
|
46
|
+
if (!firstKey) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
if (currentSelectedRef.current) {
|
|
50
|
+
prevRef.current = currentSelectedRef.current.getBoundingClientRect();
|
|
51
|
+
}
|
|
52
|
+
onSelectionChange == null ? void 0 : onSelectionChange(firstKey);
|
|
53
|
+
};
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
const key = defaultSelectedKey != null ? defaultSelectedKey : selectedKey;
|
|
56
|
+
if (key) {
|
|
57
|
+
state == null ? void 0 : state.toggleKey(key);
|
|
58
|
+
}
|
|
59
|
+
}, []);
|
|
60
|
+
return /* @__PURE__ */ jsx(
|
|
61
|
+
ToggleButtonGroup,
|
|
62
|
+
{
|
|
63
|
+
ref,
|
|
64
|
+
className: classNames,
|
|
65
|
+
style: mergedStyles,
|
|
66
|
+
slot: slot != null ? slot : void 0,
|
|
67
|
+
orientation: "horizontal",
|
|
68
|
+
onSelectionChange: onChange,
|
|
69
|
+
selectedKeys: selectedKey != null ? [selectedKey] : void 0,
|
|
70
|
+
defaultSelectedKeys: defaultSelectedKey != null ? [defaultSelectedKey] : void 0,
|
|
71
|
+
disallowEmptySelection: true,
|
|
72
|
+
...otherProps,
|
|
73
|
+
children: /* @__PURE__ */ jsx(
|
|
74
|
+
Provider,
|
|
75
|
+
{
|
|
76
|
+
values: [
|
|
77
|
+
[SegmentedControlItemContext, { size, isDisabled: otherProps.isDisabled }],
|
|
78
|
+
[InternalSegmentedControlContext, { prevRef, currentSelectedRef, isJustified }]
|
|
79
|
+
],
|
|
80
|
+
children
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
};
|
|
86
|
+
var _SegmentedControl = forwardRef(SegmentedControl);
|
|
87
|
+
_SegmentedControl.displayName = "SegmentedControl";
|
|
88
|
+
|
|
89
|
+
export { GlobalSegmentedControlCssSelector, _SegmentedControl };
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { TooltipTrigger } from './chunk-DCO4XGBI.js';
|
|
2
|
+
import { _Tooltip } from './chunk-3M3OPDB5.js';
|
|
3
|
+
import { AvatarGroupContext } from './chunk-G7F2YUBR.js';
|
|
4
|
+
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
5
|
+
import { _Text } from './chunk-LKH3JL3P.js';
|
|
6
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
7
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
8
|
+
import clsx from 'clsx';
|
|
9
|
+
import { forwardRef, Children, cloneElement } from 'react';
|
|
10
|
+
import { useContextProps } from 'react-aria-components';
|
|
11
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
12
|
+
|
|
13
|
+
// css-module:./AvatarGroup.module.css#css-module
|
|
14
|
+
var AvatarGroup_module_default = { "hop-AvatarGroup": "AvatarGroup-module__hop-AvatarGroup___FhKgG", "hop-AvatarGroup--wrap": "AvatarGroup-module__hop-AvatarGroup--wrap___rmF0R", "hop-AvatarGroup--xs": "AvatarGroup-module__hop-AvatarGroup--xs___6rX3i", "hop-AvatarGroup--sm": "AvatarGroup-module__hop-AvatarGroup--sm___mNYCK", "hop-AvatarGroup--md": "AvatarGroup-module__hop-AvatarGroup--md___sZmok", "hop-AvatarGroup--lg": "AvatarGroup-module__hop-AvatarGroup--lg___-LL--", "hop-AvatarGroup--xl": "AvatarGroup-module__hop-AvatarGroup--xl___2A1SI", "hop-AvatarGroup--2xl": "AvatarGroup-module__hop-AvatarGroup--2xl___JYYzg", "hop-AvatarGroup__avatar": "AvatarGroup-module__hop-AvatarGroup__avatar___t-Itl", "hop-AvatarGroup__label": "AvatarGroup-module__hop-AvatarGroup__label___4pukU", "hop-AvatarGroup__hiddenAvatar": "AvatarGroup-module__hop-AvatarGroup__hiddenAvatar___RYlpt", "hop-AvatarGroup--start": "AvatarGroup-module__hop-AvatarGroup--start___31YZA", "hop-AvatarGroup--end": "AvatarGroup-module__hop-AvatarGroup--end___kkekx", "hop-AvatarGroup--center": "AvatarGroup-module__hop-AvatarGroup--center___8fiMN" };
|
|
15
|
+
var GlobalAvatarGroupCssSelector = "hop-AvatarGroup";
|
|
16
|
+
function AvatarGroup(props, ref) {
|
|
17
|
+
var _a, _b, _c, _d;
|
|
18
|
+
[props, ref] = useContextProps(props, ref, AvatarGroupContext);
|
|
19
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
20
|
+
const {
|
|
21
|
+
className,
|
|
22
|
+
children,
|
|
23
|
+
style,
|
|
24
|
+
slot,
|
|
25
|
+
maxNumberOfAvatar: maxNumberOfAvatarProp,
|
|
26
|
+
size: sizeProp,
|
|
27
|
+
wrap: wrapProp,
|
|
28
|
+
reverse,
|
|
29
|
+
align: alignProp,
|
|
30
|
+
...otherProps
|
|
31
|
+
} = ownProps;
|
|
32
|
+
let avatars = Children.toArray(children);
|
|
33
|
+
if (reverse) {
|
|
34
|
+
avatars = avatars.reverse();
|
|
35
|
+
}
|
|
36
|
+
const align = (_a = useResponsiveValue(alignProp)) != null ? _a : "start";
|
|
37
|
+
const size = (_b = useResponsiveValue(sizeProp)) != null ? _b : "md";
|
|
38
|
+
const wrap = (_c = useResponsiveValue(wrapProp)) != null ? _c : true;
|
|
39
|
+
const maxNumberOfAvatar = (_d = useResponsiveValue(maxNumberOfAvatarProp)) != null ? _d : 3;
|
|
40
|
+
const classNames = clsx(
|
|
41
|
+
GlobalAvatarGroupCssSelector,
|
|
42
|
+
cssModule(
|
|
43
|
+
AvatarGroup_module_default,
|
|
44
|
+
GlobalAvatarGroupCssSelector,
|
|
45
|
+
size,
|
|
46
|
+
wrap && "wrap",
|
|
47
|
+
align
|
|
48
|
+
),
|
|
49
|
+
stylingProps.className,
|
|
50
|
+
className
|
|
51
|
+
);
|
|
52
|
+
const mergedStyles = {
|
|
53
|
+
...style,
|
|
54
|
+
...stylingProps.style
|
|
55
|
+
};
|
|
56
|
+
const shownAvatars = avatars.slice(0, maxNumberOfAvatar);
|
|
57
|
+
const hiddenAvatars = avatars.slice(maxNumberOfAvatar);
|
|
58
|
+
const numberOfHiddenAvatars = hiddenAvatars.length;
|
|
59
|
+
const getAvatarName = ({ props: possibleAvatarProps }) => {
|
|
60
|
+
var _a2, _b2;
|
|
61
|
+
let name = (_a2 = possibleAvatarProps["aria-label"]) != null ? _a2 : possibleAvatarProps["aria-labelledby"];
|
|
62
|
+
if (isAvatarProps(possibleAvatarProps)) {
|
|
63
|
+
name = (_b2 = possibleAvatarProps.name) != null ? _b2 : name;
|
|
64
|
+
}
|
|
65
|
+
return name;
|
|
66
|
+
};
|
|
67
|
+
const shownAvatarsMarkup = shownAvatars.map((avatar, index) => {
|
|
68
|
+
var _a2;
|
|
69
|
+
const name = getAvatarName(avatar);
|
|
70
|
+
const uniqueKey = (_a2 = avatar.key) != null ? _a2 : `${name}-${index}-${size}`;
|
|
71
|
+
return /* @__PURE__ */ jsxs(TooltipTrigger, { children: [
|
|
72
|
+
cloneElement(avatar, { ...avatar.props, size, className: AvatarGroup_module_default["hop-AvatarGroup__avatar"] }),
|
|
73
|
+
/* @__PURE__ */ jsx(_Tooltip, { children: name })
|
|
74
|
+
] }, uniqueKey);
|
|
75
|
+
});
|
|
76
|
+
return /* @__PURE__ */ jsxs(
|
|
77
|
+
"div",
|
|
78
|
+
{
|
|
79
|
+
role: "group",
|
|
80
|
+
ref,
|
|
81
|
+
slot: slot != null ? slot : void 0,
|
|
82
|
+
className: classNames,
|
|
83
|
+
style: mergedStyles,
|
|
84
|
+
...otherProps,
|
|
85
|
+
children: [
|
|
86
|
+
shownAvatarsMarkup,
|
|
87
|
+
numberOfHiddenAvatars > 0 && /* @__PURE__ */ jsxs(TooltipTrigger, { children: [
|
|
88
|
+
/* @__PURE__ */ jsxs("span", { className: AvatarGroup_module_default["hop-AvatarGroup__label"], children: [
|
|
89
|
+
"+",
|
|
90
|
+
numberOfHiddenAvatars
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ jsx(_Tooltip, { children: /* @__PURE__ */ jsx(AvatarContext.Provider, { value: { size: "xs" }, children: hiddenAvatars.map((avatar, index) => {
|
|
93
|
+
var _a2;
|
|
94
|
+
const name = getAvatarName(avatar);
|
|
95
|
+
const uniqueKey = (_a2 = avatar.key) != null ? _a2 : `${name}-${index}-${size}`;
|
|
96
|
+
return /* @__PURE__ */ jsxs("div", { role: "button", className: AvatarGroup_module_default["hop-AvatarGroup__hiddenAvatar"], children: [
|
|
97
|
+
avatar,
|
|
98
|
+
/* @__PURE__ */ jsx(_Text, { children: name })
|
|
99
|
+
] }, uniqueKey);
|
|
100
|
+
}) }) })
|
|
101
|
+
] })
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
var _AvatarGroup = forwardRef(AvatarGroup);
|
|
107
|
+
_AvatarGroup.displayName = "AvatarGroup";
|
|
108
|
+
function isAvatarProps(props) {
|
|
109
|
+
return "name" in props;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export { GlobalAvatarGroupCssSelector, _AvatarGroup };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
2
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
3
|
+
import clsx from 'clsx';
|
|
4
|
+
import { createContext, forwardRef } from 'react';
|
|
5
|
+
import { useContextProps, Input as Input$1 } from 'react-aria-components';
|
|
6
|
+
import { jsx } from 'react/jsx-runtime';
|
|
7
|
+
|
|
8
|
+
// css-module:./Input.module.css#css-module
|
|
9
|
+
var Input_module_default = { "hop-Input": "Input-module__hop-Input___Om8I4", "hop-Input--sm": "Input-module__hop-Input--sm___rPpIJ" };
|
|
10
|
+
var InputContext = createContext({});
|
|
11
|
+
var Input = forwardRef(function Input2(props, ref) {
|
|
12
|
+
var _a;
|
|
13
|
+
[props, ref] = useContextProps(props, ref, InputContext);
|
|
14
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
15
|
+
const { className, size: sizeProp, style, ...otherProps } = ownProps;
|
|
16
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
17
|
+
const classNames = clsx(
|
|
18
|
+
className,
|
|
19
|
+
cssModule(
|
|
20
|
+
Input_module_default,
|
|
21
|
+
"hop-Input",
|
|
22
|
+
size
|
|
23
|
+
),
|
|
24
|
+
stylingProps.className
|
|
25
|
+
);
|
|
26
|
+
const mergedStyles = {
|
|
27
|
+
...stylingProps.style,
|
|
28
|
+
...style
|
|
29
|
+
};
|
|
30
|
+
return /* @__PURE__ */ jsx(
|
|
31
|
+
Input$1,
|
|
32
|
+
{
|
|
33
|
+
...otherProps,
|
|
34
|
+
ref,
|
|
35
|
+
className: classNames,
|
|
36
|
+
style: mergedStyles
|
|
37
|
+
}
|
|
38
|
+
);
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
export { Input, InputContext };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { TileContext } from './chunk-S7KMOXY2.js';
|
|
2
|
+
import { _Text } from './chunk-LKH3JL3P.js';
|
|
3
|
+
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
4
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
6
|
+
import { CheckmarkIcon } from '@hopper-ui/icons';
|
|
7
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
8
|
+
import { forwardRef } from 'react';
|
|
9
|
+
import { useContextProps, composeRenderProps, ToggleButton, Provider } from 'react-aria-components';
|
|
10
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
11
|
+
|
|
12
|
+
// css-module:./Tile.module.css#css-module
|
|
13
|
+
var Tile_module_default = { "hop-Tile": "Tile-module__hop-Tile___b-zie", "hop-Tile__icon": "Tile-module__hop-Tile__icon___fdn-s" };
|
|
14
|
+
var GlobalTileCssSelector = "hop-Tile";
|
|
15
|
+
var Tile = (props, ref) => {
|
|
16
|
+
[props, ref] = useContextProps(props, ref, TileContext);
|
|
17
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
18
|
+
const {
|
|
19
|
+
className,
|
|
20
|
+
children: childrenProp,
|
|
21
|
+
style,
|
|
22
|
+
isDisabled,
|
|
23
|
+
slot,
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const classNames = composeClassnameRenderProps(
|
|
27
|
+
GlobalTileCssSelector,
|
|
28
|
+
cssModule(
|
|
29
|
+
Tile_module_default,
|
|
30
|
+
"hop-Tile"
|
|
31
|
+
),
|
|
32
|
+
stylingProps.className,
|
|
33
|
+
className
|
|
34
|
+
);
|
|
35
|
+
const mergedStyles = composeRenderProps(style, (prev) => {
|
|
36
|
+
return {
|
|
37
|
+
...stylingProps.style,
|
|
38
|
+
...prev
|
|
39
|
+
};
|
|
40
|
+
});
|
|
41
|
+
const childrenFn = composeRenderProps(childrenProp, (prev) => {
|
|
42
|
+
return prev;
|
|
43
|
+
});
|
|
44
|
+
return /* @__PURE__ */ jsx(
|
|
45
|
+
ToggleButton,
|
|
46
|
+
{
|
|
47
|
+
...otherProps,
|
|
48
|
+
isDisabled,
|
|
49
|
+
ref,
|
|
50
|
+
className: classNames,
|
|
51
|
+
style: mergedStyles,
|
|
52
|
+
slot: slot != null ? slot : void 0,
|
|
53
|
+
children: (renderProps) => {
|
|
54
|
+
const children = childrenFn(renderProps);
|
|
55
|
+
return /* @__PURE__ */ jsxs(
|
|
56
|
+
Provider,
|
|
57
|
+
{
|
|
58
|
+
values: [
|
|
59
|
+
[TextContext, {
|
|
60
|
+
size: "md",
|
|
61
|
+
className: Tile_module_default["hop-Tile__text"]
|
|
62
|
+
}]
|
|
63
|
+
],
|
|
64
|
+
children: [
|
|
65
|
+
typeof children === "string" ? /* @__PURE__ */ jsx(_Text, { children }) : children,
|
|
66
|
+
/* @__PURE__ */ jsx(CheckmarkIcon, { className: Tile_module_default["hop-Tile__icon"] })
|
|
67
|
+
]
|
|
68
|
+
}
|
|
69
|
+
);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
};
|
|
74
|
+
var _Tile = forwardRef(Tile);
|
|
75
|
+
_Tile.displayName = "Tile";
|
|
76
|
+
|
|
77
|
+
export { GlobalTileCssSelector, _Tile };
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { _SelectValue } from './chunk-27MSAOIK.js';
|
|
2
|
+
import { SelectContext } from './chunk-ZOTXNUAV.js';
|
|
3
|
+
import { _Popover } from './chunk-WCUPQIIB.js';
|
|
4
|
+
import { _ListBox } from './chunk-ONWB6QY6.js';
|
|
5
|
+
import { _ListBoxItem } from './chunk-MSIFNLMK.js';
|
|
6
|
+
import { _ListBoxSection } from './chunk-PN5BRTOO.js';
|
|
7
|
+
import { _Footer } from './chunk-VOZN65OL.js';
|
|
8
|
+
import { _ToggleArrow } from './chunk-5UAXAY5Z.js';
|
|
9
|
+
import { _Label } from './chunk-SA322LHS.js';
|
|
10
|
+
import { _HelperMessage } from './chunk-HANWII4T.js';
|
|
11
|
+
import { _ErrorMessage } from './chunk-CFXK2ZSA.js';
|
|
12
|
+
import { BadgeContext } from './chunk-ZSFJVMJN.js';
|
|
13
|
+
import { useFormProps } from './chunk-YMTZYK3U.js';
|
|
14
|
+
import { ensureTextWrapper } from './chunk-WPIH4OAE.js';
|
|
15
|
+
import { ClearContainerSlots, ClearProviders } from './chunk-WJ55ZV54.js';
|
|
16
|
+
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
17
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
18
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
19
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
20
|
+
import { IconContext } from '@hopper-ui/icons';
|
|
21
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
22
|
+
import { forwardRef } from 'react';
|
|
23
|
+
import { useContextProps, composeRenderProps, TextContext as TextContext$1, ButtonContext, Select as Select$1, Button } from 'react-aria-components';
|
|
24
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
25
|
+
|
|
26
|
+
// css-module:./Select.module.css#css-module
|
|
27
|
+
var Select_module_default = { "hop-Select": "Select-module__hop-Select___C6Ihr", "hop-Select--fluid": "Select-module__hop-Select--fluid___-yinh", "hop-Select__label": "Select-module__hop-Select__label___kaP4i", "hop-Select__button": "Select-module__hop-Select__button___KJyGz", "hop-Select__button--sm": "Select-module__hop-Select__button--sm___7LDNq", "hop-Select__button--md": "Select-module__hop-Select__button--md___oqtFx", "hop-Select__prefix": "Select-module__hop-Select__prefix___NLbL2", "hop-Select__button-icon": "Select-module__hop-Select__button-icon___XBGTe", "hop-Select__helper-message": "Select-module__hop-Select__helper-message___-9Whj", "hop-Select__error-message": "Select-module__hop-Select__error-message___0U3wX" };
|
|
28
|
+
var GlobalSelectCssSelector = "hop-Select";
|
|
29
|
+
function Select(props, ref) {
|
|
30
|
+
var _a, _b, _c, _d;
|
|
31
|
+
[props, ref] = useContextProps(props, ref, SelectContext);
|
|
32
|
+
props = useFormProps(props);
|
|
33
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
34
|
+
const {
|
|
35
|
+
align: alignProp,
|
|
36
|
+
className,
|
|
37
|
+
children,
|
|
38
|
+
description,
|
|
39
|
+
direction: directionProp,
|
|
40
|
+
errorMessage,
|
|
41
|
+
footer,
|
|
42
|
+
isAutoMenuWidth,
|
|
43
|
+
isFluid: isFluidProp,
|
|
44
|
+
isInvalid,
|
|
45
|
+
isLoading,
|
|
46
|
+
isRequired,
|
|
47
|
+
items,
|
|
48
|
+
label,
|
|
49
|
+
listBoxProps,
|
|
50
|
+
necessityIndicator,
|
|
51
|
+
onLoadMore,
|
|
52
|
+
popoverProps,
|
|
53
|
+
prefix,
|
|
54
|
+
renderValue,
|
|
55
|
+
selectionIndicator,
|
|
56
|
+
shouldFlip,
|
|
57
|
+
size: sizeProp,
|
|
58
|
+
style: styleProp,
|
|
59
|
+
triggerProps,
|
|
60
|
+
...otherProps
|
|
61
|
+
} = ownProps;
|
|
62
|
+
const { stylingProps: triggerStylingProps, ...triggerOwnProps } = useStyledSystem(triggerProps != null ? triggerProps : {});
|
|
63
|
+
const {
|
|
64
|
+
className: triggerClassName,
|
|
65
|
+
style: triggerStyleProp,
|
|
66
|
+
...otherTriggerProps
|
|
67
|
+
} = triggerOwnProps;
|
|
68
|
+
const size = (_a = useResponsiveValue(sizeProp)) != null ? _a : "md";
|
|
69
|
+
const isFluid = (_b = useResponsiveValue(isFluidProp)) != null ? _b : false;
|
|
70
|
+
const align = (_c = useResponsiveValue(alignProp)) != null ? _c : "start";
|
|
71
|
+
const direction = (_d = useResponsiveValue(directionProp)) != null ? _d : "bottom";
|
|
72
|
+
const classNames = composeClassnameRenderProps(
|
|
73
|
+
className,
|
|
74
|
+
GlobalSelectCssSelector,
|
|
75
|
+
cssModule(
|
|
76
|
+
Select_module_default,
|
|
77
|
+
"hop-Select",
|
|
78
|
+
isFluid && "fluid",
|
|
79
|
+
size
|
|
80
|
+
),
|
|
81
|
+
stylingProps.className
|
|
82
|
+
);
|
|
83
|
+
const buttonClassNames = composeClassnameRenderProps(
|
|
84
|
+
triggerClassName,
|
|
85
|
+
cssModule(
|
|
86
|
+
Select_module_default,
|
|
87
|
+
"hop-Select__button",
|
|
88
|
+
size
|
|
89
|
+
),
|
|
90
|
+
triggerStylingProps.className
|
|
91
|
+
);
|
|
92
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
93
|
+
return {
|
|
94
|
+
...stylingProps.style,
|
|
95
|
+
...prev
|
|
96
|
+
};
|
|
97
|
+
});
|
|
98
|
+
const triggerStyle = composeRenderProps(triggerStyleProp, (prev) => {
|
|
99
|
+
return {
|
|
100
|
+
...triggerStylingProps.style,
|
|
101
|
+
...prev
|
|
102
|
+
};
|
|
103
|
+
});
|
|
104
|
+
const prefixMarkup = prefix ? /* @__PURE__ */ jsx(
|
|
105
|
+
SlotProvider,
|
|
106
|
+
{
|
|
107
|
+
values: [
|
|
108
|
+
[TextContext, { size, className: Select_module_default["hop-Select__prefix"] }],
|
|
109
|
+
[IconContext, { size, className: Select_module_default["hop-Select__prefix"] }]
|
|
110
|
+
],
|
|
111
|
+
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: ensureTextWrapper(prefix) })
|
|
112
|
+
}
|
|
113
|
+
) : null;
|
|
114
|
+
const footerMarkup = footer ? /* @__PURE__ */ jsx(
|
|
115
|
+
ClearProviders,
|
|
116
|
+
{
|
|
117
|
+
values: [
|
|
118
|
+
TextContext$1,
|
|
119
|
+
TextContext,
|
|
120
|
+
ButtonContext
|
|
121
|
+
],
|
|
122
|
+
children: /* @__PURE__ */ jsx(
|
|
123
|
+
SlotProvider,
|
|
124
|
+
{
|
|
125
|
+
values: [
|
|
126
|
+
[TextContext, {
|
|
127
|
+
size
|
|
128
|
+
}]
|
|
129
|
+
],
|
|
130
|
+
children: /* @__PURE__ */ jsx(_Footer, { children: ensureTextWrapper(footer) })
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
}
|
|
134
|
+
) : null;
|
|
135
|
+
return /* @__PURE__ */ jsx(
|
|
136
|
+
Select$1,
|
|
137
|
+
{
|
|
138
|
+
ref,
|
|
139
|
+
className: classNames,
|
|
140
|
+
style,
|
|
141
|
+
isInvalid,
|
|
142
|
+
isRequired,
|
|
143
|
+
...otherProps,
|
|
144
|
+
children: (selectRenderProps) => {
|
|
145
|
+
const { isOpen } = selectRenderProps;
|
|
146
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
147
|
+
label && /* @__PURE__ */ jsx(
|
|
148
|
+
_Label,
|
|
149
|
+
{
|
|
150
|
+
className: Select_module_default["hop-Select__label"],
|
|
151
|
+
isRequired,
|
|
152
|
+
necessityIndicator,
|
|
153
|
+
children: label
|
|
154
|
+
}
|
|
155
|
+
),
|
|
156
|
+
/* @__PURE__ */ jsxs(
|
|
157
|
+
_Popover,
|
|
158
|
+
{
|
|
159
|
+
isAutoWidth: isAutoMenuWidth,
|
|
160
|
+
isNonDialog: true,
|
|
161
|
+
placement: `${direction} ${align}`,
|
|
162
|
+
shouldFlip,
|
|
163
|
+
...popoverProps,
|
|
164
|
+
children: [
|
|
165
|
+
/* @__PURE__ */ jsx(
|
|
166
|
+
SlotProvider,
|
|
167
|
+
{
|
|
168
|
+
values: [
|
|
169
|
+
[BadgeContext, {
|
|
170
|
+
variant: "secondary"
|
|
171
|
+
}]
|
|
172
|
+
],
|
|
173
|
+
children: /* @__PURE__ */ jsx(
|
|
174
|
+
_ListBox,
|
|
175
|
+
{
|
|
176
|
+
size,
|
|
177
|
+
isInvalid,
|
|
178
|
+
items,
|
|
179
|
+
isLoading,
|
|
180
|
+
onLoadMore,
|
|
181
|
+
selectionIndicator,
|
|
182
|
+
...listBoxProps,
|
|
183
|
+
children
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
}
|
|
187
|
+
),
|
|
188
|
+
footerMarkup
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
),
|
|
192
|
+
/* @__PURE__ */ jsxs(Button, { className: buttonClassNames, style: triggerStyle, "data-invalid": isInvalid || void 0, ...otherTriggerProps, children: [
|
|
193
|
+
prefixMarkup,
|
|
194
|
+
/* @__PURE__ */ jsx(_SelectValue, { size, children: (valueRenderProps) => {
|
|
195
|
+
return renderValue == null ? void 0 : renderValue(valueRenderProps);
|
|
196
|
+
} }),
|
|
197
|
+
/* @__PURE__ */ jsx(
|
|
198
|
+
_ToggleArrow,
|
|
199
|
+
{
|
|
200
|
+
className: Select_module_default["hop-Select__button-icon"],
|
|
201
|
+
isExpanded: isOpen
|
|
202
|
+
}
|
|
203
|
+
)
|
|
204
|
+
] }),
|
|
205
|
+
description && /* @__PURE__ */ jsx(_HelperMessage, { className: Select_module_default["hop-Select__helper-message"], children: description }),
|
|
206
|
+
/* @__PURE__ */ jsx(_ErrorMessage, { className: Select_module_default["hop-Select__error-message"], children: errorMessage })
|
|
207
|
+
] });
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
var _Select = forwardRef(Select);
|
|
213
|
+
_Select.displayName = "Select";
|
|
214
|
+
var SelectItem = _ListBoxItem;
|
|
215
|
+
var SelectSection = _ListBoxSection;
|
|
216
|
+
|
|
217
|
+
export { GlobalSelectCssSelector, SelectItem, SelectSection, _Select };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { DisclosureHeaderContext } from './chunk-CPAFY34U.js';
|
|
2
|
+
import { DisclosureContext } from './chunk-U4HRZ6DN.js';
|
|
3
|
+
import { DisclosurePanelContext } from './chunk-5XY5L6ZN.js';
|
|
4
|
+
import { AccordionContext } from './chunk-NF64YIEZ.js';
|
|
5
|
+
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
|
+
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
7
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
8
|
+
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
9
|
+
import { forwardRef } from 'react';
|
|
10
|
+
import { useContextProps, composeRenderProps, DisclosureGroup } from 'react-aria-components';
|
|
11
|
+
import { jsx } from 'react/jsx-runtime';
|
|
12
|
+
|
|
13
|
+
// css-module:./Accordion.module.css#css-module
|
|
14
|
+
var Accordion_module_default = { "hop-Accordion": "Accordion-module__hop-Accordion___YeXY1", "hop-Accordion--inline": "Accordion-module__hop-Accordion--inline___HWuwa", "hop-Accordion__disclosure": "Accordion-module__hop-Accordion__disclosure___pY4Ya", "hop-Accordion__disclosure-header": "Accordion-module__hop-Accordion__disclosure-header___87pmH", "hop-Accordion__disclosure-panel": "Accordion-module__hop-Accordion__disclosure-panel___nN3bU" };
|
|
15
|
+
var GlobalAccordionCssSelector = "hop-Accordion";
|
|
16
|
+
function Accordion(props, ref) {
|
|
17
|
+
[props, ref] = useContextProps(props, ref, AccordionContext);
|
|
18
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
19
|
+
const {
|
|
20
|
+
className,
|
|
21
|
+
children: childrenProp,
|
|
22
|
+
style: styleProp,
|
|
23
|
+
variant = "standalone",
|
|
24
|
+
...otherProps
|
|
25
|
+
} = ownProps;
|
|
26
|
+
const classNames = composeClassnameRenderProps(
|
|
27
|
+
className,
|
|
28
|
+
GlobalAccordionCssSelector,
|
|
29
|
+
cssModule(
|
|
30
|
+
Accordion_module_default,
|
|
31
|
+
"hop-Accordion",
|
|
32
|
+
variant
|
|
33
|
+
),
|
|
34
|
+
stylingProps.className
|
|
35
|
+
);
|
|
36
|
+
const style = composeRenderProps(styleProp, (prev) => {
|
|
37
|
+
return {
|
|
38
|
+
...stylingProps.style,
|
|
39
|
+
...prev
|
|
40
|
+
};
|
|
41
|
+
});
|
|
42
|
+
const children = composeRenderProps(childrenProp, (prev) => {
|
|
43
|
+
return prev;
|
|
44
|
+
});
|
|
45
|
+
return /* @__PURE__ */ jsx(
|
|
46
|
+
DisclosureGroup,
|
|
47
|
+
{
|
|
48
|
+
ref,
|
|
49
|
+
className: classNames,
|
|
50
|
+
style,
|
|
51
|
+
...otherProps,
|
|
52
|
+
children: (accordionRenderProps) => /* @__PURE__ */ jsx(
|
|
53
|
+
SlotProvider,
|
|
54
|
+
{
|
|
55
|
+
values: [
|
|
56
|
+
[DisclosureContext, {
|
|
57
|
+
className: Accordion_module_default["hop-Accordion__disclosure"],
|
|
58
|
+
variant: "inline"
|
|
59
|
+
}],
|
|
60
|
+
[DisclosureHeaderContext, {
|
|
61
|
+
className: Accordion_module_default["hop-Accordion__disclosure-header"]
|
|
62
|
+
}],
|
|
63
|
+
[DisclosurePanelContext, {
|
|
64
|
+
className: Accordion_module_default["hop-Accordion__disclosure-panel"]
|
|
65
|
+
}]
|
|
66
|
+
],
|
|
67
|
+
children: children(accordionRenderProps)
|
|
68
|
+
}
|
|
69
|
+
)
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
var _Accordion = forwardRef(Accordion);
|
|
74
|
+
_Accordion.displayName = "Accordion";
|
|
75
|
+
|
|
76
|
+
export { GlobalAccordionCssSelector, _Accordion };
|