@porsche-design-system/components-react 4.2.0-rc.5 → 4.2.0

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 (190) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/emotion/package.json +1 -8
  3. package/esm/hooks.mjs +1 -1
  4. package/esm/lib/components/accordion.wrapper.d.ts +8 -8
  5. package/esm/lib/components/banner.wrapper.d.ts +16 -16
  6. package/esm/lib/components/button-pure.wrapper.d.ts +32 -32
  7. package/esm/lib/components/button-tile.wrapper.d.ts +28 -28
  8. package/esm/lib/components/button.wrapper.d.ts +24 -24
  9. package/esm/lib/components/canvas.wrapper.d.ts +10 -10
  10. package/esm/lib/components/carousel.wrapper.d.ts +34 -34
  11. package/esm/lib/components/checkbox.wrapper.d.ts +30 -30
  12. package/esm/lib/components/crest.wrapper.d.ts +6 -6
  13. package/esm/lib/components/display.wrapper.d.ts +10 -10
  14. package/esm/lib/components/divider.wrapper.d.ts +4 -4
  15. package/esm/lib/components/drilldown-item.wrapper.d.ts +4 -4
  16. package/esm/lib/components/drilldown-link.wrapper.d.ts +12 -12
  17. package/esm/lib/components/drilldown.wrapper.d.ts +10 -10
  18. package/esm/lib/components/fieldset.wrapper.d.ts +12 -12
  19. package/esm/lib/components/flyout.wrapper.d.ts +20 -20
  20. package/esm/lib/components/heading.wrapper.d.ts +14 -14
  21. package/esm/lib/components/icon.wrapper.d.ts +10 -10
  22. package/esm/lib/components/inline-notification.wrapper.d.ts +20 -20
  23. package/esm/lib/components/input-date.wrapper.d.ts +40 -40
  24. package/esm/lib/components/input-email.wrapper.d.ts +46 -46
  25. package/esm/lib/components/input-month.wrapper.d.ts +40 -40
  26. package/esm/lib/components/input-number.wrapper.d.ts +38 -38
  27. package/esm/lib/components/input-password.wrapper.d.ts +36 -36
  28. package/esm/lib/components/input-search.wrapper.d.ts +44 -44
  29. package/esm/lib/components/input-tel.wrapper.d.ts +44 -44
  30. package/esm/lib/components/input-text.wrapper.d.ts +44 -44
  31. package/esm/lib/components/input-time.wrapper.d.ts +40 -40
  32. package/esm/lib/components/input-url.wrapper.d.ts +44 -44
  33. package/esm/lib/components/input-week.wrapper.d.ts +40 -40
  34. package/esm/lib/components/link-pure.wrapper.d.ts +28 -28
  35. package/esm/lib/components/link-tile-product.wrapper.d.ts +22 -22
  36. package/esm/lib/components/link-tile.wrapper.d.ts +26 -26
  37. package/esm/lib/components/link.wrapper.d.ts +20 -20
  38. package/esm/lib/components/modal.wrapper.d.ts +20 -20
  39. package/esm/lib/components/model-signature.wrapper.d.ts +12 -12
  40. package/esm/lib/components/multi-select-option.wrapper.d.ts +4 -4
  41. package/esm/lib/components/multi-select.wrapper.d.ts +28 -28
  42. package/esm/lib/components/optgroup.wrapper.d.ts +4 -4
  43. package/esm/lib/components/pagination.wrapper.d.ts +12 -12
  44. package/esm/lib/components/pin-code.wrapper.d.ts +32 -32
  45. package/esm/lib/components/popover.wrapper.d.ts +6 -6
  46. package/esm/lib/components/radio-group-option.wrapper.d.ts +8 -8
  47. package/esm/lib/components/radio-group.wrapper.d.ts +30 -30
  48. package/esm/lib/components/scroller.wrapper.d.ts +6 -6
  49. package/esm/lib/components/segmented-control-item.wrapper.d.ts +12 -12
  50. package/esm/lib/components/segmented-control.wrapper.d.ts +30 -30
  51. package/esm/lib/components/select-option.wrapper.d.ts +4 -4
  52. package/esm/lib/components/select.wrapper.d.ts +30 -30
  53. package/esm/lib/components/sheet.wrapper.d.ts +16 -16
  54. package/esm/lib/components/spinner.wrapper.d.ts +6 -6
  55. package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
  56. package/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
  57. package/esm/lib/components/switch.wrapper.d.ts +16 -16
  58. package/esm/lib/components/table-head-cell.wrapper.d.ts +6 -6
  59. package/esm/lib/components/table.wrapper.d.ts +10 -10
  60. package/esm/lib/components/tabs-bar.wrapper.d.ts +10 -10
  61. package/esm/lib/components/tabs-item.wrapper.d.ts +2 -2
  62. package/esm/lib/components/tabs.wrapper.d.ts +10 -10
  63. package/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  64. package/esm/lib/components/tag.wrapper.d.ts +8 -8
  65. package/esm/lib/components/text-list.wrapper.d.ts +2 -2
  66. package/esm/lib/components/textarea.wrapper.d.ts +48 -48
  67. package/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  68. package/package.json +6 -6
  69. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +60 -312
  70. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +40 -71
  71. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +1 -1
  72. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +1 -1
  73. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.cjs +1 -1
  74. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +1 -1
  75. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
  76. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +1 -1
  77. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.cjs +1 -1
  78. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
  79. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +1 -1
  80. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +1 -1
  81. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +1 -1
  82. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -1
  83. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +2 -2
  84. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -1
  85. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +1 -1
  86. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +1 -1
  87. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +1 -1
  88. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +1 -1
  89. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
  90. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +1 -1
  91. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +1 -1
  92. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +1 -1
  93. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +60 -312
  94. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +40 -71
  95. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +1 -1
  96. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +1 -1
  97. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +1 -1
  98. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
  99. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +1 -1
  100. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +1 -1
  101. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +1 -1
  102. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +1 -1
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +1 -1
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +1 -1
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +1 -1
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +1 -1
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +1 -1
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +1 -1
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +1 -1
  110. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +1 -1
  111. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +1 -1
  112. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +3 -3
  113. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +2 -2
  114. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +3 -3
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +1 -1
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +1 -1
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +1 -1
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +1 -1
  119. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +1 -1
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
  121. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +1 -1
  122. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +1 -1
  123. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +1 -1
  124. package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -8
  125. package/ssr/esm/lib/components/banner.wrapper.d.ts +16 -16
  126. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +32 -32
  127. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +28 -28
  128. package/ssr/esm/lib/components/button.wrapper.d.ts +24 -24
  129. package/ssr/esm/lib/components/canvas.wrapper.d.ts +10 -10
  130. package/ssr/esm/lib/components/carousel.wrapper.d.ts +34 -34
  131. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +30 -30
  132. package/ssr/esm/lib/components/crest.wrapper.d.ts +6 -6
  133. package/ssr/esm/lib/components/display.wrapper.d.ts +10 -10
  134. package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -4
  135. package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +4 -4
  136. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +12 -12
  137. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +10 -10
  138. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +12 -12
  139. package/ssr/esm/lib/components/flyout.wrapper.d.ts +20 -20
  140. package/ssr/esm/lib/components/heading.wrapper.d.ts +14 -14
  141. package/ssr/esm/lib/components/icon.wrapper.d.ts +10 -10
  142. package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +20 -20
  143. package/ssr/esm/lib/components/input-date.wrapper.d.ts +40 -40
  144. package/ssr/esm/lib/components/input-email.wrapper.d.ts +46 -46
  145. package/ssr/esm/lib/components/input-month.wrapper.d.ts +40 -40
  146. package/ssr/esm/lib/components/input-number.wrapper.d.ts +38 -38
  147. package/ssr/esm/lib/components/input-password.wrapper.d.ts +36 -36
  148. package/ssr/esm/lib/components/input-search.wrapper.d.ts +44 -44
  149. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +44 -44
  150. package/ssr/esm/lib/components/input-text.wrapper.d.ts +44 -44
  151. package/ssr/esm/lib/components/input-time.wrapper.d.ts +40 -40
  152. package/ssr/esm/lib/components/input-url.wrapper.d.ts +44 -44
  153. package/ssr/esm/lib/components/input-week.wrapper.d.ts +40 -40
  154. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +28 -28
  155. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +22 -22
  156. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +26 -26
  157. package/ssr/esm/lib/components/link.wrapper.d.ts +20 -20
  158. package/ssr/esm/lib/components/modal.wrapper.d.ts +20 -20
  159. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -12
  160. package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +4 -4
  161. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +28 -28
  162. package/ssr/esm/lib/components/optgroup.wrapper.d.ts +4 -4
  163. package/ssr/esm/lib/components/pagination.wrapper.d.ts +12 -12
  164. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +32 -32
  165. package/ssr/esm/lib/components/popover.wrapper.d.ts +6 -6
  166. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +8 -8
  167. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +30 -30
  168. package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -6
  169. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +12 -12
  170. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +30 -30
  171. package/ssr/esm/lib/components/select-option.wrapper.d.ts +4 -4
  172. package/ssr/esm/lib/components/select.wrapper.d.ts +30 -30
  173. package/ssr/esm/lib/components/sheet.wrapper.d.ts +16 -16
  174. package/ssr/esm/lib/components/spinner.wrapper.d.ts +6 -6
  175. package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
  176. package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
  177. package/ssr/esm/lib/components/switch.wrapper.d.ts +16 -16
  178. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +6 -6
  179. package/ssr/esm/lib/components/table.wrapper.d.ts +10 -10
  180. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +10 -10
  181. package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +2 -2
  182. package/ssr/esm/lib/components/tabs.wrapper.d.ts +10 -10
  183. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  184. package/ssr/esm/lib/components/tag.wrapper.d.ts +8 -8
  185. package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -2
  186. package/ssr/esm/lib/components/textarea.wrapper.d.ts +48 -48
  187. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  188. package/ssr/esm/lib/dsr-components/popover.d.ts +1 -1
  189. package/tailwindcss/index.css +57 -75
  190. package/vanilla-extract/package.json +1 -8
