@porsche-design-system/components-angular 4.6.0-rc.2 → 4.6.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,31 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [4.6.0] - 2026-08-20
18
+
19
+ ## [4.6.0-rc.3] - 2026-08-19
20
+
21
+ ### Added
22
+
23
+ - **Testing**: the `testing` sub-package now provides a `Shadow` counterpart for every Testing Library query, so
24
+ elements rendered inside Shadow DOM can be queried directly. Eight query families (`AltText`, `DisplayValue`,
25
+ `LabelText`, `PlaceholderText`, `Role`, `TestId`, `Text`, `Title`) in six variants each, plus `screen`, `within`,
26
+ `deepQuerySelector` and `deepQuerySelectorAll`. The existing `getByRoleShadowed`, `getByLabelTextShadowed` and
27
+ `getByTextShadowed` helpers remain available.
28
+ ([#4492](https://github.com/porsche-design-system/porsche-design-system/pull/4492))
29
+
30
+ ### Changed
31
+
32
+ - **Testing**: the `testing` sub-package requires a DOM. Importing it where no DOM is available now throws an explicit
33
+ error on import. ([#4492](https://github.com/porsche-design-system/porsche-design-system/pull/4492))
34
+ - `Flyout`, `Modal`, `Sheet`, `Drilldown`: the `dismiss` event now carries a payload identifying how the component was
35
+ closed. The event detail changed from `void` to `{ reason: 'dismiss-button' | 'backdrop' | 'escape' }`, exported as
36
+ `FlyoutDismissEventDetail`, `ModalDismissEventDetail`, `SheetDismissEventDetail` and `DrilldownDismissEventDetail`.
37
+ ([#4675](https://github.com/porsche-design-system/porsche-design-system/pull/4675))
38
+ - `Popover`: the `dismiss` event now carries a payload identifying how the component was closed. The event detail
39
+ changed from `void` to `{ reason: 'outside-click' | 'focus-out' | 'escape' }`, exported as
40
+ `PopoverDismissEventDetail`. ([#4675](https://github.com/porsche-design-system/porsche-design-system/pull/4675))
41
+
17
42
  ## [4.6.0-rc.2] - 2026-08-13
18
43
 
19
44
  ### Added