@porsche-design-system/components-react 4.2.0-rc.5 → 4.3.0-rc.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 (202) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/cjs/lib/components/tabs-bar.wrapper.cjs +3 -3
  3. package/cjs/lib/components/tabs.wrapper.cjs +3 -3
  4. package/emotion/package.json +1 -8
  5. package/esm/hooks.mjs +1 -1
  6. package/esm/lib/components/accordion.wrapper.d.ts +8 -8
  7. package/esm/lib/components/banner.wrapper.d.ts +16 -16
  8. package/esm/lib/components/button-pure.wrapper.d.ts +32 -32
  9. package/esm/lib/components/button-tile.wrapper.d.ts +28 -28
  10. package/esm/lib/components/button.wrapper.d.ts +24 -24
  11. package/esm/lib/components/canvas.wrapper.d.ts +10 -10
  12. package/esm/lib/components/carousel.wrapper.d.ts +34 -34
  13. package/esm/lib/components/checkbox.wrapper.d.ts +30 -30
  14. package/esm/lib/components/crest.wrapper.d.ts +6 -6
  15. package/esm/lib/components/display.wrapper.d.ts +10 -10
  16. package/esm/lib/components/divider.wrapper.d.ts +4 -4
  17. package/esm/lib/components/drilldown-item.wrapper.d.ts +4 -4
  18. package/esm/lib/components/drilldown-link.wrapper.d.ts +12 -12
  19. package/esm/lib/components/drilldown.wrapper.d.ts +10 -10
  20. package/esm/lib/components/fieldset.wrapper.d.ts +12 -12
  21. package/esm/lib/components/flyout.wrapper.d.ts +20 -20
  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 +19 -11
  63. package/esm/lib/components/tabs-bar.wrapper.mjs +3 -3
  64. package/esm/lib/components/tabs-item.wrapper.d.ts +2 -2
  65. package/esm/lib/components/tabs.wrapper.d.ts +19 -11
  66. package/esm/lib/components/tabs.wrapper.mjs +3 -3
  67. package/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  68. package/esm/lib/components/tag.wrapper.d.ts +8 -8
  69. package/esm/lib/components/text-list.wrapper.d.ts +2 -2
  70. package/esm/lib/components/textarea.wrapper.d.ts +48 -48
  71. package/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  72. package/esm/lib/types.d.ts +13 -1
  73. package/package.json +6 -6
  74. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +179 -431
  75. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +40 -71
  76. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.cjs +4 -4
  77. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.cjs +4 -4
  78. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +1 -1
  79. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.cjs +1 -1
  80. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.cjs +1 -1
  81. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +1 -1
  82. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
  83. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +1 -1
  84. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.cjs +1 -1
  85. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
  86. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.cjs +1 -1
  87. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +1 -1
  88. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +1 -1
  89. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -1
  90. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +2 -2
  91. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -1
  92. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.cjs +1 -1
  93. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +1 -1
  94. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +1 -1
  95. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +1 -1
  96. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +1 -1
  97. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
  98. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +7 -2
  99. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +2 -2
  100. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +1 -1
  101. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +179 -431
  102. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +40 -71
  103. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +1 -1
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.mjs +4 -4
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.mjs +4 -4
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +1 -1
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +1 -1
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +1 -1
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +1 -1
  110. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +1 -1
  111. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +1 -1
  112. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +1 -1
  113. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +1 -1
  114. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +1 -1
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +1 -1
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +1 -1
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +1 -1
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +1 -1
  119. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +1 -1
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +1 -1
  121. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +1 -1
  122. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +3 -3
  123. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +2 -2
  124. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +3 -3
  125. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.mjs +1 -1
  126. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +1 -1
  127. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +1 -1
  128. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +1 -1
  129. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +1 -1
  130. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +1 -1
  131. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
  132. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +8 -3
  133. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +2 -2
  134. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +1 -1
  135. package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -8
  136. package/ssr/esm/lib/components/banner.wrapper.d.ts +16 -16
  137. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +32 -32
  138. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +28 -28
  139. package/ssr/esm/lib/components/button.wrapper.d.ts +24 -24
  140. package/ssr/esm/lib/components/canvas.wrapper.d.ts +10 -10
  141. package/ssr/esm/lib/components/carousel.wrapper.d.ts +34 -34
  142. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +30 -30
  143. package/ssr/esm/lib/components/crest.wrapper.d.ts +6 -6
  144. package/ssr/esm/lib/components/display.wrapper.d.ts +10 -10
  145. package/ssr/esm/lib/components/divider.wrapper.d.ts +4 -4
  146. package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +4 -4
  147. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +12 -12
  148. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +10 -10
  149. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +12 -12
  150. package/ssr/esm/lib/components/flyout.wrapper.d.ts +20 -20
  151. package/ssr/esm/lib/components/heading.wrapper.d.ts +14 -14
  152. package/ssr/esm/lib/components/icon.wrapper.d.ts +10 -10
  153. package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +20 -20
  154. package/ssr/esm/lib/components/input-date.wrapper.d.ts +40 -40
  155. package/ssr/esm/lib/components/input-email.wrapper.d.ts +46 -46
  156. package/ssr/esm/lib/components/input-month.wrapper.d.ts +40 -40
  157. package/ssr/esm/lib/components/input-number.wrapper.d.ts +38 -38
  158. package/ssr/esm/lib/components/input-password.wrapper.d.ts +36 -36
  159. package/ssr/esm/lib/components/input-search.wrapper.d.ts +44 -44
  160. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +44 -44
  161. package/ssr/esm/lib/components/input-text.wrapper.d.ts +44 -44
  162. package/ssr/esm/lib/components/input-time.wrapper.d.ts +40 -40
  163. package/ssr/esm/lib/components/input-url.wrapper.d.ts +44 -44
  164. package/ssr/esm/lib/components/input-week.wrapper.d.ts +40 -40
  165. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +28 -28
  166. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +22 -22
  167. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +26 -26
  168. package/ssr/esm/lib/components/link.wrapper.d.ts +20 -20
  169. package/ssr/esm/lib/components/modal.wrapper.d.ts +20 -20
  170. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +12 -12
  171. package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +4 -4
  172. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +28 -28
  173. package/ssr/esm/lib/components/optgroup.wrapper.d.ts +4 -4
  174. package/ssr/esm/lib/components/pagination.wrapper.d.ts +12 -12
  175. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +32 -32
  176. package/ssr/esm/lib/components/popover.wrapper.d.ts +6 -6
  177. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +8 -8
  178. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +30 -30
  179. package/ssr/esm/lib/components/scroller.wrapper.d.ts +6 -6
  180. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +12 -12
  181. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +30 -30
  182. package/ssr/esm/lib/components/select-option.wrapper.d.ts +4 -4
  183. package/ssr/esm/lib/components/select.wrapper.d.ts +30 -30
  184. package/ssr/esm/lib/components/sheet.wrapper.d.ts +16 -16
  185. package/ssr/esm/lib/components/spinner.wrapper.d.ts +6 -6
  186. package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +2 -2
  187. package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +2 -2
  188. package/ssr/esm/lib/components/switch.wrapper.d.ts +16 -16
  189. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +6 -6
  190. package/ssr/esm/lib/components/table.wrapper.d.ts +10 -10
  191. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +19 -11
  192. package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +2 -2
  193. package/ssr/esm/lib/components/tabs.wrapper.d.ts +19 -11
  194. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  195. package/ssr/esm/lib/components/tag.wrapper.d.ts +8 -8
  196. package/ssr/esm/lib/components/text-list.wrapper.d.ts +2 -2
  197. package/ssr/esm/lib/components/textarea.wrapper.d.ts +48 -48
  198. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  199. package/ssr/esm/lib/dsr-components/popover.d.ts +1 -1
  200. package/ssr/esm/lib/types.d.ts +13 -1
  201. package/tailwindcss/index.css +57 -75
  202. package/vanilla-extract/package.json +1 -8
