@pine-ds/core 3.8.2 → 3.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (867) hide show
  1. package/components/attributes.js.map +1 -1
  2. package/components/form.js.map +1 -1
  3. package/components/index.js +1 -1
  4. package/components/index2.js +1 -1
  5. package/components/index2.js.map +1 -1
  6. package/components/mock-pds-modal.js +5 -3
  7. package/components/mock-pds-modal.js.map +1 -1
  8. package/components/pds-accordion.js +6 -4
  9. package/components/pds-accordion.js.map +1 -1
  10. package/components/pds-alert.js +5 -3
  11. package/components/pds-alert.js.map +1 -1
  12. package/components/pds-avatar.js +5 -3
  13. package/components/pds-avatar.js.map +1 -1
  14. package/components/pds-box2.js +5 -3
  15. package/components/pds-box2.js.map +1 -1
  16. package/components/pds-button2.js +15 -4
  17. package/components/pds-button2.js.map +1 -1
  18. package/components/pds-checkbox2.js +5 -3
  19. package/components/pds-checkbox2.js.map +1 -1
  20. package/components/pds-chip2.js +5 -3
  21. package/components/pds-chip2.js.map +1 -1
  22. package/components/pds-combobox.js +5 -3
  23. package/components/pds-combobox.js.map +1 -1
  24. package/components/pds-copytext.js +5 -3
  25. package/components/pds-copytext.js.map +1 -1
  26. package/components/pds-divider.js +5 -3
  27. package/components/pds-divider.js.map +1 -1
  28. package/components/pds-dropdown-menu-item.js +5 -3
  29. package/components/pds-dropdown-menu-item.js.map +1 -1
  30. package/components/pds-dropdown-menu-separator.js +5 -3
  31. package/components/pds-dropdown-menu-separator.js.map +1 -1
  32. package/components/pds-dropdown-menu.js +6 -4
  33. package/components/pds-dropdown-menu.js.map +1 -1
  34. package/components/pds-filter.js +5 -3
  35. package/components/pds-filter.js.map +1 -1
  36. package/components/pds-filters.js +5 -3
  37. package/components/pds-filters.js.map +1 -1
  38. package/components/pds-icon2.js +5 -3
  39. package/components/pds-icon2.js.map +1 -1
  40. package/components/pds-image.js +5 -3
  41. package/components/pds-image.js.map +1 -1
  42. package/components/pds-input.js +8 -5
  43. package/components/pds-input.js.map +1 -1
  44. package/components/pds-link2.js +5 -3
  45. package/components/pds-link2.js.map +1 -1
  46. package/components/pds-loader2.js +5 -3
  47. package/components/pds-loader2.js.map +1 -1
  48. package/components/pds-modal-content.js +7 -5
  49. package/components/pds-modal-content.js.map +1 -1
  50. package/components/pds-modal-footer.js +5 -3
  51. package/components/pds-modal-footer.js.map +1 -1
  52. package/components/pds-modal-header.js +5 -3
  53. package/components/pds-modal-header.js.map +1 -1
  54. package/components/pds-modal.js +5 -3
  55. package/components/pds-modal.js.map +1 -1
  56. package/components/pds-popover.js +437 -90
  57. package/components/pds-popover.js.map +1 -1
  58. package/components/pds-progress.js +6 -4
  59. package/components/pds-progress.js.map +1 -1
  60. package/components/pds-property.js +6 -4
  61. package/components/pds-property.js.map +1 -1
  62. package/components/pds-radio.js +8 -6
  63. package/components/pds-radio.js.map +1 -1
  64. package/components/pds-row.js +6 -4
  65. package/components/pds-row.js.map +1 -1
  66. package/components/pds-select.js +8 -5
  67. package/components/pds-select.js.map +1 -1
  68. package/components/pds-sortable-item.js +6 -4
  69. package/components/pds-sortable-item.js.map +1 -1
  70. package/components/pds-sortable.js +6 -4
  71. package/components/pds-sortable.js.map +1 -1
  72. package/components/pds-switch.js +8 -6
  73. package/components/pds-switch.js.map +1 -1
  74. package/components/pds-tab.js +8 -6
  75. package/components/pds-tab.js.map +1 -1
  76. package/components/pds-table-body.js +6 -4
  77. package/components/pds-table-body.js.map +1 -1
  78. package/components/pds-table-cell2.js +7 -5
  79. package/components/pds-table-cell2.js.map +1 -1
  80. package/components/pds-table-head-cell2.js +7 -5
  81. package/components/pds-table-head-cell2.js.map +1 -1
  82. package/components/pds-table-head.js +6 -4
  83. package/components/pds-table-head.js.map +1 -1
  84. package/components/pds-table-row.js +6 -4
  85. package/components/pds-table-row.js.map +1 -1
  86. package/components/pds-table.js +5 -3
  87. package/components/pds-table.js.map +1 -1
  88. package/components/pds-tabpanel.js +6 -4
  89. package/components/pds-tabpanel.js.map +1 -1
  90. package/components/pds-tabs.js +6 -4
  91. package/components/pds-tabs.js.map +1 -1
  92. package/components/pds-text2.js +6 -4
  93. package/components/pds-text2.js.map +1 -1
  94. package/components/pds-textarea.js +11 -8
  95. package/components/pds-textarea.js.map +1 -1
  96. package/components/pds-toast.js +8 -6
  97. package/components/pds-toast.js.map +1 -1
  98. package/components/pds-tooltip.js +7 -5
  99. package/components/pds-tooltip.js.map +1 -1
  100. package/components/utils.js.map +1 -1
  101. package/dist/cjs/attributes-oNMnBEnP.js.map +1 -1
  102. package/dist/cjs/form-hmpgbT1I.js.map +1 -1
  103. package/dist/cjs/{index-DDTyvZD7.js → index-2Lf0E1JO.js} +505 -182
  104. package/dist/cjs/index-2Lf0E1JO.js.map +1 -0
  105. package/dist/cjs/{index-DtnvzYhe.js → index-B17J2UZb.js} +3 -3
  106. package/dist/cjs/index-B17J2UZb.js.map +1 -0
  107. package/dist/cjs/index.cjs.js +0 -4
  108. package/dist/cjs/index.cjs.js.map +1 -1
  109. package/dist/cjs/loader.cjs.js +3 -6
  110. package/dist/cjs/loader.cjs.js.map +1 -1
  111. package/dist/cjs/mock-pds-modal.cjs.entry.js +1 -3
  112. package/dist/cjs/pds-accordion.cjs.entry.js +3 -5
  113. package/dist/cjs/pds-accordion.entry.cjs.js.map +1 -1
  114. package/dist/cjs/pds-alert.cjs.entry.js +1 -3
  115. package/dist/cjs/pds-avatar.cjs.entry.js +2 -4
  116. package/dist/cjs/pds-box.cjs.entry.js +1 -3
  117. package/dist/cjs/pds-button.cjs.entry.js +11 -5
  118. package/dist/cjs/pds-button.entry.cjs.js.map +1 -1
  119. package/dist/cjs/pds-checkbox.cjs.entry.js +2 -4
  120. package/dist/cjs/pds-chip.cjs.entry.js +2 -4
  121. package/dist/cjs/pds-combobox.cjs.entry.js +1 -3
  122. package/dist/cjs/pds-copytext.cjs.entry.js +2 -4
  123. package/dist/cjs/pds-divider.cjs.entry.js +1 -3
  124. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +1 -3
  125. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +1 -3
  126. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +2 -4
  127. package/dist/cjs/pds-dropdown-menu.entry.cjs.js.map +1 -1
  128. package/dist/cjs/pds-filter.cjs.entry.js +2 -4
  129. package/dist/cjs/pds-filters.cjs.entry.js +1 -3
  130. package/dist/cjs/pds-icon.cjs.entry.js +1 -3
  131. package/dist/cjs/pds-image.cjs.entry.js +1 -3
  132. package/dist/cjs/pds-input.cjs.entry.js +4 -6
  133. package/dist/cjs/pds-input.entry.cjs.js.map +1 -1
  134. package/dist/cjs/pds-link.cjs.entry.js +2 -4
  135. package/dist/cjs/pds-loader.cjs.entry.js +1 -3
  136. package/dist/cjs/pds-modal-content.cjs.entry.js +3 -5
  137. package/dist/cjs/pds-modal-content.entry.cjs.js.map +1 -1
  138. package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -3
  139. package/dist/cjs/pds-modal-header.cjs.entry.js +1 -3
  140. package/dist/cjs/pds-modal.cjs.entry.js +1 -3
  141. package/dist/cjs/pds-popover.cjs.entry.js +432 -88
  142. package/dist/cjs/pds-popover.entry.cjs.js.map +1 -1
  143. package/dist/cjs/pds-progress.cjs.entry.js +2 -4
  144. package/dist/cjs/pds-property.cjs.entry.js +2 -4
  145. package/dist/cjs/pds-radio.cjs.entry.js +5 -7
  146. package/dist/cjs/pds-row.cjs.entry.js +2 -4
  147. package/dist/cjs/pds-select.cjs.entry.js +4 -6
  148. package/dist/cjs/pds-select.entry.cjs.js.map +1 -1
  149. package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -5
  150. package/dist/cjs/pds-sortable.cjs.entry.js +2 -4
  151. package/dist/cjs/pds-sortable.entry.cjs.js.map +1 -1
  152. package/dist/cjs/pds-switch.cjs.entry.js +5 -7
  153. package/dist/cjs/pds-tab.cjs.entry.js +4 -6
  154. package/dist/cjs/pds-table-body.cjs.entry.js +2 -4
  155. package/dist/cjs/pds-table-cell.cjs.entry.js +3 -5
  156. package/dist/cjs/pds-table-head-cell.cjs.entry.js +4 -6
  157. package/dist/cjs/pds-table-head.cjs.entry.js +2 -4
  158. package/dist/cjs/pds-table-row.cjs.entry.js +2 -4
  159. package/dist/cjs/pds-table.cjs.entry.js +1 -3
  160. package/dist/cjs/pds-tabpanel.cjs.entry.js +2 -4
  161. package/dist/cjs/pds-tabs.cjs.entry.js +2 -4
  162. package/dist/cjs/pds-text.cjs.entry.js +2 -4
  163. package/dist/cjs/pds-textarea.cjs.entry.js +7 -9
  164. package/dist/cjs/pds-textarea.entry.cjs.js.map +1 -1
  165. package/dist/cjs/pds-toast.cjs.entry.js +4 -6
  166. package/dist/cjs/pds-tooltip.cjs.entry.js +3 -5
  167. package/dist/cjs/pine-core.cjs.js +4 -7
  168. package/dist/cjs/pine-core.cjs.js.map +1 -1
  169. package/dist/cjs/utils-7jx8T2mW.js.map +1 -1
  170. package/dist/collection/collection-manifest.json +2 -2
  171. package/dist/collection/components/pds-accordion/pds-accordion.js +5 -4
  172. package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -1
  173. package/dist/collection/components/pds-alert/pds-alert.js +7 -7
  174. package/dist/collection/components/pds-avatar/pds-avatar.js +8 -8
  175. package/dist/collection/components/pds-box/pds-box.js +235 -235
  176. package/dist/collection/components/pds-button/pds-button.css +38 -0
  177. package/dist/collection/components/pds-button/pds-button.js +50 -19
  178. package/dist/collection/components/pds-button/pds-button.js.map +1 -1
  179. package/dist/collection/components/pds-button/stories/pds-button.stories.js +109 -55
  180. package/dist/collection/components/pds-checkbox/pds-checkbox.js +23 -23
  181. package/dist/collection/components/pds-chip/pds-chip.js +8 -8
  182. package/dist/collection/components/pds-combobox/pds-combobox.js +26 -26
  183. package/dist/collection/components/pds-copytext/pds-copytext.js +7 -7
  184. package/dist/collection/components/pds-divider/pds-divider.js +5 -5
  185. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +6 -6
  186. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +3 -3
  187. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +4 -4
  188. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js.map +1 -1
  189. package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +7 -7
  190. package/dist/collection/components/pds-filters/pds-filters.js +2 -2
  191. package/dist/collection/components/pds-image/pds-image.js +14 -14
  192. package/dist/collection/components/pds-input/pds-input.css +13 -0
  193. package/dist/collection/components/pds-input/pds-input.js +62 -43
  194. package/dist/collection/components/pds-input/pds-input.js.map +1 -1
  195. package/dist/collection/components/pds-input/stories/pds-input.stories.js +37 -0
  196. package/dist/collection/components/pds-link/pds-link.js +9 -9
  197. package/dist/collection/components/pds-loader/pds-loader.js +4 -4
  198. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +3 -3
  199. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js.map +1 -1
  200. package/dist/collection/components/pds-modal/pds-modal.js +6 -6
  201. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +6 -6
  202. package/dist/collection/components/pds-popover/pds-popover.css +4 -31
  203. package/dist/collection/components/pds-popover/pds-popover.js +440 -130
  204. package/dist/collection/components/pds-popover/pds-popover.js.map +1 -1
  205. package/dist/collection/components/pds-popover/popover-interface.js.map +1 -1
  206. package/dist/collection/components/pds-popover/stories/pds-popover.stories.js +66 -18
  207. package/dist/collection/components/pds-progress/pds-progress.js +10 -10
  208. package/dist/collection/components/pds-property/pds-property.js +4 -4
  209. package/dist/collection/components/pds-radio/pds-radio.js +22 -22
  210. package/dist/collection/components/pds-row/pds-row.js +17 -17
  211. package/dist/collection/components/pds-select/pds-select.css +15 -0
  212. package/dist/collection/components/pds-select/pds-select.js +41 -22
  213. package/dist/collection/components/pds-select/pds-select.js.map +1 -1
  214. package/dist/collection/components/pds-select/stories/pds-select.stories.js +14 -0
  215. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +5 -5
  216. package/dist/collection/components/pds-sortable/pds-sortable.js +6 -6
  217. package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -1
  218. package/dist/collection/components/pds-switch/pds-switch.js +21 -21
  219. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  220. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +6 -6
  221. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +5 -5
  222. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +6 -6
  223. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +5 -5
  224. package/dist/collection/components/pds-table/pds-table.js +10 -10
  225. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +12 -12
  226. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +8 -8
  227. package/dist/collection/components/pds-tabs/pds-tabs.js +11 -11
  228. package/dist/collection/components/pds-text/pds-text.js +18 -18
  229. package/dist/collection/components/pds-textarea/pds-textarea.css +16 -0
  230. package/dist/collection/components/pds-textarea/pds-textarea.js +49 -30
  231. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
  232. package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +13 -0
  233. package/dist/collection/components/pds-toast/pds-toast.js +10 -10
  234. package/dist/collection/components/pds-tooltip/pds-tooltip.js +11 -11
  235. package/dist/collection/utils/attributes.js.map +1 -1
  236. package/dist/collection/utils/form.js.map +1 -1
  237. package/dist/collection/utils/utils.js.map +1 -1
  238. package/dist/docs.json +319 -79
  239. package/dist/esm/attributes-C0M1gTKv.js.map +1 -1
  240. package/dist/esm/form-DwjNklzi.js.map +1 -1
  241. package/dist/esm/{index-Bf1dou5H.js → index-Bh07GI-d.js} +505 -183
  242. package/dist/esm/index-Bh07GI-d.js.map +1 -0
  243. package/dist/esm/{index-D4zJBIgl.js → index-QXCASaCq.js} +3 -3
  244. package/dist/esm/index-QXCASaCq.js.map +1 -0
  245. package/dist/esm/index.js +1 -3
  246. package/dist/esm/loader.js +3 -6
  247. package/dist/esm/loader.js.map +1 -1
  248. package/dist/esm/mock-pds-modal.entry.js +1 -3
  249. package/dist/esm/pds-accordion.entry.js +3 -5
  250. package/dist/esm/pds-accordion.entry.js.map +1 -1
  251. package/dist/esm/pds-alert.entry.js +1 -3
  252. package/dist/esm/pds-avatar.entry.js +2 -4
  253. package/dist/esm/pds-box.entry.js +1 -3
  254. package/dist/esm/pds-button.entry.js +11 -5
  255. package/dist/esm/pds-button.entry.js.map +1 -1
  256. package/dist/esm/pds-checkbox.entry.js +2 -4
  257. package/dist/esm/pds-chip.entry.js +2 -4
  258. package/dist/esm/pds-combobox.entry.js +1 -3
  259. package/dist/esm/pds-copytext.entry.js +2 -4
  260. package/dist/esm/pds-divider.entry.js +1 -3
  261. package/dist/esm/pds-dropdown-menu-item.entry.js +1 -3
  262. package/dist/esm/pds-dropdown-menu-separator.entry.js +1 -3
  263. package/dist/esm/pds-dropdown-menu.entry.js +2 -4
  264. package/dist/esm/pds-dropdown-menu.entry.js.map +1 -1
  265. package/dist/esm/pds-filter.entry.js +2 -4
  266. package/dist/esm/pds-filters.entry.js +1 -3
  267. package/dist/esm/pds-icon.entry.js +1 -3
  268. package/dist/esm/pds-image.entry.js +1 -3
  269. package/dist/esm/pds-input.entry.js +4 -6
  270. package/dist/esm/pds-input.entry.js.map +1 -1
  271. package/dist/esm/pds-link.entry.js +2 -4
  272. package/dist/esm/pds-loader.entry.js +1 -3
  273. package/dist/esm/pds-modal-content.entry.js +3 -5
  274. package/dist/esm/pds-modal-content.entry.js.map +1 -1
  275. package/dist/esm/pds-modal-footer.entry.js +1 -3
  276. package/dist/esm/pds-modal-header.entry.js +1 -3
  277. package/dist/esm/pds-modal.entry.js +1 -3
  278. package/dist/esm/pds-popover.entry.js +432 -88
  279. package/dist/esm/pds-popover.entry.js.map +1 -1
  280. package/dist/esm/pds-progress.entry.js +2 -4
  281. package/dist/esm/pds-property.entry.js +2 -4
  282. package/dist/esm/pds-radio.entry.js +5 -7
  283. package/dist/esm/pds-row.entry.js +2 -4
  284. package/dist/esm/pds-select.entry.js +4 -6
  285. package/dist/esm/pds-select.entry.js.map +1 -1
  286. package/dist/esm/pds-sortable-item.entry.js +3 -5
  287. package/dist/esm/pds-sortable.entry.js +2 -4
  288. package/dist/esm/pds-sortable.entry.js.map +1 -1
  289. package/dist/esm/pds-switch.entry.js +5 -7
  290. package/dist/esm/pds-tab.entry.js +4 -6
  291. package/dist/esm/pds-table-body.entry.js +2 -4
  292. package/dist/esm/pds-table-cell.entry.js +3 -5
  293. package/dist/esm/pds-table-head-cell.entry.js +4 -6
  294. package/dist/esm/pds-table-head.entry.js +2 -4
  295. package/dist/esm/pds-table-row.entry.js +2 -4
  296. package/dist/esm/pds-table.entry.js +1 -3
  297. package/dist/esm/pds-tabpanel.entry.js +2 -4
  298. package/dist/esm/pds-tabs.entry.js +2 -4
  299. package/dist/esm/pds-text.entry.js +2 -4
  300. package/dist/esm/pds-textarea.entry.js +7 -9
  301. package/dist/esm/pds-textarea.entry.js.map +1 -1
  302. package/dist/esm/pds-toast.entry.js +4 -6
  303. package/dist/esm/pds-tooltip.entry.js +3 -5
  304. package/dist/esm/pine-core.js +4 -7
  305. package/dist/esm/pine-core.js.map +1 -1
  306. package/dist/esm/utils-tJa4KYNO.js.map +1 -1
  307. package/dist/esm-es5/attributes-C0M1gTKv.js.map +1 -1
  308. package/dist/esm-es5/form-DwjNklzi.js.map +1 -1
  309. package/dist/esm-es5/index-Bh07GI-d.js +3 -0
  310. package/dist/esm-es5/index-Bh07GI-d.js.map +1 -0
  311. package/dist/esm-es5/{index-D4zJBIgl.js → index-QXCASaCq.js} +1 -1
  312. package/dist/esm-es5/index-QXCASaCq.js.map +1 -0
  313. package/dist/esm-es5/index.js +1 -1
  314. package/dist/esm-es5/loader.js +1 -1
  315. package/dist/esm-es5/loader.js.map +1 -1
  316. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  317. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  318. package/dist/esm-es5/pds-accordion.entry.js.map +1 -1
  319. package/dist/esm-es5/pds-alert.entry.js +1 -1
  320. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  321. package/dist/esm-es5/pds-box.entry.js +1 -1
  322. package/dist/esm-es5/pds-button.entry.js +1 -1
  323. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  324. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  325. package/dist/esm-es5/pds-chip.entry.js +1 -1
  326. package/dist/esm-es5/pds-combobox.entry.js +2 -2
  327. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  328. package/dist/esm-es5/pds-divider.entry.js +1 -1
  329. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  330. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  331. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  332. package/dist/esm-es5/pds-dropdown-menu.entry.js.map +1 -1
  333. package/dist/esm-es5/pds-filter.entry.js +1 -1
  334. package/dist/esm-es5/pds-filters.entry.js +1 -1
  335. package/dist/esm-es5/pds-icon.entry.js +1 -1
  336. package/dist/esm-es5/pds-image.entry.js +1 -1
  337. package/dist/esm-es5/pds-input.entry.js +1 -1
  338. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  339. package/dist/esm-es5/pds-link.entry.js +1 -1
  340. package/dist/esm-es5/pds-loader.entry.js +1 -1
  341. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  342. package/dist/esm-es5/pds-modal-content.entry.js.map +1 -1
  343. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  344. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  345. package/dist/esm-es5/pds-modal.entry.js +1 -1
  346. package/dist/esm-es5/pds-popover.entry.js +1 -1
  347. package/dist/esm-es5/pds-popover.entry.js.map +1 -1
  348. package/dist/esm-es5/pds-progress.entry.js +1 -1
  349. package/dist/esm-es5/pds-property.entry.js +1 -1
  350. package/dist/esm-es5/pds-radio.entry.js +1 -1
  351. package/dist/esm-es5/pds-row.entry.js +1 -1
  352. package/dist/esm-es5/pds-select.entry.js +1 -1
  353. package/dist/esm-es5/pds-select.entry.js.map +1 -1
  354. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  355. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  356. package/dist/esm-es5/pds-sortable.entry.js.map +1 -1
  357. package/dist/esm-es5/pds-switch.entry.js +1 -1
  358. package/dist/esm-es5/pds-tab.entry.js +1 -1
  359. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  360. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  361. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  362. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  363. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  364. package/dist/esm-es5/pds-table.entry.js +1 -1
  365. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  366. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  367. package/dist/esm-es5/pds-text.entry.js +1 -1
  368. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  369. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  370. package/dist/esm-es5/pds-toast.entry.js +1 -1
  371. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  372. package/dist/esm-es5/pine-core.js +1 -1
  373. package/dist/esm-es5/pine-core.js.map +1 -1
  374. package/dist/esm-es5/utils-tJa4KYNO.js.map +1 -1
  375. package/dist/pine-core/index.esm.js +1 -1
  376. package/dist/pine-core/loader.esm.js.map +1 -1
  377. package/dist/pine-core/{p-9766923f.entry.js → p-01c4eac9.entry.js} +2 -2
  378. package/dist/pine-core/p-01c4eac9.entry.js.map +1 -0
  379. package/dist/pine-core/p-04390d80.system.entry.js +2 -0
  380. package/dist/pine-core/p-04390d80.system.entry.js.map +1 -0
  381. package/dist/pine-core/{p-4ef17b95.system.entry.js → p-052eedc2.system.entry.js} +2 -2
  382. package/dist/pine-core/p-052eedc2.system.entry.js.map +1 -0
  383. package/dist/pine-core/p-06f164fe.system.entry.js +2 -0
  384. package/dist/pine-core/p-06f164fe.system.entry.js.map +1 -0
  385. package/dist/pine-core/{p-725c350c.entry.js → p-0819d524.entry.js} +2 -2
  386. package/dist/pine-core/p-0819d524.entry.js.map +1 -0
  387. package/dist/pine-core/p-105951b7.system.entry.js +2 -0
  388. package/dist/pine-core/p-105951b7.system.entry.js.map +1 -0
  389. package/dist/pine-core/{p-307f415a.system.entry.js → p-168b5a5b.system.entry.js} +2 -2
  390. package/dist/pine-core/p-168b5a5b.system.entry.js.map +1 -0
  391. package/dist/pine-core/{p-ee583234.system.entry.js → p-1ab0a7b1.system.entry.js} +2 -2
  392. package/dist/pine-core/p-1ab0a7b1.system.entry.js.map +1 -0
  393. package/dist/pine-core/{p-da1fb45d.system.entry.js → p-1ac7cb0f.system.entry.js} +2 -2
  394. package/dist/pine-core/p-1ac7cb0f.system.entry.js.map +1 -0
  395. package/dist/pine-core/{p-f61ee383.system.entry.js → p-1bf75b30.system.entry.js} +2 -2
  396. package/dist/pine-core/p-1bf75b30.system.entry.js.map +1 -0
  397. package/dist/pine-core/{p-1039e8e9.entry.js → p-1c6def68.entry.js} +2 -2
  398. package/dist/pine-core/p-1c6def68.entry.js.map +1 -0
  399. package/dist/pine-core/p-1d3c4f2d.entry.js +2 -0
  400. package/dist/pine-core/p-1d3c4f2d.entry.js.map +1 -0
  401. package/dist/pine-core/{p-8ff41ba8.entry.js → p-1d83f560.entry.js} +2 -2
  402. package/dist/pine-core/p-1d83f560.entry.js.map +1 -0
  403. package/dist/pine-core/{p-90e83476.system.entry.js → p-1f28575b.system.entry.js} +2 -2
  404. package/dist/pine-core/p-1f28575b.system.entry.js.map +1 -0
  405. package/dist/pine-core/{p-88773b86.entry.js → p-1f67a7d6.entry.js} +2 -2
  406. package/dist/pine-core/p-1f67a7d6.entry.js.map +1 -0
  407. package/dist/pine-core/{p-e18c3044.entry.js → p-1fbe221a.entry.js} +2 -2
  408. package/dist/pine-core/p-1fbe221a.entry.js.map +1 -0
  409. package/dist/pine-core/{p-e692908e.entry.js → p-239cbdb2.entry.js} +2 -2
  410. package/dist/pine-core/p-239cbdb2.entry.js.map +1 -0
  411. package/dist/pine-core/{p-a9cfaa1f.entry.js → p-2551ed1a.entry.js} +2 -2
  412. package/dist/pine-core/p-2551ed1a.entry.js.map +1 -0
  413. package/dist/pine-core/p-285bc185.entry.js +2 -0
  414. package/dist/pine-core/p-285bc185.entry.js.map +1 -0
  415. package/dist/pine-core/{p-ozqEY4Zc.system.js.map → p-2NVJY0Vc.system.js.map} +1 -1
  416. package/dist/pine-core/{p-97299c83.system.entry.js → p-2aed6c67.system.entry.js} +2 -2
  417. package/dist/pine-core/p-2aed6c67.system.entry.js.map +1 -0
  418. package/dist/pine-core/p-2f5d1411.entry.js +2 -0
  419. package/dist/pine-core/p-2f5d1411.entry.js.map +1 -0
  420. package/dist/pine-core/{p-d1b27fa4.entry.js → p-35dd09be.entry.js} +2 -2
  421. package/dist/pine-core/p-35dd09be.entry.js.map +1 -0
  422. package/dist/pine-core/p-37795a28.system.entry.js +2 -0
  423. package/dist/pine-core/p-37795a28.system.entry.js.map +1 -0
  424. package/dist/pine-core/{p-c55fc47e.entry.js → p-3900b6f6.entry.js} +2 -2
  425. package/dist/pine-core/p-3900b6f6.entry.js.map +1 -0
  426. package/dist/pine-core/p-3ca2c7d0.system.entry.js +2 -0
  427. package/dist/pine-core/p-3ca2c7d0.system.entry.js.map +1 -0
  428. package/dist/pine-core/{p-B-Doh1Wu.system.js.map → p-3fR7iol3.system.js.map} +1 -1
  429. package/dist/pine-core/p-43b758af.entry.js +2 -0
  430. package/dist/pine-core/p-43b758af.entry.js.map +1 -0
  431. package/dist/pine-core/p-45c81df5.entry.js +2 -0
  432. package/dist/pine-core/p-45c81df5.entry.js.map +1 -0
  433. package/dist/pine-core/{p-378df5eb.system.entry.js → p-4792d0c8.system.entry.js} +2 -2
  434. package/dist/pine-core/p-4792d0c8.system.entry.js.map +1 -0
  435. package/dist/pine-core/{p-3cc92094.system.entry.js → p-49c5234f.system.entry.js} +2 -2
  436. package/dist/pine-core/p-49c5234f.system.entry.js.map +1 -0
  437. package/dist/pine-core/p-4HGk7WFM.system.js.map +1 -0
  438. package/dist/pine-core/{p-c44d3551.entry.js → p-51e0ea73.entry.js} +2 -2
  439. package/dist/pine-core/p-51e0ea73.entry.js.map +1 -0
  440. package/dist/pine-core/p-52e92b68.system.entry.js +2 -0
  441. package/dist/pine-core/p-52e92b68.system.entry.js.map +1 -0
  442. package/dist/pine-core/{p-b9aafec7.system.entry.js → p-54e04c59.system.entry.js} +2 -2
  443. package/dist/pine-core/p-54e04c59.system.entry.js.map +1 -0
  444. package/dist/pine-core/{p-972a511a.entry.js → p-55d120d1.entry.js} +2 -2
  445. package/dist/pine-core/p-55d120d1.entry.js.map +1 -0
  446. package/dist/pine-core/{p-9b335a9f.entry.js → p-57120758.entry.js} +2 -2
  447. package/dist/pine-core/p-57120758.entry.js.map +1 -0
  448. package/dist/pine-core/{p-b9e12535.system.entry.js → p-59166970.system.entry.js} +2 -2
  449. package/dist/pine-core/p-59166970.system.entry.js.map +1 -0
  450. package/dist/pine-core/p-5a332f9e.system.entry.js +2 -0
  451. package/dist/pine-core/p-5a332f9e.system.entry.js.map +1 -0
  452. package/dist/pine-core/{p-4802f8de.system.entry.js → p-5a94e426.system.entry.js} +2 -2
  453. package/dist/pine-core/p-5a94e426.system.entry.js.map +1 -0
  454. package/dist/pine-core/{p-bc637bed.system.entry.js → p-5d379706.system.entry.js} +2 -2
  455. package/dist/pine-core/p-5d379706.system.entry.js.map +1 -0
  456. package/dist/pine-core/p-5e1804a3.system.entry.js +2 -0
  457. package/dist/pine-core/p-5e1804a3.system.entry.js.map +1 -0
  458. package/dist/pine-core/{p-b23dd01c.entry.js → p-6046e0b1.entry.js} +2 -2
  459. package/dist/pine-core/p-6046e0b1.entry.js.map +1 -0
  460. package/dist/pine-core/{p-544fea4c.system.entry.js → p-6448829b.system.entry.js} +3 -3
  461. package/dist/pine-core/p-6448829b.system.entry.js.map +1 -0
  462. package/dist/pine-core/p-6R6wgf3i.system.js.map +1 -0
  463. package/dist/pine-core/{p-dace69e7.system.entry.js → p-6b8903e4.system.entry.js} +2 -2
  464. package/dist/pine-core/p-6b8903e4.system.entry.js.map +1 -0
  465. package/dist/pine-core/{p-c3f84df8.system.entry.js → p-6d9ca1ff.system.entry.js} +2 -2
  466. package/dist/pine-core/p-6d9ca1ff.system.entry.js.map +1 -0
  467. package/dist/pine-core/{p-6381a811.system.entry.js → p-6e4be339.system.entry.js} +3 -3
  468. package/dist/pine-core/p-6e4be339.system.entry.js.map +1 -0
  469. package/dist/pine-core/{p-2c407961.entry.js → p-71a30434.entry.js} +2 -2
  470. package/dist/pine-core/p-71a30434.entry.js.map +1 -0
  471. package/dist/pine-core/p-730ea265.entry.js +2 -0
  472. package/dist/pine-core/p-730ea265.entry.js.map +1 -0
  473. package/dist/pine-core/{p-100de2b7.entry.js → p-73353346.entry.js} +2 -2
  474. package/dist/pine-core/p-73353346.entry.js.map +1 -0
  475. package/dist/pine-core/p-770eefdd.entry.js +2 -0
  476. package/dist/pine-core/p-770eefdd.entry.js.map +1 -0
  477. package/dist/pine-core/p-79466624.entry.js +2 -0
  478. package/dist/pine-core/p-79466624.entry.js.map +1 -0
  479. package/dist/pine-core/{p-9fbb9f0e.system.entry.js → p-7a12238d.system.entry.js} +2 -2
  480. package/dist/pine-core/p-7a12238d.system.entry.js.map +1 -0
  481. package/dist/pine-core/p-7a5e0609.system.entry.js +2 -0
  482. package/dist/pine-core/p-7a5e0609.system.entry.js.map +1 -0
  483. package/dist/pine-core/{p-f5d78141.entry.js → p-7a63e1ec.entry.js} +2 -2
  484. package/dist/pine-core/p-7a63e1ec.entry.js.map +1 -0
  485. package/dist/pine-core/p-7bbe537d.system.entry.js +2 -0
  486. package/dist/pine-core/p-7bbe537d.system.entry.js.map +1 -0
  487. package/dist/pine-core/p-7c69ca77.entry.js +2 -0
  488. package/dist/pine-core/p-7c69ca77.entry.js.map +1 -0
  489. package/dist/pine-core/p-7ccd095b.entry.js +2 -0
  490. package/dist/pine-core/p-7ccd095b.entry.js.map +1 -0
  491. package/dist/pine-core/{p-f8e1545e.entry.js → p-841a6445.entry.js} +2 -2
  492. package/dist/pine-core/p-841a6445.entry.js.map +1 -0
  493. package/dist/pine-core/p-88040f36.entry.js +2 -0
  494. package/dist/pine-core/p-88040f36.entry.js.map +1 -0
  495. package/dist/pine-core/{p-538b3902.system.entry.js → p-89565b3c.system.entry.js} +2 -2
  496. package/dist/pine-core/p-89565b3c.system.entry.js.map +1 -0
  497. package/dist/pine-core/{p-5ac7af9e.entry.js → p-996072ce.entry.js} +2 -2
  498. package/dist/pine-core/p-996072ce.entry.js.map +1 -0
  499. package/dist/pine-core/{p-0486ecc6.system.entry.js → p-9c0577eb.system.entry.js} +2 -2
  500. package/dist/pine-core/p-9c0577eb.system.entry.js.map +1 -0
  501. package/dist/pine-core/{p-CTkQ9Pq-.system.js.map → p-B8ftT2uA.system.js.map} +1 -1
  502. package/dist/pine-core/{p-Cl47ROcT.system.js.map → p-B9oQYxlC.system.js.map} +1 -1
  503. package/dist/pine-core/{p-BbhWs2I3.system.js.map → p-BCGaZxvq.system.js.map} +1 -1
  504. package/dist/pine-core/p-BG6uGRQj.system.js.map +1 -1
  505. package/dist/pine-core/p-BHavepTY.system.js.map +1 -1
  506. package/dist/pine-core/{p-BJ3oNLWN.system.js.map → p-BLpHPllL.system.js.map} +1 -1
  507. package/dist/pine-core/{p-CSa_b_JX.system.js.map → p-BMBJoTMg.system.js.map} +1 -1
  508. package/dist/pine-core/{p-Dw7zXw_6.system.js.map → p-BMv60T1z.system.js.map} +1 -1
  509. package/dist/pine-core/p-BOmQOnQe.system.js +1 -1
  510. package/dist/pine-core/p-BeWjxtlo.system.js.map +1 -0
  511. package/dist/pine-core/{p-k9JOparb.system.js.map → p-BeaxER_z.system.js.map} +1 -1
  512. package/dist/pine-core/p-Bh07GI-d.js +3 -0
  513. package/dist/pine-core/p-Bh07GI-d.js.map +1 -0
  514. package/dist/pine-core/p-BhQhw0S3.system.js.map +1 -1
  515. package/dist/pine-core/{p-C2W-sHx5.system.js.map → p-BhoJR5O9.system.js.map} +1 -1
  516. package/dist/pine-core/{p-B8JDvOCM.system.js.map → p-Btz7Q5Hx.system.js.map} +1 -1
  517. package/dist/pine-core/{p-CEUtKiTx.system.js.map → p-Bv5KzSWg.system.js.map} +1 -1
  518. package/dist/pine-core/{p-qQVNUF7F.system.js.map → p-BwYg-WQV.system.js.map} +1 -1
  519. package/dist/pine-core/p-C0M1gTKv.js.map +1 -1
  520. package/dist/pine-core/{p-CG2PKUWT.system.js.map → p-C2AG52JP.system.js.map} +1 -1
  521. package/dist/pine-core/{p-kcOuXqWo.system.js.map → p-C4UrydrO.system.js.map} +1 -1
  522. package/dist/pine-core/{p-Bkfqi7zE.system.js.map → p-C6_QgODF.system.js.map} +1 -1
  523. package/dist/pine-core/p-CEUHG_Nb.system.js.map +1 -0
  524. package/dist/pine-core/{p-K3LH4gRE.system.js.map → p-CIoeutZO.system.js.map} +1 -1
  525. package/dist/pine-core/{p-DW3lkDNz.system.js.map → p-CMbWVxYl.system.js.map} +1 -1
  526. package/dist/pine-core/{p-DiWDsjtE.system.js.map → p-CNOoGfj8.system.js.map} +1 -1
  527. package/dist/pine-core/{p-ByzULH8m.system.js.map → p-CSVIgMVz.system.js.map} +1 -1
  528. package/dist/pine-core/{p-CCQd5PVN.system.js.map → p-CVjjaBaW.system.js.map} +1 -1
  529. package/dist/pine-core/p-CZsWy9_t.system.js +3 -0
  530. package/dist/pine-core/p-CZsWy9_t.system.js.map +1 -0
  531. package/dist/pine-core/{p-BEgEi4w5.system.js.map → p-CbrMVAcu.system.js.map} +1 -1
  532. package/dist/pine-core/{p-ch9PI3Vl.system.js.map → p-ChQGk39M.system.js.map} +1 -1
  533. package/dist/pine-core/{p-M-zMP2QX.system.js.map → p-CoBzoZzZ.system.js.map} +1 -1
  534. package/dist/pine-core/{p-DJ7iTbji.system.js.map → p-CqtdHqyo.system.js.map} +1 -1
  535. package/dist/pine-core/{p-DExobiBX.system.js.map → p-CrpTd0PB.system.js.map} +1 -1
  536. package/dist/pine-core/{p-rnM09DN4.system.js.map → p-CtiVxXhr.system.js.map} +1 -1
  537. package/dist/pine-core/p-CuF_eckL.system.js.map +1 -0
  538. package/dist/pine-core/p-Cua7cmvq.system.js +2 -0
  539. package/dist/pine-core/p-Cua7cmvq.system.js.map +1 -0
  540. package/dist/pine-core/{p-CdcQ02yR.system.js.map → p-D5MCs-6L.system.js.map} +1 -1
  541. package/dist/pine-core/{p-BLC5kuro.system.js.map → p-DCLLstWD.system.js.map} +1 -1
  542. package/dist/pine-core/{p-CfyzuJNE.system.js.map → p-DDsUR6MK.system.js.map} +1 -1
  543. package/dist/pine-core/p-DLKKVRBm.system.js.map +1 -0
  544. package/dist/pine-core/{p-D52TGCLt.system.js.map → p-DTMMULoz.system.js.map} +1 -1
  545. package/dist/pine-core/p-DwjNklzi.js.map +1 -1
  546. package/dist/pine-core/p-DxdUBbJz.system.js.map +1 -0
  547. package/dist/pine-core/{p-BDK6YCRb.system.js.map → p-DySPwKLZ.system.js.map} +1 -1
  548. package/dist/pine-core/{p-Cid662up.system.js.map → p-GdAtTGB0.system.js.map} +1 -1
  549. package/dist/pine-core/{p-D4zJBIgl.js → p-QXCASaCq.js} +1 -1
  550. package/dist/pine-core/p-QXCASaCq.js.map +1 -0
  551. package/dist/pine-core/{p-BRIdBthP.system.js.map → p-W2_s_Evj.system.js.map} +1 -1
  552. package/dist/pine-core/p-YWpyar7R.system.js +2 -0
  553. package/dist/pine-core/p-YWpyar7R.system.js.map +1 -0
  554. package/dist/pine-core/{p-85c41629.entry.js → p-a037df25.entry.js} +2 -2
  555. package/dist/pine-core/p-a037df25.entry.js.map +1 -0
  556. package/dist/pine-core/{p-ae2d59cd.entry.js → p-a1ddcc69.entry.js} +2 -2
  557. package/dist/pine-core/p-a1ddcc69.entry.js.map +1 -0
  558. package/dist/pine-core/{p-96c27dba.entry.js → p-a494b7d1.entry.js} +2 -2
  559. package/dist/pine-core/p-a494b7d1.entry.js.map +1 -0
  560. package/dist/pine-core/{p-db12273e.system.entry.js → p-b07bb58f.system.entry.js} +2 -2
  561. package/dist/pine-core/p-b07bb58f.system.entry.js.map +1 -0
  562. package/dist/pine-core/p-b0948892.system.entry.js +2 -0
  563. package/dist/pine-core/p-b0948892.system.entry.js.map +1 -0
  564. package/dist/pine-core/{p-9ac84e63.entry.js → p-b151a37d.entry.js} +3 -3
  565. package/dist/pine-core/p-b151a37d.entry.js.map +1 -0
  566. package/dist/pine-core/{p-6d48604a.system.entry.js → p-b38d8113.system.entry.js} +2 -2
  567. package/dist/pine-core/p-b38d8113.system.entry.js.map +1 -0
  568. package/dist/pine-core/{p-18179981.system.entry.js → p-ba1a4643.system.entry.js} +2 -2
  569. package/dist/pine-core/p-ba1a4643.system.entry.js.map +1 -0
  570. package/dist/pine-core/p-ba609b1e.entry.js +2 -0
  571. package/dist/pine-core/p-ba609b1e.entry.js.map +1 -0
  572. package/dist/pine-core/{p-cffc98ae.entry.js → p-bd11961c.entry.js} +3 -3
  573. package/dist/pine-core/p-bd11961c.entry.js.map +1 -0
  574. package/dist/pine-core/p-bd5369b5.entry.js +2 -0
  575. package/dist/pine-core/p-bd5369b5.entry.js.map +1 -0
  576. package/dist/pine-core/{p-2b102034.system.entry.js → p-c28c54c2.system.entry.js} +2 -2
  577. package/dist/pine-core/p-c28c54c2.system.entry.js.map +1 -0
  578. package/dist/pine-core/{p-86263a62.entry.js → p-c697e76a.entry.js} +2 -2
  579. package/dist/pine-core/p-c697e76a.entry.js.map +1 -0
  580. package/dist/pine-core/{p-25cb810d.entry.js → p-c7175497.entry.js} +2 -2
  581. package/dist/pine-core/p-c7175497.entry.js.map +1 -0
  582. package/dist/pine-core/{p-04ad9d2c.system.entry.js → p-ca094b21.system.entry.js} +2 -2
  583. package/dist/pine-core/p-ca094b21.system.entry.js.map +1 -0
  584. package/dist/pine-core/{p-07e129db.entry.js → p-d6cff25a.entry.js} +2 -2
  585. package/dist/pine-core/p-d6cff25a.entry.js.map +1 -0
  586. package/dist/pine-core/{p-Dq7Wu9rr.system.js.map → p-dWrReyPk.system.js.map} +1 -1
  587. package/dist/pine-core/{p-f911dde3.system.entry.js → p-db3b827e.system.entry.js} +2 -2
  588. package/dist/pine-core/p-db3b827e.system.entry.js.map +1 -0
  589. package/dist/pine-core/{p-1009009c.entry.js → p-de4ebf0b.entry.js} +2 -2
  590. package/dist/pine-core/p-de4ebf0b.entry.js.map +1 -0
  591. package/dist/pine-core/{p-6c36cab6.entry.js → p-e25d2c53.entry.js} +2 -2
  592. package/dist/pine-core/p-e25d2c53.entry.js.map +1 -0
  593. package/dist/pine-core/{p-2fd7f74e.entry.js → p-e47fbd71.entry.js} +2 -2
  594. package/dist/pine-core/p-e47fbd71.entry.js.map +1 -0
  595. package/dist/pine-core/p-e4b73c71.entry.js +2 -0
  596. package/dist/pine-core/p-e4b73c71.entry.js.map +1 -0
  597. package/dist/pine-core/p-e87633c0.system.entry.js +2 -0
  598. package/dist/pine-core/p-e87633c0.system.entry.js.map +1 -0
  599. package/dist/pine-core/p-e948a514.system.entry.js +2 -0
  600. package/dist/pine-core/p-e948a514.system.entry.js.map +1 -0
  601. package/dist/pine-core/p-eb3fe298.system.entry.js +2 -0
  602. package/dist/pine-core/p-eb3fe298.system.entry.js.map +1 -0
  603. package/dist/pine-core/{p-9c1bfa68.entry.js → p-ed214033.entry.js} +2 -2
  604. package/dist/pine-core/p-ed214033.entry.js.map +1 -0
  605. package/dist/pine-core/{p-d61f3ab0.system.entry.js → p-f38e87ad.system.entry.js} +2 -2
  606. package/dist/pine-core/p-f38e87ad.system.entry.js.map +1 -0
  607. package/dist/pine-core/{p-2aab28b1.system.entry.js → p-f6020738.system.entry.js} +2 -2
  608. package/dist/pine-core/p-f6020738.system.entry.js.map +1 -0
  609. package/dist/pine-core/p-f6049a55.system.entry.js +2 -0
  610. package/dist/pine-core/p-f6049a55.system.entry.js.map +1 -0
  611. package/dist/pine-core/{p-00f6f3af.system.entry.js → p-f70327de.system.entry.js} +2 -2
  612. package/dist/pine-core/p-f70327de.system.entry.js.map +1 -0
  613. package/dist/pine-core/{p-e702a8dc.system.entry.js → p-f73aef05.system.entry.js} +2 -2
  614. package/dist/pine-core/p-f73aef05.system.entry.js.map +1 -0
  615. package/dist/pine-core/{p-1a7cd7a6.entry.js → p-fb877b9d.entry.js} +2 -2
  616. package/dist/pine-core/p-fb877b9d.entry.js.map +1 -0
  617. package/dist/pine-core/{p-1c32ffb3.entry.js → p-fbf10641.entry.js} +2 -2
  618. package/dist/pine-core/p-fbf10641.entry.js.map +1 -0
  619. package/dist/pine-core/p-fdf7a1db.system.entry.js +2 -0
  620. package/dist/pine-core/p-fdf7a1db.system.entry.js.map +1 -0
  621. package/dist/pine-core/p-fe23aa6f.system.entry.js +2 -0
  622. package/dist/pine-core/p-fe23aa6f.system.entry.js.map +1 -0
  623. package/dist/pine-core/{p-DmWU0f_O.system.js.map → p-oqHEiE2W.system.js.map} +1 -1
  624. package/dist/pine-core/p-pKEraGuG.system.js.map +1 -0
  625. package/dist/pine-core/{p-CyFXZIZs.system.js.map → p-pStt9pIi.system.js.map} +1 -1
  626. package/dist/pine-core/{p-BG99uNIQ.system.js → p-r1rzi0o4.system.js} +1 -1
  627. package/dist/pine-core/p-r1rzi0o4.system.js.map +1 -0
  628. package/dist/pine-core/p-tJa4KYNO.js.map +1 -1
  629. package/dist/pine-core/{p-4xv5UVkx.system.js.map → p-w6Q6Xc-v.system.js.map} +1 -1
  630. package/dist/pine-core/{p-CypP0PZf.system.js.map → p-y8wq27x0.system.js.map} +1 -1
  631. package/dist/pine-core/{p-hop4Cgg5.system.js.map → p-zZn2-0Xb.system.js.map} +1 -1
  632. package/dist/pine-core/pds-accordion.entry.esm.js.map +1 -1
  633. package/dist/pine-core/pds-button.entry.esm.js.map +1 -1
  634. package/dist/pine-core/pds-dropdown-menu.entry.esm.js.map +1 -1
  635. package/dist/pine-core/pds-input.entry.esm.js.map +1 -1
  636. package/dist/pine-core/pds-modal-content.entry.esm.js.map +1 -1
  637. package/dist/pine-core/pds-popover.entry.esm.js.map +1 -1
  638. package/dist/pine-core/pds-select.entry.esm.js.map +1 -1
  639. package/dist/pine-core/pds-sortable.entry.esm.js.map +1 -1
  640. package/dist/pine-core/pds-textarea.entry.esm.js.map +1 -1
  641. package/dist/pine-core/pine-core.esm.js +1 -1
  642. package/dist/pine-core/pine-core.esm.js.map +1 -1
  643. package/dist/pine-core/pine-core.js +1 -1
  644. package/dist/types/components/pds-accordion/pds-accordion.d.ts +1 -0
  645. package/dist/types/components/pds-button/pds-button.d.ts +6 -1
  646. package/dist/types/components/pds-input/pds-input.d.ts +4 -0
  647. package/dist/types/components/pds-modal/pds-modal-content/pds-modal-content.d.ts +0 -5
  648. package/dist/types/components/pds-popover/pds-popover.d.ts +113 -10
  649. package/dist/types/components/pds-popover/popover-interface.d.ts +0 -4
  650. package/dist/types/components/pds-select/pds-select.d.ts +4 -0
  651. package/dist/types/components/pds-textarea/pds-textarea.d.ts +4 -0
  652. package/dist/types/components.d.ts +100 -10
  653. package/dist/types/stencil-public-runtime.d.ts +83 -8
  654. package/dist/types/utils/attributes.d.ts +2 -2
  655. package/dist/types/utils/form.d.ts +1 -1
  656. package/dist/types/utils/utils.d.ts +1 -1
  657. package/hydrate/index.d.ts +40 -24
  658. package/hydrate/index.js +1631 -459
  659. package/hydrate/index.mjs +1630 -460
  660. package/package.json +12 -12
  661. package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -8
  662. package/dist/cjs/app-globals-V2Kpy_OQ.js.map +0 -1
  663. package/dist/cjs/index-DDTyvZD7.js.map +0 -1
  664. package/dist/cjs/index-DtnvzYhe.js.map +0 -1
  665. package/dist/cjs/mock-pds-modal.cjs.entry.js.map +0 -1
  666. package/dist/cjs/pds-accordion.cjs.entry.js.map +0 -1
  667. package/dist/cjs/pds-alert.cjs.entry.js.map +0 -1
  668. package/dist/cjs/pds-avatar.cjs.entry.js.map +0 -1
  669. package/dist/cjs/pds-box.cjs.entry.js.map +0 -1
  670. package/dist/cjs/pds-button.cjs.entry.js.map +0 -1
  671. package/dist/cjs/pds-checkbox.cjs.entry.js.map +0 -1
  672. package/dist/cjs/pds-chip.cjs.entry.js.map +0 -1
  673. package/dist/cjs/pds-combobox.cjs.entry.js.map +0 -1
  674. package/dist/cjs/pds-copytext.cjs.entry.js.map +0 -1
  675. package/dist/cjs/pds-divider.cjs.entry.js.map +0 -1
  676. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js.map +0 -1
  677. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js.map +0 -1
  678. package/dist/cjs/pds-dropdown-menu.cjs.entry.js.map +0 -1
  679. package/dist/cjs/pds-filter.cjs.entry.js.map +0 -1
  680. package/dist/cjs/pds-filters.cjs.entry.js.map +0 -1
  681. package/dist/cjs/pds-icon.cjs.entry.js.map +0 -1
  682. package/dist/cjs/pds-image.cjs.entry.js.map +0 -1
  683. package/dist/cjs/pds-input.cjs.entry.js.map +0 -1
  684. package/dist/cjs/pds-link.cjs.entry.js.map +0 -1
  685. package/dist/cjs/pds-loader.cjs.entry.js.map +0 -1
  686. package/dist/cjs/pds-modal-content.cjs.entry.js.map +0 -1
  687. package/dist/cjs/pds-modal-footer.cjs.entry.js.map +0 -1
  688. package/dist/cjs/pds-modal-header.cjs.entry.js.map +0 -1
  689. package/dist/cjs/pds-modal.cjs.entry.js.map +0 -1
  690. package/dist/cjs/pds-popover.cjs.entry.js.map +0 -1
  691. package/dist/cjs/pds-progress.cjs.entry.js.map +0 -1
  692. package/dist/cjs/pds-property.cjs.entry.js.map +0 -1
  693. package/dist/cjs/pds-radio.cjs.entry.js.map +0 -1
  694. package/dist/cjs/pds-row.cjs.entry.js.map +0 -1
  695. package/dist/cjs/pds-select.cjs.entry.js.map +0 -1
  696. package/dist/cjs/pds-sortable-item.cjs.entry.js.map +0 -1
  697. package/dist/cjs/pds-sortable.cjs.entry.js.map +0 -1
  698. package/dist/cjs/pds-switch.cjs.entry.js.map +0 -1
  699. package/dist/cjs/pds-tab.cjs.entry.js.map +0 -1
  700. package/dist/cjs/pds-table-body.cjs.entry.js.map +0 -1
  701. package/dist/cjs/pds-table-cell.cjs.entry.js.map +0 -1
  702. package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +0 -1
  703. package/dist/cjs/pds-table-head.cjs.entry.js.map +0 -1
  704. package/dist/cjs/pds-table-row.cjs.entry.js.map +0 -1
  705. package/dist/cjs/pds-table.cjs.entry.js.map +0 -1
  706. package/dist/cjs/pds-tabpanel.cjs.entry.js.map +0 -1
  707. package/dist/cjs/pds-tabs.cjs.entry.js.map +0 -1
  708. package/dist/cjs/pds-text.cjs.entry.js.map +0 -1
  709. package/dist/cjs/pds-textarea.cjs.entry.js.map +0 -1
  710. package/dist/cjs/pds-toast.cjs.entry.js.map +0 -1
  711. package/dist/cjs/pds-tooltip.cjs.entry.js.map +0 -1
  712. package/dist/esm/app-globals-DQuL1Twl.js +0 -6
  713. package/dist/esm/app-globals-DQuL1Twl.js.map +0 -1
  714. package/dist/esm/index-Bf1dou5H.js.map +0 -1
  715. package/dist/esm/index-D4zJBIgl.js.map +0 -1
  716. package/dist/esm-es5/app-globals-DQuL1Twl.js +0 -2
  717. package/dist/esm-es5/app-globals-DQuL1Twl.js.map +0 -1
  718. package/dist/esm-es5/index-Bf1dou5H.js +0 -3
  719. package/dist/esm-es5/index-Bf1dou5H.js.map +0 -1
  720. package/dist/esm-es5/index-D4zJBIgl.js.map +0 -1
  721. package/dist/pine-core/p-00f6f3af.system.entry.js.map +0 -1
  722. package/dist/pine-core/p-0486ecc6.system.entry.js.map +0 -1
  723. package/dist/pine-core/p-04ad9d2c.system.entry.js.map +0 -1
  724. package/dist/pine-core/p-07e129db.entry.js.map +0 -1
  725. package/dist/pine-core/p-0b593535.system.entry.js +0 -2
  726. package/dist/pine-core/p-0b593535.system.entry.js.map +0 -1
  727. package/dist/pine-core/p-1009009c.entry.js.map +0 -1
  728. package/dist/pine-core/p-100de2b7.entry.js.map +0 -1
  729. package/dist/pine-core/p-1039e8e9.entry.js.map +0 -1
  730. package/dist/pine-core/p-18179981.system.entry.js.map +0 -1
  731. package/dist/pine-core/p-1a7cd7a6.entry.js.map +0 -1
  732. package/dist/pine-core/p-1c32ffb3.entry.js.map +0 -1
  733. package/dist/pine-core/p-20466115.entry.js +0 -2
  734. package/dist/pine-core/p-20466115.entry.js.map +0 -1
  735. package/dist/pine-core/p-25cb810d.entry.js.map +0 -1
  736. package/dist/pine-core/p-2aab28b1.system.entry.js.map +0 -1
  737. package/dist/pine-core/p-2b102034.system.entry.js.map +0 -1
  738. package/dist/pine-core/p-2b12bc55.system.entry.js +0 -2
  739. package/dist/pine-core/p-2b12bc55.system.entry.js.map +0 -1
  740. package/dist/pine-core/p-2c407961.entry.js.map +0 -1
  741. package/dist/pine-core/p-2efc646c.system.entry.js +0 -2
  742. package/dist/pine-core/p-2efc646c.system.entry.js.map +0 -1
  743. package/dist/pine-core/p-2fd7f74e.entry.js.map +0 -1
  744. package/dist/pine-core/p-302849cf.system.entry.js +0 -2
  745. package/dist/pine-core/p-302849cf.system.entry.js.map +0 -1
  746. package/dist/pine-core/p-307f415a.system.entry.js.map +0 -1
  747. package/dist/pine-core/p-332338ee.entry.js +0 -2
  748. package/dist/pine-core/p-332338ee.entry.js.map +0 -1
  749. package/dist/pine-core/p-378df5eb.system.entry.js.map +0 -1
  750. package/dist/pine-core/p-3cc92094.system.entry.js.map +0 -1
  751. package/dist/pine-core/p-41abb654.entry.js +0 -2
  752. package/dist/pine-core/p-41abb654.entry.js.map +0 -1
  753. package/dist/pine-core/p-45d574f1.system.entry.js +0 -2
  754. package/dist/pine-core/p-45d574f1.system.entry.js.map +0 -1
  755. package/dist/pine-core/p-465e3418.system.entry.js +0 -2
  756. package/dist/pine-core/p-465e3418.system.entry.js.map +0 -1
  757. package/dist/pine-core/p-4802f8de.system.entry.js.map +0 -1
  758. package/dist/pine-core/p-4bc02df0.entry.js +0 -2
  759. package/dist/pine-core/p-4bc02df0.entry.js.map +0 -1
  760. package/dist/pine-core/p-4c6ec7c4.entry.js +0 -2
  761. package/dist/pine-core/p-4c6ec7c4.entry.js.map +0 -1
  762. package/dist/pine-core/p-4ef17b95.system.entry.js.map +0 -1
  763. package/dist/pine-core/p-538b3902.system.entry.js.map +0 -1
  764. package/dist/pine-core/p-544fea4c.system.entry.js.map +0 -1
  765. package/dist/pine-core/p-5ac7af9e.entry.js.map +0 -1
  766. package/dist/pine-core/p-6381a811.system.entry.js.map +0 -1
  767. package/dist/pine-core/p-6c36cab6.entry.js.map +0 -1
  768. package/dist/pine-core/p-6d48604a.system.entry.js.map +0 -1
  769. package/dist/pine-core/p-725c350c.entry.js.map +0 -1
  770. package/dist/pine-core/p-7792f47d.system.entry.js +0 -2
  771. package/dist/pine-core/p-7792f47d.system.entry.js.map +0 -1
  772. package/dist/pine-core/p-7fa6cf39.system.entry.js +0 -2
  773. package/dist/pine-core/p-7fa6cf39.system.entry.js.map +0 -1
  774. package/dist/pine-core/p-81972d0f.entry.js +0 -2
  775. package/dist/pine-core/p-81972d0f.entry.js.map +0 -1
  776. package/dist/pine-core/p-81bc089e.entry.js +0 -2
  777. package/dist/pine-core/p-81bc089e.entry.js.map +0 -1
  778. package/dist/pine-core/p-85c41629.entry.js.map +0 -1
  779. package/dist/pine-core/p-86263a62.entry.js.map +0 -1
  780. package/dist/pine-core/p-87ed43d5.entry.js +0 -2
  781. package/dist/pine-core/p-87ed43d5.entry.js.map +0 -1
  782. package/dist/pine-core/p-88773b86.entry.js.map +0 -1
  783. package/dist/pine-core/p-8b3f4c31.entry.js +0 -2
  784. package/dist/pine-core/p-8b3f4c31.entry.js.map +0 -1
  785. package/dist/pine-core/p-8ff41ba8.entry.js.map +0 -1
  786. package/dist/pine-core/p-90e83476.system.entry.js.map +0 -1
  787. package/dist/pine-core/p-96c27dba.entry.js.map +0 -1
  788. package/dist/pine-core/p-97299c83.system.entry.js.map +0 -1
  789. package/dist/pine-core/p-972a511a.entry.js.map +0 -1
  790. package/dist/pine-core/p-9766923f.entry.js.map +0 -1
  791. package/dist/pine-core/p-9ac84e63.entry.js.map +0 -1
  792. package/dist/pine-core/p-9b335a9f.entry.js.map +0 -1
  793. package/dist/pine-core/p-9c1bfa68.entry.js.map +0 -1
  794. package/dist/pine-core/p-9c579956.system.entry.js +0 -2
  795. package/dist/pine-core/p-9c579956.system.entry.js.map +0 -1
  796. package/dist/pine-core/p-9fbb9f0e.system.entry.js.map +0 -1
  797. package/dist/pine-core/p-BG99uNIQ.system.js.map +0 -1
  798. package/dist/pine-core/p-BPjnTOEL.system.js +0 -2
  799. package/dist/pine-core/p-BPjnTOEL.system.js.map +0 -1
  800. package/dist/pine-core/p-BbPAtVJG.system.js +0 -2
  801. package/dist/pine-core/p-BbPAtVJG.system.js.map +0 -1
  802. package/dist/pine-core/p-Bf1dou5H.js +0 -3
  803. package/dist/pine-core/p-Bf1dou5H.js.map +0 -1
  804. package/dist/pine-core/p-BkPtASB1.system.js.map +0 -1
  805. package/dist/pine-core/p-CIBXMJd-.system.js.map +0 -1
  806. package/dist/pine-core/p-Cqzmj3D8.system.js.map +0 -1
  807. package/dist/pine-core/p-CwNRZQss.system.js.map +0 -1
  808. package/dist/pine-core/p-Cxvdulqq.system.js +0 -3
  809. package/dist/pine-core/p-Cxvdulqq.system.js.map +0 -1
  810. package/dist/pine-core/p-D4zJBIgl.js.map +0 -1
  811. package/dist/pine-core/p-DCjZr2HA.system.js.map +0 -1
  812. package/dist/pine-core/p-DQuL1Twl.js +0 -2
  813. package/dist/pine-core/p-DQuL1Twl.js.map +0 -1
  814. package/dist/pine-core/p-DpBO6epv.system.js.map +0 -1
  815. package/dist/pine-core/p-DsyFbeEi.system.js.map +0 -1
  816. package/dist/pine-core/p-GrmqKqN8.system.js.map +0 -1
  817. package/dist/pine-core/p-WWWd_vEd.system.js +0 -2
  818. package/dist/pine-core/p-WWWd_vEd.system.js.map +0 -1
  819. package/dist/pine-core/p-a707a7da.system.entry.js +0 -2
  820. package/dist/pine-core/p-a707a7da.system.entry.js.map +0 -1
  821. package/dist/pine-core/p-a9cfaa1f.entry.js.map +0 -1
  822. package/dist/pine-core/p-ae2d59cd.entry.js.map +0 -1
  823. package/dist/pine-core/p-b23dd01c.entry.js.map +0 -1
  824. package/dist/pine-core/p-b669e1d9.entry.js +0 -2
  825. package/dist/pine-core/p-b669e1d9.entry.js.map +0 -1
  826. package/dist/pine-core/p-b8127114.system.entry.js +0 -2
  827. package/dist/pine-core/p-b8127114.system.entry.js.map +0 -1
  828. package/dist/pine-core/p-b9aafec7.system.entry.js.map +0 -1
  829. package/dist/pine-core/p-b9e12535.system.entry.js.map +0 -1
  830. package/dist/pine-core/p-bc2530d7.entry.js +0 -2
  831. package/dist/pine-core/p-bc2530d7.entry.js.map +0 -1
  832. package/dist/pine-core/p-bc637bed.system.entry.js.map +0 -1
  833. package/dist/pine-core/p-c09c8fa7.entry.js +0 -2
  834. package/dist/pine-core/p-c09c8fa7.entry.js.map +0 -1
  835. package/dist/pine-core/p-c3f84df8.system.entry.js.map +0 -1
  836. package/dist/pine-core/p-c44d3551.entry.js.map +0 -1
  837. package/dist/pine-core/p-c55fc47e.entry.js.map +0 -1
  838. package/dist/pine-core/p-cffc98ae.entry.js.map +0 -1
  839. package/dist/pine-core/p-d1b27fa4.entry.js.map +0 -1
  840. package/dist/pine-core/p-d2b15290.system.entry.js +0 -2
  841. package/dist/pine-core/p-d2b15290.system.entry.js.map +0 -1
  842. package/dist/pine-core/p-d61f3ab0.system.entry.js.map +0 -1
  843. package/dist/pine-core/p-da1fb45d.system.entry.js.map +0 -1
  844. package/dist/pine-core/p-dace69e7.system.entry.js.map +0 -1
  845. package/dist/pine-core/p-db12273e.system.entry.js.map +0 -1
  846. package/dist/pine-core/p-e18c3044.entry.js.map +0 -1
  847. package/dist/pine-core/p-e6085566.system.entry.js +0 -2
  848. package/dist/pine-core/p-e6085566.system.entry.js.map +0 -1
  849. package/dist/pine-core/p-e683e197.system.entry.js +0 -2
  850. package/dist/pine-core/p-e683e197.system.entry.js.map +0 -1
  851. package/dist/pine-core/p-e692908e.entry.js.map +0 -1
  852. package/dist/pine-core/p-e6b051e8.system.entry.js +0 -2
  853. package/dist/pine-core/p-e6b051e8.system.entry.js.map +0 -1
  854. package/dist/pine-core/p-e702a8dc.system.entry.js.map +0 -1
  855. package/dist/pine-core/p-ed724664.system.entry.js +0 -2
  856. package/dist/pine-core/p-ed724664.system.entry.js.map +0 -1
  857. package/dist/pine-core/p-ed7bea99.system.entry.js +0 -2
  858. package/dist/pine-core/p-ed7bea99.system.entry.js.map +0 -1
  859. package/dist/pine-core/p-ee583234.system.entry.js.map +0 -1
  860. package/dist/pine-core/p-f15cd180.entry.js +0 -2
  861. package/dist/pine-core/p-f15cd180.entry.js.map +0 -1
  862. package/dist/pine-core/p-f5d78141.entry.js.map +0 -1
  863. package/dist/pine-core/p-f61ee383.system.entry.js.map +0 -1
  864. package/dist/pine-core/p-f8e1545e.entry.js.map +0 -1
  865. package/dist/pine-core/p-f911dde3.system.entry.js.map +0 -1
  866. package/dist/pine-core/p-fe60ee09.entry.js +0 -2
  867. package/dist/pine-core/p-fe60ee09.entry.js.map +0 -1
