@porsche-design-system/components-angular 4.6.0-rc.2 → 4.6.0-rc.3

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