Skip to content

Commit

Permalink
Merge branch 'main' into 3424-component-text-link
Browse files Browse the repository at this point in the history
# Conflicts:
#	packages/styles/src/elements/_index.scss
  • Loading branch information
oliverschuerch committed Oct 8, 2024
2 parents 46f0ca1 + 9d1d015 commit 3012ac7
Show file tree
Hide file tree
Showing 578 changed files with 4,053 additions and 22,997 deletions.
6 changes: 6 additions & 0 deletions .changeset/eleven-keys-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': patch
'@swisspost/design-system-styles': patch
---

Updated the style of headings (h1-h6).
5 changes: 5 additions & 0 deletions .changeset/kind-papayas-provide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed the following placeholders: `%list-adjustment`, `%module-container`, `%default-module-spacer`, `%text-container`.
6 changes: 6 additions & 0 deletions .changeset/nervous-rocks-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-styles': minor
---

Added Text Highlighted component.
6 changes: 6 additions & 0 deletions .changeset/proud-actors-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-styles': major
'@swisspost/design-system-documentation': minor
---

Updated the margin, padding, and gap utility classes to use the pixel values (1, 2, ... , 112) instead of size names (hair, line, ..., bigger-giant).
5 changes: 5 additions & 0 deletions .changeset/red-lies-lick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed an issue related to conflicting pointer and focus events hiding the tooltip unexpectedly in some situations. The tooltip now behaves as expected in this situation.
6 changes: 6 additions & 0 deletions .changeset/tidy-dolls-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-styles': minor
---

Added lead text component for introductory paragraphs.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
#
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

packages/documentation @swisspost/design-system-members
# Maintainers have to sign off PRs to main as required in branch protection rules
* @swisspost/design-system-maintainers
51 changes: 0 additions & 51 deletions .github/actions/deploy-to-netlify/action.yaml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/build-demo.yaml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/deploy-demo.yaml

This file was deleted.

59 changes: 0 additions & 59 deletions .github/workflows/release-demo.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
old: {
version: release.oldVersion,
major: oldMajor,
siteUrl: `design-system-version-${oldMajor}`,
siteUrl: `swisspost-design-system-version-${oldMajor}`,
dependencies: {}
},
new: {
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,17 @@
"e2e": "start-server-and-test docs:headless 9001 'pnpm -r --stream e2e'",
"e2e:ci": "start-server-and-test docs:headless 9001 'pnpm --filter \"...[origin/main]\" --stream e2e:ci'",
"snapshots": "start-server-and-test 'pnpm docs:headless' 9001 'pnpm --filter design-system-documentation snapshots'",
"demo": "pnpm demo:start",
"demo:start": "pnpm --filter design-system-demo... --parallel --stream start",
"demo:build": "pnpm --filter design-system-demo build",
"demo:lint": "pnpm --filter design-system-demo lint",
"docs": "pnpm docs:start",
"docs:only": "pnpm --filter design-system-documentation start",
"docs:start": "pnpm --filter design-system-tokens build && pnpm --filter design-system-documentation... --parallel --stream start",
"docs:start": "pnpm --filter design-system-tokens build && pnpm --filter design-system-documentation... --parallel --stream start",
"docs:build": "pnpm --filter design-system-documentation build",
"docs:headless": "pnpm --filter design-system-documentation start:headless",
"docs:test": "pnpm --filter design-system-documentation test",
"docs:e2e": "start-server-and-test docs:headless 9001 'pnpm --filter design-system-documentation e2e'",
"docs:e2e:watch": "start-server-and-test docs:headless 9001 'pnpm --filter design-system-documentation e2e:watch'",
"styles": "pnpm styles:start",
"styles:start": "pnpm --filter design-system-styles start",
"styles:play": "pnpm --filter design-system-styles play",
"styles:build": "pnpm --filter design-system-styles build",
"styles:lint": "pnpm --filter design-system-styles lint",
"styles:lint:fix": "pnpm --filter design-system-styles lint:fix",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<header class="bg-dark">
<nav class="container py-2">
<ul class="d-flex flex-wrap row-gap-1 column-gap-3 m-0 list-unstyled">
<nav class="container py-8">
<ul class="d-flex flex-wrap row-gap-4 column-gap-16 m-0 list-unstyled">
<li *ngFor="let route of navigationRoutes">
<a [routerLink]="route.path">{{ route.title }}</a>
</li>
</ul>
</nav>
</header>

<main class="container my-3">
<main class="container my-16">
<h1>Hurray, it works!</h1>
<router-outlet></router-outlet>
</main>
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ <h2>CardControl Forms</h2>

<h3>Form Builder Form</h3>
<form [formGroup]="formBuilderForm" (ngSubmit)="formBuilderFormOnSubmit($event)">
<fieldset class="mb-3">
<fieldset class="mb-16">
<div class="row">
<div class="col-8">
<legend>Post Card Control Checkbox</legend>
Expand Down Expand Up @@ -30,7 +30,7 @@ <h3>Form Builder Form</h3>
</div>
</fieldset>

<fieldset class="mb-3">
<fieldset class="mb-16">
<div class="row">
<div class="col-8">
<legend>Post Card Control Radio Group</legend>
Expand Down Expand Up @@ -61,7 +61,7 @@ <h3>Form Builder Form</h3>
</div>
</fieldset>

<div class="d-flex gap-3">
<div class="d-flex gap-16">
<button class="btn btn-secondary" type="reset">Reset</button>
<button class="btn btn-primary">Submit</button>
</div>
Expand Down
Loading

0 comments on commit 3012ac7

Please sign in to comment.