@porsche-design-system/components-angular 4.3.0 → 4.4.0-rc.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,27 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [4.4.0-rc.0] - 2026-07-06
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `Popover` ([#4562](https://github.com/porsche-design-system/porsche-design-system/pull/4562)):
|
|
22
|
+
- Support for controlled and uncontrolled usage: when the `open` prop is omitted the component manages its own
|
|
23
|
+
visibility (uncontrolled), when it is set the consumer owns the open state via a custom trigger projected through
|
|
24
|
+
the named `button` slot (controlled)
|
|
25
|
+
- `open` prop to control the popover's visibility in controlled mode
|
|
26
|
+
- `compact` prop to reduce padding and spacing for a more compact layout, useful in space-constrained interfaces
|
|
27
|
+
- `dismiss` event emitted in controlled mode when the user requests to close the popover via the `Escape` key, an
|
|
28
|
+
outside click, or when keyboard focus leaves the popover (`Tab` / `Shift+Tab`)
|
|
29
|
+
- CSS variables to customize the popover panel: `--p-popover-w`, `--p-popover-h`, `--p-popover-min-w`,
|
|
30
|
+
`--p-popover-min-h`, `--p-popover-max-w`, `--p-popover-max-h`, `--p-popover-px`, `--p-popover-py` and
|
|
31
|
+
`--p-popover-radius`
|
|
32
|
+
|
|
33
|
+
### Changed
|
|
34
|
+
|
|
35
|
+
- `Popover`: Improved visual appearance
|
|
36
|
+
([#4562](https://github.com/porsche-design-system/porsche-design-system/pull/4562))
|
|
37
|
+
|
|
17
38
|
## [4.3.0] - 2026-06-24
|
|
18
39
|
|
|
19
40
|
## [4.3.0-rc.0] - 2026-06-24
|
|
@@ -1725,17 +1725,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImpor
|
|
|
1725
1725
|
|
|
1726
1726
|
class PPopover extends BaseComponent {
|
|
1727
1727
|
aria;
|
|
1728
|
+
compact;
|
|
1728
1729
|
description;
|
|
1729
1730
|
direction;
|
|
1731
|
+
open;
|
|
1732
|
+
dismiss = new EventEmitter();
|
|
1730
1733
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: PPopover, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
1731
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.2", type: PPopover, isStandalone: false, selector: "p-popover,[p-popover]", inputs: { aria: "aria", description: "description", direction: "direction" }, usesInheritance: true, ngImport: i0, template: '<ng-content />', isInline: true });
|
|
1734
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "22.0.2", type: PPopover, isStandalone: false, selector: "p-popover,[p-popover]", inputs: { aria: "aria", compact: "compact", description: "description", direction: "direction", open: "open" }, outputs: { dismiss: "dismiss" }, usesInheritance: true, ngImport: i0, template: '<ng-content />', isInline: true });
|
|
1732
1735
|
}
|
|
1733
1736
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.2", ngImport: i0, type: PPopover, decorators: [{
|
|
1734
1737
|
type: Component,
|
|
1735
1738
|
args: [{
|
|
1736
1739
|
selector: 'p-popover,[p-popover]',
|
|
1737
1740
|
template: '<ng-content />',
|
|
1738
|
-
inputs: ['aria', 'description', 'direction'],
|
|
1741
|
+
inputs: ['aria', 'compact', 'description', 'direction', 'open'],
|
|
1742
|
+
outputs: ['dismiss'],
|
|
1739
1743
|
standalone: false
|
|
1740
1744
|
}]
|
|
1741
1745
|
}] });
|