@porsche-design-system/components-react 4.0.0-beta.4 → 4.0.0-rc.1
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 +72 -4
- package/cjs/lib/components/banner.wrapper.cjs +3 -3
- package/esm/lib/components/accordion.wrapper.d.ts +8 -0
- package/esm/lib/components/banner.wrapper.d.ts +37 -15
- package/esm/lib/components/banner.wrapper.mjs +3 -3
- package/esm/lib/components/button-pure.wrapper.d.ts +22 -0
- package/esm/lib/components/button-tile.wrapper.d.ts +20 -0
- package/esm/lib/components/button.wrapper.d.ts +14 -0
- package/esm/lib/components/canvas.wrapper.d.ts +6 -0
- package/esm/lib/components/carousel.wrapper.d.ts +22 -0
- package/esm/lib/components/checkbox.wrapper.d.ts +24 -0
- package/esm/lib/components/crest.wrapper.d.ts +2 -0
- package/esm/lib/components/display.wrapper.d.ts +8 -0
- package/esm/lib/components/divider.wrapper.d.ts +4 -0
- package/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
- package/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
- package/esm/lib/components/drilldown.wrapper.d.ts +2 -0
- package/esm/lib/components/fieldset.wrapper.d.ts +10 -0
- package/esm/lib/components/flag.wrapper.d.ts +4 -0
- package/esm/lib/components/flyout.wrapper.d.ts +12 -0
- package/esm/lib/components/heading.wrapper.d.ts +12 -0
- package/esm/lib/components/icon.wrapper.d.ts +6 -0
- package/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
- package/esm/lib/components/input-date.wrapper.d.ts +24 -0
- package/esm/lib/components/input-email.wrapper.d.ts +28 -0
- package/esm/lib/components/input-month.wrapper.d.ts +24 -0
- package/esm/lib/components/input-number.wrapper.d.ts +28 -0
- package/esm/lib/components/input-password.wrapper.d.ts +26 -0
- package/esm/lib/components/input-search.wrapper.d.ts +28 -0
- package/esm/lib/components/input-tel.wrapper.d.ts +26 -0
- package/esm/lib/components/input-text.wrapper.d.ts +26 -0
- package/esm/lib/components/input-time.wrapper.d.ts +24 -0
- package/esm/lib/components/input-url.wrapper.d.ts +26 -0
- package/esm/lib/components/input-week.wrapper.d.ts +24 -0
- package/esm/lib/components/link-pure.wrapper.d.ts +18 -0
- package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
- package/esm/lib/components/link-tile.wrapper.d.ts +14 -0
- package/esm/lib/components/link.wrapper.d.ts +10 -0
- package/esm/lib/components/modal.wrapper.d.ts +12 -0
- package/esm/lib/components/model-signature.wrapper.d.ts +12 -0
- package/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
- package/esm/lib/components/multi-select.wrapper.d.ts +20 -0
- package/esm/lib/components/optgroup.wrapper.d.ts +2 -0
- package/esm/lib/components/pagination.wrapper.d.ts +10 -0
- package/esm/lib/components/pin-code.wrapper.d.ts +24 -0
- package/esm/lib/components/popover.wrapper.d.ts +2 -0
- package/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
- package/esm/lib/components/radio-group.wrapper.d.ts +22 -0
- package/esm/lib/components/scroller.wrapper.d.ts +6 -0
- package/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
- package/esm/lib/components/segmented-control.wrapper.d.ts +18 -0
- package/esm/lib/components/select-option.wrapper.d.ts +2 -0
- package/esm/lib/components/select.wrapper.d.ts +20 -0
- package/esm/lib/components/sheet.wrapper.d.ts +8 -0
- package/esm/lib/components/spinner.wrapper.d.ts +4 -0
- package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
- package/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
- package/esm/lib/components/switch.wrapper.d.ts +14 -0
- package/esm/lib/components/table-cell.wrapper.d.ts +2 -0
- package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
- package/esm/lib/components/table.wrapper.d.ts +6 -0
- package/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
- package/esm/lib/components/tabs.wrapper.d.ts +8 -0
- package/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
- package/esm/lib/components/tag.wrapper.d.ts +6 -0
- package/esm/lib/components/text-list.wrapper.d.ts +2 -0
- package/esm/lib/components/text.wrapper.d.ts +14 -0
- package/esm/lib/components/textarea.wrapper.d.ts +30 -0
- package/esm/lib/components/wordmark.wrapper.d.ts +4 -0
- package/esm/lib/types.d.ts +5 -0
- package/global-styles/cn/index.css +1 -0
- package/global-styles/index.css +1 -0
- package/global-styles/variables.css +1 -0
- package/package.json +4 -2
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +723 -775
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +16 -77
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.cjs +4 -5
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +11 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +4 -6
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.cjs +1 -4
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +723 -775
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +15 -76
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/banner.wrapper.mjs +4 -5
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +11 -6
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +5 -7
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/state-message.mjs +2 -5
- package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/banner.wrapper.d.ts +37 -15
- package/ssr/esm/lib/components/button-pure.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/button-tile.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/button.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/canvas.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/carousel.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/checkbox.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/crest.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/display.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/fieldset.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/flag.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/heading.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/icon.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/input-date.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-email.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-month.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-password.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-search.wrapper.d.ts +28 -0
- package/ssr/esm/lib/components/input-tel.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-time.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/input-url.wrapper.d.ts +26 -0
- package/ssr/esm/lib/components/input-week.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/link-pure.wrapper.d.ts +18 -0
- package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/link-tile.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/link.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/modal.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -0
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/multi-select.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/optgroup.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/pagination.wrapper.d.ts +10 -0
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +24 -0
- package/ssr/esm/lib/components/popover.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +22 -0
- package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +18 -0
- package/ssr/esm/lib/components/select-option.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/select.wrapper.d.ts +20 -0
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/spinner.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/switch.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -0
- package/ssr/esm/lib/components/table.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/tabs.wrapper.d.ts +8 -0
- package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/tag.wrapper.d.ts +6 -0
- package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -0
- package/ssr/esm/lib/components/text.wrapper.d.ts +14 -0
- package/ssr/esm/lib/components/textarea.wrapper.d.ts +30 -0
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +4 -0
- package/ssr/esm/lib/dsr-components/banner.d.ts +2 -2
- package/ssr/esm/lib/types.d.ts +5 -0
- package/tailwindcss/index.css +73 -14
|
@@ -7,18 +7,22 @@ export type PInputNumberProps = BaseProps & {
|
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Displays the input field in compact mode.
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
compact?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Show or hide the increment/decrement stepper controls.
|
|
15
|
+
* @default false
|
|
14
16
|
*/
|
|
15
17
|
controls?: boolean;
|
|
16
18
|
/**
|
|
17
19
|
* Supplementary text providing more context or explanation for the input.
|
|
20
|
+
* @default ''
|
|
18
21
|
*/
|
|
19
22
|
description?: string;
|
|
20
23
|
/**
|
|
21
24
|
* Disables the input field. The value will not be submitted with the form.
|
|
25
|
+
* @default false
|
|
22
26
|
*/
|
|
23
27
|
disabled?: boolean;
|
|
24
28
|
/**
|
|
@@ -27,14 +31,17 @@ export type PInputNumberProps = BaseProps & {
|
|
|
27
31
|
form?: string;
|
|
28
32
|
/**
|
|
29
33
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
34
|
+
* @default false
|
|
30
35
|
*/
|
|
31
36
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
32
37
|
/**
|
|
33
38
|
* Text content for a user-facing label.
|
|
39
|
+
* @default ''
|
|
34
40
|
*/
|
|
35
41
|
label?: string;
|
|
36
42
|
/**
|
|
37
43
|
* @experimental Shows a loading indicator.
|
|
44
|
+
* @default false
|
|
38
45
|
*/
|
|
39
46
|
loading?: boolean;
|
|
40
47
|
/**
|
|
@@ -43,6 +50,7 @@ export type PInputNumberProps = BaseProps & {
|
|
|
43
50
|
max?: number;
|
|
44
51
|
/**
|
|
45
52
|
* Dynamic feedback text for validation or status.
|
|
53
|
+
* @default ''
|
|
46
54
|
*/
|
|
47
55
|
message?: string;
|
|
48
56
|
/**
|
|
@@ -67,26 +75,32 @@ export type PInputNumberProps = BaseProps & {
|
|
|
67
75
|
onInput?: (event: CustomEvent<InputNumberInputEventDetail>) => void;
|
|
68
76
|
/**
|
|
69
77
|
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Enter a number'). This text is displayed when the input field is empty.
|
|
78
|
+
* @default ''
|
|
70
79
|
*/
|
|
71
80
|
placeholder?: string;
|
|
72
81
|
/**
|
|
73
82
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
83
|
+
* @default false
|
|
74
84
|
*/
|
|
75
85
|
readOnly?: boolean;
|
|
76
86
|
/**
|
|
77
87
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
88
|
+
* @default false
|
|
78
89
|
*/
|
|
79
90
|
required?: boolean;
|
|
80
91
|
/**
|
|
81
92
|
* Indicates the validation or overall status of the input component.
|
|
93
|
+
* @default 'none'
|
|
82
94
|
*/
|
|
83
95
|
state?: InputNumberState;
|
|
84
96
|
/**
|
|
85
97
|
* The granularity that the value must adhere to.
|
|
98
|
+
* @default 1
|
|
86
99
|
*/
|
|
87
100
|
step?: number;
|
|
88
101
|
/**
|
|
89
102
|
* The value of the number input.
|
|
103
|
+
* @default ''
|
|
90
104
|
*/
|
|
91
105
|
value?: string;
|
|
92
106
|
};
|
|
@@ -97,18 +111,22 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
|
|
|
97
111
|
autoComplete?: string;
|
|
98
112
|
/**
|
|
99
113
|
* Displays the input field in compact mode.
|
|
114
|
+
* @default false
|
|
100
115
|
*/
|
|
101
116
|
compact?: boolean;
|
|
102
117
|
/**
|
|
103
118
|
* Show or hide the increment/decrement stepper controls.
|
|
119
|
+
* @default false
|
|
104
120
|
*/
|
|
105
121
|
controls?: boolean;
|
|
106
122
|
/**
|
|
107
123
|
* Supplementary text providing more context or explanation for the input.
|
|
124
|
+
* @default ''
|
|
108
125
|
*/
|
|
109
126
|
description?: string;
|
|
110
127
|
/**
|
|
111
128
|
* Disables the input field. The value will not be submitted with the form.
|
|
129
|
+
* @default false
|
|
112
130
|
*/
|
|
113
131
|
disabled?: boolean;
|
|
114
132
|
/**
|
|
@@ -117,14 +135,17 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
|
|
|
117
135
|
form?: string;
|
|
118
136
|
/**
|
|
119
137
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
138
|
+
* @default false
|
|
120
139
|
*/
|
|
121
140
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
122
141
|
/**
|
|
123
142
|
* Text content for a user-facing label.
|
|
143
|
+
* @default ''
|
|
124
144
|
*/
|
|
125
145
|
label?: string;
|
|
126
146
|
/**
|
|
127
147
|
* @experimental Shows a loading indicator.
|
|
148
|
+
* @default false
|
|
128
149
|
*/
|
|
129
150
|
loading?: boolean;
|
|
130
151
|
/**
|
|
@@ -133,6 +154,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
|
|
|
133
154
|
max?: number;
|
|
134
155
|
/**
|
|
135
156
|
* Dynamic feedback text for validation or status.
|
|
157
|
+
* @default ''
|
|
136
158
|
*/
|
|
137
159
|
message?: string;
|
|
138
160
|
/**
|
|
@@ -157,26 +179,32 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
|
|
|
157
179
|
onInput?: (event: CustomEvent<InputNumberInputEventDetail>) => void;
|
|
158
180
|
/**
|
|
159
181
|
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='Enter a number'). This text is displayed when the input field is empty.
|
|
182
|
+
* @default ''
|
|
160
183
|
*/
|
|
161
184
|
placeholder?: string;
|
|
162
185
|
/**
|
|
163
186
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
187
|
+
* @default false
|
|
164
188
|
*/
|
|
165
189
|
readOnly?: boolean;
|
|
166
190
|
/**
|
|
167
191
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
192
|
+
* @default false
|
|
168
193
|
*/
|
|
169
194
|
required?: boolean;
|
|
170
195
|
/**
|
|
171
196
|
* Indicates the validation or overall status of the input component.
|
|
197
|
+
* @default 'none'
|
|
172
198
|
*/
|
|
173
199
|
state?: InputNumberState;
|
|
174
200
|
/**
|
|
175
201
|
* The granularity that the value must adhere to.
|
|
202
|
+
* @default 1
|
|
176
203
|
*/
|
|
177
204
|
step?: number;
|
|
178
205
|
/**
|
|
179
206
|
* The value of the number input.
|
|
207
|
+
* @default ''
|
|
180
208
|
*/
|
|
181
209
|
value?: string;
|
|
182
210
|
} & {
|
|
@@ -7,14 +7,17 @@ export type PInputPasswordProps = BaseProps & {
|
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Displays the input field in compact mode.
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
compact?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Supplementary text providing more context or explanation for the input.
|
|
15
|
+
* @default ''
|
|
14
16
|
*/
|
|
15
17
|
description?: string;
|
|
16
18
|
/**
|
|
17
19
|
* Disables the input field. The value will not be submitted with the form.
|
|
20
|
+
* @default false
|
|
18
21
|
*/
|
|
19
22
|
disabled?: boolean;
|
|
20
23
|
/**
|
|
@@ -23,14 +26,17 @@ export type PInputPasswordProps = BaseProps & {
|
|
|
23
26
|
form?: string;
|
|
24
27
|
/**
|
|
25
28
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
29
|
+
* @default false
|
|
26
30
|
*/
|
|
27
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
32
|
/**
|
|
29
33
|
* Text content for a user-facing label.
|
|
34
|
+
* @default ''
|
|
30
35
|
*/
|
|
31
36
|
label?: string;
|
|
32
37
|
/**
|
|
33
38
|
* @experimental Shows a loading indicator.
|
|
39
|
+
* @default false
|
|
34
40
|
*/
|
|
35
41
|
loading?: boolean;
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export type PInputPasswordProps = BaseProps & {
|
|
|
39
45
|
maxLength?: number;
|
|
40
46
|
/**
|
|
41
47
|
* Dynamic feedback text for validation or status.
|
|
48
|
+
* @default ''
|
|
42
49
|
*/
|
|
43
50
|
message?: string;
|
|
44
51
|
/**
|
|
@@ -63,26 +70,32 @@ export type PInputPasswordProps = BaseProps & {
|
|
|
63
70
|
onInput?: (event: CustomEvent<InputPasswordInputEventDetail>) => void;
|
|
64
71
|
/**
|
|
65
72
|
* 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 password'). This text is displayed when the input field is empty.
|
|
73
|
+
* @default ''
|
|
66
74
|
*/
|
|
67
75
|
placeholder?: string;
|
|
68
76
|
/**
|
|
69
77
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
78
|
+
* @default false
|
|
70
79
|
*/
|
|
71
80
|
readOnly?: boolean;
|
|
72
81
|
/**
|
|
73
82
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
83
|
+
* @default false
|
|
74
84
|
*/
|
|
75
85
|
required?: boolean;
|
|
76
86
|
/**
|
|
77
87
|
* Indicates the validation or overall status of the input component.
|
|
88
|
+
* @default 'none'
|
|
78
89
|
*/
|
|
79
90
|
state?: InputPasswordState;
|
|
80
91
|
/**
|
|
81
92
|
* Show or hide password toggle for `input type="password"`.
|
|
93
|
+
* @default false
|
|
82
94
|
*/
|
|
83
95
|
toggle?: boolean;
|
|
84
96
|
/**
|
|
85
97
|
* The password input value.
|
|
98
|
+
* @default ''
|
|
86
99
|
*/
|
|
87
100
|
value?: string;
|
|
88
101
|
};
|
|
@@ -93,14 +106,17 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
|
|
|
93
106
|
autoComplete?: string;
|
|
94
107
|
/**
|
|
95
108
|
* Displays the input field in compact mode.
|
|
109
|
+
* @default false
|
|
96
110
|
*/
|
|
97
111
|
compact?: boolean;
|
|
98
112
|
/**
|
|
99
113
|
* Supplementary text providing more context or explanation for the input.
|
|
114
|
+
* @default ''
|
|
100
115
|
*/
|
|
101
116
|
description?: string;
|
|
102
117
|
/**
|
|
103
118
|
* Disables the input field. The value will not be submitted with the form.
|
|
119
|
+
* @default false
|
|
104
120
|
*/
|
|
105
121
|
disabled?: boolean;
|
|
106
122
|
/**
|
|
@@ -109,14 +125,17 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
|
|
|
109
125
|
form?: string;
|
|
110
126
|
/**
|
|
111
127
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
128
|
+
* @default false
|
|
112
129
|
*/
|
|
113
130
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
114
131
|
/**
|
|
115
132
|
* Text content for a user-facing label.
|
|
133
|
+
* @default ''
|
|
116
134
|
*/
|
|
117
135
|
label?: string;
|
|
118
136
|
/**
|
|
119
137
|
* @experimental Shows a loading indicator.
|
|
138
|
+
* @default false
|
|
120
139
|
*/
|
|
121
140
|
loading?: boolean;
|
|
122
141
|
/**
|
|
@@ -125,6 +144,7 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
|
|
|
125
144
|
maxLength?: number;
|
|
126
145
|
/**
|
|
127
146
|
* Dynamic feedback text for validation or status.
|
|
147
|
+
* @default ''
|
|
128
148
|
*/
|
|
129
149
|
message?: string;
|
|
130
150
|
/**
|
|
@@ -149,26 +169,32 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
|
|
|
149
169
|
onInput?: (event: CustomEvent<InputPasswordInputEventDetail>) => void;
|
|
150
170
|
/**
|
|
151
171
|
* 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 password'). This text is displayed when the input field is empty.
|
|
172
|
+
* @default ''
|
|
152
173
|
*/
|
|
153
174
|
placeholder?: string;
|
|
154
175
|
/**
|
|
155
176
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
177
|
+
* @default false
|
|
156
178
|
*/
|
|
157
179
|
readOnly?: boolean;
|
|
158
180
|
/**
|
|
159
181
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
182
|
+
* @default false
|
|
160
183
|
*/
|
|
161
184
|
required?: boolean;
|
|
162
185
|
/**
|
|
163
186
|
* Indicates the validation or overall status of the input component.
|
|
187
|
+
* @default 'none'
|
|
164
188
|
*/
|
|
165
189
|
state?: InputPasswordState;
|
|
166
190
|
/**
|
|
167
191
|
* Show or hide password toggle for `input type="password"`.
|
|
192
|
+
* @default false
|
|
168
193
|
*/
|
|
169
194
|
toggle?: boolean;
|
|
170
195
|
/**
|
|
171
196
|
* The password input value.
|
|
197
|
+
* @default ''
|
|
172
198
|
*/
|
|
173
199
|
value?: string;
|
|
174
200
|
} & {
|
|
@@ -7,18 +7,22 @@ export type PInputSearchProps = BaseProps & {
|
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Show clear input value button
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
clear?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Displays the input field in compact mode.
|
|
15
|
+
* @default false
|
|
14
16
|
*/
|
|
15
17
|
compact?: boolean;
|
|
16
18
|
/**
|
|
17
19
|
* Supplementary text providing more context or explanation for the input.
|
|
20
|
+
* @default ''
|
|
18
21
|
*/
|
|
19
22
|
description?: string;
|
|
20
23
|
/**
|
|
21
24
|
* Disables the input field. The value will not be submitted with the form.
|
|
25
|
+
* @default false
|
|
22
26
|
*/
|
|
23
27
|
disabled?: boolean;
|
|
24
28
|
/**
|
|
@@ -27,18 +31,22 @@ export type PInputSearchProps = BaseProps & {
|
|
|
27
31
|
form?: string;
|
|
28
32
|
/**
|
|
29
33
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
34
|
+
* @default false
|
|
30
35
|
*/
|
|
31
36
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
32
37
|
/**
|
|
33
38
|
* Show search indicator icon
|
|
39
|
+
* @default false
|
|
34
40
|
*/
|
|
35
41
|
indicator?: boolean;
|
|
36
42
|
/**
|
|
37
43
|
* Text content for a user-facing label.
|
|
44
|
+
* @default ''
|
|
38
45
|
*/
|
|
39
46
|
label?: string;
|
|
40
47
|
/**
|
|
41
48
|
* @experimental Shows a loading indicator.
|
|
49
|
+
* @default false
|
|
42
50
|
*/
|
|
43
51
|
loading?: boolean;
|
|
44
52
|
/**
|
|
@@ -47,6 +55,7 @@ export type PInputSearchProps = BaseProps & {
|
|
|
47
55
|
maxLength?: number;
|
|
48
56
|
/**
|
|
49
57
|
* Dynamic feedback text for validation or status.
|
|
58
|
+
* @default ''
|
|
50
59
|
*/
|
|
51
60
|
message?: string;
|
|
52
61
|
/**
|
|
@@ -71,22 +80,27 @@ export type PInputSearchProps = BaseProps & {
|
|
|
71
80
|
onInput?: (event: CustomEvent<InputSearchInputEventDetail>) => void;
|
|
72
81
|
/**
|
|
73
82
|
* 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.
|
|
83
|
+
* @default ''
|
|
74
84
|
*/
|
|
75
85
|
placeholder?: string;
|
|
76
86
|
/**
|
|
77
87
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
88
|
+
* @default false
|
|
78
89
|
*/
|
|
79
90
|
readOnly?: boolean;
|
|
80
91
|
/**
|
|
81
92
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
93
|
+
* @default false
|
|
82
94
|
*/
|
|
83
95
|
required?: boolean;
|
|
84
96
|
/**
|
|
85
97
|
* Indicates the validation or overall status of the input component.
|
|
98
|
+
* @default 'none'
|
|
86
99
|
*/
|
|
87
100
|
state?: InputSearchState;
|
|
88
101
|
/**
|
|
89
102
|
* The search input value.
|
|
103
|
+
* @default ''
|
|
90
104
|
*/
|
|
91
105
|
value?: string;
|
|
92
106
|
};
|
|
@@ -97,18 +111,22 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
|
|
|
97
111
|
autoComplete?: string;
|
|
98
112
|
/**
|
|
99
113
|
* Show clear input value button
|
|
114
|
+
* @default false
|
|
100
115
|
*/
|
|
101
116
|
clear?: boolean;
|
|
102
117
|
/**
|
|
103
118
|
* Displays the input field in compact mode.
|
|
119
|
+
* @default false
|
|
104
120
|
*/
|
|
105
121
|
compact?: boolean;
|
|
106
122
|
/**
|
|
107
123
|
* Supplementary text providing more context or explanation for the input.
|
|
124
|
+
* @default ''
|
|
108
125
|
*/
|
|
109
126
|
description?: string;
|
|
110
127
|
/**
|
|
111
128
|
* Disables the input field. The value will not be submitted with the form.
|
|
129
|
+
* @default false
|
|
112
130
|
*/
|
|
113
131
|
disabled?: boolean;
|
|
114
132
|
/**
|
|
@@ -117,18 +135,22 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
|
|
|
117
135
|
form?: string;
|
|
118
136
|
/**
|
|
119
137
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
138
|
+
* @default false
|
|
120
139
|
*/
|
|
121
140
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
122
141
|
/**
|
|
123
142
|
* Show search indicator icon
|
|
143
|
+
* @default false
|
|
124
144
|
*/
|
|
125
145
|
indicator?: boolean;
|
|
126
146
|
/**
|
|
127
147
|
* Text content for a user-facing label.
|
|
148
|
+
* @default ''
|
|
128
149
|
*/
|
|
129
150
|
label?: string;
|
|
130
151
|
/**
|
|
131
152
|
* @experimental Shows a loading indicator.
|
|
153
|
+
* @default false
|
|
132
154
|
*/
|
|
133
155
|
loading?: boolean;
|
|
134
156
|
/**
|
|
@@ -137,6 +159,7 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
|
|
|
137
159
|
maxLength?: number;
|
|
138
160
|
/**
|
|
139
161
|
* Dynamic feedback text for validation or status.
|
|
162
|
+
* @default ''
|
|
140
163
|
*/
|
|
141
164
|
message?: string;
|
|
142
165
|
/**
|
|
@@ -161,22 +184,27 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
|
|
|
161
184
|
onInput?: (event: CustomEvent<InputSearchInputEventDetail>) => void;
|
|
162
185
|
/**
|
|
163
186
|
* 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.
|
|
187
|
+
* @default ''
|
|
164
188
|
*/
|
|
165
189
|
placeholder?: string;
|
|
166
190
|
/**
|
|
167
191
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
192
|
+
* @default false
|
|
168
193
|
*/
|
|
169
194
|
readOnly?: boolean;
|
|
170
195
|
/**
|
|
171
196
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
197
|
+
* @default false
|
|
172
198
|
*/
|
|
173
199
|
required?: boolean;
|
|
174
200
|
/**
|
|
175
201
|
* Indicates the validation or overall status of the input component.
|
|
202
|
+
* @default 'none'
|
|
176
203
|
*/
|
|
177
204
|
state?: InputSearchState;
|
|
178
205
|
/**
|
|
179
206
|
* The search input value.
|
|
207
|
+
* @default ''
|
|
180
208
|
*/
|
|
181
209
|
value?: string;
|
|
182
210
|
} & {
|
|
@@ -7,14 +7,17 @@ export type PInputTelProps = BaseProps & {
|
|
|
7
7
|
autoComplete?: string;
|
|
8
8
|
/**
|
|
9
9
|
* Displays the input field in compact mode.
|
|
10
|
+
* @default false
|
|
10
11
|
*/
|
|
11
12
|
compact?: boolean;
|
|
12
13
|
/**
|
|
13
14
|
* Supplementary text providing more context or explanation for the input.
|
|
15
|
+
* @default ''
|
|
14
16
|
*/
|
|
15
17
|
description?: string;
|
|
16
18
|
/**
|
|
17
19
|
* Disables the input field. The value will not be submitted with the form.
|
|
20
|
+
* @default false
|
|
18
21
|
*/
|
|
19
22
|
disabled?: boolean;
|
|
20
23
|
/**
|
|
@@ -23,18 +26,22 @@ export type PInputTelProps = BaseProps & {
|
|
|
23
26
|
form?: string;
|
|
24
27
|
/**
|
|
25
28
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
29
|
+
* @default false
|
|
26
30
|
*/
|
|
27
31
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
28
32
|
/**
|
|
29
33
|
* Controls the visibility of the phone icon.
|
|
34
|
+
* @default false
|
|
30
35
|
*/
|
|
31
36
|
indicator?: boolean;
|
|
32
37
|
/**
|
|
33
38
|
* Text content for a user-facing label.
|
|
39
|
+
* @default ''
|
|
34
40
|
*/
|
|
35
41
|
label?: string;
|
|
36
42
|
/**
|
|
37
43
|
* @experimental Shows a loading indicator.
|
|
44
|
+
* @default false
|
|
38
45
|
*/
|
|
39
46
|
loading?: boolean;
|
|
40
47
|
/**
|
|
@@ -43,6 +50,7 @@ export type PInputTelProps = BaseProps & {
|
|
|
43
50
|
maxLength?: number;
|
|
44
51
|
/**
|
|
45
52
|
* Dynamic feedback text for validation or status.
|
|
53
|
+
* @default ''
|
|
46
54
|
*/
|
|
47
55
|
message?: string;
|
|
48
56
|
/**
|
|
@@ -71,22 +79,27 @@ export type PInputTelProps = BaseProps & {
|
|
|
71
79
|
pattern?: string;
|
|
72
80
|
/**
|
|
73
81
|
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='(123) 456-7890')
|
|
82
|
+
* @default ''
|
|
74
83
|
*/
|
|
75
84
|
placeholder?: string;
|
|
76
85
|
/**
|
|
77
86
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
87
|
+
* @default false
|
|
78
88
|
*/
|
|
79
89
|
readOnly?: boolean;
|
|
80
90
|
/**
|
|
81
91
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
92
|
+
* @default false
|
|
82
93
|
*/
|
|
83
94
|
required?: boolean;
|
|
84
95
|
/**
|
|
85
96
|
* Indicates the validation or overall status of the input component.
|
|
97
|
+
* @default 'none'
|
|
86
98
|
*/
|
|
87
99
|
state?: InputTelState;
|
|
88
100
|
/**
|
|
89
101
|
* The tel input value.
|
|
102
|
+
* @default ''
|
|
90
103
|
*/
|
|
91
104
|
value?: string;
|
|
92
105
|
};
|
|
@@ -97,14 +110,17 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
97
110
|
autoComplete?: string;
|
|
98
111
|
/**
|
|
99
112
|
* Displays the input field in compact mode.
|
|
113
|
+
* @default false
|
|
100
114
|
*/
|
|
101
115
|
compact?: boolean;
|
|
102
116
|
/**
|
|
103
117
|
* Supplementary text providing more context or explanation for the input.
|
|
118
|
+
* @default ''
|
|
104
119
|
*/
|
|
105
120
|
description?: string;
|
|
106
121
|
/**
|
|
107
122
|
* Disables the input field. The value will not be submitted with the form.
|
|
123
|
+
* @default false
|
|
108
124
|
*/
|
|
109
125
|
disabled?: boolean;
|
|
110
126
|
/**
|
|
@@ -113,18 +129,22 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
113
129
|
form?: string;
|
|
114
130
|
/**
|
|
115
131
|
* Shows or hides the label. For better accessibility, it is recommended to show the label.
|
|
132
|
+
* @default false
|
|
116
133
|
*/
|
|
117
134
|
hideLabel?: BreakpointCustomizable<boolean>;
|
|
118
135
|
/**
|
|
119
136
|
* Controls the visibility of the phone icon.
|
|
137
|
+
* @default false
|
|
120
138
|
*/
|
|
121
139
|
indicator?: boolean;
|
|
122
140
|
/**
|
|
123
141
|
* Text content for a user-facing label.
|
|
142
|
+
* @default ''
|
|
124
143
|
*/
|
|
125
144
|
label?: string;
|
|
126
145
|
/**
|
|
127
146
|
* @experimental Shows a loading indicator.
|
|
147
|
+
* @default false
|
|
128
148
|
*/
|
|
129
149
|
loading?: boolean;
|
|
130
150
|
/**
|
|
@@ -133,6 +153,7 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
133
153
|
maxLength?: number;
|
|
134
154
|
/**
|
|
135
155
|
* Dynamic feedback text for validation or status.
|
|
156
|
+
* @default ''
|
|
136
157
|
*/
|
|
137
158
|
message?: string;
|
|
138
159
|
/**
|
|
@@ -161,22 +182,27 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
|
|
|
161
182
|
pattern?: string;
|
|
162
183
|
/**
|
|
163
184
|
* A string that provides a brief hint to the user about what kind of information is expected in the field (e.g., placeholder='(123) 456-7890')
|
|
185
|
+
* @default ''
|
|
164
186
|
*/
|
|
165
187
|
placeholder?: string;
|
|
166
188
|
/**
|
|
167
189
|
* A boolean value that, if present, makes the input field uneditable by the user, but its value will still be submitted with the form.
|
|
190
|
+
* @default false
|
|
168
191
|
*/
|
|
169
192
|
readOnly?: boolean;
|
|
170
193
|
/**
|
|
171
194
|
* A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
|
|
195
|
+
* @default false
|
|
172
196
|
*/
|
|
173
197
|
required?: boolean;
|
|
174
198
|
/**
|
|
175
199
|
* Indicates the validation or overall status of the input component.
|
|
200
|
+
* @default 'none'
|
|
176
201
|
*/
|
|
177
202
|
state?: InputTelState;
|
|
178
203
|
/**
|
|
179
204
|
* The tel input value.
|
|
205
|
+
* @default ''
|
|
180
206
|
*/
|
|
181
207
|
value?: string;
|
|
182
208
|
} & {
|