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