@porsche-design-system/components-angular 2.13.0-rc.3 → 2.13.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 +16 -0
- package/components-wrapper.module.d.ts +22 -20
- package/esm2020/components-wrapper.module.mjs +23 -21
- package/esm2020/lib/components/barrel.mjs +7 -1
- package/esm2020/lib/components/stepper-horizontal-item.wrapper.mjs +30 -0
- package/esm2020/lib/components/stepper-horizontal.wrapper.mjs +33 -0
- package/esm2020/lib/types.mjs +1 -1
- package/fesm2015/porsche-design-system-components-angular.mjs +158 -103
- package/fesm2015/porsche-design-system-components-angular.mjs.map +1 -1
- package/fesm2020/porsche-design-system-components-angular.mjs +158 -103
- package/fesm2020/porsche-design-system-components-angular.mjs.map +1 -1
- package/lib/components/barrel.d.ts +5 -1
- package/lib/components/stepper-horizontal-item.wrapper.d.ts +12 -0
- package/lib/components/stepper-horizontal.wrapper.d.ts +12 -0
- package/lib/types.d.ts +10 -6
- package/package.json +2 -2
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import type { StepperState } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PStepperHorizontalItem {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
protected el: HTMLElement;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
state: StepperState;
|
|
9
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PStepperHorizontalItem, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PStepperHorizontalItem, "p-stepper-horizontal-item,[p-stepper-horizontal-item]", never, { "disabled": "disabled"; "state": "state"; }, {}, never, ["*"]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/core';
|
|
2
|
+
import type { StepChangeEvent, Theme } from '../types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PStepperHorizontal {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
protected el: HTMLElement;
|
|
7
|
+
theme: Theme;
|
|
8
|
+
stepChange: EventEmitter<CustomEvent<StepChangeEvent>>;
|
|
9
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PStepperHorizontal, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PStepperHorizontal, "p-stepper-horizontal,[p-stepper-horizontal]", never, { "theme": "theme"; }, { "stepChange": "stepChange"; }, never, ["*"]>;
|
|
12
|
+
}
|
package/lib/types.d.ts
CHANGED
|
@@ -21,6 +21,12 @@ export declare type BreakpointValues<T> = {
|
|
|
21
21
|
base: T;
|
|
22
22
|
};
|
|
23
23
|
export declare type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
24
|
+
export declare type GradientColorTheme = "default" | "surface";
|
|
25
|
+
export declare type ScrollToPosition = {
|
|
26
|
+
scrollPosition: number;
|
|
27
|
+
isSmooth?: boolean;
|
|
28
|
+
};
|
|
29
|
+
export declare type PrevNextButtonJssStyle = any;
|
|
24
30
|
declare const TEXT_SIZES: readonly [
|
|
25
31
|
"x-small",
|
|
26
32
|
"small",
|
|
@@ -465,12 +471,6 @@ declare const POPOVER_DIRECTIONS: readonly [
|
|
|
465
471
|
"left"
|
|
466
472
|
];
|
|
467
473
|
export declare type PopoverDirection = typeof POPOVER_DIRECTIONS[number];
|
|
468
|
-
export declare type GradientColorTheme = "default" | "surface";
|
|
469
|
-
export declare type ScrollToPosition = {
|
|
470
|
-
scrollPosition: number;
|
|
471
|
-
isSmooth?: boolean;
|
|
472
|
-
};
|
|
473
|
-
export declare type PrevNextButtonJssStyle = any;
|
|
474
474
|
declare const SEGMENTED_CONTROL_BACKGROUND_COLORS: readonly [
|
|
475
475
|
"background-surface",
|
|
476
476
|
"background-default"
|
|
@@ -493,6 +493,10 @@ declare const SPINNER_ARIA_ATTRIBUTES: readonly [
|
|
|
493
493
|
"aria-label"
|
|
494
494
|
];
|
|
495
495
|
export declare type SpinnerAriaAttributes = typeof SPINNER_ARIA_ATTRIBUTES[number];
|
|
496
|
+
export declare type StepChangeEvent = {
|
|
497
|
+
activeStepIndex: number;
|
|
498
|
+
};
|
|
499
|
+
export declare type StepperState = "current" | "complete" | "warning";
|
|
496
500
|
export declare type SwitchChangeEvent = {
|
|
497
501
|
checked: boolean;
|
|
498
502
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-angular",
|
|
3
|
-
"version": "2.13.0
|
|
3
|
+
"version": "2.13.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.13.0
|
|
20
|
+
"@porsche-design-system/components-js": "2.13.0",
|
|
21
21
|
"tslib": "^2.0.1"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|