@porsche-design-system/components-angular 3.0.0-alpha.5 → 3.0.0-alpha.6
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 +149 -20
- package/esm2020/lib/components/accordion.wrapper.mjs +3 -3
- package/esm2020/lib/components/banner.wrapper.mjs +3 -3
- package/esm2020/lib/components/carousel.wrapper.mjs +3 -3
- package/esm2020/lib/components/inline-notification.wrapper.mjs +3 -3
- package/esm2020/lib/components/pagination.wrapper.mjs +3 -3
- package/esm2020/lib/components/segmented-control.wrapper.mjs +3 -3
- package/esm2020/lib/components/stepper-horizontal.wrapper.mjs +3 -3
- package/esm2020/lib/components/switch.wrapper.mjs +3 -3
- package/esm2020/lib/components/table.wrapper.mjs +3 -3
- package/esm2020/lib/components/tabs-bar.wrapper.mjs +3 -3
- package/esm2020/lib/components/tabs.wrapper.mjs +3 -3
- package/esm2020/lib/types.mjs +1 -1
- package/fesm2015/porsche-design-system-components-angular.mjs +22 -22
- package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -1
- package/fesm2020/porsche-design-system-components-angular.mjs +22 -22
- package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -1
- package/lib/components/accordion.wrapper.d.ts +4 -4
- package/lib/components/banner.wrapper.d.ts +4 -1
- package/lib/components/carousel.wrapper.d.ts +4 -4
- package/lib/components/inline-notification.wrapper.d.ts +3 -1
- package/lib/components/pagination.wrapper.d.ts +4 -4
- package/lib/components/segmented-control.wrapper.d.ts +4 -4
- package/lib/components/stepper-horizontal.wrapper.d.ts +4 -4
- package/lib/components/switch.wrapper.d.ts +4 -4
- package/lib/components/table.wrapper.d.ts +4 -4
- package/lib/components/tabs-bar.wrapper.d.ts +4 -4
- package/lib/components/tabs.wrapper.d.ts +4 -4
- package/lib/types.d.ts +20 -19
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { AccordionUpdateEvent, BreakpointCustomizable, AccordionSize, AccordionTag, Theme } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PAccordion {
|
|
5
5
|
protected z: NgZone;
|
|
@@ -11,9 +11,9 @@ export declare class PAccordion {
|
|
|
11
11
|
tag: AccordionTag;
|
|
12
12
|
theme: Theme;
|
|
13
13
|
/** @deprecated */
|
|
14
|
-
accordionChange: EventEmitter<CustomEvent<
|
|
15
|
-
|
|
14
|
+
accordionChange: EventEmitter<CustomEvent<AccordionUpdateEvent>>;
|
|
15
|
+
update: EventEmitter<CustomEvent<AccordionUpdateEvent>>;
|
|
16
16
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PAccordion, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PAccordion, "p-accordion,[p-accordion]", never, { "compact": "compact"; "heading": "heading"; "open": "open"; "size": "size"; "tag": "tag"; "theme": "theme"; }, { "accordionChange": "accordionChange"; "
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PAccordion, "p-accordion,[p-accordion]", never, { "compact": "compact"; "heading": "heading"; "open": "open"; "size": "size"; "tag": "tag"; "theme": "theme"; }, { "accordionChange": "accordionChange"; "update": "update"; }, never, ["*"]>;
|
|
19
19
|
}
|
|
@@ -5,7 +5,10 @@ export declare class PBanner {
|
|
|
5
5
|
protected z: NgZone;
|
|
6
6
|
protected el: HTMLElement;
|
|
7
7
|
description: string;
|
|
8
|
+
dismissButton: boolean;
|
|
8
9
|
heading: string;
|
|
10
|
+
open: boolean;
|
|
11
|
+
/** @deprecated */
|
|
9
12
|
persistent: boolean;
|
|
10
13
|
state: BannerState;
|
|
11
14
|
theme: Theme;
|
|
@@ -14,5 +17,5 @@ export declare class PBanner {
|
|
|
14
17
|
dismiss: EventEmitter<CustomEvent<void>>;
|
|
15
18
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
16
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<PBanner, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PBanner, "p-banner,[p-banner]", never, { "description": "description"; "heading": "heading"; "persistent": "persistent"; "state": "state"; "theme": "theme"; "width": "width"; }, { "dismiss": "dismiss"; }, never, ["*"]>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PBanner, "p-banner,[p-banner]", never, { "description": "description"; "dismissButton": "dismissButton"; "heading": "heading"; "open": "open"; "persistent": "persistent"; "state": "state"; "theme": "theme"; "width": "width"; }, { "dismiss": "dismiss"; }, never, ["*"]>;
|
|
18
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type { CarouselAlignHeader, BreakpointCustomizable, CarouselInternationalization,
|
|
2
|
+
import type { CarouselAlignHeader, BreakpointCustomizable, CarouselInternationalization, CarouselUpdateEvent, Theme, CarouselWidth } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PCarousel {
|
|
5
5
|
protected z: NgZone;
|
|
@@ -19,9 +19,9 @@ export declare class PCarousel {
|
|
|
19
19
|
/** @deprecated */
|
|
20
20
|
wrapContent: boolean;
|
|
21
21
|
/** @deprecated */
|
|
22
|
-
carouselChange: EventEmitter<CustomEvent<
|
|
23
|
-
|
|
22
|
+
carouselChange: EventEmitter<CustomEvent<CarouselUpdateEvent>>;
|
|
23
|
+
update: EventEmitter<CustomEvent<CarouselUpdateEvent>>;
|
|
24
24
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<PCarousel, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PCarousel, "p-carousel,[p-carousel]", never, { "activeSlideIndex": "activeSlideIndex"; "alignHeader": "alignHeader"; "description": "description"; "disablePagination": "disablePagination"; "heading": "heading"; "intl": "intl"; "pagination": "pagination"; "rewind": "rewind"; "slidesPerPage": "slidesPerPage"; "theme": "theme"; "width": "width"; "wrapContent": "wrapContent"; }, { "carouselChange": "carouselChange"; "
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCarousel, "p-carousel,[p-carousel]", never, { "activeSlideIndex": "activeSlideIndex"; "alignHeader": "alignHeader"; "description": "description"; "disablePagination": "disablePagination"; "heading": "heading"; "intl": "intl"; "pagination": "pagination"; "rewind": "rewind"; "slidesPerPage": "slidesPerPage"; "theme": "theme"; "width": "width"; "wrapContent": "wrapContent"; }, { "carouselChange": "carouselChange"; "update": "update"; }, never, ["*"]>;
|
|
27
27
|
}
|
|
@@ -8,7 +8,9 @@ export declare class PInlineNotification {
|
|
|
8
8
|
actionLabel: string;
|
|
9
9
|
actionLoading: boolean;
|
|
10
10
|
description: string;
|
|
11
|
+
dismissButton: boolean;
|
|
11
12
|
heading: string;
|
|
13
|
+
/** @deprecated */
|
|
12
14
|
persistent: boolean;
|
|
13
15
|
state: InlineNotificationState;
|
|
14
16
|
theme: Theme;
|
|
@@ -16,5 +18,5 @@ export declare class PInlineNotification {
|
|
|
16
18
|
dismiss: EventEmitter<CustomEvent<void>>;
|
|
17
19
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
18
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<PInlineNotification, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PInlineNotification, "p-inline-notification,[p-inline-notification]", never, { "actionIcon": "actionIcon"; "actionLabel": "actionLabel"; "actionLoading": "actionLoading"; "description": "description"; "heading": "heading"; "persistent": "persistent"; "state": "state"; "theme": "theme"; }, { "action": "action"; "dismiss": "dismiss"; }, never, ["*"]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PInlineNotification, "p-inline-notification,[p-inline-notification]", never, { "actionIcon": "actionIcon"; "actionLabel": "actionLabel"; "actionLoading": "actionLoading"; "description": "description"; "dismissButton": "dismissButton"; "heading": "heading"; "persistent": "persistent"; "state": "state"; "theme": "theme"; }, { "action": "action"; "dismiss": "dismiss"; }, never, ["*"]>;
|
|
20
22
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type { PaginationInternationalization, BreakpointCustomizable, PaginationMaxNumberOfPageLinks,
|
|
2
|
+
import type { PaginationInternationalization, BreakpointCustomizable, PaginationMaxNumberOfPageLinks, PaginationUpdateEvent, Theme } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PPagination {
|
|
5
5
|
protected z: NgZone;
|
|
@@ -18,10 +18,10 @@ export declare class PPagination {
|
|
|
18
18
|
maxNumberOfPageLinks: BreakpointCustomizable<PaginationMaxNumberOfPageLinks>;
|
|
19
19
|
theme: Theme;
|
|
20
20
|
totalItemsCount: number;
|
|
21
|
-
change: EventEmitter<CustomEvent<PaginationChangeEvent>>;
|
|
22
21
|
/** @deprecated */
|
|
23
|
-
pageChange: EventEmitter<CustomEvent<
|
|
22
|
+
pageChange: EventEmitter<CustomEvent<PaginationUpdateEvent>>;
|
|
23
|
+
update: EventEmitter<CustomEvent<PaginationUpdateEvent>>;
|
|
24
24
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<PPagination, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PPagination, "p-pagination,[p-pagination]", never, { "activePage": "activePage"; "allyLabel": "allyLabel"; "allyLabelNext": "allyLabelNext"; "allyLabelPage": "allyLabelPage"; "allyLabelPrev": "allyLabelPrev"; "intl": "intl"; "itemsPerPage": "itemsPerPage"; "maxNumberOfPageLinks": "maxNumberOfPageLinks"; "theme": "theme"; "totalItemsCount": "totalItemsCount"; }, { "
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PPagination, "p-pagination,[p-pagination]", never, { "activePage": "activePage"; "allyLabel": "allyLabel"; "allyLabelNext": "allyLabelNext"; "allyLabelPage": "allyLabelPage"; "allyLabelPrev": "allyLabelPrev"; "intl": "intl"; "itemsPerPage": "itemsPerPage"; "maxNumberOfPageLinks": "maxNumberOfPageLinks"; "theme": "theme"; "totalItemsCount": "totalItemsCount"; }, { "pageChange": "pageChange"; "update": "update"; }, never, ["*"]>;
|
|
27
27
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type { SegmentedControlBackgroundColor,
|
|
2
|
+
import type { SegmentedControlBackgroundColor, SegmentedControlUpdateEvent, Theme } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PSegmentedControl {
|
|
5
5
|
protected z: NgZone;
|
|
@@ -8,10 +8,10 @@ export declare class PSegmentedControl {
|
|
|
8
8
|
backgroundColor: SegmentedControlBackgroundColor;
|
|
9
9
|
theme: Theme;
|
|
10
10
|
value: string | number;
|
|
11
|
-
change: EventEmitter<CustomEvent<SegmentedControlChangeEvent>>;
|
|
12
11
|
/** @deprecated */
|
|
13
|
-
segmentedControlChange: EventEmitter<CustomEvent<
|
|
12
|
+
segmentedControlChange: EventEmitter<CustomEvent<SegmentedControlUpdateEvent>>;
|
|
13
|
+
update: EventEmitter<CustomEvent<SegmentedControlUpdateEvent>>;
|
|
14
14
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<PSegmentedControl, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PSegmentedControl, "p-segmented-control,[p-segmented-control]", never, { "backgroundColor": "backgroundColor"; "theme": "theme"; "value": "value"; }, { "
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PSegmentedControl, "p-segmented-control,[p-segmented-control]", never, { "backgroundColor": "backgroundColor"; "theme": "theme"; "value": "value"; }, { "segmentedControlChange": "segmentedControlChange"; "update": "update"; }, never, ["*"]>;
|
|
17
17
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { StepperHorizontalUpdateEvent, BreakpointCustomizable, StepperHorizontalSize, Theme } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PStepperHorizontal {
|
|
5
5
|
protected z: NgZone;
|
|
6
6
|
protected el: HTMLElement;
|
|
7
7
|
size: BreakpointCustomizable<StepperHorizontalSize>;
|
|
8
8
|
theme: Theme;
|
|
9
|
-
change: EventEmitter<CustomEvent<StepperHorizontalChangeEvent>>;
|
|
10
9
|
/** @deprecated */
|
|
11
|
-
stepChange: EventEmitter<CustomEvent<
|
|
10
|
+
stepChange: EventEmitter<CustomEvent<StepperHorizontalUpdateEvent>>;
|
|
11
|
+
update: EventEmitter<CustomEvent<StepperHorizontalUpdateEvent>>;
|
|
12
12
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PStepperHorizontal, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PStepperHorizontal, "p-stepper-horizontal,[p-stepper-horizontal]", never, { "size": "size"; "theme": "theme"; }, { "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PStepperHorizontal, "p-stepper-horizontal,[p-stepper-horizontal]", never, { "size": "size"; "theme": "theme"; }, { "stepChange": "stepChange"; "update": "update"; }, never, ["*"]>;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type { BreakpointCustomizable, SwitchAlignLabel,
|
|
2
|
+
import type { BreakpointCustomizable, SwitchAlignLabel, SwitchUpdateEvent, Theme } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PSwitch {
|
|
5
5
|
protected z: NgZone;
|
|
@@ -11,10 +11,10 @@ export declare class PSwitch {
|
|
|
11
11
|
loading: boolean;
|
|
12
12
|
stretch: BreakpointCustomizable<boolean>;
|
|
13
13
|
theme: Theme;
|
|
14
|
-
change: EventEmitter<CustomEvent<SwitchChangeEvent>>;
|
|
15
14
|
/** @deprecated */
|
|
16
|
-
switchChange: EventEmitter<CustomEvent<
|
|
15
|
+
switchChange: EventEmitter<CustomEvent<SwitchUpdateEvent>>;
|
|
16
|
+
update: EventEmitter<CustomEvent<SwitchUpdateEvent>>;
|
|
17
17
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<PSwitch, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PSwitch, "p-switch,[p-switch]", never, { "alignLabel": "alignLabel"; "checked": "checked"; "disabled": "disabled"; "hideLabel": "hideLabel"; "loading": "loading"; "stretch": "stretch"; "theme": "theme"; }, { "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PSwitch, "p-switch,[p-switch]", never, { "alignLabel": "alignLabel"; "checked": "checked"; "disabled": "disabled"; "hideLabel": "hideLabel"; "loading": "loading"; "stretch": "stretch"; "theme": "theme"; }, { "switchChange": "switchChange"; "update": "update"; }, never, ["*"]>;
|
|
20
20
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type {
|
|
2
|
+
import type { TableUpdateEvent, Theme } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PTable {
|
|
5
5
|
protected z: NgZone;
|
|
6
6
|
protected el: HTMLElement;
|
|
7
7
|
caption: string;
|
|
8
8
|
theme: Theme;
|
|
9
|
-
change: EventEmitter<CustomEvent<TableChangeEvent>>;
|
|
10
9
|
/** @deprecated */
|
|
11
|
-
sortingChange: EventEmitter<CustomEvent<
|
|
10
|
+
sortingChange: EventEmitter<CustomEvent<TableUpdateEvent>>;
|
|
11
|
+
update: EventEmitter<CustomEvent<TableUpdateEvent>>;
|
|
12
12
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PTable, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PTable, "p-table,[p-table]", never, { "caption": "caption"; "theme": "theme"; }, { "
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTable, "p-table,[p-table]", never, { "caption": "caption"; "theme": "theme"; }, { "sortingChange": "sortingChange"; "update": "update"; }, never, ["*"]>;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type { TabsBarGradientColor, TabsBarGradientColorScheme,
|
|
2
|
+
import type { TabsBarGradientColor, TabsBarGradientColorScheme, TabsBarUpdateEvent, BreakpointCustomizable, TabsBarSize, Theme, TabsBarWeight } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PTabsBar {
|
|
5
5
|
protected z: NgZone;
|
|
@@ -11,10 +11,10 @@ export declare class PTabsBar {
|
|
|
11
11
|
size: BreakpointCustomizable<TabsBarSize>;
|
|
12
12
|
theme: Theme;
|
|
13
13
|
weight: TabsBarWeight;
|
|
14
|
-
change: EventEmitter<CustomEvent<TabsBarChangeEvent>>;
|
|
15
14
|
/** @deprecated */
|
|
16
|
-
tabChange: EventEmitter<CustomEvent<
|
|
15
|
+
tabChange: EventEmitter<CustomEvent<TabsBarUpdateEvent>>;
|
|
16
|
+
update: EventEmitter<CustomEvent<TabsBarUpdateEvent>>;
|
|
17
17
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<PTabsBar, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PTabsBar, "p-tabs-bar,[p-tabs-bar]", never, { "activeTabIndex": "activeTabIndex"; "gradientColor": "gradientColor"; "gradientColorScheme": "gradientColorScheme"; "size": "size"; "theme": "theme"; "weight": "weight"; }, { "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTabsBar, "p-tabs-bar,[p-tabs-bar]", never, { "activeTabIndex": "activeTabIndex"; "gradientColor": "gradientColor"; "gradientColorScheme": "gradientColorScheme"; "size": "size"; "theme": "theme"; "weight": "weight"; }, { "tabChange": "tabChange"; "update": "update"; }, never, ["*"]>;
|
|
20
20
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type { TabsGradientColor, TabsGradientColorScheme,
|
|
2
|
+
import type { TabsGradientColor, TabsGradientColorScheme, TabsUpdateEvent, BreakpointCustomizable, TabsSize, Theme, TabsWeight } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class PTabs {
|
|
5
5
|
protected z: NgZone;
|
|
@@ -11,10 +11,10 @@ export declare class PTabs {
|
|
|
11
11
|
size: BreakpointCustomizable<TabsSize>;
|
|
12
12
|
theme: Theme;
|
|
13
13
|
weight: TabsWeight;
|
|
14
|
-
change: EventEmitter<CustomEvent<TabsChangeEvent>>;
|
|
15
14
|
/** @deprecated */
|
|
16
|
-
tabChange: EventEmitter<CustomEvent<
|
|
15
|
+
tabChange: EventEmitter<CustomEvent<TabsUpdateEvent>>;
|
|
16
|
+
update: EventEmitter<CustomEvent<TabsUpdateEvent>>;
|
|
17
17
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<PTabs, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PTabs, "p-tabs,[p-tabs]", never, { "activeTabIndex": "activeTabIndex"; "gradientColor": "gradientColor"; "gradientColorScheme": "gradientColorScheme"; "size": "size"; "theme": "theme"; "weight": "weight"; }, { "
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTabs, "p-tabs,[p-tabs]", never, { "activeTabIndex": "activeTabIndex"; "gradientColor": "gradientColor"; "gradientColorScheme": "gradientColorScheme"; "size": "size"; "theme": "theme"; "weight": "weight"; }, { "tabChange": "tabChange"; "update": "update"; }, never, ["*"]>;
|
|
20
20
|
}
|
package/lib/types.d.ts
CHANGED
|
@@ -194,17 +194,18 @@ declare const BUTTON_ARIA_ATTRIBUTES: readonly [
|
|
|
194
194
|
"aria-haspopup"
|
|
195
195
|
];
|
|
196
196
|
export declare type ButtonAriaAttribute = typeof BUTTON_ARIA_ATTRIBUTES[number];
|
|
197
|
-
declare const
|
|
197
|
+
declare const breakpoints: readonly [
|
|
198
198
|
"base",
|
|
199
199
|
"xs",
|
|
200
200
|
"s",
|
|
201
201
|
"m",
|
|
202
202
|
"l",
|
|
203
|
-
"xl"
|
|
203
|
+
"xl",
|
|
204
|
+
"xxl"
|
|
204
205
|
];
|
|
205
|
-
export declare type
|
|
206
|
+
export declare type Breakpoint = (typeof breakpoints)[number];
|
|
206
207
|
export declare type BreakpointValues<T> = {
|
|
207
|
-
[key in
|
|
208
|
+
[key in Breakpoint]?: T;
|
|
208
209
|
} & {
|
|
209
210
|
base: T;
|
|
210
211
|
};
|
|
@@ -529,8 +530,8 @@ declare const ACCORDION_SIZES: readonly [
|
|
|
529
530
|
"small",
|
|
530
531
|
"medium"
|
|
531
532
|
];
|
|
532
|
-
export declare type AccordionSize = typeof ACCORDION_SIZES[number];
|
|
533
|
-
export declare type
|
|
533
|
+
export declare type AccordionSize = (typeof ACCORDION_SIZES)[number];
|
|
534
|
+
export declare type AccordionUpdateEvent = {
|
|
534
535
|
open: boolean;
|
|
535
536
|
};
|
|
536
537
|
export declare type AccordionTag = HeadingTag;
|
|
@@ -579,7 +580,7 @@ declare const CAROUSEL_ALIGN_HEADERS: readonly [
|
|
|
579
580
|
];
|
|
580
581
|
export declare type CarouselAlignHeader = (typeof CAROUSEL_ALIGN_HEADERS)[number];
|
|
581
582
|
export declare type CarouselInternationalization = Partial<Record<"prev" | "next" | "first" | "last" | "slideLabel" | "slide", string>>;
|
|
582
|
-
export declare type
|
|
583
|
+
export declare type CarouselUpdateEvent = {
|
|
583
584
|
activeIndex: number;
|
|
584
585
|
previousIndex: number;
|
|
585
586
|
};
|
|
@@ -937,8 +938,8 @@ declare const PAGINATION_NUMBER_OF_PAGE_LINKS: readonly [
|
|
|
937
938
|
5,
|
|
938
939
|
7
|
|
939
940
|
];
|
|
940
|
-
export declare type PaginationMaxNumberOfPageLinks = typeof PAGINATION_NUMBER_OF_PAGE_LINKS[number];
|
|
941
|
-
export declare type
|
|
941
|
+
export declare type PaginationMaxNumberOfPageLinks = (typeof PAGINATION_NUMBER_OF_PAGE_LINKS)[number];
|
|
942
|
+
export declare type PaginationUpdateEvent = {
|
|
942
943
|
page: number;
|
|
943
944
|
previousPage: number;
|
|
944
945
|
};
|
|
@@ -959,8 +960,8 @@ declare const SEGMENTED_CONTROL_BACKGROUND_COLORS: readonly [
|
|
|
959
960
|
"background-surface",
|
|
960
961
|
"background-default"
|
|
961
962
|
];
|
|
962
|
-
export declare type SegmentedControlBackgroundColor = typeof SEGMENTED_CONTROL_BACKGROUND_COLORS[number];
|
|
963
|
-
export declare type
|
|
963
|
+
export declare type SegmentedControlBackgroundColor = (typeof SEGMENTED_CONTROL_BACKGROUND_COLORS)[number];
|
|
964
|
+
export declare type SegmentedControlUpdateEvent = {
|
|
964
965
|
value: string | number;
|
|
965
966
|
};
|
|
966
967
|
export declare type SegmentedControlItemIcon = LinkButtonIconName;
|
|
@@ -986,8 +987,8 @@ declare const STEPPER_HORIZONTAL_SIZES: readonly [
|
|
|
986
987
|
"small",
|
|
987
988
|
"medium"
|
|
988
989
|
];
|
|
989
|
-
export declare type StepperHorizontalSize = typeof STEPPER_HORIZONTAL_SIZES[number];
|
|
990
|
-
export declare type
|
|
990
|
+
export declare type StepperHorizontalSize = (typeof STEPPER_HORIZONTAL_SIZES)[number];
|
|
991
|
+
export declare type StepperHorizontalUpdateEvent = {
|
|
991
992
|
activeStepIndex: number;
|
|
992
993
|
};
|
|
993
994
|
declare const STEPPER_ITEM_STATES: readonly [
|
|
@@ -997,7 +998,7 @@ declare const STEPPER_ITEM_STATES: readonly [
|
|
|
997
998
|
];
|
|
998
999
|
export declare type StepperHorizontalItemState = typeof STEPPER_ITEM_STATES[number];
|
|
999
1000
|
export declare type SwitchAlignLabel = AlignLabel;
|
|
1000
|
-
export declare type
|
|
1001
|
+
export declare type SwitchUpdateEvent = {
|
|
1001
1002
|
checked: boolean;
|
|
1002
1003
|
};
|
|
1003
1004
|
export declare type Direction = "asc" | "desc";
|
|
@@ -1006,19 +1007,19 @@ export declare type TableHeadCellSort = {
|
|
|
1006
1007
|
active?: boolean;
|
|
1007
1008
|
direction?: Direction;
|
|
1008
1009
|
};
|
|
1009
|
-
export declare type
|
|
1010
|
+
export declare type TableUpdateEvent = TableHeadCellSort;
|
|
1010
1011
|
declare const TABS_BAR_SIZES: readonly [
|
|
1011
1012
|
"small",
|
|
1012
1013
|
"medium"
|
|
1013
1014
|
];
|
|
1014
|
-
export declare type TabsBarSize = typeof TABS_BAR_SIZES[number];
|
|
1015
|
+
export declare type TabsBarSize = (typeof TABS_BAR_SIZES)[number];
|
|
1015
1016
|
declare const TABS_BAR_WEIGHTS: readonly [
|
|
1016
1017
|
"regular",
|
|
1017
1018
|
"semi-bold",
|
|
1018
1019
|
"semibold"
|
|
1019
1020
|
];
|
|
1020
|
-
export declare type TabsBarWeight = typeof TABS_BAR_WEIGHTS[number];
|
|
1021
|
-
export declare type
|
|
1021
|
+
export declare type TabsBarWeight = (typeof TABS_BAR_WEIGHTS)[number];
|
|
1022
|
+
export declare type TabsBarUpdateEvent = {
|
|
1022
1023
|
activeTabIndex: number;
|
|
1023
1024
|
};
|
|
1024
1025
|
/** @deprecated */
|
|
@@ -1029,7 +1030,7 @@ export declare type TabsWeight = TabsBarWeight;
|
|
|
1029
1030
|
/** @deprecated */
|
|
1030
1031
|
export declare type TabsGradientColorScheme = TabsBarGradientColorScheme;
|
|
1031
1032
|
export declare type TabsGradientColor = TabsBarGradientColor;
|
|
1032
|
-
export declare type
|
|
1033
|
+
export declare type TabsUpdateEvent = TabsBarUpdateEvent;
|
|
1033
1034
|
declare const TAG_DISMISSIBLE_COLORS: readonly [
|
|
1034
1035
|
"background-base",
|
|
1035
1036
|
"background-surface",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-angular",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.6",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.0.0-alpha.
|
|
20
|
+
"@porsche-design-system/components-js": "3.0.0-alpha.6",
|
|
21
21
|
"tslib": "^2.5.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|