@pine-ds/core 3.22.0 → 3.23.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 (700) hide show
  1. package/components/floating-ui.dom.js +142 -129
  2. package/components/floating-ui.dom.js.map +1 -1
  3. package/components/form.js +14 -1
  4. package/components/form.js.map +1 -1
  5. package/components/index2.js +1 -1
  6. package/components/index2.js.map +1 -1
  7. package/components/mock-pds-modal.js +1 -1
  8. package/components/pds-alert.js +1 -1
  9. package/components/pds-alert.js.map +1 -1
  10. package/components/pds-avatar.js +1 -1
  11. package/components/pds-avatar.js.map +1 -1
  12. package/components/pds-checkbox2.js +5 -7
  13. package/components/pds-checkbox2.js.map +1 -1
  14. package/components/pds-chip2.js +1 -1
  15. package/components/pds-chip2.js.map +1 -1
  16. package/components/pds-combobox.js +46 -41
  17. package/components/pds-combobox.js.map +1 -1
  18. package/components/pds-copytext.js +1 -1
  19. package/components/pds-divider.js +1 -1
  20. package/components/pds-dropdown-menu-item.js +1 -1
  21. package/components/pds-dropdown-menu-item.js.map +1 -1
  22. package/components/pds-dropdown-menu-separator.js +1 -1
  23. package/components/pds-dropdown-menu.js +1 -1
  24. package/components/pds-filter.js +1 -1
  25. package/components/pds-filters.js +1 -1
  26. package/components/pds-image.js +2 -2
  27. package/components/pds-input.js +5 -3
  28. package/components/pds-input.js.map +1 -1
  29. package/components/pds-link2.js +2 -2
  30. package/components/pds-loader2.js +1 -1
  31. package/components/pds-modal-content.js +2 -2
  32. package/components/pds-modal-footer.js +1 -1
  33. package/components/pds-modal-header.js +1 -1
  34. package/components/pds-modal.js +3 -3
  35. package/components/pds-multiselect.js +199 -40
  36. package/components/pds-multiselect.js.map +1 -1
  37. package/components/pds-popover.js +1 -1
  38. package/components/pds-progress.js +1 -1
  39. package/components/pds-property.js +1 -1
  40. package/components/pds-radio-group.js +3 -3
  41. package/components/pds-radio.js +3 -3
  42. package/components/pds-row.js +1 -1
  43. package/components/pds-select.js +4 -2
  44. package/components/pds-select.js.map +1 -1
  45. package/components/pds-sortable-item.js +2 -2
  46. package/components/pds-sortable-item.js.map +1 -1
  47. package/components/pds-sortable.js +98 -93
  48. package/components/pds-sortable.js.map +1 -1
  49. package/components/pds-switch.js +5 -7
  50. package/components/pds-switch.js.map +1 -1
  51. package/components/pds-tab.js +3 -3
  52. package/components/pds-table-body.js +1 -1
  53. package/components/pds-table-cell2.js +2 -2
  54. package/components/pds-table-head-cell2.js +2 -2
  55. package/components/pds-table-head.js +1 -1
  56. package/components/pds-table-row.js +1 -1
  57. package/components/pds-tabpanel.js +1 -1
  58. package/components/pds-tabs.js +1 -1
  59. package/components/pds-text2.js +1 -1
  60. package/components/pds-textarea.js +8 -6
  61. package/components/pds-textarea.js.map +1 -1
  62. package/components/pds-toast.js +3 -3
  63. package/components/pds-toast.js.map +1 -1
  64. package/components/pds-tooltip.js +2 -2
  65. package/dist/cjs/{floating-ui.dom-Ca6tS7ef.js → floating-ui.dom-BZk7Blsu.js} +144 -131
  66. package/dist/cjs/floating-ui.dom-BZk7Blsu.js.map +1 -0
  67. package/dist/cjs/{form-DUqlzovE.js → form-CpM5Z8q7.js} +16 -2
  68. package/dist/cjs/form-CpM5Z8q7.js.map +1 -0
  69. package/dist/cjs/{index-D8mNsvM8.js → index-DGBoDsAL.js} +3 -3
  70. package/dist/cjs/index-DGBoDsAL.js.map +1 -0
  71. package/dist/cjs/loader.cjs.js +1 -1
  72. package/dist/cjs/mock-pds-modal.cjs.entry.js +1 -1
  73. package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
  74. package/dist/cjs/pds-alert.cjs.entry.js +1 -1
  75. package/dist/cjs/pds-alert.entry.cjs.js.map +1 -1
  76. package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
  77. package/dist/cjs/pds-avatar.entry.cjs.js.map +1 -1
  78. package/dist/cjs/pds-button.cjs.entry.js +1 -1
  79. package/dist/cjs/pds-checkbox.cjs.entry.js +6 -8
  80. package/dist/cjs/pds-checkbox.entry.cjs.js.map +1 -1
  81. package/dist/cjs/pds-chip.cjs.entry.js +2 -2
  82. package/dist/cjs/pds-chip.entry.cjs.js.map +1 -1
  83. package/dist/cjs/pds-combobox.cjs.entry.js +46 -42
  84. package/dist/cjs/pds-combobox.entry.cjs.js.map +1 -1
  85. package/dist/cjs/pds-copytext.cjs.entry.js +4 -4
  86. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  87. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +1 -1
  88. package/dist/cjs/pds-dropdown-menu-item.entry.cjs.js.map +1 -1
  89. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +1 -1
  90. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +2 -2
  91. package/dist/cjs/pds-filter.cjs.entry.js +2 -2
  92. package/dist/cjs/pds-filters.cjs.entry.js +1 -1
  93. package/dist/cjs/pds-image.cjs.entry.js +2 -2
  94. package/dist/cjs/pds-input.cjs.entry.js +6 -4
  95. package/dist/cjs/pds-input.entry.cjs.js.map +1 -1
  96. package/dist/cjs/pds-link.cjs.entry.js +3 -3
  97. package/dist/cjs/pds-loader.cjs.entry.js +1 -1
  98. package/dist/cjs/pds-modal-content.cjs.entry.js +2 -2
  99. package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
  100. package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
  101. package/dist/cjs/pds-modal.cjs.entry.js +3 -3
  102. package/dist/cjs/pds-multiselect.cjs.entry.js +187 -38
  103. package/dist/cjs/pds-multiselect.entry.cjs.js.map +1 -1
  104. package/dist/cjs/pds-popover.cjs.entry.js +1 -1
  105. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  106. package/dist/cjs/pds-property.cjs.entry.js +1 -1
  107. package/dist/cjs/pds-radio-group.cjs.entry.js +5 -5
  108. package/dist/cjs/pds-radio.cjs.entry.js +5 -5
  109. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  110. package/dist/cjs/pds-select.cjs.entry.js +5 -3
  111. package/dist/cjs/pds-select.entry.cjs.js.map +1 -1
  112. package/dist/cjs/pds-sortable-item.cjs.entry.js +3 -3
  113. package/dist/cjs/pds-sortable-item.entry.cjs.js.map +1 -1
  114. package/dist/cjs/pds-sortable.cjs.entry.js +95 -93
  115. package/dist/cjs/pds-sortable.entry.cjs.js.map +1 -1
  116. package/dist/cjs/pds-switch.cjs.entry.js +6 -8
  117. package/dist/cjs/pds-switch.entry.cjs.js.map +1 -1
  118. package/dist/cjs/pds-tab.cjs.entry.js +3 -3
  119. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  120. package/dist/cjs/pds-table-cell.cjs.entry.js +4 -4
  121. package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -3
  122. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  123. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  124. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  125. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  126. package/dist/cjs/pds-text.cjs.entry.js +3 -3
  127. package/dist/cjs/pds-textarea.cjs.entry.js +9 -7
  128. package/dist/cjs/pds-textarea.entry.cjs.js.map +1 -1
  129. package/dist/cjs/pds-toast.cjs.entry.js +3 -3
  130. package/dist/cjs/pds-toast.entry.cjs.js.map +1 -1
  131. package/dist/cjs/pds-tooltip.cjs.entry.js +3 -3
  132. package/dist/cjs/pine-core.cjs.js +1 -1
  133. package/dist/cjs/{truncation-tooltip-BGGnm8SZ.js → truncation-tooltip-CVzAha5B.js} +3 -3
  134. package/dist/cjs/{truncation-tooltip-BGGnm8SZ.js.map → truncation-tooltip-CVzAha5B.js.map} +1 -1
  135. package/dist/collection/components/pds-alert/pds-alert.js +2 -1
  136. package/dist/collection/components/pds-alert/pds-alert.js.map +1 -1
  137. package/dist/collection/components/pds-avatar/pds-avatar.js +3 -1
  138. package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -1
  139. package/dist/collection/components/pds-checkbox/pds-checkbox.js +5 -7
  140. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
  141. package/dist/collection/components/pds-chip/pds-chip.js +2 -1
  142. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
  143. package/dist/collection/components/pds-combobox/pds-combobox.css +5 -0
  144. package/dist/collection/components/pds-combobox/pds-combobox.js +53 -37
  145. package/dist/collection/components/pds-combobox/pds-combobox.js.map +1 -1
  146. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  147. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  148. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +4 -1
  149. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js.map +1 -1
  150. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +1 -1
  151. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +1 -1
  152. package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +1 -1
  153. package/dist/collection/components/pds-filters/pds-filters.js +1 -1
  154. package/dist/collection/components/pds-image/pds-image.js +2 -2
  155. package/dist/collection/components/pds-input/pds-input.css +3 -0
  156. package/dist/collection/components/pds-input/pds-input.js +4 -2
  157. package/dist/collection/components/pds-input/pds-input.js.map +1 -1
  158. package/dist/collection/components/pds-link/pds-link.js +2 -2
  159. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  160. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
  161. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
  162. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
  163. package/dist/collection/components/pds-modal/pds-modal.js +3 -3
  164. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
  165. package/dist/collection/components/pds-multiselect/multiselect-interface.js.map +1 -1
  166. package/dist/collection/components/pds-multiselect/pds-multiselect.css +83 -1
  167. package/dist/collection/components/pds-multiselect/pds-multiselect.js +258 -37
  168. package/dist/collection/components/pds-multiselect/pds-multiselect.js.map +1 -1
  169. package/dist/collection/components/pds-multiselect/stories/pds-multiselect.stories.js +226 -0
  170. package/dist/collection/components/pds-popover/pds-popover.js +1 -1
  171. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  172. package/dist/collection/components/pds-property/pds-property.js +1 -1
  173. package/dist/collection/components/pds-radio/pds-radio.js +3 -3
  174. package/dist/collection/components/pds-radio-group/pds-radio-group.js +3 -3
  175. package/dist/collection/components/pds-row/pds-row.js +1 -1
  176. package/dist/collection/components/pds-select/pds-select.js +4 -2
  177. package/dist/collection/components/pds-select/pds-select.js.map +1 -1
  178. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +12 -2
  179. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  180. package/dist/collection/components/pds-sortable/pds-sortable.js +46 -4
  181. package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -1
  182. package/dist/collection/components/pds-sortable/sortable-interface.js.map +1 -1
  183. package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +19 -4
  184. package/dist/collection/components/pds-switch/pds-switch.js +5 -7
  185. package/dist/collection/components/pds-switch/pds-switch.js.map +1 -1
  186. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  187. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  188. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  189. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  190. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  191. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  192. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  193. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  194. package/dist/collection/components/pds-text/pds-text.js +1 -1
  195. package/dist/collection/components/pds-textarea/pds-textarea.js +8 -6
  196. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
  197. package/dist/collection/components/pds-toast/pds-toast.js +6 -3
  198. package/dist/collection/components/pds-toast/pds-toast.js.map +1 -1
  199. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  200. package/dist/collection/utils/form.js +13 -0
  201. package/dist/collection/utils/form.js.map +1 -1
  202. package/dist/docs.json +222 -15
  203. package/dist/esm/{floating-ui.dom-BO6p966C.js → floating-ui.dom-DDtwbwIl.js} +144 -131
  204. package/dist/esm/floating-ui.dom-DDtwbwIl.js.map +1 -0
  205. package/dist/esm/{form-CN-lL5QG.js → form-C3xDZBme.js} +16 -3
  206. package/dist/esm/form-C3xDZBme.js.map +1 -0
  207. package/dist/esm/{index-Bmf4Ow_8.js → index-D4ys0pep.js} +3 -3
  208. package/dist/esm/index-D4ys0pep.js.map +1 -0
  209. package/dist/esm/loader.js +1 -1
  210. package/dist/esm/mock-pds-modal.entry.js +1 -1
  211. package/dist/esm/pds-accordion.entry.js +1 -1
  212. package/dist/esm/pds-alert.entry.js +1 -1
  213. package/dist/esm/pds-alert.entry.js.map +1 -1
  214. package/dist/esm/pds-avatar.entry.js +2 -2
  215. package/dist/esm/pds-avatar.entry.js.map +1 -1
  216. package/dist/esm/pds-button.entry.js +1 -1
  217. package/dist/esm/pds-checkbox.entry.js +6 -8
  218. package/dist/esm/pds-checkbox.entry.js.map +1 -1
  219. package/dist/esm/pds-chip.entry.js +2 -2
  220. package/dist/esm/pds-chip.entry.js.map +1 -1
  221. package/dist/esm/pds-combobox.entry.js +46 -42
  222. package/dist/esm/pds-combobox.entry.js.map +1 -1
  223. package/dist/esm/pds-copytext.entry.js +4 -4
  224. package/dist/esm/pds-divider.entry.js +1 -1
  225. package/dist/esm/pds-dropdown-menu-item.entry.js +1 -1
  226. package/dist/esm/pds-dropdown-menu-item.entry.js.map +1 -1
  227. package/dist/esm/pds-dropdown-menu-separator.entry.js +1 -1
  228. package/dist/esm/pds-dropdown-menu.entry.js +2 -2
  229. package/dist/esm/pds-filter.entry.js +2 -2
  230. package/dist/esm/pds-filters.entry.js +1 -1
  231. package/dist/esm/pds-image.entry.js +2 -2
  232. package/dist/esm/pds-input.entry.js +6 -4
  233. package/dist/esm/pds-input.entry.js.map +1 -1
  234. package/dist/esm/pds-link.entry.js +3 -3
  235. package/dist/esm/pds-loader.entry.js +1 -1
  236. package/dist/esm/pds-modal-content.entry.js +2 -2
  237. package/dist/esm/pds-modal-footer.entry.js +1 -1
  238. package/dist/esm/pds-modal-header.entry.js +1 -1
  239. package/dist/esm/pds-modal.entry.js +3 -3
  240. package/dist/esm/pds-multiselect.entry.js +187 -38
  241. package/dist/esm/pds-multiselect.entry.js.map +1 -1
  242. package/dist/esm/pds-popover.entry.js +1 -1
  243. package/dist/esm/pds-progress.entry.js +1 -1
  244. package/dist/esm/pds-property.entry.js +1 -1
  245. package/dist/esm/pds-radio-group.entry.js +5 -5
  246. package/dist/esm/pds-radio.entry.js +5 -5
  247. package/dist/esm/pds-row.entry.js +1 -1
  248. package/dist/esm/pds-select.entry.js +5 -3
  249. package/dist/esm/pds-select.entry.js.map +1 -1
  250. package/dist/esm/pds-sortable-item.entry.js +3 -3
  251. package/dist/esm/pds-sortable-item.entry.js.map +1 -1
  252. package/dist/esm/pds-sortable.entry.js +95 -93
  253. package/dist/esm/pds-sortable.entry.js.map +1 -1
  254. package/dist/esm/pds-switch.entry.js +6 -8
  255. package/dist/esm/pds-switch.entry.js.map +1 -1
  256. package/dist/esm/pds-tab.entry.js +3 -3
  257. package/dist/esm/pds-table-body.entry.js +1 -1
  258. package/dist/esm/pds-table-cell.entry.js +4 -4
  259. package/dist/esm/pds-table-head-cell.entry.js +3 -3
  260. package/dist/esm/pds-table-head.entry.js +1 -1
  261. package/dist/esm/pds-table-row.entry.js +1 -1
  262. package/dist/esm/pds-tabpanel.entry.js +1 -1
  263. package/dist/esm/pds-tabs.entry.js +1 -1
  264. package/dist/esm/pds-text.entry.js +3 -3
  265. package/dist/esm/pds-textarea.entry.js +9 -7
  266. package/dist/esm/pds-textarea.entry.js.map +1 -1
  267. package/dist/esm/pds-toast.entry.js +3 -3
  268. package/dist/esm/pds-toast.entry.js.map +1 -1
  269. package/dist/esm/pds-tooltip.entry.js +3 -3
  270. package/dist/esm/pine-core.js +1 -1
  271. package/dist/esm/{truncation-tooltip-CTHpMbU3.js → truncation-tooltip-Blk4GigP.js} +3 -3
  272. package/dist/{esm-es5/truncation-tooltip-CTHpMbU3.js.map → esm/truncation-tooltip-Blk4GigP.js.map} +1 -1
  273. package/dist/esm-es5/floating-ui.dom-DDtwbwIl.js +2 -0
  274. package/dist/esm-es5/floating-ui.dom-DDtwbwIl.js.map +1 -0
  275. package/dist/esm-es5/{form-CN-lL5QG.js → form-C3xDZBme.js} +2 -2
  276. package/dist/esm-es5/form-C3xDZBme.js.map +1 -0
  277. package/dist/esm-es5/{index-Bmf4Ow_8.js → index-D4ys0pep.js} +1 -1
  278. package/dist/esm-es5/index-D4ys0pep.js.map +1 -0
  279. package/dist/esm-es5/loader.js +1 -1
  280. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  281. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  282. package/dist/esm-es5/pds-alert.entry.js +1 -1
  283. package/dist/esm-es5/pds-alert.entry.js.map +1 -1
  284. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  285. package/dist/esm-es5/pds-avatar.entry.js.map +1 -1
  286. package/dist/esm-es5/pds-button.entry.js +1 -1
  287. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  288. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
  289. package/dist/esm-es5/pds-chip.entry.js +1 -1
  290. package/dist/esm-es5/pds-chip.entry.js.map +1 -1
  291. package/dist/esm-es5/pds-combobox.entry.js +2 -2
  292. package/dist/esm-es5/pds-combobox.entry.js.map +1 -1
  293. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  294. package/dist/esm-es5/pds-divider.entry.js +1 -1
  295. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  296. package/dist/esm-es5/pds-dropdown-menu-item.entry.js.map +1 -1
  297. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  298. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  299. package/dist/esm-es5/pds-filter.entry.js +1 -1
  300. package/dist/esm-es5/pds-filters.entry.js +1 -1
  301. package/dist/esm-es5/pds-image.entry.js +1 -1
  302. package/dist/esm-es5/pds-input.entry.js +1 -1
  303. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  304. package/dist/esm-es5/pds-link.entry.js +1 -1
  305. package/dist/esm-es5/pds-loader.entry.js +1 -1
  306. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  307. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  308. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  309. package/dist/esm-es5/pds-modal.entry.js +1 -1
  310. package/dist/esm-es5/pds-multiselect.entry.js +1 -1
  311. package/dist/esm-es5/pds-multiselect.entry.js.map +1 -1
  312. package/dist/esm-es5/pds-popover.entry.js +1 -1
  313. package/dist/esm-es5/pds-progress.entry.js +1 -1
  314. package/dist/esm-es5/pds-property.entry.js +1 -1
  315. package/dist/esm-es5/pds-radio-group.entry.js +1 -1
  316. package/dist/esm-es5/pds-radio.entry.js +1 -1
  317. package/dist/esm-es5/pds-row.entry.js +1 -1
  318. package/dist/esm-es5/pds-select.entry.js +1 -1
  319. package/dist/esm-es5/pds-select.entry.js.map +1 -1
  320. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  321. package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -1
  322. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  323. package/dist/esm-es5/pds-sortable.entry.js.map +1 -1
  324. package/dist/esm-es5/pds-switch.entry.js +1 -1
  325. package/dist/esm-es5/pds-switch.entry.js.map +1 -1
  326. package/dist/esm-es5/pds-tab.entry.js +1 -1
  327. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  328. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  329. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  330. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  331. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  332. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  333. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  334. package/dist/esm-es5/pds-text.entry.js +1 -1
  335. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  336. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  337. package/dist/esm-es5/pds-toast.entry.js +1 -1
  338. package/dist/esm-es5/pds-toast.entry.js.map +1 -1
  339. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  340. package/dist/esm-es5/pine-core.js +1 -1
  341. package/dist/esm-es5/{truncation-tooltip-CTHpMbU3.js → truncation-tooltip-Blk4GigP.js} +2 -2
  342. package/dist/{esm/truncation-tooltip-CTHpMbU3.js.map → esm-es5/truncation-tooltip-Blk4GigP.js.map} +1 -1
  343. package/dist/pine-core/p--XSKe449.system.js.map +1 -0
  344. package/dist/pine-core/p-0582a3b3.entry.js +2 -0
  345. package/dist/pine-core/{p-e9eb3fc3.system.entry.js → p-0d7eddea.system.entry.js} +2 -2
  346. package/dist/pine-core/{p-b416cb4b.system.entry.js → p-0f990fae.system.entry.js} +2 -2
  347. package/dist/pine-core/{p-edbaff73.system.entry.js → p-13f28e2a.system.entry.js} +2 -2
  348. package/dist/pine-core/{p-838452e0.entry.js → p-14cceca6.entry.js} +2 -2
  349. package/dist/pine-core/{p-ea721a45.entry.js → p-16b7a61d.entry.js} +2 -2
  350. package/dist/pine-core/{p-5e83f6e3.system.entry.js → p-16bf3993.system.entry.js} +2 -2
  351. package/dist/pine-core/{p-9606f567.system.entry.js → p-182b5617.system.entry.js} +2 -2
  352. package/dist/pine-core/p-1855322f.entry.js +2 -0
  353. package/dist/pine-core/p-244f0325.system.entry.js +2 -0
  354. package/dist/pine-core/p-244f0325.system.entry.js.map +1 -0
  355. package/dist/pine-core/{p-8b7246ea.system.entry.js → p-2a185f0b.system.entry.js} +2 -2
  356. package/dist/pine-core/{p-c73ef42b.entry.js → p-32e54df7.entry.js} +2 -2
  357. package/dist/pine-core/{p-68f97bdf.entry.js → p-33e8d130.entry.js} +2 -2
  358. package/dist/pine-core/p-3XkugpdY.system.js.map +1 -0
  359. package/dist/pine-core/{p-1b0dc99e.system.entry.js → p-3e96ea38.system.entry.js} +2 -2
  360. package/dist/pine-core/{p-64c6c4a0.entry.js → p-3f8e9f3f.entry.js} +2 -2
  361. package/dist/pine-core/p-40734388.entry.js +2 -0
  362. package/dist/pine-core/p-40734388.entry.js.map +1 -0
  363. package/dist/pine-core/p-41382eb3.system.entry.js +2 -0
  364. package/dist/pine-core/p-41382eb3.system.entry.js.map +1 -0
  365. package/dist/pine-core/p-4175a61c.system.entry.js +2 -0
  366. package/dist/pine-core/{p-73be1c83.entry.js → p-46e11e20.entry.js} +2 -2
  367. package/dist/pine-core/p-48a646d8.entry.js +8 -0
  368. package/dist/pine-core/p-48a646d8.entry.js.map +1 -0
  369. package/dist/pine-core/{p-ed5ca877.system.entry.js → p-48a6762b.system.entry.js} +2 -2
  370. package/dist/pine-core/p-499dcb3b.system.entry.js +2 -0
  371. package/dist/pine-core/p-499dcb3b.system.entry.js.map +1 -0
  372. package/dist/pine-core/{p-3fc8dbc9.system.entry.js → p-4c7055bb.system.entry.js} +2 -2
  373. package/dist/pine-core/{p-7737e4e8.system.entry.js → p-4d2e9e8d.system.entry.js} +2 -2
  374. package/dist/pine-core/{p-18a3b6ba.system.entry.js → p-519d9af1.system.entry.js} +2 -2
  375. package/dist/pine-core/{p-f81b0dbb.system.entry.js → p-52d1a7a1.system.entry.js} +2 -2
  376. package/dist/pine-core/{p-9558fa60.entry.js → p-536451ee.entry.js} +2 -2
  377. package/dist/pine-core/p-5453ff49.system.entry.js +2 -0
  378. package/dist/pine-core/{p-3e2fc38f.entry.js → p-583c3ac5.entry.js} +2 -2
  379. package/dist/pine-core/{p-DKT0sVlZ.system.js.map → p-59--X9ih.system.js.map} +1 -1
  380. package/dist/pine-core/p-5KztFcgn.system.js.map +1 -0
  381. package/dist/pine-core/p-5f391ebf.entry.js +2 -0
  382. package/dist/pine-core/p-61943627.system.entry.js +2 -0
  383. package/dist/pine-core/p-61943627.system.entry.js.map +1 -0
  384. package/dist/pine-core/{p-bf157830.entry.js → p-645564d9.entry.js} +2 -2
  385. package/dist/pine-core/{p-2883cb69.system.entry.js → p-67b78dd8.system.entry.js} +2 -2
  386. package/dist/pine-core/{p-f179c88f.system.entry.js → p-6939924a.system.entry.js} +2 -2
  387. package/dist/pine-core/p-74392e33.system.entry.js +2 -0
  388. package/dist/pine-core/{p-766e52a3.entry.js → p-75dc3a1f.entry.js} +2 -2
  389. package/dist/pine-core/p-773d1b8d.entry.js +2 -0
  390. package/dist/pine-core/p-773d1b8d.entry.js.map +1 -0
  391. package/dist/pine-core/{p-8a53ae6d.system.entry.js → p-781bdbf7.system.entry.js} +2 -2
  392. package/dist/pine-core/{p-2f663747.system.entry.js → p-7dfb5b1f.system.entry.js} +2 -2
  393. package/dist/pine-core/{p-9c0e22d4.entry.js → p-82f9a81a.entry.js} +2 -2
  394. package/dist/pine-core/{p-6c25dfc3.entry.js → p-8f3d6de0.entry.js} +2 -2
  395. package/dist/pine-core/p-8f48fa0b.system.entry.js +2 -0
  396. package/dist/pine-core/p-8f48fa0b.system.entry.js.map +1 -0
  397. package/dist/pine-core/p-902818eb.system.entry.js +2 -0
  398. package/dist/pine-core/{p-d8d796ad.system.entry.js → p-91200079.system.entry.js} +2 -2
  399. package/dist/pine-core/{p-b2a7c2bf.entry.js → p-95af50ed.entry.js} +2 -2
  400. package/dist/pine-core/p-96c4106f.entry.js +2 -0
  401. package/dist/pine-core/p-96c4106f.entry.js.map +1 -0
  402. package/dist/pine-core/{p-51d2999d.entry.js → p-98b493e5.entry.js} +2 -2
  403. package/dist/pine-core/{p-b8f21554.system.entry.js → p-98d82bf0.system.entry.js} +2 -2
  404. package/dist/pine-core/{p-1d82417a.entry.js → p-9d2e89e5.entry.js} +2 -2
  405. package/dist/pine-core/{p-cbf49268.entry.js → p-9ea92b46.entry.js} +2 -2
  406. package/dist/pine-core/{p-Bch44a-T.system.js → p-B1u-QvFn.system.js} +2 -2
  407. package/dist/pine-core/p-B1u-QvFn.system.js.map +1 -0
  408. package/dist/pine-core/{p-ClY6yIBF.system.js.map → p-B5fynusC.system.js.map} +1 -1
  409. package/dist/pine-core/{p-BUtyruql.system.js.map → p-BMoAGblt.system.js.map} +1 -1
  410. package/dist/pine-core/{p-5hPM5knE.js → p-BNSGedhN.js} +2 -2
  411. package/dist/pine-core/{p-5hPM5knE.js.map → p-BNSGedhN.js.map} +1 -1
  412. package/dist/pine-core/{p-9SGoKSa6.system.js.map → p-BOuxAvbi.system.js.map} +1 -1
  413. package/dist/pine-core/p-BOuz9091.system.js.map +1 -0
  414. package/dist/pine-core/{p-2DR2iuEU.system.js.map → p-BQsz2Ppb.system.js.map} +1 -1
  415. package/dist/pine-core/{p-Bsen6aos.system.js.map → p-BR1tCsTx.system.js.map} +1 -1
  416. package/dist/pine-core/{p-sgZDP7ET.system.js.map → p-BR9D7jOC.system.js.map} +1 -1
  417. package/dist/pine-core/p-BTrLNF2B.system.js.map +1 -0
  418. package/dist/pine-core/{p-DFWnxG_e.system.js.map → p-BUEOyE3W.system.js.map} +1 -1
  419. package/dist/pine-core/{p-CSe1fQxQ.system.js.map → p-Bb4REZL1.system.js.map} +1 -1
  420. package/dist/pine-core/{p-B5CyjPYU.system.js.map → p-Be6iza_Y.system.js.map} +1 -1
  421. package/dist/pine-core/p-BpespFXE.system.js.map +1 -0
  422. package/dist/pine-core/p-BrLs99ML.system.js +2 -0
  423. package/dist/pine-core/p-BrLs99ML.system.js.map +1 -0
  424. package/dist/pine-core/p-C2pSDIG-.system.js.map +1 -0
  425. package/dist/pine-core/p-C3xDZBme.js +2 -0
  426. package/dist/pine-core/p-C3xDZBme.js.map +1 -0
  427. package/dist/pine-core/p-C4-dix13.system.js.map +1 -0
  428. package/dist/pine-core/{p-CFL53vBy.system.js → p-C62JIZmE.system.js} +1 -1
  429. package/dist/pine-core/p-C62JIZmE.system.js.map +1 -0
  430. package/dist/pine-core/{p-DQCerqxZ.system.js.map → p-C6TsH_RJ.system.js.map} +1 -1
  431. package/dist/pine-core/p-C9msrPdv.system.js.map +1 -0
  432. package/dist/pine-core/{p-CfNEp0k0.system.js.map → p-CG-bCfvj.system.js.map} +1 -1
  433. package/dist/pine-core/p-CHDzBR_K.system.js.map +1 -0
  434. package/dist/pine-core/{p-CUv9KdhN.system.js.map → p-CI57amJO.system.js.map} +1 -1
  435. package/dist/pine-core/{p-DenbFuEN.system.js.map → p-CP845yj_.system.js.map} +1 -1
  436. package/dist/pine-core/{p-DXVwADJT.system.js → p-CRCxGYgw.system.js} +2 -2
  437. package/dist/pine-core/{p-DXVwADJT.system.js.map → p-CRCxGYgw.system.js.map} +1 -1
  438. package/dist/pine-core/p-CXhVuzyx.system.js.map +1 -0
  439. package/dist/pine-core/{p-De6wHGVf.system.js.map → p-CYraaUrg.system.js.map} +1 -1
  440. package/dist/pine-core/{p-BR9M75xt.system.js.map → p-CjvjDEg9.system.js.map} +1 -1
  441. package/dist/pine-core/{p-BASnRvhy.system.js.map → p-Cw6YcRuA.system.js.map} +1 -1
  442. package/dist/pine-core/p-CyOICl1j.system.js.map +1 -0
  443. package/dist/pine-core/{p-Be8OBmYb.system.js.map → p-D32r9DeF.system.js.map} +1 -1
  444. package/dist/pine-core/{p-Bmf4Ow_8.js → p-D4ys0pep.js} +1 -1
  445. package/dist/pine-core/p-D4ys0pep.js.map +1 -0
  446. package/dist/pine-core/p-DAxrTjDa.system.js.map +1 -0
  447. package/dist/pine-core/p-DDtwbwIl.js +2 -0
  448. package/dist/pine-core/p-DDtwbwIl.js.map +1 -0
  449. package/dist/pine-core/{p-BqkabXR7.system.js.map → p-DMF-DSOl.system.js.map} +1 -1
  450. package/dist/pine-core/{p-CsWO_n3t.system.js.map → p-DNbBVaLv.system.js.map} +1 -1
  451. package/dist/pine-core/{p-B036z4h-.system.js.map → p-DOdbcaFd.system.js.map} +1 -1
  452. package/dist/pine-core/{p-8tpU1leU.system.js.map → p-DZLD6m8S.system.js.map} +1 -1
  453. package/dist/pine-core/{p-DmWm26A6.system.js.map → p-Dp80V3ht.system.js.map} +1 -1
  454. package/dist/pine-core/{p-B9rVdQdy.system.js.map → p-Dq_WxIls.system.js.map} +1 -1
  455. package/dist/pine-core/{p-DZt6ah_A.system.js.map → p-DwSw16ZT.system.js.map} +1 -1
  456. package/dist/pine-core/{p-dPhHNR2G.system.js.map → p-IEIIi5zq.system.js.map} +1 -1
  457. package/dist/pine-core/p-JAVnELnm.system.js +1 -1
  458. package/dist/pine-core/{p-BeJr-4oL.system.js.map → p-KVyVRPM1.system.js.map} +1 -1
  459. package/dist/pine-core/{p-CEE11B7K.system.js.map → p-Ob6d9Y86.system.js.map} +1 -1
  460. package/dist/pine-core/{p-P65hM6YU.system.js.map → p-PMiwIPVl.system.js.map} +1 -1
  461. package/dist/pine-core/{p-DzmLlvu3.system.js.map → p-WysX4rk5.system.js.map} +1 -1
  462. package/dist/pine-core/{p-439e3343.entry.js → p-a1d58592.entry.js} +2 -2
  463. package/dist/pine-core/p-a3543531.entry.js +2 -0
  464. package/dist/pine-core/{p-6cbad264.entry.js.map → p-a3543531.entry.js.map} +1 -1
  465. package/dist/pine-core/{p-08cdf7f2.system.entry.js → p-a55bc143.system.entry.js} +2 -2
  466. package/dist/pine-core/p-a61e92c3.system.entry.js +2 -0
  467. package/dist/pine-core/p-a61e92c3.system.entry.js.map +1 -0
  468. package/dist/pine-core/{p-9b2cd9fc.entry.js → p-a6b01b1e.entry.js} +2 -2
  469. package/dist/pine-core/{p-88eb4f6c.entry.js → p-a720a925.entry.js} +2 -2
  470. package/dist/pine-core/{p-abb72971.system.entry.js → p-a85e565c.system.entry.js} +2 -2
  471. package/dist/pine-core/{p-56d0e6f4.entry.js → p-aa331370.entry.js} +2 -2
  472. package/dist/pine-core/{p-445c5ec5.system.entry.js → p-ab2c2298.system.entry.js} +2 -2
  473. package/dist/pine-core/{p-7fc20a77.system.entry.js → p-adbe19c7.system.entry.js} +2 -2
  474. package/dist/pine-core/{p-36478643.system.entry.js → p-b2a5b6ae.system.entry.js} +2 -2
  475. package/dist/pine-core/p-b3c50d38.entry.js +2 -0
  476. package/dist/pine-core/{p-7c1b1fb8.entry.js.map → p-b3c50d38.entry.js.map} +1 -1
  477. package/dist/pine-core/p-b6465152.entry.js +2 -0
  478. package/dist/pine-core/p-b6465152.entry.js.map +1 -0
  479. package/dist/pine-core/{p-599a5903.system.entry.js → p-bc462592.system.entry.js} +2 -2
  480. package/dist/pine-core/{p-9ba4acdf.system.entry.js → p-bc7a4275.system.entry.js} +2 -2
  481. package/dist/pine-core/{p-9f09e116.system.entry.js → p-c6682c9d.system.entry.js} +2 -2
  482. package/dist/pine-core/p-c6dd00b1.entry.js +2 -0
  483. package/dist/pine-core/{p-1951d49e.entry.js → p-c78a7729.entry.js} +2 -2
  484. package/dist/pine-core/{p-ccdee55a.entry.js → p-c9ced0ee.entry.js} +2 -2
  485. package/dist/pine-core/{p-bf712423.entry.js → p-caf01891.entry.js} +2 -2
  486. package/dist/pine-core/{p-39cb879d.entry.js → p-ccf46b90.entry.js} +2 -2
  487. package/dist/pine-core/p-cdd8175e.entry.js +2 -0
  488. package/dist/pine-core/p-cdd8175e.entry.js.map +1 -0
  489. package/dist/pine-core/{p-b7f2f9f3.system.entry.js → p-ce47aaaa.system.entry.js} +2 -2
  490. package/dist/pine-core/p-d3e64f4e.system.entry.js +4 -0
  491. package/dist/pine-core/p-d3e64f4e.system.entry.js.map +1 -0
  492. package/dist/pine-core/{p-5f63b999.entry.js → p-d5d9cf28.entry.js} +2 -2
  493. package/dist/pine-core/{p-b3ee3c4c.system.entry.js → p-d6c72b79.system.entry.js} +2 -2
  494. package/dist/pine-core/p-d845fd1d.system.entry.js +2 -0
  495. package/dist/pine-core/p-d8698ac5.entry.js +3 -0
  496. package/dist/pine-core/p-d8698ac5.entry.js.map +1 -0
  497. package/dist/pine-core/{p-3e45826f.system.entry.js → p-e017b42e.system.entry.js} +2 -2
  498. package/dist/pine-core/{p-d0504aa8.system.entry.js → p-e1402563.system.entry.js} +2 -2
  499. package/dist/pine-core/{p-119ccf73.entry.js → p-e47524a6.entry.js} +2 -2
  500. package/dist/pine-core/p-e6097fd3.entry.js +2 -0
  501. package/dist/pine-core/{p-5107c129.entry.js → p-e73b5859.entry.js} +2 -2
  502. package/dist/pine-core/p-e776269e.system.entry.js +2 -0
  503. package/dist/pine-core/{p-46d61c98.system.entry.js.map → p-e776269e.system.entry.js.map} +1 -1
  504. package/dist/pine-core/{p-C1p8XJSR.system.js.map → p-e7dY1RIu.system.js.map} +1 -1
  505. package/dist/pine-core/{p-72ca815d.system.entry.js → p-ed125c22.system.entry.js} +2 -2
  506. package/dist/pine-core/{p-b6ede995.system.entry.js → p-eec6b183.system.entry.js} +2 -2
  507. package/dist/pine-core/{p-867ef2f1.entry.js → p-f352e850.entry.js} +2 -2
  508. package/dist/pine-core/p-f86fbde7.entry.js +2 -0
  509. package/dist/pine-core/p-f86fbde7.entry.js.map +1 -0
  510. package/dist/pine-core/p-fa4c5b6b.system.entry.js +9 -0
  511. package/dist/pine-core/p-fa4c5b6b.system.entry.js.map +1 -0
  512. package/dist/pine-core/{p-203f6e9e.entry.js → p-fa62518b.entry.js} +2 -2
  513. package/dist/pine-core/p-fc0df65c.entry.js +2 -0
  514. package/dist/pine-core/p-fe2ba477.entry.js +2 -0
  515. package/dist/pine-core/p-kR80YJVM.system.js.map +1 -0
  516. package/dist/pine-core/{p-D02u2D7r.system.js.map → p-ssoi7rVs.system.js.map} +1 -1
  517. package/dist/pine-core/pds-alert.entry.esm.js.map +1 -1
  518. package/dist/pine-core/pds-avatar.entry.esm.js.map +1 -1
  519. package/dist/pine-core/pds-checkbox.entry.esm.js.map +1 -1
  520. package/dist/pine-core/pds-chip.entry.esm.js.map +1 -1
  521. package/dist/pine-core/pds-combobox.entry.esm.js.map +1 -1
  522. package/dist/pine-core/pds-dropdown-menu-item.entry.esm.js.map +1 -1
  523. package/dist/pine-core/pds-input.entry.esm.js.map +1 -1
  524. package/dist/pine-core/pds-multiselect.entry.esm.js.map +1 -1
  525. package/dist/pine-core/pds-select.entry.esm.js.map +1 -1
  526. package/dist/pine-core/pds-sortable-item.entry.esm.js.map +1 -1
  527. package/dist/pine-core/pds-sortable.entry.esm.js.map +1 -1
  528. package/dist/pine-core/pds-switch.entry.esm.js.map +1 -1
  529. package/dist/pine-core/pds-textarea.entry.esm.js.map +1 -1
  530. package/dist/pine-core/pds-toast.entry.esm.js.map +1 -1
  531. package/dist/pine-core/pine-core.esm.js +1 -1
  532. package/dist/types/components/pds-alert/pds-alert.d.ts +1 -0
  533. package/dist/types/components/pds-avatar/pds-avatar.d.ts +2 -0
  534. package/dist/types/components/pds-chip/pds-chip.d.ts +1 -0
  535. package/dist/types/components/pds-combobox/pds-combobox.d.ts +9 -1
  536. package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +3 -0
  537. package/dist/types/components/pds-multiselect/multiselect-interface.d.ts +8 -0
  538. package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +31 -0
  539. package/dist/types/components/pds-sortable/pds-sortable.d.ts +8 -1
  540. package/dist/types/components/pds-sortable/sortable-interface.d.ts +1 -0
  541. package/dist/types/components/pds-toast/pds-toast.d.ts +3 -0
  542. package/dist/types/components.d.ts +56 -6
  543. package/dist/types/utils/form.d.ts +10 -0
  544. package/dist/vscode.html-data.json +10479 -0
  545. package/hydrate/index.js +576 -376
  546. package/hydrate/index.mjs +576 -376
  547. package/package.json +2 -2
  548. package/dist/cjs/floating-ui.dom-Ca6tS7ef.js.map +0 -1
  549. package/dist/cjs/form-DUqlzovE.js.map +0 -1
  550. package/dist/cjs/index-D8mNsvM8.js.map +0 -1
  551. package/dist/esm/floating-ui.dom-BO6p966C.js.map +0 -1
  552. package/dist/esm/form-CN-lL5QG.js.map +0 -1
  553. package/dist/esm/index-Bmf4Ow_8.js.map +0 -1
  554. package/dist/esm-es5/floating-ui.dom-BO6p966C.js +0 -2
  555. package/dist/esm-es5/floating-ui.dom-BO6p966C.js.map +0 -1
  556. package/dist/esm-es5/form-CN-lL5QG.js.map +0 -1
  557. package/dist/esm-es5/index-Bmf4Ow_8.js.map +0 -1
  558. package/dist/pine-core/p-009faf05.entry.js +0 -2
  559. package/dist/pine-core/p-009faf05.entry.js.map +0 -1
  560. package/dist/pine-core/p-0b3d6527.entry.js +0 -2
  561. package/dist/pine-core/p-0b3d6527.entry.js.map +0 -1
  562. package/dist/pine-core/p-15b66c25.system.entry.js +0 -2
  563. package/dist/pine-core/p-15b66c25.system.entry.js.map +0 -1
  564. package/dist/pine-core/p-221b4348.entry.js +0 -2
  565. package/dist/pine-core/p-221b4348.entry.js.map +0 -1
  566. package/dist/pine-core/p-25255ab8.system.entry.js +0 -4
  567. package/dist/pine-core/p-25255ab8.system.entry.js.map +0 -1
  568. package/dist/pine-core/p-2a7b94ba.system.entry.js +0 -2
  569. package/dist/pine-core/p-2a7b94ba.system.entry.js.map +0 -1
  570. package/dist/pine-core/p-31bfac45.entry.js +0 -2
  571. package/dist/pine-core/p-3239c67a.entry.js +0 -2
  572. package/dist/pine-core/p-396d4b63.entry.js +0 -8
  573. package/dist/pine-core/p-396d4b63.entry.js.map +0 -1
  574. package/dist/pine-core/p-44035cf4.entry.js +0 -3
  575. package/dist/pine-core/p-44035cf4.entry.js.map +0 -1
  576. package/dist/pine-core/p-46d61c98.system.entry.js +0 -2
  577. package/dist/pine-core/p-4c0e71ce.entry.js +0 -2
  578. package/dist/pine-core/p-4c0e71ce.entry.js.map +0 -1
  579. package/dist/pine-core/p-4c82bff5.entry.js +0 -2
  580. package/dist/pine-core/p-50a439b5.entry.js +0 -2
  581. package/dist/pine-core/p-65d0032c.system.entry.js +0 -2
  582. package/dist/pine-core/p-6cbad264.entry.js +0 -2
  583. package/dist/pine-core/p-79f0b007.entry.js +0 -2
  584. package/dist/pine-core/p-79f0b007.entry.js.map +0 -1
  585. package/dist/pine-core/p-7c1b1fb8.entry.js +0 -2
  586. package/dist/pine-core/p-7da176b4.system.entry.js +0 -9
  587. package/dist/pine-core/p-7da176b4.system.entry.js.map +0 -1
  588. package/dist/pine-core/p-8a31ccd4.entry.js +0 -2
  589. package/dist/pine-core/p-8a31ccd4.entry.js.map +0 -1
  590. package/dist/pine-core/p-91781a0a.system.entry.js +0 -2
  591. package/dist/pine-core/p-91781a0a.system.entry.js.map +0 -1
  592. package/dist/pine-core/p-94a9ff2a.system.entry.js +0 -2
  593. package/dist/pine-core/p-BB9Md7vT.system.js.map +0 -1
  594. package/dist/pine-core/p-BGc1L0Ao.system.js.map +0 -1
  595. package/dist/pine-core/p-BO6p966C.js +0 -2
  596. package/dist/pine-core/p-BO6p966C.js.map +0 -1
  597. package/dist/pine-core/p-Bch44a-T.system.js.map +0 -1
  598. package/dist/pine-core/p-Bmf4Ow_8.js.map +0 -1
  599. package/dist/pine-core/p-BohZ8Mvm.system.js.map +0 -1
  600. package/dist/pine-core/p-CFL53vBy.system.js.map +0 -1
  601. package/dist/pine-core/p-CFqOsbKv.system.js.map +0 -1
  602. package/dist/pine-core/p-CH2XYz0c.system.js.map +0 -1
  603. package/dist/pine-core/p-CN-lL5QG.js +0 -2
  604. package/dist/pine-core/p-CN-lL5QG.js.map +0 -1
  605. package/dist/pine-core/p-CTDKHxjD.system.js.map +0 -1
  606. package/dist/pine-core/p-D-iLwshJ.system.js.map +0 -1
  607. package/dist/pine-core/p-D2eS6fhD.system.js +0 -2
  608. package/dist/pine-core/p-D2eS6fhD.system.js.map +0 -1
  609. package/dist/pine-core/p-D497NWkn.system.js.map +0 -1
  610. package/dist/pine-core/p-DHNujrRT.system.js.map +0 -1
  611. package/dist/pine-core/p-DcrqbXJe.system.js.map +0 -1
  612. package/dist/pine-core/p-DdR8iWme.system.js.map +0 -1
  613. package/dist/pine-core/p-DqO0Rc5m.system.js.map +0 -1
  614. package/dist/pine-core/p-Dvsezmq8.system.js.map +0 -1
  615. package/dist/pine-core/p-af5bf21d.entry.js +0 -2
  616. package/dist/pine-core/p-bPSIyJOo.system.js.map +0 -1
  617. package/dist/pine-core/p-ba195382.system.entry.js +0 -2
  618. package/dist/pine-core/p-bd2329cd.entry.js +0 -2
  619. package/dist/pine-core/p-c91fd600.entry.js +0 -2
  620. package/dist/pine-core/p-d6139188.system.entry.js +0 -2
  621. package/dist/pine-core/p-d62a5444.system.entry.js +0 -2
  622. package/dist/pine-core/p-ef7d0535.system.entry.js +0 -2
  623. package/dist/pine-core/p-ef7d0535.system.entry.js.map +0 -1
  624. package/dist/pine-core/p-f298baeb.system.entry.js +0 -2
  625. package/dist/pine-core/p-f298baeb.system.entry.js.map +0 -1
  626. package/dist/pine-core/p-f9c32940.system.entry.js +0 -2
  627. package/dist/pine-core/p-f9c32940.system.entry.js.map +0 -1
  628. /package/dist/pine-core/{p-bd2329cd.entry.js.map → p-0582a3b3.entry.js.map} +0 -0
  629. /package/dist/pine-core/{p-e9eb3fc3.system.entry.js.map → p-0d7eddea.system.entry.js.map} +0 -0
  630. /package/dist/pine-core/{p-b416cb4b.system.entry.js.map → p-0f990fae.system.entry.js.map} +0 -0
  631. /package/dist/pine-core/{p-edbaff73.system.entry.js.map → p-13f28e2a.system.entry.js.map} +0 -0
  632. /package/dist/pine-core/{p-838452e0.entry.js.map → p-14cceca6.entry.js.map} +0 -0
  633. /package/dist/pine-core/{p-ea721a45.entry.js.map → p-16b7a61d.entry.js.map} +0 -0
  634. /package/dist/pine-core/{p-5e83f6e3.system.entry.js.map → p-16bf3993.system.entry.js.map} +0 -0
  635. /package/dist/pine-core/{p-9606f567.system.entry.js.map → p-182b5617.system.entry.js.map} +0 -0
  636. /package/dist/pine-core/{p-4c82bff5.entry.js.map → p-1855322f.entry.js.map} +0 -0
  637. /package/dist/pine-core/{p-8b7246ea.system.entry.js.map → p-2a185f0b.system.entry.js.map} +0 -0
  638. /package/dist/pine-core/{p-c73ef42b.entry.js.map → p-32e54df7.entry.js.map} +0 -0
  639. /package/dist/pine-core/{p-68f97bdf.entry.js.map → p-33e8d130.entry.js.map} +0 -0
  640. /package/dist/pine-core/{p-1b0dc99e.system.entry.js.map → p-3e96ea38.system.entry.js.map} +0 -0
  641. /package/dist/pine-core/{p-64c6c4a0.entry.js.map → p-3f8e9f3f.entry.js.map} +0 -0
  642. /package/dist/pine-core/{p-94a9ff2a.system.entry.js.map → p-4175a61c.system.entry.js.map} +0 -0
  643. /package/dist/pine-core/{p-73be1c83.entry.js.map → p-46e11e20.entry.js.map} +0 -0
  644. /package/dist/pine-core/{p-ed5ca877.system.entry.js.map → p-48a6762b.system.entry.js.map} +0 -0
  645. /package/dist/pine-core/{p-3fc8dbc9.system.entry.js.map → p-4c7055bb.system.entry.js.map} +0 -0
  646. /package/dist/pine-core/{p-7737e4e8.system.entry.js.map → p-4d2e9e8d.system.entry.js.map} +0 -0
  647. /package/dist/pine-core/{p-18a3b6ba.system.entry.js.map → p-519d9af1.system.entry.js.map} +0 -0
  648. /package/dist/pine-core/{p-f81b0dbb.system.entry.js.map → p-52d1a7a1.system.entry.js.map} +0 -0
  649. /package/dist/pine-core/{p-9558fa60.entry.js.map → p-536451ee.entry.js.map} +0 -0
  650. /package/dist/pine-core/{p-d62a5444.system.entry.js.map → p-5453ff49.system.entry.js.map} +0 -0
  651. /package/dist/pine-core/{p-3e2fc38f.entry.js.map → p-583c3ac5.entry.js.map} +0 -0
  652. /package/dist/pine-core/{p-31bfac45.entry.js.map → p-5f391ebf.entry.js.map} +0 -0
  653. /package/dist/pine-core/{p-bf157830.entry.js.map → p-645564d9.entry.js.map} +0 -0
  654. /package/dist/pine-core/{p-2883cb69.system.entry.js.map → p-67b78dd8.system.entry.js.map} +0 -0
  655. /package/dist/pine-core/{p-f179c88f.system.entry.js.map → p-6939924a.system.entry.js.map} +0 -0
  656. /package/dist/pine-core/{p-65d0032c.system.entry.js.map → p-74392e33.system.entry.js.map} +0 -0
  657. /package/dist/pine-core/{p-766e52a3.entry.js.map → p-75dc3a1f.entry.js.map} +0 -0
  658. /package/dist/pine-core/{p-8a53ae6d.system.entry.js.map → p-781bdbf7.system.entry.js.map} +0 -0
  659. /package/dist/pine-core/{p-2f663747.system.entry.js.map → p-7dfb5b1f.system.entry.js.map} +0 -0
  660. /package/dist/pine-core/{p-9c0e22d4.entry.js.map → p-82f9a81a.entry.js.map} +0 -0
  661. /package/dist/pine-core/{p-6c25dfc3.entry.js.map → p-8f3d6de0.entry.js.map} +0 -0
  662. /package/dist/pine-core/{p-ba195382.system.entry.js.map → p-902818eb.system.entry.js.map} +0 -0
  663. /package/dist/pine-core/{p-d8d796ad.system.entry.js.map → p-91200079.system.entry.js.map} +0 -0
  664. /package/dist/pine-core/{p-b2a7c2bf.entry.js.map → p-95af50ed.entry.js.map} +0 -0
  665. /package/dist/pine-core/{p-51d2999d.entry.js.map → p-98b493e5.entry.js.map} +0 -0
  666. /package/dist/pine-core/{p-b8f21554.system.entry.js.map → p-98d82bf0.system.entry.js.map} +0 -0
  667. /package/dist/pine-core/{p-1d82417a.entry.js.map → p-9d2e89e5.entry.js.map} +0 -0
  668. /package/dist/pine-core/{p-cbf49268.entry.js.map → p-9ea92b46.entry.js.map} +0 -0
  669. /package/dist/pine-core/{p-439e3343.entry.js.map → p-a1d58592.entry.js.map} +0 -0
  670. /package/dist/pine-core/{p-08cdf7f2.system.entry.js.map → p-a55bc143.system.entry.js.map} +0 -0
  671. /package/dist/pine-core/{p-9b2cd9fc.entry.js.map → p-a6b01b1e.entry.js.map} +0 -0
  672. /package/dist/pine-core/{p-88eb4f6c.entry.js.map → p-a720a925.entry.js.map} +0 -0
  673. /package/dist/pine-core/{p-abb72971.system.entry.js.map → p-a85e565c.system.entry.js.map} +0 -0
  674. /package/dist/pine-core/{p-56d0e6f4.entry.js.map → p-aa331370.entry.js.map} +0 -0
  675. /package/dist/pine-core/{p-445c5ec5.system.entry.js.map → p-ab2c2298.system.entry.js.map} +0 -0
  676. /package/dist/pine-core/{p-7fc20a77.system.entry.js.map → p-adbe19c7.system.entry.js.map} +0 -0
  677. /package/dist/pine-core/{p-36478643.system.entry.js.map → p-b2a5b6ae.system.entry.js.map} +0 -0
  678. /package/dist/pine-core/{p-599a5903.system.entry.js.map → p-bc462592.system.entry.js.map} +0 -0
  679. /package/dist/pine-core/{p-9ba4acdf.system.entry.js.map → p-bc7a4275.system.entry.js.map} +0 -0
  680. /package/dist/pine-core/{p-9f09e116.system.entry.js.map → p-c6682c9d.system.entry.js.map} +0 -0
  681. /package/dist/pine-core/{p-af5bf21d.entry.js.map → p-c6dd00b1.entry.js.map} +0 -0
  682. /package/dist/pine-core/{p-1951d49e.entry.js.map → p-c78a7729.entry.js.map} +0 -0
  683. /package/dist/pine-core/{p-ccdee55a.entry.js.map → p-c9ced0ee.entry.js.map} +0 -0
  684. /package/dist/pine-core/{p-bf712423.entry.js.map → p-caf01891.entry.js.map} +0 -0
  685. /package/dist/pine-core/{p-39cb879d.entry.js.map → p-ccf46b90.entry.js.map} +0 -0
  686. /package/dist/pine-core/{p-b7f2f9f3.system.entry.js.map → p-ce47aaaa.system.entry.js.map} +0 -0
  687. /package/dist/pine-core/{p-5f63b999.entry.js.map → p-d5d9cf28.entry.js.map} +0 -0
  688. /package/dist/pine-core/{p-b3ee3c4c.system.entry.js.map → p-d6c72b79.system.entry.js.map} +0 -0
  689. /package/dist/pine-core/{p-d6139188.system.entry.js.map → p-d845fd1d.system.entry.js.map} +0 -0
  690. /package/dist/pine-core/{p-3e45826f.system.entry.js.map → p-e017b42e.system.entry.js.map} +0 -0
  691. /package/dist/pine-core/{p-d0504aa8.system.entry.js.map → p-e1402563.system.entry.js.map} +0 -0
  692. /package/dist/pine-core/{p-119ccf73.entry.js.map → p-e47524a6.entry.js.map} +0 -0
  693. /package/dist/pine-core/{p-50a439b5.entry.js.map → p-e6097fd3.entry.js.map} +0 -0
  694. /package/dist/pine-core/{p-5107c129.entry.js.map → p-e73b5859.entry.js.map} +0 -0
  695. /package/dist/pine-core/{p-72ca815d.system.entry.js.map → p-ed125c22.system.entry.js.map} +0 -0
  696. /package/dist/pine-core/{p-b6ede995.system.entry.js.map → p-eec6b183.system.entry.js.map} +0 -0
  697. /package/dist/pine-core/{p-867ef2f1.entry.js.map → p-f352e850.entry.js.map} +0 -0
  698. /package/dist/pine-core/{p-203f6e9e.entry.js.map → p-fa62518b.entry.js.map} +0 -0
  699. /package/dist/pine-core/{p-c91fd600.entry.js.map → p-fc0df65c.entry.js.map} +0 -0
  700. /package/dist/pine-core/{p-3239c67a.entry.js.map → p-fe2ba477.entry.js.map} +0 -0
