@porsche-design-system/components-react 3.29.0-rc.2 → 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.
Files changed (65) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/bin/patchRemixRunProcessBrowserGlobalIdentifier.js +0 -0
  3. package/cjs/lib/components/input-email.wrapper.cjs +29 -0
  4. package/cjs/public-api.cjs +2 -0
  5. package/esm/lib/components/index.d.ts +1 -0
  6. package/esm/lib/components/input-email.wrapper.d.ts +200 -0
  7. package/esm/lib/components/input-email.wrapper.mjs +27 -0
  8. package/esm/lib/components/input-number.wrapper.d.ts +31 -31
  9. package/esm/lib/components/input-password.wrapper.d.ts +35 -35
  10. package/esm/lib/components/input-search.wrapper.d.ts +31 -31
  11. package/esm/lib/components/input-text.wrapper.d.ts +35 -35
  12. package/esm/lib/components/textarea.wrapper.d.ts +37 -37
  13. package/esm/lib/types.d.ts +4 -27
  14. package/esm/public-api.mjs +1 -0
  15. package/package.json +2 -2
  16. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +77 -56
  17. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-email.wrapper.cjs +40 -0
  18. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +2 -2
  19. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.cjs +43 -0
  20. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.cjs +1 -2
  21. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +2 -0
  22. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +49 -29
  23. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-email.wrapper.mjs +38 -0
  24. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -2
  25. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +2 -2
  26. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
  27. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +2 -2
  28. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +2 -2
  29. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +2 -2
  30. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +2 -2
  31. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
  32. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +2 -2
  33. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +2 -2
  34. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
  35. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +2 -2
  36. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
  37. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
  38. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
  39. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-link.mjs +2 -2
  40. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.mjs +2 -2
  41. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +2 -2
  42. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +2 -2
  43. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
  44. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
  45. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +2 -2
  46. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
  47. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +2 -2
  48. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
  49. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
  50. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +2 -2
  51. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +2 -2
  52. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +2 -2
  53. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +41 -0
  54. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +1 -2
  55. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +1 -0
  56. package/ssr/esm/lib/components/index.d.ts +1 -0
  57. package/ssr/esm/lib/components/input-email.wrapper.d.ts +200 -0
  58. package/ssr/esm/lib/components/input-number.wrapper.d.ts +31 -31
  59. package/ssr/esm/lib/components/input-password.wrapper.d.ts +35 -35
  60. package/ssr/esm/lib/components/input-search.wrapper.d.ts +31 -31
  61. package/ssr/esm/lib/components/input-text.wrapper.d.ts +35 -35
  62. package/ssr/esm/lib/components/textarea.wrapper.d.ts +37 -37
  63. package/ssr/esm/lib/dsr-components/input-base.d.ts +2 -0
  64. package/ssr/esm/lib/dsr-components/input-email.d.ts +19 -0
  65. package/ssr/esm/lib/types.d.ts +4 -27
