@porsche-design-system/components-react 4.0.0-beta.2 → 4.0.0-beta.4

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 (184) hide show
  1. package/CHANGELOG.md +334 -1
  2. package/OSS_NOTICE +1649 -5178
  3. package/cjs/lib/components/button-pure.wrapper.cjs +3 -3
  4. package/cjs/lib/components/display.wrapper.cjs +1 -0
  5. package/cjs/lib/components/flag.wrapper.cjs +1 -1
  6. package/cjs/lib/components/heading.wrapper.cjs +3 -3
  7. package/cjs/lib/components/icon.wrapper.cjs +1 -1
  8. package/cjs/lib/components/link-pure.wrapper.cjs +3 -3
  9. package/cjs/lib/components/spinner.wrapper.cjs +3 -3
  10. package/cjs/lib/components/text.wrapper.cjs +3 -3
  11. package/esm/lib/components/accordion.wrapper.d.ts +8 -8
  12. package/esm/lib/components/button-pure.wrapper.d.ts +15 -7
  13. package/esm/lib/components/button-pure.wrapper.mjs +3 -3
  14. package/esm/lib/components/button-tile.wrapper.d.ts +2 -2
  15. package/esm/lib/components/button.wrapper.d.ts +6 -6
  16. package/esm/lib/components/carousel.wrapper.d.ts +10 -10
  17. package/esm/lib/components/checkbox.wrapper.d.ts +6 -6
  18. package/esm/lib/components/crest.wrapper.d.ts +6 -6
  19. package/esm/lib/components/display.wrapper.d.ts +1 -0
  20. package/esm/lib/components/display.wrapper.mjs +1 -0
  21. package/esm/lib/components/drilldown-link.wrapper.d.ts +8 -8
  22. package/esm/lib/components/drilldown.wrapper.d.ts +8 -8
  23. package/esm/lib/components/fieldset.wrapper.d.ts +6 -6
  24. package/esm/lib/components/flag.wrapper.d.ts +5 -5
  25. package/esm/lib/components/flag.wrapper.mjs +1 -1
  26. package/esm/lib/components/flyout.wrapper.d.ts +2 -2
  27. package/esm/lib/components/heading.wrapper.d.ts +27 -11
  28. package/esm/lib/components/heading.wrapper.mjs +3 -3
  29. package/esm/lib/components/icon.wrapper.d.ts +7 -7
  30. package/esm/lib/components/icon.wrapper.mjs +1 -1
  31. package/esm/lib/components/input-date.wrapper.d.ts +12 -12
  32. package/esm/lib/components/input-email.wrapper.d.ts +8 -8
  33. package/esm/lib/components/input-month.wrapper.d.ts +12 -12
  34. package/esm/lib/components/input-number.wrapper.d.ts +8 -8
  35. package/esm/lib/components/input-password.wrapper.d.ts +6 -6
  36. package/esm/lib/components/input-search.wrapper.d.ts +6 -6
  37. package/esm/lib/components/input-tel.wrapper.d.ts +6 -6
  38. package/esm/lib/components/input-text.wrapper.d.ts +6 -6
  39. package/esm/lib/components/input-time.wrapper.d.ts +14 -14
  40. package/esm/lib/components/input-url.wrapper.d.ts +16 -16
  41. package/esm/lib/components/input-week.wrapper.d.ts +14 -14
  42. package/esm/lib/components/link-pure.wrapper.d.ts +23 -15
  43. package/esm/lib/components/link-pure.wrapper.mjs +3 -3
  44. package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -8
  45. package/esm/lib/components/link-tile.wrapper.d.ts +8 -8
  46. package/esm/lib/components/link.wrapper.d.ts +14 -14
  47. package/esm/lib/components/modal.wrapper.d.ts +2 -2
  48. package/esm/lib/components/model-signature.wrapper.d.ts +2 -2
  49. package/esm/lib/components/multi-select.wrapper.d.ts +10 -10
  50. package/esm/lib/components/pin-code.wrapper.d.ts +8 -8
  51. package/esm/lib/components/popover.wrapper.d.ts +6 -6
  52. package/esm/lib/components/radio-group-option.wrapper.d.ts +2 -2
  53. package/esm/lib/components/radio-group.wrapper.d.ts +8 -8
  54. package/esm/lib/components/segmented-control-item.wrapper.d.ts +4 -4
  55. package/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
  56. package/esm/lib/components/select.wrapper.d.ts +10 -10
  57. package/esm/lib/components/sheet.wrapper.d.ts +2 -2
  58. package/esm/lib/components/spinner.wrapper.d.ts +13 -5
  59. package/esm/lib/components/spinner.wrapper.mjs +3 -3
  60. package/esm/lib/components/switch.wrapper.d.ts +6 -6
  61. package/esm/lib/components/table-cell.wrapper.d.ts +2 -2
  62. package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -4
  63. package/esm/lib/components/tabs-bar.wrapper.d.ts +2 -2
  64. package/esm/lib/components/tabs.wrapper.d.ts +2 -2
  65. package/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  66. package/esm/lib/components/tag.wrapper.d.ts +2 -2
  67. package/esm/lib/components/text.wrapper.d.ts +21 -13
  68. package/esm/lib/components/text.wrapper.mjs +3 -3
  69. package/esm/lib/components/textarea.wrapper.d.ts +6 -6
  70. package/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  71. package/esm/lib/types.d.ts +341 -141
  72. package/global-styles/cn/index.css +157 -159
  73. package/global-styles/color-scheme.css +95 -95
  74. package/global-styles/index.css +157 -159
  75. package/global-styles/variables.css +62 -64
  76. package/package.json +6 -2
  77. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +413 -512
  78. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +20 -18
  79. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.cjs +4 -4
  80. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/display.wrapper.cjs +1 -0
  81. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.cjs +1 -1
  82. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/heading.wrapper.cjs +4 -4
  83. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.cjs +1 -1
  84. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link-pure.wrapper.cjs +4 -4
  85. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/spinner.wrapper.cjs +4 -4
  86. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/text.wrapper.cjs +4 -4
  87. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +1 -1
  88. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.cjs +3 -2
  89. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +2 -2
  90. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
  91. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.cjs +2 -0
  92. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +2 -2
  93. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
  94. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.cjs +1 -1
  95. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +1 -1
  96. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.cjs +1 -1
  97. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +1 -1
  98. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -1
  99. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.cjs +2 -2
  100. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.cjs +1 -1
  101. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.cjs +1 -1
  102. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +413 -512
  103. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +20 -18
  104. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.mjs +4 -4
  105. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/display.wrapper.mjs +1 -0
  106. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.mjs +1 -1
  107. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/heading.wrapper.mjs +4 -4
  108. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.mjs +1 -1
  109. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link-pure.wrapper.mjs +4 -4
  110. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/spinner.wrapper.mjs +4 -4
  111. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text.wrapper.mjs +4 -4
  112. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +1 -1
  113. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +3 -2
  114. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
  115. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +1 -1
  116. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -0
  117. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
  118. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +1 -1
  119. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +1 -1
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +1 -1
  121. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.mjs +1 -1
  122. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +1 -1
  123. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +1 -1
  124. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.mjs +2 -2
  125. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.mjs +1 -1
  126. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/text.mjs +1 -1
  127. package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -8
  128. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +15 -7
  129. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +2 -2
  130. package/ssr/esm/lib/components/button.wrapper.d.ts +6 -6
  131. package/ssr/esm/lib/components/carousel.wrapper.d.ts +10 -10
  132. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +6 -6
  133. package/ssr/esm/lib/components/crest.wrapper.d.ts +6 -6
  134. package/ssr/esm/lib/components/display.wrapper.d.ts +1 -0
  135. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +8 -8
  136. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +8 -8
  137. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +6 -6
  138. package/ssr/esm/lib/components/flag.wrapper.d.ts +5 -5
  139. package/ssr/esm/lib/components/flyout.wrapper.d.ts +2 -2
  140. package/ssr/esm/lib/components/heading.wrapper.d.ts +27 -11
  141. package/ssr/esm/lib/components/icon.wrapper.d.ts +7 -7
  142. package/ssr/esm/lib/components/input-date.wrapper.d.ts +12 -12
  143. package/ssr/esm/lib/components/input-email.wrapper.d.ts +8 -8
  144. package/ssr/esm/lib/components/input-month.wrapper.d.ts +12 -12
  145. package/ssr/esm/lib/components/input-number.wrapper.d.ts +8 -8
  146. package/ssr/esm/lib/components/input-password.wrapper.d.ts +6 -6
  147. package/ssr/esm/lib/components/input-search.wrapper.d.ts +6 -6
  148. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +6 -6
  149. package/ssr/esm/lib/components/input-text.wrapper.d.ts +6 -6
  150. package/ssr/esm/lib/components/input-time.wrapper.d.ts +14 -14
  151. package/ssr/esm/lib/components/input-url.wrapper.d.ts +16 -16
  152. package/ssr/esm/lib/components/input-week.wrapper.d.ts +14 -14
  153. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +23 -15
  154. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -8
  155. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +8 -8
  156. package/ssr/esm/lib/components/link.wrapper.d.ts +14 -14
  157. package/ssr/esm/lib/components/modal.wrapper.d.ts +2 -2
  158. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +2 -2
  159. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +10 -10
  160. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +8 -8
  161. package/ssr/esm/lib/components/popover.wrapper.d.ts +6 -6
  162. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +2 -2
  163. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +8 -8
  164. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +4 -4
  165. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
  166. package/ssr/esm/lib/components/select.wrapper.d.ts +10 -10
  167. package/ssr/esm/lib/components/sheet.wrapper.d.ts +2 -2
  168. package/ssr/esm/lib/components/spinner.wrapper.d.ts +13 -5
  169. package/ssr/esm/lib/components/switch.wrapper.d.ts +6 -6
  170. package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -2
  171. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -4
  172. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +2 -2
  173. package/ssr/esm/lib/components/tabs.wrapper.d.ts +2 -2
  174. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  175. package/ssr/esm/lib/components/tag.wrapper.d.ts +2 -2
  176. package/ssr/esm/lib/components/text.wrapper.d.ts +21 -13
  177. package/ssr/esm/lib/components/textarea.wrapper.d.ts +6 -6
  178. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  179. package/ssr/esm/lib/dsr-components/carousel.d.ts +2 -2
  180. package/ssr/esm/lib/dsr-components/display.d.ts +2 -0
  181. package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +2 -2
  182. package/ssr/esm/lib/dsr-components/flyout.d.ts +1 -1
  183. package/ssr/esm/lib/types.d.ts +341 -141
  184. package/tailwindcss/index.css +170 -158
