@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,5 +1,5 @@
|
|
|
1
1
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/heading/src/Heading.module.css/#css-module-data */
|
|
2
|
-
.Heading-module__hop-
|
|
2
|
+
.Heading-module__hop-Heading___Kh5IV {
|
|
3
3
|
--hop-Heading-xs-font-size: var(--hop-heading-xs-font-size);
|
|
4
4
|
--hop-Heading-xs-font-family: var(--hop-heading-xs-font-family);
|
|
5
5
|
--hop-Heading-xs-font-weight: var(--hop-heading-xs-font-weight);
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
--hop-Heading-inherit-size-font-weight: inherit;
|
|
34
34
|
--hop-Heading-inherit-size-line-height: inherit;
|
|
35
35
|
}
|
|
36
|
-
:where(.Heading-module__hop-
|
|
36
|
+
:where(.Heading-module__hop-Heading___Kh5IV) {
|
|
37
37
|
margin: 0;
|
|
38
38
|
font-family: var(--font-family);
|
|
39
39
|
font-size: var(--font-size);
|
|
@@ -41,43 +41,43 @@
|
|
|
41
41
|
line-height: var(--line-height);
|
|
42
42
|
color: var(--hop-neutral-text);
|
|
43
43
|
}
|
|
44
|
-
:where(.Heading-module__hop-Heading--
|
|
44
|
+
:where(.Heading-module__hop-Heading--xs___10mW0) {
|
|
45
45
|
--font-size: var(--hop-Heading-xs-font-size);
|
|
46
46
|
--font-family: var(--hop-Heading-xs-font-family);
|
|
47
47
|
--font-weight: var(--hop-Heading-xs-font-weight);
|
|
48
48
|
--line-height: var(--hop-Heading-xs-line-height);
|
|
49
49
|
}
|
|
50
|
-
:where(.Heading-module__hop-Heading--
|
|
50
|
+
:where(.Heading-module__hop-Heading--sm___32jco) {
|
|
51
51
|
--font-size: var(--hop-Heading-sm-font-size);
|
|
52
52
|
--font-family: var(--hop-Heading-sm-font-family);
|
|
53
53
|
--font-weight: var(--hop-Heading-sm-font-weight);
|
|
54
54
|
--line-height: var(--hop-Heading-sm-line-height);
|
|
55
55
|
}
|
|
56
|
-
:where(.Heading-module__hop-Heading--
|
|
56
|
+
:where(.Heading-module__hop-Heading--md___XGznh) {
|
|
57
57
|
--font-size: var(--hop-Heading-md-font-size);
|
|
58
58
|
--font-family: var(--hop-Heading-md-font-family);
|
|
59
59
|
--font-weight: var(--hop-Heading-md-font-weight);
|
|
60
60
|
--line-height: var(--hop-Heading-md-line-height);
|
|
61
61
|
}
|
|
62
|
-
:where(.Heading-module__hop-Heading--
|
|
62
|
+
:where(.Heading-module__hop-Heading--lg___7eTSg) {
|
|
63
63
|
--font-size: var(--hop-Heading-lg-font-size);
|
|
64
64
|
--font-family: var(--hop-Heading-lg-font-family);
|
|
65
65
|
--font-weight: var(--hop-Heading-lg-font-weight);
|
|
66
66
|
--line-height: var(--hop-Heading-lg-line-height);
|
|
67
67
|
}
|
|
68
|
-
:where(.Heading-module__hop-Heading--
|
|
68
|
+
:where(.Heading-module__hop-Heading--xl___9MvtR) {
|
|
69
69
|
--font-size: var(--hop-Heading-xl-font-size);
|
|
70
70
|
--font-family: var(--hop-Heading-xl-font-family);
|
|
71
71
|
--font-weight: var(--hop-Heading-xl-font-weight);
|
|
72
72
|
--line-height: var(--hop-Heading-xl-line-height);
|
|
73
73
|
}
|
|
74
|
-
:where(.Heading-module__hop-Heading--
|
|
74
|
+
:where(.Heading-module__hop-Heading--2xl___2wlbX) {
|
|
75
75
|
--font-size: var(--hop-Heading-2xl-font-size);
|
|
76
76
|
--font-family: var(--hop-Heading-2xl-font-family);
|
|
77
77
|
--font-weight: var(--hop-Heading-2xl-font-weight);
|
|
78
78
|
--line-height: var(--hop-Heading-2xl-line-height);
|
|
79
79
|
}
|
|
80
|
-
:where(.Heading-module__hop-Heading--
|
|
80
|
+
:where(.Heading-module__hop-Heading--3xl___5TKQo) {
|
|
81
81
|
--font-size: var(--hop-Heading-3xl-font-size);
|
|
82
82
|
--font-family: var(--hop-Heading-3xl-font-family);
|
|
83
83
|
--font-weight: var(--hop-Heading-3xl-font-weight);
|
|
@@ -85,21 +85,21 @@
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/form/src/Form.module.css/#css-module-data */
|
|
88
|
-
.Form-module__hop-
|
|
88
|
+
.Form-module__hop-Form___FBLVT {
|
|
89
89
|
display: flex;
|
|
90
90
|
flex-direction: column;
|
|
91
91
|
gap: var(--hop-space-stack-lg);
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/label/src/Label.module.css/#css-module-data */
|
|
95
|
-
.Label-module__hop-
|
|
95
|
+
.Label-module__hop-Label___imUri {
|
|
96
96
|
--hop-Label-font-size: var(--hop-heading-xs-font-size);
|
|
97
97
|
--hop-Label-font-family: var(--hop-heading-xs-font-family);
|
|
98
98
|
--hop-Label-font-weight: var(--hop-heading-xs-font-weight);
|
|
99
99
|
--hop-Label-line-height: var(--hop-heading-xs-line-height);
|
|
100
100
|
--hop-Label-color: var(--hop-neutral-text-weak);
|
|
101
101
|
}
|
|
102
|
-
:where(.Label-module__hop-
|
|
102
|
+
:where(.Label-module__hop-Label___imUri) {
|
|
103
103
|
font-family: var(--hop-Label-font-family);
|
|
104
104
|
font-size: var(--hop-Label-font-size);
|
|
105
105
|
font-weight: var(--hop-Label-font-weight);
|
|
@@ -108,17 +108,17 @@
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/label/src/FieldLabel.module.css/#css-module-data */
|
|
111
|
-
.FieldLabel-module__hop-
|
|
111
|
+
.FieldLabel-module__hop-FieldLabel__wrapper___389r9 {
|
|
112
112
|
display: flex;
|
|
113
113
|
gap: var(--hop-space-inset-xs);
|
|
114
114
|
align-items: center;
|
|
115
115
|
}
|
|
116
|
-
.FieldLabel-module__hop-
|
|
116
|
+
.FieldLabel-module__hop-FieldLabel__indicator___SxkgB {
|
|
117
117
|
padding-inline-start: var(--hop-space-20);
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/overline-text/src/OverlineText.module.css/#css-module-data */
|
|
121
|
-
:where(.OverlineText-module__hop-
|
|
121
|
+
:where(.OverlineText-module__hop-OverlineText___S1Ksu) {
|
|
122
122
|
--hop-OverlineText-font-family: var(--hop-overline-font-family);
|
|
123
123
|
--hop-OverlineText-font-size: var(--hop-overline-font-size);
|
|
124
124
|
--hop-OverlineText-font-weight: var(--hop-overline-font-weight);
|
|
@@ -142,26 +142,26 @@
|
|
|
142
142
|
text-transform: uppercase;
|
|
143
143
|
letter-spacing: var(--letter-spacing);
|
|
144
144
|
}
|
|
145
|
-
.OverlineText-module__hop-
|
|
145
|
+
.OverlineText-module__hop-OverlineText__text___tVzgl {
|
|
146
146
|
box-sizing: border-box;
|
|
147
147
|
}
|
|
148
|
-
.OverlineText-module__hop-
|
|
149
|
-
.OverlineText-module__hop-
|
|
148
|
+
.OverlineText-module__hop-OverlineText__text___tVzgl::before,
|
|
149
|
+
.OverlineText-module__hop-OverlineText__text___tVzgl::after {
|
|
150
150
|
content: "";
|
|
151
151
|
display: block;
|
|
152
152
|
box-sizing: border-box;
|
|
153
153
|
inline-size: 0;
|
|
154
154
|
block-size: 0;
|
|
155
155
|
}
|
|
156
|
-
.OverlineText-module__hop-
|
|
156
|
+
.OverlineText-module__hop-OverlineText__text___tVzgl::before {
|
|
157
157
|
margin-block-end: var(--bottom-offset);
|
|
158
158
|
}
|
|
159
|
-
.OverlineText-module__hop-
|
|
159
|
+
.OverlineText-module__hop-OverlineText__text___tVzgl::after {
|
|
160
160
|
margin-block-start: var(--top-offset);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/text/src/Text.module.css/#css-module-data */
|
|
164
|
-
.Text-module__hop-
|
|
164
|
+
.Text-module__hop-Text___OMoIa {
|
|
165
165
|
--hop-Text-xs-font-size: var(--hop-body-xs-font-size);
|
|
166
166
|
--hop-Text-xs-font-family: var(--hop-body-xs-font-family);
|
|
167
167
|
--hop-Text-xs-font-weight: var(--hop-body-xs-font-weight);
|
|
@@ -191,49 +191,49 @@
|
|
|
191
191
|
--hop-Text-inherit-size-font-weight: inherit;
|
|
192
192
|
--hop-Text-inherit-size-line-height: inherit;
|
|
193
193
|
}
|
|
194
|
-
:where(.Text-module__hop-
|
|
194
|
+
:where(.Text-module__hop-Text___OMoIa) {
|
|
195
195
|
font-family: var(--font-family);
|
|
196
196
|
font-size: var(--font-size);
|
|
197
197
|
font-weight: var(--font-weight);
|
|
198
198
|
line-height: var(--line-height);
|
|
199
199
|
}
|
|
200
|
-
:where(.Text-module__hop-Text--
|
|
200
|
+
:where(.Text-module__hop-Text--xs___uInhD) {
|
|
201
201
|
--font-size: var(--hop-Text-xs-font-size);
|
|
202
202
|
--font-family: var(--hop-Text-xs-font-family);
|
|
203
203
|
--font-weight: var(--hop-Text-xs-font-weight);
|
|
204
204
|
--line-height: var(--hop-Text-xs-line-height);
|
|
205
205
|
}
|
|
206
|
-
:where(.Text-module__hop-Text--
|
|
206
|
+
:where(.Text-module__hop-Text--sm___G6-Xz) {
|
|
207
207
|
--font-size: var(--hop-Text-sm-font-size);
|
|
208
208
|
--font-family: var(--hop-Text-sm-font-family);
|
|
209
209
|
--font-weight: var(--hop-Text-sm-font-weight);
|
|
210
210
|
--line-height: var(--hop-Text-sm-line-height);
|
|
211
211
|
}
|
|
212
|
-
:where(.Text-module__hop-Text--
|
|
212
|
+
:where(.Text-module__hop-Text--md___9X8U3) {
|
|
213
213
|
--font-size: var(--hop-Text-md-font-size);
|
|
214
214
|
--font-family: var(--hop-Text-md-font-family);
|
|
215
215
|
--font-weight: var(--hop-Text-md-font-weight);
|
|
216
216
|
--line-height: var(--hop-Text-md-line-height);
|
|
217
217
|
}
|
|
218
|
-
:where(.Text-module__hop-Text--
|
|
218
|
+
:where(.Text-module__hop-Text--lg___J6Eo7) {
|
|
219
219
|
--font-size: var(--hop-Text-lg-font-size);
|
|
220
220
|
--font-family: var(--hop-Text-lg-font-family);
|
|
221
221
|
--font-weight: var(--hop-Text-lg-font-weight);
|
|
222
222
|
--line-height: var(--hop-Text-lg-line-height);
|
|
223
223
|
}
|
|
224
|
-
:where(.Text-module__hop-Text--
|
|
224
|
+
:where(.Text-module__hop-Text--xl___2wrZJ) {
|
|
225
225
|
--font-size: var(--hop-Text-xl-font-size);
|
|
226
226
|
--font-family: var(--hop-Text-xl-font-family);
|
|
227
227
|
--font-weight: var(--hop-Text-xl-font-weight);
|
|
228
228
|
--line-height: var(--hop-Text-xl-line-height);
|
|
229
229
|
}
|
|
230
|
-
:where(.Text-module__hop-Text--
|
|
230
|
+
:where(.Text-module__hop-Text--2xl___50zmK) {
|
|
231
231
|
--font-size: var(--hop-Text-2xl-font-size);
|
|
232
232
|
--font-family: var(--hop-Text-2xl-font-family);
|
|
233
233
|
--font-weight: var(--hop-Text-2xl-font-weight);
|
|
234
234
|
--line-height: var(--hop-Text-2xl-line-height);
|
|
235
235
|
}
|
|
236
|
-
:where(.Text-module__hop-Text--
|
|
236
|
+
:where(.Text-module__hop-Text--inherit___tyk9N) {
|
|
237
237
|
--font-size: var(--hop-Text-inherit-size-font-size);
|
|
238
238
|
--font-family: var(--hop-Text-inherit-size-font-family);
|
|
239
239
|
--font-weight: var(--hop-Text-inherit-size-font-weight);
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
}
|
|
242
242
|
|
|
243
243
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/typography/paragraph/src/Paragraph.module.css/#css-module-data */
|
|
244
|
-
.Paragraph-module__hop-
|
|
244
|
+
.Paragraph-module__hop-Paragraph___JrS2A {
|
|
245
245
|
--hop-Paragraph-xs-margin-bottom: calc(.625rem * .75);
|
|
246
246
|
--hop-Paragraph-sm-margin-bottom: calc(.75rem * .75);
|
|
247
247
|
--hop-Paragraph-md-margin-bottom: calc(.875rem * .75);
|
|
@@ -253,33 +253,33 @@
|
|
|
253
253
|
margin-block-end: var(--margin-block-end);
|
|
254
254
|
overflow-wrap: break-word;
|
|
255
255
|
}
|
|
256
|
-
.Paragraph-module__hop-
|
|
256
|
+
.Paragraph-module__hop-Paragraph___JrS2A:last-child {
|
|
257
257
|
--margin-block-end: 0;
|
|
258
258
|
}
|
|
259
|
-
.Paragraph-module__hop-Paragraph--
|
|
259
|
+
.Paragraph-module__hop-Paragraph--xs___jKID6 {
|
|
260
260
|
--margin-block-end: var(--hop-Paragraph-xs-margin-bottom);
|
|
261
261
|
}
|
|
262
|
-
.Paragraph-module__hop-Paragraph--
|
|
262
|
+
.Paragraph-module__hop-Paragraph--sm___c8VHh {
|
|
263
263
|
--margin-block-end: var(--hop-Paragraph-sm-margin-bottom);
|
|
264
264
|
}
|
|
265
|
-
.Paragraph-module__hop-Paragraph--
|
|
265
|
+
.Paragraph-module__hop-Paragraph--md___lGUb7 {
|
|
266
266
|
--margin-block-end: var(--hop-Paragraph-md-margin-bottom);
|
|
267
267
|
}
|
|
268
|
-
.Paragraph-module__hop-Paragraph--
|
|
268
|
+
.Paragraph-module__hop-Paragraph--lg___wIa-9 {
|
|
269
269
|
--margin-block-end: var(--hop-Paragraph-lg-margin-bottom);
|
|
270
270
|
}
|
|
271
|
-
.Paragraph-module__hop-Paragraph--
|
|
271
|
+
.Paragraph-module__hop-Paragraph--xl___kluNV {
|
|
272
272
|
--margin-block-end: var(--hop-Paragraph-xl-margin-bottom);
|
|
273
273
|
}
|
|
274
|
-
.Paragraph-module__hop-Paragraph--
|
|
274
|
+
.Paragraph-module__hop-Paragraph--2xl___mrZh3 {
|
|
275
275
|
--margin-block-end: var(--hop-Paragraph-2xl-margin-bottom);
|
|
276
276
|
}
|
|
277
|
-
.Paragraph-module__hop-Paragraph--
|
|
277
|
+
.Paragraph-module__hop-Paragraph--inherit___37M9a {
|
|
278
278
|
--margin-block-end: var(--hop-Paragraph-inherit-margin-bottom);
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/avatar/src/RichIconAvatarImage.module.css/#css-module-data */
|
|
282
|
-
.RichIconAvatarImage-module__hop-
|
|
282
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage___-8Je- {
|
|
283
283
|
--hop-RichIconAvatarImage-background-color: var(--hop-decorative-option7-surface);
|
|
284
284
|
--hop-RichIconAvatarImage-border-radius: var(--hop-shape-circle);
|
|
285
285
|
--hop-RichIconAvatarImage-icon-color: var(--hop-decorative-option7-icon);
|
|
@@ -309,47 +309,54 @@
|
|
|
309
309
|
color: var(--hop-RichIconAvatarImage-icon-color);
|
|
310
310
|
background-color: var(--background-color);
|
|
311
311
|
border-radius: var(--hop-RichIconAvatarImage-border-radius);
|
|
312
|
+
outline: none;
|
|
312
313
|
}
|
|
313
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--
|
|
314
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--xs___1J7AA {
|
|
314
315
|
--size: var(--hop-RichIconAvatarImage-xs-size);
|
|
315
316
|
--icon-size: var(--hop-RichIconAvatarImage-icon-xs-size);
|
|
316
317
|
}
|
|
317
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--
|
|
318
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--sm___lI5aQ {
|
|
318
319
|
--size: var(--hop-RichIconAvatarImage-sm-size);
|
|
319
320
|
--icon-size: var(--hop-RichIconAvatarImage-icon-sm-size);
|
|
320
321
|
}
|
|
321
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--
|
|
322
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--md___Faepw {
|
|
322
323
|
--size: var(--hop-RichIconAvatarImage-md-size);
|
|
323
324
|
--icon-size: var(--hop-RichIconAvatarImage-icon-md-size);
|
|
324
325
|
}
|
|
325
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--
|
|
326
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--lg___VL2gV {
|
|
326
327
|
--size: var(--hop-RichIconAvatarImage-lg-size);
|
|
327
328
|
--icon-size: var(--hop-RichIconAvatarImage-icon-lg-size);
|
|
328
329
|
}
|
|
329
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--
|
|
330
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--xl___5TzPX {
|
|
330
331
|
--size: var(--hop-RichIconAvatarImage-xl-size);
|
|
331
332
|
--icon-size: var(--hop-RichIconAvatarImage-icon-xl-size);
|
|
332
333
|
}
|
|
333
|
-
.RichIconAvatarImage-module__hop-RichIconAvatarImage--
|
|
334
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--2xl___q2LLm {
|
|
334
335
|
--size: var(--hop-RichIconAvatarImage-2xl-size);
|
|
335
336
|
--icon-size: var(--hop-RichIconAvatarImage-icon-2xl-size);
|
|
336
337
|
}
|
|
337
|
-
.RichIconAvatarImage-module__hop-
|
|
338
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--clickable___EXxsA {
|
|
339
|
+
cursor: pointer;
|
|
340
|
+
}
|
|
341
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--focus-visible___vWoz6 {
|
|
342
|
+
outline: 0.125rem solid var(--hop-primary-border-focus);
|
|
343
|
+
}
|
|
344
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage___-8Je-[data-disabled] {
|
|
338
345
|
--background-color: var(--hop-RichIconAvatarImage-background-color-disabled);
|
|
339
346
|
}
|
|
340
|
-
.RichIconAvatarImage-module__hop-
|
|
347
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___60ag- {
|
|
341
348
|
position: relative;
|
|
342
349
|
display: block;
|
|
343
350
|
inline-size: var(--icon-size, var(--hop-RichIconAvatarImage-icon-md-size));
|
|
344
351
|
block-size: var(--icon-size, var(--hop-RichIconAvatarImage-icon-md-size));
|
|
345
352
|
}
|
|
346
|
-
.RichIconAvatarImage-module__hop-
|
|
353
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage___-8Je-[data-disabled] .RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___60ag- {
|
|
347
354
|
--hop-RichIcon-placeholder-background: var(--hop-RichIconAvatarImage-background-color-disabled);
|
|
348
355
|
--hop-RichIcon-placeholder-shadow: var(--hop-RichIconAvatarImage-icon-color-disabled);
|
|
349
356
|
}
|
|
350
357
|
|
|
351
358
|
/* css-module:/home/runner/work/wl-hopper/wl-hopper/packages/components/src/avatar/src/Avatar.module.css/#css-module-data */
|
|
352
|
-
.Avatar-module__hop-
|
|
359
|
+
.Avatar-module__hop-Avatar___2-RLk {
|
|
353
360
|
--hop-Avatar-border-radius: var(--hop-shape-circle);
|
|
354
361
|
--hop-Avatar-mix-blend-mode: normal;
|
|
355
362
|
--hop-Avatar-decorative-1-background-color: var(--hop-decorative-option1-surface-strong);
|
|
@@ -393,68 +400,75 @@
|
|
|
393
400
|
color: var(--text-color, var(--hop-neutral-text));
|
|
394
401
|
background-color: var(--background-color, transparent);
|
|
395
402
|
border-radius: var(--hop-Avatar-border-radius);
|
|
403
|
+
outline: none;
|
|
396
404
|
}
|
|
397
|
-
.Avatar-module__hop-Avatar--
|
|
405
|
+
.Avatar-module__hop-Avatar--xs___bY0RV {
|
|
398
406
|
--size: var(--hop-Avatar-xs-size);
|
|
399
407
|
}
|
|
400
|
-
.Avatar-module__hop-Avatar--
|
|
408
|
+
.Avatar-module__hop-Avatar--sm___tnNxf {
|
|
401
409
|
--size: var(--hop-Avatar-sm-size);
|
|
402
410
|
}
|
|
403
|
-
.Avatar-module__hop-Avatar--
|
|
411
|
+
.Avatar-module__hop-Avatar--md___aP0J5 {
|
|
404
412
|
--size: var(--hop-Avatar-md-size);
|
|
405
413
|
}
|
|
406
|
-
.Avatar-module__hop-Avatar--
|
|
414
|
+
.Avatar-module__hop-Avatar--lg___wrPxD {
|
|
407
415
|
--size: var(--hop-Avatar-lg-size);
|
|
408
416
|
}
|
|
409
|
-
.Avatar-module__hop-Avatar--
|
|
417
|
+
.Avatar-module__hop-Avatar--xl___BUsG- {
|
|
410
418
|
--size: var(--hop-Avatar-xl-size);
|
|
411
419
|
}
|
|
412
|
-
.Avatar-module__hop-Avatar--
|
|
420
|
+
.Avatar-module__hop-Avatar--2xl___gqq-C {
|
|
413
421
|
--size: var(--hop-Avatar-2xl-size);
|
|
414
422
|
}
|
|
415
|
-
.Avatar-module__hop-Avatar--
|
|
423
|
+
.Avatar-module__hop-Avatar--clickable___2xrDD {
|
|
424
|
+
cursor: pointer;
|
|
425
|
+
}
|
|
426
|
+
.Avatar-module__hop-Avatar--focus-visible___1rA1d {
|
|
427
|
+
outline: 0.125rem solid var(--hop-primary-border-focus);
|
|
428
|
+
}
|
|
429
|
+
.Avatar-module__hop-Avatar--decorative-option1___-4VJG {
|
|
416
430
|
--background-color: var(--hop-Avatar-decorative-1-background-color);
|
|
417
431
|
--text-color: var(--hop-Avatar-decorative-1-text-color);
|
|
418
432
|
}
|
|
419
|
-
.Avatar-module__hop-Avatar--decorative-
|
|
433
|
+
.Avatar-module__hop-Avatar--decorative-option2___z6LVt {
|
|
420
434
|
--background-color: var(--hop-Avatar-decorative-2-background-color);
|
|
421
435
|
--text-color: var(--hop-Avatar-decorative-2-text-color);
|
|
422
436
|
}
|
|
423
|
-
.Avatar-module__hop-Avatar--decorative-
|
|
437
|
+
.Avatar-module__hop-Avatar--decorative-option3___UejWC {
|
|
424
438
|
--background-color: var(--hop-Avatar-decorative-3-background-color);
|
|
425
439
|
--text-color: var(--hop-Avatar-decorative-3-text-color);
|
|
426
440
|
}
|
|
427
|
-
.Avatar-module__hop-Avatar--decorative-
|
|
441
|
+
.Avatar-module__hop-Avatar--decorative-option4___GF7vF {
|
|
428
442
|
--background-color: var(--hop-Avatar-decorative-4-background-color);
|
|
429
443
|
--text-color: var(--hop-Avatar-decorative-4-text-color);
|
|
430
444
|
}
|
|
431
|
-
.Avatar-module__hop-Avatar--decorative-
|
|
445
|
+
.Avatar-module__hop-Avatar--decorative-option5___gpk-a {
|
|
432
446
|
--background-color: var(--hop-Avatar-decorative-5-background-color);
|
|
433
447
|
--text-color: var(--hop-Avatar-decorative-5-text-color);
|
|
434
448
|
}
|
|
435
|
-
.Avatar-module__hop-Avatar--decorative-
|
|
449
|
+
.Avatar-module__hop-Avatar--decorative-option6___04vcO {
|
|
436
450
|
--background-color: var(--hop-Avatar-decorative-6-background-color);
|
|
437
451
|
--text-color: var(--hop-Avatar-decorative-6-text-color);
|
|
438
452
|
}
|
|
439
|
-
.Avatar-module__hop-Avatar--decorative-
|
|
453
|
+
.Avatar-module__hop-Avatar--decorative-option7___GdS9C {
|
|
440
454
|
--background-color: var(--hop-Avatar-decorative-7-background-color);
|
|
441
455
|
--text-color: var(--hop-Avatar-decorative-7-text-color);
|
|
442
456
|
}
|
|
443
|
-
.Avatar-module__hop-Avatar--decorative-
|
|
457
|
+
.Avatar-module__hop-Avatar--decorative-option8___2GQ1X {
|
|
444
458
|
--background-color: var(--hop-Avatar-decorative-8-background-color);
|
|
445
459
|
--text-color: var(--hop-Avatar-decorative-8-text-color);
|
|
446
460
|
}
|
|
447
|
-
.Avatar-module__hop-Avatar--decorative-
|
|
461
|
+
.Avatar-module__hop-Avatar--decorative-option9___Y6H2c {
|
|
448
462
|
--background-color: var(--hop-Avatar-decorative-9-background-color);
|
|
449
463
|
--text-color: var(--hop-Avatar-decorative-9-text-color);
|
|
450
464
|
}
|
|
451
|
-
.Avatar-module__hop-
|
|
465
|
+
.Avatar-module__hop-Avatar___2-RLk[data-disabled] {
|
|
452
466
|
--background-color: var(--hop-Avatar-background-color-disabled);
|
|
453
467
|
--text-color: var(--hop-Avatar-text-color-disabled);
|
|
454
468
|
--mix-blend-mode: var(--hop-Avatar-mix-blend-mode-disabled);
|
|
455
469
|
isolation: isolate;
|
|
456
470
|
}
|
|
457
|
-
.Avatar-module__hop-
|
|
471
|
+
.Avatar-module__hop-Avatar__image___ObeiJ {
|
|
458
472
|
position: relative;
|
|
459
473
|
display: block;
|
|
460
474
|
box-sizing: border-box;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLProps } from 'react';
|
|
3
3
|
import { StyledSystemProps, ResponsiveProp } from '@hopper-ui/styled-system';
|
|
4
|
+
import { PressEvent } from 'react-aria-components';
|
|
4
5
|
import { SizeAdapter } from '../../utils/src/sizeAdapter.js';
|
|
5
6
|
import { AccessibleSlotProps, RenderProps } from '../../utils/src/types.js';
|
|
6
7
|
import { TextSize } from '../../typography/text/src/Text.js';
|
|
7
8
|
import '@react-types/shared';
|
|
8
|
-
import 'react-aria-components';
|
|
9
9
|
|
|
10
10
|
declare const GlobalAvatarCssSelector = "hop-Avatar";
|
|
11
11
|
type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
@@ -15,6 +15,10 @@ interface AvatarRenderProps {
|
|
|
15
15
|
* Whether or not the avatar is disabled.
|
|
16
16
|
*/
|
|
17
17
|
isDisabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Whether or not the avatar is focus visible.
|
|
20
|
+
*/
|
|
21
|
+
isFocusVisible?: boolean;
|
|
18
22
|
}
|
|
19
23
|
interface AvatarProps extends StyledSystemProps, AccessibleSlotProps, Omit<RenderProps<AvatarRenderProps>, "children"> {
|
|
20
24
|
/**
|
|
@@ -43,6 +47,10 @@ interface AvatarProps extends StyledSystemProps, AccessibleSlotProps, Omit<Rende
|
|
|
43
47
|
* The src of the image to display. If not provided, the initials will be displayed instead.
|
|
44
48
|
*/
|
|
45
49
|
src?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Called when the avatar is pressed
|
|
52
|
+
*/
|
|
53
|
+
onPress?: (event: PressEvent) => void;
|
|
46
54
|
}
|
|
47
55
|
declare const AvatarToTextSizeAdapter: SizeAdapter<AvatarSize, TextSize>;
|
|
48
56
|
interface AvatarInitialsProps {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { _Avatar as Avatar, AvatarToTextSizeAdapter, GlobalAvatarCssSelector } from '../../chunk-
|
|
1
|
+
export { _Avatar as Avatar, AvatarToTextSizeAdapter, GlobalAvatarCssSelector } from '../../chunk-YHL3E2ER.js';
|
|
2
2
|
import '../../chunk-QJ5FQN3N.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-A4WDHKGF.js';
|
|
4
4
|
import '../../chunk-FA26RZSE.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-GPOAO6CL.js';
|
|
6
6
|
import '../../chunk-YKZRBQ6B.js';
|
|
7
7
|
import '../../chunk-2NSUMKNH.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-VUU3GSYB.js';
|
|
9
9
|
import '../../chunk-PQSMCDAM.js';
|
|
10
10
|
import '../../chunk-ZNOU2CGM.js';
|
|
11
11
|
import '../../chunk-65JPI4FL.js';
|