@@ -2,136 +2,136 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { ButtonTileAlign, SelectedAriaAttributes, ButtonTileAriaAttribute, BreakpointCustomizable, ButtonTileAspectRatio, ButtonTileIcon, ButtonTileSize, ButtonTileType, ButtonTileWeight } from '../types';
3
3
  export type PButtonTileProps = BaseProps & {
4
4
  /**
5
- * Alignment of button and description.
5
+ * Controls the vertical placement of the description and button — `top` or `bottom`.
6
6
  * @default 'bottom'
7
7
  */
8
8
  align?: ButtonTileAlign;
9
9
  /**
10
- * Sets ARIA attributes.
10
+ * Sets ARIA attributes on the tile's action button to improve accessibility for screen readers.
11
11
  */
12
12
  aria?: SelectedAriaAttributes<ButtonTileAriaAttribute>;
13
13
  /**
14
- * Aspect ratio of the button-tile.
14
+ * Sets the width-to-height ratio of the tile media area. Supports responsive breakpoint values.
15
15
  * @default '4/3'
16
16
  */
17
17
  aspectRatio?: BreakpointCustomizable<ButtonTileAspectRatio>;
18
18
  /**
19
- * Displays the button-tile as compact version with description and button icon only.
19
+ * Renders only the icon button without the full label. Supports responsive breakpoint values.
20
20
  * @default false
21
21
  */
22
22
  compact?: BreakpointCustomizable<boolean>;
23
23
  /**
24
- * Description text.
24
+ * Sets the description text displayed in the tile's content area.
25
25
  */
26
26
  description: string;
27
27
  /**
28
- * Disables the button. No events will be triggered while disabled state is active.
28
+ * Disables the tile, preventing button interaction.
29
29
  * @default false
30
30
  */
31
31
  disabled?: boolean;
32
32
  /**
33
- * Show gradient.
33
+ * Shows a gradient overlay over the media slot to improve text legibility on bright images or videos.
34
34
  * @default false
35
35
  */
36
36
  gradient?: boolean;
37
37
  /**
38
- * The icon shown. By choosing 'none', no icon is displayed.
38
+ * Sets the icon displayed in the tile's action button. Use `none` to show no icon.
39
39
  * @default 'none'
40
40
  */
41
41
  icon?: ButtonTileIcon;
42
42
  /**
43
- * A URL path to a custom icon.
43
+ * Sets a path to a custom SVG icon for the action button, used instead of the built-in icon set.
44
44
  */
45
45
  iconSource?: string;
46
46
  /**
47
- * Label of the button.
47
+ * Sets the accessible label text of the action button rendered inside the tile.
48
48
  */
49
49
  label: string;
50
50
  /**
51
- * Disables the button-tile and shows a loading indicator. No events will be triggered while loading state is active.
51
+ * Disables the tile and shows a loading spinner to indicate an ongoing operation.
52
52
  * @default false
53
53
  */
54
54
  loading?: boolean;
55
55
  /**
56
- * Font size of the description.
56
+ * Sets the font size of the description text in the tile content area. Supports responsive breakpoint values.
57
57
  * @default 'medium'
58
58
  */
59
59
  size?: BreakpointCustomizable<ButtonTileSize>;
60
60
  /**
61
- * Specifies the type of the button.
61
+ * Sets the button's HTML type `submit` sends the form, `reset` clears it, `button` performs no default action.
62
62
  * @default 'submit'
63
63
  */
64
64
  type?: ButtonTileType;
65
65
  /**
66
- * Font weight of the description.
66
+ * Sets the font weight of the description text in the tile content area. Supports responsive breakpoint values.
67
67
  * @default 'semi-bold'
68
68
  */
69
69
  weight?: BreakpointCustomizable<ButtonTileWeight>;
70
70
  };
