-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,49 @@ | ||
# @swisspost/design-system-components | ||
|
||
## 2.0.0 | ||
|
||
### Major Changes | ||
|
||
- Restricted `post-collapsible` to collapse behaviour only. The component remains unchanged when used with external controls, however, it no longer has a `header` slot. | ||
|
||
To get the same look and feel as in the previous version, use the `post-accordion-item` component instead. | ||
|
||
Before: | ||
|
||
```html | ||
<post-collapsible collapsed="" headingLevel="6"> | ||
<span slot="header">Titulum</span> | ||
<p>Contentus momentus vero siteos et accusam iretea et justo.</p> | ||
</post-collapsible> | ||
``` | ||
|
||
After: | ||
|
||
````html | ||
<post-accordion-item collapsed="" headingLevel="6"> | ||
<span slot="header">Titulum</span> | ||
<p>Contentus momentus vero siteos et accusam iretea et justo.</p> | ||
</post-accordion-item> | ||
``` (by [@alizedebray](https://github.com/alizedebray) with | ||
[#2379](https://github.com/swisspost/design-system/pull/2379)) | ||
```` | ||
|
||
### Minor Changes | ||
|
||
- Created a `post-accordion-item` to use as children for the `post-accordion` component. It replaces the `post-collapsible` component. (by [@alizedebray](https://github.com/alizedebray) with [#2466](https://github.com/swisspost/design-system/pull/2466)) | ||
|
||
- Updated the tooltip `min-height` and `max-width` and added a new property arrow to the tooltip, that defines wheter or not the pointer arrow is displayed. (by [@b1aserlu](https://github.com/b1aserlu) with [#2394](https://github.com/swisspost/design-system/pull/2394)) | ||
|
||
### Patch Changes | ||
|
||
- Update the background color of accordion to be white on any background color other than white. The accordion background remains gray on white backgrounds. (by [@alizedebray](https://github.com/alizedebray) with [#2379](https://github.com/swisspost/design-system/pull/2379)) | ||
|
||
- Added a payload to the `collapseChange` event of the `post-collapsible` component. This payload is a boolean: `true` if the collapsible was opened, `false` if it was closed. (by [@alizedebray](https://github.com/alizedebray) with [#2379](https://github.com/swisspost/design-system/pull/2379)) | ||
|
||
- Updated the post-accordion background to be white on light and gray backgrounds. (by [@alizedebray](https://github.com/alizedebray) with [#2379](https://github.com/swisspost/design-system/pull/2379)) | ||
- Updated dependencies: | ||
- @swisspost/[email protected] | ||
|
||
## 1.7.1 | ||
|
||
### Patch Changes | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@swisspost/design-system-demo", | ||
"version": "7.1.2", | ||
"version": "7.1.3", | ||
"description": "Pattern documentation, code snippets and implementation guidelines for the Design System Styles.", | ||
"author": "Swiss Post <[email protected]>", | ||
"license": "Apache-2.0", | ||
|
@@ -25,8 +25,8 @@ | |
"@ng-bootstrap/ng-bootstrap": "15.1.2", | ||
"@popperjs/core": "2.11.8", | ||
"@swimlane/ngx-datatable": "20.1.0", | ||
"@swisspost/design-system-intranet-header": "workspace:5.0.6", | ||
"@swisspost/design-system-styles": "workspace:6.5.1", | ||
"@swisspost/design-system-intranet-header": "workspace:5.0.7", | ||
"@swisspost/design-system-styles": "workspace:6.6.0", | ||
"bootstrap": "5.3.2", | ||
"core-js": "3.35.0", | ||
"highlight.js": "11.9.0", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,61 @@ | ||
# @swisspost/design-system-documentation | ||
|
||
## 2.8.0 | ||
|
||
### Minor Changes | ||
|
||
- Added a deprecation message to the badge documentation. (by [@b1aserlu](https://github.com/b1aserlu) with [#2410](https://github.com/swisspost/design-system/pull/2410)) | ||
|
||
- Updated the tooltip `min-height` and `max-width` and added a new property arrow to the tooltip, that defines wheter or not the pointer arrow is displayed. (by [@b1aserlu](https://github.com/b1aserlu) with [#2394](https://github.com/swisspost/design-system/pull/2394)) | ||
|
||
### Patch Changes | ||
|
||
- Cleaned icon component controls from duplicate and null values. (by [@imagoiq](https://github.com/imagoiq) with [#2501](https://github.com/swisspost/design-system/pull/2501)) | ||
|
||
- Created a `post-accordion-item` to use as children for the `post-accordion` component. It replaces the `post-collapsible` component. (by [@alizedebray](https://github.com/alizedebray) with [#2466](https://github.com/swisspost/design-system/pull/2466)) | ||
|
||
- Added autolink to headings to be able to copy anchor link more easily from the documentation. (by [@imagoiq](https://github.com/imagoiq) with [#2467](https://github.com/swisspost/design-system/pull/2467)) | ||
|
||
- Updated copyright year to 2024 in the footer of all documentation. (by [@imagoiq](https://github.com/imagoiq) with [#2491](https://github.com/swisspost/design-system/pull/2491)) | ||
|
||
- Removed intranet-header nesting in sidebar. (by [@imagoiq](https://github.com/imagoiq) with [#2492](https://github.com/swisspost/design-system/pull/2492)) | ||
|
||
- Added additional information for setting up projects with content security policies that are using the `<post-icon>` component. (by [@b1aserlu](https://github.com/b1aserlu) with [#2406](https://github.com/swisspost/design-system/pull/2406)) | ||
|
||
- Restricted `post-collapsible` to collapse behaviour only. The component remains unchanged when used with external controls, however, it no longer has a `header` slot. | ||
|
||
To get the same look and feel as in the previous version, use the `post-accordion-item` component instead. | ||
|
||
Before: | ||
|
||
```html | ||
<post-collapsible collapsed="" headingLevel="6"> | ||
<span slot="header">Titulum</span> | ||
<p>Contentus momentus vero siteos et accusam iretea et justo.</p> | ||
</post-collapsible> | ||
``` | ||
|
||
After: | ||
|
||
````html | ||
<post-accordion-item collapsed="" headingLevel="6"> | ||
<span slot="header">Titulum</span> | ||
<p>Contentus momentus vero siteos et accusam iretea et justo.</p> | ||
</post-accordion-item> | ||
``` (by [@alizedebray](https://github.com/alizedebray) with | ||
[#2379](https://github.com/swisspost/design-system/pull/2379)) | ||
```` | ||
|
||
- Fixed vertical rythmn which was not applied to content inside tab like Alert component. (by [@imagoiq](https://github.com/imagoiq) with [#2497](https://github.com/swisspost/design-system/pull/2497)) | ||
|
||
- Disable floating label when input is type color. (by [@imagoiq](https://github.com/imagoiq) with [#2457](https://github.com/swisspost/design-system/pull/2457)) | ||
- Updated dependencies: | ||
- @swisspost/[email protected] | ||
- @swisspost/[email protected] | ||
- @swisspost/[email protected] | ||
- @swisspost/[email protected] | ||
- @swisspost/[email protected] | ||
|
||
## 2.7.1 | ||
|
||
### Patch Changes | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@swisspost/design-system-documentation", | ||
"version": "2.7.1", | ||
"version": "2.8.0", | ||
"description": "Swiss Post Design System Documentation.", | ||
"author": "Swiss Post <[email protected]>", | ||
"license": "Apache-2.0", | ||
|
@@ -25,11 +25,11 @@ | |
"snapshots": "percy exec -- cypress run --config-file ./cypress.snapshot.config.js --record --key 0995e768-43ec-42bd-a127-ff944a2ad8c9" | ||
}, | ||
"dependencies": { | ||
"@swisspost/design-system-components": "workspace:1.7.1", | ||
"@swisspost/design-system-components-react": "workspace:1.0.25", | ||
"@swisspost/design-system-icons": "workspace:1.0.17", | ||
"@swisspost/design-system-styles": "workspace:6.5.1", | ||
"@swisspost/internet-header": "workspace:1.13.2", | ||
"@swisspost/design-system-components": "workspace:2.0.0", | ||
"@swisspost/design-system-components-react": "workspace:1.0.26", | ||
"@swisspost/design-system-icons": "workspace:1.1.0", | ||
"@swisspost/design-system-styles": "workspace:6.6.0", | ||
"@swisspost/internet-header": "workspace:1.13.3", | ||
"bootstrap": "5.3.2" | ||
}, | ||
"devDependencies": { | ||
|