From de229aac83fd7dc7d149f1438a37d205f5cb08c7 Mon Sep 17 00:00:00 2001 From: Myrta Sakellariou <66249294+myrta2302@users.noreply.github.com> Date: Thu, 21 Nov 2024 20:14:19 +0200 Subject: [PATCH] feat(styles): create blockquote component (#3882) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alizé Debray <33580481+alizedebray@users.noreply.github.com> --- .changeset/twenty-items-drum.md | 6 +++ .../components/blockquote/blockquote.docs.mdx | 5 +- .../blockquote/blockquote.snapshot.stories.ts | 12 +++-- .../blockquote/blockquote.stories.ts | 4 +- packages/styles/src/components/_index.scss | 1 + .../styles/src/components/blockquote.scss | 46 +++++++++++++++++++ 6 files changed, 67 insertions(+), 7 deletions(-) create mode 100644 .changeset/twenty-items-drum.md create mode 100644 packages/styles/src/components/blockquote.scss diff --git a/.changeset/twenty-items-drum.md b/.changeset/twenty-items-drum.md new file mode 100644 index 0000000000..8541010598 --- /dev/null +++ b/.changeset/twenty-items-drum.md @@ -0,0 +1,6 @@ +--- +'@swisspost/design-system-documentation': patch +'@swisspost/design-system-styles': patch +--- + +Updated the blockquote styles to match the new Post design. diff --git a/packages/documentation/src/stories/components/blockquote/blockquote.docs.mdx b/packages/documentation/src/stories/components/blockquote/blockquote.docs.mdx index 4e14e45b63..36118a18b5 100644 --- a/packages/documentation/src/stories/components/blockquote/blockquote.docs.mdx +++ b/packages/documentation/src/stories/components/blockquote/blockquote.docs.mdx @@ -15,7 +15,7 @@ import StylesPackageImport from '@/shared/styles-package-import.mdx';
` around any HTML as the quote. + className="blockquote">` along with a `` around any HTML as the quote.
<q>
tag.
diff --git a/packages/documentation/src/stories/components/blockquote/blockquote.snapshot.stories.ts b/packages/documentation/src/stories/components/blockquote/blockquote.snapshot.stories.ts
index a327f0df89..c4828fcb8a 100644
--- a/packages/documentation/src/stories/components/blockquote/blockquote.snapshot.stories.ts
+++ b/packages/documentation/src/stories/components/blockquote/blockquote.snapshot.stories.ts
@@ -16,9 +16,15 @@ export const Blockquote: Story = {
render: (_args: Args, context: StoryContext) => {
return html`