@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
@@ -20,7 +20,7 @@ class DSRTable extends Component {
20
20
  ? { 'aria-label': this.props.caption }
21
21
  : hasSlottedCaption && { 'aria-labelledby': captionId };
22
22
  const style = minifyCss(getComponentCss$h(this.props.compact, this.props.layout));
23
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [hasSlottedCaption && (jsx("div", { id: captionId, className: "caption", children: jsx("slot", { name: "caption" }) })), jsx(PScroller, { scrollbar: true, children: jsx("div", { className: "table", role: "table", ...tableAttr, children: jsx("slot", {}) }) })] })] }), this.props.children] }));
23
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [hasSlottedCaption && (jsx("div", { id: captionId, className: "caption", children: jsx("slot", { name: "caption" }) })), jsx(PScroller, { scrollbar: true, compact: this.props.compact, sticky: this.props.sticky, children: jsx("div", { className: "table", role: "table", ...tableAttr, children: jsx("slot", {}) }) })] })] }), this.props.children] }));
24
24
  }
25
25
  }
26
26
 
@@ -13,13 +13,13 @@ import { PScroller } from '../components/scroller.wrapper.mjs';
13
13
  */
14
14
  class DSRTabsBar extends Component {
15
15
  host;
16
- tabElements = [];
17
- internalTabIndex = this.props.activeTabIndex; // to not override and mutate external prop value
18
- barElement;
19
- scrollerElement;
20
- direction = 'next';
16
+ tabs = [];
17
+ bar;
18
+ scroller;
19
+ slot;
21
20
  hasPTabsParent;
22
- areTabsButtons;
21
+ isTabList;
22
+ resizeObserver;
23
23
  render() {
24
24
  const { children, otherChildren } = splitChildren(this.props.children);
25
25
  const manipulatedChildren = children.map((child, i) => typeof child === 'object' && 'props' in child && otherChildren.includes(child)
@@ -43,8 +43,8 @@ class DSRTabsBar extends Component {
43
43
  }
44
44
  : child
45
45
  : child);
46
- const style = minifyCss(getComponentCss$b(this.props.size, this.props.weight));
47
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(PScroller, { className: "scroller", ...(this.props.areTabsButtons && { aria: { role: 'tablist' } }), alignScrollIndicator: "top", children: [jsx("slot", {}), jsx("span", { className: "bar" })] })] }), manipulatedChildren] }));
46
+ const style = minifyCss(getComponentCss$b(this.props.background, this.props.size, this.props.compact));
47
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(PScroller, { className: "scroller", compact: this.props.compact, ...(this.props.isTabList && { aria: { role: 'tablist' } }), children: [jsx("slot", {}), jsx("span", { className: "bar" })] })] }), manipulatedChildren] }));
48
48
  }
49
49
  }
50
50
 
@@ -13,14 +13,15 @@ import { PTabsBar } from '../components/tabs-bar.wrapper.mjs';
13
13
  */
14
14
  class DSRTabs extends Component {
15
15
  host;
16
- tabsItemElements = [];
16
+ tabsItems = [];
17
+ slot;
17
18
  render() {
18
19
  const { children, otherChildren } = splitChildren(this.props.children);
19
20
  const manipulatedChildren = children.map((child, i) => typeof child === 'object' && 'props' in child && otherChildren.includes(child)
20
21
  ? { ...child, props: { ...child.props, theme: this.props.theme, hidden: this.props.activeTabIndex !== i ? true : null } }
21
22
  : child);
22
23
  const style = minifyCss(getComponentCss$9());
23
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsx(PTabsBar, { className: "root", size: this.props.size, weight: this.props.weight, activeTabIndex: this.props.activeTabIndex, children: otherChildren.map((tab, index) => (jsx("button", { type: "button", children: typeof tab === 'object' && 'props' in tab && tab.props.label }, index))) }), jsx("slot", {})] })] }), manipulatedChildren] }));
24
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsx(PTabsBar, { className: "root", size: this.props.size, background: this.props.background, compact: this.props.compact, activeTabIndex: this.props.activeTabIndex, children: otherChildren.map((tab, index) => (jsx("button", { type: "button", children: typeof tab === 'object' && 'props' in tab && tab.props.label }, index))) }), jsx("slot", {})] })] }), manipulatedChildren] }));
24
25
  }