71
71
  export declare const PButtonTile: 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"> & {
72
72
  /**
73
- * Alignment of button and description.
73
+ * Controls the vertical placement of the description and button — `top` or `bottom`.
74
74
  * @default 'bottom'
75
75
  */
76
76
  align?: ButtonTileAlign;
77
77
  /**
78
- * Sets ARIA attributes.
78
+ * Sets ARIA attributes on the tile's action button to improve accessibility for screen readers.
79
79
  */
80
80
  aria?: SelectedAriaAttributes<ButtonTileAriaAttribute>;
81
81
  /**
82
- * Aspect ratio of the button-tile.
82
+ * Sets the width-to-height ratio of the tile media area. Supports responsive breakpoint values.
83
83
  * @default '4/3'
84
84
  */
85
85
  aspectRatio?: BreakpointCustomizable<ButtonTileAspectRatio>;
86
86
  /**
87
- * Displays the button-tile as compact version with description and button icon only.
87
+ * Renders only the icon button without the full label. Supports responsive breakpoint values.
88
88
  * @default false
89
89
  */
90
90
  compact?: BreakpointCustomizable<boolean>;
91
91
  /**
92
- * Description text.
92
+ * Sets the description text displayed in the tile's content area.
93
93
  */
94
94
  description: string;
95
95
  /**
96
- * Disables the button. No events will be triggered while disabled state is active.
96
+ * Disables the tile, preventing button interaction.
97
97
  * @default false
98
98
  */
