@porsche-design-system/components-react 4.0.0-beta.1 → 4.0.0-beta.3

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 (214) hide show
  1. package/CHANGELOG.md +377 -7
  2. package/cjs/lib/components/button-pure.wrapper.cjs +3 -3
  3. package/cjs/lib/components/display.wrapper.cjs +1 -0
  4. package/cjs/lib/components/flag.wrapper.cjs +1 -1
  5. package/cjs/lib/components/heading.wrapper.cjs +3 -3
  6. package/cjs/lib/components/icon.wrapper.cjs +1 -1
  7. package/cjs/lib/components/link-pure.wrapper.cjs +3 -3
  8. package/cjs/lib/components/scroller.wrapper.cjs +3 -3
  9. package/cjs/lib/components/spinner.wrapper.cjs +3 -3
  10. package/cjs/lib/components/table.wrapper.cjs +3 -3
  11. package/cjs/lib/components/tabs-bar.wrapper.cjs +3 -3
  12. package/cjs/lib/components/tabs.wrapper.cjs +3 -3
  13. package/cjs/lib/components/text.wrapper.cjs +1 -1
  14. package/esm/lib/components/accordion.wrapper.d.ts +8 -8
  15. package/esm/lib/components/button-pure.wrapper.d.ts +15 -7
  16. package/esm/lib/components/button-pure.wrapper.mjs +3 -3
  17. package/esm/lib/components/button-tile.wrapper.d.ts +2 -2
  18. package/esm/lib/components/button.wrapper.d.ts +6 -6
  19. package/esm/lib/components/carousel.wrapper.d.ts +10 -10
  20. package/esm/lib/components/checkbox.wrapper.d.ts +6 -6
  21. package/esm/lib/components/crest.wrapper.d.ts +6 -6
  22. package/esm/lib/components/display.wrapper.d.ts +1 -0
  23. package/esm/lib/components/display.wrapper.mjs +1 -0
  24. package/esm/lib/components/drilldown-link.wrapper.d.ts +8 -8
  25. package/esm/lib/components/drilldown.wrapper.d.ts +8 -8
  26. package/esm/lib/components/fieldset.wrapper.d.ts +6 -6
  27. package/esm/lib/components/flag.wrapper.d.ts +5 -5
  28. package/esm/lib/components/flag.wrapper.mjs +1 -1
  29. package/esm/lib/components/flyout.wrapper.d.ts +2 -2
  30. package/esm/lib/components/heading.wrapper.d.ts +19 -11
  31. package/esm/lib/components/heading.wrapper.mjs +3 -3
  32. package/esm/lib/components/icon.wrapper.d.ts +7 -7
  33. package/esm/lib/components/icon.wrapper.mjs +1 -1
  34. package/esm/lib/components/input-date.wrapper.d.ts +12 -12
  35. package/esm/lib/components/input-email.wrapper.d.ts +8 -8
  36. package/esm/lib/components/input-month.wrapper.d.ts +12 -12
  37. package/esm/lib/components/input-number.wrapper.d.ts +8 -8
  38. package/esm/lib/components/input-password.wrapper.d.ts +6 -6
  39. package/esm/lib/components/input-search.wrapper.d.ts +6 -6
  40. package/esm/lib/components/input-tel.wrapper.d.ts +6 -6
  41. package/esm/lib/components/input-text.wrapper.d.ts +6 -6
  42. package/esm/lib/components/input-time.wrapper.d.ts +14 -14
  43. package/esm/lib/components/input-url.wrapper.d.ts +16 -16
  44. package/esm/lib/components/input-week.wrapper.d.ts +14 -14
  45. package/esm/lib/components/link-pure.wrapper.d.ts +23 -15
  46. package/esm/lib/components/link-pure.wrapper.mjs +3 -3
  47. package/esm/lib/components/link-tile-product.wrapper.d.ts +8 -8
  48. package/esm/lib/components/link-tile.wrapper.d.ts +8 -8
  49. package/esm/lib/components/link.wrapper.d.ts +14 -14
  50. package/esm/lib/components/modal.wrapper.d.ts +2 -2
  51. package/esm/lib/components/model-signature.wrapper.d.ts +2 -2
  52. package/esm/lib/components/multi-select.wrapper.d.ts +10 -10
  53. package/esm/lib/components/pin-code.wrapper.d.ts +8 -8
  54. package/esm/lib/components/popover.wrapper.d.ts +6 -6
  55. package/esm/lib/components/radio-group-option.wrapper.d.ts +2 -2
  56. package/esm/lib/components/radio-group.wrapper.d.ts +8 -8
  57. package/esm/lib/components/scroller.wrapper.d.ts +20 -4
  58. package/esm/lib/components/scroller.wrapper.mjs +3 -3
  59. package/esm/lib/components/segmented-control-item.wrapper.d.ts +4 -4
  60. package/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
  61. package/esm/lib/components/select.wrapper.d.ts +10 -10
  62. package/esm/lib/components/sheet.wrapper.d.ts +2 -2
  63. package/esm/lib/components/spinner.wrapper.d.ts +13 -5
  64. package/esm/lib/components/spinner.wrapper.mjs +3 -3
  65. package/esm/lib/components/switch.wrapper.d.ts +6 -6
  66. package/esm/lib/components/table-cell.wrapper.d.ts +2 -2
  67. package/esm/lib/components/table-head-cell.wrapper.d.ts +4 -4
  68. package/esm/lib/components/table.wrapper.d.ts +10 -2
  69. package/esm/lib/components/table.wrapper.mjs +3 -3
  70. package/esm/lib/components/tabs-bar.wrapper.d.ts +21 -5
  71. package/esm/lib/components/tabs-bar.wrapper.mjs +3 -3
  72. package/esm/lib/components/tabs.wrapper.d.ts +21 -5
  73. package/esm/lib/components/tabs.wrapper.mjs +3 -3
  74. package/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  75. package/esm/lib/components/tag.wrapper.d.ts +2 -2
  76. package/esm/lib/components/text.wrapper.d.ts +12 -12
  77. package/esm/lib/components/text.wrapper.mjs +1 -1
  78. package/esm/lib/components/textarea.wrapper.d.ts +6 -6
  79. package/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  80. package/esm/lib/types.d.ts +356 -157
  81. package/global-styles/cn/index.css +3 -7
  82. package/global-styles/index.css +3 -7
  83. package/global-styles/variables.css +3 -7
  84. package/package.json +6 -2
  85. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +641 -533
  86. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +20 -19
  87. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.cjs +4 -4
  88. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/display.wrapper.cjs +1 -0
  89. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.cjs +1 -1
  90. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/heading.wrapper.cjs +4 -4
  91. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.cjs +1 -1
  92. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link-pure.wrapper.cjs +4 -4
  93. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.cjs +4 -4
  94. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/spinner.wrapper.cjs +4 -4
  95. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/table.wrapper.cjs +4 -4
  96. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.cjs +4 -4
  97. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.cjs +4 -4
  98. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/text.wrapper.cjs +1 -1
  99. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.cjs +3 -2
  100. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +2 -2
  101. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -1
  102. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.cjs +2 -0
  103. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.cjs +2 -2
  104. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
  105. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.cjs +1 -1
  106. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +1 -1
  107. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.cjs +1 -1
  108. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +1 -1
  109. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -1
  110. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.cjs +8 -12
  111. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-option.cjs +1 -1
  112. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.cjs +2 -2
  113. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.cjs +3 -2
  114. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.cjs +1 -1
  115. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.cjs +1 -1
  116. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.cjs +8 -8
  117. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.cjs +3 -2
  118. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +641 -533
  119. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +21 -18
  120. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/button-pure.wrapper.mjs +4 -4
  121. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/display.wrapper.mjs +1 -0
  122. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flag.wrapper.mjs +1 -1
  123. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/heading.wrapper.mjs +4 -4
  124. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/icon.wrapper.mjs +1 -1
  125. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link-pure.wrapper.mjs +4 -4
  126. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/scroller.wrapper.mjs +4 -4
  127. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/spinner.wrapper.mjs +4 -4
  128. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/table.wrapper.mjs +4 -4
  129. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs-bar.wrapper.mjs +4 -4
  130. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tabs.wrapper.mjs +4 -4
  131. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/text.wrapper.mjs +1 -1
  132. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +3 -2
  133. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
  134. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +1 -1
  135. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -0
  136. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
  137. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +1 -1
  138. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +1 -1
  139. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +1 -1
  140. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.mjs +1 -1
  141. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +1 -1
  142. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +1 -1
  143. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/scroller.mjs +9 -13
  144. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select-option.mjs +1 -1
  145. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/spinner.mjs +2 -2
  146. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/stepper-horizontal.mjs +3 -2
  147. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/switch.mjs +1 -1
  148. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/table.mjs +1 -1
  149. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs-bar.mjs +8 -8
  150. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tabs.mjs +3 -2
  151. package/ssr/esm/lib/components/accordion.wrapper.d.ts +8 -8
  152. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +15 -7
  153. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +2 -2
  154. package/ssr/esm/lib/components/button.wrapper.d.ts +6 -6
  155. package/ssr/esm/lib/components/carousel.wrapper.d.ts +10 -10
  156. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +6 -6
  157. package/ssr/esm/lib/components/crest.wrapper.d.ts +6 -6
  158. package/ssr/esm/lib/components/display.wrapper.d.ts +1 -0
  159. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +8 -8
  160. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +8 -8
  161. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +6 -6
  162. package/ssr/esm/lib/components/flag.wrapper.d.ts +5 -5
  163. package/ssr/esm/lib/components/flyout.wrapper.d.ts +2 -2
  164. package/ssr/esm/lib/components/heading.wrapper.d.ts +19 -11
  165. package/ssr/esm/lib/components/icon.wrapper.d.ts +7 -7
  166. package/ssr/esm/lib/components/input-date.wrapper.d.ts +12 -12
  167. package/ssr/esm/lib/components/input-email.wrapper.d.ts +8 -8
  168. package/ssr/esm/lib/components/input-month.wrapper.d.ts +12 -12
  169. package/ssr/esm/lib/components/input-number.wrapper.d.ts +8 -8
  170. package/ssr/esm/lib/components/input-password.wrapper.d.ts +6 -6
  171. package/ssr/esm/lib/components/input-search.wrapper.d.ts +6 -6
  172. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +6 -6
  173. package/ssr/esm/lib/components/input-text.wrapper.d.ts +6 -6
  174. package/ssr/esm/lib/components/input-time.wrapper.d.ts +14 -14
  175. package/ssr/esm/lib/components/input-url.wrapper.d.ts +16 -16
  176. package/ssr/esm/lib/components/input-week.wrapper.d.ts +14 -14
  177. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +23 -15
  178. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +8 -8
  179. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +8 -8
  180. package/ssr/esm/lib/components/link.wrapper.d.ts +14 -14
  181. package/ssr/esm/lib/components/modal.wrapper.d.ts +2 -2
  182. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +2 -2
  183. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +10 -10
  184. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +8 -8
  185. package/ssr/esm/lib/components/popover.wrapper.d.ts +6 -6
  186. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +2 -2
  187. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +8 -8
  188. package/ssr/esm/lib/components/scroller.wrapper.d.ts +20 -4
  189. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +4 -4
  190. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
  191. package/ssr/esm/lib/components/select.wrapper.d.ts +10 -10
  192. package/ssr/esm/lib/components/sheet.wrapper.d.ts +2 -2
  193. package/ssr/esm/lib/components/spinner.wrapper.d.ts +13 -5
  194. package/ssr/esm/lib/components/switch.wrapper.d.ts +6 -6
  195. package/ssr/esm/lib/components/table-cell.wrapper.d.ts +2 -2
  196. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +4 -4
  197. package/ssr/esm/lib/components/table.wrapper.d.ts +10 -2
  198. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +21 -5
  199. package/ssr/esm/lib/components/tabs.wrapper.d.ts +21 -5
  200. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +6 -6
  201. package/ssr/esm/lib/components/tag.wrapper.d.ts +2 -2
  202. package/ssr/esm/lib/components/text.wrapper.d.ts +12 -12
  203. package/ssr/esm/lib/components/textarea.wrapper.d.ts +6 -6
  204. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +8 -8
  205. package/ssr/esm/lib/dsr-components/carousel.d.ts +2 -2
  206. package/ssr/esm/lib/dsr-components/display.d.ts +2 -0
  207. package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +2 -2
  208. package/ssr/esm/lib/dsr-components/flyout.d.ts +1 -1
  209. package/ssr/esm/lib/dsr-components/scroller.d.ts +5 -3
  210. package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +3 -2
  211. package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +6 -6
  212. package/ssr/esm/lib/dsr-components/tabs.d.ts +2 -1
  213. package/ssr/esm/lib/types.d.ts +356 -157
  214. package/tailwindcss/index.css +19 -4
