@porsche-design-system/components-angular 3.15.0-rc.0 → 3.15.0-rc.1
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 +9 -0
- package/esm2022/lib/components/accordion.wrapper.mjs +3 -3
- package/esm2022/lib/components/banner.wrapper.mjs +3 -3
- package/esm2022/lib/components/button-group.wrapper.mjs +3 -3
- package/esm2022/lib/components/button-pure.wrapper.mjs +3 -3
- package/esm2022/lib/components/button-tile.wrapper.mjs +3 -3
- package/esm2022/lib/components/button.wrapper.mjs +3 -3
- package/esm2022/lib/components/carousel.wrapper.mjs +3 -3
- package/esm2022/lib/components/checkbox-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/content-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/crest.wrapper.mjs +3 -3
- package/esm2022/lib/components/display.wrapper.mjs +3 -3
- package/esm2022/lib/components/divider.wrapper.mjs +3 -3
- package/esm2022/lib/components/fieldset-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/fieldset.wrapper.mjs +3 -3
- package/esm2022/lib/components/flex-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/flex.wrapper.mjs +3 -3
- package/esm2022/lib/components/flyout-navigation-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/flyout-navigation.wrapper.mjs +3 -3
- package/esm2022/lib/components/flyout.wrapper.mjs +3 -3
- package/esm2022/lib/components/grid-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/grid.wrapper.mjs +3 -3
- package/esm2022/lib/components/heading.wrapper.mjs +3 -3
- package/esm2022/lib/components/headline.wrapper.mjs +3 -3
- package/esm2022/lib/components/icon.wrapper.mjs +3 -3
- package/esm2022/lib/components/inline-notification.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-pure.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-social.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-tile-model-signature.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-tile-product.wrapper.mjs +3 -3
- package/esm2022/lib/components/link-tile.wrapper.mjs +3 -3
- package/esm2022/lib/components/link.wrapper.mjs +3 -3
- package/esm2022/lib/components/marque.wrapper.mjs +3 -3
- package/esm2022/lib/components/modal.wrapper.mjs +3 -3
- package/esm2022/lib/components/model-signature.wrapper.mjs +3 -3
- package/esm2022/lib/components/multi-select-option.wrapper.mjs +3 -3
- package/esm2022/lib/components/multi-select.wrapper.mjs +3 -3
- package/esm2022/lib/components/pagination.wrapper.mjs +3 -3
- package/esm2022/lib/components/pin-code.wrapper.mjs +3 -3
- package/esm2022/lib/components/popover.wrapper.mjs +3 -3
- package/esm2022/lib/components/radio-button-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/scroller.wrapper.mjs +3 -3
- package/esm2022/lib/components/segmented-control-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/segmented-control.wrapper.mjs +3 -3
- package/esm2022/lib/components/select-option.wrapper.mjs +3 -3
- package/esm2022/lib/components/select-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/select.wrapper.mjs +3 -3
- package/esm2022/lib/components/spinner.wrapper.mjs +3 -3
- package/esm2022/lib/components/stepper-horizontal-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/stepper-horizontal.wrapper.mjs +3 -3
- package/esm2022/lib/components/switch.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-body.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-cell.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-head-cell.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-head-row.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-head.wrapper.mjs +3 -3
- package/esm2022/lib/components/table-row.wrapper.mjs +3 -3
- package/esm2022/lib/components/table.wrapper.mjs +3 -3
- package/esm2022/lib/components/tabs-bar.wrapper.mjs +3 -3
- package/esm2022/lib/components/tabs-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/tabs.wrapper.mjs +3 -3
- package/esm2022/lib/components/tag-dismissible.wrapper.mjs +3 -3
- package/esm2022/lib/components/tag.wrapper.mjs +3 -3
- package/esm2022/lib/components/text-field-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/text-list-item.wrapper.mjs +3 -3
- package/esm2022/lib/components/text-list.wrapper.mjs +3 -3
- package/esm2022/lib/components/text.wrapper.mjs +3 -3
- package/esm2022/lib/components/textarea-wrapper.wrapper.mjs +3 -3
- package/esm2022/lib/components/toast.wrapper.mjs +3 -3
- package/esm2022/lib/components/wordmark.wrapper.mjs +3 -3
- package/esm2022/porsche-design-system.module.mjs +4 -4
- package/esm2022/toast-manager.mjs +3 -3
- package/esm2022/utils.mjs +6 -6
- package/fesm2022/porsche-design-system-components-angular.mjs +220 -220
- package/package.json +2 -2
|
@@ -3,10 +3,10 @@ import { BaseComponentWithTheme } from '../../utils';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export class PToast extends BaseComponentWithTheme {
|
|
5
5
|
theme;
|
|
6
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
7
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
6
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: PToast, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
7
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.3", type: PToast, selector: "p-toast,[p-toast]", inputs: { theme: "theme" }, usesInheritance: true, ngImport: i0, template: '<ng-content />', isInline: true });
|
|
8
8
|
}
|
|
9
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
9
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: PToast, decorators: [{
|
|
10
10
|
type: Component,
|
|
11
11
|
args: [{
|
|
12
12
|
selector: 'p-toast,[p-toast]',
|
|
@@ -7,10 +7,10 @@ export class PWordmark extends BaseComponentWithTheme {
|
|
|
7
7
|
size;
|
|
8
8
|
target;
|
|
9
9
|
theme;
|
|
10
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
11
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
10
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: PWordmark, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
11
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.3", type: PWordmark, selector: "p-wordmark,[p-wordmark]", inputs: { aria: "aria", href: "href", size: "size", target: "target", theme: "theme" }, usesInheritance: true, ngImport: i0, template: '<ng-content />', isInline: true });
|
|
12
12
|
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: PWordmark, decorators: [{
|
|
14
14
|
type: Component,
|
|
15
15
|
args: [{
|
|
16
16
|
selector: 'p-wordmark,[p-wordmark]',
|
|
@@ -97,16 +97,16 @@ export class PorscheDesignSystemModule {
|
|
|
97
97
|
],
|
|
98
98
|
};
|
|
99
99
|
}
|
|
100
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
101
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.
|
|
102
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.
|
|
100
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: PorscheDesignSystemModule, deps: [{ token: DefaultConfig, optional: true }], target: i0.ɵɵFactoryTarget.NgModule });
|
|
101
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.3", ngImport: i0, type: PorscheDesignSystemModule, declarations: [i1.PAccordion, i2.PBanner, i3.PButton, i4.PButtonGroup, i5.PButtonPure, i6.PButtonTile, i7.PCarousel, i8.PCheckboxWrapper, i9.PContentWrapper, i10.PCrest, i11.PDisplay, i12.PDivider, i13.PFieldset, i14.PFieldsetWrapper, i15.PFlex, i16.PFlexItem, i17.PFlyout, i18.PFlyoutNavigation, i19.PFlyoutNavigationItem, i20.PGrid, i21.PGridItem, i22.PHeading, i23.PHeadline, i24.PIcon, i25.PInlineNotification, i26.PLink, i27.PLinkPure, i28.PLinkSocial, i29.PLinkTile, i30.PLinkTileModelSignature, i31.PLinkTileProduct, i32.PMarque, i33.PModal, i34.PModelSignature, i35.PMultiSelect, i36.PMultiSelectOption, i37.PPagination, i38.PPinCode, i39.PPopover, i40.PRadioButtonWrapper, i41.PScroller, i42.PSegmentedControl, i43.PSegmentedControlItem, i44.PSelect, i45.PSelectOption, i46.PSelectWrapper, i47.PSpinner, i48.PStepperHorizontal, i49.PStepperHorizontalItem, i50.PSwitch, i51.PTable, i52.PTableBody, i53.PTableCell, i54.PTableHead, i55.PTableHeadCell, i56.PTableHeadRow, i57.PTableRow, i58.PTabs, i59.PTabsBar, i60.PTabsItem, i61.PTag, i62.PTagDismissible, i63.PText, i64.PTextFieldWrapper, i65.PTextList, i66.PTextListItem, i67.PTextareaWrapper, i68.PToast, i69.PWordmark], exports: [i1.PAccordion, i2.PBanner, i3.PButton, i4.PButtonGroup, i5.PButtonPure, i6.PButtonTile, i7.PCarousel, i8.PCheckboxWrapper, i9.PContentWrapper, i10.PCrest, i11.PDisplay, i12.PDivider, i13.PFieldset, i14.PFieldsetWrapper, i15.PFlex, i16.PFlexItem, i17.PFlyout, i18.PFlyoutNavigation, i19.PFlyoutNavigationItem, i20.PGrid, i21.PGridItem, i22.PHeading, i23.PHeadline, i24.PIcon, i25.PInlineNotification, i26.PLink, i27.PLinkPure, i28.PLinkSocial, i29.PLinkTile, i30.PLinkTileModelSignature, i31.PLinkTileProduct, i32.PMarque, i33.PModal, i34.PModelSignature, i35.PMultiSelect, i36.PMultiSelectOption, i37.PPagination, i38.PPinCode, i39.PPopover, i40.PRadioButtonWrapper, i41.PScroller, i42.PSegmentedControl, i43.PSegmentedControlItem, i44.PSelect, i45.PSelectOption, i46.PSelectWrapper, i47.PSpinner, i48.PStepperHorizontal, i49.PStepperHorizontalItem, i50.PSwitch, i51.PTable, i52.PTableBody, i53.PTableCell, i54.PTableHead, i55.PTableHeadCell, i56.PTableHeadRow, i57.PTableRow, i58.PTabs, i59.PTabsBar, i60.PTabsItem, i61.PTag, i62.PTagDismissible, i63.PText, i64.PTextFieldWrapper, i65.PTextList, i66.PTextListItem, i67.PTextareaWrapper, i68.PToast, i69.PWordmark] });
|
|
102
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: PorscheDesignSystemModule, providers: [
|
|
103
103
|
{
|
|
104
104
|
provide: THEME_TOKEN,
|
|
105
105
|
useValue: new BehaviorSubject('light'),
|
|
106
106
|
},
|
|
107
107
|
] });
|
|
108
108
|
}
|
|
109
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
109
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: PorscheDesignSystemModule, decorators: [{
|
|
110
110
|
type: NgModule,
|
|
111
111
|
args: [{
|
|
112
112
|
declarations: DECLARATIONS,
|
|
@@ -5,10 +5,10 @@ export class ToastManager {
|
|
|
5
5
|
const toast = document.body.querySelector('p-toast,[p-toast]');
|
|
6
6
|
customElements.whenDefined(toast.tagName.toLowerCase()).then(() => toast.addMessage(message));
|
|
7
7
|
}
|
|
8
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
9
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
|
8
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ToastManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
9
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ToastManager, providedIn: 'root' });
|
|
10
10
|
}
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
11
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ToastManager, decorators: [{
|
|
12
12
|
type: Injectable,
|
|
13
13
|
args: [{
|
|
14
14
|
providedIn: 'root',
|
package/esm2022/utils.mjs
CHANGED
|
@@ -12,10 +12,10 @@ export class BaseComponent {
|
|
|
12
12
|
this.el[prop] = props[prop].currentValue;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
16
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
15
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: BaseComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.3", type: BaseComponent, selector: "ng-component", usesOnChanges: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
17
17
|
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: BaseComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{
|
|
21
21
|
template: '',
|
|
@@ -32,10 +32,10 @@ export class BaseComponentWithTheme extends BaseComponent {
|
|
|
32
32
|
// https://rafaelneto.dev/en/blog/unsubscribing-behaviorsubject-observable-angular/
|
|
33
33
|
this.themeSubscription.unsubscribe();
|
|
34
34
|
}
|
|
35
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
|
36
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.
|
|
35
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: BaseComponentWithTheme, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.3", type: BaseComponentWithTheme, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
37
37
|
}
|
|
38
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
|
38
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: BaseComponentWithTheme, decorators: [{
|
|
39
39
|
type: Component,
|
|
40
40
|
args: [{
|
|
41
41
|
template: '',
|