@@ -2,58 +2,58 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { BreakpointCustomizable, InputPasswordBlurEventDetail, InputPasswordChangeEventDetail, InputPasswordInputEventDetail, InputPasswordState } from '../types';
3
3
  export type PInputPasswordProps = BaseProps & {
4
4
  /**
5
- * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='current-password', autocomplete='new-password').
5
+ * Provides the browser with a password autofill hint (e.g. `autocomplete='current-password'` or `autocomplete='new-password'`).
6
6
  */
7
7
  autoComplete?: string;
8
8
  /**
9
- * Displays the input field in compact mode.
9
+ * Reduces the input height and padding for a more compact layout.
10
10
  * @default false
11
11
  */
12
12
  compact?: boolean;
13
13
  /**
14
- * Supplementary text providing more context or explanation for the input.
14
+ * Sets a supplementary description displayed below the label to provide additional context.
15
15
  * @default ''
16
16
  */
17
17
  description?: string;
18
18
  /**
19
- * Disables the input field. The value will not be submitted with the form.
19
+ * Disables the field, preventing all input. The value is not submitted with the form.
20
20
  * @default false
21
21
  */
22
22
  disabled?: boolean;
23
23
  /**
24
- * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
24
+ * Associates the field with a form element by its ID when the field is not nested directly inside it.
25
25
  */
26
26
  form?: string;
27
27
  /**
28
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
28
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
29
29
  * @default false
30
30
  */
31
31
  hideLabel?: BreakpointCustomizable<boolean>;
32
32
  /**
33
- * Text content for a user-facing label.
33
+ * Sets the visible label text displayed above the input field.
34
34
  * @default ''
35
35
  */
36
36
  label?: string;
37
37
  /**
38
- * @experimental Shows a loading indicator.
38
+ * @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
39
39
  * @default false
40
40
  */
41
41
  loading?: boolean;
42
42
  /**
43
- * A non-negative integer specifying the maximum number of characters the user can enter into the input.
43
+ * Sets the maximum number of characters the user can enter.
44
44
  */
45
45
  maxLength?: number;
46
46
  /**
47
- * Dynamic feedback text for validation or status.
47
+ * Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
48
48
  * @default ''
49
49
  */
50
50
  message?: string;
51
51
  /**
52
- * A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
52
+ * Sets the minimum number of characters required for the field to be considered valid.
53
53
  */
54
54
  minLength?: number;
55
55
  /**
56
- * The name of the input field, used when submitting the form data.
56
+ * Sets the name submitted with the form data to identify this field's value on the server.
57
57
  */
58
58
  name: string;
59
59
  /**
@@ -69,90 +69,90 @@ export type PInputPasswordProps = BaseProps & {
69
69
  */
70
70
  onInput?: (event: CustomEvent<InputPasswordInputEventDetail>) => void;
71
71
  /**
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.
72
+ * Sets placeholder text shown inside the field when it is empty.
73
73
  * @default ''
74
74
  */
75
75
  placeholder?: string;
76
76
  /**
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.
77
+ * Makes the field read-only the value is displayed but cannot be edited. The value is still submitted with the form.
78
78
  * @default false
79
79
  */
80
80
  readOnly?: boolean;
81
81
  /**
82
- * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
82
+ * Marks the field as required form submission is blocked while this field is empty.
83
83
  * @default false
84
84
  */
85
85
  required?: boolean;
86
86
  /**
87
- * Indicates the validation or overall status of the input component.
87
+ * Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
88
88
  * @default 'none'
89
89
  */
90
90
  state?: InputPasswordState;
91
91
  /**
92
- * Show or hide password toggle for `input type="password"`.
92
+ * Shows a toggle button that switches the password between masked and plain text visibility.
93
93
  * @default false
94
94
  */
95
95
  toggle?: boolean;
96
96
  /**
97
- * The password input value.
97
+ * Sets the current password value of the field.
98
98
  * @default ''
99
99
  */
100
100
  value?: string | null;
101
101
  };