99
99
  disabled?: boolean;
100
100
  /**
101
- * Show gradient.
101
+ * Shows a gradient overlay over the media slot to improve text legibility on bright images or videos.
102
102
  * @default false
103
103
  */
104
104
  gradient?: boolean;
105
105
  /**
106
- * The icon shown. By choosing 'none', no icon is displayed.
106
+ * Sets the icon displayed in the tile's action button. Use `none` to show no icon.
107
107
  * @default 'none'
108
108
  */
109
109
  icon?: ButtonTileIcon;
110
110
  /**
111
- * A URL path to a custom icon.
111
+ * Sets a path to a custom SVG icon for the action button, used instead of the built-in icon set.
112
112
  */
113
113
  iconSource?: string;
114
114
  /**
115
- * Label of the button.
115
+ * Sets the accessible label text of the action button rendered inside the tile.
116
116
  */
117
117
  label: string;
118
118
  /**
119
- * Disables the button-tile and shows a loading indicator. No events will be triggered while loading state is active.
119
+ * Disables the tile and shows a loading spinner to indicate an ongoing operation.
120
120
  * @default false
121
121
  */
122
122
  loading?: boolean;
123
123
  /**
124
- * Font size of the description.
124
+ * Sets the font size of the description text in the tile content area. Supports responsive breakpoint values.
125
125
  * @default 'medium'
126
126
  */
127
127
  size?: BreakpointCustomizable<ButtonTileSize>;
128
128
  /**
129
- * Specifies the type of the button.
129
+ * Sets the button's HTML type `submit` sends the form, `reset` clears it, `button` performs no default action.
130
130
  * @default 'submit'
131
131
  */
132
132
  type?: ButtonTileType;
133
133
  /**
134
- * Font weight of the description.
134
+ * Sets the font weight of the description text in the tile content area. Supports responsive breakpoint values.
135
135
  * @default 'semi-bold'
136
136
  */
137
137
  weight?: BreakpointCustomizable<ButtonTileWeight>;
@@ -2,114 +2,114 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, ButtonAriaAttribute, BreakpointCustomizable, ButtonIcon, ButtonType, ButtonVariant } from '../types';
3
3
  export type PButtonProps = BaseProps & {
4
4
  /**
5
- * Sets ARIA attributes.
5
+ * Sets ARIA attributes on the button to improve accessibility for screen readers.
6
6
  */
7
7
  aria?: SelectedAriaAttributes<ButtonAriaAttribute>;
8
8
  /**
9
- * Displays the button in compact mode.
9
+ * Reduces the button's height and padding for denser layouts. Supports responsive breakpoint values.
10
10
  * @default false
11
11
  */
12
12
  compact?: BreakpointCustomizable<boolean>;
13
13
  /**
14
- * Disables the button. No events will be triggered while disabled state is active.
14
+ * Disables the button, preventing all interaction and blocking events.
15
15
  * @default false
16
16
  */
17
17
  disabled?: boolean;
18
18
  /**
19
- * The id of a form element the button should be associated with.
19
+ * Associates the button with a form element by its ID, so it can submit or reset that form even when placed outside of it.
20
20
  */
21
21
  form?: string;
22
22
  /**
23
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
23
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
24
24
  * @default false
25
25
  */
26
26
  hideLabel?: BreakpointCustomizable<boolean>;
27
27
  /**
28
- * The icon shown. By choosing 'none', no icon is displayed.
28
+ * Sets the icon displayed inside the button. Use `none` to show no icon.
29
29
  * @default 'none'
30
30
  */
31
31
  icon?: ButtonIcon;
32
32
  /**
33
- * A URL path to a custom icon.
33
+ * Sets a path to a custom SVG icon, used instead of the built-in icon set.
34
34
  */
35
35
  iconSource?: string;
36
36
  /**
37
- * Disables the button and shows a loading indicator. No events will be triggered while loading state is active.
37
+ * Disables the button and replaces its content with a loading spinner to indicate an ongoing operation.
38
38
  * @default false
39
39
  */
40
40
  loading?: boolean;
41
41
  /**
42
- * The name of the button, submitted as a pair with the button's value as part of the form data, when that button is used to submit the form.
42
+ * Sets the name submitted with the form data when this button triggers form submission.
43
43
  */
44
44
  name?: string;
45
45
  /**
46
- * Specifies the type of the button.
46
+ * Sets the button's HTML type `submit` sends the form, `reset` clears it, `button` performs no default action.
47
47
  * @default 'submit'
48
48
  */
49
49
  type?: ButtonType;
50
50
  /**
51
- * Defines the value associated with the button's name when it's submitted with the form data. This value is passed to the server in params when the form is submitted using this button.
51
+ * Sets the value submitted with the form data when this button triggers form submission, paired with `name`.
52
52
  */
53
53
  value?: string;
54
54
  /**
55
- * The style variant of the button.
55
+ * Sets the visual style variant of the button (e.g. `primary`, `secondary`, `tertiary`).
56
56
  * @default 'primary'
57
57
  */
58
58
  variant?: ButtonVariant;
59
59
  };
