@porsche-design-system/components-vue 3.0.0-alpha.2 → 3.0.0-alpha.4
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 +385 -0
- package/lib/components/AccordionWrapper.vue.d.ts +3 -0
- package/lib/components/AccordionWrapper.vue.js +13 -13
- package/lib/components/BannerWrapper.vue.d.ts +32 -2
- package/lib/components/BannerWrapper.vue.js +11 -9
- package/lib/components/ButtonPureWrapper.vue.d.ts +11 -11
- package/lib/components/ButtonTileWrapper.vue.d.ts +171 -0
- package/lib/components/ButtonTileWrapper.vue.js +40 -0
- package/lib/components/ButtonTileWrapper.vue2.js +4 -0
- package/lib/components/ButtonWrapper.vue.d.ts +5 -5
- package/lib/components/CarouselWrapper.vue.d.ts +32 -13
- package/lib/components/CarouselWrapper.vue.js +17 -15
- package/lib/components/CheckboxWrapperWrapper.vue.d.ts +2 -2
- package/lib/components/DisplayWrapper.vue.d.ts +4 -4
- package/lib/components/DividerWrapper.vue.d.ts +14 -6
- package/lib/components/DividerWrapper.vue.js +11 -10
- package/lib/components/FieldsetWrapper.vue.d.ts +95 -0
- package/lib/components/FieldsetWrapper.vue.js +32 -0
- package/lib/components/FieldsetWrapper.vue2.js +4 -0
- package/lib/components/FieldsetWrapperWrapper.vue.d.ts +4 -3
- package/lib/components/GridItemWrapper.vue.d.ts +4 -4
- package/lib/components/HeadingWrapper.vue.d.ts +4 -4
- package/lib/components/HeadlineWrapper.vue.d.ts +3 -3
- package/lib/components/IconWrapper.vue.d.ts +4 -4
- package/lib/components/InlineNotificationWrapper.vue.d.ts +3 -3
- package/lib/components/LinkPureWrapper.vue.d.ts +10 -10
- package/lib/components/LinkSocialWrapper.vue.d.ts +5 -5
- package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +106 -0
- package/lib/components/LinkTileModelSignatureWrapper.vue.js +33 -0
- package/lib/components/LinkTileModelSignatureWrapper.vue2.js +4 -0
- package/lib/components/LinkTileWrapper.vue.d.ts +6 -6
- package/lib/components/LinkTileWrapper.vue.js +1 -1
- package/lib/components/LinkWrapper.vue.d.ts +4 -4
- package/lib/components/MarqueWrapper.vue.d.ts +2 -2
- package/lib/components/ModalWrapper.vue.d.ts +16 -5
- package/lib/components/ModalWrapper.vue.js +13 -12
- package/lib/components/ModelSignatureWrapper.vue.d.ts +4 -4
- package/lib/components/PaginationWrapper.vue.d.ts +36 -24
- package/lib/components/PaginationWrapper.vue.js +17 -16
- package/lib/components/PopoverWrapper.vue.d.ts +2 -2
- package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +2 -2
- package/lib/components/ScrollerWrapper.vue.d.ts +38 -11
- package/lib/components/ScrollerWrapper.vue.js +16 -13
- package/lib/components/SegmentedControlItemWrapper.vue.d.ts +2 -2
- package/lib/components/SegmentedControlWrapper.vue.d.ts +5 -2
- package/lib/components/SegmentedControlWrapper.vue.js +12 -12
- package/lib/components/SelectWrapperWrapper.vue.d.ts +4 -4
- package/lib/components/StepperHorizontalWrapper.vue.d.ts +6 -3
- package/lib/components/StepperHorizontalWrapper.vue.js +13 -13
- package/lib/components/SwitchWrapper.vue.d.ts +6 -3
- package/lib/components/SwitchWrapper.vue.js +13 -13
- package/lib/components/TableWrapper.vue.d.ts +26 -3
- package/lib/components/TableWrapper.vue.js +14 -13
- package/lib/components/TabsBarWrapper.vue.d.ts +21 -10
- package/lib/components/TabsBarWrapper.vue.js +15 -14
- package/lib/components/TabsWrapper.vue.d.ts +21 -10
- package/lib/components/TabsWrapper.vue.js +15 -14
- package/lib/components/TagDismissibleWrapper.vue.d.ts +2 -2
- package/lib/components/TagWrapper.vue.d.ts +2 -2
- package/lib/components/TextFieldWrapperWrapper.vue.d.ts +16 -8
- package/lib/components/TextFieldWrapperWrapper.vue.js +7 -6
- package/lib/components/TextListWrapper.vue.d.ts +16 -11
- package/lib/components/TextListWrapper.vue.js +11 -10
- package/lib/components/TextWrapper.vue.d.ts +4 -4
- package/lib/components/TextareaWrapperWrapper.vue.d.ts +16 -8
- package/lib/components/TextareaWrapperWrapper.vue.js +12 -11
- package/lib/components/index.d.ts +3 -0
- package/lib/types.d.ts +164 -68
- package/package.json +2 -2
- package/public-api.js +117 -111
- package/styles/_index.scss +1 -0
- package/styles/scss.scss +0 -1
|
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
7
7
|
/**
|
|
8
8
|
* Basic text color variations depending on theme property.
|
|
9
9
|
*/
|
|
10
|
-
color?: "default" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "
|
|
10
|
+
color?: "default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | undefined;
|
|
11
11
|
/**
|
|
12
12
|
* Adds an ellipsis to a single line of text if it overflows.
|
|
13
13
|
*/
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
15
15
|
/**
|
|
16
16
|
* Size of the text. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
|
|
17
17
|
*/
|
|
18
|
-
size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
|
|
18
|
+
size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
|
|
19
19
|
/**
|
|
20
20
|
* Sets a custom HTML tag depending on the usage of the text component.
|
|
21
21
|
*/
|
|
@@ -44,7 +44,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
44
44
|
/**
|
|
45
45
|
* Basic text color variations depending on theme property.
|
|
46
46
|
*/
|
|
47
|
-
color?: "default" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "
|
|
47
|
+
color?: "default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral" | undefined;
|
|
48
48
|
/**
|
|
49
49
|
* Adds an ellipsis to a single line of text if it overflows.
|
|
50
50
|
*/
|
|
@@ -52,7 +52,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
52
52
|
/**
|
|
53
53
|
* Size of the text. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
|
|
54
54
|
*/
|
|
55
|
-
size?: BreakpointCustomizable<"inherit" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
|
|
55
|
+
size?: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large"> | undefined;
|
|
56
56
|
/**
|
|
57
57
|
* Sets a custom HTML tag depending on the usage of the text component.
|
|
58
58
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BreakpointCustomizable,
|
|
1
|
+
import type { BreakpointCustomizable, TextareaWrapperState, Theme } from '../types';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
/**
|
|
4
4
|
* The description text.
|
|
@@ -17,9 +17,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
17
17
|
*/
|
|
18
18
|
message?: string | undefined;
|
|
19
19
|
/**
|
|
20
|
-
* Show or hide max character count.
|
|
20
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
|
|
21
21
|
*/
|
|
22
22
|
showCharacterCount?: boolean | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Show or hide max character count.
|
|
25
|
+
*/
|
|
26
|
+
showCounter?: boolean | undefined;
|
|
23
27
|
/**
|
|
24
28
|
* The validation state.
|
|
25
29
|
*/
|
|
@@ -33,7 +37,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
33
37
|
hideLabel: boolean;
|
|
34
38
|
label: string;
|
|
35
39
|
message: string;
|
|
36
|
-
|
|
40
|
+
showCounter: boolean;
|
|
37
41
|
state: string;
|
|
38
42
|
theme: string;
|
|
39
43
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -54,9 +58,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
54
58
|
*/
|
|
55
59
|
message?: string | undefined;
|
|
56
60
|
/**
|
|
57
|
-
* Show or hide max character count.
|
|
61
|
+
* @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
|
|
58
62
|
*/
|
|
59
63
|
showCharacterCount?: boolean | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* Show or hide max character count.
|
|
66
|
+
*/
|
|
67
|
+
showCounter?: boolean | undefined;
|
|
60
68
|
/**
|
|
61
69
|
* The validation state.
|
|
62
70
|
*/
|
|
@@ -70,17 +78,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
70
78
|
hideLabel: boolean;
|
|
71
79
|
label: string;
|
|
72
80
|
message: string;
|
|
73
|
-
|
|
81
|
+
showCounter: boolean;
|
|
74
82
|
state: string;
|
|
75
83
|
theme: string;
|
|
76
84
|
}>>>, {
|
|
77
85
|
label: string;
|
|
78
86
|
theme: Theme;
|
|
79
|
-
state: FormState;
|
|
80
|
-
hideLabel: BreakpointCustomizable<boolean>;
|
|
81
87
|
description: string;
|
|
88
|
+
state: TextareaWrapperState;
|
|
89
|
+
hideLabel: BreakpointCustomizable<boolean>;
|
|
82
90
|
message: string;
|
|
83
|
-
|
|
91
|
+
showCounter: boolean;
|
|
84
92
|
}>, {
|
|
85
93
|
default: (_: {}) => any;
|
|
86
94
|
}>;
|
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { defineComponent as p, ref as l, onMounted as
|
|
2
|
-
import { getPrefixedTagName as h, syncProperties as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as p, ref as l, onMounted as s, onUpdated as f, openBlock as d, createBlock as u, resolveDynamicComponent as m, unref as c, withCtx as i, renderSlot as C } from "vue";
|
|
2
|
+
import { getPrefixedTagName as h, syncProperties as o } from "../../utils.js";
|
|
3
|
+
const x = /* @__PURE__ */ p({
|
|
4
4
|
__name: "TextareaWrapperWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
description: { default: "" },
|
|
7
7
|
hideLabel: { default: !1 },
|
|
8
8
|
label: { default: "" },
|
|
9
9
|
message: { default: "" },
|
|
10
|
-
showCharacterCount: { type: Boolean
|
|
10
|
+
showCharacterCount: { type: Boolean },
|
|
11
|
+
showCounter: { type: Boolean, default: !0 },
|
|
11
12
|
state: { default: "none" },
|
|
12
13
|
theme: { default: "light" }
|
|
13
14
|
},
|
|
14
|
-
setup(
|
|
15
|
-
const t =
|
|
16
|
-
return
|
|
17
|
-
|
|
18
|
-
}),
|
|
19
|
-
|
|
15
|
+
setup(a) {
|
|
16
|
+
const t = a, r = h("p-textarea-wrapper"), e = l();
|
|
17
|
+
return s(() => {
|
|
18
|
+
o(e.value, t);
|
|
19
|
+
}), f(() => {
|
|
20
|
+
o(e.value, t);
|
|
20
21
|
}), (n, _) => (d(), u(m(c(r)), {
|
|
21
22
|
ref_key: "pdsComponentRef",
|
|
22
23
|
ref: e
|
|
@@ -29,5 +30,5 @@ const w = /* @__PURE__ */ p({
|
|
|
29
30
|
}
|
|
30
31
|
});
|
|
31
32
|
export {
|
|
32
|
-
|
|
33
|
+
x as default
|
|
33
34
|
};
|
|
@@ -3,11 +3,13 @@ export { default as PBanner } from './BannerWrapper.vue';
|
|
|
3
3
|
export { default as PButton } from './ButtonWrapper.vue';
|
|
4
4
|
export { default as PButtonGroup } from './ButtonGroupWrapper.vue';
|
|
5
5
|
export { default as PButtonPure } from './ButtonPureWrapper.vue';
|
|
6
|
+
export { default as PButtonTile } from './ButtonTileWrapper.vue';
|
|
6
7
|
export { default as PCarousel } from './CarouselWrapper.vue';
|
|
7
8
|
export { default as PCheckboxWrapper } from './CheckboxWrapperWrapper.vue';
|
|
8
9
|
export { default as PContentWrapper } from './ContentWrapperWrapper.vue';
|
|
9
10
|
export { default as PDisplay } from './DisplayWrapper.vue';
|
|
10
11
|
export { default as PDivider } from './DividerWrapper.vue';
|
|
12
|
+
export { default as PFieldset } from './FieldsetWrapper.vue';
|
|
11
13
|
export { default as PFieldsetWrapper } from './FieldsetWrapperWrapper.vue';
|
|
12
14
|
export { default as PFlex } from './FlexWrapper.vue';
|
|
13
15
|
export { default as PFlexItem } from './FlexItemWrapper.vue';
|
|
@@ -21,6 +23,7 @@ export { default as PLink } from './LinkWrapper.vue';
|
|
|
21
23
|
export { default as PLinkPure } from './LinkPureWrapper.vue';
|
|
22
24
|
export { default as PLinkSocial } from './LinkSocialWrapper.vue';
|
|
23
25
|
export { default as PLinkTile } from './LinkTileWrapper.vue';
|
|
26
|
+
export { default as PLinkTileModelSignature } from './LinkTileModelSignatureWrapper.vue';
|
|
24
27
|
export { default as PMarque } from './MarqueWrapper.vue';
|
|
25
28
|
export { default as PModal } from './ModalWrapper.vue';
|
|
26
29
|
export { default as PModelSignature } from './ModelSignatureWrapper.vue';
|
package/lib/types.d.ts
CHANGED
|
@@ -209,12 +209,41 @@ export declare type BreakpointValues<T> = {
|
|
|
209
209
|
base: T;
|
|
210
210
|
};
|
|
211
211
|
export declare type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
212
|
-
declare const
|
|
212
|
+
declare const TILE_ASPECT_RATIOS: readonly [
|
|
213
|
+
"1:1",
|
|
214
|
+
"4:3",
|
|
215
|
+
"3:4",
|
|
216
|
+
"16:9",
|
|
217
|
+
"9:16"
|
|
218
|
+
];
|
|
219
|
+
export declare type TileAspectRatio = (typeof TILE_ASPECT_RATIOS)[number];
|
|
220
|
+
declare const TILE_SIZES: readonly [
|
|
221
|
+
"default",
|
|
222
|
+
"inherit"
|
|
223
|
+
];
|
|
224
|
+
export declare type TileSize = (typeof TILE_SIZES)[number];
|
|
225
|
+
declare const TILE_WEIGHTS: readonly [
|
|
226
|
+
"regular",
|
|
227
|
+
"semi-bold"
|
|
228
|
+
];
|
|
229
|
+
export declare type TileWeight = (typeof TILE_WEIGHTS)[number];
|
|
230
|
+
declare const TILE_ALIGNS: readonly [
|
|
231
|
+
"top",
|
|
232
|
+
"bottom"
|
|
233
|
+
];
|
|
234
|
+
export declare type TileAlign = (typeof TILE_ALIGNS)[number];
|
|
235
|
+
declare const GRADIENT_COLOR_SCHEMES: readonly [
|
|
213
236
|
"default",
|
|
214
237
|
"surface"
|
|
215
238
|
];
|
|
216
|
-
|
|
217
|
-
export declare type
|
|
239
|
+
/** @deprecated */
|
|
240
|
+
export declare type ScrollerGradientColorScheme = typeof GRADIENT_COLOR_SCHEMES[number];
|
|
241
|
+
declare const GRADIENT_COLORS: readonly [
|
|
242
|
+
"background-base",
|
|
243
|
+
"background-surface"
|
|
244
|
+
];
|
|
245
|
+
export declare type ScrollerGradientColor = typeof GRADIENT_COLORS[number];
|
|
246
|
+
export declare type ScrollerScrollToPosition = {
|
|
218
247
|
scrollPosition: number;
|
|
219
248
|
isSmooth?: boolean;
|
|
220
249
|
} | string;
|
|
@@ -222,7 +251,9 @@ declare const SCROLL_INDICATOR_POSITIONS: readonly [
|
|
|
222
251
|
"top",
|
|
223
252
|
"center"
|
|
224
253
|
];
|
|
225
|
-
|
|
254
|
+
/** @deprecated */
|
|
255
|
+
export declare type ScrollerScrollIndicatorPosition = typeof SCROLL_INDICATOR_POSITIONS[number];
|
|
256
|
+
export declare type ScrollerAlignScrollIndicator = ScrollerScrollIndicatorPosition;
|
|
226
257
|
declare const THEMES: readonly [
|
|
227
258
|
"light",
|
|
228
259
|
"dark"
|
|
@@ -279,6 +310,7 @@ declare const TEXT_COLORS: readonly [
|
|
|
279
310
|
];
|
|
280
311
|
export declare type TextColor = typeof TEXT_COLORS[number];
|
|
281
312
|
declare const TEXT_SIZES: readonly [
|
|
313
|
+
"xx-small",
|
|
282
314
|
"x-small",
|
|
283
315
|
"small",
|
|
284
316
|
"medium",
|
|
@@ -514,27 +546,44 @@ declare const BANNER_WIDTHS: readonly [
|
|
|
514
546
|
"basic",
|
|
515
547
|
"fluid"
|
|
516
548
|
];
|
|
549
|
+
/** @deprecated */
|
|
517
550
|
export declare type BannerWidth = typeof BANNER_WIDTHS[number];
|
|
518
|
-
declare
|
|
551
|
+
export declare type ButtonIcon = LinkButtonIconName;
|
|
552
|
+
declare const GROUP_DIRECTIONS: readonly [
|
|
519
553
|
"row",
|
|
520
554
|
"column"
|
|
521
555
|
];
|
|
522
|
-
export declare type
|
|
556
|
+
export declare type GroupDirection = (typeof GROUP_DIRECTIONS)[number];
|
|
557
|
+
export declare type ButtonGroupDirection = GroupDirection;
|
|
558
|
+
export declare type ButtonPureType = ButtonType;
|
|
559
|
+
export declare type ButtonPureIcon = LinkButtonIconName;
|
|
560
|
+
export declare type ButtonPureAriaAttribute = ButtonAriaAttribute;
|
|
561
|
+
export declare type ButtonPureAlignLabel = AlignLabel;
|
|
562
|
+
export declare type ButtonPureWeight = TextWeight;
|
|
563
|
+
export declare type ButtonPureSize = TextSize;
|
|
564
|
+
export declare type ButtonTileAriaAttribute = ButtonAriaAttribute;
|
|
565
|
+
export declare type ButtonTileIcon = LinkButtonIconName;
|
|
566
|
+
export declare type ButtonTileType = ButtonType;
|
|
567
|
+
export declare type ButtonTileAspectRatio = TileAspectRatio;
|
|
568
|
+
export declare type ButtonTileSize = TileSize;
|
|
569
|
+
export declare type ButtonTileWeight = TileWeight;
|
|
570
|
+
export declare type ButtonTileAlign = TileAlign;
|
|
523
571
|
declare const CAROUSEL_WIDTHS: readonly [
|
|
524
572
|
"basic",
|
|
525
573
|
"extended"
|
|
526
574
|
];
|
|
527
|
-
export declare type CarouselWidth = typeof CAROUSEL_WIDTHS[number];
|
|
575
|
+
export declare type CarouselWidth = (typeof CAROUSEL_WIDTHS)[number];
|
|
528
576
|
declare const CAROUSEL_ALIGN_HEADERS: readonly [
|
|
529
577
|
"left",
|
|
530
578
|
"center"
|
|
531
579
|
];
|
|
532
|
-
export declare type CarouselAlignHeader = typeof CAROUSEL_ALIGN_HEADERS[number];
|
|
580
|
+
export declare type CarouselAlignHeader = (typeof CAROUSEL_ALIGN_HEADERS)[number];
|
|
533
581
|
export declare type CarouselInternationalization = Partial<Record<"prev" | "next" | "first" | "last" | "slideLabel" | "slide", string>>;
|
|
534
582
|
export declare type CarouselChangeEvent = {
|
|
535
583
|
activeIndex: number;
|
|
536
584
|
previousIndex: number;
|
|
537
585
|
};
|
|
586
|
+
export declare type CheckboxWrapperState = FormState;
|
|
538
587
|
declare const CONTENT_WRAPPER_BACKGROUND_COLORS: readonly [
|
|
539
588
|
"transparent",
|
|
540
589
|
"default"
|
|
@@ -558,6 +607,7 @@ declare const DISPLAY_TAGS: readonly [
|
|
|
558
607
|
];
|
|
559
608
|
export declare type DisplayTag = typeof DISPLAY_TAGS[number];
|
|
560
609
|
declare const DISPLAY_SIZES: readonly [
|
|
610
|
+
"small",
|
|
561
611
|
"medium",
|
|
562
612
|
"large",
|
|
563
613
|
"inherit"
|
|
@@ -578,16 +628,20 @@ declare const DIVIDER_COLORS: readonly [
|
|
|
578
628
|
"neutral-contrast-low"
|
|
579
629
|
];
|
|
580
630
|
export declare type DividerColor = typeof DIVIDER_COLORS[number];
|
|
581
|
-
declare const
|
|
631
|
+
declare const DIVIDER_DIRECTIONS: readonly [
|
|
582
632
|
"vertical",
|
|
583
633
|
"horizontal"
|
|
584
634
|
];
|
|
585
|
-
export declare type
|
|
586
|
-
declare
|
|
635
|
+
export declare type DividerDirection = typeof DIVIDER_DIRECTIONS[number];
|
|
636
|
+
export declare type DividerOrientation = DividerDirection;
|
|
637
|
+
declare const FIELDSET_LABEL_SIZES: readonly [
|
|
587
638
|
"small",
|
|
588
639
|
"medium"
|
|
589
640
|
];
|
|
590
|
-
export declare type
|
|
641
|
+
export declare type FieldsetLabelSize = typeof FIELDSET_LABEL_SIZES[number];
|
|
642
|
+
export declare type FieldsetState = FormState;
|
|
643
|
+
export declare type FieldsetWrapperLabelSize = FieldsetLabelSize;
|
|
644
|
+
export declare type FieldsetWrapperState = FieldsetState;
|
|
591
645
|
export declare type FlexInline = boolean;
|
|
592
646
|
declare const FLEX_WRAPS: readonly [
|
|
593
647
|
"nowrap",
|
|
@@ -728,7 +782,6 @@ declare const HEADING_SIZES: readonly [
|
|
|
728
782
|
"large",
|
|
729
783
|
"x-large",
|
|
730
784
|
"xx-large",
|
|
731
|
-
"xxx-large",
|
|
732
785
|
"inherit"
|
|
733
786
|
];
|
|
734
787
|
export declare type HeadingSize = typeof HEADING_SIZES[number];
|
|
@@ -786,7 +839,7 @@ declare const ICON_COLORS: readonly [
|
|
|
786
839
|
"neutral-contrast-medium",
|
|
787
840
|
"neutral-contrast-high",
|
|
788
841
|
"notification-neutral",
|
|
789
|
-
"disabled"
|
|
842
|
+
"state-disabled"
|
|
790
843
|
];
|
|
791
844
|
export declare type IconColor = typeof ICON_COLORS[number];
|
|
792
845
|
declare const INLINE_NOTIFICATION_STATES: readonly [
|
|
@@ -797,48 +850,31 @@ declare const INLINE_NOTIFICATION_STATES: readonly [
|
|
|
797
850
|
"neutral"
|
|
798
851
|
];
|
|
799
852
|
export declare type InlineNotificationState = typeof INLINE_NOTIFICATION_STATES[number];
|
|
853
|
+
export declare type InlineNotificationActionIcon = IconName;
|
|
800
854
|
declare const LINK_ARIA_ATTRIBUTES: readonly [
|
|
801
855
|
"aria-label"
|
|
802
856
|
];
|
|
803
857
|
export declare type LinkAriaAttribute = typeof LINK_ARIA_ATTRIBUTES[number];
|
|
804
|
-
export declare type
|
|
858
|
+
export declare type LinkIcon = LinkButtonIconName;
|
|
859
|
+
export declare type LinkPureIcon = LinkButtonIconName;
|
|
860
|
+
export declare type LinkPureAriaAttribute = LinkAriaAttribute;
|
|
861
|
+
export declare type LinkPureAlignLabel = AlignLabel;
|
|
862
|
+
export declare type LinkPureWeight = TextWeight;
|
|
863
|
+
export declare type LinkPureSize = TextSize;
|
|
864
|
+
export declare type LinkPureTarget = LinkTarget;
|
|
865
|
+
export declare type LinkSocialIcon = 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">;
|
|
866
|
+
export declare type LinkSocialTarget = LinkTarget;
|
|
867
|
+
export declare type LinkTileTarget = LinkTarget;
|
|
868
|
+
export declare type LinkTileAriaAttribute = LinkAriaAttribute;
|
|
869
|
+
export declare type LinkTileAspectRatio = TileAspectRatio;
|
|
870
|
+
export declare type LinkTileSize = TileSize;
|
|
871
|
+
export declare type LinkTileAlign = TileAlign;
|
|
805
872
|
declare const LINK_TILE_WEIGHTS: readonly [
|
|
806
873
|
"regular",
|
|
874
|
+
"semi-bold",
|
|
807
875
|
"semibold"
|
|
808
876
|
];
|
|
809
|
-
export declare type LinkTileWeight = typeof LINK_TILE_WEIGHTS[number];
|
|
810
|
-
declare const LINK_TILE_SIZES: readonly [
|
|
811
|
-
"default",
|
|
812
|
-
"inherit"
|
|
813
|
-
];
|
|
814
|
-
export declare type LinkTileSize = typeof LINK_TILE_SIZES[number];
|
|
815
|
-
declare const LINK_TILE_ALIGNS: readonly [
|
|
816
|
-
"top",
|
|
817
|
-
"bottom"
|
|
818
|
-
];
|
|
819
|
-
export declare type LinkTileAlign = typeof LINK_TILE_ALIGNS[number];
|
|
820
|
-
declare const LINK_TILE_ASPECT_RATIOS: readonly [
|
|
821
|
-
"1:1",
|
|
822
|
-
"4:3",
|
|
823
|
-
"3:4",
|
|
824
|
-
"16:9",
|
|
825
|
-
"9:16"
|
|
826
|
-
];
|
|
827
|
-
export declare type LinkTileAspectRatio = typeof LINK_TILE_ASPECT_RATIOS[number];
|
|
828
|
-
declare const MARQUE_SIZES: readonly [
|
|
829
|
-
"responsive",
|
|
830
|
-
"small",
|
|
831
|
-
"medium"
|
|
832
|
-
];
|
|
833
|
-
export declare type MarqueSize = typeof MARQUE_SIZES[number];
|
|
834
|
-
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
835
|
-
"aria-label"
|
|
836
|
-
];
|
|
837
|
-
export declare type MarqueAriaAttribute = typeof MARQUE_ARIA_ATTRIBUTES[number];
|
|
838
|
-
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
839
|
-
"aria-label"
|
|
840
|
-
];
|
|
841
|
-
export declare type ModalAriaAttribute = typeof MODAL_ARIA_ATTRIBUTES[number];
|
|
877
|
+
export declare type LinkTileWeight = (typeof LINK_TILE_WEIGHTS)[number];
|
|
842
878
|
declare const MODEL_SIGNATURES_MANIFEST: {
|
|
843
879
|
"718": string;
|
|
844
880
|
"911": string;
|
|
@@ -865,15 +901,43 @@ declare const MODEL_SIGNATURE_COLORS: readonly [
|
|
|
865
901
|
"inherit"
|
|
866
902
|
];
|
|
867
903
|
export declare type ModelSignatureColor = typeof MODEL_SIGNATURE_COLORS[number];
|
|
904
|
+
export declare type LinkTileModelSignatureModel = ModelSignatureModel;
|
|
905
|
+
declare const LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS: readonly [
|
|
906
|
+
"h2",
|
|
907
|
+
"h3",
|
|
908
|
+
"h4",
|
|
909
|
+
"h5",
|
|
910
|
+
"h6"
|
|
911
|
+
];
|
|
912
|
+
export declare type LinkTileModelSignatureHeadingTag = (typeof LINK_TILE_MODEL_SIGNATURE_HEADING_TAGS)[number];
|
|
913
|
+
export declare type LinkTileModelSignatureWeight = TileWeight;
|
|
914
|
+
export declare type LinkTileModelSignatureAspectRatio = TileAspectRatio;
|
|
915
|
+
export declare type LinkTileModelSignatureLinkDirection = GroupDirection;
|
|
916
|
+
declare const MARQUE_SIZES: readonly [
|
|
917
|
+
"responsive",
|
|
918
|
+
"small",
|
|
919
|
+
"medium"
|
|
920
|
+
];
|
|
921
|
+
export declare type MarqueSize = typeof MARQUE_SIZES[number];
|
|
922
|
+
export declare type MarqueTarget = LinkTarget;
|
|
923
|
+
declare const MARQUE_ARIA_ATTRIBUTES: readonly [
|
|
924
|
+
"aria-label"
|
|
925
|
+
];
|
|
926
|
+
export declare type MarqueAriaAttribute = typeof MARQUE_ARIA_ATTRIBUTES[number];
|
|
927
|
+
declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
928
|
+
"aria-label"
|
|
929
|
+
];
|
|
930
|
+
export declare type ModalAriaAttribute = (typeof MODAL_ARIA_ATTRIBUTES)[number];
|
|
868
931
|
declare const PAGINATION_NUMBER_OF_PAGE_LINKS: readonly [
|
|
869
932
|
5,
|
|
870
933
|
7
|
|
871
934
|
];
|
|
872
|
-
export declare type
|
|
873
|
-
export declare type
|
|
935
|
+
export declare type PaginationMaxNumberOfPageLinks = typeof PAGINATION_NUMBER_OF_PAGE_LINKS[number];
|
|
936
|
+
export declare type PaginationChangeEvent = {
|
|
874
937
|
page: number;
|
|
875
938
|
previousPage: number;
|
|
876
939
|
};
|
|
940
|
+
export declare type PaginationInternationalization = Partial<Record<"root" | "prev" | "next" | "page", string>>;
|
|
877
941
|
declare const POPOVER_DIRECTIONS: readonly [
|
|
878
942
|
"top",
|
|
879
943
|
"right",
|
|
@@ -881,6 +945,11 @@ declare const POPOVER_DIRECTIONS: readonly [
|
|
|
881
945
|
"left"
|
|
882
946
|
];
|
|
883
947
|
export declare type PopoverDirection = typeof POPOVER_DIRECTIONS[number];
|
|
948
|
+
declare const POPOVER_ARIA_ATTRIBUTES: readonly [
|
|
949
|
+
"aria-label"
|
|
950
|
+
];
|
|
951
|
+
export declare type PopoverAriaAttribute = typeof POPOVER_ARIA_ATTRIBUTES[number];
|
|
952
|
+
export declare type RadioButtonWrapperState = FormState;
|
|
884
953
|
declare const SEGMENTED_CONTROL_BACKGROUND_COLORS: readonly [
|
|
885
954
|
"background-surface",
|
|
886
955
|
"background-default"
|
|
@@ -889,12 +958,14 @@ export declare type SegmentedControlBackgroundColor = typeof SEGMENTED_CONTROL_B
|
|
|
889
958
|
export declare type SegmentedControlChangeEvent = {
|
|
890
959
|
value: string | number;
|
|
891
960
|
};
|
|
961
|
+
export declare type SegmentedControlItemIcon = LinkButtonIconName;
|
|
892
962
|
declare const DROPDOWN_DIRECTIONS: readonly [
|
|
893
963
|
"down",
|
|
894
964
|
"up",
|
|
895
965
|
"auto"
|
|
896
966
|
];
|
|
897
|
-
export declare type
|
|
967
|
+
export declare type SelectWrapperDropdownDirection = typeof DROPDOWN_DIRECTIONS[number];
|
|
968
|
+
export declare type SelectWrapperState = FormState;
|
|
898
969
|
declare const SPINNER_SIZES: readonly [
|
|
899
970
|
"small",
|
|
900
971
|
"medium",
|
|
@@ -911,7 +982,7 @@ declare const STEPPER_HORIZONTAL_SIZES: readonly [
|
|
|
911
982
|
"medium"
|
|
912
983
|
];
|
|
913
984
|
export declare type StepperHorizontalSize = typeof STEPPER_HORIZONTAL_SIZES[number];
|
|
914
|
-
export declare type
|
|
985
|
+
export declare type StepperHorizontalChangeEvent = {
|
|
915
986
|
activeStepIndex: number;
|
|
916
987
|
};
|
|
917
988
|
declare const STEPPER_ITEM_STATES: readonly [
|
|
@@ -919,7 +990,8 @@ declare const STEPPER_ITEM_STATES: readonly [
|
|
|
919
990
|
"complete",
|
|
920
991
|
"warning"
|
|
921
992
|
];
|
|
922
|
-
export declare type
|
|
993
|
+
export declare type StepperHorizontalItemState = typeof STEPPER_ITEM_STATES[number];
|
|
994
|
+
export declare type SwitchAlignLabel = AlignLabel;
|
|
923
995
|
export declare type SwitchChangeEvent = {
|
|
924
996
|
checked: boolean;
|
|
925
997
|
};
|
|
@@ -929,24 +1001,33 @@ export declare type TableHeadCellSort = {
|
|
|
929
1001
|
active?: boolean;
|
|
930
1002
|
direction?: Direction;
|
|
931
1003
|
};
|
|
932
|
-
export declare type
|
|
933
|
-
declare const
|
|
1004
|
+
export declare type TableChangeEvent = TableHeadCellSort;
|
|
1005
|
+
declare const TABS_BAR_SIZES: readonly [
|
|
934
1006
|
"small",
|
|
935
1007
|
"medium"
|
|
936
1008
|
];
|
|
937
|
-
export declare type
|
|
938
|
-
declare const
|
|
1009
|
+
export declare type TabsBarSize = typeof TABS_BAR_SIZES[number];
|
|
1010
|
+
declare const TABS_BAR_WEIGHTS: readonly [
|
|
939
1011
|
"regular",
|
|
1012
|
+
"semi-bold",
|
|
940
1013
|
"semibold"
|
|
941
1014
|
];
|
|
942
|
-
export declare type
|
|
943
|
-
export declare type
|
|
1015
|
+
export declare type TabsBarWeight = typeof TABS_BAR_WEIGHTS[number];
|
|
1016
|
+
export declare type TabsBarChangeEvent = {
|
|
944
1017
|
activeTabIndex: number;
|
|
945
1018
|
};
|
|
946
|
-
|
|
1019
|
+
/** @deprecated */
|
|
1020
|
+
export declare type TabsBarGradientColorScheme = ScrollerGradientColorScheme;
|
|
1021
|
+
export declare type TabsBarGradientColor = ScrollerGradientColor;
|
|
1022
|
+
export declare type TabsSize = TabsBarSize;
|
|
1023
|
+
export declare type TabsWeight = TabsBarWeight;
|
|
1024
|
+
/** @deprecated */
|
|
1025
|
+
export declare type TabsGradientColorScheme = TabsBarGradientColorScheme;
|
|
1026
|
+
export declare type TabsGradientColor = TabsBarGradientColor;
|
|
1027
|
+
export declare type TabsChangeEvent = TabsBarChangeEvent;
|
|
947
1028
|
declare const TAG_DISMISSIBLE_COLORS: readonly [
|
|
948
|
-
"background-surface",
|
|
949
1029
|
"background-base",
|
|
1030
|
+
"background-surface",
|
|
950
1031
|
"background-default"
|
|
951
1032
|
];
|
|
952
1033
|
export declare type TagDismissibleColor = typeof TAG_DISMISSIBLE_COLORS[number];
|
|
@@ -954,17 +1035,21 @@ declare const TAG_DISMISSIBLE_ARIA_ATTRIBUTES: readonly [
|
|
|
954
1035
|
"aria-label"
|
|
955
1036
|
];
|
|
956
1037
|
export declare type TagDismissibleAriaAttribute = typeof TAG_DISMISSIBLE_ARIA_ATTRIBUTES[number];
|
|
1038
|
+
export declare type TagIcon = IconName;
|
|
957
1039
|
declare const TAG_COLORS: readonly [
|
|
958
|
-
"background-surface",
|
|
959
1040
|
"background-base",
|
|
1041
|
+
"background-surface",
|
|
960
1042
|
"background-default",
|
|
961
1043
|
"primary",
|
|
962
|
-
"notification-info",
|
|
1044
|
+
"notification-info-soft",
|
|
1045
|
+
"notification-warning-soft",
|
|
1046
|
+
"notification-success-soft",
|
|
1047
|
+
"notification-error-soft",
|
|
1048
|
+
"neutral-contrast-high",
|
|
1049
|
+
"notification-neutral",
|
|
963
1050
|
"notification-warning",
|
|
964
1051
|
"notification-success",
|
|
965
|
-
"notification-error"
|
|
966
|
-
"neutral-contrast-high",
|
|
967
|
-
"notification-neutral"
|
|
1052
|
+
"notification-error"
|
|
968
1053
|
];
|
|
969
1054
|
export declare type TagColor = typeof TAG_COLORS[number];
|
|
970
1055
|
declare const TEXT_TAGS: readonly [
|
|
@@ -984,16 +1069,27 @@ declare const UNIT_POSITIONS: readonly [
|
|
|
984
1069
|
"suffix"
|
|
985
1070
|
];
|
|
986
1071
|
export declare type TextFieldWrapperUnitPosition = typeof UNIT_POSITIONS[number];
|
|
1072
|
+
export declare type TextFieldWrapperActionIcon = Extract<IconName, "locate">;
|
|
1073
|
+
export declare type TextFieldWrapperState = FormState;
|
|
987
1074
|
declare const LIST_TYPES: readonly [
|
|
988
1075
|
"unordered",
|
|
989
1076
|
"ordered"
|
|
990
1077
|
];
|
|
991
|
-
|
|
1078
|
+
/** @deprecated */
|
|
1079
|
+
export declare type TextListListType = typeof LIST_TYPES[number];
|
|
992
1080
|
declare const ORDER_TYPES: readonly [
|
|
993
1081
|
"numbered",
|
|
994
1082
|
"alphabetically"
|
|
995
1083
|
];
|
|
996
|
-
|
|
1084
|
+
/** @deprecated */
|
|
1085
|
+
export declare type TextListOrderType = typeof ORDER_TYPES[number];
|
|
1086
|
+
declare const TEXT_LIST_TYPES: readonly [
|
|
1087
|
+
"unordered",
|
|
1088
|
+
"numbered",
|
|
1089
|
+
"alphabetically"
|
|
1090
|
+
];
|
|
1091
|
+
export declare type TextListType = typeof TEXT_LIST_TYPES[number];
|
|
1092
|
+
export declare type TextareaWrapperState = FormState;
|
|
997
1093
|
declare const TOAST_STATES: readonly [
|
|
998
1094
|
"info",
|
|
999
1095
|
"success",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.0.0-alpha.
|
|
3
|
+
"version": "3.0.0-alpha.4",
|
|
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.4"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|