102
102
  export declare const PInputPassword: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
103
103
  /**
104
- * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='current-password', autocomplete='new-password').
104
+ * Provides the browser with a password autofill hint (e.g. `autocomplete='current-password'` or `autocomplete='new-password'`).
105
105
  */
106
106
  autoComplete?: string;
107
107
  /**
108
- * Displays the input field in compact mode.
108
+ * Reduces the input height and padding for a more compact layout.
109
109
  * @default false
110
110
  */
111
111
  compact?: boolean;
112
112
  /**
113
- * Supplementary text providing more context or explanation for the input.
113
+ * Sets a supplementary description displayed below the label to provide additional context.
114
114
  * @default ''
115
115
  */
116
116
  description?: string;
117
117
  /**
118
- * Disables the input field. The value will not be submitted with the form.
118
+ * Disables the field, preventing all input. The value is not submitted with the form.
119
119
  * @default false
120
120
  */
121
121
  disabled?: boolean;
122
122
  /**
123
- * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
123
+ * Associates the field with a form element by its ID when the field is not nested directly inside it.
124
124
  */
125
125
  form?: string;
126
126
  /**
127
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
127
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
128
128
  * @default false
129
129
  */
130
130
  hideLabel?: BreakpointCustomizable<boolean>;
131
131
  /**
132
- * Text content for a user-facing label.
132
+ * Sets the visible label text displayed above the input field.
133
133
  * @default ''
134
134
  */
