@porsche-design-system/components-react 3.31.0 → 3.32.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (312) hide show
  1. package/CHANGELOG.md +40 -0
  2. package/cjs/hooks.cjs +5 -1
  3. package/cjs/lib/components/input-month.wrapper.cjs +29 -0
  4. package/cjs/lib/components/input-search.wrapper.cjs +3 -3
  5. package/cjs/lib/components/input-week.wrapper.cjs +29 -0
  6. package/cjs/lib/components/multi-select.wrapper.cjs +2 -1
  7. package/cjs/lib/components/segmented-control.wrapper.cjs +3 -3
  8. package/cjs/lib/components/select.wrapper.cjs +2 -1
  9. package/cjs/lib/components/tag-dismissible.wrapper.cjs +3 -3
  10. package/cjs/lib/components/textarea.wrapper.cjs +3 -3
  11. package/cjs/public-api.cjs +4 -0
  12. package/esm/BaseProps.d.ts +1 -1
  13. package/esm/hooks.d.ts +3 -0
  14. package/esm/hooks.mjs +5 -2
  15. package/esm/lib/components/accordion.wrapper.d.ts +1 -1
  16. package/esm/lib/components/banner.wrapper.d.ts +1 -1
  17. package/esm/lib/components/button-group.wrapper.d.ts +1 -1
  18. package/esm/lib/components/button-pure.wrapper.d.ts +1 -1
  19. package/esm/lib/components/button-tile.wrapper.d.ts +1 -1
  20. package/esm/lib/components/button.wrapper.d.ts +1 -1
  21. package/esm/lib/components/canvas.wrapper.d.ts +1 -1
  22. package/esm/lib/components/carousel.wrapper.d.ts +1 -1
  23. package/esm/lib/components/checkbox-wrapper.wrapper.d.ts +1 -1
  24. package/esm/lib/components/checkbox.wrapper.d.ts +1 -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 +1 -1
  38. package/esm/lib/components/grid-item.wrapper.d.ts +1 -1
  39. package/esm/lib/components/grid.wrapper.d.ts +1 -1
  40. package/esm/lib/components/heading.wrapper.d.ts +1 -1
  41. package/esm/lib/components/headline.wrapper.d.ts +1 -1
  42. package/esm/lib/components/icon.wrapper.d.ts +1 -1
  43. package/esm/lib/components/index.d.ts +2 -0
  44. package/esm/lib/components/inline-notification.wrapper.d.ts +1 -1
  45. package/esm/lib/components/input-date.wrapper.d.ts +1 -1
  46. package/esm/lib/components/input-email.wrapper.d.ts +1 -1
  47. package/esm/lib/components/input-month.wrapper.d.ts +176 -0
  48. package/esm/lib/components/input-month.wrapper.mjs +27 -0
  49. package/esm/lib/components/input-number.wrapper.d.ts +1 -1
  50. package/esm/lib/components/input-password.wrapper.d.ts +1 -1
  51. package/esm/lib/components/input-search.wrapper.d.ts +17 -1
  52. package/esm/lib/components/input-search.wrapper.mjs +3 -3
  53. package/esm/lib/components/input-tel.wrapper.d.ts +1 -1
  54. package/esm/lib/components/input-text.wrapper.d.ts +1 -1
  55. package/esm/lib/components/input-time.wrapper.d.ts +1 -1
  56. package/esm/lib/components/input-url.wrapper.d.ts +1 -1
  57. package/esm/lib/components/input-week.wrapper.d.ts +176 -0
  58. package/esm/lib/components/input-week.wrapper.mjs +27 -0
  59. package/esm/lib/components/link-pure.wrapper.d.ts +1 -1
  60. package/esm/lib/components/link-social.wrapper.d.ts +1 -1
  61. package/esm/lib/components/link-tile-model-signature.wrapper.d.ts +1 -1
  62. package/esm/lib/components/link-tile-product.wrapper.d.ts +1 -1
  63. package/esm/lib/components/link-tile.wrapper.d.ts +1 -1
  64. package/esm/lib/components/link.wrapper.d.ts +1 -1
  65. package/esm/lib/components/marque.wrapper.d.ts +1 -1
  66. package/esm/lib/components/modal.wrapper.d.ts +1 -1
  67. package/esm/lib/components/model-signature.wrapper.d.ts +1 -1
  68. package/esm/lib/components/multi-select-option.wrapper.d.ts +1 -1
  69. package/esm/lib/components/multi-select.wrapper.d.ts +10 -2
  70. package/esm/lib/components/multi-select.wrapper.mjs +2 -1
  71. package/esm/lib/components/optgroup.wrapper.d.ts +1 -1
  72. package/esm/lib/components/pagination.wrapper.d.ts +1 -1
  73. package/esm/lib/components/pin-code.wrapper.d.ts +1 -1
  74. package/esm/lib/components/popover.wrapper.d.ts +1 -1
  75. package/esm/lib/components/radio-button-wrapper.wrapper.d.ts +1 -1
  76. package/esm/lib/components/radio-group-option.wrapper.d.ts +1 -1
  77. package/esm/lib/components/radio-group.wrapper.d.ts +1 -1
  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 +50 -2
  81. package/esm/lib/components/segmented-control.wrapper.mjs +3 -3
  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 +12 -4
  85. package/esm/lib/components/select.wrapper.mjs +2 -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 +9 -1
  102. package/esm/lib/components/tag-dismissible.wrapper.mjs +3 -3
  103. package/esm/lib/components/tag.wrapper.d.ts +1 -1
  104. package/esm/lib/components/text-field-wrapper.wrapper.d.ts +1 -1
  105. package/esm/lib/components/text-list-item.wrapper.d.ts +1 -1
  106. package/esm/lib/components/text-list.wrapper.d.ts +1 -1
  107. package/esm/lib/components/text.wrapper.d.ts +1 -1
  108. package/esm/lib/components/textarea-wrapper.wrapper.d.ts +1 -1
  109. package/esm/lib/components/textarea.wrapper.d.ts +11 -3
  110. package/esm/lib/components/textarea.wrapper.mjs +3 -3
  111. package/esm/lib/components/toast.wrapper.d.ts +1 -1
  112. package/esm/lib/components/wordmark.wrapper.d.ts +1 -1
  113. package/esm/lib/types.d.ts +19 -0
  114. package/esm/public-api.mjs +2 -0
  115. package/package.json +5 -5
  116. package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +229 -132
  117. package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +4 -13
  118. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/hooks.cjs +5 -1
  119. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-month.wrapper.cjs +40 -0
  120. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-search.wrapper.cjs +4 -4
  121. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/input-week.wrapper.cjs +40 -0
  122. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.cjs +2 -1
  123. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control-item.wrapper.cjs +2 -2
  124. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.cjs +4 -5
  125. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/select.wrapper.cjs +2 -1
  126. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/tag-dismissible.wrapper.cjs +4 -4
  127. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/textarea.wrapper.cjs +4 -4
  128. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.cjs +1 -0
  129. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-date.cjs +1 -0
  130. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.cjs +1 -0
  131. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-month.cjs +45 -0
  132. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.cjs +1 -0
  133. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.cjs +1 -0
  134. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.cjs +2 -1
  135. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.cjs +1 -0
  136. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.cjs +1 -0
  137. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.cjs +1 -0
  138. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.cjs +1 -0
  139. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-week.cjs +45 -0
  140. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/label.cjs +1 -1
  141. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.cjs +1 -1
  142. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +10 -6
  143. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +1 -0
  144. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +1 -0
  145. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.cjs +2 -2
  146. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.cjs +9 -3
  147. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +13 -10
  148. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.cjs +1 -1
  149. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.cjs +2 -1
  150. package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/public-api.cjs +4 -0
  151. package/ssr/esm/BaseProps.d.ts +1 -1
  152. package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +189 -94
  153. package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +5 -10
  154. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/hooks.mjs +5 -2
  155. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-month.wrapper.mjs +38 -0
  156. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-search.wrapper.mjs +4 -4
  157. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/input-week.wrapper.mjs +38 -0
  158. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/multi-select.wrapper.mjs +2 -1
  159. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control-item.wrapper.mjs +2 -2
  160. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/segmented-control.wrapper.mjs +4 -5
  161. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/select.wrapper.mjs +2 -1
  162. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/tag-dismissible.wrapper.mjs +4 -4
  163. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/textarea.wrapper.mjs +4 -4
  164. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/accordion.mjs +2 -2
  165. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/banner.mjs +2 -2
  166. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-group.mjs +2 -2
  167. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-pure.mjs +2 -2
  168. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button-tile.mjs +2 -2
  169. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/button.mjs +2 -2
  170. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/canvas.mjs +2 -2
  171. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +2 -2
  172. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox-wrapper.mjs +2 -2
  173. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/checkbox.mjs +3 -2
  174. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/content-wrapper.mjs +2 -2
  175. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/crest.mjs +2 -2
  176. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/display.mjs +2 -2
  177. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/divider.mjs +2 -2
  178. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-item.mjs +2 -2
  179. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown-link.mjs +2 -2
  180. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.mjs +2 -2
  181. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset-wrapper.mjs +2 -2
  182. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/fieldset.mjs +2 -2
  183. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flag.mjs +2 -2
  184. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex-item.mjs +2 -2
  185. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flex.mjs +2 -2
  186. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +2 -2
  187. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid-item.mjs +2 -2
  188. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/grid.mjs +2 -2
  189. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/heading.mjs +2 -2
  190. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/headline.mjs +2 -2
  191. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/icon.mjs +2 -2
  192. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/inline-notification.mjs +2 -2
  193. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-date.mjs +3 -2
  194. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-email.mjs +3 -2
  195. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-month.mjs +43 -0
  196. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-number.mjs +3 -2
  197. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-password.mjs +3 -2
  198. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-search.mjs +4 -3
  199. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-tel.mjs +3 -2
  200. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-text.mjs +3 -2
  201. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-time.mjs +3 -2
  202. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-url.mjs +3 -2
  203. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/input-week.mjs +43 -0
  204. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/label.mjs +1 -1
  205. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select-option.mjs +1 -1
  206. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +11 -7
  207. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +1 -0
  208. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +1 -0
  209. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control-item.mjs +2 -2
  210. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +9 -3
  211. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +14 -11
  212. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/tag-dismissible.mjs +1 -1
  213. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/textarea.mjs +2 -1
  214. package/ssr/esm/components-react/projects/react-ssr-wrapper/src/public-api.mjs +2 -0
  215. package/ssr/esm/hooks.d.ts +3 -0
  216. package/ssr/esm/lib/components/accordion.wrapper.d.ts +1 -1
  217. package/ssr/esm/lib/components/banner.wrapper.d.ts +1 -1
  218. package/ssr/esm/lib/components/button-group.wrapper.d.ts +1 -1
  219. package/ssr/esm/lib/components/button-pure.wrapper.d.ts +1 -1
  220. package/ssr/esm/lib/components/button-tile.wrapper.d.ts +1 -1
  221. package/ssr/esm/lib/components/button.wrapper.d.ts +1 -1
  222. package/ssr/esm/lib/components/canvas.wrapper.d.ts +1 -1
  223. package/ssr/esm/lib/components/carousel.wrapper.d.ts +1 -1
  224. package/ssr/esm/lib/components/checkbox-wrapper.wrapper.d.ts +1 -1
  225. package/ssr/esm/lib/components/checkbox.wrapper.d.ts +1 -1
  226. package/ssr/esm/lib/components/content-wrapper.wrapper.d.ts +1 -1
  227. package/ssr/esm/lib/components/crest.wrapper.d.ts +1 -1
  228. package/ssr/esm/lib/components/display.wrapper.d.ts +1 -1
  229. package/ssr/esm/lib/components/divider.wrapper.d.ts +1 -1
  230. package/ssr/esm/lib/components/drilldown-item.wrapper.d.ts +1 -1
  231. package/ssr/esm/lib/components/drilldown-link.wrapper.d.ts +1 -1
  232. package/ssr/esm/lib/components/drilldown.wrapper.d.ts +1 -1
  233. package/ssr/esm/lib/components/fieldset-wrapper.wrapper.d.ts +1 -1
  234. package/ssr/esm/lib/components/fieldset.wrapper.d.ts +1 -1
  235. package/ssr/esm/lib/components/flag.wrapper.d.ts +1 -1
  236. package/ssr/esm/lib/components/flex-item.wrapper.d.ts +1 -1
  237. package/ssr/esm/lib/components/flex.wrapper.d.ts +1 -1
  238. package/ssr/esm/lib/components/flyout.wrapper.d.ts +1 -1
  239. package/ssr/esm/lib/components/grid-item.wrapper.d.ts +1 -1
  240. package/ssr/esm/lib/components/grid.wrapper.d.ts +1 -1
  241. package/ssr/esm/lib/components/heading.wrapper.d.ts +1 -1
  242. package/ssr/esm/lib/components/headline.wrapper.d.ts +1 -1
  243. package/ssr/esm/lib/components/icon.wrapper.d.ts +1 -1
  244. package/ssr/esm/lib/components/index.d.ts +2 -0
  245. package/ssr/esm/lib/components/inline-notification.wrapper.d.ts +1 -1
  246. package/ssr/esm/lib/components/input-date.wrapper.d.ts +1 -1
  247. package/ssr/esm/lib/components/input-email.wrapper.d.ts +1 -1
  248. package/ssr/esm/lib/components/input-month.wrapper.d.ts +176 -0
  249. package/ssr/esm/lib/components/input-number.wrapper.d.ts +1 -1
  250. package/ssr/esm/lib/components/input-password.wrapper.d.ts +1 -1
  251. package/ssr/esm/lib/components/input-search.wrapper.d.ts +17 -1
  252. package/ssr/esm/lib/components/input-tel.wrapper.d.ts +1 -1
  253. package/ssr/esm/lib/components/input-text.wrapper.d.ts +1 -1
  254. package/ssr/esm/lib/components/input-time.wrapper.d.ts +1 -1
  255. package/ssr/esm/lib/components/input-url.wrapper.d.ts +1 -1
  256. package/ssr/esm/lib/components/input-week.wrapper.d.ts +176 -0
  257. package/ssr/esm/lib/components/link-pure.wrapper.d.ts +1 -1
  258. package/ssr/esm/lib/components/link-social.wrapper.d.ts +1 -1
  259. package/ssr/esm/lib/components/link-tile-model-signature.wrapper.d.ts +1 -1
  260. package/ssr/esm/lib/components/link-tile-product.wrapper.d.ts +1 -1
  261. package/ssr/esm/lib/components/link-tile.wrapper.d.ts +1 -1
  262. package/ssr/esm/lib/components/link.wrapper.d.ts +1 -1
  263. package/ssr/esm/lib/components/marque.wrapper.d.ts +1 -1
  264. package/ssr/esm/lib/components/modal.wrapper.d.ts +1 -1
  265. package/ssr/esm/lib/components/model-signature.wrapper.d.ts +1 -1
  266. package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +1 -1
  267. package/ssr/esm/lib/components/multi-select.wrapper.d.ts +10 -2
  268. package/ssr/esm/lib/components/optgroup.wrapper.d.ts +1 -1
  269. package/ssr/esm/lib/components/pagination.wrapper.d.ts +1 -1
  270. package/ssr/esm/lib/components/pin-code.wrapper.d.ts +1 -1
  271. package/ssr/esm/lib/components/popover.wrapper.d.ts +1 -1
  272. package/ssr/esm/lib/components/radio-button-wrapper.wrapper.d.ts +1 -1
  273. package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +1 -1
  274. package/ssr/esm/lib/components/radio-group.wrapper.d.ts +1 -1
  275. package/ssr/esm/lib/components/scroller.wrapper.d.ts +1 -1
  276. package/ssr/esm/lib/components/segmented-control-item.wrapper.d.ts +1 -1
  277. package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +50 -2
  278. package/ssr/esm/lib/components/select-option.wrapper.d.ts +1 -1
  279. package/ssr/esm/lib/components/select-wrapper-dropdown.wrapper.d.ts +1 -1
  280. package/ssr/esm/lib/components/select-wrapper.wrapper.d.ts +1 -1
  281. package/ssr/esm/lib/components/select.wrapper.d.ts +12 -4
  282. package/ssr/esm/lib/components/sheet.wrapper.d.ts +1 -1
  283. package/ssr/esm/lib/components/spinner.wrapper.d.ts +1 -1
  284. package/ssr/esm/lib/components/stepper-horizontal-item.wrapper.d.ts +1 -1
  285. package/ssr/esm/lib/components/stepper-horizontal.wrapper.d.ts +1 -1
  286. package/ssr/esm/lib/components/switch.wrapper.d.ts +1 -1
  287. package/ssr/esm/lib/components/table-body.wrapper.d.ts +1 -1
  288. package/ssr/esm/lib/components/table-cell.wrapper.d.ts +1 -1
  289. package/ssr/esm/lib/components/table-head-cell.wrapper.d.ts +1 -1
  290. package/ssr/esm/lib/components/table-head-row.wrapper.d.ts +1 -1
  291. package/ssr/esm/lib/components/table-head.wrapper.d.ts +1 -1
  292. package/ssr/esm/lib/components/table-row.wrapper.d.ts +1 -1
  293. package/ssr/esm/lib/components/table.wrapper.d.ts +1 -1
  294. package/ssr/esm/lib/components/tabs-bar.wrapper.d.ts +1 -1
  295. package/ssr/esm/lib/components/tabs-item.wrapper.d.ts +1 -1
  296. package/ssr/esm/lib/components/tabs.wrapper.d.ts +1 -1
  297. package/ssr/esm/lib/components/tag-dismissible.wrapper.d.ts +9 -1
  298. package/ssr/esm/lib/components/tag.wrapper.d.ts +1 -1
  299. package/ssr/esm/lib/components/text-field-wrapper.wrapper.d.ts +1 -1
  300. package/ssr/esm/lib/components/text-list-item.wrapper.d.ts +1 -1
  301. package/ssr/esm/lib/components/text-list.wrapper.d.ts +1 -1
  302. package/ssr/esm/lib/components/text.wrapper.d.ts +1 -1
  303. package/ssr/esm/lib/components/textarea-wrapper.wrapper.d.ts +1 -1
  304. package/ssr/esm/lib/components/textarea.wrapper.d.ts +11 -3
  305. package/ssr/esm/lib/components/toast.wrapper.d.ts +1 -1
  306. package/ssr/esm/lib/components/wordmark.wrapper.d.ts +1 -1
  307. package/ssr/esm/lib/dsr-components/input-month.d.ts +19 -0
  308. package/ssr/esm/lib/dsr-components/input-week.d.ts +19 -0
  309. package/ssr/esm/lib/dsr-components/multi-select.d.ts +5 -2
  310. package/ssr/esm/lib/dsr-components/segmented-control.d.ts +3 -0
  311. package/ssr/esm/lib/dsr-components/select.d.ts +6 -3
  312. package/ssr/esm/lib/types.d.ts +19 -0
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getCheckboxCss as getComponentCss$1e } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getCheckboxCss as getComponentCss$1g } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { descriptionId } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
  import { LoadingMessage } from './loading-message.mjs';
