@hopper-ui/components 1.8.2 → 1.9.1
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 +14 -0
- package/dist/accordion/src/Accordion.css +78 -78
- package/dist/accordion/src/Accordion.js +1 -1
- package/dist/accordion/src/index.css +78 -78
- package/dist/accordion/src/index.js +1 -1
- package/dist/alert/src/Alert.css +770 -593
- package/dist/alert/src/Alert.js +10 -9
- package/dist/alert/src/index.css +770 -593
- package/dist/alert/src/index.js +10 -9
- 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 +4 -4
- 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 +9 -9
- 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 +120 -110
- package/dist/buttons/src/Button.d.ts +5 -2
- package/dist/buttons/src/Button.js +6 -5
- package/dist/buttons/src/ButtonContext.d.ts +3 -1
- package/dist/buttons/src/ButtonGroup.css +49 -49
- package/dist/buttons/src/ButtonGroup.d.ts +1 -1
- package/dist/buttons/src/ButtonGroup.js +1 -1
- package/dist/buttons/src/ButtonGroupContext.d.ts +1 -1
- package/dist/buttons/src/ClearButton.css +109 -109
- package/dist/buttons/src/ClearButton.js +2 -2
- package/dist/buttons/src/CloseButton.css +115 -105
- package/dist/buttons/src/CloseButton.d.ts +3 -1
- package/dist/buttons/src/CloseButton.js +7 -6
- package/dist/buttons/src/CloseButtonContext.d.ts +3 -1
- package/dist/buttons/src/EmbeddedButton.css +109 -109
- package/dist/buttons/src/EmbeddedButton.js +1 -1
- package/dist/buttons/src/LinkButton.css +131 -119
- package/dist/buttons/src/LinkButton.d.ts +5 -2
- package/dist/buttons/src/LinkButton.js +5 -4
- package/dist/buttons/src/LinkButtonContext.d.ts +3 -1
- package/dist/buttons/src/ToggleButton.css +485 -330
- package/dist/buttons/src/ToggleButton.d.ts +6 -3
- package/dist/buttons/src/ToggleButton.js +4 -4
- package/dist/buttons/src/ToggleButtonContext.d.ts +3 -1
- package/dist/buttons/src/index.css +718 -541
- package/dist/buttons/src/index.d.ts +6 -4
- package/dist/buttons/src/index.js +12 -11
- package/dist/callout/src/Callout.css +730 -553
- package/dist/callout/src/Callout.js +8 -7
- package/dist/callout/src/CompactCallout.css +767 -590
- package/dist/callout/src/CompactCallout.js +8 -7
- package/dist/callout/src/index.css +779 -602
- package/dist/callout/src/index.js +10 -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-RXNIOPGX.js → chunk-27YZA2A6.js} +2 -2
- package/dist/{chunk-T52WHF7R.js → chunk-2A4SQELV.js} +1 -1
- package/dist/{chunk-GTGTEHOA.js → chunk-2TZLC5MY.js} +2 -2
- package/dist/{chunk-6Y4WK3RQ.js → chunk-333CF3S7.js} +1 -1
- package/dist/{chunk-WTBYPRRW.js → chunk-3BCZJCQ3.js} +3 -3
- package/dist/{chunk-J6QWUF6I.js → chunk-3VOSETB5.js} +18 -12
- package/dist/{chunk-YJZJ6EGK.js → chunk-446J7ADD.js} +3 -3
- package/dist/{chunk-O4U6DKHU.js → chunk-4GAGBXT4.js} +2 -2
- package/dist/{chunk-TQFW3GV6.js → chunk-4WWPGWIY.js} +1 -1
- package/dist/{chunk-2ZNBGFYO.js → chunk-4Y2FHAJZ.js} +1 -1
- package/dist/{chunk-2QPUHBJ6.js → chunk-4YDVFQFT.js} +22 -9
- package/dist/{chunk-V4FVG6RD.js → chunk-5MWWUEMG.js} +3 -3
- package/dist/{chunk-YG4VQFHZ.js → chunk-5SCGTPMN.js} +2 -2
- package/dist/{chunk-VNFZDWVB.js → chunk-6DOMKHG4.js} +1 -1
- package/dist/{chunk-JG7DCSZ7.js → chunk-7CK3J42S.js} +1 -1
- package/dist/{chunk-AJ4JHO3L.js → chunk-7N6N5ZQW.js} +2 -2
- package/dist/{chunk-CMNPB35A.js → chunk-AU3U7OXE.js} +12 -12
- package/dist/{chunk-XSUYZDYB.js → chunk-BQB4WR4X.js} +1 -1
- package/dist/{chunk-BHFIGTK6.js → chunk-BXX3M2TF.js} +1 -1
- package/dist/{chunk-MVXDSVBA.js → chunk-BYIZ6YTQ.js} +1 -1
- package/dist/{chunk-3MYOCKT2.js → chunk-C4OUFO6E.js} +8 -8
- package/dist/{chunk-SLJKAEOC.js → chunk-CCXYS5EF.js} +5 -5
- package/dist/{chunk-BV3ROFY6.js → chunk-CG4N4NJW.js} +1 -1
- package/dist/{chunk-UH3RWAZV.js → chunk-CJFALWKZ.js} +2 -2
- package/dist/{chunk-C2JYCOJJ.js → chunk-D54XSA2G.js} +2 -2
- package/dist/{chunk-ZBVXOGE7.js → chunk-DR22UMIB.js} +8 -8
- package/dist/{chunk-P4YL7PZX.js → chunk-EIHFLKML.js} +2 -2
- package/dist/{chunk-YT6KAZ7W.js → chunk-EPZBUE2N.js} +2 -2
- package/dist/{chunk-TRMO7MV5.js → chunk-FICUPRHV.js} +11 -11
- package/dist/{chunk-N2INWSSP.js → chunk-FKVHRFPV.js} +1 -1
- package/dist/chunk-GFYRA4EN.js +23 -0
- package/dist/{chunk-I62K2ZHG.js → chunk-GXR774K5.js} +1 -1
- package/dist/{chunk-TSXCJZLH.js → chunk-H7IMS4PR.js} +2 -2
- package/dist/{chunk-OM4XR33Z.js → chunk-HLAMRSGD.js} +2 -2
- package/dist/{chunk-GNG2NV76.js → chunk-IF7OASII.js} +1 -1
- package/dist/{chunk-O6RCJ73Y.js → chunk-IZ6AOTXC.js} +2 -2
- package/dist/{chunk-2UBRJW2J.js → chunk-J45YC7C2.js} +1 -1
- package/dist/{chunk-WSW2WVYZ.js → chunk-J7ENAT22.js} +1 -1
- package/dist/{chunk-OZ7NZPDM.js → chunk-JGUOHQEO.js} +16 -7
- package/dist/{chunk-VK4C7IPE.js → chunk-JHHAFKNM.js} +7 -7
- package/dist/{chunk-PVIZJ22K.js → chunk-JIOQK4T7.js} +1 -1
- package/dist/{chunk-BCBQINY3.js → chunk-KADWB3R4.js} +2 -2
- package/dist/{chunk-TBOTEIRR.js → chunk-KPFBET2X.js} +1 -1
- package/dist/{chunk-KHPSEX4H.js → chunk-L3MHODGB.js} +1 -1
- package/dist/{chunk-VQ6HKO7S.js → chunk-LM6KSNRY.js} +2 -2
- package/dist/{chunk-UEJAUKJY.js → chunk-LRAE7OJJ.js} +8 -8
- package/dist/{chunk-PT5SYITB.js → chunk-LSZ6ETKU.js} +5 -5
- package/dist/{chunk-Y5RKQQHZ.js → chunk-LWSF2VLC.js} +2 -2
- package/dist/{chunk-FC6G5MQ3.js → chunk-MIHSQG7D.js} +2 -2
- package/dist/{chunk-B62S77SN.js → chunk-MNZODLBT.js} +3 -3
- package/dist/{chunk-C7CNYQRP.js → chunk-N3KZBYMB.js} +2 -2
- package/dist/{chunk-KG3UXYPM.js → chunk-N4QFGCPW.js} +3 -3
- package/dist/{chunk-VDPXCFLQ.js → chunk-NIAAMHIX.js} +5 -5
- package/dist/{chunk-GDX6X4AK.js → chunk-NL7JSTHF.js} +2 -2
- package/dist/{chunk-THRSW2TA.js → chunk-NMT2J3X6.js} +1 -1
- package/dist/{chunk-XIWBIDKX.js → chunk-OBODGTPP.js} +16 -10
- package/dist/{chunk-GUPD7SCD.js → chunk-PEIFEGNC.js} +1 -1
- package/dist/{chunk-CDC6G4DW.js → chunk-PH3YCU3Y.js} +1 -1
- package/dist/{chunk-WTDBPVO2.js → chunk-PY7LQUG3.js} +3 -3
- package/dist/{chunk-XYQU45MO.js → chunk-QH36FSEG.js} +3 -3
- package/dist/{chunk-R3F4R2GR.js → chunk-QJA2OD7N.js} +5 -5
- package/dist/{chunk-YLUR4I4O.js → chunk-QNAAYTKT.js} +1 -1
- package/dist/{chunk-LDWHZCH4.js → chunk-QQ7AWYFY.js} +1 -1
- package/dist/{chunk-FQHEXVEO.js → chunk-QSMUIB57.js} +2 -2
- package/dist/{chunk-5ZMGVSCQ.js → chunk-R2GEGPOO.js} +1 -1
- package/dist/{chunk-EOXIVZJH.js → chunk-RZWF5H5Q.js} +1 -1
- package/dist/{chunk-2EOZLJ3U.js → chunk-S3RZ45UA.js} +6 -6
- package/dist/{chunk-Q7NZNQEE.js → chunk-SJKZJBNT.js} +2 -2
- package/dist/{chunk-A5X5HCFF.js → chunk-SYAUYFR3.js} +1 -1
- package/dist/{chunk-VSAMAS7P.js → chunk-UE2MKTQA.js} +5 -5
- package/dist/{chunk-CU3QGP2L.js → chunk-UHXLZOSK.js} +2 -2
- package/dist/{chunk-JSK57VIX.js → chunk-UL24FHXE.js} +2 -2
- package/dist/{chunk-4O27LL2N.js → chunk-V25S5IBB.js} +2 -2
- package/dist/{chunk-MRHZL6GL.js → chunk-VAXZGJLC.js} +2 -2
- package/dist/{chunk-QXX3VYMF.js → chunk-VRQANX3T.js} +1 -1
- package/dist/{chunk-VQN3EOEE.js → chunk-W3TNGPJI.js} +2 -2
- package/dist/{chunk-QIGTPOAF.js → chunk-WAXG3VQ3.js} +10 -10
- package/dist/{chunk-IKQ2EV2Y.js → chunk-X6YIJ7TI.js} +1 -1
- package/dist/{chunk-E3KVQKBW.js → chunk-XAAZVXFG.js} +3 -3
- package/dist/{chunk-CHJUYY53.js → chunk-XBXWGDWC.js} +1 -1
- package/dist/{chunk-OPG3YAOS.js → chunk-XWZOU65F.js} +1 -1
- package/dist/{chunk-C4F7EZIQ.js → chunk-XX37YQKD.js} +1 -1
- package/dist/{chunk-SUNGEQNN.js → chunk-YC6V3NJ3.js} +2 -2
- package/dist/{chunk-3BP4XOAL.js → chunk-YIIEDUWW.js} +1 -1
- package/dist/{chunk-XFWOCVQF.js → chunk-YKJCXEWE.js} +15 -9
- package/dist/{chunk-AN3RU3NY.js → chunk-YLL2OBOQ.js} +3 -3
- package/dist/{chunk-W57EDX3L.js → chunk-ZKWHOGLL.js} +1 -1
- package/dist/combobox/src/ComboBox.css +1146 -955
- package/dist/combobox/src/ComboBox.js +18 -18
- package/dist/combobox/src/index.css +1146 -955
- package/dist/combobox/src/index.js +18 -18
- package/dist/contextual-help/src/ContextualHelp.css +1075 -884
- package/dist/contextual-help/src/ContextualHelp.js +4 -4
- package/dist/contextual-help/src/index.css +1075 -884
- package/dist/contextual-help/src/index.js +4 -4
- package/dist/disclosure/src/Disclosure.css +48 -48
- package/dist/disclosure/src/Disclosure.js +1 -1
- package/dist/disclosure/src/DisclosureHeader.css +55 -55
- package/dist/disclosure/src/DisclosureHeader.js +3 -3
- package/dist/disclosure/src/DisclosurePanel.css +48 -48
- package/dist/disclosure/src/DisclosurePanel.js +3 -3
- package/dist/disclosure/src/index.css +73 -73
- package/dist/disclosure/src/index.js +7 -7
- 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.d.ts +1 -1
- 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 +737 -560
- package/dist/illustrated-message/src/IllustratedMessage.js +1 -1
- package/dist/illustrated-message/src/index.css +737 -560
- package/dist/illustrated-message/src/index.js +1 -1
- package/dist/image/src/Image.css +41 -41
- package/dist/image/src/Image.js +1 -1
- package/dist/image/src/SvgImage.css +39 -39
- package/dist/image/src/SvgImage.js +1 -1
- package/dist/image/src/index.css +42 -42
- package/dist/image/src/index.js +2 -2
- package/dist/index.css +1496 -1305
- package/dist/index.d.ts +25 -7
- package/dist/index.js +89 -88
- 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 +738 -561
- 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 +744 -567
- 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 +742 -565
- package/dist/inputs/src/TextField.js +13 -13
- package/dist/inputs/src/index.css +784 -607
- package/dist/inputs/src/index.js +17 -17
- package/dist/layout/src/Content.css +38 -38
- package/dist/layout/src/Footer.css +38 -38
- package/dist/link/src/Link.css +77 -77
- package/dist/link/src/Link.js +3 -3
- package/dist/link/src/index.css +77 -77
- package/dist/link/src/index.js +3 -3
- package/dist/list-box/src/ListBox.css +326 -312
- package/dist/list-box/src/ListBox.js +7 -7
- 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 +7 -7
- package/dist/menu/src/Menu.css +1071 -880
- package/dist/menu/src/Menu.js +2 -2
- 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 +1096 -905
- package/dist/menu/src/index.js +5 -5
- 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 +760 -583
- package/dist/modal/src/Modal.js +9 -8
- package/dist/modal/src/index.css +755 -578
- package/dist/modal/src/index.js +10 -9
- package/dist/overlays/popover/src/Popover.css +1069 -878
- 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 +1072 -881
- package/dist/overlays/popover/src/index.js +3 -3
- package/dist/radio/src/DecorativeRadio.css +65 -65
- package/dist/radio/src/DecorativeRadio.js +3 -3
- package/dist/radio/src/Radio.css +57 -57
- package/dist/radio/src/Radio.js +3 -3
- package/dist/radio/src/RadioField.css +44 -44
- package/dist/radio/src/RadioField.js +2 -2
- package/dist/radio/src/RadioGroup.css +109 -109
- package/dist/radio/src/RadioGroup.js +7 -7
- package/dist/radio/src/index.css +109 -109
- package/dist/radio/src/index.js +11 -11
- 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 +1090 -899
- package/dist/select/src/Select.js +17 -17
- package/dist/select/src/SelectValue.css +113 -99
- package/dist/select/src/SelectValue.js +2 -2
- package/dist/select/src/index.css +1090 -899
- package/dist/select/src/index.js +17 -17
- package/dist/spinner/src/Spinner.css +48 -48
- package/dist/spinner/src/Spinner.js +2 -2
- package/dist/spinner/src/index.css +48 -48
- package/dist/spinner/src/index.js +2 -2
- package/dist/switch/src/Switch.css +54 -54
- package/dist/switch/src/Switch.js +3 -3
- package/dist/switch/src/SwitchField.css +44 -44
- package/dist/switch/src/SwitchField.js +2 -2
- package/dist/switch/src/index.css +60 -60
- package/dist/switch/src/index.js +4 -4
- package/dist/tabs/src/Tab.css +916 -725
- package/dist/tabs/src/Tab.js +2 -2
- package/dist/tabs/src/TabLine.css +40 -40
- package/dist/tabs/src/TabLine.js +1 -1
- package/dist/tabs/src/TabList.css +47 -47
- package/dist/tabs/src/TabList.js +2 -2
- package/dist/tabs/src/TabPanel.css +40 -40
- package/dist/tabs/src/TabPanel.js +1 -1
- package/dist/tabs/src/index.css +927 -736
- package/dist/tabs/src/index.js +5 -5
- package/dist/tag/src/Tag.css +894 -703
- 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 +904 -713
- 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 +1 -1
- package/dist/tile/src/index.css +48 -48
- package/dist/tile/src/index.js +3 -3
- package/dist/toggle-arrow/src/ToggleArrow.css +40 -40
- package/dist/toggle-arrow/src/ToggleArrow.js +1 -1
- package/dist/toggle-arrow/src/index.css +40 -40
- package/dist/toggle-arrow/src/index.js +1 -1
- package/dist/tooltip/src/Tooltip.css +48 -48
- package/dist/tooltip/src/Tooltip.js +3 -3
- package/dist/tooltip/src/TooltipTrigger.css +38 -38
- package/dist/tooltip/src/index.css +48 -48
- package/dist/tooltip/src/index.js +3 -3
- package/dist/{types-CVCUJ7un.d.ts → types-BqmVPR6K.d.ts} +2 -2
- 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 +2 -2
- package/package.json +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___z2REG {
|
|
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___z2REG) {
|
|
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___UvA8B) {
|
|
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___8LA8Z) {
|
|
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___-vdE8) {
|
|
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___R--az) {
|
|
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___Us1B5) {
|
|
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___-Dui8) {
|
|
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___Niq8Y) {
|
|
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___5gPvH {
|
|
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___XkwKF {
|
|
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___XkwKF) {
|
|
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___g-kwE {
|
|
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___hyzp- {
|
|
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___nUpbh) {
|
|
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___piSUd {
|
|
146
146
|
box-sizing: border-box;
|
|
147
147
|
}
|
|
148
|
-
.OverlineText-module__hop-
|
|
149
|
-
.OverlineText-module__hop-
|
|
148
|
+
.OverlineText-module__hop-OverlineText__text___piSUd::before,
|
|
149
|
+
.OverlineText-module__hop-OverlineText__text___piSUd::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___piSUd::before {
|
|
157
157
|
margin-block-end: var(--bottom-offset);
|
|
158
158
|
}
|
|
159
|
-
.OverlineText-module__hop-
|
|
159
|
+
.OverlineText-module__hop-OverlineText__text___piSUd::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___cfXZY {
|
|
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___cfXZY) {
|
|
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___XLJcP) {
|
|
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___I6KRc) {
|
|
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___E8yDa) {
|
|
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___iJqjo) {
|
|
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___IU4Uc) {
|
|
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___B48R7) {
|
|
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___KVVuG) {
|
|
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___5eXfe {
|
|
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___5eXfe:last-child {
|
|
257
257
|
--margin-block-end: 0;
|
|
258
258
|
}
|
|
259
|
-
.Paragraph-module__hop-Paragraph--
|
|
259
|
+
.Paragraph-module__hop-Paragraph--xs___8HE0r {
|
|
260
260
|
--margin-block-end: var(--hop-Paragraph-xs-margin-bottom);
|
|
261
261
|
}
|
|
262
|
-
.Paragraph-module__hop-Paragraph--
|
|
262
|
+
.Paragraph-module__hop-Paragraph--sm___3Px67 {
|
|
263
263
|
--margin-block-end: var(--hop-Paragraph-sm-margin-bottom);
|
|
264
264
|
}
|
|
265
|
-
.Paragraph-module__hop-Paragraph--
|
|
265
|
+
.Paragraph-module__hop-Paragraph--md___G2Zu6 {
|
|
266
266
|
--margin-block-end: var(--hop-Paragraph-md-margin-bottom);
|
|
267
267
|
}
|
|
268
|
-
.Paragraph-module__hop-Paragraph--
|
|
268
|
+
.Paragraph-module__hop-Paragraph--lg___8JjcZ {
|
|
269
269
|
--margin-block-end: var(--hop-Paragraph-lg-margin-bottom);
|
|
270
270
|
}
|
|
271
|
-
.Paragraph-module__hop-Paragraph--
|
|
271
|
+
.Paragraph-module__hop-Paragraph--xl___yloh- {
|
|
272
272
|
--margin-block-end: var(--hop-Paragraph-xl-margin-bottom);
|
|
273
273
|
}
|
|
274
|
-
.Paragraph-module__hop-Paragraph--
|
|
274
|
+
.Paragraph-module__hop-Paragraph--2xl___d7pjT {
|
|
275
275
|
--margin-block-end: var(--hop-Paragraph-2xl-margin-bottom);
|
|
276
276
|
}
|
|
277
|
-
.Paragraph-module__hop-Paragraph--
|
|
277
|
+
.Paragraph-module__hop-Paragraph--inherit___mHkEn {
|
|
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___7MWZ0 {
|
|
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___n56nV {
|
|
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___GtxLW {
|
|
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___55n6O {
|
|
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___XSUP6 {
|
|
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___crKsY {
|
|
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___51LJs {
|
|
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___3E8Wu {
|
|
339
|
+
cursor: pointer;
|
|
340
|
+
}
|
|
341
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage--focus-visible___IUbHD {
|
|
342
|
+
outline: 0.125rem solid var(--hop-primary-border-focus);
|
|
343
|
+
}
|
|
344
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage___7MWZ0[data-disabled] {
|
|
338
345
|
--background-color: var(--hop-RichIconAvatarImage-background-color-disabled);
|
|
339
346
|
}
|
|
340
|
-
.RichIconAvatarImage-module__hop-
|
|
347
|
+
.RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___NWysm {
|
|
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___7MWZ0[data-disabled] .RichIconAvatarImage-module__hop-RichIconAvatarImage__icon___NWysm {
|
|
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___Bqcxp {
|
|
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___IyJCA {
|
|
398
406
|
--size: var(--hop-Avatar-xs-size);
|
|
399
407
|
}
|
|
400
|
-
.Avatar-module__hop-Avatar--
|
|
408
|
+
.Avatar-module__hop-Avatar--sm___r4xF8 {
|
|
401
409
|
--size: var(--hop-Avatar-sm-size);
|
|
402
410
|
}
|
|
403
|
-
.Avatar-module__hop-Avatar--
|
|
411
|
+
.Avatar-module__hop-Avatar--md___mtWFP {
|
|
404
412
|
--size: var(--hop-Avatar-md-size);
|
|
405
413
|
}
|
|
406
|
-
.Avatar-module__hop-Avatar--
|
|
414
|
+
.Avatar-module__hop-Avatar--lg___6-6BA {
|
|
407
415
|
--size: var(--hop-Avatar-lg-size);
|
|
408
416
|
}
|
|
409
|
-
.Avatar-module__hop-Avatar--
|
|
417
|
+
.Avatar-module__hop-Avatar--xl___tLhE9 {
|
|
410
418
|
--size: var(--hop-Avatar-xl-size);
|
|
411
419
|
}
|
|
412
|
-
.Avatar-module__hop-Avatar--
|
|
420
|
+
.Avatar-module__hop-Avatar--2xl___-1-91 {
|
|
413
421
|
--size: var(--hop-Avatar-2xl-size);
|
|
414
422
|
}
|
|
415
|
-
.Avatar-module__hop-Avatar--
|
|
423
|
+
.Avatar-module__hop-Avatar--clickable___c-Exr {
|
|
424
|
+
cursor: pointer;
|
|
425
|
+
}
|
|
426
|
+
.Avatar-module__hop-Avatar--focus-visible___LPIIY {
|
|
427
|
+
outline: 0.125rem solid var(--hop-primary-border-focus);
|
|
428
|
+
}
|
|
429
|
+
.Avatar-module__hop-Avatar--decorative-option1___aLAmD {
|
|
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___I7y-X {
|
|
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___OACgi {
|
|
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___-fghS {
|
|
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___lPQMu {
|
|
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___hQZdk {
|
|
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___Gq2fZ {
|
|
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___f8Egi {
|
|
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___9UBwK {
|
|
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___Bqcxp[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___JCQrb {
|
|
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-4YDVFQFT.js';
|
|
2
2
|
import '../../chunk-QJ5FQN3N.js';
|
|
3
|
-
import '../../chunk-
|
|
3
|
+
import '../../chunk-CG4N4NJW.js';
|
|
4
4
|
import '../../chunk-FA26RZSE.js';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-JGUOHQEO.js';
|
|
6
6
|
import '../../chunk-YKZRBQ6B.js';
|
|
7
7
|
import '../../chunk-2NSUMKNH.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-XX37YQKD.js';
|
|
9
9
|
import '../../chunk-PQSMCDAM.js';
|
|
10
10
|
import '../../chunk-ZNOU2CGM.js';
|
|
11
11
|
import '../../chunk-65JPI4FL.js';
|