25
26
  }
26
27
 
@@ -14,15 +14,15 @@ export type PAccordionProps = BaseProps & {
14
14
  */
15
15
  compact?: boolean;
16
16
  /**
17
- * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Sets the heading text within the summary section.
17
+ * @deprecated Will be removed in the next major release. Use the `summary` slot instead. Sets the heading text within the summary section.
18
18
  */
19
19
  heading?: string;
20
20
  /**
21
- * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Sets the heading tag for proper semantic structure within the page.
21
+ * @deprecated Will be removed in the next major release. Use the `summary` slot instead. Sets the heading tag for proper semantic structure within the page.
22
22
  */
23
23
  headingTag?: AccordionHeadingTag;
24
24
  /**
25
- * Emitted when accordion state is changed.
25
+ * Emitted when the accordion state changes.
26
26
  */
27
27
  onUpdate?: (event: CustomEvent<AccordionUpdateEventDetail>) => void;
28
28
  /**
@@ -30,7 +30,7 @@ export type PAccordionProps = BaseProps & {
30
30
  */
31
31
  open?: boolean;
32
32
  /**
33
- * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Controls the heading size in the summary section (only applies when using the `heading` prop or `heading` slot).
33
+ * @deprecated Will be removed in the next major release. Use the `summary` slot instead. Controls the heading size in the summary section (only applies when using the `heading` prop or `heading` slot).
34
34
  */
35
35
  size?: BreakpointCustomizable<AccordionSize>;
36
36
  /**
@@ -52,15 +52,15 @@ export declare const PAccordion: import("react").ForwardRefExoticComponent<Omit<
52
52
  */
53
53
  compact?: boolean;
54
54
  /**
55
- * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Sets the heading text within the summary section.
55
+ * @deprecated Will be removed in the next major release. Use the `summary` slot instead. Sets the heading text within the summary section.
56
56
  */
57
57
  heading?: string;
58
58
  /**
59
- * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Sets the heading tag for proper semantic structure within the page.
59
+ * @deprecated Will be removed in the next major release. Use the `summary` slot instead. Sets the heading tag for proper semantic structure within the page.
60
60
  */
61
61
  headingTag?: AccordionHeadingTag;
62
62
  /**
63
- * Emitted when accordion state is changed.
63
+ * Emitted when the accordion state changes.
64
64
  */
65
65
  onUpdate?: (event: CustomEvent<AccordionUpdateEventDetail>) => void;
66
66
  /**
@@ -68,7 +68,7 @@ export declare const PAccordion: import("react").ForwardRefExoticComponent<Omit<
68
68
  */
69
69
  open?: boolean;
70
70
  /**
71
- * @deprecated , will be removed in the next major release. Use the `summary` slot instead. Controls the heading size in the summary section (only applies when using the `heading` prop or `heading` slot).
71
+ * @deprecated Will be removed in the next major release. Use the `summary` slot instead. Controls the heading size in the summary section (only applies when using the `heading` prop or `heading` slot).
72
72
  */
73
73
  size?: BreakpointCustomizable<AccordionSize>;
74
74
  /**
@@ -1,8 +1,8 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { BreakpointCustomizable, ButtonPureAlignLabel, SelectedAriaAttributes, ButtonPureAriaAttribute, ButtonPureIcon, ButtonPureSize, ButtonPureType } from '../types';
2
+ import type { BreakpointCustomizable, ButtonPureAlignLabel, SelectedAriaAttributes, ButtonPureAriaAttribute, ButtonPureColor, ButtonPureIcon, ButtonPureSize, ButtonPureType } from '../types';
3
3
  export type PButtonPureProps = BaseProps & {
4
4
  /**
5
- * Display button in active state.
5
+ * Displays the button in its active state.
6
6
  */
7
7
  active?: boolean;
8
8
  /**
@@ -10,9 +10,13 @@ export type PButtonPureProps = BaseProps & {
10
10
  */
11
11
  alignLabel?: BreakpointCustomizable<ButtonPureAlignLabel>;
12
12
  /**
13
- * Add ARIA attributes.
13
+ * Sets ARIA attributes.
14
14
  */
15
15
  aria?: SelectedAriaAttributes<ButtonPureAriaAttribute>;
16
+ /**
17
+ * The color.
18
+ */
19
+ color?: ButtonPureColor;
16
20
  /**
17
21
  * Disables the button. No events will be triggered while disabled state is active.
18
22
  */
@@ -22,7 +26,7 @@ export type PButtonPureProps = BaseProps & {
22
26
  */
23
27
  form?: string;
24
28
  /**
25
- * Show or hide label. For better accessibility it is recommended to show the label.
29
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
26
30
  */
27
31
  hideLabel?: BreakpointCustomizable<boolean>;
28
32
  /**
@@ -64,7 +68,7 @@ export type PButtonPureProps = BaseProps & {
64
68
  };
65
69
  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" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
66
70
  /**
67
- * Display button in active state.
71
+ * Displays the button in its active state.
68
72
  */
69
73
  active?: boolean;
70
74
  /**
@@ -72,9 +76,13 @@ export declare const PButtonPure: import("react").ForwardRefExoticComponent<Omit
72
76
  */
73
77
  alignLabel?: BreakpointCustomizable<ButtonPureAlignLabel>;
74
78
  /**
75
- * Add ARIA attributes.
79
+ * Sets ARIA attributes.
76
80
  */
77
81
  aria?: SelectedAriaAttributes<ButtonPureAriaAttribute>;
82
+ /**
83
+ * The color.
84
+ */
85
+ color?: ButtonPureColor;
78
86
  /**
79
87
  * Disables the button. No events will be triggered while disabled state is active.
80
88
  */
@@ -84,7 +92,7 @@ export declare const PButtonPure: import("react").ForwardRefExoticComponent<Omit
84
92
  */
85
93
  form?: string;
86
94
  /**
87
- * Show or hide label. For better accessibility it is recommended to show the label.
95
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
88
96
  */
89
97
  hideLabel?: BreakpointCustomizable<boolean>;
90
98
  /**
@@ -6,7 +6,7 @@ export type PButtonTileProps = BaseProps & {
6
6
  */
7
7
  align?: ButtonTileAlign;
8
8
  /**
9
- * Add ARIA attributes.
9
+ * Sets ARIA attributes.
10
10
  */
11
11
  aria?: SelectedAriaAttributes<ButtonTileAriaAttribute>;
12
12
  /**
@@ -64,7 +64,7 @@ export declare const PButtonTile: import("react").ForwardRefExoticComponent<Omit
64
64
  */
65
65
  align?: ButtonTileAlign;
66
66
  /**
67
- * Add ARIA attributes.
67
+ * Sets ARIA attributes.
68
68
  */
69
69
  aria?: SelectedAriaAttributes<ButtonTileAriaAttribute>;
70
70
  /**
@@ -2,11 +2,11 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, ButtonAriaAttribute, BreakpointCustomizable, ButtonIcon, ButtonType, ButtonVariant } from '../types';
3
3
  export type PButtonProps = BaseProps & {
4
4
  /**
5
- * Add ARIA attributes.
5
+ * Sets ARIA attributes.
6
6
  */
7
7
  aria?: SelectedAriaAttributes<ButtonAriaAttribute>;
8
8
  /**
9
- * Displays as compact version.
9
+ * Displays the button in compact mode.
10
10
  */
11
11
  compact?: BreakpointCustomizable<boolean>;
12
12
  /**
@@ -18,7 +18,7 @@ export type PButtonProps = BaseProps & {
18
18
  */
19
19
  form?: string;
20
20
  /**
21
- * Show or hide label. For better accessibility it is recommended to show the label.
21
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
22
22
  */
23
23
  hideLabel?: BreakpointCustomizable<boolean>;
24
24
  /**
@@ -52,11 +52,11 @@ export type PButtonProps = BaseProps & {
52
52
  };
53
53
  export declare const PButton: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
54
54
  /**
55
- * Add ARIA attributes.
55
+ * Sets ARIA attributes.
56
56
  */
57
57
  aria?: SelectedAriaAttributes<ButtonAriaAttribute>;
58
58
  /**
59
- * Displays as compact version.
59
+ * Displays the button in compact mode.
60
60
  */
61
61
  compact?: BreakpointCustomizable<boolean>;
62
62
  /**
@@ -68,7 +68,7 @@ export declare const PButton: import("react").ForwardRefExoticComponent<Omit<imp
68
68
  */
69
69
  form?: string;
70
70
  /**
71
- * Show or hide label. For better accessibility it is recommended to show the label.
71
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
72
72
  */
73
73
  hideLabel?: BreakpointCustomizable<boolean>;
74
74
  /**
@@ -2,19 +2,19 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { CarouselAlignControls, CarouselAlignHeader, SelectedAriaAttributes, CarouselAriaAttribute, CarouselHeadingSize, CarouselInternationalization, CarouselUpdateEventDetail, BreakpointCustomizable, CarouselSlidesPerPage, CarouselWidth } from '../types';
3
3
  export type PCarouselProps = BaseProps & {
4
4
  /**
5
- * Defines which slide to be active (zero-based numbering).
5
+ * Defines which slide is active (zero-based numbering).
6
6
  */
7
7
  activeSlideIndex?: number;
8
8
  /**
9
- * Alignment of slotted controls
9
+ * Aligns the slotted controls.
10
10
  */
11
11
  alignControls?: CarouselAlignControls;
12
12
  /**
13
- * Alignment of heading and description
13
+ * Aligns the heading and description.
14
14
  */
15
15
  alignHeader?: CarouselAlignHeader;
16
16
  /**
17
- * Add ARIA attributes.
17
+ * Sets ARIA attributes.
18
18
  */
19
19
  aria?: SelectedAriaAttributes<CarouselAriaAttribute>;
20
20
  /**
@@ -54,7 +54,7 @@ export type PCarouselProps = BaseProps & {
54
54
  */
55
55
  rewind?: boolean;
56
56
  /**
57
- * Defines target of skip link (to skip carousel entries).
57
+ * Defines the skip link target used to skip carousel entries.
58
58
  */
59
59
  skipLinkTarget?: string;
60
60
  /**
@@ -72,19 +72,19 @@ export type PCarouselProps = BaseProps & {
72
72
  };
73
73
  export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
74
74
  /**
75
- * Defines which slide to be active (zero-based numbering).
75
+ * Defines which slide is active (zero-based numbering).
76
76
  */
77
77
  activeSlideIndex?: number;
78
78
  /**
79
- * Alignment of slotted controls
79
+ * Aligns the slotted controls.
80
80
  */
81
81
  alignControls?: CarouselAlignControls;
82
82
  /**
83
- * Alignment of heading and description
83
+ * Aligns the heading and description.
84
84
  */
85
85
  alignHeader?: CarouselAlignHeader;
86
86
  /**
87
- * Add ARIA attributes.
87
+ * Sets ARIA attributes.
88
88
  */
89
89
  aria?: SelectedAriaAttributes<CarouselAriaAttribute>;
90
90
  /**
@@ -124,7 +124,7 @@ export declare const PCarousel: import("react").ForwardRefExoticComponent<Omit<i
124
124
  */
125
125
  rewind?: boolean;
126
126
  /**
127
- * Defines target of skip link (to skip carousel entries).
127
+ * Defines the skip link target used to skip carousel entries.
128
128
  */
129
129
  skipLinkTarget?: string;
130
130
  /**
@@ -6,7 +6,7 @@ export type PCheckboxProps = BaseProps & {
6
6
  */
7
7
  checked?: boolean;
8
8
  /**
9
- * Displays as a compact version.
9
+ * Displays the checkbox in compact mode.
10
10
  */
11
11
  compact?: boolean;
12
12
  /**
@@ -18,7 +18,7 @@ export type PCheckboxProps = BaseProps & {
18
18
  */
19
19
  form?: string;
20
20
  /**
21
- * Show or hide label. For better accessibility, it's recommended to show the label.
21
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
22
22
  */
23
23
  hideLabel?: BreakpointCustomizable<boolean>;
24
24
  /**
@@ -26,7 +26,7 @@ export type PCheckboxProps = BaseProps & {
26
26
  */
27
27
  indeterminate?: boolean;
28
28
  /**
29
- * The label text.
29
+ * Text content for a user-facing label.
30
30
  */
31
31
  label?: string;
32
32
  /**
@@ -68,7 +68,7 @@ export declare const PCheckbox: import("react").ForwardRefExoticComponent<Omit<i
68
68
  */
69
69
  checked?: boolean;
70
70
  /**
71
- * Displays as a compact version.
71
+ * Displays the checkbox in compact mode.
72
72
  */
73
73
  compact?: boolean;
74
74
  /**
@@ -80,7 +80,7 @@ export declare const PCheckbox: import("react").ForwardRefExoticComponent<Omit<i
80
80
  */
81
81
  form?: string;
82
82
  /**
83
- * Show or hide label. For better accessibility, it's recommended to show the label.
83
+ * Shows or hides the label. For better accessibility, it is recommended to show the label.
84
84
  */
85
85
  hideLabel?: BreakpointCustomizable<boolean>;
86
86
  /**
@@ -88,7 +88,7 @@ export declare const PCheckbox: import("react").ForwardRefExoticComponent<Omit<i
88
88
  */
89
89
  indeterminate?: boolean;
90
90
  /**
91
- * The label text.
91
+ * Text content for a user-facing label.
92
92
  */
93
93
  label?: string;
94
94
  /**
@@ -2,29 +2,29 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, CrestAriaAttribute, CrestTarget } from '../types';
3
3
  export type PCrestProps = BaseProps & {
4
4
  /**
5
- * Add ARIA attributes.
5
+ * Sets ARIA attributes.
6
6
  */
7
7
  aria?: SelectedAriaAttributes<CrestAriaAttribute>;
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
- * Target attribute where the link should be opened.
13
+ * Specifies where to open the linked document.
14
14
  */
15
15
  target?: CrestTarget;
16
16
  };
17
17
  export declare const PCrest: 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"> & {
18
18
  /**
19
- * Add ARIA attributes.
19
+ * Sets ARIA attributes.
20
20
  */
21
21
  aria?: SelectedAriaAttributes<CrestAriaAttribute>;
22
22
  /**
23
- * When providing an url then the component will be rendered as `<a>`.
23
+ * When `href` is provided, the component renders as an `<a>` element.
24
24
  */
25
25
  href?: string;
26
26
  /**
27
- * Target attribute where the link should be opened.
27
+ * Specifies where to open the linked document.
28
28
  */
29
29
  target?: CrestTarget;
30
30
  } & import("react").RefAttributes<HTMLElement>>;