135
135
  label?: string;
136
136
  /**
137
- * @experimental Shows a loading indicator.
137
+ * @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
138
138
  * @default false
139
139
  */
140
140
  loading?: boolean;
141
141
  /**
142
- * A non-negative integer specifying the maximum number of characters the user can enter into the input.
142
+ * Sets the maximum number of characters the user can enter.
143
143
  */
144
144
  maxLength?: number;
145
145
  /**
146
- * Dynamic feedback text for validation or status.
146
+ * Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
147
147
  * @default ''
148
148
  */
149
149
  message?: string;
150
150
  /**
151
- * A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
151
+ * Sets the minimum number of characters required for the field to be considered valid.
152
152
  */
153
153
  minLength?: number;
154
154
  /**
155
- * The name of the input field, used when submitting the form data.
155
+ * Sets the name submitted with the form data to identify this field's value on the server.
156
156
  */
157
157
  name: string;
158
158
  /**
@@ -168,32 +168,32 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
168
168
  */
169
169
  onInput?: (event: CustomEvent<InputPasswordInputEventDetail>) => void;
170
170
  /**
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.
171
+ * Sets placeholder text shown inside the field when it is empty.
172
172
  * @default ''
173
173
  */
174
174
  placeholder?: string;
175
175
  /**
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.
176
+ * Makes the field read-only the value is displayed but cannot be edited. The value is still submitted with the form.
177
177
  * @default false
178
178
  */
