@porsche-design-system/components-react 4.2.0-rc.4 → 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 (198) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/cjs/lib/components/flyout.wrapper.cjs +3 -3
  3. package/emotion/package.json +1 -8
  4. package/esm/hooks.mjs +1 -1
  5. package/esm/lib/components/accordion.wrapper.d.ts +8 -8
  6. package/esm/lib/components/banner.wrapper.d.ts +16 -16
  7. package/esm/lib/components/button-pure.wrapper.d.ts +32 -32
  8. package/esm/lib/components/button-tile.wrapper.d.ts +28 -28
  9. package/esm/lib/components/button.wrapper.d.ts +24 -24
  10. package/esm/lib/components/canvas.wrapper.d.ts +10 -10
  11. package/esm/lib/components/carousel.wrapper.d.ts +34 -34
  12. package/esm/lib/components/checkbox.wrapper.d.ts +30 -30
  13. package/esm/lib/components/crest.wrapper.d.ts +6 -6
  14. package/esm/lib/components/display.wrapper.d.ts +10 -10
  15. package/esm/lib/components/divider.wrapper.d.ts +4 -4
  16. package/esm/lib/components/drilldown-item.wrapper.d.ts +4 -4
  17. package/esm/lib/components/drilldown-link.wrapper.d.ts +12 -12
  18. package/esm/lib/components/drilldown.wrapper.d.ts +10 -10
  19. package/esm/lib/components/fieldset.wrapper.d.ts +12 -12
  20. package/esm/lib/components/flyout.wrapper.d.ts +31 -21
  21. package/esm/lib/components/flyout.wrapper.mjs +3 -3
  22. package/esm/lib/components/heading.wrapper.d.ts +14 -14
  23. package/esm/lib/components/icon.wrapper.d.ts +10 -10
  24. package/esm/lib/components/inline-notification.wrapper.d.ts +20 -20
  25. package/esm/lib/components/input-date.wrapper.d.ts +40 -40
  26. package/esm/lib/components/input-email.wrapper.d.ts +46 -46
  27. package/esm/lib/components/input-month.wrapper.d.ts +40 -40
  28. package/esm/lib/components/input-number.wrapper.d.ts +38 -38
  29. package/esm/lib/components/input-password.wrapper.d.ts +36 -36
  30. package/esm/lib/components/input-search.wrapper.d.ts +44 -44
  31. package/esm/lib/components/input-tel.wrapper.d.ts +44 -44
  32. package/esm/lib/components/input-text.wrapper.d.ts +44 -44
  33. package/esm/lib/components/input-time.wrapper.d.ts +40 -40
  34. package/esm/lib/components/input-url.wrapper.d.ts +44 -44
  35. package/esm/lib/components/input-week.wrapper.d.ts +40 -40
  36. package/esm/lib/components/link-pure.wrapper.d.ts +28 -28
  37. package/esm/lib/components/link-tile-product.wrapper.d.ts +22 -22
  38. package/esm/lib/components/link-tile.wrapper.d.ts +26 -26
  39. package/esm/lib/components/link.wrapper.d.ts +20 -20
  40. package/esm/lib/components/modal.wrapper.d.ts +20 -20
  41. package/esm/lib/components/model-signature.wrapper.d.ts +12 -12
  42. package/esm/lib/components/multi-select-option.wrapper.d.ts +4 -4
  43. package/esm/lib/components/multi-select.wrapper.d.ts +28 -28
  44. package/esm/lib/components/optgroup.wrapper.d.ts +4 -4
  45. package/esm/lib/components/pagination.wrapper.d.ts +12 -12
  46. package/esm/lib/components/pin-code.wrapper.d.ts +32 -32
  47. package/esm/lib/components/popover.wrapper.d.ts +6 -6
  48. package/esm/lib/components/radio-group-option.wrapper.d.ts +8 -8
  49. package/esm/lib/components/radio-group.wrapper.d.ts +30 -30
  50. package/esm/lib/components/scroller.wrapper.d.ts +6 -6
  51. package/esm/lib/components/segmented-control-item.wrapper.d.ts +12 -12
  52. package/esm/lib/components/segmented-control.wrapper.d.ts +30 -30
  53. package/esm/lib/components/select-option.wrapper.d.ts +4 -4
  54. package/esm/lib/components/select.wrapper.d.ts +30 -30
  55. package/esm/lib/components/sheet.wrapper.d.ts +16 -16
  56. package/esm/lib/components/spinner.wrapper.d.ts +6 -6
  57. package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
  58. package/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
  59. package/esm/lib/components/switch.wrapper.d.ts +16 -16
  60. package/esm/lib/components/table-head-cell.wrapper.d.ts +6 -6
  61. package/esm/lib/components/table.wrapper.d.ts +10 -10
  62. package/esm/lib/components/tabs-bar.wrapper.d.ts +10 -10
  63. package/esm/lib/components/tabs-item.wrapper.d.ts +2 -2
  64. package/esm/lib/components/tabs.wrapper.d.ts +10 -10
  65. package/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  66. package/esm/lib/components/tag.wrapper.d.ts +8 -8
  67. package/esm/lib/components/text-list.wrapper.d.ts +2 -2
  68. package/esm/lib/components/textarea.wrapper.d.ts +48 -48
  69. package/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  70. package/package.json +6 -6
  71. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +144 -352
  72. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +177 -90
  73. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flyout.wrapper.cjs +4 -4
  74. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +1 -1
  75. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +7 -1
  76. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.cjs +1 -1
  77. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +1 -1
  78. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
  79. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +1 -1
  80. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.cjs +1 -1
  81. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +8 -2
  82. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +1 -1
  83. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +7 -1
  84. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +1 -1
  85. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -1
  86. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +2 -2
  87. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -1
  88. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +1 -1
  89. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +1 -1
  90. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +7 -1
  91. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +1 -1
  92. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
  93. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +1 -1
  94. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +1 -1
  95. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +1 -1
  96. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +144 -352
  97. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +174 -91
  98. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +1 -1
  99. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flyout.wrapper.mjs +4 -4
  100. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +1 -1
  101. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +8 -2
  102. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +1 -1
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +1 -1
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +1 -1
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +1 -1
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +1 -1
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +1 -1
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +1 -1
  110. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +9 -3
  111. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +1 -1
  112. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +1 -1
  113. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +1 -1
  114. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +8 -2
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +1 -1
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +3 -3
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +2 -2
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +3 -3
  119. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +1 -1
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +1 -1
  121. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +1 -1
  122. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +8 -2
  123. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +1 -1
  124. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
  125. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +1 -1
  126. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +1 -1
  127. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +1 -1
  128. package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -8
  129. package/ssr/esm/lib/components/banner.wrapper.d.ts +16 -16
  130. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +32 -32
  131. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +28 -28
  132. package/ssr/esm/lib/components/button.wrapper.d.ts +24 -24
  133. package/ssr/esm/lib/components/canvas.wrapper.d.ts +10 -10
  134. package/ssr/esm/lib/components/carousel.wrapper.d.ts +34 -34
  135. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +30 -30
  136. package/ssr/esm/lib/components/crest.wrapper.d.ts +6 -6
  137. package/ssr/esm/lib/components/display.wrapper.d.ts +10 -10
  138. package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -4
  139. package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +4 -4
  140. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +12 -12
  141. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +10 -10
  142. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +12 -12
  143. package/ssr/esm/lib/components/flyout.wrapper.d.ts +31 -21
  144. package/ssr/esm/lib/components/heading.wrapper.d.ts +14 -14
  145. package/ssr/esm/lib/components/icon.wrapper.d.ts +10 -10
  146. package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +20 -20
  147. package/ssr/esm/lib/components/input-date.wrapper.d.ts +40 -40
  148. package/ssr/esm/lib/components/input-email.wrapper.d.ts +46 -46
  149. package/ssr/esm/lib/components/input-month.wrapper.d.ts +40 -40
  150. package/ssr/esm/lib/components/input-number.wrapper.d.ts +38 -38
  151. package/ssr/esm/lib/components/input-password.wrapper.d.ts +36 -36
  152. package/ssr/esm/lib/components/input-search.wrapper.d.ts +44 -44
  153. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +44 -44
  154. package/ssr/esm/lib/components/input-text.wrapper.d.ts +44 -44
  155. package/ssr/esm/lib/components/input-time.wrapper.d.ts +40 -40
  156. package/ssr/esm/lib/components/input-url.wrapper.d.ts +44 -44
  157. package/ssr/esm/lib/components/input-week.wrapper.d.ts +40 -40
  158. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +28 -28
  159. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +22 -22
  160. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +26 -26
  161. package/ssr/esm/lib/components/link.wrapper.d.ts +20 -20
  162. package/ssr/esm/lib/components/modal.wrapper.d.ts +20 -20
  163. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -12
  164. package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +4 -4
  165. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +28 -28
  166. package/ssr/esm/lib/components/optgroup.wrapper.d.ts +4 -4
  167. package/ssr/esm/lib/components/pagination.wrapper.d.ts +12 -12
  168. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +32 -32
  169. package/ssr/esm/lib/components/popover.wrapper.d.ts +6 -6
  170. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +8 -8
  171. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +30 -30
  172. package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -6
  173. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +12 -12
  174. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +30 -30
  175. package/ssr/esm/lib/components/select-option.wrapper.d.ts +4 -4
  176. package/ssr/esm/lib/components/select.wrapper.d.ts +30 -30
  177. package/ssr/esm/lib/components/sheet.wrapper.d.ts +16 -16
  178. package/ssr/esm/lib/components/spinner.wrapper.d.ts +6 -6
  179. package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
  180. package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
  181. package/ssr/esm/lib/components/switch.wrapper.d.ts +16 -16
  182. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +6 -6
  183. package/ssr/esm/lib/components/table.wrapper.d.ts +10 -10
  184. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +10 -10
  185. package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +2 -2
  186. package/ssr/esm/lib/components/tabs.wrapper.d.ts +10 -10
  187. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  188. package/ssr/esm/lib/components/tag.wrapper.d.ts +8 -8
  189. package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -2
  190. package/ssr/esm/lib/components/textarea.wrapper.d.ts +48 -48
  191. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  192. package/ssr/esm/lib/dsr-components/banner.d.ts +1 -0
  193. package/ssr/esm/lib/dsr-components/flyout.d.ts +1 -0
  194. package/ssr/esm/lib/dsr-components/modal.d.ts +1 -0
  195. package/ssr/esm/lib/dsr-components/popover.d.ts +1 -1
  196. package/ssr/esm/lib/dsr-components/sheet.d.ts +1 -0
  197. package/tailwindcss/index.css +57 -75
  198. package/vanilla-extract/package.json +1 -8
