@porsche-design-system/components-react 3.29.0 → 3.30.0-rc.1

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 (306) hide show
  1. package/CHANGELOG.md +60 -0
  2. package/OSS_NOTICE +1635 -2257
  3. package/cjs/lib/components/checkbox.wrapper.cjs +2 -1
  4. package/cjs/lib/components/flyout.wrapper.cjs +3 -3
  5. package/cjs/lib/components/multi-select.wrapper.cjs +3 -1
  6. package/cjs/lib/components/pin-code.wrapper.cjs +5 -3
  7. package/cjs/lib/components/radio-button-wrapper.wrapper.cjs +1 -0
  8. package/cjs/lib/components/radio-group-option.wrapper.cjs +26 -0
  9. package/cjs/lib/components/radio-group.wrapper.cjs +28 -0
  10. package/cjs/lib/components/segmented-control.wrapper.cjs +3 -1
  11. package/cjs/lib/components/select.wrapper.cjs +3 -1
  12. package/cjs/public-api.cjs +4 -0
  13. package/esm/BaseProps.d.ts +1 -1
  14. package/esm/lib/components/accordion.wrapper.d.ts +1 -1
  15. package/esm/lib/components/banner.wrapper.d.ts +1 -1
  16. package/esm/lib/components/button-group.wrapper.d.ts +1 -1
  17. package/esm/lib/components/button-pure.wrapper.d.ts +1 -1
  18. package/esm/lib/components/button-tile.wrapper.d.ts +1 -1
  19. package/esm/lib/components/button.wrapper.d.ts +1 -1
  20. package/esm/lib/components/canvas.wrapper.d.ts +1 -1
  21. package/esm/lib/components/carousel.wrapper.d.ts +1 -1
  22. package/esm/lib/components/checkbox-wrapper.wrapper.d.ts +1 -1
  23. package/esm/lib/components/checkbox.wrapper.d.ts +16 -6
  24. package/esm/lib/components/checkbox.wrapper.mjs +2 -1
  25. package/esm/lib/components/content-wrapper.wrapper.d.ts +1 -1
  26. package/esm/lib/components/crest.wrapper.d.ts +1 -1
  27. package/esm/lib/components/display.wrapper.d.ts +1 -1
  28. package/esm/lib/components/divider.wrapper.d.ts +1 -1
  29. package/esm/lib/components/drilldown-item.wrapper.d.ts +1 -1
  30. package/esm/lib/components/drilldown-link.wrapper.d.ts +1 -1
  31. package/esm/lib/components/drilldown.wrapper.d.ts +1 -1
  32. package/esm/lib/components/fieldset-wrapper.wrapper.d.ts +1 -1
  33. package/esm/lib/components/fieldset.wrapper.d.ts +1 -1
  34. package/esm/lib/components/flag.wrapper.d.ts +1 -1
  35. package/esm/lib/components/flex-item.wrapper.d.ts +1 -1
  36. package/esm/lib/components/flex.wrapper.d.ts +1 -1
  37. package/esm/lib/components/flyout.wrapper.d.ts +10 -2
  38. package/esm/lib/components/flyout.wrapper.mjs +3 -3
  39. package/esm/lib/components/grid-item.wrapper.d.ts +1 -1
  40. package/esm/lib/components/grid.wrapper.d.ts +1 -1
  41. package/esm/lib/components/heading.wrapper.d.ts +1 -1
  42. package/esm/lib/components/headline.wrapper.d.ts +1 -1
  43. package/esm/lib/components/icon.wrapper.d.ts +1 -1
  44. package/esm/lib/components/index.d.ts +2 -0
  45. package/esm/lib/components/inline-notification.wrapper.d.ts +1 -1
  46. package/esm/lib/components/input-date.wrapper.d.ts +1 -1
  47. package/esm/lib/components/input-email.wrapper.d.ts +1 -1
  48. package/esm/lib/components/input-number.wrapper.d.ts +1 -1
  49. package/esm/lib/components/input-password.wrapper.d.ts +1 -1
  50. package/esm/lib/components/input-search.wrapper.d.ts +1 -1
  51. package/esm/lib/components/input-tel.wrapper.d.ts +1 -1
  52. package/esm/lib/components/input-text.wrapper.d.ts +1 -1
  53. package/esm/lib/components/input-time.wrapper.d.ts +1 -1
  54. package/esm/lib/components/input-url.wrapper.d.ts +1 -1
  55. package/esm/lib/components/link-pure.wrapper.d.ts +1 -1
  56. package/esm/lib/components/link-social.wrapper.d.ts +1 -1
  57. package/esm/lib/components/link-tile-model-signature.wrapper.d.ts +1 -1
  58. package/esm/lib/components/link-tile-product.wrapper.d.ts +1 -1
  59. package/esm/lib/components/link-tile.wrapper.d.ts +1 -1
  60. package/esm/lib/components/link.wrapper.d.ts +1 -1
  61. package/esm/lib/components/marque.wrapper.d.ts +1 -1
  62. package/esm/lib/components/modal.wrapper.d.ts +1 -1
  63. package/esm/lib/components/model-signature.wrapper.d.ts +1 -1
  64. package/esm/lib/components/multi-select-option.wrapper.d.ts +1 -1
  65. package/esm/lib/components/multi-select.wrapper.d.ts +18 -2
  66. package/esm/lib/components/multi-select.wrapper.mjs +3 -1
  67. package/esm/lib/components/optgroup.wrapper.d.ts +1 -1
  68. package/esm/lib/components/pagination.wrapper.d.ts +1 -1
  69. package/esm/lib/components/pin-code.wrapper.d.ts +28 -4
  70. package/esm/lib/components/pin-code.wrapper.mjs +5 -3
  71. package/esm/lib/components/popover.wrapper.d.ts +1 -1
  72. package/esm/lib/components/radio-button-wrapper.wrapper.d.ts +2 -1
  73. package/esm/lib/components/radio-button-wrapper.wrapper.mjs +1 -0
  74. package/esm/lib/components/radio-group-option.wrapper.d.ts +37 -0
  75. package/esm/lib/components/radio-group-option.wrapper.mjs +24 -0
  76. package/esm/lib/components/radio-group.wrapper.d.ts +136 -0
  77. package/esm/lib/components/radio-group.wrapper.mjs +26 -0
  78. package/esm/lib/components/scroller.wrapper.d.ts +1 -1
  79. package/esm/lib/components/segmented-control-item.wrapper.d.ts +1 -1
  80. package/esm/lib/components/segmented-control.wrapper.d.ts +20 -4
  81. package/esm/lib/components/segmented-control.wrapper.mjs +3 -1
  82. package/esm/lib/components/select-option.wrapper.d.ts +1 -1
  83. package/esm/lib/components/select-wrapper.wrapper.d.ts +1 -1
  84. package/esm/lib/components/select.wrapper.d.ts +18 -2
  85. package/esm/lib/components/select.wrapper.mjs +3 -1
  86. package/esm/lib/components/sheet.wrapper.d.ts +1 -1
  87. package/esm/lib/components/spinner.wrapper.d.ts +1 -1
  88. package/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +1 -1
  89. package/esm/lib/components/stepper-horizontal.wrapper.d.ts +1 -1
  90. package/esm/lib/components/switch.wrapper.d.ts +1 -1
  91. package/esm/lib/components/table-body.wrapper.d.ts +1 -1
  92. package/esm/lib/components/table-cell.wrapper.d.ts +1 -1
  93. package/esm/lib/components/table-head-cell.wrapper.d.ts +1 -1
  94. package/esm/lib/components/table-head-row.wrapper.d.ts +1 -1
  95. package/esm/lib/components/table-head.wrapper.d.ts +1 -1
  96. package/esm/lib/components/table-row.wrapper.d.ts +1 -1
  97. package/esm/lib/components/table.wrapper.d.ts +1 -1
  98. package/esm/lib/components/tabs-bar.wrapper.d.ts +1 -1
  99. package/esm/lib/components/tabs-item.wrapper.d.ts +1 -1
  100. package/esm/lib/components/tabs.wrapper.d.ts +1 -1
  101. package/esm/lib/components/tag-dismissible.wrapper.d.ts +1 -1
  102. package/esm/lib/components/tag.wrapper.d.ts +1 -1
  103. package/esm/lib/components/text-field-wrapper.wrapper.d.ts +1 -1
  104. package/esm/lib/components/text-list-item.wrapper.d.ts +1 -1
  105. package/esm/lib/components/text-list.wrapper.d.ts +1 -1
  106. package/esm/lib/components/text.wrapper.d.ts +1 -1
  107. package/esm/lib/components/textarea-wrapper.wrapper.d.ts +1 -1
  108. package/esm/lib/components/textarea.wrapper.d.ts +1 -1
  109. package/esm/lib/components/toast.wrapper.d.ts +1 -1
  110. package/esm/lib/components/wordmark.wrapper.d.ts +1 -1
  111. package/esm/lib/types.d.ts +46 -5
  112. package/esm/public-api.mjs +2 -0
  113. package/package.json +2 -2
  114. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +477 -181
  115. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +3 -3
  116. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/checkbox.wrapper.cjs +2 -1
  117. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/flyout.wrapper.cjs +4 -4
  118. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.cjs +3 -1
  119. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/pin-code.wrapper.cjs +6 -4
  120. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-button-wrapper.wrapper.cjs +1 -0
  121. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group-option.wrapper.cjs +36 -0
  122. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group.wrapper.cjs +39 -0
  123. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.cjs +3 -1
  124. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/select.wrapper.cjs +3 -1
  125. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.cjs +4 -2
  126. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +4 -0
  127. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +1 -1
  128. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/label.cjs +1 -1
  129. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.cjs +4 -2
  130. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +1 -1
  131. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.cjs +2 -0
  132. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +2 -2
  133. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.cjs +2 -0
  134. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.cjs +32 -0
  135. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +44 -0
  136. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +1 -1
  137. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +4 -0
  138. package/ssr/esm/BaseProps.d.ts +1 -1
  139. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +421 -127
  140. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +3 -3
  141. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/checkbox.wrapper.mjs +2 -1
  142. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/flyout.wrapper.mjs +4 -4
  143. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.mjs +3 -1
  144. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/pin-code.wrapper.mjs +6 -4
  145. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-button-wrapper.wrapper.mjs +1 -0
  146. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group-option.wrapper.mjs +34 -0
  147. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group.wrapper.mjs +37 -0
  148. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.mjs +3 -1
  149. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/select.wrapper.mjs +3 -1
  150. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -2
  151. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +2 -2
  152. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
  153. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +2 -2
  154. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +5 -3
  155. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +2 -2
  156. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +2 -2
  157. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
  158. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +2 -2
  159. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +6 -2
  160. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
  161. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +2 -2
  162. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
  163. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
  164. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
  165. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-link.mjs +2 -2
  166. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.mjs +2 -2
  167. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +2 -2
  168. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +2 -2
  169. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +2 -2
  170. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
  171. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
  172. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +2 -2
  173. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
  174. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +2 -2
  175. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
  176. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
  177. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +2 -2
  178. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +2 -2
  179. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-date.mjs +2 -2
  180. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +2 -2
  181. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.mjs +2 -2
  182. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.mjs +2 -2
  183. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.mjs +2 -2
  184. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.mjs +2 -2
  185. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +2 -2
  186. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.mjs +2 -2
  187. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.mjs +2 -2
  188. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/label.mjs +1 -1
  189. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-pure.mjs +2 -2
  190. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-social.mjs +2 -2
  191. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-model-signature.mjs +2 -2
  192. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile-product.mjs +2 -2
  193. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link-tile.mjs +5 -3
  194. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/link.mjs +2 -2
  195. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/marque.mjs +2 -2
  196. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +2 -2
  197. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/model-signature.mjs +2 -2
  198. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.mjs +2 -2
  199. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +3 -3
  200. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/optgroup.mjs +2 -2
  201. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pagination.mjs +4 -2
  202. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +3 -3
  203. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/popover.mjs +2 -2
  204. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-button-wrapper.mjs +4 -2
  205. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group-option.mjs +30 -0
  206. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +42 -0
  207. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +1 -1
  208. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +2 -0
  209. package/ssr/esm/lib/components/accordion.wrapper.d.ts +1 -1
  210. package/ssr/esm/lib/components/banner.wrapper.d.ts +1 -1
  211. package/ssr/esm/lib/components/button-group.wrapper.d.ts +1 -1
  212. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +1 -1
  213. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +1 -1
  214. package/ssr/esm/lib/components/button.wrapper.d.ts +1 -1
  215. package/ssr/esm/lib/components/canvas.wrapper.d.ts +1 -1
  216. package/ssr/esm/lib/components/carousel.wrapper.d.ts +1 -1
  217. package/ssr/esm/lib/components/checkbox-wrapper.wrapper.d.ts +1 -1
  218. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +16 -6
  219. package/ssr/esm/lib/components/content-wrapper.wrapper.d.ts +1 -1
  220. package/ssr/esm/lib/components/crest.wrapper.d.ts +1 -1
  221. package/ssr/esm/lib/components/display.wrapper.d.ts +1 -1
  222. package/ssr/esm/lib/components/divider.wrapper.d.ts +1 -1
  223. package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +1 -1
  224. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +1 -1
  225. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +1 -1
  226. package/ssr/esm/lib/components/fieldset-wrapper.wrapper.d.ts +1 -1
  227. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +1 -1
  228. package/ssr/esm/lib/components/flag.wrapper.d.ts +1 -1
  229. package/ssr/esm/lib/components/flex-item.wrapper.d.ts +1 -1
  230. package/ssr/esm/lib/components/flex.wrapper.d.ts +1 -1
  231. package/ssr/esm/lib/components/flyout.wrapper.d.ts +10 -2
  232. package/ssr/esm/lib/components/grid-item.wrapper.d.ts +1 -1
  233. package/ssr/esm/lib/components/grid.wrapper.d.ts +1 -1
  234. package/ssr/esm/lib/components/heading.wrapper.d.ts +1 -1
  235. package/ssr/esm/lib/components/headline.wrapper.d.ts +1 -1
  236. package/ssr/esm/lib/components/icon.wrapper.d.ts +1 -1
  237. package/ssr/esm/lib/components/index.d.ts +2 -0
  238. package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +1 -1
  239. package/ssr/esm/lib/components/input-date.wrapper.d.ts +1 -1
  240. package/ssr/esm/lib/components/input-email.wrapper.d.ts +1 -1
  241. package/ssr/esm/lib/components/input-number.wrapper.d.ts +1 -1
  242. package/ssr/esm/lib/components/input-password.wrapper.d.ts +1 -1
  243. package/ssr/esm/lib/components/input-search.wrapper.d.ts +1 -1
  244. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +1 -1
  245. package/ssr/esm/lib/components/input-text.wrapper.d.ts +1 -1
  246. package/ssr/esm/lib/components/input-time.wrapper.d.ts +1 -1
  247. package/ssr/esm/lib/components/input-url.wrapper.d.ts +1 -1
  248. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +1 -1
  249. package/ssr/esm/lib/components/link-social.wrapper.d.ts +1 -1
  250. package/ssr/esm/lib/components/link-tile-model-signature.wrapper.d.ts +1 -1
  251. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +1 -1
  252. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +1 -1
  253. package/ssr/esm/lib/components/link.wrapper.d.ts +1 -1
  254. package/ssr/esm/lib/components/marque.wrapper.d.ts +1 -1
  255. package/ssr/esm/lib/components/modal.wrapper.d.ts +1 -1
  256. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +1 -1
  257. package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +1 -1
  258. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +18 -2
  259. package/ssr/esm/lib/components/optgroup.wrapper.d.ts +1 -1
  260. package/ssr/esm/lib/components/pagination.wrapper.d.ts +1 -1
  261. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +28 -4
  262. package/ssr/esm/lib/components/popover.wrapper.d.ts +1 -1
  263. package/ssr/esm/lib/components/radio-button-wrapper.wrapper.d.ts +2 -1
  264. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +37 -0
  265. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +136 -0
  266. package/ssr/esm/lib/components/scroller.wrapper.d.ts +1 -1
  267. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +1 -1
  268. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +20 -4
  269. package/ssr/esm/lib/components/select-option.wrapper.d.ts +1 -1
  270. package/ssr/esm/lib/components/select-wrapper-dropdown.wrapper.d.ts +1 -1
  271. package/ssr/esm/lib/components/select-wrapper.wrapper.d.ts +1 -1
  272. package/ssr/esm/lib/components/select.wrapper.d.ts +18 -2
  273. package/ssr/esm/lib/components/sheet.wrapper.d.ts +1 -1
  274. package/ssr/esm/lib/components/spinner.wrapper.d.ts +1 -1
  275. package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +1 -1
  276. package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +1 -1
  277. package/ssr/esm/lib/components/switch.wrapper.d.ts +1 -1
  278. package/ssr/esm/lib/components/table-body.wrapper.d.ts +1 -1
  279. package/ssr/esm/lib/components/table-cell.wrapper.d.ts +1 -1
  280. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +1 -1
  281. package/ssr/esm/lib/components/table-head-row.wrapper.d.ts +1 -1
  282. package/ssr/esm/lib/components/table-head.wrapper.d.ts +1 -1
  283. package/ssr/esm/lib/components/table-row.wrapper.d.ts +1 -1
  284. package/ssr/esm/lib/components/table.wrapper.d.ts +1 -1
  285. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +1 -1
  286. package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +1 -1
  287. package/ssr/esm/lib/components/tabs.wrapper.d.ts +1 -1
  288. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +1 -1
  289. package/ssr/esm/lib/components/tag.wrapper.d.ts +1 -1
  290. package/ssr/esm/lib/components/text-field-wrapper.wrapper.d.ts +1 -1
  291. package/ssr/esm/lib/components/text-list-item.wrapper.d.ts +1 -1
  292. package/ssr/esm/lib/components/text-list.wrapper.d.ts +1 -1
  293. package/ssr/esm/lib/components/text.wrapper.d.ts +1 -1
  294. package/ssr/esm/lib/components/textarea-wrapper.wrapper.d.ts +1 -1
  295. package/ssr/esm/lib/components/textarea.wrapper.d.ts +1 -1
  296. package/ssr/esm/lib/components/toast.wrapper.d.ts +1 -1
  297. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +1 -1
  298. package/ssr/esm/lib/dsr-components/button-tile.d.ts +2 -0
  299. package/ssr/esm/lib/dsr-components/checkbox.d.ts +4 -0
  300. package/ssr/esm/lib/dsr-components/label.d.ts +5 -0
  301. package/ssr/esm/lib/dsr-components/link-tile.d.ts +2 -0
  302. package/ssr/esm/lib/dsr-components/radio-button-wrapper.d.ts +2 -0
  303. package/ssr/esm/lib/dsr-components/radio-group-option.d.ts +8 -0
  304. package/ssr/esm/lib/dsr-components/radio-group.d.ts +19 -0
  305. package/ssr/esm/lib/types.d.ts +46 -5
  306. package/tailwindcss/index.css +6 -6