179
179
  readOnly?: boolean;
180
180
  /**
181
- * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
181
+ * Marks the field as required form submission is blocked while this field is empty.
182
182
  * @default false
183
183
  */
184
184
  required?: boolean;
185
185
  /**
186
- * Indicates the validation or overall status of the input component.
186
+ * Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
187
187
  * @default 'none'
188
188
  */
189
189
  state?: InputPasswordState;
190
190
  /**
191
- * Show or hide password toggle for `input type="password"`.
191
+ * Shows a toggle button that switches the password between masked and plain text visibility.
192
192
  * @default false
193
193
  */
194
194
  toggle?: boolean;
195
195
  /**
196
- * The password input value.
196
+ * Sets the current password value of the field.
197
197
  * @default ''
198
198
  */
199
199
  value?: string | null;
@@ -2,80 +2,80 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, InputSearchAriaAttribute, BreakpointCustomizable, InputSearchBlurEventDetail, InputSearchChangeEventDetail, InputSearchInputEventDetail, InputSearchState } from '../types';
3
3
  export type PInputSearchProps = BaseProps & {
4
4
  /**
5
- * Additional ARIA attributes for the native search input (e.g. `role="combobox"`, `aria-expanded`).
5
+ * Sets additional ARIA attributes on the search input, useful for combobox patterns (e.g. `role="combobox"`, `aria-expanded`).
6
6
  */
7
7
  aria?: SelectedAriaAttributes<InputSearchAriaAttribute>;
8
8
  /**
9
- * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
9
+ * Provides the browser with a data type hint to enable relevant autofill suggestions.
10
10
  */
11
11
  autoComplete?: string;
12
12
  /**
13
- * Show clear input value button
13
+ * Shows a clear button (×) inside the field that resets the value to empty when clicked.
14
14
  * @default false
15
15
  */
16
16
  clear?: boolean;
17
17
  /**
18
- * Displays the input field in compact mode.
18
+ * Reduces the input height and padding for a more compact layout.
19
19
  * @default false
20
20
  */
21
21
  compact?: boolean;
22
22
  /**
23
- * Supplementary text providing more context or explanation for the input.
23
+ * Sets a supplementary description displayed below the label to provide additional context.
24
24
  * @default ''
25
25
  */
26
26
  description?: string;
27
27
  /**
28
- * Disables the input field. The value will not be submitted with the form.
28
+ * Disables the field, preventing all input. The value is not submitted with the form.
29
29
  * @default false
30
30
  */
31
31
  disabled?: boolean;
32
32
  /**
33
- * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
33
+ * Associates the field with a form element by its ID when the field is not nested directly inside it.
34
34
  */
35
35
  form?: string;
36
36
  /**
37
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
37
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
38
38
  * @default false
39
39
  */
40
40
  hideLabel?: BreakpointCustomizable<boolean>;
41
41
  /**
42
- * Show search indicator icon
42
+ * Shows a magnifying glass icon inside the field as a visual affordance for search input.
43
43
  * @default false
44
44
  */
45
45
  indicator?: boolean;
46
46
  /**
47
- * Text content for a user-facing label.
47
+ * Sets the visible label text displayed above the input field.
48
48
  * @default ''
49
49
  */
50
50
  label?: string;
51
51
  /**
52
- * @experimental Shows a loading indicator.
52
+ * @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
53
53
  * @default false
54
54
  */
55
55
  loading?: boolean;
56
56
  /**
57
- * A non-negative integer specifying the maximum number of characters the user can enter into the input.
57
+ * Sets the maximum number of characters the user can enter.
58
58
  */
59
59
  maxLength?: number;
60
60
  /**
61
- * Dynamic feedback text for validation or status.
61
+ * Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
62
62
  * @default ''
63
63
  */
64
64
  message?: string;
65
65
  /**
66
- * A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
66
+ * Sets the minimum number of characters required for the field to be considered valid.
67
67
  */
68
68
  minLength?: number;
69
69
  /**
70
- * The name of the input field, used when submitting the form data.
70
+ * Sets the name submitted with the form data to identify this field's value on the server.
71
71
  */
72
72
  name: string;
73
73
  /**
74
- * Emitted when the search input has lost focus.
74
+ * Emitted when the input loses focus, regardless of whether the value changed.
75
75
  */
76
76
  onBlur?: (event: CustomEvent<InputSearchBlurEventDetail>) => void;
77
77
  /**
78
- * Emitted when the search input loses focus after its value was changed.
78
+ * Emitted when the input loses focus after its value was changed.
79
79
  */
80
80
  onChange?: (event: CustomEvent<InputSearchChangeEventDetail>) => void;
81
81
  /**
@@ -83,107 +83,107 @@ export type PInputSearchProps = BaseProps & {
83
83
  */
84
84
  onInput?: (event: CustomEvent<InputSearchInputEventDetail>) => void;
85
85
  /**
86
- * 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.
86
+ * Sets placeholder text shown inside the field when it is empty.
87
87
  * @default ''
88
88
  */
89
89
  placeholder?: string;
90
90
  /**
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.
91
+ * Makes the field read-only the value is displayed but cannot be edited. The value is still submitted with the form.
92
92
  * @default false
93
93
  */
94
94
  readOnly?: boolean;
95
95
  /**
96
- * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
96
+ * Marks the field as required form submission is blocked while this field is empty.
97
97
  * @default false
98
98
  */
99
99
  required?: boolean;
100
100
  /**
101
- * Indicates the validation or overall status of the input component.
101
+ * Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
102
102
  * @default 'none'
103
103
  */
104
104
  state?: InputSearchState;
105
105
  /**
106
- * The search input value.
106
+ * Sets the current search query value of the field.
107
107
  * @default ''
108
108
  */
109
109
  value?: string | null;
110
110
  };