@@ -2,96 +2,96 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, ModalAriaAttribute, ModalBackdrop, ModalBackground, BreakpointCustomizable, ModalMotionHiddenEndEventDetail, ModalMotionVisibleEndEventDetail } from '../types';
3
3
  export type PModalProps = BaseProps & {
4
4
  /**
5
- * Sets ARIA attributes.
5
+ * Sets ARIA attributes on the dialog element for improved accessibility when no visible heading is present.
6
6
  */
7
7
  aria?: SelectedAriaAttributes<ModalAriaAttribute>;
8
8
  /**
9
- * Defines the backdrop, 'blur' (should be used when Modal is opened by user interaction, e.g. after a click on a button) and 'shading' (should be used when Modal gets opened automatically, e.g. Cookie Consent).
9
+ * Sets the backdrop style. Use `blur` when the modal is opened by user interaction; use `shading` when opened automatically (e.g. Cookie Consent).
10
10
  * @default 'blur'
11
11
  */
12
12
  backdrop?: ModalBackdrop;
13
13
  /**
14
- * Defines the background color
14
+ * Sets the background color of the modal panel (`canvas` or `surface`).
15
15
  * @default 'canvas'
16
16
  */
17
17
  background?: ModalBackground;
18
18
  /**
19
- * If true, the modal will not be closable via backdrop click.
19
+ * When enabled, clicking the backdrop will not close the modal.
20
20
  * @default false
21
21
  */
22
22
  disableBackdropClick?: boolean;
23
23
  /**
24
- * If false, the modal will not have a dismiss button.
24
+ * Shows a dismiss button in the modal header so the user can manually close it.
25
25
  * @default true
26
26
  */
27
27
  dismissButton?: boolean;
28
28
  /**
29
- * If true the modal uses max viewport height and width. Should only be used for mobile.
29
+ * Expands the modal to the full viewport size, intended for mobile use cases. Supports responsive breakpoint values.
30
30
  * @default false
31
31
  */
32
32
  fullscreen?: BreakpointCustomizable<boolean>;
33
33
  /**
34
- * Emitted when the component requests to be dismissed.
34
+ * Emitted when the user closes the modal via the dismiss button, backdrop click, or Escape key.
35
35
  */
36
36
  onDismiss?: (event: CustomEvent<void>) => void;
37
37
  /**
38
- * Emitted when the modal is closed and the transition is finished.
38
+ * Emitted after the modal's close transition completes and the dialog is fully hidden.
39
39
  */
40
40
  onMotionHiddenEnd?: (event: CustomEvent<ModalMotionHiddenEndEventDetail>) => void;
41
41
  /**
42
- * Emitted when the modal is opened and the transition is finished.
42
+ * Emitted after the modal's open transition completes and the dialog is fully visible.
43
43
  */
44
44
  onMotionVisibleEnd?: (event: CustomEvent<ModalMotionVisibleEndEventDetail>) => void;
45
45
  /**
46
- * If true, the modal is open.
46
+ * Controls whether the modal dialog is visible.
47
47
  * @default false
48
48
  */
49
49
  open: boolean;
50
50
  };