9
9
  import { Label } from './label.mjs';
@@ -30,13 +30,14 @@ class DSRCheckbox extends Component {
30
30
  this.props.internals?.setFormValue(this.props.defaultChecked ? this.props.value : undefined);
31
31
  }
32
32
  formDisabledCallback() {
33
+ // Called when a parent fieldset is disabled or enabled
33
34
  }
34
35
  formStateRestoreCallback() {
35
36
  }
36
37
  render() {
37
38
  const { namedSlotChildren} = splitChildren(this.props.children);
38
39
  const id = 'checkbox';
39
- const style = minifyCss(getComponentCss$1e(this.props.hideLabel, this.props.state, this.props.disabled, this.props.loading, this.props.compact, this.props.theme));
40
+ const style = minifyCss(getComponentCss$1g(this.props.hideLabel, this.props.state, this.props.disabled, this.props.loading, this.props.compact, this.props.theme));
40
41
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("div", { className: "root", children: [jsx(Label, { hasLabel: this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0, hasDescription: this.props.description || namedSlotChildren.filter(({ props: { slot } }) => slot === 'description').length > 0, host: null, htmlFor: id, label: this.props.label, isLoading: this.props.loading, isDisabled: this.props.disabled, isRequired: this.props.required }), jsxs("div", { className: "wrapper", children: [jsx("input", { type: "checkbox", id: id, "aria-describedby": `${descriptionId} ${messageId}`, "aria-invalid": this.props.state === 'error' ? 'true' : null, "aria-disabled": this.props.loading || this.props.disabled ? 'true' : null, checked: this.props.checked, form: this.props.form, value: this.props.value, name: this.props.name, onBlur: this.props.onBlur, required: this.props.required, disabled: this.props.disabled }), this.props.loading && (jsx(PSpinner, { className: "spinner", size: "inherit", theme: this.props.theme, "aria-hidden": "true" }))] }), jsx(StateMessage, { hasMessage: (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state), state: this.props.state, message: this.props.message, theme: this.props.theme, host: null }), jsx(LoadingMessage, { loading: this.props.loading, initialLoading: this.props.initialLoading })] })] }), this.props.children] }));
41
42
  }