@@ -3884,7 +3884,7 @@ hasWindow &&
3884
3884
  const getCDNBaseURL = () => global.PORSCHE_DESIGN_SYSTEM_CDN_URL + "/porsche-design-system";
3885
3885
 
3886
3886
  // index.ts
3887
- var MODEL_SIGNATURES_MANIFEST = { "718": { "src": "718.493a9e3.svg", "width": 79, "height": 26 }, "911": { "src": "911.b68f913.svg", "width": 94, "height": 25 }, "boxster": { "src": "boxster.c321738.svg", "width": 239, "height": 26 }, "cayenne": { "src": "cayenne.2556201.svg", "width": 245, "height": 35 }, "cayman": { "src": "cayman.cc89196.svg", "width": 229, "height": 35 }, "macan": { "src": "macan.a1844f4.svg", "width": 196, "height": 26 }, "panamera": { "src": "panamera.6dae809.svg", "width": 260, "height": 25 }, "taycan": { "src": "taycan.df444c6.svg", "width": 167, "height": 36 }, "turbo-s": { "src": "turbo-s.73f1e10.svg", "width": 199, "height": 25 }, "turbo": { "src": "turbo.6a4084a.svg", "width": 143, "height": 25 } };
3887
+ var MODEL_SIGNATURES_MANIFEST = { "718": { "src": "718.493a9e3.svg", "width": 79, "height": 26 }, "911": { "src": "911.b68f913.svg", "width": 94, "height": 25 }, "boxster": { "src": "boxster.c321738.svg", "width": 239, "height": 26 }, "cayenne": { "src": "cayenne.2556201.svg", "width": 245, "height": 35 }, "cayman": { "src": "cayman.cc89196.svg", "width": 229, "height": 35 }, "gt3-rs": { "src": "gt3-rs.03ac3ee.svg", "width": 238, "height": 25 }, "gt3": { "src": "gt3.bd3186c.svg", "width": 151, "height": 25 }, "gts": { "src": "gts.99bd35e.svg", "width": 121, "height": 25 }, "macan": { "src": "macan.a1844f4.svg", "width": 196, "height": 26 }, "panamera": { "src": "panamera.6dae809.svg", "width": 260, "height": 25 }, "taycan": { "src": "taycan.df444c6.svg", "width": 167, "height": 36 }, "turbo-s": { "src": "turbo-s.73f1e10.svg", "width": 199, "height": 25 }, "turbo": { "src": "turbo.6a4084a.svg", "width": 143, "height": 25 } };
3888
3888
 
3889
3889
  const hasDocument = typeof document !== 'undefined';
3890
3890
 