51
51
  export declare const PModal: 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"> & {
52
52
  /**
53
- * Sets ARIA attributes.
53
+ * Sets ARIA attributes on the dialog element for improved accessibility when no visible heading is present.
54
54
  */
55
55
  aria?: SelectedAriaAttributes<ModalAriaAttribute>;
56
56
  /**
57
- * Defines the backdrop, 'blur' (should be used when Modal is opened by user interaction, e.g. after a click on a button) and 'shading' (should be used when Modal gets opened automatically, e.g. Cookie Consent).
57
+ * Sets the backdrop style. Use `blur` when the modal is opened by user interaction; use `shading` when opened automatically (e.g. Cookie Consent).
58
58
  * @default 'blur'
59
59
  */
60
60
  backdrop?: ModalBackdrop;
61
61
  /**
62
- * Defines the background color
62
+ * Sets the background color of the modal panel (`canvas` or `surface`).
63
63
  * @default 'canvas'
64
64
  */
65
65
  background?: ModalBackground;
66
66
  /**
67
- * If true, the modal will not be closable via backdrop click.
67
+ * When enabled, clicking the backdrop will not close the modal.
68
68
  * @default false
69
69
  */
70
70
  disableBackdropClick?: boolean;
71
71
  /**
72
- * If false, the modal will not have a dismiss button.
72
+ * Shows a dismiss button in the modal header so the user can manually close it.
73
73
  * @default true
74
74
  */