42
43
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getContentWrapperCss as getComponentCss$1d } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getContentWrapperCss as getComponentCss$1f } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
 
7
7
  /**
8
8
  * @slot {"name": "", "description": "Default slot for main content." }
@@ -12,7 +12,7 @@ class DSRContentWrapper extends Component {
12
12
  host;
13
13
  render() {
14
14
  splitChildren(this.props.children);
15
- const style = minifyCss(getComponentCss$1d(this.props.width));
15
+ const style = minifyCss(getComponentCss$1f(this.props.width));
16
16
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("div", { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
17
17
  }
18
18
  }
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.mjs';
4
- import { getCrestCss as getComponentCss$1c } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
4
+ import { getCrestCss as getComponentCss$1e } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
5
  import { buildCrestSrcSet, crestSize, buildCrestImgSrc, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
6
6
 
7
7
  const { width, height } = crestSize;
@@ -9,7 +9,7 @@ class DSRCrest extends Component {
9
9
  host;
10
10
  render() {
11
11
  const picture = (jsxs("picture", { children: [jsx("source", { srcSet: buildCrestSrcSet('webp'), type: "image/webp" }, "webp"), jsx("source", { srcSet: buildCrestSrcSet('png'), type: "image/png" }, "png"), jsx("img", { src: buildCrestImgSrc(), width: width, height: height, alt: "Porsche" })] }));
12
- const style = minifyCss(getComponentCss$1c());
12
+ const style = minifyCss(getComponentCss$1e());
13
13
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: this.props.href === undefined ? (picture) : (jsx("a", { href: this.props.href, target: this.props.target, ...parseAndGetAriaAttributes(this.props.aria), children: picture })) })] }) }));
14
14
  }
15
15
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getDisplayCss as getComponentCss$1b } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getDisplayCss as getComponentCss$1d } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
  import { getDisplayTagType } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
7
7
 
8
8
  /**
@@ -17,7 +17,7 @@ class DSRDisplay extends Component {
17
17
  right: 'end',
18
18
  };
19
19
  const TagType = getDisplayTagType(null, this.props.size, this.props.tag);
20
- const style = minifyCss(getComponentCss$1b(this.props.size, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme));
20
+ const style = minifyCss(getComponentCss$1d(this.props.size, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme));
21
21
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(TagType, { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
22
22
  }
23
23
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.mjs';
4
- import { getDividerCss as getComponentCss$1a } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
4
+ import { getDividerCss as getComponentCss$1c } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
5
 
6
6
  class DSRDivider extends Component {
7
7
  host;
@@ -11,7 +11,7 @@ class DSRDivider extends Component {
11
11
  'neutral-contrast-medium': 'contrast-medium',
12
12
  'neutral-contrast-high': 'contrast-high',
13
13
  };
14
- const style = minifyCss(getComponentCss$1a((deprecationMap[this.props.color] || this.props.color), this.props.orientation || this.props.direction, this.props.theme));
14
+ const style = minifyCss(getComponentCss$1c((deprecationMap[this.props.color] || this.props.color), this.props.orientation || this.props.direction, this.props.theme));
15
15
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("hr", {})] }) }));
16
16
  }
17
17
  }
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getDrilldownItemCss as getComponentCss$18 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getDrilldownItemCss as getComponentCss$1a } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { PButtonPure } from '../components/button-pure.wrapper.mjs';
8
8
 
9
9
  /**
@@ -24,7 +24,7 @@ class DSRDrilldownItem extends Component {
24
24
  const { namedSlotChildren} = splitChildren(this.props.children);
25
25
  const hasSlottedHeader = namedSlotChildren.filter(({ props: { slot } }) => slot === 'header').length > 0;
26
26
  const hasSlottedButton = namedSlotChildren.filter(({ props: { slot } }) => slot === 'button').length > 0;
27
- const style = minifyCss(getComponentCss$18(this.props.primary, this.props.secondary, this.props.cascade));
27
+ const style = minifyCss(getComponentCss$1a(this.props.primary, this.props.secondary, this.props.cascade));
28
28
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [hasSlottedButton ? (jsx("slot", { name: "button" })) : (jsx(PButtonPure, { inert: this.props.primary || this.props.cascade, className: "button", type: "button", size: "medium", alignLabel: "start", stretch: true, icon: "arrow-head-right", active: this.props.secondary, aria: { 'aria-expanded': this.props.secondary }, theme: this.theme, children: this.props.label })), jsx(PButtonPure, { className: "back", type: "button", size: "small", alignLabel: "end", stretch: true, icon: "arrow-left", theme: this.theme, hideLabel: { base: true, s: false }, children: this.props.label }), hasSlottedHeader ? jsx("slot", { name: "header" }) : jsx("h2", { children: this.props.label }), jsx("div", { className: "drawer", children: jsx("div", { className: "scroller", children: jsx("slot", {}) }) })] })] }), this.props.children] }));
29
29
  }
30
30
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getDrilldownLinkCss as getComponentCss$17 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getDrilldownLinkCss as getComponentCss$19 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
7
7
 
8
8
  /**
@@ -15,7 +15,7 @@ class DSRDrilldownLink extends Component {
15
15
  render() {
16
16
  splitChildren(this.props.children);
17
17
  const hasSlottedAnchor = this.props.href === undefined;
18
- const style = minifyCss(getComponentCss$17(hasSlottedAnchor, this.props.active));
18
+ const style = minifyCss(getComponentCss$19(hasSlottedAnchor, this.props.active));
19
19
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(Fragment, { children: hasSlottedAnchor ? (jsx("slot", {})) : (jsx("a", { href: this.props.href, target: this.props.target, download: this.props.download, rel: this.props.rel, "aria-current": this.props.active ? 'true' : 'false', ...parseAndGetAriaAttributes(this.props.aria), children: jsx("slot", {}) })) })] }), this.props.children] }));
20
20
  }
21
21
  }
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getDrilldownCss as getComponentCss$19 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getDrilldownCss as getComponentCss$1b } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { updateDrilldownItemState, parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
  import { PButton } from '../components/button.wrapper.mjs';
9
9
  import { PButtonPure } from '../components/button-pure.wrapper.mjs';
@@ -31,7 +31,7 @@ class DSRDrilldown extends Component {
31
31
  }
32
32
  render() {
33
33
  splitChildren(this.props.children);
34
- const style = minifyCss(getComponentCss$19(this.props.open, this.primary, this.isSecondaryDrawerVisible, this.props.theme));
34
+ const style = minifyCss(getComponentCss$1b(this.props.open, this.primary, this.isSecondaryDrawerVisible, this.props.theme));
35
35
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("dialog", { inert: !this.props.open, ...parseAndGetAriaAttributes(this.props.aria), children: jsxs("div", { className: "drawer", children: [jsx(PButtonPure, { className: "back", type: "button", size: "small", alignLabel: "end", stretch: true, icon: "arrow-left", theme: this.props.theme, hideLabel: true, children: "Back" }), jsx(PButton, { className: "dismiss-mobile", type: "button", variant: "ghost", hideLabel: true, icon: "close", theme: this.props.theme, children: "Dismiss drilldown" }), jsx(PButtonPure, { className: "dismiss-desktop", type: "button", size: "medium", icon: "close", hideLabel: true, theme: this.props.theme, children: "Dismiss drilldown" }), jsx("div", { className: "scroller", children: jsx("slot", {}) })] }) })] }), this.props.children] }));
36
36
  }
37
37
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getFieldsetWrapperCss as getComponentCss$16 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getFieldsetWrapperCss as getComponentCss$18 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
  import { messageId, StateMessage } from './state-message.mjs';
7
7
  import { Required } from './required.mjs';
8
8
 
@@ -18,7 +18,7 @@ class DSRFieldsetWrapper extends Component {
18
18
  render() {
19
19
  const { namedSlotChildren} = splitChildren(this.props.children);
20
20
  const hasMessageValue = (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state);
21
- const style = minifyCss(getComponentCss$16(this.props.state, this.props.labelSize, (this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0), this.props.theme));
21
+ const style = minifyCss(getComponentCss$18(this.props.state, this.props.labelSize, (this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0), this.props.theme));
22
22
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("fieldset", { "aria-describedby": hasMessageValue ? messageId : null, children: [(this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0) && (jsxs("legend", { children: [this.props.label || jsx("slot", { name: "label" }), this.props.required && jsx(Required, {})] })), jsx("slot", {}), jsx(StateMessage, { hasMessage: (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state), state: this.props.state, message: this.props.message, theme: this.props.theme, host: null })] })] }), this.props.children] }));
23
23
  }
24
24
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getFieldsetCss as getComponentCss$15 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getFieldsetCss as getComponentCss$17 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
  import { getFieldsetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
7
7
  import { Required } from './required.mjs';
8
8
  import { messageId, StateMessage } from './state-message.mjs';
@@ -17,7 +17,7 @@ class DSRFieldset extends Component {
17
17
  render() {
18
18
  const { namedSlotChildren} = splitChildren(this.props.children);
19
19
  const hasMessageValue = (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state);
20
- const style = minifyCss(getComponentCss$15(this.props.state, this.props.labelSize, (this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0), this.props.theme));
20
+ const style = minifyCss(getComponentCss$17(this.props.state, this.props.labelSize, (this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0), this.props.theme));
21
21
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs("fieldset", { "aria-describedby": hasMessageValue ? messageId : null, ...getFieldsetAriaAttributes(this.props.required, this.props.state === 'error', this.props.aria), children: [(this.props.label || namedSlotChildren.filter(({ props: { slot } }) => slot === 'label').length > 0) && (jsxs("legend", { children: [this.props.label || jsx("slot", { name: "label" }), this.props.required && jsx(Required, {})] })), jsx("slot", {}), jsx(StateMessage, { hasMessage: (this.props.message || namedSlotChildren.filter(({ props: { slot } }) => slot === 'message').length > 0) && ['success', 'error'].includes(this.props.state), state: this.props.state, message: this.props.message, theme: this.props.theme, host: null })] })] }), this.props.children] }));
22
22
  }
23
23
  }
@@ -1,13 +1,13 @@
1
1
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.mjs';
4
- import { getFlagCss as getComponentCss$14 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
4
+ import { getFlagCss as getComponentCss$16 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
5
  import { parseAndGetAriaAttributes, buildFlagUrl } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
6
6
 
7
7
  class DSRFlag extends Component {
8
8
  host;
9
9
  render() {
10
- const style = minifyCss(getComponentCss$14(this.props.size));
10
+ const style = minifyCss(getComponentCss$16(this.props.size));
11
11
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("img", { src: buildFlagUrl(this.props.name), width: 24, height: 24, loading: "lazy", alt: parseAndGetAriaAttributes(this.props.aria)?.['aria-label'] ?? '' })] }) }));
12
12
  }
13
13
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getFlexItemCss as getComponentCss$13 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getFlexItemCss as getComponentCss$15 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
 
7
7
  /**
8
8
  * @slot {"name": "", "description": "Default slot for the main content." }
@@ -12,7 +12,7 @@ class DSRFlexItem extends Component {
12
12
  host;
13
13
  render() {
14
14
  splitChildren(this.props.children);
15
- const style = minifyCss(getComponentCss$13(this.props.width, this.props.offset, this.props.alignSelf, this.props.grow, this.props.shrink, this.props.flex));
15
+ const style = minifyCss(getComponentCss$15(this.props.width, this.props.offset, this.props.alignSelf, this.props.grow, this.props.shrink, this.props.flex));
16
16
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), this.props.children] }));
17
17
  }
18
18
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getFlexCss as getComponentCss$12 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getFlexCss as getComponentCss$14 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
 
7
7
  /**
8
8
  * @slot {"name": "", "description": "Default slot for the flex items." }
@@ -12,7 +12,7 @@ class DSRFlex extends Component {
12
12
  host;
13
13
  render() {
14
14
  splitChildren(this.props.children);
15
- const style = minifyCss(getComponentCss$12(this.props.inline, this.props.wrap, this.props.direction, this.props.justifyContent, this.props.alignItems, this.props.alignContent));
15
+ const style = minifyCss(getComponentCss$14(this.props.inline, this.props.wrap, this.props.direction, this.props.justifyContent, this.props.alignItems, this.props.alignContent));
16
16
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), this.props.children] }));
17
17
  }
18
18
  }
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getFlyoutCss as getComponentCss$11 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getFlyoutCss as getComponentCss$13 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { parseAndGetAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
  import { PButton } from '../components/button.wrapper.mjs';
9
9
 
@@ -33,7 +33,7 @@ class DSRFlyout extends Component {
33
33
  const hasHeader = namedSlotChildren.filter(({ props: { slot } }) => slot === 'header').length > 0;
34
34
  const hasFooter = namedSlotChildren.filter(({ props: { slot } }) => slot === 'footer').length > 0;
35
35
  const hasSubFooter = namedSlotChildren.filter(({ props: { slot } }) => slot === 'sub-footer').length > 0;
36
- const style = minifyCss(getComponentCss$11(this.props.open, this.props.backdrop, (positionDeprecationMap[this.props.position] || this.props.position), hasHeader, hasFooter, hasSubFooter, this.props.footerBehavior, this.props.theme));
36
+ const style = minifyCss(getComponentCss$13(this.props.open, this.props.backdrop, (positionDeprecationMap[this.props.position] || this.props.position), hasHeader, hasFooter, hasSubFooter, this.props.footerBehavior, this.props.theme));
37
37
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("dialog", { tabIndex: -1, ...parseAndGetAriaAttributes({
38
38
  'aria-modal': true,
39
39
  ...{ 'aria-label': hasHeader ? namedSlotChildren.find(({ props: { slot } }) => slot === 'header')?.props.children : 'Flyout' },
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getGridItemCss as getComponentCss$10 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getGridItemCss as getComponentCss$12 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
 
7
7
  /**
8
8
  * @slot {"name": "", "description": "Default slot to render the content." }
@@ -13,7 +13,7 @@ class DSRGridItem extends Component {
13
13
  host;
14
14
  render() {
15
15
  splitChildren(this.props.children);
16
- const style = minifyCss(getComponentCss$10(this.props.size, this.props.offset));
16
+ const style = minifyCss(getComponentCss$12(this.props.size, this.props.offset));
17
17
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), this.props.children] }));
18
18
  }
19
19
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getGridCss as getComponentCss$$ } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getGridCss as getComponentCss$11 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
 
7
7
  /**
8
8
  * @slot {"name": "", "description": "Default slot to render p-grid-item tags." }
@@ -16,7 +16,7 @@ class DSRGrid extends Component {
16
16
  const manipulatedChildren = children.map((child) => typeof child === 'object' && 'props' in child && otherChildren.includes(child)
17
17
  ? { ...child, props: { ...child.props, gutter: this.props.gutter } }
18
18
  : child);
19
- const style = minifyCss(getComponentCss$$(this.props.direction, this.props.wrap));
19
+ const style = minifyCss(getComponentCss$11(this.props.direction, this.props.wrap));
20
20
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("slot", {})] }), manipulatedChildren] }));
21
21
  }
22
22
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getHeadingCss as getComponentCss$_ } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getHeadingCss as getComponentCss$10 } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
  import { getHeadingTagType } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
7
7
 
8
8
  /**
@@ -17,7 +17,7 @@ class DSRHeading extends Component {
17
17
  right: 'end',
18
18
  };
19
19
  const TagType = getHeadingTagType(null, this.props.size, this.props.tag);
20
- const style = minifyCss(getComponentCss$_(this.props.size, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme));
20
+ const style = minifyCss(getComponentCss$10(this.props.size, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme));
21
21
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(TagType, { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
22
22
  }
23
23
  }
@@ -2,7 +2,7 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { splitChildren } from '../../splitChildren.mjs';
3
3
  import { Component } from 'react';
4
4
  import { minifyCss } from '../../minifyCss.mjs';
5
- import { getHeadlineCss as getComponentCss$Z } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
+ import { getHeadlineCss as getComponentCss$$ } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
6
  import { getHeadlineTagType } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
7
7
 
8
8
  /**
@@ -19,7 +19,7 @@ class DSRHeadline extends Component {
19
19
  right: 'end',
20
20
  };
21
21
  const TagType = getHeadlineTagType(null, this.props.variant, this.props.tag);
22
- const style = minifyCss(getComponentCss$Z(this.props.variant, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme));
22
+ const style = minifyCss(getComponentCss$$(this.props.variant, (alignDeprecationMap[this.props.align] || this.props.align), this.props.color, this.props.ellipsis, this.props.theme));
23
23
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(TagType, { className: "root", children: jsx("slot", {}) })] }), this.props.children] }));
24
24
  }
25
25
  }
@@ -1,7 +1,7 @@
1
1
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
2
2
  import { Component } from 'react';
3
3
  import { minifyCss } from '../../minifyCss.mjs';
4
- import { getIconCss as getComponentCss$Y } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
4
+ import { getIconCss as getComponentCss$_ } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
5
5
  import { parseAndGetAriaAttributes, buildIconUrl } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
6
6
 
7
7
  class DSRIcon extends Component {
@@ -15,7 +15,7 @@ class DSRIcon extends Component {
15
15
  'neutral-contrast-high': 'contrast-high',
16
16
  'notification-neutral': 'notification-info',
17
17
  };
18
- const style = minifyCss(getComponentCss$Y(this.props.name, this.props.source, (deprecationMap[this.props.color] || this.props.color), this.props.size, this.props.theme));
18
+ const style = minifyCss(getComponentCss$_(this.props.name, this.props.source, (deprecationMap[this.props.color] || this.props.color), this.props.size, this.props.theme));
19
19
  return (jsx(Fragment, { children: jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx("img", { src: buildIconUrl(this.props.source || this.props.name), width: 24, height: 24, loading: "lazy", alt: parseAndGetAriaAttributes(this.props.aria)?.['aria-label'] ?? '' })] }) }));
20
20
  }
21
21
  }
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getInlineNotificationCss as getComponentCss$X } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getInlineNotificationCss as getComponentCss$Z } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { getInlineNotificationIconName, getContentAriaAttributes } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
  import { PButton } from '../components/button.wrapper.mjs';
9
9
  import { PButtonPure } from '../components/button-pure.wrapper.mjs';
@@ -24,7 +24,7 @@ class DSRInlineNotification extends Component {
24
24
  const labelId = 'label';
25
25
  const descriptionId = 'description';
26
26
  const Heading = this.props.headingTag;
27
- const style = minifyCss(getComponentCss$X(this.props.state, !!this.props.actionLabel, this.hasDismissButton, this.props.theme));
27
+ const style = minifyCss(getComponentCss$Z(this.props.state, !!this.props.actionLabel, this.hasDismissButton, this.props.theme));
28
28
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsxs(Fragment, { children: [jsx(PIcon, { className: "icon", name: getInlineNotificationIconName(this.props.state), color: `notification-${this.props.state}`, theme: this.props.theme, "aria-hidden": "true" }), jsxs("div", { id: bannerId, className: "content", ...getContentAriaAttributes(this.props.state, labelId, descriptionId), children: [(this.props.heading || namedSlotChildren.filter(({ props: { slot } }) => slot === 'heading').length > 0) &&
29
29
  (this.props.heading ? (jsx(Heading, { id: labelId, className: "heading", children: this.props.heading })) : (jsx("slot", { name: "heading" }))), jsx("p", { id: descriptionId, className: "description", children: this.props.description || jsx("slot", {}) })] }), this.props.actionLabel && (jsx(PButtonPure, { className: "action", theme: this.props.theme, icon: this.props.actionIcon, loading: this.props.actionLoading, children: this.props.actionLabel })), this.hasDismissButton && (jsx(PButton, { className: "close", type: "button", variant: "ghost", icon: "close", theme: this.props.theme, hideLabel: true, "aria-controls": bannerId, children: "Close notification" }))] })] }), this.props.children] }));
30
30
  }
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getInputDateCss as getComponentCss$W } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getInputDateCss as getComponentCss$Y } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { hasShowPickerSupport } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
8
  import { PButtonPure } from '../components/button-pure.wrapper.mjs';
9
9
  import { InputBase } from './input-base.mjs';
@@ -27,12 +27,13 @@ class DSRInputDate extends Component {
27
27
  // triggers value watcher
28
28
  }
29
29
  formDisabledCallback() {
30
+ // Called when a parent fieldset is disabled or enabled
30
31
  }
31
32
  formStateRestoreCallback() {
32
33
  }
33
34
  render() {
34
35
  splitChildren(this.props.children);
35
- const style = minifyCss(getComponentCss$W(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme));
36
+ const style = minifyCss(getComponentCss$Y(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme));
36
37
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(InputBase, { children: this.props.children, host: null, label: this.props.label, description: this.props.description, id: "input-date", name: this.props.name, form: this.props.form, type: "date", required: this.props.required, max: this.props.max, min: this.props.min, value: this.props.value, readOnly: this.props.readOnly, autoComplete: this.props.autoComplete, disabled: this.props.disabled, state: this.props.state, message: this.props.message, theme: this.props.theme, step: this.props.step, loading: this.props.loading, initialLoading: this.props.initialLoading, ...(hasShowPickerSupport() && {
37
38
  end: (jsx(PButtonPure, { hideLabel: true, theme: this.props.theme, className: "button", type: "button", icon: "calendar", disabled: this.props.disabled || this.props.readOnly, children: "Open date picker" })),
38
39
  }) })] }), this.props.children] }));
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getInputEmailCss as getComponentCss$V } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getInputEmailCss as getComponentCss$X } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { PIcon } from '../components/icon.wrapper.mjs';
8
8
  import { InputBase } from './input-base.mjs';
9
9
 
@@ -26,12 +26,13 @@ class DSRInputEmail extends Component {
26
26
  // triggers value watcher
27
27
  }
28
28
  formDisabledCallback() {
29
+ // Called when a parent fieldset is disabled or enabled
29
30
  }
30
31
  formStateRestoreCallback() {
31
32
  }
32
33
  render() {
33
34
  splitChildren(this.props.children);
34
- const style = minifyCss(getComponentCss$V(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme));
35
+ const style = minifyCss(getComponentCss$X(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme));
35
36
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(InputBase, { children: this.props.children, host: null, label: this.props.label, description: this.props.description, id: "input-email", name: this.props.name, form: this.props.form, type: "email", required: this.props.required, placeholder: this.props.placeholder, maxLength: this.props.maxLength, minLength: this.props.minLength, value: this.props.value, readOnly: this.props.readOnly, autoComplete: this.props.autoComplete, disabled: this.props.disabled, state: this.props.state, message: this.props.message, theme: this.props.theme, loading: this.props.loading, pattern: this.props.pattern, multiple: this.props.multiple, initialLoading: this.props.initialLoading, ...(this.props.indicator && {
36
37
  start: jsx(PIcon, { "aria-hidden": "true", name: "email", color: "state-disabled", theme: this.props.theme }),
37
38
  }) })] }), this.props.children] }));
@@ -0,0 +1,43 @@
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
+ import { Component } from 'react';
3
+ import '../../provider.mjs';
4
+ import { splitChildren } from '../../splitChildren.mjs';
5
+ import { minifyCss } from '../../minifyCss.mjs';
6
+ import { getInputMonthCss as getComponentCss$W } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
+ import { hasShowPickerSupport } from '../../../../../../components/dist/utils/esm/utils-entry.mjs';
8
+ import { PButtonPure } from '../components/button-pure.wrapper.mjs';
9
+ import { InputBase } from './input-base.mjs';
10
+
11
+ /**
12
+ * @slot {"name": "label", "description": "Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
13
+ * @slot {"name": "description", "description": "Shows a description. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
14
+ * @slot {"name": "message", "description": "Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed."}
15
+ * @slot {"name": "start", "description": "Shows content at the start of the input (e.g. unit prefix)."}
16
+ * @slot {"name": "end", "description": "Shows content at the end of the input (e.g. toggle button, unit suffix)."}
17
+ */
18
+ class DSRInputMonth extends Component {
19
+ host;
20
+ // The "name" property is reflected as an attribute to ensure compatibility with native form submission.
21
+ // In the React wrapper, all props are synced as properties on the element ref, so reflecting "name" as an attribute ensures it is properly handled in the form submission process.
22
+ internals;
23
+ initialLoading = false;
24
+ inputElement;
25
+ defaultValue;
26
+ formResetCallback() {
27
+ // triggers value watcher
28
+ }
29
+ formDisabledCallback() {
30
+ // Called when a parent fieldset is disabled or enabled
31
+ }
32
+ formStateRestoreCallback() {
33
+ }
34
+ render() {
35
+ splitChildren(this.props.children);
36
+ const style = minifyCss(getComponentCss$W(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme));
37
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(InputBase, { children: this.props.children, host: null, label: this.props.label, description: this.props.description, id: "input-month", name: this.props.name, form: this.props.form, type: "month", required: this.props.required, max: this.props.max, min: this.props.min, value: this.props.value, readOnly: this.props.readOnly, autoComplete: this.props.autoComplete, disabled: this.props.disabled, state: this.props.state, message: this.props.message, theme: this.props.theme, step: this.props.step, loading: this.props.loading, initialLoading: this.props.initialLoading, ...(hasShowPickerSupport() && {
38
+ end: (jsx(PButtonPure, { hideLabel: true, theme: this.props.theme, className: "button", type: "button", icon: "calendar", disabled: this.props.disabled || this.props.readOnly, children: "Open date picker" })),
39
+ }) })] }), this.props.children] }));
40
+ }
41
+ }
42
+
43
+ export { DSRInputMonth };
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getInputNumberCss as getComponentCss$U } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getInputNumberCss as getComponentCss$V } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { PButtonPure } from '../components/button-pure.wrapper.mjs';
8
8
  import { InputBase } from './input-base.mjs';
