-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DS-767 Remove usage of image component from card #2520
Merged
remydenton
merged 14 commits into
master
from
feature/DS-767-Remove-usage-of-image-component-from-card
Aug 23, 2022
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
05dacf0
DS-767: Add Image Element support + backwards compatibility with the …
bb57ac8
DS-767: Replace a link in card schema that points to image element sc…
aa68e8b
DS-767: Replace image component props usage with image element props …
189a139
DS-767: Tests update
61c9b8c
DS-767: Update template
6654b46
DS-767: Update PL examples
ca7082c
DS-767: Update tests
7fb40ad
Merge branch 'master' of https://github.com/boltdesignsystem/bolt int…
4c4c501
DS-767: remove comment from template
083912a
DS-767: Update docs for card
348368c
DS-767: Update PL
3e530b8
DS-767: Update card horizontal
56631e0
DS-767: Update docs
9e9619d
DS-767: Update docs
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
15 changes: 11 additions & 4 deletions
15
docs-site/src/pages/pattern-lab/_patterns/40-components/card/00-card-replacement-docs.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Helper text here is just what we need, but I'm not sure I understand from the sentence how it's supposed to work. There isn't a background element here 🤔 . Isn't it essentially just the following?
Feel free to tweak the wording, but I think the really important thing to get across is that users need to set
background: true
on the image element whenever the card hashorizontal: true
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Today when I read this sentence, I didn't understand it either 😁 I updated the docs with your more specific description, only added one more detail that the horizontal card also must have the prop
height
set toauto
. Without this images are broken.