@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
package/CHANGELOG.md CHANGED
@@ -14,10 +14,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [4.2.0] - 2026-06-22
18
+
17
19
  ## [4.2.0-rc.5] - 2026-06-12
18
20
 
19
21
  ### Added
20
22
 
23
+ - `Angular`: Bumped peer dependency to support Angular new major version 22
24
+ ([#4505](https://github.com/porsche-design-system/porsche-design-system/pull/4505))
21
25
  - `Flyout`: Prop `fullscreen` to stretch the flyout to the full viewport width with squared corners, useful for smaller
22
26
  viewports ([#4498](https://github.com/porsche-design-system/porsche-design-system/pull/4498))
23
27
 
@@ -2,12 +2,5 @@
2
2
  "main": "cjs/index.cjs",
3
3
  "module": "esm/index.mjs",
4
4
  "types": "esm/index.d.ts",
5
- "sideEffects": false,
6
- "exports": {
7
- ".": {
8
- "types": "./esm/index.d.ts",
9
- "import": "./esm/index.mjs",
10
- "default": "./cjs/index.cjs"
11
- }
12
- }
5
+ "sideEffects": false
13
6
  }
package/esm/hooks.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { useContext, useEffect, useRef, useMemo, useLayoutEffect } from 'react';
2
+ import { useEffect, useContext, useLayoutEffect, useRef, useMemo } from 'react';
3
3
  import { PorscheDesignSystemContext } from './provider.mjs';
4
4
  import { getMergedClassName } from './utils.mjs';
5
5
 
@@ -2,17 +2,17 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { AccordionAlignMarker, AccordionBackground, AccordionHeadingTag, BreakpointCustomizable, AccordionUpdateEventDetail, AccordionSize } from '../types';
3
3
  export type PAccordionProps = BaseProps & {
4
4
  /**
5
- * Aligns the marker within the summary section.
5
+ * Positions the expand/collapse marker icon at the start or end of the summary section.
6
6
  * @default 'end'
7
7
  */
8
8
  alignMarker?: AccordionAlignMarker;
9
9
  /**
10
- * Defines the background color. Use `frosted` only on images, videos or gradients.
10
+ * Sets the background color of the accordion panel. Use `frosted` only when placed on images, videos, or gradients.
11
11
  * @default 'none'
12
12
  */
13
13
  background?: AccordionBackground;
14
14
  /**
15
- * Displays the accordion in compact mode.
15
+ * Reduces padding and spacing for a more compact layout, useful in space-constrained interfaces.
16
16
  */
17
17
  compact?: boolean;
18
18
  /**
@@ -30,7 +30,7 @@ export type PAccordionProps = BaseProps & {
30
30
  */
31
31
  indent?: BreakpointCustomizable<boolean>;
32
32
  /**
33
- * Emitted when the accordion state changes.
33
+ * Emitted when the user toggles the accordion open or closed, with the new open state in the event detail.
34
34
  */
35
35
  onUpdate?: (event: CustomEvent<AccordionUpdateEventDetail>) => void;
36
36
  /**
@@ -49,17 +49,17 @@ export type PAccordionProps = BaseProps & {
49
49
  };
50
50
  export declare const PAccordion: 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"> & {
51
51
  /**
52
- * Aligns the marker within the summary section.
52
+ * Positions the expand/collapse marker icon at the start or end of the summary section.
53
53
  * @default 'end'
54
54
  */
55
55
  alignMarker?: AccordionAlignMarker;
56
56
  /**
57
- * Defines the background color. Use `frosted` only on images, videos or gradients.
57
+ * Sets the background color of the accordion panel. Use `frosted` only when placed on images, videos, or gradients.
58
58
  * @default 'none'
59
59
  */
60
60
  background?: AccordionBackground;
61
61
  /**
62
- * Displays the accordion in compact mode.
62
+ * Reduces padding and spacing for a more compact layout, useful in space-constrained interfaces.
63
63
  */
64
64
  compact?: boolean;
65
65
  /**
@@ -77,7 +77,7 @@ export declare const PAccordion: import("react").ForwardRefExoticComponent<Omit<
77
77
  */
78
78
  indent?: BreakpointCustomizable<boolean>;
79
79
  /**
80
- * Emitted when the accordion state changes.
80
+ * Emitted when the user toggles the accordion open or closed, with the new open state in the event detail.
81
81
  */
82
82
  onUpdate?: (event: CustomEvent<AccordionUpdateEventDetail>) => void;
83
83
  /**
@@ -2,82 +2,82 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { BannerHeadingTag, BreakpointCustomizable, BannerPosition, BannerState } from '../types';
3
3
  export type PBannerProps = BaseProps & {
4
4
  /**
5
- * Sets the description text of the banner.
5
+ * Sets the supporting description text shown below the heading.
6
6
  * @default ''
7
7
  */
8
8
  description?: string;
9
9
  /**
10
- * Shows a dismiss button allowing the banner to be closed.
10
+ * Shows a dismiss button so the user can manually close the banner.
11
11
  * @default true
12
12
  */
13
13
  dismissButton?: boolean;
14
14
  /**
15
- * Sets the heading text of the banner.
15
+ * Sets the heading text displayed at the top of the banner.
16
16
  * @default ''
17
17
  */
18
18
  heading?: string;
19
19
  /**
20
- * Sets the heading tag for proper semantic structure within the page.
20
+ * Sets the HTML heading tag (e.g. h2, h3) to maintain correct document structure for the heading.
21
21
  * @default 'h5'
22
22
  */
23
23
  headingTag?: BannerHeadingTag;
24
24
  /**
25
- * Emitted when the banner is requested to be dismissed.
25
+ * Emitted when the user closes the banner via the dismiss button or Escape key.
26
26
  */
27
27
  onDismiss?: (event: CustomEvent<void>) => void;
28
28
  /**
29
- * Controls whether the banner is open or closed.
29
+ * Controls whether the banner is visible. Set to `true` to show it and `false` to hide it.
30
30
  * @default false
31
31
  */
32
32
  open: boolean;
33
33
  /**
34
- * Sets the position of the banner.
34
+ * Sets the position of the banner on screen — `top` or `bottom`. Supports responsive breakpoint values.
35
35
  * @default { base: 'bottom', s: 'top' }
36
36
  */
37
37
  position?: BreakpointCustomizable<BannerPosition>;
38
38
  /**
39
- * Defines the visual state of the banner.
39
+ * Sets the visual state of the banner — controls the icon and color scheme (`info`, `warning`, `error`, `success`).
40
40
  * @default 'info'
41
41
  */
42
42
  state?: BannerState;
43
43
  };
44
44
  export declare const PBanner: 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"> & {
45
45
  /**
46
- * Sets the description text of the banner.
46
+ * Sets the supporting description text shown below the heading.
47
47
  * @default ''
48
48
  */
49
49
  description?: string;
50
50
  /**
51
- * Shows a dismiss button allowing the banner to be closed.
51
+ * Shows a dismiss button so the user can manually close the banner.
52
52
  * @default true
53
53
  */
54
54
  dismissButton?: boolean;
55
55
  /**
56
- * Sets the heading text of the banner.
56
+ * Sets the heading text displayed at the top of the banner.
57
57
  * @default ''
58
58
  */
59
59
  heading?: string;
60
60
  /**
61
- * Sets the heading tag for proper semantic structure within the page.
61
+ * Sets the HTML heading tag (e.g. h2, h3) to maintain correct document structure for the heading.
62
62
  * @default 'h5'
63
63
  */
64
64
  headingTag?: BannerHeadingTag;
65
65
  /**
66
- * Emitted when the banner is requested to be dismissed.
66
+ * Emitted when the user closes the banner via the dismiss button or Escape key.
67
67
  */
68
68
  onDismiss?: (event: CustomEvent<void>) => void;
69
69
  /**
70
- * Controls whether the banner is open or closed.
70
+ * Controls whether the banner is visible. Set to `true` to show it and `false` to hide it.
71
71
  * @default false
72
72
  */
73
73
  open: boolean;
74
74
  /**
75
- * Sets the position of the banner.
75
+ * Sets the position of the banner on screen — `top` or `bottom`. Supports responsive breakpoint values.
76
76
  * @default { base: 'bottom', s: 'top' }
77
77
  */
78
78
  position?: BreakpointCustomizable<BannerPosition>;
79
79
  /**
80
- * Defines the visual state of the banner.
80
+ * Sets the visual state of the banner — controls the icon and color scheme (`info`, `warning`, `error`, `success`).
81
81
  * @default 'info'
82
82
  */
83
83
  state?: BannerState;
@@ -2,155 +2,155 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { BreakpointCustomizable, ButtonPureAlignLabel, SelectedAriaAttributes, ButtonPureAriaAttribute, ButtonPureColor, ButtonPureIcon, ButtonPureSize, ButtonPureType } from '../types';
3
3
  export type PButtonPureProps = BaseProps & {
4
4
  /**
5
- * Displays the button in its active state.
5
+ * Visually marks the button as the currently active or selected item, useful for navigation and toggle patterns.
6
6
  * @default false
7
7
  */
8
8
  active?: boolean;
9
9
  /**
10
- * Aligns the label.
10
+ * Sets the label position relative to the icon — `start` places it before, `end` places it after. Supports responsive breakpoint values.
11
11
  * @default 'end'
12
12
  */
13
13
  alignLabel?: BreakpointCustomizable<ButtonPureAlignLabel>;
14
14
  /**
15
- * Sets ARIA attributes.
15
+ * Sets ARIA attributes on the button to improve accessibility for screen readers.
16
16
  */
17
17
  aria?: SelectedAriaAttributes<ButtonPureAriaAttribute>;
18
18
  /**
19
- * The color.
19
+ * Sets the foreground color of the button's icon and label text.
20
20
  * @default 'primary'
21
21
  */
22
22
  color?: ButtonPureColor;
23
23
  /**
24
- * Disables the button. No events will be triggered while disabled state is active.
24
+ * Disables the button, preventing all interaction and blocking events.
25
25
  * @default false
26
26
  */
27
27
  disabled?: boolean;
28
28
  /**
29
- * The id of a form element the button should be associated with.
29
+ * Associates the button with a form element by its ID, so it can submit or reset that form even when placed outside of it.
30
30
  */
31
31
  form?: string;
32
32
  /**
33
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
33
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
34
34
  * @default false
35
35
  */
36
36
  hideLabel?: BreakpointCustomizable<boolean>;
37
37
  /**
38
- * The icon shown.
38
+ * Sets the icon displayed next to the label.
39
39
  * @default 'arrow-right'
40
40
  */
41
41
  icon?: ButtonPureIcon;
42
42
  /**
43
- * A URL path to a custom icon.
43
+ * Sets a path to a custom SVG icon, used instead of the built-in icon set.
44
44
  */
45
45
  iconSource?: string;
46
46
  /**
47
- * Disables the button and shows a loading indicator. No events will be triggered while loading state is active.
47
+ * Disables the button and replaces its icon with a loading spinner to indicate an ongoing operation.
48
48
  * @default false
49
49
  */
50
50
  loading?: boolean;
51
51
  /**
52
- * 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.
52
+ * Sets the name submitted with the form data when this button triggers form submission.
53
53
  */
54
54
  name?: string;
55
55
  /**
56
- * Size of the button.
56
+ * Sets the font size of the button label. Supports responsive breakpoint values.
57
57
  * @default 'sm'
58
58
  */
59
59
  size?: BreakpointCustomizable<ButtonPureSize>;
60
60
  /**
61
- * Stretches the area between icon and label to max available space.
61
+ * Expands the space between icon and label to fill the full container width. Supports responsive breakpoint values.
62
62
  * @default false
63
63
  */
64
64
  stretch?: BreakpointCustomizable<boolean>;
65
65
  /**
66
- * Specifies the type of the button.
66
+ * Sets the button's HTML type `submit` sends the form, `reset` clears it, `button` performs no default action.
67
67
  * @default 'submit'
68
68
  */
69
69
  type?: ButtonPureType;
70
70
  /**
71
- * Shows an underline under the label.
71
+ * Adds a text underline to the label to reinforce the button's link-like appearance.
72
72
  * @default false
73
73
  */
74
74
  underline?: boolean;
75
75
  /**
76
- * 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.
76
+ * Sets the value submitted with the form data when this button triggers form submission, paired with `name`.
77
77
  */
78
78
  value?: string;
79
79
  };
80
80
  export declare const PButtonPure: 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"> & {
81
81
  /**
82
- * Displays the button in its active state.
82
+ * Visually marks the button as the currently active or selected item, useful for navigation and toggle patterns.
83
83
  * @default false
84
84
  */
85
85
  active?: boolean;
86
86
  /**
87
- * Aligns the label.
87
+ * Sets the label position relative to the icon — `start` places it before, `end` places it after. Supports responsive breakpoint values.
88
88
  * @default 'end'
89
89
  */
90
90
  alignLabel?: BreakpointCustomizable<ButtonPureAlignLabel>;
91
91
  /**
92
- * Sets ARIA attributes.
92
+ * Sets ARIA attributes on the button to improve accessibility for screen readers.
93
93
  */
94
94
  aria?: SelectedAriaAttributes<ButtonPureAriaAttribute>;
95
95
  /**
96
- * The color.
96
+ * Sets the foreground color of the button's icon and label text.
97
97
  * @default 'primary'
98
98
  */
99
99
  color?: ButtonPureColor;
100
100
  /**
101
- * Disables the button. No events will be triggered while disabled state is active.
101
+ * Disables the button, preventing all interaction and blocking events.
102
102
  * @default false
103
103
  */
104
104
  disabled?: boolean;
105
105
  /**
106
- * The id of a form element the button should be associated with.
106
+ * Associates the button with a form element by its ID, so it can submit or reset that form even when placed outside of it.
107
107
  */
108
108
  form?: string;
109
109
  /**
110
- * Shows or hides the label. For better accessibility, it is recommended to show the label.
110
+ * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
111
111
  * @default false
112
112
  */
113
113
  hideLabel?: BreakpointCustomizable<boolean>;
114
114
  /**
115
- * The icon shown.
115
+ * Sets the icon displayed next to the label.
116
116
  * @default 'arrow-right'
117
117
  */
118
118
  icon?: ButtonPureIcon;
119
119
  /**
120
- * A URL path to a custom icon.
120
+ * Sets a path to a custom SVG icon, used instead of the built-in icon set.
121
121
  */
122
122
  iconSource?: string;
123
123
  /**
124
- * Disables the button and shows a loading indicator. No events will be triggered while loading state is active.
124
+ * Disables the button and replaces its icon with a loading spinner to indicate an ongoing operation.
125
125
  * @default false
126
126
  */
127
127
  loading?: boolean;
128
128
  /**
129
- * 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.
129
+ * Sets the name submitted with the form data when this button triggers form submission.
130
130
  */
131
131
  name?: string;
132
132
  /**
133
- * Size of the button.
133
+ * Sets the font size of the button label. Supports responsive breakpoint values.
134
134
  * @default 'sm'
135
135
  */
136
136
  size?: BreakpointCustomizable<ButtonPureSize>;
137
137
  /**
138
- * Stretches the area between icon and label to max available space.
138
+ * Expands the space between icon and label to fill the full container width. Supports responsive breakpoint values.
139
139
  * @default false
140
140
  */
141
141
  stretch?: BreakpointCustomizable<boolean>;
142
142
  /**
143
- * Specifies the type of the button.
143
+ * Sets the button's HTML type `submit` sends the form, `reset` clears it, `button` performs no default action.
144
144
  * @default 'submit'
145
145
  */
146
146
  type?: ButtonPureType;
147
147
  /**
148
- * Shows an underline under the label.
148
+ * Adds a text underline to the label to reinforce the button's link-like appearance.
149
149
  * @default false
150
150
  */
151
151
  underline?: boolean;
152
152
  /**
153
- * 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.
153
+ * Sets the value submitted with the form data when this button triggers form submission, paired with `name`.
154
154
  */
155
155
  value?: string;
156
156
  } & {
@@ -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>;