@hopper-ui/components 1.9.0 → 1.10.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 +12 -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 +411 -411
- package/dist/alert/src/Alert.js +10 -10
- package/dist/alert/src/index.css +411 -411
- package/dist/alert/src/index.js +10 -10
- package/dist/avatar/src/AnonymousAvatar.css +55 -48
- package/dist/avatar/src/AnonymousAvatar.d.ts +5 -0
- package/dist/avatar/src/AnonymousAvatar.js +2 -2
- package/dist/avatar/src/Avatar.css +80 -66
- package/dist/avatar/src/Avatar.d.ts +9 -1
- package/dist/avatar/src/Avatar.js +4 -4
- package/dist/avatar/src/AvatarGroup.css +65 -65
- package/dist/avatar/src/AvatarGroup.d.ts +1 -0
- package/dist/avatar/src/AvatarGroup.js +7 -7
- package/dist/avatar/src/AvatarGroupContext.d.ts +1 -0
- package/dist/avatar/src/BrokenAvatar.css +55 -48
- package/dist/avatar/src/BrokenAvatar.d.ts +5 -0
- package/dist/avatar/src/BrokenAvatar.js +2 -2
- package/dist/avatar/src/DeletedAvatar.css +55 -48
- package/dist/avatar/src/DeletedAvatar.d.ts +5 -0
- package/dist/avatar/src/DeletedAvatar.js +2 -2
- package/dist/avatar/src/RichIconAvatarImage.css +55 -48
- package/dist/avatar/src/RichIconAvatarImage.d.ts +9 -0
- package/dist/avatar/src/RichIconAvatarImage.js +1 -1
- package/dist/avatar/src/RichIconAvatarImageContext.d.ts +1 -0
- package/dist/avatar/src/index.css +107 -93
- package/dist/avatar/src/index.d.ts +1 -0
- package/dist/avatar/src/index.js +12 -12
- 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 +106 -106
- package/dist/buttons/src/Button.js +6 -6
- 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 +107 -107
- package/dist/buttons/src/CloseButton.js +7 -7
- package/dist/buttons/src/EmbeddedButton.css +109 -109
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +116 -116
- package/dist/buttons/src/LinkButton.js +5 -5
- package/dist/buttons/src/ToggleButton.css +142 -142
- package/dist/buttons/src/ToggleButton.js +4 -4
- package/dist/buttons/src/index.css +359 -359
- package/dist/buttons/src/index.js +12 -12
- package/dist/callout/src/Callout.css +371 -371
- package/dist/callout/src/Callout.js +8 -8
- package/dist/callout/src/CompactCallout.css +408 -408
- package/dist/callout/src/CompactCallout.js +8 -8
- package/dist/callout/src/index.css +420 -420
- package/dist/callout/src/index.js +9 -9
- 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 +4 -4
- 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 +7 -7
- 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 +11 -11
- package/dist/{chunk-FNI3HSJI.js → chunk-23AITQGV.js} +3 -3
- package/dist/{chunk-G73VEN7N.js → chunk-2HLSARIU.js} +2 -2
- package/dist/{chunk-WGY5JT6V.js → chunk-2Q5D6OIZ.js} +1 -1
- package/dist/{chunk-6KXXNGHQ.js → chunk-3ECLDGZR.js} +12 -12
- package/dist/{chunk-7WNRLXYV.js → chunk-3FZLIIT7.js} +2 -2
- package/dist/{chunk-VOPB3IFM.js → chunk-3V3DGGMU.js} +1 -1
- package/dist/{chunk-6AKHGSHL.js → chunk-4AQZKH45.js} +2 -2
- package/dist/{chunk-2CMRIMTT.js → chunk-4DRCTP4W.js} +4 -4
- package/dist/{chunk-CFFDABWV.js → chunk-4EYBZITX.js} +8 -8
- package/dist/{chunk-CZQ7Y25A.js → chunk-4OK2IJOP.js} +2 -2
- package/dist/{chunk-AUWXH6DB.js → chunk-53D3PPQ5.js} +6 -6
- package/dist/{chunk-FL33X6NS.js → chunk-6BFSWS7N.js} +2 -2
- package/dist/{chunk-7EZL7ZEN.js → chunk-6EARGYD3.js} +5 -5
- package/dist/{chunk-AIWBAHIZ.js → chunk-6GRWNDMQ.js} +1 -1
- package/dist/{chunk-2VMV4LDJ.js → chunk-6IFUOTPX.js} +1 -1
- package/dist/{chunk-3GNODKFW.js → chunk-74IF2TUK.js} +1 -1
- package/dist/{chunk-FRH64YKY.js → chunk-7OO3VF3P.js} +2 -2
- package/dist/{chunk-JZ6W76HH.js → chunk-7PN6EFFX.js} +2 -2
- package/dist/{chunk-NOGAOMSP.js → chunk-A4WDHKGF.js} +1 -1
- package/dist/{chunk-XOYIBFOK.js → chunk-AHFA7356.js} +1 -1
- package/dist/{chunk-JD3QSJOH.js → chunk-AUOPQBVW.js} +3 -3
- package/dist/{chunk-NBPERDDF.js → chunk-AXD6BW5D.js} +2 -2
- package/dist/{chunk-I3RM4ZNZ.js → chunk-C5PMF55U.js} +1 -1
- package/dist/{chunk-T6TEL2CE.js → chunk-C7O46AOM.js} +2 -2
- package/dist/{chunk-7KGCL6NF.js → chunk-CILOOC5W.js} +2 -2
- package/dist/{chunk-JOL2XETU.js → chunk-DECSFZSS.js} +3 -3
- package/dist/{chunk-V2AOVTCU.js → chunk-DJXU537D.js} +2 -2
- package/dist/{chunk-L6KDA3QR.js → chunk-DKEERFFW.js} +1 -1
- package/dist/{chunk-63P5XXBL.js → chunk-E6YLDMR5.js} +2 -2
- package/dist/{chunk-SH7QX4ON.js → chunk-EQ5SGRMN.js} +2 -2
- package/dist/{chunk-IYPDPLMO.js → chunk-F4TFD5M2.js} +1 -1
- package/dist/{chunk-PN2K4YPV.js → chunk-FVAR3SN7.js} +7 -2
- package/dist/{chunk-OZ3W7ATD.js → chunk-G5BMV25Q.js} +1 -1
- package/dist/{chunk-EVXAOPUQ.js → chunk-GM4BCUPE.js} +2 -2
- package/dist/{chunk-SQFL7HVZ.js → chunk-GND3FZEU.js} +1 -1
- package/dist/{chunk-HXL5DWXT.js → chunk-GNJJAWSH.js} +1 -1
- package/dist/{chunk-4UVLGO3D.js → chunk-GNKBD34B.js} +3 -3
- package/dist/{chunk-SR2OVG77.js → chunk-GPOAO6CL.js} +16 -7
- package/dist/{chunk-IXYSG3YF.js → chunk-HACCRMMO.js} +1 -1
- package/dist/{chunk-63B43NAY.js → chunk-HHFJPQV2.js} +4 -4
- package/dist/{chunk-EQU2MUZ2.js → chunk-HPLZWNAZ.js} +1 -1
- package/dist/{chunk-KL6G435R.js → chunk-I6HGCEZB.js} +2 -2
- package/dist/{chunk-23OKJK5E.js → chunk-I7R7CC7N.js} +1 -1
- package/dist/{chunk-TLWX2TD4.js → chunk-IJFSDB6O.js} +3 -3
- package/dist/{chunk-IXC3UTLF.js → chunk-J3L7R73F.js} +1 -1
- package/dist/{chunk-FPPUBMBE.js → chunk-JO4WOBHY.js} +4 -4
- package/dist/{chunk-V3GYJE64.js → chunk-KFZSS3UU.js} +6 -6
- package/dist/{chunk-UENGYKQS.js → chunk-KTN2EO6F.js} +8 -8
- package/dist/{chunk-LSFVWR6F.js → chunk-LCQKIWTU.js} +11 -11
- package/dist/{chunk-335ZARPI.js → chunk-LUSOODIC.js} +2 -2
- package/dist/{chunk-5OSLSGCY.js → chunk-MU47265D.js} +5 -5
- package/dist/{chunk-CCANXYSA.js → chunk-NIP6DJ7N.js} +3 -3
- package/dist/chunk-OL24RVDF.js +7 -0
- package/dist/{chunk-4B7TDPQB.js → chunk-OLRPKAPM.js} +2 -2
- package/dist/{chunk-S2FS5CRY.js → chunk-PEAHK7IC.js} +2 -2
- package/dist/{chunk-HQEYCFR2.js → chunk-PJLEPNY4.js} +3 -3
- package/dist/{chunk-AH4RWVYD.js → chunk-Q43KRIDS.js} +5 -5
- package/dist/{chunk-4JKPMEEJ.js → chunk-Q5HG4SMW.js} +5 -5
- package/dist/{chunk-T2C6FGAY.js → chunk-RAXFA5L6.js} +11 -11
- package/dist/chunk-RE4GL7KO.js +70 -0
- package/dist/{chunk-KTYJODZV.js → chunk-RLWY3YMX.js} +1 -1
- package/dist/{chunk-QABLDHTY.js → chunk-RNP2CVTX.js} +1 -1
- package/dist/{chunk-QWK3WHKB.js → chunk-RPNSU4NH.js} +2 -2
- package/dist/{chunk-FGZNIAIF.js → chunk-SBGR6HMX.js} +1 -1
- package/dist/{chunk-QZG7DH76.js → chunk-SKRPB7WU.js} +3 -3
- package/dist/{chunk-EABN7BCJ.js → chunk-TAZERRND.js} +1 -1
- package/dist/{chunk-3UBW7B5Y.js → chunk-TGUQ3J7Z.js} +1 -1
- package/dist/{chunk-ETHCY5HV.js → chunk-U2LT67HH.js} +2 -2
- package/dist/{chunk-KVXE46FV.js → chunk-U37JQ34P.js} +1 -1
- package/dist/{chunk-OQPQ5Q54.js → chunk-UDIPKMSE.js} +1 -1
- package/dist/{chunk-AQBGEAPW.js → chunk-UKQ53AAO.js} +1 -1
- package/dist/{chunk-77JGVGS3.js → chunk-UO3RJTFP.js} +2 -2
- package/dist/{chunk-CPCR7FGP.js → chunk-UVH6MHOE.js} +3 -3
- package/dist/{chunk-IVZ3EL66.js → chunk-UWRASD73.js} +3 -3
- package/dist/{chunk-E5HFUKHL.js → chunk-VAUQ3NUS.js} +2 -2
- package/dist/{chunk-7FIL5U4Z.js → chunk-VU24UXS2.js} +2 -2
- package/dist/{chunk-CJ6K4SGD.js → chunk-VUU3GSYB.js} +1 -1
- package/dist/{chunk-ZBKTSDZW.js → chunk-VVQPKO5Z.js} +2 -2
- package/dist/{chunk-JOBH3GNG.js → chunk-WCH2S4HA.js} +2 -2
- package/dist/{chunk-UH3BTZIK.js → chunk-WZW744ZT.js} +1 -1
- package/dist/{chunk-NUN7AV55.js → chunk-X3L7QHJF.js} +2 -2
- package/dist/{chunk-BZPOJXHY.js → chunk-YHL3E2ER.js} +22 -9
- package/dist/{chunk-7SQ3B5CN.js → chunk-YMBFJDQS.js} +3 -3
- package/dist/{chunk-CUGWVLKK.js → chunk-YZZQMARW.js} +1 -1
- package/dist/{chunk-RWYVNDEG.js → chunk-Z6F7OHIL.js} +1 -1
- package/dist/{chunk-DIP3SE2A.js → chunk-ZOYZSQLY.js} +7 -7
- package/dist/{chunk-22DZZ7PK.js → chunk-ZQEG3QUX.js} +8 -8
- package/dist/{chunk-MRQEFQZB.js → chunk-ZV2QF3XO.js} +1 -1
- package/dist/{chunk-5Q5LAGLQ.js → chunk-ZVH3V6GK.js} +3 -3
- package/dist/combobox/src/ComboBox.css +793 -779
- package/dist/combobox/src/ComboBox.js +20 -20
- package/dist/combobox/src/index.css +793 -779
- package/dist/combobox/src/index.js +20 -20
- package/dist/contextual-help/src/ContextualHelp.css +716 -702
- package/dist/contextual-help/src/ContextualHelp.js +4 -4
- package/dist/contextual-help/src/index.css +716 -702
- 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 +4 -4
- 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 +417 -378
- package/dist/illustrated-message/src/IllustratedMessage.js +3 -2
- package/dist/illustrated-message/src/index.css +417 -378
- package/dist/illustrated-message/src/index.js +3 -2
- package/dist/illustration/src/Illustration.css +339 -0
- package/dist/illustration/src/Illustration.d.ts +27 -0
- package/dist/illustration/src/Illustration.js +7 -0
- package/dist/illustration/src/IllustrationContext.d.ts +20 -0
- package/dist/illustration/src/IllustrationContext.js +2 -0
- package/dist/illustration/src/index.css +339 -0
- package/dist/illustration/src/index.d.ts +7 -0
- package/dist/illustration/src/index.js +7 -0
- 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 +3 -3
- package/dist/index.css +1182 -1129
- package/dist/index.d.ts +2 -0
- package/dist/index.js +112 -110
- 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 +379 -379
- 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 +385 -385
- 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 +383 -383
- package/dist/inputs/src/TextField.js +14 -14
- package/dist/inputs/src/index.css +431 -431
- package/dist/inputs/src/index.js +20 -20
- 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 +326 -312
- package/dist/list-box/src/ListBox.js +8 -8
- package/dist/list-box/src/ListBoxItem.css +314 -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 +326 -312
- package/dist/list-box/src/index.js +9 -9
- package/dist/menu/src/Menu.css +718 -704
- package/dist/menu/src/Menu.js +3 -3
- package/dist/menu/src/MenuItem.css +131 -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 +743 -729
- package/dist/menu/src/index.js +7 -7
- 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 +401 -401
- package/dist/modal/src/Modal.js +9 -9
- package/dist/modal/src/index.css +402 -402
- package/dist/modal/src/index.js +11 -11
- package/dist/overlays/popover/src/Popover.css +710 -696
- 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 +713 -699
- 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 +8 -8
- 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 +1 -1
- package/dist/segmented-control/src/SegmentedControlItem.css +53 -53
- package/dist/segmented-control/src/SegmentedControlItem.js +2 -2
- package/dist/segmented-control/src/index.css +54 -54
- package/dist/segmented-control/src/index.js +3 -3
- package/dist/select/src/Select.css +737 -723
- package/dist/select/src/Select.js +19 -19
- package/dist/select/src/SelectValue.css +113 -99
- package/dist/select/src/SelectValue.js +2 -2
- package/dist/select/src/index.css +737 -723
- package/dist/select/src/index.js +19 -19
- 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 +3 -3
- package/dist/switch/src/index.css +60 -60
- package/dist/switch/src/index.js +5 -5
- package/dist/tabs/src/Tab.css +563 -549
- package/dist/tabs/src/Tab.js +3 -3
- 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 +574 -560
- package/dist/tabs/src/index.js +6 -6
- package/dist/tag/src/Tag.css +541 -527
- package/dist/tag/src/Tag.js +7 -7
- package/dist/tag/src/TagGroup.css +48 -48
- package/dist/tag/src/TagGroup.js +7 -7
- package/dist/tag/src/index.css +551 -537
- package/dist/tag/src/index.js +12 -12
- 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 +2 -2
- package/dist/tile/src/index.css +48 -48
- package/dist/tile/src/index.js +4 -4
- 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 +6 -6
- 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.js +3 -3
- package/package.json +1 -1
- package/dist/{chunk-DAF2CRGN.js → chunk-DCO4XGBI.js} +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _BaseModal } from './chunk-
|
|
1
|
+
import { _BaseModal } from './chunk-ZV2QF3XO.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-RLWY3YMX.js';
|
|
5
|
+
import { _CloseButton } from './chunk-EQ5SGRMN.js';
|
|
6
|
+
import { _Button } from './chunk-JO4WOBHY.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___omXyH", "hop-Alert__button-group": "Alert-module__hop-Alert__button-group___WjQo5", "hop-Alert__heading": "Alert-module__hop-Alert__heading___Pj7mP", "hop-Alert__close": "Alert-module__hop-Alert__close___UPZVN", "hop-Alert__content": "Alert-module__hop-Alert__content___qTs-H" };
|
|
18
18
|
var GlobalAlertCssSelector = "hop-Alert";
|
|
19
19
|
function Alert(props, ref) {
|
|
20
20
|
var _a;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CheckboxFieldContext } from './chunk-ZGNK4GWA.js';
|
|
2
2
|
import { CheckboxGroupContext } from './chunk-N7YDPVZL.js';
|
|
3
|
-
import { FieldLabel } from './chunk-
|
|
4
|
-
import { _HelperMessage } from './chunk-
|
|
5
|
-
import { _ErrorMessage } from './chunk-
|
|
3
|
+
import { FieldLabel } from './chunk-UWRASD73.js';
|
|
4
|
+
import { _HelperMessage } from './chunk-RPNSU4NH.js';
|
|
5
|
+
import { _ErrorMessage } from './chunk-4AQZKH45.js';
|
|
6
6
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
7
|
-
import { useFormProps } from './chunk-
|
|
7
|
+
import { useFormProps } from './chunk-TAZERRND.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___61Dxi", "hop-CheckboxGroup--bordered": "CheckboxGroup-module__hop-CheckboxGroup--bordered___bHPzd", "hop-CheckboxGroup--sm": "CheckboxGroup-module__hop-CheckboxGroup--sm___0OO2B", "hop-CheckboxGroup--md": "CheckboxGroup-module__hop-CheckboxGroup--md___TwxlC", "hop-CheckboxGroup__label": "CheckboxGroup-module__hop-CheckboxGroup__label___eiuyB", "hop-CheckboxGroup__list": "CheckboxGroup-module__hop-CheckboxGroup__list___JgdGO", "hop-CheckboxGroup__checkbox": "CheckboxGroup-module__hop-CheckboxGroup__checkbox___7Zm5j", "hop-CheckboxGroup__error-message": "CheckboxGroup-module__hop-CheckboxGroup__error-message___Osxnd", "hop-CheckboxGroup__helper-message": "CheckboxGroup-module__hop-CheckboxGroup__helper-message___tQNAP" };
|
|
19
19
|
var GlobalCheckboxGroupCssSelector = "hop-CheckboxGroup";
|
|
20
20
|
function CheckboxGroup(props, ref) {
|
|
21
21
|
var _a, _b, _c;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
2
|
-
import { _RemainingCharacterCount } from './chunk-CZQ7Y25A.js';
|
|
3
1
|
import { TextFieldContext } from './chunk-O4XPUINW.js';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
2
|
+
import { useTruncatedText } from './chunk-Z57VHYOF.js';
|
|
3
|
+
import { _RemainingCharacterCount } from './chunk-4OK2IJOP.js';
|
|
4
|
+
import { Input } from './chunk-I7R7CC7N.js';
|
|
5
|
+
import { _InputGroup } from './chunk-6GRWNDMQ.js';
|
|
6
|
+
import { FieldLabel } from './chunk-UWRASD73.js';
|
|
7
|
+
import { _HelperMessage } from './chunk-RPNSU4NH.js';
|
|
8
|
+
import { _ErrorMessage } from './chunk-4AQZKH45.js';
|
|
9
|
+
import { _ClearButton } from './chunk-SBGR6HMX.js';
|
|
10
|
+
import { useFormProps } from './chunk-TAZERRND.js';
|
|
11
|
+
import { ensureTextWrapper } from './chunk-2Q5D6OIZ.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___Sp5HT", "hop-TextField--fluid": "TextField-module__hop-TextField--fluid___raA6F", "hop-TextField__Label": "TextField-module__hop-TextField__Label___h-pJD", "hop-TextField__prefix": "TextField-module__hop-TextField__prefix___rGSfK", "hop-TextField__InputGroup": "TextField-module__hop-TextField__InputGroup___pSvff", "hop-TextField__ErrorMessage": "TextField-module__hop-TextField__ErrorMessage___VI73Y", "hop-TextField__HelperMessage": "TextField-module__hop-TextField__HelperMessage___a9iqn" };
|
|
29
29
|
var GlobalTextFieldCssSelector = "hop-TextField";
|
|
30
30
|
function TextField(props, ref) {
|
|
31
31
|
var _a;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { ImageContext } from './chunk-JAR7CXVS.js';
|
|
2
|
+
import { IllustrationContext } from './chunk-OL24RVDF.js';
|
|
3
|
+
import { ClearProviders } from './chunk-PQSMCDAM.js';
|
|
4
|
+
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
|
+
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
6
|
+
import clsx from 'clsx';
|
|
7
|
+
import { forwardRef } from 'react';
|
|
8
|
+
import { useContextProps, Provider } from 'react-aria-components';
|
|
9
|
+
import { jsx } from 'react/jsx-runtime';
|
|
10
|
+
|
|
11
|
+
// css-module:./Illustration.module.css#css-module
|
|
12
|
+
var Illustration_module_default = { "hop-Illustration": "Illustration-module__hop-Illustration___7eZzH", "hop-Illustration__image": "Illustration-module__hop-Illustration__image___BfngC", "hop-Illustration--horizontal": "Illustration-module__hop-Illustration--horizontal___9c5tx", "hop-Illustration--vertical": "Illustration-module__hop-Illustration--vertical___pkQFR", "hop-Illustration--rounded": "Illustration-module__hop-Illustration--rounded___X7IZE" };
|
|
13
|
+
var GlobalIllustrationCssSelector = "hop-Illustration";
|
|
14
|
+
function Illustration(props, ref) {
|
|
15
|
+
[props, ref] = useContextProps(props, ref, IllustrationContext);
|
|
16
|
+
const { stylingProps, ...ownProps } = useStyledSystem(props);
|
|
17
|
+
const {
|
|
18
|
+
className,
|
|
19
|
+
clearContexts,
|
|
20
|
+
children,
|
|
21
|
+
isHidden,
|
|
22
|
+
orientation: orientationProp,
|
|
23
|
+
shape = "straight",
|
|
24
|
+
style,
|
|
25
|
+
slot,
|
|
26
|
+
...otherProps
|
|
27
|
+
} = ownProps;
|
|
28
|
+
const orientation = useResponsiveValue(orientationProp) || "horizontal";
|
|
29
|
+
if (isHidden) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
const classNames = clsx(
|
|
33
|
+
GlobalIllustrationCssSelector,
|
|
34
|
+
cssModule(
|
|
35
|
+
Illustration_module_default,
|
|
36
|
+
GlobalIllustrationCssSelector,
|
|
37
|
+
orientation,
|
|
38
|
+
shape === "rounded" && "rounded"
|
|
39
|
+
),
|
|
40
|
+
stylingProps.className,
|
|
41
|
+
className
|
|
42
|
+
);
|
|
43
|
+
const mergedStyles = {
|
|
44
|
+
...style,
|
|
45
|
+
...stylingProps.style
|
|
46
|
+
};
|
|
47
|
+
return /* @__PURE__ */ jsx(ClearProviders, { values: clearContexts, children: /* @__PURE__ */ jsx(
|
|
48
|
+
"div",
|
|
49
|
+
{
|
|
50
|
+
ref,
|
|
51
|
+
className: classNames,
|
|
52
|
+
style: mergedStyles,
|
|
53
|
+
slot: slot != null ? slot : void 0,
|
|
54
|
+
...otherProps,
|
|
55
|
+
children: /* @__PURE__ */ jsx(
|
|
56
|
+
Provider,
|
|
57
|
+
{
|
|
58
|
+
values: [
|
|
59
|
+
[ImageContext, { className: Illustration_module_default["hop-Illustration__image"] }]
|
|
60
|
+
],
|
|
61
|
+
children
|
|
62
|
+
}
|
|
63
|
+
)
|
|
64
|
+
}
|
|
65
|
+
) });
|
|
66
|
+
}
|
|
67
|
+
var _Illustration = forwardRef(Illustration);
|
|
68
|
+
_Illustration.displayName = "Illustration";
|
|
69
|
+
|
|
70
|
+
export { GlobalIllustrationCssSelector, _Illustration };
|
|
@@ -12,7 +12,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./ButtonGroup.module.css#css-module
|
|
15
|
-
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-
|
|
15
|
+
var ButtonGroup_module_default = { "hop-ButtonGroup": "ButtonGroup-module__hop-ButtonGroup___VDRni", "hop-ButtonGroup--horizontal": "ButtonGroup-module__hop-ButtonGroup--horizontal___EOJS-", "hop-ButtonGroup--vertical": "ButtonGroup-module__hop-ButtonGroup--vertical___zJgiM", "hop-ButtonGroup--start": "ButtonGroup-module__hop-ButtonGroup--start___HbkvR", "hop-ButtonGroup--center": "ButtonGroup-module__hop-ButtonGroup--center___lt3po", "hop-ButtonGroup--end": "ButtonGroup-module__hop-ButtonGroup--end___cX9-B", "hop-ButtonGroup--wrap": "ButtonGroup-module__hop-ButtonGroup--wrap___h6PVX", "hop-ButtonGroup--fluid": "ButtonGroup-module__hop-ButtonGroup--fluid___XRqCg" };
|
|
16
16
|
var GlobalButtonGroupCssSelector = "hop-ButtonGroup";
|
|
17
17
|
function ButtonGroup(props, ref) {
|
|
18
18
|
var _a, _b, _c, _d;
|
|
@@ -5,7 +5,7 @@ import { TabListStateContext } from 'react-aria-components';
|
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
// css-module:./TabLine.module.css#css-module
|
|
8
|
-
var TabLine_module_default = { "hop-TabLine": "TabLine-module__hop-
|
|
8
|
+
var TabLine_module_default = { "hop-TabLine": "TabLine-module__hop-TabLine___jUY8r", "hop-TabLine--disabled": "TabLine-module__hop-TabLine--disabled___-u8kg" };
|
|
9
9
|
var GlobalTabLineCssSelector = "hop-TabLine";
|
|
10
10
|
function TabLine(props) {
|
|
11
11
|
var _a;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HelperMessageContext } from './chunk-PNEJ6JDM.js';
|
|
2
|
-
import { _Text } from './chunk-
|
|
2
|
+
import { _Text } from './chunk-VUU3GSYB.js';
|
|
3
3
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
4
4
|
import { InfoIcon } from '@hopper-ui/icons';
|
|
5
5
|
import { useStyledSystem } from '@hopper-ui/styled-system';
|
|
@@ -9,7 +9,7 @@ import { useContextProps, FieldErrorContext } from 'react-aria-components';
|
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./HelperMessage.module.css#css-module
|
|
12
|
-
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-
|
|
12
|
+
var HelperMessage_module_default = { "hop-HelperMessage": "HelperMessage-module__hop-HelperMessage___PDdfo", "hop-HelperMessage__icon": "HelperMessage-module__hop-HelperMessage__icon___23DnS" };
|
|
13
13
|
var GlobalHelperMessageCssSelector = "hop-HelperMessage";
|
|
14
14
|
function HelperMessage(props, ref) {
|
|
15
15
|
const validation = useContext(FieldErrorContext);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _EmbeddedButton } from './chunk-
|
|
1
|
+
import { _EmbeddedButton } from './chunk-C5PMF55U.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';
|
|
@@ -2,11 +2,11 @@ import { ModalContext } from './chunk-JBPNJWC7.js';
|
|
|
2
2
|
import { ImageContext } from './chunk-JAR7CXVS.js';
|
|
3
3
|
import { FooterContext } from './chunk-I67NHYK4.js';
|
|
4
4
|
import { HeaderContext } from './chunk-FOQ7KN4V.js';
|
|
5
|
-
import { _BaseModal } from './chunk-
|
|
5
|
+
import { _BaseModal } from './chunk-ZV2QF3XO.js';
|
|
6
6
|
import { HeadingContext } from './chunk-WJRMD4JP.js';
|
|
7
7
|
import { ContentContext } from './chunk-IXB2WK56.js';
|
|
8
8
|
import { ButtonGroupContext } from './chunk-VJQ7M2BK.js';
|
|
9
|
-
import { _CloseButton } from './chunk-
|
|
9
|
+
import { _CloseButton } from './chunk-EQ5SGRMN.js';
|
|
10
10
|
import { ButtonContext } from './chunk-WMTWFKKP.js';
|
|
11
11
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
12
12
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, Dialog, OverlayTriggerStateContext
|
|
|
17
17
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./Modal.module.css#css-module
|
|
20
|
-
var Modal_module_default = { "hop-Modal": "Modal-module__hop-
|
|
20
|
+
var Modal_module_default = { "hop-Modal": "Modal-module__hop-Modal___Mu6Nk", "hop-Modal__top-container": "Modal-module__hop-Modal__top-container___K9wEF", "hop-Modal__bottom-container": "Modal-module__hop-Modal__bottom-container___B6PD2", "hop-Modal--has-image": "Modal-module__hop-Modal--has-image___NZ8nU", "hop-Modal--fullscreen": "Modal-module__hop-Modal--fullscreen___LdVSl", "hop-Modal--fullscreenTakeover": "Modal-module__hop-Modal--fullscreenTakeover___qyUyp", "hop-Modal__close": "Modal-module__hop-Modal__close___bBnZJ", "hop-Modal__image": "Modal-module__hop-Modal__image___8TKsG", "hop-Modal__heading": "Modal-module__hop-Modal__heading___JKwNV", "hop-Modal__header": "Modal-module__hop-Modal__header___se0FM", "hop-Modal__content": "Modal-module__hop-Modal__content___WhikH", "hop-Modal__footer": "Modal-module__hop-Modal__footer___InfaA", "hop-Modal__button": "Modal-module__hop-Modal__button___J-MFt", "hop-Modal__button-group": "Modal-module__hop-Modal__button-group___6CROQ" };
|
|
21
21
|
var GlobalModalCssSelector = "hop-Modal";
|
|
22
22
|
var ClearContexts = [ImageContext, HeadingContext, HeaderContext, ContentContext, FooterContext, ButtonContext, ButtonGroupContext];
|
|
23
23
|
var Modal = (props, ref) => {
|
|
@@ -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___FBLVT" };
|
|
11
11
|
var GlobalFormCssSelector = "hop-Form";
|
|
12
12
|
function useFormProps(props) {
|
|
13
13
|
const ctx = useContext(FormContext);
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./Image.module.css#css-module
|
|
11
|
-
var Image_module_default = { "hop-Image": "Image-module__hop-
|
|
11
|
+
var Image_module_default = { "hop-Image": "Image-module__hop-Image___blbu7", "hop-Image--rounded": "Image-module__hop-Image--rounded___UstPX", "hop-Image--circular": "Image-module__hop-Image--circular___UgelG" };
|
|
12
12
|
var GlobalImageCssSelector = "hop-Image";
|
|
13
13
|
function Image(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, ImageContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LinkContext } from './chunk-MTULE7GI.js';
|
|
2
2
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-2Q5D6OIZ.js';
|
|
4
4
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -12,7 +12,7 @@ import { useContextProps, composeRenderProps, Link as Link$1, DEFAULT_SLOT } fro
|
|
|
12
12
|
import { jsx } from 'react/jsx-runtime';
|
|
13
13
|
|
|
14
14
|
// css-module:./Link.module.css#css-module
|
|
15
|
-
var Link_module_default = { "hop-Link": "Link-module__hop-
|
|
15
|
+
var Link_module_default = { "hop-Link": "Link-module__hop-Link___dUgQQ", "hop-Link--xs": "Link-module__hop-Link--xs___8qfcH", "hop-Link--sm": "Link-module__hop-Link--sm___Jcges", "hop-Link--md": "Link-module__hop-Link--md___xABp1", "hop-Link--lg": "Link-module__hop-Link--lg___TTGPB", "hop-Link--xl": "Link-module__hop-Link--xl___mKTpu", "hop-Link--2xl": "Link-module__hop-Link--2xl___eA4f9", "hop-Link--inherit": "Link-module__hop-Link--inherit___9c7p0", "hop-Link--standalone": "Link-module__hop-Link--standalone___-t8vq", "hop-Link__text": "Link-module__hop-Link__text___F78Tu", "hop-Link--quiet": "Link-module__hop-Link--quiet___8Lq3T", "hop-Link--primary": "Link-module__hop-Link--primary___djhLL", "hop-Link--secondary": "Link-module__hop-Link--secondary___CBZoL", "hop-Link__icon": "Link-module__hop-Link__icon___lVBlT", "hop-Link__icon-list": "Link-module__hop-Link__icon-list___q9TuK", "hop-Link__start-icon": "Link-module__hop-Link__start-icon___Ge9Xk", "hop-Link__start-icon-list": "Link-module__hop-Link__start-icon-list___2LWRp" };
|
|
16
16
|
var GlobalLinkCssSelector = "hop-Link";
|
|
17
17
|
var LinkToIconSizeAdapter = {
|
|
18
18
|
inherit: void 0,
|
|
@@ -8,7 +8,7 @@ import { useContextProps, ToggleGroupStateContext, ToggleButtonGroup, Provider }
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./SegmentedControl.module.css#css-module
|
|
11
|
-
var SegmentedControl_module_default = { "hop-SegmentedControl": "SegmentedControl-module__hop-
|
|
11
|
+
var SegmentedControl_module_default = { "hop-SegmentedControl": "SegmentedControl-module__hop-SegmentedControl___rhaki" };
|
|
12
12
|
var GlobalSegmentedControlCssSelector = "hop-SegmentedControl";
|
|
13
13
|
var SegmentedControl = (props, ref) => {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, SegmentedControlContext);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
2
|
-
import { _RichIconAvatarImage } from './chunk-
|
|
2
|
+
import { _RichIconAvatarImage } from './chunk-GPOAO6CL.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
4
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
5
5
|
import { DeletedUserRichIcon } from '@hopper-ui/icons';
|
|
@@ -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___S1Ksu", "hop-OverlineText__text": "OverlineText-module__hop-OverlineText__text___tVzgl" };
|
|
11
11
|
var GlobalOverlineTextCssSelector = "hop-OverlineText";
|
|
12
12
|
function OverlineText(props, ref) {
|
|
13
13
|
[props, ref] = useContextProps(props, ref, OverlineTextContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { DisclosurePanelContext } from './chunk-5XY5L6ZN.js';
|
|
1
2
|
import { DisclosureHeaderContext } from './chunk-CPAFY34U.js';
|
|
2
3
|
import { DisclosureContext } from './chunk-U4HRZ6DN.js';
|
|
3
|
-
import { DisclosurePanelContext } from './chunk-5XY5L6ZN.js';
|
|
4
4
|
import { AccordionContext } from './chunk-NF64YIEZ.js';
|
|
5
5
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
6
6
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -11,7 +11,7 @@ import { useContextProps, composeRenderProps, DisclosureGroup } from 'react-aria
|
|
|
11
11
|
import { jsx } from 'react/jsx-runtime';
|
|
12
12
|
|
|
13
13
|
// css-module:./Accordion.module.css#css-module
|
|
14
|
-
var Accordion_module_default = { "hop-Accordion": "Accordion-module__hop-
|
|
14
|
+
var Accordion_module_default = { "hop-Accordion": "Accordion-module__hop-Accordion___eHuUq", "hop-Accordion--inline": "Accordion-module__hop-Accordion--inline___0oTC9", "hop-Accordion__disclosure": "Accordion-module__hop-Accordion__disclosure___6BECv", "hop-Accordion__disclosure-header": "Accordion-module__hop-Accordion__disclosure-header___LQTai", "hop-Accordion__disclosure-panel": "Accordion-module__hop-Accordion__disclosure-panel___dDDE-" };
|
|
15
15
|
var GlobalAccordionCssSelector = "hop-Accordion";
|
|
16
16
|
function Accordion(props, ref) {
|
|
17
17
|
[props, ref] = useContextProps(props, ref, AccordionContext);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ToggleButtonContext } from './chunk-BYERWFG4.js';
|
|
2
2
|
import { useProgressVisibility } from './chunk-HZTYQ5FQ.js';
|
|
3
|
-
import { _Spinner } from './chunk-
|
|
3
|
+
import { _Spinner } from './chunk-6BFSWS7N.js';
|
|
4
4
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
5
5
|
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
6
6
|
import { useSlot } from './chunk-H5YTU3U7.js';
|
|
7
|
-
import { ensureTextWrapper } from './chunk-
|
|
7
|
+
import { ensureTextWrapper } from './chunk-2Q5D6OIZ.js';
|
|
8
8
|
import { ClearProviders } from './chunk-PQSMCDAM.js';
|
|
9
9
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
10
10
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -17,7 +17,7 @@ import { useContextProps, composeRenderProps, ToggleButton as ToggleButton$1, DE
|
|
|
17
17
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
19
|
// css-module:./ToggleButton.module.css#css-module
|
|
20
|
-
var ToggleButton_module_default = { "hop-ToggleButton": "ToggleButton-module__hop-
|
|
20
|
+
var ToggleButton_module_default = { "hop-ToggleButton": "ToggleButton-module__hop-ToggleButton___0W6HU Button-module__hop-Button___wWb6i", "hop-ToggleButton--fluid": "ToggleButton-module__hop-ToggleButton--fluid___6tPba Button-module__hop-Button--fluid___LxexA", "hop-ToggleButton--xs": "ToggleButton-module__hop-ToggleButton--xs___BpzXJ Button-module__hop-Button--xs___2Fb-4", "hop-ToggleButton--sm": "ToggleButton-module__hop-ToggleButton--sm___eQQdh Button-module__hop-Button--sm___-jio-", "hop-ToggleButton--md": "ToggleButton-module__hop-ToggleButton--md___pNUac Button-module__hop-Button--md___puKXV", "hop-ToggleButton--icon-only": "ToggleButton-module__hop-ToggleButton--icon-only___fdeTz Button-module__hop-Button--icon-only___NZYcU", "hop-ToggleButton--primary": "ToggleButton-module__hop-ToggleButton--primary___hyhAW Button-module__hop-Button--primary___vPRyi", "hop-ToggleButton--secondary": "ToggleButton-module__hop-ToggleButton--secondary___CXWzj Button-module__hop-Button--secondary___X5mbI", "hop-ToggleButton--upsell": "ToggleButton-module__hop-ToggleButton--upsell___UdN0F Button-module__hop-Button--upsell___rJHms", "hop-ToggleButton--danger": "ToggleButton-module__hop-ToggleButton--danger___rYEmF Button-module__hop-Button--danger___hma22", "hop-ToggleButton--ghost-primary": "ToggleButton-module__hop-ToggleButton--ghost-primary___oHwd9 Button-module__hop-Button--ghost-primary___Sa0ib", "hop-ToggleButton--ghost-secondary": "ToggleButton-module__hop-ToggleButton--ghost-secondary___sc6OO Button-module__hop-Button--ghost-secondary___HZf5M", "hop-ToggleButton--ghost-danger": "ToggleButton-module__hop-ToggleButton--ghost-danger___aRaGE Button-module__hop-Button--ghost-danger___AsUiD", "hop-ToggleButton--loading": "ToggleButton-module__hop-ToggleButton--loading___ZUgPb", "hop-ToggleButton__Spinner": "ToggleButton-module__hop-ToggleButton__Spinner___dh552 Button-module__hop-Button__Spinner___0PlTy", "hop-ToggleButton__icon": "ToggleButton-module__hop-ToggleButton__icon___8uCIM Button-module__hop-Button__icon___oFnrQ", "hop-ToggleButton__icon-list": "ToggleButton-module__hop-ToggleButton__icon-list___7RZ5D Button-module__hop-Button__icon___oFnrQ Button-module__hop-Button__icon-list___OZwmo", "hop-ToggleButton__text": "ToggleButton-module__hop-ToggleButton__text___9HJdZ Button-module__hop-Button__text___tupYr", "hop-ToggleButton__end-icon": "ToggleButton-module__hop-ToggleButton__end-icon___Fru-b Button-module__hop-Button__end-icon___Z-MNW", "hop-ToggleButton__end-icon-list": "ToggleButton-module__hop-ToggleButton__end-icon-list___wSeEy Button-module__hop-Button__end-icon___Z-MNW Button-module__hop-Button__icon-list___OZwmo" };
|
|
21
21
|
var GlobalToggleButtonCssSelector = "hop-ToggleButton";
|
|
22
22
|
var ToggleButtonToIconSizeAdapter = {
|
|
23
23
|
xs: "sm",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _Label } from './chunk-
|
|
2
|
-
import { useFormProps } from './chunk-
|
|
1
|
+
import { _Label } from './chunk-GND3FZEU.js';
|
|
2
|
+
import { useFormProps } from './chunk-TAZERRND.js';
|
|
3
3
|
import { useLocalizedString } from './chunk-NNLLQWDS.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, Div } from '@hopper-ui/styled-system';
|
|
@@ -7,7 +7,7 @@ import clsx from 'clsx';
|
|
|
7
7
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
8
8
|
|
|
9
9
|
// css-module:./FieldLabel.module.css#css-module
|
|
10
|
-
var FieldLabel_module_default = { "hop-FieldLabel__wrapper": "FieldLabel-module__hop-
|
|
10
|
+
var FieldLabel_module_default = { "hop-FieldLabel__wrapper": "FieldLabel-module__hop-FieldLabel__wrapper___389r9", "hop-FieldLabel__indicator": "FieldLabel-module__hop-FieldLabel__indicator___SxkgB" };
|
|
11
11
|
var GlobalFieldLabelCssSelector = "hop-FieldLabel";
|
|
12
12
|
function FieldLabel(props) {
|
|
13
13
|
props = useFormProps(props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { InternalTileContext } from './chunk-S7KMOXY2.js';
|
|
2
1
|
import { TileGroupContext } from './chunk-RZFNJMEH.js';
|
|
2
|
+
import { InternalTileContext } from './chunk-S7KMOXY2.js';
|
|
3
3
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
4
4
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
5
5
|
import { useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
@@ -8,7 +8,7 @@ import { useContextProps, composeRenderProps, ToggleButtonGroup, Provider } from
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./TileGroup.module.css#css-module
|
|
11
|
-
var TileGroup_module_default = { "hop-TileGroup": "TileGroup-module__hop-
|
|
11
|
+
var TileGroup_module_default = { "hop-TileGroup": "TileGroup-module__hop-TileGroup___T0y0V" };
|
|
12
12
|
var GlobalTileGroupCssSelector = "hop-TileGroup";
|
|
13
13
|
var TileGroup = (props, ref) => {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, TileGroupContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RadioFieldContext } from './chunk-DGLAGYBD.js';
|
|
2
2
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
3
3
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
4
|
-
import { _Text } from './chunk-
|
|
4
|
+
import { _Text } from './chunk-VUU3GSYB.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
7
7
|
import { SlotProvider } from './chunk-M36KANKC.js';
|
|
@@ -14,7 +14,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
14
14
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
15
15
|
|
|
16
16
|
// css-module:./RadioField.module.css#css-module
|
|
17
|
-
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-
|
|
17
|
+
var RadioField_module_default = { "hop-RadioField": "RadioField-module__hop-RadioField___E1t8t", "hop-RadioField--sm": "RadioField-module__hop-RadioField--sm___3vbx0", "hop-RadioField--md": "RadioField-module__hop-RadioField--md___rwi71", "hop-RadioField__description": "RadioField-module__hop-RadioField__description___HF667", "hop-RadioField__radio": "RadioField-module__hop-RadioField__radio___3Vrvu" };
|
|
18
18
|
var GlobalRadioFieldCssSelector = "hop-RadioField";
|
|
19
19
|
var RadioToDescriptionSizeAdapter = {
|
|
20
20
|
sm: "xs",
|
|
@@ -9,7 +9,7 @@ import { useContextProps, Text as Text$1 } from 'react-aria-components';
|
|
|
9
9
|
import { jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
11
|
// css-module:./Text.module.css#css-module
|
|
12
|
-
var Text_module_default = { "hop-Text": "Text-module__hop-
|
|
12
|
+
var Text_module_default = { "hop-Text": "Text-module__hop-Text___OMoIa", "hop-Text--xs": "Text-module__hop-Text--xs___uInhD", "hop-Text--sm": "Text-module__hop-Text--sm___G6-Xz", "hop-Text--md": "Text-module__hop-Text--md___9X8U3", "hop-Text--lg": "Text-module__hop-Text--lg___J6Eo7", "hop-Text--xl": "Text-module__hop-Text--xl___2wrZJ", "hop-Text--2xl": "Text-module__hop-Text--2xl___50zmK", "hop-Text--inherit": "Text-module__hop-Text--inherit___tyk9N" };
|
|
13
13
|
var GlobalTextCssSelector = "hop-Text";
|
|
14
14
|
function Text(props, ref) {
|
|
15
15
|
[props, ref] = useContextProps(props, ref, TextContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioContext } from './chunk-FU5CCPLP.js';
|
|
2
2
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
3
|
-
import { ensureTextWrapper } from './chunk-
|
|
3
|
+
import { ensureTextWrapper } from './chunk-2Q5D6OIZ.js';
|
|
4
4
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
5
5
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
6
6
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -13,7 +13,7 @@ import { useContextProps, composeRenderProps, Radio as Radio$1 } from 'react-ari
|
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
14
14
|
|
|
15
15
|
// css-module:./Radio.module.css#css-module
|
|
16
|
-
var Radio_module_default = { "hop-Radio": "Radio-module__hop-
|
|
16
|
+
var Radio_module_default = { "hop-Radio": "Radio-module__hop-Radio___UlUBB", "hop-Radio--sm": "Radio-module__hop-Radio--sm___-vsEP", "hop-Radio--md": "Radio-module__hop-Radio--md___qE8MW", "hop-Radio__icon": "Radio-module__hop-Radio__icon___0Y71-", "hop-Radio__icon-list": "Radio-module__hop-Radio__icon-list___WrrWV", "hop-Radio__box": "Radio-module__hop-Radio__box___dozpR", "hop-Radio__bullet": "Radio-module__hop-Radio__bullet___KtHbd", "hop-Radio__text": "Radio-module__hop-Radio__text___Fddqr" };
|
|
17
17
|
var GlobalRadioCssSelector = "hop-Radio";
|
|
18
18
|
function Radio(props, ref) {
|
|
19
19
|
var _a;
|
|
@@ -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-VUU3GSYB.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___2lsug", "hop-SelectValue__text": "SelectValue-module__hop-SelectValue__text___tgJUF", "hop-SelectValue__avatar": "SelectValue-module__hop-SelectValue__avatar___BpfDv", "hop-SelectValue__icon": "SelectValue-module__hop-SelectValue__icon___Zeqcx", "hop-SelectValue__end-icon": "SelectValue-module__hop-SelectValue__end-icon___ypEaS" };
|
|
20
20
|
var GlobalSelectValueCssSelector = "hop-SelectValue";
|
|
21
21
|
var SelectValueToAvatarSizeAdapter = {
|
|
22
22
|
sm: "xs",
|
|
@@ -8,7 +8,7 @@ import { useContextProps } from 'react-aria-components';
|
|
|
8
8
|
import { jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
// css-module:./ToggleArrow.module.css#css-module
|
|
11
|
-
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-
|
|
11
|
+
var ToggleArrow_module_default = { "hop-ToggleArrow": "ToggleArrow-module__hop-ToggleArrow___U1VvI" };
|
|
12
12
|
var GlobalToggleArrowCssSelector = "hop-ToggleArrow";
|
|
13
13
|
function ToggleArrow(props, ref) {
|
|
14
14
|
[props, ref] = useContextProps(props, ref, ToggleArrowContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckboxContext } from './chunk-2EAZPH3M.js';
|
|
2
2
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
3
3
|
import { IconListContext } from './chunk-GBWXEK6N.js';
|
|
4
|
-
import { ensureTextWrapper } from './chunk-
|
|
4
|
+
import { ensureTextWrapper } from './chunk-2Q5D6OIZ.js';
|
|
5
5
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
6
6
|
import { TextContext } from './chunk-ZNOU2CGM.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
@@ -15,7 +15,7 @@ import { useContextProps, composeRenderProps } from 'react-aria-components';
|
|
|
15
15
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// css-module:./DecorativeCheckbox.module.css#css-module
|
|
18
|
-
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-
|
|
18
|
+
var DecorativeCheckbox_module_default = { "hop-DecorativeCheckbox": "DecorativeCheckbox-module__hop-DecorativeCheckbox___ZZPaH Checkbox-module__hop-Checkbox___PdoMz", "hop-DecorativeCheckbox--sm": "DecorativeCheckbox-module__hop-DecorativeCheckbox--sm___4bu02 Checkbox-module__hop-Checkbox--sm___Azz8e", "hop-DecorativeCheckbox--md": "DecorativeCheckbox-module__hop-DecorativeCheckbox--md___N9jpN Checkbox-module__hop-Checkbox--md___dNmhy", "hop-DecorativeCheckbox__icon": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon___TAR19 Checkbox-module__hop-Checkbox__icon___EQGNG", "hop-DecorativeCheckbox__icon-list": "DecorativeCheckbox-module__hop-DecorativeCheckbox__icon-list___7qZ1Q Checkbox-module__hop-Checkbox__icon___EQGNG", "hop-DecorativeCheckbox__box": "DecorativeCheckbox-module__hop-DecorativeCheckbox__box___orSxf Checkbox-module__hop-Checkbox__box___-9LUr", "hop-DecorativeCheckbox__check": "DecorativeCheckbox-module__hop-DecorativeCheckbox__check___KF-oR Checkbox-module__hop-Checkbox__check___gbyrP", "hop-DecorativeCheckbox__text": "DecorativeCheckbox-module__hop-DecorativeCheckbox__text___D8UpX Checkbox-module__hop-Checkbox__text___RcCfo" };
|
|
19
19
|
var GlobalDecorativeCheckboxCssSelector = "hop-DecorativeCheckbox";
|
|
20
20
|
function DecorativeCheckbox(props, ref) {
|
|
21
21
|
var _a;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { useImageFallback } from './chunk-QJ5FQN3N.js';
|
|
2
|
-
import { _BrokenAvatar } from './chunk-
|
|
2
|
+
import { _BrokenAvatar } from './chunk-A4WDHKGF.js';
|
|
3
3
|
import { AvatarContext } from './chunk-FA26RZSE.js';
|
|
4
4
|
import { useRenderProps } from './chunk-2NSUMKNH.js';
|
|
5
|
-
import { _Text } from './chunk-
|
|
5
|
+
import { _Text } from './chunk-VUU3GSYB.js';
|
|
6
6
|
import { ClearContainerSlots } from './chunk-PQSMCDAM.js';
|
|
7
7
|
import { composeClassnameRenderProps } from './chunk-65JPI4FL.js';
|
|
8
8
|
import { cssModule } from './chunk-KVDXQMWI.js';
|
|
9
9
|
import { slot, useStyledSystem, useResponsiveValue } from '@hopper-ui/styled-system';
|
|
10
10
|
import { filterDOMProps, mergeProps } from '@react-aria/utils';
|
|
11
11
|
import { forwardRef, useMemo } from 'react';
|
|
12
|
-
import {
|
|
12
|
+
import { useFocusRing } from 'react-aria';
|
|
13
|
+
import { useContextProps, composeRenderProps, Pressable } from 'react-aria-components';
|
|
13
14
|
import { jsx } from 'react/jsx-runtime';
|
|
14
15
|
|
|
15
16
|
// css-module:./Avatar.module.css#css-module
|
|
16
|
-
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-
|
|
17
|
+
var Avatar_module_default = { "hop-Avatar": "Avatar-module__hop-Avatar___2-RLk", "hop-Avatar--xs": "Avatar-module__hop-Avatar--xs___bY0RV", "hop-Avatar--sm": "Avatar-module__hop-Avatar--sm___tnNxf", "hop-Avatar--md": "Avatar-module__hop-Avatar--md___aP0J5", "hop-Avatar--lg": "Avatar-module__hop-Avatar--lg___wrPxD", "hop-Avatar--xl": "Avatar-module__hop-Avatar--xl___BUsG-", "hop-Avatar--2xl": "Avatar-module__hop-Avatar--2xl___gqq-C", "hop-Avatar--clickable": "Avatar-module__hop-Avatar--clickable___2xrDD", "hop-Avatar--focus-visible": "Avatar-module__hop-Avatar--focus-visible___1rA1d", "hop-Avatar--decorative-option1": "Avatar-module__hop-Avatar--decorative-option1___-4VJG", "hop-Avatar--decorative-option2": "Avatar-module__hop-Avatar--decorative-option2___z6LVt", "hop-Avatar--decorative-option3": "Avatar-module__hop-Avatar--decorative-option3___UejWC", "hop-Avatar--decorative-option4": "Avatar-module__hop-Avatar--decorative-option4___GF7vF", "hop-Avatar--decorative-option5": "Avatar-module__hop-Avatar--decorative-option5___gpk-a", "hop-Avatar--decorative-option6": "Avatar-module__hop-Avatar--decorative-option6___04vcO", "hop-Avatar--decorative-option7": "Avatar-module__hop-Avatar--decorative-option7___GdS9C", "hop-Avatar--decorative-option8": "Avatar-module__hop-Avatar--decorative-option8___2GQ1X", "hop-Avatar--decorative-option9": "Avatar-module__hop-Avatar--decorative-option9___Y6H2c", "hop-Avatar__image": "Avatar-module__hop-Avatar__image___ObeiJ" };
|
|
17
18
|
var GlobalAvatarCssSelector = "hop-Avatar";
|
|
18
19
|
var AvatarToTextSizeAdapter = {
|
|
19
20
|
xs: "xs",
|
|
@@ -71,10 +72,12 @@ function Avatar(props, ref) {
|
|
|
71
72
|
slot,
|
|
72
73
|
src,
|
|
73
74
|
className,
|
|
75
|
+
onPress,
|
|
74
76
|
style,
|
|
75
77
|
...otherProps
|
|
76
78
|
} = ownProps;
|
|
77
79
|
const domProps = filterDOMProps(otherProps);
|
|
80
|
+
const { focusProps, isFocusVisible } = useFocusRing({ within: true });
|
|
78
81
|
const { onError, onLoad, ...otherImageProps } = imageProps != null ? imageProps : {};
|
|
79
82
|
const { imageUrl, status } = useImageFallback({ src, fallbackSrc, onError, onLoad });
|
|
80
83
|
const imageLoaded = status === "loaded";
|
|
@@ -84,6 +87,7 @@ function Avatar(props, ref) {
|
|
|
84
87
|
const isBrokenImage = imageFailed && !isFallbackInitials;
|
|
85
88
|
const isImage = src && !imageFailed && imageLoaded;
|
|
86
89
|
const isInitials = !src || !isImage && isFallbackInitials;
|
|
90
|
+
const isClickable = !!onPress;
|
|
87
91
|
const classNames = composeClassnameRenderProps(
|
|
88
92
|
className,
|
|
89
93
|
GlobalAvatarCssSelector,
|
|
@@ -93,7 +97,9 @@ function Avatar(props, ref) {
|
|
|
93
97
|
size,
|
|
94
98
|
isBrokenImage && "broken-image",
|
|
95
99
|
isImage && "image",
|
|
96
|
-
isInitials && getColorName(name)
|
|
100
|
+
isInitials && getColorName(name),
|
|
101
|
+
isClickable && "clickable",
|
|
102
|
+
isFocusVisible && "focus-visible"
|
|
97
103
|
),
|
|
98
104
|
stylingProps.className
|
|
99
105
|
);
|
|
@@ -108,7 +114,8 @@ function Avatar(props, ref) {
|
|
|
108
114
|
className: classNames,
|
|
109
115
|
style: mergedStyles,
|
|
110
116
|
values: {
|
|
111
|
-
isDisabled: isDisabled || false
|
|
117
|
+
isDisabled: isDisabled || false,
|
|
118
|
+
isFocusVisible: isFocusVisible || false
|
|
112
119
|
}
|
|
113
120
|
});
|
|
114
121
|
if (isBrokenImage) {
|
|
@@ -148,18 +155,24 @@ function Avatar(props, ref) {
|
|
|
148
155
|
}
|
|
149
156
|
);
|
|
150
157
|
}
|
|
151
|
-
|
|
158
|
+
const avatar = (extraProps) => /* @__PURE__ */ jsx(
|
|
152
159
|
"div",
|
|
153
160
|
{
|
|
154
|
-
...mergeProps(domProps, renderProps),
|
|
161
|
+
...mergeProps(domProps, renderProps, extraProps),
|
|
155
162
|
"aria-label": ariaLabel != null ? ariaLabel : name,
|
|
156
163
|
"data-disabled": isDisabled || void 0,
|
|
157
|
-
role: "img",
|
|
158
164
|
slot: slot != null ? slot : void 0,
|
|
159
165
|
ref,
|
|
160
166
|
children: /* @__PURE__ */ jsx(ClearContainerSlots, { children: content })
|
|
161
167
|
}
|
|
162
168
|
);
|
|
169
|
+
if (onPress) {
|
|
170
|
+
return /* @__PURE__ */ jsx(Pressable, { onPress, children: avatar({
|
|
171
|
+
...focusProps,
|
|
172
|
+
role: "button"
|
|
173
|
+
}) });
|
|
174
|
+
}
|
|
175
|
+
return avatar({ role: "img" });
|
|
163
176
|
}
|
|
164
177
|
var _Avatar = slot("avatar", forwardRef(Avatar));
|
|
165
178
|
_Avatar.displayName = "Avatar";
|