@porsche-design-system/components-angular 4.6.0-rc.3 → 4.7.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +34 -0
- package/fesm2022/porsche-design-system-components-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/skills/pds-knowledge-angular/SKILL.md +2 -2
- package/skills/pds-knowledge-angular/references/components/p-button/examples/AiDropShadow.ts +33 -0
- package/skills/pds-knowledge-angular/references/components/p-button/examples/AiGradientGlow.ts +93 -0
- package/skills/pds-knowledge-angular/references/components/p-button/p-button.md +64 -2
- package/skills/pds-knowledge-angular/references/components/p-button-pure/p-button-pure.md +1 -1
- package/skills/pds-knowledge-angular/references/components/p-button-tile/p-button-tile.md +1 -1
- package/skills/pds-knowledge-angular/references/components/p-icon/examples/Overview.ts +2 -0
- package/skills/pds-knowledge-angular/references/components/p-icon/p-icon.md +1 -1
- package/skills/pds-knowledge-angular/references/components/p-inline-notification/p-inline-notification.md +1 -1
- package/skills/pds-knowledge-angular/references/components/p-link/p-link.md +12 -1
- package/skills/pds-knowledge-angular/references/components/p-link-pure/p-link-pure.md +1 -1
- package/skills/pds-knowledge-angular/references/components/p-segmented-control/p-segmented-control.md +1 -1
- package/skills/pds-knowledge-angular/references/components/p-tag/p-tag.md +1 -1
- package/skills/pds-knowledge-angular/references/icons.md +1 -1
- package/types/porsche-design-system-components-angular.d.ts +14 -9
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,40 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [4.7.0-beta.0] - 2026-08-27
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- **Shadow DOM**: shadow roots are now attached with `clonable: true`, so `cloneNode(true)` on a component returns a
|
|
22
|
+
clone that carries its Shadow DOM content instead of an empty shadow root.
|
|
23
|
+
([#4692](https://github.com/porsche-design-system/porsche-design-system/pull/4692))
|
|
24
|
+
- `Button`: `destructive` variant for actions with irreversible consequences, e.g. deleting data
|
|
25
|
+
([#4693](https://github.com/porsche-design-system/porsche-design-system/pull/4693))
|
|
26
|
+
- `Button`, `Link`: `--p-button-bg`, `--p-button-fg`, `--p-link-bg` and `--p-link-fg` CSS variables to override the
|
|
27
|
+
background and foreground color in every state, including hover. You are responsible for ensuring sufficient contrast
|
|
28
|
+
and brand compliance. ([#4693](https://github.com/porsche-design-system/porsche-design-system/pull/4693))
|
|
29
|
+
- `Button`, `Link`: `--p-button-px`, `--p-button-py`, `--p-button-gap`, `--p-button-radius`, `--p-link-px`,
|
|
30
|
+
`--p-link-py`, `--p-link-gap` and `--p-link-radius` CSS variables to override horizontal padding, vertical padding,
|
|
31
|
+
the gap between label and icon as well as the border radius. You are responsible for ensuring a minimum target size of
|
|
32
|
+
24px by 24px and brand compliance. ([#4693](https://github.com/porsche-design-system/porsche-design-system/pull/4693))
|
|
33
|
+
- `Icon`: `ai-chat` icon ([#4693](https://github.com/porsche-design-system/porsche-design-system/pull/4693))
|
|
34
|
+
- `Button`: (🧪Experimental) CSS custom state `loading` which can be targeted with the `:state()` pseudo-class, e.g.
|
|
35
|
+
`p-button:state(loading) { --p-button-bg: deeppink; }`. Browsers without support for `CustomStateSet` simply ignore
|
|
36
|
+
these rules. Be aware that custom states can't be expressed during server side rendering, they are only applied once
|
|
37
|
+
the component is hydrated on the client.
|
|
38
|
+
([#4693](https://github.com/porsche-design-system/porsche-design-system/pull/4693))
|
|
39
|
+
|
|
40
|
+
### Fixed
|
|
41
|
+
|
|
42
|
+
- `Carousel`: slides were dropped or left over when the amount of slides changed without also changing the amount of
|
|
43
|
+
pages, for example going from 1 to 2 slides at `slides-per-page="3"`. An added slide was never rendered and a removed
|
|
44
|
+
slide left an empty slot and a surplus pagination bullet behind.
|
|
45
|
+
([#4686](https://github.com/porsche-design-system/porsche-design-system/pull/4686))
|
|
46
|
+
- `Carousel`: changing `slides-per-page` at runtime had no effect. Slide widths and the pagination kept the value the
|
|
47
|
+
carousel was initialised with. ([#4686](https://github.com/porsche-design-system/porsche-design-system/pull/4686))
|
|
48
|
+
|
|
49
|
+
## [4.6.0] - 2026-08-20
|
|
50
|
+
|
|
17
51
|
## [4.6.0-rc.3] - 2026-08-19
|
|
18
52
|
|
|
19
53
|
### Added
|