60
60
  export declare const PButton: 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"> & {
61
61
  /**
62
- * Sets ARIA attributes.
62
+ * Sets ARIA attributes on the button to improve accessibility for screen readers.
63
63
  */
64
64
  aria?: SelectedAriaAttributes<ButtonAriaAttribute>;
65
65
  /**
66
- * Displays the button in compact mode.
66
+ * Reduces the button's height and padding for denser layouts. Supports responsive breakpoint values.
67
67
  * @default false
68
68
  */
69
69
  compact?: BreakpointCustomizable<boolean>;
70
70
  /**
71
- * Disables the button. No events will be triggered while disabled state is active.
71
+ * Disables the button, preventing all interaction and blocking events.
72
72
  * @default false
73
73
  */
74
74
  disabled?: boolean;
75
75
  /**
76
- * The id of a form element the button should be associated with.
76
+ * Associates the button with a form element by its ID, so it can submit or reset that form even when placed outside of it.
77
77
  */
78
78
  form?: string;
79
79
  /**
80
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
80
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
81
81
  * @default false
82
82
  */
83
83
  hideLabel?: BreakpointCustomizable<boolean>;
84
84
  /**
85
- * The icon shown. By choosing 'none', no icon is displayed.
85
+ * Sets the icon displayed inside the button. Use `none` to show no icon.
86
86
  * @default 'none'
87
87
  */
88
88
  icon?: ButtonIcon;
89
89
  /**
90
- * A URL path to a custom icon.
90
+ * Sets a path to a custom SVG icon, used instead of the built-in icon set.
91
91
  */
92
92
  iconSource?: string;
93
93
  /**
94
- * Disables the button and shows a loading indicator. No events will be triggered while loading state is active.
94
+ * Disables the button and replaces its content with a loading spinner to indicate an ongoing operation.
95
95
  * @default false
96
96
  */
97
97
  loading?: boolean;
98
98
  /**
99
- * The name of the button, submitted as a pair with the button's value as part of the form data, when that button is used to submit the form.
99
+ * Sets the name submitted with the form data when this button triggers form submission.
100
100
  */
101
101
  name?: string;
102
102
  /**
103
- * Specifies the type of the button.
103
+ * Sets the button's HTML type `submit` sends the form, `reset` clears it, `button` performs no default action.
104
104
  * @default 'submit'
105
105
  */
106
106
  type?: ButtonType;
107
107
  /**
108
- * Defines the value associated with the button's name when it's submitted with the form data. This value is passed to the server in params when the form is submitted using this button.
108
+ * Sets the value submitted with the form data when this button triggers form submission, paired with `name`.
109
109
  */
110
110
  value?: string;