@@ -2,7 +2,7 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { TagIcon, TagVariant } from '../types';
3
3
  export type PTagProps = BaseProps & {
4
4
  /**
5
- * Displays as compact version.
5
+ * Displays the tag in compact mode.
6
6
  */
7
7
  compact?: boolean;
8
8
  /**
@@ -20,7 +20,7 @@ export type PTagProps = BaseProps & {
20
20
  };
21
21
  export declare const PTag: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
22
22
  /**
23
- * Displays as compact version.
23
+ * Displays the tag in compact mode.
24
24
  */
25
25
  compact?: boolean;
26
26
  /**
@@ -1,54 +1,62 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { TextAlign, TextColor, BreakpointCustomizable, TextSize, TextTag, TextWeight } from '../types';
2
+ import type { TextAlign, TextColor, TextHyphens, BreakpointCustomizable, TextSize, TextTag, TextWeight } from '../types';
3
3
  export type PTextProps = BaseProps & {
4
4
  /**
5
- * Text alignment of the component.
5
+ * Text alignment of the text. Use 'start' for left-aligned text (in LTR), 'center' for centered, 'end' for right-aligned (in LTR), or 'inherit' to adopt the parent's alignment.
6
6
  */
7
7
  align?: TextAlign;
8
8
  /**
9
- * Basic text color variations.
9
+ * Text color of the text. Use 'primary' for default, 'contrast-higher' / 'contrast-high' / 'contrast-medium' for alternative emphasis levels, 'success' / 'warning' / 'error' / 'info' for status messages, or 'inherit' to adopt the parent's color.
10
10
  */
11
11
  color?: TextColor;
12
12
  /**
13
- * Adds an ellipsis to a single line of text if it overflows.
13
+ * Adds an ellipsis to a single line of text if it overflows the container width. When enabled, the text is truncated to a single line with `text-overflow: ellipsis`. Cannot be combined with multi-line content.
14
14
  */
15
15
  ellipsis?: boolean;
16
16
  /**
17
- * Size of the text. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
17
+ * Controls the hyphenation behavior of the text. Use 'auto' to let the browser automatically hyphenate words at appropriate points, 'manual' to only hyphenate at manually inserted hyphenation points (e.g. `&shy;`), 'none' to disable hyphenation entirely, or 'inherit' to adopt the parent's hyphenation setting.
18
+ */
19
+ hyphens?: TextHyphens;
20
+ /**
21
+ * Size of the text. Also defines the size for specific breakpoints, like {base: "sm", l: "md"}. You always need to provide a base value when doing this. Use 'inherit' to adopt the parent's font size.
18
22
  */
19
23
  size?: BreakpointCustomizable<TextSize>;
20
24
  /**
21
- * Sets a custom HTML tag depending on the usage of the text component.
25
+ * Sets the HTML tag of the rendered element to ensure correct semantic meaning (e.g. 'p' for paragraphs, 'blockquote' for quotes, 'time' for dates).
22
26
  */
23
27
  tag?: TextTag;
24
28
  /**
25
- * The weight of the text.
29
+ * The font weight of the text. Use 'normal' for regular body text, 'semibold' for slightly emphasized text, or 'bold' for strong emphasis.
26
30
  */
27
31
  weight?: TextWeight;
28
32
  };
