[Card group with static]: Update Storybook preview to include "Add CTA Link" boolean
See original GitHub issueEngineering info:
- Innovation Team engineer:
- Innovation Team JIRA Ticket: https://jsw.ibm.com/browse/HC-2469
- DPO consulting engineer: N/A
Description
- While ensembling an example of the
Card Group
component usingCard with static
variant, I noticed that the<dds-text-cta>
component that’s being used is not aligned to the bottom of the card. - This might be due to the fact that
<dds-text-cta>
might not be accounted for in the same height function that’s defined in theCard group
component. <dds-text-cta>
is used in place of<dds-card-cta-footer>
because the static card variant doesn’t enable the whole card to be clickable, except for the CTA link.
Component(s) impacted
Card Group
Browser
Chrome, Safari, Firefox, Microsoft Edge
Carbon for IBM.com version
v.1.33
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website
AEM
Package
@carbon/ibmdotcom-web-components
CodeSandbox example
https://codesandbox.io/s/sharp-hugle-ylz0gg?file=/index.html
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct
- I agree to follow this project’s Code of Conduct
- I checked the current issues for duplicate issues
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Controls - Storybook - JS.ORG
To use the Controls addon, you need to write your stories using args. ... It works well with certain types of args, such...
Read more >Next-level component showcasing with Storybook controls
Learn about controls, a new Storybook addon that lets you dynamically interact with your React components for demo and testing purposes.
Read more >NetSuite Applications Suite - Working with Groups
Multi–Book Accounting and Adjustment-Only Book Support in Tax Reporting Framework ... FEFO Lot Assignments and the Static Route Management SuiteApp.
Read more >How can I use CSS framework styles inside a storybook #25
I added a preview-head.html per these docs, linking up my stylesheet like so: <link rel="stylesheet" href="./static/style.css" />.
Read more >Create pages on the fly with Dynamic Zone - Strapi
On the Page collection-type, click on Add a component for your ... I advise you to include the header, buttons and link components...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
FYI, @oliviaflory @kennylam
Hi @proeung, thank you for the reminder.
I lean towards having the CTAs hidden by default due to the original intention of static cards being…static. The CTA was added after if I remember correctly. So if it’s ok with you I’d love to have the boolean option with “Add CTA”.