Skip to content

Commit

Permalink
Merge branch 'main' into tokens/v2-2024-12
Browse files Browse the repository at this point in the history
  • Loading branch information
leagrdv committed Jan 17, 2025
2 parents 49d75b0 + 19c13b3 commit 0c6175d
Show file tree
Hide file tree
Showing 119 changed files with 5,299 additions and 4,605 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilly-carrots-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed the Bootstrap `.stretched-link` helper class.
5 changes: 5 additions & 0 deletions .changeset/curly-insects-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed the Bootstrap icon link helper classes.
6 changes: 6 additions & 0 deletions .changeset/cyan-years-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@swisspost/design-system-documentation': patch
'@swisspost/design-system-components': patch
---

Updated the documentation of the Post header.
5 changes: 5 additions & 0 deletions .changeset/famous-panthers-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed visibility of the arrow-icon in Form Select for high contrast mode.
5 changes: 5 additions & 0 deletions .changeset/good-pets-eat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-components': patch
---

Fixed a typo in the `post-accordion-item` component.
5 changes: 5 additions & 0 deletions .changeset/good-wombats-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed the Bootstrap figures helper classes and css variables.
5 changes: 5 additions & 0 deletions .changeset/hot-lizards-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed the Bootstrap `.vr` helper class.
8 changes: 8 additions & 0 deletions .changeset/lovely-mails-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@swisspost/design-system-documentation': minor
'@swisspost/design-system-styles': minor
'@swisspost/design-system-icons': minor
---

Updated the output structure of our UI-Icons.
Added a `post-icon` mixin, to use any of our icons from within SCSS.
5 changes: 5 additions & 0 deletions .changeset/neat-jars-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Uniformized valid and invalid icons throughout form elements for consistency.
37 changes: 37 additions & 0 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@
"beige-jobs-do",
"big-frogs-admire",
"big-hats-clap",
"big-maps-pay",
"big-socks-dress",
"blue-kings-beg",
"brave-kings-dance",
"breezy-cups-add",
"breezy-poets-shout",
"bright-coins-repeat",
"bright-insects-unite",
"brown-badgers-dream",
"calm-rabbits-pull",
"chatty-kiwis-travel",
"chatty-pigs-hear",
"chatty-spoons-unite",
"chilled-owls-walk",
"clean-icons-complain",
Expand All @@ -46,28 +50,38 @@
"cold-panthers-vanish",
"cuddly-bears-check",
"cuddly-gifts-film",
"cyan-years-pretend",
"dirty-mayflies-taste",
"dirty-squids-hunt",
"dry-moons-walk",
"dry-trainers-stare",
"dull-falcons-hope",
"early-baboons-cross",
"early-knives-own",
"eight-turkeys-matter",
"eleven-keys-work",
"empty-islands-kneel",
"fair-actors-scream",
"fast-bats-poke",
"fast-fans-wash",
"few-ways-beam",
"fifty-dodos-wait",
"fifty-students-call",
"five-hornets-sin",
"flat-badgers-fly",
"flat-bears-tap",
"four-beers-leave",
"four-jokes-tease",
"fresh-files-crash",
"fresh-schools-peel",
"friendly-insects-breathe",
"funny-shrimps-care",
"giant-games-swim",
"gold-chairs-grin",
"gold-chefs-rule",
"gold-dryers-drop",
"gold-news-repair",
"good-spoons-tie",
"gorgeous-flowers-flow",
"gorgeous-glasses-end",
"gorgeous-needles-run",
Expand All @@ -90,25 +104,33 @@
"loud-dingos-remember",
"loud-peaches-hang",
"lovely-deers-itch",
"lovely-mails-clap",
"lovely-mirrors-travel",
"lucky-grapes-wink",
"metal-geese-swim",
"metal-pens-explode",
"metal-rivers-look",
"moody-coats-kneel",
"nasty-ads-greet",
"neat-jars-destroy",
"neat-suits-provide",
"nervous-lizards-laugh",
"nervous-rocks-shop",
"new-cougars-count",
"new-goats-impress",
"new-pianos-mix",
"nice-beans-impress",
"nice-cycles-provide",
"nice-ligers-attend",
"nine-baboons-rule",
"ninety-nails-float",
"old-spiders-travel",
"olive-squids-enjoy",
"orange-maps-tan",
"pink-weeks-relate",
"plenty-apricots-raise",
"plenty-taxis-hear",
"poor-jars-call",
"popular-games-rush",
"popular-mirrors-cross",
"proud-actors-knock",
Expand All @@ -120,13 +142,17 @@
"quick-eagles-watch",
"quick-mails-joke",
"quiet-apes-rhyme",
"quiet-dolls-lick",
"quiet-pots-tickle",
"rare-dryers-count",
"real-gorillas-behave",
"real-phones-scream",
"red-cobras-cry",
"red-lies-lick",
"red-moose-do",
"rich-timers-listen",
"rotten-bats-look",
"rude-needles-matter",
"selfish-bats-run",
"selfish-ways-know",
"shaggy-experts-give",
Expand All @@ -135,6 +161,7 @@
"sharp-crews-watch",
"shiny-ears-care",
"shy-walls-exercise",
"silent-vans-care",
"silver-coins-invent",
"six-roses-flow",
"six-spiders-smoke",
Expand All @@ -143,14 +170,18 @@
"slimy-rockets-pull",
"slow-fishes-reply",
"smooth-bugs-explode",
"smooth-spoons-matter",
"soft-moles-whisper",
"soft-pugs-dream",
"spicy-pumpkins-grab",
"stale-guests-love",
"strange-bottles-impress",
"strange-mice-bake",
"stupid-walls-tie",
"tame-terms-push",
"tender-laws-confess",
"thirty-cats-juggle",
"thirty-chairs-suffer",
"three-lies-do",
"tidy-dolls-walk",
"tidy-keys-push",
Expand All @@ -159,12 +190,18 @@
"tough-cheetahs-clean",
"tricky-crews-agree",
"twenty-chairs-kick",
"twenty-fans-prove",
"twenty-items-drum",
"violet-geckos-shave",
"violet-jokes-stare",
"violet-poems-attend",
"warm-drinks-prove",
"warm-walls-stare",
"weak-falcons-study",
"weak-jars-rhyme",
"wicked-scissors-buy",
"wild-bugs-work",
"wise-hornets-happen",
"wise-spies-shave",
"wise-tomatoes-brake",
"yellow-gifts-sit",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/rude-needles-matter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed display of stepper to break words when text is too long to fit in one line.
5 changes: 5 additions & 0 deletions .changeset/sixty-clouds-cough.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed the Bootstrap ratio helper classes.
5 changes: 5 additions & 0 deletions .changeset/thirty-mirrors-thank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed the Bootstrap `.visually-hidden-focusable` helper class.
6 changes: 6 additions & 0 deletions .changeset/tough-dancers-attend.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
---

