@porsche-design-system/components-angular 2.16.3-rc.0 → 2.17.0-rc.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.
@@ -18,6 +18,7 @@ import { PInlineNotification } from './inline-notification.wrapper';
18
18
  import { PLink } from './link.wrapper';
19
19
  import { PLinkPure } from './link-pure.wrapper';
20
20
  import { PLinkSocial } from './link-social.wrapper';
21
+ import { PLinkTile } from './link-tile.wrapper';
21
22
  import { PMarque } from './marque.wrapper';
22
23
  import { PModal } from './modal.wrapper';
23
24
  import { PPagination } from './pagination.wrapper';
@@ -49,7 +50,7 @@ import { PTextList } from './text-list.wrapper';
49
50
  import { PTextListItem } from './text-list-item.wrapper';
50
51
  import { PTextareaWrapper } from './textarea-wrapper.wrapper';
51
52
  import { PToast } from './toast.wrapper';
52
- export declare const DECLARATIONS: (typeof PAccordion | typeof PBanner | typeof PButton | typeof PButtonGroup | typeof PButtonPure | typeof PCarousel | typeof PCheckboxWrapper | typeof PContentWrapper | typeof PDivider | typeof PFieldsetWrapper | typeof PFlex | typeof PFlexItem | typeof PGrid | typeof PGridItem | typeof PHeadline | typeof PIcon | typeof PInlineNotification | typeof PLink | typeof PLinkPure | typeof PLinkSocial | typeof PMarque | typeof PModal | 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)[];
53
+ export declare const DECLARATIONS: (typeof PAccordion | typeof PBanner | typeof PButton | typeof PButtonGroup | typeof PButtonPure | typeof PCarousel | typeof PCheckboxWrapper | typeof PContentWrapper | typeof PDivider | typeof PFieldsetWrapper | typeof PFlex | typeof PFlexItem | typeof PGrid | typeof PGridItem | typeof PHeadline | typeof PIcon | typeof PInlineNotification | typeof PLink | typeof PLinkPure | typeof PLinkSocial | typeof PLinkTile | typeof PMarque | typeof PModal | 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)[];
53
54
  export * from './accordion.wrapper';
54
55
  export * from './banner.wrapper';
55
56
  export * from './button.wrapper';
@@ -70,6 +71,7 @@ export * from './inline-notification.wrapper';
70
71
  export * from './link.wrapper';
71
72
  export * from './link-pure.wrapper';
72
73
  export * from './link-social.wrapper';
74
+ export * from './link-tile.wrapper';
73
75
  export * from './marque.wrapper';
74
76
  export * from './modal.wrapper';
75
77
  export * from './pagination.wrapper';
@@ -0,0 +1,23 @@
1
+ import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
2
+ import type { LinkTileAlign, SelectedAriaAttributes, LinkAriaAttributes, BreakpointCustomizable, LinkTileAspectRatio, LinkTileSize, LinkTarget, LinkTileWeight } from '../types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PLinkTile {
5
+ protected z: NgZone;
6
+ protected el: HTMLElement;
7
+ align: LinkTileAlign;
8
+ aria: SelectedAriaAttributes<LinkAriaAttributes>;
9
+ aspectRatio: BreakpointCustomizable<LinkTileAspectRatio>;
10
+ compact: BreakpointCustomizable<boolean>;
11
+ description: string;
12
+ download: string;
13
+ gradient: boolean;
14
+ href: string;
15
+ label: string;
16
+ rel: string;
17
+ size: BreakpointCustomizable<LinkTileSize>;
18
+ target: LinkTarget;
19
+ weight: BreakpointCustomizable<LinkTileWeight>;
20
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
21
+ static ɵfac: i0.ɵɵFactoryDeclaration<PLinkTile, never>;
22
+ static ɵcmp: i0.ɵɵComponentDeclaration<PLinkTile, "p-link-tile,[p-link-tile]", never, { "align": "align"; "aria": "aria"; "aspectRatio": "aspectRatio"; "compact": "compact"; "description": "description"; "download": "download"; "gradient": "gradient"; "href": "href"; "label": "label"; "rel": "rel"; "size": "size"; "target": "target"; "weight": "weight"; }, {}, never, ["*"]>;
23
+ }
package/lib/types.d.ts CHANGED
@@ -563,6 +563,29 @@ declare const LINK_ARIA_ATTRIBUTES: readonly [
563
563
  ];
564
564
  export declare type LinkAriaAttributes = typeof LINK_ARIA_ATTRIBUTES[number];
565
565
  export declare type SocialIconName = 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">;
566
+ declare const LINK_TILE_WEIGHTS: readonly [
567
+ "regular",
568
+ "semibold"
569
+ ];
570
+ export declare type LinkTileWeight = typeof LINK_TILE_WEIGHTS[number];
571
+ declare const LINK_TILE_SIZES: readonly [
572
+ "default",
573
+ "inherit"
574
+ ];
575
+ export declare type LinkTileSize = typeof LINK_TILE_SIZES[number];
576
+ declare const LINK_TILE_ALIGNS: readonly [
577
+ "top",
578
+ "bottom"
579
+ ];
580
+ export declare type LinkTileAlign = typeof LINK_TILE_ALIGNS[number];
581
+ declare const LINK_TILE_ASPECT_RATIOS: readonly [
582
+ "1:1",
583
+ "4:3",
584
+ "3:4",
585
+ "16:9",
586
+ "9:16"
587
+ ];
588
+ export declare type LinkTileAspectRatio = typeof LINK_TILE_ASPECT_RATIOS[number];
566
589
  declare const MARQUE_SIZES: readonly [
567
590
  "responsive",
568
591
  "small",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@porsche-design-system/components-angular",
3
- "version": "2.16.3-rc.0",
3
+ "version": "2.17.0-rc.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": "2.16.3-rc.0",
20
+ "@porsche-design-system/components-js": "2.17.0-rc.0",
21
21
  "tslib": "^2.0.1"
22
22
  },
23
23
  "peerDependencies": {
@@ -1,4 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export const usesSkeletons = () => typeof window !== 'undefined' && !!document.querySelector('style[uses-skeleton]');
3
- export const USES_SKELETONS = new InjectionToken('usesSkeletons');
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2tlbGV0b24taGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vcHJvamVjdHMvY29tcG9uZW50cy13cmFwcGVyL3NyYy9za2VsZXRvbi1oZWxwZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUUvQyxNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUcsR0FBWSxFQUFFLENBQ3pDLE9BQU8sTUFBTSxLQUFLLFdBQVcsSUFBSSxDQUFDLENBQUMsUUFBUSxDQUFDLGFBQWEsQ0FBQyxzQkFBc0IsQ0FBQyxDQUFDO0FBRXBGLE1BQU0sQ0FBQyxNQUFNLGNBQWMsR0FBRyxJQUFJLGNBQWMsQ0FBVSxlQUFlLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGlvblRva2VuIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmV4cG9ydCBjb25zdCB1c2VzU2tlbGV0b25zID0gKCk6IGJvb2xlYW4gPT5cbiAgdHlwZW9mIHdpbmRvdyAhPT0gJ3VuZGVmaW5lZCcgJiYgISFkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCdzdHlsZVt1c2VzLXNrZWxldG9uXScpO1xuXG5leHBvcnQgY29uc3QgVVNFU19TS0VMRVRPTlMgPSBuZXcgSW5qZWN0aW9uVG9rZW48Ym9vbGVhbj4oJ3VzZXNTa2VsZXRvbnMnKTtcbiJdfQ==
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const usesSkeletons: () => boolean;
3
- export declare const USES_SKELETONS: InjectionToken<boolean>;