@pine-ds/core 3.22.1 → 3.24.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 (607) hide show
  1. package/components/floating-ui.dom.js +142 -129
  2. package/components/floating-ui.dom.js.map +1 -1
  3. package/components/form.js +14 -1
  4. package/components/form.js.map +1 -1
  5. package/components/index.d.ts +2 -0
  6. package/components/index.js +1 -0
  7. package/components/index.js.map +1 -1
  8. package/components/index2.js +1 -1
  9. package/components/index2.js.map +1 -1
  10. package/components/mock-pds-modal.js +1 -1
  11. package/components/pds-alert.js +1 -1
  12. package/components/pds-alert.js.map +1 -1
  13. package/components/pds-avatar.js +1 -1
  14. package/components/pds-avatar.js.map +1 -1
  15. package/components/pds-checkbox2.js +5 -7
  16. package/components/pds-checkbox2.js.map +1 -1
  17. package/components/pds-chip2.js +1 -1
  18. package/components/pds-chip2.js.map +1 -1
  19. package/components/pds-combobox.js +46 -41
  20. package/components/pds-combobox.js.map +1 -1
  21. package/components/pds-container.d.ts +11 -0
  22. package/components/pds-container.js +61 -0
  23. package/components/pds-container.js.map +1 -0
  24. package/components/pds-copytext.js +1 -1
  25. package/components/pds-divider.js +1 -1
  26. package/components/pds-dropdown-menu-item.js +1 -1
  27. package/components/pds-dropdown-menu-item.js.map +1 -1
  28. package/components/pds-dropdown-menu-separator.js +1 -1
  29. package/components/pds-dropdown-menu.js +1 -1
  30. package/components/pds-filter.js +1 -1
  31. package/components/pds-filters.js +1 -1
  32. package/components/pds-image.js +2 -2
  33. package/components/pds-input.js +4 -2
  34. package/components/pds-input.js.map +1 -1
  35. package/components/pds-link2.js +2 -2
  36. package/components/pds-loader2.js +1 -1
  37. package/components/pds-modal-content.js +2 -2
  38. package/components/pds-modal-footer.js +1 -1
  39. package/components/pds-modal-header.js +1 -1
  40. package/components/pds-modal.js +3 -3
  41. package/components/pds-multiselect.js +199 -40
  42. package/components/pds-multiselect.js.map +1 -1
  43. package/components/pds-select.js +4 -2
  44. package/components/pds-select.js.map +1 -1
  45. package/components/pds-sortable-item.js +1 -1
  46. package/components/pds-sortable-item.js.map +1 -1
  47. package/components/pds-sortable.js +98 -93
  48. package/components/pds-sortable.js.map +1 -1
  49. package/components/pds-switch.js +5 -7
  50. package/components/pds-switch.js.map +1 -1
  51. package/components/pds-textarea.js +8 -6
  52. package/components/pds-textarea.js.map +1 -1
  53. package/components/pds-toast.js +3 -3
  54. package/components/pds-toast.js.map +1 -1
  55. package/dist/cjs/{floating-ui.dom-Ca6tS7ef.js → floating-ui.dom-BZk7Blsu.js} +144 -131
  56. package/dist/cjs/floating-ui.dom-BZk7Blsu.js.map +1 -0
  57. package/dist/cjs/{form-DUqlzovE.js → form-CpM5Z8q7.js} +16 -2
  58. package/dist/cjs/form-CpM5Z8q7.js.map +1 -0
  59. package/dist/cjs/{index-D8mNsvM8.js → index-DGBoDsAL.js} +3 -3
  60. package/dist/cjs/index-DGBoDsAL.js.map +1 -0
  61. package/dist/cjs/loader.cjs.js +1 -1
  62. package/dist/cjs/mock-pds-modal.cjs.entry.js +1 -1
  63. package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
  64. package/dist/cjs/pds-alert.cjs.entry.js +1 -1
  65. package/dist/cjs/pds-alert.entry.cjs.js.map +1 -1
  66. package/dist/cjs/pds-avatar.cjs.entry.js +2 -2
  67. package/dist/cjs/pds-avatar.entry.cjs.js.map +1 -1
  68. package/dist/cjs/pds-button.cjs.entry.js +1 -1
  69. package/dist/cjs/pds-checkbox.cjs.entry.js +6 -8
  70. package/dist/cjs/pds-checkbox.entry.cjs.js.map +1 -1
  71. package/dist/cjs/pds-chip.cjs.entry.js +2 -2
  72. package/dist/cjs/pds-chip.entry.cjs.js.map +1 -1
  73. package/dist/cjs/pds-combobox.cjs.entry.js +46 -42
  74. package/dist/cjs/pds-combobox.entry.cjs.js.map +1 -1
  75. package/dist/cjs/pds-container.cjs.entry.js +37 -0
  76. package/dist/cjs/pds-container.entry.cjs.js.map +1 -0
  77. package/dist/cjs/pds-copytext.cjs.entry.js +4 -4
  78. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  79. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +1 -1
  80. package/dist/cjs/pds-dropdown-menu-item.entry.cjs.js.map +1 -1
  81. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +1 -1
  82. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +2 -2
  83. package/dist/cjs/pds-filter.cjs.entry.js +2 -2
  84. package/dist/cjs/pds-filters.cjs.entry.js +1 -1
  85. package/dist/cjs/pds-image.cjs.entry.js +2 -2
  86. package/dist/cjs/pds-input.cjs.entry.js +5 -3
  87. package/dist/cjs/pds-input.entry.cjs.js.map +1 -1
  88. package/dist/cjs/pds-link.cjs.entry.js +3 -3
  89. package/dist/cjs/pds-loader.cjs.entry.js +1 -1
  90. package/dist/cjs/pds-modal-content.cjs.entry.js +2 -2
  91. package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
  92. package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
  93. package/dist/cjs/pds-modal.cjs.entry.js +3 -3
  94. package/dist/cjs/pds-multiselect.cjs.entry.js +187 -38
  95. package/dist/cjs/pds-multiselect.entry.cjs.js.map +1 -1
  96. package/dist/cjs/pds-radio-group.cjs.entry.js +2 -2
  97. package/dist/cjs/pds-radio.cjs.entry.js +2 -2
  98. package/dist/cjs/pds-select.cjs.entry.js +5 -3
  99. package/dist/cjs/pds-select.entry.cjs.js.map +1 -1
  100. package/dist/cjs/pds-sortable-item.cjs.entry.js +2 -2
  101. package/dist/cjs/pds-sortable-item.entry.cjs.js.map +1 -1
  102. package/dist/cjs/pds-sortable.cjs.entry.js +95 -93
  103. package/dist/cjs/pds-sortable.entry.cjs.js.map +1 -1
  104. package/dist/cjs/pds-switch.cjs.entry.js +6 -8
  105. package/dist/cjs/pds-switch.entry.cjs.js.map +1 -1
  106. package/dist/cjs/pds-table-cell.cjs.entry.js +2 -2
  107. package/dist/cjs/pds-table-head-cell.cjs.entry.js +1 -1
  108. package/dist/cjs/pds-text.cjs.entry.js +2 -2
  109. package/dist/cjs/pds-textarea.cjs.entry.js +9 -7
  110. package/dist/cjs/pds-textarea.entry.cjs.js.map +1 -1
  111. package/dist/cjs/pds-toast.cjs.entry.js +3 -3
  112. package/dist/cjs/pds-toast.entry.cjs.js.map +1 -1
  113. package/dist/cjs/pds-tooltip.cjs.entry.js +1 -1
  114. package/dist/cjs/pine-core.cjs.js +1 -1
  115. package/dist/cjs/{truncation-tooltip-BGGnm8SZ.js → truncation-tooltip-CVzAha5B.js} +3 -3
  116. package/dist/cjs/{truncation-tooltip-BGGnm8SZ.js.map → truncation-tooltip-CVzAha5B.js.map} +1 -1
  117. package/dist/collection/collection-manifest.json +1 -0
  118. package/dist/collection/components/pds-alert/pds-alert.js +2 -1
  119. package/dist/collection/components/pds-alert/pds-alert.js.map +1 -1
  120. package/dist/collection/components/pds-avatar/pds-avatar.js +3 -1
  121. package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -1
  122. package/dist/collection/components/pds-checkbox/pds-checkbox.js +5 -7
  123. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -1
  124. package/dist/collection/components/pds-chip/pds-chip.js +2 -1
  125. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
  126. package/dist/collection/components/pds-combobox/pds-combobox.css +5 -0
  127. package/dist/collection/components/pds-combobox/pds-combobox.js +53 -37
  128. package/dist/collection/components/pds-combobox/pds-combobox.js.map +1 -1
  129. package/dist/collection/components/pds-container/pds-container.css +26 -0
  130. package/dist/collection/components/pds-container/pds-container.js +112 -0
  131. package/dist/collection/components/pds-container/pds-container.js.map +1 -0
  132. package/dist/collection/components/pds-container/stories/pds-container.stories.js +89 -0
  133. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  134. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  135. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +4 -1
  136. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js.map +1 -1
  137. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +1 -1
  138. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +1 -1
  139. package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +1 -1
  140. package/dist/collection/components/pds-filters/pds-filters.js +1 -1
  141. package/dist/collection/components/pds-image/pds-image.js +2 -2
  142. package/dist/collection/components/pds-input/pds-input.js +4 -2
  143. package/dist/collection/components/pds-input/pds-input.js.map +1 -1
  144. package/dist/collection/components/pds-link/pds-link.js +2 -2
  145. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  146. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
  147. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
  148. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
  149. package/dist/collection/components/pds-modal/pds-modal.js +3 -3
  150. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
  151. package/dist/collection/components/pds-multiselect/multiselect-interface.js.map +1 -1
  152. package/dist/collection/components/pds-multiselect/pds-multiselect.css +83 -1
  153. package/dist/collection/components/pds-multiselect/pds-multiselect.js +258 -37
  154. package/dist/collection/components/pds-multiselect/pds-multiselect.js.map +1 -1
  155. package/dist/collection/components/pds-multiselect/stories/pds-multiselect.stories.js +226 -0
  156. package/dist/collection/components/pds-select/pds-select.js +4 -2
  157. package/dist/collection/components/pds-select/pds-select.js.map +1 -1
  158. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +12 -2
  159. package/dist/collection/components/pds-sortable/pds-sortable.js +46 -4
  160. package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -1
  161. package/dist/collection/components/pds-sortable/sortable-interface.js.map +1 -1
  162. package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +19 -4
  163. package/dist/collection/components/pds-switch/pds-switch.js +5 -7
  164. package/dist/collection/components/pds-switch/pds-switch.js.map +1 -1
  165. package/dist/collection/components/pds-textarea/pds-textarea.js +8 -6
  166. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
  167. package/dist/collection/components/pds-toast/pds-toast.js +6 -3
  168. package/dist/collection/components/pds-toast/pds-toast.js.map +1 -1
  169. package/dist/collection/utils/form.js +13 -0
  170. package/dist/collection/utils/form.js.map +1 -1
  171. package/dist/docs.json +346 -15
  172. package/dist/esm/{floating-ui.dom-BO6p966C.js → floating-ui.dom-DDtwbwIl.js} +144 -131
  173. package/dist/esm/floating-ui.dom-DDtwbwIl.js.map +1 -0
  174. package/dist/esm/{form-CN-lL5QG.js → form-C3xDZBme.js} +16 -3
  175. package/dist/esm/form-C3xDZBme.js.map +1 -0
  176. package/dist/esm/{index-Bmf4Ow_8.js → index-D4ys0pep.js} +3 -3
  177. package/dist/esm/index-D4ys0pep.js.map +1 -0
  178. package/dist/esm/loader.js +1 -1
  179. package/dist/esm/mock-pds-modal.entry.js +1 -1
  180. package/dist/esm/pds-accordion.entry.js +1 -1
  181. package/dist/esm/pds-alert.entry.js +1 -1
  182. package/dist/esm/pds-alert.entry.js.map +1 -1
  183. package/dist/esm/pds-avatar.entry.js +2 -2
  184. package/dist/esm/pds-avatar.entry.js.map +1 -1
  185. package/dist/esm/pds-button.entry.js +1 -1
  186. package/dist/esm/pds-checkbox.entry.js +6 -8
  187. package/dist/esm/pds-checkbox.entry.js.map +1 -1
  188. package/dist/esm/pds-chip.entry.js +2 -2
  189. package/dist/esm/pds-chip.entry.js.map +1 -1
  190. package/dist/esm/pds-combobox.entry.js +46 -42
  191. package/dist/esm/pds-combobox.entry.js.map +1 -1
  192. package/dist/esm/pds-container.entry.js +35 -0
  193. package/dist/esm/pds-container.entry.js.map +1 -0
  194. package/dist/esm/pds-copytext.entry.js +4 -4
  195. package/dist/esm/pds-divider.entry.js +1 -1
  196. package/dist/esm/pds-dropdown-menu-item.entry.js +1 -1
  197. package/dist/esm/pds-dropdown-menu-item.entry.js.map +1 -1
  198. package/dist/esm/pds-dropdown-menu-separator.entry.js +1 -1
  199. package/dist/esm/pds-dropdown-menu.entry.js +2 -2
  200. package/dist/esm/pds-filter.entry.js +2 -2
  201. package/dist/esm/pds-filters.entry.js +1 -1
  202. package/dist/esm/pds-image.entry.js +2 -2
  203. package/dist/esm/pds-input.entry.js +5 -3
  204. package/dist/esm/pds-input.entry.js.map +1 -1
  205. package/dist/esm/pds-link.entry.js +3 -3
  206. package/dist/esm/pds-loader.entry.js +1 -1
  207. package/dist/esm/pds-modal-content.entry.js +2 -2
  208. package/dist/esm/pds-modal-footer.entry.js +1 -1
  209. package/dist/esm/pds-modal-header.entry.js +1 -1
  210. package/dist/esm/pds-modal.entry.js +3 -3
  211. package/dist/esm/pds-multiselect.entry.js +187 -38
  212. package/dist/esm/pds-multiselect.entry.js.map +1 -1
  213. package/dist/esm/pds-radio-group.entry.js +2 -2
  214. package/dist/esm/pds-radio.entry.js +2 -2
  215. package/dist/esm/pds-select.entry.js +5 -3
  216. package/dist/esm/pds-select.entry.js.map +1 -1
  217. package/dist/esm/pds-sortable-item.entry.js +2 -2
  218. package/dist/esm/pds-sortable-item.entry.js.map +1 -1
  219. package/dist/esm/pds-sortable.entry.js +95 -93
  220. package/dist/esm/pds-sortable.entry.js.map +1 -1
  221. package/dist/esm/pds-switch.entry.js +6 -8
  222. package/dist/esm/pds-switch.entry.js.map +1 -1
  223. package/dist/esm/pds-table-cell.entry.js +2 -2
  224. package/dist/esm/pds-table-head-cell.entry.js +1 -1
  225. package/dist/esm/pds-text.entry.js +2 -2
  226. package/dist/esm/pds-textarea.entry.js +9 -7
  227. package/dist/esm/pds-textarea.entry.js.map +1 -1
  228. package/dist/esm/pds-toast.entry.js +3 -3
  229. package/dist/esm/pds-toast.entry.js.map +1 -1
  230. package/dist/esm/pds-tooltip.entry.js +1 -1
  231. package/dist/esm/pine-core.js +1 -1
  232. package/dist/esm/{truncation-tooltip-CTHpMbU3.js → truncation-tooltip-Blk4GigP.js} +3 -3
  233. package/dist/{esm-es5/truncation-tooltip-CTHpMbU3.js.map → esm/truncation-tooltip-Blk4GigP.js.map} +1 -1
  234. package/dist/esm-es5/floating-ui.dom-DDtwbwIl.js +2 -0
  235. package/dist/esm-es5/floating-ui.dom-DDtwbwIl.js.map +1 -0
  236. package/dist/esm-es5/{form-CN-lL5QG.js → form-C3xDZBme.js} +2 -2
  237. package/dist/esm-es5/form-C3xDZBme.js.map +1 -0
  238. package/dist/esm-es5/{index-Bmf4Ow_8.js → index-D4ys0pep.js} +1 -1
  239. package/dist/esm-es5/index-D4ys0pep.js.map +1 -0
  240. package/dist/esm-es5/loader.js +1 -1
  241. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  242. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  243. package/dist/esm-es5/pds-alert.entry.js +1 -1
  244. package/dist/esm-es5/pds-alert.entry.js.map +1 -1
  245. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  246. package/dist/esm-es5/pds-avatar.entry.js.map +1 -1
  247. package/dist/esm-es5/pds-button.entry.js +1 -1
  248. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  249. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -1
  250. package/dist/esm-es5/pds-chip.entry.js +1 -1
  251. package/dist/esm-es5/pds-chip.entry.js.map +1 -1
  252. package/dist/esm-es5/pds-combobox.entry.js +2 -2
  253. package/dist/esm-es5/pds-combobox.entry.js.map +1 -1
  254. package/dist/esm-es5/pds-container.entry.js +2 -0
  255. package/dist/esm-es5/pds-container.entry.js.map +1 -0
  256. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  257. package/dist/esm-es5/pds-divider.entry.js +1 -1
  258. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  259. package/dist/esm-es5/pds-dropdown-menu-item.entry.js.map +1 -1
  260. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  261. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  262. package/dist/esm-es5/pds-filter.entry.js +1 -1
  263. package/dist/esm-es5/pds-filters.entry.js +1 -1
  264. package/dist/esm-es5/pds-image.entry.js +1 -1
  265. package/dist/esm-es5/pds-input.entry.js +1 -1
  266. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  267. package/dist/esm-es5/pds-link.entry.js +1 -1
  268. package/dist/esm-es5/pds-loader.entry.js +1 -1
  269. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  270. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  271. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  272. package/dist/esm-es5/pds-modal.entry.js +1 -1
  273. package/dist/esm-es5/pds-multiselect.entry.js +1 -1
  274. package/dist/esm-es5/pds-multiselect.entry.js.map +1 -1
  275. package/dist/esm-es5/pds-radio-group.entry.js +1 -1
  276. package/dist/esm-es5/pds-radio.entry.js +1 -1
  277. package/dist/esm-es5/pds-select.entry.js +1 -1
  278. package/dist/esm-es5/pds-select.entry.js.map +1 -1
  279. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  280. package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -1
  281. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  282. package/dist/esm-es5/pds-sortable.entry.js.map +1 -1
  283. package/dist/esm-es5/pds-switch.entry.js +1 -1
  284. package/dist/esm-es5/pds-switch.entry.js.map +1 -1
  285. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  286. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  287. package/dist/esm-es5/pds-text.entry.js +1 -1
  288. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  289. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  290. package/dist/esm-es5/pds-toast.entry.js +1 -1
  291. package/dist/esm-es5/pds-toast.entry.js.map +1 -1
  292. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  293. package/dist/esm-es5/pine-core.js +1 -1
  294. package/dist/esm-es5/{truncation-tooltip-CTHpMbU3.js → truncation-tooltip-Blk4GigP.js} +2 -2
  295. package/dist/{esm/truncation-tooltip-CTHpMbU3.js.map → esm-es5/truncation-tooltip-Blk4GigP.js.map} +1 -1
  296. package/dist/pine-core/p--XSKe449.system.js.map +1 -0
  297. package/dist/pine-core/p-06921b1a.system.entry.js +2 -0
  298. package/dist/pine-core/p-06921b1a.system.entry.js.map +1 -0
  299. package/dist/pine-core/{p-5f63b999.entry.js → p-0e35b09a.entry.js} +2 -2
  300. package/dist/pine-core/{p-b2a7c2bf.entry.js → p-0f376270.entry.js} +2 -2
  301. package/dist/pine-core/p-10e0be55.entry.js +2 -0
  302. package/dist/pine-core/{p-9f09e116.system.entry.js → p-137517ea.system.entry.js} +2 -2
  303. package/dist/pine-core/{p-203f6e9e.entry.js → p-14ca4f31.entry.js} +2 -2
  304. package/dist/pine-core/p-1fa303af.entry.js +2 -0
  305. package/dist/pine-core/p-213d0f72.system.entry.js +2 -0
  306. package/dist/pine-core/p-213d0f72.system.entry.js.map +1 -0
  307. package/dist/pine-core/p-23450d7a.system.entry.js +2 -0
  308. package/dist/pine-core/p-23450d7a.system.entry.js.map +1 -0
  309. package/dist/pine-core/{p-b6ede995.system.entry.js → p-2483b797.system.entry.js} +2 -2
  310. package/dist/pine-core/p-29a8ef8a.entry.js +2 -0
  311. package/dist/pine-core/p-29a8ef8a.entry.js.map +1 -0
  312. package/dist/pine-core/{p-f179c88f.system.entry.js → p-2f0eb2b5.system.entry.js} +2 -2
  313. package/dist/pine-core/{p-68f97bdf.entry.js → p-2f6f60d9.entry.js} +2 -2
  314. package/dist/pine-core/p-3a527283.entry.js +8 -0
  315. package/dist/pine-core/p-3a527283.entry.js.map +1 -0
  316. package/dist/pine-core/{p-73be1c83.entry.js → p-3b342c35.entry.js} +2 -2
  317. package/dist/pine-core/{p-9ba4acdf.system.entry.js → p-3f0a6a75.system.entry.js} +2 -2
  318. package/dist/pine-core/{p-51d2999d.entry.js → p-426e90cb.entry.js} +2 -2
  319. package/dist/pine-core/{p-119ccf73.entry.js → p-426f5f57.entry.js} +2 -2
  320. package/dist/pine-core/p-4591a359.system.entry.js +9 -0
  321. package/dist/pine-core/p-4591a359.system.entry.js.map +1 -0
  322. package/dist/pine-core/{p-7737e4e8.system.entry.js → p-4d2e9e8d.system.entry.js} +2 -2
  323. package/dist/pine-core/p-4f6487b9.system.entry.js +2 -0
  324. package/dist/pine-core/p-4f6487b9.system.entry.js.map +1 -0
  325. package/dist/pine-core/{p-DKT0sVlZ.system.js.map → p-5L_gsODn.system.js.map} +1 -1
  326. package/dist/pine-core/p-66644048.entry.js +2 -0
  327. package/dist/pine-core/{p-b8f21554.system.entry.js → p-6b456e02.system.entry.js} +2 -2
  328. package/dist/pine-core/{p-d0504aa8.system.entry.js → p-6be19a23.system.entry.js} +2 -2
  329. package/dist/pine-core/{p-d8d796ad.system.entry.js → p-6dcd7876.system.entry.js} +2 -2
  330. package/dist/pine-core/{p-8a53ae6d.system.entry.js → p-712e0d82.system.entry.js} +2 -2
  331. package/dist/pine-core/p-72a27cb7.system.entry.js +2 -0
  332. package/dist/pine-core/p-72a27cb7.system.entry.js.map +1 -0
  333. package/dist/pine-core/{p-3fc8dbc9.system.entry.js → p-75a53dce.system.entry.js} +2 -2
  334. package/dist/pine-core/{p-2f663747.system.entry.js → p-7dfb5b1f.system.entry.js} +2 -2
  335. package/dist/pine-core/{p-e9eb3fc3.system.entry.js → p-811e510d.system.entry.js} +2 -2
  336. package/dist/pine-core/{p-7fc20a77.system.entry.js → p-84b696ce.system.entry.js} +2 -2
  337. package/dist/pine-core/p-8501bb6b.entry.js +2 -0
  338. package/dist/pine-core/p-8501bb6b.entry.js.map +1 -0
  339. package/dist/pine-core/p-8c000d7c.entry.js +2 -0
  340. package/dist/pine-core/{p-ccdee55a.entry.js → p-8c0fc8ff.entry.js} +2 -2
  341. package/dist/pine-core/p-8f48fa0b.system.entry.js +2 -0
  342. package/dist/pine-core/p-8f48fa0b.system.entry.js.map +1 -0
  343. package/dist/pine-core/{p-18a3b6ba.system.entry.js → p-92df334f.system.entry.js} +2 -2
  344. package/dist/pine-core/{p-1b0dc99e.system.entry.js → p-93eeca70.system.entry.js} +2 -2
  345. package/dist/pine-core/p-98e202b8.system.entry.js +2 -0
  346. package/dist/pine-core/{p-445c5ec5.system.entry.js → p-9947c6cd.system.entry.js} +2 -2
  347. package/dist/pine-core/{p-1d82417a.entry.js → p-9d2e89e5.entry.js} +2 -2
  348. package/dist/pine-core/{p-cbf49268.entry.js → p-9ea92b46.entry.js} +2 -2
  349. package/dist/pine-core/p-9f0f1389.entry.js +2 -0
  350. package/dist/pine-core/{p-bf712423.entry.js.map → p-9f0f1389.entry.js.map} +1 -1
  351. package/dist/pine-core/{p-Bch44a-T.system.js → p-B1u-QvFn.system.js} +2 -2
  352. package/dist/pine-core/p-B1u-QvFn.system.js.map +1 -0
  353. package/dist/pine-core/{p-BASnRvhy.system.js.map → p-B8OHXU49.system.js.map} +1 -1
  354. package/dist/pine-core/{p-5hPM5knE.js → p-BNSGedhN.js} +2 -2
  355. package/dist/pine-core/{p-5hPM5knE.js.map → p-BNSGedhN.js.map} +1 -1
  356. package/dist/pine-core/p-B_IKQKhn.system.js.map +1 -0
  357. package/dist/pine-core/{p-CSe1fQxQ.system.js.map → p-Bb4REZL1.system.js.map} +1 -1
  358. package/dist/pine-core/p-BfOM0dtX.system.js.map +1 -0
  359. package/dist/pine-core/{p-C1p8XJSR.system.js.map → p-BgNsCT1R.system.js.map} +1 -1
  360. package/dist/pine-core/p-Bng_-RSY.system.js.map +1 -0
  361. package/dist/pine-core/{p-dPhHNR2G.system.js.map → p-Bp9jwGLH.system.js.map} +1 -1
  362. package/dist/pine-core/{p-B9rVdQdy.system.js.map → p-BqPhyc8k.system.js.map} +1 -1
  363. package/dist/pine-core/p-BrLs99ML.system.js +2 -0
  364. package/dist/pine-core/p-BrLs99ML.system.js.map +1 -0
  365. package/dist/pine-core/p-C3xDZBme.js +2 -0
  366. package/dist/pine-core/p-C3xDZBme.js.map +1 -0
  367. package/dist/pine-core/{p-CFL53vBy.system.js → p-C62JIZmE.system.js} +1 -1
  368. package/dist/pine-core/p-C62JIZmE.system.js.map +1 -0
  369. package/dist/pine-core/{p-DQCerqxZ.system.js.map → p-C6TsH_RJ.system.js.map} +1 -1
  370. package/dist/pine-core/p-C9msrPdv.system.js.map +1 -0
  371. package/dist/pine-core/{p-BR9M75xt.system.js.map → p-CI7DD4Gj.system.js.map} +1 -1
  372. package/dist/pine-core/{p-DXVwADJT.system.js → p-CRCxGYgw.system.js} +2 -2
  373. package/dist/pine-core/{p-DXVwADJT.system.js.map → p-CRCxGYgw.system.js.map} +1 -1
  374. package/dist/pine-core/p-CXhVuzyx.system.js.map +1 -0
  375. package/dist/pine-core/{p-9SGoKSa6.system.js.map → p-CYFz3obB.system.js.map} +1 -1
  376. package/dist/pine-core/{p-BeJr-4oL.system.js.map → p-CZnOhE0g.system.js.map} +1 -1
  377. package/dist/pine-core/p-CdMCGjQj.system.js.map +1 -0
  378. package/dist/pine-core/{p-sgZDP7ET.system.js.map → p-CijIWK3K.system.js.map} +1 -1
  379. package/dist/pine-core/{p-DZt6ah_A.system.js.map → p-ClPf_JF1.system.js.map} +1 -1
  380. package/dist/pine-core/{p-Bsen6aos.system.js.map → p-Co9FFVKs.system.js.map} +1 -1
  381. package/dist/pine-core/{p-CfNEp0k0.system.js.map → p-Cvql9iy1.system.js.map} +1 -1
  382. package/dist/pine-core/p-CyOICl1j.system.js.map +1 -0
  383. package/dist/pine-core/{p-DmWm26A6.system.js.map → p-D0GkJmlY.system.js.map} +1 -1
  384. package/dist/pine-core/{p-Bmf4Ow_8.js → p-D4ys0pep.js} +1 -1
  385. package/dist/pine-core/p-D4ys0pep.js.map +1 -0
  386. package/dist/pine-core/p-DDtwbwIl.js +2 -0
  387. package/dist/pine-core/p-DDtwbwIl.js.map +1 -0
  388. package/dist/pine-core/p-DLZO3aKG.system.js.map +1 -0
  389. package/dist/pine-core/p-DO--6n89.system.js.map +1 -0
  390. package/dist/pine-core/p-DQJGHOVq.system.js.map +1 -0
  391. package/dist/pine-core/{p-D02u2D7r.system.js.map → p-DkNlmqjM.system.js.map} +1 -1
  392. package/dist/pine-core/p-Dl-o5ymF.system.js.map +1 -0
  393. package/dist/pine-core/p-DqfjMab8.system.js.map +1 -0
  394. package/dist/pine-core/{p-CsWO_n3t.system.js.map → p-DyrMiAYl.system.js.map} +1 -1
  395. package/dist/pine-core/{p-DzmLlvu3.system.js.map → p-FWsvMskO.system.js.map} +1 -1
  396. package/dist/pine-core/p-JAVnELnm.system.js +1 -1
  397. package/dist/pine-core/p-a11c3642.system.entry.js +2 -0
  398. package/dist/pine-core/{p-08cdf7f2.system.entry.js → p-a55bc143.system.entry.js} +2 -2
  399. package/dist/pine-core/{p-abb72971.system.entry.js → p-a85e565c.system.entry.js} +2 -2
  400. package/dist/pine-core/{p-56d0e6f4.entry.js → p-aa331370.entry.js} +2 -2
  401. package/dist/pine-core/{p-BUtyruql.system.js.map → p-abrage-l.system.js.map} +1 -1
  402. package/dist/pine-core/p-ac186cd4.system.entry.js +2 -0
  403. package/dist/pine-core/{p-edbaff73.system.entry.js → p-ae238530.system.entry.js} +2 -2
  404. package/dist/pine-core/{p-b7f2f9f3.system.entry.js → p-afad45f6.system.entry.js} +2 -2
  405. package/dist/pine-core/p-b2218fa1.entry.js +2 -0
  406. package/dist/pine-core/p-b2218fa1.entry.js.map +1 -0
  407. package/dist/pine-core/{p-36478643.system.entry.js → p-b2a5b6ae.system.entry.js} +2 -2
  408. package/dist/pine-core/p-b83f79a7.entry.js +2 -0
  409. package/dist/pine-core/p-b83f79a7.entry.js.map +1 -0
  410. package/dist/pine-core/{p-Be8OBmYb.system.js.map → p-bkQbPz-z.system.js.map} +1 -1
  411. package/dist/pine-core/{p-bf157830.entry.js → p-c38eb8e9.entry.js} +2 -2
  412. package/dist/pine-core/p-ca9da7ea.system.entry.js +2 -0
  413. package/dist/pine-core/p-ca9da7ea.system.entry.js.map +1 -0
  414. package/dist/pine-core/{p-5e83f6e3.system.entry.js → p-cb668b61.system.entry.js} +2 -2
  415. package/dist/pine-core/{p-39cb879d.entry.js → p-ccf46b90.entry.js} +2 -2
  416. package/dist/pine-core/p-cdd8175e.entry.js +2 -0
  417. package/dist/pine-core/p-cdd8175e.entry.js.map +1 -0
  418. package/dist/pine-core/{p-867ef2f1.entry.js → p-ceca2cb1.entry.js} +2 -2
  419. package/dist/pine-core/{p-9558fa60.entry.js → p-d045b245.entry.js} +2 -2
  420. package/dist/pine-core/{p-ea721a45.entry.js → p-d0eebd6d.entry.js} +2 -2
  421. package/dist/pine-core/{p-599a5903.system.entry.js → p-d1313dd6.system.entry.js} +2 -2
  422. package/dist/pine-core/p-d3e64f4e.system.entry.js +4 -0
  423. package/dist/pine-core/p-d3e64f4e.system.entry.js.map +1 -0
  424. package/dist/pine-core/{p-3e2fc38f.entry.js → p-d4844049.entry.js} +2 -2
  425. package/dist/pine-core/p-d8698ac5.entry.js +3 -0
  426. package/dist/pine-core/p-d8698ac5.entry.js.map +1 -0
  427. package/dist/pine-core/p-e0f21c22.entry.js +2 -0
  428. package/dist/pine-core/{p-9b2cd9fc.entry.js → p-e463b9d3.entry.js} +2 -2
  429. package/dist/pine-core/{p-5107c129.entry.js → p-e73b5859.entry.js} +2 -2
  430. package/dist/pine-core/{p-De6wHGVf.system.js.map → p-eUcBQ_fh.system.js.map} +1 -1
  431. package/dist/pine-core/p-ed447b3e.entry.js +2 -0
  432. package/dist/pine-core/p-ed447b3e.entry.js.map +1 -0
  433. package/dist/pine-core/p-f42e65fd.system.entry.js +2 -0
  434. package/dist/pine-core/{p-46d61c98.system.entry.js.map → p-f42e65fd.system.entry.js.map} +1 -1
  435. package/dist/pine-core/{p-9c0e22d4.entry.js → p-f74bd712.entry.js} +2 -2
  436. package/dist/pine-core/p-f84b6b5a.entry.js +2 -0
  437. package/dist/pine-core/p-f84b6b5a.entry.js.map +1 -0
  438. package/dist/pine-core/p-fa21e054.system.entry.js +2 -0
  439. package/dist/pine-core/{p-64c6c4a0.entry.js → p-fa51ae5d.entry.js} +2 -2
  440. package/dist/pine-core/p-fc830d8b.entry.js +2 -0
  441. package/dist/pine-core/{p-7c1b1fb8.entry.js.map → p-fc830d8b.entry.js.map} +1 -1
  442. package/dist/pine-core/{p-CEE11B7K.system.js.map → p-k9PMan7S.system.js.map} +1 -1
  443. package/dist/pine-core/p-kR80YJVM.system.js.map +1 -0
  444. package/dist/pine-core/p-uIsnJ30J.system.js.map +1 -0
  445. package/dist/pine-core/pds-alert.entry.esm.js.map +1 -1
  446. package/dist/pine-core/pds-avatar.entry.esm.js.map +1 -1
  447. package/dist/pine-core/pds-checkbox.entry.esm.js.map +1 -1
  448. package/dist/pine-core/pds-chip.entry.esm.js.map +1 -1
  449. package/dist/pine-core/pds-combobox.entry.esm.js.map +1 -1
  450. package/dist/pine-core/pds-container.entry.esm.js.map +1 -0
  451. package/dist/pine-core/pds-dropdown-menu-item.entry.esm.js.map +1 -1
  452. package/dist/pine-core/pds-input.entry.esm.js.map +1 -1
  453. package/dist/pine-core/pds-multiselect.entry.esm.js.map +1 -1
  454. package/dist/pine-core/pds-select.entry.esm.js.map +1 -1
  455. package/dist/pine-core/pds-sortable-item.entry.esm.js.map +1 -1
  456. package/dist/pine-core/pds-sortable.entry.esm.js.map +1 -1
  457. package/dist/pine-core/pds-switch.entry.esm.js.map +1 -1
  458. package/dist/pine-core/pds-textarea.entry.esm.js.map +1 -1
  459. package/dist/pine-core/pds-toast.entry.esm.js.map +1 -1
  460. package/dist/pine-core/pine-core.esm.js +1 -1
  461. package/dist/types/components/pds-alert/pds-alert.d.ts +1 -0
  462. package/dist/types/components/pds-avatar/pds-avatar.d.ts +2 -0
  463. package/dist/types/components/pds-chip/pds-chip.d.ts +1 -0
  464. package/dist/types/components/pds-combobox/pds-combobox.d.ts +9 -1
  465. package/dist/types/components/pds-container/pds-container.d.ts +22 -0
  466. package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.d.ts +3 -0
  467. package/dist/types/components/pds-multiselect/multiselect-interface.d.ts +8 -0
  468. package/dist/types/components/pds-multiselect/pds-multiselect.d.ts +31 -0
  469. package/dist/types/components/pds-sortable/pds-sortable.d.ts +8 -1
  470. package/dist/types/components/pds-sortable/sortable-interface.d.ts +1 -0
  471. package/dist/types/components/pds-toast/pds-toast.d.ts +3 -0
  472. package/dist/types/components.d.ts +97 -6
  473. package/dist/types/utils/form.d.ts +10 -0
  474. package/dist/vscode.html-data.json +10529 -0
  475. package/hydrate/index.js +596 -349
  476. package/hydrate/index.mjs +596 -349
  477. package/package.json +2 -2
  478. package/dist/cjs/floating-ui.dom-Ca6tS7ef.js.map +0 -1
  479. package/dist/cjs/form-DUqlzovE.js.map +0 -1
  480. package/dist/cjs/index-D8mNsvM8.js.map +0 -1
  481. package/dist/esm/floating-ui.dom-BO6p966C.js.map +0 -1
  482. package/dist/esm/form-CN-lL5QG.js.map +0 -1
  483. package/dist/esm/index-Bmf4Ow_8.js.map +0 -1
  484. package/dist/esm-es5/floating-ui.dom-BO6p966C.js +0 -2
  485. package/dist/esm-es5/floating-ui.dom-BO6p966C.js.map +0 -1
  486. package/dist/esm-es5/form-CN-lL5QG.js.map +0 -1
  487. package/dist/esm-es5/index-Bmf4Ow_8.js.map +0 -1
  488. package/dist/pine-core/p-0b3d6527.entry.js +0 -2
  489. package/dist/pine-core/p-0b3d6527.entry.js.map +0 -1
  490. package/dist/pine-core/p-221b4348.entry.js +0 -2
  491. package/dist/pine-core/p-221b4348.entry.js.map +0 -1
  492. package/dist/pine-core/p-25255ab8.system.entry.js +0 -4
  493. package/dist/pine-core/p-25255ab8.system.entry.js.map +0 -1
  494. package/dist/pine-core/p-2a7b94ba.system.entry.js +0 -2
  495. package/dist/pine-core/p-2a7b94ba.system.entry.js.map +0 -1
  496. package/dist/pine-core/p-31bfac45.entry.js +0 -2
  497. package/dist/pine-core/p-3239c67a.entry.js +0 -2
  498. package/dist/pine-core/p-396d4b63.entry.js +0 -8
  499. package/dist/pine-core/p-396d4b63.entry.js.map +0 -1
  500. package/dist/pine-core/p-3fd70f83.entry.js +0 -2
  501. package/dist/pine-core/p-3fd70f83.entry.js.map +0 -1
  502. package/dist/pine-core/p-44035cf4.entry.js +0 -3
  503. package/dist/pine-core/p-44035cf4.entry.js.map +0 -1
  504. package/dist/pine-core/p-46d61c98.system.entry.js +0 -2
  505. package/dist/pine-core/p-4c0e71ce.entry.js +0 -2
  506. package/dist/pine-core/p-4c0e71ce.entry.js.map +0 -1
  507. package/dist/pine-core/p-4c82bff5.entry.js +0 -2
  508. package/dist/pine-core/p-79f0b007.entry.js +0 -2
  509. package/dist/pine-core/p-79f0b007.entry.js.map +0 -1
  510. package/dist/pine-core/p-7c1b1fb8.entry.js +0 -2
  511. package/dist/pine-core/p-7da176b4.system.entry.js +0 -9
  512. package/dist/pine-core/p-7da176b4.system.entry.js.map +0 -1
  513. package/dist/pine-core/p-8a31ccd4.entry.js +0 -2
  514. package/dist/pine-core/p-8a31ccd4.entry.js.map +0 -1
  515. package/dist/pine-core/p-91781a0a.system.entry.js +0 -2
  516. package/dist/pine-core/p-91781a0a.system.entry.js.map +0 -1
  517. package/dist/pine-core/p-94a9ff2a.system.entry.js +0 -2
  518. package/dist/pine-core/p-BB9Md7vT.system.js.map +0 -1
  519. package/dist/pine-core/p-BGc1L0Ao.system.js.map +0 -1
  520. package/dist/pine-core/p-BO6p966C.js +0 -2
  521. package/dist/pine-core/p-BO6p966C.js.map +0 -1
  522. package/dist/pine-core/p-Bch44a-T.system.js.map +0 -1
  523. package/dist/pine-core/p-Bmf4Ow_8.js.map +0 -1
  524. package/dist/pine-core/p-BohZ8Mvm.system.js.map +0 -1
  525. package/dist/pine-core/p-CEll-OBZ.system.js.map +0 -1
  526. package/dist/pine-core/p-CFL53vBy.system.js.map +0 -1
  527. package/dist/pine-core/p-CFqOsbKv.system.js.map +0 -1
  528. package/dist/pine-core/p-CH2XYz0c.system.js.map +0 -1
  529. package/dist/pine-core/p-CN-lL5QG.js +0 -2
  530. package/dist/pine-core/p-CN-lL5QG.js.map +0 -1
  531. package/dist/pine-core/p-CTDKHxjD.system.js.map +0 -1
  532. package/dist/pine-core/p-D-iLwshJ.system.js.map +0 -1
  533. package/dist/pine-core/p-D2eS6fhD.system.js +0 -2
  534. package/dist/pine-core/p-D2eS6fhD.system.js.map +0 -1
  535. package/dist/pine-core/p-D497NWkn.system.js.map +0 -1
  536. package/dist/pine-core/p-DHNujrRT.system.js.map +0 -1
  537. package/dist/pine-core/p-DcrqbXJe.system.js.map +0 -1
  538. package/dist/pine-core/p-DdR8iWme.system.js.map +0 -1
  539. package/dist/pine-core/p-DqO0Rc5m.system.js.map +0 -1
  540. package/dist/pine-core/p-a553b40b.system.entry.js +0 -2
  541. package/dist/pine-core/p-a553b40b.system.entry.js.map +0 -1
  542. package/dist/pine-core/p-af5bf21d.entry.js +0 -2
  543. package/dist/pine-core/p-bPSIyJOo.system.js.map +0 -1
  544. package/dist/pine-core/p-ba195382.system.entry.js +0 -2
  545. package/dist/pine-core/p-bd2329cd.entry.js +0 -2
  546. package/dist/pine-core/p-bf712423.entry.js +0 -2
  547. package/dist/pine-core/p-d6139188.system.entry.js +0 -2
  548. package/dist/pine-core/p-ed5ca877.system.entry.js +0 -2
  549. package/dist/pine-core/p-ef7d0535.system.entry.js +0 -2
  550. package/dist/pine-core/p-ef7d0535.system.entry.js.map +0 -1
  551. package/dist/pine-core/p-f298baeb.system.entry.js +0 -2
  552. package/dist/pine-core/p-f298baeb.system.entry.js.map +0 -1
  553. package/dist/pine-core/p-f9c32940.system.entry.js +0 -2
  554. package/dist/pine-core/p-f9c32940.system.entry.js.map +0 -1
  555. /package/dist/pine-core/{p-5f63b999.entry.js.map → p-0e35b09a.entry.js.map} +0 -0
  556. /package/dist/pine-core/{p-b2a7c2bf.entry.js.map → p-0f376270.entry.js.map} +0 -0
  557. /package/dist/pine-core/{p-31bfac45.entry.js.map → p-10e0be55.entry.js.map} +0 -0
  558. /package/dist/pine-core/{p-9f09e116.system.entry.js.map → p-137517ea.system.entry.js.map} +0 -0
  559. /package/dist/pine-core/{p-203f6e9e.entry.js.map → p-14ca4f31.entry.js.map} +0 -0
  560. /package/dist/pine-core/{p-4c82bff5.entry.js.map → p-1fa303af.entry.js.map} +0 -0
  561. /package/dist/pine-core/{p-b6ede995.system.entry.js.map → p-2483b797.system.entry.js.map} +0 -0
  562. /package/dist/pine-core/{p-f179c88f.system.entry.js.map → p-2f0eb2b5.system.entry.js.map} +0 -0
  563. /package/dist/pine-core/{p-68f97bdf.entry.js.map → p-2f6f60d9.entry.js.map} +0 -0
  564. /package/dist/pine-core/{p-73be1c83.entry.js.map → p-3b342c35.entry.js.map} +0 -0
  565. /package/dist/pine-core/{p-9ba4acdf.system.entry.js.map → p-3f0a6a75.system.entry.js.map} +0 -0
  566. /package/dist/pine-core/{p-51d2999d.entry.js.map → p-426e90cb.entry.js.map} +0 -0
  567. /package/dist/pine-core/{p-119ccf73.entry.js.map → p-426f5f57.entry.js.map} +0 -0
  568. /package/dist/pine-core/{p-7737e4e8.system.entry.js.map → p-4d2e9e8d.system.entry.js.map} +0 -0
  569. /package/dist/pine-core/{p-3239c67a.entry.js.map → p-66644048.entry.js.map} +0 -0
  570. /package/dist/pine-core/{p-b8f21554.system.entry.js.map → p-6b456e02.system.entry.js.map} +0 -0
  571. /package/dist/pine-core/{p-d0504aa8.system.entry.js.map → p-6be19a23.system.entry.js.map} +0 -0
  572. /package/dist/pine-core/{p-d8d796ad.system.entry.js.map → p-6dcd7876.system.entry.js.map} +0 -0
  573. /package/dist/pine-core/{p-8a53ae6d.system.entry.js.map → p-712e0d82.system.entry.js.map} +0 -0
  574. /package/dist/pine-core/{p-3fc8dbc9.system.entry.js.map → p-75a53dce.system.entry.js.map} +0 -0
  575. /package/dist/pine-core/{p-2f663747.system.entry.js.map → p-7dfb5b1f.system.entry.js.map} +0 -0
  576. /package/dist/pine-core/{p-e9eb3fc3.system.entry.js.map → p-811e510d.system.entry.js.map} +0 -0
  577. /package/dist/pine-core/{p-7fc20a77.system.entry.js.map → p-84b696ce.system.entry.js.map} +0 -0
  578. /package/dist/pine-core/{p-bd2329cd.entry.js.map → p-8c000d7c.entry.js.map} +0 -0
  579. /package/dist/pine-core/{p-ccdee55a.entry.js.map → p-8c0fc8ff.entry.js.map} +0 -0
  580. /package/dist/pine-core/{p-18a3b6ba.system.entry.js.map → p-92df334f.system.entry.js.map} +0 -0
  581. /package/dist/pine-core/{p-1b0dc99e.system.entry.js.map → p-93eeca70.system.entry.js.map} +0 -0
  582. /package/dist/pine-core/{p-ed5ca877.system.entry.js.map → p-98e202b8.system.entry.js.map} +0 -0
  583. /package/dist/pine-core/{p-445c5ec5.system.entry.js.map → p-9947c6cd.system.entry.js.map} +0 -0
  584. /package/dist/pine-core/{p-1d82417a.entry.js.map → p-9d2e89e5.entry.js.map} +0 -0
  585. /package/dist/pine-core/{p-cbf49268.entry.js.map → p-9ea92b46.entry.js.map} +0 -0
  586. /package/dist/pine-core/{p-94a9ff2a.system.entry.js.map → p-a11c3642.system.entry.js.map} +0 -0
  587. /package/dist/pine-core/{p-08cdf7f2.system.entry.js.map → p-a55bc143.system.entry.js.map} +0 -0
  588. /package/dist/pine-core/{p-abb72971.system.entry.js.map → p-a85e565c.system.entry.js.map} +0 -0
  589. /package/dist/pine-core/{p-56d0e6f4.entry.js.map → p-aa331370.entry.js.map} +0 -0
  590. /package/dist/pine-core/{p-ba195382.system.entry.js.map → p-ac186cd4.system.entry.js.map} +0 -0
  591. /package/dist/pine-core/{p-edbaff73.system.entry.js.map → p-ae238530.system.entry.js.map} +0 -0
  592. /package/dist/pine-core/{p-b7f2f9f3.system.entry.js.map → p-afad45f6.system.entry.js.map} +0 -0
  593. /package/dist/pine-core/{p-36478643.system.entry.js.map → p-b2a5b6ae.system.entry.js.map} +0 -0
  594. /package/dist/pine-core/{p-bf157830.entry.js.map → p-c38eb8e9.entry.js.map} +0 -0
  595. /package/dist/pine-core/{p-5e83f6e3.system.entry.js.map → p-cb668b61.system.entry.js.map} +0 -0
  596. /package/dist/pine-core/{p-39cb879d.entry.js.map → p-ccf46b90.entry.js.map} +0 -0
  597. /package/dist/pine-core/{p-867ef2f1.entry.js.map → p-ceca2cb1.entry.js.map} +0 -0
  598. /package/dist/pine-core/{p-9558fa60.entry.js.map → p-d045b245.entry.js.map} +0 -0
  599. /package/dist/pine-core/{p-ea721a45.entry.js.map → p-d0eebd6d.entry.js.map} +0 -0
  600. /package/dist/pine-core/{p-599a5903.system.entry.js.map → p-d1313dd6.system.entry.js.map} +0 -0
  601. /package/dist/pine-core/{p-3e2fc38f.entry.js.map → p-d4844049.entry.js.map} +0 -0
  602. /package/dist/pine-core/{p-af5bf21d.entry.js.map → p-e0f21c22.entry.js.map} +0 -0
  603. /package/dist/pine-core/{p-9b2cd9fc.entry.js.map → p-e463b9d3.entry.js.map} +0 -0
  604. /package/dist/pine-core/{p-5107c129.entry.js.map → p-e73b5859.entry.js.map} +0 -0
  605. /package/dist/pine-core/{p-9c0e22d4.entry.js.map → p-f74bd712.entry.js.map} +0 -0
  606. /package/dist/pine-core/{p-d6139188.system.entry.js.map → p-fa21e054.system.entry.js.map} +0 -0
  607. /package/dist/pine-core/{p-64c6c4a0.entry.js.map → p-fa51ae5d.entry.js.map} +0 -0
