@porsche-design-system/components-react 4.10.1 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/CHANGELOG.md +104 -9
  2. package/cjs/lib/components/link.wrapper.cjs +3 -3
  3. package/cjs/lib/components/popover.wrapper.cjs +3 -3
  4. package/cjs/lib/components/sheet.wrapper.cjs +3 -3
  5. package/esm/lib/components/input-search.wrapper.d.ts +2 -2
  6. package/esm/lib/components/link.wrapper.d.ts +10 -0
  7. package/esm/lib/components/link.wrapper.mjs +3 -3
  8. package/esm/lib/components/popover.wrapper.d.ts +10 -0
  9. package/esm/lib/components/popover.wrapper.mjs +3 -3
  10. package/esm/lib/components/sheet.wrapper.d.ts +12 -2
  11. package/esm/lib/components/sheet.wrapper.mjs +3 -3
  12. package/esm/lib/types.d.ts +7 -3
  13. package/package.json +2 -2
  14. package/skills/pds-audit-deprecations-react/SKILL.md +2 -2
  15. package/skills/pds-knowledge-react/SKILL.md +8 -7
  16. package/skills/pds-knowledge-react/references/components/p-accordion/examples/Default.tsx +1 -1
  17. package/skills/pds-knowledge-react/references/components/p-accordion/examples/InteractiveElementsInSummary.tsx +1 -1
  18. package/skills/pds-knowledge-react/references/components/p-accordion/examples/StickySummary.tsx +1 -1
  19. package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinRadioGroup.tsx +1 -1
  20. package/skills/pds-knowledge-react/references/components/p-ai-tag/examples/WithinTable.tsx +1 -1
  21. package/skills/pds-knowledge-react/references/components/p-banner/examples/Customization.tsx +1 -1
  22. package/skills/pds-knowledge-react/references/components/p-banner/p-banner.md +2 -2
  23. package/skills/pds-knowledge-react/references/components/p-button-pure/p-button-pure.md +9 -0
  24. package/skills/pds-knowledge-react/references/components/p-carousel/p-carousel.md +1 -1
  25. package/skills/pds-knowledge-react/references/components/p-fieldset/p-fieldset.md +7 -9
  26. package/skills/pds-knowledge-react/references/components/p-flyout/examples/CustomStyling.tsx +3 -3
  27. package/skills/pds-knowledge-react/references/components/p-flyout/examples/Default.tsx +1 -1
  28. package/skills/pds-knowledge-react/references/components/p-flyout/examples/StickyTop.tsx +1 -1
  29. package/skills/pds-knowledge-react/references/components/p-inline-notification/p-inline-notification.md +1 -1
  30. package/skills/pds-knowledge-react/references/components/p-input-search/p-input-search.md +26 -8
  31. package/skills/pds-knowledge-react/references/components/p-link/examples/Cover.tsx +20 -0
  32. package/skills/pds-knowledge-react/references/components/p-link/p-link.md +3 -0
  33. package/skills/pds-knowledge-react/references/components/p-link-pure/p-link-pure.md +39 -1
  34. package/skills/pds-knowledge-react/references/components/p-modal/examples/AlertDialog.tsx +1 -1
  35. package/skills/pds-knowledge-react/references/components/p-modal/examples/Default.tsx +1 -1
  36. package/skills/pds-knowledge-react/references/components/p-modal/examples/Scrollable.tsx +1 -1
  37. package/skills/pds-knowledge-react/references/components/p-popover/p-popover.md +4 -2
  38. package/skills/pds-knowledge-react/references/components/p-sheet/examples/Default.tsx +1 -1
  39. package/skills/pds-knowledge-react/references/components/p-sheet/p-sheet.md +6 -3
  40. package/skills/pds-knowledge-react/references/components/p-table/examples/CaptionSlot.tsx +1 -1
  41. package/skills/pds-knowledge-react/references/components/p-toast/p-toast.md +2 -2
  42. package/skills/pds-knowledge-react/references/deprecations.md +4 -4
  43. package/skills/pds-knowledge-react/references/examples/patterns/feedback/dialog.md +2 -1
  44. package/skills/pds-knowledge-react/references/examples/patterns/feedback/inline.md +2 -1
  45. package/skills/pds-knowledge-react/references/examples/patterns/{footer.md → footer/extended.md} +9 -8
  46. package/skills/pds-knowledge-react/references/examples/patterns/footer/simple.md +75 -0
  47. package/skills/pds-knowledge-react/references/examples/patterns/forms/booking.md +479 -0
  48. package/skills/pds-knowledge-react/references/examples/patterns/forms/contact.md +211 -0
  49. package/skills/pds-knowledge-react/references/examples/patterns/forms/personal-details.md +253 -0
  50. package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-link-list.md +363 -0
  51. package/skills/pds-knowledge-react/references/examples/patterns/forms/search-combobox-option-list.md +499 -0
  52. package/skills/pds-knowledge-react/references/examples/patterns/header/overlay.md +2 -1
  53. package/skills/pds-knowledge-react/references/examples/patterns/header/stacked.md +2 -1
  54. package/skills/pds-knowledge-react/references/examples/patterns/popover/feature-tour.md +2 -1
  55. package/skills/pds-knowledge-react/references/examples/patterns/popover/local-market-switch.md +2 -1
  56. package/skills/pds-knowledge-react/references/examples/patterns/popover/priority-navigation.md +2 -1
  57. package/skills/pds-knowledge-react/references/examples/patterns/tile/call-to-action.md +71 -0
  58. package/skills/pds-knowledge-react/references/examples/patterns/tile/category.md +60 -0
  59. package/skills/pds-knowledge-react/references/examples/patterns/tile/disclosure.md +84 -0
  60. package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment-stacked.md +54 -0
  61. package/skills/pds-knowledge-react/references/examples/patterns/tile/equipment.md +69 -0
  62. package/skills/pds-knowledge-react/references/examples/patterns/tile/image.md +64 -0
  63. package/skills/pds-knowledge-react/references/examples/patterns/tile/model-navigation.md +52 -0
  64. package/skills/pds-knowledge-react/references/examples/patterns/tile/model-selection.md +66 -0
  65. package/skills/pds-knowledge-react/references/examples/patterns/tile/model-teaser.md +78 -0
  66. package/skills/pds-knowledge-react/references/examples/patterns/tile/product.md +92 -0
  67. package/skills/pds-knowledge-react/references/examples/patterns/tile/vehicle-listing.md +107 -0
  68. package/skills/pds-knowledge-react/references/examples/patterns/tile/video.md +114 -0
  69. package/skills/pds-knowledge-react/references/examples/templates/admin-panel.md +1 -0
  70. package/skills/pds-knowledge-react/references/examples/templates/landing-page.md +4 -3
  71. package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/no-video.md +1166 -0
  72. package/skills/pds-knowledge-react/references/examples/templates/personalized-mailing/video.md +1252 -0
  73. package/skills/pds-knowledge-react/references/examples.md +50 -1
  74. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +239 -70
  75. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +424 -6
  76. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.cjs +4 -4
  77. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.cjs +4 -4
  78. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.cjs +4 -4
  79. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.cjs +2 -1
  80. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.cjs +2 -2
  81. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.cjs +1 -1
  82. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.cjs +4 -2
  83. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.cjs +1 -1
  84. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +14 -3
  85. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +239 -70
  86. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +411 -7
  87. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/link.wrapper.mjs +4 -4
  88. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/popover.wrapper.mjs +4 -4
  89. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/sheet.wrapper.mjs +4 -4
  90. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -1
  91. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/dialog-base.mjs +2 -2
  92. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-base.mjs +1 -1
  93. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +5 -3
  94. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +1 -1
  95. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +15 -4
  96. package/ssr/esm/public-api.d.ts +8696 -5
  97. package/skills/pds-knowledge-react/references/components/p-input-search/examples/AriaCombobox.tsx +0 -35
  98. package/ssr/esm/BaseProps.d.ts +0 -2
  99. package/ssr/esm/getCachedMinifiedCss.d.ts +0 -23
  100. package/ssr/esm/hooks.d.ts +0 -15
  101. package/ssr/esm/lib/components/accordion.wrapper.d.ts +0 -98
  102. package/ssr/esm/lib/components/ai-tag.wrapper.d.ts +0 -26
  103. package/ssr/esm/lib/components/banner.wrapper.d.ts +0 -86
  104. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +0 -158
  105. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +0 -140
  106. package/ssr/esm/lib/components/button.wrapper.d.ts +0 -118
  107. package/ssr/esm/lib/components/canvas.wrapper.d.ts +0 -54
  108. package/ssr/esm/lib/components/carousel.wrapper.d.ts +0 -166
  109. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +0 -160
  110. package/ssr/esm/lib/components/crest.wrapper.d.ts +0 -32
  111. package/ssr/esm/lib/components/display.wrapper.d.ts +0 -57
  112. package/ssr/esm/lib/components/divider.wrapper.d.ts +0 -26
  113. package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +0 -53
  114. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +0 -60
  115. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +0 -50
  116. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +0 -66
  117. package/ssr/esm/lib/components/flag.wrapper.d.ts +0 -34
  118. package/ssr/esm/lib/components/flyout.wrapper.d.ts +0 -110
  119. package/ssr/esm/lib/components/heading.wrapper.d.ts +0 -76
  120. package/ssr/esm/lib/components/icon.wrapper.d.ts +0 -52
  121. package/ssr/esm/lib/components/index.d.ts +0 -74
  122. package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +0 -102
  123. package/ssr/esm/lib/components/input-date.wrapper.d.ts +0 -200
  124. package/ssr/esm/lib/components/input-email.wrapper.d.ts +0 -228
  125. package/ssr/esm/lib/components/input-month.wrapper.d.ts +0 -200
  126. package/ssr/esm/lib/components/input-number.wrapper.d.ts +0 -220
  127. package/ssr/esm/lib/components/input-password.wrapper.d.ts +0 -210
  128. package/ssr/esm/lib/components/input-search.wrapper.d.ts +0 -220
  129. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +0 -218
  130. package/ssr/esm/lib/components/input-text.wrapper.d.ts +0 -218
  131. package/ssr/esm/lib/components/input-time.wrapper.d.ts +0 -200
  132. package/ssr/esm/lib/components/input-url.wrapper.d.ts +0 -218
  133. package/ssr/esm/lib/components/input-week.wrapper.d.ts +0 -200
  134. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +0 -138
  135. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +0 -104
  136. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +0 -126
  137. package/ssr/esm/lib/components/link.wrapper.d.ts +0 -98
  138. package/ssr/esm/lib/components/modal.wrapper.d.ts +0 -100
  139. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +0 -68
  140. package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +0 -25
  141. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +0 -156
  142. package/ssr/esm/lib/components/optgroup.wrapper.d.ts +0 -25
  143. package/ssr/esm/lib/components/pagination.wrapper.d.ts +0 -64
  144. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +0 -160
  145. package/ssr/esm/lib/components/popover.wrapper.d.ts +0 -58
  146. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +0 -43
  147. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +0 -148
  148. package/ssr/esm/lib/components/scroller.wrapper.d.ts +0 -62
  149. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +0 -58
  150. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +0 -148
  151. package/ssr/esm/lib/components/select-option.wrapper.d.ts +0 -25
  152. package/ssr/esm/lib/components/select.wrapper.d.ts +0 -164
  153. package/ssr/esm/lib/components/sheet.wrapper.d.ts +0 -80
  154. package/ssr/esm/lib/components/spinner.wrapper.d.ts +0 -34
  155. package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +0 -26
  156. package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +0 -26
  157. package/ssr/esm/lib/components/switch.wrapper.d.ts +0 -94
  158. package/ssr/esm/lib/components/table-body.wrapper.d.ts +0 -5
  159. package/ssr/esm/lib/components/table-cell.wrapper.d.ts +0 -17
  160. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +0 -36
  161. package/ssr/esm/lib/components/table-head-row.wrapper.d.ts +0 -5
  162. package/ssr/esm/lib/components/table-head.wrapper.d.ts +0 -5
  163. package/ssr/esm/lib/components/table-row.wrapper.d.ts +0 -5
  164. package/ssr/esm/lib/components/table.wrapper.d.ts +0 -54
  165. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +0 -70
  166. package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +0 -15
  167. package/ssr/esm/lib/components/tabs.wrapper.d.ts +0 -72
  168. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +0 -34
  169. package/ssr/esm/lib/components/tag.wrapper.d.ts +0 -46
  170. package/ssr/esm/lib/components/text-list-item.wrapper.d.ts +0 -5
  171. package/ssr/esm/lib/components/text-list.wrapper.d.ts +0 -18
  172. package/ssr/esm/lib/components/text.wrapper.d.ts +0 -78
  173. package/ssr/esm/lib/components/textarea.wrapper.d.ts +0 -238
  174. package/ssr/esm/lib/components/toast.wrapper.d.ts +0 -3
  175. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +0 -42
  176. package/ssr/esm/lib/dsr-components/accordion.d.ts +0 -18
  177. package/ssr/esm/lib/dsr-components/ai-tag.d.ts +0 -6
  178. package/ssr/esm/lib/dsr-components/banner.d.ts +0 -20
  179. package/ssr/esm/lib/dsr-components/button-pure.d.ts +0 -12
  180. package/ssr/esm/lib/dsr-components/button-tile.d.ts +0 -12
  181. package/ssr/esm/lib/dsr-components/button.d.ts +0 -19
  182. package/ssr/esm/lib/dsr-components/canvas.d.ts +0 -23
  183. package/ssr/esm/lib/dsr-components/carousel.d.ts +0 -27
  184. package/ssr/esm/lib/dsr-components/checkbox.d.ts +0 -19
  185. package/ssr/esm/lib/dsr-components/crest.d.ts +0 -6
  186. package/ssr/esm/lib/dsr-components/dialog-base.d.ts +0 -22
  187. package/ssr/esm/lib/dsr-components/display.d.ts +0 -11
  188. package/ssr/esm/lib/dsr-components/divider.d.ts +0 -6
  189. package/ssr/esm/lib/dsr-components/drilldown-item.d.ts +0 -15
  190. package/ssr/esm/lib/dsr-components/drilldown-link.d.ts +0 -11
  191. package/ssr/esm/lib/dsr-components/drilldown.d.ts +0 -23
  192. package/ssr/esm/lib/dsr-components/fc-dismiss-button.d.ts +0 -16
  193. package/ssr/esm/lib/dsr-components/fieldset.d.ts +0 -11
  194. package/ssr/esm/lib/dsr-components/filter-status-announcer.d.ts +0 -6
  195. package/ssr/esm/lib/dsr-components/flag.d.ts +0 -6
  196. package/ssr/esm/lib/dsr-components/flyout.d.ts +0 -26
  197. package/ssr/esm/lib/dsr-components/heading.d.ts +0 -9
  198. package/ssr/esm/lib/dsr-components/icon.d.ts +0 -6
  199. package/ssr/esm/lib/dsr-components/inline-notification.d.ts +0 -11
  200. package/ssr/esm/lib/dsr-components/input-base.d.ts +0 -38
  201. package/ssr/esm/lib/dsr-components/input-date.d.ts +0 -22
  202. package/ssr/esm/lib/dsr-components/input-email.d.ts +0 -22
  203. package/ssr/esm/lib/dsr-components/input-month.d.ts +0 -22
  204. package/ssr/esm/lib/dsr-components/input-number.d.ts +0 -22
  205. package/ssr/esm/lib/dsr-components/input-password.d.ts +0 -23
  206. package/ssr/esm/lib/dsr-components/input-search.d.ts +0 -23
  207. package/ssr/esm/lib/dsr-components/input-tel.d.ts +0 -22
  208. package/ssr/esm/lib/dsr-components/input-text.d.ts +0 -22
  209. package/ssr/esm/lib/dsr-components/input-time.d.ts +0 -22
  210. package/ssr/esm/lib/dsr-components/input-url.d.ts +0 -22
  211. package/ssr/esm/lib/dsr-components/input-week.d.ts +0 -22
  212. package/ssr/esm/lib/dsr-components/label.d.ts +0 -24
  213. package/ssr/esm/lib/dsr-components/link-pure.d.ts +0 -9
  214. package/ssr/esm/lib/dsr-components/link-tile-product.d.ts +0 -15
  215. package/ssr/esm/lib/dsr-components/link-tile.d.ts +0 -12
  216. package/ssr/esm/lib/dsr-components/link.d.ts +0 -9
  217. package/ssr/esm/lib/dsr-components/loading-message.d.ts +0 -8
  218. package/ssr/esm/lib/dsr-components/modal.d.ts +0 -23
  219. package/ssr/esm/lib/dsr-components/model-signature.d.ts +0 -9
  220. package/ssr/esm/lib/dsr-components/multi-select-option.d.ts +0 -10
  221. package/ssr/esm/lib/dsr-components/multi-select.d.ts +0 -40
  222. package/ssr/esm/lib/dsr-components/no-results-option.d.ts +0 -2
  223. package/ssr/esm/lib/dsr-components/notification-base.d.ts +0 -14
  224. package/ssr/esm/lib/dsr-components/optgroup.d.ts +0 -9
  225. package/ssr/esm/lib/dsr-components/pagination.d.ts +0 -9
  226. package/ssr/esm/lib/dsr-components/pin-code.d.ts +0 -22
  227. package/ssr/esm/lib/dsr-components/popover.d.ts +0 -27
  228. package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +0 -13
  229. package/ssr/esm/lib/dsr-components/radio-group.d.ts +0 -22
  230. package/ssr/esm/lib/dsr-components/required.d.ts +0 -2
  231. package/ssr/esm/lib/dsr-components/scroller.d.ts +0 -15
  232. package/ssr/esm/lib/dsr-components/segmented-control-item.d.ts +0 -10
  233. package/ssr/esm/lib/dsr-components/segmented-control.d.ts +0 -21
  234. package/ssr/esm/lib/dsr-components/select-option.d.ts +0 -10
  235. package/ssr/esm/lib/dsr-components/select.d.ts +0 -41
  236. package/ssr/esm/lib/dsr-components/sheet.d.ts +0 -20
  237. package/ssr/esm/lib/dsr-components/spinner.d.ts +0 -6
  238. package/ssr/esm/lib/dsr-components/state-message.d.ts +0 -10
  239. package/ssr/esm/lib/dsr-components/stepper-horizontal-item.d.ts +0 -9
  240. package/ssr/esm/lib/dsr-components/stepper-horizontal.d.ts +0 -12
  241. package/ssr/esm/lib/dsr-components/switch.d.ts +0 -12
  242. package/ssr/esm/lib/dsr-components/table-body.d.ts +0 -9
  243. package/ssr/esm/lib/dsr-components/table-cell.d.ts +0 -9
  244. package/ssr/esm/lib/dsr-components/table-head-cell.d.ts +0 -9
  245. package/ssr/esm/lib/dsr-components/table-head-row.d.ts +0 -9
  246. package/ssr/esm/lib/dsr-components/table-head.d.ts +0 -9
  247. package/ssr/esm/lib/dsr-components/table-row.d.ts +0 -9
  248. package/ssr/esm/lib/dsr-components/table.d.ts +0 -10
  249. package/ssr/esm/lib/dsr-components/tabs-bar.d.ts +0 -17
  250. package/ssr/esm/lib/dsr-components/tabs-item.d.ts +0 -9
  251. package/ssr/esm/lib/dsr-components/tabs.d.ts +0 -12
  252. package/ssr/esm/lib/dsr-components/tag-dismissible.d.ts +0 -9
  253. package/ssr/esm/lib/dsr-components/tag.d.ts +0 -9
  254. package/ssr/esm/lib/dsr-components/text-list-item.d.ts +0 -9
  255. package/ssr/esm/lib/dsr-components/text-list.d.ts +0 -9
  256. package/ssr/esm/lib/dsr-components/text.d.ts +0 -9
  257. package/ssr/esm/lib/dsr-components/textarea.d.ts +0 -19
  258. package/ssr/esm/lib/dsr-components/toast.d.ts +0 -7
  259. package/ssr/esm/lib/dsr-components/wordmark.d.ts +0 -6
  260. package/ssr/esm/lib/types.d.ts +0 -1862
  261. package/ssr/esm/minifyCss.d.ts +0 -1
  262. package/ssr/esm/provider.d.ts +0 -10
  263. package/ssr/esm/splitChildren.d.ts +0 -17
  264. package/ssr/esm/utils.d.ts +0 -4
