@porsche-design-system/components-vue 3.29.0-rc.3 → 3.29.0-rc.5
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 +37 -0
- package/cjs/lib/components/FieldsetWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlagWrapper.vue.cjs +1 -0
- package/cjs/lib/components/FlagWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/InputDateWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputDateWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/InputTelWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputTelWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/InputTimeWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputTimeWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/InputUrlWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputUrlWrapper.vue2.cjs +1 -0
- package/cjs/lib/components/MultiSelectWrapper.vue.cjs +1 -1
- package/cjs/lib/components/PopoverWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ScrollerWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TabsBarWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TabsWrapper.vue.cjs +1 -1
- package/cjs/public-api.cjs +1 -1
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +1 -0
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +5 -1
- package/esm/lib/components/FieldsetWrapper.vue.mjs +5 -4
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +1 -1
- package/esm/lib/components/FlagWrapper.vue.d.ts +20 -0
- package/esm/lib/components/FlagWrapper.vue.mjs +20 -0
- package/esm/lib/components/FlagWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputDateWrapper.vue.d.ts +108 -0
- package/esm/lib/components/InputDateWrapper.vue.mjs +45 -0
- package/esm/lib/components/InputDateWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputEmailWrapper.vue.d.ts +2 -2
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +2 -2
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +2 -2
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputTelWrapper.vue.d.ts +117 -0
- package/esm/lib/components/InputTelWrapper.vue.mjs +47 -0
- package/esm/lib/components/InputTelWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputTextWrapper.vue.d.ts +1 -1
- package/esm/lib/components/InputTimeWrapper.vue.d.ts +108 -0
- package/esm/lib/components/InputTimeWrapper.vue.mjs +45 -0
- package/esm/lib/components/InputTimeWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputUrlWrapper.vue.d.ts +117 -0
- package/esm/lib/components/InputUrlWrapper.vue.mjs +47 -0
- package/esm/lib/components/InputUrlWrapper.vue2.mjs +4 -0
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +5 -0
- package/esm/lib/components/MultiSelectWrapper.vue.mjs +7 -6
- package/esm/lib/components/PopoverWrapper.vue.d.ts +1 -12
- package/esm/lib/components/PopoverWrapper.vue.mjs +12 -16
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +2 -3
- package/esm/lib/components/ScrollerWrapper.vue.mjs +10 -10
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +1 -0
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +2 -3
- package/esm/lib/components/TabsBarWrapper.vue.mjs +10 -10
- package/esm/lib/components/TabsWrapper.vue.d.ts +1 -2
- package/esm/lib/components/TabsWrapper.vue.mjs +7 -7
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +1 -0
- package/esm/lib/components/TextareaWrapper.vue.d.ts +1 -1
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +1 -0
- package/esm/lib/components/index.d.ts +5 -0
- package/esm/lib/types.d.ts +149 -14
- package/esm/public-api.mjs +150 -140
- package/package.json +6 -2
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as a, ref as p, inject as i, onMounted as m, onUpdated as f, watch as d, openBlock as u, createBlock as h, resolveDynamicComponent as C, unref as _, withCtx as y, renderSlot as P } from "vue";
|
|
2
|
+
import { usePrefix as g, themeInjectionKey as S, syncProperties as c } from "../../utils.mjs";
|
|
3
|
+
const B = /* @__PURE__ */ a({
|
|
4
4
|
__name: "ScrollerWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
alignScrollIndicator: { default: "center" },
|
|
7
7
|
aria: {},
|
|
8
|
-
gradientColor: {
|
|
8
|
+
gradientColor: {},
|
|
9
9
|
gradientColorScheme: {},
|
|
10
10
|
scrollIndicatorPosition: {},
|
|
11
11
|
scrollToPosition: {},
|
|
12
12
|
scrollbar: { type: Boolean, default: !1 },
|
|
13
13
|
theme: {}
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
16
|
-
const
|
|
15
|
+
setup(l) {
|
|
16
|
+
const s = g("p-scroller"), e = l, o = p(), n = i(S), r = () => c(o, { ...e, theme: e.theme || n.value });
|
|
17
17
|
return m(r), f(r), d(n, (t) => {
|
|
18
|
-
|
|
19
|
-
}), (t, k) => (u(), h(C(_(
|
|
18
|
+
c(o, { theme: e.theme || t });
|
|
19
|
+
}), (t, k) => (u(), h(C(_(s)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: o
|
|
22
22
|
}, {
|
|
23
23
|
default: y(() => [
|
|
24
|
-
|
|
24
|
+
P(t.$slots, "default")
|
|
25
25
|
]),
|
|
26
26
|
_: 3
|
|
27
27
|
}, 512));
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
export {
|
|
31
|
-
|
|
31
|
+
B as default
|
|
32
32
|
};
|
|
@@ -51,6 +51,7 @@ declare const __VLS_component: import("vue").DefineComponent<PSelectWrapperProps
|
|
|
51
51
|
dropdownDirection: SelectWrapperDropdownDirection;
|
|
52
52
|
native: boolean;
|
|
53
53
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
54
|
+
/** @deprecated since v3.29.0, will be removed with next major release. Please use `p-select` instead. */
|
|
54
55
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
55
56
|
export default _default;
|
|
56
57
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -5,11 +5,11 @@ type PTabsBarProps = {
|
|
|
5
5
|
*/
|
|
6
6
|
activeTabIndex?: number | undefined;
|
|
7
7
|
/**
|
|
8
|
-
* Adapts the background gradient color of prev and next button.
|
|
8
|
+
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
9
9
|
*/
|
|
10
10
|
gradientColor?: TabsBarGradientColor;
|
|
11
11
|
/**
|
|
12
|
-
* @deprecated since v3.0.0, will be removed with next major release
|
|
12
|
+
* @deprecated since v3.0.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
13
13
|
*/
|
|
14
14
|
gradientColorScheme?: TabsBarGradientColorScheme;
|
|
15
15
|
/**
|
|
@@ -38,7 +38,6 @@ declare const __VLS_component: import("vue").DefineComponent<PTabsBarProps, void
|
|
|
38
38
|
}>, {
|
|
39
39
|
weight: TabsBarWeight;
|
|
40
40
|
size: BreakpointCustomizable<TabsBarSize>;
|
|
41
|
-
gradientColor: TabsBarGradientColor;
|
|
42
41
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
42
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
44
43
|
export default _default;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { usePrefix as
|
|
3
|
-
const P = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as i, ref as f, inject as l, onMounted as u, onUpdated as h, watch as C, openBlock as b, createBlock as g, resolveDynamicComponent as _, unref as y, withCtx as v, renderSlot as w } from "vue";
|
|
2
|
+
import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as s, syncProperties as m } from "../../utils.mjs";
|
|
3
|
+
const P = /* @__PURE__ */ i({
|
|
4
4
|
__name: "TabsBarWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeTabIndex: {},
|
|
7
|
-
gradientColor: {
|
|
7
|
+
gradientColor: {},
|
|
8
8
|
gradientColorScheme: {},
|
|
9
9
|
size: { default: "small" },
|
|
10
10
|
theme: {},
|
|
@@ -12,17 +12,17 @@ const P = /* @__PURE__ */ f({
|
|
|
12
12
|
},
|
|
13
13
|
emits: ["tabChange", "update"],
|
|
14
14
|
setup(p, { emit: c }) {
|
|
15
|
-
const d =
|
|
15
|
+
const d = x("p-tabs-bar"), t = p, e = f(), o = c, r = l(R), a = () => m(e, { ...t, theme: t.theme || r.value });
|
|
16
16
|
return u(() => {
|
|
17
|
-
|
|
18
|
-
}), h(
|
|
17
|
+
a(), s(e, "tabChange", o), s(e, "update", o);
|
|
18
|
+
}), h(a), C(r, (n) => {
|
|
19
19
|
m(e, { theme: t.theme || n });
|
|
20
|
-
}), (n,
|
|
20
|
+
}), (n, T) => (b(), g(_(y(d)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
24
|
+
default: v(() => [
|
|
25
|
+
w(n.$slots, "default")
|
|
26
26
|
]),
|
|
27
27
|
_: 3
|
|
28
28
|
}, 512));
|
|
@@ -5,7 +5,7 @@ type PTabsProps = {
|
|
|
5
5
|
*/
|
|
6
6
|
activeTabIndex?: number;
|
|
7
7
|
/**
|
|
8
|
-
* Adapts the background gradient color of prev and next button.
|
|
8
|
+
* @deprecated since v3.29.0, will be removed with next major release. Adapts the background gradient color of prev and next button.
|
|
9
9
|
*/
|
|
10
10
|
gradientColor?: TabsGradientColor;
|
|
11
11
|
/**
|
|
@@ -38,7 +38,6 @@ declare const __VLS_component: import("vue").DefineComponent<PTabsProps, void, {
|
|
|
38
38
|
}>, {
|
|
39
39
|
weight: TabsWeight;
|
|
40
40
|
size: BreakpointCustomizable<TabsSize>;
|
|
41
|
-
gradientColor: TabsGradientColor;
|
|
42
41
|
activeTabIndex: number;
|
|
43
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
44
43
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as f, ref as i, inject as l, onMounted as u, onUpdated as h, watch as C, openBlock as
|
|
2
|
-
import { usePrefix as
|
|
1
|
+
import { defineComponent as f, ref as i, inject as l, onMounted as u, onUpdated as h, watch as C, openBlock as g, createBlock as _, resolveDynamicComponent as b, unref as y, withCtx as v, renderSlot as w } from "vue";
|
|
2
|
+
import { usePrefix as x, themeInjectionKey as R, addEventListenerToElementRef as s, syncProperties as m } from "../../utils.mjs";
|
|
3
3
|
const j = /* @__PURE__ */ f({
|
|
4
4
|
__name: "TabsWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeTabIndex: { default: 0 },
|
|
7
|
-
gradientColor: {
|
|
7
|
+
gradientColor: {},
|
|
8
8
|
gradientColorScheme: {},
|
|
9
9
|
size: { default: "small" },
|
|
10
10
|
theme: {},
|
|
@@ -12,17 +12,17 @@ const j = /* @__PURE__ */ f({
|
|
|
12
12
|
},
|
|
13
13
|
emits: ["tabChange", "update"],
|
|
14
14
|
setup(p, { emit: c }) {
|
|
15
|
-
const d =
|
|
15
|
+
const d = x("p-tabs"), t = p, e = i(), o = c, a = l(R), r = () => m(e, { ...t, theme: t.theme || a.value });
|
|
16
16
|
return u(() => {
|
|
17
17
|
r(), s(e, "tabChange", o), s(e, "update", o);
|
|
18
18
|
}), h(r), C(a, (n) => {
|
|
19
19
|
m(e, { theme: t.theme || n });
|
|
20
|
-
}), (n,
|
|
20
|
+
}), (n, T) => (g(), _(b(y(d)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, {
|
|
24
|
-
default:
|
|
25
|
-
|
|
24
|
+
default: v(() => [
|
|
25
|
+
w(n.$slots, "default")
|
|
26
26
|
]),
|
|
27
27
|
_: 3
|
|
28
28
|
}, 512));
|
|
@@ -80,6 +80,7 @@ declare const __VLS_component: import("vue").DefineComponent<PTextFieldWrapperPr
|
|
|
80
80
|
unit: string;
|
|
81
81
|
unitPosition: TextFieldWrapperUnitPosition;
|
|
82
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
83
|
+
/** @deprecated since v3.29.0, will be removed with next major release. Please use one of the specific input components instead: `p-input-date`, `p-input-email`, `p-input-number`, `p-input-password`, `p-input-search`, `p-input-tel`, `p-input-text`, `p-input-time` or `p-input-url`. */
|
|
83
84
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
84
85
|
export default _default;
|
|
85
86
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -108,8 +108,8 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, voi
|
|
|
108
108
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
109
109
|
value: string;
|
|
110
110
|
message: string;
|
|
111
|
-
placeholder: string;
|
|
112
111
|
readOnly: boolean;
|
|
112
|
+
placeholder: string;
|
|
113
113
|
counter: boolean;
|
|
114
114
|
rows: number;
|
|
115
115
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -45,6 +45,7 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaWrapperPro
|
|
|
45
45
|
message: string;
|
|
46
46
|
showCounter: boolean;
|
|
47
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
48
|
+
/** @deprecated since v3.29.0, will be removed with next major release. Please use `p-textarea` instead. */
|
|
48
49
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
49
50
|
export default _default;
|
|
50
51
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -17,6 +17,7 @@ export { default as PDrilldownItem } from './DrilldownItemWrapper.vue';
|
|
|
17
17
|
export { default as PDrilldownLink } from './DrilldownLinkWrapper.vue';
|
|
18
18
|
export { default as PFieldset } from './FieldsetWrapper.vue';
|
|
19
19
|
export { default as PFieldsetWrapper } from './FieldsetWrapperWrapper.vue';
|
|
20
|
+
export { default as PFlag } from './FlagWrapper.vue';
|
|
20
21
|
export { default as PFlex } from './FlexWrapper.vue';
|
|
21
22
|
export { default as PFlexItem } from './FlexItemWrapper.vue';
|
|
22
23
|
export { default as PFlyout } from './FlyoutWrapper.vue';
|
|
@@ -26,11 +27,15 @@ export { default as PHeading } from './HeadingWrapper.vue';
|
|
|
26
27
|
export { default as PHeadline } from './HeadlineWrapper.vue';
|
|
27
28
|
export { default as PIcon } from './IconWrapper.vue';
|
|
28
29
|
export { default as PInlineNotification } from './InlineNotificationWrapper.vue';
|
|
30
|
+
export { default as PInputDate } from './InputDateWrapper.vue';
|
|
29
31
|
export { default as PInputEmail } from './InputEmailWrapper.vue';
|
|
30
32
|
export { default as PInputNumber } from './InputNumberWrapper.vue';
|
|
31
33
|
export { default as PInputPassword } from './InputPasswordWrapper.vue';
|
|
32
34
|
export { default as PInputSearch } from './InputSearchWrapper.vue';
|
|
35
|
+
export { default as PInputTel } from './InputTelWrapper.vue';
|
|
33
36
|
export { default as PInputText } from './InputTextWrapper.vue';
|
|
37
|
+
export { default as PInputTime } from './InputTimeWrapper.vue';
|
|
38
|
+
export { default as PInputUrl } from './InputUrlWrapper.vue';
|
|
34
39
|
export { default as PLink } from './LinkWrapper.vue';
|
|
35
40
|
export { default as PLinkPure } from './LinkPureWrapper.vue';
|
|
36
41
|
export { default as PLinkSocial } from './LinkSocialWrapper.vue';
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -493,6 +493,116 @@ declare const ICON_NAMES: readonly [
|
|
|
493
493
|
"zoom-out"
|
|
494
494
|
];
|
|
495
495
|
export type IconName = typeof ICON_NAMES[number];
|
|
496
|
+
declare const FLAG_NAMES: readonly [
|
|
497
|
+
"ae",
|
|
498
|
+
"am",
|
|
499
|
+
"ar",
|
|
500
|
+
"at",
|
|
501
|
+
"au",
|
|
502
|
+
"az",
|
|
503
|
+
"ba",
|
|
504
|
+
"be",
|
|
505
|
+
"bg",
|
|
506
|
+
"bh",
|
|
507
|
+
"bn",
|
|
508
|
+
"bo",
|
|
509
|
+
"br",
|
|
510
|
+
"by",
|
|
511
|
+
"ca",
|
|
512
|
+
"ch",
|
|
513
|
+
"cl",
|
|
514
|
+
"cn",
|
|
515
|
+
"co",
|
|
516
|
+
"cr",
|
|
517
|
+
"cw",
|
|
518
|
+
"cy",
|
|
519
|
+
"cz",
|
|
520
|
+
"de",
|
|
521
|
+
"dk",
|
|
522
|
+
"do",
|
|
523
|
+
"dz",
|
|
524
|
+
"ec",
|
|
525
|
+
"ee",
|
|
526
|
+
"eg",
|
|
527
|
+
"es",
|
|
528
|
+
"fi",
|
|
529
|
+
"fr",
|
|
530
|
+
"gb",
|
|
531
|
+
"ge",
|
|
532
|
+
"gh",
|
|
533
|
+
"gr",
|
|
534
|
+
"gt",
|
|
535
|
+
"hk",
|
|
536
|
+
"hn",
|
|
537
|
+
"hr",
|
|
538
|
+
"ht",
|
|
539
|
+
"hu",
|
|
540
|
+
"id",
|
|
541
|
+
"ie",
|
|
542
|
+
"il",
|
|
543
|
+
"in",
|
|
544
|
+
"is",
|
|
545
|
+
"it",
|
|
546
|
+
"jm",
|
|
547
|
+
"jo",
|
|
548
|
+
"jp",
|
|
549
|
+
"ke",
|
|
550
|
+
"kh",
|
|
551
|
+
"kr",
|
|
552
|
+
"kw",
|
|
553
|
+
"kz",
|
|
554
|
+
"lb",
|
|
555
|
+
"lk",
|
|
556
|
+
"lt",
|
|
557
|
+
"lu",
|
|
558
|
+
"lv",
|
|
559
|
+
"ma",
|
|
560
|
+
"md",
|
|
561
|
+
"mk",
|
|
562
|
+
"mn",
|
|
563
|
+
"mo",
|
|
564
|
+
"mq",
|
|
565
|
+
"mt",
|
|
566
|
+
"mu",
|
|
567
|
+
"mx",
|
|
568
|
+
"my",
|
|
569
|
+
"ng",
|
|
570
|
+
"nl",
|
|
571
|
+
"no",
|
|
572
|
+
"nz",
|
|
573
|
+
"om",
|
|
574
|
+
"pa",
|
|
575
|
+
"pe",
|
|
576
|
+
"pf",
|
|
577
|
+
"ph",
|
|
578
|
+
"pk",
|
|
579
|
+
"pl",
|
|
580
|
+
"pr",
|
|
581
|
+
"pt",
|
|
582
|
+
"py",
|
|
583
|
+
"qa",
|
|
584
|
+
"ro",
|
|
585
|
+
"rs",
|
|
586
|
+
"ru",
|
|
587
|
+
"sa",
|
|
588
|
+
"se",
|
|
589
|
+
"sg",
|
|
590
|
+
"si",
|
|
591
|
+
"sk",
|
|
592
|
+
"sv",
|
|
593
|
+
"th",
|
|
594
|
+
"tn",
|
|
595
|
+
"tr",
|
|
596
|
+
"tt",
|
|
597
|
+
"ua",
|
|
598
|
+
"us",
|
|
599
|
+
"uy",
|
|
600
|
+
"uz",
|
|
601
|
+
"ve",
|
|
602
|
+
"vn",
|
|
603
|
+
"za"
|
|
604
|
+
];
|
|
605
|
+
export type FlagName = typeof FLAG_NAMES[number];
|
|
496
606
|
declare const FORM_STATES: readonly [
|
|
497
607
|
"none",
|
|
498
608
|
"error",
|
|
@@ -586,6 +696,7 @@ declare const GRADIENT_COLORS: readonly [
|
|
|
586
696
|
"background-base",
|
|
587
697
|
"background-surface"
|
|
588
698
|
];
|
|
699
|
+
/** @deprecated */
|
|
589
700
|
export type ScrollerGradientColor = (typeof GRADIENT_COLORS)[number];
|
|
590
701
|
export type ScrollerScrollToPosition = {
|
|
591
702
|
scrollPosition: number;
|
|
@@ -598,6 +709,20 @@ declare const SCROLL_INDICATOR_POSITIONS: readonly [
|
|
|
598
709
|
/** @deprecated */
|
|
599
710
|
export type ScrollerScrollIndicatorPosition = (typeof SCROLL_INDICATOR_POSITIONS)[number];
|
|
600
711
|
export type ScrollerAlignScrollIndicator = ScrollerScrollIndicatorPosition;
|
|
712
|
+
export type MultiSelectState = FormState;
|
|
713
|
+
export type MultiSelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
714
|
+
/** @deprecated */
|
|
715
|
+
export type MultiSelectUpdateEvent = {
|
|
716
|
+
name: string;
|
|
717
|
+
value: string[];
|
|
718
|
+
};
|
|
719
|
+
export type MultiSelectUpdateEventDetail = MultiSelectUpdateEvent;
|
|
720
|
+
export type SelectState = FormState;
|
|
721
|
+
export type SelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
722
|
+
export type SelectUpdateEventDetail = {
|
|
723
|
+
name: string;
|
|
724
|
+
value: string;
|
|
725
|
+
};
|
|
601
726
|
declare const SELECT_DROPDOWN_DIRECTIONS: readonly [
|
|
602
727
|
"down",
|
|
603
728
|
"up",
|
|
@@ -702,6 +827,9 @@ export type PorscheDesignSystem = {
|
|
|
702
827
|
};
|
|
703
828
|
};
|
|
704
829
|
export type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick<AriaAttributes, T>;
|
|
830
|
+
export type SelectedAriaRole<T> = {
|
|
831
|
+
role: Extract<AriaRole, T>;
|
|
832
|
+
};
|
|
705
833
|
declare const ACCORDION_SIZES: readonly [
|
|
706
834
|
"small",
|
|
707
835
|
"medium"
|
|
@@ -881,6 +1009,11 @@ export type FieldsetLabelSize = (typeof FIELDSET_LABEL_SIZES)[number];
|
|
|
881
1009
|
export type FieldsetState = FormState;
|
|
882
1010
|
export type FieldsetWrapperLabelSize = FieldsetLabelSize;
|
|
883
1011
|
export type FieldsetWrapperState = FieldsetState;
|
|
1012
|
+
declare const FLAG_ARIA_ATTRIBUTES: readonly [
|
|
1013
|
+
"aria-label"
|
|
1014
|
+
];
|
|
1015
|
+
export type FlagAriaAttribute = (typeof FLAG_ARIA_ATTRIBUTES)[number];
|
|
1016
|
+
export type FlagSize = TextSize;
|
|
884
1017
|
export type FlexInline = boolean;
|
|
885
1018
|
declare const FLEX_WRAPS: readonly [
|
|
886
1019
|
"nowrap",
|
|
@@ -1090,6 +1223,10 @@ declare const ICON_COLORS: readonly [
|
|
|
1090
1223
|
"state-disabled"
|
|
1091
1224
|
];
|
|
1092
1225
|
export type IconColor = (typeof ICON_COLORS)[number];
|
|
1226
|
+
export type InputDateState = FormState;
|
|
1227
|
+
export type InputDateChangeEventDetail = Event;
|
|
1228
|
+
export type InputDateBlurEventDetail = Event;
|
|
1229
|
+
export type InputDateInputEventDetail = InputEvent;
|
|
1093
1230
|
export type InputEmailState = FormState;
|
|
1094
1231
|
export type InputEmailChangeEventDetail = Event;
|
|
1095
1232
|
export type InputEmailBlurEventDetail = Event;
|
|
@@ -1106,10 +1243,22 @@ export type InputSearchState = FormState;
|
|
|
1106
1243
|
export type InputSearchChangeEventDetail = Event;
|
|
1107
1244
|
export type InputSearchBlurEventDetail = Event;
|
|
1108
1245
|
export type InputSearchInputEventDetail = InputEvent;
|
|
1246
|
+
export type InputTelState = FormState;
|
|
1247
|
+
export type InputTelChangeEventDetail = Event;
|
|
1248
|
+
export type InputTelBlurEventDetail = Event;
|
|
1249
|
+
export type InputTelInputEventDetail = InputEvent;
|
|
1109
1250
|
export type InputTextState = FormState;
|
|
1110
1251
|
export type InputTextChangeEventDetail = Event;
|
|
1111
1252
|
export type InputTextBlurEventDetail = Event;
|
|
1112
1253
|
export type InputTextInputEventDetail = InputEvent;
|
|
1254
|
+
export type InputTimeState = FormState;
|
|
1255
|
+
export type InputTimeChangeEventDetail = Event;
|
|
1256
|
+
export type InputTimeBlurEventDetail = Event;
|
|
1257
|
+
export type InputTimeInputEventDetail = InputEvent;
|
|
1258
|
+
export type InputUrlState = FormState;
|
|
1259
|
+
export type InputUrlChangeEventDetail = Event;
|
|
1260
|
+
export type InputUrlBlurEventDetail = Event;
|
|
1261
|
+
export type InputUrlInputEventDetail = InputEvent;
|
|
1113
1262
|
export type LinkIcon = LinkButtonIconName;
|
|
1114
1263
|
export type LinkPureIcon = LinkButtonIconName;
|
|
1115
1264
|
export type LinkPureAriaAttribute = LinkAriaAttribute;
|
|
@@ -1264,14 +1413,6 @@ declare const MODEL_SIGNATURE_COLORS: readonly [
|
|
|
1264
1413
|
"inherit"
|
|
1265
1414
|
];
|
|
1266
1415
|
export type ModelSignatureColor = (typeof MODEL_SIGNATURE_COLORS)[number];
|
|
1267
|
-
export type MultiSelectState = FormState;
|
|
1268
|
-
export type MultiSelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
1269
|
-
/** @deprecated */
|
|
1270
|
-
export type MultiSelectUpdateEvent = {
|
|
1271
|
-
name: string;
|
|
1272
|
-
value: string[];
|
|
1273
|
-
};
|
|
1274
|
-
export type MultiSelectUpdateEventDetail = MultiSelectUpdateEvent;
|
|
1275
1416
|
declare const PAGINATION_NUMBER_OF_PAGE_LINKS: readonly [
|
|
1276
1417
|
5,
|
|
1277
1418
|
7
|
|
@@ -1335,12 +1476,6 @@ declare const SEGMENTED_CONTROL_ITEM_ARIA_ATTRIBUTES: readonly [
|
|
|
1335
1476
|
"aria-label"
|
|
1336
1477
|
];
|
|
1337
1478
|
export type SegmentedControlItemAriaAttribute = (typeof SEGMENTED_CONTROL_ITEM_ARIA_ATTRIBUTES)[number];
|
|
1338
|
-
export type SelectState = FormState;
|
|
1339
|
-
export type SelectDropdownDirection = SelectComponentsDropdownDirection;
|
|
1340
|
-
export type SelectUpdateEventDetail = {
|
|
1341
|
-
name: string;
|
|
1342
|
-
value: string;
|
|
1343
|
-
};
|
|
1344
1479
|
declare const DROPDOWN_DIRECTIONS: readonly [
|
|
1345
1480
|
"down",
|
|
1346
1481
|
"up",
|