9
9
 
@@ -26,12 +26,13 @@ class DSRInputNumber extends Component {
26
26
  // triggers value watcher
27
27
  }
28
28
  formDisabledCallback() {
29
+ // Called when a parent fieldset is disabled or enabled
29
30
  }
30
31
  formStateRestoreCallback() {
31
32
  }
32
33
  render() {
33
34
  splitChildren(this.props.children);
34
- const style = minifyCss(getComponentCss$U(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme, this.props.controls));
35
+ const style = minifyCss(getComponentCss$V(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme, this.props.controls));
35
36
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(InputBase, { children: this.props.children, host: null, label: this.props.label, description: this.props.description, id: "input-number" // prevent React default scroll-to-[increment|decrement] on number inputs
36
37
  , name: this.props.name, form: this.props.form, type: "number", required: this.props.required, placeholder: this.props.placeholder, max: this.props.max, min: this.props.min, value: this.props.value, readOnly: this.props.readOnly, autoComplete: this.props.autoComplete, disabled: this.props.disabled, state: this.props.state, message: this.props.message, theme: this.props.theme, step: this.props.step, loading: this.props.loading, initialLoading: this.props.initialLoading, ...(this.props.controls && {
37
38
  end: (jsxs(Fragment, { children: [jsxs(PButtonPure, { tabIndex: -1, hideLabel: true, theme: this.props.theme, className: "button", type: "button", icon: "minus", disabled: this.props.disabled || this.props.readOnly, children: ["Decrement value by ", this.props.step] }), jsxs(PButtonPure, { tabIndex: -1, hideLabel: true, theme: this.props.theme, className: "button", type: "button", icon: "plus", disabled: this.props.disabled || this.props.readOnly, children: ["Increment value by ", this.props.step] })] })),
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getInputPasswordCss as getComponentCss$T } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getInputPasswordCss as getComponentCss$U } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { PButtonPure } from '../components/button-pure.wrapper.mjs';
8
8
  import { InputBase } from './input-base.mjs';
9
9
 
@@ -27,12 +27,13 @@ class DSRInputPassword extends Component {
27
27
  // triggers value watcher
28
28
  }
29
29
  formDisabledCallback() {
30
+ // Called when a parent fieldset is disabled or enabled
30
31
  }
31
32
  formStateRestoreCallback() {
32
33
  }
33
34
  render() {
34
35
  splitChildren(this.props.children);
35
- const style = minifyCss(getComponentCss$T(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.toggle, this.props.compact, this.props.readOnly, this.props.theme));
36
+ const style = minifyCss(getComponentCss$U(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.toggle, this.props.compact, this.props.readOnly, this.props.theme));
36
37
  return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(InputBase, { children: this.props.children, host: null, label: this.props.label, description: this.props.description, id: "input-password", name: this.props.name, form: this.props.form, type: this.props.showPassword ? 'text' : 'password', required: this.props.required, placeholder: this.props.placeholder, maxLength: this.props.maxLength, minLength: this.props.minLength, value: this.props.value, readOnly: this.props.readOnly, autoComplete: this.props.autoComplete, disabled: this.props.disabled, state: this.props.state, message: this.props.message, theme: this.props.theme, loading: this.props.loading, initialLoading: this.props.initialLoading, end: this.props.toggle && (jsx(PButtonPure, { hideLabel: true, theme: this.props.theme, className: "button", type: "button", icon: this.props.showPassword ? 'view-off' : 'view', disabled: this.props.disabled, aria: { 'aria-pressed': this.props.showPassword ? 'true' : 'false' }, children: "Toggle password visibility" })) })] }), this.props.children] }));