@@ -1,32 +1,32 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { InputSearchAutoComplete, BreakpointCustomizable, InputSearchBlurEventDetail, InputSearchChangeEventDetail, InputSearchInputEventDetail, InputSearchState, Theme } from '../types';
2
+ import type { BreakpointCustomizable, InputSearchBlurEventDetail, InputSearchChangeEventDetail, InputSearchInputEventDetail, InputSearchState, Theme } from '../types';
3
3
  export type PInputSearchProps = BaseProps & {
4
4
  /**
5
- * Specifies whether the input can be autofilled by the browser
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?: InputSearchAutoComplete;
7
+ autoComplete?: string;
8
8
  /**
9
9
  * Show clear input value button
10
10
  */
11
11
  clear?: boolean;
12
12
  /**
13
- * Displays as a compact version.
13
+ * A boolean value that, if present, renders the input field as a compact version.
14
14
  */
15
15
  compact?: boolean;
16
16
  /**
17
- * The description text.
17
+ * Supplementary text providing more context or explanation for the input.
18
18
  */
19
19
  description?: string;
20
20
  /**
21
- * Marks the search input as disabled.
21
+ * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
22
22
  */
23
23
  disabled?: boolean;
24
24
  /**
25
- * The id of a form element the search input should be associated with.
25
+ * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
26
26
  */
27
27
  form?: string;
28
28
  /**
29
- * Show or hide label and description text. For better accessibility it is recommended to show the label.
29
+ * Controls the visibility of the label.
30
30
  */
31
31
  hideLabel?: BreakpointCustomizable<boolean>;
32
32
  /**
@@ -34,7 +34,7 @@ export type PInputSearchProps = BaseProps & {
34
34
  */
35
35
  indicator?: boolean;
36
36
  /**
37
- * The label text.
37
+ * Text content for a user-facing label.
38
38
  */
39
39
  label?: string;
40
40
  /**
@@ -42,11 +42,11 @@ export type PInputSearchProps = BaseProps & {
42
42
  */
43
43
  loading?: boolean;
44
44
  /**
45
- * The message styled depending on validation state.
45
+ * Dynamic feedback text for validation or status.
46
46
  */
47
47
  message?: string;
48
48
  /**
49
- * The name of the search input.
49
+ * The name of the input field, used when submitting the form data.
50
50
  */
51
51
  name: string;
52
52
  /**
@@ -62,23 +62,23 @@ export type PInputSearchProps = BaseProps & {
62
62
  */
63
63
  onInput?: (event: CustomEvent<InputSearchInputEventDetail>) => void;
64
64
  /**
65
- * The placeholder text.
65
+ * A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Search...'). This text is displayed when the input field is empty.
66
66
  */
67
67
  placeholder?: string;
68
68
  /**
69
- * Specifies whether the search input should be read-only.
69
+ * A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
70
70
  */
71
71
  readOnly?: boolean;
72
72
  /**
73
- * Marks the search input as required.
73
+ * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
74
74
  */
75
75
  required?: boolean;
76
76
  /**
77
- * The validation state.
77
+ * Indicates the validation or overall status of the input component.
78
78
  */
79
79
  state?: InputSearchState;
80
80
  /**
81
- * Adapts the color depending on the theme.
81
+ * Controls the visual appearance of the component.
82
82
  */
83
83
  theme?: Theme;
84
84
  /**
@@ -88,31 +88,31 @@ export type PInputSearchProps = BaseProps & {
88
88
  };
89
89
  export declare const PInputSearch: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
90
90
  /**
91
- * Specifies whether the input can be autofilled by the browser
91
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
92
92
  */
93
- autoComplete?: InputSearchAutoComplete;
93
+ autoComplete?: string;
94
94
  /**
95
95
  * Show clear input value button
96
96
  */
97
97
  clear?: boolean;
98
98
  /**
99
- * Displays as a compact version.
99
+ * A boolean value that, if present, renders the input field as a compact version.
100
100
  */
101
101
  compact?: boolean;
102
102
  /**
103
- * The description text.
103
+ * Supplementary text providing more context or explanation for the input.
104
104
  */
105
105
  description?: string;
106
106
  /**
107
- * Marks the search input as disabled.
107
+ * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
108
108
  */
109
109
  disabled?: boolean;
110
110
  /**
111
- * The id of a form element the search input should be associated with.
111
+ * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
112
112
  */
113
113
  form?: string;
114
114
  /**
115
- * Show or hide label and description text. For better accessibility it is recommended to show the label.
115
+ * Controls the visibility of the label.
116
116
  */
117
117
  hideLabel?: BreakpointCustomizable<boolean>;
118
118
  /**
@@ -120,7 +120,7 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<imp
120
120
  */
121
121
  indicator?: boolean;
122
122
  /**
123
- * The label text.
123
+ * Text content for a user-facing label.
124
124
  */
125
125
  label?: string;
126
126
  /**
@@ -128,11 +128,11 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<imp
128
128
  */
129
129
  loading?: boolean;
130
130
  /**
131
- * The message styled depending on validation state.
131
+ * Dynamic feedback text for validation or status.
132
132
  */
133
133
  message?: string;
134
134
  /**
135
- * The name of the search input.
135
+ * The name of the input field, used when submitting the form data.
136
136
  */
137
137
  name: string;
138
138
  /**
@@ -148,23 +148,23 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<imp
148
148
  */
149
149
  onInput?: (event: CustomEvent<InputSearchInputEventDetail>) => void;
150
150
  /**
151
- * The placeholder text.
151
+ * A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Search...'). This text is displayed when the input field is empty.
152
152
  */
153
153
  placeholder?: string;
154
154
  /**
155
- * Specifies whether the search input should be read-only.
155
+ * A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
156
156
  */
157
157
  readOnly?: boolean;
158
158
  /**
159
- * Marks the search input as required.
159
+ * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
160
160
  */
161
161
  required?: boolean;
162
162
  /**
163
- * The validation state.
163
+ * Indicates the validation or overall status of the input component.
164
164
  */
165
165
  state?: InputSearchState;
166
166
  /**
167
- * Adapts the color depending on the theme.
167
+ * Controls the visual appearance of the component.
168
168
  */
169
169
  theme?: Theme;
170
170
  /**
@@ -1,12 +1,12 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { InputTextAutoComplete, BreakpointCustomizable, InputTextBlurEventDetail, InputTextChangeEventDetail, InputTextInputEventDetail, InputTextState, Theme } from '../types';
2
+ import type { BreakpointCustomizable, InputTextBlurEventDetail, InputTextChangeEventDetail, InputTextInputEventDetail, InputTextState, Theme } from '../types';
3
3
  export type PInputTextProps = BaseProps & {
4
4
  /**
5
- * Specifies whether the input can be autofilled by the browser
5
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='name').
6
6
  */
7
- autoComplete?: InputTextAutoComplete;
7
+ autoComplete?: string;
8
8
  /**
9
- * Displays as a compact version.
9
+ * A boolean value that, if present, renders the input field as a compact version.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -14,23 +14,23 @@ export type PInputTextProps = BaseProps & {
14
14
  */
15
15
  counter?: boolean;
16
16
  /**
17
- * The description text.
17
+ * Supplementary text providing more context or explanation for the input.
18
18
  */
19
19
  description?: string;
20
20
  /**
21
- * Marks the text input as disabled.
21
+ * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
22
22
  */
23
23
  disabled?: boolean;
24
24
  /**
25
- * The id of a form element the text input should be associated with.
25
+ * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
26
26
  */
27
27
  form?: string;
28
28
  /**
29
- * Show or hide label and description text. For better accessibility, it is recommended to show the label.
29
+ * Controls the visibility of the label.
30
30
  */
31
31
  hideLabel?: BreakpointCustomizable<boolean>;
32
32
  /**
33
- * The label text.
33
+ * Text content for a user-facing label.
34
34
  */
35
35
  label?: string;
36
36
  /**
@@ -38,19 +38,19 @@ export type PInputTextProps = BaseProps & {
38
38
  */
39
39
  loading?: boolean;
40
40
  /**
41
- * The max length of the text input.
41
+ * A non-negative integer specifying the maximum number of characters the user can enter into the input.
42
42
  */
43
43
  maxLength?: number;
44
44
  /**
45
- * The message styled depending on validation state.
45
+ * Dynamic feedback text for validation or status.
46
46
  */
47
47
  message?: string;
48
48
  /**
49
- * The min length of the text input.
49
+ * A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
50
50
  */
51
51
  minLength?: number;
52
52
  /**
53
- * The name of the text input.
53
+ * The name of the input field, used when submitting the form data.
54
54
  */
55
55
  name: string;
56
56
  /**
@@ -66,15 +66,15 @@ export type PInputTextProps = BaseProps & {
66
66
  */
67
67
  onInput?: (event: CustomEvent<InputTextInputEventDetail>) => void;
68
68
  /**
69
- * The placeholder text.
69
+ * A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Enter your full name'). This text is displayed when the input field is empty.
70
70
  */
71
71
  placeholder?: string;
72
72
  /**
73
- * Specifies whether the text input should be read-only.
73
+ * A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
74
74
  */
75
75
  readOnly?: boolean;
76
76
  /**
77
- * Marks the text input as required.
77
+ * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
78
78
  */
79
79
  required?: boolean;
80
80
  /**
@@ -82,11 +82,11 @@ export type PInputTextProps = BaseProps & {
82
82
  */
83
83
  spellCheck?: boolean;
84
84
  /**
85
- * The validation state.
85
+ * Indicates the validation or overall status of the input component.
86
86
  */
87
87
  state?: InputTextState;
88
88
  /**
89
- * Adapts the color depending on the theme.
89
+ * Controls the visual appearance of the component.
90
90
  */
91
91
  theme?: Theme;
92
92
  /**
@@ -96,11 +96,11 @@ export type PInputTextProps = BaseProps & {
96
96
  };
97
97
  export declare const PInputText: import("react").ForwardRefExoticComponent<import("react").DOMAttributes<{}> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
98
98
  /**
99
- * Specifies whether the input can be autofilled by the browser
99
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='name').
100
100
  */
101
- autoComplete?: InputTextAutoComplete;
101
+ autoComplete?: string;
102
102
  /**
103
- * Displays as a compact version.
103
+ * A boolean value that, if present, renders the input field as a compact version.
104
104
  */
105
105
  compact?: boolean;
106
106
  /**
@@ -108,23 +108,23 @@ export declare const PInputText: import("react").ForwardRefExoticComponent<impor
108
108
  */
109
109
  counter?: boolean;
110
110
  /**
111
- * The description text.
111
+ * Supplementary text providing more context or explanation for the input.
112
112
  */
113
113
  description?: string;
114
114
  /**
115
- * Marks the text input as disabled.
115
+ * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
116
116
  */
117
117
  disabled?: boolean;
118
118
  /**
119
- * The id of a form element the text input should be associated with.
119
+ * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
120
120
  */
121
121
  form?: string;
122
122
  /**
123
- * Show or hide label and description text. For better accessibility, it is recommended to show the label.
123
+ * Controls the visibility of the label.
124
124
  */
125
125
  hideLabel?: BreakpointCustomizable<boolean>;
126
126
  /**
127
- * The label text.
127
+ * Text content for a user-facing label.
128
128
  */
129
129
  label?: string;
130
130
  /**
@@ -132,19 +132,19 @@ export declare const PInputText: import("react").ForwardRefExoticComponent<impor
132
132
  */
133
133
  loading?: boolean;
134
134
  /**
135
- * The max length of the text input.
135
+ * A non-negative integer specifying the maximum number of characters the user can enter into the input.
136
136
  */
137
137
  maxLength?: number;
138
138
  /**
139
- * The message styled depending on validation state.
139
+ * Dynamic feedback text for validation or status.
140
140
  */
141
141
  message?: string;
142
142
  /**
143
- * The min length of the text input.
143
+ * A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
144
144
  */
145
145
  minLength?: number;
146
146
  /**
147
- * The name of the text input.
147
+ * The name of the input field, used when submitting the form data.
148
148
  */
149
149
  name: string;
150
150
  /**
@@ -160,15 +160,15 @@ export declare const PInputText: import("react").ForwardRefExoticComponent<impor
160
160
  */
161
161
  onInput?: (event: CustomEvent<InputTextInputEventDetail>) => void;
162
162
  /**
163
- * The placeholder text.
163
+ * A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Enter your full name'). This text is displayed when the input field is empty.
164
164
  */
165
165
  placeholder?: string;
166
166
  /**
167
- * Specifies whether the text input should be read-only.
167
+ * A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
168
168
  */
169
169
  readOnly?: boolean;
170
170
  /**
171
- * Marks the text input as required.
171
+ * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
172
172
  */
173
173
  required?: boolean;
174
174
  /**
@@ -176,11 +176,11 @@ export declare const PInputText: import("react").ForwardRefExoticComponent<impor
176
176
  */
177
177
  spellCheck?: boolean;
178
178
  /**
179
- * The validation state.
179
+ * Indicates the validation or overall status of the input component.
180
180
  */
181
181
  state?: InputTextState;
182
182
  /**
183
- * Adapts the color depending on the theme.
183
+ * Controls the visual appearance of the component.
184
184
  */
185
185
  theme?: Theme;
186
186
  /**
@@ -1,48 +1,48 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { TextareaAutoComplete, BreakpointCustomizable, TextareaBlurEventDetail, TextareaChangeEventDetail, TextareaInputEventDetail, TextareaResize, TextareaState, Theme, TextareaWrap } from '../types';
2
+ import type { BreakpointCustomizable, TextareaBlurEventDetail, TextareaChangeEventDetail, TextareaInputEventDetail, TextareaResize, TextareaState, Theme, TextareaWrap } from '../types';
3
3
  export type PTextareaProps = BaseProps & {
4
4
  /**
5
- * Specifies whether the input can be autofilled by the browser
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?: TextareaAutoComplete;
7
+ autoComplete?: string;
8
8
  /**
9
9
  * Show or hide the character counter.
10
10
  */
11
11
  counter?: boolean;
12
12
  /**
13
- * The description text.
13
+ * Supplementary text providing more context or explanation for the textarea.
14
14
  */
15
15
  description?: string;
16
16
  /**
17
- * Marks the textarea as disabled.
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
- * The id of a form element the textarea should be associated with.
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
- * Show or hide label. For better accessibility, it is recommended to show the label.
25
+ * Controls the visibility of the label.
26
26
  */
27
27
  hideLabel?: BreakpointCustomizable<boolean>;
28
28
  /**
29
- * The label text.
29
+ * Text content for a user-facing label.
30
30
  */
31
31
  label?: string;
32
32
  /**
33
- * The max length of the textarea.
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
- * The message styled depending on validation state.
37
+ * Dynamic feedback text for validation or status.
38
38
  */
39
39
  message?: string;
40
40
  /**
41
- * The min length of the textarea.
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
- * The placeholder text.
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
- * Specifies whether the textarea should be read-only.
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
- * Marks the textarea as required.
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 input should have its spelling and grammar checked
81
+ * Specifies whether the textarea should have its spelling and grammar checked
82
82
  */
83
83
  spellCheck?: boolean;
84
84
  /**
85
- * The validation state.
85
+ * Indicates the validation or overall status of the textarea component.
86
86
  */
87
87
  state?: TextareaState;
88
88
  /**
89
- * Adapts the color depending on the theme.
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 behaviour of elements.
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
- * Specifies whether the input can be autofilled by the browser
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?: TextareaAutoComplete;
105
+ autoComplete?: string;
106
106
  /**
107
107
  * Show or hide the character counter.
108
108
  */
109
109
  counter?: boolean;
110
110
  /**
111
- * The description text.
111
+ * Supplementary text providing more context or explanation for the textarea.
112
112
  */
113
113
  description?: string;
114
114
  /**
115
- * Marks the textarea as disabled.
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
- * The id of a form element the textarea should be associated with.
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
- * Show or hide label. For better accessibility, it is recommended to show the label.
123
+ * Controls the visibility of the label.
124
124
  */
125
125
  hideLabel?: BreakpointCustomizable<boolean>;
126
126
  /**
127
- * The label text.
127
+ * Text content for a user-facing label.
128
128
  */
129
129
  label?: string;
130
130
  /**
131
- * The max length of the textarea.
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
- * The message styled depending on validation state.
135
+ * Dynamic feedback text for validation or status.
136
136
  */
137
137
  message?: string;
138
138
  /**
139
- * The min length of the textarea.
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
- * The placeholder text.
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
- * Specifies whether the textarea should be read-only.
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
- * Marks the textarea as required.
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 input should have its spelling and grammar checked
179
+ * Specifies whether the textarea should have its spelling and grammar checked
180
180
  */
181
181
  spellCheck?: boolean;
182
182
  /**
183
- * The validation state.
183
+ * Indicates the validation or overall status of the textarea component.
184
184
  */
185
185
  state?: TextareaState;
186
186
  /**
187
- * Adapts the color depending on the theme.
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 behaviour of elements.
195
+ * Handles wrapping behavior of elements.
196
196
  */
197
197
  wrap?: TextareaWrap;
198
198
  } & {
@@ -22,6 +22,8 @@ type InputBaseProps = {
22
22
  max?: number;
23
23
  min?: number;
24
24
  autoComplete?: string;
25
+ pattern?: string;
26
+ multiple?: boolean;
25
27
  type: string;
26
28
  value?: string;
27
29
  step?: number;
@@ -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
+ }