@@ -1,48 +1,56 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, HeadingTag } from '../types';
2
+ import type { HeadingAlign, HeadingColor, BreakpointCustomizable, HeadingSize, HeadingTag, HeadingWeight } from '../types';
3
3
  export type PHeadingProps = BaseProps & {
4
4
  /**
5
- * Text alignment of the component.
5
+ * Text alignment of the heading.
6
6
  */
7
7
  align?: HeadingAlign;
8
8
  /**
9
- * Basic text color variations.
9
+ * Text color of the heading. Use 'primary' for default, 'contrast-high' / 'contrast-medium' for alternative emphasis, or 'inherit' to adopt the parent's color.
10
10
  */
11
11
  color?: HeadingColor;
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.
14
14
  */
15
15
  ellipsis?: boolean;
16
16
  /**
17
- * Size of the component. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
17
+ * Size of the heading. Also defines the size for specific breakpoints, like {base: "md", l: "2xl"}.
18
18
  */
19
19
  size?: BreakpointCustomizable<HeadingSize>;
20
20
  /**
21
- * Sets a heading tag, so it fits correctly within the outline of the page.
21
+ * Sets the HTML heading tag (h1 - h6) to ensure the correct document outline and semantic hierarchy. If not set, the tag is automatically inferred from the `size` property.
22
22
  */
23
23
  tag?: HeadingTag;
24
+ /**
25
+ * The font weight of the heading. For `size` values of 'sm' or smaller, it's recommended to use 'semibold' for better readability.
26
+ */
27
+ weight?: HeadingWeight;
24
28
  };
