diff --git a/docs/app/assets/images/card-placeholder-lg.png b/docs/app/assets/images/card-placeholder-lg.png index b651c278c1..e069d7bf9c 100644 Binary files a/docs/app/assets/images/card-placeholder-lg.png and b/docs/app/assets/images/card-placeholder-lg.png differ diff --git a/docs/app/assets/images/card-placeholder-sm.png b/docs/app/assets/images/card-placeholder-sm.png index 580b9b7ccb..e354206a7e 100644 Binary files a/docs/app/assets/images/card-placeholder-sm.png and b/docs/app/assets/images/card-placeholder-sm.png differ diff --git a/docs/app/views/examples/components/empty_state/_preview.html.erb b/docs/app/views/examples/components/empty_state/_preview.html.erb index cf18c50378..f033a770f5 100644 --- a/docs/app/views/examples/components/empty_state/_preview.html.erb +++ b/docs/app/views/examples/components/empty_state/_preview.html.erb @@ -20,7 +20,7 @@
Item <%= item[:id] %> specs
@@ -161,7 +161,7 @@ Note that this example also implements the [Reveal utility class](#{pages_helper more_actions: { items: dropdown_items(item[:id]) }, } do %> <%= sage_component SageCardRow, { grid_template: "ete" } do %> - + <%= sage_component SageCardBlock, {} do %> <%= sage_component SageLink, { spacer: { bottom: "2xs" }, diff --git a/docs/app/views/examples/components/media_tile/_preview.html.erb b/docs/app/views/examples/components/media_tile/_preview.html.erb index c0eb17fea4..dc7e7a48c5 100644 --- a/docs/app/views/examples/components/media_tile/_preview.html.erb +++ b/docs/app/views/examples/components/media_tile/_preview.html.erb @@ -32,7 +32,7 @@ panels = [ caption: %(Vivamus dictum rutrum dui, nec placerat ante
), - media: %(), + media: %(), title: "Product Abra", }, { @@ -44,7 +44,7 @@ panels = [ caption: %(Suspendisse eu tellus quis arcu sagittis semper
), - media: %(), + media: %(), title: "Product Cadabra", }, { @@ -56,7 +56,7 @@ panels = [ caption: %(Maecenas vitae leo eu tellus efficitur viverra sit amet ut tortor vestibulum
), - media: %(), + media: %(), title: "Product Jimminycricket", }, ] @@ -155,7 +155,7 @@ NOTE: the examples below omit `media` but this can safely be used as well with t title_tag: "h2", } do %> <%= content_for :sage_media_tile_media do %> - + <% end %> <%= content_for :sage_media_tile_actions_custom do %> <%= sage_component SageBadge, { value: "CUSTOM Draft", color: "draft" } %> diff --git a/packages/sage-assets/lib/stylesheets/components/_page_heading.scss b/packages/sage-assets/lib/stylesheets/components/_page_heading.scss index 45ef8ab244..998e7ba6ce 100644 --- a/packages/sage-assets/lib/stylesheets/components/_page_heading.scss +++ b/packages/sage-assets/lib/stylesheets/components/_page_heading.scss @@ -84,7 +84,7 @@ $-page-heading-image-height-mobile: rem(120px); grid-area: image; overflow: hidden; min-height: $-page-heading-image-height-min; - background: sage-color(grey, 300); + background: sage-color(grey, 30); border-radius: sage-border(radius); border: sage-border(); diff --git a/packages/sage-react/lib/Card/Card.story.jsx b/packages/sage-react/lib/Card/Card.story.jsx index 8361f78b1c..7d8a1c8200 100644 --- a/packages/sage-react/lib/Card/Card.story.jsx +++ b/packages/sage-react/lib/Card/Card.story.jsx @@ -8,6 +8,8 @@ import { Link } from '../Link'; import { Card } from './Card'; import { Frame } from '../Frame'; +import placeholderImg from '../../public/CardPlaceholderLarge.png'; + export default { title: 'Sage/Card', component: Card, @@ -122,7 +124,7 @@ Default.args = {@@ -89,4 +91,4 @@ The Empty State component has two sizes: default and `compact`. The default size
)} /> - \ No newline at end of file + diff --git a/packages/sage-react/lib/Frame/Frame.story.jsx b/packages/sage-react/lib/Frame/Frame.story.jsx index c9d1458d37..fad57c1be9 100644 --- a/packages/sage-react/lib/Frame/Frame.story.jsx +++ b/packages/sage-react/lib/Frame/Frame.story.jsx @@ -4,6 +4,8 @@ import { SageClassnames, SageTokens } from '../configs'; import { Button, Label, Property } from '..'; import { Frame } from './Frame'; +import placeholderImg from '../../public/CardPlaceholderLarge.png'; + export default { title: 'Sage/Frame', component: Frame, @@ -91,7 +93,7 @@ export const NestingFrames = () => ( align={Frame.ALIGNMENTS.CENTER_LEFT} > - + @@ -195,7 +197,7 @@ export const CustomBlock = () => ( - + ); diff --git a/packages/sage-react/lib/List/List.story.jsx b/packages/sage-react/lib/List/List.story.jsx index 47cdc4ace6..8b34d5a877 100644 --- a/packages/sage-react/lib/List/List.story.jsx +++ b/packages/sage-react/lib/List/List.story.jsx @@ -9,6 +9,7 @@ import { OptionsDropdown } from '../Dropdown'; import { Property } from '../Property'; import { List } from './List'; import { ListItem } from './ListItem'; +import placeholderImg from '../../public/CardPlaceholderLarge.png'; import { sampleItems, sampleItemRenderer, @@ -81,7 +82,7 @@ export const otherActionItems = () => ( >