@@ -22,6 +22,7 @@ export type PDisplayProps = BaseProps & {
22
22
  */
23
23
  tag?: DisplayTag;
24
24
  };
25
+ /** @deprecated since v4.0.0, will be removed with next major release. Please use `p-heading` instead. */
25
26
  export declare const PDisplay: 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
27
  /**
27
28
  * Text alignment of the component.
@@ -2,7 +2,7 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, DrilldownLinkAriaAttribute, DrilldownLinkTarget } from '../types';
3
3
  export type PDrilldownLinkProps = BaseProps & {
4
4
  /**
5
- * Display link in active state.
5
+ * Displays the link in its active state.
6
6
  */
7
7
  active?: boolean;
8
8
  /**
@@ -10,15 +10,15 @@ export type PDrilldownLinkProps = BaseProps & {
10
10
  */
11
11
  aria?: SelectedAriaAttributes<DrilldownLinkAriaAttribute>;
12
12
  /**
13
- * Special download attribute to open native browser download dialog if target url points to a downloadable file (only has effect when `href` is defined and no slotted anchor is used).
13
+ * Sets the native `download` attribute when the target URL points to a downloadable file (only has effect when `href` is defined and no slotted anchor is used).
14
14
  */
15
15
  download?: string;
16
16
  /**
17
- * When providing an url then the component will be rendered as `<a>` otherwise the component expects a slotted anchor.
17
+ * When `href` is provided, the component renders as an `<a>` element. Otherwise, provide a slotted anchor element.
18
18
  */
