@porsche-design-system/components-vue 3.29.0-rc.1 → 3.29.0-rc.3
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 -1
- package/cjs/PorscheDesignSystemProvider.vue.cjs +1 -1
- package/cjs/lib/components/InputEmailWrapper.vue.cjs +1 -0
- package/cjs/lib/components/InputEmailWrapper.vue2.cjs +1 -0
- package/cjs/public-api.cjs +1 -1
- package/esm/PorscheDesignSystemProvider.vue.d.ts +6 -6
- package/esm/PorscheDesignSystemProvider.vue.mjs +11 -8
- package/esm/lib/components/AccordionWrapper.vue.d.ts +8 -7
- package/esm/lib/components/BannerWrapper.vue.d.ts +13 -6
- package/esm/lib/components/ButtonGroupWrapper.vue.d.ts +6 -5
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +7 -6
- package/esm/lib/components/ButtonTileWrapper.vue.d.ts +7 -6
- package/esm/lib/components/ButtonWrapper.vue.d.ts +7 -6
- package/esm/lib/components/CanvasWrapper.vue.d.ts +12 -5
- package/esm/lib/components/CarouselWrapper.vue.d.ts +8 -7
- package/esm/lib/components/CheckboxWrapper.vue.d.ts +10 -9
- package/esm/lib/components/CheckboxWrapperWrapper.vue.d.ts +6 -5
- package/esm/lib/components/ContentWrapperWrapper.vue.d.ts +6 -5
- package/esm/lib/components/CrestWrapper.vue.d.ts +1 -1
- package/esm/lib/components/DisplayWrapper.vue.d.ts +6 -5
- package/esm/lib/components/DividerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/DrilldownItemWrapper.vue.d.ts +6 -5
- package/esm/lib/components/DrilldownLinkWrapper.vue.d.ts +7 -6
- package/esm/lib/components/DrilldownWrapper.vue.d.ts +12 -5
- package/esm/lib/components/FieldsetWrapper.vue.d.ts +6 -5
- package/esm/lib/components/FieldsetWrapperWrapper.vue.d.ts +6 -5
- package/esm/lib/components/FlexItemWrapper.vue.d.ts +6 -5
- package/esm/lib/components/FlexWrapper.vue.d.ts +6 -5
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +12 -5
- package/esm/lib/components/GridItemWrapper.vue.d.ts +6 -5
- package/esm/lib/components/GridWrapper.vue.d.ts +6 -5
- package/esm/lib/components/HeadingWrapper.vue.d.ts +6 -5
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +6 -5
- package/esm/lib/components/IconWrapper.vue.d.ts +2 -2
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +13 -6
- package/esm/lib/components/InputEmailWrapper.vue.d.ts +122 -0
- package/esm/lib/components/InputEmailWrapper.vue.mjs +48 -0
- package/esm/lib/components/InputEmailWrapper.vue2.mjs +4 -0
- package/esm/lib/components/InputNumberWrapper.vue.d.ts +28 -27
- package/esm/lib/components/InputPasswordWrapper.vue.d.ts +29 -28
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +28 -27
- package/esm/lib/components/InputTextWrapper.vue.d.ts +29 -28
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +7 -6
- package/esm/lib/components/LinkSocialWrapper.vue.d.ts +7 -6
- package/esm/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +6 -5
- package/esm/lib/components/LinkTileProductWrapper.vue.d.ts +8 -7
- package/esm/lib/components/LinkTileWrapper.vue.d.ts +7 -6
- package/esm/lib/components/LinkWrapper.vue.d.ts +7 -6
- package/esm/lib/components/MarqueWrapper.vue.d.ts +2 -2
- package/esm/lib/components/ModalWrapper.vue.d.ts +12 -5
- package/esm/lib/components/ModelSignatureWrapper.vue.d.ts +6 -5
- package/esm/lib/components/MultiSelectOptionWrapper.vue.d.ts +6 -5
- package/esm/lib/components/MultiSelectWrapper.vue.d.ts +8 -7
- package/esm/lib/components/OptgroupWrapper.vue.d.ts +6 -5
- package/esm/lib/components/PaginationWrapper.vue.d.ts +3 -3
- package/esm/lib/components/PinCodeWrapper.vue.d.ts +8 -7
- package/esm/lib/components/PopoverWrapper.vue.d.ts +12 -5
- package/esm/lib/components/RadioButtonWrapperWrapper.vue.d.ts +6 -5
- package/esm/lib/components/ScrollerWrapper.vue.d.ts +6 -5
- package/esm/lib/components/SegmentedControlItemWrapper.vue.d.ts +6 -5
- package/esm/lib/components/SegmentedControlWrapper.vue.d.ts +8 -7
- package/esm/lib/components/SelectOptionWrapper.vue.d.ts +6 -5
- package/esm/lib/components/SelectWrapper.vue.d.ts +9 -8
- package/esm/lib/components/SelectWrapperWrapper.vue.d.ts +6 -5
- package/esm/lib/components/SheetWrapper.vue.d.ts +12 -5
- package/esm/lib/components/SpinnerWrapper.vue.d.ts +1 -1
- package/esm/lib/components/StepperHorizontalItemWrapper.vue.d.ts +6 -5
- package/esm/lib/components/StepperHorizontalWrapper.vue.d.ts +8 -7
- package/esm/lib/components/SwitchWrapper.vue.d.ts +9 -8
- package/esm/lib/components/TableBodyWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TableCellWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TableHeadCellWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TableHeadRowWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TableHeadWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TableRowWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TableWrapper.vue.d.ts +8 -7
- package/esm/lib/components/TabsBarWrapper.vue.d.ts +8 -7
- package/esm/lib/components/TabsItemWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TabsWrapper.vue.d.ts +8 -7
- package/esm/lib/components/TagDismissibleWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TagWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +12 -5
- package/esm/lib/components/TextListItemWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TextListWrapper.vue.d.ts +6 -5
- package/esm/lib/components/TextWrapper.vue.d.ts +7 -6
- package/esm/lib/components/TextareaWrapper.vue.d.ts +29 -28
- package/esm/lib/components/TextareaWrapperWrapper.vue.d.ts +6 -5
- package/esm/lib/components/ToastWrapper.vue.d.ts +1 -1
- package/esm/lib/components/WordmarkWrapper.vue.d.ts +1 -1
- package/esm/lib/components/index.d.ts +1 -0
- package/esm/lib/types.d.ts +4 -27
- package/esm/public-api.mjs +116 -114
- package/package.json +7 -7
- package/partials/esm/index.mjs +1 -0
- package/partials/package.json +3 -3
- package/partials/index.js +0 -12
- /package/partials/{index.cjs → cjs/index.cjs} +0 -0
- /package/partials/{index.d.ts → esm/index.d.ts} +0 -0
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
3
4
|
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<{},
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
6
7
|
export default _default;
|
|
7
|
-
type
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
9
|
new (): {
|
|
9
10
|
$slots: S;
|
|
10
11
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
3
4
|
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<{},
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
6
7
|
export default _default;
|
|
7
|
-
type
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
9
|
new (): {
|
|
9
10
|
$slots: S;
|
|
10
11
|
};
|
|
@@ -17,12 +17,13 @@ type PTableProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
theme?: Theme;
|
|
19
19
|
};
|
|
20
|
-
declare
|
|
21
|
-
|
|
20
|
+
declare var __VLS_8: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
default?: (props: typeof __VLS_8) => any;
|
|
22
23
|
};
|
|
23
|
-
declare const __VLS_component: import("vue").DefineComponent<PTableProps,
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<PTableProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
25
|
+
update: (value: import("../types").TableHeadCellSort) => any;
|
|
26
|
+
sortingChange: (value: import("../types").TableHeadCellSort) => any;
|
|
26
27
|
}, string, import("vue").PublicProps, Readonly<PTableProps> & Readonly<{
|
|
27
28
|
onUpdate?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
|
|
28
29
|
onSortingChange?: ((value: import("../types").TableHeadCellSort) => any) | undefined;
|
|
@@ -30,9 +31,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTableProps, {}, {}
|
|
|
30
31
|
compact: boolean;
|
|
31
32
|
layout: TableLayout;
|
|
32
33
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
|
-
declare const _default:
|
|
34
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
34
35
|
export default _default;
|
|
35
|
-
type
|
|
36
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
37
|
new (): {
|
|
37
38
|
$slots: S;
|
|
38
39
|
};
|
|
@@ -25,12 +25,13 @@ type PTabsBarProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
weight?: TabsBarWeight;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
29
|
-
|
|
28
|
+
declare var __VLS_8: {};
|
|
29
|
+
type __VLS_Slots = {} & {
|
|
30
|
+
default?: (props: typeof __VLS_8) => any;
|
|
30
31
|
};
|
|
31
|
-
declare const __VLS_component: import("vue").DefineComponent<PTabsBarProps,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
declare const __VLS_component: import("vue").DefineComponent<PTabsBarProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
33
|
+
update: (value: import("../types").TabsBarUpdateEvent) => any;
|
|
34
|
+
tabChange: (value: import("../types").TabsBarUpdateEvent) => any;
|
|
34
35
|
}, string, import("vue").PublicProps, Readonly<PTabsBarProps> & Readonly<{
|
|
35
36
|
onUpdate?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
36
37
|
onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
@@ -39,9 +40,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTabsBarProps, {},
|
|
|
39
40
|
size: BreakpointCustomizable<TabsBarSize>;
|
|
40
41
|
gradientColor: TabsBarGradientColor;
|
|
41
42
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
-
declare const _default:
|
|
43
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
44
|
export default _default;
|
|
44
|
-
type
|
|
45
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
45
46
|
new (): {
|
|
46
47
|
$slots: S;
|
|
47
48
|
};
|
|
@@ -4,13 +4,14 @@ type PTabsItemProps = {
|
|
|
4
4
|
*/
|
|
5
5
|
label: string;
|
|
6
6
|
};
|
|
7
|
-
declare
|
|
8
|
-
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
9
10
|
};
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<PTabsItemProps,
|
|
11
|
-
declare const _default:
|
|
11
|
+
declare const __VLS_component: import("vue").DefineComponent<PTabsItemProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTabsItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
12
13
|
export default _default;
|
|
13
|
-
type
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
14
15
|
new (): {
|
|
15
16
|
$slots: S;
|
|
16
17
|
};
|
|
@@ -25,12 +25,13 @@ type PTabsProps = {
|
|
|
25
25
|
*/
|
|
26
26
|
weight?: TabsWeight;
|
|
27
27
|
};
|
|
28
|
-
declare
|
|
29
|
-
|
|
28
|
+
declare var __VLS_8: {};
|
|
29
|
+
type __VLS_Slots = {} & {
|
|
30
|
+
default?: (props: typeof __VLS_8) => any;
|
|
30
31
|
};
|
|
31
|
-
declare const __VLS_component: import("vue").DefineComponent<PTabsProps,
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
declare const __VLS_component: import("vue").DefineComponent<PTabsProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
33
|
+
update: (value: import("../types").TabsBarUpdateEvent) => any;
|
|
34
|
+
tabChange: (value: import("../types").TabsBarUpdateEvent) => any;
|
|
34
35
|
}, string, import("vue").PublicProps, Readonly<PTabsProps> & Readonly<{
|
|
35
36
|
onUpdate?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
36
37
|
onTabChange?: ((value: import("../types").TabsBarUpdateEvent) => any) | undefined;
|
|
@@ -40,9 +41,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTabsProps, {}, {},
|
|
|
40
41
|
gradientColor: TabsGradientColor;
|
|
41
42
|
activeTabIndex: number;
|
|
42
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
-
declare const _default:
|
|
44
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
44
45
|
export default _default;
|
|
45
|
-
type
|
|
46
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
47
|
new (): {
|
|
47
48
|
$slots: S;
|
|
48
49
|
};
|
|
@@ -17,15 +17,16 @@ type PTagDismissibleProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
theme?: Theme;
|
|
19
19
|
};
|
|
20
|
-
declare
|
|
21
|
-
|
|
20
|
+
declare var __VLS_8: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
default?: (props: typeof __VLS_8) => any;
|
|
22
23
|
};
|
|
23
|
-
declare const __VLS_component: import("vue").DefineComponent<PTagDismissibleProps,
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<PTagDismissibleProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTagDismissibleProps> & Readonly<{}>, {
|
|
24
25
|
color: TagDismissibleColor;
|
|
25
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
declare const _default:
|
|
27
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
28
|
export default _default;
|
|
28
|
-
type
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
30
|
new (): {
|
|
30
31
|
$slots: S;
|
|
31
32
|
};
|
|
@@ -21,16 +21,17 @@ type PTagProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
theme?: Theme;
|
|
23
23
|
};
|
|
24
|
-
declare
|
|
25
|
-
|
|
24
|
+
declare var __VLS_8: {};
|
|
25
|
+
type __VLS_Slots = {} & {
|
|
26
|
+
default?: (props: typeof __VLS_8) => any;
|
|
26
27
|
};
|
|
27
|
-
declare const __VLS_component: import("vue").DefineComponent<PTagProps,
|
|
28
|
+
declare const __VLS_component: import("vue").DefineComponent<PTagProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTagProps> & Readonly<{}>, {
|
|
28
29
|
compact: boolean;
|
|
29
30
|
color: TagColor;
|
|
30
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
31
|
-
declare const _default:
|
|
32
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
32
33
|
export default _default;
|
|
33
|
-
type
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
34
35
|
new (): {
|
|
35
36
|
$slots: S;
|
|
36
37
|
};
|
|
@@ -57,10 +57,17 @@ type PTextFieldWrapperProps = {
|
|
|
57
57
|
*/
|
|
58
58
|
unitPosition?: TextFieldWrapperUnitPosition;
|
|
59
59
|
};
|
|
60
|
-
declare
|
|
61
|
-
|
|
60
|
+
declare var __VLS_8: {};
|
|
61
|
+
type __VLS_Slots = {} & {
|
|
62
|
+
default?: (props: typeof __VLS_8) => any;
|
|
62
63
|
};
|
|
63
|
-
declare const __VLS_component: import("vue").DefineComponent<PTextFieldWrapperProps,
|
|
64
|
+
declare const __VLS_component: import("vue").DefineComponent<PTextFieldWrapperProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
65
|
+
[x: string]: any;
|
|
66
|
+
} & {
|
|
67
|
+
[x: string]: any;
|
|
68
|
+
}, string, import("vue").PublicProps, Readonly<PTextFieldWrapperProps> & Readonly<{
|
|
69
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
70
|
+
}>, {
|
|
64
71
|
label: string;
|
|
65
72
|
description: string;
|
|
66
73
|
state: TextFieldWrapperState;
|
|
@@ -73,9 +80,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTextFieldWrapperPr
|
|
|
73
80
|
unit: string;
|
|
74
81
|
unitPosition: TextFieldWrapperUnitPosition;
|
|
75
82
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
76
|
-
declare const _default:
|
|
83
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
77
84
|
export default _default;
|
|
78
|
-
type
|
|
85
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
79
86
|
new (): {
|
|
80
87
|
$slots: S;
|
|
81
88
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
1
|
+
declare var __VLS_7: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_7) => any;
|
|
3
4
|
};
|
|
4
|
-
declare const __VLS_component: import("vue").DefineComponent<{},
|
|
5
|
-
declare const _default:
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
6
7
|
export default _default;
|
|
7
|
-
type
|
|
8
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
9
|
new (): {
|
|
9
10
|
$slots: S;
|
|
10
11
|
};
|
|
@@ -17,15 +17,16 @@ type PTextListProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
type?: TextListType;
|
|
19
19
|
};
|
|
20
|
-
declare
|
|
21
|
-
|
|
20
|
+
declare var __VLS_8: {};
|
|
21
|
+
type __VLS_Slots = {} & {
|
|
22
|
+
default?: (props: typeof __VLS_8) => any;
|
|
22
23
|
};
|
|
23
|
-
declare const __VLS_component: import("vue").DefineComponent<PTextListProps,
|
|
24
|
+
declare const __VLS_component: import("vue").DefineComponent<PTextListProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTextListProps> & Readonly<{}>, {
|
|
24
25
|
type: TextListType;
|
|
25
26
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
|
-
declare const _default:
|
|
27
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
28
|
export default _default;
|
|
28
|
-
type
|
|
29
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
29
30
|
new (): {
|
|
30
31
|
$slots: S;
|
|
31
32
|
};
|
|
@@ -29,20 +29,21 @@ type PTextProps = {
|
|
|
29
29
|
*/
|
|
30
30
|
weight?: TextWeight;
|
|
31
31
|
};
|
|
32
|
-
declare
|
|
33
|
-
|
|
32
|
+
declare var __VLS_8: {};
|
|
33
|
+
type __VLS_Slots = {} & {
|
|
34
|
+
default?: (props: typeof __VLS_8) => any;
|
|
34
35
|
};
|
|
35
|
-
declare const __VLS_component: import("vue").DefineComponent<PTextProps,
|
|
36
|
+
declare const __VLS_component: import("vue").DefineComponent<PTextProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTextProps> & Readonly<{}>, {
|
|
36
37
|
weight: TextWeight;
|
|
37
|
-
tag: TextTag;
|
|
38
38
|
size: BreakpointCustomizable<TextSize>;
|
|
39
|
+
tag: TextTag;
|
|
39
40
|
align: TextAlign;
|
|
40
41
|
color: TextColor;
|
|
41
42
|
ellipsis: boolean;
|
|
42
43
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
43
|
-
declare const _default:
|
|
44
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
44
45
|
export default _default;
|
|
45
|
-
type
|
|
46
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
46
47
|
new (): {
|
|
47
48
|
$slots: S;
|
|
48
49
|
};
|
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { BreakpointCustomizable, TextareaResize, TextareaState, Theme, TextareaWrap } from '../types';
|
|
2
2
|
type PTextareaProps = {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
|
|
5
5
|
*/
|
|
6
|
-
autoComplete?:
|
|
6
|
+
autoComplete?: string;
|
|
7
7
|
/**
|
|
8
8
|
* Show or hide the character counter.
|
|
9
9
|
*/
|
|
10
10
|
counter?: boolean;
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Supplementary text providing more context or explanation for the textarea.
|
|
13
13
|
*/
|
|
14
14
|
description?: string;
|
|
15
15
|
/**
|
|
16
|
-
*
|
|
16
|
+
* A boolean value that, if present, makes the textarea unusable and unclickable. The value will not be submitted with the form.
|
|
17
17
|
*/
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Specifies the id of the <form> element that the textarea belongs to (useful if the textarea is not a direct descendant of the form).
|
|
21
21
|
*/
|
|
22
22
|
form?: string;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Controls the visibility of the label.
|
|
25
25
|
*/
|
|
26
26
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* Text content for a user-facing label.
|
|
29
29
|
*/
|
|
30
30
|
label?: string;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* A non-negative integer specifying the maximum number of characters the user can enter into the textarea.
|
|
33
33
|
*/
|
|
34
34
|
maxLength?: number;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* Dynamic feedback text for validation or status.
|
|
37
37
|
*/
|
|
38
38
|
message?: string;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* A non-negative integer specifying the minimum number of characters required for the textarea's value to be considered valid.
|
|
41
41
|
*/
|
|
42
42
|
minLength?: number;
|
|
43
43
|
/**
|
|
44
|
-
* The name of the textarea.
|
|
44
|
+
* The name of the textarea, used when submitting the form data.
|
|
45
45
|
*/
|
|
46
46
|
name: string;
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Write your message here...'). This text is displayed when the textarea is empty.
|
|
49
49
|
*/
|
|
50
50
|
placeholder?: string;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* A boolean value that, if present, makes the textarea uneditable by the user, but its value will still be submitted with the form.
|
|
53
53
|
*/
|
|
54
54
|
readOnly?: boolean;
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* A boolean value that, if present, indicates that the textarea must be filled out before the form can be submitted.
|
|
57
57
|
*/
|
|
58
58
|
required?: boolean;
|
|
59
59
|
/**
|
|
@@ -65,15 +65,15 @@ type PTextareaProps = {
|
|
|
65
65
|
*/
|
|
66
66
|
rows?: number;
|
|
67
67
|
/**
|
|
68
|
-
* Specifies whether the
|
|
68
|
+
* Specifies whether the textarea should have its spelling and grammar checked
|
|
69
69
|
*/
|
|
70
70
|
spellCheck?: boolean;
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Indicates the validation or overall status of the textarea component.
|
|
73
73
|
*/
|
|
74
74
|
state?: TextareaState;
|
|
75
75
|
/**
|
|
76
|
-
*
|
|
76
|
+
* Controls the visual appearance of the component.
|
|
77
77
|
*/
|
|
78
78
|
theme?: Theme;
|
|
79
79
|
/**
|
|
@@ -81,17 +81,18 @@ type PTextareaProps = {
|
|
|
81
81
|
*/
|
|
82
82
|
value?: string;
|
|
83
83
|
/**
|
|
84
|
-
* Handles wrapping
|
|
84
|
+
* Handles wrapping behavior of elements.
|
|
85
85
|
*/
|
|
86
86
|
wrap?: TextareaWrap;
|
|
87
87
|
};
|
|
88
|
-
declare
|
|
89
|
-
|
|
88
|
+
declare var __VLS_8: {};
|
|
89
|
+
type __VLS_Slots = {} & {
|
|
90
|
+
default?: (props: typeof __VLS_8) => any;
|
|
90
91
|
};
|
|
91
|
-
declare const __VLS_component: import("vue").DefineComponent<PTextareaProps,
|
|
92
|
-
blur: (value: Event) =>
|
|
93
|
-
change: (value: Event) =>
|
|
94
|
-
input: (value: InputEvent) =>
|
|
92
|
+
declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
93
|
+
blur: (value: Event) => any;
|
|
94
|
+
change: (value: Event) => any;
|
|
95
|
+
input: (value: InputEvent) => any;
|
|
95
96
|
}, string, import("vue").PublicProps, Readonly<PTextareaProps> & Readonly<{
|
|
96
97
|
onBlur?: ((value: Event) => any) | undefined;
|
|
97
98
|
onChange?: ((value: Event) => any) | undefined;
|
|
@@ -101,9 +102,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, {},
|
|
|
101
102
|
resize: TextareaResize;
|
|
102
103
|
label: string;
|
|
103
104
|
description: string;
|
|
104
|
-
disabled: boolean;
|
|
105
105
|
state: TextareaState;
|
|
106
106
|
required: boolean;
|
|
107
|
+
disabled: boolean;
|
|
107
108
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
108
109
|
value: string;
|
|
109
110
|
message: string;
|
|
@@ -112,9 +113,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaProps, {},
|
|
|
112
113
|
counter: boolean;
|
|
113
114
|
rows: number;
|
|
114
115
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
115
|
-
declare const _default:
|
|
116
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
116
117
|
export default _default;
|
|
117
|
-
type
|
|
118
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
118
119
|
new (): {
|
|
119
120
|
$slots: S;
|
|
120
121
|
};
|
|
@@ -33,10 +33,11 @@ type PTextareaWrapperProps = {
|
|
|
33
33
|
*/
|
|
34
34
|
theme?: Theme;
|
|
35
35
|
};
|
|
36
|
-
declare
|
|
37
|
-
|
|
36
|
+
declare var __VLS_8: {};
|
|
37
|
+
type __VLS_Slots = {} & {
|
|
38
|
+
default?: (props: typeof __VLS_8) => any;
|
|
38
39
|
};
|
|
39
|
-
declare const __VLS_component: import("vue").DefineComponent<PTextareaWrapperProps,
|
|
40
|
+
declare const __VLS_component: import("vue").DefineComponent<PTextareaWrapperProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PTextareaWrapperProps> & Readonly<{}>, {
|
|
40
41
|
label: string;
|
|
41
42
|
description: string;
|
|
42
43
|
state: TextareaWrapperState;
|
|
@@ -44,9 +45,9 @@ declare const __VLS_component: import("vue").DefineComponent<PTextareaWrapperPro
|
|
|
44
45
|
message: string;
|
|
45
46
|
showCounter: boolean;
|
|
46
47
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
47
|
-
declare const _default:
|
|
48
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
48
49
|
export default _default;
|
|
49
|
-
type
|
|
50
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
50
51
|
new (): {
|
|
51
52
|
$slots: S;
|
|
52
53
|
};
|
|
@@ -5,5 +5,5 @@ type PToastProps = {
|
|
|
5
5
|
*/
|
|
6
6
|
theme?: Theme;
|
|
7
7
|
};
|
|
8
|
-
declare const _default: import("vue").DefineComponent<PToastProps,
|
|
8
|
+
declare const _default: import("vue").DefineComponent<PToastProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PToastProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -21,7 +21,7 @@ type PWordmarkProps = {
|
|
|
21
21
|
*/
|
|
22
22
|
theme?: Theme;
|
|
23
23
|
};
|
|
24
|
-
declare const _default: import("vue").DefineComponent<PWordmarkProps,
|
|
24
|
+
declare const _default: import("vue").DefineComponent<PWordmarkProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<PWordmarkProps> & Readonly<{}>, {
|
|
25
25
|
size: WordmarkSize;
|
|
26
26
|
target: WordmarkTarget;
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -26,6 +26,7 @@ export { default as PHeading } from './HeadingWrapper.vue';
|
|
|
26
26
|
export { default as PHeadline } from './HeadlineWrapper.vue';
|
|
27
27
|
export { default as PIcon } from './IconWrapper.vue';
|
|
28
28
|
export { default as PInlineNotification } from './InlineNotificationWrapper.vue';
|
|
29
|
+
export { default as PInputEmail } from './InputEmailWrapper.vue';
|
|
29
30
|
export { default as PInputNumber } from './InputNumberWrapper.vue';
|
|
30
31
|
export { default as PInputPassword } from './InputPasswordWrapper.vue';
|
|
31
32
|
export { default as PInputSearch } from './InputSearchWrapper.vue';
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -1090,41 +1090,23 @@ declare const ICON_COLORS: readonly [
|
|
|
1090
1090
|
"state-disabled"
|
|
1091
1091
|
];
|
|
1092
1092
|
export type IconColor = (typeof ICON_COLORS)[number];
|
|
1093
|
+
export type InputEmailState = FormState;
|
|
1094
|
+
export type InputEmailChangeEventDetail = Event;
|
|
1095
|
+
export type InputEmailBlurEventDetail = Event;
|
|
1096
|
+
export type InputEmailInputEventDetail = InputEvent;
|
|
1093
1097
|
export type InputNumberState = FormState;
|
|
1094
|
-
declare const INPUT_NUMBER_AUTO_COMPLETE: readonly [
|
|
1095
|
-
"off",
|
|
1096
|
-
"on"
|
|
1097
|
-
];
|
|
1098
|
-
export type InputNumberAutoComplete = (typeof INPUT_NUMBER_AUTO_COMPLETE)[number];
|
|
1099
1098
|
export type InputNumberChangeEventDetail = Event;
|
|
1100
1099
|
export type InputNumberBlurEventDetail = Event;
|
|
1101
1100
|
export type InputNumberInputEventDetail = InputEvent;
|
|
1102
1101
|
export type InputPasswordState = FormState;
|
|
1103
|
-
declare const INPUT_PASSWORD_AUTO_COMPLETE: readonly [
|
|
1104
|
-
"off",
|
|
1105
|
-
"on",
|
|
1106
|
-
"current-password",
|
|
1107
|
-
"new-password"
|
|
1108
|
-
];
|
|
1109
|
-
export type InputPasswordAutoComplete = (typeof INPUT_PASSWORD_AUTO_COMPLETE)[number];
|
|
1110
1102
|
export type InputPasswordChangeEventDetail = Event;
|
|
1111
1103
|
export type InputPasswordBlurEventDetail = Event;
|
|
1112
1104
|
export type InputPasswordInputEventDetail = InputEvent;
|
|
1113
1105
|
export type InputSearchState = FormState;
|
|
1114
|
-
declare const INPUT_SEARCH_AUTO_COMPLETE: readonly [
|
|
1115
|
-
"off",
|
|
1116
|
-
"on"
|
|
1117
|
-
];
|
|
1118
|
-
export type InputSearchAutoComplete = (typeof INPUT_SEARCH_AUTO_COMPLETE)[number];
|
|
1119
1106
|
export type InputSearchChangeEventDetail = Event;
|
|
1120
1107
|
export type InputSearchBlurEventDetail = Event;
|
|
1121
1108
|
export type InputSearchInputEventDetail = InputEvent;
|
|
1122
1109
|
export type InputTextState = FormState;
|
|
1123
|
-
declare const INPUT_TEXT_AUTO_COMPLETE: readonly [
|
|
1124
|
-
"off",
|
|
1125
|
-
"on"
|
|
1126
|
-
];
|
|
1127
|
-
export type InputTextAutoComplete = (typeof INPUT_TEXT_AUTO_COMPLETE)[number];
|
|
1128
1110
|
export type InputTextChangeEventDetail = Event;
|
|
1129
1111
|
export type InputTextBlurEventDetail = Event;
|
|
1130
1112
|
export type InputTextInputEventDetail = InputEvent;
|
|
@@ -1516,11 +1498,6 @@ declare const TEXT_LIST_TYPES: readonly [
|
|
|
1516
1498
|
];
|
|
1517
1499
|
export type TextListType = (typeof TEXT_LIST_TYPES)[number];
|
|
1518
1500
|
export type TextareaState = FormState;
|
|
1519
|
-
declare const AUTO_COMPLETE: readonly [
|
|
1520
|
-
"off",
|
|
1521
|
-
"on"
|
|
1522
|
-
];
|
|
1523
|
-
export type TextareaAutoComplete = (typeof AUTO_COMPLETE)[number];
|
|
1524
1501
|
declare const TEXTAREA_WRAPS: readonly [
|
|
1525
1502
|
"hard",
|
|
1526
1503
|
"soft",
|