111
111
  /**
112
- * The style variant of the button.
112
+ * Sets the visual style variant of the button (e.g. `primary`, `secondary`, `tertiary`).
113
113
  * @default 'primary'
114
114
  */
115
115
  variant?: ButtonVariant;
@@ -2,50 +2,50 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { CanvasBackground, CanvasSidebarStartUpdateEventDetail } from '../types';
3
3
  export type PCanvasProps = BaseProps & {
4
4
  /**
5
- * Defines the background color of the main section and auto adjust it for the sidebar
5
+ * Sets the background color of the main content area and automatically applies a matching color to the sidebar.
6
6
  * @default 'canvas'
7
7
  */
8
8
  background?: CanvasBackground;
9
9
  /**
10
- * Emitted when the sidebar end requests to be dismissed.
10
+ * Emitted when the user dismisses the end sidebar via the close button.
11
11
  */
12
12
  onSidebarEndDismiss?: (event: CustomEvent<void>) => void;
13
13
  /**
14
- * Emitted when the sidebar start requests to be opened or dismissed.
14
+ * Emitted when the user toggles the start sidebar, with the new open state in the event detail.
15
15
  */
16
16
  onSidebarStartUpdate?: (event: CustomEvent<CanvasSidebarStartUpdateEventDetail>) => void;
17
17
  /**
18
- * Open the sidebar on the end side
18
+ * Controls whether the utility sidebar on the end side (right in LTR) is open or collapsed.
19
19
  * @default false
20
20
  */
21
21
  sidebarEndOpen?: boolean;
22
22
  /**
23
- * Open the sidebar on the start side
23
+ * Controls whether the navigation sidebar on the start side (left in LTR) is open or collapsed.
24
24
  * @default false
25
25
  */
26
26
  sidebarStartOpen?: boolean;
27
27
  };
28
28
  export declare const PCanvas: 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"> & {
29
29
  /**
30
- * Defines the background color of the main section and auto adjust it for the sidebar
30
+ * Sets the background color of the main content area and automatically applies a matching color to the sidebar.
31
31
  * @default 'canvas'
32
32
  */
33
33
  background?: CanvasBackground;
34
34
  /**
35
- * Emitted when the sidebar end requests to be dismissed.
35
+ * Emitted when the user dismisses the end sidebar via the close button.
36
36
  */
37
37
  onSidebarEndDismiss?: (event: CustomEvent<void>) => void;
38
38
  /**
39
- * Emitted when the sidebar start requests to be opened or dismissed.
39
+ * Emitted when the user toggles the start sidebar, with the new open state in the event detail.
40
40
  */
41
41
  onSidebarStartUpdate?: (event: CustomEvent<CanvasSidebarStartUpdateEventDetail>) => void;
42
42
  /**
43
- * Open the sidebar on the end side
43
+ * Controls whether the utility sidebar on the end side (right in LTR) is open or collapsed.
44
44
  * @default false
45
45
  */
46
46
  sidebarEndOpen?: boolean;
47
47
  /**
48
- * Open the sidebar on the start side
48
+ * Controls whether the navigation sidebar on the start side (left in LTR) is open or collapsed.
49
49
  * @default false
50
50
  */
51
51
  sidebarStartOpen?: boolean;