19
19
  href?: string;
20
20
  /**
21
- * Specifies the relationship of the target object to the link object (only has effect when `href` is defined and no slotted anchor is used).
21
+ * Sets the `rel` attribute on the link (only has effect when `href` is defined and no slotted anchor is used).
22
22
  */
23
23
  rel?: string;
24
24
  /**
@@ -28,7 +28,7 @@ export type PDrilldownLinkProps = BaseProps & {
28
28
  };
29
29
  export declare const PDrilldownLink: 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
30
  /**
31
- * Display link in active state.
31
+ * Displays the link in its active state.
32
32
  */
33
33
  active?: boolean;
34
34
  /**
@@ -36,15 +36,15 @@ export declare const PDrilldownLink: import("react").ForwardRefExoticComponent<O
36
36
  */
37
37
  aria?: SelectedAriaAttributes<DrilldownLinkAriaAttribute>;
38
38
  /**
39
- * Special download attribute to open native browser download dialog if target url points to a downloadable file (only has effect when `href` is defined and no slotted anchor is used).
39
+ * Sets the native `download` attribute when the target URL points to a downloadable file (only has effect when `href` is defined and no slotted anchor is used).
40
40
  */
41
41
  download?: string;
42
42
  /**
43
- * When providing an url then the component will be rendered as `<a>` otherwise the component expects a slotted anchor.
43
+ * When `href` is provided, the component renders as an `<a>` element. Otherwise, provide a slotted anchor element.
44
44
  */