111
111
  export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
112
112
  /**
113
- * Additional ARIA attributes for the native search input (e.g. `role="combobox"`, `aria-expanded`).
113
+ * Sets additional ARIA attributes on the search input, useful for combobox patterns (e.g. `role="combobox"`, `aria-expanded`).
114
114
  */
115
115
  aria?: SelectedAriaAttributes<InputSearchAriaAttribute>;
116
116
  /**
117
- * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
117
+ * Provides the browser with a data type hint to enable relevant autofill suggestions.
118
118
  */
119
119
  autoComplete?: string;
120
120
  /**
121
- * Show clear input value button
121
+ * Shows a clear button (×) inside the field that resets the value to empty when clicked.
122
122
  * @default false
123
123
  */
124
124
  clear?: boolean;
125
125
  /**
126
- * Displays the input field in compact mode.
126
+ * Reduces the input height and padding for a more compact layout.
127
127
  * @default false
128
128
  */
129
129
  compact?: boolean;
130
130
  /**
131
- * Supplementary text providing more context or explanation for the input.
131
+ * Sets a supplementary description displayed below the label to provide additional context.
132
132
  * @default ''
133
133
  */
134
134
  description?: string;
135
135
  /**
136
- * Disables the input field. The value will not be submitted with the form.
136
+ * Disables the field, preventing all input. The value is not submitted with the form.
137
137
  * @default false
138
138
  */