package/hydrate/index.js CHANGED
@@ -3499,7 +3499,7 @@ class MockPdsModal {
3499
3499
  'pds-modal__backdrop': true,
3500
3500
  'open': this.open,
3501
3501
  };
3502
- return (hAsync("div", { key: '932c22f17088b6cd5efa34563533b10192ba01c5', class: backdropClasses }, hAsync("div", { key: '09c13a485986d40fa0240530feffde18b5192ff3', class: modalClasses, role: "dialog", "aria-modal": "true", "aria-labelledby": this.componentId ? `${this.componentId}-heading` : null, part: "modal" }, hAsync("div", { key: '69c2feba501225873ffcf7aab3a1b40a981cec89', class: "pds-modal__header" }, hAsync("slot", { key: 'c38802b6007b85b45532743ee4a94bcc9d5da08f', name: "header" })), hAsync("div", { key: '6998e3da4906070de62a1016c2e23836c84ad96a', class: "pds-modal-content" }, hAsync("slot", { key: '98ed7a23ca4c84de297aa71a7b15c6fa9a2666bf' })), hAsync("div", { key: '7d0ed4f725857a77d916004967d88d5e9c66a5de', class: "pds-modal__footer" }, hAsync("slot", { key: '437b8ab71722e6bad1caee076020c5bb216a2aad', name: "footer" })))));
3502
+ return (hAsync("div", { key: '6e7f71b339764894e1f17d253fc3c8e0243e4f90', class: backdropClasses }, hAsync("div", { key: '25b2f82c1af743156d152880631d4294dfec68b5', class: modalClasses, role: "dialog", "aria-modal": "true", "aria-labelledby": this.componentId ? `${this.componentId}-heading` : null, part: "modal" }, hAsync("div", { key: '6bc97e805daee5e5dd547fa0b919a05cf1b6a6a1', class: "pds-modal__header" }, hAsync("slot", { key: 'd9e7c248d983e3c055ed7e0aea5a4d5a15dfea12', name: "header" })), hAsync("div", { key: '5608ee069b59cb34dc812bde22f83c6bce7e6904', class: "pds-modal-content" }, hAsync("slot", { key: '6e3e790330598e1bde733350e5e216d269426e51' })), hAsync("div", { key: '381f3c4e1c9c83b0687e1f1484b64334e388d669', class: "pds-modal__footer" }, hAsync("slot", { key: '6e3a3cb64623de59a409072ab9c1bf65af8c2f6c', name: "footer" })))));
3503
3503
  }
3504
3504
  get el() { return getElement(this); }
3505
3505
  static get style() { return pdsModalCss$1; }
@@ -3521,7 +3521,7 @@ class MockPdsModal {
3521
3521
  }; }
3522
3522
  }
3523
3523
 
3524
- /* pds-icons v9.18.0, ES Modules */
3524
+ /* pds-icons v9.21.0, ES Modules */
3525
3525
 
3526
3526
  const addCircle = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12m11-5a1 1 0 0 1 1 1v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3H8a1 1 0 1 1 0-2h3V8a1 1 0 0 1 1-1'/></svg>";
3527
3527
  const caretDown = "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' class='pdsicon'><path fill-rule='evenodd' d='M5.293 8.293a1 1 0 0 1 1.414 0L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414'/></svg>";
@@ -3597,6 +3597,7 @@ const pdsAlertCss = ":host{--pds-context-link-color:var(--pine-alert-color-link)
3597
3597
 
3598
3598
  /**
3599
3599
  * @slot actions - Slot for alert actions.
3600
+ * @part dismiss
3600
3601
  */
