@pine-ds/core 3.4.0 → 3.4.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 (511) hide show
  1. package/components/mock-pds-modal.js +1 -1
  2. package/components/mock-pds-modal.js.map +1 -1
  3. package/components/pds-box2.js +1 -1
  4. package/components/pds-box2.js.map +1 -1
  5. package/components/pds-button2.js +1 -1
  6. package/components/pds-button2.js.map +1 -1
  7. package/components/pds-checkbox2.js +1 -1
  8. package/components/pds-checkbox2.js.map +1 -1
  9. package/components/pds-input.js +56 -3
  10. package/components/pds-input.js.map +1 -1
  11. package/components/pds-modal.js +1 -1
  12. package/components/pds-modal.js.map +1 -1
  13. package/components/pds-radio.js +1 -1
  14. package/components/pds-radio.js.map +1 -1
  15. package/components/pds-select.js +77 -3
  16. package/components/pds-select.js.map +1 -1
  17. package/components/pds-textarea.js +56 -6
  18. package/components/pds-textarea.js.map +1 -1
  19. package/dist/cjs/{index-CxX7ua5d.js → index-g-uSeICs.js} +30 -2
  20. package/dist/cjs/index-g-uSeICs.js.map +1 -0
  21. package/dist/cjs/index.cjs.js +1 -1
  22. package/dist/cjs/loader.cjs.js +2 -2
  23. package/dist/cjs/mock-pds-modal.cjs.entry.js +2 -2
  24. package/dist/cjs/mock-pds-modal.cjs.entry.js.map +1 -1
  25. package/dist/cjs/mock-pds-modal.entry.cjs.js.map +1 -1
  26. package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
  27. package/dist/cjs/pds-alert.cjs.entry.js +1 -1
  28. package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
  29. package/dist/cjs/pds-box.cjs.entry.js +2 -2
  30. package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
  31. package/dist/cjs/pds-box.entry.cjs.js.map +1 -1
  32. package/dist/cjs/pds-button.cjs.entry.js +2 -2
  33. package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
  34. package/dist/cjs/pds-button.entry.cjs.js.map +1 -1
  35. package/dist/cjs/pds-checkbox.cjs.entry.js +2 -2
  36. package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -1
  37. package/dist/cjs/pds-checkbox.entry.cjs.js.map +1 -1
  38. package/dist/cjs/pds-chip.cjs.entry.js +1 -1
  39. package/dist/cjs/pds-combobox.cjs.entry.js +1 -1
  40. package/dist/cjs/pds-copytext.cjs.entry.js +1 -1
  41. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  42. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +1 -1
  43. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +1 -1
  44. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +1 -1
  45. package/dist/cjs/pds-icon.cjs.entry.js +1 -1
  46. package/dist/cjs/pds-image.cjs.entry.js +1 -1
  47. package/dist/cjs/pds-input.cjs.entry.js +55 -3
  48. package/dist/cjs/pds-input.cjs.entry.js.map +1 -1
  49. package/dist/cjs/pds-input.entry.cjs.js.map +1 -1
  50. package/dist/cjs/pds-link.cjs.entry.js +1 -1
  51. package/dist/cjs/pds-loader.cjs.entry.js +1 -1
  52. package/dist/cjs/pds-modal-content.cjs.entry.js +1 -1
  53. package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
  54. package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
  55. package/dist/cjs/pds-modal.cjs.entry.js +2 -2
  56. package/dist/cjs/pds-modal.cjs.entry.js.map +1 -1
  57. package/dist/cjs/pds-modal.entry.cjs.js.map +1 -1
  58. package/dist/cjs/pds-popover.cjs.entry.js +1 -1
  59. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  60. package/dist/cjs/pds-property.cjs.entry.js +1 -1
  61. package/dist/cjs/pds-radio.cjs.entry.js +2 -2
  62. package/dist/cjs/pds-radio.cjs.entry.js.map +1 -1
  63. package/dist/cjs/pds-radio.entry.cjs.js.map +1 -1
  64. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  65. package/dist/cjs/pds-select.cjs.entry.js +77 -3
  66. package/dist/cjs/pds-select.cjs.entry.js.map +1 -1
  67. package/dist/cjs/pds-select.entry.cjs.js.map +1 -1
  68. package/dist/cjs/pds-sortable-item.cjs.entry.js +1 -1
  69. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  70. package/dist/cjs/pds-switch.cjs.entry.js +1 -1
  71. package/dist/cjs/pds-tab.cjs.entry.js +1 -1
  72. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  73. package/dist/cjs/pds-table-cell.cjs.entry.js +1 -1
  74. package/dist/cjs/pds-table-head-cell.cjs.entry.js +1 -1
  75. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  76. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  77. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  78. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  79. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  80. package/dist/cjs/pds-text.cjs.entry.js +1 -1
  81. package/dist/cjs/pds-textarea.cjs.entry.js +56 -6
  82. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -1
  83. package/dist/cjs/pds-textarea.entry.cjs.js.map +1 -1
  84. package/dist/cjs/pds-toast.cjs.entry.js +1 -1
  85. package/dist/cjs/pds-tooltip.cjs.entry.js +1 -1
  86. package/dist/cjs/pine-core.cjs.js +2 -2
  87. package/dist/collection/components/pds-box/pds-box.css +1 -1
  88. package/dist/collection/components/pds-button/pds-button.css +3 -2
  89. package/dist/collection/components/pds-checkbox/pds-checkbox.css +1 -0
  90. package/dist/collection/components/pds-input/pds-input.css +10 -6
  91. package/dist/collection/components/pds-input/pds-input.js +72 -1
  92. package/dist/collection/components/pds-input/pds-input.js.map +1 -1
  93. package/dist/collection/components/pds-input/stories/pds-input.stories.js +11 -0
  94. package/dist/collection/components/pds-modal/pds-modal.css +1 -1
  95. package/dist/collection/components/pds-radio/pds-radio.css +1 -0
  96. package/dist/collection/components/pds-select/pds-select.css +2 -1
  97. package/dist/collection/components/pds-select/pds-select.js +75 -1
  98. package/dist/collection/components/pds-select/pds-select.js.map +1 -1
  99. package/dist/collection/components/pds-textarea/pds-textarea.css +1 -1
  100. package/dist/collection/components/pds-textarea/pds-textarea.js +54 -4
  101. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
  102. package/dist/docs.json +24 -1
  103. package/dist/esm/{index-Uh5ntVcq.js → index-BVCWKPy3.js} +30 -2
  104. package/dist/esm/index-BVCWKPy3.js.map +1 -0
  105. package/dist/esm/index.js +1 -1
  106. package/dist/esm/loader.js +3 -3
  107. package/dist/esm/mock-pds-modal.entry.js +2 -2
  108. package/dist/esm/mock-pds-modal.entry.js.map +1 -1
  109. package/dist/esm/pds-accordion.entry.js +1 -1
  110. package/dist/esm/pds-alert.entry.js +1 -1
  111. package/dist/esm/pds-avatar.entry.js +1 -1
  112. package/dist/esm/pds-box.entry.js +2 -2
  113. package/dist/esm/pds-box.entry.js.map +1 -1
  114. package/dist/esm/pds-button.entry.js +2 -2
  115. package/dist/esm/pds-button.entry.js.map +1 -1
  116. package/dist/esm/pds-checkbox.entry.js +2 -2
  117. package/dist/esm/pds-checkbox.entry.js.map +1 -1
  118. package/dist/esm/pds-chip.entry.js +1 -1
  119. package/dist/esm/pds-combobox.entry.js +1 -1
  120. package/dist/esm/pds-copytext.entry.js +1 -1
  121. package/dist/esm/pds-divider.entry.js +1 -1
  122. package/dist/esm/pds-dropdown-menu-item.entry.js +1 -1
  123. package/dist/esm/pds-dropdown-menu-separator.entry.js +1 -1
  124. package/dist/esm/pds-dropdown-menu.entry.js +1 -1
  125. package/dist/esm/pds-icon.entry.js +1 -1
  126. package/dist/esm/pds-image.entry.js +1 -1
  127. package/dist/esm/pds-input.entry.js +55 -3
  128. package/dist/esm/pds-input.entry.js.map +1 -1
  129. package/dist/esm/pds-link.entry.js +1 -1
  130. package/dist/esm/pds-loader.entry.js +1 -1
  131. package/dist/esm/pds-modal-content.entry.js +1 -1
  132. package/dist/esm/pds-modal-footer.entry.js +1 -1
  133. package/dist/esm/pds-modal-header.entry.js +1 -1
  134. package/dist/esm/pds-modal.entry.js +2 -2
  135. package/dist/esm/pds-modal.entry.js.map +1 -1
  136. package/dist/esm/pds-popover.entry.js +1 -1
  137. package/dist/esm/pds-progress.entry.js +1 -1
  138. package/dist/esm/pds-property.entry.js +1 -1
  139. package/dist/esm/pds-radio.entry.js +2 -2
  140. package/dist/esm/pds-radio.entry.js.map +1 -1
  141. package/dist/esm/pds-row.entry.js +1 -1
  142. package/dist/esm/pds-select.entry.js +77 -3
  143. package/dist/esm/pds-select.entry.js.map +1 -1
  144. package/dist/esm/pds-sortable-item.entry.js +1 -1
  145. package/dist/esm/pds-sortable.entry.js +1 -1
  146. package/dist/esm/pds-switch.entry.js +1 -1
  147. package/dist/esm/pds-tab.entry.js +1 -1
  148. package/dist/esm/pds-table-body.entry.js +1 -1
  149. package/dist/esm/pds-table-cell.entry.js +1 -1
  150. package/dist/esm/pds-table-head-cell.entry.js +1 -1
  151. package/dist/esm/pds-table-head.entry.js +1 -1
  152. package/dist/esm/pds-table-row.entry.js +1 -1
  153. package/dist/esm/pds-table.entry.js +1 -1
  154. package/dist/esm/pds-tabpanel.entry.js +1 -1
  155. package/dist/esm/pds-tabs.entry.js +1 -1
  156. package/dist/esm/pds-text.entry.js +1 -1
  157. package/dist/esm/pds-textarea.entry.js +56 -6
  158. package/dist/esm/pds-textarea.entry.js.map +1 -1
  159. package/dist/esm/pds-toast.entry.js +1 -1
  160. package/dist/esm/pds-tooltip.entry.js +1 -1
  161. package/dist/esm/pine-core.js +3 -3
  162. package/dist/esm-es5/index-BVCWKPy3.js +3 -0
  163. package/dist/esm-es5/index-BVCWKPy3.js.map +1 -0
  164. package/dist/esm-es5/index.js +1 -1
  165. package/dist/esm-es5/loader.js +1 -1
  166. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  167. package/dist/esm-es5/mock-pds-modal.entry.js.map +1 -1
  168. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  169. package/dist/esm-es5/pds-alert.entry.js +1 -1
  170. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  171. package/dist/esm-es5/pds-box.entry.js +1 -1
  172. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  173. package/dist/esm-es5/pds-button.entry.js +1 -1
  174. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  175. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  176. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
  177. package/dist/esm-es5/pds-chip.entry.js +1 -1
  178. package/dist/esm-es5/pds-combobox.entry.js +1 -1
  179. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  180. package/dist/esm-es5/pds-divider.entry.js +1 -1
  181. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  182. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  183. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  184. package/dist/esm-es5/pds-icon.entry.js +1 -1
  185. package/dist/esm-es5/pds-image.entry.js +1 -1
  186. package/dist/esm-es5/pds-input.entry.js +1 -1
  187. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  188. package/dist/esm-es5/pds-link.entry.js +1 -1
  189. package/dist/esm-es5/pds-loader.entry.js +1 -1
  190. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  191. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  192. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  193. package/dist/esm-es5/pds-modal.entry.js +1 -1
  194. package/dist/esm-es5/pds-modal.entry.js.map +1 -1
  195. package/dist/esm-es5/pds-popover.entry.js +1 -1
  196. package/dist/esm-es5/pds-progress.entry.js +1 -1
  197. package/dist/esm-es5/pds-property.entry.js +1 -1
  198. package/dist/esm-es5/pds-radio.entry.js +1 -1
  199. package/dist/esm-es5/pds-radio.entry.js.map +1 -1
  200. package/dist/esm-es5/pds-row.entry.js +1 -1
  201. package/dist/esm-es5/pds-select.entry.js +1 -1
  202. package/dist/esm-es5/pds-select.entry.js.map +1 -1
  203. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  204. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  205. package/dist/esm-es5/pds-switch.entry.js +1 -1
  206. package/dist/esm-es5/pds-tab.entry.js +1 -1
  207. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  208. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  209. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  210. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  211. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  212. package/dist/esm-es5/pds-table.entry.js +1 -1
  213. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  214. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  215. package/dist/esm-es5/pds-text.entry.js +1 -1
  216. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  217. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  218. package/dist/esm-es5/pds-toast.entry.js +1 -1
  219. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  220. package/dist/esm-es5/pine-core.js +1 -1
  221. package/dist/pine-core/index.esm.js +1 -1
  222. package/dist/pine-core/mock-pds-modal.entry.esm.js.map +1 -1
  223. package/dist/pine-core/{p-fd3b7077.entry.js → p-0066d249.entry.js} +2 -2
  224. package/dist/pine-core/{p-c5da4a97.system.entry.js → p-0199e3e9.system.entry.js} +2 -2
  225. package/dist/pine-core/{p-982edcaf.system.entry.js → p-03d17841.system.entry.js} +2 -2
  226. package/dist/pine-core/p-03d17841.system.entry.js.map +1 -0
  227. package/dist/pine-core/{p-9d8bb7f7.system.entry.js → p-051ff780.system.entry.js} +2 -2
  228. package/dist/pine-core/{p-2a2cd90d.entry.js → p-064e3d73.entry.js} +2 -2
  229. package/dist/pine-core/{p-90a8d1bd.entry.js → p-075eecf9.entry.js} +2 -2
  230. package/dist/pine-core/p-088828ce.entry.js +2 -0
  231. package/dist/pine-core/p-088828ce.entry.js.map +1 -0
  232. package/dist/pine-core/{p-3df372d1.entry.js → p-0a4fc9c7.entry.js} +3 -3
  233. package/dist/pine-core/{p-e7322ff9.system.entry.js → p-0d8a2a39.system.entry.js} +2 -2
  234. package/dist/pine-core/{p-30449e82.entry.js → p-0dbb2ae9.entry.js} +2 -2
  235. package/dist/pine-core/{p-667eb50e.entry.js → p-11d4036e.entry.js} +2 -2
  236. package/dist/pine-core/{p-f29baa16.entry.js → p-126197e5.entry.js} +2 -2
  237. package/dist/pine-core/{p-b6d18604.entry.js → p-13ac0852.entry.js} +2 -2
  238. package/dist/pine-core/{p-d64527b2.system.entry.js → p-14b424ab.system.entry.js} +2 -2
  239. package/dist/pine-core/{p-ee0117a2.entry.js → p-17c2f3fb.entry.js} +2 -2
  240. package/dist/pine-core/{p-eef645bd.system.entry.js → p-1858ad6d.system.entry.js} +2 -2
  241. package/dist/pine-core/{p-f7c02b89.entry.js → p-1a5e79af.entry.js} +2 -2
  242. package/dist/pine-core/p-209b1d69.entry.js +2 -0
  243. package/dist/pine-core/p-209b1d69.entry.js.map +1 -0
  244. package/dist/pine-core/{p-383af1d4.system.entry.js → p-276a6a8b.system.entry.js} +2 -2
  245. package/dist/pine-core/{p-160c6806.system.entry.js → p-2aad0209.system.entry.js} +2 -2
  246. package/dist/pine-core/{p-2f0aedfa.entry.js → p-2b48499b.entry.js} +2 -2
  247. package/dist/pine-core/{p-357b6dd6.system.entry.js → p-2fb60757.system.entry.js} +2 -2
  248. package/dist/pine-core/{p-ClrDO1lY.system.js.map → p-2kXtbFXu.system.js.map} +1 -1
  249. package/dist/pine-core/{p-5a1af174.entry.js → p-33016dd0.entry.js} +2 -2
  250. package/dist/pine-core/{p-d451c7b5.system.entry.js → p-39488f2c.system.entry.js} +2 -2
  251. package/dist/pine-core/{p-000ed179.entry.js → p-3e6229cc.entry.js} +3 -3
  252. package/dist/pine-core/{p-e0a6ba6f.system.entry.js → p-3f83d4c4.system.entry.js} +2 -2
  253. package/dist/pine-core/{p-e8a4eafa.system.entry.js → p-4066a9c0.system.entry.js} +2 -2
  254. package/dist/pine-core/{p-e8a4eafa.system.entry.js.map → p-4066a9c0.system.entry.js.map} +1 -1
  255. package/dist/pine-core/{p-2fbc5f8c.system.entry.js → p-41bf807f.system.entry.js} +2 -2
  256. package/dist/pine-core/{p-91520803.system.entry.js → p-487552a9.system.entry.js} +2 -2
  257. package/dist/pine-core/{p-b214c043.entry.js → p-4e5b9d19.entry.js} +2 -2
  258. package/dist/pine-core/{p-62bc2080.system.entry.js → p-51d83489.system.entry.js} +2 -2
  259. package/dist/pine-core/{p-a4d19fb1.entry.js → p-51e463bf.entry.js} +2 -2
  260. package/dist/pine-core/{p-a4d19fb1.entry.js.map → p-51e463bf.entry.js.map} +1 -1
  261. package/dist/pine-core/{p-f4fff209.system.entry.js → p-52af1890.system.entry.js} +2 -2
  262. package/dist/pine-core/{p-256d15bc.system.entry.js → p-55bf6be2.system.entry.js} +2 -2
  263. package/dist/pine-core/p-568296f0.system.entry.js +2 -0
  264. package/dist/pine-core/p-568296f0.system.entry.js.map +1 -0
  265. package/dist/pine-core/{p-47a7a65b.entry.js → p-5a709348.entry.js} +2 -2
  266. package/dist/pine-core/{p-7a431264.system.entry.js → p-5c87077e.system.entry.js} +2 -2
  267. package/dist/pine-core/{p-fe73a67f.entry.js → p-63ef55dd.entry.js} +2 -2
  268. package/dist/pine-core/{p-fe73a67f.entry.js.map → p-63ef55dd.entry.js.map} +1 -1
  269. package/dist/pine-core/{p-d6b1f60d.system.entry.js → p-6438a29d.system.entry.js} +2 -2
  270. package/dist/pine-core/{p-6ef51211.entry.js → p-66b10d29.entry.js} +2 -2
  271. package/dist/pine-core/p-69e95bc4.system.entry.js +2 -0
  272. package/dist/pine-core/p-69e95bc4.system.entry.js.map +1 -0
  273. package/dist/pine-core/{p-ec1c3452.system.entry.js → p-6cc09a2f.system.entry.js} +2 -2
  274. package/dist/pine-core/p-6cc09a2f.system.entry.js.map +1 -0
  275. package/dist/pine-core/{p-b93825c4.system.entry.js → p-6d601fc2.system.entry.js} +2 -2
  276. package/dist/pine-core/{p-5fdbbab9.entry.js → p-6fd385ec.entry.js} +2 -2
  277. package/dist/pine-core/{p-7da6180d.system.entry.js → p-7a95a90f.system.entry.js} +2 -2
  278. package/dist/pine-core/{p-d989287d.entry.js → p-7c867f1b.entry.js} +2 -2
  279. package/dist/pine-core/p-7de61adb.entry.js +2 -0
  280. package/dist/pine-core/p-7de61adb.entry.js.map +1 -0
  281. package/dist/pine-core/{p-e416f7a8.system.entry.js → p-7eb4ac7c.system.entry.js} +2 -2
  282. package/dist/pine-core/{p-e53547e2.system.entry.js → p-81a28f54.system.entry.js} +2 -2
  283. package/dist/pine-core/{p-73412ca9.system.entry.js → p-81cf9a46.system.entry.js} +2 -2
  284. package/dist/pine-core/{p-73412ca9.system.entry.js.map → p-81cf9a46.system.entry.js.map} +1 -1
  285. package/dist/pine-core/{p-faaa1caa.system.entry.js → p-89d9f273.system.entry.js} +3 -3
  286. package/dist/pine-core/p-8a02c581.entry.js +2 -0
  287. package/dist/pine-core/p-8a02c581.entry.js.map +1 -0
  288. package/dist/pine-core/{p-36d3352a.entry.js → p-8cb99f2f.entry.js} +2 -2
  289. package/dist/pine-core/{p-82388e60.entry.js → p-91c6bd68.entry.js} +2 -2
  290. package/dist/pine-core/{p-64c897bb.entry.js → p-94982c57.entry.js} +2 -2
  291. package/dist/pine-core/{p-ef08f005.entry.js → p-978e722a.entry.js} +2 -2
  292. package/dist/pine-core/{p-cc15bf6c.system.entry.js → p-9860d0a8.system.entry.js} +2 -2
  293. package/dist/pine-core/{p-61b7ff04.system.entry.js → p-9afcab0c.system.entry.js} +2 -2
  294. package/dist/pine-core/{p-Bgszb25I.system.js.map → p-ACQU83St.system.js.map} +1 -1
  295. package/dist/pine-core/{p-Cly-fzRE.system.js.map → p-B4ww2WM0.system.js.map} +1 -1
  296. package/dist/pine-core/{p-ydqm5FGv.system.js.map → p-B6IFMveo.system.js.map} +1 -1
  297. package/dist/pine-core/{p-B2gfQpwn.system.js.map → p-B7S-9dbT.system.js.map} +1 -1
  298. package/dist/pine-core/{p-DKGUedTE.system.js.map → p-BCZ4LK15.system.js.map} +1 -1
  299. package/dist/pine-core/{p-DNqc41uY.system.js.map → p-BDQFLOLJ.system.js.map} +1 -1
  300. package/dist/pine-core/{p-CLscfXhT.system.js.map → p-BEky6idI.system.js.map} +1 -1
  301. package/dist/pine-core/p-BGbUqsWH.system.js +2 -0
  302. package/dist/pine-core/p-BGbUqsWH.system.js.map +1 -0
  303. package/dist/pine-core/p-BVCWKPy3.js +3 -0
  304. package/dist/pine-core/p-BVCWKPy3.js.map +1 -0
  305. package/dist/pine-core/{p-B-xQ7Q5Y.system.js.map → p-BY7O1nGC.system.js.map} +1 -1
  306. package/dist/pine-core/p-B_C-mRjx.system.js +3 -0
  307. package/dist/pine-core/p-B_C-mRjx.system.js.map +1 -0
  308. package/dist/pine-core/{p-PwBWYqtO.system.js.map → p-B_c-HOvq.system.js.map} +1 -1
  309. package/dist/pine-core/{p-Ci1ZzxGS.system.js.map → p-Bw9e5h_G.system.js.map} +1 -1
  310. package/dist/pine-core/{p-b6lYO9O3.system.js.map → p-C36pvE-A.system.js.map} +1 -1
  311. package/dist/pine-core/{p-CaJHqbdu.system.js.map → p-C3lnYhcV.system.js.map} +1 -1
  312. package/dist/pine-core/{p-CtuIf6LK.system.js.map → p-C5Wo1bN2.system.js.map} +1 -1
  313. package/dist/pine-core/{p-CTJnwc4I.system.js.map → p-C5Y492i0.system.js.map} +1 -1
  314. package/dist/pine-core/{p-lWwPttyv.system.js.map → p-CG_aggl0.system.js.map} +1 -1
  315. package/dist/pine-core/{p-zZHye4hT.system.js.map → p-CMLxdmO2.system.js.map} +1 -1
  316. package/dist/pine-core/{p-C47kwjaJ.system.js.map → p-CNOeJ6ra.system.js.map} +1 -1
  317. package/dist/pine-core/p-CXLBzkzl.system.js.map +1 -0
  318. package/dist/pine-core/{p-BHZ6CSg4.system.js.map → p-CaD_7MzD.system.js.map} +1 -1
  319. package/dist/pine-core/{p-DQCWs_Ih.system.js.map → p-CbDQeXQ4.system.js.map} +1 -1
  320. package/dist/pine-core/{p-CD40xhZg.system.js.map → p-CbQ4EQA9.system.js.map} +1 -1
  321. package/dist/pine-core/p-Ce_XeYF6.system.js.map +1 -0
  322. package/dist/pine-core/{p-Bdnq3aMi.system.js.map → p-ChslVme6.system.js.map} +1 -1
  323. package/dist/pine-core/p-CnDggyDA.system.js.map +1 -0
  324. package/dist/pine-core/{p-BPlIGHM4.system.js.map → p-CoHBlcHu.system.js.map} +1 -1
  325. package/dist/pine-core/{p-DX9uSGoE.system.js.map → p-CqzGa2j0.system.js.map} +1 -1
  326. package/dist/pine-core/{p-y1DacLeb.system.js.map → p-DCdSlcTO.system.js.map} +1 -1
  327. package/dist/pine-core/p-DJu23j_m.system.js.map +1 -0
  328. package/dist/pine-core/{p-mWJg54bF.system.js.map → p-DKuFjXiD.system.js.map} +1 -1
  329. package/dist/pine-core/{p-PuPjQNmU.system.js.map → p-DMNp4slx.system.js.map} +1 -1
  330. package/dist/pine-core/{p-DwwM3-D4.system.js.map → p-DQnK6lQ2.system.js.map} +1 -1
  331. package/dist/pine-core/{p-Gn2xhxDz.system.js.map → p-DRqkTTfb.system.js.map} +1 -1
  332. package/dist/pine-core/{p-CuHZffVk.system.js.map → p-DXuK7cEc.system.js.map} +1 -1
  333. package/dist/pine-core/{p-B-hSZadO.system.js.map → p-DYb5Y47j.system.js.map} +1 -1
  334. package/dist/pine-core/{p-D1LdgjO0.system.js.map → p-DdEbUZw3.system.js.map} +1 -1
  335. package/dist/pine-core/p-De9tROL-.system.js +2 -0
  336. package/dist/pine-core/{p-BsL2GDnH.system.js.map → p-De9tROL-.system.js.map} +1 -1
  337. package/dist/pine-core/{p-Bpn2QYa2.system.js.map → p-Dm_a1Ag0.system.js.map} +1 -1
  338. package/dist/pine-core/{p-BJRnZhwF.system.js.map → p-DvZWnvRb.system.js.map} +1 -1
  339. package/dist/pine-core/{p-ipxZYSGJ.system.js.map → p-EytFbMH4.system.js.map} +1 -1
  340. package/dist/pine-core/{p-Bok_Wwo5.system.js.map → p-PgQPKVDh.system.js.map} +1 -1
  341. package/dist/pine-core/{p-BSg_Clcf.system.js.map → p-REBgf8JA.system.js.map} +1 -1
  342. package/dist/pine-core/{p-6tdMlyau.system.js.map → p-XHvXi3U6.system.js.map} +1 -1
  343. package/dist/pine-core/{p-3b43a1ea.entry.js → p-a54f1d9e.entry.js} +2 -2
  344. package/dist/pine-core/p-a7204f01.entry.js +2 -0
  345. package/dist/pine-core/p-aafb6e06.system.entry.js +2 -0
  346. package/dist/pine-core/p-aafb6e06.system.entry.js.map +1 -0
  347. package/dist/pine-core/{p-9df7ba40.system.entry.js → p-adf2449e.system.entry.js} +2 -2
  348. package/dist/pine-core/{p-e0a35811.system.entry.js → p-b2b405ca.system.entry.js} +3 -3
  349. package/dist/pine-core/{p-d21156cf.entry.js → p-b956922a.entry.js} +2 -2
  350. package/dist/pine-core/{p-5706c81b.system.entry.js → p-b9fe17b8.system.entry.js} +2 -2
  351. package/dist/pine-core/{p-f256dd8a.entry.js → p-bfd08c9c.entry.js} +2 -2
  352. package/dist/pine-core/{p-f256dd8a.entry.js.map → p-bfd08c9c.entry.js.map} +1 -1
  353. package/dist/pine-core/{p-af5c9fbd.system.entry.js → p-c1099665.system.entry.js} +2 -2
  354. package/dist/pine-core/{p-0c6e9ba0.system.entry.js → p-c1115d78.system.entry.js} +2 -2
  355. package/dist/pine-core/{p-6d36fae0.entry.js → p-c16d01cc.entry.js} +2 -2
  356. package/dist/pine-core/{p-b5dc7a18.entry.js → p-c1a1475e.entry.js} +2 -2
  357. package/dist/pine-core/{p-27b52fc5.entry.js → p-c1f5148f.entry.js} +2 -2
  358. package/dist/pine-core/p-c1f5148f.entry.js.map +1 -0
  359. package/dist/pine-core/{p-9e22eab5.system.entry.js → p-c3f32f26.system.entry.js} +2 -2
  360. package/dist/pine-core/{p-9e22eab5.system.entry.js.map → p-c3f32f26.system.entry.js.map} +1 -1
  361. package/dist/pine-core/{p-5033d9e8.entry.js → p-c652847a.entry.js} +2 -2
  362. package/dist/pine-core/{p-4d22ca40.entry.js → p-c82c277f.entry.js} +2 -2
  363. package/dist/pine-core/{p-f9005ac9.entry.js → p-c82d0a99.entry.js} +2 -2
  364. package/dist/pine-core/p-cHtb875x.system.js.map +1 -0
  365. package/dist/pine-core/{p-c93786f1.system.entry.js → p-ce0d9f05.system.entry.js} +2 -2
  366. package/dist/pine-core/{p-9b8a3659.system.entry.js → p-cf5506db.system.entry.js} +2 -2
  367. package/dist/pine-core/p-d06351b9.system.entry.js +2 -0
  368. package/dist/pine-core/p-d06351b9.system.entry.js.map +1 -0
  369. package/dist/pine-core/{p-c5a7c8e9.system.entry.js → p-d08ecd18.system.entry.js} +2 -2
  370. package/dist/pine-core/{p-4a69106a.system.entry.js → p-d6d87fbc.system.entry.js} +2 -2
  371. package/dist/pine-core/{p-80246c79.entry.js → p-df15e16a.entry.js} +2 -2
  372. package/dist/pine-core/{p-d0ec666b.entry.js → p-e05135c5.entry.js} +2 -2
  373. package/dist/pine-core/{p-39fbd912.entry.js → p-e30601a6.entry.js} +2 -2
  374. package/dist/pine-core/{p-1e056ca3.system.entry.js → p-e3fb0bc2.system.entry.js} +2 -2
  375. package/dist/pine-core/{p-3bbb6fc1.entry.js → p-e8d76117.entry.js} +2 -2
  376. package/dist/pine-core/{p-f30b1479.entry.js → p-ed94947b.entry.js} +2 -2
  377. package/dist/pine-core/{p-822e90ee.entry.js → p-f2da93ea.entry.js} +2 -2
  378. package/dist/pine-core/{p-9cc1844a.system.entry.js → p-f647c1af.system.entry.js} +2 -2
  379. package/dist/pine-core/{p-1ef5f46b.system.entry.js → p-f9bd0bc2.system.entry.js} +2 -2
  380. package/dist/pine-core/{p-31fe86a6.entry.js → p-fcdbb73f.entry.js} +2 -2
  381. package/dist/pine-core/p-fcdbb73f.entry.js.map +1 -0
  382. package/dist/pine-core/{p-U_efBpHV.system.js.map → p-lMetQ5Q0.system.js.map} +1 -1
  383. package/dist/pine-core/{p-Bq1H4MPi.system.js.map → p-pm8ElBzm.system.js.map} +1 -1
  384. package/dist/pine-core/p-qjvXmIGJ.system.js.map +1 -0
  385. package/dist/pine-core/pds-box.entry.esm.js.map +1 -1
  386. package/dist/pine-core/pds-button.entry.esm.js.map +1 -1
  387. package/dist/pine-core/pds-checkbox.entry.esm.js.map +1 -1
  388. package/dist/pine-core/pds-input.entry.esm.js.map +1 -1
  389. package/dist/pine-core/pds-modal.entry.esm.js.map +1 -1
  390. package/dist/pine-core/pds-radio.entry.esm.js.map +1 -1
  391. package/dist/pine-core/pds-select.entry.esm.js.map +1 -1
  392. package/dist/pine-core/pds-textarea.entry.esm.js.map +1 -1
  393. package/dist/pine-core/pine-core.esm.js +1 -1
  394. package/dist/pine-core/pine-core.js +1 -1
  395. package/dist/types/components/pds-input/pds-input.d.ts +22 -0
  396. package/dist/types/components/pds-select/pds-select.d.ts +19 -0
  397. package/dist/types/components/pds-textarea/pds-textarea.d.ts +17 -0
  398. package/dist/types/components.d.ts +8 -0
  399. package/hydrate/index.js +195 -18
  400. package/hydrate/index.mjs +195 -18
  401. package/package.json +2 -2
  402. package/dist/cjs/index-CxX7ua5d.js.map +0 -1
  403. package/dist/esm/index-Uh5ntVcq.js.map +0 -1
  404. package/dist/esm-es5/index-Uh5ntVcq.js +0 -3
  405. package/dist/esm-es5/index-Uh5ntVcq.js.map +0 -1
  406. package/dist/pine-core/p-27b52fc5.entry.js.map +0 -1
  407. package/dist/pine-core/p-307b456a.entry.js +0 -2
  408. package/dist/pine-core/p-307b456a.entry.js.map +0 -1
  409. package/dist/pine-core/p-31fe86a6.entry.js.map +0 -1
  410. package/dist/pine-core/p-38248640.entry.js +0 -2
  411. package/dist/pine-core/p-38248640.entry.js.map +0 -1
  412. package/dist/pine-core/p-3fd658ad.system.entry.js +0 -2
  413. package/dist/pine-core/p-3fd658ad.system.entry.js.map +0 -1
  414. package/dist/pine-core/p-447fa824.system.entry.js +0 -2
  415. package/dist/pine-core/p-447fa824.system.entry.js.map +0 -1
  416. package/dist/pine-core/p-495a206d.entry.js +0 -2
  417. package/dist/pine-core/p-495a206d.entry.js.map +0 -1
  418. package/dist/pine-core/p-708c66c2.entry.js +0 -2
  419. package/dist/pine-core/p-708c66c2.entry.js.map +0 -1
  420. package/dist/pine-core/p-982edcaf.system.entry.js.map +0 -1
  421. package/dist/pine-core/p-BlpTiOHo.system.js.map +0 -1
  422. package/dist/pine-core/p-BsL2GDnH.system.js +0 -2
  423. package/dist/pine-core/p-CLsVcJCa.system.js.map +0 -1
  424. package/dist/pine-core/p-CUHK9C55.system.js.map +0 -1
  425. package/dist/pine-core/p-C_8VmA8d.system.js +0 -3
  426. package/dist/pine-core/p-C_8VmA8d.system.js.map +0 -1
  427. package/dist/pine-core/p-Ctwx2R4g.system.js.map +0 -1
  428. package/dist/pine-core/p-CuIq_L5Z.system.js +0 -2
  429. package/dist/pine-core/p-CuIq_L5Z.system.js.map +0 -1
  430. package/dist/pine-core/p-DJPo1iGw.system.js.map +0 -1
  431. package/dist/pine-core/p-DxydR7R6.system.js.map +0 -1
  432. package/dist/pine-core/p-Uh5ntVcq.js +0 -3
  433. package/dist/pine-core/p-Uh5ntVcq.js.map +0 -1
  434. package/dist/pine-core/p-d2d6b3a6.system.entry.js +0 -2
  435. package/dist/pine-core/p-d2d6b3a6.system.entry.js.map +0 -1
  436. package/dist/pine-core/p-e68dd704.system.entry.js +0 -2
  437. package/dist/pine-core/p-e68dd704.system.entry.js.map +0 -1
  438. package/dist/pine-core/p-ec1c3452.system.entry.js.map +0 -1
  439. package/dist/pine-core/p-f455deb5.entry.js +0 -2
  440. /package/dist/pine-core/{p-fd3b7077.entry.js.map → p-0066d249.entry.js.map} +0 -0
  441. /package/dist/pine-core/{p-c5da4a97.system.entry.js.map → p-0199e3e9.system.entry.js.map} +0 -0
  442. /package/dist/pine-core/{p-9d8bb7f7.system.entry.js.map → p-051ff780.system.entry.js.map} +0 -0
  443. /package/dist/pine-core/{p-2a2cd90d.entry.js.map → p-064e3d73.entry.js.map} +0 -0
  444. /package/dist/pine-core/{p-90a8d1bd.entry.js.map → p-075eecf9.entry.js.map} +0 -0
  445. /package/dist/pine-core/{p-3df372d1.entry.js.map → p-0a4fc9c7.entry.js.map} +0 -0
  446. /package/dist/pine-core/{p-e7322ff9.system.entry.js.map → p-0d8a2a39.system.entry.js.map} +0 -0
  447. /package/dist/pine-core/{p-30449e82.entry.js.map → p-0dbb2ae9.entry.js.map} +0 -0
  448. /package/dist/pine-core/{p-667eb50e.entry.js.map → p-11d4036e.entry.js.map} +0 -0
  449. /package/dist/pine-core/{p-f29baa16.entry.js.map → p-126197e5.entry.js.map} +0 -0
  450. /package/dist/pine-core/{p-b6d18604.entry.js.map → p-13ac0852.entry.js.map} +0 -0
  451. /package/dist/pine-core/{p-d64527b2.system.entry.js.map → p-14b424ab.system.entry.js.map} +0 -0
  452. /package/dist/pine-core/{p-ee0117a2.entry.js.map → p-17c2f3fb.entry.js.map} +0 -0
  453. /package/dist/pine-core/{p-eef645bd.system.entry.js.map → p-1858ad6d.system.entry.js.map} +0 -0
  454. /package/dist/pine-core/{p-f7c02b89.entry.js.map → p-1a5e79af.entry.js.map} +0 -0
  455. /package/dist/pine-core/{p-383af1d4.system.entry.js.map → p-276a6a8b.system.entry.js.map} +0 -0
  456. /package/dist/pine-core/{p-160c6806.system.entry.js.map → p-2aad0209.system.entry.js.map} +0 -0
  457. /package/dist/pine-core/{p-2f0aedfa.entry.js.map → p-2b48499b.entry.js.map} +0 -0
  458. /package/dist/pine-core/{p-357b6dd6.system.entry.js.map → p-2fb60757.system.entry.js.map} +0 -0
  459. /package/dist/pine-core/{p-5a1af174.entry.js.map → p-33016dd0.entry.js.map} +0 -0
  460. /package/dist/pine-core/{p-d451c7b5.system.entry.js.map → p-39488f2c.system.entry.js.map} +0 -0
  461. /package/dist/pine-core/{p-000ed179.entry.js.map → p-3e6229cc.entry.js.map} +0 -0
  462. /package/dist/pine-core/{p-e0a6ba6f.system.entry.js.map → p-3f83d4c4.system.entry.js.map} +0 -0
  463. /package/dist/pine-core/{p-2fbc5f8c.system.entry.js.map → p-41bf807f.system.entry.js.map} +0 -0
  464. /package/dist/pine-core/{p-91520803.system.entry.js.map → p-487552a9.system.entry.js.map} +0 -0
  465. /package/dist/pine-core/{p-b214c043.entry.js.map → p-4e5b9d19.entry.js.map} +0 -0
  466. /package/dist/pine-core/{p-62bc2080.system.entry.js.map → p-51d83489.system.entry.js.map} +0 -0
  467. /package/dist/pine-core/{p-f4fff209.system.entry.js.map → p-52af1890.system.entry.js.map} +0 -0
  468. /package/dist/pine-core/{p-256d15bc.system.entry.js.map → p-55bf6be2.system.entry.js.map} +0 -0
  469. /package/dist/pine-core/{p-47a7a65b.entry.js.map → p-5a709348.entry.js.map} +0 -0
  470. /package/dist/pine-core/{p-7a431264.system.entry.js.map → p-5c87077e.system.entry.js.map} +0 -0
  471. /package/dist/pine-core/{p-d6b1f60d.system.entry.js.map → p-6438a29d.system.entry.js.map} +0 -0
  472. /package/dist/pine-core/{p-6ef51211.entry.js.map → p-66b10d29.entry.js.map} +0 -0
  473. /package/dist/pine-core/{p-b93825c4.system.entry.js.map → p-6d601fc2.system.entry.js.map} +0 -0
  474. /package/dist/pine-core/{p-5fdbbab9.entry.js.map → p-6fd385ec.entry.js.map} +0 -0
  475. /package/dist/pine-core/{p-7da6180d.system.entry.js.map → p-7a95a90f.system.entry.js.map} +0 -0
  476. /package/dist/pine-core/{p-d989287d.entry.js.map → p-7c867f1b.entry.js.map} +0 -0
  477. /package/dist/pine-core/{p-e416f7a8.system.entry.js.map → p-7eb4ac7c.system.entry.js.map} +0 -0
  478. /package/dist/pine-core/{p-e53547e2.system.entry.js.map → p-81a28f54.system.entry.js.map} +0 -0
  479. /package/dist/pine-core/{p-faaa1caa.system.entry.js.map → p-89d9f273.system.entry.js.map} +0 -0
  480. /package/dist/pine-core/{p-36d3352a.entry.js.map → p-8cb99f2f.entry.js.map} +0 -0
  481. /package/dist/pine-core/{p-82388e60.entry.js.map → p-91c6bd68.entry.js.map} +0 -0
  482. /package/dist/pine-core/{p-64c897bb.entry.js.map → p-94982c57.entry.js.map} +0 -0
  483. /package/dist/pine-core/{p-ef08f005.entry.js.map → p-978e722a.entry.js.map} +0 -0
  484. /package/dist/pine-core/{p-cc15bf6c.system.entry.js.map → p-9860d0a8.system.entry.js.map} +0 -0
  485. /package/dist/pine-core/{p-61b7ff04.system.entry.js.map → p-9afcab0c.system.entry.js.map} +0 -0
  486. /package/dist/pine-core/{p-3b43a1ea.entry.js.map → p-a54f1d9e.entry.js.map} +0 -0
  487. /package/dist/pine-core/{p-f455deb5.entry.js.map → p-a7204f01.entry.js.map} +0 -0
  488. /package/dist/pine-core/{p-9df7ba40.system.entry.js.map → p-adf2449e.system.entry.js.map} +0 -0
  489. /package/dist/pine-core/{p-e0a35811.system.entry.js.map → p-b2b405ca.system.entry.js.map} +0 -0
  490. /package/dist/pine-core/{p-d21156cf.entry.js.map → p-b956922a.entry.js.map} +0 -0
  491. /package/dist/pine-core/{p-5706c81b.system.entry.js.map → p-b9fe17b8.system.entry.js.map} +0 -0
  492. /package/dist/pine-core/{p-af5c9fbd.system.entry.js.map → p-c1099665.system.entry.js.map} +0 -0
  493. /package/dist/pine-core/{p-0c6e9ba0.system.entry.js.map → p-c1115d78.system.entry.js.map} +0 -0
  494. /package/dist/pine-core/{p-6d36fae0.entry.js.map → p-c16d01cc.entry.js.map} +0 -0
  495. /package/dist/pine-core/{p-b5dc7a18.entry.js.map → p-c1a1475e.entry.js.map} +0 -0
  496. /package/dist/pine-core/{p-5033d9e8.entry.js.map → p-c652847a.entry.js.map} +0 -0
  497. /package/dist/pine-core/{p-4d22ca40.entry.js.map → p-c82c277f.entry.js.map} +0 -0
  498. /package/dist/pine-core/{p-f9005ac9.entry.js.map → p-c82d0a99.entry.js.map} +0 -0
  499. /package/dist/pine-core/{p-c93786f1.system.entry.js.map → p-ce0d9f05.system.entry.js.map} +0 -0
  500. /package/dist/pine-core/{p-9b8a3659.system.entry.js.map → p-cf5506db.system.entry.js.map} +0 -0
  501. /package/dist/pine-core/{p-c5a7c8e9.system.entry.js.map → p-d08ecd18.system.entry.js.map} +0 -0
  502. /package/dist/pine-core/{p-4a69106a.system.entry.js.map → p-d6d87fbc.system.entry.js.map} +0 -0
  503. /package/dist/pine-core/{p-80246c79.entry.js.map → p-df15e16a.entry.js.map} +0 -0
  504. /package/dist/pine-core/{p-d0ec666b.entry.js.map → p-e05135c5.entry.js.map} +0 -0
  505. /package/dist/pine-core/{p-39fbd912.entry.js.map → p-e30601a6.entry.js.map} +0 -0
  506. /package/dist/pine-core/{p-1e056ca3.system.entry.js.map → p-e3fb0bc2.system.entry.js.map} +0 -0
  507. /package/dist/pine-core/{p-3bbb6fc1.entry.js.map → p-e8d76117.entry.js.map} +0 -0
  508. /package/dist/pine-core/{p-f30b1479.entry.js.map → p-ed94947b.entry.js.map} +0 -0
  509. /package/dist/pine-core/{p-822e90ee.entry.js.map → p-f2da93ea.entry.js.map} +0 -0
  510. /package/dist/pine-core/{p-9cc1844a.system.entry.js.map → p-f647c1af.system.entry.js.map} +0 -0
  511. /package/dist/pine-core/{p-1ef5f46b.system.entry.js.map → p-f9bd0bc2.system.entry.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-CxX7ua5d.js');
3
+ var index = require('./index-g-uSeICs.js');
4
4
  var appGlobals = require('./app-globals-V2Kpy_OQ.js');
5
5
 
6
6
  var _documentCurrentScript = typeof document !== 'undefined' ? document.currentScript : null;
@@ -19,7 +19,7 @@ var patchBrowser = () => {
19
19
 
20
20
  patchBrowser().then(async (options) => {
21
21
  await appGlobals.globalScripts();
22
- return index.bootstrapLazy([["pds-alert.cjs",[[1,"pds-alert",{"componentId":[1,"component-id"],"heading":[1],"small":[4],"dismissible":[4],"variant":[1],"hasActionsContent":[32]}]]],["pds-copytext.cjs",[[1,"pds-copytext",{"border":[516],"componentId":[1,"component-id"],"fullWidth":[4,"full-width"],"truncate":[4],"value":[1]}]]],["pds-table-head.cjs",[[1,"pds-table-head",{"indeterminate":[1028],"isSelected":[1028,"is-selected"]}]]],["pds-table-row.cjs",[[1,"pds-table-row",{"indeterminate":[1028],"isSelected":[1028,"is-selected"]}]]],["pds-combobox.cjs",[[1,"pds-combobox",{"componentId":[1,"component-id"],"customOptionLayouts":[4,"custom-option-layouts"],"customTriggerContent":[4,"custom-trigger-content"],"disabled":[4],"dropdownPlacement":[1,"dropdown-placement"],"dropdownWidth":[1,"dropdown-width"],"hideLabel":[4,"hide-label"],"label":[1],"maxHeight":[1,"max-height"],"mode":[1],"placeholder":[1],"trigger":[1],"triggerWidth":[1,"trigger-width"],"triggerVariant":[1,"trigger-variant"],"value":[1025],"filteredOptions":[32],"highlightedIndex":[32],"isOpen":[32],"selectedOption":[32],"selectedOptionLayoutContent":[32],"setFocus":[64],"getSelectedValue":[64]},null,{"value":["handleValueChange"],"selectedOption":["handleSelectedOptionChange"]}]]],["pds-dropdown-menu-item.cjs",[[1,"pds-dropdown-menu-item",{"componentId":[1,"component-id"],"destructive":[4],"disabled":[4],"href":[1],"hasFocus":[32],"clickItem":[64]}]]],["pds-property.cjs",[[1,"pds-property",{"componentId":[1,"component-id"],"icon":[1]}]]],["pds-accordion.cjs",[[1,"pds-accordion",{"componentId":[1,"component-id"],"isOpen":[1540,"open"]},null,{"isOpen":["handleOpenState"]}]]],["pds-avatar.cjs",[[1,"pds-avatar",{"alt":[1],"badge":[4],"componentId":[1,"component-id"],"dropdown":[4],"image":[1],"size":[513],"variant":[513]}]]],["pds-chip.cjs",[[1,"pds-chip",{"componentId":[1,"component-id"],"dot":[4],"icon":[1],"large":[4],"sentiment":[1],"variant":[1]}]]],["pds-dropdown-menu.cjs",[[1,"pds-dropdown-menu",{"componentId":[1,"component-id"],"placement":[1],"currentFocusIndex":[32]},[[8,"keydown","handleKeyDown"],[8,"click","handleWindowClick"]]]]],["pds-input.cjs",[[1,"pds-input",{"autocomplete":[1],"componentId":[1,"component-id"],"debounce":[2],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"max":[1],"maxlength":[1],"min":[1],"minlength":[1],"name":[1],"pattern":[1],"placeholder":[1],"readonly":[4],"required":[4],"step":[1],"type":[1],"value":[1032],"hasPrefix":[32],"hasSuffix":[32],"hasPrepend":[32],"hasAppend":[32],"hasAction":[32],"hasFocus":[32],"setFocus":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["pds-radio.cjs",[[2,"pds-radio",{"checked":[4],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"required":[4],"value":[1]}]]],["pds-select.cjs",[[1,"pds-select",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"multiple":[4],"name":[1],"required":[4],"value":[1025]},null,{"value":["valueChanged"]}]]],["pds-sortable-item.cjs",[[6,"pds-sortable-item",{"enableActions":[4,"enable-actions"],"componentId":[1,"component-id"],"showHandle":[1028,"show-handle"]}]]],["pds-switch.cjs",[[1,"pds-switch",{"componentId":[1,"component-id"],"checked":[1028],"disabled":[4],"errorMessage":[1,"error-message"],"hideLabel":[4,"hide-label"],"helperMessage":[1,"helper-message"],"invalid":[4],"label":[1],"name":[1],"required":[4],"value":[1]}]]],["pds-textarea.cjs",[[1,"pds-textarea",{"autocomplete":[1],"componentId":[1,"component-id"],"disabled":[4],"debounce":[2],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"invalid":[1028],"label":[1],"name":[1],"placeholder":[1],"readonly":[4],"required":[4],"rows":[2],"value":[1025],"hasFocus":[32],"hasAction":[32],"setFocus":[64]},null,{"debounce":["debounceChanged"],"value":["valueChanged"]}]]],["pds-toast.cjs",[[1,"pds-toast",{"componentId":[1,"component-id"],"dismissible":[4],"duration":[2],"icon":[1],"type":[1],"isVisible":[32],"isAnimatingOut":[32],"dismiss":[64]},null,{"duration":["handleDurationChange"]}]]],["mock-pds-modal.cjs",[[4,"mock-pds-modal",{"componentId":[1,"component-id"],"size":[1],"backdropDismiss":[4,"backdrop-dismiss"],"open":[1028],"showModal":[64],"hideModal":[64]}]]],["pds-divider.cjs",[[1,"pds-divider",{"componentId":[1,"component-id"],"offset":[1],"vertical":[4]}]]],["pds-dropdown-menu-separator.cjs",[[1,"pds-dropdown-menu-separator",{"componentId":[1,"component-id"],"disabled":[4]}]]],["pds-image.cjs",[[1,"pds-image",{"alt":[1],"componentId":[1,"component-id"],"height":[2],"loading":[1],"sizes":[1],"src":[1],"srcset":[1],"width":[2]}]]],["pds-modal.cjs",[[4,"pds-modal",{"backdropDismiss":[4,"backdrop-dismiss"],"componentId":[1,"component-id"],"open":[1028],"size":[1],"focusableElementsArray":[32],"showModal":[64],"hideModal":[64]},null,{"open":["handleOpenChange"]}]]],["pds-modal-content.cjs",[[4,"pds-modal-content",{"border":[513],"contentMaxHeight":[32]}]]],["pds-modal-footer.cjs",[[4,"pds-modal-footer"]]],["pds-modal-header.cjs",[[4,"pds-modal-header"]]],["pds-popover.cjs",[[1,"pds-popover",{"popoverTargetAction":[1,"popover-target-action"],"popoverType":[1,"popover-type"],"componentId":[1,"component-id"],"text":[1],"maxWidth":[2,"max-width"],"placement":[513],"active":[32]},[[2,"click","handleClick"],[11,"scroll","handleScroll"]]]]],["pds-progress.cjs",[[1,"pds-progress",{"animated":[4],"componentId":[1,"component-id"],"fillColor":[1,"fill-color"],"label":[1],"percent":[2],"showPercent":[4,"show-percent"]}]]],["pds-row.cjs",[[0,"pds-row",{"alignItems":[1,"align-items"],"border":[4],"colGap":[1,"col-gap"],"componentId":[1,"component-id"],"justifyContent":[1,"justify-content"],"minHeight":[1,"min-height"],"noWrap":[4,"no-wrap"]}]]],["pds-sortable.cjs",[[6,"pds-sortable",{"border":[516],"componentId":[1,"component-id"],"dividers":[516],"handleType":[1,"handle-type"]}]]],["pds-tab.cjs",[[4,"pds-tab",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"index":[2],"selected":[4]}]]],["pds-table.cjs",[[1,"pds-table",{"compact":[4],"componentId":[1,"component-id"],"responsive":[4],"fixedColumn":[4,"fixed-column"],"selectable":[4],"sortingColumn":[32],"sortingDirection":[32]},[[0,"pdsTableSort","handleTableSort"],[0,"pdsTableSelectAll","handleTableSelectAll"],[0,"pdsTableRowSelected","handleTableSelect"]]]]],["pds-table-body.cjs",[[1,"pds-table-body"]]],["pds-tabpanel.cjs",[[4,"pds-tabpanel",{"name":[1],"parentComponentId":[1,"parent-component-id"],"variant":[1],"selected":[1028]}]]],["pds-tabs.cjs",[[1,"pds-tabs",{"tablistLabel":[1,"tablist-label"],"componentId":[1,"component-id"],"variant":[1],"activeTabName":[1025,"active-tab-name"],"activeTabIndex":[1026,"active-tab-index"]},[[16,"pdsTabClick","tabClickHandler"],[0,"keydown","handleKeyDown"]]]]],["pds-tooltip.cjs",[[4,"pds-tooltip",{"content":[1],"componentId":[1,"component-id"],"hasArrow":[4,"has-arrow"],"htmlContent":[4,"html-content"],"placement":[513],"maxWidth":[1,"max-width"],"opened":[1540],"_isInteractiveOpen":[32],"isOpen":[32],"showTooltip":[64],"hideTooltip":[64]},null,{"opened":["handleOpenToggle"]}]]],["pds-button.cjs",[[1,"pds-button",{"componentId":[1,"component-id"],"disabled":[4],"fullWidth":[4,"full-width"],"href":[1],"icon":[1],"iconOnly":[4,"icon-only"],"loading":[4],"name":[1],"target":[1],"type":[1],"value":[1],"variant":[1]}]]],["pds-link.cjs",[[1,"pds-link",{"color":[1],"componentId":[1,"component-id"],"external":[4],"variant":[1],"fontSize":[1,"font-size"],"href":[1]}]]],["pds-table-head-cell.cjs",[[1,"pds-table-head-cell",{"sortable":[4],"sortingDirection":[32],"tableScrolling":[32],"isSelected":[32]}]]],["pds-table-cell.cjs",[[1,"pds-table-cell",{"truncate":[4],"tableScrolling":[32]}]]],["pds-text.cjs",[[1,"pds-text",{"align":[1],"color":[1],"decoration":[1],"gutter":[1],"italic":[4],"size":[1],"weight":[1],"tag":[1],"truncate":[516]}]]],["pds-checkbox.cjs",[[1,"pds-checkbox",{"checked":[1028],"componentId":[1,"component-id"],"disabled":[4],"errorMessage":[1,"error-message"],"helperMessage":[1,"helper-message"],"indeterminate":[1028],"invalid":[4],"label":[1],"hideLabel":[4,"hide-label"],"name":[1],"required":[4],"value":[1]},null,{"checked":["updateIndeterminate"]}]]],["pds-loader.cjs",[[1,"pds-loader",{"isLoading":[4,"is-loading"],"showLabel":[4,"show-label"],"size":[513],"variant":[1]}]]],["pds-box.cjs",[[0,"pds-box",{"alignItems":[1,"align-items"],"alignSelf":[1,"align-self"],"auto":[4],"backgroundColor":[1,"background-color"],"border":[4],"borderColor":[1,"border-color"],"borderRadius":[1,"border-radius"],"direction":[1],"display":[1],"fit":[4],"gap":[1],"flex":[1],"justifyContent":[1,"justify-content"],"marginBlockStart":[1,"margin-block-start"],"marginInlineStart":[1,"margin-inline-start"],"marginInlineEnd":[1,"margin-inline-end"],"marginBlockEnd":[1,"margin-block-end"],"minHeight":[1,"min-height"],"minWidth":[1,"min-width"],"offset":[1],"offsetXs":[1,"offset-xs"],"offsetSm":[1,"offset-sm"],"offsetMd":[1,"offset-md"],"offsetLg":[1,"offset-lg"],"offsetXl":[1,"offset-xl"],"padding":[1],"paddingBlockStart":[1,"padding-block-start"],"paddingBlockEnd":[1,"padding-block-end"],"paddingInlineStart":[1,"padding-inline-start"],"paddingInlineEnd":[1,"padding-inline-end"],"shadow":[1],"size":[1],"sizeXs":[1,"size-xs"],"sizeSm":[1,"size-sm"],"sizeMd":[1,"size-md"],"sizeLg":[1,"size-lg"],"sizeXl":[1,"size-xl"]}]]],["pds-icon.cjs",[[1,"pds-icon",{"color":[1],"flipRtl":[4,"flip-rtl"],"icon":[8],"name":[513],"size":[513],"src":[1],"ariaLabel":[32],"isVisible":[32],"svgContent":[32]},null,{"size":["updateStyles"],"color":["updateStyles"],"name":["onIconPropertyChange"],"src":["onIconPropertyChange"],"icon":["onIconPropertyChange"]}]]]], options);
22
+ return index.bootstrapLazy(JSON.parse("[[\"pds-alert.cjs\",[[1,\"pds-alert\",{\"componentId\":[1,\"component-id\"],\"heading\":[1],\"small\":[4],\"dismissible\":[4],\"variant\":[1],\"hasActionsContent\":[32]}]]],[\"pds-copytext.cjs\",[[1,\"pds-copytext\",{\"border\":[516],\"componentId\":[1,\"component-id\"],\"fullWidth\":[4,\"full-width\"],\"truncate\":[4],\"value\":[1]}]]],[\"pds-table-head.cjs\",[[1,\"pds-table-head\",{\"indeterminate\":[1028],\"isSelected\":[1028,\"is-selected\"]}]]],[\"pds-table-row.cjs\",[[1,\"pds-table-row\",{\"indeterminate\":[1028],\"isSelected\":[1028,\"is-selected\"]}]]],[\"pds-combobox.cjs\",[[1,\"pds-combobox\",{\"componentId\":[1,\"component-id\"],\"customOptionLayouts\":[4,\"custom-option-layouts\"],\"customTriggerContent\":[4,\"custom-trigger-content\"],\"disabled\":[4],\"dropdownPlacement\":[1,\"dropdown-placement\"],\"dropdownWidth\":[1,\"dropdown-width\"],\"hideLabel\":[4,\"hide-label\"],\"label\":[1],\"maxHeight\":[1,\"max-height\"],\"mode\":[1],\"placeholder\":[1],\"trigger\":[1],\"triggerWidth\":[1,\"trigger-width\"],\"triggerVariant\":[1,\"trigger-variant\"],\"value\":[1025],\"filteredOptions\":[32],\"highlightedIndex\":[32],\"isOpen\":[32],\"selectedOption\":[32],\"selectedOptionLayoutContent\":[32],\"setFocus\":[64],\"getSelectedValue\":[64]},null,{\"value\":[\"handleValueChange\"],\"selectedOption\":[\"handleSelectedOptionChange\"]}]]],[\"pds-dropdown-menu-item.cjs\",[[1,\"pds-dropdown-menu-item\",{\"componentId\":[1,\"component-id\"],\"destructive\":[4],\"disabled\":[4],\"href\":[1],\"hasFocus\":[32],\"clickItem\":[64]}]]],[\"pds-property.cjs\",[[1,\"pds-property\",{\"componentId\":[1,\"component-id\"],\"icon\":[1]}]]],[\"pds-accordion.cjs\",[[1,\"pds-accordion\",{\"componentId\":[1,\"component-id\"],\"isOpen\":[1540,\"open\"]},null,{\"isOpen\":[\"handleOpenState\"]}]]],[\"pds-avatar.cjs\",[[1,\"pds-avatar\",{\"alt\":[1],\"badge\":[4],\"componentId\":[1,\"component-id\"],\"dropdown\":[4],\"image\":[1],\"size\":[513],\"variant\":[513]}]]],[\"pds-chip.cjs\",[[1,\"pds-chip\",{\"componentId\":[1,\"component-id\"],\"dot\":[4],\"icon\":[1],\"large\":[4],\"sentiment\":[1],\"variant\":[1]}]]],[\"pds-dropdown-menu.cjs\",[[1,\"pds-dropdown-menu\",{\"componentId\":[1,\"component-id\"],\"placement\":[1],\"currentFocusIndex\":[32]},[[8,\"keydown\",\"handleKeyDown\"],[8,\"click\",\"handleWindowClick\"]]]]],[\"pds-input.cjs\",[[65,\"pds-input\",{\"autocomplete\":[1],\"componentId\":[1,\"component-id\"],\"debounce\":[2],\"disabled\":[4],\"errorMessage\":[1,\"error-message\"],\"helperMessage\":[1,\"helper-message\"],\"invalid\":[4],\"label\":[1],\"max\":[1],\"maxlength\":[1],\"min\":[1],\"minlength\":[1],\"name\":[1],\"pattern\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"step\":[1],\"type\":[1],\"value\":[1032],\"fullWidth\":[4,\"full-width\"],\"hasPrefix\":[32],\"hasSuffix\":[32],\"hasPrepend\":[32],\"hasAppend\":[32],\"hasAction\":[32],\"hasFocus\":[32],\"setFocus\":[64]},null,{\"debounce\":[\"debounceChanged\"],\"value\":[\"valueChanged\"]}]]],[\"pds-radio.cjs\",[[2,\"pds-radio\",{\"checked\":[4],\"componentId\":[1,\"component-id\"],\"disabled\":[4],\"errorMessage\":[1,\"error-message\"],\"helperMessage\":[1,\"helper-message\"],\"invalid\":[4],\"label\":[1],\"hideLabel\":[4,\"hide-label\"],\"name\":[1],\"required\":[4],\"value\":[1]}]]],[\"pds-select.cjs\",[[65,\"pds-select\",{\"autocomplete\":[1],\"componentId\":[1,\"component-id\"],\"disabled\":[4],\"errorMessage\":[1,\"error-message\"],\"hideLabel\":[4,\"hide-label\"],\"helperMessage\":[1,\"helper-message\"],\"invalid\":[4],\"label\":[1],\"multiple\":[4],\"name\":[1],\"required\":[4],\"value\":[1025]},null,{\"value\":[\"valueChanged\"]}]]],[\"pds-sortable-item.cjs\",[[6,\"pds-sortable-item\",{\"enableActions\":[4,\"enable-actions\"],\"componentId\":[1,\"component-id\"],\"showHandle\":[1028,\"show-handle\"]}]]],[\"pds-switch.cjs\",[[1,\"pds-switch\",{\"componentId\":[1,\"component-id\"],\"checked\":[1028],\"disabled\":[4],\"errorMessage\":[1,\"error-message\"],\"hideLabel\":[4,\"hide-label\"],\"helperMessage\":[1,\"helper-message\"],\"invalid\":[4],\"label\":[1],\"name\":[1],\"required\":[4],\"value\":[1]}]]],[\"pds-textarea.cjs\",[[65,\"pds-textarea\",{\"autocomplete\":[1],\"componentId\":[1,\"component-id\"],\"disabled\":[4],\"debounce\":[2],\"errorMessage\":[1,\"error-message\"],\"helperMessage\":[1,\"helper-message\"],\"invalid\":[1028],\"label\":[1],\"name\":[1],\"placeholder\":[1],\"readonly\":[4],\"required\":[4],\"rows\":[2],\"value\":[1025],\"hasFocus\":[32],\"hasAction\":[32],\"setFocus\":[64]},null,{\"debounce\":[\"debounceChanged\"],\"value\":[\"valueChanged\"]}]]],[\"pds-toast.cjs\",[[1,\"pds-toast\",{\"componentId\":[1,\"component-id\"],\"dismissible\":[4],\"duration\":[2],\"icon\":[1],\"type\":[1],\"isVisible\":[32],\"isAnimatingOut\":[32],\"dismiss\":[64]},null,{\"duration\":[\"handleDurationChange\"]}]]],[\"mock-pds-modal.cjs\",[[4,\"mock-pds-modal\",{\"componentId\":[1,\"component-id\"],\"size\":[1],\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"open\":[1028],\"showModal\":[64],\"hideModal\":[64]}]]],[\"pds-divider.cjs\",[[1,\"pds-divider\",{\"componentId\":[1,\"component-id\"],\"offset\":[1],\"vertical\":[4]}]]],[\"pds-dropdown-menu-separator.cjs\",[[1,\"pds-dropdown-menu-separator\",{\"componentId\":[1,\"component-id\"],\"disabled\":[4]}]]],[\"pds-image.cjs\",[[1,\"pds-image\",{\"alt\":[1],\"componentId\":[1,\"component-id\"],\"height\":[2],\"loading\":[1],\"sizes\":[1],\"src\":[1],\"srcset\":[1],\"width\":[2]}]]],[\"pds-modal.cjs\",[[4,\"pds-modal\",{\"backdropDismiss\":[4,\"backdrop-dismiss\"],\"componentId\":[1,\"component-id\"],\"open\":[1028],\"size\":[1],\"focusableElementsArray\":[32],\"showModal\":[64],\"hideModal\":[64]},null,{\"open\":[\"handleOpenChange\"]}]]],[\"pds-modal-content.cjs\",[[4,\"pds-modal-content\",{\"border\":[513],\"contentMaxHeight\":[32]}]]],[\"pds-modal-footer.cjs\",[[4,\"pds-modal-footer\"]]],[\"pds-modal-header.cjs\",[[4,\"pds-modal-header\"]]],[\"pds-popover.cjs\",[[1,\"pds-popover\",{\"popoverTargetAction\":[1,\"popover-target-action\"],\"popoverType\":[1,\"popover-type\"],\"componentId\":[1,\"component-id\"],\"text\":[1],\"maxWidth\":[2,\"max-width\"],\"placement\":[513],\"active\":[32]},[[2,\"click\",\"handleClick\"],[11,\"scroll\",\"handleScroll\"]]]]],[\"pds-progress.cjs\",[[1,\"pds-progress\",{\"animated\":[4],\"componentId\":[1,\"component-id\"],\"fillColor\":[1,\"fill-color\"],\"label\":[1],\"percent\":[2],\"showPercent\":[4,\"show-percent\"]}]]],[\"pds-row.cjs\",[[0,\"pds-row\",{\"alignItems\":[1,\"align-items\"],\"border\":[4],\"colGap\":[1,\"col-gap\"],\"componentId\":[1,\"component-id\"],\"justifyContent\":[1,\"justify-content\"],\"minHeight\":[1,\"min-height\"],\"noWrap\":[4,\"no-wrap\"]}]]],[\"pds-sortable.cjs\",[[6,\"pds-sortable\",{\"border\":[516],\"componentId\":[1,\"component-id\"],\"dividers\":[516],\"handleType\":[1,\"handle-type\"]}]]],[\"pds-tab.cjs\",[[4,\"pds-tab\",{\"name\":[1],\"parentComponentId\":[1,\"parent-component-id\"],\"variant\":[1],\"index\":[2],\"selected\":[4]}]]],[\"pds-table.cjs\",[[1,\"pds-table\",{\"compact\":[4],\"componentId\":[1,\"component-id\"],\"responsive\":[4],\"fixedColumn\":[4,\"fixed-column\"],\"selectable\":[4],\"sortingColumn\":[32],\"sortingDirection\":[32]},[[0,\"pdsTableSort\",\"handleTableSort\"],[0,\"pdsTableSelectAll\",\"handleTableSelectAll\"],[0,\"pdsTableRowSelected\",\"handleTableSelect\"]]]]],[\"pds-table-body.cjs\",[[1,\"pds-table-body\"]]],[\"pds-tabpanel.cjs\",[[4,\"pds-tabpanel\",{\"name\":[1],\"parentComponentId\":[1,\"parent-component-id\"],\"variant\":[1],\"selected\":[1028]}]]],[\"pds-tabs.cjs\",[[1,\"pds-tabs\",{\"tablistLabel\":[1,\"tablist-label\"],\"componentId\":[1,\"component-id\"],\"variant\":[1],\"activeTabName\":[1025,\"active-tab-name\"],\"activeTabIndex\":[1026,\"active-tab-index\"]},[[16,\"pdsTabClick\",\"tabClickHandler\"],[0,\"keydown\",\"handleKeyDown\"]]]]],[\"pds-tooltip.cjs\",[[4,\"pds-tooltip\",{\"content\":[1],\"componentId\":[1,\"component-id\"],\"hasArrow\":[4,\"has-arrow\"],\"htmlContent\":[4,\"html-content\"],\"placement\":[513],\"maxWidth\":[1,\"max-width\"],\"opened\":[1540],\"_isInteractiveOpen\":[32],\"isOpen\":[32],\"showTooltip\":[64],\"hideTooltip\":[64]},null,{\"opened\":[\"handleOpenToggle\"]}]]],[\"pds-button.cjs\",[[1,\"pds-button\",{\"componentId\":[1,\"component-id\"],\"disabled\":[4],\"fullWidth\":[4,\"full-width\"],\"href\":[1],\"icon\":[1],\"iconOnly\":[4,\"icon-only\"],\"loading\":[4],\"name\":[1],\"target\":[1],\"type\":[1],\"value\":[1],\"variant\":[1]}]]],[\"pds-link.cjs\",[[1,\"pds-link\",{\"color\":[1],\"componentId\":[1,\"component-id\"],\"external\":[4],\"variant\":[1],\"fontSize\":[1,\"font-size\"],\"href\":[1]}]]],[\"pds-table-head-cell.cjs\",[[1,\"pds-table-head-cell\",{\"sortable\":[4],\"sortingDirection\":[32],\"tableScrolling\":[32],\"isSelected\":[32]}]]],[\"pds-table-cell.cjs\",[[1,\"pds-table-cell\",{\"truncate\":[4],\"tableScrolling\":[32]}]]],[\"pds-text.cjs\",[[1,\"pds-text\",{\"align\":[1],\"color\":[1],\"decoration\":[1],\"gutter\":[1],\"italic\":[4],\"size\":[1],\"weight\":[1],\"tag\":[1],\"truncate\":[516]}]]],[\"pds-checkbox.cjs\",[[1,\"pds-checkbox\",{\"checked\":[1028],\"componentId\":[1,\"component-id\"],\"disabled\":[4],\"errorMessage\":[1,\"error-message\"],\"helperMessage\":[1,\"helper-message\"],\"indeterminate\":[1028],\"invalid\":[4],\"label\":[1],\"hideLabel\":[4,\"hide-label\"],\"name\":[1],\"required\":[4],\"value\":[1]},null,{\"checked\":[\"updateIndeterminate\"]}]]],[\"pds-loader.cjs\",[[1,\"pds-loader\",{\"isLoading\":[4,\"is-loading\"],\"showLabel\":[4,\"show-label\"],\"size\":[513],\"variant\":[1]}]]],[\"pds-box.cjs\",[[0,\"pds-box\",{\"alignItems\":[1,\"align-items\"],\"alignSelf\":[1,\"align-self\"],\"auto\":[4],\"backgroundColor\":[1,\"background-color\"],\"border\":[4],\"borderColor\":[1,\"border-color\"],\"borderRadius\":[1,\"border-radius\"],\"direction\":[1],\"display\":[1],\"fit\":[4],\"gap\":[1],\"flex\":[1],\"justifyContent\":[1,\"justify-content\"],\"marginBlockStart\":[1,\"margin-block-start\"],\"marginInlineStart\":[1,\"margin-inline-start\"],\"marginInlineEnd\":[1,\"margin-inline-end\"],\"marginBlockEnd\":[1,\"margin-block-end\"],\"minHeight\":[1,\"min-height\"],\"minWidth\":[1,\"min-width\"],\"offset\":[1],\"offsetXs\":[1,\"offset-xs\"],\"offsetSm\":[1,\"offset-sm\"],\"offsetMd\":[1,\"offset-md\"],\"offsetLg\":[1,\"offset-lg\"],\"offsetXl\":[1,\"offset-xl\"],\"padding\":[1],\"paddingBlockStart\":[1,\"padding-block-start\"],\"paddingBlockEnd\":[1,\"padding-block-end\"],\"paddingInlineStart\":[1,\"padding-inline-start\"],\"paddingInlineEnd\":[1,\"padding-inline-end\"],\"shadow\":[1],\"size\":[1],\"sizeXs\":[1,\"size-xs\"],\"sizeSm\":[1,\"size-sm\"],\"sizeMd\":[1,\"size-md\"],\"sizeLg\":[1,\"size-lg\"],\"sizeXl\":[1,\"size-xl\"]}]]],[\"pds-icon.cjs\",[[1,\"pds-icon\",{\"color\":[1],\"flipRtl\":[4,\"flip-rtl\"],\"icon\":[8],\"name\":[513],\"size\":[513],\"src\":[1],\"ariaLabel\":[32],\"isVisible\":[32],\"svgContent\":[32]},null,{\"size\":[\"updateStyles\"],\"color\":[\"updateStyles\"],\"name\":[\"onIconPropertyChange\"],\"src\":[\"onIconPropertyChange\"],\"icon\":[\"onIconPropertyChange\"]}]]]]"), options);
23
23
  });
24
24
 
25
25
  exports.setNonce = index.setNonce;
@@ -1073,7 +1073,7 @@ pds-box {
1073
1073
  }
1074
1074
 
1075
1075
  .pds-border-radius-md {
1076
- border-radius: var(--pine-dimension-100);
1076
+ border-radius: var(--pine-dimension-125);
1077
1077
  }
1078
1078
 
1079
1079
  .pds-border-radius-lg {
@@ -6,7 +6,7 @@
6
6
  --pds-button-border-radius-start-start: var(--pine-border-radius-full);
7
7
  --pds-button-border-radius-end-end: var(--pine-border-radius-full);
8
8
  --pds-button-border-radius-end-start: var(--pine-border-radius-full);
9
- --pds-button-min-height: 40px;
9
+ --pds-button-min-height: var(--pine-dimension-450);
10
10
  --color-border-default: transparent;
11
11
  --color-border-disabled: transparent;
12
12
  --color-border-focus: transparent;
@@ -56,7 +56,7 @@
56
56
  font: var(--pine-typography-body-brand-label);
57
57
  letter-spacing: var(--pine-letter-spacing);
58
58
  min-height: var(--pds-button-min-height);
59
- padding: var(--pine-dimension-xs) var(--pine-dimension-sm);
59
+ padding: calc(var(--pine-dimension-xs) - var(--pine-border-width)) var(--pine-dimension-sm);
60
60
  position: relative;
61
61
  text-decoration: none;
62
62
  }
@@ -166,6 +166,7 @@
166
166
  .pds-button__text {
167
167
  align-items: center;
168
168
  display: inline-flex;
169
+ white-space: nowrap;
169
170
  }
170
171
 
171
172
  .pds-button__icon--hidden,
@@ -124,6 +124,7 @@ label {
124
124
 
125
125
  .pds-checkbox__message {
126
126
  color: var(--pine-color-text-message);
127
+ font: var(--pine-typography-body-sm-medium);
127
128
  margin-block-start: 6px;
128
129
  margin-inline-start: var(--pine-dimension-md);
129
130
  width: 100%;
@@ -6,7 +6,7 @@
6
6
  --pds-input-border-radius: var(--pine-dimension-125);
7
7
  --pds-input-border-width: var(--pine-border-width-thin);
8
8
  --pds-input-padding-x: var(--pine-dimension-150);
9
- --pds-input-padding-y: var(--pine-dimension-xs);
9
+ --pds-input-padding-y: calc(var(--pine-dimension-xs) - var(--pine-border-width));
10
10
  --pds-input-font: var(--pine-typography-body);
11
11
  --pds-input-text-color: var(--pine-color-text-active);
12
12
  --pds-input-placeholder-color: var(--pine-color-text-placeholder);
@@ -19,7 +19,7 @@
19
19
  --pds-input-error-border-hover: var(--pine-color-border-danger-hover);
20
20
  --pds-input-addon-background: var(--pine-color-background-subtle);
21
21
  --pds-input-addon-color: var(--pine-color-text-secondary);
22
- --pds-input-field-min-height: calc(var(--pine-dimension-450) + 2px);
22
+ --pds-input-field-min-height: var(--pine-dimension-450);
23
23
  --box-shadow-focus: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);
24
24
  --box-shadow-focus-error: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger);
25
25
  display: inline;
@@ -93,7 +93,7 @@
93
93
  --pds-select-border: var(--pine-border-width-none);
94
94
  --pds-select-border-radius-end-end: var(--pine-dimension-none);
95
95
  --pds-select-border-radius-start-end: var(--pine-dimension-none);
96
- --pds-select-min-height: var(--pine-dimension-450);
96
+ --pds-select-min-height: calc(var(--pine-dimension-450) - calc(2 * var(--pine-border-width)));
97
97
  }
98
98
 
99
99
  /* stylelint-disable-next-line */
@@ -102,7 +102,7 @@
102
102
  --pds-select-border: var(--pine-border-width-none);
103
103
  --pds-select-border-radius-end-start: var(--pine-dimension-none);
104
104
  --pds-select-border-radius-start-start: var(--pine-dimension-none);
105
- --pds-select-min-height: var(--pine-dimension-450);
105
+ --pds-select-min-height: calc(var(--pine-dimension-450) - calc(2 * var(--pine-border-width)));
106
106
  }
107
107
 
108
108
  :host([aria-readonly=true]) input {
@@ -115,6 +115,10 @@
115
115
  border: var(--pds-input-border-width) solid var(--pds-input-border-color-disabled);
116
116
  }
117
117
 
118
+ :host([full-width=true]) {
119
+ width: 100%;
120
+ }
121
+
118
122
  :host([invalid=true])::part(prepend), :host([invalid=true])::part(append) {
119
123
  background-color: var(--pds-input-error-background);
120
124
  border: var(--pds-input-border-width) solid var(--pds-input-error-border);
@@ -123,7 +127,6 @@
123
127
  .pds-input {
124
128
  display: flex;
125
129
  flex-direction: column;
126
- gap: var(--pine-dimension-2xs);
127
130
  }
128
131
 
129
132
  .pds-input__label-wrapper {
@@ -221,7 +224,8 @@
221
224
 
222
225
  .pds-input__error-message,
223
226
  .pds-input__helper-message {
224
- font: var(--pine-typography-body-sm-medium);
227
+ color: var(--pine-color-text-message);
228
+ font: var(--pine-typography-body-sm);
225
229
  margin-block-end: var(--pine-dimension-none);
226
230
  margin-block-start: var(--pine-dimension-2xs);
227
231
  }
@@ -147,9 +147,17 @@ export class PdsInput {
147
147
  // Store the original pdsInput event emitter
148
148
  this.originalPdsInput = this.pdsInput;
149
149
  }
150
+ connectedCallback() {
151
+ // Initialize ElementInternals for form association
152
+ if (this.el.attachInternals) {
153
+ this.internals = this.el.attachInternals();
154
+ }
155
+ }
150
156
  componentDidLoad() {
151
157
  this.debounceChanged();
152
158
  this.updateAddonWidths();
159
+ // Set initial form value
160
+ this.updateFormValue();
153
161
  }
154
162
  componentDidUpdate() {
155
163
  this.updateAddonWidths();
@@ -168,6 +176,8 @@ export class PdsInput {
168
176
  if (nativeInput && nativeInput.value !== value && !this.isComposing) {
169
177
  nativeInput.value = value;
170
178
  }
179
+ // Update form value when value changes
180
+ this.updateFormValue();
171
181
  }
172
182
  getValue() {
173
183
  return typeof this.value === 'number' ? this.value.toString() : (this.value || '').toString();
@@ -190,6 +200,47 @@ export class PdsInput {
190
200
  const newValue = value == null ? value : value.toString();
191
201
  this.pdsInput.emit({ value: newValue, event });
192
202
  }
203
+ /**
204
+ * Updates the form value using ElementInternals API
205
+ */
206
+ updateFormValue() {
207
+ if (this.internals && this.internals.setFormValue) {
208
+ const value = this.getValue();
209
+ this.internals.setFormValue(value || null);
210
+ // Set validity based on native input validation
211
+ if (this.nativeInput && this.internals && this.internals.setValidity) {
212
+ this.internals.setValidity(this.nativeInput.validity, this.nativeInput.validationMessage, this.nativeInput);
213
+ }
214
+ }
215
+ }
216
+ /**
217
+ * Form Associated Custom Elements API: Called when the form is reset
218
+ */
219
+ formResetCallback() {
220
+ this.value = '';
221
+ this.updateFormValue();
222
+ }
223
+ /**
224
+ * Form Associated Custom Elements API: Called when the form is disabled
225
+ */
226
+ formDisabledCallback(disabled) {
227
+ this.disabled = disabled;
228
+ }
229
+ /**
230
+ * Form Associated Custom Elements API: Called to restore form state
231
+ */
232
+ formStateRestoreCallback(state) {
233
+ if (typeof state === 'string') {
234
+ this.value = state;
235
+ }
236
+ else if (state instanceof FormData && this.name) {
237
+ // Extract value from FormData using the input's name
238
+ const value = state.get(this.name);
239
+ if (typeof value === 'string') {
240
+ this.value = value;
241
+ }
242
+ }
243
+ }
193
244
  render() {
194
245
  const { componentId, disabled, errorMessage, helperMessage, invalid = false, label, } = this;
195
246
  const value = this.getValue();
@@ -203,10 +254,11 @@ export class PdsInput {
203
254
  'has-prepend': this.hasPrepend,
204
255
  'has-append': this.hasAppend,
205
256
  };
206
- return (h(Host, { key: 'a8cf9aaa6dc90cb0790a7cad75603a2ebf48451a', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-prefix": this.hasPrefix ? 'true' : null, "has-suffix": this.hasSuffix ? 'true' : null, "has-prepend": this.hasPrepend ? 'true' : null, "has-append": this.hasAppend ? 'true' : null, "has-action": this.hasAction ? 'true' : null }, h("div", { key: '355f87099825b4db4d97500dac2b94a5892a3981', class: "pds-input" }, label && (h("div", { key: 'ee7bdec715478f0945cd1bf6ba435c50e885ebda', class: "pds-input__label-wrapper" }, h("label", { key: '56622a09c8f7313f8c2276363ded8efd2e985fb7', htmlFor: componentId, class: "pds-input__label" }, label, this.required && h("span", { key: 'fb95186cd446e4d338822840423566110ac9dbd0', class: "pds-input__required-indicator" }, " *")), this.renderAction())), h("div", { key: 'c7b209515121ab4e44f054eb817f61e6d9241323', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), h("input", Object.assign({ key: '02f8238ee2b87b7484da0b4b5282ce22c7dd3de1', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (h("p", { key: 'b93e6b54755d300e9093ac78854b52d296703a00', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (h("p", { key: 'bc16a204c2ad99b28759cde1f066b6ba790a5c80', class: "pds-input__error-message", id: messageId(componentId, 'error') }, h("pds-icon", { key: '354293fa6512ff16603e7190a4131096f58ca819', icon: danger, size: "small" }), errorMessage)))));
257
+ return (h(Host, { key: 'eac6a9c04f98b10e4eb6cb3eee49c7ecf4e2d8a2', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-prefix": this.hasPrefix ? 'true' : null, "has-suffix": this.hasSuffix ? 'true' : null, "has-prepend": this.hasPrepend ? 'true' : null, "has-append": this.hasAppend ? 'true' : null, "has-action": this.hasAction ? 'true' : null, "full-width": this.fullWidth ? 'true' : null }, h("div", { key: 'f67b518f3debb5f21cf48bd573126962d81deff5', class: "pds-input" }, label && (h("div", { key: 'a45a7bd41f7d3f8009d2bbf6bcc432c45c0fc733', class: "pds-input__label-wrapper" }, h("label", { key: '31b41266335a5197313d6aa44c277de57afe2f54', htmlFor: componentId, class: "pds-input__label" }, label, this.required && h("span", { key: '4113f0e0e85cb81c5a501e52b3489b125fdb1cbf', class: "pds-input__required-indicator" }, " *")), this.renderAction())), h("div", { key: 'ea99ed08f755dc72517fb1594054250a492340d0', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), h("input", Object.assign({ key: 'b48f1ccb88fdaa96b9e81cb1c459d3bfd1b512e0', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (h("p", { key: '3f84a41082d20917d9ab85051cdfbb7c2a6407ee', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (h("p", { key: 'd991dfdfc44a41640ef0070ce17e52b3f86b7782', class: "pds-input__error-message", id: messageId(componentId, 'error') }, h("pds-icon", { key: '5ea499d7d2f5ff2602dbf39f81df59c06116c6d2', icon: danger, size: "small" }), errorMessage)))));
207
258
  }
208
259
  static get is() { return "pds-input"; }
209
260
  static get encapsulation() { return "shadow"; }
261
+ static get formAssociated() { return true; }
210
262
  static get originalStyleUrls() {
211
263
  return {
212
264
  "$": ["pds-input.tokens.scss", "../../global/styles/utils/label.scss", "pds-input.scss"]
@@ -603,6 +655,25 @@ export class PdsInput {
603
655
  "attribute": "value",
604
656
  "reflect": false,
605
657
  "defaultValue": "''"
658
+ },
659
+ "fullWidth": {
660
+ "type": "boolean",
661
+ "mutable": false,
662
+ "complexType": {
663
+ "original": "boolean",
664
+ "resolved": "boolean",
665
+ "references": {}
666
+ },
667
+ "required": false,
668
+ "optional": true,
669
+ "docs": {
670
+ "tags": [],
671
+ "text": "Determines whether or not the input field takes full width of its container."
672
+ },
673
+ "getter": false,
674
+ "setter": false,
675
+ "attribute": "full-width",
676
+ "reflect": false
606
677
  }
607
678
  };
608
679
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pds-input.js","sourceRoot":"","sources":["../../../src/components/pds-input/pds-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC7G,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport { assignDescription, messageId } from '../../utils/form';\nimport { inheritAriaAttributes } from '@utils/attributes';\nimport type { Attributes } from '@utils/attributes';\nimport { InputChangeEventDetail, InputInputEventDetail } from './input-interface';\nimport { debounceEvent } from '@utils/utils';\nimport { danger } from '@pine-ds/icons/icons';\n\n/**\n * @slot append - Content to be displayed after the input field\n * @slot prefix - Content that is displayed visually within the input field before the input field\n * @slot prepend - Content to be displayed before the input field\n * @slot suffix - Content that is displayed visually within the input field after the input field\n * @slot action - Content to be displayed in the label area, typically for help icons or links\n */\n@Component({\n tag: 'pds-input',\n styleUrls: ['pds-input.tokens.scss', '../../global/styles/utils/label.scss', 'pds-input.scss'],\n shadow: true,\n})\nexport class PdsInput {\n private nativeInput?: HTMLInputElement;\n private inheritedAttributes: Attributes = {};\n private isComposing = false;\n private prefixEl?: HTMLElement;\n private suffixEl?: HTMLElement;\n private focusedValue?: string | number | null;\n private originalPdsInput?: EventEmitter<InputInputEventDetail>;\n\n @Element() el!: HTMLPdsInputElement;\n\n /**\n * If true, the input has prefix content (non-focusable)\n */\n @State() hasPrefix = false;\n\n /**\n * If true, the input has suffix content (non-focusable)\n */\n @State() hasSuffix = false;\n\n /**\n * If true, the input has prepend content (focusable)\n */\n @State() hasPrepend = false;\n\n /**\n * If true, the input has append content (focusable)\n */\n @State() hasAppend = false;\n\n /**\n * If true, the input has action content in the label area\n */\n @State() hasAction = false;\n\n /**\n * Emitted when the input loses focus.\n */\n @Event() pdsBlur!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when the value has changed.\n *\n * This event will not emit when programmatically setting the `value` property.\n */\n @Event() pdsChange!: EventEmitter<InputChangeEventDetail>;\n\n /**\n * Emitted when the input has focus.\n */\n @Event() pdsFocus!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when a keyboard input occurs.\n */\n @Event() pdsInput: EventEmitter<InputInputEventDetail>;\n\n /**\n * Sets focus on the native `input` in the `pds-input`. Use this method instead of the global\n * `input.focus()`.\n */\n @Method()\n async setFocus() {\n if (this.nativeInput) {\n this.nativeInput.focus();\n }\n }\n\n\n /**\n * Specifies if and how the browser provides `autocomplete` assistance for the field.\n */\n @Prop() autocomplete: string;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Sets the number of milliseconds to wait before updating the value.\n */\n @Prop() debounce?: number;\n\n /**\n * Determines whether or not the input field is disabled.\n */\n @Prop() disabled?: boolean;\n\n /**\n * Specifies the error message and provides an error-themed treatment to the field.\n */\n @Prop() errorMessage?: string;\n\n /**\n * Displays a message or hint below the input field.\n */\n @Prop() helperMessage?: string;\n\n /**\n * Determines whether or not the input field is invalid or throws an error.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the input label.\n */\n @Prop() label?: string;\n\n /**\n * Specifies the maximum value for the input field.\n */\n @Prop() max?: string;\n\n /**\n * Specifies the maximum number of characters allowed in the input field.\n */\n @Prop() maxlength?: string;\n\n /**\n * Specifies the minimum value for the input field.\n */\n @Prop() min?: string;\n\n /**\n * Specifies the minimum number of characters allowed in the input field.\n */\n @Prop() minlength?: string;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name?: string;\n\n /**\n * Specifies the regular expression that the input value is checked against.\n */\n @Prop() pattern?: string;\n\n /**\n * Specifies a short hint that describes the expected value of the input field.\n */\n @Prop() placeholder?: string;\n\n /**\n * Determines whether or not the input field is readonly.\n */\n @Prop() readonly?: boolean;\n\n /**\n * Determines whether or not the input field is required.\n */\n @Prop() required?: boolean;\n\n /**\n * Works with the `min` and `max` attributes to define increments for the input field.\n */\n @Prop() step?: string;\n\n /**\n * Determines the type of control that will be displayed\n * `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`, `'url'`\n * @defaultValue \"text\"\n */\n @Prop() type = 'text';\n\n /**\n * The value of the input.\n */\n @Prop({mutable: true}) value?: string | number | null = '';\n\n /**\n * Determines if the input has focus.\n */\n @State() hasFocus = false;\n\n private updateAddonWidths() {\n requestAnimationFrame(() => {\n if (this.prefixEl) {\n const prefixWidth = this.prefixEl.offsetWidth;\n this.el.style.setProperty('--prefix-width', `${prefixWidth}px`);\n }\n\n if (this.suffixEl) {\n const suffixWidth = this.suffixEl.offsetWidth;\n this.el.style.setProperty('--suffix-width', `${suffixWidth}px`);\n }\n });\n }\n\n private renderPrefix() {\n const hasPrefix = this.el.querySelector('[slot=\"prefix\"]') !== null;\n if (hasPrefix) {\n return (\n <div class=\"pds-input__prefix\" part=\"prefix\" ref={(el) => this.prefixEl = el as HTMLElement}>\n <slot name=\"prefix\" onSlotchange={() => this.updateAddonWidths()}></slot>\n </div>\n );\n }\n return null;\n }\n\n private renderSuffix() {\n const hasSuffix = this.el.querySelector('[slot=\"suffix\"]') !== null;\n if (hasSuffix) {\n return (\n <div class=\"pds-input__suffix\" part=\"suffix\" ref={(el) => this.suffixEl = el as HTMLElement}>\n <slot name=\"suffix\" onSlotchange={() => this.updateAddonWidths()}></slot>\n </div>\n );\n }\n return null;\n }\n\n private renderPrepend() {\n const hasPrepend = this.el.querySelector('[slot=\"prepend\"]') !== null;\n if (hasPrepend) {\n return (\n <div class=\"pds-input__prepend\" part=\"prepend\">\n <slot name=\"prepend\"></slot>\n </div>\n );\n }\n return null;\n }\n\n private renderAppend() {\n const hasAppend = this.el.querySelector('[slot=\"append\"]') !== null;\n if (hasAppend) {\n return (\n <div class=\"pds-input__append\" part=\"append\">\n <slot name=\"append\"></slot>\n </div>\n );\n }\n return null;\n }\n\n private renderAction() {\n const hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n if (hasAction) {\n return (\n <div class=\"pds-input__action\" part=\"action\">\n <slot name=\"action\"></slot>\n </div>\n );\n }\n return null;\n }\n\n componentWillLoad() {\n this.inheritedAttributes = {\n ...inheritAriaAttributes(this.el)\n };\n this.hasPrefix = this.el.querySelector('[slot=\"prefix\"]') !== null;\n this.hasSuffix = this.el.querySelector('[slot=\"suffix\"]') !== null;\n this.hasPrepend = this.el.querySelector('[slot=\"prepend\"]') !== null;\n this.hasAppend = this.el.querySelector('[slot=\"append\"]') !== null;\n this.hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n\n // Store the original pdsInput event emitter\n this.originalPdsInput = this.pdsInput;\n }\n\n componentDidLoad() {\n this.debounceChanged();\n this.updateAddonWidths();\n }\n\n componentDidUpdate() {\n this.updateAddonWidths();\n }\n\n @Watch('debounce')\n protected debounceChanged() {\n const { pdsInput, debounce, originalPdsInput } = this;\n\n /**\n * If debounce is undefined, we have to manually revert the pdsInput emitter in case\n * debounce used to be set to a number. Otherwise, the event would stay debounced.\n */\n this.pdsInput = debounce === undefined ? originalPdsInput ?? pdsInput : debounceEvent(pdsInput, debounce);\n }\n\n @Watch('value')\n protected valueChanged() {\n const nativeInput = this.nativeInput;\n const value = this.getValue();\n\n if (nativeInput && nativeInput.value !== value && !this.isComposing) {\n nativeInput.value = value;\n }\n }\n\n private getValue(): string {\n return typeof this.value === 'number' ? this.value.toString() : (this.value || '').toString();\n }\n\n private onInputEvent = (ev: Event) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n this.value = input.value || '';\n }\n this.emitInputChange(ev);\n };\n\n private onChangeEvent = (ev: Event) => {\n this.emitValueChange(ev);\n };\n\n private onBlurEvent = (ev: FocusEvent) => {\n this.hasFocus = false;\n\n if (this.focusedValue !== this.value) {\n /**\n * Emits the `pdsChange` event when the input value\n * is different than the value when the input was focused.\n */\n this.emitValueChange(ev);\n }\n\n this.pdsBlur.emit(ev);\n };\n\n private onFocusEvent = (ev: FocusEvent) => {\n this.hasFocus = true;\n this.focusedValue = this.value;\n\n this.pdsFocus.emit(ev);\n };\n\n private onCompositionStart = () => {\n this.isComposing = true;\n }\n\n private onCompositionEnd = () => {\n this.isComposing = false;\n }\n\n /**\n * Emits a pdsChange event\n */\n private emitValueChange(event?: Event) {\n const { value } = this;\n const newValue = value == null ? value : value.toString();\n\n this.focusedValue = newValue;\n this.pdsChange.emit({ value: newValue, event });\n }\n\n /**\n * Emits a `pdsInput` event\n */\n private emitInputChange(event?: Event) {\n const { value } = this;\n\n // Checks for both null and undefined values\n const newValue = value == null ? value : value.toString();\n\n this.pdsInput.emit({ value: newValue, event });\n }\n\n render() {\n const {\n componentId,\n disabled,\n errorMessage,\n helperMessage,\n invalid = false,\n label,\n } = this;\n\n const value = this.getValue();\n\n const inputWrapperClasses = {\n 'pds-input__field-wrapper': true,\n 'has-focus': this.hasFocus,\n 'has-error': invalid || !!errorMessage,\n 'is-disabled': disabled,\n 'has-prefix': this.hasPrefix,\n 'has-suffix': this.hasSuffix,\n 'has-prepend': this.hasPrepend,\n 'has-append': this.hasAppend,\n };\n\n return (\n <Host\n aria-disabled={this.disabled ? 'true' : null}\n aria-readonly={this.readonly ? 'true' : null}\n has-prefix={this.hasPrefix ? 'true' : null}\n has-suffix={this.hasSuffix ? 'true' : null}\n has-prepend={this.hasPrepend ? 'true' : null}\n has-append={this.hasAppend ? 'true' : null}\n has-action={this.hasAction ? 'true' : null}\n >\n <div class=\"pds-input\">\n {label && (\n <div class=\"pds-input__label-wrapper\">\n <label htmlFor={componentId} class=\"pds-input__label\">\n {label}\n {this.required && <span class=\"pds-input__required-indicator\"> *</span>}\n </label>\n {this.renderAction()}\n </div>\n )}\n\n <div class={inputWrapperClasses}>\n {this.renderPrepend()}\n {this.renderPrefix()}\n <input\n ref={(input) => (this.nativeInput = input)}\n class=\"pds-input__field\"\n aria-describedby={assignDescription(componentId, invalid, helperMessage)}\n aria-invalid={invalid ? \"true\" : undefined}\n autocomplete={this.autocomplete}\n disabled={disabled}\n id={componentId}\n max={this.max}\n maxlength={this.maxlength}\n min={this.min}\n minlength={this.minlength}\n name={this.name}\n pattern={this.pattern}\n placeholder={this.placeholder}\n readOnly={this.readonly}\n required={this.required}\n step={this.step}\n type={this.type}\n value={value}\n onInput={this.onInputEvent}\n onChange={this.onChangeEvent}\n onBlur={this.onBlurEvent}\n onFocus={this.onFocusEvent}\n onCompositionstart={this.onCompositionStart}\n onCompositionend={this.onCompositionEnd}\n {...this.inheritedAttributes}\n />\n {this.renderSuffix()}\n {this.renderAppend()}\n </div>\n\n {helperMessage && (\n <p class=\"pds-input__helper-message\" id={messageId(componentId, 'helper')}>\n {helperMessage}\n </p>\n )}\n\n {errorMessage && (\n <p class=\"pds-input__error-message\" id={messageId(componentId, 'error')}>\n <pds-icon icon={danger} size=\"small\" />\n {errorMessage}\n </p>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-input.js","sourceRoot":"","sources":["../../../src/components/pds-input/pds-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC7G,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C;;;;;;GAMG;AAOH,MAAM,OAAO,QAAQ;IANrB;QASU,wBAAmB,GAAe,EAAE,CAAC;QACrC,gBAAW,GAAG,KAAK,CAAC;QAS5B;;WAEG;QACM,cAAS,GAAG,KAAK,CAAC;QAE3B;;WAEG;QACM,cAAS,GAAG,KAAK,CAAC;QAE3B;;WAEG;QACM,eAAU,GAAG,KAAK,CAAC;QAE5B;;WAEG;QACM,cAAS,GAAG,KAAK,CAAC;QAE3B;;WAEG;QACM,cAAS,GAAG,KAAK,CAAC;QA8H3B;;;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event, EventEmitter, h, Host, Method, Prop, State, Watch } from '@stencil/core';\nimport { assignDescription, messageId } from '../../utils/form';\nimport { inheritAriaAttributes } from '@utils/attributes';\nimport type { Attributes } from '@utils/attributes';\nimport { InputChangeEventDetail, InputInputEventDetail } from './input-interface';\nimport { debounceEvent } from '@utils/utils';\nimport { danger } from '@pine-ds/icons/icons';\n\n/**\n * @slot append - Content to be displayed after the input field\n * @slot prefix - Content that is displayed visually within the input field before the input field\n * @slot prepend - Content to be displayed before the input field\n * @slot suffix - Content that is displayed visually within the input field after the input field\n * @slot action - Content to be displayed in the label area, typically for help icons or links\n */\n@Component({\n tag: 'pds-input',\n styleUrls: ['pds-input.tokens.scss', '../../global/styles/utils/label.scss', 'pds-input.scss'],\n shadow: true,\n formAssociated: true,\n})\nexport class PdsInput {\n\n private nativeInput?: HTMLInputElement;\n private inheritedAttributes: Attributes = {};\n private isComposing = false;\n private prefixEl?: HTMLElement;\n private suffixEl?: HTMLElement;\n private focusedValue?: string | number | null;\n private originalPdsInput?: EventEmitter<InputInputEventDetail>;\n private internals?: ElementInternals;\n\n @Element() el!: HTMLPdsInputElement;\n\n /**\n * If true, the input has prefix content (non-focusable)\n */\n @State() hasPrefix = false;\n\n /**\n * If true, the input has suffix content (non-focusable)\n */\n @State() hasSuffix = false;\n\n /**\n * If true, the input has prepend content (focusable)\n */\n @State() hasPrepend = false;\n\n /**\n * If true, the input has append content (focusable)\n */\n @State() hasAppend = false;\n\n /**\n * If true, the input has action content in the label area\n */\n @State() hasAction = false;\n\n /**\n * Emitted when the input loses focus.\n */\n @Event() pdsBlur!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when the value has changed.\n *\n * This event will not emit when programmatically setting the `value` property.\n */\n @Event() pdsChange!: EventEmitter<InputChangeEventDetail>;\n\n /**\n * Emitted when the input has focus.\n */\n @Event() pdsFocus!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when a keyboard input occurs.\n */\n @Event() pdsInput: EventEmitter<InputInputEventDetail>;\n\n /**\n * Sets focus on the native `input` in the `pds-input`. Use this method instead of the global\n * `input.focus()`.\n */\n @Method()\n async setFocus() {\n if (this.nativeInput) {\n this.nativeInput.focus();\n }\n }\n\n\n /**\n * Specifies if and how the browser provides `autocomplete` assistance for the field.\n */\n @Prop() autocomplete: string;\n\n /**\n * A unique identifier used for the underlying component `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Sets the number of milliseconds to wait before updating the value.\n */\n @Prop() debounce?: number;\n\n /**\n * Determines whether or not the input field is disabled.\n */\n @Prop() disabled?: boolean;\n\n /**\n * Specifies the error message and provides an error-themed treatment to the field.\n */\n @Prop() errorMessage?: string;\n\n /**\n * Displays a message or hint below the input field.\n */\n @Prop() helperMessage?: string;\n\n /**\n * Determines whether or not the input field is invalid or throws an error.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the input label.\n */\n @Prop() label?: string;\n\n /**\n * Specifies the maximum value for the input field.\n */\n @Prop() max?: string;\n\n /**\n * Specifies the maximum number of characters allowed in the input field.\n */\n @Prop() maxlength?: string;\n\n /**\n * Specifies the minimum value for the input field.\n */\n @Prop() min?: string;\n\n /**\n * Specifies the minimum number of characters allowed in the input field.\n */\n @Prop() minlength?: string;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name?: string;\n\n /**\n * Specifies the regular expression that the input value is checked against.\n */\n @Prop() pattern?: string;\n\n /**\n * Specifies a short hint that describes the expected value of the input field.\n */\n @Prop() placeholder?: string;\n\n /**\n * Determines whether or not the input field is readonly.\n */\n @Prop() readonly?: boolean;\n\n /**\n * Determines whether or not the input field is required.\n */\n @Prop() required?: boolean;\n\n /**\n * Works with the `min` and `max` attributes to define increments for the input field.\n */\n @Prop() step?: string;\n\n /**\n * Determines the type of control that will be displayed\n * `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`, `'url'`\n * @defaultValue \"text\"\n */\n @Prop() type = 'text';\n\n /**\n * The value of the input.\n */\n @Prop({mutable: true}) value?: string | number | null = '';\n\n /**\n * Determines whether or not the input field takes full width of its container.\n */\n @Prop() fullWidth?: boolean;\n\n /**\n * Determines if the input has focus.\n */\n @State() hasFocus = false;\n\n private updateAddonWidths() {\n requestAnimationFrame(() => {\n if (this.prefixEl) {\n const prefixWidth = this.prefixEl.offsetWidth;\n this.el.style.setProperty('--prefix-width', `${prefixWidth}px`);\n }\n\n if (this.suffixEl) {\n const suffixWidth = this.suffixEl.offsetWidth;\n this.el.style.setProperty('--suffix-width', `${suffixWidth}px`);\n }\n });\n }\n\n private renderPrefix() {\n const hasPrefix = this.el.querySelector('[slot=\"prefix\"]') !== null;\n if (hasPrefix) {\n return (\n <div class=\"pds-input__prefix\" part=\"prefix\" ref={(el) => this.prefixEl = el as HTMLElement}>\n <slot name=\"prefix\" onSlotchange={() => this.updateAddonWidths()}></slot>\n </div>\n );\n }\n return null;\n }\n\n private renderSuffix() {\n const hasSuffix = this.el.querySelector('[slot=\"suffix\"]') !== null;\n if (hasSuffix) {\n return (\n <div class=\"pds-input__suffix\" part=\"suffix\" ref={(el) => this.suffixEl = el as HTMLElement}>\n <slot name=\"suffix\" onSlotchange={() => this.updateAddonWidths()}></slot>\n </div>\n );\n }\n return null;\n }\n\n private renderPrepend() {\n const hasPrepend = this.el.querySelector('[slot=\"prepend\"]') !== null;\n if (hasPrepend) {\n return (\n <div class=\"pds-input__prepend\" part=\"prepend\">\n <slot name=\"prepend\"></slot>\n </div>\n );\n }\n return null;\n }\n\n private renderAppend() {\n const hasAppend = this.el.querySelector('[slot=\"append\"]') !== null;\n if (hasAppend) {\n return (\n <div class=\"pds-input__append\" part=\"append\">\n <slot name=\"append\"></slot>\n </div>\n );\n }\n return null;\n }\n\n private renderAction() {\n const hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n if (hasAction) {\n return (\n <div class=\"pds-input__action\" part=\"action\">\n <slot name=\"action\"></slot>\n </div>\n );\n }\n return null;\n }\n\n componentWillLoad() {\n this.inheritedAttributes = {\n ...inheritAriaAttributes(this.el)\n };\n this.hasPrefix = this.el.querySelector('[slot=\"prefix\"]') !== null;\n this.hasSuffix = this.el.querySelector('[slot=\"suffix\"]') !== null;\n this.hasPrepend = this.el.querySelector('[slot=\"prepend\"]') !== null;\n this.hasAppend = this.el.querySelector('[slot=\"append\"]') !== null;\n this.hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n\n // Store the original pdsInput event emitter\n this.originalPdsInput = this.pdsInput;\n }\n\n connectedCallback() {\n // Initialize ElementInternals for form association\n if (this.el.attachInternals) {\n this.internals = this.el.attachInternals();\n }\n }\n\n componentDidLoad() {\n this.debounceChanged();\n this.updateAddonWidths();\n // Set initial form value\n this.updateFormValue();\n }\n\n componentDidUpdate() {\n this.updateAddonWidths();\n }\n\n @Watch('debounce')\n protected debounceChanged() {\n const { pdsInput, debounce, originalPdsInput } = this;\n\n /**\n * If debounce is undefined, we have to manually revert the pdsInput emitter in case\n * debounce used to be set to a number. Otherwise, the event would stay debounced.\n */\n this.pdsInput = debounce === undefined ? originalPdsInput ?? pdsInput : debounceEvent(pdsInput, debounce);\n }\n\n @Watch('value')\n protected valueChanged() {\n const nativeInput = this.nativeInput;\n const value = this.getValue();\n\n if (nativeInput && nativeInput.value !== value && !this.isComposing) {\n nativeInput.value = value;\n }\n\n // Update form value when value changes\n this.updateFormValue();\n }\n\n private getValue(): string {\n return typeof this.value === 'number' ? this.value.toString() : (this.value || '').toString();\n }\n\n private onInputEvent = (ev: Event) => {\n const input = ev.target as HTMLInputElement | null;\n if (input) {\n this.value = input.value || '';\n }\n this.emitInputChange(ev);\n };\n\n private onChangeEvent = (ev: Event) => {\n this.emitValueChange(ev);\n };\n\n private onBlurEvent = (ev: FocusEvent) => {\n this.hasFocus = false;\n\n if (this.focusedValue !== this.value) {\n /**\n * Emits the `pdsChange` event when the input value\n * is different than the value when the input was focused.\n */\n this.emitValueChange(ev);\n }\n\n this.pdsBlur.emit(ev);\n };\n\n private onFocusEvent = (ev: FocusEvent) => {\n this.hasFocus = true;\n this.focusedValue = this.value;\n\n this.pdsFocus.emit(ev);\n };\n\n private onCompositionStart = () => {\n this.isComposing = true;\n }\n\n private onCompositionEnd = () => {\n this.isComposing = false;\n }\n\n /**\n * Emits a pdsChange event\n */\n private emitValueChange(event?: Event) {\n const { value } = this;\n const newValue = value == null ? value : value.toString();\n\n this.focusedValue = newValue;\n this.pdsChange.emit({ value: newValue, event });\n }\n\n /**\n * Emits a `pdsInput` event\n */\n private emitInputChange(event?: Event) {\n const { value } = this;\n\n // Checks for both null and undefined values\n const newValue = value == null ? value : value.toString();\n\n this.pdsInput.emit({ value: newValue, event });\n }\n\n /**\n * Updates the form value using ElementInternals API\n */\n private updateFormValue() {\n if (this.internals && this.internals.setFormValue) {\n const value = this.getValue();\n this.internals.setFormValue(value || null);\n\n // Set validity based on native input validation\n if (this.nativeInput && this.internals && this.internals.setValidity) {\n this.internals.setValidity(\n this.nativeInput.validity,\n this.nativeInput.validationMessage,\n this.nativeInput\n );\n }\n }\n }\n\n /**\n * Form Associated Custom Elements API: Called when the form is reset\n */\n formResetCallback() {\n this.value = '';\n this.updateFormValue();\n }\n\n /**\n * Form Associated Custom Elements API: Called when the form is disabled\n */\n formDisabledCallback(disabled: boolean) {\n this.disabled = disabled;\n }\n\n /**\n * Form Associated Custom Elements API: Called to restore form state\n */\n formStateRestoreCallback(state: string | FormData | null) {\n if (typeof state === 'string') {\n this.value = state;\n } else if (state instanceof FormData && this.name) {\n // Extract value from FormData using the input's name\n const value = state.get(this.name);\n if (typeof value === 'string') {\n this.value = value;\n }\n }\n }\n\n render() {\n const {\n componentId,\n disabled,\n errorMessage,\n helperMessage,\n invalid = false,\n label,\n } = this;\n\n const value = this.getValue();\n\n const inputWrapperClasses = {\n 'pds-input__field-wrapper': true,\n 'has-focus': this.hasFocus,\n 'has-error': invalid || !!errorMessage,\n 'is-disabled': disabled,\n 'has-prefix': this.hasPrefix,\n 'has-suffix': this.hasSuffix,\n 'has-prepend': this.hasPrepend,\n 'has-append': this.hasAppend,\n };\n\n return (\n <Host\n aria-disabled={this.disabled ? 'true' : null}\n aria-readonly={this.readonly ? 'true' : null}\n has-prefix={this.hasPrefix ? 'true' : null}\n has-suffix={this.hasSuffix ? 'true' : null}\n has-prepend={this.hasPrepend ? 'true' : null}\n has-append={this.hasAppend ? 'true' : null}\n has-action={this.hasAction ? 'true' : null}\n full-width={this.fullWidth ? 'true' : null}\n >\n <div class=\"pds-input\">\n {label && (\n <div class=\"pds-input__label-wrapper\">\n <label htmlFor={componentId} class=\"pds-input__label\">\n {label}\n {this.required && <span class=\"pds-input__required-indicator\"> *</span>}\n </label>\n {this.renderAction()}\n </div>\n )}\n\n <div class={inputWrapperClasses}>\n {this.renderPrepend()}\n {this.renderPrefix()}\n <input\n ref={(input) => (this.nativeInput = input)}\n class=\"pds-input__field\"\n aria-describedby={assignDescription(componentId, invalid, helperMessage)}\n aria-invalid={invalid ? \"true\" : undefined}\n autocomplete={this.autocomplete}\n disabled={disabled}\n id={componentId}\n max={this.max}\n maxlength={this.maxlength}\n min={this.min}\n minlength={this.minlength}\n name={this.name}\n pattern={this.pattern}\n placeholder={this.placeholder}\n readOnly={this.readonly}\n required={this.required}\n step={this.step}\n type={this.type}\n value={value}\n onInput={this.onInputEvent}\n onChange={this.onChangeEvent}\n onBlur={this.onBlurEvent}\n onFocus={this.onFocusEvent}\n onCompositionstart={this.onCompositionStart}\n onCompositionend={this.onCompositionEnd}\n {...this.inheritedAttributes}\n />\n {this.renderSuffix()}\n {this.renderAppend()}\n </div>\n\n {helperMessage && (\n <p class=\"pds-input__helper-message\" id={messageId(componentId, 'helper')}>\n {helperMessage}\n </p>\n )}\n\n {errorMessage && (\n <p class=\"pds-input__error-message\" id={messageId(componentId, 'error')}>\n <pds-icon icon={danger} size=\"small\" />\n {errorMessage}\n </p>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -9,6 +9,7 @@ export default {
9
9
  debounce: null,
10
10
  disabled: false,
11
11
  errorMessage: null,
12
+ fullWidth: false,
12
13
  helperMessage: null,
13
14
  invalid: false,
14
15
  max: null,
@@ -43,6 +44,7 @@ const BaseTemplate = (args) => html`<pds-input
43
44
  debounce="${args.debounce}"
44
45
  disabled="${args.disabled}"
45
46
  error-message="${args.errorMessage}"
47
+ full-width="${args.fullWidth}"
46
48
  helper-message="${args.helperMessage}"
47
49
  invalid="${args.invalid}"
48
50
  label="${args.label}"
@@ -136,6 +138,15 @@ Autocomplete.args = {
136
138
  autocomplete: 'given-name',
137
139
  };
138
140
 
141
+ export const FullWidth = BaseTemplate.bind({});
142
+ FullWidth.args = {
143
+ componentId: 'pds-input-full-width-example',
144
+ label: 'Full Width Input',
145
+ type: 'text',
146
+ fullWidth: true,
147
+ placeholder: 'This input takes full width of its container',
148
+ };
149
+
139
150
  export const withPrefixIcon = (args) => html`<pds-input
140
151
  autocomplete="${args.autocomplete}"
141
152
  component-id="pds-input-prefix-icon"
@@ -40,7 +40,7 @@ pds-modal .pds-modal__backdrop {
40
40
  display: flex;
41
41
  flex-direction: column;
42
42
  margin: var(--pine-dimension-md);
43
- max-height: calc(100vh - (6vh + 96px));
43
+ max-height: calc(100vh - (5vh + 96px));
44
44
  width: 100%;
45
45
  }
46
46
  @media (min-width: 992px) {
@@ -103,6 +103,7 @@ label {
103
103
 
104
104
  .pds-radio__message {
105
105
  color: var(--pine-color-text-message);
106
+ font: var(--pine-typography-body-sm-medium);
106
107
  margin-block-start: var(--sizing-margin-block-start);
107
108
  margin-inline-start: var(--pine-dimension-md);
108
109
  width: 100%;
@@ -61,7 +61,7 @@ select {
61
61
  grid-area: field;
62
62
  letter-spacing: var(--pine-letter-spacing);
63
63
  min-height: var(--pds-select-min-height);
64
- padding: var(--pine-dimension-xs) var(--pine-dimension-150);
64
+ padding: calc(var(--pine-dimension-xs) - var(--pine-border-width)) var(--pine-dimension-150);
65
65
  padding-inline-end: var(--pine-dimension-450);
66
66
  position: relative;
67
67
  }
@@ -98,6 +98,7 @@ select:has(~ .pds-select__message .pds-select__error-message):focus-visible {
98
98
 
99
99
  .pds-select__error-message,
100
100
  .pds-select__helper-message {
101
+ color: var(--pine-color-text-message);
101
102
  font: var(--pine-typography-body-sm-medium);
102
103
  margin-block-end: 0;
103
104
  margin-block-start: var(--pine-dimension-2xs);
@@ -66,10 +66,21 @@ export class PdsSelect {
66
66
  */
67
67
  valueChanged() {
68
68
  this.updateSelectedOption();
69
+ this.updateFormValue();
70
+ }
71
+ connectedCallback() {
72
+ // Initialize ElementInternals for form association
73
+ if (this.el.attachInternals) {
74
+ this.internals = this.el.attachInternals();
75
+ }
69
76
  }
70
77
  componentWillLoad() {
71
78
  this.updateSelectedOption();
72
79
  }
80
+ componentDidLoad() {
81
+ // Set initial form value
82
+ this.updateFormValue();
83
+ }
73
84
  /**
74
85
  * Updates the selected option in the select element based on the current value.
75
86
  *
@@ -123,12 +134,75 @@ export class PdsSelect {
123
134
  }
124
135
  return null;
125
136
  }
137
+ /**
138
+ * Updates the form value using ElementInternals API
139
+ */
140
+ updateFormValue() {
141
+ if (this.internals && this.internals.setFormValue) {
142
+ const value = this.value;
143
+ // Handle multi-select arrays by converting to FormData or comma-separated string
144
+ if (Array.isArray(value)) {
145
+ if (value.length > 1) {
146
+ // For multiple values, create FormData with multiple entries
147
+ const formData = new FormData();
148
+ value.forEach(val => formData.append(this.name || '', val));
149
+ this.internals.setFormValue(formData);
150
+ }
151
+ else {
152
+ // Single value in array, use the string value
153
+ this.internals.setFormValue(value[0] || null);
154
+ }
155
+ }
156
+ else {
157
+ // Single string value
158
+ this.internals.setFormValue(value || null);
159
+ }
160
+ // Set validity based on native select validation
161
+ if (this.selectEl && this.internals && this.internals.setValidity) {
162
+ this.internals.setValidity(this.selectEl.validity, this.selectEl.validationMessage, this.selectEl);
163
+ }
164
+ }
165
+ }
166
+ /**
167
+ * Form Associated Custom Elements API: Called when the form is reset
168
+ */
169
+ formResetCallback() {
170
+ this.value = '';
171
+ this.updateFormValue();
172
+ }
173
+ /**
174
+ * Form Associated Custom Elements API: Called when the form is disabled
175
+ */
176
+ formDisabledCallback(disabled) {
177
+ this.disabled = disabled;
178
+ }
179
+ /**
180
+ * Form Associated Custom Elements API: Called to restore form state
181
+ */
182
+ formStateRestoreCallback(state) {
183
+ if (typeof state === 'string') {
184
+ this.value = state;
185
+ }
186
+ else if (state instanceof FormData && this.name) {
187
+ // Extract value(s) from FormData using the select's name
188
+ const values = state.getAll(this.name);
189
+ if (values.length > 1) {
190
+ // Multi-select: convert to string array
191
+ this.value = values.filter(v => typeof v === 'string');
192
+ }
193
+ else if (values.length === 1 && typeof values[0] === 'string') {
194
+ // Single select: use string value
195
+ this.value = values[0];
196
+ }
197
+ }
198
+ }
126
199
  render() {
127
200
  const hasAction = this.el.querySelector('[slot="action"]') !== null;
128
- return (h(Host, { key: '7bbdad147f68a6b000d738c991c4f77e7ba6d934', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: 'd8b3ba6fcaa63435c919083760573d4a94394f56', class: "pds-select" }, !this.hideLabel && (h("div", { key: '01edc2b7f833d71da9c440ee9e35327210b233d1', class: "pds-select__label-wrapper" }, h("label", { key: '5a7743e84be49edf04deed503a27929d15fa8515', htmlFor: this.componentId }, h("span", { key: 'df5e57ac95def4069ff07f081226d70ca5a15cc8', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: '3e9faea02fe9449fdda224bf4f3ee157217640ff', "aria-label": this.hideLabel ? this.label : undefined, autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: '1a75cbfdca145e1d303c8c07de9cb8df5afa267e', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '2656e9edc098798b4a118c2a8b8a0f6283fc6f9a', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'ca5831acc4a4f72221a2d26be14e076daabd35b1', class: "pds-select__select-icon", icon: enlarge }))));
201
+ return (h(Host, { key: 'fea78ba16795a1eae88028f4ff13caeab17ad74f', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: '532a1537af1cdc9928cdb42f33530d8141941f56', class: "pds-select" }, !this.hideLabel && (h("div", { key: '6284c433266ba8991a7d32e16927147287fcf009', class: "pds-select__label-wrapper" }, h("label", { key: '66979f8fc19801a7a8494dd254e32bca72a23e17', htmlFor: this.componentId }, h("span", { key: '8aa8805e24b9fb085377510513f68a308e2bc78b', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: 'c007dc0a49f1607745664a0527a67ad4721316c5', "aria-label": this.hideLabel ? this.label : undefined, autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: 'a96e7e5ef5ef4a20654956d27c4e58eb0aaad1ea', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '1910bf5bfdea7356f435e74dfe2427669b64d3d8', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'e9fa98965996e1a873360fa999149d5e0ab821ee', class: "pds-select__select-icon", icon: enlarge }))));
129
202
  }
130
203
  static get is() { return "pds-select"; }
131
204
  static get encapsulation() { return "shadow"; }
205
+ static get formAssociated() { return true; }
132
206
  static get originalStyleUrls() {
133
207
  return {
134
208
  "$": ["pds-select.tokens.scss", "../../global/styles/utils/label.scss", "pds-select.scss"]