@pine-ds/core 4.4.4 → 4.6.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 (546) hide show
  1. package/components/attributes.js +1 -1
  2. package/components/index.js +1 -1
  3. package/components/mock-pds-modal.js +1 -1
  4. package/components/pds-combobox.js +1 -1
  5. package/components/pds-container.js +1 -1
  6. package/components/pds-copytext.js +1 -1
  7. package/components/pds-datepicker.js +1 -1
  8. package/components/pds-divider.js +1 -1
  9. package/components/pds-drawer-content.js +1 -1
  10. package/components/pds-drawer-footer.js +1 -1
  11. package/components/pds-drawer-header.js +1 -1
  12. package/components/pds-drawer.js +1 -1
  13. package/components/pds-dropdown-menu-item.js +1 -1
  14. package/components/pds-dropdown-menu-separator.js +1 -1
  15. package/components/pds-dropdown-menu.js +1 -1
  16. package/components/pds-filter.js +1 -1
  17. package/components/pds-filters.js +1 -1
  18. package/components/pds-icon2.js +1 -1
  19. package/components/pds-image.js +1 -1
  20. package/components/pds-input2.js +1 -1
  21. package/components/pds-link2.js +1 -1
  22. package/components/pds-loader2.js +1 -1
  23. package/components/pds-modal-content.js +1 -1
  24. package/components/pds-modal-footer.js +1 -1
  25. package/components/pds-modal-header.js +1 -1
  26. package/components/pds-modal2.js +1 -1
  27. package/components/pds-multiselect.js +1 -1
  28. package/components/pds-popover.js +1 -1
  29. package/components/pds-progress.js +1 -1
  30. package/components/pds-property.js +1 -1
  31. package/components/pds-radio-group.js +1 -1
  32. package/components/pds-radio.js +1 -1
  33. package/components/pds-row.js +1 -1
  34. package/components/pds-select.js +1 -1
  35. package/components/pds-sortable-item.js +1 -1
  36. package/components/pds-sortable.js +1 -1
  37. package/components/pds-switch.js +1 -1
  38. package/components/pds-tab.js +1 -1
  39. package/components/pds-table-body.js +1 -1
  40. package/components/pds-table-cell2.js +1 -1
  41. package/components/pds-table-head-cell2.js +1 -1
  42. package/components/pds-table-head.js +1 -1
  43. package/components/pds-table-row.js +1 -1
  44. package/components/pds-tabpanel.js +1 -1
  45. package/components/pds-tabs.js +1 -1
  46. package/components/pds-text2.js +1 -1
  47. package/components/pds-textarea.js +1 -1
  48. package/components/pds-toast.js +1 -1
  49. package/components/pds-tooltip.js +1 -1
  50. package/dist/cjs/{attributes-DrQqSEv4.js → attributes-BJ7KBHql.js} +22 -25
  51. package/dist/cjs/{index-D-QQKB0y.js → index-5Azb8EQG.js} +1 -1
  52. package/dist/cjs/{index-D8Gl0bIB.js → index-jl_Q819j.js} +10 -1
  53. package/dist/cjs/index.cjs.js +3 -0
  54. package/dist/cjs/keep-hydrated-CiXgkEYd.js +196 -0
  55. package/dist/cjs/loader.cjs.js +3 -2
  56. package/dist/cjs/mock-pds-modal.cjs.entry.js +3 -2
  57. package/dist/cjs/pds-accordion.cjs.entry.js +3 -2
  58. package/dist/cjs/pds-alert.cjs.entry.js +2 -1
  59. package/dist/cjs/pds-avatar.cjs.entry.js +3 -2
  60. package/dist/cjs/pds-box.cjs.entry.js +3 -2
  61. package/dist/cjs/pds-button.cjs.entry.js +3 -2
  62. package/dist/cjs/pds-checkbox.cjs.entry.js +4 -3
  63. package/dist/cjs/pds-chip.cjs.entry.js +4 -3
  64. package/dist/cjs/pds-combobox.cjs.entry.js +156 -26
  65. package/dist/cjs/pds-container.cjs.entry.js +3 -2
  66. package/dist/cjs/pds-copytext.cjs.entry.js +5 -4
  67. package/dist/cjs/pds-datepicker.cjs.entry.js +6 -5
  68. package/dist/cjs/pds-divider.cjs.entry.js +3 -2
  69. package/dist/cjs/pds-drawer-content.cjs.entry.js +3 -2
  70. package/dist/cjs/pds-drawer-footer.cjs.entry.js +3 -2
  71. package/dist/cjs/pds-drawer-header.cjs.entry.js +3 -2
  72. package/dist/cjs/pds-drawer.cjs.entry.js +4 -3
  73. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +3 -2
  74. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +3 -2
  75. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +16 -7
  76. package/dist/cjs/pds-filter.cjs.entry.js +4 -3
  77. package/dist/cjs/pds-filters.cjs.entry.js +3 -2
  78. package/dist/cjs/pds-icon.cjs.entry.js +27 -3
  79. package/dist/cjs/pds-image.cjs.entry.js +4 -3
  80. package/dist/cjs/pds-input.cjs.entry.js +6 -5
  81. package/dist/cjs/pds-link.cjs.entry.js +5 -4
  82. package/dist/cjs/pds-loader.cjs.entry.js +4 -3
  83. package/dist/cjs/pds-modal-content.cjs.entry.js +4 -3
  84. package/dist/cjs/pds-modal-footer.cjs.entry.js +3 -2
  85. package/dist/cjs/pds-modal-header.cjs.entry.js +3 -2
  86. package/dist/cjs/pds-modal.cjs.entry.js +5 -4
  87. package/dist/cjs/pds-multiselect.cjs.entry.js +6 -5
  88. package/dist/cjs/pds-popover.cjs.entry.js +58 -11
  89. package/dist/cjs/pds-progress.cjs.entry.js +4 -3
  90. package/dist/cjs/pds-property.cjs.entry.js +3 -2
  91. package/dist/cjs/pds-radio-group.cjs.entry.js +6 -5
  92. package/dist/cjs/pds-radio.cjs.entry.js +7 -6
  93. package/dist/cjs/pds-row.cjs.entry.js +4 -3
  94. package/dist/cjs/pds-select.cjs.entry.js +5 -4
  95. package/dist/cjs/pds-sortable-item.cjs.entry.js +5 -4
  96. package/dist/cjs/pds-sortable.cjs.entry.js +4 -3
  97. package/dist/cjs/pds-switch.cjs.entry.js +7 -6
  98. package/dist/cjs/pds-tab.cjs.entry.js +13 -1
  99. package/dist/cjs/pds-table-body.cjs.entry.js +3 -2
  100. package/dist/cjs/pds-table-cell.cjs.entry.js +4 -3
  101. package/dist/cjs/pds-table-head-cell.cjs.entry.js +5 -4
  102. package/dist/cjs/pds-table-head.cjs.entry.js +3 -2
  103. package/dist/cjs/pds-table-row.cjs.entry.js +3 -2
  104. package/dist/cjs/pds-table.cjs.entry.js +2 -1
  105. package/dist/cjs/pds-tabpanel.cjs.entry.js +15 -2
  106. package/dist/cjs/pds-tabs.cjs.entry.js +111 -6
  107. package/dist/cjs/pds-text.cjs.entry.js +3 -2
  108. package/dist/cjs/pds-textarea.cjs.entry.js +8 -7
  109. package/dist/cjs/pds-toast.cjs.entry.js +5 -4
  110. package/dist/cjs/pds-tooltip.cjs.entry.js +4 -3
  111. package/dist/cjs/pine-core.cjs.js +3 -2
  112. package/dist/collection/collection-manifest.json +2 -1
  113. package/dist/collection/components/pds-combobox/grouped-options-panel.js +21 -3
  114. package/dist/collection/components/pds-combobox/pds-combobox.css +42 -13
  115. package/dist/collection/components/pds-combobox/pds-combobox.js +135 -22
  116. package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +45 -0
  117. package/dist/collection/components/pds-container/pds-container.js +1 -1
  118. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  119. package/dist/collection/components/pds-datepicker/pds-datepicker.css +4 -2
  120. package/dist/collection/components/pds-datepicker/pds-datepicker.js +2 -2
  121. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  122. package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.js +1 -1
  123. package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.js +1 -1
  124. package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.js +1 -1
  125. package/dist/collection/components/pds-drawer/pds-drawer.js +2 -2
  126. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +1 -1
  127. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +1 -1
  128. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.css +19 -5
  129. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +16 -5
  130. package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +1 -1
  131. package/dist/collection/components/pds-filters/pds-filters.js +1 -1
  132. package/dist/collection/components/pds-image/pds-image.js +2 -2
  133. package/dist/collection/components/pds-input/pds-input.js +2 -2
  134. package/dist/collection/components/pds-link/pds-link.js +2 -2
  135. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  136. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
  137. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
  138. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
  139. package/dist/collection/components/pds-modal/pds-modal.js +3 -3
  140. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
  141. package/dist/collection/components/pds-multiselect/pds-multiselect.js +3 -3
  142. package/dist/collection/components/pds-popover/pds-popover.js +15 -9
  143. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  144. package/dist/collection/components/pds-property/pds-property.js +1 -1
  145. package/dist/collection/components/pds-radio/pds-radio.js +3 -3
  146. package/dist/collection/components/pds-radio-group/pds-radio-group.js +3 -3
  147. package/dist/collection/components/pds-row/pds-row.js +1 -1
  148. package/dist/collection/components/pds-select/pds-select.js +1 -1
  149. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  150. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  151. package/dist/collection/components/pds-switch/pds-switch.js +3 -3
  152. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  153. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  154. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  155. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  156. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  157. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +11 -0
  158. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +13 -1
  159. package/dist/collection/components/pds-tabs/pds-tabs.js +111 -7
  160. package/dist/collection/components/pds-text/pds-text.js +1 -1
  161. package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
  162. package/dist/collection/components/pds-toast/pds-toast.js +3 -3
  163. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  164. package/dist/collection/global/pine-global.js +6 -0
  165. package/dist/collection/index.js +1 -0
  166. package/dist/collection/utils/attributes.js +20 -24
  167. package/dist/collection/utils/css.js +41 -0
  168. package/dist/collection/utils/keep-hydrated.js +188 -0
  169. package/dist/docs.json +15 -6
  170. package/dist/esm/{attributes-myrJDwbR.js → attributes-WXw_I_uJ.js} +21 -24
  171. package/dist/esm/{index-DxI-61GK.js → index-BJXk71tO.js} +1 -1
  172. package/dist/esm/{index-bLhIfh0N.js → index-Cw9J31qd.js} +10 -1
  173. package/dist/esm/index.js +2 -0
  174. package/dist/esm/keep-hydrated-BLG6RDBt.js +190 -0
  175. package/dist/esm/loader.js +4 -3
  176. package/dist/esm/mock-pds-modal.entry.js +3 -2
  177. package/dist/esm/pds-accordion.entry.js +3 -2
  178. package/dist/esm/pds-alert.entry.js +2 -1
  179. package/dist/esm/pds-avatar.entry.js +3 -2
  180. package/dist/esm/pds-box.entry.js +3 -2
  181. package/dist/esm/pds-button.entry.js +3 -2
  182. package/dist/esm/pds-checkbox.entry.js +4 -3
  183. package/dist/esm/pds-chip.entry.js +4 -3
  184. package/dist/esm/pds-combobox.entry.js +156 -26
  185. package/dist/esm/pds-container.entry.js +3 -2
  186. package/dist/esm/pds-copytext.entry.js +5 -4
  187. package/dist/esm/pds-datepicker.entry.js +6 -5
  188. package/dist/esm/pds-divider.entry.js +3 -2
  189. package/dist/esm/pds-drawer-content.entry.js +3 -2
  190. package/dist/esm/pds-drawer-footer.entry.js +3 -2
  191. package/dist/esm/pds-drawer-header.entry.js +3 -2
  192. package/dist/esm/pds-drawer.entry.js +4 -3
  193. package/dist/esm/pds-dropdown-menu-item.entry.js +3 -2
  194. package/dist/esm/pds-dropdown-menu-separator.entry.js +3 -2
  195. package/dist/esm/pds-dropdown-menu.entry.js +16 -7
  196. package/dist/esm/pds-filter.entry.js +4 -3
  197. package/dist/esm/pds-filters.entry.js +3 -2
  198. package/dist/esm/pds-icon.entry.js +27 -3
  199. package/dist/esm/pds-image.entry.js +4 -3
  200. package/dist/esm/pds-input.entry.js +6 -5
  201. package/dist/esm/pds-link.entry.js +5 -4
  202. package/dist/esm/pds-loader.entry.js +4 -3
  203. package/dist/esm/pds-modal-content.entry.js +4 -3
  204. package/dist/esm/pds-modal-footer.entry.js +3 -2
  205. package/dist/esm/pds-modal-header.entry.js +3 -2
  206. package/dist/esm/pds-modal.entry.js +5 -4
  207. package/dist/esm/pds-multiselect.entry.js +6 -5
  208. package/dist/esm/pds-popover.entry.js +58 -11
  209. package/dist/esm/pds-progress.entry.js +4 -3
  210. package/dist/esm/pds-property.entry.js +3 -2
  211. package/dist/esm/pds-radio-group.entry.js +6 -5
  212. package/dist/esm/pds-radio.entry.js +7 -6
  213. package/dist/esm/pds-row.entry.js +4 -3
  214. package/dist/esm/pds-select.entry.js +5 -4
  215. package/dist/esm/pds-sortable-item.entry.js +5 -4
  216. package/dist/esm/pds-sortable.entry.js +4 -3
  217. package/dist/esm/pds-switch.entry.js +7 -6
  218. package/dist/esm/pds-tab.entry.js +13 -1
  219. package/dist/esm/pds-table-body.entry.js +3 -2
  220. package/dist/esm/pds-table-cell.entry.js +4 -3
  221. package/dist/esm/pds-table-head-cell.entry.js +5 -4
  222. package/dist/esm/pds-table-head.entry.js +3 -2
  223. package/dist/esm/pds-table-row.entry.js +3 -2
  224. package/dist/esm/pds-table.entry.js +2 -1
  225. package/dist/esm/pds-tabpanel.entry.js +15 -2
  226. package/dist/esm/pds-tabs.entry.js +111 -6
  227. package/dist/esm/pds-text.entry.js +3 -2
  228. package/dist/esm/pds-textarea.entry.js +8 -7
  229. package/dist/esm/pds-toast.entry.js +5 -4
  230. package/dist/esm/pds-tooltip.entry.js +4 -3
  231. package/dist/esm/pine-core.js +4 -3
  232. package/dist/esm-es5/attributes-WXw_I_uJ.js +1 -0
  233. package/dist/esm-es5/{index-bLhIfh0N.js → index-Cw9J31qd.js} +2 -2
  234. package/dist/esm-es5/index.js +1 -1
  235. package/dist/esm-es5/keep-hydrated-BLG6RDBt.js +1 -0
  236. package/dist/esm-es5/loader.js +1 -1
  237. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  238. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  239. package/dist/esm-es5/pds-alert.entry.js +1 -1
  240. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  241. package/dist/esm-es5/pds-box.entry.js +1 -1
  242. package/dist/esm-es5/pds-button.entry.js +1 -1
  243. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  244. package/dist/esm-es5/pds-chip.entry.js +1 -1
  245. package/dist/esm-es5/pds-combobox.entry.js +2 -2
  246. package/dist/esm-es5/pds-container.entry.js +1 -1
  247. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  248. package/dist/esm-es5/pds-datepicker.entry.js +1 -1
  249. package/dist/esm-es5/pds-divider.entry.js +1 -1
  250. package/dist/esm-es5/pds-drawer-content.entry.js +1 -1
  251. package/dist/esm-es5/pds-drawer-footer.entry.js +1 -1
  252. package/dist/esm-es5/pds-drawer-header.entry.js +1 -1
  253. package/dist/esm-es5/pds-drawer.entry.js +1 -1
  254. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  255. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  256. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  257. package/dist/esm-es5/pds-filter.entry.js +1 -1
  258. package/dist/esm-es5/pds-filters.entry.js +1 -1
  259. package/dist/esm-es5/pds-icon.entry.js +1 -1
  260. package/dist/esm-es5/pds-image.entry.js +1 -1
  261. package/dist/esm-es5/pds-input.entry.js +1 -1
  262. package/dist/esm-es5/pds-link.entry.js +1 -1
  263. package/dist/esm-es5/pds-loader.entry.js +1 -1
  264. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  265. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  266. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  267. package/dist/esm-es5/pds-modal.entry.js +1 -1
  268. package/dist/esm-es5/pds-multiselect.entry.js +1 -1
  269. package/dist/esm-es5/pds-popover.entry.js +1 -1
  270. package/dist/esm-es5/pds-progress.entry.js +1 -1
  271. package/dist/esm-es5/pds-property.entry.js +1 -1
  272. package/dist/esm-es5/pds-radio-group.entry.js +1 -1
  273. package/dist/esm-es5/pds-radio.entry.js +1 -1
  274. package/dist/esm-es5/pds-row.entry.js +1 -1
  275. package/dist/esm-es5/pds-select.entry.js +1 -1
  276. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  277. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  278. package/dist/esm-es5/pds-switch.entry.js +1 -1
  279. package/dist/esm-es5/pds-tab.entry.js +1 -1
  280. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  281. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  282. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  283. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  284. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  285. package/dist/esm-es5/pds-table.entry.js +1 -1
  286. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  287. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  288. package/dist/esm-es5/pds-text.entry.js +1 -1
  289. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  290. package/dist/esm-es5/pds-toast.entry.js +1 -1
  291. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  292. package/dist/esm-es5/pine-core.js +1 -1
  293. package/dist/pine-core/index.esm.js +1 -1
  294. package/dist/pine-core/p-0092444c.system.entry.js +1 -0
  295. package/dist/pine-core/p-01aa382c.system.entry.js +1 -0
  296. package/dist/pine-core/p-01c9b8f3.entry.js +1 -0
  297. package/dist/pine-core/p-02088776.entry.js +1 -0
  298. package/dist/pine-core/p-049f126a.entry.js +1 -0
  299. package/dist/pine-core/p-080cb087.system.entry.js +1 -0
  300. package/dist/pine-core/p-0913f696.system.entry.js +1 -0
  301. package/dist/pine-core/p-0a84d220.entry.js +1 -0
  302. package/dist/pine-core/{p-f3188c57.system.entry.js → p-0b71ecb6.system.entry.js} +2 -2
  303. package/dist/pine-core/p-1437585e.system.entry.js +1 -0
  304. package/dist/pine-core/p-1ee86d87.system.entry.js +1 -0
  305. package/dist/pine-core/p-208c7dbf.entry.js +1 -0
  306. package/dist/pine-core/p-258770cf.system.entry.js +1 -0
  307. package/dist/pine-core/p-258d5e83.entry.js +1 -0
  308. package/dist/pine-core/p-26642718.entry.js +1 -0
  309. package/dist/pine-core/p-2ac2457b.system.entry.js +1 -0
  310. package/dist/pine-core/p-2cb5483a.system.entry.js +1 -0
  311. package/dist/pine-core/p-341c38f1.system.entry.js +1 -0
  312. package/dist/pine-core/p-3a959459.system.entry.js +1 -0
  313. package/dist/pine-core/p-3c27088f.system.entry.js +1 -0
  314. package/dist/pine-core/p-432d5ec7.entry.js +1 -0
  315. package/dist/pine-core/p-4849fda7.entry.js +1 -0
  316. package/dist/pine-core/p-4d03d1e2.system.entry.js +1 -0
  317. package/dist/pine-core/p-4de8f333.entry.js +1 -0
  318. package/dist/pine-core/p-4f94b4f1.system.entry.js +1 -0
  319. package/dist/pine-core/p-4fa63723.system.entry.js +1 -0
  320. package/dist/pine-core/p-4fd454f6.entry.js +1 -0
  321. package/dist/pine-core/p-5442d983.system.entry.js +1 -0
  322. package/dist/pine-core/p-550c2fd3.entry.js +1 -0
  323. package/dist/pine-core/p-55224683.entry.js +1 -0
  324. package/dist/pine-core/p-57a2f927.entry.js +1 -0
  325. package/dist/pine-core/p-5870b092.system.entry.js +1 -0
  326. package/dist/pine-core/p-5c90091e.system.entry.js +1 -0
  327. package/dist/pine-core/p-602c197f.entry.js +1 -0
  328. package/dist/pine-core/p-646afbca.system.entry.js +1 -0
  329. package/dist/pine-core/p-6bf853c9.entry.js +1 -0
  330. package/dist/pine-core/p-6d3610f9.entry.js +1 -0
  331. package/dist/pine-core/p-6eec23a7.system.entry.js +1 -0
  332. package/dist/pine-core/p-72865997.entry.js +1 -0
  333. package/dist/pine-core/p-73eb47fa.entry.js +1 -0
  334. package/dist/pine-core/p-75ee0403.entry.js +1 -0
  335. package/dist/pine-core/p-77395d62.system.entry.js +1 -0
  336. package/dist/pine-core/p-7a287635.system.entry.js +1 -0
  337. package/dist/pine-core/p-7a5b21d2.system.entry.js +1 -0
  338. package/dist/pine-core/p-7bf6563a.system.entry.js +1 -0
  339. package/dist/pine-core/p-7f367db4.system.entry.js +1 -0
  340. package/dist/pine-core/p-8191498f.system.entry.js +1 -0
  341. package/dist/pine-core/p-82cf4ec6.entry.js +1 -0
  342. package/dist/pine-core/p-84e9b7da.entry.js +1 -0
  343. package/dist/pine-core/p-86040cac.system.entry.js +1 -0
  344. package/dist/pine-core/p-875b0436.system.entry.js +1 -0
  345. package/dist/pine-core/p-8c8cc079.system.entry.js +1 -0
  346. package/dist/pine-core/p-8cc302aa.system.entry.js +1 -0
  347. package/dist/pine-core/p-8d292b48.entry.js +1 -0
  348. package/dist/pine-core/p-8f531063.entry.js +1 -0
  349. package/dist/pine-core/p-9109b90a.entry.js +1 -0
  350. package/dist/pine-core/p-94593f20.system.entry.js +1 -0
  351. package/dist/pine-core/p-9880d251.system.entry.js +1 -0
  352. package/dist/pine-core/p-99459e27.entry.js +1 -0
  353. package/dist/pine-core/p-9a0083dd.system.entry.js +1 -0
  354. package/dist/pine-core/p-9ab95438.entry.js +1 -0
  355. package/dist/pine-core/{p-f83fe305.entry.js → p-9af131d6.system.entry.js} +1 -1
  356. package/dist/pine-core/p-9dcd2cdb.entry.js +1 -0
  357. package/dist/pine-core/p-9e0f920a.system.entry.js +1 -0
  358. package/dist/pine-core/p-BGLP3keB.js +1 -0
  359. package/dist/pine-core/p-BLG6RDBt.js +1 -0
  360. package/dist/pine-core/p-BR5nujVX.system.js +1 -0
  361. package/dist/pine-core/p-CGRdQc49.system.js +2 -0
  362. package/dist/pine-core/p-CmSJytt1.js +2 -0
  363. package/dist/pine-core/p-CuSNnuFu.system.js +1 -0
  364. package/dist/pine-core/p-Cy8cvR7I.system.js +1 -0
  365. package/dist/pine-core/p-XW4H0W6i.system.js +1 -0
  366. package/dist/pine-core/p-a0960b3d.system.entry.js +1 -0
  367. package/dist/pine-core/p-a1230a74.system.entry.js +1 -0
  368. package/dist/pine-core/p-a19cd59c.entry.js +1 -0
  369. package/dist/pine-core/p-a3735199.entry.js +1 -0
  370. package/dist/pine-core/p-a826f290.entry.js +1 -0
  371. package/dist/pine-core/p-a85a6ab9.system.entry.js +1 -0
  372. package/dist/pine-core/p-acce8eb2.entry.js +1 -0
  373. package/dist/pine-core/p-b1548a20.entry.js +1 -0
  374. package/dist/pine-core/p-b69f04b7.entry.js +1 -0
  375. package/dist/pine-core/p-b75b0d09.system.entry.js +1 -0
  376. package/dist/pine-core/p-b8e8a4ce.entry.js +1 -0
  377. package/dist/pine-core/{p-09d10e9e.entry.js → p-b914dde8.entry.js} +2 -2
  378. package/dist/pine-core/p-ba1f65c2.system.entry.js +1 -0
  379. package/dist/pine-core/p-bb68431a.entry.js +1 -0
  380. package/dist/pine-core/p-bd67156b.system.entry.js +1 -0
  381. package/dist/pine-core/p-beb23781.entry.js +1 -0
  382. package/dist/pine-core/p-bf30dec0.entry.js +1 -0
  383. package/dist/pine-core/p-bf7ee3b7.system.entry.js +1 -0
  384. package/dist/pine-core/p-c5c9ed36.system.entry.js +1 -0
  385. package/dist/pine-core/p-cb6a3e4c.system.entry.js +1 -0
  386. package/dist/pine-core/p-cde8eb81.entry.js +1 -0
  387. package/dist/pine-core/p-cf08a6dd.system.entry.js +1 -0
  388. package/dist/pine-core/p-cfd012d4.entry.js +1 -0
  389. package/dist/pine-core/p-d2c91e7a.entry.js +1 -0
  390. package/dist/pine-core/p-da103a54.system.entry.js +1 -0
  391. package/dist/pine-core/p-db17c626.system.entry.js +1 -0
  392. package/dist/pine-core/p-df539c42.system.entry.js +3 -0
  393. package/dist/pine-core/p-e0917a26.entry.js +1 -0
  394. package/dist/pine-core/p-e5420660.entry.js +1 -0
  395. package/dist/pine-core/p-e800a2b1.entry.js +1 -0
  396. package/dist/pine-core/p-e836a041.entry.js +1 -0
  397. package/dist/pine-core/p-e8cb76e8.entry.js +1 -0
  398. package/dist/pine-core/p-ea4d4741.system.entry.js +1 -0
  399. package/dist/pine-core/p-eb5465ce.entry.js +1 -0
  400. package/dist/pine-core/{p-48ab7da8.system.entry.js → p-ebd0bff2.entry.js} +1 -1
  401. package/dist/pine-core/p-ec5428fb.entry.js +1 -0
  402. package/dist/pine-core/p-ed4b979e.entry.js +1 -0
  403. package/dist/pine-core/p-f029b7da.system.entry.js +1 -0
  404. package/dist/pine-core/p-f0d24298.system.entry.js +1 -0
  405. package/dist/pine-core/p-f1702281.entry.js +1 -0
  406. package/dist/pine-core/p-f1f17940.entry.js +2 -0
  407. package/dist/pine-core/p-f25e4731.system.entry.js +1 -0
  408. package/dist/pine-core/p-f2c253d8.entry.js +1 -0
  409. package/dist/pine-core/p-f77905aa.system.entry.js +1 -0
  410. package/dist/pine-core/p-fc25b956.system.entry.js +1 -0
  411. package/dist/pine-core/p-ff3de72e.entry.js +1 -0
  412. package/dist/pine-core/pine-core.esm.js +1 -1
  413. package/dist/pine-core/pine-core.js +1 -1
  414. package/dist/types/components/pds-combobox/combobox-interface.d.ts +8 -1
  415. package/dist/types/components/pds-combobox/grouped-options-panel.d.ts +7 -1
  416. package/dist/types/components/pds-combobox/pds-combobox.d.ts +31 -0
  417. package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +4 -0
  418. package/dist/types/components/pds-tabs/pds-tab/pds-tab.d.ts +3 -0
  419. package/dist/types/components/pds-tabs/pds-tabpanel/pds-tabpanel.d.ts +3 -0
  420. package/dist/types/components/pds-tabs/pds-tabs.d.ts +14 -2
  421. package/dist/types/components.d.ts +5 -5
  422. package/dist/types/global/pine-global.d.ts +2 -0
  423. package/dist/types/index.d.ts +1 -0
  424. package/dist/types/utils/attributes.d.ts +2 -6
  425. package/dist/types/utils/css.d.ts +7 -0
  426. package/dist/types/utils/keep-hydrated.d.ts +56 -0
  427. package/dist/vscode.html-data.json +2 -2
  428. package/hydrate/index.js +673 -144
  429. package/hydrate/index.mjs +673 -144
  430. package/package.json +2 -2
  431. package/dist/esm-es5/attributes-myrJDwbR.js +0 -1
  432. package/dist/pine-core/p-085c92aa.system.entry.js +0 -1
  433. package/dist/pine-core/p-0bfe152a.entry.js +0 -1
  434. package/dist/pine-core/p-0ce3bcf2.system.entry.js +0 -1
  435. package/dist/pine-core/p-1dd395d8.system.entry.js +0 -1
  436. package/dist/pine-core/p-1feace6a.system.entry.js +0 -1
  437. package/dist/pine-core/p-2126b4e4.system.entry.js +0 -1
  438. package/dist/pine-core/p-21abd971.entry.js +0 -1
  439. package/dist/pine-core/p-2212224a.system.entry.js +0 -1
  440. package/dist/pine-core/p-23044953.system.entry.js +0 -1
  441. package/dist/pine-core/p-26d8c4f7.system.entry.js +0 -1
  442. package/dist/pine-core/p-2806fa55.system.entry.js +0 -1
  443. package/dist/pine-core/p-28abc253.system.entry.js +0 -1
  444. package/dist/pine-core/p-2dd3ab72.entry.js +0 -1
  445. package/dist/pine-core/p-30784d57.entry.js +0 -1
  446. package/dist/pine-core/p-3088cd66.entry.js +0 -1
  447. package/dist/pine-core/p-3add97f7.system.entry.js +0 -1
  448. package/dist/pine-core/p-3e829372.system.entry.js +0 -1
  449. package/dist/pine-core/p-40928521.system.entry.js +0 -1
  450. package/dist/pine-core/p-40ebfe59.system.entry.js +0 -1
  451. package/dist/pine-core/p-44cbdf94.system.entry.js +0 -1
  452. package/dist/pine-core/p-468f0dab.system.entry.js +0 -1
  453. package/dist/pine-core/p-4765f7f0.entry.js +0 -1
  454. package/dist/pine-core/p-478e69d1.entry.js +0 -1
  455. package/dist/pine-core/p-4af5f936.entry.js +0 -1
  456. package/dist/pine-core/p-4d3f5098.system.entry.js +0 -1
  457. package/dist/pine-core/p-5064f007.system.entry.js +0 -1
  458. package/dist/pine-core/p-5081a96f.entry.js +0 -1
  459. package/dist/pine-core/p-517e04f6.entry.js +0 -1
  460. package/dist/pine-core/p-51eb36f4.system.entry.js +0 -3
  461. package/dist/pine-core/p-5527e825.system.entry.js +0 -1
  462. package/dist/pine-core/p-563ba784.entry.js +0 -1
  463. package/dist/pine-core/p-5bf397ca.entry.js +0 -1
  464. package/dist/pine-core/p-5c7c2ffa.entry.js +0 -1
  465. package/dist/pine-core/p-5db91557.entry.js +0 -1
  466. package/dist/pine-core/p-60393d52.entry.js +0 -1
  467. package/dist/pine-core/p-60a15bf7.system.entry.js +0 -1
  468. package/dist/pine-core/p-60e687ac.entry.js +0 -1
  469. package/dist/pine-core/p-61ae5a4b.system.entry.js +0 -1
  470. package/dist/pine-core/p-62377463.system.entry.js +0 -1
  471. package/dist/pine-core/p-62974869.entry.js +0 -1
  472. package/dist/pine-core/p-63644dbd.entry.js +0 -1
  473. package/dist/pine-core/p-686b526d.entry.js +0 -1
  474. package/dist/pine-core/p-69f60432.system.entry.js +0 -1
  475. package/dist/pine-core/p-6d6079f5.entry.js +0 -1
  476. package/dist/pine-core/p-6eb2070a.entry.js +0 -1
  477. package/dist/pine-core/p-7386bbdf.system.entry.js +0 -1
  478. package/dist/pine-core/p-74b1b841.entry.js +0 -1
  479. package/dist/pine-core/p-74d93179.system.entry.js +0 -1
  480. package/dist/pine-core/p-7647b568.system.entry.js +0 -1
  481. package/dist/pine-core/p-7698fcfa.system.entry.js +0 -1
  482. package/dist/pine-core/p-778a0228.system.entry.js +0 -1
  483. package/dist/pine-core/p-77e12080.system.entry.js +0 -1
  484. package/dist/pine-core/p-7a9c687d.system.entry.js +0 -1
  485. package/dist/pine-core/p-7fbb7037.entry.js +0 -1
  486. package/dist/pine-core/p-85d77b55.entry.js +0 -1
  487. package/dist/pine-core/p-86978a51.entry.js +0 -1
  488. package/dist/pine-core/p-88728d46.system.entry.js +0 -1
  489. package/dist/pine-core/p-893b02b7.entry.js +0 -1
  490. package/dist/pine-core/p-8d8512ae.system.entry.js +0 -1
  491. package/dist/pine-core/p-93341083.system.entry.js +0 -1
  492. package/dist/pine-core/p-9452adc4.entry.js +0 -1
  493. package/dist/pine-core/p-95649e1c.entry.js +0 -1
  494. package/dist/pine-core/p-977db8b2.entry.js +0 -1
  495. package/dist/pine-core/p-97c04215.system.entry.js +0 -1
  496. package/dist/pine-core/p-9903eb37.system.entry.js +0 -1
  497. package/dist/pine-core/p-9b18314c.entry.js +0 -1
  498. package/dist/pine-core/p-9ca1b473.system.entry.js +0 -1
  499. package/dist/pine-core/p-BwmzR47K.system.js +0 -1
  500. package/dist/pine-core/p-CrXTJmBd.system.js +0 -2
  501. package/dist/pine-core/p-DO9XKAkv.system.js +0 -1
  502. package/dist/pine-core/p-G3CPPJEt.system.js +0 -1
  503. package/dist/pine-core/p-a0f8a61a.entry.js +0 -1
  504. package/dist/pine-core/p-a232dc19.entry.js +0 -1
  505. package/dist/pine-core/p-a44316ad.entry.js +0 -1
  506. package/dist/pine-core/p-a8884f2d.system.entry.js +0 -1
  507. package/dist/pine-core/p-a8f23db0.system.entry.js +0 -1
  508. package/dist/pine-core/p-a9ea3c9d.entry.js +0 -1
  509. package/dist/pine-core/p-ae125139.entry.js +0 -1
  510. package/dist/pine-core/p-af9bce53.entry.js +0 -1
  511. package/dist/pine-core/p-b15777a2.entry.js +0 -1
  512. package/dist/pine-core/p-b2901e60.system.entry.js +0 -1
  513. package/dist/pine-core/p-b82a0693.entry.js +0 -1
  514. package/dist/pine-core/p-b852c82b.system.entry.js +0 -1
  515. package/dist/pine-core/p-b979105e.entry.js +0 -1
  516. package/dist/pine-core/p-bLhIfh0N.js +0 -2
  517. package/dist/pine-core/p-bb9d158c.system.entry.js +0 -1
  518. package/dist/pine-core/p-bc7ba7d3.system.entry.js +0 -1
  519. package/dist/pine-core/p-bd1bdb07.system.entry.js +0 -1
  520. package/dist/pine-core/p-c497d6c6.entry.js +0 -1
  521. package/dist/pine-core/p-c971cdb3.entry.js +0 -1
  522. package/dist/pine-core/p-cbae27a4.system.entry.js +0 -1
  523. package/dist/pine-core/p-cdd21cbe.entry.js +0 -1
  524. package/dist/pine-core/p-ce74a47e.entry.js +0 -2
  525. package/dist/pine-core/p-cf4758a7.entry.js +0 -1
  526. package/dist/pine-core/p-cfc9d4a8.entry.js +0 -1
  527. package/dist/pine-core/p-d1b0b372.entry.js +0 -1
  528. package/dist/pine-core/p-d6002d5b.entry.js +0 -1
  529. package/dist/pine-core/p-d8a6298c.system.entry.js +0 -1
  530. package/dist/pine-core/p-d933227e.system.entry.js +0 -1
  531. package/dist/pine-core/p-d962fc84.entry.js +0 -1
  532. package/dist/pine-core/p-da7a7cca.entry.js +0 -1
  533. package/dist/pine-core/p-daaf653f.system.entry.js +0 -1
  534. package/dist/pine-core/p-dafff7dd.system.entry.js +0 -1
  535. package/dist/pine-core/p-ea9468fb.entry.js +0 -1
  536. package/dist/pine-core/p-ed22da0c.system.entry.js +0 -1
  537. package/dist/pine-core/p-f0632690.system.entry.js +0 -1
  538. package/dist/pine-core/p-f1c6b23a.entry.js +0 -1
  539. package/dist/pine-core/p-f279f435.system.entry.js +0 -1
  540. package/dist/pine-core/p-f33d6417.entry.js +0 -1
  541. package/dist/pine-core/p-f832dcd9.entry.js +0 -1
  542. package/dist/pine-core/p-fe09b6fb.system.entry.js +0 -1
  543. package/dist/pine-core/p-myrJDwbR.js +0 -1
  544. /package/dist/esm-es5/{index-DxI-61GK.js → index-BJXk71tO.js} +0 -0
  545. /package/dist/pine-core/{p-DxI-61GK.js → p-BJXk71tO.js} +0 -0
  546. /package/dist/pine-core/{p-CnO10OxH.system.js → p-n3_ytl_p.system.js} +0 -0