29
33
  export declare const PText: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
30
34
  /**
31
- * Text alignment of the component.
35
+ * Text alignment of the text. Use 'start' for left-aligned text (in LTR), 'center' for centered, 'end' for right-aligned (in LTR), or 'inherit' to adopt the parent's alignment.
32
36
  */
33
37
  align?: TextAlign;
34
38
  /**
35
- * Basic text color variations.
39
+ * Text color of the text. Use 'primary' for default, 'contrast-higher' / 'contrast-high' / 'contrast-medium' for alternative emphasis levels, 'success' / 'warning' / 'error' / 'info' for status messages, or 'inherit' to adopt the parent's color.
36
40
  */
37
41
  color?: TextColor;
38
42
  /**
39
- * Adds an ellipsis to a single line of text if it overflows.
43
+ * Adds an ellipsis to a single line of text if it overflows the container width. When enabled, the text is truncated to a single line with `text-overflow: ellipsis`. Cannot be combined with multi-line content.
40
44
  */
41
45
  ellipsis?: boolean;
42
46
  /**
43
- * Size of the text. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
47
+ * Controls the hyphenation behavior of the text. Use 'auto' to let the browser automatically hyphenate words at appropriate points, 'manual' to only hyphenate at manually inserted hyphenation points (e.g. `&shy;`), 'none' to disable hyphenation entirely, or 'inherit' to adopt the parent's hyphenation setting.
48
+ */
49
+ hyphens?: TextHyphens;
50
+ /**
51
+ * Size of the text. Also defines the size for specific breakpoints, like {base: "sm", l: "md"}. You always need to provide a base value when doing this. Use 'inherit' to adopt the parent's font size.
44
52
  */