@@ -212,7 +212,7 @@ export class PdsSelect {
212
212
  }
213
213
  render() {
214
214
  const hasAction = this.el.querySelector('[slot="action"]') !== null;
215
- return (h(Host, { key: 'a64fae51ba6d998c3ce87734995a25a29e0b793a', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: 'a0ee61f1a0e649a1ac0266934ea39bd02afb8eca', class: "pds-select" }, !this.hideLabel && (h("div", { key: '6cd3676bf388328ae44f3c0e5bdf20b0dc3743a4', class: "pds-select__label-wrapper" }, h("label", { key: '4dee9e78745b8ed65495cc42c7570eb24297c44d', htmlFor: this.componentId }, h("span", { key: '9c08d2ff302dea008340f88508b9506fa8499f35', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: '2039ee8a246e57507a0a803212cebfad5f730622', "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: '8fa779a58b2525e7dfee965863aa53d2588bb8e5', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '514b1f3d61e2001961ed4293b0489a7b87b9db37', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'c46733d532d26c2f780db13473cfcb877faf565b', class: "pds-select__select-icon", icon: enlarge }))));
215
+ return (h(Host, { key: '0d94c80a048b1ce3a0c2c6147bf84aab09781e08', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: '15533d7713175f9fddd1fd972f7faa0852753763', class: "pds-select" }, !this.hideLabel && (h("div", { key: '5327297f4963ec4d1e182ee63f973e7309164389', class: "pds-select__label-wrapper" }, h("label", { key: 'b9d697e170c343be49f3654432eb3e9a269dc28c', htmlFor: this.componentId }, h("span", { key: 'f2b2a61293818d2a163836f25e32bf8f66936752', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: '4b1eed0ba9cb197fa2fdb9ac0a342bd3df21313b', "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: '2ceb92d89a00308245571f2aeae0c901cd850874', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '032ef7c0c4b7442fd8f524995cfb95475687b98c', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'ee2773042ca2d05a98ff9c46c2934926de69d8e6', class: "pds-select__select-icon", icon: enlarge }))));
216
216
  }
217
217
  static get is() { return "pds-select"; }
218
218
  static get encapsulation() { return "shadow"; }
@@ -245,8 +245,8 @@ export class PdsSelect {
245
245
  },
246
246
  "getter": false,
247
247
  "setter": false,
248
- "attribute": "autocomplete",
249
- "reflect": false
248
+ "reflect": false,
249
+ "attribute": "autocomplete"
250
250
  },
251
251
  "componentId": {
252
252
  "type": "string",
@@ -264,8 +264,8 @@ export class PdsSelect {
264
264
  },
265
265
  "getter": false,
266
266
  "setter": false,
267
- "attribute": "component-id",
268
- "reflect": false
267
+ "reflect": false,
268
+ "attribute": "component-id"
269
269
  },
270
270
  "disabled": {
271
271
  "type": "boolean",
@@ -286,8 +286,8 @@ export class PdsSelect {
286
286
  },
287
287
  "getter": false,
288
288
  "setter": false,
289
- "attribute": "disabled",
290
289
  "reflect": false,
290
+ "attribute": "disabled",
291
291
  "defaultValue": "false"
292
292
  },
293
293
  "errorMessage": {
@@ -306,8 +306,8 @@ export class PdsSelect {
306
306
  },
307
307
  "getter": false,
308
308
  "setter": false,
309
- "attribute": "error-message",
310
- "reflect": false
309
+ "reflect": false,
310
+ "attribute": "error-message"
311
311
  },
312
312
  "hideLabel": {
313
313
  "type": "boolean",
@@ -325,8 +325,8 @@ export class PdsSelect {
325
325
  },
326
326
  "getter": false,
327
327
  "setter": false,
328
- "attribute": "hide-label",
329
- "reflect": false
328
+ "reflect": false,
329
+ "attribute": "hide-label"
330
330
  },
331
331
  "helperMessage": {
332
332
  "type": "string",
@@ -344,8 +344,8 @@ export class PdsSelect {
344
344
  },
345
345
  "getter": false,
346
346
  "setter": false,
347
- "attribute": "helper-message",
348
- "reflect": false
347
+ "reflect": false,
348
+ "attribute": "helper-message"
349
349
  },
350
350
  "invalid": {
351
351
  "type": "boolean",
@@ -363,8 +363,8 @@ export class PdsSelect {
363
363
  },
364
364
  "getter": false,
365
365
  "setter": false,
366
- "attribute": "invalid",
367
- "reflect": false
366
+ "reflect": false,
367
+ "attribute": "invalid"
368
368
  },
369
369
  "label": {
370
370
  "type": "string",
@@ -382,8 +382,8 @@ export class PdsSelect {
382
382
  },
383
383
  "getter": false,
384
384
  "setter": false,
385
- "attribute": "label",
386
- "reflect": false
385
+ "reflect": false,
386
+ "attribute": "label"
387
387
  },
388
388
  "multiple": {
389
389
  "type": "boolean",
@@ -404,8 +404,8 @@ export class PdsSelect {
404
404
  },
405
405
  "getter": false,
406
406
  "setter": false,
407
- "attribute": "multiple",
408
407
  "reflect": false,
408
+ "attribute": "multiple",
409
409
  "defaultValue": "false"
410
410
  },
411
411
  "name": {
@@ -424,8 +424,8 @@ export class PdsSelect {
424
424
  },
425
425
  "getter": false,
426
426
  "setter": false,
427
- "attribute": "name",
428
- "reflect": false
427
+ "reflect": false,
428
+ "attribute": "name"
429
429
  },
430
430
  "required": {
431
431
  "type": "boolean",
@@ -446,10 +446,29 @@ export class PdsSelect {
446
446
  },
447
447
  "getter": false,
448
448
  "setter": false,
449
- "attribute": "required",
450
449
  "reflect": false,
450
+ "attribute": "required",
451
451
  "defaultValue": "false"
452
452
  },
453
+ "highlight": {
454
+ "type": "boolean",
455
+ "mutable": false,
456
+ "complexType": {
457
+ "original": "boolean",
458
+ "resolved": "boolean",
459
+ "references": {}
460
+ },
461
+ "required": false,
462
+ "optional": true,
463
+ "docs": {
464
+ "tags": [],
465
+ "text": "Applies highlight styling to the select field."
466
+ },
467
+ "getter": false,
468
+ "setter": false,
469
+ "reflect": true,
470
+ "attribute": "highlight"
471
+ },
453
472
  "value": {
454
473
  "type": "string",
455
474
  "mutable": true,
@@ -466,8 +485,8 @@ export class PdsSelect {
466
485
  },
467
486
  "getter": false,
468
487
  "setter": false,
469
- "attribute": "value",
470
- "reflect": false
488
+ "reflect": false,
489
+ "attribute": "value"
471
490
  }
472
491
  };
473
492
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pds-select.js","sourceRoot":"","sources":["../../../src/components/pds-select/pds-select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AAOH,MAAM,OAAO,SAAS;IANtB;QAWU,UAAK,GAAqC,YAAY,CAAC;QAc/D;;;WAGG;QACK,aAAQ,GAAG,KAAK,CAAA;QA4BxB;;;WAGG;QACK,aAAQ,GAAG,KAAK,CAAC;QAOzB;;;WAGG;QACK,aAAQ,GAAG,KAAK,CAAC;QAmFzB;;UAEE;QACM,mBAAc,GAAG,CAAC,CAAQ,EAAE,EAAE;YACpC,MAAM,MAAM,GAAG,CAAC,CAAC,MAA2B,CAAA;YAE5C,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;iBACpC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;iBACtC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;YAEtC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACxC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;YAC3B,CAAC;iBAAM,CAAC;gBACJ,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC;YACxB,CAAC;YAED,IAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Host, h, Prop, Watch } from '@stencil/core';\nimport { messageId, exposeTypeProperty } from '../../utils/form';\nimport { danger, enlarge } from '@pine-ds/icons/icons';\n\n/**\n * @slot action - Content to be displayed in the label area, typically for help icons or links\n */\n@Component({\n tag: 'pds-select',\n styleUrls: ['pds-select.tokens.scss', '../../global/styles/utils/label.scss', 'pds-select.scss'],\n shadow: true,\n formAssociated: true,\n})\nexport class PdsSelect {\n\n private selectEl!: HTMLSelectElement;\n private slotContainer!: HTMLDivElement;\n private internals?: ElementInternals;\n private _type: 'select-one' | 'select-multiple' = 'select-one';\n\n @Element() el: HTMLPdsSelectElement;\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 * Indicates whether or not the select field is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false\n\n /**\n * Displays error message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Visually hides the label text for instances where only the select should be displayed. Label remains accessible to assistive technology such as screen readers.\n * Note: When true, the action slot is also hidden to maintain a minimal UI.\n */\n @Prop() hideLabel: boolean;\n\n /**\n * Displays helper message text below select.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines whether or not the select is invalid.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the select label.\n */\n @Prop() label?: string;\n\n /**\n * Indicates whether multiple options can be selected.\n * @defaultValue false\n */\n @Prop() multiple = false;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name!: string;\n\n /**\n * Indicates whether or not the select field is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * The value(s) of the selected option(s).\n *\n */\n @Prop({ mutable: true }) value?: string | string[];\n\n\n /**\n * Emitted when a keyboard input occurs.\n */\n @Event() pdsSelectChange: EventEmitter<InputEvent>;\n\n @Watch('value')\n /**\n * Handles the change in the value of the select component.\n * This method is called whenever the value of the select component changes.\n * It updates the selected option accordingly.\n */\n valueChanged() {\n this.updateSelectedOption();\n this.updateFormValue();\n }\n\n @Watch('multiple')\n /**\n * Updates the type property when multiple changes to match native select behavior.\n */\n multipleChanged() {\n this.updateType();\n }\n\n private updateType() {\n this._type = this.multiple ? 'select-multiple' : 'select-one';\n }\n\n connectedCallback() {\n // Initialize ElementInternals for form association\n if (this.el.attachInternals) {\n this.internals = this.el.attachInternals();\n }\n\n // Expose type property on the element instance to match native form element behavior\n exposeTypeProperty(this.el, () => this._type);\n }\n\n componentWillLoad() {\n // Set initial type based on multiple prop\n this.updateType();\n this.updateSelectedOption();\n }\n\n componentDidLoad() {\n // Set initial form value\n this.updateFormValue();\n }\n\n /**\n * Updates the selected option in the select element based on the current value.\n *\n * This method iterates through all the options of the select element and sets the\n * 'selected' attribute on the option that matches the current value. If an option\n * does not match the current value, the 'selected' attribute is removed.\n *\n * @private\n * @returns {void}\n */\n private updateSelectedOption() {\n if (this.selectEl) {\n const options = this.selectEl.options;\n\n // Update the selected attribute for all options.\n Array.from(options).map((option: HTMLOptionElement) => {\n if (Array.isArray(this.value)) {\n option.selected = this.value.includes(option.value);\n } else {\n option.selected = this.value === option.value;\n }\n });\n };\n }\n\n /**\n * Emits an event on input change.\n */\n private onSelectUpdate = (e: Event) => {\n const target = e.target as HTMLSelectElement\n\n const values = Array.from(target.options)\n .filter((option) => ( option.selected))\n .map((option) => ( option.value));\n\n if (values.length === 1 && !this.multiple) {\n this.value = values[0];\n } else {\n this.value = values;\n }\n\n this.pdsSelectChange.emit(e as InputEvent);\n };\n\n /**\n * Handles the change event for the slot element.\n * This method is triggered when the slot content changes.\n * It updates the inner HTML of the select element by cloning and appending\n * the assigned <option> elements from the slot.\n */\n private handleSlotChange = () => {\n const slot = this.slotContainer.querySelector('slot') as HTMLSlotElement;\n\n this.selectEl.innerHTML = '';\n const assignedElements = slot.assignedElements({ flatten: true }) as (HTMLOptionElement | HTMLOptGroupElement)[];\n\n assignedElements.forEach((item) => {\n if ( ['OPTION', 'OPTGROUP'].includes(item.tagName)) {\n const clonedItem = item.cloneNode(true) as HTMLOptionElement | HTMLOptGroupElement;\n if (clonedItem.tagName === 'OPTION' && (clonedItem as HTMLOptionElement).value === this.value) {\n (clonedItem as HTMLOptionElement).selected = true;\n }\n this.selectEl.appendChild(clonedItem);\n }\n });\n\n this.updateSelectedOption();\n };\n\n private getHelperMessage() {\n return this.helperMessage && (\n <p class=\"pds-select__helper-message\" id={messageId(this.componentId, 'helper')}>\n {this.helperMessage}\n </p>\n );\n }\n\n private getErrorMessage() {\n return this.errorMessage && (\n <p class=\"pds-select__error-message\" id={messageId(this.componentId, 'error')} aria-live=\"assertive\">\n <pds-icon icon={danger} size=\"small\"></pds-icon>\n {this.errorMessage}\n </p>\n );\n }\n\n private renderMessages() {\n if (!this.helperMessage && !this.errorMessage) return null;\n\n return (\n <div class=\"pds-select__message\">\n {this.getHelperMessage()}\n {this.getErrorMessage()}\n </div>\n );\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) { classNames.push('is-invalid'); }\n if (this.disabled) { classNames.push('is-disabled'); }\n\n return classNames.join(' ');\n }\n\n private renderAction() {\n const hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n if (hasAction) {\n return (\n <div class=\"pds-select__action\" part=\"action\">\n <slot name=\"action\"></slot>\n </div>\n );\n }\n return null;\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.value;\n\n // Handle multi-select arrays by converting to FormData or comma-separated string\n if (Array.isArray(value)) {\n if (value.length > 1) {\n // For multiple values, create FormData with multiple entries\n const formData = new FormData();\n value.forEach(val => formData.append(this.name || '', val));\n this.internals.setFormValue(formData);\n } else {\n // Single value in array, use the string value\n this.internals.setFormValue(value[0] || null);\n }\n } else {\n // Single string value\n this.internals.setFormValue(value || null);\n }\n\n // Set validity based on native select validation\n if (this.selectEl && this.internals && this.internals.setValidity) {\n this.internals.setValidity(\n this.selectEl.validity,\n this.selectEl.validationMessage,\n this.selectEl\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(s) from FormData using the select's name\n const values = state.getAll(this.name);\n if (values.length > 1) {\n // Multi-select: convert to string array\n this.value = values.filter(v => typeof v === 'string') as string[];\n } else if (values.length === 1 && typeof values[0] === 'string') {\n // Single select: use string value\n this.value = values[0];\n }\n }\n }\n\n render() {\n const hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n\n return (\n <Host aria-disabled={this.disabled ? 'true' : null} class={this.classNames()} has-action={hasAction && !this.hideLabel ? 'true' : null}>\n <div class=\"pds-select\">\n {!this.hideLabel && (\n <div class=\"pds-select__label-wrapper\">\n <label htmlFor={this.componentId}>\n <span class={this.hideLabel ? 'visually-hidden' : ''}>\n {this.label}\n </span>\n </label>\n {hasAction && this.renderAction()}\n </div>\n )}\n <select\n aria-label={this.hideLabel ? this.label : undefined}\n autocomplete={this.autocomplete || undefined}\n class=\"pds-select__field\"\n disabled={this.disabled}\n id={this.componentId}\n multiple={this.multiple}\n name={this.name}\n onChange={this.onSelectUpdate}\n part=\"select\"\n required={this.required}\n ref={(el) => (this.selectEl = el as HTMLSelectElement)}\n ></select>\n <div aria-hidden=\"true\" class=\"hidden\" ref={(el) => (this.slotContainer = el)}>\n <slot onSlotchange={this.handleSlotChange}></slot>\n </div>\n {this.renderMessages()}\n {!this.multiple && <pds-icon class=\"pds-select__select-icon\" icon={enlarge} />}\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-select.js","sourceRoot":"","sources":["../../../src/components/pds-select/pds-select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AAOH,MAAM,OAAO,SAAS;IANtB;QAWU,UAAK,GAAqC,YAAY,CAAC;QAc/D;;;WAGG;QACK,aAAQ,GAAG,KAAK,CAAA;QA4BxB;;;WAGG;QACK,aAAQ,GAAG,KAAK,CAAC;QAOzB;;;WAGG;QACK,aAAQ,GAAG,KAAK,CAAC;QAwFzB;;UAEE;QACM,mBAAc,GAAG,CAAC,CAAQ,EAAE,EAAE;YACpC,MAAM,MAAM,GAAG,CAAC,CAAC,MAA2B,CAAA;YAE5C,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC;iBACpC,MAAM,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAE,MAAM,CAAC,QAAQ,CAAC,CAAC;iBACtC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;YAEtC,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBACxC,IAAI,CAAC,KAAK,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Host, h, Prop, Watch } from '@stencil/core';\nimport { messageId, exposeTypeProperty } from '../../utils/form';\nimport { danger, enlarge } from '@pine-ds/icons/icons';\n\n/**\n * @slot action - Content to be displayed in the label area, typically for help icons or links\n */\n@Component({\n tag: 'pds-select',\n styleUrls: ['pds-select.tokens.scss', '../../global/styles/utils/label.scss', 'pds-select.scss'],\n shadow: true,\n formAssociated: true,\n})\nexport class PdsSelect {\n\n private selectEl!: HTMLSelectElement;\n private slotContainer!: HTMLDivElement;\n private internals?: ElementInternals;\n private _type: 'select-one' | 'select-multiple' = 'select-one';\n\n @Element() el: HTMLPdsSelectElement;\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 * Indicates whether or not the select field is disabled.\n * @defaultValue false\n */\n @Prop() disabled = false\n\n /**\n * Displays error message text describing an invalid state.\n */\n @Prop() errorMessage: string;\n\n /**\n * Visually hides the label text for instances where only the select should be displayed. Label remains accessible to assistive technology such as screen readers.\n * Note: When true, the action slot is also hidden to maintain a minimal UI.\n */\n @Prop() hideLabel: boolean;\n\n /**\n * Displays helper message text below select.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines whether or not the select is invalid.\n */\n @Prop() invalid?: boolean;\n\n /**\n * Text to be displayed as the select label.\n */\n @Prop() label?: string;\n\n /**\n * Indicates whether multiple options can be selected.\n * @defaultValue false\n */\n @Prop() multiple = false;\n\n /**\n * Specifies the name. Submitted with the form name/value pair.\n */\n @Prop() name!: string;\n\n /**\n * Indicates whether or not the select field is required.\n * @defaultValue false\n */\n @Prop() required = false;\n\n /**\n * Applies highlight styling to the select field.\n */\n @Prop({ reflect: true }) highlight?: boolean;\n\n /**\n * The value(s) of the selected option(s).\n *\n */\n @Prop({ mutable: true }) value?: string | string[];\n\n\n /**\n * Emitted when a keyboard input occurs.\n */\n @Event() pdsSelectChange: EventEmitter<InputEvent>;\n\n @Watch('value')\n /**\n * Handles the change in the value of the select component.\n * This method is called whenever the value of the select component changes.\n * It updates the selected option accordingly.\n */\n valueChanged() {\n this.updateSelectedOption();\n this.updateFormValue();\n }\n\n @Watch('multiple')\n /**\n * Updates the type property when multiple changes to match native select behavior.\n */\n multipleChanged() {\n this.updateType();\n }\n\n private updateType() {\n this._type = this.multiple ? 'select-multiple' : 'select-one';\n }\n\n connectedCallback() {\n // Initialize ElementInternals for form association\n if (this.el.attachInternals) {\n this.internals = this.el.attachInternals();\n }\n\n // Expose type property on the element instance to match native form element behavior\n exposeTypeProperty(this.el, () => this._type);\n }\n\n componentWillLoad() {\n // Set initial type based on multiple prop\n this.updateType();\n this.updateSelectedOption();\n }\n\n componentDidLoad() {\n // Set initial form value\n this.updateFormValue();\n }\n\n /**\n * Updates the selected option in the select element based on the current value.\n *\n * This method iterates through all the options of the select element and sets the\n * 'selected' attribute on the option that matches the current value. If an option\n * does not match the current value, the 'selected' attribute is removed.\n *\n * @private\n * @returns {void}\n */\n private updateSelectedOption() {\n if (this.selectEl) {\n const options = this.selectEl.options;\n\n // Update the selected attribute for all options.\n Array.from(options).map((option: HTMLOptionElement) => {\n if (Array.isArray(this.value)) {\n option.selected = this.value.includes(option.value);\n } else {\n option.selected = this.value === option.value;\n }\n });\n };\n }\n\n /**\n * Emits an event on input change.\n */\n private onSelectUpdate = (e: Event) => {\n const target = e.target as HTMLSelectElement\n\n const values = Array.from(target.options)\n .filter((option) => ( option.selected))\n .map((option) => ( option.value));\n\n if (values.length === 1 && !this.multiple) {\n this.value = values[0];\n } else {\n this.value = values;\n }\n\n this.pdsSelectChange.emit(e as InputEvent);\n };\n\n /**\n * Handles the change event for the slot element.\n * This method is triggered when the slot content changes.\n * It updates the inner HTML of the select element by cloning and appending\n * the assigned <option> elements from the slot.\n */\n private handleSlotChange = () => {\n const slot = this.slotContainer.querySelector('slot') as HTMLSlotElement;\n\n this.selectEl.innerHTML = '';\n const assignedElements = slot.assignedElements({ flatten: true }) as (HTMLOptionElement | HTMLOptGroupElement)[];\n\n assignedElements.forEach((item) => {\n if ( ['OPTION', 'OPTGROUP'].includes(item.tagName)) {\n const clonedItem = item.cloneNode(true) as HTMLOptionElement | HTMLOptGroupElement;\n if (clonedItem.tagName === 'OPTION' && (clonedItem as HTMLOptionElement).value === this.value) {\n (clonedItem as HTMLOptionElement).selected = true;\n }\n this.selectEl.appendChild(clonedItem);\n }\n });\n\n this.updateSelectedOption();\n };\n\n private getHelperMessage() {\n return this.helperMessage && (\n <p class=\"pds-select__helper-message\" id={messageId(this.componentId, 'helper')}>\n {this.helperMessage}\n </p>\n );\n }\n\n private getErrorMessage() {\n return this.errorMessage && (\n <p class=\"pds-select__error-message\" id={messageId(this.componentId, 'error')} aria-live=\"assertive\">\n <pds-icon icon={danger} size=\"small\"></pds-icon>\n {this.errorMessage}\n </p>\n );\n }\n\n private renderMessages() {\n if (!this.helperMessage && !this.errorMessage) return null;\n\n return (\n <div class=\"pds-select__message\">\n {this.getHelperMessage()}\n {this.getErrorMessage()}\n </div>\n );\n }\n\n private classNames() {\n const classNames = [];\n\n if (this.invalid) { classNames.push('is-invalid'); }\n if (this.disabled) { classNames.push('is-disabled'); }\n\n return classNames.join(' ');\n }\n\n private renderAction() {\n const hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n if (hasAction) {\n return (\n <div class=\"pds-select__action\" part=\"action\">\n <slot name=\"action\"></slot>\n </div>\n );\n }\n return null;\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.value;\n\n // Handle multi-select arrays by converting to FormData or comma-separated string\n if (Array.isArray(value)) {\n if (value.length > 1) {\n // For multiple values, create FormData with multiple entries\n const formData = new FormData();\n value.forEach(val => formData.append(this.name || '', val));\n this.internals.setFormValue(formData);\n } else {\n // Single value in array, use the string value\n this.internals.setFormValue(value[0] || null);\n }\n } else {\n // Single string value\n this.internals.setFormValue(value || null);\n }\n\n // Set validity based on native select validation\n if (this.selectEl && this.internals && this.internals.setValidity) {\n this.internals.setValidity(\n this.selectEl.validity,\n this.selectEl.validationMessage,\n this.selectEl\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(s) from FormData using the select's name\n const values = state.getAll(this.name);\n if (values.length > 1) {\n // Multi-select: convert to string array\n this.value = values.filter(v => typeof v === 'string') as string[];\n } else if (values.length === 1 && typeof values[0] === 'string') {\n // Single select: use string value\n this.value = values[0];\n }\n }\n }\n\n render() {\n const hasAction = this.el.querySelector('[slot=\"action\"]') !== null;\n\n return (\n <Host aria-disabled={this.disabled ? 'true' : null} class={this.classNames()} has-action={hasAction && !this.hideLabel ? 'true' : null}>\n <div class=\"pds-select\">\n {!this.hideLabel && (\n <div class=\"pds-select__label-wrapper\">\n <label htmlFor={this.componentId}>\n <span class={this.hideLabel ? 'visually-hidden' : ''}>\n {this.label}\n </span>\n </label>\n {hasAction && this.renderAction()}\n </div>\n )}\n <select\n aria-label={this.hideLabel ? this.label : undefined}\n autocomplete={this.autocomplete || undefined}\n class=\"pds-select__field\"\n disabled={this.disabled}\n id={this.componentId}\n multiple={this.multiple}\n name={this.name}\n onChange={this.onSelectUpdate}\n part=\"select\"\n required={this.required}\n ref={(el) => (this.selectEl = el as HTMLSelectElement)}\n ></select>\n <div aria-hidden=\"true\" class=\"hidden\" ref={(el) => (this.slotContainer = el)}>\n <slot onSlotchange={this.handleSlotChange}></slot>\n </div>\n {this.renderMessages()}\n {!this.multiple && <pds-icon class=\"pds-select__select-icon\" icon={enlarge} />}\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -9,6 +9,7 @@ export default {
9
9
  errorMessage: null,
10
10
  hideLabel: false,
11
11
  helperMessage: null,
12
+ highlight: false,
12
13
  invalid: false,
13
14
  multiple: false,
14
15
  value: null,
@@ -54,6 +55,7 @@ const BaseTemplate = (args) =>
54
55
  error-message="${args.errorMessage}"
55
56
  helper-message="${args.helperMessage}"
56
57
  ?hide-label=${args.hideLabel}
58
+ ?highlight=${args.highlight}
57
59
  ?invalid=${args.invalid}
58
60
  label="${args.label}"
59
61
  ?multiple=${args.multiple}
@@ -73,6 +75,7 @@ const OptgroupTemplate = (args) =>
73
75
  ?disabled=${args.disabled}
74
76
  error-message="${args.errorMessage}"
75
77
  helper-message="${args.helperMessage}"
78
+ ?highlight=${args.highlight}
76
79
  ?invalid=${args.invalid}
77
80
  label="${args.label}"
78
81
  ?multiple=${args.multiple}
@@ -106,6 +109,15 @@ Disabled.args = {
106
109
  value: 'george',
107
110
  };
108
111
 
112
+ export const Highlight = BaseTemplate.bind({});
113
+ Highlight.args = {
114
+ componentId: 'pds-select-highlight-example',
115
+ highlight: true,
116
+ label: 'Select your favorite Beatle',
117
+ name: 'beatles',
118
+ value: 'paul',
119
+ };
120
+
109
121
  export const withMessage = BaseTemplate.bind({});
110
122
  withMessage.args = {
111
123
  componentId: 'pds-select-message-example',
@@ -163,6 +175,7 @@ export const withActionLink = (args) => html`<pds-select
163
175
  error-message="${args.errorMessage}"
164
176
  helper-message="${args.helperMessage}"
165
177
  ?hide-label=${args.hideLabel}
178
+ ?highlight=${args.highlight}
166
179
  ?invalid=${args.invalid}
167
180
  label="Timezone"
168
181
  ?multiple=${args.multiple}
@@ -183,6 +196,7 @@ export const withActionButton = (args) => html`<pds-select
183
196
  error-message="${args.errorMessage}"
184
197
  helper-message="${args.helperMessage}"
185
198
  ?hide-label=${args.hideLabel}
199
+ ?highlight=${args.highlight}
186
200
  ?invalid=${args.invalid}
187
201
  label="Country"
188
202
  ?multiple=${args.multiple}
@@ -25,7 +25,7 @@ export class PdsSortableItem {
25
25
  }
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: 'c09d0efc16e9cfb2e3eb567620d768e55aedaf77', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '256c70c9ae566781ee3647196ba7bfa8b2e8f7cf', class: "pds-sortable-item__handle" }, h("pds-icon", { key: 'ec56d4eac7f1f464df061297a613554565130d3d', icon: handleIcon }))), h("slot", { key: '6131eda3a2b8a7ef96883f9f791a2cf777407fa4' }), this.enableActions && (h("div", { key: '126589fa42498a25f5049786def7fb96f16087aa', class: "pds-sortable-item__actions" }, h("slot", { key: 'e2726fb1ae3f74c5ff4b7879ee32b826fb2b8518', name: "sortable-item-actions" })))));
28
+ return (h(Host, { key: '5c5ada49c505d935bfe505997ab69e7eafc2f642', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '3041977b792e192192fa9c101f113eb42e87ceea', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '082a98c200abcc8023dc126ed83091167c59290e', icon: handleIcon }))), h("slot", { key: '1e2b2154acee0c3ce09ec77b9949c761ff37181d' }), this.enableActions && (h("div", { key: '5b318f04eb9c74f660900163e17ba51e2c354538', class: "pds-sortable-item__actions" }, h("slot", { key: '2c6631a860af0da48b3a007daeff69b59cfaff59', name: "sortable-item-actions" })))));
29
29
  }
30
30
  static get is() { return "pds-sortable-item"; }
31
31
  static get encapsulation() { return "scoped"; }
@@ -60,8 +60,8 @@ export class PdsSortableItem {
60
60
  },
61
61
  "getter": false,
62
62
  "setter": false,
63
- "attribute": "enable-actions",
64
63
  "reflect": false,
64
+ "attribute": "enable-actions",
65
65
  "defaultValue": "false"
66
66
  },
67
67
  "componentId": {
@@ -80,8 +80,8 @@ export class PdsSortableItem {
80
80
  },
81
81
  "getter": false,
82
82
  "setter": false,
83
- "attribute": "component-id",
84
- "reflect": false
83
+ "reflect": false,
84
+ "attribute": "component-id"
85
85
  },
86
86
  "showHandle": {
87
87
  "type": "boolean",
@@ -102,8 +102,8 @@ export class PdsSortableItem {
102
102
  },
103
103
  "getter": false,
104
104
  "setter": false,
105
- "attribute": "show-handle",
106
105
  "reflect": false,
106
+ "attribute": "show-handle",
107
107
  "defaultValue": "false"
108
108
  }
109
109
  };
@@ -44,7 +44,7 @@ export class PdsSortable {
44
44
  Sortable.create(this.el, sortableOptions);
45
45
  }
46
46
  render() {
47
- return (h(Host, { key: '8d6acb29c18b53a699281b86f73c566b9ebfd291', class: this.classNames(), id: this.componentId }, h("slot", { key: '32fee1636973846016311c70e885a0e5c7645431' })));
47
+ return (h(Host, { key: '0af78db3e32adf714d10fb08ff4318f7c84aaef9', class: this.classNames(), id: this.componentId }, h("slot", { key: '1e7ac27c41de163ea4d59c6186a1282eb5f0b27d' })));
48
48
  }
49
49
  static get is() { return "pds-sortable"; }
50
50
  static get encapsulation() { return "scoped"; }
@@ -79,8 +79,8 @@ export class PdsSortable {
79
79
  },
80
80
  "getter": false,
81
81
  "setter": false,
82
- "attribute": "border",
83
82
  "reflect": true,
83
+ "attribute": "border",
84
84
  "defaultValue": "false"
85
85
  },
86
86
  "componentId": {
@@ -99,8 +99,8 @@ export class PdsSortable {
99
99
  },
100
100
  "getter": false,
101
101
  "setter": false,
102
- "attribute": "component-id",
103
- "reflect": false
102
+ "reflect": false,
103
+ "attribute": "component-id"
104
104
  },
105
105
  "dividers": {
106
106
  "type": "boolean",
@@ -118,8 +118,8 @@ export class PdsSortable {
118
118
  },
119
119
  "getter": false,
120
120
  "setter": false,
121
- "attribute": "dividers",
122
121
  "reflect": true,
122
+ "attribute": "dividers",
123
123
  "defaultValue": "false"
124
124
  },
125
125
  "handleType": {
@@ -138,8 +138,8 @@ export class PdsSortable {
138
138
  },
139
139
  "getter": false,
140
140
  "setter": false,
141
- "attribute": "handle-type",
142
141
  "reflect": false,
142
+ "attribute": "handle-type",
143
143
  "defaultValue": "'row'"
144
144
  }
145
145
  };
@@ -1 +1 @@
1
- {"version":3,"file":"pds-sortable.js","sourceRoot":"","sources":["../../../src/components/pds-sortable/pds-sortable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEvF,OAAO,QAAQ,MAAM,YAAY,CAAC;AAOlC,MAAM,OAAO,WAAW;IALxB;QAaE;;;WAGG;QACsB,WAAM,GAAG,KAAK,CAAC;QAOxC;;WAEG;QACsB,aAAQ,GAAG,KAAK,CAAC;QAE1C;;WAEG;QACK,eAAU,GAAqB,KAAK,CAAC;KAgD9C;IA9CS,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,cAAc,CAAC,CAAC;QAEpC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,UAAU,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC3C,CAAC;QAED,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;YAClC,UAAU,CAAC,IAAI,CAAC,6BAA6B,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;QAClE,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAED,gBAAgB;QAEd,IAAI,eAAe,GAAiB;YAClC,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,0BAA0B;YACtC,SAAS,EAAE,yBAAyB;YACpC,KAAK,EAAE,CAAC,GAAG,EAAE,EAAE;gBACb,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACtC,CAAC;SACF,CAAC;QAEF,IAAI,IAAI,CAAC,UAAU,KAAK,QAAQ,EAAE,CAAC;YACjC,eAAe,mCACV,eAAe,KAClB,MAAM,EAAE,4BAA4B,GACrC,CAAC;QACJ,CAAC;QAED,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC;IAC5C,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,WAAW;YAClD,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Host, h, Prop } from '@stencil/core';\nimport { SortableType } from './sortable-interface';\nimport Sortable from 'sortablejs';\n\n@Component({\n tag: 'pds-sortable',\n styleUrls: ['pds-sortable.scss'],\n scoped: true,\n})\nexport class PdsSortable {\n @Element() el: HTMLPdsSortableElement;\n\n /**\n * Event emitted when a sortable item is moved.\n */\n @Event() pdsSortableItemMoved: EventEmitter;\n\n /**\n * Determines whether `sortable` should have a border.\n * @defaultValue false\n */\n @Prop({ reflect: true }) border = false;\n\n /**\n * A unique identifier used for the sortable container `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Deternines whether `sortable` items should be divided with border.\n */\n @Prop({ reflect: true }) dividers = false;\n\n /**\n * Determines the grabbable area for the `pds-sortable-item`.\n */\n @Prop() handleType: 'handle' | 'row' = 'row';\n\n private classNames() {\n const classNames = ['pds-sortable'];\n\n if (this.border) {\n classNames.push('pds-sortable--bordered');\n }\n\n if (this.dividers) {\n classNames.push('pds-sortable--divided');\n }\n\n if (this.handleType !== undefined) {\n classNames.push(`pds-sortable--handle-type-${this.handleType}`);\n }\n\n return classNames.join(' ');\n }\n\n componentDidLoad() {\n\n let sortableOptions: SortableType = {\n animation: 150,\n ghostClass: 'pds-sortable-item--ghost',\n dragClass: 'pds-sortable-item--drag',\n onEnd: (evt) => {\n this.pdsSortableItemMoved.emit(evt);\n },\n };\n\n if (this.handleType === 'handle') {\n sortableOptions = {\n ...sortableOptions,\n handle: '.pds-sortable-item__handle',\n };\n }\n\n Sortable.create(this.el, sortableOptions);\n }\n\n render() {\n return (\n <Host class={this.classNames()} id={this.componentId}>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-sortable.js","sourceRoot":"","sources":["../../../src/components/pds-sortable/pds-sortable.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAEvF,OAAO,QAAQ,MAAM,YAAY,CAAC;AAOlC,MAAM,OAAO,WAAW;IALxB;QAaE;;;WAGG;QACsB,WAAM,GAAG,KAAK,CAAC;QAOxC;;WAEG;QACsB,aAAQ,GAAG,KAAK,CAAC;QAE1C;;WAEG;QACK,eAAU,GAAqB,KAAK,CAAC;KAgD9C;IA9CS,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,cAAc,CAAC,CAAC;QAEpC,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,UAAU,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QAC5C,CAAC;QAED,IAAI,IAAI,CAAC,QAAQ,EAAE,CAAC;YAClB,UAAU,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC;QAC3C,CAAC;QAED,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,EAAE,CAAC;YAClC,UAAU,CAAC,IAAI,CAAC,6BAA6B,IAAI,CAAC,UAAU,EAAE,CAAC,CAAC;QAClE,CAAC;QAED,OAAO,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAED,gBAAgB;QAEd,IAAI,eAAe,GAAiB;YAClC,SAAS,EAAE,GAAG;YACd,UAAU,EAAE,0BAA0B;YACtC,SAAS,EAAE,yBAAyB;YACpC,KAAK,EAAE,CAAC,GAAG,EAAE,EAAE;gBACb,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACtC,CAAC;SACF,CAAC;QAEF,IAAI,IAAI,CAAC,UAAU,KAAK,QAAQ,EAAE,CAAC;YACjC,eAAe,mCACV,eAAe,KAClB,MAAM,EAAE,4BAA4B,GACrC,CAAC;QACJ,CAAC;QAED,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,EAAiB,EAAE,eAAe,CAAC,CAAC;IAC3D,CAAC;IAED,MAAM;QACJ,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,CAAC,WAAW;YAClD,8DAAa,CACR,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Host, h, Prop } from '@stencil/core';\nimport { SortableType } from './sortable-interface';\nimport Sortable from 'sortablejs';\n\n@Component({\n tag: 'pds-sortable',\n styleUrls: ['pds-sortable.scss'],\n scoped: true,\n})\nexport class PdsSortable {\n @Element() el: HTMLPdsSortableElement;\n\n /**\n * Event emitted when a sortable item is moved.\n */\n @Event() pdsSortableItemMoved: EventEmitter;\n\n /**\n * Determines whether `sortable` should have a border.\n * @defaultValue false\n */\n @Prop({ reflect: true }) border = false;\n\n /**\n * A unique identifier used for the sortable container `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Deternines whether `sortable` items should be divided with border.\n */\n @Prop({ reflect: true }) dividers = false;\n\n /**\n * Determines the grabbable area for the `pds-sortable-item`.\n */\n @Prop() handleType: 'handle' | 'row' = 'row';\n\n private classNames() {\n const classNames = ['pds-sortable'];\n\n if (this.border) {\n classNames.push('pds-sortable--bordered');\n }\n\n if (this.dividers) {\n classNames.push('pds-sortable--divided');\n }\n\n if (this.handleType !== undefined) {\n classNames.push(`pds-sortable--handle-type-${this.handleType}`);\n }\n\n return classNames.join(' ');\n }\n\n componentDidLoad() {\n\n let sortableOptions: SortableType = {\n animation: 150,\n ghostClass: 'pds-sortable-item--ghost',\n dragClass: 'pds-sortable-item--drag',\n onEnd: (evt) => {\n this.pdsSortableItemMoved.emit(evt);\n },\n };\n\n if (this.handleType === 'handle') {\n sortableOptions = {\n ...sortableOptions,\n handle: '.pds-sortable-item__handle',\n };\n }\n\n Sortable.create(this.el as HTMLElement, sortableOptions);\n }\n\n render() {\n return (\n <Host class={this.classNames()} id={this.componentId}>\n <slot></slot>\n </Host>\n );\n }\n}\n"]}
@@ -83,9 +83,9 @@ export class PdsSwitch {
83
83
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
84
84
  }
85
85
  render() {
86
- return (h(Host, { key: 'ab8da77b752d017bafd9ce22daf8973967d4b063', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: '95245686f147a5b1a50540319ab4a6e87dd04451', htmlFor: this.componentId }, h("input", Object.assign({ key: 'f32fbaf3997fee37c645b7578d117f4f9ed8c23a', "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), h("span", { key: 'ff8441d3d043a4fd7f7f4d5fac659ca9ba7554a7', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
87
- h("div", { key: '2a4ee4dbe651f76e782f9c20314b0d46aa6faf04', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
88
- h("div", { key: '58a3dfb0ca96cc90da7fc606152f63f23d41391d', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'e8db31c01ba78b986e3f746f11dddb8c28dbd6be', icon: danger, size: "small" }), this.errorMessage)));
86
+ return (h(Host, { key: 'bc66c138352b3de0330f5b725e043b4055bec2d6', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: 'c4e400efb2dd2701217bb1044f036d1a281d0001', htmlFor: this.componentId }, h("input", Object.assign({ key: '7b80961fb73cd330088f2c93d46475c1d1853da7', "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), h("span", { key: '318e23af1f6126302b8bb0bb8b9f12a0dc7f71b5', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
87
+ h("div", { key: 'd16fc523de5eacdd14dc4edce347e3be63edeb3e', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
88
+ h("div", { key: '3c4ecef3cdb08568b0f52ed4af58a60c5f6ace62', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'ef58ca016b5e0cf63cb43591ec7b50e84b19595d', icon: danger, size: "small" }), this.errorMessage)));
89
89
  }
90
90
  static get is() { return "pds-switch"; }
91
91
  static get encapsulation() { return "shadow"; }
@@ -118,8 +118,8 @@ export class PdsSwitch {
118
118
  },
119
119
  "getter": false,
120
120
  "setter": false,
121
- "attribute": "component-id",
122
- "reflect": false
121
+ "reflect": false,
122
+ "attribute": "component-id"
123
123
  },
124
124
  "checked": {
125
125
  "type": "boolean",
@@ -137,8 +137,8 @@ export class PdsSwitch {
137
137
  },
138
138
  "getter": false,
139
139
  "setter": false,
140
- "attribute": "checked",
141
140
  "reflect": false,
141
+ "attribute": "checked",
142
142
  "defaultValue": "false"
143
143
  },
144
144
  "disabled": {
@@ -157,8 +157,8 @@ export class PdsSwitch {
157
157
  },
158
158
  "getter": false,
159
159
  "setter": false,
160
- "attribute": "disabled",
161
160
  "reflect": false,
161
+ "attribute": "disabled",
162
162
  "defaultValue": "false"
163
163
  },
164
164
  "errorMessage": {
@@ -177,8 +177,8 @@ export class PdsSwitch {
177
177
  },
178
178
  "getter": false,
179
179
  "setter": false,
180
- "attribute": "error-message",
181
- "reflect": false
180
+ "reflect": false,
181
+ "attribute": "error-message"
182
182
  },
183
183
  "hideLabel": {
184
184
  "type": "boolean",
@@ -196,8 +196,8 @@ export class PdsSwitch {
196
196
  },
197
197
  "getter": false,
198
198
  "setter": false,
199
- "attribute": "hide-label",
200
- "reflect": false
199
+ "reflect": false,
200
+ "attribute": "hide-label"
201
201
  },
202
202
  "helperMessage": {
203
203
  "type": "string",
@@ -215,8 +215,8 @@ export class PdsSwitch {
215
215
  },
216
216
  "getter": false,
217
217
  "setter": false,
218
- "attribute": "helper-message",
219
- "reflect": false
218
+ "reflect": false,
219
+ "attribute": "helper-message"
220
220
  },
221
221
  "invalid": {
222
222
  "type": "boolean",
@@ -234,8 +234,8 @@ export class PdsSwitch {
234
234
  },
235
235
  "getter": false,
236
236
  "setter": false,
237
- "attribute": "invalid",
238
237
  "reflect": false,
238
+ "attribute": "invalid",
239
239
  "defaultValue": "false"
240
240
  },
241
241
  "label": {
@@ -254,8 +254,8 @@ export class PdsSwitch {
254
254
  },
255
255
  "getter": false,
256
256
  "setter": false,
257
- "attribute": "label",
258
- "reflect": false
257
+ "reflect": false,
258
+ "attribute": "label"
259
259
  },
260
260
  "name": {
261
261
  "type": "string",
@@ -273,8 +273,8 @@ export class PdsSwitch {
273
273
  },
274
274
  "getter": false,
275
275
  "setter": false,
276
- "attribute": "name",
277
- "reflect": false
276
+ "reflect": false,
277
+ "attribute": "name"
278
278
  },
279
279
  "required": {
280
280
  "type": "boolean",
@@ -292,8 +292,8 @@ export class PdsSwitch {
292
292
  },
293
293
  "getter": false,
294
294
  "setter": false,
295
- "attribute": "required",
296
295
  "reflect": false,
296
+ "attribute": "required",
297
297
  "defaultValue": "false"
298
298
  },
299
299
  "value": {
@@ -312,8 +312,8 @@ export class PdsSwitch {
312
312
  },
313
313
  "getter": false,
314
314
  "setter": false,
315
- "attribute": "value",
316
- "reflect": false
315
+ "reflect": false,
316
+ "attribute": "value"
317
317
  }
318
318
  };
319
319
  }
@@ -1,7 +1,7 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  export class PdsTableBody {
3
3
  render() {
4
- return (h(Host, { key: '0f587d936a93187caa879ae07b9f54072e4b9aa2', role: "rowgroup", part: "body" }, h("slot", { key: '026fd33ac51c548fccd5465dfd675566e95fae33' })));
4
+ return (h(Host, { key: '7c9b15bea47bcede62a93ef11ee9dba093450ab9', role: "rowgroup", part: "body" }, h("slot", { key: 'fab0b2ca27185373cdb7b29d9cb1807b4097aea9' })));
5
5
  }
6
6
  static get is() { return "pds-table-body"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -94,11 +94,11 @@ export class PdsTableCell {
94
94
  return classNames.join(' ');
95
95
  }
96
96
  render() {
97
- return (h(Host, { key: '5c3d35742f438d2bbb3bc9194e6bc0abf769e66f', class: this.classNames(), role: "gridcell", part: "cell", style: this.tableRef &&
97
+ return (h(Host, { key: 'b1c76cfb3fa26b7e59586cfd693380701c9146ff', class: this.classNames(), role: "gridcell", part: "cell", style: this.tableRef &&
98
98
  this.tableRef.fixedColumn &&
99
99
  this.tableRef.selectable
100
100
  ? { '--fixed-cell-position': '40px' }
101
- : {} }, h("slot", { key: 'dcc7fe8ffa481915dbe61bad294855a05d9e8aeb' })));
101
+ : {} }, h("slot", { key: '1a04730905bf7ad930141c1914f37dd7717570d8' })));
102
102
  }
103
103
  static get is() { return "pds-table-cell"; }
104
104
  static get encapsulation() { return "shadow"; }
@@ -130,8 +130,8 @@ export class PdsTableCell {
130
130
  },
131
131
  "getter": false,
132
132
  "setter": false,
133
- "attribute": "cell-align",
134
- "reflect": false
133
+ "reflect": false,
134
+ "attribute": "cell-align"
135
135
  },
136
136
  "truncate": {
137
137
  "type": "boolean",
@@ -149,8 +149,8 @@ export class PdsTableCell {
149
149
  },
150
150
  "getter": false,
151
151
  "setter": false,
152
- "attribute": "truncate",
153
- "reflect": false
152
+ "reflect": false,
153
+ "attribute": "truncate"
154
154
  }
155
155
  };
156
156
  }
@@ -32,7 +32,7 @@ export class PdsTableHead {
32
32
  }
33
33
  }
34
34
  render() {
35
- return (h(Host, { key: '773bc9ea7631958d8ef6adcbdc862f47e4052687', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: 'b065650fb881746ce17cd702c51aecb1abe07898', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, h("pds-checkbox", { key: 'eab146eb7bca6f4cf04cbd3adc5a90c76ede9ca1', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected, part: "select-all-checkbox" }))), h("slot", { key: '5b18fb5c6e7f09cbff336e8922b39eacc34fa692' })));
35
+ return (h(Host, { key: '933e69ad28aaf0b899a8ee504088bc5b6396889d', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: 'a006c965a4e9bacb4b8e07b34799bab6a0bd482a', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, h("pds-checkbox", { key: 'd7f94ac83be970b2c2ed334296971bc6762602e2', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected, part: "select-all-checkbox" }))), h("slot", { key: '22edaaa12d31b2be1fd2835d6d4c2801386405af' })));
36
36
  }
37
37
  static get is() { return "pds-table-head"; }
38
38
  static get encapsulation() { return "shadow"; }
@@ -64,8 +64,8 @@ export class PdsTableHead {
64
64
  },
65
65
  "getter": false,
66
66
  "setter": false,
67
- "attribute": "indeterminate",
68
- "reflect": false
67
+ "reflect": false,
68
+ "attribute": "indeterminate"
69
69
  },
70
70
  "isSelected": {
71
71
  "type": "boolean",
@@ -86,8 +86,8 @@ export class PdsTableHead {
86
86
  },
87
87
  "getter": false,
88
88
  "setter": false,
89
- "attribute": "is-selected",
90
- "reflect": false
89
+ "reflect": false,
90
+ "attribute": "is-selected"
91
91
  }
92
92
  };
93
93
  }