@porsche-design-system/components-angular 3.1.0-rc.1 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,7 @@ import { PFieldset } from './fieldset.wrapper';
14
14
  import { PFieldsetWrapper } from './fieldset-wrapper.wrapper';
15
15
  import { PFlex } from './flex.wrapper';
16
16
  import { PFlexItem } from './flex-item.wrapper';
17
+ import { PFlyout } from './flyout.wrapper';
17
18
  import { PGrid } from './grid.wrapper';
18
19
  import { PGridItem } from './grid-item.wrapper';
19
20
  import { PHeading } from './heading.wrapper';
@@ -58,7 +59,7 @@ import { PTextListItem } from './text-list-item.wrapper';
58
59
  import { PTextareaWrapper } from './textarea-wrapper.wrapper';
59
60
  import { PToast } from './toast.wrapper';
60
61
  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)[];
62
+ 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 PFlyout | 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)[];
62
63
  export * from './accordion.wrapper';
63
64
  export * from './banner.wrapper';
64
65
  export * from './button.wrapper';
@@ -75,6 +76,7 @@ export * from './fieldset.wrapper';
75
76
  export * from './fieldset-wrapper.wrapper';
76
77
  export * from './flex.wrapper';
77
78
  export * from './flex-item.wrapper';
79
+ export * from './flyout.wrapper';
78
80
  export * from './grid.wrapper';
79
81
  export * from './grid-item.wrapper';
80
82
  export * from './heading.wrapper';
@@ -0,0 +1,15 @@
1
+ import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
2
+ import type { SelectedAriaAttributes, FlyoutAriaAttribute, FlyoutPosition, Theme } from '../types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PFlyout {
5
+ protected z: NgZone;
6
+ protected el: HTMLElement;
7
+ aria?: SelectedAriaAttributes<FlyoutAriaAttribute>;
8
+ open: boolean;
9
+ position?: FlyoutPosition;
10
+ theme?: Theme;
11
+ dismiss: EventEmitter<CustomEvent<void>>;
12
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<PFlyout, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<PFlyout, "p-flyout,[p-flyout]", never, { "aria": "aria"; "open": "open"; "position": "position"; "theme": "theme"; }, { "dismiss": "dismiss"; }, never, ["*"], false, never>;
15
+ }
package/lib/types.d.ts CHANGED
@@ -757,6 +757,15 @@ declare const FLEX_ITEM_FLEXS: readonly [
757
757
  "equal"
758
758
  ];
759
759
  export type FlexItemFlex = typeof FLEX_ITEM_FLEXS[number];
760
+ declare const FLYOUT_POSITIONS: readonly [
761
+ "left",
762
+ "right"
763
+ ];
764
+ export type FlyoutPosition = (typeof FLYOUT_POSITIONS)[number];
765
+ declare const FLYOUT_ARIA_ATTRIBUTES: readonly [
766
+ "aria-label"
767
+ ];
768
+ export type FlyoutAriaAttribute = (typeof FLYOUT_ARIA_ATTRIBUTES)[number];
760
769
  declare const GRID_DIRECTIONS: readonly [
761
770
  "row",
762
771
  "row-reverse",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-angular",
3
- "version": "3.1.0-rc.1",
3
+ "version": "3.1.0",
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.1.0-rc.1",
20
+ "@porsche-design-system/components-js": "3.1.0",
21
21
  "tslib": "^2.5.0"
22
22
  },