25
29
  export declare const PHeading: 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"> & {
26
30
  /**
27
- * Text alignment of the component.
31
+ * Text alignment of the heading.
28
32
  */
29
33
  align?: HeadingAlign;
30
34
  /**
31
- * Basic text color variations.
35
+ * Text color of the heading. Use 'primary' for default, 'contrast-high' / 'contrast-medium' for alternative emphasis, or 'inherit' to adopt the parent's color.
32
36
  */
33
37
  color?: HeadingColor;
34
38
  /**
35
- * Adds an ellipsis to a single line of text if it overflows.
39
+ * Adds an ellipsis to a single line of text if it overflows the container width.
36
40
  */
37
41
  ellipsis?: boolean;
38
42
  /**
39
- * Size of the component. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
43
+ * Size of the heading. Also defines the size for specific breakpoints, like {base: "md", l: "2xl"}.
40
44
  */
41
45
  size?: BreakpointCustomizable<HeadingSize>;
42
46
  /**
43
- * Sets a heading tag, so it fits correctly within the outline of the page.
47
+ * Sets the HTML heading tag (h1 - h6) to ensure the correct document outline and semantic hierarchy. If not set, the tag is automatically inferred from the `size` property.
44
48
  */
45
49
  tag?: HeadingTag;
50
+ /**
51
+ * The font weight of the heading. For `size` values of 'sm' or smaller, it's recommended to use 'semibold' for better readability.
52
+ */
53
+ weight?: HeadingWeight;
46
54
  } & {
47
55
  children?: import("react").ReactNode | undefined;
48
56
  } & import("react").RefAttributes<HTMLElement>>;