3601
3602
  class PdsAlert {
3602
3603
  constructor(hostRef) {
@@ -3646,7 +3647,7 @@ class PdsAlert {
3646
3647
  };
3647
3648
  // Get the icon name based on the current variant
3648
3649
  const iconName = iconMap[this.variant] || iconMap.default;
3649
- return (hAsync(Host, { key: 'ccb4b954c20b4fedfe1336737a412753bf3c78a2', class: "pds-alert", id: this.componentId, variant: this.variant }, hAsync("pds-box", { key: '54b470210568b3af13c341a9afe3a4a88efc4574', class: `pds-alert__container pds-alert__container--${this.variant}`, "background-color": "var(--pds-alert-background)", "border-color": "var(--pds-alert-border-color)", "border-radius": "md", border: true, display: "block" }, hAsync("pds-box", { key: '609a016138c123e05f0474800e91dfaaa3e8150b', gap: "sm", display: "flex" }, hAsync("pds-icon", { key: '18262b9810eb488aca691b004c86b718abbdb4e8', class: `pds-alert__icon ${this.small ? 'pds-alert__icon--small' : ''}`, color: "var(--pds-alert-color-icon)", icon: iconName, size: "var(--pds-alert-icon-size)" }), hAsync("pds-box", { key: 'c7aaaba27a319714d8f33988a8d97bb52cab9af4', class: "pds-alert__content-wrapper", direction: "column", gap: "xs", flex: "grow" }, this.heading && !this.small && (hAsync("pds-text", { key: '804764fff68ec88bed3f1d18710e5ca5d0fd88f8', class: "pds-alert__heading", color: "var(--pds-alert-color-text)", size: "h5", tag: "h3", weight: "medium" }, this.heading)), this.renderContent()), this.dismissible && (hAsync("button", { key: 'ad807ae38b3dc49840a0901ecb005de065b8a58c', class: "pds-alert__dismiss", type: "button", part: "dismiss", "aria-label": "Dismiss alert", onClick: this.handleCloseClick }, hAsync("pds-icon", { key: '0451526f7d61a46c344d48ae002d3f4480456a3e', icon: "remove", size: "var(--pds-alert-icon-size)", "aria-hidden": "true", color: "var(--pds-alert-color-dismiss)" })))))));
3650
+ return (hAsync(Host, { key: 'b3280d4851c764c63649aa5078f950920290b155', class: "pds-alert", id: this.componentId, variant: this.variant }, hAsync("pds-box", { key: '60b6f666bbf72ed99260a3a97ac27919f4ae2289', class: `pds-alert__container pds-alert__container--${this.variant}`, "background-color": "var(--pds-alert-background)", "border-color": "var(--pds-alert-border-color)", "border-radius": "md", border: true, display: "block" }, hAsync("pds-box", { key: '17a1e9e1dcd92409b762d3c8fec4ea6bb34dfa3a', gap: "sm", display: "flex" }, hAsync("pds-icon", { key: '9866970bfbdee3a09db537d7bd5536bac7b0cba4', class: `pds-alert__icon ${this.small ? 'pds-alert__icon--small' : ''}`, color: "var(--pds-alert-color-icon)", icon: iconName, size: "var(--pds-alert-icon-size)" }), hAsync("pds-box", { key: '751647dc2a27e7c5fa31801ded4d0466e338ce12', class: "pds-alert__content-wrapper", direction: "column", gap: "xs", flex: "grow" }, this.heading && !this.small && (hAsync("pds-text", { key: 'a603335ef15246a638e1a3b2556bf10ac7073d8f', class: "pds-alert__heading", color: "var(--pds-alert-color-text)", size: "h5", tag: "h3", weight: "medium" }, this.heading)), this.renderContent()), this.dismissible && (hAsync("button", { key: '81fe893cb8dab3f93f5f5d9c515a8806e5b7d79b', class: "pds-alert__dismiss", type: "button", part: "dismiss", "aria-label": "Dismiss alert", onClick: this.handleCloseClick }, hAsync("pds-icon", { key: 'de431f51b5597399b702cc6503c6ee7b029b8fe3', icon: "remove", size: "var(--pds-alert-icon-size)", "aria-hidden": "true", color: "var(--pds-alert-color-dismiss)" })))))));
3650
3651
  }
3651
3652
  get el() { return getElement(this); }
3652
3653
  static get style() { return pdsAlertTokensCss + pdsAlertCss; }
@@ -3670,6 +3671,8 @@ class PdsAlert {
3670
3671
  const pdsAvatarCss = ":host{display:inline-block}div{--color-background-container:var(--pine-color-background-container-hover);-ms-flex-align:center;align-items:center;background-color:var(--color-background-container);border-radius:var(--border-radius-admin-round, var(--pine-border-radius-full));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;position:relative}:host(.pds-avatar--admin) div{--border-radius-admin-round:var(--pine-dimension-150);border-radius:var(--border-radius-admin-round)}:host(.pds-avatar--has-image) div{background:transparent}@supports selector(:has){div:has(img){background-color:transparent}}.pds-avatar__button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:var(--pine-dimension-none);border-radius:var(--pine-border-radius-full);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-none)}.pds-avatar__button:focus-visible{outline:var(--pine-outline-focus)}.pds-avatar__badge{background-color:transparent;border:var(--pine-dimension-none);border-color:transparent;border-radius:var(--pine-border-radius-round);inset-block-end:var(--pine-dimension-none);inset-inline-end:var(--pine-dimension-none);position:absolute}img{border-radius:var(--border-radius-admin-round, var(--pine-border-radius-full));height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.pds-avatar__initials{color:var(--pine-color-brand);fill:var(--pine-color-brand);font-size:var(--pine-font-size-085);font-weight:var(--pine-font-weight-semi-bold);height:100%;text-align:center;width:100%}.pds-avatar__initials text{text-anchor:middle}";
3671
3672
 
3672
3673
  /**
3674
+ * @part asset-wrapper
3675
+ * @part button
3673
3676
  * @part image - The main image element that represents the avatar component.
3674
3677
  */
3675
3678
  class PdsAvatar {
@@ -3764,7 +3767,7 @@ class PdsAvatar {
3764
3767
  }
3765
3768
  }
3766
3769
  render() {
3767
- return (hAsync(Host, { key: '8425f576be0ea4ce443c9a14a9d7bc34e493e6d3', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
3770
+ return (hAsync(Host, { key: '7bdd177a6b7064ed12cabeb21d96b0a0cc6071ae', id: this.componentId, class: Object.assign({}, this.classNames()) }, this.renderAvatar()));
3768
3771
  }
3769
3772
  static get style() { return pdsAvatarCss; }
3770
3773
  static get cmpMeta() { return {
@@ -4395,6 +4398,19 @@ function exposeTypeProperty(element, type) {
4395
4398
  configurable: false
4396
4399
  });
4397
4400
  }
4401
+ /**
4402
+ * Determines if code is running in Stencil's spec test environment.
4403
+ * Stencil's mock-doc logs console.error on any ElementInternals
4404
+ * property access during spec tests. Use this guard to skip
4405
+ * ElementInternals calls in the mock environment.
4406
+ *
4407
+ * Uses __STENCIL_SPEC_TESTS__ (the same env var Stencil's mock-doc checks)
4408
+ * to avoid false positives in downstream consumer test suites.
4409
+ */
4410
+ const isSpecTest = () => {
4411
+ var _a;
4412
+ return typeof process !== 'undefined' && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.__STENCIL_SPEC_TESTS__) === 'true';
4413
+ };
4398
4414
 
4399
4415
  /**
4400
4416
  * Inherit attributes from the host element
@@ -4542,10 +4558,8 @@ class PdsCheckbox {
4542
4558
  this.updateFormValue();
4543
4559
  }
4544
4560
  updateFormValue() {
4545
- var _a;
4546
- if (typeof jest !== 'undefined' || typeof process !== 'undefined' && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) === 'test') {
4561
+ if (isSpecTest())
4547
4562
  return;
4548
- }
4549
4563
  if (this.internals && this.internals.setFormValue) {
4550
4564
  // For checkboxes, only send the value when checked, otherwise send null
4551
4565
  const formValue = this.checked ? (this.value || 'on') : null;
@@ -4570,9 +4584,9 @@ class PdsCheckbox {
4570
4584
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
4571
4585
  }
4572
4586
  render() {
4573
- return (hAsync(Host, { key: '89542cef41ee75d43ed9595fa4c034d11015c2b2', class: this.classNames() }, hAsync("label", { key: 'c42bc84be20638bc54b39e19740831fd384dd51d', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: 'f99059d69fec916a33deb4e4e2449cf62029e4ca', type: "checkbox", "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, id: this.componentId, indeterminate: this.indeterminate, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleCheckboxChange, onInput: this.handleInput }, this.inheritedAttributes)), hAsync("span", { key: '5482e147bbfb151b4984ee6fa52781d0533bea8c', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
4574
- hAsync("div", { key: '30792c96b68346304a4ba10d050904f74f5811ca', class: 'pds-checkbox__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
4575
- hAsync("div", { key: 'd3ee96dc4d6a7dc8f0ce7453850f3211b10b6b9f', class: `pds-checkbox__message pds-checkbox__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '0c4255a58ca7873bc23228e6097adc150006caa9', icon: danger, size: "small" }), this.errorMessage)));
4587
+ return (hAsync(Host, { key: 'd4a447aba6ffa638b0bf3ed7a5cfd4580168da79', class: this.classNames() }, hAsync("label", { key: '75fcd32809f736f8e4f6af2021f86d2c5b7bc110', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: '5238103a16bc1c6baf92b5802bca17db748a14b2', type: "checkbox", "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, id: this.componentId, indeterminate: this.indeterminate, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleCheckboxChange, onInput: this.handleInput }, this.inheritedAttributes)), hAsync("span", { key: '0a652dc44e4c35d3a5484065f140a231a0d46424', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
4588
+ hAsync("div", { key: '76f40eba1d92ffcdb9946c8cc17714bda421a8a7', class: 'pds-checkbox__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
4589
+ hAsync("div", { key: 'ad05bf066a91bc934344c3696ec82ec6b9813c07', class: `pds-checkbox__message pds-checkbox__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '4d3f9dddea4be870323db41a6cc5d69a9be44d7d', icon: danger, size: "small" }), this.errorMessage)));
4576
4590
  }
4577
4591
  static get formAssociated() { return true; }
4578
4592
  get el() { return getElement(this); }
@@ -4609,6 +4623,7 @@ const pdsChipCss = ":host{--sizing-close:var(--pine-dimension-125);-ms-flex-alig
4609
4623
 
4610
4624
  /**
4611
4625
  * @slot (default) - The chip's label text.
4626
+ * @part button
4612
4627
  */
4613
4628
  class PdsChip {
4614
4629
  constructor(hostRef) {
@@ -4727,7 +4742,7 @@ class PdsChip {
4727
4742
  return (hAsync(CloseElement, Object.assign({}, closeAttributes(), { onClick: this.handleCloseClick }), hAsync("pds-icon", { icon: remove, size: this.iconSize })));
4728
4743
  }
4729
4744
  render() {
4730
- return (hAsync(Host, { key: 'c6afa0a9aba7716fd7a7ee32d1c0993c30464b1e', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.effectiveVariant === 'tag' && this.renderCloseButton()));
4745
+ return (hAsync(Host, { key: '1d75f8ea7583f53191467b568352664ea0313c79', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.effectiveVariant === 'tag' && this.renderCloseButton()));
4731
4746
  }
4732
4747
  static get style() { return pdsChipTokensCss + pdsChipCss; }
4733
4748
  static get cmpMeta() { return {
@@ -4770,10 +4785,6 @@ const oppositeSideMap = {
4770
4785
  bottom: 'top',
4771
4786
  top: 'bottom'
4772
4787
  };
4773
- const oppositeAlignmentMap = {
4774
- start: 'end',
4775
- end: 'start'
4776
- };
4777
4788
  function clamp(start, value, end) {
4778
4789
  return max(start, min(value, end));
4779
4790
  }
@@ -4792,9 +4803,9 @@ function getOppositeAxis(axis) {
4792
4803
  function getAxisLength(axis) {
4793
4804
  return axis === 'y' ? 'height' : 'width';
4794
4805
  }
4795
- const yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);
4796
4806
  function getSideAxis(placement) {
4797
- return yAxisSides.has(getSide(placement)) ? 'y' : 'x';
4807
+ const firstChar = placement[0];
4808
+ return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
4798
4809
  }
4799
4810
  function getAlignmentAxis(placement) {
4800
4811
  return getOppositeAxis(getSideAxis(placement));
@@ -4817,7 +4828,7 @@ function getExpandedPlacements(placement) {
4817
4828
  return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
4818
4829
  }
4819
4830
  function getOppositeAlignmentPlacement(placement) {
4820
- return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);
4831
+ return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
4821
4832
  }
4822
4833
  const lrPlacement = ['left', 'right'];
4823
4834
  const rlPlacement = ['right', 'left'];
@@ -4848,7 +4859,8 @@ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
4848
4859
  return list;
4849
4860
  }
4850
4861
  function getOppositePlacement(placement) {
4851
- return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);
4862
+ const side = getSide(placement);
4863
+ return oppositeSideMap[side] + placement.slice(side.length);
4852
4864
  }
4853
4865
  function expandPaddingObject(padding) {
4854
4866
  return {
@@ -4942,6 +4954,74 @@ function computeCoordsFromPlacement(_ref, placement, rtl) {
4942
4954
  return coords;
4943
4955
  }
4944
4956
 
4957
+ /**
4958
+ * Resolves with an object of overflow side offsets that determine how much the
4959
+ * element is overflowing a given clipping boundary on each side.
4960
+ * - positive = overflowing the boundary by that number of pixels
4961
+ * - negative = how many pixels left before it will overflow
4962
+ * - 0 = lies flush with the boundary
4963
+ * @see https://floating-ui.com/docs/detectOverflow
4964
+ */
4965
+ async function detectOverflow(state, options) {
4966
+ var _await$platform$isEle;
4967
+ if (options === void 0) {
4968
+ options = {};
4969
+ }
4970
+ const {
4971
+ x,
4972
+ y,
4973
+ platform,
4974
+ rects,
4975
+ elements,
4976
+ strategy
4977
+ } = state;
4978
+ const {
4979
+ boundary = 'clippingAncestors',
4980
+ rootBoundary = 'viewport',
4981
+ elementContext = 'floating',
4982
+ altBoundary = false,
4983
+ padding = 0
4984
+ } = evaluate(options, state);
4985
+ const paddingObject = getPaddingObject(padding);
4986
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
4987
+ const element = elements[altBoundary ? altContext : elementContext];
4988
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
4989
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
4990
+ boundary,
4991
+ rootBoundary,
4992
+ strategy
4993
+ }));
4994
+ const rect = elementContext === 'floating' ? {
4995
+ x,
4996
+ y,
4997
+ width: rects.floating.width,
4998
+ height: rects.floating.height
4999
+ } : rects.reference;
5000
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
5001
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
5002
+ x: 1,
5003
+ y: 1
5004
+ } : {
5005
+ x: 1,
5006
+ y: 1
5007
+ };
5008
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
5009
+ elements,
5010
+ rect,
5011
+ offsetParent,
5012
+ strategy
5013
+ }) : rect);
5014
+ return {
5015
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
5016
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
5017
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
5018
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
5019
+ };
5020
+ }
5021
+
5022
+ // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
5023
+ const MAX_RESET_COUNT = 50;
5024
+
4945
5025
  /**
4946
5026
  * Computes the `x` and `y` coordinates that will place the floating element
4947
5027
  * next to a given reference element.
@@ -4956,7 +5036,10 @@ const computePosition$1 = async (reference, floating, config) => {
4956
5036
  middleware = [],
4957
5037
  platform
4958
5038
  } = config;
4959
- const validMiddleware = middleware.filter(Boolean);
5039
+ const platformWithDetectOverflow = platform.detectOverflow ? platform : {
5040
+ ...platform,
5041
+ detectOverflow
5042
+ };
4960
5043
  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
4961
5044
  let rects = await platform.getElementRects({
4962
5045
  reference,
@@ -4968,13 +5051,17 @@ const computePosition$1 = async (reference, floating, config) => {
4968
5051
  y
4969
5052
  } = computeCoordsFromPlacement(rects, placement, rtl);
4970
5053
  let statefulPlacement = placement;
4971
- let middlewareData = {};
4972
5054
  let resetCount = 0;
4973
- for (let i = 0; i < validMiddleware.length; i++) {
5055
+ const middlewareData = {};
5056
+ for (let i = 0; i < middleware.length; i++) {
5057
+ const currentMiddleware = middleware[i];
5058
+ if (!currentMiddleware) {
5059
+ continue;
5060
+ }
4974
5061
  const {
4975
5062
  name,
4976
5063
  fn
4977
- } = validMiddleware[i];
5064
+ } = currentMiddleware;
4978
5065
  const {
4979
5066
  x: nextX,
4980
5067
  y: nextY,
@@ -4988,7 +5075,7 @@ const computePosition$1 = async (reference, floating, config) => {
4988
5075
  strategy,
4989
5076
  middlewareData,
4990
5077
  rects,
4991
- platform,
5078
+ platform: platformWithDetectOverflow,
4992
5079
  elements: {
4993
5080
  reference,
4994
5081
  floating
@@ -4996,14 +5083,11 @@ const computePosition$1 = async (reference, floating, config) => {
4996
5083
  });
4997
5084
  x = nextX != null ? nextX : x;
4998
5085
  y = nextY != null ? nextY : y;
4999
- middlewareData = {
5000
- ...middlewareData,
5001
- [name]: {
5002
- ...middlewareData[name],
5003
- ...data
5004
- }
5086
+ middlewareData[name] = {
5087
+ ...middlewareData[name],
5088
+ ...data
5005
5089
  };
5006
- if (reset && resetCount <= 50) {
5090
+ if (reset && resetCount < MAX_RESET_COUNT) {
5007
5091
  resetCount++;
5008
5092
  if (typeof reset === 'object') {
5009
5093
  if (reset.placement) {
@@ -5033,71 +5117,6 @@ const computePosition$1 = async (reference, floating, config) => {
5033
5117
  };
5034
5118
  };
5035
5119
 
5036
- /**
5037
- * Resolves with an object of overflow side offsets that determine how much the
5038
- * element is overflowing a given clipping boundary on each side.
5039
- * - positive = overflowing the boundary by that number of pixels
5040
- * - negative = how many pixels left before it will overflow
5041
- * - 0 = lies flush with the boundary
5042
- * @see https://floating-ui.com/docs/detectOverflow
5043
- */
5044
- async function detectOverflow(state, options) {
5045
- var _await$platform$isEle;
5046
- if (options === void 0) {
5047
- options = {};
5048
- }
5049
- const {
5050
- x,
5051
- y,
5052
- platform,
5053
- rects,
5054
- elements,
5055
- strategy
5056
- } = state;
5057
- const {
5058
- boundary = 'clippingAncestors',
5059
- rootBoundary = 'viewport',
5060
- elementContext = 'floating',
5061
- altBoundary = false,
5062
- padding = 0
5063
- } = evaluate(options, state);
5064
- const paddingObject = getPaddingObject(padding);
5065
- const altContext = elementContext === 'floating' ? 'reference' : 'floating';
5066
- const element = elements[altBoundary ? altContext : elementContext];
5067
- const clippingClientRect = rectToClientRect(await platform.getClippingRect({
5068
- element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
5069
- boundary,
5070
- rootBoundary,
5071
- strategy
5072
- }));
5073
- const rect = elementContext === 'floating' ? {
5074
- x,
5075
- y,
5076
- width: rects.floating.width,
5077
- height: rects.floating.height
5078
- } : rects.reference;
5079
- const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
5080
- const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
5081
- x: 1,
5082
- y: 1
5083
- } : {
5084
- x: 1,
5085
- y: 1
5086
- };
5087
- const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
5088
- elements,
5089
- rect,
5090
- offsetParent,
5091
- strategy
5092
- }) : rect);
5093
- return {
5094
- top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
5095
- bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
5096
- left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
5097
- right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
5098
- };
5099
- }
5100
-
5101
5120
  /**
5102
5121
  * Optimizes the visibility of the floating element by flipping the `placement`
5103
5122
  * in order to keep it in view when the preferred placement(s) will overflow the
@@ -5148,7 +5167,7 @@ const flip$1 = function (options) {
5148
5167
  fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
5149
5168
  }
5150
5169
  const placements = [initialPlacement, ...fallbackPlacements];
5151
- const overflow = await detectOverflow(state, detectOverflowOptions);
5170
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
5152
5171
  const overflows = [];
5153
5172
  let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
5154
5173
  if (checkMainAxis) {
@@ -5332,7 +5351,8 @@ const shift$1 = function (options) {
5332
5351
  const {
5333
5352
  x,
5334
5353
  y,
5335
- placement
5354
+ placement,
5355
+ platform
5336
5356
  } = state;
5337
5357
  const {
5338
5358
  mainAxis: checkMainAxis = true,
@@ -5355,7 +5375,7 @@ const shift$1 = function (options) {
5355
5375
  x,
5356
5376
  y
5357
5377
  };
5358
- const overflow = await detectOverflow(state, detectOverflowOptions);
5378
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
5359
5379
  const crossAxis = getSideAxis(getSide(placement));
5360
5380
  const mainAxis = getOppositeAxis(crossAxis);
5361
5381
  let mainAxisCoord = coords[mainAxis];
@@ -5419,7 +5439,7 @@ const size$1 = function (options) {
5419
5439
  apply = () => {},
5420
5440
  ...detectOverflowOptions
5421
5441
  } = evaluate(options, state);
5422
- const overflow = await detectOverflow(state, detectOverflowOptions);
5442
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
5423
5443
  const side = getSide(placement);
5424
5444
  const alignment = getAlignment(placement);
5425
5445
  const isYAxis = getSideAxis(placement) === 'y';
@@ -5522,7 +5542,6 @@ function isShadowRoot(value) {
5522
5542
  }
5523
5543
  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
5524
5544
  }
5525
- const invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);
5526
5545
  function isOverflowElement(element) {
5527
5546
  const {
5528
5547
  overflow,
@@ -5530,32 +5549,35 @@ function isOverflowElement(element) {
5530
5549
  overflowY,
5531
5550
  display
5532
5551
  } = getComputedStyle$1(element);
5533
- return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);
5552
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
5534
5553
  }
5535
- const tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);
5536
5554
  function isTableElement(element) {
5537
- return tableElements.has(getNodeName(element));
5555
+ return /^(table|td|th)$/.test(getNodeName(element));
5538
5556
  }
5539
- const topLayerSelectors = [':popover-open', ':modal'];
5540
5557
  function isTopLayer(element) {
5541
- return topLayerSelectors.some(selector => {
5542
- try {
5543
- return element.matches(selector);
5544
- } catch (_e) {
5545
- return false;
5558
+ try {
5559
+ if (element.matches(':popover-open')) {
5560
+ return true;
5546
5561
  }
5547
- });
5562
+ } catch (_e) {
5563
+ // no-op
5564
+ }
5565
+ try {
5566
+ return element.matches(':modal');
5567
+ } catch (_e) {
5568
+ return false;
5569
+ }
5548
5570
  }
5549
- const transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];
5550
- const willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];
5551
- const containValues = ['paint', 'layout', 'strict', 'content'];
5571
+ const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
5572
+ const containRe = /paint|layout|strict|content/;
5573
+ const isNotNone = value => !!value && value !== 'none';
5574
+ let isWebKitValue;
5552
5575
  function isContainingBlock(elementOrCss) {
5553
- const webkit = isWebKit();
5554
5576
  const css = isElement(elementOrCss) ? getComputedStyle$1(elementOrCss) : elementOrCss;
5555
5577
 
5556
5578
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
5557
5579
  // https://drafts.csswg.org/css-transforms-2/#individual-transforms
5558
- return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));
5580
+ return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
5559
5581
  }
5560
5582
  function getContainingBlock(element) {
5561
5583
  let currentNode = getParentNode(element);
@@ -5570,12 +5592,13 @@ function getContainingBlock(element) {
5570
5592
  return null;
5571
5593
  }
5572
5594
  function isWebKit() {
5573
- if (typeof CSS === 'undefined' || !CSS.supports) return false;
5574
- return CSS.supports('-webkit-backdrop-filter', 'none');
5595
+ if (isWebKitValue == null) {
5596
+ isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
5597
+ }
5598
+ return isWebKitValue;
5575
5599
  }
5576
- const lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);
5577
5600
  function isLastTraversableNode(node) {
5578
- return lastTraversableNodeNames.has(getNodeName(node));
5601
+ return /^(html|body|#document)$/.test(getNodeName(node));
5579
5602
  }
5580
5603
  function getComputedStyle$1(element) {
5581
5604
  return getWindow(element).getComputedStyle(element);
@@ -5631,8 +5654,9 @@ function getOverflowAncestors(node, list, traverseIframes) {
5631
5654
  if (isBody) {
5632
5655
  const frameElement = getFrameElement(win);
5633
5656
  return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
5657
+ } else {
5658
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
5634
5659
  }
5635
- return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
5636
5660
  }
5637
5661
  function getFrameElement(win) {
5638
5662
  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
@@ -5809,7 +5833,7 @@ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
5809
5833
  if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
5810
5834
  scroll = getNodeScroll(offsetParent);
5811
5835
  }
5812
- if (isHTMLElement(offsetParent)) {
5836
+ if (isOffsetParentAnElement) {
5813
5837
  const offsetRect = getBoundingClientRect(offsetParent);
5814
5838
  scale = getScale(offsetParent);
5815
5839
  offsets.x = offsetRect.x + offsetParent.clientLeft;
@@ -5897,7 +5921,6 @@ function getViewportRect(element, strategy) {
5897
5921
  };
5898
5922
  }
5899
5923
 
5900
- const absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);
5901
5924
  // Returns the inner client rect, subtracting scrollbars if present.
5902
5925
  function getInnerBoundingClientRect(element, strategy) {
5903
5926
  const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
@@ -5962,7 +5985,7 @@ function getClippingElementAncestors(element, cache) {
5962
5985
  if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
5963
5986
  currentContainingBlockComputedStyle = null;
5964
5987
  }
5965
- const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
5988
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && (currentContainingBlockComputedStyle.position === 'absolute' || currentContainingBlockComputedStyle.position === 'fixed') || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
5966
5989
  if (shouldDropCurrentNode) {
5967
5990
  // Drop non-containing blocks.
5968
5991
  result = result.filter(ancestor => ancestor !== currentNode);
@@ -5987,20 +6010,23 @@ function getClippingRect(_ref) {
5987
6010
  } = _ref;
5988
6011
  const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
5989
6012
  const clippingAncestors = [...elementClippingAncestors, rootBoundary];
5990
- const firstClippingAncestor = clippingAncestors[0];
5991
- const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
5992
- const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
5993
- accRect.top = max(rect.top, accRect.top);
5994
- accRect.right = min(rect.right, accRect.right);
5995
- accRect.bottom = min(rect.bottom, accRect.bottom);
5996
- accRect.left = max(rect.left, accRect.left);
5997
- return accRect;
5998
- }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
6013
+ const firstRect = getClientRectFromClippingAncestor(element, clippingAncestors[0], strategy);
6014
+ let top = firstRect.top;
6015
+ let right = firstRect.right;
6016
+ let bottom = firstRect.bottom;
6017
+ let left = firstRect.left;
6018
+ for (let i = 1; i < clippingAncestors.length; i++) {
6019
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestors[i], strategy);
6020
+ top = max(rect.top, top);
6021
+ right = min(rect.right, right);
6022
+ bottom = min(rect.bottom, bottom);
6023
+ left = max(rect.left, left);
6024
+ }
5999
6025
  return {
6000
- width: clippingRect.right - clippingRect.left,
6001
- height: clippingRect.bottom - clippingRect.top,
6002
- x: clippingRect.left,
6003
- y: clippingRect.top
6026
+ width: right - left,
6027
+ height: bottom - top,
6028
+ x: left,
6029
+ y: top
6004
6030
  };
6005
6031
  }
6006
6032
 
@@ -6251,7 +6277,7 @@ function autoUpdate(reference, floating, update, options) {
6251
6277
  animationFrame = false
6252
6278
  } = options;
6253
6279
  const referenceEl = unwrapElement(reference);
6254
- const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
6280
+ const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...(floating ? getOverflowAncestors(floating) : [])] : [];
6255
6281
  ancestors.forEach(ancestor => {
6256
6282
  ancestorScroll && ancestor.addEventListener('scroll', update, {
6257
6283
  passive: true
@@ -6264,7 +6290,7 @@ function autoUpdate(reference, floating, update, options) {
6264
6290
  if (elementResize) {
6265
6291
  resizeObserver = new ResizeObserver(_ref => {
6266
6292
  let [firstEntry] = _ref;
6267
- if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
6293
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver && floating) {
6268
6294
  // Prevent update loops when using the `size` middleware.
6269
6295
  // https://github.com/floating-ui/floating-ui/issues/1740
6270
6296
  resizeObserver.unobserve(floating);
@@ -6279,7 +6305,9 @@ function autoUpdate(reference, floating, update, options) {
6279
6305
  if (referenceEl && !animationFrame) {
6280
6306
  resizeObserver.observe(referenceEl);
6281
6307
  }
6282
- resizeObserver.observe(floating);
6308
+ if (floating) {
6309
+ resizeObserver.observe(floating);
6310
+ }
6283
6311
  }
6284
6312
  let frameId;
6285
6313
  let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
@@ -6365,7 +6393,7 @@ const computePosition = (reference, floating, options) => {
6365
6393
  });
6366
6394
  };
6367
6395
 
6368
- /*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
6396
+ /*! @license DOMPurify 3.3.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.3/LICENSE */
6369
6397
 