139
139
  disabled?: boolean;
140
140
  /**
141
- * Specifies the id of the <form> element that the input belongs to (useful if the input is not a direct descendant of the form).
141
+ * Associates the field with a form element by its ID when the field is not nested directly inside it.
142
142
  */
143
143
  form?: string;
144
144
  /**
145
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
145
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
146
146
  * @default false
147
147
  */
148
148
  hideLabel?: BreakpointCustomizable<boolean>;
149
149
  /**
150
- * Show search indicator icon
150
+ * Shows a magnifying glass icon inside the field as a visual affordance for search input.
151
151
  * @default false
152
152
  */
153
153
  indicator?: boolean;
154
154
  /**
155
- * Text content for a user-facing label.
155
+ * Sets the visible label text displayed above the input field.
156
156
  * @default ''
157
157
  */
158
158
  label?: string;
159
159
  /**
160
- * @experimental Shows a loading indicator.
160
+ * @experimental Disables the field and displays a loading spinner to indicate an ongoing operation.
161
161
  * @default false
162
162
  */
163
163
  loading?: boolean;
164
164
  /**
165
- * A non-negative integer specifying the maximum number of characters the user can enter into the input.
165
+ * Sets the maximum number of characters the user can enter.
166
166
  */
167
167
  maxLength?: number;
168
168
  /**
169
- * Dynamic feedback text for validation or status.
169
+ * Sets the validation feedback message displayed below the field when `state` is `success` or `error`.
170
170
  * @default ''
171
171
  */
172
172
  message?: string;
173
173
  /**
174
- * A non-negative integer specifying the minimum number of characters required for the input's value to be considered valid.
174
+ * Sets the minimum number of characters required for the field to be considered valid.
175
175
  */
176
176
  minLength?: number;
177
177
  /**
178
- * The name of the input field, used when submitting the form data.
178
+ * Sets the name submitted with the form data to identify this field's value on the server.
179
179
  */
180
180
  name: string;
181
181
  /**
182
- * Emitted when the search input has lost focus.
182
+ * Emitted when the input loses focus, regardless of whether the value changed.
183
183
  */
184
184
  onBlur?: (event: CustomEvent<InputSearchBlurEventDetail>) => void;
185
185
  /**
186
- * Emitted when the search input loses focus after its value was changed.
186
+ * Emitted when the input loses focus after its value was changed.
187
187
  */
188
188
  onChange?: (event: CustomEvent<InputSearchChangeEventDetail>) => void;
189
189
  /**
@@ -191,27 +191,27 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
191
191
  */
192
192
  onInput?: (event: CustomEvent<InputSearchInputEventDetail>) => void;
193
193
  /**
194
- * 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.
194
+ * Sets placeholder text shown inside the field when it is empty.
195
195
  * @default ''
196
196
  */
197
197
  placeholder?: string;
198
198
  /**
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.
199
+ * Makes the field read-only the value is displayed but cannot be edited. The value is still submitted with the form.
200
200
  * @default false
201
201
  */
202
202
  readOnly?: boolean;
203
203
  /**
204
- * A boolean value that, if present, indicates that the input field must be filled out before the form can be submitted.
204
+ * Marks the field as required form submission is blocked while this field is empty.
205
205
  * @default false
206
206
  */
207
207
  required?: boolean;
208
208
  /**
209
- * Indicates the validation or overall status of the input component.
209
+ * Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
210
210
  * @default 'none'
211
211
  */
212
212
  state?: InputSearchState;
213
213
  /**
214
- * The search input value.
214
+ * Sets the current search query value of the field.
215
215
  * @default ''
216
216
  */
217
217
  value?: string | null;