75
75
  dismissButton?: boolean;
76
76
  /**
77
- * If true the modal uses max viewport height and width. Should only be used for mobile.
77
+ * Expands the modal to the full viewport size, intended for mobile use cases. Supports responsive breakpoint values.
78
78
  * @default false
79
79
  */
80
80
  fullscreen?: BreakpointCustomizable<boolean>;
81
81
  /**
82
- * Emitted when the component requests to be dismissed.
82
+ * Emitted when the user closes the modal via the dismiss button, backdrop click, or Escape key.
83
83
  */
84
84
  onDismiss?: (event: CustomEvent<void>) => void;
85
85
  /**
86
- * Emitted when the modal is closed and the transition is finished.
86
+ * Emitted after the modal's close transition completes and the dialog is fully hidden.
87
87
  */
88
88
  onMotionHiddenEnd?: (event: CustomEvent<ModalMotionHiddenEndEventDetail>) => void;
89
89
  /**
90
- * Emitted when the modal is opened and the transition is finished.
90
+ * Emitted after the modal's open transition completes and the dialog is fully visible.
91
91
  */
92
92
  onMotionVisibleEnd?: (event: CustomEvent<ModalMotionVisibleEndEventDetail>) => void;
93
93
  /**
94
- * If true, the modal is open.
94
+ * Controls whether the modal dialog is visible.
95
95
  * @default false
96
96
  */
