Skip to content

Commit 39b9312

Browse files
authored
Merge branch 'main' into 6537-remove-language-switch-documentation-page
2 parents bc3ed82 + 4709e0a commit 39b9312

File tree

261 files changed

+7218
-1130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

261 files changed

+7218
-1130
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
'@swisspost/design-system-icons': minor
3+
---
4+
5+
Added icons:
6+
7+
- `biohazard` (line & solid): 16, 24, 32, 40, 48 and 64px
8+
- `contentmanagement` (line & solid): 16, 24, 32, 40, 48 and 64px
9+
- `fireworks` (line & solid): 16, 24, 32, 40, 48 and 64px
10+
- `freightletter` (line & solid): 16, 24, 32, 40, 48 and 64px
11+
- `gascylinder` (line & solid): 16, 24, 32, 40, 48 and 64px
12+
- `icondesign` (line & solid): 16, 24, 32, 40, 48 and 64px
13+
- `lighthouse` (line & solid): 16, 24, 32, 40, 48 and 64px
14+
- `paintroll` (line & solid): 16, 24, 32, 40, 48 and 64px
15+
- `paintthinner` (line & solid): 16, 24, 32, 40, 48 and 64px
16+
- `perfume` (line & solid): 16, 24, 32, 40, 48 and 64px
17+
- `radioactive` (line & solid): 16, 24, 32, 40, 48 and 64px
18+
- `spraycan` (line & solid): 16, 24, 32, 40, 48 and 64px
19+
- `stakeholdermanagement` (line & solid): 16, 24, 32, 40, 48 and 64px
20+
- `strategy` (line & solid): 16, 24, 32, 40, 48 and 64px
21+
- `telescope` (line & solid): 16, 24, 32, 40, 48 and 64px

.changeset/big-spiders-lie.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@swisspost/design-system-components': patch
3+
---
4+
5+
Added the CSS variable `--post-tooltip-max-width` that enables configuring the max-width of the `post-tooltip` component.

.changeset/empty-coins-dig.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@swisspost/design-system-styles': major
3+
'@swisspost/design-system-components': minor
4+
'@swisspost/design-system-documentation': patch
5+
---
6+
7+
Removed the HTML stepper component and replaced it with new `post-stepper` and `post-stepper-item` web components.

.changeset/four-terms-cross.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@swisspost/design-system-components': patch
3+
---
4+
5+
Fixed components with missing required properties during hydration phase, when used nested in other components in a SSR environment.

.changeset/light-toys-behave.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@swisspost/design-system-styles': patch
3+
---
4+
5+
Updated form select arrow's color to be visible in dark mode.

.changeset/sad-jeans-flow.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@swisspost/design-system-documentation': patch
3+
'@swisspost/design-system-styles': patch
4+
---
5+
6+
Updated sections to ensure they function correctly when nested inside containers.

.changeset/vast-rivers-agree.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@swisspost/design-system-styles': major
3+
---
4+
5+
Updated section custom properties:
6+
- Renamed `--post-section-container-content-offset``--post-section-content-offset`
7+
- Removed `--post-section-container-width` (use `--post-container-max-width` instead)
8+
- Removed `--post-section-container-padding` (use `--post-container-padding-inline` instead)

.github/actions/artifact-download/action.yaml

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,28 +44,34 @@ runs:
4444
path: ${{ runner.temp }}/artifact_download
4545

4646
- name: Ensure target directory exists
47+
env:
48+
FOLDER: ${{ inputs.folder }}
4749
shell: bash
48-
run: mkdir -p ${{ inputs.folder }}
49-
50+
run: mkdir -p $FOLDER
51+
5052
- name: Unzip artifacts
53+
env:
54+
FOLDER: ${{ inputs.folder }}
5155
shell: bash
52-
run: unzip ${{ runner.temp }}/artifact_download/artifacts.zip -d ${{ inputs.folder }}
56+
run: unzip ${{ runner.temp }}/artifact_download/artifacts.zip -d $FOLDER
5357

