@adaptavant/share-modal@1.2.0
Minor Changes
- 80ed045:
ShareModal: Fix ShareModal's Share option not firing the close callback when the Web Share API is unavailable. The modal now closes correctly and triggersonShareOptionSelectregardless of whether the Web Share API is supported in the current environment. - 486aceb:
ShareModal: Adjusted paddings and spacing (modal content gapgap-2→gap-6, option stackpy-2→pb-2), addedline-clamp-1to description text for overflow handling. Fixed label casing in examples ("Copy Link" → "Copy link", "Whatsapp" → "WhatsApp"). Added "Company Details with Avatar Toggle" example demonstrating show/hide of company avatar viaavatarProps.
Patch Changes
- 3912399:
ShareModal: The company details section (avatar and description) is now optional. Previously aCompanyIconwas always rendered when noavatarPropswere provided. It now renders only whenavatarProps,headingImageProps, ortranslations.descriptionare supplied. If all of these are omitted, the section is hidden and only the share option buttons are shown. - Updated dependencies [a229675]
- Updated dependencies [9a028fc]
- Updated dependencies [8235a81]
- Updated dependencies [d5ee541]
- Updated dependencies [086b042]
- Updated dependencies [2156236]
- Updated dependencies [2698c32]
- @adaptavant/eds-core@1.38.0
- @adaptavant/eds-brands@1.7.0