45
45
  href?: string;
46
46
  /**
47
- * Specifies the relationship of the target object to the link object (only has effect when `href` is defined and no slotted anchor is used).
47
+ * Sets the `rel` attribute on the link (only has effect when `href` is defined and no slotted anchor is used).
48
48
  */
49
49
  rel?: string;
50
50
  /**
@@ -2,11 +2,11 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, DrilldownAriaAttribute, DrilldownUpdateEventDetail } from '../types';
3
3
  export type PDrilldownProps = BaseProps & {
4
4
  /**
5
- * Defines which drilldown-item to be visualized as opened.
5
+ * Defines which `p-drilldown-item` is shown as open.
6
6
  */
7
7
  activeIdentifier?: string | undefined;
8
8
  /**
9
- * Add ARIA attributes.
9
+ * Sets ARIA attributes.
10
10
  */
11
11
  aria?: SelectedAriaAttributes<DrilldownAriaAttribute>;
12
12
  /**
@@ -14,21 +14,21 @@ export type PDrilldownProps = BaseProps & {
14
14
  */
15
15
  onDismiss?: (event: CustomEvent<void>) => void;
16
16
  /**
17
- * Emitted when activeIdentifier is changed.
17
+ * Emitted when `activeIdentifier` changes.
18
18
  */