23
23
  "peerDependencies": {
@@ -16,50 +16,51 @@ import * as i13 from "./lib/components/fieldset.wrapper";
16
16
  import * as i14 from "./lib/components/fieldset-wrapper.wrapper";
17
17
  import * as i15 from "./lib/components/flex.wrapper";
18
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";
19
+ import * as i17 from "./lib/components/flyout.wrapper";
20
+ import * as i18 from "./lib/components/grid.wrapper";
21
+ import * as i19 from "./lib/components/grid-item.wrapper";
22
+ import * as i20 from "./lib/components/heading.wrapper";
23
+ import * as i21 from "./lib/components/headline.wrapper";
24
+ import * as i22 from "./lib/components/icon.wrapper";
25
+ import * as i23 from "./lib/components/inline-notification.wrapper";
26
+ import * as i24 from "./lib/components/link.wrapper";
27
+ import * as i25 from "./lib/components/link-pure.wrapper";
28
+ import * as i26 from "./lib/components/link-social.wrapper";
29
+ import * as i27 from "./lib/components/link-tile.wrapper";
30
+ import * as i28 from "./lib/components/link-tile-model-signature.wrapper";
31
+ import * as i29 from "./lib/components/marque.wrapper";
32
+ import * as i30 from "./lib/components/modal.wrapper";
33
+ import * as i31 from "./lib/components/model-signature.wrapper";
34
+ import * as i32 from "./lib/components/pagination.wrapper";
35
+ import * as i33 from "./lib/components/popover.wrapper";
36
+ import * as i34 from "./lib/components/radio-button-wrapper.wrapper";
37
+ import * as i35 from "./lib/components/scroller.wrapper";
38
+ import * as i36 from "./lib/components/segmented-control.wrapper";
39
+ import * as i37 from "./lib/components/segmented-control-item.wrapper";
40
+ import * as i38 from "./lib/components/select-wrapper.wrapper";
41
+ import * as i39 from "./lib/components/spinner.wrapper";
42
+ import * as i40 from "./lib/components/stepper-horizontal.wrapper";
43
+ import * as i41 from "./lib/components/stepper-horizontal-item.wrapper";
44
+ import * as i42 from "./lib/components/switch.wrapper";
45
+ import * as i43 from "./lib/components/table.wrapper";
46
+ import * as i44 from "./lib/components/table-body.wrapper";
47
+ import * as i45 from "./lib/components/table-cell.wrapper";
48
+ import * as i46 from "./lib/components/table-head.wrapper";
49
+ import * as i47 from "./lib/components/table-head-cell.wrapper";
50
+ import * as i48 from "./lib/components/table-head-row.wrapper";
51
+ import * as i49 from "./lib/components/table-row.wrapper";
52
+ import * as i50 from "./lib/components/tabs.wrapper";
53
+ import * as i51 from "./lib/components/tabs-bar.wrapper";
54
+ import * as i52 from "./lib/components/tabs-item.wrapper";
55
+ import * as i53 from "./lib/components/tag.wrapper";
56
+ import * as i54 from "./lib/components/tag-dismissible.wrapper";
57
+ import * as i55 from "./lib/components/text.wrapper";
58
+ import * as i56 from "./lib/components/text-field-wrapper.wrapper";
59
+ import * as i57 from "./lib/components/text-list.wrapper";
60
+ import * as i58 from "./lib/components/text-list-item.wrapper";
61
+ import * as i59 from "./lib/components/textarea-wrapper.wrapper";
62
+ import * as i60 from "./lib/components/toast.wrapper";
63
+ import * as i61 from "./lib/components/wordmark.wrapper";
63
64
  export type PorscheDesignSystemModuleConfig = {
64
65
  prefix?: string;
65
66
  };
@@ -70,6 +71,6 @@ export declare class PorscheDesignSystemModule {
70
71
  constructor(configParam: DefaultConfig);
71
72
  static load(config: PorscheDesignSystemModuleConfig): ModuleWithProviders<PorscheDesignSystemModule>;
72
73
  static ɵfac: i0.ɵɵFactoryDeclaration<PorscheDesignSystemModule, [{ optional: true; }]>;
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]>;
74
+ 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.PFlyout, typeof i18.PGrid, typeof i19.PGridItem, typeof i20.PHeading, typeof i21.PHeadline, typeof i22.PIcon, typeof i23.PInlineNotification, typeof i24.PLink, typeof i25.PLinkPure, typeof i26.PLinkSocial, typeof i27.PLinkTile, typeof i28.PLinkTileModelSignature, typeof i29.PMarque, typeof i30.PModal, typeof i31.PModelSignature, typeof i32.PPagination, typeof i33.PPopover, typeof i34.PRadioButtonWrapper, typeof i35.PScroller, typeof i36.PSegmentedControl, typeof i37.PSegmentedControlItem, typeof i38.PSelectWrapper, typeof i39.PSpinner, typeof i40.PStepperHorizontal, typeof i41.PStepperHorizontalItem, typeof i42.PSwitch, typeof i43.PTable, typeof i44.PTableBody, typeof i45.PTableCell, typeof i46.PTableHead, typeof i47.PTableHeadCell, typeof i48.PTableHeadRow, typeof i49.PTableRow, typeof i50.PTabs, typeof i51.PTabsBar, typeof i52.PTabsItem, typeof i53.PTag, typeof i54.PTagDismissible, typeof i55.PText, typeof i56.PTextFieldWrapper, typeof i57.PTextList, typeof i58.PTextListItem, typeof i59.PTextareaWrapper, typeof i60.PToast, typeof i61.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.PFlyout, typeof i18.PGrid, typeof i19.PGridItem, typeof i20.PHeading, typeof i21.PHeadline, typeof i22.PIcon, typeof i23.PInlineNotification, typeof i24.PLink, typeof i25.PLinkPure, typeof i26.PLinkSocial, typeof i27.PLinkTile, typeof i28.PLinkTileModelSignature, typeof i29.PMarque, typeof i30.PModal, typeof i31.PModelSignature, typeof i32.PPagination, typeof i33.PPopover, typeof i34.PRadioButtonWrapper, typeof i35.PScroller, typeof i36.PSegmentedControl, typeof i37.PSegmentedControlItem, typeof i38.PSelectWrapper, typeof i39.PSpinner, typeof i40.PStepperHorizontal, typeof i41.PStepperHorizontalItem, typeof i42.PSwitch, typeof i43.PTable, typeof i44.PTableBody, typeof i45.PTableCell, typeof i46.PTableHead, typeof i47.PTableHeadCell, typeof i48.PTableHeadRow, typeof i49.PTableRow, typeof i50.PTabs, typeof i51.PTabsBar, typeof i52.PTabsItem, typeof i53.PTag, typeof i54.PTagDismissible, typeof i55.PText, typeof i56.PTextFieldWrapper, typeof i57.PTextList, typeof i58.PTextListItem, typeof i59.PTextareaWrapper, typeof i60.PToast, typeof i61.PWordmark]>;
74
75
  static ɵinj: i0.ɵɵInjectorDeclaration<PorscheDesignSystemModule>;
75
76
  }