@@ -2,162 +2,162 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { CarouselAlignControls, CarouselAlignHeader, SelectedAriaAttributes, CarouselAriaAttribute, CarouselHeadingSize, CarouselInternationalization, CarouselUpdateEventDetail, BreakpointCustomizable, CarouselSlidesPerPage, CarouselWidth } from '../types';
3
3
  export type PCarouselProps = BaseProps & {
4
4
  /**
5
- * Defines which slide is active (zero-based numbering).
5
+ * Sets the zero-based index of the currently visible slide. Update this to navigate programmatically.
6
6
  * @default 0
7
7
  */
8
8
  activeSlideIndex?: number;
9
9
  /**
10
- * Aligns the slotted controls.
10
+ * Controls the alignment of custom slotted controls within the header area.
11
11
  * @default 'auto'
12
12
  */
13
13
  alignControls?: CarouselAlignControls;
14
14
  /**
15
- * Aligns the heading and description.
15
+ * Controls the horizontal alignment of the heading and description.
16
16
  * @default 'start'
17
17
  */
18
18
  alignHeader?: CarouselAlignHeader;
19
19
  /**
20
- * Sets ARIA attributes.
20
+ * Sets ARIA attributes on the carousel region element for improved accessibility.
21
21
  */
22
22
  aria?: SelectedAriaAttributes<CarouselAriaAttribute>;
23
23
  /**
24
- * Defines the description used in the carousel.
24
+ * Sets the description text displayed below the heading for additional context.
25
25
  */
26
26
  description?: string;
27
27
  /**
28
- * Indicates whether focus should be set on the center slide. If true, the carousel loops by individual slide; otherwise, it loops by page.
28
+ * When enabled, each slide is individually focusable and the carousel navigates one slide at a time instead of one page.
29
29
  * @default false
30
30
  */
31
31
  focusOnCenterSlide?: boolean;
32
32
  /**
33
- * Fades the slides out.
33
+ * Shows a gradient fade at the start and end edges to visually indicate more slides beyond the viewport.
34
34
  * @default false
35
35
  */
36
36
  gradient?: boolean;
37
37
  /**
38
- * Defines the heading used in the carousel.
38
+ * Sets the heading text displayed above the carousel. Also used as the accessible label when no `aria` prop is set.
39
39
  */
40
40
  heading?: string;
41
41
  /**
42
- * Defines the heading size used in the carousel.
42
+ * Sets the font size of the carousel heading.
43
43
  * @default 'x-large'
44
44
  */
45
45
  headingSize?: CarouselHeadingSize;
46
46
  /**
47
- * Override the default wordings that are used for aria-labels on the next/prev buttons and pagination.
47
+ * Overrides the default label strings used for the previous, next, and page indicators — useful for localization.
48
48
  */
49
49
  intl?: CarouselInternationalization;
50
50
  /**
51
- * Emitted when carousel's content slides.
51
+ * Emitted when the carousel navigates to a new slide, with the active and previous slide indexes in the event detail.
52
52
  */
53
53
  onUpdate?: (event: CustomEvent<CarouselUpdateEventDetail>) => void;
54
54
  /**
55
- * If false, the carousel will not show pagination bullets at the bottom.
55
+ * Shows pagination dot indicators below the carousel. Supports responsive breakpoint values.
56
56
  * @default false
57
57
  */
58
58
  pagination?: BreakpointCustomizable<boolean>;
59
59
  /**
60
- * Whether the slides should rewind from last to first slide and vice versa.
60
+ * Enables infinite looping navigating past the last slide wraps back to the first, and vice versa.
61
61
  * @default false
62
62
  */
63
63
  rewind?: boolean;
64
64
  /**
65
- * Defines the skip link target used to skip carousel entries.
65
+ * Sets the `href` of an in-page skip link that lets keyboard users jump past the carousel slides.
66
66
  */
67
67
  skipLinkTarget?: string;
68
68
  /**
69
- * Sets the amount of slides visible at the same time. Can be set to `auto` if you want to define different widths per slide via CSS.
69
+ * Sets how many slides are visible at once. Use `auto` to control each slide's width via CSS. Supports responsive breakpoint values.
70
70
  * @default 1
71
71
  */
72
72
  slidesPerPage?: BreakpointCustomizable<CarouselSlidesPerPage>;
73
73
  /**
74
- * Determines whether to trim spaces before/after the carousel if `focusOnCenterSlide` option is true.
74
+ * Removes whitespace before the first and after the last slide when `focusOnCenterSlide` is enabled.
75
75
  * @default false
76
76
  */
77
77
  trimSpace?: boolean;
78
78
  /**
79
- * Defines the outer spacings between the carousel and the left and right screen sides.
79
+ * Sets the maximum width and outer spacing of the carousel, aligned to PDS grid widths.
80
80
  * @default 'basic'
81
81
  */
82
82
  width?: CarouselWidth;
83
83
  };
84
84
  export declare const PCarousel: 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"> & {
85
85
  /**
86
- * Defines which slide is active (zero-based numbering).
86
+ * Sets the zero-based index of the currently visible slide. Update this to navigate programmatically.
87
87
  * @default 0
88
88
  */
89
89
  activeSlideIndex?: number;
