Skip to content

Commit 0342026

Browse files
committed
Merge remote-tracking branch 'origin/main' into enable-megadropdown-trigger-shadow-dom
# Conflicts: # packages/nextjs-integration/src/app/ssr/layout.tsx
2 parents c50d56c + 19d3c31 commit 0342026

File tree

194 files changed

+951
-735
lines changed

Some content is hidden

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

194 files changed

+951
-735
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
'@swisspost/design-system-icons': patch
3+
---
4+
5+
Updated icons:
6+
7+
- `brain` (line & solid): 16, 24, 32, 40, 48 and 64px
8+
- `documentonenote` (line & solid): 16, 24, 32, 40, 48 and 64px
9+
- `linkedin` (solid): 16, 24, 32, 40, 48 and 64px
10+
- `mailcarrier` (line): 16, 24, 32, 40, 48 and 64px
11+
- `qrcode` (line & solid): 16, 24, 32, 40, 48 and 64px
12+
- `snapchat` (solid): 16, 24, 32, 40, 48 and 64px
13+
- `streetviewsatellite` (line & solid): 16, 24, 32, 40, 48 and 64px
14+
- `streetviewterrain` (line & solid): 16, 24, 32, 40, 48 and 64px
15+
- `twitterx` (line & solid): 16, 24, 32, 40, 48 and 64px
16+
- `whatsapp` (solid): 16, 24, 32, 40, 48 and 64px
17+
- `xing` (line & solid): 16, 24, 32, 40, 48 and 64px
18+
- `youtube` (solid): 16, 24, 32, 40, 48 and 64px
19+
- `kununu` (solid): 16, 24, 32, 40, 48 and 64px

.changeset/dark-monkeys-shave.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@swisspost/design-system-components': major
3+
'@swisspost/design-system-documentation': patch
4+
---
5+
6+
Renamed `post-tabs` parts to avoid naming confusions with other components.
7+
8+
- `::part(tabs)` is now `::part(post-tabs)`.
9+
- `::part(content)` is now `::part(post-tabs-content)`.

.changeset/free-lamps-create.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@swisspost/design-system-components': major
3+
'@swisspost/design-system-documentation': patch
4+
---
5+
6+
Added a required `caption` property to the `post-mainnavigation` component for the accessible name of the navigation landmark.

.changeset/long-aliens-act.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@swisspost/design-system-documentation': patch
3+
---
4+
5+
Prevented JSON parsing errors by safely handling legacy `devModeEnabled` values in local storage.

.changeset/purple-carpets-laugh.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@swisspost/design-system-components': major
3+
'@swisspost/design-system-documentation': patch
4+
---
5+
6+
Renamed `post-menu` parts to avoid naming confusions with other components.
7+
8+
- `::part(menu)` is now `::part(post-menu)`.

.github/ISSUE_TEMPLATE/3-component-base.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/ISSUE_TEMPLATE/4-component-design.md renamed to .github/ISSUE_TEMPLATE/3-component-design.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
name: Component - Design
2+
name: '[subtask] Design'
33
about: Sub-issue to define the design of a component.
4-
title: '[design] componentnamehere'
4+
title: '[design] component_name_here'
55
labels: '🎨 figma'
66
assignees: ''
7-
87
---
98

109
### 📝 Description
@@ -19,6 +18,13 @@ assignees: ''
1918

2019
<!-- Add any required tasks not listed, remove any unnecessary tasks -->
2120

21+
#### Design
22+
2223
- [ ] Compo design according to [WIKIT](https://wikit.post.ch/display/CW/Building+a+component)
24+
- [ ] Design review (by design peer)
2325
- [ ] Update dependencies
24-
- [ ] Design review
26+
27+
#### Tokens
28+
29+
- [ ] Propose token names (in base issue)
30+
- [ ] Token proposal review with Design and Development
Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
name: Component - Design Docs
2+
name: '[subtask] Design Docs'
33
about: Sub-issue to define the specifications and examples of a component in the documentation.
4-
title: '[design-documentation] componentnamehere'
4+
title: '[design-documentation] component_name_here'
55
labels: '🎨 figma'
66
assignees: ''
7-
87
---
98

109
### 📝 Description
@@ -19,13 +18,6 @@ assignees: ''
1918

2019
<!-- Add any required tasks not listed, remove any unnecessary tasks -->
2120

22-
**Before tokenization**
23-
2421
- [ ] Overview and usage
2522
- [ ] Technical documentation
2623
- [ ] Documentation review (content correctness, understandability, gaps)
27-
28-
**After tokenization**
29-
30-
- [ ] Add and test component to layout examples
31-
- [ ] Add component to Table of contents
Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,15 @@
11
---
2-
name: Component - Tokens
2+
name: '[subtask] Tokens'
33
about: Sub-issue to create design tokens for a component.
4-
title: '[tokens] componentnamehere'
4+
title: '[tokens] component_name_here'
55
labels: 'needs: design, 🔮 tokens'
66
assignees: ''
7-
87
---
98

109
### 📃 Tasks
1110

1211
<!-- Add any required tasks not listed, remove any unnecessary tasks -->
1312

14-
#### Proposal
15-
16-
- [ ] Propose token names (in base issue)
17-
- [ ] Token proposal review with Design and Development
18-
19-
#### Implementation
20-
21-
- [ ] Implement tokens in Token Studio
13+
- [ ] Create tokens in Token Studio
2214
- [ ] Add tokens to figma component
2315
- [ ] Push new tokens to tokens branch in GitHub

.github/ISSUE_TEMPLATE/7-component-html-css.md renamed to .github/ISSUE_TEMPLATE/6-component-html-css.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,39 @@
11
---
2-
name: Component - HTML/CSS
2+
name: '[subtask] HTML/CSS'
33
about: Sub-issue to implement an HTML/CSS component in the styles package.
4-
title: '[html/css] componentnamehere'
4+
title: '[html/css] component_name_here'
55
labels: 'needs: tokens, 📦 styles'
66
assignees: ''
7-
87
---
98

109
### 📝 Description
10+
1111
<!-- Detailed description of the component and a link to the design -->
1212

1313
### ♿ Accessibility
14+
1415
<!-- List accessibility considerations such as ARIA attributes, focus states, and color contrast -->
1516

1617
### ⚙️ Requirements
18+
1719
<!-- List technical requirements like responsive behaviour, animations, interactions, ... -->
1820

1921
### 🧪 Testing
22+
2023
<!-- Describe how to manually test or what automated tests are required -->
2124

2225
### 💻 Proposed implementation
26+
2327
<!-- If available, propose an implementation or hints that help with the implementation -->
2428

2529
### 🔗 References
30+
2631
<!-- If available reference to existing implementations in other Design Systems -->
2732

2833
### 📃 Tasks
34+
2935
<!-- Add any required tasks not listed, remove any unnecessary tasks -->
36+
3037
- [ ] Implement styles according to design
3138
- [ ] Create storybook documentation
3239
- [ ] Add visual regression tests

0 commit comments

Comments
 (0)