6370
6398
  const {
6371
6399
  entries,
@@ -6663,7 +6691,7 @@ const _createHooksMap = function _createHooksMap() {
6663
6691
  function createDOMPurify() {
6664
6692
  let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
6665
6693
  const DOMPurify = root => createDOMPurify(root);
6666
- DOMPurify.version = '3.3.1';
6694
+ DOMPurify.version = '3.3.3';
6667
6695
  DOMPurify.removed = [];
6668
6696
  if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
6669
6697
  // Not running in a browser, provide a factory function
@@ -6958,7 +6986,7 @@ function createDOMPurify() {
6958
6986
  /* Parse profile info */
6959
6987
  if (USE_PROFILES) {
6960
6988
  ALLOWED_TAGS = addToSet({}, text);
6961
- ALLOWED_ATTR = [];
6989
+ ALLOWED_ATTR = create(null);
6962
6990
  if (USE_PROFILES.html === true) {
6963
6991
  addToSet(ALLOWED_TAGS, html$1);
6964
6992
  addToSet(ALLOWED_ATTR, html);
@@ -6979,6 +7007,13 @@ function createDOMPurify() {
6979
7007
  addToSet(ALLOWED_ATTR, xml);
6980
7008
  }
6981
7009
  }
7010
+ /* Prevent function-based ADD_ATTR / ADD_TAGS from leaking across calls */
7011
+ if (!objectHasOwnProperty(cfg, 'ADD_TAGS')) {
7012
+ EXTRA_ELEMENT_HANDLING.tagCheck = null;
7013
+ }
7014
+ if (!objectHasOwnProperty(cfg, 'ADD_ATTR')) {
7015
+ EXTRA_ELEMENT_HANDLING.attributeCheck = null;
7016
+ }
6982
7017
  /* Merge configuration parameters */
6983
7018
  if (cfg.ADD_TAGS) {
6984
7019
  if (typeof cfg.ADD_TAGS === 'function') {
@@ -7376,6 +7411,10 @@ function createDOMPurify() {
7376
7411
  */
7377
7412
  // eslint-disable-next-line complexity
7378
7413
  const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
7414
+ /* FORBID_ATTR must always win, even if ADD_ATTR predicate would allow it */
7415
+ if (FORBID_ATTR[lcName]) {
7416
+ return false;
7417
+ }
7379
7418
  /* Make sure attribute cannot clobber */
7380
7419
  if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
7381
7420
  return false;
@@ -7468,7 +7507,7 @@ function createDOMPurify() {
7468
7507
  value = SANITIZE_NAMED_PROPS_PREFIX + value;
7469
7508
  }
7470
7509
  /* Work around a security issue with comments inside attributes */
7471
- if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
7510
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, value)) {
7472
7511
  _removeAttribute(name, currentNode);
7473
7512
  continue;
7474
7513
  }
@@ -7740,7 +7779,7 @@ function createDOMPurify() {
7740
7779
  }
7741
7780
  var purify = createDOMPurify();
7742
7781
 
7743
- const pdsComboboxCss = ":host{display:block}:host([disabled=true]) .pds-combobox__input-icon{color:var(--pine-color-text-disabled);pointer-events:none}.pds-combobox{position:relative}.pds-combobox__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-combobox__input-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;position:relative;width:100%}.pds-combobox__input{background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body-medium);padding:var(--pine-dimension-xs) var(--pine-dimension-450) var(--pine-dimension-xs) var(--pine-dimension-150);-webkit-transition:border-color 0.2s ease;transition:border-color 0.2s ease;width:100%}.pds-combobox__input:hover:not(:disabled){border-color:var(--pine-color-border-hover)}.pds-combobox__input:disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-combobox__input:disabled::-webkit-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:disabled::-moz-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:disabled:-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:disabled::-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:disabled::placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:focus-visible{border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-combobox__input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input::placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input-icon{color:var(--pine-color-text-secondary);pointer-events:none;position:absolute;right:var(--pine-dimension-150);z-index:var(--pine-z-index-raised)}.pds-combobox__listbox{background:var(--pine-color-background-container);border:0;border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);list-style:none;margin:0;min-width:220px;overflow-y:auto;padding:var(--pine-dimension-xs);position:absolute;z-index:var(--pine-z-index-raised)}.pds-combobox__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-125);color:var(--pine-color-text-secondary);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-medium);-ms-flex-pack:justify;justify-content:space-between;padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;-webkit-transition:background 0.15s;transition:background 0.15s}.pds-combobox__option[aria-selected=true]{background:var(--pine-color-background-muted)}.pds-combobox__option:focus-visible{outline:0}.pds-combobox__option .pds-combobox__option--layout .pds-combobox__option-layout-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:100%}.pds-combobox__option .pds-combobox__option--chip .pds-combobox__option-chip{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:100%}.pds-combobox__option:last-child{-webkit-margin-after:0;margin-block-end:0}.pds-combobox__option--highlighted,.pds-combobox__option[selected],.pds-combobox__option--selected{background:var(--pine-color-background-muted)}.pds-combobox__option-check{color:currentColor;font-size:var(--pine-dimension-150);-webkit-margin-start:var(--pine-dimension-150);margin-inline-start:var(--pine-dimension-150)}.pds-combobox__group-label{color:var(--pine-color-text-tertiary);cursor:default;font:var(--pine-typography-heading-caption);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-150);margin-block-start:var(--pine-dimension-150);padding:var(--pine-dimension-2xs) var(--pine-dimension-sm);text-transform:uppercase}.pds-combobox__group-label:first-child{-webkit-margin-before:0;margin-block-start:0}.pds-combobox__button-trigger{-ms-flex-align:center;align-items:center;background:var(--color-background-default, var(--pine-color-secondary));border:var(--pine-border);border-radius:var(--pine-border-radius-full);color:var(--color-text-default, var(--pine-color-text-inverse-emphasis));cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-medium);-ms-flex-pack:justify;justify-content:space-between;min-height:var(--pine-dimension-450);outline:none;padding:0 var(--pine-dimension-sm);-webkit-transition:border-color 0.15s, background 0.15s, -webkit-box-shadow 0.15s;transition:border-color 0.15s, background 0.15s, -webkit-box-shadow 0.15s;transition:border-color 0.15s, box-shadow 0.15s, background 0.15s;transition:border-color 0.15s, box-shadow 0.15s, background 0.15s, -webkit-box-shadow 0.15s;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.pds-combobox__button-trigger .pds-combobox__button-trigger-layout-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.pds-combobox__button-trigger .trigger-content{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:100%}.pds-combobox__button-trigger:focus-visible{border-color:var(--color-border-focus, var(--pine-color-border));-webkit-box-shadow:0 0 0 2px var(--color-outline, var(--pine-color-focus-ring));box-shadow:0 0 0 2px var(--color-outline, var(--pine-color-focus-ring))}.pds-combobox__button-trigger:hover{background:var(--color-background-hover, var(--pine-color-secondary-hover));border-color:var(--color-border-hover, var(--pine-color-border-hover))}.pds-combobox__button-trigger[aria-disabled=true],.pds-combobox__button-trigger:disabled{background:var(--color-background-disabled, var(--pine-color-secondary-disabled));border-color:var(--color-border-disabled, var(--pine-color-border-disabled));color:var(--color-text-disabled, var(--pine-color-text-secondary-disabled));cursor:not-allowed;opacity:0.6}.pds-combobox__button-trigger-label{color:inherit;-ms-flex:1 1 auto;flex:1 1 auto;text-align:start}.pds-combobox__button-trigger-chevron{color:currentColor;-webkit-margin-start:var(--pine-dimension-150);margin-inline-start:var(--pine-dimension-150)}.pds-combobox__button-trigger--primary{--color-background-default:var(--pine-color-primary);--color-background-hover:var(--pine-color-primary-hover);--color-background-disabled:var(--pine-color-primary-disabled);--color-border-default:var(--pine-color-primary);--color-border-hover:var(--pine-color-primary-hover);--color-border-disabled:var(--pine-color-primary-disabled);--color-border-focus:var(--pine-color-primary);--color-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-primary-disabled);--color-outline:var(--pine-color-focus-ring)}.pds-combobox__button-trigger--accent{--color-background-default:var(--pine-color-accent);--color-background-hover:var(--pine-color-accent-hover);--color-background-disabled:var(--pine-color-accent-disabled);--color-border-default:var(--pine-color-accent);--color-border-hover:var(--pine-color-accent-hover);--color-border-disabled:var(--pine-color-accent-disabled);--color-border-focus:var(--pine-color-accent);--color-text-default:var(--pine-color-white);--color-text-disabled:var(--pine-color-text-accent-disabled);--color-outline:var(--pine-color-focus-ring)}.pds-combobox__button-trigger--secondary{--color-background-default:var(--pine-color-secondary);--color-background-hover:var(--pine-color-secondary-hover);--color-background-disabled:var(--pine-color-secondary-disabled);--color-border-default:var(--pine-color-border);--color-border-hover:var(--pine-color-border-hover);--color-border-disabled:var(--pine-color-border-disabled);--color-border-focus:var(--pine-color-border);--color-text-default:var(--pine-color-text-secondary);--color-text-disabled:var(--pine-color-text-secondary-disabled);--color-outline:var(--pine-color-focus-ring)}.pds-combobox__button-trigger--destructive{--color-background-default:var(--pine-color-danger);--color-background-hover:var(--pine-color-danger-hover);--color-background-disabled:var(--pine-color-danger-disabled);--color-border-default:var(--pine-color-danger);--color-border-hover:var(--pine-color-danger-hover);--color-border-disabled:var(--pine-color-danger-disabled);--color-border-focus:var(--pine-color-danger);--color-text-default:var(--pine-color-white);--color-text-disabled:var(--pine-color-text-danger-disabled);--color-outline:var(--pine-color-focus-ring-danger)}.visually-hidden{border:0;clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}[data-layout]{border-radius:var(--pine-dimension-125);padding-block:var(--pine-dimension-xs)}.pds-combobox__chip-trigger{-ms-flex-align:center;align-items:center;border-radius:var(--pine-dimension-sm);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font:var(--pine-typography-body-medium);-ms-flex-pack:justify;justify-content:space-between;outline:none;padding-block:var(--pine-dimension-025);padding-inline:var(--pine-dimension-150);-webkit-transition:all 0.15s ease;transition:all 0.15s ease;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.pds-combobox__chip-trigger .pds-combobox__chip-trigger-layout-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.pds-combobox__chip-trigger .trigger-content{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:100%}.pds-combobox__chip-trigger:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-combobox__chip-trigger[aria-disabled=true]{cursor:not-allowed;opacity:0.6}.pds-combobox__chip-trigger-label{color:inherit;-ms-flex:1 1 auto;flex:1 1 auto;text-align:start}.pds-combobox__chip-trigger-chevron{color:currentColor;-webkit-margin-start:var(--pine-dimension-150);margin-inline-start:var(--pine-dimension-150)}.pds-combobox__chip-trigger-icon{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}.pds-combobox__chip-trigger--neutral,.pds-combobox__chip-trigger--accent,.pds-combobox__chip-trigger--success,.pds-combobox__chip-trigger--warning,.pds-combobox__chip-trigger--danger,.pds-combobox__chip-trigger--info{background:var(--chip-bg);border:var(--pine-border-width) solid var(--chip-border);color:var(--chip-text)}.pds-combobox__chip-trigger--neutral:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--accent:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--success:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--warning:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--danger:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--info:hover:not([aria-disabled=true]){background:var(--chip-bg-hover)}.pds-combobox__chip-trigger--neutral:focus-visible,.pds-combobox__chip-trigger--accent:focus-visible,.pds-combobox__chip-trigger--success:focus-visible,.pds-combobox__chip-trigger--warning:focus-visible,.pds-combobox__chip-trigger--danger:focus-visible,.pds-combobox__chip-trigger--info:focus-visible{border-color:var(--chip-border)}.pds-combobox__chip-trigger--neutral{--chip-bg:var(--pine-chip-color-neutral);--chip-bg-hover:var(--pine-chip-color-neutral-hover);--chip-border:var(--pine-chip-color-neutral-hover);--chip-text:var(--pine-color-text-neutral)}.pds-combobox__chip-trigger--accent{--chip-bg:var(--pine-chip-color-accent);--chip-bg-hover:var(--pine-chip-color-accent-hover);--chip-border:var(--pine-chip-color-accent-hover);--chip-text:var(--pine-color-text-accent)}.pds-combobox__chip-trigger--success{--chip-bg:var(--pine-chip-color-success);--chip-bg-hover:var(--pine-chip-color-success-hover);--chip-border:var(--pine-chip-color-success-hover);--chip-text:var(--pine-color-text-success)}.pds-combobox__chip-trigger--warning{--chip-bg:var(--pine-chip-color-warning);--chip-bg-hover:var(--pine-chip-color-warning-hover);--chip-border:var(--pine-chip-color-warning-hover);--chip-text:var(--pine-color-text-warning)}.pds-combobox__chip-trigger--danger{--chip-bg:var(--pine-chip-color-danger);--chip-bg-hover:var(--pine-chip-color-danger-hover);--chip-border:var(--pine-chip-color-danger-hover);--chip-text:var(--pine-color-text-danger)}.pds-combobox__chip-trigger--info{--chip-bg:var(--pine-chip-color-info);--chip-bg-hover:var(--pine-chip-color-info-hover);--chip-border:var(--pine-chip-color-info-hover);--chip-text:var(--pine-color-text-info)}.pds-combobox__chip-trigger--brand{background:-webkit-gradient(linear, left top, right top, from(#FF3E14), to(#6B62F2));background:linear-gradient(90deg, #FF3E14 0%, #6B62F2 100%);border:0;color:var(--pine-color-text-neutral);padding:1px;position:relative}.pds-combobox__chip-trigger--brand .pds-combobox__chip-trigger-label{background:rgba(255, 255, 255, 0.9);border-radius:calc(var(--pine-dimension-sm) - 1px);color:var(--pine-color-text-neutral);font-weight:var(--pine-font-weight-medium);padding:var(--pine-dimension-025) var(--pine-dimension-150);position:relative;z-index:1}.pds-combobox__chip-trigger--brand .pds-combobox__chip-trigger-chevron{position:relative;z-index:1}.pds-combobox__chip-trigger--brand:hover:not([aria-disabled=true]) .pds-combobox__chip-trigger-label{background:rgba(255, 255, 255, 0.8)}.pds-combobox__chip-trigger--dropdown:not(.pds-combobox__chip-trigger--brand){padding:var(--pine-dimension-none)}.pds-combobox__chip-trigger--dropdown:not(.pds-combobox__chip-trigger--brand) .pds-combobox__chip-trigger-label{padding:var(--pine-dimension-025) var(--pine-dimension-150)}.pds-combobox__chip-trigger--large .pds-combobox__chip-trigger-label{font-family:var(--pine-font-family-heading);font-size:var(--pine-font-size-heading-6);font-weight:var(--pine-font-weight-medium);letter-spacing:var(--pine-letter-spacing-heading-6)}.pds-combobox__chip-trigger--dot .pds-combobox__chip-trigger-label::before{border:var(--pine-border-width) solid transparent;border-radius:var(--pine-border-radius-full);content:\"\";display:inline-block;height:var(--pine-dimension-2xs);-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs);width:var(--pine-dimension-2xs)}.pds-combobox__loading{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-150)}.pds-combobox__empty{color:var(--pine-color-text-tertiary);padding:var(--pine-dimension-150) var(--pine-dimension-sm);text-align:center}.pds-combobox__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-150)}";
7782
+ const pdsComboboxCss = ":host{display:block}:host([disabled=true]) .pds-combobox__input-icon{color:var(--pine-color-text-disabled);pointer-events:none}.pds-combobox{position:relative}.pds-combobox__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-combobox__input-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;position:relative;width:100%}.pds-combobox__input{background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body-medium);padding:var(--pine-dimension-xs) var(--pine-dimension-450) var(--pine-dimension-xs) var(--pine-dimension-150);-webkit-transition:border-color 0.2s ease;transition:border-color 0.2s ease;width:100%}.pds-combobox__input:hover:not(:disabled){border-color:var(--pine-color-border-hover)}.pds-combobox__input:disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-combobox__input:disabled::-webkit-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:disabled::-moz-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:disabled:-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:disabled::-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:disabled::placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-combobox__input:focus-visible{border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-combobox__input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input::placeholder{color:var(--pine-color-text-placeholder)}.pds-combobox__input-icon{color:var(--pine-color-text-secondary);pointer-events:none;position:absolute;right:var(--pine-dimension-150);z-index:var(--pine-z-index-raised)}.pds-combobox__listbox{background:var(--pine-color-background-container);border:0;border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);list-style:none;margin:0;min-width:220px;overflow-y:auto;padding:var(--pine-dimension-xs);position:absolute;z-index:var(--pine-z-index-raised)}.pds-combobox__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-125);color:var(--pine-color-text-secondary);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-medium);-ms-flex-pack:justify;justify-content:space-between;padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;-webkit-transition:background 0.15s;transition:background 0.15s}.pds-combobox__option[aria-selected=true]{background:var(--pine-color-background-muted)}.pds-combobox__option:focus-visible{outline:0}.pds-combobox__option .pds-combobox__option--layout .pds-combobox__option-layout-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:100%}.pds-combobox__option .pds-combobox__option--chip .pds-combobox__option-chip{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:100%}.pds-combobox__option:last-child{-webkit-margin-after:0;margin-block-end:0}.pds-combobox__option--highlighted,.pds-combobox__option[selected],.pds-combobox__option--selected{background:var(--pine-color-background-muted)}.pds-combobox__option-check{color:currentColor;font-size:var(--pine-dimension-150);-webkit-margin-start:var(--pine-dimension-150);margin-inline-start:var(--pine-dimension-150)}.pds-combobox__group-label{color:var(--pine-color-text-tertiary);cursor:default;font:var(--pine-typography-heading-caption);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-150);margin-block-start:var(--pine-dimension-150);padding:var(--pine-dimension-2xs) var(--pine-dimension-sm);text-transform:uppercase}.pds-combobox__group-label:first-child{-webkit-margin-before:0;margin-block-start:0}.pds-combobox__button-trigger{-ms-flex-align:center;align-items:center;background:var(--color-background-default, var(--pine-color-secondary));border:var(--pine-border);border-radius:var(--pine-border-radius-full);color:var(--color-text-default, var(--pine-color-text-inverse-emphasis));cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-medium);-ms-flex-pack:justify;justify-content:space-between;min-height:var(--pine-dimension-450);outline:none;padding:0 var(--pine-dimension-sm);-webkit-transition:border-color 0.15s, background 0.15s, -webkit-box-shadow 0.15s;transition:border-color 0.15s, background 0.15s, -webkit-box-shadow 0.15s;transition:border-color 0.15s, box-shadow 0.15s, background 0.15s;transition:border-color 0.15s, box-shadow 0.15s, background 0.15s, -webkit-box-shadow 0.15s;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.pds-combobox__button-trigger .pds-combobox__button-trigger-layout-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.pds-combobox__button-trigger .trigger-content{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:100%}.pds-combobox__button-trigger:focus-visible{border-color:var(--color-border-focus, var(--pine-color-border));-webkit-box-shadow:0 0 0 2px var(--color-outline, var(--pine-color-focus-ring));box-shadow:0 0 0 2px var(--color-outline, var(--pine-color-focus-ring))}.pds-combobox__button-trigger:hover{background:var(--color-background-hover, var(--pine-color-secondary-hover));border-color:var(--color-border-hover, var(--pine-color-border-hover))}.pds-combobox__button-trigger[aria-disabled=true],.pds-combobox__button-trigger:disabled{background:var(--color-background-disabled, var(--pine-color-secondary-disabled));border-color:var(--color-border-disabled, var(--pine-color-border-disabled));color:var(--color-text-disabled, var(--pine-color-text-secondary-disabled));cursor:not-allowed;opacity:0.6}.pds-combobox__button-trigger-label{color:inherit;-ms-flex:1 1 auto;flex:1 1 auto;text-align:start}.pds-combobox__button-trigger--input-shape{border-radius:var(--pine-dimension-125);min-height:var(--pine-dimension-500)}.pds-combobox__button-trigger-chevron{color:currentColor;-webkit-margin-start:var(--pine-dimension-150);margin-inline-start:var(--pine-dimension-150)}.pds-combobox__button-trigger--primary{--color-background-default:var(--pine-color-primary);--color-background-hover:var(--pine-color-primary-hover);--color-background-disabled:var(--pine-color-primary-disabled);--color-border-default:var(--pine-color-primary);--color-border-hover:var(--pine-color-primary-hover);--color-border-disabled:var(--pine-color-primary-disabled);--color-border-focus:var(--pine-color-primary);--color-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-primary-disabled);--color-outline:var(--pine-color-focus-ring)}.pds-combobox__button-trigger--accent{--color-background-default:var(--pine-color-accent);--color-background-hover:var(--pine-color-accent-hover);--color-background-disabled:var(--pine-color-accent-disabled);--color-border-default:var(--pine-color-accent);--color-border-hover:var(--pine-color-accent-hover);--color-border-disabled:var(--pine-color-accent-disabled);--color-border-focus:var(--pine-color-accent);--color-text-default:var(--pine-color-white);--color-text-disabled:var(--pine-color-text-accent-disabled);--color-outline:var(--pine-color-focus-ring)}.pds-combobox__button-trigger--secondary{--color-background-default:var(--pine-color-secondary);--color-background-hover:var(--pine-color-secondary-hover);--color-background-disabled:var(--pine-color-secondary-disabled);--color-border-default:var(--pine-color-border);--color-border-hover:var(--pine-color-border-hover);--color-border-disabled:var(--pine-color-border-disabled);--color-border-focus:var(--pine-color-border);--color-text-default:var(--pine-color-text-secondary);--color-text-disabled:var(--pine-color-text-secondary-disabled);--color-outline:var(--pine-color-focus-ring)}.pds-combobox__button-trigger--destructive{--color-background-default:var(--pine-color-danger);--color-background-hover:var(--pine-color-danger-hover);--color-background-disabled:var(--pine-color-danger-disabled);--color-border-default:var(--pine-color-danger);--color-border-hover:var(--pine-color-danger-hover);--color-border-disabled:var(--pine-color-danger-disabled);--color-border-focus:var(--pine-color-danger);--color-text-default:var(--pine-color-white);--color-text-disabled:var(--pine-color-text-danger-disabled);--color-outline:var(--pine-color-focus-ring-danger)}.visually-hidden{border:0;clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}[data-layout]{border-radius:var(--pine-dimension-125);padding-block:var(--pine-dimension-xs)}.pds-combobox__chip-trigger{-ms-flex-align:center;align-items:center;border-radius:var(--pine-dimension-sm);cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font:var(--pine-typography-body-medium);-ms-flex-pack:justify;justify-content:space-between;outline:none;padding-block:var(--pine-dimension-025);padding-inline:var(--pine-dimension-150);-webkit-transition:all 0.15s ease;transition:all 0.15s ease;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.pds-combobox__chip-trigger .pds-combobox__chip-trigger-layout-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.pds-combobox__chip-trigger .trigger-content{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;width:100%}.pds-combobox__chip-trigger:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-combobox__chip-trigger[aria-disabled=true]{cursor:not-allowed;opacity:0.6}.pds-combobox__chip-trigger-label{color:inherit;-ms-flex:1 1 auto;flex:1 1 auto;text-align:start}.pds-combobox__chip-trigger-chevron{color:currentColor;-webkit-margin-start:var(--pine-dimension-150);margin-inline-start:var(--pine-dimension-150)}.pds-combobox__chip-trigger-icon{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}.pds-combobox__chip-trigger--neutral,.pds-combobox__chip-trigger--accent,.pds-combobox__chip-trigger--success,.pds-combobox__chip-trigger--warning,.pds-combobox__chip-trigger--danger,.pds-combobox__chip-trigger--info{background:var(--chip-bg);border:var(--pine-border-width) solid var(--chip-border);color:var(--chip-text)}.pds-combobox__chip-trigger--neutral:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--accent:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--success:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--warning:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--danger:hover:not([aria-disabled=true]),.pds-combobox__chip-trigger--info:hover:not([aria-disabled=true]){background:var(--chip-bg-hover)}.pds-combobox__chip-trigger--neutral:focus-visible,.pds-combobox__chip-trigger--accent:focus-visible,.pds-combobox__chip-trigger--success:focus-visible,.pds-combobox__chip-trigger--warning:focus-visible,.pds-combobox__chip-trigger--danger:focus-visible,.pds-combobox__chip-trigger--info:focus-visible{border-color:var(--chip-border)}.pds-combobox__chip-trigger--neutral{--chip-bg:var(--pine-chip-color-neutral);--chip-bg-hover:var(--pine-chip-color-neutral-hover);--chip-border:var(--pine-chip-color-neutral-hover);--chip-text:var(--pine-color-text-neutral)}.pds-combobox__chip-trigger--accent{--chip-bg:var(--pine-chip-color-accent);--chip-bg-hover:var(--pine-chip-color-accent-hover);--chip-border:var(--pine-chip-color-accent-hover);--chip-text:var(--pine-color-text-accent)}.pds-combobox__chip-trigger--success{--chip-bg:var(--pine-chip-color-success);--chip-bg-hover:var(--pine-chip-color-success-hover);--chip-border:var(--pine-chip-color-success-hover);--chip-text:var(--pine-color-text-success)}.pds-combobox__chip-trigger--warning{--chip-bg:var(--pine-chip-color-warning);--chip-bg-hover:var(--pine-chip-color-warning-hover);--chip-border:var(--pine-chip-color-warning-hover);--chip-text:var(--pine-color-text-warning)}.pds-combobox__chip-trigger--danger{--chip-bg:var(--pine-chip-color-danger);--chip-bg-hover:var(--pine-chip-color-danger-hover);--chip-border:var(--pine-chip-color-danger-hover);--chip-text:var(--pine-color-text-danger)}.pds-combobox__chip-trigger--info{--chip-bg:var(--pine-chip-color-info);--chip-bg-hover:var(--pine-chip-color-info-hover);--chip-border:var(--pine-chip-color-info-hover);--chip-text:var(--pine-color-text-info)}.pds-combobox__chip-trigger--brand{background:-webkit-gradient(linear, left top, right top, from(#FF3E14), to(#6B62F2));background:linear-gradient(90deg, #FF3E14 0%, #6B62F2 100%);border:0;color:var(--pine-color-text-neutral);padding:1px;position:relative}.pds-combobox__chip-trigger--brand .pds-combobox__chip-trigger-label{background:rgba(255, 255, 255, 0.9);border-radius:calc(var(--pine-dimension-sm) - 1px);color:var(--pine-color-text-neutral);font-weight:var(--pine-font-weight-medium);padding:var(--pine-dimension-025) var(--pine-dimension-150);position:relative;z-index:1}.pds-combobox__chip-trigger--brand .pds-combobox__chip-trigger-chevron{position:relative;z-index:1}.pds-combobox__chip-trigger--brand:hover:not([aria-disabled=true]) .pds-combobox__chip-trigger-label{background:rgba(255, 255, 255, 0.8)}.pds-combobox__chip-trigger--dropdown:not(.pds-combobox__chip-trigger--brand){padding:var(--pine-dimension-none)}.pds-combobox__chip-trigger--dropdown:not(.pds-combobox__chip-trigger--brand) .pds-combobox__chip-trigger-label{padding:var(--pine-dimension-025) var(--pine-dimension-150)}.pds-combobox__chip-trigger--large .pds-combobox__chip-trigger-label{font-family:var(--pine-font-family-heading);font-size:var(--pine-font-size-heading-6);font-weight:var(--pine-font-weight-medium);letter-spacing:var(--pine-letter-spacing-heading-6)}.pds-combobox__chip-trigger--dot .pds-combobox__chip-trigger-label::before{border:var(--pine-border-width) solid transparent;border-radius:var(--pine-border-radius-full);content:\"\";display:inline-block;height:var(--pine-dimension-2xs);-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs);width:var(--pine-dimension-2xs)}.pds-combobox__loading{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-150)}.pds-combobox__empty{color:var(--pine-color-text-tertiary);padding:var(--pine-dimension-150) var(--pine-dimension-sm);text-align:center}.pds-combobox__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-150)}";
7744
7783
 
7745
7784
  /**
7746
7785
  * @slot option - Option elements for the combobox dropdown
@@ -7783,7 +7822,8 @@ class PdsCombobox {
7783
7822
  this.dropdownWidth = '236px';
7784
7823
  /**
7785
7824
  * Visually hides the label text for instances where only the combobox should be displayed.
7786
- * Label remains accessible to assistive technology such as screen readers.
7825
+ * The visible `<label>` is omitted (same pattern as `pds-select`) so label spacing does not reserve layout;
7826
+ * the trigger uses `aria-label` so the name stays available to assistive technology.
7787
7827
  */
7788
7828
  this.hideLabel = false;
7789
7829
  /**
@@ -7806,6 +7846,12 @@ class PdsCombobox {
7806
7846
  * @default 'secondary'
7807
7847
  */
7808
7848
  this.triggerVariant = 'secondary';
7849
+ /**
7850
+ * The shape of the button trigger. Use 'input' to render the trigger with input-like styling
7851
+ * (subtle border radius, input height) for use in form or filter rows alongside PdsSelect and PdsMultiselect.
7852
+ * @default 'pill'
7853
+ */
7854
+ this.triggerShape = 'pill';
7809
7855
  /**
7810
7856
  * The sentiment for the chip trigger. Matches Pine chip sentiments.
7811
7857
  * @default 'neutral'
@@ -8156,14 +8202,7 @@ class PdsCombobox {
8156
8202
  }
8157
8203
  }
8158
8204
  // Initialize form value with current value
8159
- if (this.internals) {
8160
- try {
8161
- this.internals.setFormValue((_c = (_b = (_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : this.value) !== null && _c !== void 0 ? _c : '');
8162
- }
8163
- catch (e) {
8164
- // ElementInternals.setFormValue not available in unit tests
8165
- }
8166
- }
8205
+ this.updateFormValue((_c = (_b = (_a = this.selectedOption) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : this.value) !== null && _c !== void 0 ? _c : '');
8167
8206
  }
8168
8207
  disconnectedCallback() {
8169
8208
  var _a;
@@ -8185,14 +8224,7 @@ class PdsCombobox {
8185
8224
  handleValueChange() {
8186
8225
  this.filterOptions();
8187
8226
  // Sync with form internals for form association
8188
- if (this.internals) {
8189
- try {
8190
- this.internals.setFormValue(this.value);
8191
- }
8192
- catch (e) {
8193
- // ElementInternals.setFormValue not available in unit tests
8194
- }
8195
- }
8227
+ this.updateFormValue(this.value);
8196
8228
  // Find and select option that matches the value (for external value changes)
8197
8229
  // Only do this if we're not already updating from a selection
8198
8230
  if (!this.isUpdatingFromSelection && this.value && this.optionEls.length > 0) {
@@ -8225,26 +8257,19 @@ class PdsCombobox {
8225
8257
  this.displayText = this.getOptionLabel(this.selectedOption);
8226
8258
  this.value = this.selectedOption.value;
8227
8259
  // Update form internals with the actual option value
8228
- if (this.internals) {
8229
- try {
8230
- this.internals.setFormValue(this.selectedOption.value);
8231
- }
8232
- catch (e) {
8233
- // ElementInternals.setFormValue not available in unit tests
8234
- }
8235
- }
8260
+ this.updateFormValue(this.selectedOption.value);
8236
8261
  }
8237
8262
  else {
8238
8263
  this.displayText = '';
8239
8264
  this.value = '';
8240
- if (this.internals) {
8241
- try {
8242
- this.internals.setFormValue('');
8243
- }
8244
- catch (e) {
8245
- // ElementInternals.setFormValue not available in unit tests
8246
- }
8247
- }
8265
+ this.updateFormValue('');
8266
+ }
8267
+ }
8268
+ updateFormValue(value) {
8269
+ if (isSpecTest())
8270
+ return;
8271
+ if (this.internals && this.internals.setFormValue) {
8272
+ this.internals.setFormValue(value);
8248
8273
  }
8249
8274
  }
8250
8275
  clearAsyncFetchState() {
@@ -8992,11 +9017,17 @@ class PdsCombobox {
8992
9017
  large: chipProps.large, icon: chipProps.icon, dot: chipProps.dot, class: "pds-combobox__option-chip" }, this.getOptionLabel(option)));
8993
9018
  }
8994
9019
  render() {
8995
- const triggerClass = `pds-combobox__button-trigger pds-combobox__button-trigger--${this.triggerVariant}`;
8996
- return (hAsync(Host, { key: '8972918e55f8c0fba10399d963a49ab31b49eeae' }, hAsync("div", { key: '5f5782e3fb83c7ff3fea2d4344324d888110b8fc', class: "pds-combobox", tabIndex: -1, onFocusout: this.onComboboxFocusOut, part: "combobox" }, this.label && (hAsync("label", { key: '286cab5baba38486c7e661384f0b5a6a38976891', htmlFor: this.componentId, class: "pds-combobox__label" }, hAsync("span", { key: '3ccb30ead595d633bfe3ce624c99f9483c0d6265', class: this.hideLabel ? 'visually-hidden' : '' }, this.label))), this.trigger === 'input' ? (hAsync("div", { class: "pds-combobox__input-wrapper", style: { width: this.triggerWidth } }, hAsync("input", { ref: el => {
9020
+ const triggerClass = [
9021
+ 'pds-combobox__button-trigger',
9022
+ `pds-combobox__button-trigger--${this.triggerVariant}`,
9023
+ this.triggerShape === 'input' && 'pds-combobox__button-trigger--input-shape',
9024
+ ]
9025
+ .filter(Boolean)
9026
+ .join(' ');
9027
+ return (hAsync(Host, { key: '6a8f372c89a896d2d7e67661e84053c4c95b93c9' }, hAsync("div", { key: '7b4747885bfa9aaa6e698bf13b6cdf9d4e77b3b1', class: "pds-combobox", tabIndex: -1, onFocusout: this.onComboboxFocusOut, part: "combobox" }, this.label && !this.hideLabel && (hAsync("label", { key: '46acd60080458de682516becc6144b38675a3f2d', htmlFor: this.componentId, class: "pds-combobox__label" }, this.label)), this.trigger === 'input' ? (hAsync("div", { class: "pds-combobox__input-wrapper", style: { width: this.triggerWidth } }, hAsync("input", { ref: el => {
8997
9028
  this.inputEl = el;
8998
9029
  this.triggerEl = el;
8999
- }, class: "pds-combobox__input", type: "text", role: "combobox", "aria-autocomplete": "list", "aria-controls": "pds-combobox-listbox", "aria-activedescendant": this.isOpen && this.highlightedIndex >= 0 ? `pds-combobox-option-${this.highlightedIndex}` : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.hideLabel ? this.label : undefined, id: this.componentId, value: this.displayText, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onClick: this.handleInputClick, onKeyDown: this.handleKeyDown, autocomplete: "off", part: "input" }), hAsync("pds-icon", { icon: "enlarge", "aria-hidden": "true", class: "pds-combobox__input-icon" }))) : this.trigger === 'chip' ? (hAsync("div", { class: this.getChipTriggerClass(), style: { width: this.triggerWidth }, role: "combobox", "aria-haspopup": "listbox", "aria-controls": "pds-combobox-listbox", "aria-activedescendant": this.isOpen && this.highlightedIndex >= 0 ? `pds-combobox-option-${this.highlightedIndex}` : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.hideLabel ? this.label : undefined, id: this.componentId, tabIndex: this.disabled ? -1 : 0, onClick: this.onButtonTriggerClick, "data-layout": this.customTriggerContent, onKeyDown: this.onButtonTriggerKeyDown, onKeyUp: this.onButtonTriggerKeyUp, ref: el => (this.triggerEl = el), part: "chip-trigger" }, this.renderChipTriggerContent())) : (hAsync("div", { class: triggerClass, style: { width: this.triggerWidth }, role: "combobox", "aria-haspopup": "listbox", "aria-controls": "pds-combobox-listbox", "aria-activedescendant": this.isOpen && this.highlightedIndex >= 0 ? `pds-combobox-option-${this.highlightedIndex}` : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.hideLabel ? this.label : undefined, id: this.componentId, tabIndex: this.disabled ? -1 : 0, onClick: this.onButtonTriggerClick, "data-layout": this.customTriggerContent, onKeyDown: this.onButtonTriggerKeyDown, onKeyUp: this.onButtonTriggerKeyUp, ref: el => (this.triggerEl = el), part: "button-trigger" }, this.renderButtonTriggerContent())), hAsync("div", { key: '02597d696490153015a5d41190598f24fa1b034e', style: { display: 'none' } }, hAsync("slot", { key: '3bb35ff0c7cdde0cb3c4c0eeb9fc4879fcef62c6', onSlotchange: () => this.updateOptions() })), this.renderDropdown())));
9030
+ }, class: "pds-combobox__input", type: "text", role: "combobox", "aria-autocomplete": "list", "aria-controls": "pds-combobox-listbox", "aria-activedescendant": this.isOpen && this.highlightedIndex >= 0 ? `pds-combobox-option-${this.highlightedIndex}` : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.hideLabel ? this.label : undefined, id: this.componentId, value: this.displayText, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onClick: this.handleInputClick, onKeyDown: this.handleKeyDown, autocomplete: "off", part: "input" }), hAsync("pds-icon", { icon: "enlarge", "aria-hidden": "true", class: "pds-combobox__input-icon" }))) : this.trigger === 'chip' ? (hAsync("div", { class: this.getChipTriggerClass(), style: { width: this.triggerWidth }, role: "combobox", "aria-haspopup": "listbox", "aria-controls": "pds-combobox-listbox", "aria-activedescendant": this.isOpen && this.highlightedIndex >= 0 ? `pds-combobox-option-${this.highlightedIndex}` : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.hideLabel ? this.label : undefined, id: this.componentId, tabIndex: this.disabled ? -1 : 0, onClick: this.onButtonTriggerClick, "data-layout": this.customTriggerContent, onKeyDown: this.onButtonTriggerKeyDown, onKeyUp: this.onButtonTriggerKeyUp, ref: el => (this.triggerEl = el), part: "chip-trigger" }, this.renderChipTriggerContent())) : (hAsync("div", { class: triggerClass, style: { width: this.triggerWidth }, role: "combobox", "aria-haspopup": "listbox", "aria-controls": "pds-combobox-listbox", "aria-activedescendant": this.isOpen && this.highlightedIndex >= 0 ? `pds-combobox-option-${this.highlightedIndex}` : undefined, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.hideLabel ? this.label : undefined, id: this.componentId, tabIndex: this.disabled ? -1 : 0, onClick: this.onButtonTriggerClick, "data-layout": this.customTriggerContent, onKeyDown: this.onButtonTriggerKeyDown, onKeyUp: this.onButtonTriggerKeyUp, ref: el => (this.triggerEl = el), part: "button-trigger" }, this.renderButtonTriggerContent())), hAsync("div", { key: '4e4bd7cb7139416f3f59b1c9736a1fad85c09c24', style: { display: 'none' } }, hAsync("slot", { key: '79e4c181d161a56acba68e1f7ca932369e938e10', onSlotchange: () => this.updateOptions() })), this.renderDropdown())));
9000
9031
  }
9001
9032
  static get formAssociated() { return true; }
9002
9033
  get el() { return getElement(this); }
@@ -9026,6 +9057,7 @@ class PdsCombobox {
9026
9057
  "trigger": [1],
9027
9058
  "triggerWidth": [1, "trigger-width"],
9028
9059
  "triggerVariant": [1, "trigger-variant"],
9060
+ "triggerShape": [1, "trigger-shape"],
9029
9061
  "chipSentiment": [1, "chip-sentiment"],
9030
9062
  "chipLarge": [4, "chip-large"],
9031
9063
  "chipIcon": [1, "chip-icon"],
@@ -9057,6 +9089,52 @@ class PdsCombobox {
9057
9089
  }; }
9058
9090
  }
9059
9091
 
9092
+ const pdsContainerCss = ":host{display:block;margin-inline:auto;max-width:var(--pine-container-max-width, none);width:100%}:host(.pds-container--sm){--pine-container-max-width:340px}:host(.pds-container--md){--pine-container-max-width:520px}:host(.pds-container--lg){--pine-container-max-width:700px}:host(.pds-container--xl){--pine-container-max-width:1064px}:host(.pds-container--full){--pine-container-max-width:1440px}";
9093
+
9094
+ const NAMED_SIZES = new Set(['sm', 'md', 'lg', 'xl', 'full']);
9095
+ /**
9096
+ * @part container - The inner semantic container element
9097
+ */
9098
+ class PdsContainer {
9099
+ constructor(hostRef) {
9100
+ registerInstance(this, hostRef);
9101
+ /**
9102
+ * Sets the semantic HTML tag rendered as the inner container element.
9103
+ * @default 'div'
9104
+ */
9105
+ this.tag = 'div';
9106
+ /**
9107
+ * If `true`, the container is centered horizontally using `margin-inline: auto`.
9108
+ * @default true
9109
+ */
9110
+ this.centered = true;
9111
+ }
9112
+ render() {
9113
+ const Tag = this.tag;
9114
+ const isNamed = this.size !== undefined && NAMED_SIZES.has(this.size);
9115
+ const customSize = this.size !== undefined && !isNamed ? this.size : undefined;
9116
+ const hostStyle = {};
9117
+ if (customSize)
9118
+ hostStyle['--pine-container-max-width'] = customSize;
9119
+ if (!this.centered)
9120
+ hostStyle['margin-inline'] = '0';
9121
+ return (hAsync(Host, { key: 'b8055b9add2e9abfeaf61f233a0f22e559829eb2', class: { [`pds-container--${this.size}`]: isNamed }, style: Object.keys(hostStyle).length ? hostStyle : undefined }, hAsync(Tag, { key: '8aac62d1a6639063d10b8c51539ca0bc3ca0bae4', part: "container" }, hAsync("slot", { key: '747e55553b7660159ee9d0192ccb8ed29a99f0b0' }))));
9122
+ }
9123
+ static get style() { return pdsContainerCss; }
9124
+ static get cmpMeta() { return {
9125
+ "$flags$": 265,
9126
+ "$tagName$": "pds-container",
9127
+ "$members$": {
9128
+ "size": [1],
9129
+ "tag": [1],
9130
+ "centered": [4]
9131
+ },
9132
+ "$listeners$": undefined,
9133
+ "$lazyBundleId$": "-",
9134
+ "$attrsToReflect$": []
9135
+ }; }
9136
+ }
9137
+
9060
9138
  /** CSS class prefix used for truncation tooltip portal elements */
9061
9139
  const TOOLTIP_CLASS = 'pds-truncation-tooltip';
9062
9140
  /**
@@ -9387,7 +9465,7 @@ class PdsCopytext {
9387
9465
  return classNames.join(' ');
9388
9466
  }
9389
9467
  render() {
9390
- return (hAsync(Host, { key: 'bbca278ca4f2567d3aa5dfa27106fc09f0f4d959', class: this.classNames(), id: this.componentId }, hAsync("pds-button", { key: '8a62ae4d01681648a95b313970a89f8641f1d8c9', type: "button", variant: "unstyled", onClick: this.handleClick }, hAsync("span", { key: '465585ce0780a19113f8e7897a9c7af7114b2a1d', ref: (el) => this.valueSpanEl = el }, this.value), hAsync("pds-icon", { key: 'db0295dfec0c4a1acbea50b849d631ea6325bf00', icon: copy, size: "16px" }))));
9468
+ return (hAsync(Host, { key: '43a3870fa4c24416e2e6e99dd7c423a5c32ac91e', class: this.classNames(), id: this.componentId }, hAsync("pds-button", { key: 'f0735d3f245dd7150e88b3dd1a191c3ee86b6293', type: "button", variant: "unstyled", onClick: this.handleClick }, hAsync("span", { key: 'ddf7cf205f9bb11dd4b4111435bb7efc15b0af61', ref: (el) => this.valueSpanEl = el }, this.value), hAsync("pds-icon", { key: '0f35d997eb1766631ac6098bdb12d0aff9813012', icon: copy, size: "16px" }))));
9391
9469
  }
9392
9470
  get el() { return getElement(this); }
9393
9471
  static get watchers() { return {
@@ -9434,7 +9512,7 @@ class PdsDivider {
9434
9512
  return classNames.join(' ');
9435
9513
  }
9436
9514
  render() {
9437
- return (hAsync(Host, { key: 'a8c82df92793442a9b55a4ed6fb27b2052aead2e', id: this.componentId }, hAsync("hr", { key: '3811a84dc36aa129606b4d2ee88ae101a1aa57be', class: this.classNames() })));
9515
+ return (hAsync(Host, { key: 'c3a01882db1119b8397353aaed193813cba0bfb8', id: this.componentId }, hAsync("hr", { key: 'fe20a28dbd2f10cec125df4dbb4ba7a2837628f1', class: this.classNames() })));
9438
9516
  }
9439
9517
  static get style() { return pdsDividerCss; }
9440
9518
  static get cmpMeta() { return {
@@ -9760,7 +9838,7 @@ class PdsDropdownMenu {
9760
9838
  }
9761
9839
  }
9762
9840
  render() {
9763
- return (hAsync(Host, { key: '3144bc264072eccf89cdca45a0b28eb004b5d06e', id: this.componentId }, hAsync("slot", { key: '500288f266dc7ab7e1ac5070e628c31a6ed50861', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), hAsync("pds-box", { key: '4085130e381b8be28e2e36de073c0755a455e30c', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", role: "menu", "aria-orientation": "vertical", part: "menu-panel" }, hAsync("slot", { key: '2c4d53799576d1c6913df9bb854bfbaf50e5032c', onSlotchange: this.handleSlotChange }))));
9841
+ return (hAsync(Host, { key: '467662b4b14612153ba10a4d3a6f578edec52d89', id: this.componentId }, hAsync("slot", { key: 'ba1b44fe9276b96fd123694742a34bd7c8717a3d', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), hAsync("pds-box", { key: '8287d0cc6fea80eeb73ca355eb247883d6257c19', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", role: "menu", "aria-orientation": "vertical", part: "menu-panel" }, hAsync("slot", { key: '5d5aa3cc226fabaadb4572bfa38f9189dbcb55c7', onSlotchange: this.handleSlotChange }))));
9764
9842
  }
9765
9843
  get host() { return getElement(this); }
9766
9844
  static get style() { return pdsDropdownMenuCss; }
@@ -9780,6 +9858,9 @@ class PdsDropdownMenu {
9780
9858
 
9781
9859
  const pdsDropdownMenuItemCss = ":host{cursor:pointer;display:-ms-flexbox;display:flex;width:100%;}:host(.is-disabled){cursor:not-allowed !important;opacity:0.5 !important}:host(.is-disabled) .pds-dropdown-menu-item__content{cursor:not-allowed !important;pointer-events:none !important}.pds-dropdown-menu-item__content{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--pine-dimension-xs);color:var(--pine-color-text);display:-ms-flexbox;display:flex;-ms-flex-positive:1;flex-grow:1;font:var(--pine-typography-body-medium);gap:var(--pine-dimension-xs);margin:calc(var(--pine-border-width) + 2px);padding:var(--pine-dimension-xs);text-align:start;width:100%;}.pds-dropdown-menu-item__content:hover{background-color:var(--pine-color-background-muted);color:var(--pine-color-text-hover)}.pds-dropdown-menu-item__content{}.pds-dropdown-menu-item__content:focus,.pds-dropdown-menu-item__content:focus-visible,.pds-dropdown-menu-item__content.has-focus{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}:host(.destructive) .pds-dropdown-menu-item__content{--pds-context-link-color:var(--pine-color-danger);--pds-context-link-color-hover:var(--pine-color-danger-hover);-ms-flex-align:center;align-items:center;color:var(--pine-color-danger)}:host(.destructive) .pds-dropdown-menu-item__content:hover{background-color:var(--pine-color-danger-disabled);color:var(--pine-color-danger-hover)}:host(.destructive) .pds-dropdown-menu-item__content:focus,:host(.destructive) .pds-dropdown-menu-item__content:focus-visible,:host(.destructive) .pds-dropdown-menu-item__content.has-focus{background-color:var(--pine-color-danger-disabled);outline:var(--pine-outline-focus-danger);outline-offset:var(--pine-border-width)}pds-link::part(link):focus,pds-link::part(link):focus-visible{-webkit-box-shadow:none;box-shadow:none;outline:none}pds-link::part(link){-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);margin:calc(var(--pine-dimension-xs) * -1);padding:var(--pine-dimension-xs);text-decoration:none;width:calc(100% + var(--pine-dimension-xs) * 2)}";
9782
9860
 
9861
+ /**
9862
+ * @part button
9863
+ */
9783
9864
  class PdsDropdownMenuItem {
9784
9865
  constructor(hostRef) {
9785
9866
  registerInstance(this, hostRef);
@@ -9852,7 +9933,7 @@ class PdsDropdownMenuItem {
9852
9933
  }, tabIndex: this.disabled ? -1 : 0, type: "button", part: "button", onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null }, hAsync("slot", null)));
9853
9934
  }
9854
9935
  render() {
9855
- return (hAsync(Host, { key: 'eb3222203f1ab6b585b66a5449bc5facfe9875a9', id: this.componentId, class: { 'is-disabled': this.disabled, 'destructive': !this.disabled && this.destructive }, onClick: () => !this.disabled && this.handleClick(), role: "none", tabIndex: -1, "aria-disabled": this.disabled ? 'true' : null }, this.renderElement()));
9936
+ return (hAsync(Host, { key: 'd2a6c182b330dae3738650002a4643c0f1fd3d1a', id: this.componentId, class: { 'is-disabled': this.disabled, 'destructive': !this.disabled && this.destructive }, onClick: () => !this.disabled && this.handleClick(), role: "none", tabIndex: -1, "aria-disabled": this.disabled ? 'true' : null }, this.renderElement()));
9856
9937
  }
9857
9938
  get host() { return getElement(this); }
9858
9939
  static get style() { return pdsDropdownMenuItemCss; }
@@ -9888,7 +9969,7 @@ class PdsDropdownMenuSeparator {
9888
9969
  this.disabled = false;
9889
9970
  }
9890
9971
  render() {
9891
- return (hAsync(Host, { key: '6b1f9e89c6b19a03780e70b92b23cfa6731b0789', id: this.componentId }, hAsync("hr", { key: '22fa602eac4dca3750cc8f2cb3751e2cc2f124d5' })));
9972
+ return (hAsync(Host, { key: '1058ea61d2ad7c311ee162b909df2531f3589e4c', id: this.componentId }, hAsync("hr", { key: 'a8c2f69ef5fba5ea4ea74553fe72544e31eafb1b' })));
9892
9973
  }
9893
9974
  static get style() { return pdsDropdownMenuSeparatorCss; }
9894
9975
  static get cmpMeta() { return {
@@ -10391,7 +10472,7 @@ class PdsFilter {
10391
10472
  return null;
10392
10473
  }
10393
10474
  render() {
10394
- return (hAsync(Host, { key: '23f2a8055dc95fa68f9e609ba868d7fb0d9ebe02', id: this.componentId }, hAsync("button", { key: '001aaafe4e838b0320f1b737677849f7ab43f9c6', 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 }, hAsync("span", { key: 'ce57ff517a5c16a488ef1936194cf9a74c796717', class: "pds-filter__button-content", part: "button-content" }, this.renderIcon(), this.text && (hAsync("span", { key: '0060cc3942b5244e7279bf9228272d17d7f9ae16', class: "pds-filter__button-text", part: "button-text" }, this.text)), this.renderDropdownIcon())), this.variant !== 'clear' && (hAsync("div", { key: '449ded0baa7c3d4e021fd4225cf70c33a3823ee1', ref: el => this.popoverEl = el, id: `${this.componentId}-popover`, class: "pds-filter__popover", popover: "auto", part: "popover" }, hAsync("slot", { key: '3b4201f9c9ec017e8be7fdbeaeceeb92548cb489' })))));
10475
+ return (hAsync(Host, { key: 'e70f7bf3612c5c8abe7445ba3a4e53391a68de9e', id: this.componentId }, hAsync("button", { key: '2cba723795c43509762f75cb4b6607ce547f7c39', 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 }, hAsync("span", { key: '8244dd35cc74c6f0138be2d3495d94b97f60474f', class: "pds-filter__button-content", part: "button-content" }, this.renderIcon(), this.text && (hAsync("span", { key: 'd97c085d1df1ca13ccaf1f26ca2dac81bdfb105a', class: "pds-filter__button-text", part: "button-text" }, this.text)), this.renderDropdownIcon())), this.variant !== 'clear' && (hAsync("div", { key: '0b9daf4591ea20db06813ce4c39442d69af3fda1', ref: el => this.popoverEl = el, id: `${this.componentId}-popover`, class: "pds-filter__popover", popover: "auto", part: "popover" }, hAsync("slot", { key: 'f4499fe2d5a6a169318fe65cbbc558565c8644f9' })))));
10395
10476
  }
10396
10477
  get el() { return getElement(this); }
10397
10478
  static get style() { return pdsFilterCss; }
@@ -10423,7 +10504,7 @@ class PdsFilters {
10423
10504
  registerInstance(this, hostRef);
10424
10505
  }
10425
10506
  render() {
10426
- return (hAsync(Host, { key: 'fdd0275d0b34944d423bd88f8c9b25dfa1f9da77', id: this.componentId }, hAsync("div", { key: 'd60ce50c5951187a1e4f1c0632c8eb62dd6bc2eb', class: "pds-filters" }, hAsync("slot", { key: 'bd233afd707070df3dbae5d774a92a8e99d5c672' }))));
10507
+ return (hAsync(Host, { key: '7007a635d3866781dfd67bd2d3b2dab46d36cffc', id: this.componentId }, hAsync("div", { key: 'e6eb4c76bfb39050aaa01ad297df995de7df484b', class: "pds-filters" }, hAsync("slot", { key: '543c83c7422b3e1e9a2446618fe8119d76478df4' }))));
10427
10508
  }
10428
10509
  static get style() { return pdsFiltersCss; }
10429
10510
  static get cmpMeta() { return {
@@ -10886,9 +10967,9 @@ class PdsImage {
10886
10967
  this.loading = 'eager';
10887
10968
  }
10888
10969
  render() {
10889
- return (hAsync(Host, { key: '29d9305557c4deec8bde9ff6a13d18054f49b2df', class: {
10970
+ return (hAsync(Host, { key: 'fa205f03d5c378d27a66cbfd520ae2bc7ab9e9df', class: {
10890
10971
  'pds-image': true,
10891
- }, id: this.componentId }, hAsync("img", { key: 'a09337659118e56d1ee4668cd3c33b21573d8945', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
10972
+ }, id: this.componentId }, hAsync("img", { key: '8d03dddf6e924ef8aebea2bf34a32e326bee329a', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
10892
10973
  }
10893
10974
  static get style() { return pdsImageCss; }
10894
10975
  static get cmpMeta() { return {
@@ -11153,6 +11234,8 @@ class PdsInput {
11153
11234
  * Updates the form value using ElementInternals API
11154
11235
  */
11155
11236
  updateFormValue() {
11237
+ if (isSpecTest())
11238
+ return;
11156
11239
  if (this.internals && this.internals.setFormValue) {
11157
11240
  const value = this.getValue();
11158
11241
  this.internals.setFormValue(value || null);
@@ -11203,7 +11286,7 @@ class PdsInput {
11203
11286
  'has-prepend': this.hasPrepend,
11204
11287
  'has-append': this.hasAppend,
11205
11288
  };
11206
- return (hAsync(Host, { key: '2ec6b4f180675aa210f5b6816d0229791724a9c7', "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 }, hAsync("div", { key: 'd629a3484b1b0ad8762e0e5b49eb04756276dc64', class: "pds-input" }, label && (hAsync("div", { key: 'e4ba8c5a09e7d5b43c70b903bed4a2809c9bca9f', class: "pds-input__label-wrapper" }, hAsync("label", { key: 'd6de106940815660b45207149b8dae0bcf8d812b', htmlFor: componentId, class: "pds-input__label" }, hAsync("span", { key: '266e93098bb0f8a94d9369bd64a29d9872090fbd', class: this.hideLabel ? 'visually-hidden' : '' }, label, this.required && hAsync("span", { key: 'a393b0c25ee54213d48d74d05b7dec05f3c64191', class: "pds-input__required-indicator" }, " *"))), !this.hideLabel && this.renderAction())), hAsync("div", { key: '5a6d411f543ccf5845af6086512666471cbc2fd7', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), hAsync("input", Object.assign({ key: 'bb19fe0c2eddf8868d118e8f0c822e8fd5edfb5f', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onKeyDown: this.onKeyDownEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (hAsync("p", { key: '9b425e97ed05971864bb48813cc7e67fad1e0578', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (hAsync("p", { key: 'd60a34f24c536be62bae38c2353a3c33c427f909', class: "pds-input__error-message", id: messageId(componentId, 'error') }, hAsync("pds-icon", { key: 'c6eec169fb1631d8d59faaa83f26e80c338bcd90', icon: danger, size: "small" }), errorMessage)))));
11289
+ return (hAsync(Host, { key: 'ecf4cc212e5c3ebc18082b790803e6b2ccb8ca77', "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 }, hAsync("div", { key: 'acdf92a30068fc04a17816ec6d85295b47e512ee', class: "pds-input" }, label && (hAsync("div", { key: 'cc804ec7ec9bb1e588863bdb636f2cc9d61108e0', class: "pds-input__label-wrapper" }, hAsync("label", { key: 'c6d8e54070422bb9856978d17dc99e6633e98e23', htmlFor: componentId, class: "pds-input__label" }, hAsync("span", { key: 'beee330abe246af7e256c42237d061b1e3ed34fe', class: this.hideLabel ? 'visually-hidden' : '' }, label, this.required && hAsync("span", { key: 'd4b6792646b18514f9c5ab008467ebd8e009efa8', class: "pds-input__required-indicator" }, " *"))), !this.hideLabel && this.renderAction())), hAsync("div", { key: '0c147663fad34fc1fd3b294dbe93dc0618f32664', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), hAsync("input", Object.assign({ key: 'fcf07f3facc9494a9422ac5a54bbcd1dc083ce28', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onKeyDown: this.onKeyDownEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (hAsync("p", { key: 'dbed2e91b2431beaf630460b5d042f4aa7532665', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (hAsync("p", { key: 'ad14be8e2280b58742486cddba591355ed7d3df6', class: "pds-input__error-message", id: messageId(componentId, 'error') }, hAsync("pds-icon", { key: '0badd7b84d29e826f3ca9bd1ad108823c24e3996', icon: danger, size: "small" }), errorMessage)))));
11207
11290
  }
11208
11291
  static get formAssociated() { return true; }
11209
11292
  get el() { return getElement(this); }
@@ -11304,8 +11387,8 @@ class PdsLink {
11304
11387
  const targetValue = this.target || (this.external ? '_blank' : undefined);
11305
11388
  const showExternalIcon = this.external;
11306
11389
  const relValue = targetValue === '_blank' ? 'noopener noreferrer' : undefined;
11307
- return (hAsync("a", { key: '7d42e0a140af1093ea3019556e607036be5b274b', class: this.classNames(), download: this.download, href: this.href, id: this.componentId, part: "link", target: targetValue, rel: relValue, style: this.setLinkStyles() }, hAsync("slot", { key: '7a8e0c7393c87817350fc380fac2aed3ee7c338c' }, this.href), showExternalIcon &&
11308
- hAsync("pds-icon", { key: 'f2486339296564d5d07e0c6c4cf83cb2566b8f24', icon: launch, size: this.fontSize })));
11390
+ return (hAsync("a", { key: '8ab68ceb91a4c7b155a4ae54d2cb421af4d0eec1', class: this.classNames(), download: this.download, href: this.href, id: this.componentId, part: "link", target: targetValue, rel: relValue, style: this.setLinkStyles() }, hAsync("slot", { key: 'b90dc967867a3b765d632c16458236e6e4ccf97e' }, this.href), showExternalIcon &&
11391
+ hAsync("pds-icon", { key: 'ebffdba1a21f7b0f5730608ec5eb88519ee79d1b', icon: launch, size: this.fontSize })));
11309
11392
  }
11310
11393
  static get style() { return pdsLinkCss; }
11311
11394
  static get cmpMeta() { return {
@@ -11377,7 +11460,7 @@ class PdsLoader {
11377
11460
  }
11378
11461
  }
11379
11462
  render() {
11380
- return (hAsync(Host, { key: '61277416b64876978e3a486089ace6099a4d53ab', class: `pds-loader ${this.isLoading ? '' : 'pds-loader--hidden'}`, "aria-hidden": !this.isLoading, "aria-busy": this.isLoading, "aria-live": "polite" }, this.variant === 'spinner' && (hAsync("div", { key: '2d5ea354090ab57de7ccf428ef206a9b5f6bbfa5', class: "pds-loader--spinner" }, hAsync("svg", { key: 'c5d3c41728cf5c5f77c329a16fb33570c68acb4a', style: this.getSvgStyle(), viewBox: "0 0 200 200", fill: "none", part: "loader-svg" }, hAsync("defs", { key: 'c5a70952409540684bcee4953fee99be2be84ff8' }, hAsync("linearGradient", { key: '08244568caee27a1e792208bed88dbfeac8868da', id: "spinner-secondHalf" }, hAsync("stop", { key: 'bfa2a7ad30c6906eb2f579f078b86f2808c86b63', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), hAsync("stop", { key: 'de4248657470249842d2982387d1dd877d979629', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), hAsync("linearGradient", { key: 'a9fefdd80496823f85c57df01978f813382af6f0', id: "spinner-firstHalf" }, hAsync("stop", { key: '0375649f9281bb076c8fbb5a7c905e53420debf2', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), hAsync("stop", { key: '08fe3406e36aab96022c23f79cb00b04f4621985', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), hAsync("g", { key: '3e68617229aae3af082116fa2419fc6bc4c2e16c', class: "pds-loader__spinner-path" }, hAsync("path", { key: '1dbc7029a7b85a3b79705f82e4502bb6072f06c6', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), hAsync("path", { key: 'd2d86b183102b6e160fd0de5d2a20f75a166403b', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), hAsync("path", { key: 'b763168f03f87f8b58984497d3f3e051edafaf85', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (hAsync("div", { key: '31a5842f69fef05f50abed593bbed3ff911df363', class: "pds-loader--typing" }, hAsync("span", { key: '5509c283cfc10a263b8ddc7a1d27e46749f2fdd3' }), hAsync("span", { key: '5907f51aac92a7d4bceb5d517a8fbb73971c2517' }), hAsync("span", { key: 'd59fa47f064313465ed75f53f48330bd15109aa2' }))), hAsync("div", { key: '7d64218cf923abfb88ec31306dd6cd52d310a64a', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, hAsync("slot", { key: 'b20eba32674f09889b6b5e1d9c7cf99d3ae9781d', name: "label" }, "Loading..."))));
11463
+ return (hAsync(Host, { key: 'fc312fc9ebf973506190e693cd251f25e37f3d0a', class: `pds-loader ${this.isLoading ? '' : 'pds-loader--hidden'}`, "aria-hidden": !this.isLoading, "aria-busy": this.isLoading, "aria-live": "polite" }, this.variant === 'spinner' && (hAsync("div", { key: 'c9eab32510368d1fd6db7669b3db640c229911f2', class: "pds-loader--spinner" }, hAsync("svg", { key: '359d9f171378064c6121e583efe09eace3377e44', style: this.getSvgStyle(), viewBox: "0 0 200 200", fill: "none", part: "loader-svg" }, hAsync("defs", { key: '263409d92ab95fa34df4e879934e04e6a587f23b' }, hAsync("linearGradient", { key: 'e9b32747efcb60bbebd8734fdd2c2d5a400974c1', id: "spinner-secondHalf" }, hAsync("stop", { key: 'db61c891cf635b72e36a152b944b6c9ce3569be3', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), hAsync("stop", { key: 'fb964af08941ad174ecaf0c329d79e25fff45a9c', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), hAsync("linearGradient", { key: '89d815d1f076ffe82d189d51fce14fb48ecb0926', id: "spinner-firstHalf" }, hAsync("stop", { key: '43b753f80ab136d38635a6ab921899fc8fd3a6b2', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), hAsync("stop", { key: '7ce201ac86ae5cd291f8fba22f1e6517d53af025', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), hAsync("g", { key: 'ea7e594df07f7d634fa2142785f0791b21a71d41', class: "pds-loader__spinner-path" }, hAsync("path", { key: '8ac8cead5078716ca9169150be8c0c64ecedc854', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), hAsync("path", { key: 'c4ed3d7f386ac59dcb540b369f52925b216ea950', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), hAsync("path", { key: 'ecc2e2b7240c23e35af8b9aa049ac45dff43ac9f', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (hAsync("div", { key: '8cb7180432a6cca86c7fcc2af3f1e05afb751a9d', class: "pds-loader--typing" }, hAsync("span", { key: 'c09247cbcf86fef899f206bee1458a1388cbdd39' }), hAsync("span", { key: '07bdfe8ab1971fa20544022412e2141721111506' }), hAsync("span", { key: '9444f7ed6a13475694e1eda50b891ff63fb91297' }))), hAsync("div", { key: '3b717ff6b9f38f9710ca0556ebbc66bd86b7e1b6', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, hAsync("slot", { key: 'ab65224fab189a30d0cf18caf086c621cbd78eaa', name: "label" }, "Loading..."))));
11381
11464
  }
11382
11465
  static get style() { return pdsLoaderCss; }
11383
11466
  static get cmpMeta() { return {
@@ -11634,14 +11717,14 @@ class PdsModal {
11634
11717
  return thisZIndex === maxZIndex;
11635
11718
  }
11636
11719
  render() {
11637
- return (hAsync("dialog", { key: '22ca55ddcc3aaf6e1158940d1fec23c9622b7810', class: {
11720
+ return (hAsync("dialog", { key: 'cf2710a889d8f0e80a3551088ab38a88dc44ad1e', class: {
11638
11721
  'pds-modal__backdrop': true,
11639
11722
  'open': this.open
11640
- }, "aria-modal": "true", "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, hAsync("div", { key: '803acd0d7a80886efd58c9eeb1af94b40c049de8', class: {
11723
+ }, "aria-modal": "true", "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, hAsync("div", { key: 'a06d017153e67ad38bc1ced56ba22aeade977aaf', class: {
11641
11724
  'pds-modal': true,
11642
11725
  [`pds-modal--${this.size}`]: true,
11643
11726
  'pds-modal--scrollable': this.scrollable
11644
- }, part: "modal" }, hAsync("slot", { key: '227deb370e056365f188724bdb2fbabe6062ab77' }))));
11727
+ }, part: "modal" }, hAsync("slot", { key: 'd995c586809a4940c091912244a86cb4605a961c' }))));
11645
11728
  }
11646
11729
  get el() { return getElement(this); }
11647
11730
  static get watchers() { return {
@@ -11844,10 +11927,10 @@ class PdsModalContent {
11844
11927
  render() {
11845
11928
  // Only apply max-height style if it's not 'none'
11846
11929
  const styleObj = this.contentMaxHeight !== 'none' ? { maxHeight: this.contentMaxHeight } : {};
11847
- return (hAsync(Host, { key: 'cc73d441bd68ac6b75d49a328f56d1e19cf7aab4' }, hAsync("div", { key: '57ce9c0da2cf15fb95ee7979c61cf62d5b2537de', class: {
11930
+ return (hAsync(Host, { key: 'fae42c1fc151e4855cd2c731802c15851473be79' }, hAsync("div", { key: 'feb61d6a7227d8113b931df6280358cd9b4fe583', class: {
11848
11931
  'pds-modal-content': true,
11849
11932
  [`pds-modal-content--border-${this.border}`]: true
11850
- }, style: styleObj, tabindex: "-1" }, hAsync("slot", { key: 'be716d459c32e9ecf2c1ef3c591ff66675f793fb' }))));
11933
+ }, style: styleObj, tabindex: "-1" }, hAsync("slot", { key: '1c9e55ecd1ad353699e5a4590ee04c9005719f6d' }))));
11851
11934
  }
11852
11935
  get el() { return getElement(this); }
11853
11936
  static get style() { return pdsModalContentCss; }
@@ -11871,7 +11954,7 @@ class PdsModalFooter {
11871
11954
  registerInstance(this, hostRef);
11872
11955
  }
11873
11956
  render() {
11874
- return (hAsync("footer", { key: '0151a48b62b1a35f7327434413a158a0a2c6a73c', class: "pds-modal__footer" }, hAsync("slot", { key: '3d153a1ac1bb4fdbaefb6f5d17f8adce377576af' })));
11957
+ return (hAsync("footer", { key: '0fa58ce225ce31a1f40d6ce1d3276e716b36de8d', class: "pds-modal__footer" }, hAsync("slot", { key: 'df0bbdb56c711c7eb34db7181f940de11d4449ef' })));
11875
11958
  }
11876
11959
  static get style() { return pdsModalFooterCss; }
11877
11960
  static get cmpMeta() { return {
@@ -11891,7 +11974,7 @@ class PdsModalHeader {
11891
11974
  registerInstance(this, hostRef);
11892
11975
  }
11893
11976
  render() {
11894
- return (hAsync("header", { key: '0fa58ce225ce31a1f40d6ce1d3276e716b36de8d', class: "pds-modal__header" }, hAsync("slot", { key: 'df0bbdb56c711c7eb34db7181f940de11d4449ef' })));
11977
+ return (hAsync("header", { key: '1a471bd6dfa2b654f5a6ebdf8fb5baef728324b3', class: "pds-modal__header" }, hAsync("slot", { key: '946a365ab3c2ca627d618188890d385c054b4c16' })));
11895
11978
  }
11896
11979
  static get style() { return pdsModalHeaderCss; }
11897
11980
  static get cmpMeta() { return {
@@ -11904,12 +11987,14 @@ class PdsModalHeader {
11904
11987
  }; }
11905
11988
  }
11906
11989
 
11907
- const pdsMultiselectCss = ":host{display:block}:host([aria-disabled=true]) .pds-multiselect__trigger{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}:host([aria-disabled=true]) .pds-multiselect__icon{color:var(--pine-color-text-disabled)}.pds-multiselect{position:relative}.pds-multiselect__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-multiselect__wrapper{position:relative}.pds-multiselect__trigger{-ms-flex-align:center;align-items:center;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-medium);gap:var(--pine-dimension-xs);-ms-flex-pack:justify;justify-content:space-between;letter-spacing:var(--pine-letter-spacing);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-align:start;-webkit-transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;width:100%}.pds-multiselect__trigger:hover:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-hover)}.pds-multiselect__trigger:focus:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid:focus{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-multiselect__trigger-text{color:var(--pine-color-text-strong);-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__trigger-text.pds-multiselect__trigger-text--placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__trigger--disabled .pds-multiselect__trigger-text{color:var(--pine-color-text-disabled)}.pds-multiselect__icon{color:var(--pine-color-icon);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__panel{background:var(--pine-color-background-container);border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute;z-index:var(--pine-z-index-raised)}.pds-multiselect__search{-ms-flex-align:center;align-items:center;-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__search pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__search-input{background:transparent;border:var(--pine-dimension-none);color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);min-width:var(--pine-dimension-none);outline:none}.pds-multiselect__search-input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__selected-section{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs)}.pds-multiselect__selected-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__selected-item{color:var(--pine-color-text-strong);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);overflow:hidden;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__listbox{background:transparent;border:var(--pine-dimension-none);-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:var(--pine-dimension-none);overflow-y:auto;padding:var(--pine-dimension-xs)}.pds-multiselect__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-xs);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-multiselect__option pds-checkbox{pointer-events:none;width:100%}.pds-multiselect__option:hover,.pds-multiselect__option.pds-multiselect__option--highlighted{background:var(--pine-color-background-muted)}.pds-multiselect__option:focus-visible{outline:var(--pine-dimension-none)}.pds-multiselect__create-option{color:var(--pine-color-text-strong);width:100%}.pds-multiselect__create-option pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__empty,.pds-multiselect__loading{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-muted);display:-ms-flexbox;display:flex;font:var(--pine-typography-body);-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-sm)}.pds-multiselect__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-xs)}.pds-multiselect__helper{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error{-ms-flex-align:start;align-items:flex-start;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;font:var(--pine-typography-body-sm);gap:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error pds-icon{-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.visually-hidden{border:var(--pine-dimension-none);clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:var(--pine-dimension-none);position:absolute;white-space:nowrap;width:1px}";
11990
+ const pdsMultiselectCss = ":host{display:block}:host([aria-disabled=true]) .pds-multiselect__trigger{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}:host([aria-disabled=true]) .pds-multiselect__icon{color:var(--pine-color-text-disabled)}.pds-multiselect{position:relative}.pds-multiselect__label{color:var(--pine-color-text-label);display:block;font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-multiselect__wrapper{position:relative}.pds-multiselect__trigger{-ms-flex-align:center;align-items:center;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-medium);gap:var(--pine-dimension-xs);-ms-flex-pack:justify;justify-content:space-between;letter-spacing:var(--pine-letter-spacing);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-align:start;-webkit-transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, -webkit-box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease;transition:border-color 0.2s ease, box-shadow 0.2s ease, -webkit-box-shadow 0.2s ease;width:100%}.pds-multiselect__trigger:hover:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-hover)}.pds-multiselect__trigger:focus:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid{background-color:var(--pine-color-red-050);border-color:var(--pine-color-border-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--invalid:focus{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__trigger.pds-multiselect__trigger--disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-multiselect__trigger-text{color:var(--pine-color-text-strong);-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__trigger-text.pds-multiselect__trigger-text--placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__trigger--disabled .pds-multiselect__trigger-text{color:var(--pine-color-text-disabled)}.pds-multiselect__icon{color:var(--pine-color-icon);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__pill-list{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-2xs)}.pds-multiselect__pill-list--inline{-ms-flex:1;flex:1;min-width:0}.pds-multiselect__pill-list--below{-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-multiselect__pill-overflow{color:var(--pine-color-text-muted);font:var(--pine-typography-body-sm-medium);white-space:nowrap}.pds-multiselect__trigger--pill-inline{-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-2xs);min-height:var(--pine-dimension-450);padding:var(--pine-dimension-2xs) var(--pine-dimension-sm)}.pds-multiselect__trigger--pill-inline.pds-multiselect__trigger--open{border-color:var(--pine-color-border-active)}.pds-multiselect__trigger--pill-inline:focus-within:not(.pds-multiselect__trigger--disabled){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-multiselect__trigger--pill-inline.pds-multiselect__trigger--invalid:focus-within{outline-color:var(--pine-color-focus-ring-danger)}.pds-multiselect__pill-toggle{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border-width:0;cursor:pointer;display:-ms-flexbox;display:flex;padding:0}.pds-multiselect__pill-toggle:focus{outline:3px solid transparent}.pds-multiselect__trigger--disabled .pds-multiselect__pill-toggle{cursor:not-allowed;pointer-events:none}.pds-multiselect__panel{background:var(--pine-color-background-container);border-radius:var(--pine-dimension-125);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:absolute;z-index:var(--pine-z-index-raised)}.pds-multiselect__search{-ms-flex-align:center;align-items:center;-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-multiselect__search pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__search-input{background:transparent;border:var(--pine-dimension-none);color:var(--pine-color-text-strong);-ms-flex:1;flex:1;font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);min-width:var(--pine-dimension-none);outline:none}.pds-multiselect__search-input::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__search-input::placeholder{color:var(--pine-color-text-placeholder)}.pds-multiselect__selected-section{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border);border-block-end-color:var(--pine-color-border-subtle);padding:var(--pine-dimension-xs)}.pds-multiselect__selected-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__selected-item{color:var(--pine-color-text-strong);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);overflow:hidden;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);text-overflow:ellipsis;white-space:nowrap}.pds-multiselect__listbox{background:transparent;border:var(--pine-dimension-none);-webkit-box-sizing:border-box;box-sizing:border-box;list-style:none;margin:var(--pine-dimension-none);overflow-y:auto;padding:var(--pine-dimension-xs)}.pds-multiselect__group-header{color:var(--pine-color-text-muted);display:block;font:var(--pine-typography-body-sm-medium);letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-sm) var(--pine-dimension-xs) var(--pine-dimension-2xs);text-transform:uppercase}.pds-multiselect__listbox>li:first-child>.pds-multiselect__group-header{-webkit-padding-before:var(--pine-dimension-xs);padding-block-start:var(--pine-dimension-xs)}.pds-multiselect__group-list{list-style:none;margin:var(--pine-dimension-none);padding:var(--pine-dimension-none)}.pds-multiselect__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-xs);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-multiselect__option pds-checkbox{pointer-events:none;width:100%}.pds-multiselect__option:hover:not(.pds-multiselect__option--disabled),.pds-multiselect__option.pds-multiselect__option--highlighted:not(.pds-multiselect__option--disabled){background:var(--pine-color-background-muted)}.pds-multiselect__option.pds-multiselect__option--disabled{cursor:not-allowed;opacity:0.5}.pds-multiselect__option:focus-visible{outline:var(--pine-dimension-none)}.pds-multiselect__create-option{color:var(--pine-color-text-strong);width:100%}.pds-multiselect__create-option pds-icon{color:var(--pine-color-text-muted);-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none)}.pds-multiselect__empty,.pds-multiselect__loading{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-muted);display:-ms-flexbox;display:flex;font:var(--pine-typography-body);-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-sm)}.pds-multiselect__load-more{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;padding:var(--pine-dimension-xs)}.pds-multiselect__helper{color:var(--pine-color-text-message);font:var(--pine-typography-body-sm);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error{-ms-flex-align:start;align-items:flex-start;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;font:var(--pine-typography-body-sm);gap:var(--pine-dimension-2xs);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs);-webkit-margin-start:var(--pine-dimension-none);margin-inline-start:var(--pine-dimension-none)}.pds-multiselect__error pds-icon{-ms-flex-negative:var(--pine-dimension-none);flex-shrink:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.visually-hidden{border:var(--pine-dimension-none);clip:rect(0 0 0 0);-webkit-clip-path:polygon(0 0, 0 0, 0 0);clip-path:polygon(0 0, 0 0, 0 0);height:1px;margin:-1px;overflow:hidden;padding:var(--pine-dimension-none);position:absolute;white-space:nowrap;width:1px}";
11908
11991
 
11909
11992
  /**
11910
11993
  * @slot (default) - Static option elements for the multiselect
11911
11994
  * @slot empty - Custom empty state message when no options match
11912
11995
  * @slot loading - Custom loading indicator
11996
+ * @part trigger - The trigger surface that opens the dropdown panel
11997
+ * @part pill-toggle - The chevron button inside the inline pill trigger
11913
11998
  */
11914
11999
  class PdsMultiselect {
11915
12000
  constructor(hostRef) {
@@ -11973,6 +12058,26 @@ class PdsMultiselect {
11973
12058
  * Hides the selected items summary section in the dropdown panel.
11974
12059
  */
11975
12060
  this.hideSelectedItems = false;
12061
+ /**
12062
+ * Display mode for selected items outside the dropdown panel.
12063
+ * `'count'` shows "N item(s)" text in the trigger (default). `'pill'` renders
12064
+ * selected items as dismissible pds-chip tags.
12065
+ * @default 'count'
12066
+ */
12067
+ this.selectedDisplay = 'count';
12068
+ /**
12069
+ * Position of pill chips when `selectedDisplay` is `'pill'`.
12070
+ * `'inline'` places chips inside the trigger; `'below'` places chips in a
12071
+ * flex-wrap row directly below the trigger.
12072
+ * @default 'inline'
12073
+ */
12074
+ this.pillPosition = 'inline';
12075
+ /**
12076
+ * Maximum chips shown inline before collapsing to a "+N more" badge.
12077
+ * Only applies when `selectedDisplay='pill'` and `pillPosition='inline'`.
12078
+ * @default 3
12079
+ */
12080
+ this.maxInlinePills = 3;
11976
12081
  /**
11977
12082
  * If true, the multiselect is required.
11978
12083
  */
@@ -11994,6 +12099,7 @@ class PdsMultiselect {
11994
12099
  this.currentPage = 1;
11995
12100
  this.hasMore = false;
11996
12101
  this.creating = false;
12102
+ this.removalAnnouncement = '';
11997
12103
  // Flag to prevent focusout from closing during open transition
11998
12104
  this.isOpening = false;
11999
12105
  // Flag to suppress dismiss event when panel closes due to selection (not user dismissal)
@@ -12002,9 +12108,16 @@ class PdsMultiselect {
12002
12108
  this.initialAsyncFetchTriggered = false;
12003
12109
  // Flag to track if value changed during loading and needs resolution after fetch completes
12004
12110
  this.pendingUnresolvedFetch = false;
12005
- this.handleTriggerClick = () => {
12111
+ this.handleTriggerClick = (e) => {
12006
12112
  if (this.disabled)
12007
12113
  return;
12114
+ // In inline-pill mode, ignore clicks that originated inside a pds-chip.
12115
+ // Chip close-button clicks are handled by handlePillRemove; chip body clicks should not toggle the panel.
12116
+ if (e && this.selectedDisplay === 'pill' && this.pillPosition === 'inline') {
12117
+ const fromChip = e.composedPath().some(el => { var _a; return ((_a = el.tagName) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === 'pds-chip'; });
12118
+ if (fromChip)
12119
+ return;
12120
+ }
12008
12121
  if (this.isOpen) {
12009
12122
  this.closeDropdown();
12010
12123
  }
@@ -12013,6 +12126,10 @@ class PdsMultiselect {
12013
12126
  }
12014
12127
  };
12015
12128
  this.handleTriggerKeyDown = (e) => {
12129
+ // Ignore keydown events that bubbled from child elements (e.g. chip close buttons).
12130
+ // Only handle keys when the trigger itself is the event target.
12131
+ if (e.target !== this.triggerEl)
12132
+ return;
12016
12133
  switch (e.key) {
12017
12134
  case 'ArrowDown':
12018
12135
  case 'ArrowUp':
@@ -12037,18 +12154,35 @@ class PdsMultiselect {
12037
12154
  }
12038
12155
  };
12039
12156
  this.handleSearchInputKeyDown = (e) => {
12157
+ var _a, _b, _c;
12040
12158
  const filteredOptions = this.getFilteredOptions();
12041
12159
  switch (e.key) {
12042
- case 'ArrowDown':
12160
+ case 'ArrowDown': {
12043
12161
  e.preventDefault();
12044
- this.highlightedIndex = Math.min(this.highlightedIndex + 1, filteredOptions.length - 1);
12045
- this.scrollOptionIntoView();
12162
+ let nextIndex = this.highlightedIndex + 1;
12163
+ while (nextIndex < filteredOptions.length && ((_a = filteredOptions[nextIndex]) === null || _a === void 0 ? void 0 : _a.disabled)) {
12164
+ nextIndex++;
12165
+ }
12166
+ if (nextIndex < filteredOptions.length) {
12167
+ this.highlightedIndex = nextIndex;
12168
+ this.scrollOptionIntoView();
12169
+ }
12046
12170
  break;
12047
- case 'ArrowUp':
12171
+ }
12172
+ case 'ArrowUp': {
12048
12173
  e.preventDefault();
12049
- this.highlightedIndex = Math.max(this.highlightedIndex - 1, 0);
12050
- this.scrollOptionIntoView();
12174
+ // Clamp to 0 so ArrowUp from uninitialised state (-1) attempts the first option;
12175
+ // stays at -1 if that option is disabled.
12176
+ let prevIndex = Math.max(this.highlightedIndex - 1, 0);
12177
+ while (prevIndex > 0 && ((_b = filteredOptions[prevIndex]) === null || _b === void 0 ? void 0 : _b.disabled)) {
12178
+ prevIndex--;
12179
+ }
12180
+ if (!((_c = filteredOptions[prevIndex]) === null || _c === void 0 ? void 0 : _c.disabled)) {
12181
+ this.highlightedIndex = prevIndex;
12182
+ this.scrollOptionIntoView();
12183
+ }
12051
12184
  break;
12185
+ }
12052
12186
  case 'Enter':
12053
12187
  e.preventDefault();
12054
12188
  if (this.highlightedIndex >= 0) {
@@ -12088,7 +12222,9 @@ class PdsMultiselect {
12088
12222
  e.preventDefault(); // Prevent focus change
12089
12223
  this.toggleOption(option);
12090
12224
  };
12091
- this.handleOptionMouseEnter = (index) => () => {
12225
+ this.handleOptionMouseEnter = (index, option) => () => {
12226
+ if (option.disabled)
12227
+ return;
12092
12228
  this.highlightedIndex = index;
12093
12229
  };
12094
12230
  this.handleScroll = (e) => {
@@ -12105,6 +12241,26 @@ class PdsMultiselect {
12105
12241
  this.debouncedFetchAsyncOptions(this.searchQuery, this.currentPage + 1);
12106
12242
  }
12107
12243
  };
12244
+ this.handlePillRemove = (item) => () => {
12245
+ var _a, _b;
12246
+ if (this.disabled)
12247
+ return;
12248
+ const optionId = String(item.id);
12249
+ this.value = this.value.filter(v => v !== optionId);
12250
+ this.syncSelectedItems();
12251
+ this.pdsMultiselectChange.emit({ values: this.value, items: this.selectedItems });
12252
+ // Clear first so screen readers re-announce even when the same item is removed twice
12253
+ this.removalAnnouncement = '';
12254
+ queueMicrotask(() => { this.removalAnnouncement = `${item.text} removed`; });
12255
+ this.isClosingViaSelection = true;
12256
+ if (this.isOpen) {
12257
+ (_a = this.searchInputEl) === null || _a === void 0 ? void 0 : _a.focus();
12258
+ }
12259
+ else {
12260
+ (_b = this.triggerEl) === null || _b === void 0 ? void 0 : _b.focus();
12261
+ }
12262
+ setTimeout(() => { this.isClosingViaSelection = false; }, 0);
12263
+ };
12108
12264
  }
12109
12265
  connectedCallback() {
12110
12266
  // Initialize ElementInternals for form association (only once per element instance)
@@ -12251,12 +12407,35 @@ class PdsMultiselect {
12251
12407
  const slot = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot:not([name])');
12252
12408
  if (!slot)
12253
12409
  return;
12254
- const options = slot.assignedElements({ flatten: true })
12255
- .filter((el) => el.tagName === 'OPTION')
12256
- .map(opt => ({
12257
- id: opt.value,
12258
- text: opt.textContent || opt.value,
12259
- }));
12410
+ const options = [];
12411
+ slot.assignedElements({ flatten: true }).forEach(el => {
12412
+ var _a;
12413
+ if (el.tagName === 'OPTGROUP') {
12414
+ const optgroup = el;
12415
+ const groupLabel = optgroup.label;
12416
+ const groupDisabled = optgroup.disabled;
12417
+ optgroup.querySelectorAll('option').forEach((opt) => {
12418
+ var _a;
12419
+ const option = {
12420
+ id: opt.value,
12421
+ text: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || opt.value,
12422
+ disabled: opt.disabled || groupDisabled || undefined,
12423
+ };
12424
+ if (groupLabel) {
12425
+ option.group = groupLabel;
12426
+ }
12427
+ options.push(option);
12428
+ });
12429
+ }
12430
+ else if (el.tagName === 'OPTION') {
12431
+ const opt = el;
12432
+ options.push({
12433
+ id: opt.value,
12434
+ text: ((_a = opt.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || opt.value,
12435
+ disabled: opt.disabled || undefined,
12436
+ });
12437
+ }
12438
+ });
12260
12439
  // Only update if we actually found options AND we're not using async/external options
12261
12440
  // Don't clear internalOptions if slot returns empty (might be mid-DOM-update)
12262
12441
  if (options.length > 0 && !this.asyncUrl && !this.options) {
@@ -12357,6 +12536,8 @@ class PdsMultiselect {
12357
12536
  }
12358
12537
  updateFormValue() {
12359
12538
  var _a;
12539
+ if (isSpecTest())
12540
+ return;
12360
12541
  if ((_a = this.internals) === null || _a === void 0 ? void 0 : _a.setFormValue) {
12361
12542
  // Ensure value is an array before iterating
12362
12543
  const valueArray = this.ensureValueArray();
@@ -12585,7 +12766,9 @@ class PdsMultiselect {
12585
12766
  positionDropdown() {
12586
12767
  if (!this.containerEl || !this.panelEl)
12587
12768
  return;
12588
- const referenceEl = this.triggerEl || this.containerEl;
12769
+ // In inline pill mode, triggerEl is the small chevron button — use the full-width
12770
+ // wrapper div as the Floating UI reference so the panel aligns with the whole trigger.
12771
+ const referenceEl = this.pillInlineTriggerEl || this.triggerEl || this.containerEl;
12589
12772
  const { minWidth, panelWidth } = this;
12590
12773
  const updatePosition = () => {
12591
12774
  computePosition(referenceEl, this.panelEl, {
@@ -12629,6 +12812,8 @@ class PdsMultiselect {
12629
12812
  }
12630
12813
  toggleOption(option) {
12631
12814
  var _a, _b;
12815
+ if (option.disabled)
12816
+ return;
12632
12817
  // Handle create option
12633
12818
  if (option.isCreateOption) {
12634
12819
  // Prevent multiple create calls while one is in-flight
@@ -12671,6 +12856,40 @@ class PdsMultiselect {
12671
12856
  // For keyboard navigation - toggle the option
12672
12857
  this.toggleOption(option);
12673
12858
  }
12859
+ getGroupedRenderItems(filteredOptions) {
12860
+ const items = [];
12861
+ let currentGroup = null;
12862
+ filteredOptions.forEach((option, index) => {
12863
+ const group = option.group;
12864
+ if (group !== undefined) {
12865
+ if (!currentGroup || currentGroup.group !== group) {
12866
+ currentGroup = { type: 'group', group, options: [] };
12867
+ items.push(currentGroup);
12868
+ }
12869
+ currentGroup.options.push({ option, index });
12870
+ }
12871
+ else {
12872
+ currentGroup = null;
12873
+ items.push({ type: 'option', option, index });
12874
+ }
12875
+ });
12876
+ return items;
12877
+ }
12878
+ renderOption(option, index, valueArray) {
12879
+ const isSelected = valueArray.includes(String(option.id));
12880
+ const isCreateOption = option.isCreateOption;
12881
+ const isDisabled = option.disabled;
12882
+ const isHighlighted = index === this.highlightedIndex && !isCreateOption;
12883
+ const optionId = `${this.componentId}-option-${index}`;
12884
+ const isCreateDisabled = isCreateOption && this.creating;
12885
+ return (hAsync("li", { key: String(option.id), id: optionId, class: {
12886
+ 'pds-multiselect__option': true,
12887
+ 'pds-multiselect__option--highlighted': isHighlighted,
12888
+ 'pds-multiselect__option--selected': isSelected,
12889
+ 'pds-multiselect__option--create': isCreateOption,
12890
+ 'pds-multiselect__option--disabled': isDisabled || isCreateDisabled,
12891
+ }, role: "option", "aria-selected": isSelected ? 'true' : 'false', "aria-disabled": isDisabled || isCreateDisabled ? 'true' : undefined, "aria-label": isCreateOption ? `Create new tag: ${option.text}` : undefined, "data-index": index, onMouseDown: this.handleOptionMouseDown(option), onMouseEnter: this.handleOptionMouseEnter(index, option) }, isCreateOption ? (hAsync("pds-box", { class: "pds-multiselect__create-option", "align-items": "center", gap: "xs" }, hAsync("pds-icon", { name: "add", size: "small" }), hAsync("pds-text", null, "Add \"", option.text, "\""))) : (hAsync("pds-checkbox", { componentId: `${this.componentId}-checkbox-${index}`, checked: isSelected, label: option.text, disabled: isDisabled, style: { pointerEvents: 'none' } }))));
12892
+ }
12674
12893
  renderSelectedItemsList() {
12675
12894
  if (this.hideSelectedItems || this.selectedItems.length === 0)
12676
12895
  return null;
@@ -12683,43 +12902,58 @@ class PdsMultiselect {
12683
12902
  const valueArray = this.ensureValueArray();
12684
12903
  const hasSlottedEmpty = !!this.el.querySelector('[slot="empty"]');
12685
12904
  const hasSlottedLoading = !!this.el.querySelector('[slot="loading"]');
12686
- return (hAsync("div", { class: "pds-multiselect__panel", ref: el => (this.panelEl = el), style: { minWidth: this.minWidth } }, hAsync("div", { class: "pds-multiselect__search" }, hAsync("pds-icon", { name: "search", size: "small" }), hAsync("input", { ref: el => (this.searchInputEl = el), type: "text", class: "pds-multiselect__search-input", placeholder: this.searchPlaceholder, value: this.searchQuery, "aria-label": "Search options", "aria-controls": `${this.componentId}-listbox`, "aria-activedescendant": this.highlightedIndex >= 0 ? `${this.componentId}-option-${this.highlightedIndex}` : undefined, role: "combobox", "aria-haspopup": "listbox", "aria-expanded": "true", "aria-autocomplete": "list", autocomplete: "off", onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchInputKeyDown })), this.renderSelectedItemsList(), hAsync("ul", { class: "pds-multiselect__listbox", role: "listbox", "aria-multiselectable": "true", "aria-label": this.label || 'Options', id: `${this.componentId}-listbox`, ref: el => (this.listboxEl = el), style: { maxHeight: this.maxHeight }, onScroll: this.handleScroll }, this.loading && (hAsync("li", { class: "pds-multiselect__loading", role: "presentation" }, hasSlottedLoading ? (hAsync("slot", { name: "loading" })) : (hAsync("pds-loader", { size: "small" })))), !this.loading && filteredOptions.length === 0 && (hAsync("li", { class: "pds-multiselect__empty", role: "presentation" }, hasSlottedEmpty ? (hAsync("slot", { name: "empty" })) : (hAsync("span", null, "No options found")))), filteredOptions.map((option, index) => {
12687
- const isSelected = valueArray.includes(String(option.id));
12688
- const isCreateOption = option.isCreateOption;
12689
- const isHighlighted = index === this.highlightedIndex && !isCreateOption;
12690
- const optionId = `${this.componentId}-option-${index}`;
12691
- const isCreateDisabled = isCreateOption && this.creating;
12692
- return (hAsync("li", { key: String(option.id), id: optionId, class: {
12693
- 'pds-multiselect__option': true,
12694
- 'pds-multiselect__option--highlighted': isHighlighted,
12695
- 'pds-multiselect__option--selected': isSelected,
12696
- 'pds-multiselect__option--create': isCreateOption,
12697
- 'pds-multiselect__option--disabled': isCreateDisabled,
12698
- }, role: "option", "aria-selected": isSelected ? 'true' : 'false', "aria-disabled": isCreateDisabled ? 'true' : undefined, "aria-label": isCreateOption ? `Create new tag: ${option.text}` : undefined, "data-index": index, onMouseDown: this.handleOptionMouseDown(option), onMouseEnter: this.handleOptionMouseEnter(index) }, isCreateOption ? (hAsync("pds-box", { class: "pds-multiselect__create-option", "align-items": "center", gap: "xs" }, hAsync("pds-icon", { name: "add", size: "small" }), hAsync("pds-text", null, "Add \"", option.text, "\""))) : (hAsync("pds-checkbox", { componentId: `${this.componentId}-checkbox-${index}`, checked: isSelected, label: option.text, style: { pointerEvents: 'none' } }))));
12905
+ return (hAsync("div", { class: "pds-multiselect__panel", ref: el => (this.panelEl = el), style: { minWidth: this.minWidth } }, hAsync("div", { class: "pds-multiselect__search" }, hAsync("pds-icon", { name: "search", size: "small" }), hAsync("input", { ref: el => (this.searchInputEl = el), type: "text", class: "pds-multiselect__search-input", placeholder: this.searchPlaceholder, value: this.searchQuery, "aria-label": "Search options", "aria-controls": `${this.componentId}-listbox`, "aria-activedescendant": this.highlightedIndex >= 0 ? `${this.componentId}-option-${this.highlightedIndex}` : undefined, role: "combobox", "aria-haspopup": "listbox", "aria-expanded": "true", "aria-autocomplete": "list", autocomplete: "off", onInput: this.handleSearchInputChange, onKeyDown: this.handleSearchInputKeyDown })), this.renderSelectedItemsList(), hAsync("ul", { class: "pds-multiselect__listbox", role: "listbox", "aria-multiselectable": "true", "aria-label": this.label || 'Options', id: `${this.componentId}-listbox`, ref: el => (this.listboxEl = el), style: { maxHeight: this.maxHeight }, onScroll: this.handleScroll }, this.loading && (hAsync("li", { class: "pds-multiselect__loading", role: "presentation" }, hasSlottedLoading ? (hAsync("slot", { name: "loading" })) : (hAsync("pds-loader", { size: "small" })))), !this.loading && filteredOptions.length === 0 && (hAsync("li", { class: "pds-multiselect__empty", role: "presentation" }, hasSlottedEmpty ? (hAsync("slot", { name: "empty" })) : (hAsync("span", null, "No options found")))), this.getGroupedRenderItems(filteredOptions).map((item, itemIndex) => {
12906
+ if (item.type === 'group') {
12907
+ return (hAsync("li", { key: `group-${itemIndex}`, role: "group", "aria-label": item.group, class: "pds-multiselect__group" }, hAsync("span", { class: "pds-multiselect__group-header", "aria-hidden": "true" }, item.group), hAsync("ul", { class: "pds-multiselect__group-list", role: "presentation" }, item.options.map(({ option, index }) => this.renderOption(option, index, valueArray)))));
12908
+ }
12909
+ return this.renderOption(item.option, item.index, valueArray);
12699
12910
  }), this.hasMore && !this.loading && (hAsync("li", { class: "pds-multiselect__load-more", role: "presentation" }, hAsync("pds-loader", { size: "small" }))))));
12700
12911
  }
12912
+ renderInlinePills() {
12913
+ const hasSelections = this.selectedItems.length > 0;
12914
+ if (!hasSelections) {
12915
+ return (hAsync("span", { class: "pds-multiselect__trigger-text pds-multiselect__trigger-text--placeholder" }, this.placeholder || 'Select...'));
12916
+ }
12917
+ const variant = this.disabled ? 'text' : 'tag';
12918
+ const visibleItems = this.selectedItems.slice(0, Math.max(1, this.maxInlinePills));
12919
+ const overflowCount = this.selectedItems.length - visibleItems.length;
12920
+ return (hAsync("div", { class: "pds-multiselect__pill-list pds-multiselect__pill-list--inline", "aria-label": "Selected items" }, visibleItems.map(item => (hAsync("pds-chip", { key: String(item.id), "component-id": `${this.componentId}-pill-${item.id}`, variant: variant, size: "sm", sentiment: "neutral", onPdsTagCloseClick: this.handlePillRemove(item) }, item.text))), overflowCount > 0 && (hAsync("span", { class: "pds-multiselect__pill-overflow" }, "+", overflowCount))));
12921
+ }
12922
+ renderBelowPills() {
12923
+ if (this.selectedItems.length === 0)
12924
+ return null;
12925
+ const variant = this.disabled ? 'text' : 'tag';
12926
+ return (hAsync("div", { class: "pds-multiselect__pill-list pds-multiselect__pill-list--below", "aria-label": "Selected items" }, this.selectedItems.map(item => (hAsync("pds-chip", { key: String(item.id), "component-id": `${this.componentId}-pill-${item.id}`, variant: variant, size: "md", sentiment: "neutral", onPdsTagCloseClick: this.handlePillRemove(item) }, item.text)))));
12927
+ }
12701
12928
  getTriggerText() {
12702
12929
  const count = this.selectedItems.length;
12703
- if (count === 0) {
12930
+ if (count === 0 || (this.selectedDisplay === 'pill' && this.pillPosition === 'below')) {
12704
12931
  return this.placeholder || 'Select...';
12705
12932
  }
12706
12933
  return `${count} item${count === 1 ? '' : 's'}`;
12707
12934
  }
12708
12935
  render() {
12709
12936
  const hasSelections = this.selectedItems.length > 0;
12710
- return (hAsync(Host, { key: '824364c4ab70a90abc5542ac66eb8259e727e4e6', "aria-disabled": this.disabled ? 'true' : null }, hAsync("div", { key: 'ff103de53850eef00dad44e97333c58a54c8ae59', class: "pds-multiselect" }, this.label && (hAsync("label", { key: '0524860c38d53aeddf35e9905abe783cb1174d6b', htmlFor: this.componentId, class: {
12937
+ return (hAsync(Host, { key: '086b6d2d199b35110e64ba1da3c12f1a81360581', "aria-disabled": this.disabled ? 'true' : null }, hAsync("div", { key: 'c2faf217a97de056a9111a78e7077025e4ab5ee1', class: "pds-multiselect", onFocusout: this.handleContainerFocusOut }, this.label && (hAsync("label", { key: '0aff86a3a0054aef256bac5c0204dd914a9bd3ae', id: `${this.componentId}-label`, htmlFor: this.componentId, class: {
12711
12938
  'pds-multiselect__label': true,
12712
12939
  'visually-hidden': this.hideLabel,
12713
- } }, this.label)), hAsync("div", { key: 'b6313b12f499656e98c33af524240fd51a332e68', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), onFocusout: this.handleContainerFocusOut, style: { width: this.triggerWidth } }, hAsync("button", { key: '0b7ecdbc2e16d27afe4863d626c38d437bc39044', ref: el => (this.triggerEl = el), type: "button", part: "trigger", class: {
12940
+ } }, this.label)), hAsync("div", { key: '3b92119871dc32bb3c9a559be816bdece2fc30a6', class: "pds-multiselect__wrapper", ref: el => (this.containerEl = el), style: { width: this.triggerWidth } }, this.selectedDisplay === 'pill' && this.pillPosition === 'inline' ? (hAsync("div", { ref: el => (this.pillInlineTriggerEl = el || undefined), part: "trigger", class: {
12941
+ 'pds-multiselect__trigger': true,
12942
+ 'pds-multiselect__trigger--open': this.isOpen,
12943
+ 'pds-multiselect__trigger--disabled': this.disabled,
12944
+ 'pds-multiselect__trigger--invalid': this.invalid || !!this.errorMessage,
12945
+ 'pds-multiselect__trigger--has-value': hasSelections,
12946
+ 'pds-multiselect__trigger--pill-inline': true,
12947
+ }, onClick: this.handleTriggerClick }, this.renderInlinePills(), hAsync("button", { ref: el => (this.triggerEl = el), type: "button", id: this.componentId, part: "pill-toggle", class: "pds-multiselect__pill-toggle", disabled: this.disabled, "aria-expanded": this.isOpen ? 'true' : 'false', "aria-haspopup": "listbox", "aria-labelledby": this.label ? `${this.componentId}-label` : undefined, "aria-required": this.required ? 'true' : undefined, "aria-describedby": assignDescription(this.componentId, this.invalid || !!this.errorMessage, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onKeyDown: this.handleTriggerKeyDown }, hAsync("pds-icon", { class: "pds-multiselect__icon", icon: enlarge })))) : (hAsync("button", { ref: el => (this.triggerEl = el), type: "button", part: "trigger", class: {
12714
12948
  'pds-multiselect__trigger': true,
12715
12949
  'pds-multiselect__trigger--open': this.isOpen,
12716
12950
  'pds-multiselect__trigger--disabled': this.disabled,
12717
12951
  'pds-multiselect__trigger--invalid': this.invalid || !!this.errorMessage,
12718
12952
  'pds-multiselect__trigger--has-value': hasSelections,
12719
- }, 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.errorMessage || this.helperMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hAsync("span", { key: '0f38b462baa7ff229b05f3cacd1435d0890517cf', class: {
12953
+ }, 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.errorMessage || this.helperMessage), "aria-invalid": this.invalid || !!this.errorMessage ? 'true' : undefined, onClick: this.handleTriggerClick, onKeyDown: this.handleTriggerKeyDown }, hAsync("span", { class: {
12720
12954
  'pds-multiselect__trigger-text': true,
12721
- 'pds-multiselect__trigger-text--placeholder': !hasSelections,
12722
- } }, this.getTriggerText()), hAsync("pds-icon", { key: '63b558f6c42b177cb956afd613002adc3a85347b', class: "pds-multiselect__icon", icon: enlarge })), this.renderDropdown()), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (hAsync("p", { key: '32732cfc57edacc77407b16ee4eb466817ca0a0d', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (hAsync("p", { key: '1e5cb7e19a3dd7717acfdf9feb1aadc8e12255de', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: '31d6871e2960c9dc2946a847c9f961a57f568383', icon: danger, size: "small" }), this.errorMessage)), hAsync("div", { key: '31e91ed1303e67e3b587362310f1acdc47df59db', style: { display: 'none' } }, hAsync("slot", { key: 'ccc33628411dad18051c7f3c3747177ee3f4a922' })))));
12955
+ 'pds-multiselect__trigger-text--placeholder': !hasSelections || (this.selectedDisplay === 'pill' && this.pillPosition === 'below'),
12956
+ } }, this.getTriggerText()), hAsync("pds-icon", { class: "pds-multiselect__icon", icon: enlarge }))), this.renderDropdown()), this.selectedDisplay === 'pill' && this.pillPosition === 'below' && this.renderBelowPills(), hAsync("span", { key: '07d6a6bf9ccc2fe8bfcf9502a1cd4b7abf5c5e6f', class: "visually-hidden", "aria-live": "polite", "aria-atomic": "true" }, this.removalAnnouncement), this.helperMessage && !(this.errorMessage && this.errorMessage.length > 0) && (hAsync("p", { key: 'a94bb6f31805d31ec3cd5b5f2ca8b1984f4d41d1', class: "pds-multiselect__helper", id: messageId(this.componentId, 'helper') }, this.helperMessage)), this.errorMessage && (hAsync("p", { key: '15afc6b9313e1fe22bd56b00eee1ebcf9e085c2e', class: "pds-multiselect__error", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: '452814577b14ca8f891b101903bd1a7a7e5d8bb1', icon: danger, size: "small" }), this.errorMessage)), hAsync("div", { key: 'd8ce787886e666303759cd2654c78b44269a40ff', style: { display: 'none' } }, hAsync("slot", { key: '8295376fb03b23d44c5baeca9bc967514e433e0f' })))));
12723
12957
  }
12724
12958
  static get formAssociated() { return true; }
12725
12959
  get el() { return getElement(this); }
@@ -12753,6 +12987,9 @@ class PdsMultiselect {
12753
12987
  "panelWidth": [1, "panel-width"],
12754
12988
  "hideLabel": [4, "hide-label"],
12755
12989
  "hideSelectedItems": [4, "hide-selected-items"],
12990
+ "selectedDisplay": [1, "selected-display"],
12991
+ "pillPosition": [1, "pill-position"],
12992
+ "maxInlinePills": [2, "max-inline-pills"],
12756
12993
  "errorMessage": [1, "error-message"],
12757
12994
  "helperMessage": [1, "helper-message"],
12758
12995
  "invalid": [4],
@@ -12771,6 +13008,7 @@ class PdsMultiselect {
12771
13008
  "currentPage": [32],
12772
13009
  "hasMore": [32],
12773
13010
  "creating": [32],
13011
+ "removalAnnouncement": [32],
12774
13012
  "setFocus": [64],
12775
13013
  "clear": [64]
12776
13014
  },
@@ -13993,6 +14231,8 @@ class PdsSelect {
13993
14231
  * Updates the form value using ElementInternals API
13994
14232
  */
13995
14233
  updateFormValue() {
14234
+ if (isSpecTest())
14235
+ return;
13996
14236
  if (this.internals && this.internals.setFormValue) {
13997
14237
  const value = this.value;
13998
14238
  // Handle multi-select arrays by converting to FormData or comma-separated string
@@ -14053,7 +14293,7 @@ class PdsSelect {
14053
14293
  }
14054
14294
  render() {
14055
14295
  const hasAction = this.el.querySelector('[slot="action"]') !== null;
14056
- return (hAsync(Host, { key: 'd36bddf20910ae21ba2209bbf7e3f13b1ce9c3bf', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, hAsync("div", { key: '72fe6ee352834fbd6e8f5f9d9e96b1be232f2988', class: "pds-select" }, !this.hideLabel && (hAsync("div", { key: 'c2894f7ec00402425f74f1145d449da13d870161', class: "pds-select__label-wrapper" }, hAsync("label", { key: '4f6277c3f7b40f3d52995231cb49824e58ebae1b', htmlFor: this.componentId }, hAsync("span", { key: 'f1b0cf90091843c1a994699263905f811888d4bd', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), hAsync("select", { key: '727c1644e8ea5afc194e33e29e9730d6b08c3784', "aria-label": this.hideLabel ? this.label : undefined, autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onBlur: this.onBlur, onChange: this.onSelectUpdate, onFocus: this.onFocus, onKeyDown: this.onKeyDown, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), hAsync("div", { key: 'd7c0c3f3b765b13c6dc34a9c5c13bbcfd081a274', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, hAsync("slot", { key: '2305afcacb082c0d5faca8b77295919f8d9c9e0b', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && hAsync("pds-icon", { key: '4a1d6ced0ffc14ae17763d116a85324e5a6c7ce5', class: "pds-select__select-icon", icon: enlarge }))));
14296
+ return (hAsync(Host, { key: '28292440973cbb60c63a296415a617e05fc9c5ce', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, hAsync("div", { key: '4a0f255ecc75c9fcedfc933c0a728d26918d9a9c', class: "pds-select" }, !this.hideLabel && (hAsync("div", { key: '1f0b2a9ccf4ce2b79d5bb4dd40ff076b415bc6ac', class: "pds-select__label-wrapper" }, hAsync("label", { key: '9e30b1b0266981f73f0821c05e833cb66a3caf3c', htmlFor: this.componentId }, hAsync("span", { key: '7790be41907be6c5e3b460aa84b7ea54773cc14d', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), hAsync("select", { key: 'd66b39ee412bfbf3c6dfff722cb061f24ba82df6', "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) }), hAsync("div", { key: 'daf4846494666ebade54249c8d925423e71e7d33', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, hAsync("slot", { key: '545f421fd2679d4bb6ee34658f7dd4089ece4f81', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && hAsync("pds-icon", { key: '0b3bcd3ceee6e6b2ab24b52f16f6cbd89ae88322', class: "pds-select__select-icon", icon: enlarge }))));
14057
14297
  }
14058
14298
  static get formAssociated() { return true; }
14059
14299
  get el() { return getElement(this); }
@@ -14087,111 +14327,94 @@ class PdsSelect {
14087
14327
  }
14088
14328
 
14089
14329
  /**!
14090
- * Sortable 1.15.6
14330
+ * Sortable 1.15.7
14091
14331
  * @author RubaXa <trash@rubaxa.org>
14092
14332
  * @author owenm <owen23355@gmail.com>
14093
14333
  * @license MIT
14094
14334
  */
14095
- function ownKeys(object, enumerableOnly) {
14096
- var keys = Object.keys(object);
14097
- if (Object.getOwnPropertySymbols) {
14098
- var symbols = Object.getOwnPropertySymbols(object);
14099
- if (enumerableOnly) {
14100
- symbols = symbols.filter(function (sym) {
14101
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
14102
- });
14103
- }
14104
- keys.push.apply(keys, symbols);
14105
- }
14106
- return keys;
14335
+ function _defineProperty(e, r, t) {
14336
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
14337
+ value: t,
14338
+ enumerable: true,
14339
+ configurable: true,
14340
+ writable: true
14341
+ }) : e[r] = t, e;
14107
14342
  }
14108
- function _objectSpread2(target) {
14109
- for (var i = 1; i < arguments.length; i++) {
14110
- var source = arguments[i] != null ? arguments[i] : {};
14111
- if (i % 2) {
14112
- ownKeys(Object(source), true).forEach(function (key) {
14113
- _defineProperty(target, key, source[key]);
14114
- });
14115
- } else if (Object.getOwnPropertyDescriptors) {
14116
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
14117
- } else {
14118
- ownKeys(Object(source)).forEach(function (key) {
14119
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
14120
- });
14343
+ function _extends() {
14344
+ return _extends = Object.assign ? Object.assign.bind() : function (n) {
14345
+ for (var e = 1; e < arguments.length; e++) {
14346
+ var t = arguments[e];
14347
+ for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
14121
14348
  }
14349
+ return n;
14350
+ }, _extends.apply(null, arguments);
14351
+ }
14352
+ function ownKeys(e, r) {
14353
+ var t = Object.keys(e);
14354
+ if (Object.getOwnPropertySymbols) {
14355
+ var o = Object.getOwnPropertySymbols(e);
14356
+ r && (o = o.filter(function (r) {
14357
+ return Object.getOwnPropertyDescriptor(e, r).enumerable;
14358
+ })), t.push.apply(t, o);
14359
+ }
14360
+ return t;
14361
+ }
14362
+ function _objectSpread2(e) {
14363
+ for (var r = 1; r < arguments.length; r++) {
14364
+ var t = null != arguments[r] ? arguments[r] : {};
14365
+ r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
14366
+ _defineProperty(e, r, t[r]);
14367
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
14368
+ Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
14369
+ });
14122
14370
  }
14123
- return target;
14371
+ return e;
14124
14372
  }
14125
- function _typeof(obj) {
14126
- "@babel/helpers - typeof";
14127
-
14128
- if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
14129
- _typeof = function (obj) {
14130
- return typeof obj;
14131
- };
14132
- } else {
14133
- _typeof = function (obj) {
14134
- return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
14135
- };
14373
+ function _objectWithoutProperties(e, t) {
14374
+ if (null == e) return {};
14375
+ var o,
14376
+ r,
14377
+ i = _objectWithoutPropertiesLoose(e, t);
14378
+ if (Object.getOwnPropertySymbols) {
14379
+ var n = Object.getOwnPropertySymbols(e);
14380
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
14136
14381
  }
14137
- return _typeof(obj);
14382
+ return i;
14138
14383
  }
14139
- function _defineProperty(obj, key, value) {
14140
- if (key in obj) {
14141
- Object.defineProperty(obj, key, {
14142
- value: value,
14143
- enumerable: true,
14144
- configurable: true,
14145
- writable: true
14146
- });
14147
- } else {
14148
- obj[key] = value;
14384
+ function _objectWithoutPropertiesLoose(r, e) {
14385
+ if (null == r) return {};
14386
+ var t = {};
14387
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
14388
+ if (-1 !== e.indexOf(n)) continue;
14389
+ t[n] = r[n];
14149
14390
  }
14150
- return obj;
14391
+ return t;
14151
14392
  }
14152
- function _extends() {
14153
- _extends = Object.assign || function (target) {
14154
- for (var i = 1; i < arguments.length; i++) {
14155
- var source = arguments[i];
14156
- for (var key in source) {
14157
- if (Object.prototype.hasOwnProperty.call(source, key)) {
14158
- target[key] = source[key];
14159
- }
14160
- }
14161
- }
14162
- return target;
14163
- };
14164
- return _extends.apply(this, arguments);
14165
- }
14166
- function _objectWithoutPropertiesLoose(source, excluded) {
14167
- if (source == null) return {};
14168
- var target = {};
14169
- var sourceKeys = Object.keys(source);
14170
- var key, i;
14171
- for (i = 0; i < sourceKeys.length; i++) {
14172
- key = sourceKeys[i];
14173
- if (excluded.indexOf(key) >= 0) continue;
14174
- target[key] = source[key];
14175
- }
14176
- return target;
14177
- }
14178
- function _objectWithoutProperties(source, excluded) {
14179
- if (source == null) return {};
14180
- var target = _objectWithoutPropertiesLoose(source, excluded);
14181
- var key, i;
14182
- if (Object.getOwnPropertySymbols) {
14183
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
14184
- for (i = 0; i < sourceSymbolKeys.length; i++) {
14185
- key = sourceSymbolKeys[i];
14186
- if (excluded.indexOf(key) >= 0) continue;
14187
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
14188
- target[key] = source[key];
14189
- }
14393
+ function _toPrimitive(t, r) {
14394
+ if ("object" != typeof t || !t) return t;
14395
+ var e = t[Symbol.toPrimitive];
14396
+ if (void 0 !== e) {
14397
+ var i = e.call(t, r);
14398
+ if ("object" != typeof i) return i;
14399
+ throw new TypeError("@@toPrimitive must return a primitive value.");
14190
14400
  }
14191
- return target;
14401
+ return ("string" === r ? String : Number)(t);
14402
+ }
14403
+ function _toPropertyKey(t) {
14404
+ var i = _toPrimitive(t, "string");
14405
+ return "symbol" == typeof i ? i : i + "";
14406
+ }
14407
+ function _typeof(o) {
14408
+ "@babel/helpers - typeof";
14409
+
14410
+ return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
14411
+ return typeof o;
14412
+ } : function (o) {
14413
+ return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
14414
+ }, _typeof(o);
14192
14415
  }
14193
14416
 
14194
- var version = "1.15.6";
14417
+ var version = "1.15.7";
14195
14418
 
14196
14419
  function userAgent(pattern) {
14197
14420
  if (typeof window !== 'undefined' && window.navigator) {
@@ -14234,7 +14457,7 @@ function matches( /**HTMLElement*/el, /**String*/selector) {
14234
14457
  return false;
14235
14458
  }
14236
14459
  function getParentOrHost(el) {
14237
- return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;
14460
+ return el.host && el !== document && el.host.nodeType && el.host !== el ? el.host : el.parentNode;
14238
14461
  }
14239
14462
  function closest$1( /**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) {
14240
14463
  if (el) {
@@ -16102,8 +16325,11 @@ Sortable.prototype = /** @lends Sortable.prototype */{
16102
16325
  _nulling: function _nulling() {
16103
16326
  pluginEvent('nulling', this);
16104
16327
  rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null;
16105
- savedInputChecked.forEach(function (el) {
16106
- el.checked = true;
16328
+ var el = this.el;
16329
+ savedInputChecked.forEach(function (checkEl) {
16330
+ if (el.contains(checkEl)) {
16331
+ checkEl.checked = true;
16332
+ }
16107
16333
  });
16108
16334
  savedInputChecked.length = lastDx = lastDy = 0;
16109
16335
  },
@@ -16761,7 +16987,12 @@ class PdsSortable {
16761
16987
  */
16762
16988
  this.border = false;
16763
16989
  /**
16764
- * Deternines whether `sortable` items should be divided with border.
16990
+ * Determines whether or not the sortable is disabled.
16991
+ * @defaultValue false
16992
+ */
16993
+ this.disabled = false;
16994
+ /**
16995
+ * Determines whether `sortable` items should be divided with border.
16765
16996
  */
16766
16997
  this.dividers = false;
16767
16998
  /**
@@ -16769,11 +17000,18 @@ class PdsSortable {
16769
17000
  */
16770
17001
  this.handleType = 'row';
16771
17002
  }
17003
+ handleDisabledChange() {
17004
+ var _a;
17005
+ (_a = this.sortableInstance) === null || _a === void 0 ? void 0 : _a.option('disabled', this.disabled);
17006
+ }
16772
17007
  classNames() {
16773
17008
  const classNames = ['pds-sortable'];
16774
17009
  if (this.border) {
16775
17010
  classNames.push('pds-sortable--bordered');
16776
17011
  }
17012
+ if (this.disabled) {
17013
+ classNames.push('pds-sortable--disabled');
17014
+ }
16777
17015
  if (this.dividers) {
16778
17016
  classNames.push('pds-sortable--divided');
16779
17017
  }
@@ -16785,6 +17023,7 @@ class PdsSortable {
16785
17023
  componentDidLoad() {
16786
17024
  let sortableOptions = {
16787
17025
  animation: 150,
17026
+ disabled: this.disabled,
16788
17027
  ghostClass: 'pds-sortable-item--ghost',
16789
17028
  dragClass: 'pds-sortable-item--drag',
16790
17029
  onEnd: (evt) => {
@@ -16794,29 +17033,33 @@ class PdsSortable {
16794
17033
  if (this.handleType === 'handle') {
16795
17034
  sortableOptions = Object.assign(Object.assign({}, sortableOptions), { handle: '.pds-sortable-item__handle' });
16796
17035
  }
16797
- Sortable.create(this.el, sortableOptions);
17036
+ this.sortableInstance = Sortable.create(this.el, sortableOptions);
16798
17037
  }
16799
17038
  render() {
16800
- return (hAsync(Host, { key: '98083e17bb18c5adde8b4c0c387daa28ca2bda91', class: this.classNames(), id: this.componentId }, hAsync("slot", { key: '4ffcd0844153824c3509e42f5636c5851dc7fcbe' })));
17039
+ return (hAsync(Host, { key: '562bfb1ecea0b3a3f246b2e277b71f70d14b854c', class: this.classNames(), id: this.componentId }, hAsync("slot", { key: 'a1ff894a9cd6049e532d2fa744429cec6d97e280' })));
16801
17040
  }
16802
17041
  get el() { return getElement(this); }
17042
+ static get watchers() { return {
17043
+ "disabled": ["handleDisabledChange"]
17044
+ }; }
16803
17045
  static get style() { return pdsSortableCss; }
16804
17046
  static get cmpMeta() { return {
16805
17047
  "$flags$": 262,
16806
17048
  "$tagName$": "pds-sortable",
16807
17049
  "$members$": {
16808
17050
  "border": [516],
17051
+ "disabled": [516],
16809
17052
  "componentId": [1, "component-id"],
16810
17053
  "dividers": [516],
16811
17054
  "handleType": [1, "handle-type"]
16812
17055
  },
16813
17056
  "$listeners$": undefined,
16814
17057
  "$lazyBundleId$": "-",
16815
- "$attrsToReflect$": [["border", "border"], ["dividers", "dividers"]]
17058
+ "$attrsToReflect$": [["border", "border"], ["disabled", "disabled"], ["dividers", "dividers"]]
16816
17059
  }; }
16817
17060
  }
16818
17061
 
16819
- const pdsSortableItemCss = ".pds-sortable-item.sc-pds-sortable-item-h{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-md)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__actions.sc-pds-sortable-item{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-padding-start:var(--pine-dimension-md);padding-inline-start:var(--pine-dimension-md)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{line-height:1;-webkit-margin-end:var(--pine-dimension-md);margin-inline-end:var(--pine-dimension-md)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:first-child{border-start-end-radius:calc(var(--pine-dimension-xs) * 1.25);border-start-start-radius:calc(var(--pine-dimension-xs) * 1.25)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:last-child{border-end-end-radius:calc(var(--pine-dimension-xs) * 1.25);border-end-start-radius:calc(var(--pine-dimension-xs) * 1.25)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h:last-child{-webkit-border-after:0;border-block-end:0}.pds-sortable--handle-type-row .pds-sortable-item.sc-pds-sortable-item-h{cursor:-webkit-grab;cursor:grab}.pds-sortable--handle-type-handle .pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{cursor:-webkit-grab;cursor:grab}.pds-sortable-item.sc-pds-sortable-item-h:hover{background-color:var(--pine-color-background-container-hover)}.pds-sortable-item.sc-pds-sortable-item-h:hover pds-icon.sc-pds-sortable-item{color:var(--pine-color-info)}.pds-sortable-item--drag.sc-pds-sortable-item-h{background-color:var(--pine-color-background-container);border-radius:0;-webkit-box-shadow:var(--pine-box-shadow-400);box-shadow:var(--pine-box-shadow-400);opacity:1}.pds-sortable-item--ghost.sc-pds-sortable-item-h{background-color:var(--pine-color-background-container-hover);border-radius:0}";
17062
+ const pdsSortableItemCss = ".pds-sortable-item.sc-pds-sortable-item-h{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-md)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__actions.sc-pds-sortable-item{-webkit-margin-start:auto;margin-inline-start:auto;-webkit-padding-start:var(--pine-dimension-md);padding-inline-start:var(--pine-dimension-md)}.pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{line-height:1;-webkit-margin-end:var(--pine-dimension-md);margin-inline-end:var(--pine-dimension-md)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:first-child{border-start-end-radius:calc(var(--pine-dimension-xs) * 1.25);border-start-start-radius:calc(var(--pine-dimension-xs) * 1.25)}.pds-sortable--bordered .pds-sortable-item.sc-pds-sortable-item-h:last-child{border-end-end-radius:calc(var(--pine-dimension-xs) * 1.25);border-end-start-radius:calc(var(--pine-dimension-xs) * 1.25)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h{-webkit-border-after:var(--pine-border);border-block-end:var(--pine-border)}.pds-sortable--divided .pds-sortable-item.sc-pds-sortable-item-h:last-child{-webkit-border-after:0;border-block-end:0}.pds-sortable--handle-type-row .pds-sortable-item.sc-pds-sortable-item-h{cursor:-webkit-grab;cursor:grab}.pds-sortable--handle-type-handle .pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{cursor:-webkit-grab;cursor:grab}.pds-sortable--disabled .pds-sortable-item.sc-pds-sortable-item-h{cursor:not-allowed;opacity:0.5}.pds-sortable--disabled .pds-sortable-item.sc-pds-sortable-item-h .pds-sortable-item__handle.sc-pds-sortable-item{cursor:not-allowed}.pds-sortable--disabled .pds-sortable-item.sc-pds-sortable-item-h:hover{background-color:transparent}.pds-sortable:not(.pds-sortable--disabled) .pds-sortable-item.sc-pds-sortable-item-h:hover{background-color:var(--pine-color-background-container-hover)}.pds-sortable:not(.pds-sortable--disabled) .pds-sortable-item.sc-pds-sortable-item-h:hover pds-icon.sc-pds-sortable-item{color:var(--pine-color-info)}.pds-sortable-item--drag.sc-pds-sortable-item-h{background-color:var(--pine-color-background-container);border-radius:0;-webkit-box-shadow:var(--pine-box-shadow-400);box-shadow:var(--pine-box-shadow-400);opacity:1}.pds-sortable-item--ghost.sc-pds-sortable-item-h{background-color:var(--pine-color-background-container-hover);border-radius:0}";
16820
17063
 
16821
17064
  /**
16822
17065
  * @slot sortable-item-actions - Content is placed within the `pds-sortable-item__actions` element as children. This slot is only rendered if `actions` is set to `true`.
@@ -16922,10 +17165,8 @@ class PdsSwitch {
16922
17165
  this.updateFormValue();
16923
17166
  }
16924
17167
  updateFormValue() {
16925
- var _a;
16926
- if (typeof jest !== 'undefined' || typeof process !== 'undefined' && ((_a = process.env) === null || _a === void 0 ? void 0 : _a.NODE_ENV) === 'test') {
17168
+ if (isSpecTest())
16927
17169
  return;
16928
- }
16929
17170
  if (this.internals && this.internals.setFormValue) {
16930
17171
  // For switches, only send the value when checked, otherwise send null
16931
17172
  const formValue = this.checked ? (this.value || 'on') : null;
@@ -16950,9 +17191,9 @@ class PdsSwitch {
16950
17191
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
16951
17192
  }
16952
17193
  render() {
16953
- return (hAsync(Host, { key: 'e26422622075f925f0df3dbc2f5ea8223aed9902', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, hAsync("label", { key: 'b63cdac80d3cd55bc4845979f15b382c92883cf5', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: '910a7f6cd2093a6062c57c63600bb1721c147c75', "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), hAsync("span", { key: '45661afcaba7852a6ddf6ebbf4606502bc8b72e2', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
16954
- hAsync("div", { key: 'be3a6fbf3938b7846ca3a9e6eef54d6ee25391fa', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
16955
- hAsync("div", { key: 'a5944169798ae8531f9e6414deac2c3631339b0a', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '5b864b6ac441c9bd71dc22dbc9722c87c1b781e6', icon: danger, size: "small" }), this.errorMessage)));
17194
+ return (hAsync(Host, { key: '96ee8c40c04e95b461ba2942b740503897a56b27', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, hAsync("label", { key: '441d6854f2c0b02ecf3d874198b3e0636d68c83b', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: 'a26cd5fb407abc20da3e9dcfe0e52333690b783a', "aria-describedby": assignDescription(this.componentId, this.invalid, this.errorMessage || this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, checked: this.checked, class: "pds-switch__input", disabled: this.disabled, id: this.componentId, name: this.name ? this.name : this.componentId, onChange: this.onSwitchUpdate, required: this.required, type: "checkbox", value: this.value }, this.inheritedAttributes)), hAsync("span", { key: '5762c48f481c5c5d7b62e8dab40579a4e7ff290b', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
17195
+ hAsync("div", { key: '64c14b8833b45b4e9efb2f76faa47f0d24127c91', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
17196
+ hAsync("div", { key: 'cecd2e8da713e74b8e6b528b50733015f5d5069b', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '3a1c8f87b3909cdad1bc680931f5521ecb77acd6', icon: danger, size: "small" }), this.errorMessage)));
16956
17197
  }
16957
17198
  static get formAssociated() { return true; }
16958
17199
  get el() { return getElement(this); }
@@ -18307,7 +18548,7 @@ class PdsTextarea {
18307
18548
  this.setupResizeObserver();
18308
18549
  }
18309
18550
  // Update ElementInternals validity when maxLength changes
18310
- if (this.internals && this.internals.setValidity && this.nativeTextarea) {
18551
+ if (!isSpecTest() && this.internals && this.internals.setValidity && this.nativeTextarea) {
18311
18552
  const isTooLong = this.nativeTextarea.value.length > (this.maxLength || 0);
18312
18553
  this.internals.setValidity({ tooLong: isTooLong }, isTooLong ? 'Value exceeds maxLength' : '', this.nativeTextarea);
18313
18554
  }
@@ -18441,6 +18682,8 @@ class PdsTextarea {
18441
18682
  * Updates the form value using ElementInternals API
18442
18683
  */
18443
18684
  updateFormValue() {
18685
+ if (isSpecTest())
18686
+ return;
18444
18687
  if (this.internals && this.internals.setFormValue) {
18445
18688
  const value = this.getValue();
18446
18689
  this.internals.setFormValue(value || null);
@@ -18480,10 +18723,10 @@ class PdsTextarea {
18480
18723
  }
18481
18724
  render() {
18482
18725
  const value = this.getValue();
18483
- return (hAsync(Host, { key: '3930616df94105a62fc1d837bda9a03526ab1f8d', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-action": this.hasAction && !this.hideLabel ? 'true' : null }, hAsync("div", { key: 'da1befdef1050646ebcd8dd27b93d8dc8d777a15', class: "pds-textarea" }, this.label &&
18484
- hAsync("div", { key: '4140a3852e9f3f7d490457b9c8d0d15ab04ea4c2', class: "pds-textarea__label-wrapper" }, hAsync("label", { key: '7a38d1b5f394e0304252827c11ca5fc89c22abf9', htmlFor: this.componentId }, hAsync("span", { key: 'da9a2cff7f0cf25d027de8cf05feae97a89e38d9', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), !this.hideLabel && this.renderAction()), hAsync("div", { key: '443e7d2fc01781ae0808c4212ba29887545c1225', class: "pds-textarea__field-wrapper" }, hAsync("textarea", Object.assign({ key: '41c0cb685f60fec270102fb67a73d4c341033c6e', ref: (el) => this.nativeTextarea = el, "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, maxlength: this.maxLength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onBlur: this.onBlur, onChange: this.onTextareaChange, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value), this.renderCharacterCounter()), this.helperMessage &&
18485
- hAsync("p", { key: '3bfc2cc6ff60ef1e54feec57c3b1194342ec6d45', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
18486
- hAsync("p", { key: 'cb288096c3398103b8458b09576fabb7154c9867', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: '3274739f2dcea054a9df861f8ac5dd97f8267b4c', icon: danger, size: "small" }), this.errorMessage))));
18726
+ return (hAsync(Host, { key: '09726ef6454fe84a5c8d0ea25c6e8a7a6da128f9', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-action": this.hasAction && !this.hideLabel ? 'true' : null }, hAsync("div", { key: '6244104f11d26b25a908fbaf13a815988a3c33d9', class: "pds-textarea" }, this.label &&
18727
+ hAsync("div", { key: '5dd7f6caedd7ebf5ecaacf8d111ec5e2426e84ae', class: "pds-textarea__label-wrapper" }, hAsync("label", { key: 'd19f62cd28612423abf0d5696ff1cd88f39d32fe', htmlFor: this.componentId }, hAsync("span", { key: '37f4e9e34ae3205bafa5f1bc8574a98d3a90060d', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), !this.hideLabel && this.renderAction()), hAsync("div", { key: '4c3c8fadc5596630485ee1775f5d87d77c11d95b', class: "pds-textarea__field-wrapper" }, hAsync("textarea", Object.assign({ key: 'a60be5f3d362cb9bcd2ecf5af16ffc467fc8322a', ref: (el) => this.nativeTextarea = el, "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, class: this.textareaClassNames(), disabled: this.disabled, id: this.componentId, maxlength: this.maxLength, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, onBlur: this.onBlur, onChange: this.onTextareaChange, onFocus: this.onFocus, onInput: this.onInput, onKeyDown: this.onKeyDown }, this.inheritedAttributes), value), this.renderCharacterCounter()), this.helperMessage &&
18728
+ hAsync("p", { key: 'ae03337ef85ac2a3995e967fe671e0ad2c352710', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
18729
+ hAsync("p", { key: 'a2bda9a477e7d2b81862833da43158a626d8cc6f', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: '5ac785e8012aeb49dd0b1c5823233671531b0a7a', icon: danger, size: "small" }), this.errorMessage))));
18487
18730
  }
18488
18731
  static get formAssociated() { return true; }
18489
18732
  get el() { return getElement(this); }
@@ -18526,6 +18769,9 @@ class PdsTextarea {
18526
18769
 
18527
18770
  const pdsToastCss = ":host{--animation-duration:0.3s;--animation-timing:cubic-bezier(0.4, 0, 0.2, 1);--padding-inline:var(--pine-dimension-md);--padding-inline-desktop:var(--pine-dimension-2xl);--sizing-height-default:68px;--sizing-min-width:calc(var(--sizing-total-width) - (var(--padding-inline) * 2));--sizing-min-width-desktop:calc(var(--sizing-total-width) - (var(--padding-inline-desktop) * 2));--sizing-total-width:350px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;font:var(--pine-typography-body-medium)}.pds-toast{-ms-flex-align:center;align-items:center;-webkit-animation:pds-toast-animate-in var(--animation-duration) var(--animation-timing);animation:pds-toast-animate-in var(--animation-duration) var(--animation-timing);background-color:var(--pine-color-primary);border-radius:var(--pine-dimension-xs);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);color:var(--pine-color-text-primary);display:-ms-flexbox;display:flex;height:var(--sizing-height-default);-ms-flex-pack:start;justify-content:flex-start;-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs);max-width:90vw;min-width:var(--sizing-min-width);padding:0 var(--padding-inline);position:relative;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}@media screen and (max-width: 767px){.pds-toast{height:36px;max-width:calc(100vw - var(--pine-dimension-2xs) * 2);min-width:auto;padding-inline:var(--pine-dimension-2xs)}}.pds-toast--danger{background-color:var(--pine-color-danger)}.pds-toast--loading .pds-toast__loader{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-webkit-margin-end:var(--pine-dimension-sm);margin-inline-end:var(--pine-dimension-sm);position:relative}.pds-toast--loading .pds-toast__loader-spinner{-webkit-animation:pds-toast-rotate 2s linear infinite;animation:pds-toast-rotate 2s linear infinite;height:20px;width:20px}.pds-toast--loading .pds-toast__loader-path{-webkit-animation:pds-toast-dash 1.5s ease-in-out infinite;animation:pds-toast-dash 1.5s ease-in-out infinite;stroke-dasharray:1, 200;stroke-dashoffset:0;stroke-linecap:round}.pds-toast__icon{color:var(--pine-color-text-primary);display:-ms-inline-flexbox;display:inline-flex;-webkit-margin-end:var(--pine-dimension-sm);margin-inline-end:var(--pine-dimension-sm)}.pds-toast__message{font:var(--pine-typography-body-sm-medium);-webkit-margin-end:auto;margin-inline-end:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pds-toast__message ::slotted(a){color:var(--pine-color-text-primary);-webkit-margin-start:var(--pine-dimension-xs);margin-inline-start:var(--pine-dimension-xs);opacity:0.7;text-decoration:underline}.pds-toast__message ::slotted(a):hover,.pds-toast__message ::slotted(a):focus-visible{opacity:1}.pds-toast__message ::slotted(a):focus-visible{outline:2px solid var(--pine-color-text-primary);outline-offset:2px}.pds-toast__button{-ms-flex-align:center;align-items:center;background:none;border:0;border-radius:var(--pine-border-radius-full);color:inherit;cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;-webkit-margin-start:var(--pine-dimension-md);margin-inline-start:var(--pine-dimension-md);opacity:0.7;padding:0;white-space:nowrap}.pds-toast__button:hover,.pds-toast__button:focus{opacity:1}.pds-toast__button:focus{outline:var(--pine-outline-focus);outline-offset:var(--pine-dimension-2xs)}@-webkit-keyframes pds-toast-animate-in{from{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes pds-toast-animate-in{from{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@-webkit-keyframes pds-toast-animate-out{from{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes pds-toast-animate-out{from{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}to{opacity:0;-webkit-transform:translateY(100%);transform:translateY(100%)}}@-webkit-keyframes pds-toast-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes pds-toast-rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes pds-toast-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124}}@keyframes pds-toast-dash{0%{stroke-dasharray:1, 200;stroke-dashoffset:0}50%{stroke-dasharray:89, 200;stroke-dashoffset:-35}100%{stroke-dasharray:89, 200;stroke-dashoffset:-124}}:host([hidden]) .pds-toast,.pds-toast--animating-out{-webkit-animation:pds-toast-animate-out var(--animation-duration) var(--animation-timing) forwards;animation:pds-toast-animate-out var(--animation-duration) var(--animation-timing) forwards;pointer-events:none;}";
18528
18771
 
18772
+ /**
18773
+ * @part dismiss
18774
+ */
18529
18775
  class PdsToast {
18530
18776
  constructor(hostRef) {
18531
18777
  registerInstance(this, hostRef);
@@ -18606,13 +18852,13 @@ class PdsToast {
18606
18852
  return this.icon && hAsync("pds-icon", { name: this.icon, class: "pds-toast__icon" });
18607
18853
  }
18608
18854
  render() {
18609
- return (hAsync(Host, { key: '321c06e28eefaf088bf4dfad01f0db68778e99b5', hidden: !this.isVisible }, hAsync("div", { key: '540e3256517b8822cda1cf5aae6da42d8e6fbe65', class: {
18855
+ return (hAsync(Host, { key: '5a626d33e284f1d19498f1a15f91810e6c184116', hidden: !this.isVisible }, hAsync("div", { key: '9e3d7c1ccd5ee162f9cdc6c1ec7ba8b36b2492f0', class: {
18610
18856
  'pds-toast': true,
18611
18857
  [`pds-toast--${this.type}`]: this.type !== 'default',
18612
18858
  'pds-toast--animating-out': this.isAnimatingOut
18613
- }, role: "alert", "aria-live": "polite" }, this.renderIcon(), hAsync("span", { key: 'd558a8b71aac4cc37536b793dd75625ffa3d970e', class: "pds-toast__message" }, hAsync("slot", { key: 'a208456409cafbe0f8fbba2d2de3e26e73ed412f' })), this.dismissible && (hAsync("button", { key: '530a9adf4628ecfcbb40adf618685457c6088e8b', type: "button", part: "dismiss", class: "pds-toast__button", onClick: () => {
18859
+ }, role: "alert", "aria-live": "polite" }, this.renderIcon(), hAsync("span", { key: '07fa7e9da50a3f25ad66f633de05cd62c08963ad', class: "pds-toast__message" }, hAsync("slot", { key: '94b97c868003945d884fe82fc132ccf9c93883d3' })), this.dismissible && (hAsync("button", { key: 'bbb35c6f1a4f2635c29f56d3c71870289c3dd765', type: "button", part: "dismiss", class: "pds-toast__button", onClick: () => {
18614
18860
  this.dismiss();
18615
- }, "aria-label": "Dismiss message" }, hAsync("pds-icon", { key: 'f49765dc7946c2d012b14d8f499e72c6ecd65c50', name: "remove" }))))));
18861
+ }, "aria-label": "Dismiss message" }, hAsync("pds-icon", { key: '5a39aa843a9585f8814b15f334d7eb74cf6e815c', name: "remove" }))))));
18616
18862
  }
18617
18863
  static get watchers() { return {
18618
18864
  "duration": ["handleDurationChange"]
@@ -18993,6 +19239,7 @@ registerComponents([
18993
19239
  PdsCheckbox,
18994
19240
  PdsChip,
18995
19241
  PdsCombobox,
19242
+ PdsContainer,
18996
19243
  PdsCopytext,
18997
19244
  PdsDivider,
18998
19245
  PdsDropdownMenu,