From 006bc53ee65944f81da20337a0affda85ef838b3 Mon Sep 17 00:00:00 2001
From: Romain Veya <111903046+veyaromain@users.noreply.github.com>
Date: Tue, 10 Sep 2024 15:48:58 +0200
Subject: [PATCH 01/25] feat(styles): remove deprecated line height variables
(#3521)
---
.changeset/sharp-crews-watch.md | 6 ++
.../migration-guide/migration-guide.docs.mdx | 3 +
.../migrationv8-9.component.ts | 72 +++++++++++++++++++
.../migration-guide/setup.component.ts | 3 +
.../text/text-line-height.sample.scss | 2 +-
.../src/stories/utilities/text/text.docs.mdx | 4 --
packages/styles/src/variables/_type.scss | 27 -------
7 files changed, 85 insertions(+), 32 deletions(-)
create mode 100644 .changeset/sharp-crews-watch.md
create mode 100644 packages/documentation/src/stories/getting-started/migration-guide/migrationv8-9.component.ts
diff --git a/.changeset/sharp-crews-watch.md b/.changeset/sharp-crews-watch.md
new file mode 100644
index 0000000000..f44cf77a3f
--- /dev/null
+++ b/.changeset/sharp-crews-watch.md
@@ -0,0 +1,6 @@
+---
+'@swisspost/design-system-styles': major
+'@swisspost/design-system-documentation': minor
+---
+
+Removed deprecated line-height variables.
diff --git a/packages/documentation/src/stories/getting-started/migration-guide/migration-guide.docs.mdx b/packages/documentation/src/stories/getting-started/migration-guide/migration-guide.docs.mdx
index 3f45e7d385..66ca995ea4 100644
--- a/packages/documentation/src/stories/getting-started/migration-guide/migration-guide.docs.mdx
+++ b/packages/documentation/src/stories/getting-started/migration-guide/migration-guide.docs.mdx
@@ -6,6 +6,7 @@ import './migrationv4-5.component';
import './migrationv5-6.component';
import './migrationv6-7.component';
import './migrationv7-8.component';
+import './migrationv8-9.component';
@@ -25,4 +26,6 @@ import './migrationv7-8.component';
+ Removed deprecated line-height variables + breaking +
+$line-heights
$line-height-tiny
$line-height-small
$line-height-regular
$line-height-bigger-regular
$line-height-medium
$line-height-large
$line-height-small-big
$line-height-big
$line-height-bigger-big
$line-height-small-huge
$line-height-huge
No, this is just a fantasy.
From 04ee6ac01798e21398c505bca8fc7ad88bcc01d5 Mon Sep 17 00:00:00 2001 From: Muhammad BashirOnboarding is mandatory for external agencies.
++ The quality of the Design System is being measured by pre-defined KPIs and is constantly improved. +
+ +### Tooling + +Design System tooling fosters collaboration between diverse disciplines and encourages contribution. It is built to provide flexibility, allowing teams to choose the platform or framework that best suits their needs. diff --git a/packages/documentation/src/stories/getting-started/mission/mission.stories.ts b/packages/documentation/src/stories/getting-started/mission/mission.stories.ts new file mode 100644 index 0000000000..afd260fdbd --- /dev/null +++ b/packages/documentation/src/stories/getting-started/mission/mission.stories.ts @@ -0,0 +1,16 @@ +import { MetaExtended } from '@root/types'; +import { StoryObj } from '@storybook/web-components'; + +const meta: MetaExtended = { + id: 'b421ac9b-bac4-4e95-a909-64fdb58fc3a6', + title: 'Getting Started/Mission', + parameters: { + badges: [], + }, +}; + +export default meta; + +type Story = StoryObj; + +export const Default: Story = {}; diff --git a/packages/documentation/src/stories/getting-started/mission/mission.styles.scss b/packages/documentation/src/stories/getting-started/mission/mission.styles.scss new file mode 100644 index 0000000000..f44ca7bd30 --- /dev/null +++ b/packages/documentation/src/stories/getting-started/mission/mission.styles.scss @@ -0,0 +1,55 @@ +@use '@swisspost/design-system-styles/core.scss' as post; + +.no-style-list { + margin: 0; + padding: 0; + list-style: none; +} + +.roles-list { + display: grid; + grid-template-rows: repeat(3, 1fr); + justify-content: center; +} + +.role-item { + margin-bottom: 1rem; + padding: 1rem; + border: 1px solid #ddd; + border-radius: 6px; +} + +.stakeholders-list { + justify-content: center; + align-items: center; +} + +.stakeholder-item { + padding: 1rem; + border: 1px solid #dee2e6; + text-align: center; +} + +.team-list { + justify-content: center; + margin-bottom: 1rem; +} + +.team-item { + display: flex; + justify-content: center; + border: 1px solid #dee2e6; + align-items: center; + padding: 1rem; + gap: 1rem; + font-weight: bold; +} + +.alert { + margin-top: 1rem; +} + +.quality-text { + margin-top: 1rem; + text-align: left; +} From 8c78c13f56e51f79a126e2aa8d5a740b40a35172 Mon Sep 17 00:00:00 2001 From: Alona Zherdetska <138328641+alionazherdetska@users.noreply.github.com> Date: Wed, 25 Sep 2024 11:37:32 +0200 Subject: [PATCH 21/25] fix(readme): fix the typo in the README.md (#3581) Co-authored-by: Zherdetska Alona, IT21.1{principle.description}
+