-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 3207-component_breadcrumb
- Loading branch information
Showing
120 changed files
with
2,210 additions
and
507 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@swisspost/design-system-documentation': minor | ||
'@swisspost/design-system-styles': minor | ||
--- | ||
|
||
Internalized bootstrap position utilities into the design system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@swisspost/design-system-documentation': minor | ||
'@swisspost/design-system-styles': minor | ||
--- | ||
|
||
Implemented simple check list component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@swisspost/design-system-components': patch | ||
--- | ||
|
||
Fix tab isolation in nested `post-tabs` components by scoping tab queries and interactions to the current instance. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@swisspost/design-system-components': patch | ||
--- | ||
|
||
Updated the `post-togglebutton` to function like a real button, including support for keyboard navigation and proper focus styles. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@swisspost/design-system-components': major | ||
'@swisspost/design-system-documentation': patch | ||
--- | ||
|
||
Updated the `post-togglebutton` component to offer greater flexibility. You can now control the visibility of elements within the `post-togglebutton` using the `data-showwhen="toggled"` and `data-showwhen="untoggled"` attributes. Any content without a `data-showwhen` attribute will always be visible, regardless of the toggle state. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@swisspost/design-system-components': patch | ||
--- | ||
|
||
Fixed an issue with the post-list component where the `horizontal` property could not be set programmatically. Also, reduced the specificity of the component's styles to make customization easier. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@swisspost/design-system-documentation': minor | ||
'@swisspost/design-system-styles': minor | ||
--- | ||
|
||
Updated `.btn-link` to look like a regular link and old `.btn-link` is now `.btn-tertiary .px-0`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@swisspost/design-system-documentation': minor | ||
'@swisspost/design-system-components': minor | ||
--- | ||
|
||
Added the `post-language-switch` component that enables users to change the language of a page. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
### | ||
# | ||
# Not used for v9 anymore | ||
# But since workflows run always from the `main` branch we need to keep it for older versions | ||
# | ||
### | ||
|
||
name: Deploy Demo App Preview to Netlify | ||
on: | ||
workflow_run: | ||
workflows: ['Build Demo App'] | ||
types: | ||
- completed | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
if: > | ||
${{ github.event.workflow_run.event == 'pull_request' && | ||
github.event.workflow_run.conclusion == 'success' }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.event.workflow_run.head_branch }} | ||
|
||
- name: Setup | ||
uses: ./.github/actions/setup-pnpm | ||
|
||
- name: Download build artifacts | ||
uses: ./.github/actions/artifact-download | ||
id: build | ||
with: | ||
name: design-system-demo | ||
folder: build-output | ||
|
||
- name: Deploy demo app to netlify | ||
uses: swisspost/design-system/.github/actions/deploy-to-netlify@release/v8 | ||
id: deploy | ||
with: | ||
id: ${{ steps.build.outputs.id }} | ||
netlify_auth_token: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
netlify_site_id: ${{ secrets.NETLIFY_SITE_ID }} | ||
netlify_site_url: swisspost-web-frontend.netlify.app | ||
folder: ${{ steps.build.outputs.folder }} | ||
package_name: '@swisspost/design-system-demo' | ||
|
||
- name: Update preview message | ||
uses: ./.github/actions/preview/message/update | ||
with: | ||
access-token: ${{ secrets.SWISSPOSTDEVS_ACCESS_TOKEN }} | ||
issue-number: ${{ steps.build.outputs.id }} | ||
preview-url: ${{ steps.deploy.outputs.preview-url }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@swisspost/design-system-components-angular", | ||
"version": "9.0.0-next.7", | ||
"version": "9.0.0-next.8", | ||
"description": "Swiss Post Design System - Angular Wrapper Components", | ||
"author": "Swiss Post <[email protected]>", | ||
"license": "Apache-2.0", | ||
|
@@ -19,7 +19,7 @@ | |
}, | ||
"dependencies": { | ||
"tslib": "2.6.3", | ||
"@swisspost/design-system-components": "workspace:9.0.0-next.7" | ||
"@swisspost/design-system-components": "workspace:9.0.0-next.8" | ||
}, | ||
"peerDependencies": { | ||
"@angular/common": "^16.0.0 || ^17.0.0 || ^18.0.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@swisspost/design-system-components-react", | ||
"version": "9.0.0-next.7", | ||
"version": "9.0.0-next.8", | ||
"description": "Design System React Components for easy integration with the React ecosystem", | ||
"author": "Swiss Post <[email protected]>", | ||
"license": "Apache-2.0", | ||
|
@@ -29,7 +29,7 @@ | |
"lint": "eslint src/**/*.ts" | ||
}, | ||
"dependencies": { | ||
"@swisspost/design-system-components": "workspace:9.0.0-next.7" | ||
"@swisspost/design-system-components": "workspace:9.0.0-next.8" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "20.14.14", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.