@@ -1,7 +1,9 @@
1
1
  import { Host, h } from "@stencil/core";
2
2
  import { setAttributesIfChanged } from "../../utils/attributes";
3
+ import { limitRestores } from "../../utils/keep-hydrated";
3
4
  import { computePosition, flip, offset, shift, autoUpdate, } from "@floating-ui/dom";
4
5
  /**
6
+ * @slot header - Non-interactive content displayed above the menu items inside the dropdown panel. It renders outside the menu role, so assistive tech reads it as plain content rather than as a menu item.
5
7
  * @part menu-panel - Exposes the dropdown menu container for styling.
6
8
  */
7
9
  export class PdsDropdownMenu {
@@ -11,6 +13,7 @@ export class PdsDropdownMenu {
11
13
  this.cleanupAutoUpdate = null;
12
14
  this.triggerObserver = null;
13
15
  this.currentFocusIndex = -1;
16
+ this.hasHeader = false;
14
17
  /**
15
18
  * The placement of the dropdown panel relative to the trigger.
16
19
  */
@@ -29,8 +32,11 @@ export class PdsDropdownMenu {
29
32
  // Writes the trigger's ARIA from the menu's state, so the observer's own callback doesn't loop.
30
33
  this.syncTriggerAria = () => {
31
34
  if (!this.triggerEl)
32
- return;
33
- setAttributesIfChanged(this.triggerEl, { 'aria-haspopup': 'menu', 'aria-expanded': String(this.isOpen) });
35
+ return false;
36
+ return setAttributesIfChanged(this.triggerEl, { 'aria-haspopup': 'menu', 'aria-expanded': String(this.isOpen) });
37
+ };
38
+ this.handleHeaderSlotChange = (event) => {
39
+ this.hasHeader = event.target.assignedElements().length > 0;
34
40
  };
35
41
  this.handleSlotChange = (event) => {
36
42
  this.slotEl = event.target;
@@ -109,6 +115,9 @@ export class PdsDropdownMenu {
109
115
  this.toggleDropdown();
110
116
  };
111
117
  }
118
+ componentWillLoad() {
119
+ this.hasHeader = Array.from(this.host.children).some(el => el.getAttribute('slot') === 'header');
120
+ }
112
121
  componentDidRender() {
113
122
  var _a;
114
123
  this.panelEl = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('pds-box');
@@ -137,7 +146,8 @@ export class PdsDropdownMenu {
137
146
  this.triggerObserver = null;
138
147
  if (!this.triggerEl || typeof MutationObserver === 'undefined')
139
148
  return;
140
- this.triggerObserver = new MutationObserver(this.syncTriggerAria);
149
+ // Capped against a script that keeps undoing it; opening and closing still write it directly.
150
+ this.triggerObserver = new MutationObserver(limitRestores(this.syncTriggerAria, 'pds-dropdown-menu: stopped restoring its trigger ARIA, as another script keeps changing it. It may be wrong until the menu opens or closes.', this.triggerEl));
141
151
  this.triggerObserver.observe(this.triggerEl, {
142
152
  attributes: true,
143
153
  attributeFilter: ['aria-haspopup', 'aria-expanded'],
@@ -343,7 +353,7 @@ export class PdsDropdownMenu {
343
353
  }
344
354
  }
345
355
  render() {
346
- return (h(Host, { key: '9d67972cf15c22bc666c32b86dcd8f143160ee0a', id: this.componentId }, h("slot", { key: 'e9cbc0612ce0e8c2bf55e1dc7930eda075fcc173', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), h("pds-box", { key: '6fed3f11cf962a97f8ebb3cc69bd76efb425c464', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", role: "menu", "aria-orientation": "vertical", part: "menu-panel" }, h("slot", { key: 'b8757512713b913f3ee56d9518897e7ed3c3b830', onSlotchange: this.handleSlotChange }))));
356
+ return (h(Host, { key: '0dd585168e8fa86378c4812ce54fd09108861d5b', id: this.componentId }, h("slot", { key: 'c7144f8d6aaebe37b585c6c6230102c013230a9e', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), h("pds-box", { key: '82292e051337141bc9fd83b90292b188b0bb3489', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", part: "menu-panel" }, h("div", { key: 'c0f49dca14df0ba3885865c51562c380155bf8a8', class: { 'pds-dropdown-menu__header': true, 'is-hidden': !this.hasHeader } }, h("slot", { key: 'dc80c97a8dbb79ab4563524b3dea68d144e8570c', name: "header", onSlotchange: this.handleHeaderSlotChange })), h("div", { key: '29cb56bdf28a0438296f33e0fa86c9da7b51902c', class: "pds-dropdown-menu__items", role: "menu", "aria-orientation": "vertical" }, h("slot", { key: '8f91ceeb1eedc4acc79f09032dedc69a2ba1f99a', onSlotchange: this.handleSlotChange })))));
347
357
  }
348
358
  static get is() { return "pds-dropdown-menu"; }
349
359
  static get encapsulation() { return "shadow"; }
@@ -409,7 +419,8 @@ export class PdsDropdownMenu {
409
419
  }
410
420
  static get states() {
411
421
  return {
412
- "currentFocusIndex": {}
422
+ "currentFocusIndex": {},
423
+ "hasHeader": {}
413
424
  };
414
425
  }
415
426
  static get elementRef() { return "host"; }
@@ -485,7 +485,7 @@ export class PdsFilter {
485
485
  return null;
486
486
  }
487
487
  render() {
488
- return (h(Host, { key: '4abb55453c9ab4cd49b21a23047aa5ee4ab70056', id: this.componentId }, h("button", { key: 'e6b6bd81ca3f9d23f490219cf8e81f0bdf511798', class: this.getTriggerClasses(), type: "button", popoverTarget: this.variant !== 'clear' ? `${this.componentId}-popover` : undefined, popoverTargetAction: this.variant !== 'clear' ? 'toggle' : undefined, onKeyDown: this.variant === 'clear' ? this.handleKeyDown : undefined, onClick: (event) => this.handleClick(event), part: "button", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": this.variant !== 'clear' ? 'true' : undefined, "aria-controls": this.variant !== 'clear' ? `${this.componentId}-popover` : undefined }, h("span", { key: '4cea081451f50508cef36e90d4c88cbd94933287', class: "pds-filter__button-content", part: "button-content" }, this.renderIcon(), this.text && (h("span", { key: '479f84087e7969fa555475b240f5e70ce5bcf136', class: "pds-filter__button-text", part: "button-text" }, this.text)), this.renderDropdownIcon())), this.variant !== 'clear' && (h("div", { key: '85aec3d5d7b33a0cfb3602412238830929902eb1', ref: el => this.popoverEl = el, id: `${this.componentId}-popover`, class: "pds-filter__popover", popover: "auto", part: "popover" }, h("slot", { key: 'ede4c3866bfdce974e0d21c6e6a3ae22aee47d2c' })))));
488
+ return (h(Host, { key: '3cae951aee1f9c75f3e207cf6c68633a23f8f6dc', id: this.componentId }, h("button", { key: 'f4c644710dc936248995be9a49cef8ad13031d61', class: this.getTriggerClasses(), type: "button", popoverTarget: this.variant !== 'clear' ? `${this.componentId}-popover` : undefined, popoverTargetAction: this.variant !== 'clear' ? 'toggle' : undefined, onKeyDown: this.variant === 'clear' ? this.handleKeyDown : undefined, onClick: (event) => this.handleClick(event), part: "button", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": this.variant !== 'clear' ? 'true' : undefined, "aria-controls": this.variant !== 'clear' ? `${this.componentId}-popover` : undefined }, h("span", { key: '2dd87e53f363118becc762051ea1be664258b8b6', class: "pds-filter__button-content", part: "button-content" }, this.renderIcon(), this.text && (h("span", { key: '733ceb5e07198e844fbdc1af294d2046c4c571d8', class: "pds-filter__button-text", part: "button-text" }, this.text)), this.renderDropdownIcon())), this.variant !== 'clear' && (h("div", { key: 'beb65a21192c6f5c16703aec7ab9a92ea378ef3c', ref: el => this.popoverEl = el, id: `${this.componentId}-popover`, class: "pds-filter__popover", popover: "auto", part: "popover" }, h("slot", { key: '5a481cc6b143b059a5fc33d377abe5ab79aefb4e' })))));
489
489
  }
490
490
  static get is() { return "pds-filter"; }
491
491
  static get encapsulation() { return "shadow"; }
@@ -4,7 +4,7 @@ import { Host, h } from "@stencil/core";
4
4
  */
5
5
  export class PdsFilters {
6
6
  render() {
7
- return (h(Host, { key: '5587c41a5ca93cc48399d7c1af0762d4a3516b4d', id: this.componentId }, h("div", { key: '43ee499b9c3f49b52cf18beee8ac5cf97b8ad49a', class: "pds-filters" }, h("slot", { key: '79a452042d7aa7e0492d80fd773f71fb820c2211' }))));
7
+ return (h(Host, { key: '8688235fe7cdea1b4fc540156ff21bb9711b41b6', id: this.componentId }, h("div", { key: 'e51a37977df8c31f99b28d8c7e4bedb0d63e53c6', class: "pds-filters" }, h("slot", { key: '8ce936da4d3f0213408090bc3eeb011920f9aa6c' }))));
8
8
  }
9
9
  static get is() { return "pds-filters"; }
10
10
  static get encapsulation() { return "shadow"; }
@@ -15,9 +15,9 @@ export class PdsImage {
15
15
  this.loading = 'eager';
16
16
  }
17
17
  render() {
18
- return (h(Host, { key: 'fff1a796e59b8e666069e56390e174d7d2861f03', class: {
18
+ return (h(Host, { key: '1e8bb3882c2a629004ce1441e85d5c5a75a84e98', class: {
19
19
  'pds-image': true,
20
- }, id: this.componentId }, h("img", { key: 'dbeda9da5adca51c58ec5a807cde673d6b479d0f', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
20
+ }, id: this.componentId }, h("img", { key: 'b50b19d51431d45027c7a918a4ba4c38493741d5', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
21
21
  }
22
22
  static get is() { return "pds-image"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -289,10 +289,10 @@ export class PdsInput {
289
289
  'has-prepend': this.hasPrepend,
290
290
  'has-append': this.hasAppend,
291
291
  };
292
- return (h(Host, { key: '8c0829cc3502e5fa1fe52584d84b9345fcb0f3fd', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-prefix": this.hasPrefix ? 'true' : null, "has-suffix": this.hasSuffix ? 'true' : null, "has-prepend": this.hasPrepend ? 'true' : null, "has-append": this.hasAppend ? 'true' : null, "has-action": this.hasAction && !this.hideLabel ? 'true' : null, "full-width": this.fullWidth ? 'true' : null }, h("div", { key: 'cf754e6fc72d2cf900e541a469a8e0ba62851538', class: "pds-input" }, label && (h("div", { key: 'f55793898eb2840322ec9a79daed186420ef0d90', class: {
292
+ return (h(Host, { key: '75eb8bc6cda5e947f8677ebefe7995688f03f947', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-prefix": this.hasPrefix ? 'true' : null, "has-suffix": this.hasSuffix ? 'true' : null, "has-prepend": this.hasPrepend ? 'true' : null, "has-append": this.hasAppend ? 'true' : null, "has-action": this.hasAction && !this.hideLabel ? 'true' : null, "full-width": this.fullWidth ? 'true' : null }, h("div", { key: '93d7f90b9a64daccea1533abc08a8cb18825b828', class: "pds-input" }, label && (h("div", { key: '948109b3bfa1a1b8171572da9160425e3e35a7a6', class: {
293
293
  'pds-input__label-wrapper': true,
294
294
  'visually-hidden': this.hideLabel,
295
- } }, h("label", { key: '2a7deac2a9443b1a648133a799b69414b96314e3', htmlFor: componentId, class: "pds-input__label" }, h("span", { key: '75dc7787e0132c4f62272307867a8066f9cf6ce2' }, label, this.required && h("span", { key: 'c7c413addd2b3f275031596598b030c02f647969', class: "pds-input__required-indicator" }, " *"))), !this.hideLabel && this.renderAction())), h("div", { key: 'eaf09d07c4fbc84ef835d2c7b4f00e252394f5ed', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), h("input", Object.assign({ key: 'dca2390b44e430f0ab1d29daa4ce630ac3b12881', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage, errorMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onKeyDown: this.onKeyDownEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (h("p", { key: '0bd7859f44185ed0c1478833518cb5829ffea4ad', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (h("p", { key: 'c40016f5bb03e292e01430c2940aff0ebb98abb5', class: "pds-input__error-message", id: messageId(componentId, 'error') }, h("pds-icon", { key: '54985d775ddf951b50cae4796b7847e98de7434f', "aria-hidden": "true", icon: danger, size: "small" }), errorMessage)))));
295
+ } }, h("label", { key: 'bb0e6c6febb97ad4aa3942ac5e67ac42dc1bde0a', htmlFor: componentId, class: "pds-input__label" }, h("span", { key: 'c6a122f829aa3b92ccb715c3f3975f6baadb3028' }, label, this.required && h("span", { key: 'dce7d1a9c010a545992734bd238e9f6a4ca7b4ce', class: "pds-input__required-indicator" }, " *"))), !this.hideLabel && this.renderAction())), h("div", { key: '1b92ab5d649a4a9cf8112ea9b8a8a1095714f6d0', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), h("input", Object.assign({ key: 'bc3c4b907312149d375bb78f9912e4501da59348', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage, errorMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onKeyDown: this.onKeyDownEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (h("p", { key: 'f7bcbafc17a20310d602fce14a0adad522acbcb1', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (h("p", { key: 'bbbd6dc3203b89e5759587147de74d2ce3ce6177', class: "pds-input__error-message", id: messageId(componentId, 'error') }, h("pds-icon", { key: '68a6a92c82c1756ad99f431e0cb56756e3cdf75c', "aria-hidden": "true", icon: danger, size: "small" }), errorMessage)))));
296
296
  }
297
297
  static get is() { return "pds-input"; }
298
298
  static get encapsulation() { return "shadow"; }
@@ -56,8 +56,8 @@ export class PdsLink {
56
56
  const targetValue = this.target || (this.external ? '_blank' : undefined);
57
57
  const showExternalIcon = this.external;
58
58
  const relValue = targetValue === '_blank' ? 'noopener noreferrer' : undefined;
59
- return (h("a", { key: '4757dc775fb132ea1fed93fed8e3cd18c77d45af', class: this.classNames(), download: this.download, href: this.href, id: this.componentId, part: "link", "aria-current": this.active ? 'page' : undefined, target: targetValue, rel: relValue, style: this.setLinkStyles(), "data-turbo": this.turbo || undefined, "data-turbo-frame": this.turboFrame || undefined, "data-turbo-action": this.turboAction || undefined, "data-turbo-method": this.turboMethod || undefined, "data-turbo-confirm": this.turboConfirm || undefined, "data-turbo-stream": this.turboStream || undefined, "data-turbo-prefetch": this.turboPrefetch || undefined, "data-turbo-preload": this.turboPreload || undefined }, h("slot", { key: '88e5a1ef3b0fc384f7449979029fa45c627aab99' }, this.href), showExternalIcon &&
60
- h("pds-icon", { key: '6f1b9cf0dab342ea09c1f52c605228ef4d04f829', icon: launch, size: this.fontSize })));
59
+ return (h("a", { key: '3b6f9d19d7f50d0606cf5f3c3a97b85ee4aa63b0', class: this.classNames(), download: this.download, href: this.href, id: this.componentId, part: "link", "aria-current": this.active ? 'page' : undefined, target: targetValue, rel: relValue, style: this.setLinkStyles(), "data-turbo": this.turbo || undefined, "data-turbo-frame": this.turboFrame || undefined, "data-turbo-action": this.turboAction || undefined, "data-turbo-method": this.turboMethod || undefined, "data-turbo-confirm": this.turboConfirm || undefined, "data-turbo-stream": this.turboStream || undefined, "data-turbo-prefetch": this.turboPrefetch || undefined, "data-turbo-preload": this.turboPreload || undefined }, h("slot", { key: 'a265f1c4c9b6ff089b23906d8f650bfd65b25013' }, this.href), showExternalIcon &&
60
+ h("pds-icon", { key: '9553a8256b6811296ea4b762e32662c1a2f4aecf', icon: launch, size: this.fontSize })));
61
61
  }
62
62
  static get is() { return "pds-link"; }
63
63
  static get encapsulation() { return "shadow"; }
@@ -66,7 +66,7 @@ export class PdsLoader {
66
66
  'aria-live': 'polite',
67
67
  };
68
68
  this.hostKeeper.record(hostClass, {}, hostAttributes);
69
- return (h(Host, Object.assign({ key: '81f97b8a6adf4d2c0e5516aa2af9054e200629e1', class: hostClass }, hostAttributes), this.variant === 'spinner' && (h("div", { key: '6e25806c83d6ddeb1141acdd083654867c6ff8a2', class: "pds-loader--spinner" }, h("svg", { key: '4798f27facfcf57da8d408319527fc6083489107', style: this.getSvgStyle(), viewBox: "0 0 200 200", fill: "none", part: "loader-svg" }, h("defs", { key: '0c64abfabc18ccd51ef41017e088f6ec10736d61' }, h("linearGradient", { key: '3aa61edf6250dc827bf925938b69008860f96596', id: "spinner-secondHalf" }, h("stop", { key: '2693d8a866492ef4ca98cbc4beb5f9f1a34a8b52', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), h("stop", { key: 'ae229fdc73733e4d6ab15a6663e67b574bd49b40', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), h("linearGradient", { key: '8ddbb46a1a387113d74a82cc4e3e0e9c7e12d573', id: "spinner-firstHalf" }, h("stop", { key: 'd166a3c1ae37c3afa898351683b07f5c4d0ee906', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), h("stop", { key: 'e4c9790bc9a645d752aa56c238fb8708310208b5', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), h("g", { key: '8b3897ff925d4207f9060e2fb69afa657b1b8fe3', class: "pds-loader__spinner-path" }, h("path", { key: '603ef195d1fc64d2059d9fbfeb9b14e2bdb1cabe', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), h("path", { key: 'a649ac9538248f5a22d48008377e18f4407efad9', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), h("path", { key: '37f3772b61d1459959cc4d8c0b5c729dbd6953ff', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (h("div", { key: 'e510c2e6498a5542ce6e6573fdc03e8770121cd7', class: "pds-loader--typing" }, h("span", { key: 'bbf4f5a328175f06b221d9abc73118505a09455d' }), h("span", { key: '9a7e80b28e1455ef9d0c1bdb330a6425a3037709' }), h("span", { key: 'f8aa1eb4f822a6d0e2a14a982bbe99866a97815b' }))), h("div", { key: '3492189495798a2ea861d0dcb460f1b25d43d565', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, h("slot", { key: 'c1a19415b513a2a5f76a53d64b0ef5fbb4a5d100', name: "label" }, "Loading..."))));
69
+ return (h(Host, Object.assign({ key: 'c42c1aeec5c8db9a1065f35492734a8cb265f3ce', class: hostClass }, hostAttributes), this.variant === 'spinner' && (h("div", { key: 'dc1b7943709d03e02467cca0817fb6a7ad5ed10a', class: "pds-loader--spinner" }, h("svg", { key: 'db38e607541ac1eb91be87b2cd0240341c8fb51d', style: this.getSvgStyle(), viewBox: "0 0 200 200", fill: "none", part: "loader-svg" }, h("defs", { key: 'd734ef70b0039758a25881c22bb3e6453ac40012' }, h("linearGradient", { key: '697627f516c5f7b4cd5351dd39de231c0cb9e429', id: "spinner-secondHalf" }, h("stop", { key: '03082c0ec354685eebf7d0132202d54b083d26df', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), h("stop", { key: '181b661b36aeb44943e20dec513f7265a9487004', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), h("linearGradient", { key: '67f6c51aefe99bcbfdb741290337364501fc4fcb', id: "spinner-firstHalf" }, h("stop", { key: 'cb6adf27ecb06b42ba572a702153de960491b0b6', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), h("stop", { key: 'aeebabfa1ac00391937388feefa120bd0bb4d26c', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), h("g", { key: 'f06ca75e4df171b6db426fce9bc34076cfee5bca', class: "pds-loader__spinner-path" }, h("path", { key: 'a278b37de8f77a1000efecb62b89e3f751712a98', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), h("path", { key: 'a035add4d01b60bcebf7625c8730d6a41ddf40ff', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), h("path", { key: '1189c8299d33a2a6bb6a8345b60f22bf4ad9beee', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (h("div", { key: '39826fae20e8826d9c73cf57ba938583d610e1ea', class: "pds-loader--typing" }, h("span", { key: '8f2b837c79548a1080710a7cc30c3be3a051e1dd' }), h("span", { key: '8efb1193ef51f110950861767eccc3896e90b81e' }), h("span", { key: '366f2d205adbb043691c253cff17d2d29d56a2cc' }))), h("div", { key: 'aeaa4aa12863b34088e84fd2791c2ce32dc05248', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, h("slot", { key: '7a8ec45aed1cd6f9e60f4db2ec5376439fa41c81', name: "label" }, "Loading..."))));
70
70
  }
71
71
  static get is() { return "pds-loader"; }
72
72
  static get encapsulation() { return "shadow"; }
@@ -181,10 +181,10 @@ export class PdsModalContent {
181
181
  render() {
182
182
  // Only apply max-height style if it's not 'none'
183
183
  const styleObj = this.contentMaxHeight !== 'none' ? { maxHeight: this.contentMaxHeight } : {};
184
- return (h(Host, { key: 'f66dbdd08d6af3f87b0a6e8f30e1948b2f674e34' }, h("div", { key: 'ac0469cbfe48002d5bc7f401e0dc30926cfd4421', class: {
184
+ return (h(Host, { key: 'd41d5632eb6a2dafe921546af60f835d3545cc4f' }, h("div", { key: '741ac9f28149039ecf5051142a939ab62ef26a87', class: {
185
185
  'pds-modal-content': true,
186
186
  [`pds-modal-content--border-${this.border}`]: true
187
- }, style: styleObj, tabindex: "-1" }, h("slot", { key: '26a8a45ab4dcd0349da68304fa3cacc64603208a' }))));
187
+ }, style: styleObj, tabindex: "-1" }, h("slot", { key: '090a52e9425d4df61c2d8216cc19f0925babdffe' }))));
188
188
  }
189
189
  static get is() { return "pds-modal-content"; }
190
190
  static get originalStyleUrls() {
@@ -9,7 +9,7 @@ export class PdsModalFooter {
9
9
  unwrapReconnectedContent(this.el.querySelector('.pds-modal__footer'), '.pds-modal__footer');
10
10
  }
11
11
  render() {
12
- return (h("footer", { key: '1148892c2d6b9a461f6c04a670fceda76c1be53a', class: "pds-modal__footer" }, h("slot", { key: 'ccd754674c82c415f8c056c9dda6327df35dbd03' })));
12
+ return (h("footer", { key: '030153b84f1ea1cb133c9ccec3ad86583995974f', class: "pds-modal__footer" }, h("slot", { key: '3a479e7047f3e845a65c37d60539648c8ff78602' })));
13
13
  }
14
14
  static get is() { return "pds-modal-footer"; }
15
15
  static get originalStyleUrls() {
@@ -9,7 +9,7 @@ export class PdsModalHeader {
9
9
  unwrapReconnectedContent(this.el.querySelector('.pds-modal__header'), '.pds-modal__header');
10
10
  }
11
11
  render() {
12
- return (h("header", { key: '030153b84f1ea1cb133c9ccec3ad86583995974f', class: "pds-modal__header" }, h("slot", { key: '3a479e7047f3e845a65c37d60539648c8ff78602' })));
12
+ return (h("header", { key: 'ee3ac5fb9b00a943aa86c3434ea07291b74d776c', class: "pds-modal__header" }, h("slot", { key: '0b0f7ff257635723099c536648a826be8dcc05e7' })));
13
13
  }
14
14
  static get is() { return "pds-modal-header"; }
15
15
  static get originalStyleUrls() {
@@ -519,14 +519,14 @@ export class PdsModal {
519
519
  }
520
520
  render() {
521
521
  const [sizeClass = 'md', customSize] = this.resolveSize();
522
- return (h("dialog", { key: 'b6714c7e77d80bf2370f2170ffce029abe147d81', class: {
522
+ return (h("dialog", { key: '12ea38928ea287f16ffa33e246caa2bfde6fc130', class: {
523
523
  'pds-modal__backdrop': true,
524
524
  'open': this.open
525
- }, "aria-modal": this.disableTopLayer ? 'false' : 'true', "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, h("div", { key: '8c3319f53dd8c79c9e952785277e9e82e28b651e', class: {
525
+ }, "aria-modal": this.disableTopLayer ? 'false' : 'true', "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, h("div", { key: 'b9d83cabda56c315d9115f7030e3bdbcf923ec08', class: {
526
526
  'pds-modal': true,
527
527
  [`pds-modal--${sizeClass}`]: true,
528
528
  'pds-modal--scrollable': this.scrollable
529
- }, style: customSize !== undefined ? { '--pds-modal-max-width': customSize } : undefined, part: "modal" }, h("slot", { key: '8c6f9cc1a20b515659344ad041512de52761800d' }))));
529
+ }, style: customSize !== undefined ? { '--pds-modal-max-width': customSize } : undefined, part: "modal" }, h("slot", { key: '3c5edad1482cb124e503197adf411890573b076d' }))));
530
530
  }
531
531
  static get is() { return "pds-modal"; }
532
532
  static get originalStyleUrls() {
@@ -77,7 +77,7 @@ export class MockPdsModal {
77
77
  'pds-modal__backdrop': true,
78
78
  'open': this.open,
79
79
  };
80
- return (h("div", { key: '1211583aae06cfa7726371ba18796d7704d9e468', class: backdropClasses }, h("div", { key: '8376a213a21b8f5ee78b9e58e2265d27ce957307', class: modalClasses, role: "dialog", "aria-modal": "true", "aria-labelledby": this.componentId ? `${this.componentId}-heading` : null, part: "modal" }, h("div", { key: '4dfcad52e69fa2f207ed09c3ee3a225a1d789e71', class: "pds-modal__header" }, h("slot", { key: '8d9710b91f6f83bc20b2f93b9e4e9fa5f59ae2ce', name: "header" })), h("div", { key: 'f3291bf921619eabb6d63aa80e006f94239325fc', class: "pds-modal-content" }, h("slot", { key: '19dca53455f9943e394d8ed9ea722a1a591e5de6' })), h("div", { key: '835caa9692b1109649edc7d4daf308bb10ed0cd9', class: "pds-modal__footer" }, h("slot", { key: 'f30033b8f842923df9780b893d05428dc14452dc', name: "footer" })))));
80
+ return (h("div", { key: '3a526f6883d7e7df35985a145962f656621535c1', class: backdropClasses }, h("div", { key: '3af0487dc8c8831903cd7c22ffbf3e708b067ad7', class: modalClasses, role: "dialog", "aria-modal": "true", "aria-labelledby": this.componentId ? `${this.componentId}-heading` : null, part: "modal" }, h("div", { key: '94e6205042ee91dac0823901cc97b79e93a515f2', class: "pds-modal__header" }, h("slot", { key: 'ca04b575ccceabd431e3f5c57189f17f9aae6089', name: "header" })), h("div", { key: 'f8327a261e70b622add1dd4ee21b5f8e8d91e603', class: "pds-modal-content" }, h("slot", { key: 'a1a9c30d0f5479b0004ace4544e3d96ae87465be' })), h("div", { key: 'af5fa59922047eeec7cbf0a0e1ee4b472b16079c', class: "pds-modal__footer" }, h("slot", { key: '3c469bf94bb3a26dfd8046a5eda481f9d55edca1', name: "footer" })))));
81
81
  }
82
82
  static get is() { return "mock-pds-modal"; }
83
83
  static get originalStyleUrls() {
@@ -1229,10 +1229,10 @@ export class PdsMultiselect {
1229
1229
  }
1230
1230
  render() {
1231
1231
  const hasSelections = this.selectedItems.length > 0;
1232
- return (h(Host, { key: '295354c218d03a512ee87a9f19d2267a59731eb1', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: '8696c02fad869239fa85dcec7f92a3efb402c963', class: "pds-multiselect", onFocusout: this.handleContainerFocusOut }, this.label && (h("label", { key: '2a9cc565c5dbcf78305eb65e94d795669fb0f93b', id: `${this.componentId}-label`, htmlFor: this.componentId, class: {
1232
+ return (h(Host, { key: '0ef6791666063e0d951d28f980b3bca89cf24287', "aria-disabled": this.disabled ? 'true' : null }, h("div", { key: 'f0ccbabfbd2dcf38f6df52f73f2152eb4bd2828e', class: "pds-multiselect", onFocusout: this.handleContainerFocusOut }, this.label && (h("label", { key: '88e01c744644ce1f75c8d5b71dfaeeb79d1ef7df', id: `${this.componentId}-label`, htmlFor: this.componentId, class: {
1233
1233
  'pds-multiselect__label': true,
1234
1234
  'visually-hidden': this.hideLabel,
1235
- } }, this.label)), h("div", { key: '9358ebffb50e74fe4ceb9ca1c13cf819cc3e96e6', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), style: { width: this.triggerWidth } }, this.slottedTriggerEl ? (h("slot", { name: "trigger" })) : this.selectedDisplay === 'pill' && this.pillPosition === 'inline' ? (h("div", { ref: el => (this.pillInlineTriggerEl = el || undefined), part: "trigger", class: {
1235
+ } }, this.label)), h("div", { key: '0bf4a3b1378ff18e6d6b449507ebbae1bfb279e4', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), style: { width: this.triggerWidth } }, this.slottedTriggerEl ? (h("slot", { name: "trigger" })) : this.selectedDisplay === 'pill' && this.pillPosition === 'inline' ? (h("div", { ref: el => (this.pillInlineTriggerEl = el || undefined), part: "trigger", class: {
1236
1236
  'pds-multiselect__trigger': true,
1237
1237
  'pds-multiselect__trigger--open': this.isOpen,
1238
1238
  'pds-multiselect__trigger--disabled': this.disabled,
@@ -1248,7 +1248,7 @@ export class PdsMultiselect {
1248
1248
  }, id: this.componentId, disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.helperMessage, this.errorMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, h("span", { class: {
1249
1249
  'pds-multiselect__trigger-text': true,
1250
1250
  'pds-multiselect__trigger-text--placeholder': !hasSelections || (this.selectedDisplay === 'pill' && this.pillPosition === 'below'),
1251
- } }, this.getTriggerText()), h("pds-icon", { "aria-hidden": "true", class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), h("span", { key: '722da251199792366dc72b6c7f016e24ae807b30', class: "visually-hidden", "aria-live": "polite", "aria-atomic": "true" }, this.removalAnnouncement), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (h("p", { key: '7b4da9b2e04f53f3e8f245c119135f3b664897ec', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (h("p", { key: '95a152f6a350eee2f67dbab2930f19e583ca3b85', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: '7b9cded907054757a6f054d0d325811a2199e496', icon: danger, size: "small" }), this.errorMessage)), h("div", { key: '8b07974c8e2d838d76c17c3a52ba4282fb101968', style: { display: 'none' } }, h("slot", { key: '0a34d582bc4dd780072f00ac13bfdce7e297191e' })))));
1251
+ } }, this.getTriggerText()), h("pds-icon", { "aria-hidden": "true", class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), h("span", { key: '5202a263b219d06891bda739f98db0162bf33c48', class: "visually-hidden", "aria-live": "polite", "aria-atomic": "true" }, this.removalAnnouncement), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (h("p", { key: '47f7b55863c5b72d41c4ef1893b9364988fc0b56', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (h("p", { key: '3930dc30b2df7179d178873c470aa1da0f6f258c', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, h("pds-icon", { key: 'e31d55db3fd0173c56faa23e34e0be92371983d4', icon: danger, size: "small" }), this.errorMessage)), h("div", { key: 'b3326cc1a5e5886be05327a066e0a7ddd36ccefc', style: { display: 'none' } }, h("slot", { key: '91559cb9510abce6084348a17516460fd8545ef7' })))));
1252
1252
  }
1253
1253
  static get is() { return "pds-multiselect"; }
1254
1254
  static get encapsulation() { return "shadow"; }
@@ -2,6 +2,8 @@ import { Host, h } from "@stencil/core";
2
2
  import { containsComposed } from "../../utils/closest";
3
3
  import { restoreReflectedDefault } from "../../utils/reflected-attribute-default";
4
4
  import { setAttributesIfChanged } from "../../utils/attributes";
5
+ import { cssEscape } from "../../utils/css";
6
+ import { limitRestores } from "../../utils/keep-hydrated";
5
7
  /**
6
8
  * @slot trigger - The trigger element for the popover
7
9
  * @slot (default) - The content to display inside the popover
@@ -166,7 +168,8 @@ export class PdsPopover {
166
168
  this.triggerObserver = null;
167
169
  if (this.triggerEl == null || typeof MutationObserver === 'undefined')
168
170
  return;
169
- this.triggerObserver = new MutationObserver(() => this.linkTriggerToPortal());
171
+ // Capped against a script that keeps undoing it; opening and closing still write it directly.
172
+ this.triggerObserver = new MutationObserver(limitRestores(() => this.linkTriggerToPortal(), 'pds-popover: stopped restoring its trigger ARIA, as another script keeps changing it. It may be wrong until the popover opens or closes.', this.triggerEl));
170
173
  this.triggerObserver.observe(this.triggerEl, {
171
174
  attributes: true,
172
175
  attributeFilter: ['aria-expanded', 'aria-controls'],
@@ -176,9 +179,9 @@ export class PdsPopover {
176
179
  // This mirrors the native Popover API's accessibility behavior
177
180
  linkTriggerToPortal() {
178
181
  if (this.triggerEl == null || this.portalEl == null)
179
- return;
182
+ return false;
180
183
  // Skips values already in place, so the trigger observer's own callback doesn't loop.
181
- setAttributesIfChanged(this.triggerEl, { 'aria-expanded': String(this.active), 'aria-controls': this.portalEl.id });
184
+ return setAttributesIfChanged(this.triggerEl, { 'aria-expanded': String(this.active), 'aria-controls': this.portalEl.id });
182
185
  }
183
186
  // componentDidLoad doesn't run again when a popover comes back, so rebuild whatever
184
187
  // disconnectedCallback tore down. Each step is a no-op when nothing was.
@@ -285,22 +288,25 @@ export class PdsPopover {
285
288
  if (!this.portalEl)
286
289
  return;
287
290
  const portalId = this.portalEl.id;
291
+ // componentId comes from the consumer, so it can carry characters cssEscape needs to
292
+ // neutralize before the id is used as a selector or interpolated into stylesheet text.
293
+ const escapedPortalId = cssEscape(portalId);
288
294
  // Check if style element already exists
289
- const existingStyle = document.querySelector(`style[data-pds-popover-focus="${portalId}"]`);
295
+ const existingStyle = document.querySelector(`style[data-pds-popover-focus="${escapedPortalId}"]`);
290
296
  if (existingStyle)
291
297
  return;
292
298
  // Create style element with Pine's focus ring styles and dark mode border
293
299
  const styleEl = document.createElement('style');
294
300
  styleEl.setAttribute('data-pds-popover-focus', portalId);
295
301
  styleEl.textContent = `
296
- #${portalId}:focus {
302
+ #${escapedPortalId}:focus {
297
303
  outline: var(--pine-outline-focus, 2px solid var(--pine-color-focus-ring, #6366f1)) !important;
298
304
  outline-offset: var(--pine-border-width, 1px);
299
305
  }
300
- #${portalId}:focus:not(:focus-visible) {
306
+ #${escapedPortalId}:focus:not(:focus-visible) {
301
307
  outline: none;
302
308
  }
303
- [data-theme="dark"] #${portalId} {
309
+ [data-theme="dark"] #${escapedPortalId} {
304
310
  border: var(--pine-border);
305
311
  }
306
312
  `;
@@ -359,7 +365,7 @@ export class PdsPopover {
359
365
  }
360
366
  // Remove the associated focus style element
361
367
  const portalId = this.portalEl.id;
362
- const styleEl = document.querySelector(`style[data-pds-popover-focus="${portalId}"]`);
368
+ const styleEl = document.querySelector(`style[data-pds-popover-focus="${cssEscape(portalId)}"]`);
363
369
  if (styleEl && styleEl.parentNode) {
364
370
  styleEl.parentNode.removeChild(styleEl);
365
371
  }
@@ -635,7 +641,7 @@ export class PdsPopover {
635
641
  }, 16); // ~1 frame at 60fps
636
642
  }
637
643
  render() {
638
- return (h(Host, { key: '66347d4922274d25504e5be134b36f05a3f12fdc', id: this.componentId }, h("span", { key: '8f29d54d58cf0c66f86470c77c676716f1ab056f', class: "pds-popover__trigger-wrapper" }, h("slot", { key: '5c89b687cfc01e67d3c11835e77755de88f03584', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), h("div", { key: '0ca9aff3021720098d86ec29eb69cbf149ef79a9', class: "pds-popover__content-slot-wrapper" }, h("slot", { key: 'b73c3324d3322c41c68161e9ada51499c0e49cb0', onSlotchange: this.handleContentSlotChange }))));
644
+ return (h(Host, { key: 'd804db8c73e0dc2acf0d1bbca20edb77993ff7fd', id: this.componentId }, h("span", { key: '5408d1856c9b13b327ea13b43cffc23af925a82f', class: "pds-popover__trigger-wrapper" }, h("slot", { key: '9d0ff01292c67bdaa88d49114162c3c65ff8a20d', name: "trigger", onSlotchange: this.handleTriggerSlotChange })), h("div", { key: 'cdd38016453ea1838d5718fb8e190cd4304ac8cc', class: "pds-popover__content-slot-wrapper" }, h("slot", { key: '9faf60d7be7a2ff3c5fe6c3e4de374bafadf848a', onSlotchange: this.handleContentSlotChange }))));
639
645
  }
640
646
  static get is() { return "pds-popover"; }
641
647
  static get encapsulation() { return "shadow"; }
@@ -30,7 +30,7 @@ export class PdsProgress {
30
30
  const normalizedFillColor = normalizeColorValue(this.fillColor);
31
31
  const hostClass = this.animated ? { 'is-animated': this.animated } : '';
32
32
  this.hostKeeper.record(hostClass);
33
- return (h(Host, { key: '5573a5c48eee2f7968835db92afdaebb73c1b85e', class: hostClass }, h("div", { key: 'bb5cf260495be798f4272673884336022c28441e', class: "pds-progress" }, h("label", { key: '017efa649ada73ec724b930e06bbf1ab19a18f61', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: 'e648d910b072b7b2ca1c4a92c0832bf6e2ef5406', id: this.componentId, max: "100", style: normalizedFillColor ? { '--color-progress-fill': normalizedFillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: '1f9f1733ff2cd6e2ec81e9a46759ff451cf158f7', class: "pds-progress__percentage" }, this.percent, "%")));
33
+ return (h(Host, { key: 'a224e1e9bc50433553ab8bf4b0d772f01148ee76', class: hostClass }, h("div", { key: '261742044f3d68c204cbf640cc4447eb6d74df11', class: "pds-progress" }, h("label", { key: 'd686bdc6ab450bf8c14dd56077525a3139593f46', class: "pds-progress__label", htmlFor: this.componentId }, this.label), h("progress", { key: 'c716e977a952a628aec600fa680aa9c3b8d0e996', id: this.componentId, max: "100", style: normalizedFillColor ? { '--color-progress-fill': normalizedFillColor } : {}, value: this.percent })), this.showPercent && h("div", { key: '44176a580b435f69993be4a60ee2e888b87e10fb', class: "pds-progress__percentage" }, this.percent, "%")));
34
34
  }
35
35
  static get is() { return "pds-progress"; }
36
36
  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: '0f6195faaaf3adb11ad14f09a36c78f94e2bdf65', id: this.componentId }, h("pds-box", { key: '0a9670c0e38065f5fbe035b81703e21155396ff8', "align-items": "center", gap: "xs" }, h("pds-icon", { key: '13b497e8670bc5210a752b8c24b9fd6397b1a8c9', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: 'a9b3cf5fd830b7551f68866a62341670f8b61b34' }))));
13
+ return (h(Host, { key: 'd599b62be4bacf1d89afcc26b14fc93bdc9bb3a4', id: this.componentId }, h("pds-box", { key: 'd7f80f6598615c761d672893c8acab09bd9ea33f', "align-items": "center", gap: "xs" }, h("pds-icon", { key: '15a6a6545c2cd2332bd830451106b7b08adc39ff', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), h("slot", { key: '4e5661563b99ec56189447faabcdd1ae631159b2' }))));
14
14
  }
15
15
  static get is() { return "pds-property"; }
16
16
  static get encapsulation() { return "shadow"; }
@@ -99,13 +99,13 @@ export class PdsRadio {
99
99
  }
100
100
  render() {
101
101
  const renderLabelAndMessages = () => [
102
- h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, h("input", { key: 'add893cd82f79b9398589bd5c0a72d5ae4a90475', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage, this.errorMessage), "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: 'b58eed8681d1932397d38ffe82515987e6486e08', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)),
102
+ h("label", { htmlFor: this.componentId, key: `${this.componentId}-label` }, h("input", { key: 'ccd618855831bcee309e815f2cd2712fd4e8fe1f', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage, this.errorMessage), "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: '2e372a880c28f48fb804bac2518208082c141fad', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)),
103
103
  this.helperMessage && (h("div", { key: `${this.componentId}-helper`, class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage)),
104
- 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: '7374924219e59eab46a7ced9e7062c3e674b4451', icon: danger, size: "small" }), this.errorMessage))
104
+ 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: '889d502575f6a162f450b6b58d76a6f6f1c74e4b', icon: danger, size: "small" }), this.errorMessage))
105
105
  ];
106
106
  const hostClass = this.classNames();
107
107
  this.hostKeeper.record(hostClass);
108
- return (h(Host, { key: '24269923f168d1d39ebfc1994619736f0dc8087a', class: hostClass }, this.hasImage() && (h("div", { key: '74a72bef89aa012047cbf3a1744fcd33f13bb464', class: "pds-radio__image-container", part: "image-container" }, h("slot", { key: '99dbcfdac86cb7c012fd44eab607217e21304bab', name: "image", onSlotchange: () => (this._hasImage = this.hasImageSlot()) }))), this.hasImage() ? (h("div", { class: "pds-radio__content-wrapper" }, renderLabelAndMessages())) : (renderLabelAndMessages())));
108
+ return (h(Host, { key: '374003032b28407581a55f1fb0a304c49acf3c16', class: hostClass }, this.hasImage() && (h("div", { key: '7eeb516267de1afcfa85fc7567999db488c2f4f5', class: "pds-radio__image-container", part: "image-container" }, h("slot", { key: 'a312fea06f0c015bffab3bb392ff04d4913fd1c0', name: "image", onSlotchange: () => (this._hasImage = this.hasImageSlot()) }))), this.hasImage() ? (h("div", { class: "pds-radio__content-wrapper" }, renderLabelAndMessages())) : (renderLabelAndMessages())));
109
109
  }
110
110
  static get is() { return "pds-radio"; }
111
111
  static get encapsulation() { return "scoped"; }
@@ -161,13 +161,13 @@ export class PdsRadioGroup {
161
161
  render() {
162
162
  const gapValue = this.getGapValue();
163
163
  const ariaDescribedBy = this.getAriaDescribedBy();
164
- return (h(Host, { key: '9dc78eb36bbc1b872f4320203dbbc64e43816ebf', class: this.classNames(), id: this._groupId, role: "group", "aria-describedby": ariaDescribedBy, style: {
164
+ return (h(Host, { key: 'bf8063c1a99e272bb3f6bc647998a6ef103f8a71', class: this.classNames(), id: this._groupId, role: "group", "aria-describedby": ariaDescribedBy, style: {
165
165
  '--pds-radio-group-gap': gapValue,
166
- } }, this.groupLabel && (h("div", { key: '7b6f95608dcf356b141ef5d590ff3070f83b5975', class: "pds-radio-group__label" }, this.groupLabel)), h("div", { key: '6e1a634c9b81ca3f3bbbe9c6590bcd4efc97e6ea', class: {
166
+ } }, this.groupLabel && (h("div", { key: '8564ed3f8f99cdc1a0e5b189aacc6960923eb5f7', class: "pds-radio-group__label" }, this.groupLabel)), h("div", { key: '2309c9373790182cde030c1dbda88fa3bdcaaf12', class: {
167
167
  'pds-radio-group__radios': true,
168
168
  'pds-radio-group__radios--row': this.direction === 'row',
169
169
  'pds-radio-group__radios--column': this.direction === 'column',
170
- } }, h("slot", { key: 'b5b16148f3c77d425a50b7ada8a822e9919ef5c5', onSlotchange: () => this.updateChildRadios() })), this.helperMessage && (h("div", { key: 'ca6b98f926b8d7a53fda630170ac037c99f5ee85', class: "pds-radio-group__message", id: messageId(this._groupId, 'helper') }, this.helperMessage)), this.errorMessage && (h("div", { key: '37b57e2622370364e619ea090712a7b79fe79501', class: "pds-radio-group__message pds-radio-group__message--error", id: messageId(this._groupId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: '6a362d048a67312b1b227f71cc4b8f821ae0817e', icon: danger, size: "small" }), this.errorMessage))));
170
+ } }, h("slot", { key: 'd88dde3c631e25c01bc7b6d3ef5d517255fabd1a', onSlotchange: () => this.updateChildRadios() })), this.helperMessage && (h("div", { key: 'a229214ed01663b0fc34f35e27c7148b4eb412ab', class: "pds-radio-group__message", id: messageId(this._groupId, 'helper') }, this.helperMessage)), this.errorMessage && (h("div", { key: 'dc092f2e6dbef0cb369cf00a6eccf9a095a0313d', class: "pds-radio-group__message pds-radio-group__message--error", id: messageId(this._groupId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'd242da328731e55fa52d8e624fdfc750bfa6cce4', icon: danger, size: "small" }), this.errorMessage))));
171
171
  }
172
172
  static get is() { return "pds-radio-group"; }
173
173
  static get encapsulation() { return "scoped"; }
@@ -67,7 +67,7 @@ export class PdsRow {
67
67
  'min-height': this.minHeight,
68
68
  }));
69
69
  this.hostKeeper.record(`pds-row ${rowClasses}`, rowInlineStyles);
70
- return h(Host, { key: 'ee3a32ae1376919c7c2d1fcf186a1b7c272ee085', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
70
+ return h(Host, { key: '78a505fef7132f9545916155d2485a6d2df8f4a5', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
71
71
  }
72
72
  static get is() { return "pds-row"; }
73
73
  static get originalStyleUrls() {
@@ -240,7 +240,7 @@ export class PdsSelect {
240
240
  'has-action': hasAction && !this.hideLabel ? 'true' : null,
241
241
  };
242
242
  this.hostKeeper.record(hostClass, {}, hostAttributes);
243
- return (h(Host, Object.assign({ key: 'c99bfc000ad351298e154554a8b22635b1abb718', class: hostClass }, hostAttributes), h("div", { key: '35374b150cbef745c6a6068ba5a2fde0803c0314', class: "pds-select" }, !this.hideLabel && (h("div", { key: 'a3b9bae451c5c384606790a29bf8ab5fc70427c0', class: "pds-select__label-wrapper" }, h("label", { key: '80d7740a05a6d3cce6d51224169eb6c2501c4896', htmlFor: this.componentId }, h("span", { key: 'a51c02d7c84f75bb168889dab50cae807271c63d', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: '11444dad795bd02c008252a60e701125861e4af0', "aria-describedby": assignDescription(this.componentId, this.isInvalid(), this.helperMessage, this.errorMessage), "aria-invalid": this.isInvalid() ? 'true' : undefined, "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: 'ce54fa1df287d96a7503bb19cd2ba6c74a6da638', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: '22c55e78999076a37d43fb708dabc7379dd4cee3', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: '45628074fbcdb259b8bba42299082423309a6968', "aria-hidden": "true", class: "pds-select__select-icon", icon: enlarge }))));
243
+ return (h(Host, Object.assign({ key: '343ed671e67dd1d6f9eb284b07e06d59877c64e9', class: hostClass }, hostAttributes), h("div", { key: '650aed0869b02f658feb16ee99f17e1cd22e5a8e', class: "pds-select" }, !this.hideLabel && (h("div", { key: '74739461acbea33c92279ec8ec9042d6af1773c1', class: "pds-select__label-wrapper" }, h("label", { key: '1ad96ffd243000358edfbd79054ee770e1ba97d3', htmlFor: this.componentId }, h("span", { key: 'b832868db4f9cd4fd2f8313054d2e96e106189ab', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), h("select", { key: 'e83c1a1a0a5646fc8abf9e50bc374f52b56be773', "aria-describedby": assignDescription(this.componentId, this.isInvalid(), this.helperMessage, this.errorMessage), "aria-invalid": this.isInvalid() ? 'true' : undefined, "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: 'a34880120b88124b5122350856d023368f96abf7', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, h("slot", { key: 'df6abaf6a630761a32b263813181ff3453757e0d', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && h("pds-icon", { key: 'f9197284ef9965d693242a652b583f48bc3d7097', "aria-hidden": "true", class: "pds-select__select-icon", icon: enlarge }))));
244
244
  }
245
245
  static get is() { return "pds-select"; }
246
246
  static get encapsulation() { return "shadow"; }
@@ -48,7 +48,7 @@ export class PdsSortableItem {
48
48
  }
49
49
  render() {
50
50
  this.hostKeeper.record('pds-sortable-item');
51
- return (h(Host, { key: '3f9098a7c938bfa6443f08fb8b0a7c7217230890', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '77718a6867ddd8bc029bb3ef995f6ee9a5999ce7', class: "pds-sortable-item__handle" }, h("pds-icon", { key: 'aad7f46e776ece85858798f8f1a1a50c9022b84f', "aria-hidden": "true", icon: handleIcon }))), h("slot", { key: 'afa9346ec8fd7aa6132a15dd44d3b1cae24500b9' }), this.enableActions && (h("div", { key: 'c28c85391117542999c12d673879768394002c90', class: "pds-sortable-item__actions" }, h("slot", { key: '88ab53f3ba4ed47715e31935b861d9ab42342b32', name: "sortable-item-actions" })))));
51
+ return (h(Host, { key: '2065ccb474ae4b7032edc3c37aa6855f3048909d', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (h("div", { key: '32385cc94837a3d0bc1c496615135c79274afe35', class: "pds-sortable-item__handle" }, h("pds-icon", { key: 'ea94e28b2867aa20622ca073dc31d3b4a11eebbb', "aria-hidden": "true", icon: handleIcon }))), h("slot", { key: 'fb18aa90be0b8fa3832a5dd2b02a7b571205341f' }), this.enableActions && (h("div", { key: '4c6e59d77a7b2183552533a544f4a70ce0cc7011', class: "pds-sortable-item__actions" }, h("slot", { key: '497b1ff88436175d9365a28032e109b6fa118e44', name: "sortable-item-actions" })))));
52
52
  }
53
53
  static get is() { return "pds-sortable-item"; }
54
54
  static get encapsulation() { return "scoped"; }
@@ -70,7 +70,7 @@ export class PdsSortable {
70
70
  render() {
71
71
  const classNames = this.classNames();
72
72
  this.hostKeeper.record(classNames);
73
- return (h(Host, { key: 'fb6e9a79babf01980c04ee7208d195510493a7dc', class: classNames, id: this.componentId }, h("slot", { key: '5735ca3af531a736f07d1fafde8ae544d00a75bb' })));
73
+ return (h(Host, { key: 'a0e532d31561748b4632a6be9163562f990af804', class: classNames, id: this.componentId }, h("slot", { key: 'd1b0defb683f841e6708374fff4bf62eb7fd5080' })));
74
74
  }
75
75
  static get is() { return "pds-sortable"; }
76
76
  static get encapsulation() { return "scoped"; }
@@ -101,9 +101,9 @@ export class PdsSwitch {
101
101
  const hostClass = this.switchClassNames();
102
102
  const ariaDisabled = this.disabled ? 'true' : null;
103
103
  this.hostKeeper.record(hostClass, {}, { 'aria-disabled': ariaDisabled });
104
- return (h(Host, { key: '6d4b51307f2619a99981e344f782f69871aabf0f', class: hostClass, "aria-disabled": ariaDisabled }, h("label", { key: '068ef3759e2bc3d9870cff36714de0e9cf558b2b', htmlFor: this.componentId }, h("input", Object.assign({ key: 'aa28fb67332bb2d81c09b6c749c1cb0f079e327f', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage, this.errorMessage), "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: 'd237980a9ce2abc04d57085df022f28dfa2768e4', class: this.hideLabel ? 'visually-hidden' : '' }, h("slot", { key: '83d0e2110cfdcd3208319302af237178dfd419a4', name: "label", onSlotchange: this.updateHasLabelSlot }), !this.hasLabelSlot && this.label)), this.helperMessage &&
105
- h("div", { key: '137d9e5626b34ade33f68c4c24c3dcb154500dc6', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
106
- h("div", { key: '64c3b8884d0568e26953f67a95d045aa5731c41f', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'f99f8045eb33d0c60518f3b4c6a0183170a50f4a', icon: danger, size: "small" }), this.errorMessage)));
104
+ return (h(Host, { key: 'ee8576e523348ff9eed1b6087626849bb0966608', class: hostClass, "aria-disabled": ariaDisabled }, h("label", { key: '09433b5356d718be65f4f2eb61f35fff1d000e10', htmlFor: this.componentId }, h("input", Object.assign({ key: 'f996a0fad56119674cfb7d95e1444bf411b64396', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage, this.errorMessage), "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: '4b23305d3cc0f5b37b23c6b79a14cfba57c16816', class: this.hideLabel ? 'visually-hidden' : '' }, h("slot", { key: '258b5ccf0d4b01518df3a37772d694cb37569ffa', name: "label", onSlotchange: this.updateHasLabelSlot }), !this.hasLabelSlot && this.label)), this.helperMessage &&
105
+ h("div", { key: 'c8196fa2ce832de3a8c6d987a78fd65d791c4c59', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
106
+ h("div", { key: '948894dd2e642689af6cad545a0b31f7c4711d87', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, h("pds-icon", { key: 'd4b72b49bfd38a396b8f7c0686e1b2ef92d65491', icon: danger, size: "small" }), this.errorMessage)));
107
107
  }
108
108
  static get is() { return "pds-switch"; }
109
109
  static get encapsulation() { return "shadow"; }
@@ -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: '0278bf4c680e9054748039dddbbb5cfcce3bb4e6', role: "rowgroup", part: "body" }, h("slot", { key: '44cf68f3b0dff78312a3d31d898209544ce8131e' })));
4
+ return (h(Host, { key: '817532e93c8f91ef64cd0f90aa6c4372c3b7d83f', role: "rowgroup", part: "body" }, h("slot", { key: '296ba876c6716e85252a06008bd55d59624223e3' })));
5
5
  }
6
6
  static get is() { return "pds-table-body"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -123,11 +123,11 @@ export class PdsTableCell {
123
123
  return classNames.join(' ');
124
124
  }
125
125
  render() {
126
- return (h(Host, { key: 'c32bd43c6080e9a8a98578016973de9025e5d367', class: this.classNames(), role: "gridcell", part: "cell", style: this.tableRef &&
126
+ return (h(Host, { key: 'bedaeeb5723299656f872a760ed1dd80c7fe8793', class: this.classNames(), role: "gridcell", part: "cell", style: this.tableRef &&
127
127
  this.tableRef.fixedColumn &&
128
128
  this.tableRef.selectable
129
129
  ? { '--fixed-cell-position': '40px' }
130
- : {} }, h("slot", { key: '5b2af30784f41dcc7a0f66187f222ec2472f207f' })));
130
+ : {} }, h("slot", { key: '45182ee3e004097660432f552780b3d27671bd46' })));
131
131
  }
132
132
  static get is() { return "pds-table-cell"; }
133
133
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class PdsTableHead {
42
42
  }
43
43
  }
44
44
  render() {
45
- return (h(Host, { key: 'ca88406002f440e9b9eefa639dac056e85403bd8', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: '7c1939791a0573c6eccdec66d7b6d5de122a42c1', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, !this.tableRef.disableSelectAll && (h("pds-checkbox", { key: '3a8581bbf9b5fc26396937e7d0bab370f6078090', 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: 'a736a10378936d4e4de5b139f3f57a345483c1bb' })));
45
+ return (h(Host, { key: 'de3faae735e90f5fde1258b5acb826f5f9dbd170', role: "row", part: "head" }, this.tableRef && this.tableRef.selectable && (h("pds-table-head-cell", { key: 'e590e57c8b37ec0ad18e96077401c4692bbd45a4', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, !this.tableRef.disableSelectAll && (h("pds-checkbox", { key: '44ca7eda63185672939909e121a86e6502080a7d', 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: '0671df85d7989cff7266bfd3d1b4d62b332d2e81' })));
46
46
  }
47
47
  static get is() { return "pds-table-head"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -199,11 +199,11 @@ export class PdsTableHeadCell {
199
199
  return classNames.join(' ');
200
200
  }
201
201
  render() {
202
- return (h(Host, { key: 'de7b2fb674def0a8046e1940488d435176dc9851', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, part: "head-cell", style: this.tableRef &&
202
+ return (h(Host, { key: '13de42d136c5b037cd1545cd5b789b4660e23b87', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, part: "head-cell", style: this.tableRef &&
203
203
  this.tableRef.fixedColumn &&
204
204
  this.tableRef.selectable
205
205
  ? { '--fixed-cell-position': '40px' }
206
- : {} }, h("slot", { key: '4ada173faf7d106cca34920540703a1d04f7e5bd' }), this.sortable && this.isActive && (h("pds-icon", { key: '1b0e87d74b6fa359e901a8e66479f37a88cdcf1c', icon: this.sortingDirection === 'asc' ? upSmall : downSmall, part: "sort-icon" }))));
206
+ : {} }, h("slot", { key: '96084d87a34d7b601a8e8325f344f1fe6601204e' }), this.sortable && this.isActive && (h("pds-icon", { key: 'cba838fa029b280561676c2b57af7f8f00055511', icon: this.sortingDirection === 'asc' ? upSmall : downSmall, part: "sort-icon" }))));
207
207
  }
208
208
  static get is() { return "pds-table-head-cell"; }
209
209
  static get encapsulation() { return "shadow"; }
@@ -137,7 +137,7 @@ export class PdsTableRow {
137
137
  }
138
138
  }
139
139
  render() {
140
- return (h(Host, { key: '16ca08eefa74468559a1c084b7619836f01b27af', class: this.classNames(), role: "row", part: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { key: '4b4d2ae15d519e08cd6710ddb6759923d478457c', part: this.tableRef.fixedColumn ? 'checkbox-cell' : 'checkbox-cell', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { key: '78b9a731113cce82c59f40713561033f563ffc5f', componentId: this.generateUniqueId(), onPdsCheckboxChange: this.handleCheckboxChange, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected, part: "row-checkbox" }))), h("slot", { key: '5522f2335912f59013e9fc1e1fc6070d645cd519' })));
140
+ return (h(Host, { key: '5323521abc5c2464299cf77520fb38ec81297866', class: this.classNames(), role: "row", part: "row" }, this.tableRef && this.tableRef.selectable && (h("pds-table-cell", { key: 'eb94dd282f885d3466b6177b2454cbcc4f932466', part: this.tableRef.fixedColumn ? 'checkbox-cell' : 'checkbox-cell', class: this.tableRef.selectable ? 'has-checkbox' : '' }, h("pds-checkbox", { key: '222eaaedd4bebddc18cebf01bf4da81004773a96', componentId: this.generateUniqueId(), onPdsCheckboxChange: this.handleCheckboxChange, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected, part: "row-checkbox" }))), h("slot", { key: '010f222fa02b1809ff818f7a030c2a12fc3e3abb' })));
141
141
  }
142
142
  static get is() { return "pds-table-row"; }
143
143
  static get encapsulation() { return "shadow"; }