90
90
  /**
91
- * Aligns the slotted controls.
91
+ * Controls the alignment of custom slotted controls within the header area.
92
92
  * @default 'auto'
93
93
  */
94
94
  alignControls?: CarouselAlignControls;
95
95
  /**
96
- * Aligns the heading and description.
96
+ * Controls the horizontal alignment of the heading and description.
97
97
  * @default 'start'
98
98
  */
99
99
  alignHeader?: CarouselAlignHeader;
100
100
  /**
101
- * Sets ARIA attributes.
101
+ * Sets ARIA attributes on the carousel region element for improved accessibility.
102
102
  */
103
103
  aria?: SelectedAriaAttributes<CarouselAriaAttribute>;
104
104
  /**
105
- * Defines the description used in the carousel.
105
+ * Sets the description text displayed below the heading for additional context.
106
106
  */
107
107
  description?: string;
108
108
  /**
109
- * Indicates whether focus should be set on the center slide. If true, the carousel loops by individual slide; otherwise, it loops by page.
109
+ * When enabled, each slide is individually focusable and the carousel navigates one slide at a time instead of one page.
110
110
  * @default false
111
111
  */
112
112
  focusOnCenterSlide?: boolean;
113
113
  /**
114
- * Fades the slides out.
114
+ * Shows a gradient fade at the start and end edges to visually indicate more slides beyond the viewport.
115
115
  * @default false
116
116
  */
117
117
  gradient?: boolean;
118
118
  /**
119
- * Defines the heading used in the carousel.
119
+ * Sets the heading text displayed above the carousel. Also used as the accessible label when no `aria` prop is set.
120
120
  */
121
121
  heading?: string;
122
122
  /**
123
- * Defines the heading size used in the carousel.
123
+ * Sets the font size of the carousel heading.
124
124
  * @default 'x-large'
125
125
  */
126
126
  headingSize?: CarouselHeadingSize;
127
127
  /**
128
- * Override the default wordings that are used for aria-labels on the next/prev buttons and pagination.
128
+ * Overrides the default label strings used for the previous, next, and page indicators — useful for localization.
129
129
  */
130
130
  intl?: CarouselInternationalization;
131
131
  /**
132
- * Emitted when carousel's content slides.
132
+ * Emitted when the carousel navigates to a new slide, with the active and previous slide indexes in the event detail.
133
133
  */
134
134
  onUpdate?: (event: CustomEvent<CarouselUpdateEventDetail>) => void;
135
135
  /**
136
- * If false, the carousel will not show pagination bullets at the bottom.
136
+ * Shows pagination dot indicators below the carousel. Supports responsive breakpoint values.
137
137
  * @default false
138
138
  */
139
139
  pagination?: BreakpointCustomizable<boolean>;
140
140
  /**
141
- * Whether the slides should rewind from last to first slide and vice versa.
141
+ * Enables infinite looping navigating past the last slide wraps back to the first, and vice versa.
142
142
  * @default false
143
143
  */
144
144
  rewind?: boolean;
145
145
  /**
146
- * Defines the skip link target used to skip carousel entries.
146
+ * Sets the `href` of an in-page skip link that lets keyboard users jump past the carousel slides.
147
147
  */
148
148
  skipLinkTarget?: string;
149
149
  /**
150
- * Sets the amount of slides visible at the same time. Can be set to `auto` if you want to define different widths per slide via CSS.
150
+ * Sets how many slides are visible at once. Use `auto` to control each slide's width via CSS. Supports responsive breakpoint values.
151
151
  * @default 1
152
152
  */
153
153
  slidesPerPage?: BreakpointCustomizable<CarouselSlidesPerPage>;
154
154
  /**
155
- * Determines whether to trim spaces before/after the carousel if `focusOnCenterSlide` option is true.
155
+ * Removes whitespace before the first and after the last slide when `focusOnCenterSlide` is enabled.
156
156
  * @default false
157
157
  */
158
158
  trimSpace?: boolean;
159
159
  /**
160
- * Defines the outer spacings between the carousel and the left and right screen sides.
160
+ * Sets the maximum width and outer spacing of the carousel, aligned to PDS grid widths.
161
161
  * @default 'basic'
162
162
  */
163
163
  width?: CarouselWidth;