19
19
  onUpdate?: (event: CustomEvent<DrilldownUpdateEventDetail>) => void;
20
20
  /**
21
- * If true, the drilldown is visualized as opened.
21
+ * If `true`, the drilldown is shown as open.
22
22
  */
23
23
  open?: boolean;
24
24
  };
25
25
  export declare const PDrilldown: 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
- * Defines which drilldown-item to be visualized as opened.
27
+ * Defines which `p-drilldown-item` is shown as open.
28
28
  */
29
29
  activeIdentifier?: string | undefined;
30
30
  /**
31
- * Add ARIA attributes.
31
+ * Sets ARIA attributes.
32
32
  */
33
33
  aria?: SelectedAriaAttributes<DrilldownAriaAttribute>;
34
34
  /**
@@ -36,11 +36,11 @@ export declare const PDrilldown: import("react").ForwardRefExoticComponent<Omit<
36
36
  */
37
37
  onDismiss?: (event: CustomEvent<void>) => void;
38
38
  /**
39
- * Emitted when activeIdentifier is changed.
39
+ * Emitted when `activeIdentifier` changes.
40
40
  */
41
41
  onUpdate?: (event: CustomEvent<DrilldownUpdateEventDetail>) => void;
42
42
  /**
43
- * If true, the drilldown is visualized as opened.
43
+ * If `true`, the drilldown is shown as open.
44
44
  */
45
45
  open?: boolean;