Moved the Bootstrap `.visually-hidden` helper class to design system styles and documented it.
5 changes: 5 additions & 0 deletions .changeset/twelve-dodos-breathe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': major
---

Removed the Bootstrap stacks helper classes.
5 changes: 5 additions & 0 deletions .changeset/twenty-fans-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-documentation': minor
---

Added guidelines page on styling shadowdom parts.
6 changes: 6 additions & 0 deletions .changeset/wise-hornets-happen.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
---

Added breakpoint mixin "only" and updated documentation to reflect new breakpoint mixin naming.
4 changes: 2 additions & 2 deletions .github/actions/setup-pnpm/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ runs:
shell: bash
run: |
echo "Installed versions:"
echo "- node: ${{ inputs.node_version || fromJSON(steps.wanted-versions.outputs.result).node }}"
echo "- pnpm: ${{ inputs.pnpm_version || fromJSON(steps.wanted-versions.outputs.result).pnpm }}"
echo "- node: $(node -v)"
echo "- pnpm: $(pnpm -v)"
2 changes: 1 addition & 1 deletion .github/workflows/deploy-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
run: |
url_alias=`echo "preview-${{ steps.build.outputs.id }}" | iconv -t ascii//TRANSLIT | sed -E 's/[~\^]+//g' | sed -E 's/[^a-zA-Z0-9]+/-/g' | sed -E 's/^-+\|-+$//g' | sed -E 's/^-+//g' | sed -E 's/-+$//g' | tr A-Z a-z`
echo "site-url=https://$url_alias--${{ fromJSON(steps.netlify-config.outputs.result).siteUrl }}" >> $GITHUB_OUTPUT
netlify deploy --filter @swisspost/design-system-documentation --build false --dir ${{ steps.build.outputs.folder }} --alias $url_alias
netlify deploy --filter @swisspost/design-system-documentation --dir ${{ steps.build.outputs.folder }} --alias $url_alias
- name: Update preview message
uses: ./.github/actions/preview/message/update
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
NETLIFY_SITE_ID: ${{ fromJSON(steps.netlify-config.outputs.result).siteId }}
run: |
echo "site-url=https://${{ fromJSON(steps.netlify-config.outputs.result).siteUrl }}" >> $GITHUB_OUTPUT
netlify deploy --filter @swisspost/design-system-documentation --build false --dir packages/documentation/storybook-static --prod
netlify deploy --filter @swisspost/design-system-documentation --dir packages/documentation/storybook-static --prod
- name: Create Summary
id: summary
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ jobs:
const hasTag = /^.* --tag v[\d]+$/.test(changesetPublishScript)
if (changesetPublishScript && !hasTag) {
rootPkg.scripts['changeset:publish'] = `${changesetPublishScript} --tag v${release.old.major}`
rootPkg.scripts['changeset:publish'] = `${changesetPublishScript} --tag version-${release.old.major}`
fs.writeFileSync('./package.json', JSON.stringify(rootPkg, null, 2) + '\n')
}
Expand Down Expand Up @@ -402,7 +402,7 @@ jobs:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: |
netlify link --filter @swisspost/design-system-documentation --name ${{ fromJSON(needs.collect-release-data.outputs.release-data).old.siteUrl }}
netlify deploy --filter @swisspost/design-system-documentation --build false --dir packages/documentation/storybook-static --prod
netlify deploy --filter @swisspost/design-system-documentation --dir packages/documentation/storybook-static --prod
- name: Update Changeset config.json
uses: actions/github-script@v7
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,16 +87,16 @@
"tokens:usage": "node ./utilities/token-checker.cjs"
},
"devDependencies": {
"@changesets/cli": "2.27.7",
"start-server-and-test": "2.0.5"
"@changesets/cli": "2.27.11",
"start-server-and-test": "2.0.9"
},
"optionalDependencies": {
"@web-types/lit": "2.0.0-3"
},
"engines": {
"node": "20"
"node": "22"
},
"packageManager": "pnpm@9.6.0",
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": {},
Expand Down
8 changes: 8 additions & 0 deletions packages/components-angular/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @swisspost/design-system-components-angular-workspace