@@ -554,7 +554,7 @@ export class PdsPopover {
554
554
  }, 16); // ~1 frame at 60fps
555
555
  }
556
556
  render() {
557
- return (h(Host, { key: '835196832cb0dcec61f0bc6e5f4df08038335d5a', id: this.componentId }, h("span", { key: 'e4aadaa17ce565e00f5e038a92aae8957b22be64', class: "pds-popover__trigger-wrapper" }, h("slot", { key: '97fe58bed551bed9f3159faa430ef54fd09d2412', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), h("div", { key: '8d1330a58ff77182100fb40afa78ee89ccd3146f', class: "pds-popover__content-slot-wrapper" }, h("slot", { key: '5d1136682ba7bff4a4c904fb8310443e9feb9e5b', onSlotchange: this.handleContentSlotChange }))));
557
+ return (h(Host, { key: 'd312e00194a5d296119964bb6ba5e5cd9c6fb825', id: this.componentId }, h("span", { key: '4b57221f1c1c824f02ecf4ac0d032ae4b6b0e138', class: "pds-popover__trigger-wrapper" }, h("slot", { key: 'b0f3e0f1839c651047f1a096738b2a41296dccea', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), h("div", { key: 'a06b4503b5ce9f15186bc517bd0a867171546e9b', class: "pds-popover__content-slot-wrapper" }, h("slot", { key: '9377f9b88c194c517c4630e67d85bc1574dfb1e8', onSlotchange: this.handleContentSlotChange }))));
558
558
  }
559
559
  static get is() { return "pds-popover"; }
560
560
  static get encapsulation() { return "shadow"; }
@@ -18,7 +18,7 @@ export class PdsProgress {
18
18
  this.showPercent = false;
19
19
  }
20
20
  render() {
21
- return (h(Host, { key: '23b8b17a11e6537d1f73cd435c66e779267c6909', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: '6bf201015c284f26b2bb794237aef8d4e4d532ee', class: "pds-progress" }, h("label", { key: '7e144a90c1fde70e58095bda2e23b250529a8114', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: 'ebf00485c3c7523e184fcc022e2bcc325a13458f', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: '6f37bd88ccb9228b0d0ca4d934a2d3cff0026533', class: "pds-progress__percentage" }, this.percent, "%")));
21
+ return (h(Host, { key: '8f1f16b8ef5269affbb07a00731775b1740b865d', class: this.animated ? { 'is-animated': this.animated } : '' }, h("div", { key: '2e7a7d679953150523367357eeefea3e8ebc7349', class: "pds-progress" }, h("label", { key: '67b2aef063ace81ceabf8c66a5039ee2ffd2d041', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: '759351c283ae43848e2ee3c298ae27de1e9b58db', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: '5f2e7309fe5207785a69c93df4e877182dc37f67', class: "pds-progress__percentage" }, this.percent, "%")));
22
22
  }
23
23
  static get is() { return "pds-progress"; }
24
24
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ export class PdsProperty {
10
10
  this.icon = 'star';
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: '947e0adfc46ab267b4a5f3e3da5dedcd8ab64d3e', id: this.componentId }, h("pds-box", { key: 'bc6fbd4eaa162a7d9ff6348d74bf15f71e776db6', "align-items": "center", gap: "xs" }, h("pds-icon", { key: '5d703e9afd94761aae842c82c7b5e9223b63b894', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: 'e5e02fb21c783f7e4027591e99cd966981babc04' }))));
13
+ return (h(Host, { key: '3bcfbe6d24bd61cabddf12bf674cf3aecf77c353', id: this.componentId }, h("pds-box", { key: '189d28c1025a9825b35034f9726a3f15d40d9cb3', "align-items": "center", gap: "xs" }, h("pds-icon", { key: '456413d57cf086bdf21f7693b208906ca25d1166', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: 'c5eaefd892ce4f29ff7938783acdcfc4a5494632' }))));
14
14
  }
15
15
  static get is() { return "pds-property"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -80,11 +80,11 @@ export class PdsRadio {
80
80
  }
81
81
  render() {
82
82
  const renderLabelAndMessages = () => [
83
- h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, h("input", { key: '75aca490be2db050f66ddd9cb45ce122bea4db53', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange, class: this.hasImage() ? 'visually-hidden' : '' }), h("span", { key: '1bbc7398d3be35e301526b0f842274a3f1db4457', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)),
83
+ h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, h("input", { key: '9d5e14d349c2328a3a374bdf2e09fd70409f2350', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange, class: this.hasImage() ? 'visually-hidden' : '' }), h("span", { key: '88a3dcfd25892e6ddba621deab94e349ec75739e', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)),
84
84
  this.helperMessage && (h("div", { key: `${this.componentId}-helper`, class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage)),
85
- this.errorMessage && (h("div", { key: `${this.componentId}-error`, class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'e1a1228fa52e68623098f09493d93aa03d2e65c4', icon: danger, size: "small" }), this.errorMessage))
85
+ this.errorMessage && (h("div", { key: `${this.componentId}-error`, class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '0056232c82cf0d09db6b845e05d951954582ccc1', icon: danger, size: "small" }), this.errorMessage))
86
86
  ];
87
- return (h(Host, { key: '60fabeef5778fd30e46cfd23d05684e1743bc57f', class: this.classNames() }, this.hasImage() && (h("div", { key: '9ba3e60182a68cc8e996623cf46e17001ff451f6', class: "pds-radio__image-container", part: "image-container" }, h("slot", { key: 'bf8927129eb68ee7ed07a1f8f8727f013254e133', name: "image", onSlotchange: () => (this._hasImage = this.hasImageSlot()) }))), this.hasImage() ? (h("div", { class: "pds-radio__content-wrapper" }, renderLabelAndMessages())) : (renderLabelAndMessages())));
87
+ return (h(Host, { key: '3748a4cb1365b3deeb98d5294352d2a12546372c', class: this.classNames() }, this.hasImage() && (h("div", { key: '2eefe091ac70c9cb147b7ed102c524aefc13691f', class: "pds-radio__image-container", part: "image-container" }, h("slot", { key: '58ad9ed18ada05e2ba9267332c73b28ab055ccb7', name: "image", onSlotchange: () => (this._hasImage = this.hasImageSlot()) }))), this.hasImage() ? (h("div", { class: "pds-radio__content-wrapper" }, renderLabelAndMessages())) : (renderLabelAndMessages())));
88
88
  }
89
89
  static get is() { return "pds-radio"; }
90
90
  static get encapsulation() { return "scoped"; }
@@ -144,13 +144,13 @@ export class PdsRadioGroup {
144
144
  render() {
145
145
  const gapValue = this.getGapValue();
146
146
  const ariaDescribedBy = this.getAriaDescribedBy();
147
- return (h(Host, { key: '53949e8e878887189482a13e0402402b8ee79c46', class: this.classNames(), id: this._groupId, role: "group", "aria-describedby": ariaDescribedBy, style: {
147
+ return (h(Host, { key: '14e4da42fa14f79d3baae62fc4759462fb00cec8', class: this.classNames(), id: this._groupId, role: "group", "aria-describedby": ariaDescribedBy, style: {
148
148
  '--pds-radio-group-gap': gapValue,
149
- } }, this.groupLabel && (h("div", { key: '9aa547ff0b60d1eb78ab6806c552391c119c6511', class: "pds-radio-group__label" }, this.groupLabel)), h("div", { key: '5bad4f6d4c685eca8a97b574511f21b93bdf4821', class: {
149
+ } }, this.groupLabel && (h("div", { key: '0564bc27ff5d15ad7f3ad37d737ee9be8216cfbf', class: "pds-radio-group__label" }, this.groupLabel)), h("div", { key: '72dcfa6dc3b9e6f8837a380575da213d026fdaca', class: {
150
150
  'pds-radio-group__radios': true,
151
151
  'pds-radio-group__radios--row': this.direction === 'row',
152
152
  'pds-radio-group__radios--column': this.direction === 'column',
153
- } }, h("slot", { key: 'ffd76f30b308f124e1df925b2fe354ffb80f59bc', onSlotchange: () => this.updateChildRadios() })), this.helperMessage && (h("div", { key: 'ea8995384b1e1c1e98d01d704bd969a97bfd2b2a', class: "pds-radio-group__message", id: messageId(this._groupId, 'helper') }, this.helperMessage)), this.errorMessage && (h("div", { key: '30726bc368c7ad2820ae4cb43faf0a45e94a51e8', class: "pds-radio-group__message pds-radio-group__message--error", id: messageId(this._groupId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'acc00b6e36ead10cc5cc01033ad0f619bd75f5da', icon: danger, size: "small" }), this.errorMessage))));
153
+ } }, h("slot", { key: '98a1251c95ff936e8da1c1838f69ed98be15ae60', onSlotchange: () => this.updateChildRadios() })), this.helperMessage && (h("div", { key: '3667b47f8b0f42058f16135bb51943055705d415', class: "pds-radio-group__message", id: messageId(this._groupId, 'helper') }, this.helperMessage)), this.errorMessage && (h("div", { key: '1fe7dafd6ed81b74114c6b8901ec70b6527f1c00', class: "pds-radio-group__message pds-radio-group__message--error", id: messageId(this._groupId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'c8e5099b271ad88836758cbd8baa911a720ceb5a', icon: danger, size: "small" }), this.errorMessage))));
154
154
  }
155
155
  static get is() { return "pds-radio-group"; }
156
156
  static get encapsulation() { return "scoped"; }
@@ -55,7 +55,7 @@ export class PdsRow {
55
55
  })), (this.minHeight && {
56
56
  'min-height': this.minHeight,
57
57
  }));