45
53
  size?: BreakpointCustomizable<TextSize>;
46
54
  /**
47
- * Sets a custom HTML tag depending on the usage of the text component.
55
+ * Sets the HTML tag of the rendered element to ensure correct semantic meaning (e.g. 'p' for paragraphs, 'blockquote' for quotes, 'time' for dates).
48
56
  */
49
57
  tag?: TextTag;
50
58
  /**
51
- * The weight of the text.
59
+ * The font weight of the text. Use 'normal' for regular body text, 'semibold' for slightly emphasized text, or 'bold' for strong emphasis.
52
60
  */
53
61
  weight?: TextWeight;
54
62
  } & {
@@ -6,7 +6,7 @@ export type PTextareaProps = BaseProps & {
6
6
  */
7
7
  autoComplete?: string;
8
8
  /**
9
- * A boolean value that, if present, renders the textarea as a compact version.
9
+ * Displays the textarea in compact mode.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -18,7 +18,7 @@ export type PTextareaProps = BaseProps & {
18
18
  */
19
19
  description?: string;
20
20
  /**
21
- * A boolean value that, if present, makes the textarea unusable and unclickable. The value will not be submitted with the form.
21
+ * Disables the textarea. The value will not be submitted with the form.
22
22
  */
23
23
  disabled?: boolean;
24
24
  /**
@@ -26,7 +26,7 @@ export type PTextareaProps = BaseProps & {
26
26
  */
27
27
  form?: string;
28
28
  /**
29
- * Controls the visibility of the label.
29
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
30
30
  */
31
31
  hideLabel?: BreakpointCustomizable<boolean>;
32
32
  /**
@@ -104,7 +104,7 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<Omit<i
104
104
  */
105
105
  autoComplete?: string;
106
106
  /**
107
- * A boolean value that, if present, renders the textarea as a compact version.
107
+ * Displays the textarea in compact mode.
108
108
  */
109
109
  compact?: boolean;
110
110
  /**
@@ -116,7 +116,7 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<Omit<i
116
116
  */
117
117
  description?: string;
118
118
  /**
119
- * A boolean value that, if present, makes the textarea unusable and unclickable. The value will not be submitted with the form.
119
+ * Disables the textarea. The value will not be submitted with the form.
120
120
  */
121
121
  disabled?: boolean;
122
122
  /**
@@ -124,7 +124,7 @@ export declare const PTextarea: import("react").ForwardRefExoticComponent<Omit<i
124
124
  */
125
125
  form?: string;
126
126
  /**
127
- * Controls the visibility of the label.
127
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
128
128
  */
129
129
  hideLabel?: BreakpointCustomizable<boolean>;
130
130
  /**
@@ -2,37 +2,37 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, WordmarkAriaAttribute, WordmarkSize, WordmarkTarget } from '../types';
3
3
  export type PWordmarkProps = BaseProps & {
4
4
  /**
5
- * Add ARIA attributes.
5
+ * Sets ARIA attributes.
6
6
  */
7
7
  aria?: SelectedAriaAttributes<WordmarkAriaAttribute>;
8
8
  /**
9
- * When providing an url then the component will be rendered as `<a>`.
9
+ * When `href` is provided, the component renders as an `<a>` element.
10
10
  */
11
11
  href?: string;
12
12
  /**
13
- * Adapts sizing of wordmark.
13
+ * Controls the size of the wordmark.
14
14
  */
15
15
  size?: WordmarkSize;
16
16
  /**
17
- * Target attribute where the link should be opened.
17
+ * Specifies where to open the linked document.
18
18
  */
19
19
  target?: WordmarkTarget;
20
20
  };
21
21
  export declare const PWordmark: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
22
22
  /**
23
- * Add ARIA attributes.
23
+ * Sets ARIA attributes.
24
24
  */
25
25
  aria?: SelectedAriaAttributes<WordmarkAriaAttribute>;
26
26
  /**
27
- * When providing an url then the component will be rendered as `<a>`.
27
+ * When `href` is provided, the component renders as an `<a>` element.
28
28
  */
29
29
  href?: string;
30
30
  /**
31
- * Adapts sizing of wordmark.
31
+ * Controls the size of the wordmark.
32
32
  */
33
33
  size?: WordmarkSize;
34
34
  /**
35
- * Target attribute where the link should be opened.
35
+ * Specifies where to open the linked document.
36
36
  */
37
37
  target?: WordmarkTarget;
38
38
  } & import("react").RefAttributes<HTMLElement>>;
