@porsche-design-system/components-angular 4.6.0 → 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 CHANGED
@@ -14,6 +14,38 @@ 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
+
17
49
  ## [4.6.0] - 2026-08-20
18
50
 
19
51
  ## [4.6.0-rc.3] - 2026-08-19