@@ -4,13 +4,13 @@ import { forwardRef, useRef } from 'react';
4
4
  import { usePrefix, useBrowserLayoutEffect, useMergedClass } from '../../hooks.mjs';
5
5
  import { syncRef } from '../../utils.mjs';
6
6
 
7
- const PHeading = /*#__PURE__*/ forwardRef(({ align = 'start', color = 'primary', ellipsis = false, size = 'xx-large', tag, className, ...rest }, ref) => {
7
+ const PHeading = /*#__PURE__*/ forwardRef(({ align = 'start', color = 'primary', ellipsis = false, size = '2xl', tag, weight = 'normal', className, ...rest }, ref) => {
8
8
  const elementRef = useRef(undefined);
9
9
  const WebComponentTag = usePrefix('p-heading');
10
- const propsToSync = [align, color, ellipsis, size, tag];
10
+ const propsToSync = [align, color, ellipsis, size, tag, weight];
11
11
  useBrowserLayoutEffect(() => {
12
12
  const { current } = elementRef;
13
- ['align', 'color', 'ellipsis', 'size', 'tag'].forEach((propName, i) => (current[propName] = propsToSync[i]));
13
+ ['align', 'color', 'ellipsis', 'size', 'tag', 'weight'].forEach((propName, i) => (current[propName] = propsToSync[i]));
14
14
  }, propsToSync);
15
15
  const props = {
16
16
  ...rest,
@@ -1,8 +1,8 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, IconSize } from '../types';
2
+ import type { SelectedAriaAttributes, IconAriaAttribute, IconColor, IconName, BreakpointCustomizable, IconSize } from '../types';
3
3
  export type PIconProps = BaseProps & {
4
4
  /**
5
- * Add ARIA attributes.
5
+ * Sets ARIA attributes.
6
6
  */
7
7
  aria?: SelectedAriaAttributes<IconAriaAttribute>;
8
8
  /**
@@ -14,9 +14,9 @@ export type PIconProps = BaseProps & {
14
14
  */
15
15
  name?: IconName;
16
16
  /**
17
- * The size of the icon.
17
+ * Defines the size of the icon, aligned with the typographic scale used by components such as p-spinner, p-flag, p-text, and p-heading. When set to `inherit`, the size is derived from a custom font-size defined on a parent element, calculated against the global line-height (based on `ex`-unit) to remain visually consistent with other typographic-scale-based components.
18
18
  */
19
- size?: IconSize;
19
+ size?: BreakpointCustomizable<IconSize>;
20
20
  /**
21
21
  * Specifies a whole icon path which can be used for custom icons.
22
22
  */
@@ -24,7 +24,7 @@ export type PIconProps = BaseProps & {
24
24
  };
25
25
  export declare const PIcon: 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"> & {
26
26
  /**
27
- * Add ARIA attributes.
27
+ * Sets ARIA attributes.
28
28
  */
29
29
  aria?: SelectedAriaAttributes<IconAriaAttribute>;
30
30
  /**
@@ -36,9 +36,9 @@ export declare const PIcon: import("react").ForwardRefExoticComponent<Omit<impor
36
36
  */
37
37
  name?: IconName;
38
38
  /**
39
- * The size of the icon.
39
+ * Defines the size of the icon, aligned with the typographic scale used by components such as p-spinner, p-flag, p-text, and p-heading. When set to `inherit`, the size is derived from a custom font-size defined on a parent element, calculated against the global line-height (based on `ex`-unit) to remain visually consistent with other typographic-scale-based components.
40
40
  */
41
- size?: IconSize;
41
+ size?: BreakpointCustomizable<IconSize>;
42
42
  /**
43
43
  * Specifies a whole icon path which can be used for custom icons.
44
44
  */
@@ -4,7 +4,7 @@ import { forwardRef, useRef } from 'react';
4
4
  import { usePrefix, useBrowserLayoutEffect, useMergedClass } from '../../hooks.mjs';
5
5
  import { syncRef } from '../../utils.mjs';
6
6
 
7
- const PIcon = /*#__PURE__*/ forwardRef(({ aria, color = 'primary', name = 'arrow-right', size = 'small', source, className, ...rest }, ref) => {
7
+ const PIcon = /*#__PURE__*/ forwardRef(({ aria, color = 'primary', name = 'arrow-right', size = 'sm', source, className, ...rest }, ref) => {
8
8
  const elementRef = useRef(undefined);
9
9
  const WebComponentTag = usePrefix('p-icon');
10
10
  const propsToSync = [aria, color, name, size, source];
@@ -2,11 +2,11 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { BreakpointCustomizable, InputDateBlurEventDetail, InputDateChangeEventDetail, InputDateInputEventDetail, InputDateState } from '../types';
3
3
  export type PInputDateProps = BaseProps & {
4
4
  /**
5
- * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., auto-complete='bday' for a birthday).
5
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='bday' for a birthday).
6
6
  */
7
7
  autoComplete?: string;
8
8
  /**
9
- * A boolean value that, if present, renders the input field as a compact version.
9
+ * Displays the input field in compact mode.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -14,7 +14,7 @@ export type PInputDateProps = BaseProps & {
14
14
  */
15
15
  description?: string;
16
16
  /**
17
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
17
+ * Disables the input field. The value will not be submitted with the form.
18
18
  */
19
19
  disabled?: boolean;
20
20
  /**
@@ -22,7 +22,7 @@ export type PInputDateProps = BaseProps & {
22
22
  */
23
23
  form?: string;
24
24
  /**
25
- * Controls the visibility of the label.
25
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
26
26
  */
27
27
  hideLabel?: BreakpointCustomizable<boolean>;
28
28
  /**
@@ -50,11 +50,11 @@ export type PInputDateProps = BaseProps & {
50
50
  */
51
51
  name: string;
52
52
  /**
53
- * Emitted when the number input has lost focus.
53
+ * Emitted when the date input has lost focus.
54
54
  */
55
55
  onBlur?: (event: CustomEvent<InputDateBlurEventDetail>) => void;
56
56
  /**
57
- * Emitted when the number input loses focus after its value was changed.
57
+ * Emitted when the date input loses focus after its value was changed.
58
58
  */
59
59
  onChange?: (event: CustomEvent<InputDateChangeEventDetail>) => void;
60
60
  /**
@@ -84,11 +84,11 @@ export type PInputDateProps = BaseProps & {
84
84
  };
85
85
  export declare const PInputDate: 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"> & {
86
86
  /**
87
- * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., auto-complete='bday' for a birthday).
87
+ * Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='bday' for a birthday).
88
88
  */
89
89
  autoComplete?: string;
90
90
  /**
91
- * A boolean value that, if present, renders the input field as a compact version.
91
+ * Displays the input field in compact mode.
92
92
  */
93
93
  compact?: boolean;
94
94
  /**
@@ -96,7 +96,7 @@ export declare const PInputDate: import("react").ForwardRefExoticComponent<Omit<
96
96
  */
97
97
  description?: string;
98
98
  /**
99
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
99
+ * Disables the input field. The value will not be submitted with the form.
100
100
  */
101
101
  disabled?: boolean;
102
102
  /**
@@ -104,7 +104,7 @@ export declare const PInputDate: import("react").ForwardRefExoticComponent<Omit<
104
104
  */
105
105
  form?: string;
106
106
  /**
107
- * Controls the visibility of the label.
107
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
108
108
  */
109
109
  hideLabel?: BreakpointCustomizable<boolean>;
110
110
  /**
@@ -132,11 +132,11 @@ export declare const PInputDate: import("react").ForwardRefExoticComponent<Omit<
132
132
  */
133
133
  name: string;
134
134
  /**
135
- * Emitted when the number input has lost focus.
135
+ * Emitted when the date input has lost focus.
136
136
  */
137
137
  onBlur?: (event: CustomEvent<InputDateBlurEventDetail>) => void;
138
138
  /**
139
- * Emitted when the number input loses focus after its value was changed.
139
+ * Emitted when the date input loses focus after its value was changed.
140
140
  */
141
141
  onChange?: (event: CustomEvent<InputDateChangeEventDetail>) => void;
142
142
  /**
@@ -6,7 +6,7 @@ export type PInputEmailProps = BaseProps & {
6
6
  */
7
7
  autoComplete?: string;
8
8
  /**
9
- * A boolean value that, if present, renders the input field as a compact version.
9
+ * Displays the input field in compact mode.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -14,7 +14,7 @@ export type PInputEmailProps = BaseProps & {
14
14
  */
15
15
  description?: string;
16
16
  /**
17
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
17
+ * Disables the input field. The value will not be submitted with the form.
18
18
  */
19
19
  disabled?: boolean;
20
20
  /**
@@ -22,7 +22,7 @@ export type PInputEmailProps = BaseProps & {
22
22
  */
23
23
  form?: string;
24
24
  /**
25
- * Controls the visibility of the label.
25
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
26
26
  */
27
27
  hideLabel?: BreakpointCustomizable<boolean>;
28
28
  /**
@@ -50,7 +50,7 @@ export type PInputEmailProps = BaseProps & {
50
50
  */
51
51
  minLength?: number;
52
52
  /**
53
- * A boolean value that, if present, it allows the user to enter a list of multiple email addresses, separated by commas (and optional whitespace). The browser will validate each email address in the list.
53
+ * Allows the user to enter a list of email addresses separated by commas (and optional whitespace). The browser validates each email address in the list.
54
54
  */
55
55
  multiple?: boolean;
56
56
  /**
@@ -100,7 +100,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
100
100
  */
101
101
  autoComplete?: string;
102
102
  /**
103
- * A boolean value that, if present, renders the input field as a compact version.
103
+ * Displays the input field in compact mode.
104
104
  */
105
105
  compact?: boolean;
106
106
  /**
@@ -108,7 +108,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
108
108
  */
109
109
  description?: string;
110
110
  /**
111
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
111
+ * Disables the input field. The value will not be submitted with the form.
112
112
  */
113
113
  disabled?: boolean;
114
114
  /**
@@ -116,7 +116,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
116
116
  */
117
117
  form?: string;
118
118
  /**
119
- * Controls the visibility of the label.
119
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
120
120
  */
121
121
  hideLabel?: BreakpointCustomizable<boolean>;
122
122
  /**
@@ -144,7 +144,7 @@ export declare const PInputEmail: import("react").ForwardRefExoticComponent<Omit
144
144
  */
145
145
  minLength?: number;
146
146
  /**
147
- * A boolean value that, if present, it allows the user to enter a list of multiple email addresses, separated by commas (and optional whitespace). The browser will validate each email address in the list.
147
+ * Allows the user to enter a list of email addresses separated by commas (and optional whitespace). The browser validates each email address in the list.
148
148
  */
149
149
  multiple?: boolean;
150
150
  /**
@@ -6,7 +6,7 @@ export type PInputMonthProps = BaseProps & {
6
6
  */
7
7
  autoComplete?: string;
8
8
  /**
9
- * A boolean value that, if present, renders the input field as a compact version.
9
+ * Displays the input field in compact mode.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -14,7 +14,7 @@ export type PInputMonthProps = BaseProps & {
14
14
  */
15
15
  description?: string;
16
16
  /**
17
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
17
+ * Disables the input field. The value will not be submitted with the form.
18
18
  */
19
19
  disabled?: boolean;
20
20
  /**
@@ -22,7 +22,7 @@ export type PInputMonthProps = BaseProps & {
22
22
  */
23
23
  form?: string;
24
24
  /**
25
- * Controls the visibility of the label.
25
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
26
26
  */
27
27
  hideLabel?: BreakpointCustomizable<boolean>;
28
28
  /**
@@ -34,7 +34,7 @@ export type PInputMonthProps = BaseProps & {
34
34
  */
35
35
  loading?: boolean;
36
36
  /**
37
- * Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format(e.g., max='2024-12').
37
+ * Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format (e.g., max='2024-12').
38
38
  */
39
39
  max?: string;
40
40
  /**
@@ -50,11 +50,11 @@ export type PInputMonthProps = BaseProps & {
50
50
  */
51
51
  name: string;
52
52
  /**
53
- * Emitted when the number input has lost focus.
53
+ * Emitted when the month input has lost focus.
54
54
  */
55
55
  onBlur?: (event: CustomEvent<InputMonthBlurEventDetail>) => void;
56
56
  /**
57
- * Emitted when the number input loses focus after its value was changed.
57
+ * Emitted when the month input loses focus after its value was changed.
58
58
  */
59
59
  onChange?: (event: CustomEvent<InputMonthChangeEventDetail>) => void;
60
60
  /**
@@ -88,7 +88,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
88
88
  */
89
89
  autoComplete?: string;
90
90
  /**
91
- * A boolean value that, if present, renders the input field as a compact version.
91
+ * Displays the input field in compact mode.
92
92
  */
93
93
  compact?: boolean;
94
94
  /**
@@ -96,7 +96,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
96
96
  */
97
97
  description?: string;
98
98
  /**
99
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
99
+ * Disables the input field. The value will not be submitted with the form.
100
100
  */
101
101
  disabled?: boolean;
102
102
  /**
@@ -104,7 +104,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
104
104
  */
105
105
  form?: string;
106
106
  /**
107
- * Controls the visibility of the label.
107
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
108
108
  */
109
109
  hideLabel?: BreakpointCustomizable<boolean>;
110
110
  /**
@@ -116,7 +116,7 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
116
116
  */
117
117
  loading?: boolean;
118
118
  /**
119
- * Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format(e.g., max='2024-12').
119
+ * Specifies the latest month that can be selected. The value must be a month string in YYYY-MM format (e.g., max='2024-12').
120
120
  */
121
121
  max?: string;
122
122
  /**
@@ -132,11 +132,11 @@ export declare const PInputMonth: import("react").ForwardRefExoticComponent<Omit
132
132
  */
133
133
  name: string;
134
134
  /**
135
- * Emitted when the number input has lost focus.
135
+ * Emitted when the month input has lost focus.
136
136
  */
137
137
  onBlur?: (event: CustomEvent<InputMonthBlurEventDetail>) => void;
138
138
  /**
139
- * Emitted when the number input loses focus after its value was changed.
139
+ * Emitted when the month input loses focus after its value was changed.
140
140
  */
141
141
  onChange?: (event: CustomEvent<InputMonthChangeEventDetail>) => void;
142
142
  /**
@@ -6,7 +6,7 @@ export type PInputNumberProps = BaseProps & {
6
6
  */
7
7
  autoComplete?: string;
8
8
  /**
9
- * A boolean value that, if present, renders the input field as a compact version.
9
+ * Displays the input field in compact mode.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -18,7 +18,7 @@ export type PInputNumberProps = BaseProps & {
18
18
  */
19
19
  description?: string;
20
20
  /**
21
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
21
+ * Disables the input field. The value will not be submitted with the form.
22
22
  */
23
23
  disabled?: boolean;
24
24
  /**
@@ -26,7 +26,7 @@ export type PInputNumberProps = 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
  /**
@@ -86,7 +86,7 @@ export type PInputNumberProps = BaseProps & {
86
86
  */
87
87
  step?: number;
88
88
  /**
89
- * The number input value.
89
+ * The value of the number input.
90
90
  */
91
91
  value?: string;
92
92
  };
@@ -96,7 +96,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
96
96
  */
97
97
  autoComplete?: string;
98
98
  /**
99
- * A boolean value that, if present, renders the input field as a compact version.
99
+ * Displays the input field in compact mode.
100
100
  */
101
101
  compact?: boolean;
102
102
  /**
@@ -108,7 +108,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
108
108
  */
109
109
  description?: string;
110
110
  /**
111
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
111
+ * Disables the input field. The value will not be submitted with the form.
112
112
  */
113
113
  disabled?: boolean;
114
114
  /**
@@ -116,7 +116,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
116
116
  */
117
117
  form?: string;
118
118
  /**
119
- * Controls the visibility of the label.
119
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
120
120
  */
121
121
  hideLabel?: BreakpointCustomizable<boolean>;
122
122
  /**
@@ -176,7 +176,7 @@ export declare const PInputNumber: import("react").ForwardRefExoticComponent<Omi
176
176
  */
177
177
  step?: number;
178
178
  /**
179
- * The number input value.
179
+ * The value of the number input.
180
180
  */
181
181
  value?: string;
182
182
  } & {
@@ -6,7 +6,7 @@ export type PInputPasswordProps = BaseProps & {
6
6
  */
7
7
  autoComplete?: string;
8
8
  /**
9
- * A boolean value that, if present, renders the input field as a compact version.
9
+ * Displays the input field in compact mode.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -14,7 +14,7 @@ export type PInputPasswordProps = BaseProps & {
14
14
  */
15
15
  description?: string;
16
16
  /**
17
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
17
+ * Disables the input field. The value will not be submitted with the form.
18
18
  */
19
19
  disabled?: boolean;
20
20
  /**
@@ -22,7 +22,7 @@ export type PInputPasswordProps = BaseProps & {
22
22
  */
23
23
  form?: string;
24
24
  /**
25
- * Controls the visibility of the label.
25
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
26
26
  */
27
27
  hideLabel?: BreakpointCustomizable<boolean>;
28
28
  /**
@@ -92,7 +92,7 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
92
92
  */
93
93
  autoComplete?: string;
94
94
  /**
95
- * A boolean value that, if present, renders the input field as a compact version.
95
+ * Displays the input field in compact mode.
96
96
  */
97
97
  compact?: boolean;
98
98
  /**
@@ -100,7 +100,7 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
100
100
  */
101
101
  description?: string;
102
102
  /**
103
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
103
+ * Disables the input field. The value will not be submitted with the form.
104
104
  */
105
105
  disabled?: boolean;
106
106
  /**
@@ -108,7 +108,7 @@ export declare const PInputPassword: import("react").ForwardRefExoticComponent<O
108
108
  */
109
109
  form?: string;
110
110
  /**
111
- * Controls the visibility of the label.
111
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
112
112
  */
113
113
  hideLabel?: BreakpointCustomizable<boolean>;
114
114
  /**
@@ -10,7 +10,7 @@ export type PInputSearchProps = BaseProps & {
10
10
  */
11
11
  clear?: boolean;
12
12
  /**
13
- * A boolean value that, if present, renders the input field as a compact version.
13
+ * Displays the input field in compact mode.
14
14
  */
15
15
  compact?: boolean;
16
16
  /**
@@ -18,7 +18,7 @@ export type PInputSearchProps = BaseProps & {
18
18
  */
19
19
  description?: string;
20
20
  /**
21
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
21
+ * Disables the input field. The value will not be submitted with the form.
22
22
  */
23
23
  disabled?: boolean;
24
24
  /**
@@ -26,7 +26,7 @@ export type PInputSearchProps = 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
  /**
@@ -100,7 +100,7 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
100
100
  */
101
101
  clear?: boolean;
102
102
  /**
103
- * A boolean value that, if present, renders the input field as a compact version.
103
+ * Displays the input field in compact mode.
104
104
  */
105
105
  compact?: boolean;
106
106
  /**
@@ -108,7 +108,7 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
108
108
  */
109
109
  description?: string;
110
110
  /**
111
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
111
+ * Disables the input field. The value will not be submitted with the form.
112
112
  */
113
113
  disabled?: boolean;
114
114
  /**
@@ -116,7 +116,7 @@ export declare const PInputSearch: import("react").ForwardRefExoticComponent<Omi
116
116
  */
117
117
  form?: string;
118
118
  /**
119
- * Controls the visibility of the label.
119
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
120
120
  */
121
121
  hideLabel?: BreakpointCustomizable<boolean>;
122
122
  /**
@@ -6,7 +6,7 @@ export type PInputTelProps = BaseProps & {
6
6
  */
7
7
  autoComplete?: string;
8
8
  /**
9
- * A boolean value that, if present, renders the input field as a compact version.
9
+ * Displays the input field in compact mode.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -14,7 +14,7 @@ export type PInputTelProps = BaseProps & {
14
14
  */
15
15
  description?: string;
16
16
  /**
17
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
17
+ * Disables the input field. The value will not be submitted with the form.
18
18
  */
19
19
  disabled?: boolean;
20
20
  /**
@@ -22,7 +22,7 @@ export type PInputTelProps = BaseProps & {
22
22
  */
23
23
  form?: string;
24
24
  /**
25
- * Controls the visibility of the label.
25
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
26
26
  */
27
27
  hideLabel?: BreakpointCustomizable<boolean>;
28
28
  /**
@@ -96,7 +96,7 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
96
96
  */
97
97
  autoComplete?: string;
98
98
  /**
99
- * A boolean value that, if present, renders the input field as a compact version.
99
+ * Displays the input field in compact mode.
100
100
  */
101
101
  compact?: boolean;
102
102
  /**
@@ -104,7 +104,7 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
104
104
  */
105
105
  description?: string;
106
106
  /**
107
- * A boolean value that, if present, makes the input field unusable and unclickable. The value will not be submitted with the form.
107
+ * Disables the input field. The value will not be submitted with the form.
108
108
  */
109
109
  disabled?: boolean;
110
110
  /**
@@ -112,7 +112,7 @@ export declare const PInputTel: import("react").ForwardRefExoticComponent<Omit<i
112
112
  */
113
113
  form?: string;
114
114
  /**
115
- * Controls the visibility of the label.
115
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
116
116
  */
117
117
  hideLabel?: BreakpointCustomizable<boolean>;
118
118
  /**