97
97
  open: boolean;
@@ -2,64 +2,64 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { ModelSignatureColor, ModelSignatureFetchPriority, ModelSignatureModel, ModelSignatureSize } from '../types';
3
3
  export type PModelSignatureProps = BaseProps & {
4
4
  /**
5
- * Adapts the color of the component.
5
+ * Sets the fill color of the signature using PDS color tokens.
6
6
  * @default 'primary'
7
7
  */
8
8
  color?: ModelSignatureColor;
9
9
  /**
10
- * Sets the browser's fetch priority hint for the model signature asset.
10
+ * Sets the browser's fetch priority hint for the signature asset (`auto`, `high`, `low`).
11
11
  * @default 'auto'
12
12
  */
13
13
  fetchPriority?: ModelSignatureFetchPriority;
14
14
  /**
15
- * Defines whether the model signature is always loaded or only loaded when it is in the viewport (this feature may not work reliably).
15
+ * Defers loading the signature until it enters the viewport to improve initial page performance.
16
16
  * @default false
17
17
  */
18
18
  lazy?: boolean;
19
19
  /**
20
- * Adapts the model of the component.
20
+ * Selects the Porsche model whose typographic signature SVG is displayed.
21
21
  * @default '911'
22
22
  */
23
23
  model?: ModelSignatureModel;
24
24
  /**
25
- * When set to `true`, then all model signatures are visually aligned with each other. When set to `false` the model signature comes without any safe zone.
25
+ * When enabled, adds invisible padding so all model signatures visually align to a consistent baseline.
26
26
  * @default true
27
27
  */
28
28
  safeZone?: boolean;
29
29
  /**
30
- * Adapts the size of the component. When set to `inherit` a CSS `width` or `height` needs to be defined on the host but not both.
30
+ * Sets the display size of the signature using predefined PDS sizes. Use `inherit` with a CSS `width` or `height` on the host for custom sizing.
31
31
  * @default 'small'
32
32
  */
33
33
  size?: ModelSignatureSize;
34
34
  };
35
35
  export declare const PModelSignature: 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"> & {
36
36
  /**
37
- * Adapts the color of the component.
37
+ * Sets the fill color of the signature using PDS color tokens.
38
38
  * @default 'primary'
39
39
  */
40
40
  color?: ModelSignatureColor;
41
41
  /**
42
- * Sets the browser's fetch priority hint for the model signature asset.
42
+ * Sets the browser's fetch priority hint for the signature asset (`auto`, `high`, `low`).
43
43
  * @default 'auto'
44
44
  */
45
45
  fetchPriority?: ModelSignatureFetchPriority;
46
46
  /**
47
- * Defines whether the model signature is always loaded or only loaded when it is in the viewport (this feature may not work reliably).
47
+ * Defers loading the signature until it enters the viewport to improve initial page performance.
48
48
  * @default false
49
49
  */
50
50
  lazy?: boolean;
51
51
  /**
52
- * Adapts the model of the component.
52
+ * Selects the Porsche model whose typographic signature SVG is displayed.
53
53
  * @default '911'
54
54
  */
55
55
  model?: ModelSignatureModel;
56
56
  /**
57
- * When set to `true`, then all model signatures are visually aligned with each other. When set to `false` the model signature comes without any safe zone.
57
+ * When enabled, adds invisible padding so all model signatures visually align to a consistent baseline.
58
58
  * @default true
59
59
  */
60
60
  safeZone?: boolean;