## 1.1.10-next.10

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-components@9.0.0-next.10
- @swisspost/design-system-styles@9.0.0-next.10

## 1.1.10-next.9

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/components-angular/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@swisspost/design-system-components-angular-workspace",
"version": "1.1.10-next.9",
"version": "1.1.10-next.10",
"scripts": {
"start": "ng serve --port 9210",
"build": "ng build components",
Expand All @@ -18,11 +18,11 @@
"@angular/platform-browser": "18.2.13",
"@angular/platform-browser-dynamic": "18.2.13",
"@angular/router": "18.2.13",
"@swisspost/design-system-components": "workspace:9.0.0-next.9",
"@swisspost/design-system-styles": "workspace:9.0.0-next.9",
"@swisspost/design-system-components": "workspace:9.0.0-next.10",
"@swisspost/design-system-styles": "workspace:9.0.0-next.10",
"rxjs": "7.8.1",
"tslib": "2.6.3",
"zone.js": "0.14.8"
"tslib": "2.8.1",
"zone.js": "0.15.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "18.2.12",
Expand All @@ -36,7 +36,7 @@
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"cypress": "13.13.2",
"eslint": "8.57.0",
"eslint": "8.57.1",
"karma": "6.4.4",
"karma-chrome-launcher": "3.2.0",
"karma-coverage": "2.2.1",
Expand Down
7 changes: 7 additions & 0 deletions packages/components-angular/projects/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @swisspost/design-system-components-angular

## 9.0.0-next.10

### Patch Changes

- Updated dependencies:
- @swisspost/design-system-components@9.0.0-next.10

## 9.0.0-next.9

### Patch Changes
Expand Down
Loading

0 comments on commit 0c6175d

Please sign in to comment.