58
- return h(Host, { key: '7d99184153a86e5d7d2c90fce98e05e9c4a36b81', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
58
+ return h(Host, { key: '837ddbdce43bb90e52421dac32f77a0fc80f8d07', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
59
59
  }
60
60
  static get is() { return "pds-row"; }
61
61
  static get originalStyleUrls() {
@@ -1,5 +1,5 @@
1
1
  import { Host, h } from "@stencil/core";
2
- import { messageId, exposeTypeProperty } from "../../utils/form";
2
+ import { isSpecTest, messageId, exposeTypeProperty } from "../../utils/form";
3
3
  import { danger, enlarge } from "@pine-ds/icons/icons";
4
4
  /**
5
5
  * @slot action - Content to be displayed in the label area, typically for help icons or links
@@ -161,6 +161,8 @@ export class PdsSelect {
161
161
  * Updates the form value using ElementInternals API
162
162
  */
163
163
  updateFormValue() {
164
+ if (isSpecTest())
165
+ return;
164
166
  if (this.internals && this.internals.setFormValue) {
165
167
  const value = this.value;
166
168
  // Handle multi-select arrays by converting to FormData or comma-separated string
@@ -221,7 +223,7 @@ export class PdsSelect {
221
223
  }
222
224
  render() {
223
225
  const hasAction = this.el.querySelector('[slot="action"]') !== null;
224
- return (h(Host, { key: 'd36bddf20910ae21ba2209bbf7e3f13b1ce9c3bf', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: '72fe6ee352834fbd6e8f5f9d9e96b1be232f2988', class: "pds-select" }, !this.hideLabel && (h("div", { key: 'c2894f7ec00402425f74f1145d449da13d870161', class: "pds-select__label-wrapper" }, h("label", { key: '4f6277c3f7b40f3d52995231cb49824e58ebae1b', htmlFor: this.componentId }, h("span", { key: 'f1b0cf90091843c1a994699263905f811888d4bd', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: '727c1644e8ea5afc194e33e29e9730d6b08c3784', "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, onBlur: this.onBlur, onChange: this.onSelectUpdate, onFocus: this.onFocus, onKeyDown: this.onKeyDown, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: 'd7c0c3f3b765b13c6dc34a9c5c13bbcfd081a274', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '2305afcacb082c0d5faca8b77295919f8d9c9e0b', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: '4a1d6ced0ffc14ae17763d116a85324e5a6c7ce5', class: "pds-select__select-icon", icon: enlarge }))));
226
+ return (h(Host, { key: 'ef2484adb6e3091a6f55ed462b81e431580951c8', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, h("div", { key: '6de51120bac23144c0c727fbcfeef73b542ba750', class: "pds-select" }, !this.hideLabel && (h("div", { key: '6e36271c09c160e2930eb1c4bcbd5b5dc7a3de6c', class: "pds-select__label-wrapper" }, h("label", { key: '6a1d061a3ea1a01c58e412c59369eda7c2b771bd', htmlFor: this.componentId }, h("span", { key: 'c32a97fc1167f15074f44ca3e1f4f410e3cc88a6', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: '77d63c6ea36a1132c4b642724aea6fd25db0355a', "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, onBlur: this.onBlur, onChange: this.onSelectUpdate, onFocus: this.onFocus, onKeyDown: this.onKeyDown, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), h("div", { key: '71d8b7155c6b97396826c6769de4a2045727d43b', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '8153aee437a68c53ef9e38ddc009985296e80ed2', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: '435d67dfdce140fd5cc1b1d9d47bccf73be97def', class: "pds-select__select-icon", icon: enlarge }))));
225
227
  }
226
228
  static get is() { return "pds-select"; }
227
229
  static get encapsulation() { return "shadow"; }
@@ -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;QAuGzB;;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,MAA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../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 the select value changes.\n */\n @Event() pdsSelectChange: EventEmitter<InputEvent>;\n\n /**\n * Emitted when the select loses focus.\n */\n @Event() pdsBlur!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when the select gains focus.\n */\n @Event() pdsFocus!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when a key is pressed down in the select.\n */\n @Event() pdsKeyDown!: EventEmitter<KeyboardEvent>;\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 (only once per element instance)\n if (this.el.attachInternals && !this.internals) {\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 private onBlur = (ev: FocusEvent) => {\n this.pdsBlur.emit(ev);\n };\n\n private onFocus = (ev: FocusEvent) => {\n this.pdsFocus.emit(ev);\n };\n\n private onKeyDown = (ev: KeyboardEvent) => {\n this.pdsKeyDown.emit(ev);\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 onBlur={this.onBlur}\n onChange={this.onSelectUpdate}\n onFocus={this.onFocus}\n onKeyDown={this.onKeyDown}\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,UAAU,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAC7E,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;QAuGzB;;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,GAA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perty } 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 the select value changes.\n */\n @Event() pdsSelectChange: EventEmitter<InputEvent>;\n\n /**\n * Emitted when the select loses focus.\n */\n @Event() pdsBlur!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when the select gains focus.\n */\n @Event() pdsFocus!: EventEmitter<FocusEvent>;\n\n /**\n * Emitted when a key is pressed down in the select.\n */\n @Event() pdsKeyDown!: EventEmitter<KeyboardEvent>;\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 (only once per element instance)\n if (this.el.attachInternals && !this.internals) {\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 private onBlur = (ev: FocusEvent) => {\n this.pdsBlur.emit(ev);\n };\n\n private onFocus = (ev: FocusEvent) => {\n this.pdsFocus.emit(ev);\n };\n\n private onKeyDown = (ev: KeyboardEvent) => {\n this.pdsKeyDown.emit(ev);\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 (isSpecTest()) return;\n\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 onBlur={this.onBlur}\n onChange={this.onSelectUpdate}\n onFocus={this.onFocus}\n onKeyDown={this.onKeyDown}\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"]}
@@ -32,11 +32,21 @@
32
32
  .pds-sortable--handle-type-handle :host(.pds-sortable-item) .pds-sortable-item__handle {
33
33
  cursor: grab;
34
34
  }
35
+ .pds-sortable--disabled :host(.pds-sortable-item) {
36
+ cursor: not-allowed;
37
+ opacity: 0.5;
38
+ }
39
+ .pds-sortable--disabled :host(.pds-sortable-item) .pds-sortable-item__handle {
40
+ cursor: not-allowed;
41
+ }
35
42
 
36
- :host(.pds-sortable-item):hover {
43
+ .pds-sortable--disabled :host(.pds-sortable-item):hover {
44
+ background-color: transparent;
45
+ }
46
+ .pds-sortable:not(.pds-sortable--disabled) :host(.pds-sortable-item):hover {
37
47
  background-color: var(--pine-color-background-container-hover);
38
48
  }
39
- :host(.pds-sortable-item):hover pds-icon {
49
+ .pds-sortable:not(.pds-sortable--disabled) :host(.pds-sortable-item):hover pds-icon {
40
50
  color: var(--pine-color-info);
41
51
  }
42
52
 
@@ -25,7 +25,7 @@ export class PdsSortableItem {
25
25
  }
26
26
  }
27
27
  render() {
28
- return (h(Host, { key: '631a0c1150226256cdb47d1a7bc6635144bb56d0', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: 'bdb6ff779a5d750b75d404521bc91cad02176ea8', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '144f4b6fe33a3a3a864ac48041fc93935fbf99c3', icon: handleIcon }))), h("slot", { key: 'cdddce9c5fa3fde34481c41c46c5f6504e33a358' }), this.enableActions && (h("div", { key: '527e1d22f20223a850dbd956dea4db93878fd9f9', class: "pds-sortable-item__actions" }, h("slot", { key: '85ea35dbfdf0393721471dd229e80e9e57f58230', name: "sortable-item-actions" })))));
28
+ return (h(Host, { key: '99cd4e5a8a48c524569a8380b2cf214096627928', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '4507fcd9135439cc12a95890f82a4355ee1c2487', class: "pds-sortable-item__handle" }, h("pds-icon", { key: '42b4c87bd56d40c625016c7c09bcf9696b1be829', icon: handleIcon }))), h("slot", { key: '47a7d6b1bc399e3044eee9f669d40cf9c24faf76' }), this.enableActions && (h("div", { key: 'a617251b75698f53f90c260e55cee260e44e1a8c', class: "pds-sortable-item__actions" }, h("slot", { key: '74b891acaa77245d37f39a37586365185dc3de1d', name: "sortable-item-actions" })))));
29
29
  }
30
30
  static get is() { return "pds-sortable-item"; }
31
31
  static get encapsulation() { return "scoped"; }
@@ -8,7 +8,12 @@ export class PdsSortable {
8
8
  */
9
9
  this.border = false;
10
10
  /**
11
- * Deternines whether `sortable` items should be divided with border.
11
+ * Determines whether or not the sortable is disabled.
12
+ * @defaultValue false
13
+ */
14
+ this.disabled = false;
15
+ /**
16
+ * Determines whether `sortable` items should be divided with border.
12
17
  */
13
18
  this.dividers = false;
14
19
  /**
@@ -16,11 +21,18 @@ export class PdsSortable {
16
21
  */
17
22
  this.handleType = 'row';
18
23
  }
24
+ handleDisabledChange() {
25
+ var _a;
26
+ (_a = this.sortableInstance) === null || _a === void 0 ? void 0 : _a.option('disabled', this.disabled);
27
+ }
19
28
  classNames() {
20
29
  const classNames = ['pds-sortable'];
21
30
  if (this.border) {
22
31
  classNames.push('pds-sortable--bordered');
23
32
  }
33
+ if (this.disabled) {
34
+ classNames.push('pds-sortable--disabled');
35
+ }
24
36
  if (this.dividers) {
25
37
  classNames.push('pds-sortable--divided');
26
38
  }
@@ -32,6 +44,7 @@ export class PdsSortable {
32
44
  componentDidLoad() {
33
45
  let sortableOptions = {
34
46
  animation: 150,
47
+ disabled: this.disabled,
35
48
  ghostClass: 'pds-sortable-item--ghost',
36
49
  dragClass: 'pds-sortable-item--drag',
37
50
  onEnd: (evt) => {
@@ -41,10 +54,10 @@ export class PdsSortable {
41
54
  if (this.handleType === 'handle') {
42
55
  sortableOptions = Object.assign(Object.assign({}, sortableOptions), { handle: '.pds-sortable-item__handle' });
43
56
  }
44
- Sortable.create(this.el, sortableOptions);
57
+ this.sortableInstance = Sortable.create(this.el, sortableOptions);
45
58
  }
46
59
  render() {
47
- return (h(Host, { key: '98083e17bb18c5adde8b4c0c387daa28ca2bda91', class: this.classNames(), id: this.componentId }, h("slot", { key: '4ffcd0844153824c3509e42f5636c5851dc7fcbe' })));
60
+ return (h(Host, { key: '2b3845733aa8acd1de1d9c49b3840320fbc87dd4', class: this.classNames(), id: this.componentId }, h("slot", { key: 'd8659231eab11d8a4b89f6f3404268ca1d1c7dca' })));
48
61
  }
49
62
  static get is() { return "pds-sortable"; }
50
63
  static get encapsulation() { return "scoped"; }
@@ -83,6 +96,29 @@ export class PdsSortable {
83
96
  "attribute": "border",
84
97
  "defaultValue": "false"
85
98
  },
99
+ "disabled": {
100
+ "type": "boolean",
101
+ "mutable": false,
102
+ "complexType": {
103
+ "original": "boolean",
104
+ "resolved": "boolean",
105
+ "references": {}
106
+ },
107
+ "required": false,
108
+ "optional": false,
109
+ "docs": {
110
+ "tags": [{
111
+ "name": "defaultValue",
112
+ "text": "false"
113
+ }],
114
+ "text": "Determines whether or not the sortable is disabled."
115
+ },
116
+ "getter": false,
117
+ "setter": false,
118
+ "reflect": true,
119
+ "attribute": "disabled",
120
+ "defaultValue": "false"
121
+ },
86
122
  "componentId": {
87
123
  "type": "string",
88
124
  "mutable": false,
@@ -114,7 +150,7 @@ export class PdsSortable {
114
150
  "optional": false,
115
151
  "docs": {
116
152
  "tags": [],
117
- "text": "Deternines whether `sortable` items should be divided with border."
153
+ "text": "Determines whether `sortable` items should be divided with border."
118
154
  },
119
155
  "getter": false,
120
156
  "setter": false,
@@ -169,5 +205,11 @@ export class PdsSortable {
169
205
  }];
170
206
  }
171
207
  static get elementRef() { return "el"; }
208
+ static get watchers() {
209
+ return [{
210
+ "propName": "disabled",
211
+ "methodName": "handleDisabledChange"
212
+ }];
213
+ }
172
214
  }
173
215
  //# sourceMappingURL=pds-sortable.js.map
@@ -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;AAGvF,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 type { SortableEvent } from 'sortablejs';\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<SortableEvent>;\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"]}
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,KAAK,EAAE,MAAM,eAAe,CAAC;AAG9F,OAAO,QAAQ,MAAM,YAAY,CAAC;AAOlC,MAAM,OAAO,WAAW;IALxB;QAaE;;;WAGG;QACsB,WAAM,GAAG,KAAK,CAAC;QAExC;;;WAGG;QACsB,aAAQ,GAAG,KAAK,CAAC;QAO1C;;WAEG;QACsB,aAAQ,GAAG,KAAK,CAAC;QAE1C;;WAEG;QACK,eAAU,GAAqB,KAAK,CAAC;KA4D9C;IAvDC,oBAAoB;;QAClB,MAAA,IAAI,CAAC,gBAAgB,0CAAE,MAAM,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;IAC3D,CAAC;IAEO,UAAU;QAChB,MAAM,UAAU,GAAG,CAAC,cAAc,CAAC,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Host, h, Prop, Watch } from '@stencil/core';\nimport type { SortableEvent } from 'sortablejs';\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<SortableEvent>;\n\n /**\n * Determines whether `sortable` should have a border.\n * @defaultValue false\n */\n @Prop({ reflect: true }) border = false;\n\n /**\n * Determines whether or not the sortable is disabled.\n * @defaultValue false\n */\n @Prop({ reflect: true }) disabled = false;\n\n /**\n * A unique identifier used for the sortable container `id` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Determines 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 sortableInstance: InstanceType<typeof Sortable>;\n\n @Watch('disabled')\n handleDisabledChange() {\n this.sortableInstance?.option('disabled', this.disabled);\n }\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.disabled) {\n classNames.push('pds-sortable--disabled');\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 disabled: this.disabled,\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 this.sortableInstance = 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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"sortable-interface.js","sourceRoot":"","sources":["../../../../src/components/pds-sortable/sortable-interface.ts"],"names":[],"mappings":"","sourcesContent":["import type { SortableEvent } from 'sortablejs';\n\nexport interface SortableType {\n animation: number;\n ghostClass: string;\n dragClass: string;\n onEnd: (evt: SortableEvent) => void;\n handle?: string;\n}\n\n"]}
1
+ {"version":3,"file":"sortable-interface.js","sourceRoot":"","sources":["../../../../src/components/pds-sortable/sortable-interface.ts"],"names":[],"mappings":"","sourcesContent":["import type { SortableEvent } from 'sortablejs';\n\nexport interface SortableType {\n animation: number;\n disabled: boolean;\n ghostClass: string;\n dragClass: string;\n onEnd: (evt: SortableEvent) => void;\n handle?: string;\n}\n\n"]}
@@ -9,21 +9,21 @@ export default {
9
9
  };
10
10
 
11
11
  const BaseTemplate = (args) => html`
12
- <pds-sortable ?border=${args.border} component-id="${args.componentId}" ?dividers=${args.dividers} handle-type="${args.handleType}">
12
+ <pds-sortable ?border=${args.border} component-id="${args.componentId}" ?disabled=${args.disabled} ?dividers=${args.dividers} handle-type="${args.handleType}">
13
13
  <pds-sortable-item>Item 1</pds-sortable-item>
14
14
  <pds-sortable-item>Item 2</pds-sortable-item>
15
15
  <pds-sortable-item>Item 3</pds-sortable-item>
16
16
  </pds-sortable>`;
17
17
 
18
18
  const HandleTemplate = (args) => html`
19
- <pds-sortable ?border=${args.border} component-id="${args.componentId}" ?dividers=${args.dividers} handle-type="${args.handleType}">
19
+ <pds-sortable ?border=${args.border} component-id="${args.componentId}" ?disabled=${args.disabled} ?dividers=${args.dividers} handle-type="${args.handleType}">
20
20
  <pds-sortable-item>Item 1</pds-sortable-item>
21
21
  <pds-sortable-item>Item 2</pds-sortable-item>
22
22
  <pds-sortable-item>Item 3</pds-sortable-item>
23
23
  </pds-sortable>`;
24
24
 
25
25
  const ActionsTemplate = (args) => html`
26
- <pds-sortable ?border=${args.border} component-id="${args.componentId}" ?dividers=${args.dividers} handle-type="${args.handleType}">
26
+ <pds-sortable ?border=${args.border} component-id="${args.componentId}" ?disabled=${args.disabled} ?dividers=${args.dividers} handle-type="${args.handleType}">
27
27
  <pds-sortable-item enable-actions>
28
28
  <div>Item 1</div>
29
29
  <div slot="sortable-item-actions">
@@ -45,7 +45,7 @@ const ActionsTemplate = (args) => html`
45
45
  </pds-sortable>`;
46
46
 
47
47
  const FullDemoTemplate = (args) => html`
48
- <pds-sortable ?border=${args.border} component-id="${args.componentId}" ?dividers=${args.dividers} handle-type="${args.handleType}">
48
+ <pds-sortable ?border=${args.border} component-id="${args.componentId}" ?disabled=${args.disabled} ?dividers=${args.dividers} handle-type="${args.handleType}">
49
49
  <pds-sortable-item enable-actions>
50
50
  <div>
51
51
  <div><strong>Item 1</strong></div>
@@ -79,6 +79,7 @@ export const Default = BaseTemplate.bind();
79
79
  Default.args = {
80
80
  componentId: 'default',
81
81
  border: false,
82
+ disabled: false,
82
83
  dividers: false,
83
84
  handleType: 'row',
84
85
  };
@@ -87,14 +88,25 @@ export const Bordered = BaseTemplate.bind();
87
88
  Bordered.args = {
88
89
  componentId: 'bordered',
89
90
  border: true,
91
+ disabled: false,
90
92
  dividers: false,
91
93
  handleType: 'row',
92
94
  };
93
95
 
96
+ export const Disabled = BaseTemplate.bind();
97
+ Disabled.args = {
98
+ componentId: 'disabled',
99
+ border: true,
100
+ disabled: true,
101
+ dividers: true,
102
+ handleType: 'row',
103
+ };
104
+
94
105
  export const Dividers = BaseTemplate.bind();
95
106
  Dividers.args = {
96
107
  componentId: 'dividers',
97
108
  border: false,
109
+ disabled: false,
98
110
  dividers: true,
99
111
  handleType: 'row',
100
112
  };
@@ -103,6 +115,7 @@ export const Handle = HandleTemplate.bind();
103
115
  Handle.args = {
104
116
  componentId: 'handle',
105
117
  border: false,
118
+ disabled: false,
106
119
  dividers: false,
107
120
  handleType: 'handle',
108
121
  };
@@ -111,6 +124,7 @@ export const Actions = ActionsTemplate.bind();
111
124
  Actions.args = {
112
125
  componentId: 'actions',
113
126
  border: false,
127
+ disabled: false,
114
128
  dividers: false,
115
129
  handleType: 'row',
116
130
  };
@@ -119,6 +133,7 @@ export const FullDemo = FullDemoTemplate.bind();
119
133
  FullDemo.args = {
120
134
  componentId: 'demo',
121
135
  border: true,
136
+ disabled: false,
122
137
  dividers: true,
123
138
  handleType: 'row',
124
139
  };
@@ -1,5 +1,5 @@
1
1
  import { Host, h } from "@stencil/core";
2
- import { assignDescription, messageId, exposeTypeProperty } from "../../utils/form";
2
+ import { assignDescription, isSpecTest, messageId, exposeTypeProperty } from "../../utils/form";
3
3
  import { danger } from "@pine-ds/icons/icons";
4
4
  import { inheritAriaAttributes } from "../../utils/attributes";
5
5
  export class PdsSwitch {
@@ -56,10 +56,8 @@ export class PdsSwitch {
56
56
  this.updateFormValue();
57
57
  }
58
58
  updateFormValue() {
59
- var _a;
60
- if (typeof jest !== 'undefined' || typeof process !== 'undefined' && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) === 'test') {
59
+ if (isSpecTest())
61
60
  return;
62
- }
63
61
  if (this.internals && this.internals.setFormValue) {
64
62
  // For switches, only send the value when checked, otherwise send null
65
63
  const formValue = this.checked ? (this.value || 'on') : null;
@@ -84,9 +82,9 @@ export class PdsSwitch {
84
82
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
85
83
  }
86
84
  render() {
87
- return (h(Host, { key: 'e26422622075f925f0df3dbc2f5ea8223aed9902', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: 'b63cdac80d3cd55bc4845979f15b382c92883cf5', htmlFor: this.componentId }, h("input", Object.assign({ key: '910a7f6cd2093a6062c57c63600bb1721c147c75', "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: '45661afcaba7852a6ddf6ebbf4606502bc8b72e2', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
88
- h("div", { key: 'be3a6fbf3938b7846ca3a9e6eef54d6ee25391fa', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
89
- h("div", { key: 'a5944169798ae8531f9e6414deac2c3631339b0a', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '5b864b6ac441c9bd71dc22dbc9722c87c1b781e6', icon: danger, size: "small" }), this.errorMessage)));
85
+ return (h(Host, { key: '44d1401d7a2a2001d75d62a498d12d6a3373aec6', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, h("label", { key: '476d358c612e0ba5d6898171e25a6aee7e29bd74', htmlFor: this.componentId }, h("input", Object.assign({ key: 'afb21f7167b09ae8e84170565260fa1791309981', "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: 'e517faec437110731f9c07fe0bad77923123bdf1', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
86
+ h("div", { key: '676f75e0738f3a95049a35f0887e935fd365f164', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
87
+ h("div", { key: '5c93d19c9599a7b06dc03f7be2cdbe585c64ebdb', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '11fbe6ef41fe639ae8cdf9369884a53602dd5f1f', icon: danger, size: "small" }), this.errorMessage)));
90
88
  }
91
89
  static get is() { return "pds-switch"; }
92
90
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"pds-switch.js","sourceRoot":"","sources":["../../../../src/components/pds-switch/pds-switch.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,iBAAiB,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACpF,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAS1D,MAAM,OAAO,SAAS;IANtB;QAOU,wBAAmB,GAAe,EAAE,CAAC;QAE5B,UAAK,GAAG,UAAmB,CAAC;QAS7C;;WAEG;QACsB,YAAO,GAAG,KAAK,CAAC;QAEzC;;WAEG;QACK,aAAQ,GAAI,KAAK,CAAC;QAiB1B;;WAEG;QACK,YAAO,GAAI,KAAK,CAAC;QAYzB;;WAEG;QACK,aAAQ,GAAI,KAAK,CAAC;QAalB,mBAAc,GAAG,CAAC,CAAQ,EAAE,EAAE;YACpC,IAAI,IAAI,CAAC,QAAQ;gBAAE,OAAO;YAE1B,MAAM,KAAK,GAAG,CAAC,CAAC,MAA0B,CAAC;YAC3C,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;YAE7B,IAAI,CAAC,eAAe,EAAE,CAAC;YAEvB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAe,CAAC,CAAC;QAC7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nimport { assignDescription, messageId, exposeTypeProperty } from '../../utils/form';\nimport { danger } from '@pine-ds/icons/icons';\n\nimport { inheritAriaAttributes } from '@utils/attributes';\nimport type { Attributes } from '@utils/attributes';\n\n@Component({\n tag: 'pds-switch',\n styleUrls: ['../../global/styles/utils/label.scss', 'pds-switch.scss'],\n shadow: true,\n formAssociated: true,\n})\nexport class PdsSwitch {\n private inheritedAttributes: Attributes = {};\n private internals?: ElementInternals;\n private readonly _type = 'checkbox' as const;\n\n @Element() el: HTMLPdsSwitchElement;\n\n /**\n * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Determines the input 'checked' state.\n */\n @Prop({ mutable: true }) checked = false;\n\n /**\n * Determines the input 'disabled' state, preventing user interaction.\n */\n @Prop() disabled? = false;\n\n /**\n * Displays message text describing an invalid state.\n */\n @Prop() errorMessage?: string;\n\n /**\n * Visually hides the label text for instances where only the switch should be displayed. Label remains accessible to assistive technology such as screen readers.\n */\n @Prop() hideLabel: boolean;\n\n /**\n * Displays help text for additional description of an input.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines the input 'invalid' state, signifying an error is present.\n */\n @Prop() invalid? = false;\n\n /**\n * Displays text to describe the input.\n */\n @Prop() label!: string;\n\n /**\n * Identifies form data and unifies a group of radio inputs for toggling a single property/value.\n */\n @Prop() name: string;\n\n /**\n * Determines the 'required' state of the input.\n */\n @Prop() required? = false;\n\n /**\n * Provides input with a string submitted in form data.\n */\n @Prop() value: string;\n\n\n /**\n * Emits an event on input change.\n */\n @Event() pdsSwitchChange: EventEmitter<InputEvent>;\n\n private onSwitchUpdate = (e: Event) => {\n if (this.disabled) return;\n\n const input = e.target as HTMLInputElement;\n this.checked = input.checked;\n\n this.updateFormValue();\n\n this.pdsSwitchChange.emit(e as InputEvent);\n };\n\n private switchClassNames = () => {\n let switchClasses = `pds-switch`;\n\n if (this.invalid === true) {\n switchClasses += \" pds-switch--error\";\n }\n if (this.helperMessage !== undefined) {\n switchClasses += \" pds-switch--message\";\n }\n return switchClasses;\n };\n\n connectedCallback() {\n // Initialize ElementInternals for form association (only once per element instance)\n if (this.el.attachInternals && !this.internals) {\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 componentDidLoad() {\n this.updateFormValue();\n }\n\n @Watch('checked')\n checkedChanged() {\n this.updateFormValue();\n }\n\n private updateFormValue() {\n if (typeof jest !== 'undefined' || typeof process !== 'undefined' && process.env?.NODE_ENV === 'test') {\n return;\n }\n\n if (this.internals && this.internals.setFormValue) {\n // For switches, only send the value when checked, otherwise send null\n const formValue = this.checked ? (this.value || 'on') : null;\n this.internals.setFormValue(formValue);\n }\n\n if (this.internals && this.internals.setValidity) {\n this.internals.setValidity({});\n }\n }\n\n formStateRestoreCallback(state: string | FormData | null) {\n if (state instanceof FormData) {\n // For switches, restore if the value exists in FormData\n const value = this.value || 'on';\n this.checked = state.get(this.name || this.componentId) === value;\n } else if (typeof state === 'string') {\n // Restore from string state\n this.checked = state === (this.value || 'on');\n }\n }\n\n componentWillLoad() {\n this.inheritedAttributes = {\n ...inheritAriaAttributes(this.el)\n }\n }\n\n render() {\n return (\n <Host class={this.switchClassNames()} aria-disabled={this.disabled ? 'true' : null}>\n <label htmlFor={this.componentId}>\n <input\n aria-describedby={assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage)}\n aria-invalid={this.invalid ? \"true\" : undefined}\n checked={this.checked}\n class=\"pds-switch__input\"\n disabled={this.disabled}\n id={this.componentId}\n name={this.name ? this.name : this.componentId}\n onChange={this.onSwitchUpdate}\n required={this.required}\n type=\"checkbox\"\n value={this.value}\n {...this.inheritedAttributes}\n />\n <span class={this.hideLabel ? 'visually-hidden' : ''}>\n {this.label}\n </span>\n </label>\n {this.helperMessage &&\n <div\n class={`pds-switch__message`}\n id={messageId(this.componentId, 'helper')}\n >\n {this.helperMessage}\n </div>\n }\n {this.errorMessage &&\n <div\n class={`pds-switch__message pds-switch__message--error`}\n id={messageId(this.componentId, 'error')}\n aria-live=\"assertive\"\n >\n <pds-icon icon={danger} size=\"small\" />\n {this.errorMessage}\n </div>\n }\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"pds-switch.js","sourceRoot":"","sources":["../../../../src/components/pds-switch/pds-switch.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,iBAAiB,EAAE,UAAU,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAChG,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC;AAS1D,MAAM,OAAO,SAAS;IANtB;QAOU,wBAAmB,GAAe,EAAE,CAAC;QAE5B,UAAK,GAAG,UAAmB,CAAC;QAS7C;;WAEG;QACsB,YAAO,GAAG,KAAK,CAAC;QAEzC;;WAEG;QACK,aAAQ,GAAI,KAAK,CAAC;QAiB1B;;WAEG;QACK,YAAO,GAAI,KAAK,CAAC;QAYzB;;WAEG;QACK,aAAQ,GAAI,KAAK,CAAC;QAalB,mBAAc,GAAG,CAAC,CAAQ,EAAE,EAAE;YACpC,IAAI,IAAI,CAAC,QAAQ;gBAAE,OAAO;YAE1B,MAAM,KAAK,GAAG,CAAC,CAAC,MAA0B,CAAC;YAC3C,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC;YAE7B,IAAI,CAAC,eAAe,EAAE,CAAC;YAEvB,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,CAAe,CAAC,CAAC;QAC7C,CAAC,CAAC;QAEM,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,aAAa,GAAG,YAAY,CAAC;YAEjC,IAAI,IAAI,CAAC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,EACvB,IAAI,EAAC,UAAU,EACf,KAAK,EAAE,IAAI,CAAC,KAAK,IACb,IAAI,CAAC,mBAAmB,EAC5B;gBACF,6DAAM,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAAE,IACjD,IAAI,CAAC,KAAK,CACN,CACD;YACP,IAAI,CAAC,aAAa;gBACjB,4DACE,KAAK,EAAE,qBAAqB,EAC5B,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,QAAQ,CAAC,IAExC,IAAI,CAAC,aAAa,CACf;YAEP,IAAI,CAAC,YAAY;gBAChB,4DACE,KAAK,EAAE,gDAAgD,EACvD,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC,eAC9B,WAAW;oBAErB,iEAAU,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,OAAO,GAAG;oBACtC,IAAI,CAAC,YAAY,CACd,CAEH,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, Host, h, Prop, Watch } from '@stencil/core';\nimport { assignDescription, isSpecTest, messageId, exposeTypeProperty } from '../../utils/form';\nimport { danger } from '@pine-ds/icons/icons';\n\nimport { inheritAriaAttributes } from '@utils/attributes';\nimport type { Attributes } from '@utils/attributes';\n\n@Component({\n tag: 'pds-switch',\n styleUrls: ['../../global/styles/utils/label.scss', 'pds-switch.scss'],\n shadow: true,\n formAssociated: true,\n})\nexport class PdsSwitch {\n private inheritedAttributes: Attributes = {};\n private internals?: ElementInternals;\n private readonly _type = 'checkbox' as const;\n\n @Element() el: HTMLPdsSwitchElement;\n\n /**\n * A unique identifier used for the underlying component `id` attribute and the label `for` attribute.\n */\n @Prop() componentId!: string;\n\n /**\n * Determines the input 'checked' state.\n */\n @Prop({ mutable: true }) checked = false;\n\n /**\n * Determines the input 'disabled' state, preventing user interaction.\n */\n @Prop() disabled? = false;\n\n /**\n * Displays message text describing an invalid state.\n */\n @Prop() errorMessage?: string;\n\n /**\n * Visually hides the label text for instances where only the switch should be displayed. Label remains accessible to assistive technology such as screen readers.\n */\n @Prop() hideLabel: boolean;\n\n /**\n * Displays help text for additional description of an input.\n */\n @Prop() helperMessage: string;\n\n /**\n * Determines the input 'invalid' state, signifying an error is present.\n */\n @Prop() invalid? = false;\n\n /**\n * Displays text to describe the input.\n */\n @Prop() label!: string;\n\n /**\n * Identifies form data and unifies a group of radio inputs for toggling a single property/value.\n */\n @Prop() name: string;\n\n /**\n * Determines the 'required' state of the input.\n */\n @Prop() required? = false;\n\n /**\n * Provides input with a string submitted in form data.\n */\n @Prop() value: string;\n\n\n /**\n * Emits an event on input change.\n */\n @Event() pdsSwitchChange: EventEmitter<InputEvent>;\n\n private onSwitchUpdate = (e: Event) => {\n if (this.disabled) return;\n\n const input = e.target as HTMLInputElement;\n this.checked = input.checked;\n\n this.updateFormValue();\n\n this.pdsSwitchChange.emit(e as InputEvent);\n };\n\n private switchClassNames = () => {\n let switchClasses = `pds-switch`;\n\n if (this.invalid === true) {\n switchClasses += \" pds-switch--error\";\n }\n if (this.helperMessage !== undefined) {\n switchClasses += \" pds-switch--message\";\n }\n return switchClasses;\n };\n\n connectedCallback() {\n // Initialize ElementInternals for form association (only once per element instance)\n if (this.el.attachInternals && !this.internals) {\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 componentDidLoad() {\n this.updateFormValue();\n }\n\n @Watch('checked')\n checkedChanged() {\n this.updateFormValue();\n }\n\n private updateFormValue() {\n if (isSpecTest()) return;\n\n if (this.internals && this.internals.setFormValue) {\n // For switches, only send the value when checked, otherwise send null\n const formValue = this.checked ? (this.value || 'on') : null;\n this.internals.setFormValue(formValue);\n }\n\n if (this.internals && this.internals.setValidity) {\n this.internals.setValidity({});\n }\n }\n\n formStateRestoreCallback(state: string | FormData | null) {\n if (state instanceof FormData) {\n // For switches, restore if the value exists in FormData\n const value = this.value || 'on';\n this.checked = state.get(this.name || this.componentId) === value;\n } else if (typeof state === 'string') {\n // Restore from string state\n this.checked = state === (this.value || 'on');\n }\n }\n\n componentWillLoad() {\n this.inheritedAttributes = {\n ...inheritAriaAttributes(this.el)\n }\n }\n\n render() {\n return (\n <Host class={this.switchClassNames()} aria-disabled={this.disabled ? 'true' : null}>\n <label htmlFor={this.componentId}>\n <input\n aria-describedby={assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage)}\n aria-invalid={this.invalid ? \"true\" : undefined}\n checked={this.checked}\n class=\"pds-switch__input\"\n disabled={this.disabled}\n id={this.componentId}\n name={this.name ? this.name : this.componentId}\n onChange={this.onSwitchUpdate}\n required={this.required}\n type=\"checkbox\"\n value={this.value}\n {...this.inheritedAttributes}\n />\n <span class={this.hideLabel ? 'visually-hidden' : ''}>\n {this.label}\n </span>\n </label>\n {this.helperMessage &&\n <div\n class={`pds-switch__message`}\n id={messageId(this.componentId, 'helper')}\n >\n {this.helperMessage}\n </div>\n }\n {this.errorMessage &&\n <div\n class={`pds-switch__message pds-switch__message--error`}\n id={messageId(this.componentId, 'error')}\n aria-live=\"assertive\"\n >\n <pds-icon icon={danger} size=\"small\" />\n {this.errorMessage}\n </div>\n }\n </Host>\n );\n }\n}\n"]}
@@ -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: '457fc5406a1fe67055038398e03bfad97a393747', role: "rowgroup", part: "body" }, h("slot", { key: '5950bced36f7ba590f34173149cf8663ba76103b' })));
4
+ return (h(Host, { key: '109c20cf255df58dac0491ab4e82dfbb6bac96c5', role: "rowgroup", part: "body" }, h("slot", { key: 'e6bbfe380395df15bcc35107d5f3220dc817a374' })));
5
5
  }
6
6
  static get is() { return "pds-table-body"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -122,11 +122,11 @@ export class PdsTableCell {
122
122
  return classNames.join(' ');
123
123
  }
124
124
  render() {
125
- return (h(Host, { key: 'f1526ebf858c52e01185174cb37770d130abd3ca', class: this.classNames(), role: "gridcell", part: "cell", tabIndex: this.truncate ? 0 : undefined, style: this.tableRef &&
125
+ return (h(Host, { key: '43707f930d90feb1364b9860a5dbc955049ff990', class: this.classNames(), role: "gridcell", part: "cell", tabIndex: this.truncate ? 0 : undefined, style: this.tableRef &&
126
126
  this.tableRef.fixedColumn &&
127
127
  this.tableRef.selectable
128
128
  ? { '--fixed-cell-position': '40px' }
129
- : {} }, h("slot", { key: '518a3cb3fad0bbbe029f218c2dc89596d1cd0b16' })));
129
+ : {} }, h("slot", { key: 'c4eca6f7dbf2e32e217cbfb170aba12a02acb50d' })));
130
130
  }
131
131
  static get is() { return "pds-table-cell"; }
132
132
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class PdsTableHead {
42
42
  }
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'd5d5906bdb23794b911ecd5904a4cc58aa5380d6', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: '85df57fb4371e4fba855e16ce62c8329b49e08cf', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, !this.tableRef.disableSelectAll && (h("pds-checkbox", { key: '92bd5565463e29d249d1ac71d9dc0d000f3eea79', 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: '494dc0395da229a264c38540479f36967601cc26' })));
45
+ return (h(Host, { key: '51122f82508bc7572f932c58a87823ef36705047', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: '8df08f916dbec551db5e6af62638ef3de1aaa4a2', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, !this.tableRef.disableSelectAll && (h("pds-checkbox", { key: 'c87c00d23d3a639c2a478ac1797b06f375179042', 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: '262bcd23f0258941235845fa12518e0aacaa8e55' })));
46
46
  }
47
47
  static get is() { return "pds-table-head"; }
48
48
  static get encapsulation() { return "shadow"; }