From 6d284ce1d55e5304011e49ec2de71f3d64c0488b Mon Sep 17 00:00:00 2001 From: Alona Zherdetska Date: Mon, 9 Dec 2024 14:43:16 +0100 Subject: [PATCH 1/3] chore(styles): chore: removed deprecated portal styles and update references --- packages/styles/src/index.scss | 3 --- packages/styles/src/layouts/portal/_index.scss | 1 - packages/styles/src/layouts/portal/_subnavigation.scss | 5 ----- 3 files changed, 9 deletions(-) delete mode 100644 packages/styles/src/layouts/portal/_index.scss delete mode 100644 packages/styles/src/layouts/portal/_subnavigation.scss diff --git a/packages/styles/src/index.scss b/packages/styles/src/index.scss index 97fa256ba6..2f92769c20 100644 --- a/packages/styles/src/index.scss +++ b/packages/styles/src/index.scss @@ -4,6 +4,3 @@ @use './utilities'; @use './elements'; @use './components'; - -// Portal specific styles -@use './layouts/portal'; diff --git a/packages/styles/src/layouts/portal/_index.scss b/packages/styles/src/layouts/portal/_index.scss deleted file mode 100644 index c067e7178e..0000000000 --- a/packages/styles/src/layouts/portal/_index.scss +++ /dev/null @@ -1 +0,0 @@ -@use './subnavigation'; diff --git a/packages/styles/src/layouts/portal/_subnavigation.scss b/packages/styles/src/layouts/portal/_subnavigation.scss deleted file mode 100644 index 538ea92584..0000000000 --- a/packages/styles/src/layouts/portal/_subnavigation.scss +++ /dev/null @@ -1,5 +0,0 @@ -.subnavigation-list { - width: 100%; - margin: 0; - padding: 0; -} From 8e05d7d0b7b5f034a16d24be17c309f5e585358c Mon Sep 17 00:00:00 2001 From: Alona Zherdetska Date: Mon, 9 Dec 2024 14:53:05 +0100 Subject: [PATCH 2/3] fix(tests): removed layout/portal reference from the styles package --- packages/styles/tests/layouts/portal/index.test.scss | 1 - 1 file changed, 1 deletion(-) delete mode 100644 packages/styles/tests/layouts/portal/index.test.scss diff --git a/packages/styles/tests/layouts/portal/index.test.scss b/packages/styles/tests/layouts/portal/index.test.scss deleted file mode 100644 index 477d1c3bf2..0000000000 --- a/packages/styles/tests/layouts/portal/index.test.scss +++ /dev/null @@ -1 +0,0 @@ -@use 'src/layouts/portal'; From f78b27602ecafa4deed3bead0dbd9f77c81e9357 Mon Sep 17 00:00:00 2001 From: Alona Zherdetska Date: Mon, 9 Dec 2024 16:05:57 +0100 Subject: [PATCH 3/3] chore(changeset): added a changeset --- .changeset/nervous-lizards-laugh.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/nervous-lizards-laugh.md diff --git a/.changeset/nervous-lizards-laugh.md b/.changeset/nervous-lizards-laugh.md new file mode 100644 index 0000000000..944f941bc9 --- /dev/null +++ b/.changeset/nervous-lizards-laugh.md @@ -0,0 +1,5 @@ +--- +'@swisspost/design-system-styles': minor +--- + +Removed outdated portal-specific styles, including subnavigation-related rules.