@@ -3927,7 +3927,7 @@ const formatObjectOutput = (value) => {
3927
3927
 
3928
3928
  const OPTION_LIST_SAFE_ZONE = 6;
3929
3929
 
3930
- const getComponentCss$1l = (size, compact, open, theme, sticky) => {
3930
+ const getComponentCss$1n = (size, compact, open, theme, sticky) => {
3931
3931
  const { primaryColor, hoverColor, contrastLowColor, backgroundColor } = getThemedColors(theme);
3932
3932
  const { primaryColor: primaryColorDark, hoverColor: hoverColorDark, contrastLowColor: contrastLowColorDark, backgroundColor: backgroundColorDark, } = getThemedColors('dark');
3933
3933
  const cssVariablePositionStickyTop = '--p-accordion-position-sticky-top';
@@ -4099,7 +4099,7 @@ const cssVariableTop = '--p-banner-position-top';
4099
4099
  const cssVariableBottom = '--p-banner-position-bottom';
4100
4100
  const cssVariableZIndex = '--p-internal-banner-z-index';
4101
4101
  const topBottomFallback = '56px';
4102
- const getComponentCss$1k = (isOpen) => {
4102
+ const getComponentCss$1m = (isOpen) => {
4103
4103
  return getCss({
4104
4104
  '@global': {
4105
4105
  ':host': {
@@ -4171,7 +4171,7 @@ const getGroupDirectionJssStyles = (direction) => {
4171
4171
  return groupDirectionJssStyles[direction];
4172
4172
  };
4173
4173
 
4174
- const getComponentCss$1j = (direction) => {
4174
+ const getComponentCss$1l = (direction) => {
4175
4175
  return getCss({
4176
4176
  '@global': {
4177
4177
  ':host': {
@@ -4324,7 +4324,7 @@ const getFunctionalComponentLoadingMessageStyles = () => {
4324
4324
  };
4325
4325
  };
4326
4326
 
4327
- const getComponentCss$1i = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, theme) => {
4327
+ const getComponentCss$1k = (icon, iconSource, active, isLoading, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, theme) => {
4328
4328
  const hasIcon = hasVisibleIcon(icon, iconSource);
4329
4329
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, isDisabledOrLoading, stretch, size, hideLabel, alignLabel, underline, false, theme), {
4330
4330
  root: {
@@ -4362,12 +4362,17 @@ const getFontWeight = (weight) => {
4362
4362
  return fontWeightMap[weight];
4363
4363
  };
4364
4364
 
4365
- const getComponentCss$1h = (isDisabledOrLoading, aspectRatio, size, weight, background, align, compact, hasGradient, isDisabled) => {
4365
+ const getComponentCss$1j = (isDisabledOrLoading, aspectRatio, size, weight, background, align, compact, hasGradient, hasFooterSlot, isDisabled) => {
4366
4366
  const isTopAligned = align === 'top';
4367
4367
  return getCss({
4368
4368
  '@global': {
4369
4369
  ':host': {
4370
- display: 'block', // `display: flex` would be more ideal, but doesn't work in Safari in all cases
4370
+ display: 'flex',
4371
+ alignItems: 'stretch',
4372
+ // Safari workaround to scale the tile properly
4373
+ '@supports (-webkit-hyphens: auto)': {
4374
+ alignItems: 'baseline',
4375
+ },
4371
4376
  hyphens: 'auto', // TODO: shouldn't we expose a CSS variable instead?
4372
4377
  ...addImportantToEachRule({
4373
4378
  ...colorSchemeStyles,
@@ -4386,6 +4391,10 @@ const getComponentCss$1h = (isDisabledOrLoading, aspectRatio, size, weight, back
4386
4391
  gridArea: `${isTopAligned ? 4 : 2}/2`,
4387
4392
  zIndex: 3,
4388
4393
  },
4394
+ '&[name="footer"]': {
4395
+ gridRow: 2,
4396
+ zIndex: 3,
4397
+ },
4389
4398
  },
4390
4399
  '::slotted(:is(img,picture,video))': addImportantToEachRule({
4391
4400
  display: 'block',
@@ -4421,7 +4430,10 @@ const getComponentCss$1h = (isDisabledOrLoading, aspectRatio, size, weight, back
4421
4430
  })),
4422
4431
  cursor: isDisabledOrLoading ? 'not-allowed' : 'pointer',
4423
4432
  width: '100%', // necessary in case tile content overflows in grid or flex context
4424
- height: '100%', // necessary in case tile content overflows in grid or flex context
4433
+ // Safari workaround to scale the tile properly
4434
+ '@supports (-webkit-hyphens: auto)': {
4435
+ height: '100%',
4436
+ },
4425
4437
  display: 'grid',
4426
4438
  gridTemplate: `${spacingFluidMedium} auto minmax(0px, 1fr) auto ${spacingFluidMedium}/${spacingFluidMedium} minmax(0px, 1fr) ${spacingFluidMedium}`,
4427
4439
  ...(hasGradient &&
@@ -4465,21 +4477,23 @@ const getComponentCss$1h = (isDisabledOrLoading, aspectRatio, size, weight, back
4465
4477
  },
4466
4478
  footer: {
4467
4479
  gridArea: `${isTopAligned ? 2 : 4}/2`,
4468
- display: 'flex',
4469
- gap: spacingStaticMedium,
4470
- justifyContent: 'space-between',
4471
4480
  ...buildResponsiveStyles(compact, (compactValue) => compactValue
4472
4481
  ? {
4473
- alignItems: 'center',
4474
- flexDirection: 'row',
4482
+ display: 'grid',
4483
+ gridTemplateColumns: '1fr auto',
4484
+ columnGap: spacingStaticMedium,
4475
4485
  }
4476
4486
  : {
4477
- alignItems: 'flex-start',
4487
+ display: 'flex',
4478
4488
  flexDirection: 'column',
4489
+ alignItems: 'start',
4479
4490
  }),
4480
4491
  },
4481
4492
  'link-or-button-pure': {
4482
4493
  zIndex: 5,
4494
+ gridColumn: 2,
4495
+ gridRow: hasFooterSlot && !isTopAligned ? 2 : 1,
4496
+ alignSelf: 'center',
4483
4497
  ...buildResponsiveStyles(compact, (compactValue) => ({
4484
4498
  display: compactValue ? 'inline-block' : 'none',
4485
4499
  })),
@@ -4487,6 +4501,7 @@ const getComponentCss$1h = (isDisabledOrLoading, aspectRatio, size, weight, back
4487
4501
  'link-or-button': {
4488
4502
  minHeight: '54px', // prevent content shift
4489
4503
  zIndex: 5,
4504
+ marginTop: spacingStaticMedium,
4490
4505
  ...buildResponsiveStyles(compact, (compactValue) => ({
4491
4506
  display: compactValue ? 'none' : 'inline-block',
4492
4507
  })),
@@ -4531,7 +4546,8 @@ const getLinkButtonStyles = (icon, iconSource, variant, hideLabel, isDisabledOrL
4531
4546
  const { focusColor } = getThemedColors(theme);
4532
4547
  const hasIcon = hasVisibleIcon(icon, iconSource) || hideLabel;
4533
4548
  const scalingVar = `var(${cssVariableInternalScaling}, var(--p-internal-scaling-factor))`;
4534
- const borderCompensation = variant === 'ghost' ? `+ ${borderWidthBase}` : ''; // Compensate for missing border in ghost variant (Fixes border backdrop-filter blur rendering issue in safari)
4549
+ const borderCompensation = variant === 'ghost' && !isHighContrastMode ? `+ ${borderWidthBase}` : ''; // Compensate for missing border in ghost variant (Fixes border backdrop-filter blur rendering issue in safari)
4550
+ const borderStyle = `${borderWidthBase} solid ${borderColor}`;
4535
4551
  const paddingBlock = `calc(${scalingVar} * 0.8125 * ${SCALING_BASE_VALUE} ${borderCompensation})`; // 0.8125 * SCALING_BASE_VALUE corresponds to 13px
4536
4552
  const paddingInline = `max(calc(${scalingVar} * 1.625 * ${SCALING_BASE_VALUE} ${borderCompensation}), ${variant === 'ghost' ? '6px' : '4px'})`; // 1.625 * SCALING_BASE_VALUE corresponds to 26px
4537
4553
  const gap = `clamp(2px, calc(${scalingVar} * 0.5 * ${SCALING_BASE_VALUE}), 16px)`; // 0.5 * SCALING_BASE_VALUE corresponds to 8px
@@ -4563,8 +4579,11 @@ const getLinkButtonStyles = (icon, iconSource, variant, hideLabel, isDisabledOrL
4563
4579
  textDecoration: 'none',
4564
4580
  ...textSmallStyle,
4565
4581
  ...(variant === 'ghost'
4566
- ? { ...frostedGlassStyle, border: 'none' } // We can't use a border in the ghost variant due to rendering issues with backdrop-filter in safari
4567
- : { border: `${borderWidthBase} solid ${borderColor}` }),
4582
+ ? {
4583
+ ...frostedGlassStyle,
4584
+ border: isHighContrastMode ? borderStyle : 'none',
4585
+ } // We can't use a border in the ghost variant due to rendering issues with backdrop-filter in safari
4586
+ : { border: borderStyle }),
4568
4587
  borderRadius: borderRadiusSmall,
4569
4588
  transform: 'translate3d(0,0,0)', // creates new stacking context (for slotted anchor + focus)
4570
4589
  backgroundColor,
@@ -4632,7 +4651,7 @@ const getDisabledColors = (variant, loading, theme) => {
4632
4651
  };
4633
4652
  return colors[variant === 'tertiary' ? 'secondary' : variant];
4634
4653
  };
4635
- const getComponentCss$1g = (icon, iconSource, variant, hideLabel, disabled, loading, compact, theme) => {
4654
+ const getComponentCss$1i = (icon, iconSource, variant, hideLabel, disabled, loading, compact, theme) => {
4636
4655
  const disabledOrLoading = isDisabledOrLoading(disabled, loading);
4637
4656
  const { textColor, borderColor, backgroundColor } = getDisabledColors(variant, loading, theme);
4638
4657
  const { textColor: textColorDark, borderColor: borderColorDark, backgroundColor: backgroundColorDark, } = getDisabledColors(variant, loading, 'dark');
@@ -4708,7 +4727,7 @@ const mediaQueryS$1 = getMediaQueryMin('s');
4708
4727
  const mediaQueryM = getMediaQueryMin('m');
4709
4728
  // others
4710
4729
  const spacingBase = gridGap.replace('36px', '24px');
4711
- const getComponentCss$1f = (theme, isSidebarStartOpen, isSidebarEndOpen) => {
4730
+ const getComponentCss$1h = (theme, isSidebarStartOpen, isSidebarEndOpen) => {
4712
4731
  const { primaryColor, backgroundColor, backgroundSurfaceColor, contrastLowColor } = getThemedColors(theme);
4713
4732
  const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, contrastLowColor: contrastLowColorDark, } = getThemedColors('dark');
4714
4733
  return getCss({
@@ -5087,7 +5106,7 @@ const getGradient = (theme, gradientColorTheme) => {
5087
5106
  `rgba(${gradientColor},0.3) 68%,` +
5088
5107
  `rgba(${gradientColor},0)`);
5089
5108
  };
5090
- const getComponentCss$1e = (gradientColor, hasHeading, hasDescription, hasControlsSlot, headingSize, width, hasPagination, isInfinitePagination, alignHeader, theme, hasNavigation, alignControls) => {
5109
+ const getComponentCss$1g = (gradientColor, hasHeading, hasDescription, hasControlsSlot, headingSize, width, hasPagination, isInfinitePagination, alignHeader, theme, hasNavigation, alignControls) => {
5091
5110
  const { primaryColor, contrastMediumColor } = getThemedColors(theme);
5092
5111
  const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark } = getThemedColors('dark');
5093
5112
  const { canvasTextColor } = getHighContrastColors();
@@ -5539,13 +5558,13 @@ const getFunctionalComponentStateMessageStyles = (theme, state, additionalDefaul
5539
5558
  };
5540
5559
  };
5541
5560
 
5542
- const getCheckedSVGBackgroundImage$2 = (fill) => {
5561
+ const getCheckedSVGBackgroundImage$3 = (fill) => {
5543
5562
  return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20.22,7.47l-1.47-1.42-9.26,9.02-4.24-4.15-1.47,1.42,5.71,5.6,10.73-10.47Z"/>`);
5544
5563
  };
5545
5564
  const getIndeterminateSVGBackgroundImage$1 = (fill) => {
5546
5565
  return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20,11v2H4v-2h16Z"/>`);
5547
5566
  };
5548
- const getComponentCss$1d = (hideLabel, state, isDisabled, isLoading, theme) => {
5567
+ const getComponentCss$1f = (hideLabel, state, isDisabled, isLoading, theme) => {
5549
5568
  const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
5550
5569
  const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
5551
5570
  const indeterminateIconColor = escapeHashCharacter(getThemedColors(theme).primaryColor);
@@ -5570,16 +5589,16 @@ const getComponentCss$1d = (hideLabel, state, isDisabled, isLoading, theme) => {
5570
5589
  // TODO: is it somehow useful possible to make following styles configurable by parameter?
5571
5590
  ...(!isLoading && {
5572
5591
  '&(input:checked)': {
5573
- backgroundImage: getCheckedSVGBackgroundImage$2(checkedIconColor),
5592
+ backgroundImage: getCheckedSVGBackgroundImage$3(checkedIconColor),
5574
5593
  ...prefersColorSchemeDarkMediaQuery(theme, {
5575
- backgroundImage: getCheckedSVGBackgroundImage$2(checkedIconColorDark),
5594
+ backgroundImage: getCheckedSVGBackgroundImage$3(checkedIconColorDark),
5576
5595
  }),
5577
5596
  // This is a workaround for Blink based browsers, which do not reflect the high contrast system colors (e.g.: "Canvas" and "CanvasText") when added to background SVG's.
5578
5597
  ...(isHighContrastMode &&
5579
5598
  getSchemedHighContrastMediaQuery({
5580
- backgroundImage: getCheckedSVGBackgroundImage$2('white'),
5599
+ backgroundImage: getCheckedSVGBackgroundImage$3('white'),
5581
5600
  }, {
5582
- backgroundImage: getCheckedSVGBackgroundImage$2('black'),
5601
+ backgroundImage: getCheckedSVGBackgroundImage$3('black'),
5583
5602
  })),
5584
5603
  },
5585
5604
  '&(input:indeterminate)': {
@@ -5702,7 +5721,7 @@ const getCheckboxBaseStyles = (theme, isDisabled, isLoading, state, compact) =>
5702
5721
  };
5703
5722
  };
5704
5723
 
5705
- const getCheckedSVGBackgroundImage$1 = (fill) => {
5724
+ const getCheckedSVGBackgroundImage$2 = (fill) => {
5706
5725
  return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20.22,7.47l-1.47-1.42-9.26,9.02-4.24-4.15-1.47,1.42,5.71,5.6,10.73-10.47Z"/>`);
5707
5726
  };
5708
5727
  const getCheckboxCheckedBaseStyles = (theme, isDisabled, isLoading, state) => {
@@ -5728,18 +5747,18 @@ const getCheckboxCheckedBaseStyles = (theme, isDisabled, isLoading, state) => {
5728
5747
  return {
5729
5748
  borderColor: checkedColor,
5730
5749
  backgroundColor: checkedColor,
5731
- backgroundImage: getCheckedSVGBackgroundImage$1(checkedIconColor),
5750
+ backgroundImage: getCheckedSVGBackgroundImage$2(checkedIconColor),
5732
5751
  ...prefersColorSchemeDarkMediaQuery(theme, {
5733
- backgroundImage: getCheckedSVGBackgroundImage$1(checkedIconColorDark),
5752
+ backgroundImage: getCheckedSVGBackgroundImage$2(checkedIconColorDark),
5734
5753
  borderColor: checkedColorDark,
5735
5754
  backgroundColor: checkedColorDark,
5736
5755
  }),
5737
5756
  // This is a workaround for Blink based browsers, which do not reflect the high contrast system colors (e.g.: "Canvas" and "CanvasText") when added to background SVG's.
5738
5757
  ...(isHighContrastMode &&
5739
5758
  getSchemedHighContrastMediaQuery({
5740
- backgroundImage: getCheckedSVGBackgroundImage$1('white'),
5759
+ backgroundImage: getCheckedSVGBackgroundImage$2('white'),
5741
5760
  }, {
5742
- backgroundImage: getCheckedSVGBackgroundImage$1('black'),
5761
+ backgroundImage: getCheckedSVGBackgroundImage$2('black'),
5743
5762
  })),
5744
5763
  };
5745
5764
  };
@@ -5747,7 +5766,7 @@ const getCheckboxCheckedBaseStyles = (theme, isDisabled, isLoading, state) => {
5747
5766
  const getIndeterminateSVGBackgroundImage = (fill) => {
5748
5767
  return getInlineSVGBackgroundImage(`<path fill="${fill}" d="m20,11v2H4v-2h16Z"/>`);
5749
5768
  };
5750
- const getComponentCss$1c = (hideLabel, state, isDisabled, isLoading, compact, theme) => {
5769
+ const getComponentCss$1e = (hideLabel, state, isDisabled, isLoading, compact, theme) => {
5751
5770
  const { primaryColor, contrastMediumColor, contrastHighColor, disabledColor, focusColor } = getThemedColors(theme);
5752
5771
  const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, disabledColor: disabledColorDark, focusColor: focusColorDark, } = getThemedColors('dark');
5753
5772
  const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
@@ -6039,7 +6058,7 @@ const getUnitCounterJssStyle = (isDisabled, isReadonly, theme) => {
6039
6058
  const cssVarInternalInputBaseScaling = '--p-internal-input-base-scaling';
6040
6059
  // Determines the scaling factor for the input-number size. In "compact" mode, it uses 0.5 to achieve a 36px input-number (compact size).
6041
6060
  // Defaults to 1 for the standard size and can be overridden by the CSS variable `cssVarInternalInputBaseScaling`.
6042
- const getScalingVar = (compact) => `var(${cssVarInternalInputBaseScaling}, ${compact ? 0.5 : 1})`;
6061
+ const getScalingVar$1 = (compact) => `var(${cssVarInternalInputBaseScaling}, ${compact ? 0.5 : 1})`;
6043
6062
  /**
6044
6063
  * @css-variable {"name": "--ref-p-input-slotted-padding", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `padding` in oder to adjust the alignment correctly."}
6045
6064
  */
@@ -6049,7 +6068,7 @@ const cssVarButtonPurePadding = '--ref-p-input-slotted-padding';
6049
6068
  */
6050
6069
  const cssVarButtonPureMargin = '--ref-p-input-slotted-margin';
6051
6070
  const getFunctionalComponentInputBaseStyles = (disabled, loading, hideLabel, state, compact, readOnly, theme, additionalInputJssStyle) => {
6052
- const scalingVar = getScalingVar(compact);
6071
+ const scalingVar = getScalingVar$1(compact);
6053
6072
  const paddingBlock = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
6054
6073
  const paddingInline = `max(2px, ${formElementPaddingHorizontal} * ${scalingVar})`;
6055
6074
  const height = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
@@ -6386,7 +6405,7 @@ const widthMap = {
6386
6405
  basic: gridBasicOffset,
6387
6406
  extended: gridExtendedOffset,
6388
6407
  };
6389
- const getComponentCss$1b = (width) => {
6408
+ const getComponentCss$1d = (width) => {
6390
6409
  return getCss({
6391
6410
  '@global': {
6392
6411
  ':host': {
@@ -6428,7 +6447,7 @@ const getDimensionStyle = {
6428
6447
  width: 'inherit',
6429
6448
  height: 'inherit',
6430
6449
  };
6431
- const getComponentCss$1a = () => {
6450
+ const getComponentCss$1c = () => {
6432
6451
  return getCss({
6433
6452
  '@global': {
6434
6453
  ':host': {
@@ -6527,7 +6546,7 @@ const sizeMap$5 = {
6527
6546
  medium: fontSizeDisplayMedium,
6528
6547
  large: fontSizeDisplayLarge,
6529
6548
  };
6530
- const getComponentCss$19 = (size, align, color, ellipsis, theme) => {
6549
+ const getComponentCss$1b = (size, align, color, ellipsis, theme) => {
6531
6550
  return getCss({
6532
6551
  '@global': {
6533
6552
  ':host': {
@@ -6545,7 +6564,7 @@ const getComponentCss$19 = (size, align, color, ellipsis, theme) => {
6545
6564
  });
6546
6565
  };
6547
6566
 
6548
- const getComponentCss$18 = (color, orientation, theme) => {
6567
+ const getComponentCss$1a = (color, orientation, theme) => {
6549
6568
  const { contrastLowColor, contrastMediumColor, contrastHighColor } = getThemedColors(theme);
6550
6569
  const { contrastLowColor: contrastLowColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, } = getThemedColors('dark');
6551
6570
  const colorMap = {
@@ -6606,7 +6625,7 @@ const easingOpen = 'in';
6606
6625
  const dialogDurationClose = 'short';
6607
6626
  const backdropDurationClose = 'moderate';
6608
6627
  const easingClose = 'out';
6609
- const getComponentCss$17 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme) => {
6628
+ const getComponentCss$19 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme) => {
6610
6629
  const { primaryColor, backgroundColor, backgroundSurfaceColor, backgroundShadingColor } = getThemedColors(theme);
6611
6630
  const { primaryColor: primaryColorDark, backgroundColor: backgroundColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, backgroundShadingColor: backgroundShadingColorDark, } = getThemedColors('dark');
6612
6631
  return getCss({
@@ -6853,7 +6872,7 @@ const getComponentCss$17 = (isOpen, isPrimary, isSecondaryScrollerVisible, theme
6853
6872
  });
6854
6873
  };
6855
6874
 
6856
- const getComponentCss$16 = (isPrimary, isSecondary, isCascade) => {
6875
+ const getComponentCss$18 = (isPrimary, isSecondary, isCascade) => {
6857
6876
  return getCss({
6858
6877
  '@global': {
6859
6878
  '@keyframes slide-up-mobile': {
@@ -7084,7 +7103,7 @@ const getComponentCss$16 = (isPrimary, isSecondary, isCascade) => {
7084
7103
  });
7085
7104
  };
7086
7105
 
7087
- const getComponentCss$15 = (hasSlottedAnchor, isActive) => {
7106
+ const getComponentCss$17 = (hasSlottedAnchor, isActive) => {
7088
7107
  const anchorJssStyle = {
7089
7108
  all: 'unset',
7090
7109
  padding: `calc(${spacingFluidSmall} + 2px) calc(${spacingFluidSmall} + 4px)`, // aligned with link-pure
@@ -7136,7 +7155,7 @@ const getComponentCss$15 = (hasSlottedAnchor, isActive) => {
7136
7155
  });
7137
7156
  };
7138
7157
 
7139
- const getComponentCss$14 = (state, labelSize, hasLabel, theme) => {
7158
+ const getComponentCss$16 = (state, labelSize, hasLabel, theme) => {
7140
7159
  return getCss({
7141
7160
  '@global': {
7142
7161
  ':host': {
@@ -7173,7 +7192,7 @@ const getComponentCss$14 = (state, labelSize, hasLabel, theme) => {
7173
7192
  });
7174
7193
  };
7175
7194
 
7176
- const getComponentCss$13 = (state, labelSize, hasLabel, theme) => {
7195
+ const getComponentCss$15 = (state, labelSize, hasLabel, theme) => {
7177
7196
  return getCss({
7178
7197
  '@global': {
7179
7198
  ':host': {
@@ -7218,7 +7237,7 @@ const sizeMap$4 = {
7218
7237
  large: fontSizeTextLarge,
7219
7238
  'x-large': fontSizeTextXLarge,
7220
7239
  };
7221
- const getComponentCss$12 = (size) => {
7240
+ const getComponentCss$14 = (size) => {
7222
7241
  return getCss({
7223
7242
  '@global': {
7224
7243
  ':host': {
@@ -7260,7 +7279,7 @@ const flexItemWidths = {
7260
7279
  full: 100,
7261
7280
  auto: 'auto',
7262
7281
  };
7263
- const getComponentCss$11 = (width, offset, alignSelf, grow, shrink, flex) => {
7282
+ const getComponentCss$13 = (width, offset, alignSelf, grow, shrink, flex) => {
7264
7283
  return getCss({
7265
7284
  '@global': {
7266
7285
  ':host': addImportantToEachRule({
@@ -7282,7 +7301,7 @@ const getComponentCss$11 = (width, offset, alignSelf, grow, shrink, flex) => {
7282
7301
  });
7283
7302
  };
7284
7303
 
7285
- const getComponentCss$10 = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
7304
+ const getComponentCss$12 = (inline, wrap, direction, justifyContent, alignItems, alignContent) => {
7286
7305
  return getCss({
7287
7306
  '@global': {
7288
7307
  ':host': {
@@ -7479,7 +7498,7 @@ const cssVarRefPaddingTop = '--ref-p-flyout-pt';
7479
7498
  const cssVarRefPaddingInline = '--ref-p-flyout-px';
7480
7499
  // TODO: we shouldn't expose --p-flyout-max-width
7481
7500
  const cssVariableMaxWidth = '--p-flyout-max-width';
7482
- const getComponentCss$$ = (isOpen, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, theme) => {
7501
+ const getComponentCss$11 = (isOpen, backdrop, position, hasHeader, hasFooter, hasSubFooter, footerBehavior, theme) => {
7483
7502
  const isPositionStart = position === 'start' || position === 'left';
7484
7503
  const isFooterFixed = footerBehavior === 'fixed';
7485
7504
  return getCss({
@@ -7539,7 +7558,7 @@ const getComponentCss$$ = (isOpen, position, hasHeader, hasFooter, hasSubFooter,
7539
7558
  },
7540
7559
  }),
7541
7560
  },
7542
- dialog: getDialogJssStyle(isOpen, theme),
7561
+ dialog: getDialogJssStyle(isOpen, theme, backdrop),
7543
7562
  },
7544
7563
  scroller: {
7545
7564
  ...getScrollerJssStyle(isPositionStart ? 'start' : 'end', theme),
@@ -7591,7 +7610,7 @@ const gutter$1 = `calc(${gridGap} / 2)`;
7591
7610
  const gridItemWidths = [
7592
7611
  0, 8.333333, 16.666667, 25, 33.333333, 41.666667, 50, 58.333333, 66.666667, 75, 83.333333, 91.666667, 100,
7593
7612
  ];
7594
- const getComponentCss$_ = (size, offset) => {
7613
+ const getComponentCss$10 = (size, offset) => {
7595
7614
  return getCss({
7596
7615
  '@global': {
7597
7616
  ':host': addImportantToEachRule({
@@ -7611,7 +7630,7 @@ const getComponentCss$_ = (size, offset) => {
7611
7630
  };
7612
7631
 
7613
7632
  const gutter = `calc(${gridGap} / -2)`;
7614
- const getComponentCss$Z = (direction, wrap) => {
7633
+ const getComponentCss$$ = (direction, wrap) => {
7615
7634
  return getCss({
7616
7635
  '@global': {
7617
7636
  ':host': {
@@ -7637,7 +7656,7 @@ const sizeMap$3 = {
7637
7656
  'x-large': fontSizeHeadingXLarge,
7638
7657
  'xx-large': fontSizeHeadingXXLarge,
7639
7658
  };
7640
- const getComponentCss$Y = (size, align, color, ellipsis, theme) => {
7659
+ const getComponentCss$_ = (size, align, color, ellipsis, theme) => {
7641
7660
  return getCss({
7642
7661
  '@global': {
7643
7662
  ':host': {
@@ -7697,7 +7716,7 @@ const getTextSizeJssStyle = (textSize) => {
7697
7716
  fontSize: textSize === 'inherit' ? textSize : textSizeMap[textSize],
7698
7717
  };
7699
7718
  };
7700
- const getComponentCss$X = (variant, align, color, ellipsis, theme) => {
7719
+ const getComponentCss$Z = (variant, align, color, ellipsis, theme) => {
7701
7720
  return getCss({
7702
7721
  '@global': {
7703
7722
  ':host': {
@@ -7808,7 +7827,7 @@ const isFlippableIcon = (name, source) => {
7808
7827
  name === 'return' ||
7809
7828
  name === 'send'));
7810
7829
  };
7811
- const getComponentCss$W = (name, source, color, size, theme) => {
7830
+ const getComponentCss$Y = (name, source, color, size, theme) => {
7812
7831
  const isColorInherit = color === 'inherit';
7813
7832
  const isSizeInherit = size === 'inherit';
7814
7833
  const isDark = isThemeDark(theme);
@@ -7927,7 +7946,7 @@ const getHeadingJssStyle = (theme) => ({
7927
7946
  ...headingSmallStyle,
7928
7947
  ...getTextJssStyle(theme),
7929
7948
  });
7930
- const getComponentCss$V = (state, hasAction, hasClose, theme) => {
7949
+ const getComponentCss$X = (state, hasAction, hasClose, theme) => {
7931
7950
  return getCss({
7932
7951
  '@global': {
7933
7952
  ':host': {
@@ -7974,7 +7993,7 @@ const getComponentCss$V = (state, hasAction, hasClose, theme) => {
7974
7993
  /**
7975
7994
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
7976
7995
  */
7977
- const getComponentCss$U = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
7996
+ const getComponentCss$W = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
7978
7997
  return getCss({
7979
7998
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
7980
7999
  textOverflow: 'ellipsis',
@@ -7997,7 +8016,7 @@ const getComponentCss$U = (disabled, loading, hideLabel, state, compact, readOnl
7997
8016
  /**
7998
8017
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
7999
8018
  */
8000
- const getComponentCss$T = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
8019
+ const getComponentCss$V = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
8001
8020
  return getCss({
8002
8021
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
8003
8022
  textOverflow: 'ellipsis',
@@ -8017,7 +8036,7 @@ const getComponentCss$T = (disabled, loading, hideLabel, state, compact, readOnl
8017
8036
  /**
8018
8037
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
8019
8038
  */
8020
- const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnly, theme, controls) => {
8039
+ const getComponentCss$U = (disabled, loading, hideLabel, state, compact, readOnly, theme, controls) => {
8021
8040
  return getCss({
8022
8041
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
8023
8042
  textOverflow: 'ellipsis',
@@ -8042,7 +8061,7 @@ const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnl
8042
8061
  /**
8043
8062
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
8044
8063
  */
8045
- const getComponentCss$R = (disabled, loading, hideLabel, state, toggle, compact, readOnly, theme) => {
8064
+ const getComponentCss$T = (disabled, loading, hideLabel, state, toggle, compact, readOnly, theme) => {
8046
8065
  return getCss({
8047
8066
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
8048
8067
  '&[type="text"]': {
@@ -8065,7 +8084,7 @@ const getComponentCss$R = (disabled, loading, hideLabel, state, toggle, compact,
8065
8084
  /**
8066
8085
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
8067
8086
  */
8068
- const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnly, theme, clear) => {
8087
+ const getComponentCss$S = (disabled, loading, hideLabel, state, compact, readOnly, theme, clear) => {
8069
8088
  return getCss({
8070
8089
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
8071
8090
  textOverflow: 'ellipsis',
@@ -8089,7 +8108,7 @@ const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnl
8089
8108
  /**
8090
8109
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
8091
8110
  */
8092
- const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
8111
+ const getComponentCss$R = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
8093
8112
  return getCss({
8094
8113
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
8095
8114
  textOverflow: 'ellipsis',
@@ -8109,7 +8128,7 @@ const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnl
8109
8128
  /**
8110
8129
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
8111
8130
  */
8112
- const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnly, theme, counter) => {
8131
+ const getComponentCss$Q = (disabled, loading, hideLabel, state, compact, readOnly, theme, counter) => {
8113
8132
  return getCss({
8114
8133
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
8115
8134
  textOverflow: 'ellipsis',
@@ -8135,7 +8154,7 @@ const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnl
8135
8154
  /**
8136
8155
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
8137
8156
  */
8138
- const getComponentCss$N = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
8157
+ const getComponentCss$P = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
8139
8158
  return getCss({
8140
8159
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
8141
8160
  textOverflow: 'ellipsis',
@@ -8158,7 +8177,7 @@ const getComponentCss$N = (disabled, loading, hideLabel, state, compact, readOnl
8158
8177
  /**
8159
8178
  * @css-variable {"name": "--ref-p-input-slotted-margin", "description": "When slotting a `p-button-pure` or `p-link-pure` this variable needs to be set as `margin` in oder to adjust the spacings correctly."}
8160
8179
  */
8161
- const getComponentCss$M = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
8180
+ const getComponentCss$O = (disabled, loading, hideLabel, state, compact, readOnly, theme) => {
8162
8181
  return getCss({
8163
8182
  ...getFunctionalComponentInputBaseStyles(disabled, loading, hideLabel, state, compact, readOnly, theme, {
8164
8183
  textOverflow: 'ellipsis',
@@ -8171,7 +8190,7 @@ const getComponentCss$M = (disabled, loading, hideLabel, state, compact, readOnl
8171
8190
  });
8172
8191
  };
8173
8192
 
8174
- const getComponentCss$L = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
8193
+ const getComponentCss$N = (icon, iconSource, active, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme) => {
8175
8194
  return getCss(mergeDeep(getLinkButtonPureStyles(icon, iconSource, active, false, stretch, size, hideLabel, alignLabel, underline, hasSlottedAnchor, theme), hasSlottedAnchor && {
8176
8195
  '@global': addImportantToEachRule({
8177
8196
  '::slotted': {
@@ -8200,7 +8219,7 @@ const getComponentCss$L = (icon, iconSource, active, stretch, size, hideLabel, a
8200
8219
  };
8201
8220
 
8202
8221
  const cssVariableInternalLinkScaling = '--p-internal-link-scaling';
8203
- const getComponentCss$K = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, compact, theme) => {
8222
+ const getComponentCss$M = (icon, iconSource, variant, hideLabel, hasSlottedAnchor, compact, theme) => {
8204
8223
  const { linkColor } = getHighContrastColors();
8205
8224
  const isPrimary = variant === 'primary';
8206
8225
  return getCss(mergeDeep(getLinkButtonStyles(icon, iconSource, variant, hideLabel, false, hasSlottedAnchor, compact, cssVariableInternalLinkScaling, theme), {
@@ -8242,12 +8261,17 @@ const getComponentCss$K = (icon, iconSource, variant, hideLabel, hasSlottedAncho
8242
8261
  }));
8243
8262
  };
8244
8263
 
8245
- const getComponentCss$J = (aspectRatio, weight, // to get deprecated semibold typed
8264
+ const getComponentCss$L = (aspectRatio, weight, // to get deprecated semibold typed
8246
8265
  direction, hasDescription) => {
8247
8266
  return getCss({
8248
8267
  '@global': {
8249
8268
  ':host': {
8250
- display: 'block', // `display: flex` would be more ideal, but doesn't work in Safari in all cases
8269
+ display: 'flex',
8270
+ alignItems: 'stretch',
8271
+ // Safari workaround to scale the tile properly
8272
+ '@supports (-webkit-hyphens: auto)': {
8273
+ alignItems: 'baseline',
8274
+ },
8251
8275
  hyphens: 'auto', // TODO: shouldn't we expose a CSS variable instead?
8252
8276
  ...addImportantToEachRule({
8253
8277
  ...colorSchemeStyles,
@@ -8307,7 +8331,10 @@ direction, hasDescription) => {
8307
8331
  aspectRatio: aspectRatioValue.replace(':', '/'), // mapping of the deprecated aspect-ratio with ':'
8308
8332
  })),
8309
8333
  width: '100%', // necessary in case tile content overflows in grid or flex context
8310
- height: '100%', // necessary in case tile content overflows in grid or flex context
8334
+ // Safari workaround to scale the tile properly
8335
+ '@supports (-webkit-hyphens: auto)': {
8336
+ height: '100%',
8337
+ },
8311
8338
  display: 'grid',
8312
8339
  gridTemplate: `${spacingFluidMedium} auto minmax(0px, 1fr) auto ${spacingFluidMedium}/${spacingFluidMedium} minmax(0px, 1fr) ${spacingFluidMedium}`,
8313
8340
  '&::after': {
@@ -8376,7 +8403,7 @@ const getMultilineEllipsis = (lineClamp) => {
8376
8403
  overflow: 'hidden',
8377
8404
  };
8378
8405
  };
8379
- const getComponentCss$I = (hasLikeButton, hasSlottedAnchor, hasPriceOriginal, hasDescription, aspectRatio, theme) => {
8406
+ const getComponentCss$K = (hasLikeButton, hasSlottedAnchor, hasPriceOriginal, hasDescription, aspectRatio, theme) => {
8380
8407
  const { primaryColor, contrastHighColor, contrastMediumColor, backgroundSurfaceColor } = getThemedColors(theme);
8381
8408
  const { primaryColor: primaryColorDark, contrastHighColor: contrastHighColorDark, contrastMediumColor: contrastMediumColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, } = getThemedColors('dark');
8382
8409
  return getCss({
@@ -8515,13 +8542,18 @@ const getComponentCss$I = (hasLikeButton, hasSlottedAnchor, hasPriceOriginal, ha
8515
8542
  });
8516
8543
  };
8517
8544
 
8518
- const getComponentCss$H = (aspectRatio, size, weight, // to get deprecated semibold typed
8519
- background, align, compact, hasGradient, isDisabled) => {
8545
+ const getComponentCss$J = (aspectRatio, size, weight, // to get deprecated semibold typed
8546
+ background, align, compact, hasGradient, hasFooterSlot, isDisabled) => {
8520
8547
  const isTopAligned = align === 'top';
8521
8548
  return getCss({
8522
8549
  '@global': {
8523
8550
  ':host': {
8524
- display: 'block', // `display: flex` would be more ideal, but doesn't work in Safari in all cases
8551
+ display: 'flex',
8552
+ alignItems: 'stretch',
8553
+ // Safari workaround to scale the tile properly
8554
+ '@supports (-webkit-hyphens: auto)': {
8555
+ alignItems: 'baseline',
8556
+ },
8525
8557
  hyphens: 'auto', // TODO: shouldn't we expose a CSS variable instead?
8526
8558
  ...addImportantToEachRule({
8527
8559
  ...colorSchemeStyles,
@@ -8540,6 +8572,10 @@ background, align, compact, hasGradient, isDisabled) => {
8540
8572
  gridArea: `${isTopAligned ? 4 : 2}/2`,
8541
8573
  zIndex: 3,
8542
8574
  },
8575
+ '&[name="footer"]': {
8576
+ gridRow: 2,
8577
+ zIndex: 3,
8578
+ },
8543
8579
  },
8544
8580
  '::slotted(:is(img,picture,video))': addImportantToEachRule({
8545
8581
  display: 'block',
@@ -8574,7 +8610,10 @@ background, align, compact, hasGradient, isDisabled) => {
8574
8610
  aspectRatio: aspectRatioValue.replace(':', '/'), // mapping of the deprecated aspect-ratio with ':'
8575
8611
  })),
8576
8612
  width: '100%', // necessary in case tile content overflows in grid or flex context
8577
- height: '100%', // necessary in case tile content overflows in grid or flex context
8613
+ // Safari workaround to scale the tile properly
8614
+ '@supports (-webkit-hyphens: auto)': {
8615
+ height: '100%',
8616
+ },
8578
8617
  display: 'grid',
8579
8618
  gridTemplate: `${spacingFluidMedium} auto minmax(0px, 1fr) auto ${spacingFluidMedium}/${spacingFluidMedium} minmax(0px, 1fr) ${spacingFluidMedium}`,
8580
8619
  ...(hasGradient &&
@@ -8617,21 +8656,23 @@ background, align, compact, hasGradient, isDisabled) => {
8617
8656
  },
8618
8657
  footer: {
8619
8658
  gridArea: `${isTopAligned ? 2 : 4}/2`,
8620
- display: 'flex',
8621
- gap: spacingStaticMedium,
8622
- justifyContent: 'space-between',
8623
8659
  ...buildResponsiveStyles(compact, (compactValue) => compactValue
8624
8660
  ? {
8625
- alignItems: 'center',
8626
- flexDirection: 'row',
8661
+ display: 'grid',
8662
+ gridTemplateColumns: '1fr auto',
8663
+ columnGap: spacingStaticMedium,
8627
8664
  }
8628
8665
  : {
8629
- alignItems: 'flex-start',
8666
+ display: 'flex',
8630
8667
  flexDirection: 'column',
8668
+ alignItems: 'start',
8631
8669
  }),
8632
8670
  },
8633
8671
  'link-or-button-pure': {
8634
8672
  zIndex: 5,
8673
+ gridColumn: 2,
8674
+ gridRow: hasFooterSlot && !isTopAligned ? 2 : 1,
8675
+ alignSelf: 'center',
8635
8676
  ...buildResponsiveStyles(compact, (compactValue) => ({
8636
8677
  display: compactValue ? 'inline-block' : 'none',
8637
8678
  })),
@@ -8639,6 +8680,7 @@ background, align, compact, hasGradient, isDisabled) => {
8639
8680
  'link-or-button': {
8640
8681
  minHeight: '54px', // prevent content shift
8641
8682
  zIndex: 5,
8683
+ marginTop: spacingStaticMedium,
8642
8684
  ...buildResponsiveStyles(compact, (compactValue) => ({
8643
8685
  display: compactValue ? 'none' : 'inline-block',
8644
8686
  })),
@@ -8656,7 +8698,7 @@ const baseSizes = {
8656
8698
  height: '72px',
8657
8699
  },
8658
8700
  };
8659
- const getComponentCss$G = (size) => {
8701
+ const getComponentCss$I = (size) => {
8660
8702
  return getCss({
8661
8703
  '@global': {
8662
8704
  ':host': {
@@ -8711,7 +8753,7 @@ const cssVariableSpacingBottom = '--p-modal-spacing-bottom'; // TODO: maybe --p-
8711
8753
  const safeZoneVertical = `calc(${spacingFluidSmall} + ${spacingFluidMedium})`;
8712
8754
  const safeZoneHorizontal = `${spacingFluidLarge}`;
8713
8755
  const cssClassNameStretchToFullModalWidth = 'stretch-to-full-modal-width';
8714
- const getComponentCss$F = (isOpen, backdrop, fullscreen, hasDismissButton, hasHeader, hasFooter, theme) => {
8756
+ const getComponentCss$H = (isOpen, backdrop, fullscreen, hasDismissButton, hasHeader, hasFooter, theme) => {
8715
8757
  return getCss({
8716
8758
  '@global': {
8717
8759
  ':host': {
@@ -8849,7 +8891,7 @@ const getThemedColor = (color, themedColors) => {
8849
8891
  };
8850
8892
  return colorMap[color];
8851
8893
  };
8852
- const getComponentCss$E = (model, safeZone, size, color, theme) => {
8894
+ const getComponentCss$G = (model, safeZone, size, color, theme) => {
8853
8895
  const { width, height } = MODEL_SIGNATURES_MANIFEST[model];
8854
8896
  const isSizeInherit = size === 'inherit';
8855
8897
  return getCss({
@@ -8894,7 +8936,7 @@ const getComponentCss$E = (model, safeZone, size, color, theme) => {
8894
8936
  };
8895
8937
 
8896
8938
  const cssVarInternalMultiSelectOptionScaling = '--p-internal-multi-select-option-scaling';
8897
- const getComponentCss$D = (theme, isDisabled, selected) => {
8939
+ const getComponentCss$F = (theme, isDisabled, selected) => {
8898
8940
  return getCss({
8899
8941
  '@global': {
8900
8942
  ':host': {
@@ -8928,7 +8970,7 @@ const getComponentCss$D = (theme, isDisabled, selected) => {
8928
8970
 
8929
8971
  const cssVarInternalOptgroupScaling = '--p-internal-optgroup-scaling';
8930
8972
  const scalingVar = `var(${cssVarInternalOptgroupScaling}, 1)`;
8931
- const getComponentCss$C = (isDisabled, theme) => {
8973
+ const getComponentCss$E = (isDisabled, theme) => {
8932
8974
  const { primaryColor, disabledColor } = getThemedColors(theme);
8933
8975
  const { primaryColor: primaryColorDark, disabledColor: disabledColorDark } = getThemedColors('dark');
8934
8976
  const padding = `max(2px, ${scalingVar} * ${spacingStaticSmall}) max(4px, ${scalingVar} * 12px)`;
@@ -8967,7 +9009,7 @@ const getComponentCss$C = (isDisabled, theme) => {
8967
9009
  };
8968
9010
 
8969
9011
  const cssVarInternalMultiSelectScaling = '--p-internal-multi-select-scaling';
8970
- const getComponentCss$B = (isOpen, isDisabled, hideLabel, state, compact, theme) => {
9012
+ const getComponentCss$D = (isOpen, isDisabled, hideLabel, state, compact, theme) => {
8971
9013
  const scalingVar = `var(${cssVarInternalMultiSelectScaling}, ${compact ? 0.5 : 1})`;
8972
9014
  return getCss({
8973
9015
  '@global': {
@@ -9017,7 +9059,7 @@ const disabledCursorStyle = {
9017
9059
  pointerEvents: 'none', // prevents :hover (has no effect when forced), maybe we can remove it since CSS selectors already cover desired behavior
9018
9060
  };
9019
9061
  const hiddenStyle = { display: 'none' };
9020
- const getComponentCss$A = (activePage, pageTotal, showLastPage, theme) => {
9062
+ const getComponentCss$C = (activePage, pageTotal, showLastPage, theme) => {
9021
9063
  const { primaryColor, disabledColor, hoverColor } = getThemedColors(theme);
9022
9064
  const { primaryColor: primaryColorDark, disabledColor: disabledColorDark, hoverColor: hoverColorDark, } = getThemedColors('dark');
9023
9065
  return getCss({
@@ -9153,41 +9195,29 @@ const removeStyles = (selector, styles) => Object.fromEntries(Object.entries(sty
9153
9195
  return [key, value];
9154
9196
  }));
9155
9197
 
9156
- const getComponentCss$z = (hideLabel, state, isDisabled, isLoading, length, theme) => {
9157
- const inputSize = `calc(${fontLineHeight} + 10px + ${borderWidthBase} * 2 + ${spacingStaticSmall} * 2)`; // equivalent to calculation of input height within form-styles
9198
+ const cssVarInternalPinCodeScaling = '--p-internal-pin-code-scaling';
9199
+ const getScalingVar = (compact) => `var(${cssVarInternalPinCodeScaling}, ${compact ? 0.5 : 1})`;
9200
+ const getComponentCss$B = (hideLabel, state, isDisabled, isLoading, length, compact, theme) => {
9201
+ const scalingVar = getScalingVar(compact);
9202
+ const dimension = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
9203
+ const gap = `max(${spacingStaticXSmall}, ${scalingVar} * ${spacingStaticSmall})`;
9204
+ const paddingBlock = `max(2px, ${formElementPaddingVertical} * ${scalingVar})`;
9205
+ // Min width is needed for showing at least 1 character in very narrow containers. The "1rem" value is the minimum safe zone to show at least.
9206
+ const minWidth = `max(1rem, calc(${dimension} - ${borderWidthBase}*2 - ${paddingBlock}*2))`;
9158
9207
  const inputStyles = removeStyles('input[readonly]', removeSlottedSelector(getSlottedTextFieldTextareaSelectStyles('input', state, isLoading, theme, {
9159
- // TODO: move into getSlottedTextFieldTextareaSelectStyles()
9160
- padding: `${formElementPaddingVertical} ${spacingStaticXSmall}`,
9161
9208
  // TODO: move into getSlottedTextFieldTextareaSelectStyles() via parameter, e.g. textAlign=center|start
9162
9209
  textAlign: 'center',
9163
- // TODO: move into getSlottedTextFieldTextareaSelectStyles() via parameter, e.g. size=max|min
9164
- maxWidth: inputSize,
9165
- // min width is needed for showing at least 1 character in very narrow containers. The "1rem" value is the minimum safe zone to show at least.
9166
- minWidth: `calc(1rem + ${borderWidthBase}*2 + ${spacingStaticSmall}*2)`,
9167
- ...(length > 4 && {
9168
- [getMediaQueryMax('xs')]: {
9169
- // TODO: instead of having dedicated css rules depending on length we should try to implement a fluid one fits all solution
9170
- maxWidth: 'auto',
9171
- width: `calc((276px - (${spacingStaticSmall} * ${length - 1})) / ${length})`, // calculate the max with of the inputs that fit into grid in viewport base (276px)
9172
- },
9173
- }),
9174
9210
  // TODO: move into getSlottedTextFieldTextareaSelectStyles() via parameter, e.g. isLoading
9175
9211
  ...(isLoading && {
9176
9212
  opacity: 0.2, // TODO: not in sync with e.g. checkbox/radio-button loading style
9177
9213
  cursor: 'not-allowed',
9178
9214
  }),
9179
- // since @playwright/test@1.40.1 this does not work anymore in Webkit browser engine for unknown reasons
9180
- /* ...Object.fromEntries(
9181
- Array.from(Array(length)).map((_, i) => {
9182
- return [`&:nth-of-type(${i + 1})`, { gridArea: `1/${i + 1}` }];
9183
- })
9184
- ),*/
9185
- '&:nth-of-type(1)': { gridArea: '1/1' },
9186
- '&:nth-of-type(2)': { gridArea: '1/2' },
9187
- '&:nth-of-type(3)': { gridArea: '1/3' },
9188
- '&:nth-of-type(4)': { gridArea: '1/4' },
9189
- '&:nth-of-type(5)': { gridArea: '1/5' },
9190
- '&:nth-of-type(6)': { gridArea: '1/6' },
9215
+ height: dimension,
9216
+ minWidth,
9217
+ maxWidth: dimension,
9218
+ width: 'auto',
9219
+ padding: paddingBlock,
9220
+ boxSizing: 'content-box',
9191
9221
  })));
9192
9222
  return getCss({
9193
9223
  '@global': {
@@ -9207,17 +9237,20 @@ const getComponentCss$z = (hideLabel, state, isDisabled, isLoading, length, them
9207
9237
  gap: spacingStaticXSmall,
9208
9238
  },
9209
9239
  wrapper: {
9240
+ position: 'relative',
9210
9241
  display: 'grid',
9211
- gridTemplateColumns: `repeat(${length}, minmax(auto, 1fr))`,
9242
+ gridTemplateColumns: `repeat(${length}, 1fr)`,
9212
9243
  justifySelf: 'flex-start',
9213
- gap: spacingStaticSmall,
9244
+ gap,
9214
9245
  },
9215
9246
  ...(isLoading && {
9216
9247
  spinner: {
9217
- gridArea: '1/1/1/-1',
9218
- placeSelf: 'center',
9219
- width: inputSize,
9220
- height: inputSize,
9248
+ position: 'absolute',
9249
+ top: '50%',
9250
+ left: '50%',
9251
+ transform: 'translate(-50%, -50%)',
9252
+ width: dimension,
9253
+ height: dimension,
9221
9254
  pointerEvents: 'none',
9222
9255
  },
9223
9256
  }),
@@ -9233,7 +9266,7 @@ const getComponentCss$z = (hideLabel, state, isDisabled, isLoading, length, them
9233
9266
  const POPOVER_SAFE_ZONE = 8;
9234
9267
 
9235
9268
  const { canvasTextColor } = getHighContrastColors();
9236
- const getComponentCss$y = (theme) => {
9269
+ const getComponentCss$A = (theme) => {
9237
9270
  const { hoverColor, backgroundColor, primaryColor, backgroundSurfaceColor } = getThemedColors(theme);
9238
9271
  const { hoverColor: hoverColorDark, primaryColor: primaryColorDark, backgroundSurfaceColor: backgroundSurfaceColorDark, } = getThemedColors('dark');
9239
9272
  const shadowColor = 'rgba(0,0,0,0.3)';
@@ -9337,10 +9370,10 @@ const getComponentCss$y = (theme) => {
9337
9370
  });
9338
9371
  };
9339
9372
 
9340
- const getCheckedSVGBackgroundImage = (fill) => {
9373
+ const getCheckedSVGBackgroundImage$1 = (fill) => {
9341
9374
  return getInlineSVGBackgroundImage(`<circle fill="${fill}" cx="12" cy="12" r="6"/>`);
9342
9375
  };
9343
- const getComponentCss$x = (hideLabel, state, isDisabled, isLoading, theme) => {
9376
+ const getComponentCss$z = (hideLabel, state, isDisabled, isLoading, theme) => {
9344
9377
  const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
9345
9378
  const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
9346
9379
  return getCss({
@@ -9363,16 +9396,16 @@ const getComponentCss$x = (hideLabel, state, isDisabled, isLoading, theme) => {
9363
9396
  // TODO: is it somehow useful possible to make following styles configurable by paramter?
9364
9397
  ...(!isLoading && {
9365
9398
  '&(input:checked)': {
9366
- backgroundImage: getCheckedSVGBackgroundImage(checkedIconColor),
9399
+ backgroundImage: getCheckedSVGBackgroundImage$1(checkedIconColor),
9367
9400
  ...prefersColorSchemeDarkMediaQuery(theme, {
9368
- backgroundImage: getCheckedSVGBackgroundImage(checkedIconColorDark),
9401
+ backgroundImage: getCheckedSVGBackgroundImage$1(checkedIconColorDark),
9369
9402
  }),
9370
9403
  // This is a workaround for Blink based browsers, which do not reflect the high contrast system colors (e.g.: "Canvas" and "CanvasText") when added to background SVG's.
9371
9404
  ...(isHighContrastMode &&
9372
9405
  getSchemedHighContrastMediaQuery({
9373
- backgroundImage: getCheckedSVGBackgroundImage('white'),
9406
+ backgroundImage: getCheckedSVGBackgroundImage$1('white'),
9374
9407
  }, {
9375
- backgroundImage: getCheckedSVGBackgroundImage('black'),
9408
+ backgroundImage: getCheckedSVGBackgroundImage$1('black'),
9376
9409
  })),
9377
9410
  },
9378
9411
  }),
@@ -9421,6 +9454,267 @@ const getComponentCss$x = (hideLabel, state, isDisabled, isLoading, theme) => {
9421
9454
  });
9422
9455
  };
9423
9456
 
9457
+ const cssVarInternalRadioGroupOptionScaling = '--p-internal-radio-group-option-scaling';
9458
+ const getCheckedSVGBackgroundImage = (fill) => {
9459
+ return getInlineSVGBackgroundImage(`<circle fill="${fill}" cx="12" cy="12" r="6"/>`);
9460
+ };
9461
+ const getComponentCss$y = (disabled, loading, state, theme) => {
9462
+ const { primaryColor, contrastMediumColor, contrastHighColor, disabledColor, focusColor } = getThemedColors(theme);
9463
+ const { primaryColor: primaryColorDark, contrastMediumColor: contrastMediumColorDark, contrastHighColor: contrastHighColorDark, disabledColor: disabledColorDark, focusColor: focusColorDark, } = getThemedColors('dark');
9464
+ const { formStateColor, formStateHoverColor } = getThemedFormStateColors(theme, state);
9465
+ const { formStateColor: formStateColorDark, formStateHoverColor: formStateHoverColorDark } = getThemedFormStateColors('dark', state);
9466
+ const { canvasTextColor } = getHighContrastColors();
9467
+ const disabledOrLoading = isDisabledOrLoading(disabled, loading);
9468
+ // TODO: needs to be extracted into a color function
9469
+ const uncheckedColor = disabledOrLoading ? disabledColor : formStateColor || contrastMediumColor;
9470
+ const uncheckedColorDark = disabledOrLoading ? disabledColorDark : formStateColorDark || contrastMediumColorDark;
9471
+ const uncheckedHoverColor = formStateHoverColor || primaryColor;
9472
+ const uncheckedHoverColorDark = formStateHoverColorDark || primaryColorDark;
9473
+ const checkedColor = isHighContrastMode
9474
+ ? canvasTextColor
9475
+ : disabledOrLoading
9476
+ ? disabledColor
9477
+ : formStateColor || primaryColor;
9478
+ const checkedColorDark = isHighContrastMode
9479
+ ? canvasTextColor
9480
+ : disabledOrLoading
9481
+ ? disabledColorDark
9482
+ : formStateColorDark || primaryColorDark;
9483
+ const checkedHoverColor = formStateHoverColor || contrastHighColor;
9484
+ const checkedHoverColorDark = formStateHoverColorDark || contrastHighColorDark;
9485
+ const minDimension = `calc(${SCALING_BASE_VALUE} * 0.75)`;
9486
+ const scalingVar = `var(${cssVarInternalRadioGroupOptionScaling}, 1)`;
9487
+ const dimension = `max(${minDimension}, ${scalingVar} * (${fontLineHeight}))`;
9488
+ const dimensionFull = `calc(${dimension} + ${borderWidthBase} * 2)`; // Calculates the total size of the checkbox including its borders.
9489
+ const minimumTouchTargetSize = '24px'; // Minimum touch target size to comply with accessibility guidelines.
9490
+ const touchTargetSizeDiff = `calc(${minimumTouchTargetSize} - ${dimensionFull})`; // Difference between the minimum touch target size and the radio button full size.
9491
+ const inset = `calc(-${borderWidthBase} - max(0px, ${touchTargetSizeDiff} / 2))`; // Positions the radio button '::before' pseudo-element with a negative offset to align it with the touch target.
9492
+ const paddingInlineStart = `calc(${spacingStaticSmall} - (max(0px, ${touchTargetSizeDiff})))`;
9493
+ const checkedIconColor = escapeHashCharacter(getInvertedThemedColors(theme).primaryColor);
9494
+ const checkedIconColorDark = escapeHashCharacter(getInvertedThemedColors('dark').primaryColor);
9495
+ const paddingTop = `calc((${dimensionFull} - ${fontLineHeight}) / 2)`; // Vertically centers the radio button label relative to the radio button size.
9496
+ const height = `calc(max(${fontLineHeight}, ${dimensionFull}))`; // Ensures the wrapper height matches either the font's line height or the full size of the radio-group, whichever is larger.
9497
+ return getCss({
9498
+ '@global': {
9499
+ ':host': {
9500
+ ...addImportantToEachRule({
9501
+ ...colorSchemeStyles,
9502
+ ...hostHiddenStyles,
9503
+ }),
9504
+ display: 'block',
9505
+ },
9506
+ input: {
9507
+ gridArea: '1/1',
9508
+ borderRadius: '50%',
9509
+ position: 'relative',
9510
+ width: dimension,
9511
+ height: dimension,
9512
+ font: `${fontSizeTextSmall} ${fontFamily}`, // needed for correct width and height definition based on ex-unit
9513
+ display: 'block',
9514
+ margin: 0,
9515
+ padding: 0,
9516
+ WebkitAppearance: 'none', // iOS safari
9517
+ appearance: 'none',
9518
+ boxSizing: 'content-box',
9519
+ background: `transparent 0% 0% / ${fontLineHeight}`,
9520
+ transition: `${getTransition('background-color')}, ${getTransition('border-color')}`,
9521
+ border: `${borderWidthBase} solid ${uncheckedColor}`,
9522
+ outline: 0, // TODO: only relevant for VRT testing with forced states - prevents :focus style (in case getFocusJssStyle() condition is not matching)
9523
+ ...(disabledOrLoading
9524
+ ? {
9525
+ pointerEvents: 'none', // to prevent form element becomes clickable/toggleable
9526
+ }
9527
+ : {
9528
+ cursor: 'pointer',
9529
+ }),
9530
+ ...prefersColorSchemeDarkMediaQuery(theme, {
9531
+ borderColor: uncheckedColorDark,
9532
+ }),
9533
+ '&::before': {
9534
+ // Ensures the touch target is at least '24px', even if the radio button is smaller than the minimum touch target size.
9535
+ // This pseudo-element expands the clickable area without affecting the visual size of the radio button itself.
9536
+ content: '""',
9537
+ position: 'absolute',
9538
+ inset,
9539
+ },
9540
+ },
9541
+ 'input:checked': {
9542
+ borderColor: checkedColor,
9543
+ backgroundColor: checkedColor,
9544
+ backgroundSize: dimension,
9545
+ backgroundImage: getCheckedSVGBackgroundImage(checkedIconColor),
9546
+ ...prefersColorSchemeDarkMediaQuery(theme, {
9547
+ borderColor: checkedColorDark,
9548
+ backgroundColor: checkedColorDark,
9549
+ backgroundImage: getCheckedSVGBackgroundImage(checkedIconColorDark),
9550
+ }),
9551
+ // This is a workaround for Blink-based browsers, which do not reflect the high contrast system colors (e.g.: "Canvas" and "CanvasText") when added to background SVG's.
9552
+ ...(isHighContrastMode &&
9553
+ getSchemedHighContrastMediaQuery({
9554
+ backgroundImage: getCheckedSVGBackgroundImage('white'),
9555
+ }, {
9556
+ backgroundImage: getCheckedSVGBackgroundImage('black'),
9557
+ })),
9558
+ },
9559
+ ...(!disabledOrLoading &&
9560
+ !isHighContrastMode &&
9561
+ hoverMediaQuery({
9562
+ 'input:hover,label:hover~.wrapper input': {
9563
+ borderColor: uncheckedHoverColor,
9564
+ ...prefersColorSchemeDarkMediaQuery(theme, {
9565
+ borderColor: uncheckedHoverColorDark,
9566
+ }),
9567
+ },
9568
+ 'input:checked:hover,label:hover~.wrapper input:checked': {
9569
+ borderColor: checkedHoverColor,
9570
+ backgroundColor: checkedHoverColor,
9571
+ ...prefersColorSchemeDarkMediaQuery(theme, {
9572
+ borderColor: checkedHoverColorDark,
9573
+ backgroundColor: checkedHoverColorDark,
9574
+ }),
9575
+ },
9576
+ 'label:hover~.wrapper input': supportsChromiumMediaQuery({
9577
+ transition: 'unset', // Fixes a chrome bug where transition properties are stuck on hover
9578
+ }),
9579
+ })),
9580
+ ...(!disabled && {
9581
+ 'input::-moz-focus-inner': {
9582
+ border: 0, // reset ua-style (for FF)
9583
+ },
9584
+ 'input:focus': {
9585
+ outline: 0, // reset ua-style (for older browsers)
9586
+ },
9587
+ 'input:focus-visible': {
9588
+ outline: `${borderWidthBase} solid ${focusColor}`,
9589
+ outlineOffset: '2px',
9590
+ ...prefersColorSchemeDarkMediaQuery(theme, {
9591
+ outlineColor: focusColorDark,
9592
+ }),
9593
+ },
9594
+ }),
9595
+ ...preventFoucOfNestedElementsStyles,
9596
+ },
9597
+ root: {
9598
+ display: 'grid',
9599
+ gridTemplateColumns: 'auto minmax(0, 1fr)',
9600
+ rowGap: spacingStaticXSmall,
9601
+ },
9602
+ wrapper: {
9603
+ ...textSmallStyle,
9604
+ display: 'grid',
9605
+ gridArea: '1/1',
9606
+ minWidth: minimumTouchTargetSize,
9607
+ minHeight: minimumTouchTargetSize,
9608
+ justifyContent: 'center',
9609
+ alignItems: 'center',
9610
+ alignSelf: 'flex-start', // in case label becomes multiline
9611
+ ...(isDisabledOrLoading(disabled, loading) && {
9612
+ cursor: 'not-allowed',
9613
+ }),
9614
+ height,
9615
+ },
9616
+ ...(loading && {
9617
+ spinner: {
9618
+ position: 'relative', // ensure correct stacking, can be removed as soon as focus for input is handled with outline
9619
+ gridArea: '1/1',
9620
+ placeSelf: 'center',
9621
+ width: dimension,
9622
+ height: dimension,
9623
+ font: `${fontSizeTextSmall} ${fontFamily}`, // needed for correct width and height definition based on ex-unit
9624
+ pointerEvents: 'none',
9625
+ },
9626
+ }),
9627
+ // .label / .required
9628
+ ...getFunctionalComponentLabelStyles(disabled || loading, false, theme, {
9629
+ gridArea: '1/2',
9630
+ }, {
9631
+ paddingTop,
9632
+ paddingInlineStart,
9633
+ }),
9634
+ // .loading
9635
+ ...getFunctionalComponentLoadingMessageStyles(),
9636
+ });
9637
+ };
9638
+
9639
+ const cssVarInternalRadioGroupScaling = '--p-internal-radio-group-scaling';
9640
+ const groupRadioGroupDirectionJssStyles = {
9641
+ column: {
9642
+ flexFlow: 'column nowrap',
9643
+ alignItems: 'stretch',
9644
+ },
9645
+ row: {
9646
+ flexFlow: 'row wrap',
9647
+ alignItems: 'start',
9648
+ },
9649
+ };
9650
+ const getRadioGroupDirectionJssStyles = (direction) => {
9651
+ return groupRadioGroupDirectionJssStyles[direction];
9652
+ };
9653
+ const getComponentCss$x = (disabled, loading, hideLabel, state, compact, direction, theme) => {
9654
+ const scalingVar = `var(${cssVarInternalRadioGroupScaling}, ${compact ? 0.5 : 1})`;
9655
+ const { primaryColor } = getThemedColors(theme);
9656
+ const { primaryColor: primaryColorDark } = getThemedColors('dark');
9657
+ const { formStateHoverColor } = getThemedFormStateColors(theme, state);
9658
+ const { formStateHoverColor: formStateHoverColorDark } = getThemedFormStateColors('dark', state);
9659
+ const hoverStyles = {
9660
+ borderColor: formStateHoverColor || primaryColor,
9661
+ ...prefersColorSchemeDarkMediaQuery(theme, {
9662
+ borderColor: formStateHoverColorDark || primaryColorDark,
9663
+ }),
9664
+ };
9665
+ const dimension = `max(${fontLineHeight}, ${scalingVar} * (${fontLineHeight} + 10px))`;
9666
+ const columnGap = `max(${spacingStaticSmall}, ${scalingVar} * ${spacingStaticMedium})`;
9667
+ const rowGap = `max(${spacingStaticXSmall}, ${scalingVar} * ${spacingStaticSmall})`;
9668
+ return getCss({
9669
+ '@global': {
9670
+ ':host': {
9671
+ ...addImportantToEachRule({
9672
+ ...colorSchemeStyles,
9673
+ ...hostHiddenStyles,
9674
+ }),
9675
+ [`${cssVarInternalRadioGroupOptionScaling}`]: scalingVar,
9676
+ },
9677
+ ...preventFoucOfNestedElementsStyles,
9678
+ },
9679
+ root: {
9680
+ display: 'grid',
9681
+ justifySelf: 'flex-start',
9682
+ rowGap: spacingStaticXSmall,
9683
+ },
9684
+ wrapper: {
9685
+ alignItems: 'start',
9686
+ position: 'relative',
9687
+ display: 'flex',
9688
+ ...buildResponsiveStyles(direction, getRadioGroupDirectionJssStyles),
9689
+ columnGap,
9690
+ rowGap,
9691
+ },
9692
+ ...(loading && {
9693
+ spinner: {
9694
+ position: 'absolute',
9695
+ top: '50%',
9696
+ left: '50%',
9697
+ transform: 'translate(-50%, -50%)',
9698
+ width: dimension,
9699
+ height: dimension,
9700
+ pointerEvents: 'none',
9701
+ },
9702
+ }),
9703
+ // .label / .required
9704
+ ...getFunctionalComponentLabelStyles(disabled, hideLabel, theme, !disabled && {
9705
+ ...hoverMediaQuery({
9706
+ '&:hover~.wrapper': hoverStyles,
9707
+ }),
9708
+ cursor: 'inherit', // the label is not clickable
9709
+ }),
9710
+ // .message
9711
+ ...getFunctionalComponentStateMessageStyles(theme, state),
9712
+ // .loading
9713
+ ...getFunctionalComponentLoadingMessageStyles(),
9714
+ 'sr-only': getHiddenTextJssStyle(),
9715
+ });
9716
+ };
9717
+
9424
9718
  const prevNextWrapperWidth = `calc(${fontLineHeight} + 24px)`;
9425
9719
  const getComponentCss$w = (isNextHidden, isPrevHidden, alignScrollIndicator, hasScrollbar, theme) => {
9426
9720
  const actionPrevNextStyles = {
@@ -11527,67 +11821,69 @@ const getComponentCss = (size, theme) => {
11527
11821
  exports.cssVarButtonPureMargin = cssVarButtonPureMargin;
11528
11822
  exports.cssVarButtonPurePadding = cssVarButtonPurePadding;
11529
11823
  exports.cssVarInternalInputBaseScaling = cssVarInternalInputBaseScaling;
11530
- exports.getAccordionCss = getComponentCss$1l;
11531
- exports.getBannerCss = getComponentCss$1k;
11532
- exports.getButtonCss = getComponentCss$1g;
11533
- exports.getButtonGroupCss = getComponentCss$1j;
11534
- exports.getButtonPureCss = getComponentCss$1i;
11535
- exports.getButtonTileCss = getComponentCss$1h;
11536
- exports.getCanvasCss = getComponentCss$1f;
11537
- exports.getCarouselCss = getComponentCss$1e;
11538
- exports.getCheckboxCss = getComponentCss$1c;
11539
- exports.getCheckboxWrapperCss = getComponentCss$1d;
11540
- exports.getContentWrapperCss = getComponentCss$1b;
11541
- exports.getCrestCss = getComponentCss$1a;
11542
- exports.getDisplayCss = getComponentCss$19;
11543
- exports.getDividerCss = getComponentCss$18;
11544
- exports.getDrilldownCss = getComponentCss$17;
11545
- exports.getDrilldownItemCss = getComponentCss$16;
11546
- exports.getDrilldownLinkCss = getComponentCss$15;
11547
- exports.getFieldsetCss = getComponentCss$13;
11548
- exports.getFieldsetWrapperCss = getComponentCss$14;
11549
- exports.getFlagCss = getComponentCss$12;
11550
- exports.getFlexCss = getComponentCss$10;
11551
- exports.getFlexItemCss = getComponentCss$11;
11552
- exports.getFlyoutCss = getComponentCss$$;
11824
+ exports.getAccordionCss = getComponentCss$1n;
11825
+ exports.getBannerCss = getComponentCss$1m;
11826
+ exports.getButtonCss = getComponentCss$1i;
11827
+ exports.getButtonGroupCss = getComponentCss$1l;
11828
+ exports.getButtonPureCss = getComponentCss$1k;
11829
+ exports.getButtonTileCss = getComponentCss$1j;
11830
+ exports.getCanvasCss = getComponentCss$1h;
11831
+ exports.getCarouselCss = getComponentCss$1g;
11832
+ exports.getCheckboxCss = getComponentCss$1e;
11833
+ exports.getCheckboxWrapperCss = getComponentCss$1f;
11834
+ exports.getContentWrapperCss = getComponentCss$1d;
11835
+ exports.getCrestCss = getComponentCss$1c;
11836
+ exports.getDisplayCss = getComponentCss$1b;
11837
+ exports.getDividerCss = getComponentCss$1a;
11838
+ exports.getDrilldownCss = getComponentCss$19;
11839
+ exports.getDrilldownItemCss = getComponentCss$18;
11840
+ exports.getDrilldownLinkCss = getComponentCss$17;
11841
+ exports.getFieldsetCss = getComponentCss$15;
11842
+ exports.getFieldsetWrapperCss = getComponentCss$16;
11843
+ exports.getFlagCss = getComponentCss$14;
11844
+ exports.getFlexCss = getComponentCss$12;
11845
+ exports.getFlexItemCss = getComponentCss$13;
11846
+ exports.getFlyoutCss = getComponentCss$11;
11553
11847
  exports.getFunctionalComponentInputBaseStyles = getFunctionalComponentInputBaseStyles;
11554
11848
  exports.getFunctionalComponentLabelStyles = getFunctionalComponentLabelStyles;
11555
11849
  exports.getFunctionalComponentLoadingMessageStyles = getFunctionalComponentLoadingMessageStyles;
11556
11850
  exports.getFunctionalComponentNoResultsOptionStyles = getFunctionalComponentNoResultsOptionStyles;
11557
11851
  exports.getFunctionalComponentRequiredStyles = getFunctionalComponentRequiredStyles;
11558
11852
  exports.getFunctionalComponentStateMessageStyles = getFunctionalComponentStateMessageStyles;
11559
- exports.getGridCss = getComponentCss$Z;
11560
- exports.getGridItemCss = getComponentCss$_;
11561
- exports.getHeadingCss = getComponentCss$Y;
11562
- exports.getHeadlineCss = getComponentCss$X;
11563
- exports.getIconCss = getComponentCss$W;
11564
- exports.getInlineNotificationCss = getComponentCss$V;
11565
- exports.getInputDateCss = getComponentCss$U;
11566
- exports.getInputEmailCss = getComponentCss$T;
11567
- exports.getInputNumberCss = getComponentCss$S;
11568
- exports.getInputPasswordCss = getComponentCss$R;
11569
- exports.getInputSearchCss = getComponentCss$Q;
11570
- exports.getInputTelCss = getComponentCss$P;
11571
- exports.getInputTextCss = getComponentCss$O;
11572
- exports.getInputTimeCss = getComponentCss$N;
11573
- exports.getInputUrlCss = getComponentCss$M;
11574
- exports.getLinkCss = getComponentCss$K;
11575
- exports.getLinkPureCss = getComponentCss$L;
11576
- exports.getLinkSocialCss = getComponentCss$K;
11577
- exports.getLinkTileCss = getComponentCss$H;
11578
- exports.getLinkTileModelSignatureCss = getComponentCss$J;
11579
- exports.getLinkTileProductCss = getComponentCss$I;
11580
- exports.getMarqueCss = getComponentCss$G;
11581
- exports.getModalCss = getComponentCss$F;
11582
- exports.getModelSignatureCss = getComponentCss$E;
11583
- exports.getMultiSelectCss = getComponentCss$B;
11584
- exports.getMultiSelectOptionCss = getComponentCss$D;
11585
- exports.getOptgroupCss = getComponentCss$C;
11586
- exports.getPaginationCss = getComponentCss$A;
11587
- exports.getPinCodeCss = getComponentCss$z;
11588
- exports.getPopoverCss = getComponentCss$y;
11589
- exports.getRadioButtonWrapperCss = getComponentCss$x;
11590
- exports.getScalingVar = getScalingVar;
11853
+ exports.getGridCss = getComponentCss$$;
11854
+ exports.getGridItemCss = getComponentCss$10;
11855
+ exports.getHeadingCss = getComponentCss$_;
11856
+ exports.getHeadlineCss = getComponentCss$Z;
11857
+ exports.getIconCss = getComponentCss$Y;
11858
+ exports.getInlineNotificationCss = getComponentCss$X;
11859
+ exports.getInputDateCss = getComponentCss$W;
11860
+ exports.getInputEmailCss = getComponentCss$V;
11861
+ exports.getInputNumberCss = getComponentCss$U;
11862
+ exports.getInputPasswordCss = getComponentCss$T;
11863
+ exports.getInputSearchCss = getComponentCss$S;
11864
+ exports.getInputTelCss = getComponentCss$R;
11865
+ exports.getInputTextCss = getComponentCss$Q;
11866
+ exports.getInputTimeCss = getComponentCss$P;
11867
+ exports.getInputUrlCss = getComponentCss$O;
11868
+ exports.getLinkCss = getComponentCss$M;
11869
+ exports.getLinkPureCss = getComponentCss$N;
11870
+ exports.getLinkSocialCss = getComponentCss$M;
11871
+ exports.getLinkTileCss = getComponentCss$J;
11872
+ exports.getLinkTileModelSignatureCss = getComponentCss$L;
11873
+ exports.getLinkTileProductCss = getComponentCss$K;
11874
+ exports.getMarqueCss = getComponentCss$I;
11875
+ exports.getModalCss = getComponentCss$H;
11876
+ exports.getModelSignatureCss = getComponentCss$G;
11877
+ exports.getMultiSelectCss = getComponentCss$D;
11878
+ exports.getMultiSelectOptionCss = getComponentCss$F;
11879
+ exports.getOptgroupCss = getComponentCss$E;
11880
+ exports.getPaginationCss = getComponentCss$C;
11881
+ exports.getPinCodeCss = getComponentCss$B;
11882
+ exports.getPopoverCss = getComponentCss$A;
11883
+ exports.getRadioButtonWrapperCss = getComponentCss$z;
11884
+ exports.getRadioGroupCss = getComponentCss$x;
11885
+ exports.getRadioGroupOptionCss = getComponentCss$y;
11886
+ exports.getScalingVar = getScalingVar$1;
11591
11887
  exports.getScrollerCss = getComponentCss$w;
11592
11888
  exports.getSegmentedControlCss = getComponentCss$u;
11593
11889
  exports.getSegmentedControlItemCss = getComponentCss$v;