-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pie-thumbnail): DSW-2615 add the aspect ratio prop (#2184)
* feat(pie-thumbnail): DSW-2580 add basic thumbnail functionality * feat(pie-thumbnail): DSW-2583 add disabled thumbnail prop * feat(pie-thumbnail): DSW-2583 add hasPadding thumbnail prop * feat(pie-thumbnail): DSW-2582 add size prop * feat(pie-thumbnail): DSW-2582 add size prop * fix(pie-thumbnail): DSW-2582 revert some changes * fix(pie-thumbnail): DSW-2582 revert some changes * fix(pie-thumbnail): DSW-2582 add sizes * feat(pie-thumbnail): DSW-2615 add the aspect ratio prop * fix(pie-thumbnail): DSW-2615 apply background to the image to respect the asepct ratio * fix(pie-thumbnail): DSW-2615 rever some changes * fix(pie-thumbnail): DSW-2615 rever some changes * fix(pie-thumbnail): DSW-2615 update aspect ratio calcs * fix(pie-thumbnail): DSW-2615 allow images to be cropped instead of shrinking * fix(pie-thumbnail): DSW-2615 revert some changes * fix(pie-thumbnail): DSW-2615 update stories * fix(pie-thumbnail): DSW-2615 update stories * fix(pie-thumbnail): DSW-2615 update stories * fix(pie-thumbnail): DSW-2615 fix tests * fix(pie-thumbnail): DSW-2615 fix tests * fix(pie-thumbnail): DSW-2615 update alt messages * fix(pie-monorepo): DSW-000 revert changes * fix(pie-thumbnail): DSW-2615 update tests * fix(pie-thumbnail): DSW-2615 update snapshot tests --------- Co-authored-by: boris.netsov <[email protected]>
- Loading branch information
Showing
11 changed files
with
132 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@justeattakeaway/pie-thumbnail": minor | ||
"pie-storybook": minor | ||
--- | ||
|
||
[Added] - the aspect ratio prop |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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