37
38
  }
38
39
  }
@@ -3,7 +3,7 @@ import { Component } from 'react';
3
3
  import '../../provider.mjs';
4
4
  import { splitChildren } from '../../splitChildren.mjs';
5
5
  import { minifyCss } from '../../minifyCss.mjs';
6
- import { getInputSearchCss as getComponentCss$S } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
6
+ import { getInputSearchCss as getComponentCss$T } from '../../../../../../components/dist/styles/esm/styles-entry.mjs';
7
7
  import { PButtonPure } from '../components/button-pure.wrapper.mjs';
8
8
  import { PIcon } from '../components/icon.wrapper.mjs';
9
9
  import { InputBase } from './input-base.mjs';
@@ -28,13 +28,14 @@ class DSRInputSearch extends Component {
28
28
  // triggers value watcher
29
29
  }
30
30
  formDisabledCallback() {
31
+ // Called when a parent fieldset is disabled or enabled
31
32
  }
32
33
  formStateRestoreCallback() {
33
34
  }
34
35
  render() {
35
36
  splitChildren(this.props.children);
36
- const style = minifyCss(getComponentCss$S(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme, this.props.clear));
37
- return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(InputBase, { children: this.props.children, host: null, label: this.props.label, description: this.props.description, id: "input-search", name: this.props.name, form: this.props.form, type: "search", required: this.props.required, placeholder: this.props.placeholder, value: this.props.value, readOnly: this.props.readOnly, autoComplete: this.props.autoComplete, disabled: this.props.disabled, state: this.props.state, message: this.props.message, theme: this.props.theme, loading: this.props.loading, initialLoading: this.props.initialLoading, ...(this.props.indicator && {
37
+ const style = minifyCss(getComponentCss$T(this.props.disabled, this.props.loading, this.props.hideLabel, this.props.state, this.props.compact, this.props.readOnly, this.props.theme, this.props.clear));
38
+ return (jsxs(Fragment, { children: [jsxs("template", { shadowroot: "open", shadowrootmode: "open", shadowrootdelegatesfocus: "true", children: [jsx("style", { dangerouslySetInnerHTML: { __html: style } }), jsx(InputBase, { children: this.props.children, host: null, label: this.props.label, description: this.props.description, id: "input-search", name: this.props.name, form: this.props.form, type: "search", required: this.props.required, placeholder: this.props.placeholder, maxLength: this.props.maxLength, minLength: this.props.minLength, value: this.props.value, readOnly: this.props.readOnly, autoComplete: this.props.autoComplete, disabled: this.props.disabled, state: this.props.state, message: this.props.message, theme: this.props.theme, loading: this.props.loading, initialLoading: this.props.initialLoading, ...(this.props.indicator && {
38
39
  start: jsx(PIcon, { "aria-hidden": "true", name: "search", color: "state-disabled", theme: this.props.theme }),
39
40
  }), ...(this.props.clear && {
40
41
  end: (jsx(PButtonPure, { tabIndex: -1, hideLabel: true, theme: this.props.theme, className: "button", type: "button", icon: "close", hidden: !this.props.isClearable, disabled: this.props.readOnly || this.props.disabled, children: "Clear field" })),