61
61
  /**
62
- * Adapts the size of the component. When set to `inherit` a CSS `width` or `height` needs to be defined on the host but not both.
62
+ * Sets the display size of the signature using predefined PDS sizes. Use `inherit` with a CSS `width` or `height` on the host for custom sizing.
63
63
  * @default 'small'
64
64
  */
65
65
  size?: ModelSignatureSize;
@@ -1,23 +1,23 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
2
  export type PMultiSelectOptionProps = BaseProps & {
3
3
  /**
4
- * Disables the option.
4
+ * Disables the option, preventing it from being selected.
5
5
  * @default false
6
6
  */
7
7
  disabled?: boolean;
8
8
  /**
9
- * The option value.
9
+ * Sets the value submitted with the form data when this option is selected in the parent multi-select.
10
10
  */
11
11
  value: string | number;
12
12
  };
13
13
  export declare const PMultiSelectOption: 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"> & {
14
14
  /**
15
- * Disables the option.
15
+ * Disables the option, preventing it from being selected.
16
16
  * @default false
17
17
  */
18
18
  disabled?: boolean;
19
19
  /**
20
- * The option value.
20
+ * Sets the value submitted with the form data when this option is selected in the parent multi-select.
21
21
  */
22
22
  value: string | number;
23
23
  } & {
@@ -2,67 +2,67 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { MultiSelectDropdownDirection, BreakpointCustomizable, MultiSelectChangeEventDetail, MultiSelectToggleEventDetail, MultiSelectState } from '../types';
3
3
  export type PMultiSelectProps = BaseProps & {
4
4
  /**
5
- * Displays the multi-select in compact mode.
5
+ * Reduces the control height and padding for a more compact layout.
6
6
  * @default false
7
7
  */
8
8
  compact?: boolean;
9
9
  /**
10
- * Supplementary text providing more context or explanation for the multi-select.
10
+ * Sets a supplementary description displayed below the label to provide additional context.
11
11
  * @default ''
12
12
  */
13
13
  description?: string;
14
14
  /**
15
- * Disables the multi-select
15
+ * Disables the multi-select, preventing all interaction. Selected values are not submitted with the form.
16
16
  * @default false
17
17
  */
18
18
  disabled?: boolean;
19
19
  /**
20
- * Changes the direction to which the dropdown list appears.
20
+ * Controls whether the dropdown opens upward (`up`) or downward (`down`), or decides automatically (`auto`).
21
21
  * @default 'auto'
22
22
  */
23
23
  dropdownDirection?: MultiSelectDropdownDirection;
24
24
  /**
25
- * The id of a form element the multi-select should be associated with.
25
+ * Associates the multi-select with a form element by its ID when not directly nested inside it.
26
26
  */
27
27
  form?: string;
28
28
  /**
29
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
29
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
30
30
  * @default false
31
31
  */
32
32
  hideLabel?: BreakpointCustomizable<boolean>;
33
33
  /**
34
- * Text content for a user-facing label.
34
+ * Sets the visible label text displayed above the multi-select control.
35
35
  * @default ''
36
36
  */
37
37
  label?: string;
38
38
  /**
39
- * The message styled depending on validation state.
39
+ * Sets the validation feedback message displayed below the control when `state` is `success` or `error`.
40
40
  * @default ''
41
41
  */
42
42
  message?: string;
43
43
  /**
44
- * The name of the control.
44
+ * Sets the name submitted with the form data to identify the selected values on the server.
45
45
  */
46
46
  name: string;
47
47
  /**
48
- * Emitted when the multi-select has lost focus.
48
+ * Emitted when the multi-select loses focus.
49
49
  */
50
50
  onBlur?: (event: CustomEvent<void>) => void;
51
51
  /**
52
- * Emitted when the selection is changed.
52
+ * Emitted when the user selects or deselects an option, with the updated array of values in the event detail.
53
53
  */
54
54
  onChange?: (event: CustomEvent<MultiSelectChangeEventDetail>) => void;
55
55
  /**
56
- * Emitted when the dropdown is toggled.
56
+ * Emitted when the dropdown opens or closes, with the new open state in the event detail.
57
57
  */
58
58
  onToggle?: (event: CustomEvent<MultiSelectToggleEventDetail>) => void;
59
59
  /**
60
- * Requires an option with a non-empty string value to be selected.
60
+ * Marks the multi-select as required form submission is blocked unless at least one option is selected.
61
61
  * @default false
62
62
  */
63
63
  required?: boolean;
64
64
  /**
65
- * The validation state.
65
+ * Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
66
66
  * @default 'none'
67
67
  */
68
68
  state?: MultiSelectState;
@@ -74,67 +74,67 @@ export type PMultiSelectProps = BaseProps & {
74
74
  };
75
75
  export declare const PMultiSelect: 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"> & {
76
76
  /**
77
- * Displays the multi-select in compact mode.
77
+ * Reduces the control height and padding for a more compact layout.
78
78
  * @default false
79
79
  */
80
80
  compact?: boolean;
81
81
  /**
82
- * Supplementary text providing more context or explanation for the multi-select.
82
+ * Sets a supplementary description displayed below the label to provide additional context.
83
83
  * @default ''
84
84
  */
85
85
  description?: string;
86
86
  /**
87
- * Disables the multi-select
87
+ * Disables the multi-select, preventing all interaction. Selected values are not submitted with the form.
88
88
  * @default false
89
89
  */
90
90
  disabled?: boolean;
91
91
  /**
92
- * Changes the direction to which the dropdown list appears.
92
+ * Controls whether the dropdown opens upward (`up`) or downward (`down`), or decides automatically (`auto`).
93
93
  * @default 'auto'
94
94
  */
95
95
  dropdownDirection?: MultiSelectDropdownDirection;
96
96
  /**
97
- * The id of a form element the multi-select should be associated with.
97
+ * Associates the multi-select with a form element by its ID when not directly nested inside it.
98
98
  */
99
99
  form?: string;
100
100
  /**
101
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
101
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
102
102
  * @default false
103
103
  */
104
104
  hideLabel?: BreakpointCustomizable<boolean>;
105
105
  /**
106
- * Text content for a user-facing label.
106
+ * Sets the visible label text displayed above the multi-select control.
107
107
  * @default ''
108
108
  */
109
109
  label?: string;
110
110
  /**
111
- * The message styled depending on validation state.
111
+ * Sets the validation feedback message displayed below the control when `state` is `success` or `error`.
112
112
  * @default ''
113
113
  */
114
114
  message?: string;
115
115
  /**
116
- * The name of the control.
116
+ * Sets the name submitted with the form data to identify the selected values on the server.
117
117
  */
118
118
  name: string;
119
119
  /**
120
- * Emitted when the multi-select has lost focus.
120
+ * Emitted when the multi-select loses focus.
121
121
  */
122
122
  onBlur?: (event: CustomEvent<void>) => void;
123
123
  /**
124
- * Emitted when the selection is changed.
124
+ * Emitted when the user selects or deselects an option, with the updated array of values in the event detail.
125
125
  */
126
126
  onChange?: (event: CustomEvent<MultiSelectChangeEventDetail>) => void;
127
127
  /**
128
- * Emitted when the dropdown is toggled.
128
+ * Emitted when the dropdown opens or closes, with the new open state in the event detail.
129
129
  */
130
130
  onToggle?: (event: CustomEvent<MultiSelectToggleEventDetail>) => void;
131
131
  /**
132
- * Requires an option with a non-empty string value to be selected.
132
+ * Marks the multi-select as required form submission is blocked unless at least one option is selected.
133
133
  * @default false
134
134
  */
135
135
  required?: boolean;
136
136
  /**
137
- * The validation state.
137
+ * Sets the validation state, controlling the visual appearance and style of the feedback message (`none`, `success`, `error`).
138
138
  * @default 'none'
139
139
  */
140
140
  state?: MultiSelectState;
@@ -1,23 +1,23 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
2
  export type POptgroupProps = BaseProps & {
3
3
  /**
4
- * Disables the optgroup.
4
+ * Disables all options in the group, preventing any of them from being selected.
5
5
  * @default false
6
6
  */
7
7
  disabled?: boolean;
8
8
  /**
9
- * The optgroup label.
9
+ * Sets the visible group heading displayed above the grouped options.
10
10
  */
11
11
  label?: string;
12
12
  };
13
13
  export declare const POptgroup: 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"> & {
14
14
  /**
15
- * Disables the optgroup.
15
+ * Disables all options in the group, preventing any of them from being selected.
16
16
  * @default false
17
17
  */
18
18
  disabled?: boolean;
19
19
  /**
20
- * The optgroup label.
20
+ * Sets the visible group heading displayed above the grouped options.
21
21
  */
22
22
  label?: string;
23
23
  } & {
@@ -2,62 +2,62 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { PaginationInternationalization, PaginationUpdateEventDetail } from '../types';
3
3
  export type PPaginationProps = BaseProps & {
4
4
  /**
5
- * Index of the currently active page.
5
+ * Sets the one-based index of the currently active page; update this prop to navigate programmatically.
6
6
  * @default 1
7
7
  */
8
8
  activePage: number;
9
9
  /**
10
- * Override the default wordings that are used for aria-labels on the next/prev and page buttons.
10
+ * Overrides the default ARIA label strings used for the previous, next, and page number buttons to support localisation.
11
11
  * @default { root: 'Pagination', prev: 'Previous page', next: 'Next page', page: 'Page', }
12
12
  */
13
13
  intl?: PaginationInternationalization;
14
14
  /**
15
- * The total count of items which should be shown per page.
15
+ * Sets the number of items displayed per page, used together with `totalItemsCount` to compute the page count.
16
16
  * @default 1
17
17
  */
18
18
  itemsPerPage?: number;
19
19
  /**
20
- * Emitted when the page changes.
20
+ * Emitted when the user navigates to a different page, carrying the new `activePage` index in the event detail.
21
21
  */
22
22
  onUpdate?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
23
23
  /**
24
- * Show or hide the button to jump to the last page.
24
+ * Shows or hides the button that jumps directly to the last page of the pagination.
25
25
  * @default true
26
26
  */
27
27
  showLastPage?: boolean;
28
28
  /**
29
- * The total count of items.
29
+ * Sets the total number of items in the dataset, used to calculate the number of pages.
30
30
  * @default 1
31
31
  */
32
32
  totalItemsCount: number;
33
33
  };
34
34
  export declare const PPagination: 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"> & {
35
35
  /**
36
- * Index of the currently active page.
36
+ * Sets the one-based index of the currently active page; update this prop to navigate programmatically.
37
37
  * @default 1
38
38
  */
39
39
  activePage: number;
40
40
  /**
41
- * Override the default wordings that are used for aria-labels on the next/prev and page buttons.
41
+ * Overrides the default ARIA label strings used for the previous, next, and page number buttons to support localisation.
42
42
  * @default { root: 'Pagination', prev: 'Previous page', next: 'Next page', page: 'Page', }
43
43
  */
44
44
  intl?: PaginationInternationalization;
45
45
  /**
46
- * The total count of items which should be shown per page.
46
+ * Sets the number of items displayed per page, used together with `totalItemsCount` to compute the page count.
47
47
  * @default 1
48
48
  */
49
49
  itemsPerPage?: number;
50
50
  /**
51
- * Emitted when the page changes.
51
+ * Emitted when the user navigates to a different page, carrying the new `activePage` index in the event detail.
52
52
  */
53
53
  onUpdate?: (event: CustomEvent<PaginationUpdateEventDetail>) => void;
54
54
  /**
55
- * Show or hide the button to jump to the last page.
55
+ * Shows or hides the button that jumps directly to the last page of the pagination.
56
56
  * @default true
57
57
  */
58
58
  showLastPage?: boolean;
59
59
  /**
60
- * The total count of items.
60
+ * Sets the total number of items in the dataset, used to calculate the number of pages.
61
61
  * @default 1
62
62
  */
63
63
  totalItemsCount: number;