@porsche-design-system/components-react 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/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +0 -0
- package/cjs/lib/components/input-email.wrapper.cjs +29 -0
- package/cjs/public-api.cjs +2 -0
- package/esm/hooks.mjs +1 -1
- package/esm/lib/components/index.d.ts +1 -0
- package/esm/lib/components/input-email.wrapper.d.ts +200 -0
- package/esm/lib/components/input-email.wrapper.mjs +27 -0
- package/esm/lib/components/input-number.wrapper.d.ts +31 -31
- package/esm/lib/components/input-password.wrapper.d.ts +35 -35
- package/esm/lib/components/input-search.wrapper.d.ts +31 -31
- package/esm/lib/components/input-text.wrapper.d.ts +35 -35
- package/esm/lib/components/textarea.wrapper.d.ts +37 -37
- package/esm/lib/types.d.ts +4 -27
- package/esm/public-api.mjs +1 -0
- package/package.json +8 -8
- package/partials/esm/index.mjs +1 -0
- package/partials/package.json +3 -3
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +85 -74
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +7 -3
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-email.wrapper.cjs +40 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +2 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.cjs +43 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.cjs +1 -2
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +2 -0
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +57 -47
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +7 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-email.wrapper.mjs +38 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-link.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +3 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +41 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +1 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper-dropdown.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text-field-wrapper.mjs +2 -2
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea-wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +1 -0
- package/ssr/esm/lib/components/index.d.ts +1 -0
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +200 -0
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +31 -31
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +35 -35
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +31 -31
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +35 -35
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +37 -37
- package/ssr/esm/lib/dsr-components/input-base.d.ts +2 -0
- package/ssr/esm/lib/dsr-components/input-email.d.ts +19 -0
- package/ssr/esm/lib/types.d.ts +4 -27
- 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,48 +1,48 @@
|
|
|
1
1
|
import type { BaseProps } from '../../BaseProps';
|
|
2
|
-
import type {
|
|
2
|
+
import type { BreakpointCustomizable, TextareaBlurEventDetail, TextareaChangeEventDetail, TextareaInputEventDetail, TextareaResize, TextareaState, Theme, TextareaWrap } from '../types';
|
|
3
3
|
export type PTextareaProps = BaseProps & {
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
|
|
6
6
|
*/
|
|
7
|
-
autoComplete?:
|
|
7
|
+
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Show or hide the character counter.
|
|
10
10
|
*/
|
|
11
11
|
counter?: boolean;
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Supplementary text providing more context or explanation for the textarea.
|
|
14
14
|
*/
|
|
15
15
|
description?: string;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* A boolean value that, if present, makes the textarea unusable and unclickable. The value will not be submitted with the form.
|
|
18
18
|
*/
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Specifies the id of the <form> element that the textarea belongs to (useful if the textarea is not a direct descendant of the form).
|
|
22
22
|
*/
|
|
23
23
|
form?: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Controls the visibility of the label.
|
|
26
26
|
*/
|
|
27
27
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* Text content for a user-facing label.
|
|
30
30
|
*/
|
|
31
31
|
label?: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* A non-negative integer specifying the maximum number of characters the user can enter into the textarea.
|
|
34
34
|
*/
|
|
35
35
|
maxLength?: number;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Dynamic feedback text for validation or status.
|
|
38
38
|
*/
|
|
39
39
|
message?: string;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
* A non-negative integer specifying the minimum number of characters required for the textarea's value to be considered valid.
|
|
42
42
|
*/
|
|
43
43
|
minLength?: number;
|
|
44
44
|
/**
|
|
45
|
-
* The name of the textarea.
|
|
45
|
+
* The name of the textarea, used when submitting the form data.
|
|
46
46
|
*/
|
|
47
47
|
name: string;
|
|
48
48
|
/**
|
|
@@ -58,15 +58,15 @@ export type PTextareaProps = BaseProps & {
|
|
|
58
58
|
*/
|
|
59
59
|
onInput?: (event: CustomEvent<TextareaInputEventDetail>) => void;
|
|
60
60
|
/**
|
|
61
|
-
*
|
|
61
|
+
* 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.
|
|
62
62
|
*/
|
|
63
63
|
placeholder?: string;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* A boolean value that, if present, makes the textarea uneditable by the user, but its value will still be submitted with the form.
|
|
66
66
|
*/
|
|
67
67
|
readOnly?: boolean;
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* A boolean value that, if present, indicates that the textarea must be filled out before the form can be submitted.
|
|
70
70
|
*/
|
|
71
71
|
required?: boolean;
|
|
72
72
|
/**
|
|
@@ -78,15 +78,15 @@ export type PTextareaProps = BaseProps & {
|
|
|
78
78
|
*/
|
|
79
79
|
rows?: number;
|
|
80
80
|
/**
|
|
81
|
-
* Specifies whether the
|
|
81
|
+
* Specifies whether the textarea should have its spelling and grammar checked
|
|
82
82
|
*/
|
|
83
83
|
spellCheck?: boolean;
|
|
84
84
|
/**
|
|
85
|
-
*
|
|
85
|
+
* Indicates the validation or overall status of the textarea component.
|
|
86
86
|
*/
|
|
87
87
|
state?: TextareaState;
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* Controls the visual appearance of the component.
|
|
90
90
|
*/
|
|
91
91
|
theme?: Theme;
|
|
92
92
|
/**
|
|
@@ -94,53 +94,53 @@ export type PTextareaProps = BaseProps & {
|
|
|
94
94
|
*/
|
|
95
95
|
value?: string;
|
|
96
96
|
/**
|
|
97
|
-
* Handles wrapping
|
|
97
|
+
* Handles wrapping behavior of elements.
|
|
98
98
|
*/
|
|
99
99
|
wrap?: TextareaWrap;
|
|
100
100
|
};
|
|
101
101
|
export declare const PTextarea: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
103
|
+
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
|
|
104
104
|
*/
|
|
105
|
-
autoComplete?:
|
|
105
|
+
autoComplete?: string;
|
|
106
106
|
/**
|
|
107
107
|
* Show or hide the character counter.
|
|
108
108
|
*/
|
|
109
109
|
counter?: boolean;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Supplementary text providing more context or explanation for the textarea.
|
|
112
112
|
*/
|
|
113
113
|
description?: string;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* A boolean value that, if present, makes the textarea unusable and unclickable. The value will not be submitted with the form.
|
|
116
116
|
*/
|
|
117
117
|
disabled?: boolean;
|
|
118
118
|
/**
|
|
119
|
-
*
|
|
119
|
+
* Specifies the id of the <form> element that the textarea belongs to (useful if the textarea is not a direct descendant of the form).
|
|
120
120
|
*/
|
|
121
121
|
form?: string;
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
123
|
+
* Controls the visibility of the label.
|
|
124
124
|
*/
|
|
125
125
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
126
126
|
/**
|
|
127
|
-
*
|
|
127
|
+
* Text content for a user-facing label.
|
|
128
128
|
*/
|
|
129
129
|
label?: string;
|
|
130
130
|
/**
|
|
131
|
-
*
|
|
131
|
+
* A non-negative integer specifying the maximum number of characters the user can enter into the textarea.
|
|
132
132
|
*/
|
|
133
133
|
maxLength?: number;
|
|
134
134
|
/**
|
|
135
|
-
*
|
|
135
|
+
* Dynamic feedback text for validation or status.
|
|
136
136
|
*/
|
|
137
137
|
message?: string;
|
|
138
138
|
/**
|
|
139
|
-
*
|
|
139
|
+
* A non-negative integer specifying the minimum number of characters required for the textarea's value to be considered valid.
|
|
140
140
|
*/
|
|
141
141
|
minLength?: number;
|
|
142
142
|
/**
|
|
143
|
-
* The name of the textarea.
|
|
143
|
+
* The name of the textarea, used when submitting the form data.
|
|
144
144
|
*/
|
|
145
145
|
name: string;
|
|
146
146
|
/**
|
|
@@ -156,15 +156,15 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<import
|
|
|
156
156
|
*/
|
|
157
157
|
onInput?: (event: CustomEvent<TextareaInputEventDetail>) => void;
|
|
158
158
|
/**
|
|
159
|
-
*
|
|
159
|
+
* 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.
|
|
160
160
|
*/
|
|
161
161
|
placeholder?: string;
|
|
162
162
|
/**
|
|
163
|
-
*
|
|
163
|
+
* A boolean value that, if present, makes the textarea uneditable by the user, but its value will still be submitted with the form.
|
|
164
164
|
*/
|
|
165
165
|
readOnly?: boolean;
|
|
166
166
|
/**
|
|
167
|
-
*
|
|
167
|
+
* A boolean value that, if present, indicates that the textarea must be filled out before the form can be submitted.
|
|
168
168
|
*/
|
|
169
169
|
required?: boolean;
|
|
170
170
|
/**
|
|
@@ -176,15 +176,15 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<import
|
|
|
176
176
|
*/
|
|
177
177
|
rows?: number;
|
|
178
178
|
/**
|
|
179
|
-
* Specifies whether the
|
|
179
|
+
* Specifies whether the textarea should have its spelling and grammar checked
|
|
180
180
|
*/
|
|
181
181
|
spellCheck?: boolean;
|
|
182
182
|
/**
|
|
183
|
-
*
|
|
183
|
+
* Indicates the validation or overall status of the textarea component.
|
|
184
184
|
*/
|
|
185
185
|
state?: TextareaState;
|
|
186
186
|
/**
|
|
187
|
-
*
|
|
187
|
+
* Controls the visual appearance of the component.
|
|
188
188
|
*/
|
|
189
189
|
theme?: Theme;
|
|
190
190
|
/**
|
|
@@ -192,7 +192,7 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<import
|
|
|
192
192
|
*/
|
|
193
193
|
value?: string;
|
|
194
194
|
/**
|
|
195
|
-
* Handles wrapping
|
|
195
|
+
* Handles wrapping behavior of elements.
|
|
196
196
|
*/
|
|
197
197
|
wrap?: TextareaWrap;
|
|
198
198
|
} & {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Component } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
4
|
+
* @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
5
|
+
* @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
|
|
6
|
+
* @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
|
|
7
|
+
* @slot {"name": "end", "description": "Shows content at the end of the input (e.g. toggle button, unit suffix)."}
|
|
8
|
+
*/
|
|
9
|
+
export declare class DSRInputEmail extends Component<any> {
|
|
10
|
+
host: HTMLElement;
|
|
11
|
+
private internals;
|
|
12
|
+
private initialLoading;
|
|
13
|
+
private inputElement;
|
|
14
|
+
private defaultValue;
|
|
15
|
+
formResetCallback(): void;
|
|
16
|
+
formDisabledCallback(): void;
|
|
17
|
+
formStateRestoreCallback(): void;
|
|
18
|
+
render(): JSX.Element;
|
|
19
|
+
}
|
package/ssr/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",
|
package/partials/index.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var partials = require('@porsche-design-system/components-js/partials');
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Object.keys(partials).forEach(function (k) {
|
|
8
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return partials[k]; }
|
|
11
|
-
});
|
|
12
|
-
});
|
|
File without changes
|
|
File without changes
|