Skip to content

feat(cta): pass slotted CTA data to lightbox - #12587

Merged
kodiakhq[bot] merged 1 commit into
carbon-design-system:mainfrom
marcelojcs:feat/pass-cta-slot-data-to-lightbox
Jul 31, 2026
Merged

feat(cta): pass slotted CTA data to lightbox#12587
kodiakhq[bot] merged 1 commit into
carbon-design-system:mainfrom
marcelojcs:feat/pass-cta-slot-data-to-lightbox

Conversation

@marcelojcs

Copy link
Copy Markdown
Contributor

Description

This PR introduces a new feature that enhances the CTA component by enabling slotted CTA data to be passed to the lightbox component. The implementation modifies the core CTA and video mixins to properly handle and forward slotted content data, ensuring that when users interact with video CTAs, the lightbox receives all necessary information from the slotted elements.

Changelog

New

  • The CTA (video mode) passes slotted CTA data to be passed lightbox component which renders it on the cta slot

@marcelojcs
marcelojcs requested a review from a team as a code owner July 31, 2026 01:28
@marcelojcs
marcelojcs requested review from Valentin-Sorin-Nicolae, bruno-amorim and sct-will and removed request for a team July 31, 2026 01:28
@netlify

netlify Bot commented Jul 31, 2026

Copy link
Copy Markdown

Deploy Preview for incomparable-wisp-8d6771 ready!

Name Link
🔨 Latest commit 02f5670
🔍 Latest deploy log https://app.netlify.com/projects/incomparable-wisp-8d6771/deploys/6a6bfa56fd6b100008424e15
😎 Deploy Preview https://deploy-preview-12587--incomparable-wisp-8d6771.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Jul 31, 2026

Copy link
Copy Markdown

Deploy Preview for ibm-dotcom-web-components ready!

Name Link
🔨 Latest commit 02f5670
🔍 Latest deploy log https://app.netlify.com/projects/ibm-dotcom-web-components/deploys/6a6bfa56beab8a0008453f6d
😎 Deploy Preview https://deploy-preview-12587--ibm-dotcom-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@marcelojcs marcelojcs added the Ready to merge Label for the pull requests that are ready to merge label Jul 31, 2026
@kodiakhq
kodiakhq Bot merged commit 0e1b797 into carbon-design-system:main Jul 31, 2026
22 of 30 checks passed
bruno-amorim pushed a commit to bruno-amorim/carbon-for-ibm-dotcom that referenced this pull request Aug 4, 2026
)

### Description
This PR introduces a new feature that enhances the CTA component by enabling slotted CTA data to be passed to the lightbox component. The implementation modifies the core CTA and video mixins to properly handle and forward slotted content data, ensuring that when users interact with video CTAs, the lightbox receives all necessary information from the slotted elements.


### Changelog

**New**

- The CTA (video mode) passes  slotted CTA data to be passed lightbox component which renders it on the cta slot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ready to merge Label for the pull requests that are ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants