@porsche-design-system/components-angular 3.0.0-rc.3 → 3.1.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.
- package/CHANGELOG.md +9 -0
- package/esm2020/lib/components/marque.wrapper.mjs +3 -3
- package/esm2020/lib/types.mjs +1 -1
- package/fesm2015/porsche-design-system-components-angular.mjs +2 -2
- package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -1
- package/fesm2020/porsche-design-system-components-angular.mjs +2 -2
- package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -1
- package/lib/components/marque.wrapper.d.ts +3 -2
- package/lib/types.d.ts +10 -5
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
-
import type { SelectedAriaAttributes, MarqueAriaAttribute, MarqueSize, MarqueTarget } from '../types';
|
|
2
|
+
import type { SelectedAriaAttributes, MarqueAriaAttribute, MarqueSize, MarqueTarget, MarqueVariant } from '../types';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
/** @deprecated since v3.0.0, will be removed with next major release. Please use "p-wordmark" instead. */
|
|
5
5
|
export declare class PMarque {
|
|
@@ -10,7 +10,8 @@ export declare class PMarque {
|
|
|
10
10
|
size?: MarqueSize;
|
|
11
11
|
target?: MarqueTarget;
|
|
12
12
|
trademark?: boolean;
|
|
13
|
+
variant?: MarqueVariant;
|
|
13
14
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<PMarque, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PMarque, "p-marque,[p-marque]", never, { "aria": "aria"; "href": "href"; "size": "size"; "target": "target"; "trademark": "trademark"; }, {}, never, ["*"], false, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PMarque, "p-marque,[p-marque]", never, { "aria": "aria"; "href": "href"; "size": "size"; "target": "target"; "trademark": "trademark"; "variant": "variant"; }, {}, never, ["*"], false, never>;
|
|
16
17
|
}
|
package/lib/types.d.ts
CHANGED
|
@@ -921,17 +921,22 @@ export type LinkTileModelSignatureHeadingTag = (typeof LINK_TILE_MODEL_SIGNATURE
|
|
|
921
921
|
export type LinkTileModelSignatureWeight = TileWeight;
|
|
922
922
|
export type LinkTileModelSignatureAspectRatio = TileAspectRatio;
|
|
923
923
|
export type LinkTileModelSignatureLinkDirection = GroupDirection;
|
|
924
|
+
declare const MARQUE_VARIANTS: readonly [
|
|
925
|
+
"75-years",
|
|
926
|
+
"default"
|
|
927
|
+
];
|
|
928
|
+
export type MarqueVariant = (typeof MARQUE_VARIANTS)[number];
|
|
929
|
+
export type MarqueTarget = LinkTarget;
|
|
930
|
+
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
931
|
+
"aria-label"
|
|
932
|
+
];
|
|
933
|
+
export type MarqueAriaAttribute = (typeof MARQUE_ARIA_ATTRIBUTES)[number];
|
|
924
934
|
declare const MARQUE_SIZES: readonly [
|
|
925
935
|
"responsive",
|
|
926
936
|
"small",
|
|
927
937
|
"medium"
|
|
928
938
|
];
|
|
929
939
|
export type MarqueSize = typeof MARQUE_SIZES[number];
|
|
930
|
-
export type MarqueTarget = LinkTarget;
|
|
931
|
-
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
932
|
-
"aria-label"
|
|
933
|
-
];
|
|
934
|
-
export type MarqueAriaAttribute = typeof MARQUE_ARIA_ATTRIBUTES[number];
|
|
935
940
|
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
936
941
|
"aria-label"
|
|
937
942
|
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-angular",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.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": "3.
|
|
20
|
+
"@porsche-design-system/components-js": "3.1.0-rc.0",
|
|
21
21
|
"tslib": "^2.5.0"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|