@@ -1,148 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- import type { BreakpointCustomizable, SegmentedControlColumns, SegmentedControlChangeEventDetail, SegmentedControlState } from '../types';
3
- export type PSegmentedControlProps = BaseProps & {
4
- /**
5
- * Sets the number of equal-width columns for the item layout. Use `auto` to distribute items based on their content width. Supports responsive breakpoint values.
6
- * @default 'auto'
7
- */
8
- columns?: BreakpointCustomizable<SegmentedControlColumns>;
9
- /**
10
- * Reduces the item height and spacing for use in dense layouts where vertical space is limited.
11
- * @default false
12
- */
13
- compact?: boolean;
14
- /**
15
- * Sets a supplementary description displayed below the label to give users additional context about the segmented control.
16
- * @default ''
17
- */
18
- description?: string;
19
- /**
20
- * Prevents user interaction with all items in the segmented control and excludes the value from form submissions.
21
- * @default false
22
- */
23
- disabled?: boolean;
24
- /**
25
- * Associates the segmented control with a form element by its ID when it is not a direct descendant of that form.
26
- */
27
- form?: string;
28
- /**
29
- * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
30
- * @default false
31
- */
32
- hideLabel?: BreakpointCustomizable<boolean>;
33
- /**
34
- * Sets the visible label text displayed above the segmented control to describe the group of options.
35
- * @default ''
36
- */
37
- label?: string;
38
- /**
39
- * Sets the validation feedback message displayed below the segmented control when `state` is `success` or `error`.
40
- * @default ''
41
- */
42
- message?: string;
43
- /**
44
- * Sets the name of the control submitted with the form data to identify the selected value on the server.
45
- */
46
- name?: string;
47
- /**
48
- * Prevents items from wrapping to new rows and renders them in a single horizontally scrollable row instead.
49
- * @default false
50
- */
51
- noWrap?: boolean;
52
- /**
53
- * Emitted when the segmented control loses focus, useful for triggering validation on blur.
54
- */
55
- onBlur?: (event: CustomEvent<void>) => void;
56
- /**
57
- * Emitted when the user selects a different item, carrying the new value in the event detail.
58
- */
59
- onChange?: (event: CustomEvent<SegmentedControlChangeEventDetail>) => void;
60
- /**
61
- * Marks the segmented control as required so the form cannot be submitted until one option is selected.
62
- * @default false
63
- */
64
- required?: boolean;
65
- /**
66
- * Sets the validation state of the segmented control, controlling its visual appearance and feedback message style (`none`, `success`, `error`).
67
- * @default 'none'
68
- */
69
- state?: SegmentedControlState;
70
- /**
71
- * Sets the currently selected item's value and pre-selects the matching option when the component renders. Matches an item strictly by type and value, meaning string or number only match an item whose value has the same type and equal value. Use undefined or null for no preselection. Please note that FormData always serializes values as strings, so when participating in a native (uncontrolled) form a number value is restored as string via formStateRestoreCallback and will no longer strictly match a number-typed item. This limitation only applies to native form state restoration; in controlled forms (where the consumer manages value directly via the change event), the number type is preserved end-to-end.
72
- */
73
- value?: string | number | null;
74
- };
75
- export declare const PSegmentedControl: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
76
- /**
77
- * Sets the number of equal-width columns for the item layout. Use `auto` to distribute items based on their content width. Supports responsive breakpoint values.
78
- * @default 'auto'
79
- */
80
- columns?: BreakpointCustomizable<SegmentedControlColumns>;
81
- /**
82
- * Reduces the item height and spacing for use in dense layouts where vertical space is limited.
83
- * @default false
84
- */
85
- compact?: boolean;
86
- /**
87
- * Sets a supplementary description displayed below the label to give users additional context about the segmented control.
88
- * @default ''
89
- */
90
- description?: string;
91
- /**
92
- * Prevents user interaction with all items in the segmented control and excludes the value from form submissions.
93
- * @default false
94
- */
95
- disabled?: boolean;
96
- /**
97
- * Associates the segmented control with a form element by its ID when it is not a direct descendant of that form.
98
- */
99
- form?: string;
100
- /**
101
- * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
102
- * @default false
103
- */
104
- hideLabel?: BreakpointCustomizable<boolean>;
105
- /**
106
- * Sets the visible label text displayed above the segmented control to describe the group of options.
107
- * @default ''
108
- */
109
- label?: string;
110
- /**
111
- * Sets the validation feedback message displayed below the segmented control when `state` is `success` or `error`.
112
- * @default ''
113
- */
114
- message?: string;
115
- /**
116
- * Sets the name of the control submitted with the form data to identify the selected value on the server.
117
- */
118
- name?: string;
119
- /**
120
- * Prevents items from wrapping to new rows and renders them in a single horizontally scrollable row instead.
121
- * @default false
122
- */
123
- noWrap?: boolean;
124
- /**
125
- * Emitted when the segmented control loses focus, useful for triggering validation on blur.
126
- */
127
- onBlur?: (event: CustomEvent<void>) => void;
128
- /**
129
- * Emitted when the user selects a different item, carrying the new value in the event detail.
130
- */
131
- onChange?: (event: CustomEvent<SegmentedControlChangeEventDetail>) => void;
132
- /**
133
- * Marks the segmented control as required so the form cannot be submitted until one option is selected.
134
- * @default false
135
- */
136
- required?: boolean;
137
- /**
138
- * Sets the validation state of the segmented control, controlling its visual appearance and feedback message style (`none`, `success`, `error`).
139
- * @default 'none'
140
- */
141
- state?: SegmentedControlState;
142
- /**
143
- * Sets the currently selected item's value and pre-selects the matching option when the component renders. Matches an item strictly by type and value, meaning string or number only match an item whose value has the same type and equal value. Use undefined or null for no preselection. Please note that FormData always serializes values as strings, so when participating in a native (uncontrolled) form a number value is restored as string via formStateRestoreCallback and will no longer strictly match a number-typed item. This limitation only applies to native form state restoration; in controlled forms (where the consumer manages value directly via the change event), the number type is preserved end-to-end.
144
- */
145
- value?: string | number | null;
146
- } & {
147
- children?: import("react").ReactNode | undefined;
148
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,25 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- export type PSelectOptionProps = BaseProps & {
3
- /**
4
- * Prevents the option from being selected and visually dims it to indicate it is unavailable.
5
- * @default false
6
- */
7
- disabled?: boolean;
8
- /**
9
- * Sets the value submitted with the form data when this option is selected in the parent select control.
10
- */
11
- value?: string | number | null;
12
- };
13
- export declare const PSelectOption: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
14
- /**
15
- * Prevents the option from being selected and visually dims it to indicate it is unavailable.
16
- * @default false
17
- */
18
- disabled?: boolean;
19
- /**
20
- * Sets the value submitted with the form data when this option is selected in the parent select control.
21
- */
22
- value?: string | number | null;
23
- } & {
24
- children?: import("react").ReactNode | undefined;
25
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,164 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- import type { SelectedAriaAttributes, SelectAriaAttribute, SelectDropdownDirection, BreakpointCustomizable, SelectChangeEventDetail, SelectToggleEventDetail, SelectState } from '../types';
3
- export type PSelectProps = BaseProps & {
4
- /**
5
- * Sets additional ARIA attributes on the combobox to improve accessibility for screen readers.
6
- */
7
- aria?: SelectedAriaAttributes<SelectAriaAttribute>;
8
- /**
9
- * Reduces the control height and padding for use in dense layouts where vertical space is limited.
10
- * @default false
11
- */
12
- compact?: boolean;
13
- /**
14
- * Sets a supplementary description displayed below the label to give users additional guidance about the select.
15
- * @default ''
16
- */
17
- description?: string;
18
- /**
19
- * Prevents user interaction with the select and excludes its value from form submissions.
20
- * @default false
21
- */
22
- disabled?: boolean;
23
- /**
24
- * Controls whether the dropdown list opens upward (`up`) or downward (`down`), or determines the direction automatically (`auto`).
25
- * @default 'auto'
26
- */
27
- dropdownDirection?: SelectDropdownDirection;
28
- /**
29
- * Shows a text input inside the dropdown that filters the visible options as the user types. Ignored when the `filter` slot is used.
30
- * @default false
31
- */
32
- filter?: boolean;
33
- /**
34
- * Associates the select with a form element by its ID when it is not a direct descendant of that form.
35
- */
36
- form?: string;
37
- /**
38
- * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
39
- * @default false
40
- */
41
- hideLabel?: BreakpointCustomizable<boolean>;
42
- /**
43
- * Sets the visible label text displayed above the select control to identify its purpose.
44
- * @default ''
45
- */
46
- label?: string;
47
- /**
48
- * Sets the validation feedback message displayed below the select when `state` is `success` or `error`.
49
- * @default ''
50
- */
51
- message?: string;
52
- /**
53
- * Sets the name of the control submitted with the form data, identifying the selected value on the server.
54
- */
55
- name: string;
56
- /**
57
- * Emitted when the select component loses focus, useful for triggering validation on blur.
58
- */
59
- onBlur?: (event: CustomEvent<void>) => void;
60
- /**
61
- * Emitted when the user selects a different option, carrying the new value in the event detail.
62
- */
63
- onChange?: (event: CustomEvent<SelectChangeEventDetail>) => void;
64
- /**
65
- * Emitted when the dropdown list opens or closes, carrying the new `isOpen` state in the event detail.
66
- */
67
- onToggle?: (event: CustomEvent<SelectToggleEventDetail>) => void;
68
- /**
69
- * Marks the select as required so the form cannot be submitted unless a non-empty option is selected.
70
- * @default false
71
- */
72
- required?: boolean;
73
- /**
74
- * Sets the validation state of the select, which controls its visual appearance and feedback message style (`none`, `success`, `error`).
75
- * @default 'none'
76
- */
77
- state?: SelectState;
78
- /**
79
- * The selected value. Matches an option strictly by type and value, meaning null matches only an option with value null, undefined matches only an option with value undefined (no preselection by default), and string or number only match an option whose value has the same type and equal value. Please note that FormData always serializes values as strings, so when participating in a native (uncontrolled) form a number value is restored as string via formStateRestoreCallback and will no longer strictly match a number-typed option. This limitation only applies to native form state restoration; in controlled forms (where the consumer manages value directly via the change event), the number type is preserved end-to-end.
80
- */
81
- value?: string | number | null;
82
- };
83
- export declare const PSelect: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
84
- /**
85
- * Sets additional ARIA attributes on the combobox to improve accessibility for screen readers.
86
- */
87
- aria?: SelectedAriaAttributes<SelectAriaAttribute>;
88
- /**
89
- * Reduces the control height and padding for use in dense layouts where vertical space is limited.
90
- * @default false
91
- */
92
- compact?: boolean;
93
- /**
94
- * Sets a supplementary description displayed below the label to give users additional guidance about the select.
95
- * @default ''
96
- */
97
- description?: string;
98
- /**
99
- * Prevents user interaction with the select and excludes its value from form submissions.
100
- * @default false
101
- */
102
- disabled?: boolean;
103
- /**
104
- * Controls whether the dropdown list opens upward (`up`) or downward (`down`), or determines the direction automatically (`auto`).
105
- * @default 'auto'
106
- */
107
- dropdownDirection?: SelectDropdownDirection;
108
- /**
109
- * Shows a text input inside the dropdown that filters the visible options as the user types. Ignored when the `filter` slot is used.
110
- * @default false
111
- */
112
- filter?: boolean;
113
- /**
114
- * Associates the select with a form element by its ID when it is not a direct descendant of that form.
115
- */
116
- form?: string;
117
- /**
118
- * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
119
- * @default false
120
- */
121
- hideLabel?: BreakpointCustomizable<boolean>;
122
- /**
123
- * Sets the visible label text displayed above the select control to identify its purpose.
124
- * @default ''
125
- */
126
- label?: string;
127
- /**
128
- * Sets the validation feedback message displayed below the select when `state` is `success` or `error`.
129
- * @default ''
130
- */
131
- message?: string;
132
- /**
133
- * Sets the name of the control submitted with the form data, identifying the selected value on the server.
134
- */
135
- name: string;
136
- /**
137
- * Emitted when the select component loses focus, useful for triggering validation on blur.
138
- */
139
- onBlur?: (event: CustomEvent<void>) => void;
140
- /**
141
- * Emitted when the user selects a different option, carrying the new value in the event detail.
142
- */
143
- onChange?: (event: CustomEvent<SelectChangeEventDetail>) => void;
144
- /**
145
- * Emitted when the dropdown list opens or closes, carrying the new `isOpen` state in the event detail.
146
- */
147
- onToggle?: (event: CustomEvent<SelectToggleEventDetail>) => void;
148
- /**
149
- * Marks the select as required so the form cannot be submitted unless a non-empty option is selected.
150
- * @default false
151
- */
152
- required?: boolean;
153
- /**
154
- * Sets the validation state of the select, which controls its visual appearance and feedback message style (`none`, `success`, `error`).
155
- * @default 'none'
156
- */
157
- state?: SelectState;
158
- /**
159
- * The selected value. Matches an option strictly by type and value, meaning null matches only an option with value null, undefined matches only an option with value undefined (no preselection by default), and string or number only match an option whose value has the same type and equal value. Please note that FormData always serializes values as strings, so when participating in a native (uncontrolled) form a number value is restored as string via formStateRestoreCallback and will no longer strictly match a number-typed option. This limitation only applies to native form state restoration; in controlled forms (where the consumer manages value directly via the change event), the number type is preserved end-to-end.
160
- */
161
- value?: string | number | null;
162
- } & {
163
- children?: import("react").ReactNode | undefined;
164
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,80 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- import type { SelectedAriaAttributes, SheetAriaAttribute, SheetBackground, SheetDismissEventDetail, SheetMotionHiddenEndEventDetail, SheetMotionVisibleEndEventDetail } from '../types';
3
- export type PSheetProps = BaseProps & {
4
- /**
5
- * Sets ARIA attributes on the sheet dialog element for improved accessibility when the default `aria-label` is insufficient.
6
- */
7
- aria?: SelectedAriaAttributes<SheetAriaAttribute>;
8
- /**
9
- * Sets the background color of the sheet panel (`canvas` or `surface`).
10
- * @default 'canvas'
11
- */
12
- background?: SheetBackground;
13
- /**
14
- * When enabled, clicking the backdrop will not close the sheet.
15
- * @default false
16
- */
17
- disableBackdropClick?: boolean;
18
- /**
19
- * Shows a dismiss button in the sheet header so users can manually close it.
20
- * @default true
21
- */
22
- dismissButton?: boolean;
23
- /**
24
- * Emitted when the user closes the sheet via the dismiss button, backdrop click, or Escape key. The event detail identifies which of the three was used.
25
- */
26
- onDismiss?: (event: CustomEvent<SheetDismissEventDetail>) => void;
27
- /**
28
- * Emitted after the sheet's close transition has fully completed and the panel is hidden.
29
- */
30
- onMotionHiddenEnd?: (event: CustomEvent<SheetMotionHiddenEndEventDetail>) => void;
31
- /**
32
- * Emitted after the sheet's open transition has fully completed and the panel is visible.
33
- */
34
- onMotionVisibleEnd?: (event: CustomEvent<SheetMotionVisibleEndEventDetail>) => void;
35
- /**
36
- * Controls whether the sheet panel slides in from the bottom and is visible to the user.
37
- * @default false
38
- */
39
- open: boolean;
40
- };
41
- export declare const PSheet: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
42
- /**
43
- * Sets ARIA attributes on the sheet dialog element for improved accessibility when the default `aria-label` is insufficient.
44
- */
45
- aria?: SelectedAriaAttributes<SheetAriaAttribute>;
46
- /**
47
- * Sets the background color of the sheet panel (`canvas` or `surface`).
48
- * @default 'canvas'
49
- */
50
- background?: SheetBackground;
51
- /**
52
- * When enabled, clicking the backdrop will not close the sheet.
53
- * @default false
54
- */
55
- disableBackdropClick?: boolean;
56
- /**
57
- * Shows a dismiss button in the sheet header so users can manually close it.
58
- * @default true
59
- */
60
- dismissButton?: boolean;
61
- /**
62
- * Emitted when the user closes the sheet via the dismiss button, backdrop click, or Escape key. The event detail identifies which of the three was used.
63
- */
64
- onDismiss?: (event: CustomEvent<SheetDismissEventDetail>) => void;
65
- /**
66
- * Emitted after the sheet's close transition has fully completed and the panel is hidden.
67
- */
68
- onMotionHiddenEnd?: (event: CustomEvent<SheetMotionHiddenEndEventDetail>) => void;
69
- /**
70
- * Emitted after the sheet's open transition has fully completed and the panel is visible.
71
- */
72
- onMotionVisibleEnd?: (event: CustomEvent<SheetMotionVisibleEndEventDetail>) => void;
73
- /**
74
- * Controls whether the sheet panel slides in from the bottom and is visible to the user.
75
- * @default false
76
- */
77
- open: boolean;
78
- } & {
79
- children?: import("react").ReactNode | undefined;
80
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,34 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- import type { SelectedAriaAttributes, SpinnerAriaAttribute, SpinnerColor, BreakpointCustomizable, SpinnerSize } from '../types';
3
- export type PSpinnerProps = BaseProps & {
4
- /**
5
- * Sets ARIA attributes on the spinner's live region element; use `aria-label` to provide a descriptive loading message for screen readers.
6
- */
7
- aria?: SelectedAriaAttributes<SpinnerAriaAttribute>;
8
- /**
9
- * Sets the color of the spinning indicator using PDS semantic color tokens (e.g. `primary`, `contrast-high`, `inherit`).
10
- * @default 'primary'
11
- */
12
- color?: SpinnerColor;
13
- /**
14
- * Sets the size of the spinner using the PDS typographic scale. Use `inherit` to derive the size from the parent element's font-size. Supports responsive breakpoint values.
15
- * @default 'sm'
16
- */
17
- size?: BreakpointCustomizable<SpinnerSize>;
18
- };
19
- export declare const PSpinner: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
20
- /**
21
- * Sets ARIA attributes on the spinner's live region element; use `aria-label` to provide a descriptive loading message for screen readers.
22
- */
23
- aria?: SelectedAriaAttributes<SpinnerAriaAttribute>;
24
- /**
25
- * Sets the color of the spinning indicator using PDS semantic color tokens (e.g. `primary`, `contrast-high`, `inherit`).
26
- * @default 'primary'
27
- */
28
- color?: SpinnerColor;
29
- /**
30
- * Sets the size of the spinner using the PDS typographic scale. Use `inherit` to derive the size from the parent element's font-size. Supports responsive breakpoint values.
31
- * @default 'sm'
32
- */
33
- size?: BreakpointCustomizable<SpinnerSize>;
34
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,26 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- import type { StepperHorizontalItemState } from '../types';
3
- export type PStepperHorizontalItemProps = BaseProps & {
4
- /**
5
- * Disables the stepper-horizontal-item. No events will be triggered while disabled state is active.
6
- * @default false
7
- */
8
- disabled?: boolean;
9
- /**
10
- * The current progression state of the step. Use `current` for the active step, `complete` for finished steps, `warning` for steps with issues. Leave unset for future steps.
11
- */
12
- state?: StepperHorizontalItemState;
13
- };
14
- export declare const PStepperHorizontalItem: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
15
- /**
16
- * Disables the stepper-horizontal-item. No events will be triggered while disabled state is active.
17
- * @default false
18
- */
19
- disabled?: boolean;
20
- /**
21
- * The current progression state of the step. Use `current` for the active step, `complete` for finished steps, `warning` for steps with issues. Leave unset for future steps.
22
- */
23
- state?: StepperHorizontalItemState;
24
- } & {
25
- children?: import("react").ReactNode | undefined;
26
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,26 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- import type { StepperHorizontalUpdateEventDetail, BreakpointCustomizable, StepperHorizontalSize } from '../types';
3
- export type PStepperHorizontalProps = BaseProps & {
4
- /**
5
- * Emitted when active step is changed.
6
- */
7
- onUpdate?: (event: CustomEvent<StepperHorizontalUpdateEventDetail>) => void;
8
- /**
9
- * The font size of the step labels.
10
- * @default 'small'
11
- */
12
- size?: BreakpointCustomizable<StepperHorizontalSize>;
13
- };
14
- export declare const PStepperHorizontal: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
15
- /**
16
- * Emitted when active step is changed.
17
- */
18
- onUpdate?: (event: CustomEvent<StepperHorizontalUpdateEventDetail>) => void;
19
- /**
20
- * The font size of the step labels.
21
- * @default 'small'
22
- */
23
- size?: BreakpointCustomizable<StepperHorizontalSize>;
24
- } & {
25
- children?: import("react").ReactNode | undefined;
26
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,94 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- import type { BreakpointCustomizable, SwitchAlignLabel, SelectedAriaAttributes, SwitchAriaAttribute, SwitchUpdateEventDetail } from '../types';
3
- export type PSwitchProps = BaseProps & {
4
- /**
5
- * Sets the position of the slotted label relative to the switch toggle, either before (`start`) or after (`end`) it. Supports responsive breakpoint values.
6
- * @default 'end'
7
- */
8
- alignLabel?: BreakpointCustomizable<SwitchAlignLabel>;
9
- /**
10
- * Sets additional ARIA attributes on the switch to improve accessibility for screen readers.
11
- */
12
- aria?: SelectedAriaAttributes<SwitchAriaAttribute>;
13
- /**
14
- * Reflects the switch's current on/off state and allows setting the initial checked value when the component first renders.
15
- * @default false
16
- */
17
- checked?: boolean;
18
- /**
19
- * Reduces the switch size and spacing for use in dense layouts where vertical space is limited.
20
- * @default false
21
- */
22
- compact?: boolean;
23
- /**
24
- * Prevents user interaction with the switch and blocks all click and keyboard events while it is disabled.
25
- * @default false
26
- */
27
- disabled?: boolean;
28
- /**
29
- * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
30
- * @default false
31
- */
32
- hideLabel?: BreakpointCustomizable<boolean>;
33
- /**
34
- * Disables the switch and shows a loading spinner to indicate an ongoing asynchronous toggle operation.
35
- * @default false
36
- */
37
- loading?: boolean;
38
- /**
39
- * Emitted when the user toggles the switch, carrying the new `checked` state in the event detail.
40
- */
41
- onUpdate?: (event: CustomEvent<SwitchUpdateEventDetail>) => void;
42
- /**
43
- * Expands the space between the switch toggle and its label to fill the full available width of the container. Supports responsive breakpoint values.
44
- * @default false
45
- */
46
- stretch?: BreakpointCustomizable<boolean>;
47
- };
48
- export declare const PSwitch: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
49
- /**
50
- * Sets the position of the slotted label relative to the switch toggle, either before (`start`) or after (`end`) it. Supports responsive breakpoint values.
51
- * @default 'end'
52
- */
53
- alignLabel?: BreakpointCustomizable<SwitchAlignLabel>;
54
- /**
55
- * Sets additional ARIA attributes on the switch to improve accessibility for screen readers.
56
- */
57
- aria?: SelectedAriaAttributes<SwitchAriaAttribute>;
58
- /**
59
- * Reflects the switch's current on/off state and allows setting the initial checked value when the component first renders.
60
- * @default false
61
- */
62
- checked?: boolean;
63
- /**
64
- * Reduces the switch size and spacing for use in dense layouts where vertical space is limited.
65
- * @default false
66
- */
67
- compact?: boolean;
68
- /**
69
- * Prevents user interaction with the switch and blocks all click and keyboard events while it is disabled.
70
- * @default false
71
- */
72
- disabled?: boolean;
73
- /**
74
- * Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values.
75
- * @default false
76
- */
77
- hideLabel?: BreakpointCustomizable<boolean>;
78
- /**
79
- * Disables the switch and shows a loading spinner to indicate an ongoing asynchronous toggle operation.
80
- * @default false
81
- */
82
- loading?: boolean;
83
- /**
84
- * Emitted when the user toggles the switch, carrying the new `checked` state in the event detail.
85
- */
86
- onUpdate?: (event: CustomEvent<SwitchUpdateEventDetail>) => void;
87
- /**
88
- * Expands the space between the switch toggle and its label to fill the full available width of the container. Supports responsive breakpoint values.
89
- * @default false
90
- */
91
- stretch?: BreakpointCustomizable<boolean>;
92
- } & {
93
- children?: import("react").ReactNode | undefined;
94
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,5 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- export type PTableBodyProps = BaseProps & {};
3
- export declare const PTableBody: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
4
- children?: import("react").ReactNode | undefined;
5
- } & import("react").RefAttributes<HTMLElement>>;
@@ -1,17 +0,0 @@
1
- import type { BaseProps } from '../../BaseProps';
2
- export type PTableCellProps = BaseProps & {
3
- /**
4
- * Allows slotted text to wrap onto multiple lines instead of being forced onto a single line.
5
- * @default false
6
- */
7
- multiline?: boolean;
8
- };
9
- export declare const PTableCell: import("react").ForwardRefExoticComponent<Omit<import("react").DOMAttributes<{}>, "onChange" | "onInput" | "onToggle"> & Pick<import("react").HTMLAttributes<{}>, "suppressHydrationWarning" | "autoFocus" | "className" | "dir" | "hidden" | "id" | "inert" | "inputMode" | "lang" | "slot" | "style" | "tabIndex" | "title" | "translate" | "role"> & {
10
- /**
11
- * Allows slotted text to wrap onto multiple lines instead of being forced onto a single line.
12
- * @default false
13
- */
14
- multiline?: boolean;
15
- } & {
16
- children?: import("react").ReactNode | undefined;
17
- } & import("react").RefAttributes<HTMLElement>>;