-
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 3432-helpers-palettes
- Loading branch information
Showing
82 changed files
with
1,582 additions
and
209 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-icons': minor | ||
--- | ||
|
||
Added icon number 2632. | ||
|
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 vertical-align utility |
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-documentation': minor | ||
'@swisspost/design-system-components': minor | ||
--- | ||
|
||
Added new Menu Button components (post-menu-button, post-menu-trigger, and post-menu-item) for creating accessible dropdown menus. |
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,7 @@ | ||
--- | ||
'@swisspost/design-system-documentation': minor | ||
'@swisspost/design-system-components': minor | ||
'@swisspost/design-system-styles': minor | ||
--- | ||
|
||
Added close button web 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
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.3", | ||
"version": "9.0.0-next.4", | ||
"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.3" | ||
"@swisspost/design-system-components": "workspace:9.0.0-next.4" | ||
}, | ||
"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.3", | ||
"version": "9.0.0-next.4", | ||
"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.3" | ||
"@swisspost/design-system-components": "workspace:9.0.0-next.4" | ||
}, | ||
"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
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,22 @@ | ||
const CLOSE_BTN_ID = 'de313349-0c0b-4baf-adc6-cb8c2e36fc1a'; | ||
|
||
describe('Close button', () => { | ||
describe('default', () => { | ||
beforeEach(() => { | ||
cy.getComponent('post-closebutton', CLOSE_BTN_ID); | ||
}); | ||
|
||
it('should render with a close button and a11y label', () => { | ||
cy.get('@closebutton').should('exist'); | ||
cy.get('@closebutton').find('.btn-icon-close').should('exist'); | ||
cy.get('@closebutton').find('span.visually-hidden').should('exist'); | ||
}); | ||
}); | ||
}); | ||
|
||
describe('Accessibility', () => { | ||
it('Has no detectable a11y violations on load for all variants', () => { | ||
cy.getSnapshots('post-closebutton'); | ||
cy.checkA11y('#root-inner'); | ||
}); | ||
}); |
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.