46
46
  } & {
@@ -2,15 +2,15 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaRole, FieldsetLabelSize, FieldsetState } from '../types';
3
3
  export type PFieldsetProps = BaseProps & {
4
4
  /**
5
- * Add ARIA attributes.
5
+ * Sets ARIA attributes.
6
6
  */
7
7
  aria?: SelectedAriaRole<"radiogroup">;
8
8
  /**
9
- * The label text.
9
+ * Text content for a user-facing label.
10
10
  */
11
11
  label?: string;
12
12
  /**
13
- * The size of the label text.
13
+ * Controls the size of the label text.
14
14
  */
15
15
  labelSize?: FieldsetLabelSize;
16
16
  /**
@@ -28,15 +28,15 @@ export type PFieldsetProps = BaseProps & {
28
28
  };
29
29
  export declare const PFieldset: 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
30
  /**
31
- * Add ARIA attributes.
31
+ * Sets ARIA attributes.
32
32
  */
33
33
  aria?: SelectedAriaRole<"radiogroup">;
34
34
  /**
35
- * The label text.
35
+ * Text content for a user-facing label.
36
36
  */
37
37
  label?: string;
38
38
  /**
39
- * The size of the label text.
39
+ * Controls the size of the label text.
40
40
  */
41
41
  labelSize?: FieldsetLabelSize;
42
42
  /**
@@ -1,5 +1,5 @@
1
1
  import type { BaseProps } from '../../BaseProps';
2
- import type { SelectedAriaAttributes, FlagAriaAttribute, FlagName, FlagSize } from '../types';
2
+ import type { SelectedAriaAttributes, FlagAriaAttribute, FlagName, BreakpointCustomizable, FlagSize } from '../types';
3
3
  export type PFlagProps = BaseProps & {
4
4
  /**
5
5
  * A map of ARIA attributes to enhance the flag's accessibility. For example, use `{ 'aria-label': 'German flag' }` to provide a descriptive label for screen readers.
@@ -10,9 +10,9 @@ export type PFlagProps = BaseProps & {
10
10
  */
11
11
  name?: FlagName;
12
12
  /**
13
- * The size of the flag. Pre-defined sizes are aligned with the Porsche Next typescale. Available values are `small`, `medium`, `large`, etc.
13
+ * Defines the size of the flag, aligned with the typographic scale used by components such as p-icon, p-spinner, 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.
14
14
  */
15
- size?: FlagSize;
15
+ size?: BreakpointCustomizable<FlagSize>;
16
16
  };
17
17
  export declare const PFlag: 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"> & {
18
18
  /**
@@ -24,7 +24,7 @@ export declare const PFlag: import("react").ForwardRefExoticComponent<Omit<impor
24
24
  */
25
25
  name?: FlagName;
26
26
  /**
27
- * The size of the flag. Pre-defined sizes are aligned with the Porsche Next typescale. Available values are `small`, `medium`, `large`, etc.
27
+ * Defines the size of the flag, aligned with the typographic scale used by components such as p-icon, p-spinner, 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.
28
28
  */
29
- size?: FlagSize;
29
+ size?: BreakpointCustomizable<FlagSize>;
30
30
  } & import("react").RefAttributes<HTMLElement>>;
@@ -2,7 +2,7 @@ import type { BaseProps } from '../../BaseProps';
2
2
  import type { SelectedAriaAttributes, FlyoutAriaAttribute, FlyoutBackdrop, FlyoutBackground, FlyoutFooterBehavior, FlyoutMotionHiddenEndEventDetail, FlyoutMotionVisibleEndEventDetail, FlyoutPosition } from '../types';
3
3
  export type PFlyoutProps = BaseProps & {
4
4
  /**
5
- * Add ARIA attributes.
5
+ * Sets ARIA attributes.
6
6
  */
7
7
  aria?: SelectedAriaAttributes<FlyoutAriaAttribute>;
8
8
  /**
@@ -44,7 +44,7 @@ export type PFlyoutProps = BaseProps & {
44
44
  };
45
45
  export declare const PFlyout: 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"> & {
46
46
  /**
47
- * Add ARIA attributes.
47
+ * Sets ARIA attributes.
48
48
  */
49
49
  aria?: SelectedAriaAttributes<FlyoutAriaAttribute>;
50
50
  /**