@porsche-design-system/components-angular 3.0.0-alpha.4 → 3.0.0-alpha.5
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 +16 -0
- package/esm2020/lib/components/barrel.mjs +8 -2
- package/esm2020/lib/components/crest.wrapper.mjs +35 -0
- package/esm2020/lib/components/marque.wrapper.mjs +2 -1
- package/esm2020/lib/components/wordmark.wrapper.mjs +35 -0
- package/esm2020/lib/types.mjs +1 -1
- package/esm2020/porsche-design-system.module.mjs +53 -51
- package/fesm2015/porsche-design-system-components-angular.mjs +350 -277
- package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -1
- package/fesm2020/porsche-design-system-components-angular.mjs +342 -277
- package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -1
- package/lib/components/barrel.d.ts +5 -1
- package/lib/components/crest.wrapper.d.ts +13 -0
- package/lib/components/marque.wrapper.d.ts +1 -0
- package/lib/components/wordmark.wrapper.d.ts +15 -0
- package/lib/types.d.ts +15 -0
- package/package.json +2 -2
- package/porsche-design-system.module.d.ts +52 -50
|
@@ -7,6 +7,7 @@ import { PButtonTile } from './button-tile.wrapper';
|
|
|
7
7
|
import { PCarousel } from './carousel.wrapper';
|
|
8
8
|
import { PCheckboxWrapper } from './checkbox-wrapper.wrapper';
|
|
9
9
|
import { PContentWrapper } from './content-wrapper.wrapper';
|
|
10
|
+
import { PCrest } from './crest.wrapper';
|
|
10
11
|
import { PDisplay } from './display.wrapper';
|
|
11
12
|
import { PDivider } from './divider.wrapper';
|
|
12
13
|
import { PFieldset } from './fieldset.wrapper';
|
|
@@ -56,7 +57,8 @@ import { PTextList } from './text-list.wrapper';
|
|
|
56
57
|
import { PTextListItem } from './text-list-item.wrapper';
|
|
57
58
|
import { PTextareaWrapper } from './textarea-wrapper.wrapper';
|
|
58
59
|
import { PToast } from './toast.wrapper';
|
|
59
|
-
|
|
60
|
+
import { PWordmark } from './wordmark.wrapper';
|
|
61
|
+
export declare const DECLARATIONS: (typeof PAccordion | typeof PBanner | typeof PButton | typeof PButtonGroup | typeof PButtonPure | typeof PButtonTile | typeof PCarousel | typeof PCheckboxWrapper | typeof PContentWrapper | typeof PCrest | 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 | typeof PWordmark)[];
|
|
60
62
|
export * from './accordion.wrapper';
|
|
61
63
|
export * from './banner.wrapper';
|
|
62
64
|
export * from './button.wrapper';
|
|
@@ -66,6 +68,7 @@ export * from './button-tile.wrapper';
|
|
|
66
68
|
export * from './carousel.wrapper';
|
|
67
69
|
export * from './checkbox-wrapper.wrapper';
|
|
68
70
|
export * from './content-wrapper.wrapper';
|
|
71
|
+
export * from './crest.wrapper';
|
|
69
72
|
export * from './display.wrapper';
|
|
70
73
|
export * from './divider.wrapper';
|
|
71
74
|
export * from './fieldset.wrapper';
|
|
@@ -115,3 +118,4 @@ export * from './text-list.wrapper';
|
|
|
115
118
|
export * from './text-list-item.wrapper';
|
|
116
119
|
export * from './textarea-wrapper.wrapper';
|
|
117
120
|
export * from './toast.wrapper';
|
|
121
|
+
export * from './wordmark.wrapper';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import type { SelectedAriaAttributes, CrestAriaAttribute, CrestTarget } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PCrest {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
protected el: HTMLElement;
|
|
7
|
+
aria: SelectedAriaAttributes<CrestAriaAttribute>;
|
|
8
|
+
href: string;
|
|
9
|
+
target: CrestTarget;
|
|
10
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PCrest, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PCrest, "p-crest,[p-crest]", never, { "aria": "aria"; "href": "href"; "target": "target"; }, {}, never, ["*"]>;
|
|
13
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
2
|
import type { SelectedAriaAttributes, MarqueAriaAttribute, MarqueSize, MarqueTarget } 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-wordmark" instead. */
|
|
4
5
|
export declare class PMarque {
|
|
5
6
|
protected z: NgZone;
|
|
6
7
|
protected el: HTMLElement;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import type { SelectedAriaAttributes, WordmarkAriaAttribute, WordmarkSize, WordmarkTarget, Theme } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PWordmark {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
protected el: HTMLElement;
|
|
7
|
+
aria: SelectedAriaAttributes<WordmarkAriaAttribute>;
|
|
8
|
+
href: string;
|
|
9
|
+
size: WordmarkSize;
|
|
10
|
+
target: WordmarkTarget;
|
|
11
|
+
theme: Theme;
|
|
12
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PWordmark, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PWordmark, "p-wordmark,[p-wordmark]", never, { "aria": "aria"; "href": "href"; "size": "size"; "target": "target"; "theme": "theme"; }, {}, never, ["*"]>;
|
|
15
|
+
}
|
package/lib/types.d.ts
CHANGED
|
@@ -597,6 +597,11 @@ declare const CONTENT_WRAPPER_WIDTHS: readonly [
|
|
|
597
597
|
"full"
|
|
598
598
|
];
|
|
599
599
|
export declare type ContentWrapperWidth = typeof CONTENT_WRAPPER_WIDTHS[number];
|
|
600
|
+
export declare type CrestTarget = LinkTarget;
|
|
601
|
+
declare const CREST_ARIA_ATTRIBUTES: readonly [
|
|
602
|
+
"aria-label"
|
|
603
|
+
];
|
|
604
|
+
export declare type CrestAriaAttribute = (typeof CREST_ARIA_ATTRIBUTES)[number];
|
|
600
605
|
declare const DISPLAY_TAGS: readonly [
|
|
601
606
|
"h1",
|
|
602
607
|
"h2",
|
|
@@ -1100,4 +1105,14 @@ export declare type ToastMessage = {
|
|
|
1100
1105
|
text: string;
|
|
1101
1106
|
state?: ToastState;
|
|
1102
1107
|
};
|
|
1108
|
+
declare const WORDMARK_SIZES: readonly [
|
|
1109
|
+
"small",
|
|
1110
|
+
"inherit"
|
|
1111
|
+
];
|
|
1112
|
+
export declare type WordmarkSize = (typeof WORDMARK_SIZES)[number];
|
|
1113
|
+
export declare type WordmarkTarget = LinkTarget;
|
|
1114
|
+
declare const WORDMARK_ARIA_ATTRIBUTES: readonly [
|
|
1115
|
+
"aria-label"
|
|
1116
|
+
];
|
|
1117
|
+
export declare type WordmarkAriaAttribute = (typeof WORDMARK_ARIA_ATTRIBUTES)[number];
|
|
1103
1118
|
export {};
|
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.5",
|
|
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.5",
|
|
21
21
|
"tslib": "^2.5.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
@@ -9,55 +9,57 @@ import * as i6 from "./lib/components/button-tile.wrapper";
|
|
|
9
9
|
import * as i7 from "./lib/components/carousel.wrapper";
|
|
10
10
|
import * as i8 from "./lib/components/checkbox-wrapper.wrapper";
|
|
11
11
|
import * as i9 from "./lib/components/content-wrapper.wrapper";
|
|
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/fieldset
|
|
16
|
-
import * as i14 from "./lib/components/
|
|
17
|
-
import * as i15 from "./lib/components/flex
|
|
18
|
-
import * as i16 from "./lib/components/
|
|
19
|
-
import * as i17 from "./lib/components/grid
|
|
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/
|
|
25
|
-
import * as i23 from "./lib/components/link
|
|
26
|
-
import * as i24 from "./lib/components/link-
|
|
27
|
-
import * as i25 from "./lib/components/link-
|
|
28
|
-
import * as i26 from "./lib/components/link-tile
|
|
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/segmented-control
|
|
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/stepper-horizontal
|
|
42
|
-
import * as i40 from "./lib/components/
|
|
43
|
-
import * as i41 from "./lib/components/
|
|
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/table-head
|
|
48
|
-
import * as i46 from "./lib/components/table-head-
|
|
49
|
-
import * as i47 from "./lib/components/table-row.wrapper";
|
|
50
|
-
import * as i48 from "./lib/components/
|
|
51
|
-
import * as i49 from "./lib/components/tabs
|
|
52
|
-
import * as i50 from "./lib/components/tabs-
|
|
53
|
-
import * as i51 from "./lib/components/
|
|
54
|
-
import * as i52 from "./lib/components/tag
|
|
55
|
-
import * as i53 from "./lib/components/
|
|
56
|
-
import * as i54 from "./lib/components/text
|
|
57
|
-
import * as i55 from "./lib/components/text-
|
|
58
|
-
import * as i56 from "./lib/components/text-list
|
|
59
|
-
import * as i57 from "./lib/components/
|
|
60
|
-
import * as i58 from "./lib/components/
|
|
12
|
+
import * as i10 from "./lib/components/crest.wrapper";
|
|
13
|
+
import * as i11 from "./lib/components/display.wrapper";
|
|
14
|
+
import * as i12 from "./lib/components/divider.wrapper";
|
|
15
|
+
import * as i13 from "./lib/components/fieldset.wrapper";
|
|
16
|
+
import * as i14 from "./lib/components/fieldset-wrapper.wrapper";
|
|
17
|
+
import * as i15 from "./lib/components/flex.wrapper";
|
|
18
|
+
import * as i16 from "./lib/components/flex-item.wrapper";
|
|
19
|
+
import * as i17 from "./lib/components/grid.wrapper";
|
|
20
|
+
import * as i18 from "./lib/components/grid-item.wrapper";
|
|
21
|
+
import * as i19 from "./lib/components/heading.wrapper";
|
|
22
|
+
import * as i20 from "./lib/components/headline.wrapper";
|
|
23
|
+
import * as i21 from "./lib/components/icon.wrapper";
|
|
24
|
+
import * as i22 from "./lib/components/inline-notification.wrapper";
|
|
25
|
+
import * as i23 from "./lib/components/link.wrapper";
|
|
26
|
+
import * as i24 from "./lib/components/link-pure.wrapper";
|
|
27
|
+
import * as i25 from "./lib/components/link-social.wrapper";
|
|
28
|
+
import * as i26 from "./lib/components/link-tile.wrapper";
|
|
29
|
+
import * as i27 from "./lib/components/link-tile-model-signature.wrapper";
|
|
30
|
+
import * as i28 from "./lib/components/marque.wrapper";
|
|
31
|
+
import * as i29 from "./lib/components/modal.wrapper";
|
|
32
|
+
import * as i30 from "./lib/components/model-signature.wrapper";
|
|
33
|
+
import * as i31 from "./lib/components/pagination.wrapper";
|
|
34
|
+
import * as i32 from "./lib/components/popover.wrapper";
|
|
35
|
+
import * as i33 from "./lib/components/radio-button-wrapper.wrapper";
|
|
36
|
+
import * as i34 from "./lib/components/scroller.wrapper";
|
|
37
|
+
import * as i35 from "./lib/components/segmented-control.wrapper";
|
|
38
|
+
import * as i36 from "./lib/components/segmented-control-item.wrapper";
|
|
39
|
+
import * as i37 from "./lib/components/select-wrapper.wrapper";
|
|
40
|
+
import * as i38 from "./lib/components/spinner.wrapper";
|
|
41
|
+
import * as i39 from "./lib/components/stepper-horizontal.wrapper";
|
|
42
|
+
import * as i40 from "./lib/components/stepper-horizontal-item.wrapper";
|
|
43
|
+
import * as i41 from "./lib/components/switch.wrapper";
|
|
44
|
+
import * as i42 from "./lib/components/table.wrapper";
|
|
45
|
+
import * as i43 from "./lib/components/table-body.wrapper";
|
|
46
|
+
import * as i44 from "./lib/components/table-cell.wrapper";
|
|
47
|
+
import * as i45 from "./lib/components/table-head.wrapper";
|
|
48
|
+
import * as i46 from "./lib/components/table-head-cell.wrapper";
|
|
49
|
+
import * as i47 from "./lib/components/table-head-row.wrapper";
|
|
50
|
+
import * as i48 from "./lib/components/table-row.wrapper";
|
|
51
|
+
import * as i49 from "./lib/components/tabs.wrapper";
|
|
52
|
+
import * as i50 from "./lib/components/tabs-bar.wrapper";
|
|
53
|
+
import * as i51 from "./lib/components/tabs-item.wrapper";
|
|
54
|
+
import * as i52 from "./lib/components/tag.wrapper";
|
|
55
|
+
import * as i53 from "./lib/components/tag-dismissible.wrapper";
|
|
56
|
+
import * as i54 from "./lib/components/text.wrapper";
|
|
57
|
+
import * as i55 from "./lib/components/text-field-wrapper.wrapper";
|
|
58
|
+
import * as i56 from "./lib/components/text-list.wrapper";
|
|
59
|
+
import * as i57 from "./lib/components/text-list-item.wrapper";
|
|
60
|
+
import * as i58 from "./lib/components/textarea-wrapper.wrapper";
|
|
61
|
+
import * as i59 from "./lib/components/toast.wrapper";
|
|
62
|
+
import * as i60 from "./lib/components/wordmark.wrapper";
|
|
61
63
|
export declare type PorscheDesignSystemModuleConfig = {
|
|
62
64
|
prefix?: string;
|
|
63
65
|
};
|
|
@@ -68,6 +70,6 @@ export declare class PorscheDesignSystemModule {
|
|
|
68
70
|
constructor(configParam: DefaultConfig);
|
|
69
71
|
static load(config: PorscheDesignSystemModuleConfig): ModuleWithProviders<PorscheDesignSystemModule>;
|
|
70
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<PorscheDesignSystemModule, [{ optional: true; }]>;
|
|
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.
|
|
73
|
+
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.PCrest, typeof i11.PDisplay, typeof i12.PDivider, typeof i13.PFieldset, typeof i14.PFieldsetWrapper, typeof i15.PFlex, typeof i16.PFlexItem, typeof i17.PGrid, typeof i18.PGridItem, typeof i19.PHeading, typeof i20.PHeadline, typeof i21.PIcon, typeof i22.PInlineNotification, typeof i23.PLink, typeof i24.PLinkPure, typeof i25.PLinkSocial, typeof i26.PLinkTile, typeof i27.PLinkTileModelSignature, typeof i28.PMarque, typeof i29.PModal, typeof i30.PModelSignature, typeof i31.PPagination, typeof i32.PPopover, typeof i33.PRadioButtonWrapper, typeof i34.PScroller, typeof i35.PSegmentedControl, typeof i36.PSegmentedControlItem, typeof i37.PSelectWrapper, typeof i38.PSpinner, typeof i39.PStepperHorizontal, typeof i40.PStepperHorizontalItem, typeof i41.PSwitch, typeof i42.PTable, typeof i43.PTableBody, typeof i44.PTableCell, typeof i45.PTableHead, typeof i46.PTableHeadCell, typeof i47.PTableHeadRow, typeof i48.PTableRow, typeof i49.PTabs, typeof i50.PTabsBar, typeof i51.PTabsItem, typeof i52.PTag, typeof i53.PTagDismissible, typeof i54.PText, typeof i55.PTextFieldWrapper, typeof i56.PTextList, typeof i57.PTextListItem, typeof i58.PTextareaWrapper, typeof i59.PToast, typeof i60.PWordmark], 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.PCrest, typeof i11.PDisplay, typeof i12.PDivider, typeof i13.PFieldset, typeof i14.PFieldsetWrapper, typeof i15.PFlex, typeof i16.PFlexItem, typeof i17.PGrid, typeof i18.PGridItem, typeof i19.PHeading, typeof i20.PHeadline, typeof i21.PIcon, typeof i22.PInlineNotification, typeof i23.PLink, typeof i24.PLinkPure, typeof i25.PLinkSocial, typeof i26.PLinkTile, typeof i27.PLinkTileModelSignature, typeof i28.PMarque, typeof i29.PModal, typeof i30.PModelSignature, typeof i31.PPagination, typeof i32.PPopover, typeof i33.PRadioButtonWrapper, typeof i34.PScroller, typeof i35.PSegmentedControl, typeof i36.PSegmentedControlItem, typeof i37.PSelectWrapper, typeof i38.PSpinner, typeof i39.PStepperHorizontal, typeof i40.PStepperHorizontalItem, typeof i41.PSwitch, typeof i42.PTable, typeof i43.PTableBody, typeof i44.PTableCell, typeof i45.PTableHead, typeof i46.PTableHeadCell, typeof i47.PTableHeadRow, typeof i48.PTableRow, typeof i49.PTabs, typeof i50.PTabsBar, typeof i51.PTabsItem, typeof i52.PTag, typeof i53.PTagDismissible, typeof i54.PText, typeof i55.PTextFieldWrapper, typeof i56.PTextList, typeof i57.PTextListItem, typeof i58.PTextareaWrapper, typeof i59.PToast, typeof i60.PWordmark]>;
|
|
72
74
|
static ɵinj: i0.ɵɵInjectorDeclaration<PorscheDesignSystemModule>;
|
|
73
75
|
}
|