@@ -1,8 +1,8 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "heading", "description": "Renders a heading above the carousel." }
4
- * @slot {"name": "description", "description": "Shows a footer section, flowing under the content area when scrollable." }
5
- * @slot {"name": "controls", "description": "Shows a sidebar area on the **start** side (**left** in **LTR** mode / **right** in **RTL** mode). On mobile view it transforms into a flyout." }
4
+ * @slot {"name": "description", "description": "Renders descriptive content below the heading." }
5
+ * @slot {"name": "controls", "description": "Renders custom controls such as navigation buttons or indicators." }
6
6
  * @slot {"name": "", "description": "Default slot for the carousel slides." }
7
7
  *
8
8
  * @controlled { "props": ["activeSlideIndex"], "event": "update", "isInternallyMutated": true }
@@ -1,6 +1,8 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "", "description": "Default slot for the display text." }
4
+ *
5
+ * @deprecated since v4.0.0, will be removed with next major release. Please use `p-heading` instead.
4
6
  */
5
7
  export declare class DSRDisplay extends Component<any> {
6
8
  host: HTMLElement;
@@ -1,8 +1,8 @@
1
1
  import { Component } from 'react';
2
2
  /**
3
3
  * @slot {"name": "", "description": "Default slot for the main content." }
4
- * @slot {"name": "button", "description": "Shows a custom button to reach a deeper level of the navigation structure." } *
5
- * @slot {"name": "header", "description": "Shows a custom header section on mobile view" } *
4
+ * @slot {"name": "button", "description": "Shows a custom button to reach a deeper level of the navigation structure." }
5
+ * @slot {"name": "header", "description": "Shows a custom header section on mobile view." }
6
6
  * @experimental
7
7
  */
8
8
  export declare class DSRDrilldownItem extends Component<any> {
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  * @slot {"name": "header", "description": "Renders a sticky header section above the content area." }
4
4
  * @slot {"name": "", "description": "Default slot for the main content." }
5
5
  * @slot {"name": "footer", "description": "Shows a sticky footer section, flowing under the content area when scrollable." }
6
- * @slot {"name": "sub-footer", "description": "Shows a sub-footer section to display additional information below the footer. This slot is ideal for less critical content, such as legal information or FAQs, which provides further details to the user. It appears when scrolling to the end of the flyout or when there is available space to accommodate the content." }
6
+ * @slot {"name": "sub-footer", "description": "Renders additional content below the footer, such as legal information or FAQs. It appears when the flyout has enough space or when the user scrolls to the end." }
7
7
  *
8
8
  * @controlled {"props": ["open"], "event": "dismiss"}
9
9
  */