@porsche-design-system/components-angular 3.0.0-alpha.3 → 3.0.0-alpha.4
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 +83 -0
- package/esm2020/lib/components/banner.wrapper.mjs +1 -1
- package/esm2020/lib/components/barrel.mjs +10 -1
- package/esm2020/lib/components/button-tile.wrapper.mjs +35 -0
- package/esm2020/lib/components/carousel.wrapper.mjs +3 -3
- package/esm2020/lib/components/fieldset-wrapper.wrapper.mjs +2 -1
- package/esm2020/lib/components/fieldset.wrapper.mjs +35 -0
- package/esm2020/lib/components/link-tile-model-signature.wrapper.mjs +35 -0
- package/esm2020/lib/components/scroller.wrapper.mjs +3 -3
- package/esm2020/lib/components/table.wrapper.mjs +3 -3
- package/esm2020/lib/types.mjs +1 -1
- package/esm2020/porsche-design-system.module.mjs +55 -52
- package/fesm2015/porsche-design-system-components-angular.mjs +230 -121
- package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -1
- package/fesm2020/porsche-design-system-components-angular.mjs +218 -121
- package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -1
- package/lib/components/banner.wrapper.d.ts +1 -0
- package/lib/components/barrel.d.ts +7 -1
- package/lib/components/button-tile.wrapper.d.ts +24 -0
- package/lib/components/carousel.wrapper.d.ts +3 -2
- package/lib/components/fieldset-wrapper.wrapper.d.ts +1 -0
- package/lib/components/fieldset.wrapper.d.ts +16 -0
- package/lib/components/link-tile-model-signature.wrapper.d.ts +17 -0
- package/lib/components/scroller.wrapper.d.ts +2 -1
- package/lib/components/table.wrapper.d.ts +3 -2
- package/lib/types.d.ts +74 -43
- package/package.json +2 -2
- package/porsche-design-system.module.d.ts +54 -51
- package/styles/_index.scss +1 -0
- package/styles/scss.scss +0 -1
|
@@ -3,11 +3,13 @@ import { PBanner } from './banner.wrapper';
|
|
|
3
3
|
import { PButton } from './button.wrapper';
|
|
4
4
|
import { PButtonGroup } from './button-group.wrapper';
|
|
5
5
|
import { PButtonPure } from './button-pure.wrapper';
|
|
6
|
+
import { PButtonTile } from './button-tile.wrapper';
|
|
6
7
|
import { PCarousel } from './carousel.wrapper';
|
|
7
8
|
import { PCheckboxWrapper } from './checkbox-wrapper.wrapper';
|
|
8
9
|
import { PContentWrapper } from './content-wrapper.wrapper';
|
|
9
10
|
import { PDisplay } from './display.wrapper';
|
|
10
11
|
import { PDivider } from './divider.wrapper';
|
|
12
|
+
import { PFieldset } from './fieldset.wrapper';
|
|
11
13
|
import { PFieldsetWrapper } from './fieldset-wrapper.wrapper';
|
|
12
14
|
import { PFlex } from './flex.wrapper';
|
|
13
15
|
import { PFlexItem } from './flex-item.wrapper';
|
|
@@ -21,6 +23,7 @@ import { PLink } from './link.wrapper';
|
|
|
21
23
|
import { PLinkPure } from './link-pure.wrapper';
|
|
22
24
|
import { PLinkSocial } from './link-social.wrapper';
|
|
23
25
|
import { PLinkTile } from './link-tile.wrapper';
|
|
26
|
+
import { PLinkTileModelSignature } from './link-tile-model-signature.wrapper';
|
|
24
27
|
import { PMarque } from './marque.wrapper';
|
|
25
28
|
import { PModal } from './modal.wrapper';
|
|
26
29
|
import { PModelSignature } from './model-signature.wrapper';
|
|
@@ -53,17 +56,19 @@ import { PTextList } from './text-list.wrapper';
|
|
|
53
56
|
import { PTextListItem } from './text-list-item.wrapper';
|
|
54
57
|
import { PTextareaWrapper } from './textarea-wrapper.wrapper';
|
|
55
58
|
import { PToast } from './toast.wrapper';
|
|
56
|
-
export declare const DECLARATIONS: (typeof PAccordion | typeof PBanner | typeof PButton | typeof PButtonGroup | typeof PButtonPure | typeof PCarousel | typeof PCheckboxWrapper | typeof PContentWrapper | typeof PDisplay | typeof PDivider | typeof PFieldsetWrapper | typeof PFlex | typeof PFlexItem | typeof PGrid | typeof PGridItem | typeof PHeading | typeof PHeadline | typeof PIcon | typeof PInlineNotification | typeof PLink | typeof PLinkPure | typeof PLinkSocial | typeof PLinkTile | typeof PMarque | typeof PModal | typeof PModelSignature | typeof PPagination | typeof PPopover | typeof PRadioButtonWrapper | typeof PScroller | typeof PSegmentedControl | typeof PSegmentedControlItem | typeof PSelectWrapper | typeof PSpinner | typeof PStepperHorizontal | typeof PStepperHorizontalItem | typeof PSwitch | typeof PTable | typeof PTableBody | typeof PTableCell | typeof PTableHead | typeof PTableHeadCell | typeof PTableHeadRow | typeof PTableRow | typeof PTabs | typeof PTabsBar | typeof PTabsItem | typeof PTag | typeof PTagDismissible | typeof PText | typeof PTextFieldWrapper | typeof PTextList | typeof PTextListItem | typeof PTextareaWrapper | typeof PToast)[];
|
|
59
|
+
export declare const DECLARATIONS: (typeof PAccordion | typeof PBanner | typeof PButton | typeof PButtonGroup | typeof PButtonPure | typeof PButtonTile | typeof PCarousel | typeof PCheckboxWrapper | typeof PContentWrapper | typeof PDisplay | typeof PDivider | typeof PFieldset | typeof PFieldsetWrapper | typeof PFlex | typeof PFlexItem | typeof PGrid | typeof PGridItem | typeof PHeading | typeof PHeadline | typeof PIcon | typeof PInlineNotification | typeof PLink | typeof PLinkPure | typeof PLinkSocial | typeof PLinkTile | typeof PLinkTileModelSignature | typeof PMarque | typeof PModal | typeof PModelSignature | typeof PPagination | typeof PPopover | typeof PRadioButtonWrapper | typeof PScroller | typeof PSegmentedControl | typeof PSegmentedControlItem | typeof PSelectWrapper | typeof PSpinner | typeof PStepperHorizontal | typeof PStepperHorizontalItem | typeof PSwitch | typeof PTable | typeof PTableBody | typeof PTableCell | typeof PTableHead | typeof PTableHeadCell | typeof PTableHeadRow | typeof PTableRow | typeof PTabs | typeof PTabsBar | typeof PTabsItem | typeof PTag | typeof PTagDismissible | typeof PText | typeof PTextFieldWrapper | typeof PTextList | typeof PTextListItem | typeof PTextareaWrapper | typeof PToast)[];
|
|
57
60
|
export * from './accordion.wrapper';
|
|
58
61
|
export * from './banner.wrapper';
|
|
59
62
|
export * from './button.wrapper';
|
|
60
63
|
export * from './button-group.wrapper';
|
|
61
64
|
export * from './button-pure.wrapper';
|
|
65
|
+
export * from './button-tile.wrapper';
|
|
62
66
|
export * from './carousel.wrapper';
|
|
63
67
|
export * from './checkbox-wrapper.wrapper';
|
|
64
68
|
export * from './content-wrapper.wrapper';
|
|
65
69
|
export * from './display.wrapper';
|
|
66
70
|
export * from './divider.wrapper';
|
|
71
|
+
export * from './fieldset.wrapper';
|
|
67
72
|
export * from './fieldset-wrapper.wrapper';
|
|
68
73
|
export * from './flex.wrapper';
|
|
69
74
|
export * from './flex-item.wrapper';
|
|
@@ -77,6 +82,7 @@ export * from './link.wrapper';
|
|
|
77
82
|
export * from './link-pure.wrapper';
|
|
78
83
|
export * from './link-social.wrapper';
|
|
79
84
|
export * from './link-tile.wrapper';
|
|
85
|
+
export * from './link-tile-model-signature.wrapper';
|
|
80
86
|
export * from './marque.wrapper';
|
|
81
87
|
export * from './modal.wrapper';
|
|
82
88
|
export * from './model-signature.wrapper';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import type { ButtonTileAlign, SelectedAriaAttributes, ButtonTileAriaAttribute, BreakpointCustomizable, ButtonTileAspectRatio, ButtonTileIcon, ButtonTileSize, ButtonTileType, ButtonTileWeight } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PButtonTile {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
protected el: HTMLElement;
|
|
7
|
+
align: ButtonTileAlign;
|
|
8
|
+
aria: SelectedAriaAttributes<ButtonTileAriaAttribute>;
|
|
9
|
+
aspectRatio: BreakpointCustomizable<ButtonTileAspectRatio>;
|
|
10
|
+
compact: BreakpointCustomizable<boolean>;
|
|
11
|
+
description: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
gradient: boolean;
|
|
14
|
+
icon: ButtonTileIcon;
|
|
15
|
+
iconSource: string;
|
|
16
|
+
label: string;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
size: BreakpointCustomizable<ButtonTileSize>;
|
|
19
|
+
type: ButtonTileType;
|
|
20
|
+
weight: BreakpointCustomizable<ButtonTileWeight>;
|
|
21
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PButtonTile, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PButtonTile, "p-button-tile,[p-button-tile]", never, { "align": "align"; "aria": "aria"; "aspectRatio": "aspectRatio"; "compact": "compact"; "description": "description"; "disabled": "disabled"; "gradient": "gradient"; "icon": "icon"; "iconSource": "iconSource"; "label": "label"; "loading": "loading"; "size": "size"; "type": "type"; "weight": "weight"; }, {}, never, ["*"]>;
|
|
24
|
+
}
|
|
@@ -4,6 +4,7 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class PCarousel {
|
|
5
5
|
protected z: NgZone;
|
|
6
6
|
protected el: HTMLElement;
|
|
7
|
+
activeSlideIndex: number;
|
|
7
8
|
alignHeader: CarouselAlignHeader;
|
|
8
9
|
description: string;
|
|
9
10
|
/** @deprecated */
|
|
@@ -12,7 +13,7 @@ export declare class PCarousel {
|
|
|
12
13
|
intl: CarouselInternationalization;
|
|
13
14
|
pagination: BreakpointCustomizable<boolean>;
|
|
14
15
|
rewind: boolean;
|
|
15
|
-
slidesPerPage: BreakpointCustomizable<number
|
|
16
|
+
slidesPerPage: BreakpointCustomizable<number> | "auto";
|
|
16
17
|
theme: Theme;
|
|
17
18
|
width: CarouselWidth;
|
|
18
19
|
/** @deprecated */
|
|
@@ -22,5 +23,5 @@ export declare class PCarousel {
|
|
|
22
23
|
change: EventEmitter<CustomEvent<CarouselChangeEvent>>;
|
|
23
24
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<PCarousel, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PCarousel, "p-carousel,[p-carousel]", never, { "alignHeader": "alignHeader"; "description": "description"; "disablePagination": "disablePagination"; "heading": "heading"; "intl": "intl"; "pagination": "pagination"; "rewind": "rewind"; "slidesPerPage": "slidesPerPage"; "theme": "theme"; "width": "width"; "wrapContent": "wrapContent"; }, { "carouselChange": "carouselChange"; "change": "change"; }, 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"; "change": "change"; }, never, ["*"]>;
|
|
26
27
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
2
|
import type { FieldsetWrapperLabelSize, FieldsetWrapperState, Theme } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-fieldset" instead. */
|
|
4
5
|
export declare class PFieldsetWrapper {
|
|
5
6
|
protected z: NgZone;
|
|
6
7
|
protected el: HTMLElement;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import type { FieldsetLabelSize, FieldsetState, Theme } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PFieldset {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
protected el: HTMLElement;
|
|
7
|
+
label: string;
|
|
8
|
+
labelSize: FieldsetLabelSize;
|
|
9
|
+
message: string;
|
|
10
|
+
required: boolean;
|
|
11
|
+
state: FieldsetState;
|
|
12
|
+
theme: Theme;
|
|
13
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PFieldset, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PFieldset, "p-fieldset,[p-fieldset]", never, { "label": "label"; "labelSize": "labelSize"; "message": "message"; "required": "required"; "state": "state"; "theme": "theme"; }, {}, never, ["*"]>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import type { BreakpointCustomizable, LinkTileModelSignatureAspectRatio, LinkTileModelSignatureHeadingTag, LinkTileModelSignatureLinkDirection, LinkTileModelSignatureModel, LinkTileModelSignatureWeight } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PLinkTileModelSignature {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
protected el: HTMLElement;
|
|
7
|
+
aspectRatio: BreakpointCustomizable<LinkTileModelSignatureAspectRatio>;
|
|
8
|
+
description: string;
|
|
9
|
+
heading: string;
|
|
10
|
+
headingTag: LinkTileModelSignatureHeadingTag;
|
|
11
|
+
linkDirection: BreakpointCustomizable<LinkTileModelSignatureLinkDirection>;
|
|
12
|
+
model: LinkTileModelSignatureModel;
|
|
13
|
+
weight: BreakpointCustomizable<LinkTileModelSignatureWeight>;
|
|
14
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PLinkTileModelSignature, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PLinkTileModelSignature, "p-link-tile-model-signature,[p-link-tile-model-signature]", never, { "aspectRatio": "aspectRatio"; "description": "description"; "heading": "heading"; "headingTag": "headingTag"; "linkDirection": "linkDirection"; "model": "model"; "weight": "weight"; }, {}, never, ["*"]>;
|
|
17
|
+
}
|
|
@@ -11,8 +11,9 @@ export declare class PScroller {
|
|
|
11
11
|
/** @deprecated */
|
|
12
12
|
scrollIndicatorPosition: ScrollerScrollIndicatorPosition;
|
|
13
13
|
scrollToPosition: ScrollerScrollToPosition;
|
|
14
|
+
scrollbar: boolean;
|
|
14
15
|
theme: Theme;
|
|
15
16
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
16
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<PScroller, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PScroller, "p-scroller,[p-scroller]", never, { "alignScrollIndicator": "alignScrollIndicator"; "gradientColor": "gradientColor"; "gradientColorScheme": "gradientColorScheme"; "scrollIndicatorPosition": "scrollIndicatorPosition"; "scrollToPosition": "scrollToPosition"; "theme": "theme"; }, {}, never, ["*"]>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PScroller, "p-scroller,[p-scroller]", never, { "alignScrollIndicator": "alignScrollIndicator"; "gradientColor": "gradientColor"; "gradientColorScheme": "gradientColorScheme"; "scrollIndicatorPosition": "scrollIndicatorPosition"; "scrollToPosition": "scrollToPosition"; "scrollbar": "scrollbar"; "theme": "theme"; }, {}, never, ["*"]>;
|
|
18
19
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
-
import type { TableChangeEvent } from '../types';
|
|
2
|
+
import type { TableChangeEvent, 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
|
+
theme: Theme;
|
|
8
9
|
change: EventEmitter<CustomEvent<TableChangeEvent>>;
|
|
9
10
|
/** @deprecated */
|
|
10
11
|
sortingChange: EventEmitter<CustomEvent<TableChangeEvent>>;
|
|
11
12
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<PTable, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PTable, "p-table,[p-table]", never, { "caption": "caption"; }, { "change": "change"; "sortingChange": "sortingChange"; }, never, ["*"]>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTable, "p-table,[p-table]", never, { "caption": "caption"; "theme": "theme"; }, { "change": "change"; "sortingChange": "sortingChange"; }, never, ["*"]>;
|
|
14
15
|
}
|
package/lib/types.d.ts
CHANGED
|
@@ -209,6 +209,29 @@ export declare type BreakpointValues<T> = {
|
|
|
209
209
|
base: T;
|
|
210
210
|
};
|
|
211
211
|
export declare type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
212
|
+
declare const TILE_ASPECT_RATIOS: readonly [
|
|
213
|
+
"1:1",
|
|
214
|
+
"4:3",
|
|
215
|
+
"3:4",
|
|
216
|
+
"16:9",
|
|
217
|
+
"9:16"
|
|
218
|
+
];
|
|
219
|
+
export declare type TileAspectRatio = (typeof TILE_ASPECT_RATIOS)[number];
|
|
220
|
+
declare const TILE_SIZES: readonly [
|
|
221
|
+
"default",
|
|
222
|
+
"inherit"
|
|
223
|
+
];
|
|
224
|
+
export declare type TileSize = (typeof TILE_SIZES)[number];
|
|
225
|
+
declare const TILE_WEIGHTS: readonly [
|
|
226
|
+
"regular",
|
|
227
|
+
"semi-bold"
|
|
228
|
+
];
|
|
229
|
+
export declare type TileWeight = (typeof TILE_WEIGHTS)[number];
|
|
230
|
+
declare const TILE_ALIGNS: readonly [
|
|
231
|
+
"top",
|
|
232
|
+
"bottom"
|
|
233
|
+
];
|
|
234
|
+
export declare type TileAlign = (typeof TILE_ALIGNS)[number];
|
|
212
235
|
declare const GRADIENT_COLOR_SCHEMES: readonly [
|
|
213
236
|
"default",
|
|
214
237
|
"surface"
|
|
@@ -523,29 +546,38 @@ declare const BANNER_WIDTHS: readonly [
|
|
|
523
546
|
"basic",
|
|
524
547
|
"fluid"
|
|
525
548
|
];
|
|
549
|
+
/** @deprecated */
|
|
526
550
|
export declare type BannerWidth = typeof BANNER_WIDTHS[number];
|
|
527
551
|
export declare type ButtonIcon = LinkButtonIconName;
|
|
528
|
-
declare const
|
|
552
|
+
declare const GROUP_DIRECTIONS: readonly [
|
|
529
553
|
"row",
|
|
530
554
|
"column"
|
|
531
555
|
];
|
|
532
|
-
export declare type
|
|
556
|
+
export declare type GroupDirection = (typeof GROUP_DIRECTIONS)[number];
|
|
557
|
+
export declare type ButtonGroupDirection = GroupDirection;
|
|
533
558
|
export declare type ButtonPureType = ButtonType;
|
|
534
559
|
export declare type ButtonPureIcon = LinkButtonIconName;
|
|
535
560
|
export declare type ButtonPureAriaAttribute = ButtonAriaAttribute;
|
|
536
561
|
export declare type ButtonPureAlignLabel = AlignLabel;
|
|
537
562
|
export declare type ButtonPureWeight = TextWeight;
|
|
538
563
|
export declare type ButtonPureSize = TextSize;
|
|
564
|
+
export declare type ButtonTileAriaAttribute = ButtonAriaAttribute;
|
|
565
|
+
export declare type ButtonTileIcon = LinkButtonIconName;
|
|
566
|
+
export declare type ButtonTileType = ButtonType;
|
|
567
|
+
export declare type ButtonTileAspectRatio = TileAspectRatio;
|
|
568
|
+
export declare type ButtonTileSize = TileSize;
|
|
569
|
+
export declare type ButtonTileWeight = TileWeight;
|
|
570
|
+
export declare type ButtonTileAlign = TileAlign;
|
|
539
571
|
declare const CAROUSEL_WIDTHS: readonly [
|
|
540
572
|
"basic",
|
|
541
573
|
"extended"
|
|
542
574
|
];
|
|
543
|
-
export declare type CarouselWidth = typeof CAROUSEL_WIDTHS[number];
|
|
575
|
+
export declare type CarouselWidth = (typeof CAROUSEL_WIDTHS)[number];
|
|
544
576
|
declare const CAROUSEL_ALIGN_HEADERS: readonly [
|
|
545
577
|
"left",
|
|
546
578
|
"center"
|
|
547
579
|
];
|
|
548
|
-
export declare type CarouselAlignHeader = typeof CAROUSEL_ALIGN_HEADERS[number];
|
|
580
|
+
export declare type CarouselAlignHeader = (typeof CAROUSEL_ALIGN_HEADERS)[number];
|
|
549
581
|
export declare type CarouselInternationalization = Partial<Record<"prev" | "next" | "first" | "last" | "slideLabel" | "slide", string>>;
|
|
550
582
|
export declare type CarouselChangeEvent = {
|
|
551
583
|
activeIndex: number;
|
|
@@ -602,12 +634,14 @@ declare const DIVIDER_DIRECTIONS: readonly [
|
|
|
602
634
|
];
|
|
603
635
|
export declare type DividerDirection = typeof DIVIDER_DIRECTIONS[number];
|
|
604
636
|
export declare type DividerOrientation = DividerDirection;
|
|
605
|
-
declare const
|
|
637
|
+
declare const FIELDSET_LABEL_SIZES: readonly [
|
|
606
638
|
"small",
|
|
607
639
|
"medium"
|
|
608
640
|
];
|
|
609
|
-
export declare type
|
|
610
|
-
export declare type
|
|
641
|
+
export declare type FieldsetLabelSize = typeof FIELDSET_LABEL_SIZES[number];
|
|
642
|
+
export declare type FieldsetState = FormState;
|
|
643
|
+
export declare type FieldsetWrapperLabelSize = FieldsetLabelSize;
|
|
644
|
+
export declare type FieldsetWrapperState = FieldsetState;
|
|
611
645
|
export declare type FlexInline = boolean;
|
|
612
646
|
declare const FLEX_WRAPS: readonly [
|
|
613
647
|
"nowrap",
|
|
@@ -830,47 +864,17 @@ export declare type LinkPureSize = TextSize;
|
|
|
830
864
|
export declare type LinkPureTarget = LinkTarget;
|
|
831
865
|
export declare type LinkSocialIcon = Extract<IconName, "logo-facebook" | "logo-google" | "logo-instagram" | "logo-linkedin" | "logo-pinterest" | "logo-twitter" | "logo-wechat" | "logo-whatsapp" | "logo-xing" | "logo-youtube" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-foursquare" | "logo-gmail" | "logo-hatena" | "logo-kaixin" | "logo-kakaotalk" | "logo-naver" | "logo-qq-share" | "logo-qq" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-viber" | "logo-vk" | "logo-weibo" | "logo-yahoo" | "logo-youku">;
|
|
832
866
|
export declare type LinkSocialTarget = LinkTarget;
|
|
867
|
+
export declare type LinkTileTarget = LinkTarget;
|
|
868
|
+
export declare type LinkTileAriaAttribute = LinkAriaAttribute;
|
|
869
|
+
export declare type LinkTileAspectRatio = TileAspectRatio;
|
|
870
|
+
export declare type LinkTileSize = TileSize;
|
|
871
|
+
export declare type LinkTileAlign = TileAlign;
|
|
833
872
|
declare const LINK_TILE_WEIGHTS: readonly [
|
|
834
873
|
"regular",
|
|
835
874
|
"semi-bold",
|
|
836
875
|
"semibold"
|
|
837
876
|
];
|
|
838
|
-
export declare type LinkTileWeight = typeof LINK_TILE_WEIGHTS[number];
|
|
839
|
-
declare const LINK_TILE_SIZES: readonly [
|
|
840
|
-
"default",
|
|
841
|
-
"inherit"
|
|
842
|
-
];
|
|
843
|
-
export declare type LinkTileSize = typeof LINK_TILE_SIZES[number];
|
|
844
|
-
declare const LINK_TILE_ALIGNS: readonly [
|
|
845
|
-
"top",
|
|
846
|
-
"bottom"
|
|
847
|
-
];
|
|
848
|
-
export declare type LinkTileAlign = typeof LINK_TILE_ALIGNS[number];
|
|
849
|
-
declare const LINK_TILE_ASPECT_RATIOS: readonly [
|
|
850
|
-
"1:1",
|
|
851
|
-
"4:3",
|
|
852
|
-
"3:4",
|
|
853
|
-
"16:9",
|
|
854
|
-
"9:16"
|
|
855
|
-
];
|
|
856
|
-
export declare type LinkTileAspectRatio = typeof LINK_TILE_ASPECT_RATIOS[number];
|
|
857
|
-
export declare type LinkTileTarget = LinkTarget;
|
|
858
|
-
export declare type LinkTileAriaAttribute = LinkAriaAttribute;
|
|
859
|
-
declare const MARQUE_SIZES: readonly [
|
|
860
|
-
"responsive",
|
|
861
|
-
"small",
|
|
862
|
-
"medium"
|
|
863
|
-
];
|
|
864
|
-
export declare type MarqueSize = typeof MARQUE_SIZES[number];
|
|
865
|
-
export declare type MarqueTarget = LinkTarget;
|
|
866
|
-
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
867
|
-
"aria-label"
|
|
868
|
-
];
|
|
869
|
-
export declare type MarqueAriaAttribute = typeof MARQUE_ARIA_ATTRIBUTES[number];
|
|
870
|
-
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
871
|
-
"aria-label"
|
|
872
|
-
];
|
|
873
|
-
export declare type ModalAriaAttribute = (typeof MODAL_ARIA_ATTRIBUTES)[number];
|
|
877
|
+
export declare type LinkTileWeight = (typeof LINK_TILE_WEIGHTS)[number];
|
|
874
878
|
declare const MODEL_SIGNATURES_MANIFEST: {
|
|
875
879
|
"718": string;
|
|
876
880
|
"911": string;
|
|
@@ -897,6 +901,33 @@ declare const MODEL_SIGNATURE_COLORS: readonly [
|
|
|
897
901
|
"inherit"
|
|
898
902
|
];
|
|
899
903
|
export declare type ModelSignatureColor = typeof MODEL_SIGNATURE_COLORS[number];
|
|
904
|
+
export declare type LinkTileModelSignatureModel = ModelSignatureModel;
|
|
905
|
+
declare const LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS: readonly [
|
|
906
|
+
"h2",
|
|
907
|
+
"h3",
|
|
908
|
+
"h4",
|
|
909
|
+
"h5",
|
|
910
|
+
"h6"
|
|
911
|
+
];
|
|
912
|
+
export declare type LinkTileModelSignatureHeadingTag = (typeof LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS)[number];
|
|
913
|
+
export declare type LinkTileModelSignatureWeight = TileWeight;
|
|
914
|
+
export declare type LinkTileModelSignatureAspectRatio = TileAspectRatio;
|
|
915
|
+
export declare type LinkTileModelSignatureLinkDirection = GroupDirection;
|
|
916
|
+
declare const MARQUE_SIZES: readonly [
|
|
917
|
+
"responsive",
|
|
918
|
+
"small",
|
|
919
|
+
"medium"
|
|
920
|
+
];
|
|
921
|
+
export declare type MarqueSize = typeof MARQUE_SIZES[number];
|
|
922
|
+
export declare type MarqueTarget = LinkTarget;
|
|
923
|
+
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
924
|
+
"aria-label"
|
|
925
|
+
];
|
|
926
|
+
export declare type MarqueAriaAttribute = typeof MARQUE_ARIA_ATTRIBUTES[number];
|
|
927
|
+
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
928
|
+
"aria-label"
|
|
929
|
+
];
|
|
930
|
+
export declare type ModalAriaAttribute = (typeof MODAL_ARIA_ATTRIBUTES)[number];
|
|
900
931
|
declare const PAGINATION_NUMBER_OF_PAGE_LINKS: readonly [
|
|
901
932
|
5,
|
|
902
933
|
7
|
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.4",
|
|
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.4",
|
|
21
21
|
"tslib": "^2.5.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
@@ -5,56 +5,59 @@ import * as i2 from "./lib/components/banner.wrapper";
|
|
|
5
5
|
import * as i3 from "./lib/components/button.wrapper";
|
|
6
6
|
import * as i4 from "./lib/components/button-group.wrapper";
|
|
7
7
|
import * as i5 from "./lib/components/button-pure.wrapper";
|
|
8
|
-
import * as i6 from "./lib/components/
|
|
9
|
-
import * as i7 from "./lib/components/
|
|
10
|
-
import * as i8 from "./lib/components/
|
|
11
|
-
import * as i9 from "./lib/components/
|
|
12
|
-
import * as i10 from "./lib/components/
|
|
13
|
-
import * as i11 from "./lib/components/
|
|
14
|
-
import * as i12 from "./lib/components/
|
|
15
|
-
import * as i13 from "./lib/components/
|
|
16
|
-
import * as i14 from "./lib/components/
|
|
17
|
-
import * as i15 from "./lib/components/
|
|
18
|
-
import * as i16 from "./lib/components/
|
|
19
|
-
import * as i17 from "./lib/components/
|
|
20
|
-
import * as i18 from "./lib/components/
|
|
21
|
-
import * as i19 from "./lib/components/
|
|
22
|
-
import * as i20 from "./lib/components/
|
|
23
|
-
import * as i21 from "./lib/components/
|
|
24
|
-
import * as i22 from "./lib/components/link
|
|
25
|
-
import * as i23 from "./lib/components/link-
|
|
26
|
-
import * as i24 from "./lib/components/
|
|
27
|
-
import * as i25 from "./lib/components/
|
|
28
|
-
import * as i26 from "./lib/components/model-signature.wrapper";
|
|
29
|
-
import * as i27 from "./lib/components/
|
|
30
|
-
import * as i28 from "./lib/components/
|
|
31
|
-
import * as i29 from "./lib/components/
|
|
32
|
-
import * as i30 from "./lib/components/
|
|
33
|
-
import * as i31 from "./lib/components/
|
|
34
|
-
import * as i32 from "./lib/components/
|
|
35
|
-
import * as i33 from "./lib/components/
|
|
36
|
-
import * as i34 from "./lib/components/
|
|
37
|
-
import * as i35 from "./lib/components/
|
|
38
|
-
import * as i36 from "./lib/components/
|
|
39
|
-
import * as i37 from "./lib/components/
|
|
40
|
-
import * as i38 from "./lib/components/
|
|
41
|
-
import * as i39 from "./lib/components/
|
|
42
|
-
import * as i40 from "./lib/components/
|
|
43
|
-
import * as i41 from "./lib/components/table
|
|
44
|
-
import * as i42 from "./lib/components/table-
|
|
45
|
-
import * as i43 from "./lib/components/table-
|
|
46
|
-
import * as i44 from "./lib/components/table-
|
|
47
|
-
import * as i45 from "./lib/components/
|
|
48
|
-
import * as i46 from "./lib/components/
|
|
49
|
-
import * as i47 from "./lib/components/
|
|
50
|
-
import * as i48 from "./lib/components/
|
|
51
|
-
import * as i49 from "./lib/components/
|
|
52
|
-
import * as i50 from "./lib/components/
|
|
53
|
-
import * as i51 from "./lib/components/
|
|
54
|
-
import * as i52 from "./lib/components/
|
|
55
|
-
import * as i53 from "./lib/components/text
|
|
56
|
-
import * as i54 from "./lib/components/
|
|
57
|
-
import * as i55 from "./lib/components/
|
|
8
|
+
import * as i6 from "./lib/components/button-tile.wrapper";
|
|
9
|
+
import * as i7 from "./lib/components/carousel.wrapper";
|
|
10
|
+
import * as i8 from "./lib/components/checkbox-wrapper.wrapper";
|
|
11
|
+
import * as i9 from "./lib/components/content-wrapper.wrapper";
|
|
12
|
+
import * as i10 from "./lib/components/display.wrapper";
|
|
13
|
+
import * as i11 from "./lib/components/divider.wrapper";
|
|
14
|
+
import * as i12 from "./lib/components/fieldset.wrapper";
|
|
15
|
+
import * as i13 from "./lib/components/fieldset-wrapper.wrapper";
|
|
16
|
+
import * as i14 from "./lib/components/flex.wrapper";
|
|
17
|
+
import * as i15 from "./lib/components/flex-item.wrapper";
|
|
18
|
+
import * as i16 from "./lib/components/grid.wrapper";
|
|
19
|
+
import * as i17 from "./lib/components/grid-item.wrapper";
|
|
20
|
+
import * as i18 from "./lib/components/heading.wrapper";
|
|
21
|
+
import * as i19 from "./lib/components/headline.wrapper";
|
|
22
|
+
import * as i20 from "./lib/components/icon.wrapper";
|
|
23
|
+
import * as i21 from "./lib/components/inline-notification.wrapper";
|
|
24
|
+
import * as i22 from "./lib/components/link.wrapper";
|
|
25
|
+
import * as i23 from "./lib/components/link-pure.wrapper";
|
|
26
|
+
import * as i24 from "./lib/components/link-social.wrapper";
|
|
27
|
+
import * as i25 from "./lib/components/link-tile.wrapper";
|
|
28
|
+
import * as i26 from "./lib/components/link-tile-model-signature.wrapper";
|
|
29
|
+
import * as i27 from "./lib/components/marque.wrapper";
|
|
30
|
+
import * as i28 from "./lib/components/modal.wrapper";
|
|
31
|
+
import * as i29 from "./lib/components/model-signature.wrapper";
|
|
32
|
+
import * as i30 from "./lib/components/pagination.wrapper";
|
|
33
|
+
import * as i31 from "./lib/components/popover.wrapper";
|
|
34
|
+
import * as i32 from "./lib/components/radio-button-wrapper.wrapper";
|
|
35
|
+
import * as i33 from "./lib/components/scroller.wrapper";
|
|
36
|
+
import * as i34 from "./lib/components/segmented-control.wrapper";
|
|
37
|
+
import * as i35 from "./lib/components/segmented-control-item.wrapper";
|
|
38
|
+
import * as i36 from "./lib/components/select-wrapper.wrapper";
|
|
39
|
+
import * as i37 from "./lib/components/spinner.wrapper";
|
|
40
|
+
import * as i38 from "./lib/components/stepper-horizontal.wrapper";
|
|
41
|
+
import * as i39 from "./lib/components/stepper-horizontal-item.wrapper";
|
|
42
|
+
import * as i40 from "./lib/components/switch.wrapper";
|
|
43
|
+
import * as i41 from "./lib/components/table.wrapper";
|
|
44
|
+
import * as i42 from "./lib/components/table-body.wrapper";
|
|
45
|
+
import * as i43 from "./lib/components/table-cell.wrapper";
|
|
46
|
+
import * as i44 from "./lib/components/table-head.wrapper";
|
|
47
|
+
import * as i45 from "./lib/components/table-head-cell.wrapper";
|
|
48
|
+
import * as i46 from "./lib/components/table-head-row.wrapper";
|
|
49
|
+
import * as i47 from "./lib/components/table-row.wrapper";
|
|
50
|
+
import * as i48 from "./lib/components/tabs.wrapper";
|
|
51
|
+
import * as i49 from "./lib/components/tabs-bar.wrapper";
|
|
52
|
+
import * as i50 from "./lib/components/tabs-item.wrapper";
|
|
53
|
+
import * as i51 from "./lib/components/tag.wrapper";
|
|
54
|
+
import * as i52 from "./lib/components/tag-dismissible.wrapper";
|
|
55
|
+
import * as i53 from "./lib/components/text.wrapper";
|
|
56
|
+
import * as i54 from "./lib/components/text-field-wrapper.wrapper";
|
|
57
|
+
import * as i55 from "./lib/components/text-list.wrapper";
|
|
58
|
+
import * as i56 from "./lib/components/text-list-item.wrapper";
|
|
59
|
+
import * as i57 from "./lib/components/textarea-wrapper.wrapper";
|
|
60
|
+
import * as i58 from "./lib/components/toast.wrapper";
|
|
58
61
|
export declare type PorscheDesignSystemModuleConfig = {
|
|
59
62
|
prefix?: string;
|
|
60
63
|
};
|
|
@@ -65,6 +68,6 @@ export declare class PorscheDesignSystemModule {
|
|
|
65
68
|
constructor(configParam: DefaultConfig);
|
|
66
69
|
static load(config: PorscheDesignSystemModuleConfig): ModuleWithProviders<PorscheDesignSystemModule>;
|
|
67
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<PorscheDesignSystemModule, [{ optional: true; }]>;
|
|
68
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PorscheDesignSystemModule, [typeof i1.PAccordion, typeof i2.PBanner, typeof i3.PButton, typeof i4.PButtonGroup, typeof i5.PButtonPure, typeof i6.
|
|
71
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PorscheDesignSystemModule, [typeof i1.PAccordion, typeof i2.PBanner, typeof i3.PButton, typeof i4.PButtonGroup, typeof i5.PButtonPure, typeof i6.PButtonTile, typeof i7.PCarousel, typeof i8.PCheckboxWrapper, typeof i9.PContentWrapper, typeof i10.PDisplay, typeof i11.PDivider, typeof i12.PFieldset, typeof i13.PFieldsetWrapper, typeof i14.PFlex, typeof i15.PFlexItem, typeof i16.PGrid, typeof i17.PGridItem, typeof i18.PHeading, typeof i19.PHeadline, typeof i20.PIcon, typeof i21.PInlineNotification, typeof i22.PLink, typeof i23.PLinkPure, typeof i24.PLinkSocial, typeof i25.PLinkTile, typeof i26.PLinkTileModelSignature, typeof i27.PMarque, typeof i28.PModal, typeof i29.PModelSignature, typeof i30.PPagination, typeof i31.PPopover, typeof i32.PRadioButtonWrapper, typeof i33.PScroller, typeof i34.PSegmentedControl, typeof i35.PSegmentedControlItem, typeof i36.PSelectWrapper, typeof i37.PSpinner, typeof i38.PStepperHorizontal, typeof i39.PStepperHorizontalItem, typeof i40.PSwitch, typeof i41.PTable, typeof i42.PTableBody, typeof i43.PTableCell, typeof i44.PTableHead, typeof i45.PTableHeadCell, typeof i46.PTableHeadRow, typeof i47.PTableRow, typeof i48.PTabs, typeof i49.PTabsBar, typeof i50.PTabsItem, typeof i51.PTag, typeof i52.PTagDismissible, typeof i53.PText, typeof i54.PTextFieldWrapper, typeof i55.PTextList, typeof i56.PTextListItem, typeof i57.PTextareaWrapper, typeof i58.PToast], never, [typeof i1.PAccordion, typeof i2.PBanner, typeof i3.PButton, typeof i4.PButtonGroup, typeof i5.PButtonPure, typeof i6.PButtonTile, typeof i7.PCarousel, typeof i8.PCheckboxWrapper, typeof i9.PContentWrapper, typeof i10.PDisplay, typeof i11.PDivider, typeof i12.PFieldset, typeof i13.PFieldsetWrapper, typeof i14.PFlex, typeof i15.PFlexItem, typeof i16.PGrid, typeof i17.PGridItem, typeof i18.PHeading, typeof i19.PHeadline, typeof i20.PIcon, typeof i21.PInlineNotification, typeof i22.PLink, typeof i23.PLinkPure, typeof i24.PLinkSocial, typeof i25.PLinkTile, typeof i26.PLinkTileModelSignature, typeof i27.PMarque, typeof i28.PModal, typeof i29.PModelSignature, typeof i30.PPagination, typeof i31.PPopover, typeof i32.PRadioButtonWrapper, typeof i33.PScroller, typeof i34.PSegmentedControl, typeof i35.PSegmentedControlItem, typeof i36.PSelectWrapper, typeof i37.PSpinner, typeof i38.PStepperHorizontal, typeof i39.PStepperHorizontalItem, typeof i40.PSwitch, typeof i41.PTable, typeof i42.PTableBody, typeof i43.PTableCell, typeof i44.PTableHead, typeof i45.PTableHeadCell, typeof i46.PTableHeadRow, typeof i47.PTableRow, typeof i48.PTabs, typeof i49.PTabsBar, typeof i50.PTabsItem, typeof i51.PTag, typeof i52.PTagDismissible, typeof i53.PText, typeof i54.PTextFieldWrapper, typeof i55.PTextList, typeof i56.PTextListItem, typeof i57.PTextareaWrapper, typeof i58.PToast]>;
|
|
69
72
|
static ɵinj: i0.ɵɵInjectorDeclaration<PorscheDesignSystemModule>;
|
|
70
73
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import '@porsche-design-system/components-js/styles';
|
package/styles/scss.scss
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
@import '~@porsche-design-system/components-js/styles/scss';
|