5458
- name: Validate artifact contents
59+
env:
60+
FOLDER: ${{ inputs.folder }}
5561
shell: bash
5662
run: |
57-
if [[ ! -f "${{ inputs.folder }}/GHA-EVENT-ID" ]]; then
63+
if [[ ! -f "$FOLDER/GHA-EVENT-ID" ]]; then
5864
echo "Error: Event ID file missing"
5965
exit 1
6066
fi
61-
62-
if [[ ! -f "${{ inputs.folder }}/GHA-EVENT-ACTION" ]]; then
67+
68+
if [[ ! -f "$FOLDER/GHA-EVENT-ACTION" ]]; then
6369
echo "Error: Event Action file missing"
6470
exit 1
6571
fi
66-
72+
6773
# Validate ID is numeric
68-
EVENT_ID=$(cat ${{ inputs.folder }}/GHA-EVENT-ID)
74+
EVENT_ID=$(cat $FOLDER/GHA-EVENT-ID)
6975
if ! [[ "$EVENT_ID" =~ ^[0-9]*$ ]]; then
7076
echo "Error: Invalid Event ID format"
7177
exit 1
@@ -76,14 +82,16 @@ runs:
7682
run: rm -rf ${{ runner.temp }}/artifact_download
7783

7884
- name: Create outputs
85+
env:
86+
FOLDER: ${{ inputs.folder }}
7987
id: build
8088
shell: bash
8189
run: |
82-
EVENT_ID=$(cat ${{ inputs.folder }}/GHA-EVENT-ID)
83-
EVENT_ACTION=$(cat ${{ inputs.folder }}/GHA-EVENT-ACTION)
84-
90+
EVENT_ID=$(cat $FOLDER/GHA-EVENT-ID)
91+
EVENT_ACTION=$(cat $FOLDER/GHA-EVENT-ACTION)
92+
8593
SANITIZED_ID=$(echo "$EVENT_ID" | tr -cd '[:digit:]')
8694
SANITIZED_ACTION=$(echo "$EVENT_ACTION" | tr -cd '[:alnum:]-_')
87-
95+
8896
echo "id=$SANITIZED_ID" >> $GITHUB_OUTPUT
8997
echo "action=$SANITIZED_ACTION" >> $GITHUB_OUTPUT

.github/actions/artifact-upload/action.yaml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,36 @@ runs:
2121
using: composite
2222
steps:
2323
- name: Validate folder exists
24+
env:
25+
FOLDER: ${{ inputs.folder }}
2426
shell: bash
2527
run: |
26-
if [[ ! -d "${{ inputs.folder }}" ]]; then
27-
echo "Error: Folder ${{ inputs.folder }} does not exist"
28+
if [[ ! -d "$FOLDER" ]]; then
29+
echo "Error: Folder $FOLDER does not exist"
2830
exit 1
2931
fi
3032
3133
- name: Save Event Infos into the artifact folder
34+
env:
35+
FOLDER: ${{ inputs.folder }}
3236
shell: bash
3337
run: |
3438
if ! [[ "${{ github.event.number }}" =~ ^[0-9]*$ ]]; then
3539
echo "Warning: Invalid event number format, using default"
36-
echo "0" > ${{ inputs.folder }}/GHA-EVENT-ID
40+
echo "0" > $FOLDER/GHA-EVENT-ID
3741
else
38-
echo "${{ github.event.number }}" > ${{ inputs.folder }}/GHA-EVENT-ID
42+
echo "${{ github.event.number }}" > $FOLDER/GHA-EVENT-ID
3943
fi
40-
44+
4145
ACTION="${{ github.event.action }}"
4246
SANITIZED_ACTION=$(echo "$ACTION" | tr -cd '[:alnum:]-_')
43-
echo "$SANITIZED_ACTION" > ${{ inputs.folder }}/GHA-EVENT-ACTION
47+
echo "$SANITIZED_ACTION" > $FOLDER/GHA-EVENT-ACTION
4448
4549
- name: Zip artifact folder
50+
env:
51+
FOLDER: ${{ inputs.folder }}
4652
shell: bash
47-
run: cd ${{ inputs.folder }} && zip artifacts.zip . -r
53+
run: cd $FOLDER && zip artifacts.zip . -r
4854

4955
- name: Upload artifacts
5056
uses: actions/upload-artifact@6027e3dd177782cd8ab9af838c04fd81a07f1d47

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
"@web-types/lit": "2.0.0-3"
118118
},
119119
"engines": {
120-
"node": "22"
120+
"node": "22||24"
121121
},
122122
"packageManager": "pnpm@10.6.5+sha512.cdf928fca20832cd59ec53826492b7dc25dc524d4370b6b4adbf65803d32efaa6c1c88147c0ae4e8d579a6c9eec715757b50d4fa35eea179d868eada4ed043af",
123123
"pnpm": {

0 commit comments

Comments
 (0)