@pine-ds/core 3.2.0 → 3.4.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 (627) hide show
  1. package/components/floating-ui.dom.js +1321 -0
  2. package/components/floating-ui.dom.js.map +1 -0
  3. package/components/index.d.ts +4 -0
  4. package/components/index.js +2 -0
  5. package/components/index.js.map +1 -1
  6. package/components/index2.js +1 -1
  7. package/components/index2.js.map +1 -1
  8. package/components/mock-pds-modal.js +1 -1
  9. package/components/pds-box2.js.map +1 -1
  10. package/components/pds-button2.js +1 -1
  11. package/components/pds-button2.js.map +1 -1
  12. package/components/pds-chip.js +21 -6
  13. package/components/pds-chip.js.map +1 -1
  14. package/components/pds-combobox.d.ts +11 -0
  15. package/components/pds-combobox.js +1771 -0
  16. package/components/pds-combobox.js.map +1 -0
  17. package/components/pds-copytext.js +1 -1
  18. package/components/pds-divider.js +1 -1
  19. package/components/pds-dropdown-menu-item.js +1 -1
  20. package/components/pds-dropdown-menu-separator.js +1 -1
  21. package/components/pds-dropdown-menu.js +4 -1320
  22. package/components/pds-dropdown-menu.js.map +1 -1
  23. package/components/pds-icon2.js +151 -18
  24. package/components/pds-icon2.js.map +1 -1
  25. package/components/pds-image.js +2 -2
  26. package/components/pds-input.js +111 -21
  27. package/components/pds-input.js.map +1 -1
  28. package/components/pds-link2.js +2 -2
  29. package/components/pds-loader2.js +1 -1
  30. package/components/pds-modal-content.js +2 -2
  31. package/components/pds-modal-footer.js +1 -1
  32. package/components/pds-modal-header.js +1 -1
  33. package/components/pds-modal.js +2 -2
  34. package/components/pds-popover.js +1 -1
  35. package/components/pds-progress.js +1 -1
  36. package/components/pds-property.d.ts +11 -0
  37. package/components/pds-property.js +55 -0
  38. package/components/pds-property.js.map +1 -0
  39. package/components/pds-radio.js +3 -3
  40. package/components/pds-row.js +1 -1
  41. package/components/pds-select.js +12 -3
  42. package/components/pds-select.js.map +1 -1
  43. package/components/pds-sortable-item.js +1 -1
  44. package/components/pds-sortable.js +1 -1
  45. package/components/pds-switch.js +3 -3
  46. package/components/pds-tab.js +3 -3
  47. package/components/pds-table-body.js +1 -1
  48. package/components/pds-table-cell2.js +2 -2
  49. package/components/pds-table-head-cell2.js +2 -2
  50. package/components/pds-table-head.js +1 -1
  51. package/components/pds-table-row.js +1 -1
  52. package/components/pds-table.js +1 -1
  53. package/components/pds-tabpanel.js +1 -1
  54. package/components/pds-tabs.js +1 -1
  55. package/components/pds-text2.js +1 -1
  56. package/components/pds-text2.js.map +1 -1
  57. package/components/pds-textarea.js +18 -5
  58. package/components/pds-textarea.js.map +1 -1
  59. package/components/pds-toast.js +3 -3
  60. package/components/pds-tooltip.js +17 -1
  61. package/components/pds-tooltip.js.map +1 -1
  62. package/dist/cjs/floating-ui.dom-Bz4BD-cr.js +1326 -0
  63. package/dist/cjs/floating-ui.dom-Bz4BD-cr.js.map +1 -0
  64. package/dist/cjs/{index-CG2Rr2io.js → index-BfqrB2cC.js} +3 -3
  65. package/dist/cjs/index-BfqrB2cC.js.map +1 -0
  66. package/dist/cjs/loader.cjs.js +1 -1
  67. package/dist/cjs/mock-pds-modal.cjs.entry.js +1 -1
  68. package/dist/cjs/pds-accordion.cjs.entry.js +1 -1
  69. package/dist/cjs/pds-avatar.cjs.entry.js +1 -1
  70. package/dist/cjs/pds-box.cjs.entry.js.map +1 -1
  71. package/dist/cjs/pds-box.entry.cjs.js.map +1 -1
  72. package/dist/cjs/pds-button.cjs.entry.js +2 -2
  73. package/dist/cjs/pds-button.cjs.entry.js.map +1 -1
  74. package/dist/cjs/pds-button.entry.cjs.js.map +1 -1
  75. package/dist/cjs/pds-checkbox.cjs.entry.js +1 -1
  76. package/dist/cjs/pds-chip.cjs.entry.js +21 -7
  77. package/dist/cjs/pds-chip.cjs.entry.js.map +1 -1
  78. package/dist/cjs/pds-chip.entry.cjs.js.map +1 -1
  79. package/dist/cjs/pds-combobox.cjs.entry.js +1717 -0
  80. package/dist/cjs/pds-combobox.cjs.entry.js.map +1 -0
  81. package/dist/cjs/pds-combobox.entry.cjs.js.map +1 -0
  82. package/dist/cjs/pds-copytext.cjs.entry.js +2 -2
  83. package/dist/cjs/pds-divider.cjs.entry.js +1 -1
  84. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +1 -1
  85. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +1 -1
  86. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +4 -1320
  87. package/dist/cjs/pds-dropdown-menu.cjs.entry.js.map +1 -1
  88. package/dist/cjs/pds-dropdown-menu.entry.cjs.js.map +1 -1
  89. package/dist/cjs/pds-icon.cjs.entry.js +148 -15
  90. package/dist/cjs/pds-icon.cjs.entry.js.map +1 -1
  91. package/dist/cjs/pds-icon.entry.cjs.js.map +1 -1
  92. package/dist/cjs/pds-image.cjs.entry.js +2 -2
  93. package/dist/cjs/pds-input.cjs.entry.js +100 -21
  94. package/dist/cjs/pds-input.cjs.entry.js.map +1 -1
  95. package/dist/cjs/pds-input.entry.cjs.js.map +1 -1
  96. package/dist/cjs/pds-link.cjs.entry.js +3 -3
  97. package/dist/cjs/pds-loader.cjs.entry.js +1 -1
  98. package/dist/cjs/pds-modal-content.cjs.entry.js +2 -2
  99. package/dist/cjs/pds-modal-footer.cjs.entry.js +1 -1
  100. package/dist/cjs/pds-modal-header.cjs.entry.js +1 -1
  101. package/dist/cjs/pds-modal.cjs.entry.js +2 -2
  102. package/dist/cjs/pds-popover.cjs.entry.js +1 -1
  103. package/dist/cjs/pds-progress.cjs.entry.js +1 -1
  104. package/dist/cjs/pds-property.cjs.entry.js +24 -0
  105. package/dist/cjs/pds-property.cjs.entry.js.map +1 -0
  106. package/dist/cjs/pds-property.entry.cjs.js.map +1 -0
  107. package/dist/cjs/pds-radio.cjs.entry.js +4 -4
  108. package/dist/cjs/pds-row.cjs.entry.js +1 -1
  109. package/dist/cjs/pds-select.cjs.entry.js +12 -4
  110. package/dist/cjs/pds-select.cjs.entry.js.map +1 -1
  111. package/dist/cjs/pds-select.entry.cjs.js.map +1 -1
  112. package/dist/cjs/pds-sortable-item.cjs.entry.js +2 -2
  113. package/dist/cjs/pds-sortable.cjs.entry.js +1 -1
  114. package/dist/cjs/pds-switch.cjs.entry.js +4 -4
  115. package/dist/cjs/pds-tab.cjs.entry.js +3 -3
  116. package/dist/cjs/pds-table-body.cjs.entry.js +1 -1
  117. package/dist/cjs/pds-table-cell.cjs.entry.js +2 -2
  118. package/dist/cjs/pds-table-head-cell.cjs.entry.js +3 -3
  119. package/dist/cjs/pds-table-head.cjs.entry.js +1 -1
  120. package/dist/cjs/pds-table-row.cjs.entry.js +1 -1
  121. package/dist/cjs/pds-table.cjs.entry.js +1 -1
  122. package/dist/cjs/pds-tabpanel.cjs.entry.js +1 -1
  123. package/dist/cjs/pds-tabs.cjs.entry.js +1 -1
  124. package/dist/cjs/pds-text.cjs.entry.js +1 -1
  125. package/dist/cjs/pds-text.cjs.entry.js.map +1 -1
  126. package/dist/cjs/pds-text.entry.cjs.js.map +1 -1
  127. package/dist/cjs/pds-textarea.cjs.entry.js +18 -6
  128. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -1
  129. package/dist/cjs/pds-textarea.entry.cjs.js.map +1 -1
  130. package/dist/cjs/pds-toast.cjs.entry.js +3 -3
  131. package/dist/cjs/pds-tooltip.cjs.entry.js +17 -1
  132. package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -1
  133. package/dist/cjs/pds-tooltip.entry.cjs.js.map +1 -1
  134. package/dist/cjs/pine-core.cjs.js +1 -1
  135. package/dist/collection/collection-manifest.json +2 -0
  136. package/dist/collection/components/pds-button/pds-button.css +17 -5
  137. package/dist/collection/components/pds-chip/pds-chip.css +48 -11
  138. package/dist/collection/components/pds-chip/pds-chip.js +42 -9
  139. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -1
  140. package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +17 -0
  141. package/dist/collection/components/pds-combobox/pds-combobox.css +223 -0
  142. package/dist/collection/components/pds-combobox/pds-combobox.js +783 -0
  143. package/dist/collection/components/pds-combobox/pds-combobox.js.map +1 -0
  144. package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +194 -0
  145. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  146. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  147. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +1 -1
  148. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +1 -1
  149. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +1 -1
  150. package/dist/collection/components/pds-image/pds-image.js +2 -2
  151. package/dist/collection/components/pds-input/pds-input.css +184 -43
  152. package/dist/collection/components/pds-input/pds-input.js +226 -21
  153. package/dist/collection/components/pds-input/pds-input.js.map +1 -1
  154. package/dist/collection/components/pds-input/stories/pds-input.stories.js +182 -0
  155. package/dist/collection/components/pds-link/pds-link.js +2 -2
  156. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  157. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
  158. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
  159. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
  160. package/dist/collection/components/pds-modal/pds-modal.js +2 -2
  161. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
  162. package/dist/collection/components/pds-popover/pds-popover.js +1 -1
  163. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  164. package/dist/collection/components/pds-property/pds-property.css +4 -0
  165. package/dist/collection/components/pds-property/pds-property.js +71 -0
  166. package/dist/collection/components/pds-property/pds-property.js.map +1 -0
  167. package/dist/collection/components/pds-property/stories/pds-property.stories.js +20 -0
  168. package/dist/collection/components/pds-radio/pds-radio.js +3 -3
  169. package/dist/collection/components/pds-row/pds-row.js +1 -1
  170. package/dist/collection/components/pds-select/pds-select.css +53 -5
  171. package/dist/collection/components/pds-select/pds-select.js +32 -2
  172. package/dist/collection/components/pds-select/pds-select.js.map +1 -1
  173. package/dist/collection/components/pds-select/stories/pds-select.stories.js +44 -0
  174. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  175. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  176. package/dist/collection/components/pds-switch/pds-switch.js +3 -3
  177. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  178. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  179. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  180. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  181. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  182. package/dist/collection/components/pds-table/pds-table.js +1 -1
  183. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +3 -3
  184. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +1 -1
  185. package/dist/collection/components/pds-tabs/pds-tabs.js +1 -1
  186. package/dist/collection/components/pds-text/pds-text.js +4 -1
  187. package/dist/collection/components/pds-text/pds-text.js.map +1 -1
  188. package/dist/collection/components/pds-textarea/pds-textarea.css +18 -0
  189. package/dist/collection/components/pds-textarea/pds-textarea.js +21 -5
  190. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -1
  191. package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +48 -1
  192. package/dist/collection/components/pds-toast/pds-toast.js +3 -3
  193. package/dist/collection/components/pds-tooltip/pds-tooltip.js +17 -1
  194. package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -1
  195. package/dist/docs.json +1162 -227
  196. package/dist/esm/floating-ui.dom-D_FwyeSw.js +1321 -0
  197. package/dist/esm/floating-ui.dom-D_FwyeSw.js.map +1 -0
  198. package/dist/esm/{index-_4gljHh-.js → index-CzVv99mW.js} +3 -3
  199. package/dist/esm/index-CzVv99mW.js.map +1 -0
  200. package/dist/esm/loader.js +1 -1
  201. package/dist/esm/mock-pds-modal.entry.js +1 -1
  202. package/dist/esm/pds-accordion.entry.js +1 -1
  203. package/dist/esm/pds-avatar.entry.js +1 -1
  204. package/dist/esm/pds-box.entry.js.map +1 -1
  205. package/dist/esm/pds-button.entry.js +2 -2
  206. package/dist/esm/pds-button.entry.js.map +1 -1
  207. package/dist/esm/pds-checkbox.entry.js +1 -1
  208. package/dist/esm/pds-chip.entry.js +21 -7
  209. package/dist/esm/pds-chip.entry.js.map +1 -1
  210. package/dist/esm/pds-combobox.entry.js +1715 -0
  211. package/dist/esm/pds-combobox.entry.js.map +1 -0
  212. package/dist/esm/pds-copytext.entry.js +2 -2
  213. package/dist/esm/pds-divider.entry.js +1 -1
  214. package/dist/esm/pds-dropdown-menu-item.entry.js +1 -1
  215. package/dist/esm/pds-dropdown-menu-separator.entry.js +1 -1
  216. package/dist/esm/pds-dropdown-menu.entry.js +2 -1318
  217. package/dist/esm/pds-dropdown-menu.entry.js.map +1 -1
  218. package/dist/esm/pds-icon.entry.js +148 -15
  219. package/dist/esm/pds-icon.entry.js.map +1 -1
  220. package/dist/esm/pds-image.entry.js +2 -2
  221. package/dist/esm/pds-input.entry.js +100 -21
  222. package/dist/esm/pds-input.entry.js.map +1 -1
  223. package/dist/esm/pds-link.entry.js +3 -3
  224. package/dist/esm/pds-loader.entry.js +1 -1
  225. package/dist/esm/pds-modal-content.entry.js +2 -2
  226. package/dist/esm/pds-modal-footer.entry.js +1 -1
  227. package/dist/esm/pds-modal-header.entry.js +1 -1
  228. package/dist/esm/pds-modal.entry.js +2 -2
  229. package/dist/esm/pds-popover.entry.js +1 -1
  230. package/dist/esm/pds-progress.entry.js +1 -1
  231. package/dist/esm/pds-property.entry.js +22 -0
  232. package/dist/esm/pds-property.entry.js.map +1 -0
  233. package/dist/esm/pds-radio.entry.js +4 -4
  234. package/dist/esm/pds-row.entry.js +1 -1
  235. package/dist/esm/pds-select.entry.js +13 -5
  236. package/dist/esm/pds-select.entry.js.map +1 -1
  237. package/dist/esm/pds-sortable-item.entry.js +2 -2
  238. package/dist/esm/pds-sortable.entry.js +1 -1
  239. package/dist/esm/pds-switch.entry.js +4 -4
  240. package/dist/esm/pds-tab.entry.js +3 -3
  241. package/dist/esm/pds-table-body.entry.js +1 -1
  242. package/dist/esm/pds-table-cell.entry.js +2 -2
  243. package/dist/esm/pds-table-head-cell.entry.js +3 -3
  244. package/dist/esm/pds-table-head.entry.js +1 -1
  245. package/dist/esm/pds-table-row.entry.js +1 -1
  246. package/dist/esm/pds-table.entry.js +1 -1
  247. package/dist/esm/pds-tabpanel.entry.js +1 -1
  248. package/dist/esm/pds-tabs.entry.js +1 -1
  249. package/dist/esm/pds-text.entry.js +1 -1
  250. package/dist/esm/pds-text.entry.js.map +1 -1
  251. package/dist/esm/pds-textarea.entry.js +18 -6
  252. package/dist/esm/pds-textarea.entry.js.map +1 -1
  253. package/dist/esm/pds-toast.entry.js +3 -3
  254. package/dist/esm/pds-tooltip.entry.js +17 -1
  255. package/dist/esm/pds-tooltip.entry.js.map +1 -1
  256. package/dist/esm/pine-core.js +1 -1
  257. package/dist/esm-es5/floating-ui.dom-D_FwyeSw.js +2 -0
  258. package/dist/esm-es5/floating-ui.dom-D_FwyeSw.js.map +1 -0
  259. package/dist/esm-es5/{index-_4gljHh-.js → index-CzVv99mW.js} +1 -1
  260. package/dist/esm-es5/index-CzVv99mW.js.map +1 -0
  261. package/dist/esm-es5/loader.js +1 -1
  262. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  263. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  264. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  265. package/dist/esm-es5/pds-box.entry.js.map +1 -1
  266. package/dist/esm-es5/pds-button.entry.js +1 -1
  267. package/dist/esm-es5/pds-button.entry.js.map +1 -1
  268. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  269. package/dist/esm-es5/pds-chip.entry.js +1 -1
  270. package/dist/esm-es5/pds-chip.entry.js.map +1 -1
  271. package/dist/esm-es5/pds-combobox.entry.js +3 -0
  272. package/dist/esm-es5/pds-combobox.entry.js.map +1 -0
  273. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  274. package/dist/esm-es5/pds-divider.entry.js +1 -1
  275. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  276. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  277. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  278. package/dist/esm-es5/pds-dropdown-menu.entry.js.map +1 -1
  279. package/dist/esm-es5/pds-icon.entry.js +1 -1
  280. package/dist/esm-es5/pds-icon.entry.js.map +1 -1
  281. package/dist/esm-es5/pds-image.entry.js +1 -1
  282. package/dist/esm-es5/pds-input.entry.js +1 -1
  283. package/dist/esm-es5/pds-input.entry.js.map +1 -1
  284. package/dist/esm-es5/pds-link.entry.js +1 -1
  285. package/dist/esm-es5/pds-loader.entry.js +1 -1
  286. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  287. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  288. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  289. package/dist/esm-es5/pds-modal.entry.js +1 -1
  290. package/dist/esm-es5/pds-popover.entry.js +1 -1
  291. package/dist/esm-es5/pds-progress.entry.js +1 -1
  292. package/dist/esm-es5/pds-property.entry.js +2 -0
  293. package/dist/esm-es5/pds-property.entry.js.map +1 -0
  294. package/dist/esm-es5/pds-radio.entry.js +1 -1
  295. package/dist/esm-es5/pds-row.entry.js +1 -1
  296. package/dist/esm-es5/pds-select.entry.js +1 -1
  297. package/dist/esm-es5/pds-select.entry.js.map +1 -1
  298. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  299. package/dist/esm-es5/pds-sortable.entry.js +1 -1
  300. package/dist/esm-es5/pds-switch.entry.js +1 -1
  301. package/dist/esm-es5/pds-tab.entry.js +1 -1
  302. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  303. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  304. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  305. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  306. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  307. package/dist/esm-es5/pds-table.entry.js +1 -1
  308. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  309. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  310. package/dist/esm-es5/pds-text.entry.js +1 -1
  311. package/dist/esm-es5/pds-text.entry.js.map +1 -1
  312. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  313. package/dist/esm-es5/pds-textarea.entry.js.map +1 -1
  314. package/dist/esm-es5/pds-toast.entry.js +1 -1
  315. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  316. package/dist/esm-es5/pds-tooltip.entry.js.map +1 -1
  317. package/dist/esm-es5/pine-core.js +1 -1
  318. package/dist/pine-core/{p-e2dc81c0.entry.js → p-000ed179.entry.js} +2 -2
  319. package/dist/pine-core/{p-c1b0f921.system.entry.js → p-0c6e9ba0.system.entry.js} +2 -2
  320. package/dist/pine-core/p-160c6806.system.entry.js +2 -0
  321. package/dist/pine-core/p-160c6806.system.entry.js.map +1 -0
  322. package/dist/pine-core/p-1e056ca3.system.entry.js +2 -0
  323. package/dist/pine-core/p-1e056ca3.system.entry.js.map +1 -0
  324. package/dist/pine-core/{p-596e0292.system.entry.js → p-1ef5f46b.system.entry.js} +2 -2
  325. package/dist/pine-core/{p-7ff213bb.system.entry.js → p-256d15bc.system.entry.js} +2 -2
  326. package/dist/pine-core/{p-17d3fa8b.entry.js → p-27b52fc5.entry.js} +2 -2
  327. package/dist/pine-core/{p-833f08f3.entry.js → p-2a2cd90d.entry.js} +2 -2
  328. package/dist/pine-core/{p-4288c861.entry.js → p-2f0aedfa.entry.js} +2 -2
  329. package/dist/pine-core/{p-78cb1c40.system.entry.js → p-2fbc5f8c.system.entry.js} +2 -2
  330. package/dist/pine-core/{p-b7ba6316.entry.js → p-30449e82.entry.js} +2 -2
  331. package/dist/pine-core/p-307b456a.entry.js +2 -0
  332. package/dist/pine-core/p-307b456a.entry.js.map +1 -0
  333. package/dist/pine-core/{p-761946a0.entry.js → p-31fe86a6.entry.js} +2 -2
  334. package/dist/pine-core/p-357b6dd6.system.entry.js +2 -0
  335. package/dist/pine-core/{p-85ff1482.entry.js → p-36d3352a.entry.js} +2 -2
  336. package/dist/pine-core/p-38248640.entry.js +2 -0
  337. package/dist/pine-core/p-38248640.entry.js.map +1 -0
  338. package/dist/pine-core/{p-3798a631.system.entry.js → p-383af1d4.system.entry.js} +2 -2
  339. package/dist/pine-core/{p-bcc4edaa.entry.js → p-39fbd912.entry.js} +2 -2
  340. package/dist/pine-core/p-3b43a1ea.entry.js +2 -0
  341. package/dist/pine-core/{p-a52b1413.entry.js.map → p-3b43a1ea.entry.js.map} +1 -1
  342. package/dist/pine-core/{p-5c4aceb7.entry.js → p-3bbb6fc1.entry.js} +2 -2
  343. package/dist/pine-core/p-3df372d1.entry.js +3 -0
  344. package/dist/pine-core/p-3df372d1.entry.js.map +1 -0
  345. package/dist/pine-core/p-3fd658ad.system.entry.js +2 -0
  346. package/dist/pine-core/p-3fd658ad.system.entry.js.map +1 -0
  347. package/dist/pine-core/p-447fa824.system.entry.js +2 -0
  348. package/dist/pine-core/p-447fa824.system.entry.js.map +1 -0
  349. package/dist/pine-core/p-495a206d.entry.js +2 -0
  350. package/dist/pine-core/p-495a206d.entry.js.map +1 -0
  351. package/dist/pine-core/p-4a69106a.system.entry.js +2 -0
  352. package/dist/pine-core/p-4a69106a.system.entry.js.map +1 -0
  353. package/dist/pine-core/p-4d22ca40.entry.js +2 -0
  354. package/dist/pine-core/p-4d22ca40.entry.js.map +1 -0
  355. package/dist/pine-core/p-5033d9e8.entry.js +2 -0
  356. package/dist/pine-core/{p-6a2296e6.system.entry.js → p-5706c81b.system.entry.js} +2 -2
  357. package/dist/pine-core/p-5a1af174.entry.js +2 -0
  358. package/dist/pine-core/p-5a1af174.entry.js.map +1 -0
  359. package/dist/pine-core/{p-1224c874.entry.js → p-5fdbbab9.entry.js} +2 -2
  360. package/dist/pine-core/{p-121e03ad.system.entry.js → p-61b7ff04.system.entry.js} +2 -2
  361. package/dist/pine-core/{p-111e7da2.system.entry.js → p-62bc2080.system.entry.js} +2 -2
  362. package/dist/pine-core/{p-367e188f.entry.js → p-64c897bb.entry.js} +2 -2
  363. package/dist/pine-core/{p-f2c807ac.entry.js → p-667eb50e.entry.js} +2 -2
  364. package/dist/pine-core/{p-77c3a10d.entry.js → p-6d36fae0.entry.js} +2 -2
  365. package/dist/pine-core/p-6ef51211.entry.js +2 -0
  366. package/dist/pine-core/{p-D-4Xbxlj.system.js.map → p-6tdMlyau.system.js.map} +1 -1
  367. package/dist/pine-core/p-708c66c2.entry.js +2 -0
  368. package/dist/pine-core/p-708c66c2.entry.js.map +1 -0
  369. package/dist/pine-core/p-73412ca9.system.entry.js.map +1 -1
  370. package/dist/pine-core/{p-bd04212c.system.entry.js → p-7a431264.system.entry.js} +2 -2
  371. package/dist/pine-core/p-7a431264.system.entry.js.map +1 -0
  372. package/dist/pine-core/{p-d6ac2862.system.entry.js → p-7da6180d.system.entry.js} +2 -2
  373. package/dist/pine-core/{p-c4294be2.entry.js → p-80246c79.entry.js} +2 -2
  374. package/dist/pine-core/{p-2296c34f.entry.js → p-822e90ee.entry.js} +2 -2
  375. package/dist/pine-core/p-822e90ee.entry.js.map +1 -0
  376. package/dist/pine-core/{p-24607f93.entry.js → p-82388e60.entry.js} +2 -2
  377. package/dist/pine-core/p-90a8d1bd.entry.js +2 -0
  378. package/dist/pine-core/p-90a8d1bd.entry.js.map +1 -0
  379. package/dist/pine-core/{p-7b38e384.system.entry.js → p-91520803.system.entry.js} +2 -2
  380. package/dist/pine-core/{p-3f82ac77.system.entry.js → p-982edcaf.system.entry.js} +2 -2
  381. package/dist/pine-core/p-9b8a3659.system.entry.js +2 -0
  382. package/dist/pine-core/{p-730221a8.system.entry.js → p-9cc1844a.system.entry.js} +2 -2
  383. package/dist/pine-core/{p-ef9ed75a.system.entry.js → p-9d8bb7f7.system.entry.js} +2 -2
  384. package/dist/pine-core/{p-71265b2a.system.entry.js → p-9df7ba40.system.entry.js} +2 -2
  385. package/dist/pine-core/p-9e22eab5.system.entry.js +2 -0
  386. package/dist/pine-core/p-B-xQ7Q5Y.system.js.map +1 -0
  387. package/dist/pine-core/p-BHZ6CSg4.system.js.map +1 -1
  388. package/dist/pine-core/{p-CWtKi9tV.system.js.map → p-BJRnZhwF.system.js.map} +1 -1
  389. package/dist/pine-core/{p-Derxa-nn.system.js.map → p-BPlIGHM4.system.js.map} +1 -1
  390. package/dist/pine-core/p-BSg_Clcf.system.js.map +1 -0
  391. package/dist/pine-core/{p-B5JFBYFw.system.js.map → p-Bdnq3aMi.system.js.map} +1 -1
  392. package/dist/pine-core/{p-PkSWq78_.system.js.map → p-Bgszb25I.system.js.map} +1 -1
  393. package/dist/pine-core/p-BlpTiOHo.system.js.map +1 -0
  394. package/dist/pine-core/{p-CzKqvFNN.system.js.map → p-Bok_Wwo5.system.js.map} +1 -1
  395. package/dist/pine-core/{p-DiJV28pi.system.js.map → p-Bpn2QYa2.system.js.map} +1 -1
  396. package/dist/pine-core/{p-DS7q5AvX.system.js.map → p-Bq1H4MPi.system.js.map} +1 -1
  397. package/dist/pine-core/p-BsL2GDnH.system.js +1 -1
  398. package/dist/pine-core/{p-CnPERKGo.system.js.map → p-C47kwjaJ.system.js.map} +1 -1
  399. package/dist/pine-core/{p-D9LPgNmN.system.js.map → p-CD40xhZg.system.js.map} +1 -1
  400. package/dist/pine-core/{p-C-oNYS10.system.js.map → p-CLsVcJCa.system.js.map} +1 -1
  401. package/dist/pine-core/{p-DgOMN0Ur.system.js.map → p-CLscfXhT.system.js.map} +1 -1
  402. package/dist/pine-core/{p-CcsZC7UR.system.js.map → p-CTJnwc4I.system.js.map} +1 -1
  403. package/dist/pine-core/p-CUHK9C55.system.js.map +1 -0
  404. package/dist/pine-core/p-CaJHqbdu.system.js.map +1 -0
  405. package/dist/pine-core/p-Ci1ZzxGS.system.js.map +1 -0
  406. package/dist/pine-core/{p-yku4NLl6.system.js.map → p-ClrDO1lY.system.js.map} +1 -1
  407. package/dist/pine-core/{p-D5vuiRx2.system.js.map → p-Cly-fzRE.system.js.map} +1 -1
  408. package/dist/pine-core/{p-BVUeEWjl.system.js.map → p-CtuIf6LK.system.js.map} +1 -1
  409. package/dist/pine-core/p-Ctwx2R4g.system.js.map +1 -0
  410. package/dist/pine-core/{p-3D0orTx_.system.js.map → p-CuHZffVk.system.js.map} +1 -1
  411. package/dist/pine-core/{p-_4gljHh-.js → p-CzVv99mW.js} +1 -1
  412. package/dist/pine-core/p-CzVv99mW.js.map +1 -0
  413. package/dist/pine-core/{p-DbVkYdnF.system.js.map → p-D1LdgjO0.system.js.map} +1 -1
  414. package/dist/pine-core/p-DJPo1iGw.system.js.map +1 -0
  415. package/dist/pine-core/{p-HBgo7i_E.system.js.map → p-DKGUedTE.system.js.map} +1 -1
  416. package/dist/pine-core/{p-CLNi-hRD.system.js.map → p-DNqc41uY.system.js.map} +1 -1
  417. package/dist/pine-core/{p-Bo6FQRlR.system.js.map → p-DQCWs_Ih.system.js.map} +1 -1
  418. package/dist/pine-core/p-DX9uSGoE.system.js.map +1 -0
  419. package/dist/pine-core/p-D_FwyeSw.js +2 -0
  420. package/dist/pine-core/p-D_FwyeSw.js.map +1 -0
  421. package/dist/pine-core/{p-B4W0_y2p.system.js → p-DiBM9O5Q.system.js} +1 -1
  422. package/dist/pine-core/p-DiBM9O5Q.system.js.map +1 -0
  423. package/dist/pine-core/{p-CV405yTU.system.js.map → p-DwwM3-D4.system.js.map} +1 -1
  424. package/dist/pine-core/{p-Cj2r1nL6.system.js.map → p-DxydR7R6.system.js.map} +1 -1
  425. package/dist/pine-core/{p-DKSZziVY.system.js.map → p-Gn2xhxDz.system.js.map} +1 -1
  426. package/dist/pine-core/{p-B-pTdYoP.system.js.map → p-PuPjQNmU.system.js.map} +1 -1
  427. package/dist/pine-core/{p-DV_GadHU.system.js.map → p-PwBWYqtO.system.js.map} +1 -1
  428. package/dist/pine-core/{p-CsM74dxm.system.js.map → p-U_efBpHV.system.js.map} +1 -1
  429. package/dist/pine-core/p-ZCkmy1Gu.system.js +2 -0
  430. package/dist/pine-core/p-ZCkmy1Gu.system.js.map +1 -0
  431. package/dist/pine-core/{p-83ffc1cc.entry.js → p-a4d19fb1.entry.js} +2 -2
  432. package/dist/pine-core/p-af5c9fbd.system.entry.js +2 -0
  433. package/dist/pine-core/{p-146fcd44.entry.js → p-b214c043.entry.js} +2 -2
  434. package/dist/pine-core/p-b5dc7a18.entry.js +2 -0
  435. package/dist/pine-core/p-b5dc7a18.entry.js.map +1 -0
  436. package/dist/pine-core/{p-c0f74199.entry.js → p-b6d18604.entry.js} +2 -2
  437. package/dist/pine-core/{p-BOJnNd1p.system.js.map → p-b6lYO9O3.system.js.map} +1 -1
  438. package/dist/pine-core/{p-04df41d7.system.entry.js → p-b93825c4.system.entry.js} +2 -2
  439. package/dist/pine-core/{p-48e76945.system.entry.js → p-c5a7c8e9.system.entry.js} +2 -2
  440. package/dist/pine-core/{p-30142a25.system.entry.js → p-c5da4a97.system.entry.js} +2 -2
  441. package/dist/pine-core/p-c93786f1.system.entry.js +2 -0
  442. package/dist/pine-core/{p-78fb945e.system.entry.js → p-cc15bf6c.system.entry.js} +2 -2
  443. package/dist/pine-core/p-d0ec666b.entry.js +2 -0
  444. package/dist/pine-core/p-d21156cf.entry.js +2 -0
  445. package/dist/pine-core/p-d21156cf.entry.js.map +1 -0
  446. package/dist/pine-core/p-d2d6b3a6.system.entry.js +2 -0
  447. package/dist/pine-core/p-d2d6b3a6.system.entry.js.map +1 -0
  448. package/dist/pine-core/{p-942fa145.system.entry.js → p-d451c7b5.system.entry.js} +2 -2
  449. package/dist/pine-core/p-d64527b2.system.entry.js +2 -0
  450. package/dist/pine-core/p-d64527b2.system.entry.js.map +1 -0
  451. package/dist/pine-core/{p-28e28f42.system.entry.js → p-d6b1f60d.system.entry.js} +2 -2
  452. package/dist/pine-core/{p-722012ac.entry.js → p-d989287d.entry.js} +2 -2
  453. package/dist/pine-core/{p-d2ccda59.system.entry.js → p-e0a35811.system.entry.js} +2 -2
  454. package/dist/pine-core/{p-e9d972db.system.entry.js → p-e0a6ba6f.system.entry.js} +2 -2
  455. package/dist/pine-core/{p-1bd715ee.system.entry.js → p-e416f7a8.system.entry.js} +2 -2
  456. package/dist/pine-core/p-e416f7a8.system.entry.js.map +1 -0
  457. package/dist/pine-core/{p-984578f8.system.entry.js → p-e53547e2.system.entry.js} +2 -2
  458. package/dist/pine-core/p-e68dd704.system.entry.js +2 -0
  459. package/dist/pine-core/p-e68dd704.system.entry.js.map +1 -0
  460. package/dist/pine-core/{p-b2796d3c.system.entry.js → p-e7322ff9.system.entry.js} +2 -2
  461. package/dist/pine-core/{p-83c632f6.system.entry.js → p-e8a4eafa.system.entry.js} +2 -2
  462. package/dist/pine-core/{p-f9e01886.system.entry.js → p-ec1c3452.system.entry.js} +2 -2
  463. package/dist/pine-core/p-ee0117a2.entry.js +2 -0
  464. package/dist/pine-core/{p-d1b222f5.entry.js.map → p-ee0117a2.entry.js.map} +1 -1
  465. package/dist/pine-core/{p-a394645a.system.entry.js → p-eef645bd.system.entry.js} +2 -2
  466. package/dist/pine-core/{p-cd2cd116.entry.js → p-ef08f005.entry.js} +2 -2
  467. package/dist/pine-core/p-f256dd8a.entry.js.map +1 -1
  468. package/dist/pine-core/{p-0572825b.entry.js → p-f29baa16.entry.js} +2 -2
  469. package/dist/pine-core/{p-4ff0838c.entry.js → p-f30b1479.entry.js} +2 -2
  470. package/dist/pine-core/p-f455deb5.entry.js +2 -0
  471. package/dist/pine-core/{p-f47133fd.entry.js → p-f7c02b89.entry.js} +2 -2
  472. package/dist/pine-core/p-f9005ac9.entry.js +2 -0
  473. package/dist/pine-core/p-faaa1caa.system.entry.js +4 -0
  474. package/dist/pine-core/p-faaa1caa.system.entry.js.map +1 -0
  475. package/dist/pine-core/{p-99b5e1a5.entry.js → p-fd3b7077.entry.js} +2 -2
  476. package/dist/pine-core/{p-1b109c01.entry.js → p-fe73a67f.entry.js} +2 -2
  477. package/dist/pine-core/{p-DEsea81X.system.js.map → p-ipxZYSGJ.system.js.map} +1 -1
  478. package/dist/pine-core/p-lWwPttyv.system.js.map +1 -0
  479. package/dist/pine-core/{p-CiDIFl28.system.js.map → p-mWJg54bF.system.js.map} +1 -1
  480. package/dist/pine-core/{p-CDIHBBTC.system.js.map → p-y1DacLeb.system.js.map} +1 -1
  481. package/dist/pine-core/{p-Bs9Nyvj2.system.js.map → p-ydqm5FGv.system.js.map} +1 -1
  482. package/dist/pine-core/{p-DN9puCWI.system.js.map → p-zZHye4hT.system.js.map} +1 -1
  483. package/dist/pine-core/pds-box.entry.esm.js.map +1 -1
  484. package/dist/pine-core/pds-button.entry.esm.js.map +1 -1
  485. package/dist/pine-core/pds-chip.entry.esm.js.map +1 -1
  486. package/dist/pine-core/pds-combobox.entry.esm.js.map +1 -0
  487. package/dist/pine-core/pds-dropdown-menu.entry.esm.js.map +1 -1
  488. package/dist/pine-core/pds-icon.entry.esm.js.map +1 -1
  489. package/dist/pine-core/pds-input.entry.esm.js.map +1 -1
  490. package/dist/pine-core/pds-property.entry.esm.js.map +1 -0
  491. package/dist/pine-core/pds-select.entry.esm.js.map +1 -1
  492. package/dist/pine-core/pds-text.entry.esm.js.map +1 -1
  493. package/dist/pine-core/pds-textarea.entry.esm.js.map +1 -1
  494. package/dist/pine-core/pds-tooltip.entry.esm.js.map +1 -1
  495. package/dist/pine-core/pine-core.esm.js +1 -1
  496. package/dist/types/components/pds-chip/pds-chip.d.ts +9 -1
  497. package/dist/types/components/pds-combobox/pds-combobox.d.ts +153 -0
  498. package/dist/types/components/pds-input/pds-input.d.ts +63 -9
  499. package/dist/types/components/pds-property/pds-property.d.ts +14 -0
  500. package/dist/types/components/pds-select/pds-select.d.ts +9 -0
  501. package/dist/types/components/pds-text/pds-text.d.ts +3 -0
  502. package/dist/types/components/pds-textarea/pds-textarea.d.ts +8 -0
  503. package/dist/types/components/pds-tooltip/pds-tooltip.d.ts +3 -0
  504. package/dist/types/components.d.ts +275 -6
  505. package/hydrate/index.js +2367 -260
  506. package/hydrate/index.mjs +2367 -260
  507. package/package.json +4 -2
  508. package/dist/cjs/index-CG2Rr2io.js.map +0 -1
  509. package/dist/esm/index-_4gljHh-.js.map +0 -1
  510. package/dist/esm-es5/index-_4gljHh-.js.map +0 -1
  511. package/dist/pine-core/p-0069abf8.system.entry.js +0 -2
  512. package/dist/pine-core/p-0069abf8.system.entry.js.map +0 -1
  513. package/dist/pine-core/p-03d8cb4c.system.entry.js +0 -2
  514. package/dist/pine-core/p-1bd715ee.system.entry.js.map +0 -1
  515. package/dist/pine-core/p-1eec6bea.system.entry.js +0 -2
  516. package/dist/pine-core/p-1eec6bea.system.entry.js.map +0 -1
  517. package/dist/pine-core/p-21c3aaeb.entry.js +0 -2
  518. package/dist/pine-core/p-2296c34f.entry.js.map +0 -1
  519. package/dist/pine-core/p-29ad0b86.entry.js +0 -2
  520. package/dist/pine-core/p-29ad0b86.entry.js.map +0 -1
  521. package/dist/pine-core/p-32bd3e33.entry.js +0 -2
  522. package/dist/pine-core/p-32bd3e33.entry.js.map +0 -1
  523. package/dist/pine-core/p-3e91dccd.entry.js +0 -2
  524. package/dist/pine-core/p-3e91dccd.entry.js.map +0 -1
  525. package/dist/pine-core/p-49265849.system.entry.js +0 -2
  526. package/dist/pine-core/p-513c16c7.entry.js +0 -2
  527. package/dist/pine-core/p-513c16c7.entry.js.map +0 -1
  528. package/dist/pine-core/p-5acda4ac.system.entry.js +0 -2
  529. package/dist/pine-core/p-5acda4ac.system.entry.js.map +0 -1
  530. package/dist/pine-core/p-5e1e7762.entry.js +0 -2
  531. package/dist/pine-core/p-624db3d6.system.entry.js +0 -2
  532. package/dist/pine-core/p-624db3d6.system.entry.js.map +0 -1
  533. package/dist/pine-core/p-71f01676.system.entry.js +0 -2
  534. package/dist/pine-core/p-742d4490.entry.js +0 -2
  535. package/dist/pine-core/p-742d4490.entry.js.map +0 -1
  536. package/dist/pine-core/p-7e92ec48.system.entry.js +0 -2
  537. package/dist/pine-core/p-7e92ec48.system.entry.js.map +0 -1
  538. package/dist/pine-core/p-8023086c.entry.js +0 -2
  539. package/dist/pine-core/p-8023086c.entry.js.map +0 -1
  540. package/dist/pine-core/p-83252078.system.entry.js +0 -2
  541. package/dist/pine-core/p-86d388a2.entry.js +0 -2
  542. package/dist/pine-core/p-929bb7ab.system.entry.js +0 -2
  543. package/dist/pine-core/p-B4W0_y2p.system.js.map +0 -1
  544. package/dist/pine-core/p-B5LBNcOw.system.js.map +0 -1
  545. package/dist/pine-core/p-BO1OsmVU.system.js.map +0 -1
  546. package/dist/pine-core/p-C3ud771n.system.js.map +0 -1
  547. package/dist/pine-core/p-CtAVdPaE.system.js.map +0 -1
  548. package/dist/pine-core/p-D8DRYw9w.system.js.map +0 -1
  549. package/dist/pine-core/p-DyQ_s5MV.system.js.map +0 -1
  550. package/dist/pine-core/p-M2Hhmwex.system.js.map +0 -1
  551. package/dist/pine-core/p-_4gljHh-.js.map +0 -1
  552. package/dist/pine-core/p-a2572675.system.entry.js +0 -2
  553. package/dist/pine-core/p-a2572675.system.entry.js.map +0 -1
  554. package/dist/pine-core/p-a52b1413.entry.js +0 -2
  555. package/dist/pine-core/p-abec6606.entry.js +0 -2
  556. package/dist/pine-core/p-abec6606.entry.js.map +0 -1
  557. package/dist/pine-core/p-b3d05184.entry.js +0 -2
  558. package/dist/pine-core/p-b3d05184.entry.js.map +0 -1
  559. package/dist/pine-core/p-b9c13f99.entry.js +0 -2
  560. package/dist/pine-core/p-bd04212c.system.entry.js.map +0 -1
  561. package/dist/pine-core/p-d1b222f5.entry.js +0 -2
  562. package/dist/pine-core/p-e09a3682.system.entry.js +0 -2
  563. package/dist/pine-core/p-e09a3682.system.entry.js.map +0 -1
  564. package/dist/pine-core/p-e6d6e103.entry.js +0 -2
  565. package/dist/pine-core/p-xgOOHGQo.system.js.map +0 -1
  566. /package/dist/pine-core/{p-e2dc81c0.entry.js.map → p-000ed179.entry.js.map} +0 -0
  567. /package/dist/pine-core/{p-c1b0f921.system.entry.js.map → p-0c6e9ba0.system.entry.js.map} +0 -0
  568. /package/dist/pine-core/{p-596e0292.system.entry.js.map → p-1ef5f46b.system.entry.js.map} +0 -0
  569. /package/dist/pine-core/{p-7ff213bb.system.entry.js.map → p-256d15bc.system.entry.js.map} +0 -0
  570. /package/dist/pine-core/{p-17d3fa8b.entry.js.map → p-27b52fc5.entry.js.map} +0 -0
  571. /package/dist/pine-core/{p-833f08f3.entry.js.map → p-2a2cd90d.entry.js.map} +0 -0
  572. /package/dist/pine-core/{p-4288c861.entry.js.map → p-2f0aedfa.entry.js.map} +0 -0
  573. /package/dist/pine-core/{p-78cb1c40.system.entry.js.map → p-2fbc5f8c.system.entry.js.map} +0 -0
  574. /package/dist/pine-core/{p-b7ba6316.entry.js.map → p-30449e82.entry.js.map} +0 -0
  575. /package/dist/pine-core/{p-761946a0.entry.js.map → p-31fe86a6.entry.js.map} +0 -0
  576. /package/dist/pine-core/{p-83252078.system.entry.js.map → p-357b6dd6.system.entry.js.map} +0 -0
  577. /package/dist/pine-core/{p-85ff1482.entry.js.map → p-36d3352a.entry.js.map} +0 -0
  578. /package/dist/pine-core/{p-3798a631.system.entry.js.map → p-383af1d4.system.entry.js.map} +0 -0
  579. /package/dist/pine-core/{p-bcc4edaa.entry.js.map → p-39fbd912.entry.js.map} +0 -0
  580. /package/dist/pine-core/{p-5c4aceb7.entry.js.map → p-3bbb6fc1.entry.js.map} +0 -0
  581. /package/dist/pine-core/{p-86d388a2.entry.js.map → p-5033d9e8.entry.js.map} +0 -0
  582. /package/dist/pine-core/{p-6a2296e6.system.entry.js.map → p-5706c81b.system.entry.js.map} +0 -0
  583. /package/dist/pine-core/{p-1224c874.entry.js.map → p-5fdbbab9.entry.js.map} +0 -0
  584. /package/dist/pine-core/{p-121e03ad.system.entry.js.map → p-61b7ff04.system.entry.js.map} +0 -0
  585. /package/dist/pine-core/{p-111e7da2.system.entry.js.map → p-62bc2080.system.entry.js.map} +0 -0
  586. /package/dist/pine-core/{p-367e188f.entry.js.map → p-64c897bb.entry.js.map} +0 -0
  587. /package/dist/pine-core/{p-f2c807ac.entry.js.map → p-667eb50e.entry.js.map} +0 -0
  588. /package/dist/pine-core/{p-77c3a10d.entry.js.map → p-6d36fae0.entry.js.map} +0 -0
  589. /package/dist/pine-core/{p-5e1e7762.entry.js.map → p-6ef51211.entry.js.map} +0 -0
  590. /package/dist/pine-core/{p-d6ac2862.system.entry.js.map → p-7da6180d.system.entry.js.map} +0 -0
  591. /package/dist/pine-core/{p-c4294be2.entry.js.map → p-80246c79.entry.js.map} +0 -0
  592. /package/dist/pine-core/{p-24607f93.entry.js.map → p-82388e60.entry.js.map} +0 -0
  593. /package/dist/pine-core/{p-7b38e384.system.entry.js.map → p-91520803.system.entry.js.map} +0 -0
  594. /package/dist/pine-core/{p-3f82ac77.system.entry.js.map → p-982edcaf.system.entry.js.map} +0 -0
  595. /package/dist/pine-core/{p-49265849.system.entry.js.map → p-9b8a3659.system.entry.js.map} +0 -0
  596. /package/dist/pine-core/{p-730221a8.system.entry.js.map → p-9cc1844a.system.entry.js.map} +0 -0
  597. /package/dist/pine-core/{p-ef9ed75a.system.entry.js.map → p-9d8bb7f7.system.entry.js.map} +0 -0
  598. /package/dist/pine-core/{p-71265b2a.system.entry.js.map → p-9df7ba40.system.entry.js.map} +0 -0
  599. /package/dist/pine-core/{p-929bb7ab.system.entry.js.map → p-9e22eab5.system.entry.js.map} +0 -0
  600. /package/dist/pine-core/{p-83ffc1cc.entry.js.map → p-a4d19fb1.entry.js.map} +0 -0
  601. /package/dist/pine-core/{p-03d8cb4c.system.entry.js.map → p-af5c9fbd.system.entry.js.map} +0 -0
  602. /package/dist/pine-core/{p-146fcd44.entry.js.map → p-b214c043.entry.js.map} +0 -0
  603. /package/dist/pine-core/{p-c0f74199.entry.js.map → p-b6d18604.entry.js.map} +0 -0
  604. /package/dist/pine-core/{p-04df41d7.system.entry.js.map → p-b93825c4.system.entry.js.map} +0 -0
  605. /package/dist/pine-core/{p-48e76945.system.entry.js.map → p-c5a7c8e9.system.entry.js.map} +0 -0
  606. /package/dist/pine-core/{p-30142a25.system.entry.js.map → p-c5da4a97.system.entry.js.map} +0 -0
  607. /package/dist/pine-core/{p-71f01676.system.entry.js.map → p-c93786f1.system.entry.js.map} +0 -0
  608. /package/dist/pine-core/{p-78fb945e.system.entry.js.map → p-cc15bf6c.system.entry.js.map} +0 -0
  609. /package/dist/pine-core/{p-b9c13f99.entry.js.map → p-d0ec666b.entry.js.map} +0 -0
  610. /package/dist/pine-core/{p-942fa145.system.entry.js.map → p-d451c7b5.system.entry.js.map} +0 -0
  611. /package/dist/pine-core/{p-28e28f42.system.entry.js.map → p-d6b1f60d.system.entry.js.map} +0 -0
  612. /package/dist/pine-core/{p-722012ac.entry.js.map → p-d989287d.entry.js.map} +0 -0
  613. /package/dist/pine-core/{p-d2ccda59.system.entry.js.map → p-e0a35811.system.entry.js.map} +0 -0
  614. /package/dist/pine-core/{p-e9d972db.system.entry.js.map → p-e0a6ba6f.system.entry.js.map} +0 -0
  615. /package/dist/pine-core/{p-984578f8.system.entry.js.map → p-e53547e2.system.entry.js.map} +0 -0
  616. /package/dist/pine-core/{p-b2796d3c.system.entry.js.map → p-e7322ff9.system.entry.js.map} +0 -0
  617. /package/dist/pine-core/{p-83c632f6.system.entry.js.map → p-e8a4eafa.system.entry.js.map} +0 -0
  618. /package/dist/pine-core/{p-f9e01886.system.entry.js.map → p-ec1c3452.system.entry.js.map} +0 -0
  619. /package/dist/pine-core/{p-a394645a.system.entry.js.map → p-eef645bd.system.entry.js.map} +0 -0
  620. /package/dist/pine-core/{p-cd2cd116.entry.js.map → p-ef08f005.entry.js.map} +0 -0
  621. /package/dist/pine-core/{p-0572825b.entry.js.map → p-f29baa16.entry.js.map} +0 -0
  622. /package/dist/pine-core/{p-4ff0838c.entry.js.map → p-f30b1479.entry.js.map} +0 -0
  623. /package/dist/pine-core/{p-21c3aaeb.entry.js.map → p-f455deb5.entry.js.map} +0 -0
  624. /package/dist/pine-core/{p-f47133fd.entry.js.map → p-f7c02b89.entry.js.map} +0 -0
  625. /package/dist/pine-core/{p-e6d6e103.entry.js.map → p-f9005ac9.entry.js.map} +0 -0
  626. /package/dist/pine-core/{p-99b5e1a5.entry.js.map → p-fd3b7077.entry.js.map} +0 -0
  627. /package/dist/pine-core/{p-1b109c01.entry.js.map → p-fe73a67f.entry.js.map} +0 -0
package/hydrate/index.js CHANGED
@@ -3149,7 +3149,7 @@ class MockPdsModal {
3149
3149
  'pds-modal__backdrop': true,
3150
3150
  'open': this.open,
3151
3151
  };
3152
- return (hAsync("div", { key: 'fb141b585e21257f4e2b1e189211ffd8fdbf5f21', class: backdropClasses }, hAsync("div", { key: '2431265c962c17042b79e59e8799159c0af79bba', class: modalClasses, role: "dialog", "aria-modal": "true", "aria-labelledby": this.componentId ? `${this.componentId}-heading` : null }, hAsync("div", { key: '122d233ca19497ccd8541474343442391a9fd60b', class: "pds-modal__header" }, hAsync("slot", { key: 'abb92bd56f45ac7a1007649952eb6351dbe1193d', name: "header" })), hAsync("div", { key: 'fb096821bccb813311f3047bb33a81374808a99d', class: "pds-modal-content" }, hAsync("slot", { key: '79400555ec3420db6eda65f12b90060b5507c96e' })), hAsync("div", { key: '60462c314237b4b573c222df26aa41073437f298', class: "pds-modal__footer" }, hAsync("slot", { key: '9253219fc90477c4c86df974f4a6a196f693e548', name: "footer" })))));
3152
+ return (hAsync("div", { key: '34bb09afe2af63e8092dc1ca4b10e216550ce0ba', class: backdropClasses }, hAsync("div", { key: '8400a7dee99a128523a2238cf88d1bbcdfb65f79', class: modalClasses, role: "dialog", "aria-modal": "true", "aria-labelledby": this.componentId ? `${this.componentId}-heading` : null }, hAsync("div", { key: '9b1ee3bd413a110e4d3abfa4fce4e7fb4014d3f1', class: "pds-modal__header" }, hAsync("slot", { key: '4845c471151b08b7cb7a072a3d2e8c2e06143634', name: "header" })), hAsync("div", { key: '9132767dda413c5d7f2ab9fbe5c4952c6aebc709', class: "pds-modal-content" }, hAsync("slot", { key: 'cb8417be84699a117b76e9b3cbd98352bf3417f5' })), hAsync("div", { key: 'b56977cf61079ce61acd6fe71c9cbbc3fff7316b', class: "pds-modal__footer" }, hAsync("slot", { key: '0fcb7a8bab9322ba6962e0c205389a3d62b9c423', name: "footer" })))));
3153
3153
  }
3154
3154
  get el() { return getElement(this); }
3155
3155
  static get style() { return pdsModalCss$1; }
@@ -3170,7 +3170,7 @@ class MockPdsModal {
3170
3170
  }; }
3171
3171
  }
3172
3172
 
3173
- /* pds-icons v9.4.3, ES Modules */
3173
+ /* pds-icons v9.6.1, ES Modules */
3174
3174
 
3175
3175
  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>";
3176
3176
  const checkCircleFilled = "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 1C5.925 1 1 5.925 1 12s4.925 11 11 11 11-4.925 11-11S18.075 1 12 1m5.207 8.707a1 1 0 0 0-1.414-1.414L10.5 13.586l-2.293-2.293a1 1 0 0 0-1.414 1.414l3 3a1 1 0 0 0 1.414 0z'/></svg>";
@@ -3558,7 +3558,7 @@ const setColor = (color, customColors) => {
3558
3558
  };
3559
3559
  };
3560
3560
 
3561
- const pdsButtonCss = ":host{--button-dimension:40px;--color-border-default:transparent;--color-border-disabled:transparent;--color-border-focus:transparent;--color-border-hover:transparent;--button-loader-color:var(--color-text-default);display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}:host([full-width=true]){display:-ms-flexbox;display:flex;width:100%}:host([full-width=true]) button{-ms-flex-pack:center;justify-content:center;width:100%}:host([full-width=true]) .pds-button__content{-ms-flex-pack:center;justify-content:center;text-align:center}:host([loading=true]){cursor:wait;pointer-events:none}:host([disabled=true]){pointer-events:none}.pds-button{--pds-loader-color:var(--color-text-default);-ms-flex-align:center;align-items:center;background-color:var(--color-background-default);border:var(--pine-border);border-color:var(--color-border-default);border-radius:var(--pine-border-radius-full);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--color-text-default);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-brand-label);letter-spacing:var(--pine-letter-spacing);min-height:var(--button-dimension);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);text-decoration:none}.pds-button pds-icon{color:currentColor;fill:currentColor}.pds-button:hover{background-color:var(--color-background-hover);border-color:var(--color-border-hover)}.pds-button:focus-visible{border-color:var(--color-border-focus);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-button:disabled{background-color:var(--color-background-disabled);border-color:var(--color-border-disabled);color:var(--color-text-disabled);pointer-events:none}.pds-button--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-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-primary-disabled);--color-outline:var(--pine-color-focus-ring);--button-loader-color:var(--pine-color-text-primary)}.pds-button--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-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-accent-disabled);--color-outline:var(--pine-color-focus-ring);--button-loader-color:var(--pine-color-text-primary)}.pds-button--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-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-danger-disabled);--color-outline:var(--pine-color-focus-ring-danger);--button-loader-color:var(--pine-color-text-primary)}.pds-button--destructive:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-button--secondary,.pds-button--disclosure{--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-disabled:var(--pine-color-border-disabled);--color-border-focus:var(--pine-color-border);--color-border-hover:var(--pine-color-border-hover);--color-border-default: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);--button-loader-color:var(--pine-color-text-secondary)}.pds-button--secondary:hover,.pds-button--disclosure:hover{background-color:var(--pine-color-secondary-hover)}.pds-button--unstyled{--color-background-default:transparent;--color-background-hover:transparent;--color-background-disabled:transparent;--color-text-default:inherit;--button-loader-color:inherit;border-width:var(--pine-dimension-none);margin:var(--pine-dimension-none);min-height:auto;padding:var(--pine-dimension-none);width:inherit}.pds-button__content{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;gap:var(--pine-dimension-xs);position:relative;width:100%}.pds-button__icon{display:-ms-inline-flexbox;display:inline-flex}.pds-button__text{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex}.pds-button__icon--hidden,.pds-button__text--hidden{opacity:0}.pds-button__loader{height:var(--pine-dimension-250);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--pine-dimension-250)}.pds-button--loading{cursor:wait;pointer-events:none}.pds-button--loading .pds-button__loader pds-loader{--loader-color:var(--button-loader-color)}.pds-button--icon-only{-ms-flex-align:center;align-items:center;border-radius:var(--pine-border-radius-full);height:var(--button-dimension);-ms-flex-pack:center;justify-content:center;min-height:var(--button-dimension);min-width:var(--button-dimension);padding:var(--pine-dimension-xs);width:var(--button-dimension)}.pds-button--icon-only .pds-button__content{height:100%;-ms-flex-pack:center;justify-content:center;width:100%}.pds-button--icon-only .pds-button__text--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}";
3561
+ const pdsButtonCss = ":host{--pds-button-background:var(--color-background-default);--pds-button-border:var(--pine-border);--pds-button-border-radius:var(--pine-border-radius-full);--pds-button-border-radius-start-end:var(--pine-border-radius-full);--pds-button-border-radius-start-start:var(--pine-border-radius-full);--pds-button-border-radius-end-end:var(--pine-border-radius-full);--pds-button-border-radius-end-start:var(--pine-border-radius-full);--pds-button-min-height:40px;--color-border-default:transparent;--color-border-disabled:transparent;--color-border-focus:transparent;--color-border-hover:transparent;--button-loader-color:var(--color-text-default);display:-ms-inline-flexbox;display:inline-flex;vertical-align:middle}:host([full-width=true]){display:-ms-flexbox;display:flex;width:100%}:host([full-width=true]) button{-ms-flex-pack:center;justify-content:center;width:100%}:host([full-width=true]) .pds-button__content{-ms-flex-pack:center;justify-content:center;text-align:center}:host([loading=true]){cursor:wait;pointer-events:none}:host([disabled=true]){pointer-events:none}.pds-button{--pds-loader-color:var(--color-text-default);-ms-flex-align:center;align-items:center;background-color:var(--pds-button-background, var(--color-background-default));border:var(--pds-button-border);border-color:var(--color-border-default);border-end-end-radius:var(--pds-button-border-radius-end-end, var(--pds-button-border-radius));border-end-start-radius:var(--pds-button-border-radius-end-start, var(--pds-button-border-radius));border-radius:var(--pds-button-border-radius);border-start-end-radius:var(--pds-button-border-radius-start-end, var(--pds-button-border-radius));border-start-start-radius:var(--pds-button-border-radius-start-start, var(--pds-button-border-radius));-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--color-text-default);cursor:pointer;display:-ms-flexbox;display:flex;font:var(--pine-typography-body-brand-label);letter-spacing:var(--pine-letter-spacing);min-height:var(--pds-button-min-height);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);position:relative;text-decoration:none}.pds-button pds-icon{color:currentColor;fill:currentColor}.pds-button:hover{background-color:var(--color-background-hover);border-color:var(--color-border-hover)}.pds-button:focus-visible{border-color:var(--color-border-focus);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-button:disabled{background-color:var(--color-background-disabled);border-color:var(--color-border-disabled);color:var(--color-text-disabled);pointer-events:none}.pds-button--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-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-primary-disabled);--color-outline:var(--pine-color-focus-ring);--button-loader-color:var(--pine-color-text-primary)}.pds-button--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-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-accent-disabled);--color-outline:var(--pine-color-focus-ring);--button-loader-color:var(--pine-color-text-primary)}.pds-button--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-text-default:var(--pine-color-text-primary);--color-text-disabled:var(--pine-color-text-danger-disabled);--color-outline:var(--pine-color-focus-ring-danger);--button-loader-color:var(--pine-color-text-primary)}.pds-button--destructive:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-button--secondary,.pds-button--disclosure{--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-disabled:var(--pine-color-border-disabled);--color-border-focus:var(--pine-color-border);--color-border-hover:var(--pine-color-border-hover);--color-border-default: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);--button-loader-color:var(--pine-color-text-secondary)}.pds-button--secondary:hover,.pds-button--disclosure:hover{background-color:var(--pine-color-secondary-hover)}.pds-button--unstyled{--color-background-default:transparent;--color-background-hover:transparent;--color-background-disabled:transparent;--color-text-default:inherit;--button-loader-color:inherit;border-width:var(--pine-dimension-none);margin:var(--pine-dimension-none);min-height:auto;padding:var(--pine-dimension-none);width:inherit}.pds-button__content{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;gap:var(--pine-dimension-xs);position:relative;width:100%}.pds-button__icon{display:-ms-inline-flexbox;display:inline-flex}.pds-button__text{-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex}.pds-button__icon--hidden,.pds-button__text--hidden{opacity:0}.pds-button__loader{height:var(--pine-dimension-250);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--pine-dimension-250)}.pds-button--loading{cursor:wait;pointer-events:none}.pds-button--loading .pds-button__loader pds-loader{--loader-color:var(--button-loader-color)}.pds-button--icon-only{-ms-flex-align:center;align-items:center;border-radius:var(--pine-border-radius-full);height:var(--button-dimension);-ms-flex-pack:center;justify-content:center;min-height:var(--button-dimension);min-width:var(--button-dimension);padding:var(--pine-dimension-xs);width:var(--button-dimension)}.pds-button--icon-only .pds-button__content{height:100%;-ms-flex-pack:center;justify-content:center;width:100%}.pds-button--icon-only .pds-button__text--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}";
3562
3562
 
3563
3563
  /**
3564
3564
  * @part button - Exposes the button element for styling.
@@ -3911,7 +3911,7 @@ class PdsCheckbox {
3911
3911
 
3912
3912
  const pdsChipTokensCss = ":host{--pine-chip-color-accent:var(--pine-color-purple-100);--pine-chip-color-accent-hover:var(--pine-color-purple-300);--pine-chip-color-accent-dot:var(--pine-color-purple-600);--pine-chip-color-danger:var(--pine-color-red-100);--pine-chip-color-danger-hover:var(--pine-color-red-300);--pine-chip-color-danger-dot:var(--pine-color-red-600);--pine-chip-color-info:var(--pine-color-blue-100);--pine-chip-color-info-hover:var(--pine-color-blue-300);--pine-chip-color-info-dot:var(--pine-color-blue-600);--pine-chip-color-neutral:var(--pine-color-grey-100);--pine-chip-color-neutral-hover:var(--pine-color-grey-300);--pine-chip-color-neutral-dot:var(--pine-color-grey-600);--pine-chip-color-success:var(--pine-color-green-100);--pine-chip-color-success-hover:var(--pine-color-green-300);--pine-chip-color-success-dot:var(--pine-color-green-600);--pine-chip-color-warning:var(--pine-color-yellow-100);--pine-chip-color-warning-hover:var(--pine-color-yellow-300);--pine-chip-color-warning-dot:var(--pine-color-yellow-600)}";
3913
3913
 
3914
- const pdsChipCss = ":host{--sizing-close:var(--pine-dimension-125);-ms-flex-align:center;align-items:center;border-radius:var(--pine-dimension-sm);display:-ms-inline-flexbox;display:inline-flex;padding-block:var(--pine-dimension-2xs);padding-inline:var(--pine-dimension-150)}:host(.pds-chip--accent){background:var(--pine-chip-color-accent);border:var(--pine-border-width) solid var(--pine-chip-color-accent-hover)}:host(.pds-chip--accent) .pds-chip__dot{background:var(--pine-chip-color-accent-dot)}:host(.pds-chip--accent) .pds-chip__label,:host(.pds-chip--accent) .pds-chip__button,:host(.pds-chip--accent) .pds-chip__close{color:var(--pine-color-text-accent);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--accent) .pds-chip__close:hover{background:var(--pine-chip-color-accent-hover)}:host(.pds-chip--accent.pds-chip--dropdown:hover){background:var(--pine-chip-color-accent-hover)}:host(.pds-chip--danger){background:var(--pine-chip-color-danger);border:var(--pine-border-width) solid var(--pine-chip-color-danger-hover)}:host(.pds-chip--danger) .pds-chip__dot{background:var(--pine-chip-color-danger-dot)}:host(.pds-chip--danger) .pds-chip__label,:host(.pds-chip--danger) .pds-chip__button,:host(.pds-chip--danger) .pds-chip__close{color:var(--pine-color-text-danger);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--danger) .pds-chip__close:hover{background:var(--pine-chip-color-danger-hover)}:host(.pds-chip--danger.pds-chip--dropdown:hover){background:var(--pine-chip-color-danger-hover)}:host(.pds-chip--info){background:var(--pine-chip-color-info);border:var(--pine-border-width) solid var(--pine-chip-color-info-hover)}:host(.pds-chip--info) .pds-chip__dot{background:var(--pine-chip-color-info-dot)}:host(.pds-chip--info) .pds-chip__label,:host(.pds-chip--info) .pds-chip__button,:host(.pds-chip--info) .pds-chip__close{color:var(--pine-color-text-info);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--info) .pds-chip__close:hover{background:var(--pine-chip-color-info-hover)}:host(.pds-chip--info.pds-chip--dropdown:hover){background:var(--pine-chip-color-info-hover)}:host(.pds-chip--neutral){background:var(--pine-chip-color-neutral);border:var(--pine-border-width) solid var(--pine-chip-color-neutral-hover)}:host(.pds-chip--neutral) .pds-chip__dot{background:var(--pine-chip-color-neutral-dot)}:host(.pds-chip--neutral) .pds-chip__label,:host(.pds-chip--neutral) .pds-chip__button,:host(.pds-chip--neutral) .pds-chip__close{color:var(--pine-color-text-neutral);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--neutral) .pds-chip__close:hover{background:var(--pine-chip-color-neutral-hover)}:host(.pds-chip--neutral.pds-chip--dropdown:hover){background:var(--pine-chip-color-neutral-hover)}:host(.pds-chip--success){background:var(--pine-chip-color-success);border:var(--pine-border-width) solid var(--pine-chip-color-success-hover)}:host(.pds-chip--success) .pds-chip__dot{background:var(--pine-chip-color-success-dot)}:host(.pds-chip--success) .pds-chip__label,:host(.pds-chip--success) .pds-chip__button,:host(.pds-chip--success) .pds-chip__close{color:var(--pine-color-text-success);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--success) .pds-chip__close:hover{background:var(--pine-chip-color-success-hover)}:host(.pds-chip--success.pds-chip--dropdown:hover){background:var(--pine-chip-color-success-hover)}:host(.pds-chip--warning){background:var(--pine-chip-color-warning);border:var(--pine-border-width) solid var(--pine-chip-color-warning-hover)}:host(.pds-chip--warning) .pds-chip__dot{background:var(--pine-chip-color-warning-dot)}:host(.pds-chip--warning) .pds-chip__label,:host(.pds-chip--warning) .pds-chip__button,:host(.pds-chip--warning) .pds-chip__close{color:var(--pine-color-text-warning);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--warning) .pds-chip__close:hover{background:var(--pine-chip-color-warning-hover)}:host(.pds-chip--warning.pds-chip--dropdown:hover){background:var(--pine-chip-color-warning-hover)}.pds-chip__dot{border:var(--pine-border-width) solid transparent;border-radius:var(--pine-border-radius-full);display:inline-block;height:var(--pine-dimension-2xs);-webkit-margin-after:var(--pine-dimension-025);margin-block-end:var(--pine-dimension-025);-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs);width:var(--pine-dimension-2xs)}.pds-chip__label{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.pds-chip__label,.pds-chip__button{font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}:host(.pds-chip--dropdown){padding:var(--pine-dimension-none)}:host(.pds-chip--dropdown) .pds-chip__dot{-webkit-margin-after:calc(var(--pine-dimension-025) / 4);margin-block-end:calc(var(--pine-dimension-025) / 4);-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}.pds-chip__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-dimension-sm);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-2xs) var(--pine-dimension-150)}.pds-chip__button:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-chip__button pds-icon{-webkit-margin-end:calc(var(--pine-dimension-025) * -1);margin-inline-end:calc(var(--pine-dimension-025) * -1);-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs)}.pds-chip__close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--pine-border-radius-full);height:var(--sizing-close);-webkit-margin-end:calc(var(--pine-dimension-xs) * -1);margin-inline-end:calc(var(--pine-dimension-xs) * -1);-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs);padding:var(--sizing-close);position:relative;width:var(--sizing-close)}.pds-chip__close pds-icon{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.pds-chip__close:focus-visible{outline:var(--pine-outline-focus)}:host(.pds-chip--large){padding-block:var(--pine-dimension-2xs);padding-inline:var(--pine-dimension-150)}:host(.pds-chip--large) .pds-chip__label,:host(.pds-chip--large) .pds-chip__button{font:var(--pine-typography-heading-6);letter-spacing:var(--pine-letter-spacing-heading-6)}:host(.pds-chip--large):has(.pds-chip__button){padding:var(--pine-dimension-none)}";
3914
+ const pdsChipCss = ":host{--sizing-close:var(--pine-dimension-125);-ms-flex-align:center;align-items:center;border-radius:var(--pine-dimension-sm);display:-ms-inline-flexbox;display:inline-flex;padding-block:var(--pine-dimension-025);padding-inline:var(--pine-dimension-150)}:host(.pds-chip--accent){background:var(--pine-chip-color-accent);border:var(--pine-border-width) solid var(--pine-chip-color-accent-hover)}:host(.pds-chip--accent) .pds-chip__dot{background:var(--pine-chip-color-accent-dot)}:host(.pds-chip--accent) .pds-chip__label,:host(.pds-chip--accent) .pds-chip__button,:host(.pds-chip--accent) .pds-chip__close{color:var(--pine-color-text-accent);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--accent) .pds-chip__close:hover{background:var(--pine-chip-color-accent-hover)}:host(.pds-chip--accent.pds-chip--dropdown:hover){background:var(--pine-chip-color-accent-hover)}:host(.pds-chip--danger){background:var(--pine-chip-color-danger);border:var(--pine-border-width) solid var(--pine-chip-color-danger-hover)}:host(.pds-chip--danger) .pds-chip__dot{background:var(--pine-chip-color-danger-dot)}:host(.pds-chip--danger) .pds-chip__label,:host(.pds-chip--danger) .pds-chip__button,:host(.pds-chip--danger) .pds-chip__close{color:var(--pine-color-text-danger);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--danger) .pds-chip__close:hover{background:var(--pine-chip-color-danger-hover)}:host(.pds-chip--danger.pds-chip--dropdown:hover){background:var(--pine-chip-color-danger-hover)}:host(.pds-chip--info){background:var(--pine-chip-color-info);border:var(--pine-border-width) solid var(--pine-chip-color-info-hover)}:host(.pds-chip--info) .pds-chip__dot{background:var(--pine-chip-color-info-dot)}:host(.pds-chip--info) .pds-chip__label,:host(.pds-chip--info) .pds-chip__button,:host(.pds-chip--info) .pds-chip__close{color:var(--pine-color-text-info);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--info) .pds-chip__close:hover{background:var(--pine-chip-color-info-hover)}:host(.pds-chip--info.pds-chip--dropdown:hover){background:var(--pine-chip-color-info-hover)}:host(.pds-chip--neutral){background:var(--pine-chip-color-neutral);border:var(--pine-border-width) solid var(--pine-chip-color-neutral-hover)}:host(.pds-chip--neutral) .pds-chip__dot{background:var(--pine-chip-color-neutral-dot)}:host(.pds-chip--neutral) .pds-chip__label,:host(.pds-chip--neutral) .pds-chip__button,:host(.pds-chip--neutral) .pds-chip__close{color:var(--pine-color-text-neutral);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--neutral) .pds-chip__close:hover{background:var(--pine-chip-color-neutral-hover)}:host(.pds-chip--neutral.pds-chip--dropdown:hover){background:var(--pine-chip-color-neutral-hover)}:host(.pds-chip--success){background:var(--pine-chip-color-success);border:var(--pine-border-width) solid var(--pine-chip-color-success-hover)}:host(.pds-chip--success) .pds-chip__dot{background:var(--pine-chip-color-success-dot)}:host(.pds-chip--success) .pds-chip__label,:host(.pds-chip--success) .pds-chip__button,:host(.pds-chip--success) .pds-chip__close{color:var(--pine-color-text-success);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--success) .pds-chip__close:hover{background:var(--pine-chip-color-success-hover)}:host(.pds-chip--success.pds-chip--dropdown:hover){background:var(--pine-chip-color-success-hover)}:host(.pds-chip--warning){background:var(--pine-chip-color-warning);border:var(--pine-border-width) solid var(--pine-chip-color-warning-hover)}:host(.pds-chip--warning) .pds-chip__dot{background:var(--pine-chip-color-warning-dot)}:host(.pds-chip--warning) .pds-chip__label,:host(.pds-chip--warning) .pds-chip__button,:host(.pds-chip--warning) .pds-chip__close{color:var(--pine-color-text-warning);font-weight:var(--pine-font-weight-medium)}:host(.pds-chip--warning) .pds-chip__close:hover{background:var(--pine-chip-color-warning-hover)}:host(.pds-chip--warning.pds-chip--dropdown:hover){background:var(--pine-chip-color-warning-hover)}.pds-chip__dot{border:var(--pine-border-width) solid transparent;border-radius:var(--pine-border-radius-full);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-chip__label{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex}.pds-chip__label pds-icon{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}.pds-chip__label,.pds-chip__button{font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}:host(.pds-chip--dropdown){padding:var(--pine-dimension-none)}.pds-chip__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-dimension-sm);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-025) var(--pine-dimension-150)}.pds-chip__button:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-chip__button pds-icon:first-child{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}.pds-chip__button pds-icon:last-child{-webkit-margin-end:calc(var(--pine-dimension-025) * -1);margin-inline-end:calc(var(--pine-dimension-025) * -1);-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs)}.pds-chip__close{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:var(--pine-border-radius-full);height:var(--sizing-close);-webkit-margin-end:calc(var(--pine-dimension-xs) * -1);margin-inline-end:calc(var(--pine-dimension-xs) * -1);-webkit-margin-start:var(--pine-dimension-2xs);margin-inline-start:var(--pine-dimension-2xs);padding:var(--sizing-close);position:relative;width:var(--sizing-close)}.pds-chip__close pds-icon{left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.pds-chip__close:focus-visible{outline:var(--pine-outline-focus)}:host(.pds-chip--large){padding-block:var(--pine-dimension-025);padding-inline:var(--pine-dimension-150)}:host(.pds-chip--large) .pds-chip__label,:host(.pds-chip--large) .pds-chip__button{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)}:host(.pds-chip--large.pds-chip--dropdown){padding:var(--pine-dimension-none)}:host(.pds-chip--large.pds-chip--dropdown) .pds-chip__button{padding:var(--pine-dimension-025) var(--pine-dimension-150)}:host(.pds-chip--brand){background:-webkit-gradient(linear, left top, right top, from(#FF3E14), to(#6B62F2));background:linear-gradient(90deg, #FF3E14 0%, #6B62F2 100%);border:0;padding:1px;position:relative}:host(.pds-chip--brand) .pds-chip__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}:host(.pds-chip--brand) .pds-chip__label pds-icon{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}:host(.pds-chip--brand) .pds-chip__button,:host(.pds-chip--brand) .pds-chip__close{color:var(--pine-color-text-neutral);font-weight:var(--pine-font-weight-medium);position:relative;z-index:1}:host(.pds-chip--brand) .pds-chip__button pds-icon:first-child{-webkit-margin-end:var(--pine-dimension-2xs);margin-inline-end:var(--pine-dimension-2xs)}:host(.pds-chip--brand) .pds-chip__close:hover{background:rgba(255, 255, 255, 0.8)}";
3915
3915
 
3916
3916
  /**
3917
3917
  * @slot (default) - The chip's label text.
@@ -3922,6 +3922,7 @@ class PdsChip {
3922
3922
  this.pdsTagCloseClick = createEvent(this, "pdsTagCloseClick");
3923
3923
  /**
3924
3924
  * Determines whether a dot should be displayed on the chip.
3925
+ * Note: This prop is ignored when sentiment is 'brand'.
3925
3926
  * @defaultValue false
3926
3927
  */
3927
3928
  this.dot = false;
@@ -3937,6 +3938,7 @@ class PdsChip {
3937
3938
  this.sentiment = 'neutral';
3938
3939
  /**
3939
3940
  * Sets the style variant of the chip.
3941
+ * Note: This prop is ignored when sentiment is 'brand'.
3940
3942
  * @defaultValue 'text'
3941
3943
  */
3942
3944
  this.variant = 'text';
@@ -3949,21 +3951,33 @@ class PdsChip {
3949
3951
  if (this.large) {
3950
3952
  classNames.push('pds-chip--large');
3951
3953
  }
3952
- if (this.variant) {
3953
- classNames.push('pds-chip--' + this.variant);
3954
+ // For brand sentiment, always use text variant
3955
+ const effectiveVariant = this.sentiment === 'brand' ? 'text' : this.variant;
3956
+ if (effectiveVariant) {
3957
+ classNames.push('pds-chip--' + effectiveVariant);
3954
3958
  }
3955
3959
  if (this.sentiment) {
3956
3960
  classNames.push('pds-chip--' + this.sentiment);
3957
3961
  }
3958
3962
  return classNames.join(' ');
3959
3963
  }
3964
+ get effectiveVariant() {
3965
+ // For brand sentiment, force text variant behavior
3966
+ return this.sentiment === 'brand' ? 'text' : this.variant;
3967
+ }
3968
+ get iconSize() {
3969
+ // Icon size based on large prop
3970
+ return this.large ? '14px' : '12px';
3971
+ }
3960
3972
  setChipContent() {
3961
- const isDropdown = this.variant === 'dropdown';
3962
- const chipContent = isDropdown ? (hAsync("button", { class: "pds-chip__button", type: "button" }, this.dot && hAsync("i", { class: "pds-chip__dot", "aria-hidden": "true" }), hAsync("slot", null), hAsync("pds-icon", { icon: downSmall, size: "12px", "aria-hidden": "true" }))) : (hAsync("span", { class: "pds-chip__label" }, this.dot && hAsync("i", { class: "pds-chip__dot", "aria-hidden": "true" }), hAsync("slot", null)));
3973
+ const isDropdown = this.effectiveVariant === 'dropdown';
3974
+ // For brand sentiment, ignore dot prop
3975
+ const showDot = this.sentiment === 'brand' ? false : this.dot;
3976
+ const chipContent = isDropdown ? (hAsync("button", { class: "pds-chip__button", type: "button" }, this.icon && hAsync("pds-icon", { icon: this.icon, size: this.iconSize, "aria-hidden": "true" }), showDot && hAsync("i", { class: "pds-chip__dot", "aria-hidden": "true" }), hAsync("slot", null), hAsync("pds-icon", { icon: downSmall, size: this.iconSize, "aria-hidden": "true" }))) : (hAsync("span", { class: "pds-chip__label" }, this.icon && hAsync("pds-icon", { icon: this.icon, size: this.iconSize, "aria-hidden": "true" }), showDot && hAsync("i", { class: "pds-chip__dot", "aria-hidden": "true" }), hAsync("slot", null)));
3963
3977
  return chipContent;
3964
3978
  }
3965
3979
  render() {
3966
- return (hAsync(Host, { key: 'b1987e434a5b9dcc4a5536660822bcb9c1f79e4f', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.variant === 'tag' && (hAsync("button", { key: '8f658cd564e86297a9b988d6080135e6d612be36', class: "pds-chip__close", type: "button", onClick: this.handleCloseClick, "aria-label": "Remove" }, hAsync("pds-icon", { key: '32266c84697e0ffa3ff5d2e554cdf6b7e598d0e6', icon: remove, size: "12px" })))));
3980
+ return (hAsync(Host, { key: '87b74bdc74dcf3d0a7e9818a9643abcaac6ed732', class: this.classNames(), id: this.componentId }, this.setChipContent(), this.effectiveVariant === 'tag' && (hAsync("button", { key: '98644f17a57514b541cd00be5c0972e589f7c44e', class: "pds-chip__close", type: "button", onClick: this.handleCloseClick, "aria-label": "Remove" }, hAsync("pds-icon", { key: '056913f77f7179db7e8f6f8b69df18c4bd98b891', icon: remove, size: this.iconSize })))));
3967
3981
  }
3968
3982
  static get style() { return pdsChipTokensCss + pdsChipCss; }
3969
3983
  static get cmpMeta() { return {
@@ -3972,6 +3986,7 @@ class PdsChip {
3972
3986
  "$members$": {
3973
3987
  "componentId": [1, "component-id"],
3974
3988
  "dot": [4],
3989
+ "icon": [1],
3975
3990
  "large": [4],
3976
3991
  "sentiment": [1],
3977
3992
  "variant": [1]
@@ -3982,115 +3997,6 @@ class PdsChip {
3982
3997
  }; }
3983
3998
  }
3984
3999
 
3985
- const pdsCopytextCss = ":host(.pds-copytext){--copytext-color-background-hover:var(--pine-color-grey-200)}:host(.pds-copytext) pds-button{-ms-flex-align:center;align-items:center;background:var(--pine-color-secondary);border-radius:var(--pine-border-radius-full);border-width:var(--pine-dimension-none);display:-ms-inline-flexbox;display:inline-flex;font-family:var(--pine-font-family-heading);font-size:var(--pine-font-size-body-md);font-weight:var(--pine-font-weight-body-medium);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);max-width:100%;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs)}:host(.pds-copytext) pds-button::part(button){-webkit-padding-end:calc(var(--pine-dimension-xs) / 2);padding-inline-end:calc(var(--pine-dimension-xs) / 2)}:host(.pds-copytext) pds-button::part(button):hover{background-color:var(--copytext-color-background-hover);color:var(--pine-color-text-secondary-hover)}:host(.pds-copytext) pds-button span{font-weight:var(--pine-font-weight-medium);-webkit-margin-end:var(--pine-dimension-xs);margin-inline-end:var(--pine-dimension-xs);white-space:nowrap}:host(.pds-copytext) pds-button :nth-child(2){-ms-flex-negative:0;flex-shrink:0}:host(.pds-copytext):host(.pds-copytext--bordered){border-width:var(--pine-dimension-none);padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button{padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered)::part(button):hover{background-color:transparent}:host(.pds-copytext):host(.pds-copytext--bordered) span{border:var(--pine-border);border-radius:var(--pine-border-radius-full);-webkit-margin-end:var(--pine-dimension-sm);margin-inline-end:var(--pine-dimension-sm);padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-sm)}:host(.pds-copytext):host(.pds-copytext--bordered) :hover span{border:var(--pine-border-hover)}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button{display:-ms-inline-flexbox;display:inline-flex;min-width:auto;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-text),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-text){-ms-flex-negative:1;flex-shrink:1;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button span,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{text-align:start;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button{-ms-flex-pack:justify;justify-content:space-between}:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{overflow:hidden;text-overflow:ellipsis}";
3986
-
3987
- class PdsCopytext {
3988
- constructor(hostRef) {
3989
- registerInstance(this, hostRef);
3990
- this.pdsCopyTextClick = createEvent(this, "pdsCopyTextClick");
3991
- /**
3992
- * Determines whether `copytext` should have a visible border.
3993
- * @defaultValue true
3994
- */
3995
- this.border = true;
3996
- /**
3997
- * Determines whether `copytext` should expand to the full width of its container.
3998
- * @defaultValue false
3999
- */
4000
- this.fullWidth = false;
4001
- /**
4002
- * Determines whether the `value` should truncate and display with an ellipsis.
4003
- * @defaultValue false
4004
- */
4005
- this.truncate = false;
4006
- this.copyToClipboard = async (value) => {
4007
- try {
4008
- if (typeof navigator.clipboard !== 'undefined') {
4009
- await navigator.clipboard.writeText(value);
4010
- this.pdsCopyTextClick.emit('Copied to clipboard');
4011
- }
4012
- }
4013
- catch (err) {
4014
- this.pdsCopyTextClick.emit(`Error writing text to clipboard: ${err}`);
4015
- }
4016
- };
4017
- this.handleClick = () => {
4018
- this.copyToClipboard(this.value);
4019
- };
4020
- }
4021
- classNames() {
4022
- const classNames = ['pds-copytext'];
4023
- if (this.border) {
4024
- classNames.push('pds-copytext--bordered');
4025
- }
4026
- if (this.fullWidth) {
4027
- classNames.push('pds-copytext--full-width');
4028
- }
4029
- if (this.truncate) {
4030
- classNames.push('pds-copytext--truncated');
4031
- }
4032
- return classNames.join(' ');
4033
- }
4034
- render() {
4035
- return (hAsync(Host, { key: '46c38faeba9b70d2e510a4b6af08866577936478', class: this.classNames(), id: this.componentId }, hAsync("pds-button", { key: '6e28c11a9a7a57f4c256b0283b64ec655a897f65', type: "button", variant: "unstyled", onClick: this.handleClick }, hAsync("span", { key: '6818451171f85fd6ad63f07c69871082d3fcba4e' }, this.value), hAsync("pds-icon", { key: '05e683d7b28575d924d6af482e6ce4c3cfee3f05', icon: copy, size: "16px" }))));
4036
- }
4037
- static get style() { return pdsCopytextCss; }
4038
- static get cmpMeta() { return {
4039
- "$flags$": 9,
4040
- "$tagName$": "pds-copytext",
4041
- "$members$": {
4042
- "border": [516],
4043
- "componentId": [1, "component-id"],
4044
- "fullWidth": [4, "full-width"],
4045
- "truncate": [4],
4046
- "value": [1]
4047
- },
4048
- "$listeners$": undefined,
4049
- "$lazyBundleId$": "-",
4050
- "$attrsToReflect$": [["border", "border"]]
4051
- }; }
4052
- }
4053
-
4054
- const pdsDividerCss = ".pds-divider{background:var(--pine-color-border);border:0;display:-ms-flexbox;display:flex;height:var(--pine-border-width);margin:0;width:100%}.pds-divider--vertical{height:100%;width:1px}.pds-divider--offset-xxs{margin:0 calc(var(--pine-dimension-2xs) * -1);padding:0 var(--pine-dimension-2xs)}.pds-divider--offset-xxs.pds-divider--vertical{margin:calc(var(--pine-dimension-2xs) * -1) 0;padding:var(--pine-dimension-2xs) 0}.pds-divider--offset-xs{margin:0 calc(var(--pine-dimension-xs) * -1);padding:0 var(--pine-dimension-xs)}.pds-divider--offset-xs.pds-divider--vertical{margin:calc(var(--pine-dimension-xs) * -1) 0;padding:var(--pine-dimension-xs) 0}.pds-divider--offset-sm{margin:0 calc(var(--pine-dimension-sm) * -1);padding:0 var(--pine-dimension-sm)}.pds-divider--offset-sm.pds-divider--vertical{margin:calc(var(--pine-dimension-sm) * -1) 0;padding:var(--pine-dimension-sm) 0}.pds-divider--offset-md{margin:0 calc(var(--pine-dimension-md) * -1);padding:0 var(--pine-dimension-md)}.pds-divider--offset-md.pds-divider--vertical{margin:calc(var(--pine-dimension-md) * -1) 0;padding:var(--pine-dimension-md) 0}.pds-divider--offset-lg{margin:0 calc(var(--pine-dimension-lg) * -1);padding:0 var(--pine-dimension-lg)}.pds-divider--offset-lg.pds-divider--vertical{margin:calc(var(--pine-dimension-lg) * -1) 0;padding:var(--pine-dimension-lg) 0}.pds-divider--offset-xl{margin:0 calc(var(--pine-dimension-xl) * -1);padding:0 var(--pine-dimension-xl)}.pds-divider--offset-xl.pds-divider--vertical{margin:calc(var(--pine-dimension-xl) * -1) 0;padding:var(--pine-dimension-xl) 0}.pds-divider--offset-xxl{margin:0 calc(var(--pine-dimension-2xl) * -1);padding:0 var(--pine-dimension-2xl)}.pds-divider--offset-xxl.pds-divider--vertical{margin:calc(var(--pine-dimension-2xl) * -1) 0;padding:var(--pine-dimension-2xl) 0}@media (max-width: 767px){.pds-divider--vertical{display:none}}";
4055
-
4056
- class PdsDivider {
4057
- constructor(hostRef) {
4058
- registerInstance(this, hostRef);
4059
- /**
4060
- * Sets divider to display vertically.
4061
- * @defaultValue false
4062
- */
4063
- this.vertical = false;
4064
- }
4065
- classNames() {
4066
- const classNames = ['pds-divider'];
4067
- if (this.vertical) {
4068
- classNames.push('pds-divider--vertical');
4069
- }
4070
- if (this.offset) {
4071
- const offsetClassName = 'pds-divider--offset-' + this.offset;
4072
- classNames.push(offsetClassName);
4073
- }
4074
- return classNames.join(' ');
4075
- }
4076
- render() {
4077
- return (hAsync(Host, { key: 'ee48ee45e0463abbd3cb7aa686f8d86928830ccb', id: this.componentId }, hAsync("hr", { key: '4af739f85e502a7d9bff1b3581c283cb6ee53a0e', class: this.classNames() })));
4078
- }
4079
- static get style() { return pdsDividerCss; }
4080
- static get cmpMeta() { return {
4081
- "$flags$": 9,
4082
- "$tagName$": "pds-divider",
4083
- "$members$": {
4084
- "componentId": [1, "component-id"],
4085
- "offset": [1],
4086
- "vertical": [4]
4087
- },
4088
- "$listeners$": undefined,
4089
- "$lazyBundleId$": "-",
4090
- "$attrsToReflect$": []
4091
- }; }
4092
- }
4093
-
4094
4000
  /**
4095
4001
  * Custom positioning reference element.
4096
4002
  * @see https://floating-ui.com/docs/virtual-elements
@@ -5341,72 +5247,1924 @@ const getElementRects = async function (data) {
5341
5247
  width: floatingDimensions.width,
5342
5248
  height: floatingDimensions.height
5343
5249
  }
5344
- };
5345
- };
5346
-
5347
- function isRTL$1(element) {
5348
- return getComputedStyle$1(element).direction === 'rtl';
5250
+ };
5251
+ };
5252
+
5253
+ function isRTL$1(element) {
5254
+ return getComputedStyle$1(element).direction === 'rtl';
5255
+ }
5256
+
5257
+ const platform = {
5258
+ convertOffsetParentRelativeRectToViewportRelativeRect,
5259
+ getDocumentElement,
5260
+ getClippingRect,
5261
+ getOffsetParent,
5262
+ getElementRects,
5263
+ getClientRects,
5264
+ getDimensions,
5265
+ getScale,
5266
+ isElement,
5267
+ isRTL: isRTL$1
5268
+ };
5269
+
5270
+ /**
5271
+ * Modifies the placement by translating the floating element along the
5272
+ * specified axes.
5273
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
5274
+ * object may be passed.
5275
+ * @see https://floating-ui.com/docs/offset
5276
+ */
5277
+ const offset = offset$1;
5278
+
5279
+ /**
5280
+ * Optimizes the visibility of the floating element by shifting it in order to
5281
+ * keep it in view when it will overflow the clipping boundary.
5282
+ * @see https://floating-ui.com/docs/shift
5283
+ */
5284
+ const shift = shift$1;
5285
+
5286
+ /**
5287
+ * Optimizes the visibility of the floating element by flipping the `placement`
5288
+ * in order to keep it in view when the preferred placement(s) will overflow the
5289
+ * clipping boundary. Alternative to `autoPlacement`.
5290
+ * @see https://floating-ui.com/docs/flip
5291
+ */
5292
+ const flip = flip$1;
5293
+
5294
+ /**
5295
+ * Computes the `x` and `y` coordinates that will place the floating element
5296
+ * next to a given reference element.
5297
+ */
5298
+ const computePosition = (reference, floating, options) => {
5299
+ // This caches the expensive `getClippingElementAncestors` function so that
5300
+ // multiple lifecycle resets re-use the same result. It only lives for a
5301
+ // single call. If other functions become expensive, we can add them as well.
5302
+ const cache = new Map();
5303
+ const mergedOptions = {
5304
+ platform,
5305
+ ...options
5306
+ };
5307
+ const platformWithCache = {
5308
+ ...mergedOptions.platform,
5309
+ _c: cache
5310
+ };
5311
+ return computePosition$1(reference, floating, {
5312
+ ...mergedOptions,
5313
+ platform: platformWithCache
5314
+ });
5315
+ };
5316
+
5317
+ /*! @license DOMPurify 3.2.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.6/LICENSE */
5318
+
5319
+ const {
5320
+ entries,
5321
+ setPrototypeOf,
5322
+ isFrozen,
5323
+ getPrototypeOf,
5324
+ getOwnPropertyDescriptor
5325
+ } = Object;
5326
+ let {
5327
+ freeze,
5328
+ seal,
5329
+ create
5330
+ } = Object; // eslint-disable-line import/no-mutable-exports
5331
+ let {
5332
+ apply,
5333
+ construct
5334
+ } = typeof Reflect !== 'undefined' && Reflect;
5335
+ if (!freeze) {
5336
+ freeze = function freeze(x) {
5337
+ return x;
5338
+ };
5339
+ }
5340
+ if (!seal) {
5341
+ seal = function seal(x) {
5342
+ return x;
5343
+ };
5344
+ }
5345
+ if (!apply) {
5346
+ apply = function apply(fun, thisValue, args) {
5347
+ return fun.apply(thisValue, args);
5348
+ };
5349
+ }
5350
+ if (!construct) {
5351
+ construct = function construct(Func, args) {
5352
+ return new Func(...args);
5353
+ };
5354
+ }
5355
+ const arrayForEach = unapply(Array.prototype.forEach);
5356
+ const arrayLastIndexOf = unapply(Array.prototype.lastIndexOf);
5357
+ const arrayPop = unapply(Array.prototype.pop);
5358
+ const arrayPush = unapply(Array.prototype.push);
5359
+ const arraySplice = unapply(Array.prototype.splice);
5360
+ const stringToLowerCase = unapply(String.prototype.toLowerCase);
5361
+ const stringToString = unapply(String.prototype.toString);
5362
+ const stringMatch = unapply(String.prototype.match);
5363
+ const stringReplace = unapply(String.prototype.replace);
5364
+ const stringIndexOf = unapply(String.prototype.indexOf);
5365
+ const stringTrim = unapply(String.prototype.trim);
5366
+ const objectHasOwnProperty = unapply(Object.prototype.hasOwnProperty);
5367
+ const regExpTest = unapply(RegExp.prototype.test);
5368
+ const typeErrorCreate = unconstruct(TypeError);
5369
+ /**
5370
+ * Creates a new function that calls the given function with a specified thisArg and arguments.
5371
+ *
5372
+ * @param func - The function to be wrapped and called.
5373
+ * @returns A new function that calls the given function with a specified thisArg and arguments.
5374
+ */
5375
+ function unapply(func) {
5376
+ return function (thisArg) {
5377
+ if (thisArg instanceof RegExp) {
5378
+ thisArg.lastIndex = 0;
5379
+ }
5380
+ for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
5381
+ args[_key - 1] = arguments[_key];
5382
+ }
5383
+ return apply(func, thisArg, args);
5384
+ };
5385
+ }
5386
+ /**
5387
+ * Creates a new function that constructs an instance of the given constructor function with the provided arguments.
5388
+ *
5389
+ * @param func - The constructor function to be wrapped and called.
5390
+ * @returns A new function that constructs an instance of the given constructor function with the provided arguments.
5391
+ */
5392
+ function unconstruct(func) {
5393
+ return function () {
5394
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
5395
+ args[_key2] = arguments[_key2];
5396
+ }
5397
+ return construct(func, args);
5398
+ };
5399
+ }
5400
+ /**
5401
+ * Add properties to a lookup table
5402
+ *
5403
+ * @param set - The set to which elements will be added.
5404
+ * @param array - The array containing elements to be added to the set.
5405
+ * @param transformCaseFunc - An optional function to transform the case of each element before adding to the set.
5406
+ * @returns The modified set with added elements.
5407
+ */
5408
+ function addToSet(set, array) {
5409
+ let transformCaseFunc = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : stringToLowerCase;
5410
+ if (setPrototypeOf) {
5411
+ // Make 'in' and truthy checks like Boolean(set.constructor)
5412
+ // independent of any properties defined on Object.prototype.
5413
+ // Prevent prototype setters from intercepting set as a this value.
5414
+ setPrototypeOf(set, null);
5415
+ }
5416
+ let l = array.length;
5417
+ while (l--) {
5418
+ let element = array[l];
5419
+ if (typeof element === 'string') {
5420
+ const lcElement = transformCaseFunc(element);
5421
+ if (lcElement !== element) {
5422
+ // Config presets (e.g. tags.js, attrs.js) are immutable.
5423
+ if (!isFrozen(array)) {
5424
+ array[l] = lcElement;
5425
+ }
5426
+ element = lcElement;
5427
+ }
5428
+ }
5429
+ set[element] = true;
5430
+ }
5431
+ return set;
5432
+ }
5433
+ /**
5434
+ * Clean up an array to harden against CSPP
5435
+ *
5436
+ * @param array - The array to be cleaned.
5437
+ * @returns The cleaned version of the array
5438
+ */
5439
+ function cleanArray(array) {
5440
+ for (let index = 0; index < array.length; index++) {
5441
+ const isPropertyExist = objectHasOwnProperty(array, index);
5442
+ if (!isPropertyExist) {
5443
+ array[index] = null;
5444
+ }
5445
+ }
5446
+ return array;
5447
+ }
5448
+ /**
5449
+ * Shallow clone an object
5450
+ *
5451
+ * @param object - The object to be cloned.
5452
+ * @returns A new object that copies the original.
5453
+ */
5454
+ function clone$1(object) {
5455
+ const newObject = create(null);
5456
+ for (const [property, value] of entries(object)) {
5457
+ const isPropertyExist = objectHasOwnProperty(object, property);
5458
+ if (isPropertyExist) {
5459
+ if (Array.isArray(value)) {
5460
+ newObject[property] = cleanArray(value);
5461
+ } else if (value && typeof value === 'object' && value.constructor === Object) {
5462
+ newObject[property] = clone$1(value);
5463
+ } else {
5464
+ newObject[property] = value;
5465
+ }
5466
+ }
5467
+ }
5468
+ return newObject;
5469
+ }
5470
+ /**
5471
+ * This method automatically checks if the prop is function or getter and behaves accordingly.
5472
+ *
5473
+ * @param object - The object to look up the getter function in its prototype chain.
5474
+ * @param prop - The property name for which to find the getter function.
5475
+ * @returns The getter function found in the prototype chain or a fallback function.
5476
+ */
5477
+ function lookupGetter(object, prop) {
5478
+ while (object !== null) {
5479
+ const desc = getOwnPropertyDescriptor(object, prop);
5480
+ if (desc) {
5481
+ if (desc.get) {
5482
+ return unapply(desc.get);
5483
+ }
5484
+ if (typeof desc.value === 'function') {
5485
+ return unapply(desc.value);
5486
+ }
5487
+ }
5488
+ object = getPrototypeOf(object);
5489
+ }
5490
+ function fallbackValue() {
5491
+ return null;
5492
+ }
5493
+ return fallbackValue;
5494
+ }
5495
+
5496
+ const html$1 = freeze(['a', 'abbr', 'acronym', 'address', 'area', 'article', 'aside', 'audio', 'b', 'bdi', 'bdo', 'big', 'blink', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'content', 'data', 'datalist', 'dd', 'decorator', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'element', 'em', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'main', 'map', 'mark', 'marquee', 'menu', 'menuitem', 'meter', 'nav', 'nobr', 'ol', 'optgroup', 'option', 'output', 'p', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'section', 'select', 'shadow', 'small', 'source', 'spacer', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']);
5497
+ const svg$1 = freeze(['svg', 'a', 'altglyph', 'altglyphdef', 'altglyphitem', 'animatecolor', 'animatemotion', 'animatetransform', 'circle', 'clippath', 'defs', 'desc', 'ellipse', 'filter', 'font', 'g', 'glyph', 'glyphref', 'hkern', 'image', 'line', 'lineargradient', 'marker', 'mask', 'metadata', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialgradient', 'rect', 'stop', 'style', 'switch', 'symbol', 'text', 'textpath', 'title', 'tref', 'tspan', 'view', 'vkern']);
5498
+ const svgFilters = freeze(['feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence']);
5499
+ // List of SVG elements that are disallowed by default.
5500
+ // We still need to know them so that we can do namespace
5501
+ // checks properly in case one wants to add them to
5502
+ // allow-list.
5503
+ const svgDisallowed = freeze(['animate', 'color-profile', 'cursor', 'discard', 'font-face', 'font-face-format', 'font-face-name', 'font-face-src', 'font-face-uri', 'foreignobject', 'hatch', 'hatchpath', 'mesh', 'meshgradient', 'meshpatch', 'meshrow', 'missing-glyph', 'script', 'set', 'solidcolor', 'unknown', 'use']);
5504
+ const mathMl$1 = freeze(['math', 'menclose', 'merror', 'mfenced', 'mfrac', 'mglyph', 'mi', 'mlabeledtr', 'mmultiscripts', 'mn', 'mo', 'mover', 'mpadded', 'mphantom', 'mroot', 'mrow', 'ms', 'mspace', 'msqrt', 'mstyle', 'msub', 'msup', 'msubsup', 'mtable', 'mtd', 'mtext', 'mtr', 'munder', 'munderover', 'mprescripts']);
5505
+ // Similarly to SVG, we want to know all MathML elements,
5506
+ // even those that we disallow by default.
5507
+ const mathMlDisallowed = freeze(['maction', 'maligngroup', 'malignmark', 'mlongdiv', 'mscarries', 'mscarry', 'msgroup', 'mstack', 'msline', 'msrow', 'semantics', 'annotation', 'annotation-xml', 'mprescripts', 'none']);
5508
+ const text = freeze(['#text']);
5509
+
5510
+ const html = freeze(['accept', 'action', 'align', 'alt', 'autocapitalize', 'autocomplete', 'autopictureinpicture', 'autoplay', 'background', 'bgcolor', 'border', 'capture', 'cellpadding', 'cellspacing', 'checked', 'cite', 'class', 'clear', 'color', 'cols', 'colspan', 'controls', 'controlslist', 'coords', 'crossorigin', 'datetime', 'decoding', 'default', 'dir', 'disabled', 'disablepictureinpicture', 'disableremoteplayback', 'download', 'draggable', 'enctype', 'enterkeyhint', 'face', 'for', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'id', 'inputmode', 'integrity', 'ismap', 'kind', 'label', 'lang', 'list', 'loading', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'minlength', 'multiple', 'muted', 'name', 'nonce', 'noshade', 'novalidate', 'nowrap', 'open', 'optimum', 'pattern', 'placeholder', 'playsinline', 'popover', 'popovertarget', 'popovertargetaction', 'poster', 'preload', 'pubdate', 'radiogroup', 'readonly', 'rel', 'required', 'rev', 'reversed', 'role', 'rows', 'rowspan', 'spellcheck', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'srclang', 'start', 'src', 'srcset', 'step', 'style', 'summary', 'tabindex', 'title', 'translate', 'type', 'usemap', 'valign', 'value', 'width', 'wrap', 'xmlns', 'slot']);
5511
+ const svg = freeze(['accent-height', 'accumulate', 'additive', 'alignment-baseline', 'amplitude', 'ascent', 'attributename', 'attributetype', 'azimuth', 'basefrequency', 'baseline-shift', 'begin', 'bias', 'by', 'class', 'clip', 'clippathunits', 'clip-path', 'clip-rule', 'color', 'color-interpolation', 'color-interpolation-filters', 'color-profile', 'color-rendering', 'cx', 'cy', 'd', 'dx', 'dy', 'diffuseconstant', 'direction', 'display', 'divisor', 'dur', 'edgemode', 'elevation', 'end', 'exponent', 'fill', 'fill-opacity', 'fill-rule', 'filter', 'filterunits', 'flood-color', 'flood-opacity', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'fx', 'fy', 'g1', 'g2', 'glyph-name', 'glyphref', 'gradientunits', 'gradienttransform', 'height', 'href', 'id', 'image-rendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kerning', 'keypoints', 'keysplines', 'keytimes', 'lang', 'lengthadjust', 'letter-spacing', 'kernelmatrix', 'kernelunitlength', 'lighting-color', 'local', 'marker-end', 'marker-mid', 'marker-start', 'markerheight', 'markerunits', 'markerwidth', 'maskcontentunits', 'maskunits', 'max', 'mask', 'media', 'method', 'mode', 'min', 'name', 'numoctaves', 'offset', 'operator', 'opacity', 'order', 'orient', 'orientation', 'origin', 'overflow', 'paint-order', 'path', 'pathlength', 'patterncontentunits', 'patterntransform', 'patternunits', 'points', 'preservealpha', 'preserveaspectratio', 'primitiveunits', 'r', 'rx', 'ry', 'radius', 'refx', 'refy', 'repeatcount', 'repeatdur', 'restart', 'result', 'rotate', 'scale', 'seed', 'shape-rendering', 'slope', 'specularconstant', 'specularexponent', 'spreadmethod', 'startoffset', 'stddeviation', 'stitchtiles', 'stop-color', 'stop-opacity', 'stroke-dasharray', 'stroke-dashoffset', 'stroke-linecap', 'stroke-linejoin', 'stroke-miterlimit', 'stroke-opacity', 'stroke', 'stroke-width', 'style', 'surfacescale', 'systemlanguage', 'tabindex', 'tablevalues', 'targetx', 'targety', 'transform', 'transform-origin', 'text-anchor', 'text-decoration', 'text-rendering', 'textlength', 'type', 'u1', 'u2', 'unicode', 'values', 'viewbox', 'visibility', 'version', 'vert-adv-y', 'vert-origin-x', 'vert-origin-y', 'width', 'word-spacing', 'wrap', 'writing-mode', 'xchannelselector', 'ychannelselector', 'x', 'x1', 'x2', 'xmlns', 'y', 'y1', 'y2', 'z', 'zoomandpan']);
5512
+ const mathMl = freeze(['accent', 'accentunder', 'align', 'bevelled', 'close', 'columnsalign', 'columnlines', 'columnspan', 'denomalign', 'depth', 'dir', 'display', 'displaystyle', 'encoding', 'fence', 'frame', 'height', 'href', 'id', 'largeop', 'length', 'linethickness', 'lspace', 'lquote', 'mathbackground', 'mathcolor', 'mathsize', 'mathvariant', 'maxsize', 'minsize', 'movablelimits', 'notation', 'numalign', 'open', 'rowalign', 'rowlines', 'rowspacing', 'rowspan', 'rspace', 'rquote', 'scriptlevel', 'scriptminsize', 'scriptsizemultiplier', 'selection', 'separator', 'separators', 'stretchy', 'subscriptshift', 'supscriptshift', 'symmetric', 'voffset', 'width', 'xmlns']);
5513
+ const xml = freeze(['xlink:href', 'xml:id', 'xlink:title', 'xml:space', 'xmlns:xlink']);
5514
+
5515
+ // eslint-disable-next-line unicorn/better-regex
5516
+ const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm); // Specify template detection regex for SAFE_FOR_TEMPLATES mode
5517
+ const ERB_EXPR = seal(/<%[\w\W]*|[\w\W]*%>/gm);
5518
+ const TMPLIT_EXPR = seal(/\$\{[\w\W]*/gm); // eslint-disable-line unicorn/better-regex
5519
+ const DATA_ATTR = seal(/^data-[\-\w.\u00B7-\uFFFF]+$/); // eslint-disable-line no-useless-escape
5520
+ const ARIA_ATTR = seal(/^aria-[\-\w]+$/); // eslint-disable-line no-useless-escape
5521
+ const IS_ALLOWED_URI = seal(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i // eslint-disable-line no-useless-escape
5522
+ );
5523
+ const IS_SCRIPT_OR_DATA = seal(/^(?:\w+script|data):/i);
5524
+ const ATTR_WHITESPACE = seal(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g // eslint-disable-line no-control-regex
5525
+ );
5526
+ const DOCTYPE_NAME = seal(/^html$/i);
5527
+ const CUSTOM_ELEMENT = seal(/^[a-z][.\w]*(-[.\w]+)+$/i);
5528
+
5529
+ var EXPRESSIONS = /*#__PURE__*/Object.freeze({
5530
+ __proto__: null,
5531
+ ARIA_ATTR: ARIA_ATTR,
5532
+ ATTR_WHITESPACE: ATTR_WHITESPACE,
5533
+ CUSTOM_ELEMENT: CUSTOM_ELEMENT,
5534
+ DATA_ATTR: DATA_ATTR,
5535
+ DOCTYPE_NAME: DOCTYPE_NAME,
5536
+ ERB_EXPR: ERB_EXPR,
5537
+ IS_ALLOWED_URI: IS_ALLOWED_URI,
5538
+ IS_SCRIPT_OR_DATA: IS_SCRIPT_OR_DATA,
5539
+ MUSTACHE_EXPR: MUSTACHE_EXPR,
5540
+ TMPLIT_EXPR: TMPLIT_EXPR
5541
+ });
5542
+
5543
+ /* eslint-disable @typescript-eslint/indent */
5544
+ // https://developer.mozilla.org/en-US/docs/Web/API/Node/nodeType
5545
+ const NODE_TYPE = {
5546
+ element: 1,
5547
+ text: 3,
5548
+ // Deprecated
5549
+ progressingInstruction: 7,
5550
+ comment: 8,
5551
+ document: 9};
5552
+ const getGlobal = function getGlobal() {
5553
+ return typeof window === 'undefined' ? null : window;
5554
+ };
5555
+ /**
5556
+ * Creates a no-op policy for internal use only.
5557
+ * Don't export this function outside this module!
5558
+ * @param trustedTypes The policy factory.
5559
+ * @param purifyHostElement The Script element used to load DOMPurify (to determine policy name suffix).
5560
+ * @return The policy created (or null, if Trusted Types
5561
+ * are not supported or creating the policy failed).
5562
+ */
5563
+ const _createTrustedTypesPolicy = function _createTrustedTypesPolicy(trustedTypes, purifyHostElement) {
5564
+ if (typeof trustedTypes !== 'object' || typeof trustedTypes.createPolicy !== 'function') {
5565
+ return null;
5566
+ }
5567
+ // Allow the callers to control the unique policy name
5568
+ // by adding a data-tt-policy-suffix to the script element with the DOMPurify.
5569
+ // Policy creation with duplicate names throws in Trusted Types.
5570
+ let suffix = null;
5571
+ const ATTR_NAME = 'data-tt-policy-suffix';
5572
+ if (purifyHostElement && purifyHostElement.hasAttribute(ATTR_NAME)) {
5573
+ suffix = purifyHostElement.getAttribute(ATTR_NAME);
5574
+ }
5575
+ const policyName = 'dompurify' + (suffix ? '#' + suffix : '');
5576
+ try {
5577
+ return trustedTypes.createPolicy(policyName, {
5578
+ createHTML(html) {
5579
+ return html;
5580
+ },
5581
+ createScriptURL(scriptUrl) {
5582
+ return scriptUrl;
5583
+ }
5584
+ });
5585
+ } catch (_) {
5586
+ // Policy creation failed (most likely another DOMPurify script has
5587
+ // already run). Skip creating the policy, as this will only cause errors
5588
+ // if TT are enforced.
5589
+ console.warn('TrustedTypes policy ' + policyName + ' could not be created.');
5590
+ return null;
5591
+ }
5592
+ };
5593
+ const _createHooksMap = function _createHooksMap() {
5594
+ return {
5595
+ afterSanitizeAttributes: [],
5596
+ afterSanitizeElements: [],
5597
+ afterSanitizeShadowDOM: [],
5598
+ beforeSanitizeAttributes: [],
5599
+ beforeSanitizeElements: [],
5600
+ beforeSanitizeShadowDOM: [],
5601
+ uponSanitizeAttribute: [],
5602
+ uponSanitizeElement: [],
5603
+ uponSanitizeShadowNode: []
5604
+ };
5605
+ };
5606
+ function createDOMPurify() {
5607
+ let window = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : getGlobal();
5608
+ const DOMPurify = root => createDOMPurify(root);
5609
+ DOMPurify.version = '3.2.6';
5610
+ DOMPurify.removed = [];
5611
+ if (!window || !window.document || window.document.nodeType !== NODE_TYPE.document || !window.Element) {
5612
+ // Not running in a browser, provide a factory function
5613
+ // so that you can pass your own Window
5614
+ DOMPurify.isSupported = false;
5615
+ return DOMPurify;
5616
+ }
5617
+ let {
5618
+ document
5619
+ } = window;
5620
+ const originalDocument = document;
5621
+ const currentScript = originalDocument.currentScript;
5622
+ const {
5623
+ DocumentFragment,
5624
+ HTMLTemplateElement,
5625
+ Node,
5626
+ Element,
5627
+ NodeFilter,
5628
+ NamedNodeMap = window.NamedNodeMap || window.MozNamedAttrMap,
5629
+ HTMLFormElement,
5630
+ DOMParser,
5631
+ trustedTypes
5632
+ } = window;
5633
+ const ElementPrototype = Element.prototype;
5634
+ const cloneNode = lookupGetter(ElementPrototype, 'cloneNode');
5635
+ const remove = lookupGetter(ElementPrototype, 'remove');
5636
+ const getNextSibling = lookupGetter(ElementPrototype, 'nextSibling');
5637
+ const getChildNodes = lookupGetter(ElementPrototype, 'childNodes');
5638
+ const getParentNode = lookupGetter(ElementPrototype, 'parentNode');
5639
+ // As per issue #47, the web-components registry is inherited by a
5640
+ // new document created via createHTMLDocument. As per the spec
5641
+ // (http://w3c.github.io/webcomponents/spec/custom/#creating-and-passing-registries)
5642
+ // a new empty registry is used when creating a template contents owner
5643
+ // document, so we use that as our parent document to ensure nothing
5644
+ // is inherited.
5645
+ if (typeof HTMLTemplateElement === 'function') {
5646
+ const template = document.createElement('template');
5647
+ if (template.content && template.content.ownerDocument) {
5648
+ document = template.content.ownerDocument;
5649
+ }
5650
+ }
5651
+ let trustedTypesPolicy;
5652
+ let emptyHTML = '';
5653
+ const {
5654
+ implementation,
5655
+ createNodeIterator,
5656
+ createDocumentFragment,
5657
+ getElementsByTagName
5658
+ } = document;
5659
+ const {
5660
+ importNode
5661
+ } = originalDocument;
5662
+ let hooks = _createHooksMap();
5663
+ /**
5664
+ * Expose whether this browser supports running the full DOMPurify.
5665
+ */
5666
+ DOMPurify.isSupported = typeof entries === 'function' && typeof getParentNode === 'function' && implementation && implementation.createHTMLDocument !== undefined;
5667
+ const {
5668
+ MUSTACHE_EXPR,
5669
+ ERB_EXPR,
5670
+ TMPLIT_EXPR,
5671
+ DATA_ATTR,
5672
+ ARIA_ATTR,
5673
+ IS_SCRIPT_OR_DATA,
5674
+ ATTR_WHITESPACE,
5675
+ CUSTOM_ELEMENT
5676
+ } = EXPRESSIONS;
5677
+ let {
5678
+ IS_ALLOWED_URI: IS_ALLOWED_URI$1
5679
+ } = EXPRESSIONS;
5680
+ /**
5681
+ * We consider the elements and attributes below to be safe. Ideally
5682
+ * don't add any new ones but feel free to remove unwanted ones.
5683
+ */
5684
+ /* allowed element names */
5685
+ let ALLOWED_TAGS = null;
5686
+ const DEFAULT_ALLOWED_TAGS = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);
5687
+ /* Allowed attribute names */
5688
+ let ALLOWED_ATTR = null;
5689
+ const DEFAULT_ALLOWED_ATTR = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);
5690
+ /*
5691
+ * Configure how DOMPurify should handle custom elements and their attributes as well as customized built-in elements.
5692
+ * @property {RegExp|Function|null} tagNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any custom elements)
5693
+ * @property {RegExp|Function|null} attributeNameCheck one of [null, regexPattern, predicate]. Default: `null` (disallow any attributes not on the allow list)
5694
+ * @property {boolean} allowCustomizedBuiltInElements allow custom elements derived from built-ins if they pass CUSTOM_ELEMENT_HANDLING.tagNameCheck. Default: `false`.
5695
+ */
5696
+ let CUSTOM_ELEMENT_HANDLING = Object.seal(create(null, {
5697
+ tagNameCheck: {
5698
+ writable: true,
5699
+ configurable: false,
5700
+ enumerable: true,
5701
+ value: null
5702
+ },
5703
+ attributeNameCheck: {
5704
+ writable: true,
5705
+ configurable: false,
5706
+ enumerable: true,
5707
+ value: null
5708
+ },
5709
+ allowCustomizedBuiltInElements: {
5710
+ writable: true,
5711
+ configurable: false,
5712
+ enumerable: true,
5713
+ value: false
5714
+ }
5715
+ }));
5716
+ /* Explicitly forbidden tags (overrides ALLOWED_TAGS/ADD_TAGS) */
5717
+ let FORBID_TAGS = null;
5718
+ /* Explicitly forbidden attributes (overrides ALLOWED_ATTR/ADD_ATTR) */
5719
+ let FORBID_ATTR = null;
5720
+ /* Decide if ARIA attributes are okay */
5721
+ let ALLOW_ARIA_ATTR = true;
5722
+ /* Decide if custom data attributes are okay */
5723
+ let ALLOW_DATA_ATTR = true;
5724
+ /* Decide if unknown protocols are okay */
5725
+ let ALLOW_UNKNOWN_PROTOCOLS = false;
5726
+ /* Decide if self-closing tags in attributes are allowed.
5727
+ * Usually removed due to a mXSS issue in jQuery 3.0 */
5728
+ let ALLOW_SELF_CLOSE_IN_ATTR = true;
5729
+ /* Output should be safe for common template engines.
5730
+ * This means, DOMPurify removes data attributes, mustaches and ERB
5731
+ */
5732
+ let SAFE_FOR_TEMPLATES = false;
5733
+ /* Output should be safe even for XML used within HTML and alike.
5734
+ * This means, DOMPurify removes comments when containing risky content.
5735
+ */
5736
+ let SAFE_FOR_XML = true;
5737
+ /* Decide if document with <html>... should be returned */
5738
+ let WHOLE_DOCUMENT = false;
5739
+ /* Track whether config is already set on this instance of DOMPurify. */
5740
+ let SET_CONFIG = false;
5741
+ /* Decide if all elements (e.g. style, script) must be children of
5742
+ * document.body. By default, browsers might move them to document.head */
5743
+ let FORCE_BODY = false;
5744
+ /* Decide if a DOM `HTMLBodyElement` should be returned, instead of a html
5745
+ * string (or a TrustedHTML object if Trusted Types are supported).
5746
+ * If `WHOLE_DOCUMENT` is enabled a `HTMLHtmlElement` will be returned instead
5747
+ */
5748
+ let RETURN_DOM = false;
5749
+ /* Decide if a DOM `DocumentFragment` should be returned, instead of a html
5750
+ * string (or a TrustedHTML object if Trusted Types are supported) */
5751
+ let RETURN_DOM_FRAGMENT = false;
5752
+ /* Try to return a Trusted Type object instead of a string, return a string in
5753
+ * case Trusted Types are not supported */
5754
+ let RETURN_TRUSTED_TYPE = false;
5755
+ /* Output should be free from DOM clobbering attacks?
5756
+ * This sanitizes markups named with colliding, clobberable built-in DOM APIs.
5757
+ */
5758
+ let SANITIZE_DOM = true;
5759
+ /* Achieve full DOM Clobbering protection by isolating the namespace of named
5760
+ * properties and JS variables, mitigating attacks that abuse the HTML/DOM spec rules.
5761
+ *
5762
+ * HTML/DOM spec rules that enable DOM Clobbering:
5763
+ * - Named Access on Window (§7.3.3)
5764
+ * - DOM Tree Accessors (§3.1.5)
5765
+ * - Form Element Parent-Child Relations (§4.10.3)
5766
+ * - Iframe srcdoc / Nested WindowProxies (§4.8.5)
5767
+ * - HTMLCollection (§4.2.10.2)
5768
+ *
5769
+ * Namespace isolation is implemented by prefixing `id` and `name` attributes
5770
+ * with a constant string, i.e., `user-content-`
5771
+ */
5772
+ let SANITIZE_NAMED_PROPS = false;
5773
+ const SANITIZE_NAMED_PROPS_PREFIX = 'user-content-';
5774
+ /* Keep element content when removing element? */
5775
+ let KEEP_CONTENT = true;
5776
+ /* If a `Node` is passed to sanitize(), then performs sanitization in-place instead
5777
+ * of importing it into a new Document and returning a sanitized copy */
5778
+ let IN_PLACE = false;
5779
+ /* Allow usage of profiles like html, svg and mathMl */
5780
+ let USE_PROFILES = {};
5781
+ /* Tags to ignore content of when KEEP_CONTENT is true */
5782
+ let FORBID_CONTENTS = null;
5783
+ const DEFAULT_FORBID_CONTENTS = addToSet({}, ['annotation-xml', 'audio', 'colgroup', 'desc', 'foreignobject', 'head', 'iframe', 'math', 'mi', 'mn', 'mo', 'ms', 'mtext', 'noembed', 'noframes', 'noscript', 'plaintext', 'script', 'style', 'svg', 'template', 'thead', 'title', 'video', 'xmp']);
5784
+ /* Tags that are safe for data: URIs */
5785
+ let DATA_URI_TAGS = null;
5786
+ const DEFAULT_DATA_URI_TAGS = addToSet({}, ['audio', 'video', 'img', 'source', 'image', 'track']);
5787
+ /* Attributes safe for values like "javascript:" */
5788
+ let URI_SAFE_ATTRIBUTES = null;
5789
+ const DEFAULT_URI_SAFE_ATTRIBUTES = addToSet({}, ['alt', 'class', 'for', 'id', 'label', 'name', 'pattern', 'placeholder', 'role', 'summary', 'title', 'value', 'style', 'xmlns']);
5790
+ const MATHML_NAMESPACE = 'http://www.w3.org/1998/Math/MathML';
5791
+ const SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
5792
+ const HTML_NAMESPACE = 'http://www.w3.org/1999/xhtml';
5793
+ /* Document namespace */
5794
+ let NAMESPACE = HTML_NAMESPACE;
5795
+ let IS_EMPTY_INPUT = false;
5796
+ /* Allowed XHTML+XML namespaces */
5797
+ let ALLOWED_NAMESPACES = null;
5798
+ const DEFAULT_ALLOWED_NAMESPACES = addToSet({}, [MATHML_NAMESPACE, SVG_NAMESPACE, HTML_NAMESPACE], stringToString);
5799
+ let MATHML_TEXT_INTEGRATION_POINTS = addToSet({}, ['mi', 'mo', 'mn', 'ms', 'mtext']);
5800
+ let HTML_INTEGRATION_POINTS = addToSet({}, ['annotation-xml']);
5801
+ // Certain elements are allowed in both SVG and HTML
5802
+ // namespace. We need to specify them explicitly
5803
+ // so that they don't get erroneously deleted from
5804
+ // HTML namespace.
5805
+ const COMMON_SVG_AND_HTML_ELEMENTS = addToSet({}, ['title', 'style', 'font', 'a', 'script']);
5806
+ /* Parsing of strict XHTML documents */
5807
+ let PARSER_MEDIA_TYPE = null;
5808
+ const SUPPORTED_PARSER_MEDIA_TYPES = ['application/xhtml+xml', 'text/html'];
5809
+ const DEFAULT_PARSER_MEDIA_TYPE = 'text/html';
5810
+ let transformCaseFunc = null;
5811
+ /* Keep a reference to config to pass to hooks */
5812
+ let CONFIG = null;
5813
+ /* Ideally, do not touch anything below this line */
5814
+ /* ______________________________________________ */
5815
+ const formElement = document.createElement('form');
5816
+ const isRegexOrFunction = function isRegexOrFunction(testValue) {
5817
+ return testValue instanceof RegExp || testValue instanceof Function;
5818
+ };
5819
+ /**
5820
+ * _parseConfig
5821
+ *
5822
+ * @param cfg optional config literal
5823
+ */
5824
+ // eslint-disable-next-line complexity
5825
+ const _parseConfig = function _parseConfig() {
5826
+ let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
5827
+ if (CONFIG && CONFIG === cfg) {
5828
+ return;
5829
+ }
5830
+ /* Shield configuration object from tampering */
5831
+ if (!cfg || typeof cfg !== 'object') {
5832
+ cfg = {};
5833
+ }
5834
+ /* Shield configuration object from prototype pollution */
5835
+ cfg = clone$1(cfg);
5836
+ PARSER_MEDIA_TYPE =
5837
+ // eslint-disable-next-line unicorn/prefer-includes
5838
+ SUPPORTED_PARSER_MEDIA_TYPES.indexOf(cfg.PARSER_MEDIA_TYPE) === -1 ? DEFAULT_PARSER_MEDIA_TYPE : cfg.PARSER_MEDIA_TYPE;
5839
+ // HTML tags and attributes are not case-sensitive, converting to lowercase. Keeping XHTML as is.
5840
+ transformCaseFunc = PARSER_MEDIA_TYPE === 'application/xhtml+xml' ? stringToString : stringToLowerCase;
5841
+ /* Set configuration parameters */
5842
+ ALLOWED_TAGS = objectHasOwnProperty(cfg, 'ALLOWED_TAGS') ? addToSet({}, cfg.ALLOWED_TAGS, transformCaseFunc) : DEFAULT_ALLOWED_TAGS;
5843
+ ALLOWED_ATTR = objectHasOwnProperty(cfg, 'ALLOWED_ATTR') ? addToSet({}, cfg.ALLOWED_ATTR, transformCaseFunc) : DEFAULT_ALLOWED_ATTR;
5844
+ ALLOWED_NAMESPACES = objectHasOwnProperty(cfg, 'ALLOWED_NAMESPACES') ? addToSet({}, cfg.ALLOWED_NAMESPACES, stringToString) : DEFAULT_ALLOWED_NAMESPACES;
5845
+ URI_SAFE_ATTRIBUTES = objectHasOwnProperty(cfg, 'ADD_URI_SAFE_ATTR') ? addToSet(clone$1(DEFAULT_URI_SAFE_ATTRIBUTES), cfg.ADD_URI_SAFE_ATTR, transformCaseFunc) : DEFAULT_URI_SAFE_ATTRIBUTES;
5846
+ DATA_URI_TAGS = objectHasOwnProperty(cfg, 'ADD_DATA_URI_TAGS') ? addToSet(clone$1(DEFAULT_DATA_URI_TAGS), cfg.ADD_DATA_URI_TAGS, transformCaseFunc) : DEFAULT_DATA_URI_TAGS;
5847
+ FORBID_CONTENTS = objectHasOwnProperty(cfg, 'FORBID_CONTENTS') ? addToSet({}, cfg.FORBID_CONTENTS, transformCaseFunc) : DEFAULT_FORBID_CONTENTS;
5848
+ FORBID_TAGS = objectHasOwnProperty(cfg, 'FORBID_TAGS') ? addToSet({}, cfg.FORBID_TAGS, transformCaseFunc) : clone$1({});
5849
+ FORBID_ATTR = objectHasOwnProperty(cfg, 'FORBID_ATTR') ? addToSet({}, cfg.FORBID_ATTR, transformCaseFunc) : clone$1({});
5850
+ USE_PROFILES = objectHasOwnProperty(cfg, 'USE_PROFILES') ? cfg.USE_PROFILES : false;
5851
+ ALLOW_ARIA_ATTR = cfg.ALLOW_ARIA_ATTR !== false; // Default true
5852
+ ALLOW_DATA_ATTR = cfg.ALLOW_DATA_ATTR !== false; // Default true
5853
+ ALLOW_UNKNOWN_PROTOCOLS = cfg.ALLOW_UNKNOWN_PROTOCOLS || false; // Default false
5854
+ ALLOW_SELF_CLOSE_IN_ATTR = cfg.ALLOW_SELF_CLOSE_IN_ATTR !== false; // Default true
5855
+ SAFE_FOR_TEMPLATES = cfg.SAFE_FOR_TEMPLATES || false; // Default false
5856
+ SAFE_FOR_XML = cfg.SAFE_FOR_XML !== false; // Default true
5857
+ WHOLE_DOCUMENT = cfg.WHOLE_DOCUMENT || false; // Default false
5858
+ RETURN_DOM = cfg.RETURN_DOM || false; // Default false
5859
+ RETURN_DOM_FRAGMENT = cfg.RETURN_DOM_FRAGMENT || false; // Default false
5860
+ RETURN_TRUSTED_TYPE = cfg.RETURN_TRUSTED_TYPE || false; // Default false
5861
+ FORCE_BODY = cfg.FORCE_BODY || false; // Default false
5862
+ SANITIZE_DOM = cfg.SANITIZE_DOM !== false; // Default true
5863
+ SANITIZE_NAMED_PROPS = cfg.SANITIZE_NAMED_PROPS || false; // Default false
5864
+ KEEP_CONTENT = cfg.KEEP_CONTENT !== false; // Default true
5865
+ IN_PLACE = cfg.IN_PLACE || false; // Default false
5866
+ IS_ALLOWED_URI$1 = cfg.ALLOWED_URI_REGEXP || IS_ALLOWED_URI;
5867
+ NAMESPACE = cfg.NAMESPACE || HTML_NAMESPACE;
5868
+ MATHML_TEXT_INTEGRATION_POINTS = cfg.MATHML_TEXT_INTEGRATION_POINTS || MATHML_TEXT_INTEGRATION_POINTS;
5869
+ HTML_INTEGRATION_POINTS = cfg.HTML_INTEGRATION_POINTS || HTML_INTEGRATION_POINTS;
5870
+ CUSTOM_ELEMENT_HANDLING = cfg.CUSTOM_ELEMENT_HANDLING || {};
5871
+ if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck)) {
5872
+ CUSTOM_ELEMENT_HANDLING.tagNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.tagNameCheck;
5873
+ }
5874
+ if (cfg.CUSTOM_ELEMENT_HANDLING && isRegexOrFunction(cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)) {
5875
+ CUSTOM_ELEMENT_HANDLING.attributeNameCheck = cfg.CUSTOM_ELEMENT_HANDLING.attributeNameCheck;
5876
+ }
5877
+ if (cfg.CUSTOM_ELEMENT_HANDLING && typeof cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements === 'boolean') {
5878
+ CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements = cfg.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements;
5879
+ }
5880
+ if (SAFE_FOR_TEMPLATES) {
5881
+ ALLOW_DATA_ATTR = false;
5882
+ }
5883
+ if (RETURN_DOM_FRAGMENT) {
5884
+ RETURN_DOM = true;
5885
+ }
5886
+ /* Parse profile info */
5887
+ if (USE_PROFILES) {
5888
+ ALLOWED_TAGS = addToSet({}, text);
5889
+ ALLOWED_ATTR = [];
5890
+ if (USE_PROFILES.html === true) {
5891
+ addToSet(ALLOWED_TAGS, html$1);
5892
+ addToSet(ALLOWED_ATTR, html);
5893
+ }
5894
+ if (USE_PROFILES.svg === true) {
5895
+ addToSet(ALLOWED_TAGS, svg$1);
5896
+ addToSet(ALLOWED_ATTR, svg);
5897
+ addToSet(ALLOWED_ATTR, xml);
5898
+ }
5899
+ if (USE_PROFILES.svgFilters === true) {
5900
+ addToSet(ALLOWED_TAGS, svgFilters);
5901
+ addToSet(ALLOWED_ATTR, svg);
5902
+ addToSet(ALLOWED_ATTR, xml);
5903
+ }
5904
+ if (USE_PROFILES.mathMl === true) {
5905
+ addToSet(ALLOWED_TAGS, mathMl$1);
5906
+ addToSet(ALLOWED_ATTR, mathMl);
5907
+ addToSet(ALLOWED_ATTR, xml);
5908
+ }
5909
+ }
5910
+ /* Merge configuration parameters */
5911
+ if (cfg.ADD_TAGS) {
5912
+ if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
5913
+ ALLOWED_TAGS = clone$1(ALLOWED_TAGS);
5914
+ }
5915
+ addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
5916
+ }
5917
+ if (cfg.ADD_ATTR) {
5918
+ if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
5919
+ ALLOWED_ATTR = clone$1(ALLOWED_ATTR);
5920
+ }
5921
+ addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
5922
+ }
5923
+ if (cfg.ADD_URI_SAFE_ATTR) {
5924
+ addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
5925
+ }
5926
+ if (cfg.FORBID_CONTENTS) {
5927
+ if (FORBID_CONTENTS === DEFAULT_FORBID_CONTENTS) {
5928
+ FORBID_CONTENTS = clone$1(FORBID_CONTENTS);
5929
+ }
5930
+ addToSet(FORBID_CONTENTS, cfg.FORBID_CONTENTS, transformCaseFunc);
5931
+ }
5932
+ /* Add #text in case KEEP_CONTENT is set to true */
5933
+ if (KEEP_CONTENT) {
5934
+ ALLOWED_TAGS['#text'] = true;
5935
+ }
5936
+ /* Add html, head and body to ALLOWED_TAGS in case WHOLE_DOCUMENT is true */
5937
+ if (WHOLE_DOCUMENT) {
5938
+ addToSet(ALLOWED_TAGS, ['html', 'head', 'body']);
5939
+ }
5940
+ /* Add tbody to ALLOWED_TAGS in case tables are permitted, see #286, #365 */
5941
+ if (ALLOWED_TAGS.table) {
5942
+ addToSet(ALLOWED_TAGS, ['tbody']);
5943
+ delete FORBID_TAGS.tbody;
5944
+ }
5945
+ if (cfg.TRUSTED_TYPES_POLICY) {
5946
+ if (typeof cfg.TRUSTED_TYPES_POLICY.createHTML !== 'function') {
5947
+ throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
5948
+ }
5949
+ if (typeof cfg.TRUSTED_TYPES_POLICY.createScriptURL !== 'function') {
5950
+ throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
5951
+ }
5952
+ // Overwrite existing TrustedTypes policy.
5953
+ trustedTypesPolicy = cfg.TRUSTED_TYPES_POLICY;
5954
+ // Sign local variables required by `sanitize`.
5955
+ emptyHTML = trustedTypesPolicy.createHTML('');
5956
+ } else {
5957
+ // Uninitialized policy, attempt to initialize the internal dompurify policy.
5958
+ if (trustedTypesPolicy === undefined) {
5959
+ trustedTypesPolicy = _createTrustedTypesPolicy(trustedTypes, currentScript);
5960
+ }
5961
+ // If creating the internal policy succeeded sign internal variables.
5962
+ if (trustedTypesPolicy !== null && typeof emptyHTML === 'string') {
5963
+ emptyHTML = trustedTypesPolicy.createHTML('');
5964
+ }
5965
+ }
5966
+ // Prevent further manipulation of configuration.
5967
+ // Not available in IE8, Safari 5, etc.
5968
+ if (freeze) {
5969
+ freeze(cfg);
5970
+ }
5971
+ CONFIG = cfg;
5972
+ };
5973
+ /* Keep track of all possible SVG and MathML tags
5974
+ * so that we can perform the namespace checks
5975
+ * correctly. */
5976
+ const ALL_SVG_TAGS = addToSet({}, [...svg$1, ...svgFilters, ...svgDisallowed]);
5977
+ const ALL_MATHML_TAGS = addToSet({}, [...mathMl$1, ...mathMlDisallowed]);
5978
+ /**
5979
+ * @param element a DOM element whose namespace is being checked
5980
+ * @returns Return false if the element has a
5981
+ * namespace that a spec-compliant parser would never
5982
+ * return. Return true otherwise.
5983
+ */
5984
+ const _checkValidNamespace = function _checkValidNamespace(element) {
5985
+ let parent = getParentNode(element);
5986
+ // In JSDOM, if we're inside shadow DOM, then parentNode
5987
+ // can be null. We just simulate parent in this case.
5988
+ if (!parent || !parent.tagName) {
5989
+ parent = {
5990
+ namespaceURI: NAMESPACE,
5991
+ tagName: 'template'
5992
+ };
5993
+ }
5994
+ const tagName = stringToLowerCase(element.tagName);
5995
+ const parentTagName = stringToLowerCase(parent.tagName);
5996
+ if (!ALLOWED_NAMESPACES[element.namespaceURI]) {
5997
+ return false;
5998
+ }
5999
+ if (element.namespaceURI === SVG_NAMESPACE) {
6000
+ // The only way to switch from HTML namespace to SVG
6001
+ // is via <svg>. If it happens via any other tag, then
6002
+ // it should be killed.
6003
+ if (parent.namespaceURI === HTML_NAMESPACE) {
6004
+ return tagName === 'svg';
6005
+ }
6006
+ // The only way to switch from MathML to SVG is via`
6007
+ // svg if parent is either <annotation-xml> or MathML
6008
+ // text integration points.
6009
+ if (parent.namespaceURI === MATHML_NAMESPACE) {
6010
+ return tagName === 'svg' && (parentTagName === 'annotation-xml' || MATHML_TEXT_INTEGRATION_POINTS[parentTagName]);
6011
+ }
6012
+ // We only allow elements that are defined in SVG
6013
+ // spec. All others are disallowed in SVG namespace.
6014
+ return Boolean(ALL_SVG_TAGS[tagName]);
6015
+ }
6016
+ if (element.namespaceURI === MATHML_NAMESPACE) {
6017
+ // The only way to switch from HTML namespace to MathML
6018
+ // is via <math>. If it happens via any other tag, then
6019
+ // it should be killed.
6020
+ if (parent.namespaceURI === HTML_NAMESPACE) {
6021
+ return tagName === 'math';
6022
+ }
6023
+ // The only way to switch from SVG to MathML is via
6024
+ // <math> and HTML integration points
6025
+ if (parent.namespaceURI === SVG_NAMESPACE) {
6026
+ return tagName === 'math' && HTML_INTEGRATION_POINTS[parentTagName];
6027
+ }
6028
+ // We only allow elements that are defined in MathML
6029
+ // spec. All others are disallowed in MathML namespace.
6030
+ return Boolean(ALL_MATHML_TAGS[tagName]);
6031
+ }
6032
+ if (element.namespaceURI === HTML_NAMESPACE) {
6033
+ // The only way to switch from SVG to HTML is via
6034
+ // HTML integration points, and from MathML to HTML
6035
+ // is via MathML text integration points
6036
+ if (parent.namespaceURI === SVG_NAMESPACE && !HTML_INTEGRATION_POINTS[parentTagName]) {
6037
+ return false;
6038
+ }
6039
+ if (parent.namespaceURI === MATHML_NAMESPACE && !MATHML_TEXT_INTEGRATION_POINTS[parentTagName]) {
6040
+ return false;
6041
+ }
6042
+ // We disallow tags that are specific for MathML
6043
+ // or SVG and should never appear in HTML namespace
6044
+ return !ALL_MATHML_TAGS[tagName] && (COMMON_SVG_AND_HTML_ELEMENTS[tagName] || !ALL_SVG_TAGS[tagName]);
6045
+ }
6046
+ // For XHTML and XML documents that support custom namespaces
6047
+ if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && ALLOWED_NAMESPACES[element.namespaceURI]) {
6048
+ return true;
6049
+ }
6050
+ // The code should never reach this place (this means
6051
+ // that the element somehow got namespace that is not
6052
+ // HTML, SVG, MathML or allowed via ALLOWED_NAMESPACES).
6053
+ // Return false just in case.
6054
+ return false;
6055
+ };
6056
+ /**
6057
+ * _forceRemove
6058
+ *
6059
+ * @param node a DOM node
6060
+ */
6061
+ const _forceRemove = function _forceRemove(node) {
6062
+ arrayPush(DOMPurify.removed, {
6063
+ element: node
6064
+ });
6065
+ try {
6066
+ // eslint-disable-next-line unicorn/prefer-dom-node-remove
6067
+ getParentNode(node).removeChild(node);
6068
+ } catch (_) {
6069
+ remove(node);
6070
+ }
6071
+ };
6072
+ /**
6073
+ * _removeAttribute
6074
+ *
6075
+ * @param name an Attribute name
6076
+ * @param element a DOM node
6077
+ */
6078
+ const _removeAttribute = function _removeAttribute(name, element) {
6079
+ try {
6080
+ arrayPush(DOMPurify.removed, {
6081
+ attribute: element.getAttributeNode(name),
6082
+ from: element
6083
+ });
6084
+ } catch (_) {
6085
+ arrayPush(DOMPurify.removed, {
6086
+ attribute: null,
6087
+ from: element
6088
+ });
6089
+ }
6090
+ element.removeAttribute(name);
6091
+ // We void attribute values for unremovable "is" attributes
6092
+ if (name === 'is') {
6093
+ if (RETURN_DOM || RETURN_DOM_FRAGMENT) {
6094
+ try {
6095
+ _forceRemove(element);
6096
+ } catch (_) {}
6097
+ } else {
6098
+ try {
6099
+ element.setAttribute(name, '');
6100
+ } catch (_) {}
6101
+ }
6102
+ }
6103
+ };
6104
+ /**
6105
+ * _initDocument
6106
+ *
6107
+ * @param dirty - a string of dirty markup
6108
+ * @return a DOM, filled with the dirty markup
6109
+ */
6110
+ const _initDocument = function _initDocument(dirty) {
6111
+ /* Create a HTML document */
6112
+ let doc = null;
6113
+ let leadingWhitespace = null;
6114
+ if (FORCE_BODY) {
6115
+ dirty = '<remove></remove>' + dirty;
6116
+ } else {
6117
+ /* If FORCE_BODY isn't used, leading whitespace needs to be preserved manually */
6118
+ const matches = stringMatch(dirty, /^[\r\n\t ]+/);
6119
+ leadingWhitespace = matches && matches[0];
6120
+ }
6121
+ if (PARSER_MEDIA_TYPE === 'application/xhtml+xml' && NAMESPACE === HTML_NAMESPACE) {
6122
+ // Root of XHTML doc must contain xmlns declaration (see https://www.w3.org/TR/xhtml1/normative.html#strict)
6123
+ dirty = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + dirty + '</body></html>';
6124
+ }
6125
+ const dirtyPayload = trustedTypesPolicy ? trustedTypesPolicy.createHTML(dirty) : dirty;
6126
+ /*
6127
+ * Use the DOMParser API by default, fallback later if needs be
6128
+ * DOMParser not work for svg when has multiple root element.
6129
+ */
6130
+ if (NAMESPACE === HTML_NAMESPACE) {
6131
+ try {
6132
+ doc = new DOMParser().parseFromString(dirtyPayload, PARSER_MEDIA_TYPE);
6133
+ } catch (_) {}
6134
+ }
6135
+ /* Use createHTMLDocument in case DOMParser is not available */
6136
+ if (!doc || !doc.documentElement) {
6137
+ doc = implementation.createDocument(NAMESPACE, 'template', null);
6138
+ try {
6139
+ doc.documentElement.innerHTML = IS_EMPTY_INPUT ? emptyHTML : dirtyPayload;
6140
+ } catch (_) {
6141
+ // Syntax error if dirtyPayload is invalid xml
6142
+ }
6143
+ }
6144
+ const body = doc.body || doc.documentElement;
6145
+ if (dirty && leadingWhitespace) {
6146
+ body.insertBefore(document.createTextNode(leadingWhitespace), body.childNodes[0] || null);
6147
+ }
6148
+ /* Work on whole document or just its body */
6149
+ if (NAMESPACE === HTML_NAMESPACE) {
6150
+ return getElementsByTagName.call(doc, WHOLE_DOCUMENT ? 'html' : 'body')[0];
6151
+ }
6152
+ return WHOLE_DOCUMENT ? doc.documentElement : body;
6153
+ };
6154
+ /**
6155
+ * Creates a NodeIterator object that you can use to traverse filtered lists of nodes or elements in a document.
6156
+ *
6157
+ * @param root The root element or node to start traversing on.
6158
+ * @return The created NodeIterator
6159
+ */
6160
+ const _createNodeIterator = function _createNodeIterator(root) {
6161
+ return createNodeIterator.call(root.ownerDocument || root, root,
6162
+ // eslint-disable-next-line no-bitwise
6163
+ NodeFilter.SHOW_ELEMENT | NodeFilter.SHOW_COMMENT | NodeFilter.SHOW_TEXT | NodeFilter.SHOW_PROCESSING_INSTRUCTION | NodeFilter.SHOW_CDATA_SECTION, null);
6164
+ };
6165
+ /**
6166
+ * _isClobbered
6167
+ *
6168
+ * @param element element to check for clobbering attacks
6169
+ * @return true if clobbered, false if safe
6170
+ */
6171
+ const _isClobbered = function _isClobbered(element) {
6172
+ return element instanceof HTMLFormElement && (typeof element.nodeName !== 'string' || typeof element.textContent !== 'string' || typeof element.removeChild !== 'function' || !(element.attributes instanceof NamedNodeMap) || typeof element.removeAttribute !== 'function' || typeof element.setAttribute !== 'function' || typeof element.namespaceURI !== 'string' || typeof element.insertBefore !== 'function' || typeof element.hasChildNodes !== 'function');
6173
+ };
6174
+ /**
6175
+ * Checks whether the given object is a DOM node.
6176
+ *
6177
+ * @param value object to check whether it's a DOM node
6178
+ * @return true is object is a DOM node
6179
+ */
6180
+ const _isNode = function _isNode(value) {
6181
+ return typeof Node === 'function' && value instanceof Node;
6182
+ };
6183
+ function _executeHooks(hooks, currentNode, data) {
6184
+ arrayForEach(hooks, hook => {
6185
+ hook.call(DOMPurify, currentNode, data, CONFIG);
6186
+ });
6187
+ }
6188
+ /**
6189
+ * _sanitizeElements
6190
+ *
6191
+ * @protect nodeName
6192
+ * @protect textContent
6193
+ * @protect removeChild
6194
+ * @param currentNode to check for permission to exist
6195
+ * @return true if node was killed, false if left alive
6196
+ */
6197
+ const _sanitizeElements = function _sanitizeElements(currentNode) {
6198
+ let content = null;
6199
+ /* Execute a hook if present */
6200
+ _executeHooks(hooks.beforeSanitizeElements, currentNode, null);
6201
+ /* Check if element is clobbered or can clobber */
6202
+ if (_isClobbered(currentNode)) {
6203
+ _forceRemove(currentNode);
6204
+ return true;
6205
+ }
6206
+ /* Now let's check the element's type and name */
6207
+ const tagName = transformCaseFunc(currentNode.nodeName);
6208
+ /* Execute a hook if present */
6209
+ _executeHooks(hooks.uponSanitizeElement, currentNode, {
6210
+ tagName,
6211
+ allowedTags: ALLOWED_TAGS
6212
+ });
6213
+ /* Detect mXSS attempts abusing namespace confusion */
6214
+ if (SAFE_FOR_XML && currentNode.hasChildNodes() && !_isNode(currentNode.firstElementChild) && regExpTest(/<[/\w!]/g, currentNode.innerHTML) && regExpTest(/<[/\w!]/g, currentNode.textContent)) {
6215
+ _forceRemove(currentNode);
6216
+ return true;
6217
+ }
6218
+ /* Remove any occurrence of processing instructions */
6219
+ if (currentNode.nodeType === NODE_TYPE.progressingInstruction) {
6220
+ _forceRemove(currentNode);
6221
+ return true;
6222
+ }
6223
+ /* Remove any kind of possibly harmful comments */
6224
+ if (SAFE_FOR_XML && currentNode.nodeType === NODE_TYPE.comment && regExpTest(/<[/\w]/g, currentNode.data)) {
6225
+ _forceRemove(currentNode);
6226
+ return true;
6227
+ }
6228
+ /* Remove element if anything forbids its presence */
6229
+ if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
6230
+ /* Check if we have a custom element to handle */
6231
+ if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
6232
+ if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
6233
+ return false;
6234
+ }
6235
+ if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(tagName)) {
6236
+ return false;
6237
+ }
6238
+ }
6239
+ /* Keep content except for bad-listed elements */
6240
+ if (KEEP_CONTENT && !FORBID_CONTENTS[tagName]) {
6241
+ const parentNode = getParentNode(currentNode) || currentNode.parentNode;
6242
+ const childNodes = getChildNodes(currentNode) || currentNode.childNodes;
6243
+ if (childNodes && parentNode) {
6244
+ const childCount = childNodes.length;
6245
+ for (let i = childCount - 1; i >= 0; --i) {
6246
+ const childClone = cloneNode(childNodes[i], true);
6247
+ childClone.__removalCount = (currentNode.__removalCount || 0) + 1;
6248
+ parentNode.insertBefore(childClone, getNextSibling(currentNode));
6249
+ }
6250
+ }
6251
+ }
6252
+ _forceRemove(currentNode);
6253
+ return true;
6254
+ }
6255
+ /* Check whether element has a valid namespace */
6256
+ if (currentNode instanceof Element && !_checkValidNamespace(currentNode)) {
6257
+ _forceRemove(currentNode);
6258
+ return true;
6259
+ }
6260
+ /* Make sure that older browsers don't get fallback-tag mXSS */
6261
+ if ((tagName === 'noscript' || tagName === 'noembed' || tagName === 'noframes') && regExpTest(/<\/no(script|embed|frames)/i, currentNode.innerHTML)) {
6262
+ _forceRemove(currentNode);
6263
+ return true;
6264
+ }
6265
+ /* Sanitize element content to be template-safe */
6266
+ if (SAFE_FOR_TEMPLATES && currentNode.nodeType === NODE_TYPE.text) {
6267
+ /* Get the element's text content */
6268
+ content = currentNode.textContent;
6269
+ arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
6270
+ content = stringReplace(content, expr, ' ');
6271
+ });
6272
+ if (currentNode.textContent !== content) {
6273
+ arrayPush(DOMPurify.removed, {
6274
+ element: currentNode.cloneNode()
6275
+ });
6276
+ currentNode.textContent = content;
6277
+ }
6278
+ }
6279
+ /* Execute a hook if present */
6280
+ _executeHooks(hooks.afterSanitizeElements, currentNode, null);
6281
+ return false;
6282
+ };
6283
+ /**
6284
+ * _isValidAttribute
6285
+ *
6286
+ * @param lcTag Lowercase tag name of containing element.
6287
+ * @param lcName Lowercase attribute name.
6288
+ * @param value Attribute value.
6289
+ * @return Returns true if `value` is valid, otherwise false.
6290
+ */
6291
+ // eslint-disable-next-line complexity
6292
+ const _isValidAttribute = function _isValidAttribute(lcTag, lcName, value) {
6293
+ /* Make sure attribute cannot clobber */
6294
+ if (SANITIZE_DOM && (lcName === 'id' || lcName === 'name') && (value in document || value in formElement)) {
6295
+ return false;
6296
+ }
6297
+ /* Allow valid data-* attributes: At least one character after "-"
6298
+ (https://html.spec.whatwg.org/multipage/dom.html#embedding-custom-non-visible-data-with-the-data-*-attributes)
6299
+ XML-compatible (https://html.spec.whatwg.org/multipage/infrastructure.html#xml-compatible and http://www.w3.org/TR/xml/#d0e804)
6300
+ We don't need to check the value; it's always URI safe. */
6301
+ if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR, lcName)) ; else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR, lcName)) ; else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
6302
+ if (
6303
+ // First condition does a very basic check if a) it's basically a valid custom element tagname AND
6304
+ // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
6305
+ // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
6306
+ _isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) ||
6307
+ // Alternative, second condition checks if it's an `is`-attribute, AND
6308
+ // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
6309
+ lcName === 'is' && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))) ; else {
6310
+ return false;
6311
+ }
6312
+ /* Check value is safe. First, is attr inert? If so, is safe */
6313
+ } else if (URI_SAFE_ATTRIBUTES[lcName]) ; else if (regExpTest(IS_ALLOWED_URI$1, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if ((lcName === 'src' || lcName === 'xlink:href' || lcName === 'href') && lcTag !== 'script' && stringIndexOf(value, 'data:') === 0 && DATA_URI_TAGS[lcTag]) ; else if (ALLOW_UNKNOWN_PROTOCOLS && !regExpTest(IS_SCRIPT_OR_DATA, stringReplace(value, ATTR_WHITESPACE, ''))) ; else if (value) {
6314
+ return false;
6315
+ } else ;
6316
+ return true;
6317
+ };
6318
+ /**
6319
+ * _isBasicCustomElement
6320
+ * checks if at least one dash is included in tagName, and it's not the first char
6321
+ * for more sophisticated checking see https://github.com/sindresorhus/validate-element-name
6322
+ *
6323
+ * @param tagName name of the tag of the node to sanitize
6324
+ * @returns Returns true if the tag name meets the basic criteria for a custom element, otherwise false.
6325
+ */
6326
+ const _isBasicCustomElement = function _isBasicCustomElement(tagName) {
6327
+ return tagName !== 'annotation-xml' && stringMatch(tagName, CUSTOM_ELEMENT);
6328
+ };
6329
+ /**
6330
+ * _sanitizeAttributes
6331
+ *
6332
+ * @protect attributes
6333
+ * @protect nodeName
6334
+ * @protect removeAttribute
6335
+ * @protect setAttribute
6336
+ *
6337
+ * @param currentNode to sanitize
6338
+ */
6339
+ const _sanitizeAttributes = function _sanitizeAttributes(currentNode) {
6340
+ /* Execute a hook if present */
6341
+ _executeHooks(hooks.beforeSanitizeAttributes, currentNode, null);
6342
+ const {
6343
+ attributes
6344
+ } = currentNode;
6345
+ /* Check if we have attributes; if not we might have a text node */
6346
+ if (!attributes || _isClobbered(currentNode)) {
6347
+ return;
6348
+ }
6349
+ const hookEvent = {
6350
+ attrName: '',
6351
+ attrValue: '',
6352
+ keepAttr: true,
6353
+ allowedAttributes: ALLOWED_ATTR,
6354
+ forceKeepAttr: undefined
6355
+ };
6356
+ let l = attributes.length;
6357
+ /* Go backwards over all attributes; safely remove bad ones */
6358
+ while (l--) {
6359
+ const attr = attributes[l];
6360
+ const {
6361
+ name,
6362
+ namespaceURI,
6363
+ value: attrValue
6364
+ } = attr;
6365
+ const lcName = transformCaseFunc(name);
6366
+ const initValue = attrValue;
6367
+ let value = name === 'value' ? initValue : stringTrim(initValue);
6368
+ /* Execute a hook if present */
6369
+ hookEvent.attrName = lcName;
6370
+ hookEvent.attrValue = value;
6371
+ hookEvent.keepAttr = true;
6372
+ hookEvent.forceKeepAttr = undefined; // Allows developers to see this is a property they can set
6373
+ _executeHooks(hooks.uponSanitizeAttribute, currentNode, hookEvent);
6374
+ value = hookEvent.attrValue;
6375
+ /* Full DOM Clobbering protection via namespace isolation,
6376
+ * Prefix id and name attributes with `user-content-`
6377
+ */
6378
+ if (SANITIZE_NAMED_PROPS && (lcName === 'id' || lcName === 'name')) {
6379
+ // Remove the attribute with this value
6380
+ _removeAttribute(name, currentNode);
6381
+ // Prefix the value and later re-create the attribute with the sanitized value
6382
+ value = SANITIZE_NAMED_PROPS_PREFIX + value;
6383
+ }
6384
+ /* Work around a security issue with comments inside attributes */
6385
+ if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
6386
+ _removeAttribute(name, currentNode);
6387
+ continue;
6388
+ }
6389
+ /* Did the hooks approve of the attribute? */
6390
+ if (hookEvent.forceKeepAttr) {
6391
+ continue;
6392
+ }
6393
+ /* Did the hooks approve of the attribute? */
6394
+ if (!hookEvent.keepAttr) {
6395
+ _removeAttribute(name, currentNode);
6396
+ continue;
6397
+ }
6398
+ /* Work around a security issue in jQuery 3.0 */
6399
+ if (!ALLOW_SELF_CLOSE_IN_ATTR && regExpTest(/\/>/i, value)) {
6400
+ _removeAttribute(name, currentNode);
6401
+ continue;
6402
+ }
6403
+ /* Sanitize attribute content to be template-safe */
6404
+ if (SAFE_FOR_TEMPLATES) {
6405
+ arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
6406
+ value = stringReplace(value, expr, ' ');
6407
+ });
6408
+ }
6409
+ /* Is `value` valid for this attribute? */
6410
+ const lcTag = transformCaseFunc(currentNode.nodeName);
6411
+ if (!_isValidAttribute(lcTag, lcName, value)) {
6412
+ _removeAttribute(name, currentNode);
6413
+ continue;
6414
+ }
6415
+ /* Handle attributes that require Trusted Types */
6416
+ if (trustedTypesPolicy && typeof trustedTypes === 'object' && typeof trustedTypes.getAttributeType === 'function') {
6417
+ if (namespaceURI) ; else {
6418
+ switch (trustedTypes.getAttributeType(lcTag, lcName)) {
6419
+ case 'TrustedHTML':
6420
+ {
6421
+ value = trustedTypesPolicy.createHTML(value);
6422
+ break;
6423
+ }
6424
+ case 'TrustedScriptURL':
6425
+ {
6426
+ value = trustedTypesPolicy.createScriptURL(value);
6427
+ break;
6428
+ }
6429
+ }
6430
+ }
6431
+ }
6432
+ /* Handle invalid data-* attribute set by try-catching it */
6433
+ if (value !== initValue) {
6434
+ try {
6435
+ if (namespaceURI) {
6436
+ currentNode.setAttributeNS(namespaceURI, name, value);
6437
+ } else {
6438
+ /* Fallback to setAttribute() for browser-unrecognized namespaces e.g. "x-schema". */
6439
+ currentNode.setAttribute(name, value);
6440
+ }
6441
+ if (_isClobbered(currentNode)) {
6442
+ _forceRemove(currentNode);
6443
+ } else {
6444
+ arrayPop(DOMPurify.removed);
6445
+ }
6446
+ } catch (_) {
6447
+ _removeAttribute(name, currentNode);
6448
+ }
6449
+ }
6450
+ }
6451
+ /* Execute a hook if present */
6452
+ _executeHooks(hooks.afterSanitizeAttributes, currentNode, null);
6453
+ };
6454
+ /**
6455
+ * _sanitizeShadowDOM
6456
+ *
6457
+ * @param fragment to iterate over recursively
6458
+ */
6459
+ const _sanitizeShadowDOM = function _sanitizeShadowDOM(fragment) {
6460
+ let shadowNode = null;
6461
+ const shadowIterator = _createNodeIterator(fragment);
6462
+ /* Execute a hook if present */
6463
+ _executeHooks(hooks.beforeSanitizeShadowDOM, fragment, null);
6464
+ while (shadowNode = shadowIterator.nextNode()) {
6465
+ /* Execute a hook if present */
6466
+ _executeHooks(hooks.uponSanitizeShadowNode, shadowNode, null);
6467
+ /* Sanitize tags and elements */
6468
+ _sanitizeElements(shadowNode);
6469
+ /* Check attributes next */
6470
+ _sanitizeAttributes(shadowNode);
6471
+ /* Deep shadow DOM detected */
6472
+ if (shadowNode.content instanceof DocumentFragment) {
6473
+ _sanitizeShadowDOM(shadowNode.content);
6474
+ }
6475
+ }
6476
+ /* Execute a hook if present */
6477
+ _executeHooks(hooks.afterSanitizeShadowDOM, fragment, null);
6478
+ };
6479
+ // eslint-disable-next-line complexity
6480
+ DOMPurify.sanitize = function (dirty) {
6481
+ let cfg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
6482
+ let body = null;
6483
+ let importedNode = null;
6484
+ let currentNode = null;
6485
+ let returnNode = null;
6486
+ /* Make sure we have a string to sanitize.
6487
+ DO NOT return early, as this will return the wrong type if
6488
+ the user has requested a DOM object rather than a string */
6489
+ IS_EMPTY_INPUT = !dirty;
6490
+ if (IS_EMPTY_INPUT) {
6491
+ dirty = '<!-->';
6492
+ }
6493
+ /* Stringify, in case dirty is an object */
6494
+ if (typeof dirty !== 'string' && !_isNode(dirty)) {
6495
+ if (typeof dirty.toString === 'function') {
6496
+ dirty = dirty.toString();
6497
+ if (typeof dirty !== 'string') {
6498
+ throw typeErrorCreate('dirty is not a string, aborting');
6499
+ }
6500
+ } else {
6501
+ throw typeErrorCreate('toString is not a function');
6502
+ }
6503
+ }
6504
+ /* Return dirty HTML if DOMPurify cannot run */
6505
+ if (!DOMPurify.isSupported) {
6506
+ return dirty;
6507
+ }
6508
+ /* Assign config vars */
6509
+ if (!SET_CONFIG) {
6510
+ _parseConfig(cfg);
6511
+ }
6512
+ /* Clean up removed elements */
6513
+ DOMPurify.removed = [];
6514
+ /* Check if dirty is correctly typed for IN_PLACE */
6515
+ if (typeof dirty === 'string') {
6516
+ IN_PLACE = false;
6517
+ }
6518
+ if (IN_PLACE) {
6519
+ /* Do some early pre-sanitization to avoid unsafe root nodes */
6520
+ if (dirty.nodeName) {
6521
+ const tagName = transformCaseFunc(dirty.nodeName);
6522
+ if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
6523
+ throw typeErrorCreate('root node is forbidden and cannot be sanitized in-place');
6524
+ }
6525
+ }
6526
+ } else if (dirty instanceof Node) {
6527
+ /* If dirty is a DOM element, append to an empty document to avoid
6528
+ elements being stripped by the parser */
6529
+ body = _initDocument('<!---->');
6530
+ importedNode = body.ownerDocument.importNode(dirty, true);
6531
+ if (importedNode.nodeType === NODE_TYPE.element && importedNode.nodeName === 'BODY') {
6532
+ /* Node is already a body, use as is */
6533
+ body = importedNode;
6534
+ } else if (importedNode.nodeName === 'HTML') {
6535
+ body = importedNode;
6536
+ } else {
6537
+ // eslint-disable-next-line unicorn/prefer-dom-node-append
6538
+ body.appendChild(importedNode);
6539
+ }
6540
+ } else {
6541
+ /* Exit directly if we have nothing to do */
6542
+ if (!RETURN_DOM && !SAFE_FOR_TEMPLATES && !WHOLE_DOCUMENT &&
6543
+ // eslint-disable-next-line unicorn/prefer-includes
6544
+ dirty.indexOf('<') === -1) {
6545
+ return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(dirty) : dirty;
6546
+ }
6547
+ /* Initialize the document to work on */
6548
+ body = _initDocument(dirty);
6549
+ /* Check we have a DOM node from the data */
6550
+ if (!body) {
6551
+ return RETURN_DOM ? null : RETURN_TRUSTED_TYPE ? emptyHTML : '';
6552
+ }
6553
+ }
6554
+ /* Remove first element node (ours) if FORCE_BODY is set */
6555
+ if (body && FORCE_BODY) {
6556
+ _forceRemove(body.firstChild);
6557
+ }
6558
+ /* Get node iterator */
6559
+ const nodeIterator = _createNodeIterator(IN_PLACE ? dirty : body);
6560
+ /* Now start iterating over the created document */
6561
+ while (currentNode = nodeIterator.nextNode()) {
6562
+ /* Sanitize tags and elements */
6563
+ _sanitizeElements(currentNode);
6564
+ /* Check attributes next */
6565
+ _sanitizeAttributes(currentNode);
6566
+ /* Shadow DOM detected, sanitize it */
6567
+ if (currentNode.content instanceof DocumentFragment) {
6568
+ _sanitizeShadowDOM(currentNode.content);
6569
+ }
6570
+ }
6571
+ /* If we sanitized `dirty` in-place, return it. */
6572
+ if (IN_PLACE) {
6573
+ return dirty;
6574
+ }
6575
+ /* Return sanitized string or DOM */
6576
+ if (RETURN_DOM) {
6577
+ if (RETURN_DOM_FRAGMENT) {
6578
+ returnNode = createDocumentFragment.call(body.ownerDocument);
6579
+ while (body.firstChild) {
6580
+ // eslint-disable-next-line unicorn/prefer-dom-node-append
6581
+ returnNode.appendChild(body.firstChild);
6582
+ }
6583
+ } else {
6584
+ returnNode = body;
6585
+ }
6586
+ if (ALLOWED_ATTR.shadowroot || ALLOWED_ATTR.shadowrootmode) {
6587
+ /*
6588
+ AdoptNode() is not used because internal state is not reset
6589
+ (e.g. the past names map of a HTMLFormElement), this is safe
6590
+ in theory but we would rather not risk another attack vector.
6591
+ The state that is cloned by importNode() is explicitly defined
6592
+ by the specs.
6593
+ */
6594
+ returnNode = importNode.call(originalDocument, returnNode, true);
6595
+ }
6596
+ return returnNode;
6597
+ }
6598
+ let serializedHTML = WHOLE_DOCUMENT ? body.outerHTML : body.innerHTML;
6599
+ /* Serialize doctype if allowed */
6600
+ if (WHOLE_DOCUMENT && ALLOWED_TAGS['!doctype'] && body.ownerDocument && body.ownerDocument.doctype && body.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, body.ownerDocument.doctype.name)) {
6601
+ serializedHTML = '<!DOCTYPE ' + body.ownerDocument.doctype.name + '>\n' + serializedHTML;
6602
+ }
6603
+ /* Sanitize final string template-safe */
6604
+ if (SAFE_FOR_TEMPLATES) {
6605
+ arrayForEach([MUSTACHE_EXPR, ERB_EXPR, TMPLIT_EXPR], expr => {
6606
+ serializedHTML = stringReplace(serializedHTML, expr, ' ');
6607
+ });
6608
+ }
6609
+ return trustedTypesPolicy && RETURN_TRUSTED_TYPE ? trustedTypesPolicy.createHTML(serializedHTML) : serializedHTML;
6610
+ };
6611
+ DOMPurify.setConfig = function () {
6612
+ let cfg = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
6613
+ _parseConfig(cfg);
6614
+ SET_CONFIG = true;
6615
+ };
6616
+ DOMPurify.clearConfig = function () {
6617
+ CONFIG = null;
6618
+ SET_CONFIG = false;
6619
+ };
6620
+ DOMPurify.isValidAttribute = function (tag, attr, value) {
6621
+ /* Initialize shared config vars if necessary. */
6622
+ if (!CONFIG) {
6623
+ _parseConfig({});
6624
+ }
6625
+ const lcTag = transformCaseFunc(tag);
6626
+ const lcName = transformCaseFunc(attr);
6627
+ return _isValidAttribute(lcTag, lcName, value);
6628
+ };
6629
+ DOMPurify.addHook = function (entryPoint, hookFunction) {
6630
+ if (typeof hookFunction !== 'function') {
6631
+ return;
6632
+ }
6633
+ arrayPush(hooks[entryPoint], hookFunction);
6634
+ };
6635
+ DOMPurify.removeHook = function (entryPoint, hookFunction) {
6636
+ if (hookFunction !== undefined) {
6637
+ const index = arrayLastIndexOf(hooks[entryPoint], hookFunction);
6638
+ return index === -1 ? undefined : arraySplice(hooks[entryPoint], index, 1)[0];
6639
+ }
6640
+ return arrayPop(hooks[entryPoint]);
6641
+ };
6642
+ DOMPurify.removeHooks = function (entryPoint) {
6643
+ hooks[entryPoint] = [];
6644
+ };
6645
+ DOMPurify.removeAllHooks = function () {
6646
+ hooks = _createHooksMap();
6647
+ };
6648
+ return DOMPurify;
6649
+ }
6650
+ var purify = createDOMPurify();
6651
+
6652
+ const pdsComboboxCss = ":host{display:block}.pds-combobox{position:relative}.pds-combobox__label{display:block;font-size:0.95rem;-webkit-margin-after:var(--pine-dimension-150);margin-block-end:var(--pine-dimension-150)}.pds-combobox__input{background:var(--pine-color-background-container);border:1px solid var(--pine-color-border);border-radius:var(--pine-dimension-125);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--pine-color-text-active);-ms-flex:1;flex:1;font:var(--pine-typography-body-medium);padding: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__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:1000}.pds-combobox__option{-ms-flex-align:center;align-items:center;background:transparent;border-radius:var(--pine-dimension-125);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);-webkit-transition:background 0.15s;transition:background 0.15s}.pds-combobox__option[aria-selected=true]{background:var(--pine-color-grey-150)}.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: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-grey-150)}.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__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, #ffffff);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-text-primary);--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-text-primary);--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)}";
6653
+
6654
+ /**
6655
+ * @slot option - Option elements for the combobox dropdown
6656
+ * @slot trigger-content - Custom content for the button trigger when customTriggerContent is true
6657
+ */
6658
+ class PdsCombobox {
6659
+ constructor(hostRef) {
6660
+ registerInstance(this, hostRef);
6661
+ this.pdsComboboxChange = createEvent(this, "pdsComboboxChange");
6662
+ /**
6663
+ * Enable custom layout content for options. Options with data-layout attribute will render their HTML content.
6664
+ * ⚠️ Security Warning: Only use with trusted content. Basic XSS protection is applied, but avoid user-generated content.
6665
+ * @default false
6666
+ */
6667
+ this.customOptionLayouts = false;
6668
+ /**
6669
+ * Enable custom layout content for the button trigger via the trigger-content slot.
6670
+ * When true, uses slot content for initial state but updates dynamically with selected option layout.
6671
+ * ⚠️ Security Warning: Only use with trusted content. Basic XSS protection is applied, but avoid user-generated content.
6672
+ * @default false
6673
+ */
6674
+ this.customTriggerContent = false;
6675
+ /**
6676
+ * If true, the combobox is disabled.
6677
+ */
6678
+ this.disabled = false;
6679
+ /**
6680
+ * Placement of the dropdown relative to the trigger.
6681
+ * @default 'bottom-start'
6682
+ */
6683
+ this.dropdownPlacement = 'bottom-start';
6684
+ /**
6685
+ * Width of the dropdown. Any valid CSS width value.
6686
+ * @default '236px'
6687
+ */
6688
+ this.dropdownWidth = '236px';
6689
+ /**
6690
+ * Visually hides the label text for instances where only the combobox should be displayed.
6691
+ * Label remains accessible to assistive technology such as screen readers.
6692
+ */
6693
+ this.hideLabel = false;
6694
+ /**
6695
+ * Determines the combobox mode: 'filter' (filter options as you type) or 'select-only' (show all options).
6696
+ * @default 'filter'
6697
+ */
6698
+ this.mode = 'filter';
6699
+ /**
6700
+ * Determines the combobox trigger: 'input' (editable input) or 'button' (button-like, non-editable).
6701
+ * @default 'input'
6702
+ */
6703
+ this.trigger = 'input';
6704
+ /**
6705
+ * Width of the trigger (button or input). Any valid CSS width value.
6706
+ * @default 'fit-content'
6707
+ */
6708
+ this.triggerWidth = 'fit-content';
6709
+ /**
6710
+ * The visual variant for the button trigger. Matches Pine button variants.
6711
+ * @default 'secondary'
6712
+ */
6713
+ this.triggerVariant = 'secondary';
6714
+ /**
6715
+ * The value of the combobox input.
6716
+ */
6717
+ this.value = '';
6718
+ /**
6719
+ * Internal state for filtered options
6720
+ */
6721
+ this.filteredOptions = [];
6722
+ /**
6723
+ * Internal state for the currently highlighted option index
6724
+ */
6725
+ this.highlightedIndex = -1;
6726
+ /**
6727
+ * Internal state for dropdown open/close
6728
+ */
6729
+ this.isOpen = false;
6730
+ /**
6731
+ * Internal state for the currently selected option
6732
+ */
6733
+ this.selectedOption = null;
6734
+ /**
6735
+ * Internal state for the sanitized layout content of the selected option
6736
+ */
6737
+ this.selectedOptionLayoutContent = '';
6738
+ this.optionEls = [];
6739
+ this.handleInput = (e) => {
6740
+ const target = e.target;
6741
+ this.value = target.value;
6742
+ this.isOpen = true;
6743
+ this.filterOptions();
6744
+ setTimeout(() => this.openDropdownPositioning(), 0);
6745
+ };
6746
+ this.handleFocus = () => {
6747
+ this.isOpen = true;
6748
+ this.filterOptions();
6749
+ setTimeout(() => this.openDropdownPositioning(), 0);
6750
+ };
6751
+ this.handleKeyDown = (e) => {
6752
+ if (!this.isOpen && (e.key === 'ArrowDown' || e.key === 'ArrowUp')) {
6753
+ this.isOpen = true;
6754
+ return;
6755
+ }
6756
+ switch (e.key) {
6757
+ case 'ArrowDown':
6758
+ this.highlightedIndex = Math.min(this.highlightedIndex + 1, this.filteredOptions.length - 1);
6759
+ break;
6760
+ case 'ArrowUp':
6761
+ this.highlightedIndex = Math.max(this.highlightedIndex - 1, 0);
6762
+ break;
6763
+ case 'Enter':
6764
+ if (this.isOpen && this.highlightedIndex >= 0 && this.highlightedIndex < this.filteredOptions.length) {
6765
+ this.handleOptionClick(this.filteredOptions[this.highlightedIndex]);
6766
+ }
6767
+ break;
6768
+ case 'Escape':
6769
+ this.isOpen = false;
6770
+ break;
6771
+ }
6772
+ };
6773
+ // Event handler for option click
6774
+ this.onOptionClick = (event) => {
6775
+ const idx = Number(event.currentTarget.getAttribute('data-option-index'));
6776
+ const option = this.filteredOptions[idx];
6777
+ this.handleOptionClick(option);
6778
+ };
6779
+ // Event handler for mouse enter on option
6780
+ this.onOptionMouseEnter = (event) => {
6781
+ const idx = Number(event.currentTarget.getAttribute('data-option-index'));
6782
+ this.highlightedIndex = idx;
6783
+ };
6784
+ // Prevent blur on mousedown
6785
+ this.onOptionMouseDown = (event) => {
6786
+ event.preventDefault();
6787
+ };
6788
+ // Handler for button trigger click
6789
+ this.onButtonTriggerClick = () => {
6790
+ this.isOpen = !this.isOpen;
6791
+ if (this.isOpen)
6792
+ setTimeout(() => this.openDropdownPositioning(), 0);
6793
+ };
6794
+ // Handler for button trigger keyboard events
6795
+ this.onButtonTriggerKeyDown = (e) => {
6796
+ if (e.key === 'Enter' || e.key === ' ' || e.key === 'ArrowDown') {
6797
+ e.preventDefault();
6798
+ this.isOpen = true;
6799
+ this.highlightedIndex = 0;
6800
+ setTimeout(() => this.openDropdownPositioning(), 0);
6801
+ }
6802
+ else if (e.key === 'Escape') {
6803
+ this.isOpen = false;
6804
+ }
6805
+ };
6806
+ // Close dropdown when focus leaves the combobox
6807
+ this.onComboboxFocusOut = (event) => {
6808
+ const relatedTarget = event.relatedTarget;
6809
+ if (!this.el.contains(relatedTarget)) {
6810
+ this.isOpen = false;
6811
+ // If there's a selected option but the input value doesn't match, restore the selected option's value
6812
+ if (this.selectedOption && this.value !== this.getOptionLabel(this.selectedOption)) {
6813
+ this.value = this.getOptionLabel(this.selectedOption);
6814
+ }
6815
+ }
6816
+ };
6817
+ }
6818
+ componentWillLoad() {
6819
+ this.updateOptions();
6820
+ }
6821
+ handleValueChange() {
6822
+ this.filterOptions();
6823
+ }
6824
+ handleSelectedOptionChange() {
6825
+ // Update the layout content when selected option changes
6826
+ this.selectedOptionLayoutContent = this.selectedOption && this.isOptionLayout(this.selectedOption)
6827
+ ? this.getOptionLayoutContent(this.selectedOption)
6828
+ : '';
6829
+ }
6830
+ updateOptions() {
6831
+ var _a;
6832
+ // Get all <option> elements from the slot
6833
+ const slot = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('slot[name="option"], slot:not([name])');
6834
+ if (slot) {
6835
+ this.optionEls = slot.assignedElements({ flatten: true })
6836
+ .filter(el => el.tagName === 'OPTION');
6837
+ // Set initial selected option if one exists (only check DOM on initialization)
6838
+ if (!this.selectedOption) {
6839
+ const initialSelected = this.optionEls.find(opt => opt.hasAttribute('selected')) || null;
6840
+ this.setSelectedOption(initialSelected);
6841
+ }
6842
+ this.filterOptions();
6843
+ }
6844
+ }
6845
+ // Helper method to get option label, falling back to text content if no label attribute
6846
+ getOptionLabel(option) {
6847
+ return option.label || option.textContent || '';
6848
+ }
6849
+ // Helper method to get option layout content
6850
+ getOptionLayoutContent(option) {
6851
+ return this.sanitizeHtml(option.innerHTML || '');
6852
+ }
6853
+ // HTML sanitization using DOMPurify library to prevent XSS attacks
6854
+ sanitizeHtml(html) {
6855
+ // Configure DOMPurify to allow Pine Design System components while removing dangerous content
6856
+ const config = {
6857
+ // Allow all custom elements (including pds-* components)
6858
+ CUSTOM_ELEMENT_HANDLING: {
6859
+ tagNameCheck: (tagName) => {
6860
+ // Allow all pds-* tags and standard safe HTML tags
6861
+ return tagName.startsWith('pds-') || /^[a-z]+$/i.test(tagName);
6862
+ },
6863
+ attributeNameCheck: (attr) => {
6864
+ // Allow standard HTML attributes, data-* attributes, and Pine component attributes
6865
+ return /^[a-zA-Z][a-zA-Z0-9-]*$/.test(attr) || attr.startsWith('data-') || attr.startsWith('aria-');
6866
+ },
6867
+ allowCustomizedBuiltInElements: false,
6868
+ },
6869
+ // Allow standard safe attributes
6870
+ ALLOW_DATA_ATTR: true,
6871
+ ALLOW_ARIA_ATTR: true,
6872
+ // Specifically forbid dangerous tags
6873
+ FORBID_TAGS: ['script', 'iframe', 'object', 'embed', 'form', 'input', 'textarea', 'select', 'button', 'style'],
6874
+ // Forbid all event handler attributes
6875
+ FORBID_ATTR: [
6876
+ 'onerror', 'onload', 'onclick', 'onmouseover', 'onmouseout', 'onmousemove',
6877
+ 'onfocus', 'onblur', 'onchange', 'onsubmit', 'onkeydown', 'onkeyup', 'onkeypress',
6878
+ 'onmousedown', 'onmouseup', 'ondblclick', 'oncontextmenu', 'onscroll'
6879
+ ],
6880
+ // Safe protocol whitelist
6881
+ ALLOWED_URI_REGEXP: /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp|data):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i,
6882
+ };
6883
+ return purify.sanitize(html, config);
6884
+ }
6885
+ // Helper method to check if option should render as layout
6886
+ isOptionLayout(option) {
6887
+ return this.customOptionLayouts && option.hasAttribute('data-layout');
6888
+ }
6889
+ // Helper method to check if option is selected (single source of truth)
6890
+ isOptionSelected(option) {
6891
+ return this.selectedOption === option;
6892
+ }
6893
+ // Helper method to set selected option (centralized state management)
6894
+ setSelectedOption(option) {
6895
+ this.selectedOption = option;
6896
+ }
6897
+ filterOptions() {
6898
+ if (this.mode === 'select-only') {
6899
+ this.filteredOptions = this.optionEls;
6900
+ }
6901
+ else {
6902
+ const val = this.value.toLowerCase();
6903
+ this.filteredOptions = this.optionEls.filter(option => {
6904
+ // For layout options, search both text content and data-search-text attribute
6905
+ if (this.isOptionLayout(option)) {
6906
+ const searchText = option.getAttribute('data-search-text') || option.textContent || '';
6907
+ return searchText.toLowerCase().includes(val);
6908
+ }
6909
+ return this.getOptionLabel(option).toLowerCase().includes(val);
6910
+ });
6911
+ }
6912
+ this.highlightedIndex = -1;
6913
+ }
6914
+ openDropdownPositioning() {
6915
+ if (this.triggerEl && this.listboxEl) {
6916
+ // Apply width and max-height BEFORE positioning calculations
6917
+ this.listboxEl.style.width = this.dropdownWidth;
6918
+ if (this.maxHeight) {
6919
+ this.listboxEl.style.maxHeight = this.maxHeight;
6920
+ this.listboxEl.style.overflowY = 'auto';
6921
+ }
6922
+ computePosition(this.triggerEl, this.listboxEl, {
6923
+ placement: this.dropdownPlacement,
6924
+ strategy: 'absolute',
6925
+ middleware: [offset(12), flip(), shift({ padding: 5 })],
6926
+ }).then(({ x, y }) => {
6927
+ Object.assign(this.listboxEl.style, {
6928
+ left: `${x}px`,
6929
+ top: `${y}px`,
6930
+ position: 'absolute',
6931
+ zIndex: 1000,
6932
+ });
6933
+ });
6934
+ }
6935
+ }
6936
+ /**
6937
+ * Sets focus on the native input element.
6938
+ */
6939
+ async setFocus() {
6940
+ var _a;
6941
+ (_a = this.inputEl) === null || _a === void 0 ? void 0 : _a.focus();
6942
+ }
6943
+ /**
6944
+ * Gets the value of the currently selected option.
6945
+ */
6946
+ async getSelectedValue() {
6947
+ return this.selectedOption ? this.selectedOption.value : null;
6948
+ }
6949
+ // Get the label of the selected option
6950
+ get selectedLabel() {
6951
+ return this.selectedOption ? this.getOptionLabel(this.selectedOption) : '';
6952
+ }
6953
+ // Get the layout content of the selected option for button trigger
6954
+ get selectedLayoutContent() {
6955
+ return this.selectedOptionLayoutContent;
6956
+ }
6957
+ // Check if selected option has layout
6958
+ get selectedHasLayout() {
6959
+ return this.selectedOption ? this.isOptionLayout(this.selectedOption) : false;
6960
+ }
6961
+ handleOptionClick(option) {
6962
+ // Update reactive state - single source of truth
6963
+ this.setSelectedOption(option);
6964
+ this.value = this.getOptionLabel(option);
6965
+ this.isOpen = false;
6966
+ this.pdsComboboxChange.emit({ value: option.value });
6967
+ }
6968
+ renderDropdown() {
6969
+ if (!this.isOpen || this.filteredOptions.length === 0)
6970
+ return null;
6971
+ return (hAsync("ul", { class: "pds-combobox__listbox", role: "listbox", id: "pds-combobox-listbox", ref: el => (this.listboxEl = el) }, this.filteredOptions.map((option, idx) => {
6972
+ const isSelected = this.isOptionSelected(option);
6973
+ const isHighlighted = this.highlightedIndex === idx;
6974
+ const isLayout = this.isOptionLayout(option);
6975
+ return (hAsync("li", { key: option.value, id: `pds-combobox-option-${idx}`, role: "option", "aria-selected": isSelected ? 'true' : 'false', class: {
6976
+ 'pds-combobox__option': true,
6977
+ 'pds-combobox__option--highlighted': isHighlighted,
6978
+ 'pds-combobox__option--layout': isLayout,
6979
+ }, "data-option-index": idx, onMouseDown: this.onOptionMouseDown, onClick: this.onOptionClick, onMouseEnter: this.onOptionMouseEnter }, isLayout ? (hAsync("pds-box", { class: "pds-combobox__option-layout-wrapper", innerHTML: this.getOptionLayoutContent(option) })) : (this.getOptionLabel(option)), isSelected && hAsync("pds-icon", { icon: "check", size: "regular", class: "pds-combobox__option-check" })));
6980
+ })));
6981
+ }
6982
+ // Helper method to render the caret icon
6983
+ renderCaretIcon() {
6984
+ return hAsync("pds-icon", { icon: "caret-down", "aria-hidden": "true", "aria-label": "dropdown indicator", class: "pds-combobox__button-trigger-chevron" });
6985
+ }
6986
+ // Helper method to render layout content
6987
+ renderLayoutContent() {
6988
+ return (hAsync("div", { class: "pds-combobox__button-trigger-layout-wrapper", innerHTML: this.selectedLayoutContent }));
6989
+ }
6990
+ // Helper method to render default text content
6991
+ renderDefaultContent() {
6992
+ return (hAsync("span", { class: "pds-combobox__button-trigger-label" }, this.selectedLabel || this.placeholder));
6993
+ }
6994
+ // Helper method to check if we should show layout content
6995
+ shouldShowLayoutContent() {
6996
+ return this.selectedHasLayout && !!this.selectedLayoutContent;
6997
+ }
6998
+ renderButtonTriggerContent() {
6999
+ // Case 1: Custom trigger content with layout priority
7000
+ if (this.customTriggerContent) {
7001
+ if (this.shouldShowLayoutContent()) {
7002
+ return [this.renderLayoutContent(), this.renderCaretIcon()];
7003
+ }
7004
+ // Fall back to slot content when no layout is available
7005
+ return hAsync("slot", { name: "trigger-content" });
7006
+ }
7007
+ // Case 2: Standard mode with layout content
7008
+ if (this.shouldShowLayoutContent()) {
7009
+ return [this.renderLayoutContent(), this.renderCaretIcon()];
7010
+ }
7011
+ // Case 3: Standard mode with default text content
7012
+ return [this.renderDefaultContent(), this.renderCaretIcon()];
7013
+ }
7014
+ render() {
7015
+ const triggerClass = `pds-combobox__button-trigger pds-combobox__button-trigger--${this.triggerVariant}`;
7016
+ return (hAsync(Host, { key: 'ecc1f18dcb9869055af047446364afd66d13e5f6' }, hAsync("div", { key: 'caf80cf07647666e6ea21bc7e8fa7e944a98f3b5', class: "pds-combobox", tabIndex: -1, onFocusout: this.onComboboxFocusOut }, this.label && (hAsync("label", { key: '08d38b21ce3c2d78a6a405b81e4291d2f5e61aed', htmlFor: this.componentId, class: "pds-combobox__label" }, hAsync("span", { key: '58a3986e2656522377fce50dfad73a0960e8a9db', class: this.hideLabel ? 'visually-hidden' : '' }, this.label))), this.trigger === 'input' ? (hAsync("input", { ref: el => {
7017
+ this.inputEl = el;
7018
+ this.triggerEl = el;
7019
+ }, class: "pds-combobox__input", style: { width: this.triggerWidth }, type: "text", role: "combobox", "aria-autocomplete": "list", "aria-controls": "pds-combobox-listbox", "aria-activedescendant": 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.value, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput, onFocus: this.handleFocus, onKeyDown: this.handleKeyDown, autocomplete: "off", part: "input" })) : (hAsync("div", { class: triggerClass, style: { width: this.triggerWidth }, role: "combobox", "aria-haspopup": "listbox", "aria-controls": "pds-combobox-listbox", "aria-expanded": this.isOpen ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": this.hideLabel ? this.label : undefined, id: this.componentId, tabIndex: 0, onClick: this.onButtonTriggerClick, "data-layout": this.customTriggerContent, onKeyDown: this.onButtonTriggerKeyDown, ref: el => (this.triggerEl = el), part: "button-trigger" }, this.renderButtonTriggerContent())), hAsync("div", { key: 'a91eb5b7998c9274de0f7e7e5184def30d23ad06', style: { display: 'none' } }, hAsync("slot", { key: '40dbc40a9286b8caade78bfb70af366193bb08f2', onSlotchange: () => this.updateOptions() })), this.renderDropdown())));
7020
+ }
7021
+ get el() { return getElement(this); }
7022
+ static get watchers() { return {
7023
+ "value": ["handleValueChange"],
7024
+ "selectedOption": ["handleSelectedOptionChange"]
7025
+ }; }
7026
+ static get style() { return pdsComboboxCss; }
7027
+ static get cmpMeta() { return {
7028
+ "$flags$": 9,
7029
+ "$tagName$": "pds-combobox",
7030
+ "$members$": {
7031
+ "componentId": [1, "component-id"],
7032
+ "customOptionLayouts": [4, "custom-option-layouts"],
7033
+ "customTriggerContent": [4, "custom-trigger-content"],
7034
+ "disabled": [4],
7035
+ "dropdownPlacement": [1, "dropdown-placement"],
7036
+ "dropdownWidth": [1, "dropdown-width"],
7037
+ "hideLabel": [4, "hide-label"],
7038
+ "label": [1],
7039
+ "maxHeight": [1, "max-height"],
7040
+ "mode": [1],
7041
+ "placeholder": [1],
7042
+ "trigger": [1],
7043
+ "triggerWidth": [1, "trigger-width"],
7044
+ "triggerVariant": [1, "trigger-variant"],
7045
+ "value": [1025],
7046
+ "filteredOptions": [32],
7047
+ "highlightedIndex": [32],
7048
+ "isOpen": [32],
7049
+ "selectedOption": [32],
7050
+ "selectedOptionLayoutContent": [32],
7051
+ "setFocus": [64],
7052
+ "getSelectedValue": [64]
7053
+ },
7054
+ "$listeners$": undefined,
7055
+ "$lazyBundleId$": "-",
7056
+ "$attrsToReflect$": []
7057
+ }; }
7058
+ }
7059
+
7060
+ const pdsCopytextCss = ":host(.pds-copytext){--copytext-color-background-hover:var(--pine-color-grey-200)}:host(.pds-copytext) pds-button{-ms-flex-align:center;align-items:center;background:var(--pine-color-secondary);border-radius:var(--pine-border-radius-full);border-width:var(--pine-dimension-none);display:-ms-inline-flexbox;display:inline-flex;font-family:var(--pine-font-family-heading);font-size:var(--pine-font-size-body-md);font-weight:var(--pine-font-weight-body-medium);letter-spacing:var(--pine-letter-spacing);line-height:var(--pine-line-height-body);max-width:100%;padding:var(--pine-dimension-2xs) var(--pine-dimension-xs)}:host(.pds-copytext) pds-button::part(button){-webkit-padding-end:calc(var(--pine-dimension-xs) / 2);padding-inline-end:calc(var(--pine-dimension-xs) / 2)}:host(.pds-copytext) pds-button::part(button):hover{background-color:var(--copytext-color-background-hover);color:var(--pine-color-text-secondary-hover)}:host(.pds-copytext) pds-button span{font-weight:var(--pine-font-weight-medium);-webkit-margin-end:var(--pine-dimension-xs);margin-inline-end:var(--pine-dimension-xs);white-space:nowrap}:host(.pds-copytext) pds-button :nth-child(2){-ms-flex-negative:0;flex-shrink:0}:host(.pds-copytext):host(.pds-copytext--bordered){border-width:var(--pine-dimension-none);padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered) pds-button{padding:var(--pine-dimension-none)}:host(.pds-copytext):host(.pds-copytext--bordered)::part(button):hover{background-color:transparent}:host(.pds-copytext):host(.pds-copytext--bordered) span{border:var(--pine-border);border-radius:var(--pine-border-radius-full);-webkit-margin-end:var(--pine-dimension-sm);margin-inline-end:var(--pine-dimension-sm);padding-block:var(--pine-dimension-xs);padding-inline:var(--pine-dimension-sm)}:host(.pds-copytext):host(.pds-copytext--bordered) :hover span{border:var(--pine-border-hover)}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button{display:-ms-inline-flexbox;display:inline-flex;min-width:auto;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--full-width) pds-button::part(button-text),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-content),:host(.pds-copytext):host(.pds-copytext--truncated) pds-button::part(button-text){-ms-flex-negative:1;flex-shrink:1;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button span,:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{text-align:start;width:100%}:host(.pds-copytext):host(.pds-copytext--full-width) pds-button{-ms-flex-pack:justify;justify-content:space-between}:host(.pds-copytext):host(.pds-copytext--truncated) pds-button span{overflow:hidden;text-overflow:ellipsis}";
7061
+
7062
+ class PdsCopytext {
7063
+ constructor(hostRef) {
7064
+ registerInstance(this, hostRef);
7065
+ this.pdsCopyTextClick = createEvent(this, "pdsCopyTextClick");
7066
+ /**
7067
+ * Determines whether `copytext` should have a visible border.
7068
+ * @defaultValue true
7069
+ */
7070
+ this.border = true;
7071
+ /**
7072
+ * Determines whether `copytext` should expand to the full width of its container.
7073
+ * @defaultValue false
7074
+ */
7075
+ this.fullWidth = false;
7076
+ /**
7077
+ * Determines whether the `value` should truncate and display with an ellipsis.
7078
+ * @defaultValue false
7079
+ */
7080
+ this.truncate = false;
7081
+ this.copyToClipboard = async (value) => {
7082
+ try {
7083
+ if (typeof navigator.clipboard !== 'undefined') {
7084
+ await navigator.clipboard.writeText(value);
7085
+ this.pdsCopyTextClick.emit('Copied to clipboard');
7086
+ }
7087
+ }
7088
+ catch (err) {
7089
+ this.pdsCopyTextClick.emit(`Error writing text to clipboard: ${err}`);
7090
+ }
7091
+ };
7092
+ this.handleClick = () => {
7093
+ this.copyToClipboard(this.value);
7094
+ };
7095
+ }
7096
+ classNames() {
7097
+ const classNames = ['pds-copytext'];
7098
+ if (this.border) {
7099
+ classNames.push('pds-copytext--bordered');
7100
+ }
7101
+ if (this.fullWidth) {
7102
+ classNames.push('pds-copytext--full-width');
7103
+ }
7104
+ if (this.truncate) {
7105
+ classNames.push('pds-copytext--truncated');
7106
+ }
7107
+ return classNames.join(' ');
7108
+ }
7109
+ render() {
7110
+ return (hAsync(Host, { key: 'fc3a4bb1d6aad33a1a3699dd50a48d2f00e26a47', class: this.classNames(), id: this.componentId }, hAsync("pds-button", { key: '7c555a209f7f8d6c82f909c726d32c1985f52e36', type: "button", variant: "unstyled", onClick: this.handleClick }, hAsync("span", { key: '63e6e5b84be71c1943cb21ec2a5a89af40658577' }, this.value), hAsync("pds-icon", { key: '49059150540623cad1036c1476a39731d1caed79', icon: copy, size: "16px" }))));
7111
+ }
7112
+ static get style() { return pdsCopytextCss; }
7113
+ static get cmpMeta() { return {
7114
+ "$flags$": 9,
7115
+ "$tagName$": "pds-copytext",
7116
+ "$members$": {
7117
+ "border": [516],
7118
+ "componentId": [1, "component-id"],
7119
+ "fullWidth": [4, "full-width"],
7120
+ "truncate": [4],
7121
+ "value": [1]
7122
+ },
7123
+ "$listeners$": undefined,
7124
+ "$lazyBundleId$": "-",
7125
+ "$attrsToReflect$": [["border", "border"]]
7126
+ }; }
5349
7127
  }
5350
7128
 
5351
- const platform = {
5352
- convertOffsetParentRelativeRectToViewportRelativeRect,
5353
- getDocumentElement,
5354
- getClippingRect,
5355
- getOffsetParent,
5356
- getElementRects,
5357
- getClientRects,
5358
- getDimensions,
5359
- getScale,
5360
- isElement,
5361
- isRTL: isRTL$1
5362
- };
5363
-
5364
- /**
5365
- * Modifies the placement by translating the floating element along the
5366
- * specified axes.
5367
- * A number (shorthand for `mainAxis` or distance), or an axes configuration
5368
- * object may be passed.
5369
- * @see https://floating-ui.com/docs/offset
5370
- */
5371
- const offset = offset$1;
5372
-
5373
- /**
5374
- * Optimizes the visibility of the floating element by shifting it in order to
5375
- * keep it in view when it will overflow the clipping boundary.
5376
- * @see https://floating-ui.com/docs/shift
5377
- */
5378
- const shift = shift$1;
5379
-
5380
- /**
5381
- * Optimizes the visibility of the floating element by flipping the `placement`
5382
- * in order to keep it in view when the preferred placement(s) will overflow the
5383
- * clipping boundary. Alternative to `autoPlacement`.
5384
- * @see https://floating-ui.com/docs/flip
5385
- */
5386
- const flip = flip$1;
7129
+ const pdsDividerCss = ".pds-divider{background:var(--pine-color-border);border:0;display:-ms-flexbox;display:flex;height:var(--pine-border-width);margin:0;width:100%}.pds-divider--vertical{height:100%;width:1px}.pds-divider--offset-xxs{margin:0 calc(var(--pine-dimension-2xs) * -1);padding:0 var(--pine-dimension-2xs)}.pds-divider--offset-xxs.pds-divider--vertical{margin:calc(var(--pine-dimension-2xs) * -1) 0;padding:var(--pine-dimension-2xs) 0}.pds-divider--offset-xs{margin:0 calc(var(--pine-dimension-xs) * -1);padding:0 var(--pine-dimension-xs)}.pds-divider--offset-xs.pds-divider--vertical{margin:calc(var(--pine-dimension-xs) * -1) 0;padding:var(--pine-dimension-xs) 0}.pds-divider--offset-sm{margin:0 calc(var(--pine-dimension-sm) * -1);padding:0 var(--pine-dimension-sm)}.pds-divider--offset-sm.pds-divider--vertical{margin:calc(var(--pine-dimension-sm) * -1) 0;padding:var(--pine-dimension-sm) 0}.pds-divider--offset-md{margin:0 calc(var(--pine-dimension-md) * -1);padding:0 var(--pine-dimension-md)}.pds-divider--offset-md.pds-divider--vertical{margin:calc(var(--pine-dimension-md) * -1) 0;padding:var(--pine-dimension-md) 0}.pds-divider--offset-lg{margin:0 calc(var(--pine-dimension-lg) * -1);padding:0 var(--pine-dimension-lg)}.pds-divider--offset-lg.pds-divider--vertical{margin:calc(var(--pine-dimension-lg) * -1) 0;padding:var(--pine-dimension-lg) 0}.pds-divider--offset-xl{margin:0 calc(var(--pine-dimension-xl) * -1);padding:0 var(--pine-dimension-xl)}.pds-divider--offset-xl.pds-divider--vertical{margin:calc(var(--pine-dimension-xl) * -1) 0;padding:var(--pine-dimension-xl) 0}.pds-divider--offset-xxl{margin:0 calc(var(--pine-dimension-2xl) * -1);padding:0 var(--pine-dimension-2xl)}.pds-divider--offset-xxl.pds-divider--vertical{margin:calc(var(--pine-dimension-2xl) * -1) 0;padding:var(--pine-dimension-2xl) 0}@media (max-width: 767px){.pds-divider--vertical{display:none}}";
5387
7130
 
5388
- /**
5389
- * Computes the `x` and `y` coordinates that will place the floating element
5390
- * next to a given reference element.
5391
- */
5392
- const computePosition = (reference, floating, options) => {
5393
- // This caches the expensive `getClippingElementAncestors` function so that
5394
- // multiple lifecycle resets re-use the same result. It only lives for a
5395
- // single call. If other functions become expensive, we can add them as well.
5396
- const cache = new Map();
5397
- const mergedOptions = {
5398
- platform,
5399
- ...options
5400
- };
5401
- const platformWithCache = {
5402
- ...mergedOptions.platform,
5403
- _c: cache
5404
- };
5405
- return computePosition$1(reference, floating, {
5406
- ...mergedOptions,
5407
- platform: platformWithCache
5408
- });
5409
- };
7131
+ class PdsDivider {
7132
+ constructor(hostRef) {
7133
+ registerInstance(this, hostRef);
7134
+ /**
7135
+ * Sets divider to display vertically.
7136
+ * @defaultValue false
7137
+ */
7138
+ this.vertical = false;
7139
+ }
7140
+ classNames() {
7141
+ const classNames = ['pds-divider'];
7142
+ if (this.vertical) {
7143
+ classNames.push('pds-divider--vertical');
7144
+ }
7145
+ if (this.offset) {
7146
+ const offsetClassName = 'pds-divider--offset-' + this.offset;
7147
+ classNames.push(offsetClassName);
7148
+ }
7149
+ return classNames.join(' ');
7150
+ }
7151
+ render() {
7152
+ return (hAsync(Host, { key: 'c3a01882db1119b8397353aaed193813cba0bfb8', id: this.componentId }, hAsync("hr", { key: 'fe20a28dbd2f10cec125df4dbb4ba7a2837628f1', class: this.classNames() })));
7153
+ }
7154
+ static get style() { return pdsDividerCss; }
7155
+ static get cmpMeta() { return {
7156
+ "$flags$": 9,
7157
+ "$tagName$": "pds-divider",
7158
+ "$members$": {
7159
+ "componentId": [1, "component-id"],
7160
+ "offset": [1],
7161
+ "vertical": [4]
7162
+ },
7163
+ "$listeners$": undefined,
7164
+ "$lazyBundleId$": "-",
7165
+ "$attrsToReflect$": []
7166
+ }; }
7167
+ }
5410
7168
 
5411
7169
  const pdsDropdownMenuCss = ":host{display:block}.is-hidden{display:none}.pds-dropdown-menu--panel{background-color:var(--pine-color-background-container);left:var(--pine-dimension-none);min-width:170px;padding:var(--pine-dimension-xs);position:absolute;z-index:9999}";
5412
7170
 
@@ -5651,7 +7409,7 @@ class PdsDropdownMenu {
5651
7409
  }
5652
7410
  }
5653
7411
  render() {
5654
- return (hAsync(Host, { key: '492d6a2baba8c0cf5e05a6c34b774900f5da6886', id: this.componentId }, hAsync("slot", { key: '9d57ee287cff289693c941410bcc62bb9fb1da95', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), hAsync("pds-box", { key: '62ae569a3bf7f958c01cfe1a74d174e413763f72', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", role: "menu", "aria-orientation": "vertical" }, hAsync("slot", { key: 'ea6d26124c06683e4fde23bc29f955cb04468d7a', onSlotchange: this.handleSlotChange }))));
7412
+ return (hAsync(Host, { key: '1e4384c8ab3fb3ca73221dd7a7f156846e9b8274', id: this.componentId }, hAsync("slot", { key: '0b3b532a025580b36bbe06f86bdb776d99e0c896', name: "trigger", onSlotchange: this.handleTriggerSlotChange }), hAsync("pds-box", { key: '20229e833fa45ff5ce730d3a38e8faab582335c6', "border-radius": "sm", display: "flex", direction: "column", class: "pds-dropdown-menu--panel is-hidden", shadow: "100", role: "menu", "aria-orientation": "vertical" }, hAsync("slot", { key: '47cad78c2e1b5150be13a399820fe64d09955e9d', onSlotchange: this.handleSlotChange }))));
5655
7413
  }
5656
7414
  get host() { return getElement(this); }
5657
7415
  static get style() { return pdsDropdownMenuCss; }
@@ -5737,7 +7495,7 @@ class PdsDropdownMenuItem {
5737
7495
  }, tabIndex: this.disabled ? -1 : 0, type: "button", onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : null }, hAsync("slot", null)));
5738
7496
  }
5739
7497
  render() {
5740
- return (hAsync(Host, { key: 'b27f62c0f1cfe56e777b1a875b93954d4c9da00d', 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()));
7498
+ return (hAsync(Host, { key: '89c2973b952f2a2d0b7054817c0532f8654ae279', 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()));
5741
7499
  }
5742
7500
  get host() { return getElement(this); }
5743
7501
  static get style() { return pdsDropdownMenuItemCss; }
@@ -5770,7 +7528,7 @@ class PdsDropdownMenuSeparator {
5770
7528
  this.disabled = false;
5771
7529
  }
5772
7530
  render() {
5773
- return (hAsync(Host, { key: '71b19470921b7848e5f0c44ef82aa0d9f8ef2017', id: this.componentId }, hAsync("hr", { key: 'efc84b6b3f3f35421c0af863fb2d4636e542773e' })));
7531
+ return (hAsync(Host, { key: '1058ea61d2ad7c311ee162b909df2531f3589e4c', id: this.componentId }, hAsync("hr", { key: 'a8c2f69ef5fba5ea4ea74553fe72544e31eafb1b' })));
5774
7532
  }
5775
7533
  static get style() { return pdsDropdownMenuSeparatorCss; }
5776
7534
  static get cmpMeta() { return {
@@ -5786,6 +7544,55 @@ class PdsDropdownMenuSeparator {
5786
7544
  }; }
5787
7545
  }
5788
7546
 
7547
+ let missingAssetPathWarning = false;
7548
+ /**
7549
+ *
7550
+ * Reads the component asset path config from meta tag or a global variable.
7551
+ * This is a temporary workaround until these issues have been addressed:
7552
+ *
7553
+ * https://github.com/ionic-team/stencil/issues/2826/
7554
+ * https://github.com/ionic-team/stencil/issues/3470
7555
+ * https://github.com/ionic-team/stencil-ds-output-targets/issues/186
7556
+ */
7557
+ const getAssetPath = (path) => {
7558
+ var _a;
7559
+ const metaPineAssetPath = (_a = document.head.querySelector('meta[data-pine-asset-path]')) === null || _a === void 0 ? void 0 : _a.dataset.pineAssetPath;
7560
+ // Get the asset path from the window object if available
7561
+ const windowAssetPath = window.__PINE_ASSET_PATH__;
7562
+ // Set the CDN Asset path using the latest version
7563
+ const cdnAssetPath = 'https://cdn.jsdelivr.net/npm/@pine-ds/icons/dist/';
7564
+ const assetBasePath = metaPineAssetPath || windowAssetPath || cdnAssetPath;
7565
+ // Display a warning if the assets are fetched from the CDN.
7566
+ if (assetBasePath.startsWith('https://cdn.jsdelivr.net/npm/') && !missingAssetPathWarning) {
7567
+ missingAssetPathWarning = true;
7568
+ console.warn(`
7569
+ Fetching Pine assets from jsDelivr CDN.\n\n It's recommended that you bundle Pine Assets with your application and set the path accordingly.\n\nFor more information, read the documentation: \nhttps://pine-design-system.netlify.app/?path=/docs/resources-assets--docs
7570
+ `);
7571
+ }
7572
+ let assetPath = path;
7573
+ if (path.startsWith('./')) {
7574
+ assetPath = path.substring(2);
7575
+ }
7576
+ if (!assetBasePath.endsWith('/')) {
7577
+ assetPath = '/' + assetPath;
7578
+ }
7579
+ return assetBasePath + assetPath;
7580
+ };
7581
+
7582
+ let CACHED_MAP;
7583
+ const getIconMap = () => {
7584
+ if (typeof window === 'undefined') {
7585
+ return new Map();
7586
+ }
7587
+ else {
7588
+ if (!CACHED_MAP) {
7589
+ const win = window; // eslint-disable-line @typescript-eslint/no-explicit-any
7590
+ win.PdsIcons = win.PdsIcons || {};
7591
+ CACHED_MAP = win.PdsIcons.map = win.PdsIcons.map || new Map();
7592
+ }
7593
+ return CACHED_MAP;
7594
+ }
7595
+ };
5789
7596
  const getName = (iconName, icon) => {
5790
7597
  if (!iconName && icon && !isSrc(icon)) {
5791
7598
  iconName = icon;
@@ -5802,6 +7609,39 @@ const getName = (iconName, icon) => {
5802
7609
  }
5803
7610
  return iconName;
5804
7611
  };
7612
+ const getNamedUrl = (iconName) => {
7613
+ const url = getIconMap().get(iconName);
7614
+ if (url) {
7615
+ return url;
7616
+ }
7617
+ return getAssetPath(`svg/${iconName}.svg`);
7618
+ };
7619
+ const getSrc = (src) => {
7620
+ if (isStr(src)) {
7621
+ src = src.trim();
7622
+ if (isSrc(src)) {
7623
+ return src;
7624
+ }
7625
+ }
7626
+ return null;
7627
+ };
7628
+ const getUrl = (pdsIcon) => {
7629
+ let url = getSrc(pdsIcon.src);
7630
+ if (url) {
7631
+ return url;
7632
+ }
7633
+ url = getName(pdsIcon.name, pdsIcon.icon);
7634
+ if (url) {
7635
+ return getNamedUrl(url);
7636
+ }
7637
+ if (pdsIcon.icon) {
7638
+ url = getSrc(pdsIcon.icon);
7639
+ if (url) {
7640
+ return url;
7641
+ }
7642
+ }
7643
+ return null;
7644
+ };
5805
7645
  /**
5806
7646
  * Returns `true` if the document or host element
5807
7647
  * has a `dir` set to `rtl`. The host value will always
@@ -5914,6 +7754,8 @@ const ICONS_TO_FLIP = [
5914
7754
  'users-tone'
5915
7755
  ];
5916
7756
 
7757
+ const pdsIconContent = new Map();
7758
+
5917
7759
  const pdsIconCss = ":host{--dimension-icon-height:16px;--dimension-icon-width:16px;--color-icon-fill:currentColor;contain:strict;display:inline-block;fill:var(--color-icon-fill);-ms-flex-negative:0;flex-shrink:0;height:var(--dimension-icon-height);width:var(--dimension-icon-width)}:host .pdsicon{fill:var(--color-icon-fill)}.pds-icon-fill-none{fill:none}.icon-inner,.pds-icon,svg{display:block;height:100%;width:100%}:host(.flip-rtl):host-context([dir=rtl]) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(rtl)) .icon-inner{-webkit-transform:scaleX(-1);transform:scaleX(-1)}:host(.flip-rtl:dir(ltr)) .icon-inner{-webkit-transform:scaleX(1);transform:scaleX(1)}";
5918
7760
 
5919
7761
  class PdsIcon {
@@ -5955,10 +7797,26 @@ class PdsIcon {
5955
7797
  if (!this.didLoadIcon) {
5956
7798
  this.loadIcon();
5957
7799
  }
7800
+ // Fallback: Ensure icon loads even if IntersectionObserver doesn't fire
7801
+ setTimeout(() => {
7802
+ if (!this.svgContent && !this.isVisible) {
7803
+ this.isVisible = true;
7804
+ this.loadIcon();
7805
+ }
7806
+ }, 100);
7807
+ // Additional fallback for client-side navigation (React Router, etc.)
7808
+ // React's useLayoutEffect and rendering cycles can delay visibility detection
7809
+ setTimeout(() => {
7810
+ if (!this.svgContent && !this.isVisible) {
7811
+ this.isVisible = true;
7812
+ this.loadIcon();
7813
+ }
7814
+ }, 500);
5958
7815
  }
5959
7816
  componentWillLoad() {
5960
7817
  this.inheritedAttributes = inheritAttributes(this.el, ['aria-label']);
5961
7818
  this.setCSSVariables();
7819
+ this.setupInitialAriaLabel();
5962
7820
  }
5963
7821
  setCSSVariables() {
5964
7822
  this.el.style.setProperty(`--dimension-icon-height`, this.iconSize());
@@ -5966,10 +7824,18 @@ class PdsIcon {
5966
7824
  this.el.style.setProperty(`--color-icon-fill`, typeof this.color !== 'undefined' ? this.color : 'currentColor');
5967
7825
  }
5968
7826
  connectedCallback() {
5969
- this.waitUntilVisible(this.el, '50px', () => {
7827
+ // Handle re-connection during client-side navigation
7828
+ if (!this.isVisible && !this.svgContent) {
7829
+ this.waitUntilVisible(this.el, '50px', () => {
7830
+ this.isVisible = true;
7831
+ this.loadIcon();
7832
+ });
7833
+ }
7834
+ // Immediate load attempt if already visible (e.g., during React navigation)
7835
+ if (this.isElementInViewport(this.el)) {
5970
7836
  this.isVisible = true;
5971
7837
  this.loadIcon();
5972
- });
7838
+ }
5973
7839
  }
5974
7840
  disconnectedCallback() {
5975
7841
  if (this.io) {
@@ -5980,11 +7846,17 @@ class PdsIcon {
5980
7846
  updateStyles() {
5981
7847
  this.setCSSVariables();
5982
7848
  }
7849
+ onIconPropertyChange() {
7850
+ this.loadIcon();
7851
+ // Update aria-label when icon properties change
7852
+ this.setupInitialAriaLabel();
7853
+ }
5983
7854
  loadIcon() {
7855
+ // Reset load state when URL changes
7856
+ this.didLoadIcon = false;
7857
+ // Clear existing content to prevent stale content when switching icons
7858
+ this.svgContent = undefined;
5984
7859
  this.iconName = getName(this.name, this.icon);
5985
- if (this.iconName) {
5986
- this.ariaLabel = this.iconName.replace(/\-/g, ' ');
5987
- }
5988
7860
  }
5989
7861
  render() {
5990
7862
  const { ariaLabel, flipRtl, iconName, inheritedAttributes } = this;
@@ -5992,11 +7864,22 @@ class PdsIcon {
5992
7864
  ? shouldRtlFlipIcon(iconName, this.el) && flipRtl !== false
5993
7865
  : false;
5994
7866
  const shouldFlip = flipRtl || shouldIconAutoFlip;
5995
- return (hAsync(Host, Object.assign({ key: 'bc8e46daa75df27a8039e0e767bdb43164ad7d4c', "aria-label": ariaLabel !== undefined && !this.hasAriaHidden() ? ariaLabel : null, alt: "", role: "img", class: Object.assign(Object.assign({}, createColorClasses(this.color)), { 'flip-rtl': shouldFlip, 'icon-rtl': shouldFlip && isRTL(this.el) }) }, inheritedAttributes), (hAsync("div", { class: "icon-inner" }))));
7867
+ // Use inherited aria-label if provided, otherwise fall back to auto-generated one
7868
+ const finalAriaLabel = inheritedAttributes['aria-label'] || ariaLabel;
7869
+ return (hAsync(Host, Object.assign({ key: '43aa73531314e6529a887468e69362430d006229', "aria-label": finalAriaLabel !== undefined && !this.hasAriaHidden() ? finalAriaLabel : null, alt: "", role: "img", class: Object.assign(Object.assign({}, createColorClasses(this.color)), { 'flip-rtl': shouldFlip, 'icon-rtl': shouldFlip && isRTL(this.el) }) }, inheritedAttributes), (hAsync("div", { class: "icon-inner" }))));
5996
7870
  }
5997
7871
  /*****
5998
7872
  * Private Methods
5999
7873
  ****/
7874
+ setupInitialAriaLabel() {
7875
+ // Only set aria-label during initial load if one isn't already provided
7876
+ if (!this.inheritedAttributes['aria-label']) {
7877
+ const iconName = getName(this.name, this.icon);
7878
+ if (iconName) {
7879
+ this.ariaLabel = iconName.replace(/\-/g, ' ');
7880
+ }
7881
+ }
7882
+ }
6000
7883
  waitUntilVisible(el, rootMargin, cb) {
6001
7884
  {
6002
7885
  // browser doesn't support IntersectionObserver
@@ -6004,14 +7887,62 @@ class PdsIcon {
6004
7887
  cb();
6005
7888
  }
6006
7889
  }
7890
+ isElementInViewport(el) {
7891
+ if (!el || !el.isConnected)
7892
+ return false;
7893
+ const rect = el.getBoundingClientRect();
7894
+ const windowHeight = window.innerHeight || document.documentElement.clientHeight;
7895
+ const windowWidth = window.innerWidth || document.documentElement.clientWidth;
7896
+ return (rect.top >= 0 &&
7897
+ rect.left >= 0 &&
7898
+ rect.bottom <= windowHeight &&
7899
+ rect.right <= windowWidth) || (
7900
+ // Also consider partially visible elements
7901
+ rect.top < windowHeight &&
7902
+ rect.bottom > 0 &&
7903
+ rect.left < windowWidth &&
7904
+ rect.right > 0);
7905
+ }
7906
+ /**
7907
+ * Debug method to help diagnose loading issues
7908
+ * Call from browser console: document.querySelector('pds-icon').debugIconState()
7909
+ */
7910
+ debugIconState() {
7911
+ var _a;
7912
+ const url = getUrl(this);
7913
+ const rect = this.el.getBoundingClientRect();
7914
+ console.log('PdsIcon Debug State:', {
7915
+ name: this.name,
7916
+ src: this.src,
7917
+ icon: this.icon,
7918
+ iconName: this.iconName,
7919
+ url,
7920
+ isVisible: this.isVisible,
7921
+ didLoadIcon: this.didLoadIcon,
7922
+ hasSvgContent: !!this.svgContent,
7923
+ svgContentLength: ((_a = this.svgContent) === null || _a === void 0 ? void 0 : _a.length) || 0,
7924
+ isInCache: url ? pdsIconContent.has(url) : false,
7925
+ cachedContent: url ? pdsIconContent.get(url) : null,
7926
+ element: this.el,
7927
+ // Client-side navigation specific debug info
7928
+ isConnected: this.el.isConnected,
7929
+ isInViewport: this.isElementInViewport(this.el),
7930
+ hasIntersectionObserver: !!this.io,
7931
+ boundingClientRect: rect,
7932
+ windowDimensions: {
7933
+ width: window.innerWidth || document.documentElement.clientWidth,
7934
+ height: window.innerHeight || document.documentElement.clientHeight
7935
+ }
7936
+ });
7937
+ }
6007
7938
  static get assetsDirs() { return ["svg"]; }
6008
7939
  get el() { return getElement(this); }
6009
7940
  static get watchers() { return {
6010
7941
  "size": ["updateStyles"],
6011
7942
  "color": ["updateStyles"],
6012
- "name": ["loadIcon"],
6013
- "src": ["loadIcon"],
6014
- "icon": ["loadIcon"]
7943
+ "name": ["onIconPropertyChange"],
7944
+ "src": ["onIconPropertyChange"],
7945
+ "icon": ["onIconPropertyChange"]
6015
7946
  }; }
6016
7947
  static get style() { return pdsIconCss; }
6017
7948
  static get cmpMeta() { return {
@@ -6061,9 +7992,9 @@ class PdsImage {
6061
7992
  this.loading = 'eager';
6062
7993
  }
6063
7994
  render() {
6064
- return (hAsync(Host, { key: 'a706be22398297ae7087239a3dc7474ae17ab358', class: {
7995
+ return (hAsync(Host, { key: 'bffcd250b41bcc96d6278f35be5287cf34ee91ac', class: {
6065
7996
  'pds-image': true,
6066
- }, id: this.componentId }, hAsync("img", { key: '37a465ed175ae298e174370246885fb6d7837112', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
7997
+ }, id: this.componentId }, hAsync("img", { key: 'b241c3d7fcb061b530e57ef4ca0aafe4801d9341', alt: this.alt, height: this.height, loading: this.loading, sizes: this.sizes, src: this.src, srcset: this.srcset, width: this.width })));
6067
7998
  }
6068
7999
  static get style() { return pdsImageCss; }
6069
8000
  static get cmpMeta() { return {
@@ -6089,8 +8020,15 @@ const pdsInputTokensCss$1 = ":host{--pine-input-color-background-danger:var(--pi
6089
8020
 
6090
8021
  const labelCss$4 = ":host{display:inline-block}:host([aria-disabled=true]) label{color:var(--pine-color-text-label-disabled)}:host([aria-readonly=true]) label{color:var(--pine-color-text-label-readonly)}label{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}";
6091
8022
 
6092
- const pdsInputCss = ":host{display:inline}:host([aria-readonly=true]) input{background-color:var(--pine-color-background-container-disabled);color:var(--pine-color-text-readonly)}.pds-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.pds-input__label{-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-input__field{background:var(--pine-color-background-container);border:1px solid var(--pine-color-border);border-radius:var(--pine-dimension-125);color:var(--pine-color-text-active);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-xs) var(--pine-dimension-sm);}.pds-input__field:hover:not(:disabled,.is-invalid){border:var(--pine-border-hover)}.pds-input__field:disabled{background-color:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed;}.pds-input__field:disabled::-webkit-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled::-moz-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled::-moz-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled:-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:hover{border-color:var(--pine-color-border-hover)}.pds-input__field:focus-visible{border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-input__field::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-input__field::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-input__field::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-input__field:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-input__field.is-invalid{background-color:var(--pine-input-color-background-danger);border-color:var(--pine-color-border-danger)}.pds-input__field.is-invalid:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-input__error-message,.pds-input__helper-message{font:var(--pine-typography-body-sm-medium);-webkit-margin-after:0;margin-block-end:0;-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-input__error-message{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}";
8023
+ const pdsInputCss = ":host{--pds-input-background:var(--pine-color-background-container);--pds-input-border-color:var(--pine-color-border);--pds-input-border-color-hover:var(--pine-color-border-hover);--pds-input-border-color-disabled:var(--pine-color-border-disabled);--pds-input-border-radius:var(--pine-dimension-125);--pds-input-border-width:var(--pine-border-width-thin);--pds-input-padding-x:var(--pine-dimension-150);--pds-input-padding-y:var(--pine-dimension-xs);--pds-input-font:var(--pine-typography-body);--pds-input-text-color:var(--pine-color-text-active);--pds-input-placeholder-color:var(--pine-color-text-placeholder);--pds-input-icon-color:var(--pine-color-text-secondary);--pds-input-disabled-background:var(--pine-color-background-container-disabled);--pds-input-disabled-text-color:var(--pine-color-text-disabled);--pds-input-error-color:var(--pine-color-text-message-danger);--pds-input-error-background:var(--pine-input-color-background-danger);--pds-input-error-border:var(--pine-color-border-danger);--pds-input-error-border-hover:var(--pine-color-border-danger-hover);--pds-input-addon-background:var(--pine-color-background-subtle);--pds-input-addon-color:var(--pine-color-text-secondary);--pds-input-field-min-height:calc(var(--pine-dimension-450) + 2px);--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger);display:inline}:host pds-select::part(select){background-color:var(--pds-input-error-background);border-color:var(--pds-input-error-border)}:host::part(prefix),:host::part(suffix){-ms-flex-align:center;align-items:center;color:var(--pine-color-text-label-readonly);display:-ms-flexbox;display:flex;height:100%;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);white-space:nowrap;z-index:1}:host::part(prefix){border-end-start-radius:var(--pds-input-border-radius);-webkit-border-end:var(--pine-border-width-none);border-inline-end:var(--pine-border-width-none);border-start-start-radius:var(--pds-input-border-radius);left:var(--pds-input-padding-x)}:host::part(suffix){border-end-end-radius:var(--pds-input-border-radius);-webkit-border-start:var(--pine-border-width-none);border-inline-start:var(--pine-border-width-none);border-start-end-radius:var(--pds-input-border-radius);right:var(--pds-input-padding-x)}:host::part(prepend),:host::part(append){-ms-flex-align:center;align-items:center;background-color:var(--pds-input-addon-background);border:var(--pds-input-border-width) solid var(--pds-input-border-color);color:var(--pds-input-addon-color);display:-ms-flexbox;display:flex}:host::part(prepend){border-end-start-radius:var(--pds-input-border-radius);-webkit-border-end:var(--pine-border-width-none);border-inline-end:var(--pine-border-width-none);border-start-start-radius:var(--pds-input-border-radius)}:host::part(append){border-end-end-radius:var(--pds-input-border-radius);-webkit-border-start:var(--pine-border-width-none);border-inline-start:var(--pine-border-width-none);border-start-end-radius:var(--pds-input-border-radius)}:host([has-prepend]) ::slotted(pds-button[slot=prepend]){--pds-button-background:var(--pds-input-addon-background);--pds-button-border:var(--pine-border-width-none);--pds-button-border-radius-end-end:var(--pine-dimension-none);--pds-button-border-radius-start-end:var(--pine-dimension-none);--pds-button-min-height:var(--pine-dimension-450)}:host([has-append]) ::slotted(pds-button[slot=append]){--pds-button-background:var(--pds-input-addon-background);--pds-button-border:var(--pine-border-width-none);--pds-button-border-radius-end-start:var(--pine-dimension-none);--pds-button-border-radius-start-start:var(--pine-dimension-none);--pds-button-min-height:var(--pine-dimension-450)}:host([has-prepend]) ::slotted(pds-select[slot=prepend]){--pds-select-background:var(--pds-input-addon-background);--pds-select-border:var(--pine-border-width-none);--pds-select-border-radius-end-end:var(--pine-dimension-none);--pds-select-border-radius-start-end:var(--pine-dimension-none);--pds-select-min-height:var(--pine-dimension-450)}:host([has-append]) ::slotted(pds-select[slot=append]){--pds-select-background:var(--pds-input-addon-background);--pds-select-border:var(--pine-border-width-none);--pds-select-border-radius-end-start:var(--pine-dimension-none);--pds-select-border-radius-start-start:var(--pine-dimension-none);--pds-select-min-height:var(--pine-dimension-450)}:host([aria-readonly=true]) input{background-color:var(--pine-color-background-container-disabled);color:var(--pine-color-text-readonly)}:host([disabled=true])::part(prepend),:host([disabled=true])::part(append){background-color:var(--pds-input-disabled-background);border:var(--pds-input-border-width) solid var(--pds-input-border-color-disabled)}:host([invalid=true])::part(prepend),:host([invalid=true])::part(append){background-color:var(--pds-input-error-background);border:var(--pds-input-border-width) solid var(--pds-input-error-border)}.pds-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--pine-dimension-2xs)}.pds-input__label-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-input__label{color:var(--pine-color-text-active);-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-input__label-wrapper .pds-input__label{-webkit-margin-after:0;margin-block-end:0}.pds-input__action{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);-webkit-margin-start:var(--pine-dimension-xs);margin-inline-start:var(--pine-dimension-xs)}.pds-input__field-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;position:relative;width:100%}.pds-input__field-wrapper.has-prefix .pds-input__field{-webkit-padding-start:calc(2 * var(--pds-input-padding-x) + var(--prefix-width, 1em));padding-inline-start:calc(2 * var(--pds-input-padding-x) + var(--prefix-width, 1em))}.pds-input__field-wrapper.has-suffix .pds-input__field{-webkit-padding-end:calc(2 * var(--pds-input-padding-x) + var(--suffix-width, 1em));padding-inline-end:calc(2 * var(--pds-input-padding-x) + var(--suffix-width, 1em))}.pds-input__field-wrapper.has-prepend .pds-input__field{border-end-start-radius:var(--pine-dimension-none);border-start-start-radius:var(--pine-dimension-none)}.pds-input__field-wrapper.has-append .pds-input__field{border-end-end-radius:var(--pine-dimension-none);border-start-end-radius:var(--pine-dimension-none)}.pds-input__field{background:var(--pds-input-background);border:var(--pds-input-border-width) solid var(--pds-input-border-color);border-radius:var(--pds-input-border-radius);-webkit-box-sizing:border-box;box-sizing:border-box;color:var(--pds-input-text-color);-ms-flex:1;flex:1;font:var(--pds-input-font);letter-spacing:var(--pine-letter-spacing);min-height:var(--pds-input-field-min-height);min-width:var(--pine-dimension-none);padding:var(--pds-input-padding-y) var(--pds-input-padding-x);-webkit-transition:border-color 0.2s ease;transition:border-color 0.2s ease;width:100%}.pds-input__field:hover:not(:disabled){border-color:var(--pds-input-border-color-hover)}.pds-input__field:disabled{background:var(--pds-input-disabled-background);border-color:var(--pine-color-border-disabled);color:var(--pds-input-disabled-text-color);cursor:not-allowed}.pds-input__field:disabled::-webkit-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled::-moz-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled:-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled::-ms-input-placeholder{color:var(--pine-color-text-placeholder-disabled)}.pds-input__field:disabled::placeholder{color:var(--pine-color-text-placeholder-disabled)}.has-error .pds-input__field:hover:not(:disabled){border-color:var(--pds-input-error-border-hover)}.pds-input__field:focus-visible:not(.has-error){border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}:host([has-prepend]) .pds-input__field:focus-visible:not(.has-error),:host([has-append]) .pds-input__field:focus-visible:not(.has-error),:host([has-prefix]) .pds-input__field:focus-visible:not(.has-error),:host([has-suffix]) .pds-input__field:focus-visible:not(.has-error){outline-offset:var(--pine-dimension-none)}.pds-input__field::-webkit-input-placeholder{color:var(--pds-input-placeholder-color)}.pds-input__field::-moz-placeholder{color:var(--pds-input-placeholder-color)}.pds-input__field:-ms-input-placeholder{color:var(--pds-input-placeholder-color)}.pds-input__field::-ms-input-placeholder{color:var(--pds-input-placeholder-color)}.pds-input__field::placeholder{color:var(--pds-input-placeholder-color)}.has-error .pds-input__field{background-color:var(--pds-input-error-background);border-color:var(--pds-input-error-border)}.has-error .pds-input__field:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-input__error-message,.pds-input__helper-message{font:var(--pine-typography-body-sm-medium);-webkit-margin-after:var(--pine-dimension-none);margin-block-end:var(--pine-dimension-none);-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-input__error-message{-ms-flex-align:center;align-items:center;color:var(--pds-input-error-color);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}";
6093
8024
 
8025
+ /**
8026
+ * @slot append - Content to be displayed after the input field
8027
+ * @slot prefix - Content that is displayed visually within the input field before the input field
8028
+ * @slot prepend - Content to be displayed before the input field
8029
+ * @slot suffix - Content that is displayed visually within the input field after the input field
8030
+ * @slot action - Content to be displayed in the label area, typically for help icons or links
8031
+ */
6094
8032
  class PdsInput {
6095
8033
  constructor(hostRef) {
6096
8034
  registerInstance(this, hostRef);
@@ -6100,6 +8038,26 @@ class PdsInput {
6100
8038
  this.pdsInput = createEvent(this, "pdsInput");
6101
8039
  this.inheritedAttributes = {};
6102
8040
  this.isComposing = false;
8041
+ /**
8042
+ * If true, the input has prefix content (non-focusable)
8043
+ */
8044
+ this.hasPrefix = false;
8045
+ /**
8046
+ * If true, the input has suffix content (non-focusable)
8047
+ */
8048
+ this.hasSuffix = false;
8049
+ /**
8050
+ * If true, the input has prepend content (focusable)
8051
+ */
8052
+ this.hasPrepend = false;
8053
+ /**
8054
+ * If true, the input has append content (focusable)
8055
+ */
8056
+ this.hasAppend = false;
8057
+ /**
8058
+ * If true, the input has action content in the label area
8059
+ */
8060
+ this.hasAction = false;
6103
8061
  /**
6104
8062
  * Determines the type of control that will be displayed
6105
8063
  * `'email'`, `'number'`, `'password'`, `'tel'`, `'text'`, `'url'`
@@ -6156,6 +8114,70 @@ class PdsInput {
6156
8114
  this.nativeInput.focus();
6157
8115
  }
6158
8116
  }
8117
+ updateAddonWidths() {
8118
+ requestAnimationFrame(() => {
8119
+ if (this.prefixEl) {
8120
+ const prefixWidth = this.prefixEl.offsetWidth;
8121
+ this.el.style.setProperty('--prefix-width', `${prefixWidth}px`);
8122
+ }
8123
+ if (this.suffixEl) {
8124
+ const suffixWidth = this.suffixEl.offsetWidth;
8125
+ this.el.style.setProperty('--suffix-width', `${suffixWidth}px`);
8126
+ }
8127
+ });
8128
+ }
8129
+ renderPrefix() {
8130
+ const hasPrefix = this.el.querySelector('[slot="prefix"]') !== null;
8131
+ if (hasPrefix) {
8132
+ return (hAsync("div", { class: "pds-input__prefix", part: "prefix", ref: (el) => this.prefixEl = el }, hAsync("slot", { name: "prefix", onSlotchange: () => this.updateAddonWidths() })));
8133
+ }
8134
+ return null;
8135
+ }
8136
+ renderSuffix() {
8137
+ const hasSuffix = this.el.querySelector('[slot="suffix"]') !== null;
8138
+ if (hasSuffix) {
8139
+ return (hAsync("div", { class: "pds-input__suffix", part: "suffix", ref: (el) => this.suffixEl = el }, hAsync("slot", { name: "suffix", onSlotchange: () => this.updateAddonWidths() })));
8140
+ }
8141
+ return null;
8142
+ }
8143
+ renderPrepend() {
8144
+ const hasPrepend = this.el.querySelector('[slot="prepend"]') !== null;
8145
+ if (hasPrepend) {
8146
+ return (hAsync("div", { class: "pds-input__prepend", part: "prepend" }, hAsync("slot", { name: "prepend" })));
8147
+ }
8148
+ return null;
8149
+ }
8150
+ renderAppend() {
8151
+ const hasAppend = this.el.querySelector('[slot="append"]') !== null;
8152
+ if (hasAppend) {
8153
+ return (hAsync("div", { class: "pds-input__append", part: "append" }, hAsync("slot", { name: "append" })));
8154
+ }
8155
+ return null;
8156
+ }
8157
+ renderAction() {
8158
+ const hasAction = this.el.querySelector('[slot="action"]') !== null;
8159
+ if (hasAction) {
8160
+ return (hAsync("div", { class: "pds-input__action", part: "action" }, hAsync("slot", { name: "action" })));
8161
+ }
8162
+ return null;
8163
+ }
8164
+ componentWillLoad() {
8165
+ this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
8166
+ this.hasPrefix = this.el.querySelector('[slot="prefix"]') !== null;
8167
+ this.hasSuffix = this.el.querySelector('[slot="suffix"]') !== null;
8168
+ this.hasPrepend = this.el.querySelector('[slot="prepend"]') !== null;
8169
+ this.hasAppend = this.el.querySelector('[slot="append"]') !== null;
8170
+ this.hasAction = this.el.querySelector('[slot="action"]') !== null;
8171
+ // Store the original pdsInput event emitter
8172
+ this.originalPdsInput = this.pdsInput;
8173
+ }
8174
+ componentDidLoad() {
8175
+ this.debounceChanged();
8176
+ this.updateAddonWidths();
8177
+ }
8178
+ componentDidUpdate() {
8179
+ this.updateAddonWidths();
8180
+ }
6159
8181
  debounceChanged() {
6160
8182
  const { pdsInput, debounce, originalPdsInput } = this;
6161
8183
  /**
@@ -6184,7 +8206,6 @@ class PdsInput {
6184
8206
  this.pdsChange.emit({ value: newValue, event });
6185
8207
  }
6186
8208
  /**
6187
- *
6188
8209
  * Emits a `pdsInput` event
6189
8210
  */
6190
8211
  emitInputChange(event) {
@@ -6193,24 +8214,20 @@ class PdsInput {
6193
8214
  const newValue = value == null ? value : value.toString();
6194
8215
  this.pdsInput.emit({ value: newValue, event });
6195
8216
  }
6196
- componentWillLoad() {
6197
- this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
6198
- }
6199
- componentDidLoad() {
6200
- this.debounceChanged();
6201
- }
6202
- inputClassNames() {
6203
- const classNames = ['pds-input__field'];
6204
- if (this.invalid && this.invalid === true) {
6205
- classNames.push('is-invalid');
6206
- }
6207
- return classNames.join(' ');
6208
- }
6209
8217
  render() {
6210
- return (hAsync(Host, { key: 'a2a05a1e0d3e7722c1dc3dea957facaf5ef24c3c', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null }, hAsync("div", { key: 'd95ad9600e7d80050bf41503a2eb9ccb91f77893', class: "pds-input" }, this.label &&
6211
- hAsync("label", { key: 'b5772c8283fe3c8899235c432bbabd36012c2aef', class: "pds-input__label", htmlFor: this.componentId }, this.label), hAsync("input", Object.assign({ key: '65a2ff8c31ebf545caf755609fa2f3e95cdd1098', class: this.inputClassNames(), ref: (input) => this.nativeInput = input, "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: this.disabled, id: this.componentId, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, type: this.type, value: this.value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.helperMessage &&
6212
- hAsync("p", { key: 'a7a30bc28a0e9aa16ebd842b8b3851569f556591', class: "pds-input__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
6213
- hAsync("p", { key: '3ffc19523e9378534e665ba52247935e924d4168', class: "pds-input__error-message", id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '6961e5735ffe279414ea5333224baa72561697d5', icon: danger, size: "small" }), this.errorMessage))));
8218
+ const { componentId, disabled, errorMessage, helperMessage, invalid = false, label, } = this;
8219
+ const value = this.getValue();
8220
+ const inputWrapperClasses = {
8221
+ 'pds-input__field-wrapper': true,
8222
+ 'has-focus': this.hasFocus,
8223
+ 'has-error': invalid || !!errorMessage,
8224
+ 'is-disabled': disabled,
8225
+ 'has-prefix': this.hasPrefix,
8226
+ 'has-suffix': this.hasSuffix,
8227
+ 'has-prepend': this.hasPrepend,
8228
+ 'has-append': this.hasAppend,
8229
+ };
8230
+ return (hAsync(Host, { key: 'a8cf9aaa6dc90cb0790a7cad75603a2ebf48451a', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-prefix": this.hasPrefix ? 'true' : null, "has-suffix": this.hasSuffix ? 'true' : null, "has-prepend": this.hasPrepend ? 'true' : null, "has-append": this.hasAppend ? 'true' : null, "has-action": this.hasAction ? 'true' : null }, hAsync("div", { key: '355f87099825b4db4d97500dac2b94a5892a3981', class: "pds-input" }, label && (hAsync("div", { key: 'ee7bdec715478f0945cd1bf6ba435c50e885ebda', class: "pds-input__label-wrapper" }, hAsync("label", { key: '56622a09c8f7313f8c2276363ded8efd2e985fb7', htmlFor: componentId, class: "pds-input__label" }, label, this.required && hAsync("span", { key: 'fb95186cd446e4d338822840423566110ac9dbd0', class: "pds-input__required-indicator" }, " *")), this.renderAction())), hAsync("div", { key: 'c7b209515121ab4e44f054eb817f61e6d9241323', class: inputWrapperClasses }, this.renderPrepend(), this.renderPrefix(), hAsync("input", Object.assign({ key: '02f8238ee2b87b7484da0b4b5282ce22c7dd3de1', ref: (input) => (this.nativeInput = input), class: "pds-input__field", "aria-describedby": assignDescription(componentId, invalid, helperMessage), "aria-invalid": invalid ? "true" : undefined, autocomplete: this.autocomplete, disabled: disabled, id: componentId, max: this.max, maxlength: this.maxlength, min: this.min, minlength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: value, onInput: this.onInputEvent, onChange: this.onChangeEvent, onBlur: this.onBlurEvent, onFocus: this.onFocusEvent, onCompositionstart: this.onCompositionStart, onCompositionend: this.onCompositionEnd }, this.inheritedAttributes)), this.renderSuffix(), this.renderAppend()), helperMessage && (hAsync("p", { key: 'b93e6b54755d300e9093ac78854b52d296703a00', class: "pds-input__helper-message", id: messageId(componentId, 'helper') }, helperMessage)), errorMessage && (hAsync("p", { key: 'bc16a204c2ad99b28759cde1f066b6ba790a5c80', class: "pds-input__error-message", id: messageId(componentId, 'error') }, hAsync("pds-icon", { key: '354293fa6512ff16603e7190a4131096f58ca819', icon: danger, size: "small" }), errorMessage)))));
6214
8231
  }
6215
8232
  get el() { return getElement(this); }
6216
8233
  static get watchers() { return {
@@ -6230,12 +8247,23 @@ class PdsInput {
6230
8247
  "helperMessage": [1, "helper-message"],
6231
8248
  "invalid": [4],
6232
8249
  "label": [1],
8250
+ "max": [1],
8251
+ "maxlength": [1],
8252
+ "min": [1],
8253
+ "minlength": [1],
6233
8254
  "name": [1],
8255
+ "pattern": [1],
6234
8256
  "placeholder": [1],
6235
8257
  "readonly": [4],
6236
8258
  "required": [4],
8259
+ "step": [1],
6237
8260
  "type": [1],
6238
8261
  "value": [1032],
8262
+ "hasPrefix": [32],
8263
+ "hasSuffix": [32],
8264
+ "hasPrepend": [32],
8265
+ "hasAppend": [32],
8266
+ "hasAction": [32],
6239
8267
  "hasFocus": [32],
6240
8268
  "setFocus": [64]
6241
8269
  },
@@ -6292,8 +8320,8 @@ class PdsLink {
6292
8320
  return linkStyles;
6293
8321
  }
6294
8322
  render() {
6295
- return (hAsync("a", { key: 'bd418a8fd35a3f3b7e240c09f9dcae3bdaa49013', class: this.classNames(), href: this.href, id: this.componentId, part: "link", target: this.external ? '_blank' : undefined, style: this.setLinkStyles() }, hAsync("slot", { key: '45aa4d6d1b2daaf4413227e39811595073f65744' }, this.href), this.external &&
6296
- hAsync("pds-icon", { key: '4b8dec593ddefb68278e3c102174ec24b63680f6', icon: launch, size: this.fontSize })));
8323
+ return (hAsync("a", { key: 'eeea6a903a33bf8212506970eddff01e19e02523', class: this.classNames(), href: this.href, id: this.componentId, part: "link", target: this.external ? '_blank' : undefined, style: this.setLinkStyles() }, hAsync("slot", { key: 'b860a1927bc0938d139d9ba9ad69801f27dabc50' }, this.href), this.external &&
8324
+ hAsync("pds-icon", { key: 'eda897680a6e67afd2e112646a84b2bffd1d0cc9', icon: launch, size: this.fontSize })));
6297
8325
  }
6298
8326
  static get style() { return pdsLinkCss; }
6299
8327
  static get cmpMeta() { return {
@@ -6362,7 +8390,7 @@ class PdsLoader {
6362
8390
  }
6363
8391
  }
6364
8392
  render() {
6365
- return (hAsync(Host, { key: '1885f34a4ea3b114fac209f543680e531059bbbc', 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: '179e5c12cf4b049fc065034f0a6658ad6ddd9040', class: "pds-loader--spinner" }, hAsync("svg", { key: '8f4ba909fc4b9fe64ea7ea37ff26ae1d835292ae', style: this.style(), viewBox: "0 0 200 200", fill: "none" }, hAsync("defs", { key: 'ded765d5064790ad53f65a7e831e86367ce394ee' }, hAsync("linearGradient", { key: 'a8d3bca4fb569a52e61fd3908512803b2020dc38', id: "spinner-secondHalf" }, hAsync("stop", { key: '5c573e2545c778350b7481a4f2f468f4ae8094c0', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), hAsync("stop", { key: '99ade176b1d6a84f4ae8a4d3b2c9e98954dbb519', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), hAsync("linearGradient", { key: '3730c343c31190b037d0a6401a89b63640250f4a', id: "spinner-firstHalf" }, hAsync("stop", { key: 'f989c168a08aec3cb0b3f3bbfc71483b1991aff3', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), hAsync("stop", { key: '2ef58c6b7ec9058856b0fa30158182e4262396c6', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), hAsync("g", { key: '6421330f6d04f90f24207057a67e03a38985d63b', class: "pds-loader__spinner-path" }, hAsync("path", { key: '594bf9e8c6b5c311ba2f461f873f6e5e9b6ccf27', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), hAsync("path", { key: 'd44edd943fe5ffd3d8708232a0ca16a254e688e4', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), hAsync("path", { key: 'ed3a5152042d5970dfa01d560ad234a8401702ca', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (hAsync("div", { key: 'b7c4a013453a7233b8a9090b614b1ef0e5234ccd', class: "pds-loader--typing" }, hAsync("span", { key: '41408b1e02d88e80f8aa0468f607aad34015ff38' }), hAsync("span", { key: 'c41fc78a3160a72875301b968da6229351953e30' }), hAsync("span", { key: '02d33e3953dc291e60f293ac2c5906229decc4b9' }))), hAsync("div", { key: '2e767fdad673b59d07ab1aa02aeb002eb1930d24', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, hAsync("slot", { key: '27956937cf99517d73c8a465457fde1c0c985c15', name: "label" }, "Loading..."))));
8393
+ return (hAsync(Host, { key: '723a80c291dd72959e43f10575bb947db80b48bc', 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: 'f239c576ab11e3ddf07fc15e1084cc67b55e61d7', class: "pds-loader--spinner" }, hAsync("svg", { key: 'd1c7c73d1afbb62646faffae7f2101de5c7c6fb8', style: this.style(), viewBox: "0 0 200 200", fill: "none" }, hAsync("defs", { key: '8e4ff591173df6169ab0472f0e5952f72bf29b25' }, hAsync("linearGradient", { key: '06d48bf0fe1d0db36dbd842c8a1975f965936389', id: "spinner-secondHalf" }, hAsync("stop", { key: '7d4528b15ee0d029062465a2b38a138e17051344', offset: "0%", "stop-opacity": "0", "stop-color": "currentColor" }), hAsync("stop", { key: '67825cd7c3b08d4f50fe1bea3a2eee079b556229', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" })), hAsync("linearGradient", { key: '408f7bb876bd2649f2f22f4ab032d321d69cd6b0', id: "spinner-firstHalf" }, hAsync("stop", { key: '3e530c0cdee5f8d19db55cf8aeb099f50be6eeea', offset: "0%", "stop-opacity": "1", "stop-color": "currentColor" }), hAsync("stop", { key: '61ca38ceb7536a3eb6da8d70004834b8ecc03a4e', offset: "100%", "stop-opacity": "0.5", "stop-color": "currentColor" }))), hAsync("g", { key: 'cbbfe03013311e2830e7d0bc83585e3f58677a50', class: "pds-loader__spinner-path" }, hAsync("path", { key: 'e5376fd10b97844faf97167fd89c9630d42e8c26', stroke: "url(#spinner-secondHalf)", d: "M 4 100 A 96 96 0 0 1 196 100" }), hAsync("path", { key: '0c484548cee25d885bea7017ebbad7be9fe0a4df', stroke: "url(#spinner-firstHalf)", d: "M 196 100 A 96 96 0 0 1 4 100" }), hAsync("path", { key: 'c7d41b97e8cb16182ffb408b1205dd68e70a0b92', stroke: "currentColor", "stroke-linecap": "round", d: "M 4 100 A 96 96 0 0 1 4 98" }))))), this.variant === 'typing' && (hAsync("div", { key: '39fbcd19d720242aeef165281a68ae032c5f7368', class: "pds-loader--typing" }, hAsync("span", { key: 'ca2c0ef3d326be687b15196964be691cfb5de6e3' }), hAsync("span", { key: 'b2d72db5856ab236c546a67fe8cb375e5cf0d500' }), hAsync("span", { key: '9d64698e62e906d151ccbedd438a4390406505c5' }))), hAsync("div", { key: '2d485557a642a81aec4be06b9a6d2b6e86e45563', class: `pds-loader__label ${this.showLabel ? '' : 'pds-loader--hidden'}` }, hAsync("slot", { key: '5e1925ec79160b5ac0dc23530aae2a933ce2ef2f', name: "label" }, "Loading..."))));
6366
8394
  }
6367
8395
  static get style() { return pdsLoaderCss; }
6368
8396
  static get cmpMeta() { return {
@@ -6613,10 +8641,10 @@ class PdsModal {
6613
8641
  return thisZIndex === maxZIndex;
6614
8642
  }
6615
8643
  render() {
6616
- return (hAsync("dialog", { key: 'c27d56b7717f739fb8ed7a243e0715a806ed3b0c', class: {
8644
+ return (hAsync("dialog", { key: '037701d53182dfa8a1c65c4f72433f80d569c2a0', class: {
6617
8645
  'pds-modal__backdrop': true,
6618
8646
  'open': this.open
6619
- }, "aria-modal": "true", "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, hAsync("div", { key: '083bfc9fa7ec82b9f5deb9b49f19d10abfc5c912', class: `pds-modal pds-modal--${this.size} pds-modal--scrollable` }, hAsync("slot", { key: '2c47ddf024a9b1b7824de478f8d15a4af74627bb' }))));
8647
+ }, "aria-modal": "true", "aria-labelledby": `${this.componentId}-heading`, onClick: this.handleBackdropClick }, hAsync("div", { key: '33cf8ccba3a56b0ce9795b85e871055ce1a1c1ec', class: `pds-modal pds-modal--${this.size} pds-modal--scrollable` }, hAsync("slot", { key: '9f98dc099f74cf9a33de8b71bf5508fd9b353c48' }))));
6620
8648
  }
6621
8649
  get el() { return getElement(this); }
6622
8650
  static get watchers() { return {
@@ -6717,10 +8745,10 @@ class PdsModalContent {
6717
8745
  }
6718
8746
  }
6719
8747
  render() {
6720
- return (hAsync(Host, { key: '4ff98a386d18f5047752cf8915fa30ea3b6805e2' }, hAsync("div", { key: '686b6fc2263664f7b5f8178827c9e9ae9d53d086', class: {
8748
+ return (hAsync(Host, { key: '897268bfde6b22a4a8c05b413683b36a321df502' }, hAsync("div", { key: 'f61227128896753e6bdfa9ea62402a23460445e6', class: {
6721
8749
  'pds-modal-content': true,
6722
8750
  [`pds-modal-content--border-${this.border}`]: true
6723
- }, style: { maxHeight: this.contentMaxHeight }, tabindex: "-1" }, hAsync("slot", { key: '4531f6ba4c499c9404704c9d3a59e1b9ef4744f9' }))));
8751
+ }, style: { maxHeight: this.contentMaxHeight }, tabindex: "-1" }, hAsync("slot", { key: '20d4fbb16bc097eaa4f7899ea71feaac65e057d4' }))));
6724
8752
  }
6725
8753
  get el() { return getElement(this); }
6726
8754
  static get style() { return pdsModalContentCss; }
@@ -6744,7 +8772,7 @@ class PdsModalFooter {
6744
8772
  registerInstance(this, hostRef);
6745
8773
  }
6746
8774
  render() {
6747
- return (hAsync("footer", { key: 'ea47425a063c04c1cdff3481fc09f32bd65b7679', class: "pds-modal__footer" }, hAsync("slot", { key: '55c560cb8cca95687eb04ba727ae45542ef2209f' })));
8775
+ return (hAsync("footer", { key: 'daaff7132c3b6bcaecafcb4e8dbbf25bf3ad1de4', class: "pds-modal__footer" }, hAsync("slot", { key: '06ba1513613bea247b8d533a750f1331c509e2e5' })));
6748
8776
  }
6749
8777
  static get style() { return pdsModalFooterCss; }
6750
8778
  static get cmpMeta() { return {
@@ -6764,7 +8792,7 @@ class PdsModalHeader {
6764
8792
  registerInstance(this, hostRef);
6765
8793
  }
6766
8794
  render() {
6767
- return (hAsync("header", { key: '63d1121b84d10ea99354d07b029b7625d52d9095', class: "pds-modal__header" }, hAsync("slot", { key: 'dd08fc600f122e422ccd3161bc558f3b9cc075f9' })));
8795
+ return (hAsync("header", { key: '8592e91625152d821a52a7c6ecb4b4077c8b12ae', class: "pds-modal__header" }, hAsync("slot", { key: '6a9f38a579019ef3fd6c3085eb3bfc9865070200' })));
6768
8796
  }
6769
8797
  static get style() { return pdsModalHeaderCss; }
6770
8798
  static get cmpMeta() { return {
@@ -6883,7 +8911,7 @@ class PdsPopover {
6883
8911
  popoverEl.style.left = `${left}px`;
6884
8912
  }
6885
8913
  render() {
6886
- return (hAsync(Host, { key: 'b150645b71d528055c6cd6cf2ff9c898c3fe1f3f' }, hAsync("button", { key: '3090efe8ffd85d0d3e4d5dc5f54147a5aff61fb9', class: "pds-popover__trigger", popoverTarget: this.componentId, popoverTargetAction: this.popoverTargetAction, onClick: this.handleClick }, this.text), hAsync("div", { key: '6e9b4af0278507b6f8bf4b5f2d8c3a2891f974b6', class: `pds-popover ${this.active ? 'pds-popover--active' : ''}`, id: this.componentId, popover: this.popoverType, style: { maxWidth: `${this.maxWidth}px` } }, hAsync("slot", { key: 'f4303d3f3aca19314413b86d3973c8d9f1477e8f' }))));
8914
+ return (hAsync(Host, { key: '74048ac8ac89c87e9a65565151627dca0d7811b4' }, hAsync("button", { key: '61cbfd4ee6572e181e0f098acba36a5855280d62', class: "pds-popover__trigger", popoverTarget: this.componentId, popoverTargetAction: this.popoverTargetAction, onClick: this.handleClick }, this.text), hAsync("div", { key: 'f88b815d14fb15fe4eff85be908e1aa85f1195fb', class: `pds-popover ${this.active ? 'pds-popover--active' : ''}`, id: this.componentId, popover: this.popoverType, style: { maxWidth: `${this.maxWidth}px` } }, hAsync("slot", { key: '5dd632e9e4a833f5dc26626181f63b85340590a1' }))));
6887
8915
  }
6888
8916
  get el() { return getElement(this); }
6889
8917
  static get style() { return pdsPopoverCss; }
@@ -6927,7 +8955,7 @@ class PdsProgress {
6927
8955
  this.showPercent = false;
6928
8956
  }
6929
8957
  render() {
6930
- return (hAsync(Host, { key: '71ce602dccee62ee76ef51c3994af86829399452', class: this.animated ? { 'is-animated': this.animated } : '' }, hAsync("div", { key: 'c26188786bcfd4d6f039050032cd48982327355e', class: "pds-progress" }, hAsync("label", { key: 'e18f75dae8fcf3fde684156638cc47f9d5e253dd', class: "pds-progress__label", htmlFor: this.componentId }, this.label), hAsync("progress", { key: '37a5bb5609e25912c006a89dd0bbc244cfa5896b', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && hAsync("div", { key: '68e859cafbcf74c74fc3b72a5347fb03eda83556', class: "pds-progress__percentage" }, this.percent, "%")));
8958
+ return (hAsync(Host, { key: 'e260269fec1449c354e6c66d2547697180839002', class: this.animated ? { 'is-animated': this.animated } : '' }, hAsync("div", { key: '44996e689f4ba5e15d40a3e6df3382d532533290', class: "pds-progress" }, hAsync("label", { key: '01d3d9a419bd0f38e3b39c37739a9c7a4966da49', class: "pds-progress__label", htmlFor: this.componentId }, this.label), hAsync("progress", { key: '78013be8fb0d05059ee05a5aba1a6e4ae50e5019', id: this.componentId, max: "100", style: this.fillColor ? { '--color-progress-fill': this.fillColor } : {}, value: this.percent })), this.showPercent && hAsync("div", { key: 'd9da8650c998c67f119818e10a891f55c3baa18e', class: "pds-progress__percentage" }, this.percent, "%")));
6931
8959
  }
6932
8960
  static get style() { return pdsProgressCss; }
6933
8961
  static get cmpMeta() { return {
@@ -6947,6 +8975,36 @@ class PdsProgress {
6947
8975
  }; }
6948
8976
  }
6949
8977
 
8978
+ const pdsPropertyCss = ":host{color:var(--pine-color-text-message);font:var(--pine-typography-body-medium)}";
8979
+
8980
+ /**
8981
+ * @slot (default) - The property text content.
8982
+ */
8983
+ class PdsProperty {
8984
+ constructor(hostRef) {
8985
+ registerInstance(this, hostRef);
8986
+ /**
8987
+ * The name of the icon to display before the property text.
8988
+ */
8989
+ this.icon = 'star';
8990
+ }
8991
+ render() {
8992
+ return (hAsync(Host, { key: 'ff84eef7431dfe6081018528a76987dec7f1dfbc', id: this.componentId }, hAsync("pds-box", { key: 'c9b8218d49ff7ac0a94cb65b9bbbe2069d4651ba', "align-items": "center", gap: "xs" }, hAsync("pds-icon", { key: '06d09314acdda08f48267c4af63eb5393eadfca1', icon: this.icon, size: "var(--pine-dimension-sm)", "aria-hidden": "true" }), hAsync("slot", { key: 'ca3654f3ee0791f5dcce5d0cff0c78e3aa22150b' }))));
8993
+ }
8994
+ static get style() { return pdsPropertyCss; }
8995
+ static get cmpMeta() { return {
8996
+ "$flags$": 9,
8997
+ "$tagName$": "pds-property",
8998
+ "$members$": {
8999
+ "componentId": [1, "component-id"],
9000
+ "icon": [1]
9001
+ },
9002
+ "$listeners$": undefined,
9003
+ "$lazyBundleId$": "-",
9004
+ "$attrsToReflect$": []
9005
+ }; }
9006
+ }
9007
+
6950
9008
  const labelCss$3 = ".sc-pds-radio-h{display:inline-block}[aria-disabled=true].sc-pds-radio-h label.sc-pds-radio{color:var(--pine-color-text-label-disabled)}[aria-readonly=true].sc-pds-radio-h label.sc-pds-radio{color:var(--pine-color-text-label-readonly)}label.sc-pds-radio{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}";
6951
9009
 
6952
9010
  const pdsRadioCss = ".sc-pds-radio-h{--sizing-check-size:6px;--sizing-input-size:var(--pine-dimension-sm);--sizing-margin-block-start:6px;-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-flow:row wrap;flex-flow:row wrap}.is-invalid.sc-pds-radio-h input.sc-pds-radio{border-color:var(--pine-color-border-danger)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked{background:var(--pine-color-border-danger)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:checked:hover{background:var(--pine-color-border-danger-hover);border-color:var(--pine-color-border-danger-hover)}.is-invalid.sc-pds-radio-h input.sc-pds-radio:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.is-invalid.sc-pds-radio-h label.sc-pds-radio,.is-invalid.sc-pds-radio-h .pds-radio__message--error.sc-pds-radio{color:var(--pine-color-text-message-danger)}input.sc-pds-radio{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-border-radius-full);-ms-flex:none;flex:none;height:var(--sizing-input-size);margin:0;-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025);position:relative;width:var(--sizing-input-size)}input.sc-pds-radio:hover{background:var(--pine-color-background-container-hover);border:var(--pine-border-hover)}input.sc-pds-radio:checked{background:var(--pine-color-accent);border-color:var(--pine-color-accent)}input.sc-pds-radio:checked:hover{background:var(--pine-color-accent-hover);border-color:var(--pine-color-accent-hover)}input.sc-pds-radio:checked::after{background:var(--pine-color-background-container);border-radius:var(--pine-border-radius-full);content:\"\";display:block;height:var(--sizing-check-size);left:50%;position:absolute;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:var(--sizing-check-size)}input.sc-pds-radio:disabled{background:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);cursor:not-allowed}input.sc-pds-radio:disabled:checked{background-color:var(--pine-color-accent-disabled);border-color:var(--pine-color-border-disabled)}input.sc-pds-radio:disabled:checked::after{border-color:var(--pine-color-border-disabled)}input.sc-pds-radio:disabled+label.sc-pds-radio{cursor:not-allowed}input.sc-pds-radio:disabled~.pds-radio__message.sc-pds-radio{color:var(--pine-color-text-message-disabled)}input.sc-pds-radio:focus-visible{outline:var(--pine-outline-focus)}label.sc-pds-radio{display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs)}.visually-hidden.sc-pds-radio{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}.pds-radio__message.sc-pds-radio{color:var(--pine-color-text-message);-webkit-margin-before:var(--sizing-margin-block-start);margin-block-start:var(--sizing-margin-block-start);-webkit-margin-start:var(--pine-dimension-md);margin-inline-start:var(--pine-dimension-md);width:100%}.pds-radio__message--error.sc-pds-radio{display:-ms-flexbox;display:flex;font-size:var(--pine-font-size-body-sm);gap:var(--pine-dimension-2xs)}.pds-radio__message--error.sc-pds-radio pds-icon.sc-pds-radio{-webkit-margin-before:var(--pine-dimension-025);margin-block-start:var(--pine-dimension-025)}";
@@ -6995,9 +9053,9 @@ class PdsRadio {
6995
9053
  return classNames.join(' ');
6996
9054
  }
6997
9055
  render() {
6998
- return (hAsync(Host, { key: 'a31d9cd94150a104a83595043dc003fa5d9779a2', class: this.classNames() }, hAsync("label", { key: '1d71e515a00c25bbaac7d0420f4a4ee6a5189836', htmlFor: this.componentId }, hAsync("input", { key: '800b2bbf703e68fbf60f62d6c28228759d976436', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange }), hAsync("span", { key: '33c241168498b07a25dfc5ac6f9244eb3ce93547', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
6999
- hAsync("div", { key: 'f159de72b68a0f1bf07abb52d50a0d6d89b4f766', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
7000
- hAsync("div", { key: 'fb5877c78e519db27964308c1607ab58fc2fcb08', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '1385571ed511a800778d64edf48e2853a1c4793e', icon: danger, size: "small" }), this.errorMessage)));
9056
+ return (hAsync(Host, { key: '5e8a4bd868172cda64aa2ad4697c7c41f0bdf633', class: this.classNames() }, hAsync("label", { key: 'f18a8a06cf3f9be68ab6b110fe67a8af7c1e8595', htmlFor: this.componentId }, hAsync("input", { key: '7a3ef56682ebe1facedf1eb52445f85e5e7de9d1', "aria-describedby": assignDescription(this.componentId, this.invalid, this.helperMessage), "aria-invalid": this.invalid ? "true" : undefined, type: "radio", id: this.componentId, name: this.name, value: this.value, checked: this.checked, required: this.required, disabled: this.disabled, onChange: this.handleRadioChange }), hAsync("span", { key: 'bd0c351062e30ac4f68252497affdcde4730ef3d', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
9057
+ hAsync("div", { key: '3b180595a4c088df1f121937c11f7518a802b22f', class: 'pds-radio__message', id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
9058
+ hAsync("div", { key: 'e931d2de83247c74bac1568f479ee99abd1f20a0', class: `pds-radio__message pds-radio__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '7dab998a2992e3738b5b3cd14ca7031ff6db6dbb', icon: danger, size: "small" }), this.errorMessage)));
7001
9059
  }
7002
9060
  static get style() { return labelCss$3 + pdsRadioCss; }
7003
9061
  static get cmpMeta() { return {
@@ -7059,7 +9117,7 @@ class PdsRow {
7059
9117
  })), (this.minHeight && {
7060
9118
  'min-height': this.minHeight,
7061
9119
  }));
7062
- return hAsync(Host, { key: '2e962d6f8edd5023b3d8d7c8192e4f4ea2b2d2be', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
9120
+ return hAsync(Host, { key: 'b16cc4fa554894bccdb3dadbe07c531145dc2416', class: `pds-row ${rowClasses}`, style: rowInlineStyles });
7063
9121
  }
7064
9122
  static get style() { return pdsRowCss; }
7065
9123
  static get cmpMeta() { return {
@@ -7084,8 +9142,11 @@ const pdsSelectTokensCss = ":host{--pine-select-color-background-danger:var(--pi
7084
9142
 
7085
9143
  const labelCss$2 = ":host{display:inline-block}:host([aria-disabled=true]) label{color:var(--pine-color-text-label-disabled)}:host([aria-readonly=true]) label{color:var(--pine-color-text-label-readonly)}label{color:var(--pine-color-text-label);font:var(--pine-typography-body-medium);letter-spacing:var(--pine-letter-spacing)}";
7086
9144
 
7087
- const pdsSelectCss = ":host .hidden,:host :host([hidden]){display:none}.pds-select{display:grid;-ms-flex-direction:column;flex-direction:column;grid-template-areas:\"label label\" \"field field\" \"message message\";grid-template-columns:1fr minmax(2rem, -webkit-min-content);grid-template-columns:1fr minmax(2rem, min-content);grid-template-rows:-webkit-min-content -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content min-content;position:relative;width:100%}label{grid-area:label;-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--pine-color-background-container);border:var(--pine-border);border-radius:var(--pine-dimension-125);font:var(--pine-typography-body);grid-area:field;letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-xs) var(--pine-dimension-150);-webkit-padding-end:var(--pine-dimension-450);padding-inline-end:var(--pine-dimension-450);position:relative}select:hover{border-color:var(--pine-color-border-hover);cursor:pointer}select:focus-visible{border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}select:disabled{background-color:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}select:has(~.pds-select__message .pds-select__error-message){background-color:var(--pine-select-color-background-danger);border-color:var(--pine-color-border-danger)}select:has(~.pds-select__message .pds-select__error-message):focus-visible{outline-color:var(--pine-color-focus-ring-danger)}:host(.is-invalid) select{background-color:var(--pine-select-color-background-danger);border-color:var(--pine-color-border-danger)}:host(.is-invalid) select:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-select__error-message,.pds-select__helper-message{font:var(--pine-typography-body-sm-medium);-webkit-margin-after:0;margin-block-end:0;-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-select__error-message{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}.pds-select__message{grid-area:message}.pds-select__select-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;grid-column:-1/-2;grid-row:2/3;height:2.5rem;pointer-events:none;position:relative;z-index:1}";
9145
+ const pdsSelectCss = ":host{--pds-select-background:var(--pine-color-background-container);--pds-select-border:var(--pine-border);--pds-select-border-radius:var(--pine-dimension-125);--pds-select-border-radius-start-end:var(--pine-dimension-125);--pds-select-border-radius-start-start:var(--pine-dimension-125);--pds-select-border-radius-end-end:var(--pine-dimension-125);--pds-select-border-radius-end-start:var(--pine-dimension-125);--pds-select-min-height:36px;--box-shadow-focus:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring);--box-shadow-focus-error:0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-focus-ring-danger)}:host .hidden,:host :host([hidden]){display:none}.pds-select{display:grid;-ms-flex-direction:column;flex-direction:column;grid-template-areas:\"label label\" \"field field\" \"message message\";grid-template-columns:1fr minmax(2rem, -webkit-min-content);grid-template-columns:1fr minmax(2rem, min-content);grid-template-rows:-webkit-min-content -webkit-min-content -webkit-min-content;grid-template-rows:min-content min-content min-content;position:relative;width:100%}.pds-select__label-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;grid-area:label;-ms-flex-pack:justify;justify-content:space-between;-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-select__action{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);-webkit-margin-start:var(--pine-dimension-xs);margin-inline-start:var(--pine-dimension-xs)}label{-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-select__label-wrapper label{-webkit-margin-after:0;margin-block-end:0}select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--pds-select-background);border:var(--pds-select-border);border-radius:var(--pds-select-border-radius);border-bottom-left-radius:var(--pds-select-border-radius-end-start, var(--pds-select-border-radius));border-bottom-right-radius:var(--pds-select-border-radius-end-end, var(--pds-select-border-radius));border-top-left-radius:var(--pds-select-border-radius-start-start, var(--pds-select-border-radius));border-top-right-radius:var(--pds-select-border-radius-start-end, var(--pds-select-border-radius));font:var(--pine-typography-body);grid-area:field;letter-spacing:var(--pine-letter-spacing);min-height:var(--pds-select-min-height);padding:var(--pine-dimension-xs) var(--pine-dimension-150);-webkit-padding-end:var(--pine-dimension-450);padding-inline-end:var(--pine-dimension-450);position:relative}select:hover{border-color:var(--pine-color-border-hover);cursor:pointer}select:focus-visible{border-color:var(--pine-color-border-active);outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}select:disabled{background-color:var(--pine-color-background-container-disabled);border-color:var(--pine-color-border-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}select:has(~.pds-select__message .pds-select__error-message){background-color:var(--pine-select-color-background-danger);border-color:var(--pine-color-border-danger)}select:has(~.pds-select__message .pds-select__error-message):focus-visible{outline-color:var(--pine-color-focus-ring-danger)}:host(.is-invalid) select{background-color:var(--pine-select-color-background-danger);border-color:var(--pine-color-border-danger)}:host(.is-invalid) select:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-select__error-message,.pds-select__helper-message{font:var(--pine-typography-body-sm-medium);-webkit-margin-after:0;margin-block-end:0;-webkit-margin-before:var(--pine-dimension-2xs);margin-block-start:var(--pine-dimension-2xs)}.pds-select__error-message{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}.pds-select__message{grid-area:message}.pds-select__select-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;grid-column:-1/-2;grid-row:2/3;height:var(--pds-select-min-height);pointer-events:none;position:relative;z-index:1}.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}";
7088
9146
 
9147
+ /**
9148
+ * @slot action - Content to be displayed in the label area, typically for help icons or links
9149
+ */
7089
9150
  class PdsSelect {
7090
9151
  constructor(hostRef) {
7091
9152
  registerInstance(this, hostRef);
@@ -7199,10 +9260,18 @@ class PdsSelect {
7199
9260
  }
7200
9261
  return classNames.join(' ');
7201
9262
  }
9263
+ renderAction() {
9264
+ const hasAction = this.el.querySelector('[slot="action"]') !== null;
9265
+ if (hasAction) {
9266
+ return (hAsync("div", { class: "pds-select__action", part: "action" }, hAsync("slot", { name: "action" })));
9267
+ }
9268
+ return null;
9269
+ }
7202
9270
  render() {
7203
- return (hAsync(Host, { key: '2d39b1eac389e27eea511728ef668d4d548d0c09', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames() }, hAsync("div", { key: 'c0c4e64a19b7b11e0d64d94cbc529be7e455b12a', class: "pds-select" }, this.label &&
7204
- hAsync("label", { key: '9eadfcc4e6fd6d42f718eb0ad1542f7c03b67052', htmlFor: this.componentId }, this.label), hAsync("select", { key: 'eb1d368ed4f765dead79f6101265e922bd06ca94', autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, required: this.required, ref: (el) => (this.selectEl = el) }), hAsync("div", { key: '1dcbfe5d51e55af333e80bb99995cef1693f36c1', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, hAsync("slot", { key: '4d0c76c632e9588dc178c859be5ef1fd474fa191', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && hAsync("pds-icon", { key: '954d31034ed522ba128c9048998e92553592d12f', class: "pds-select__select-icon", icon: enlarge }))));
9271
+ const hasAction = this.el.querySelector('[slot="action"]') !== null;
9272
+ return (hAsync(Host, { key: '7bbdad147f68a6b000d738c991c4f77e7ba6d934', "aria-disabled": this.disabled ? 'true' : null, class: this.classNames(), "has-action": hasAction && !this.hideLabel ? 'true' : null }, hAsync("div", { key: 'd8b3ba6fcaa63435c919083760573d4a94394f56', class: "pds-select" }, !this.hideLabel && (hAsync("div", { key: '01edc2b7f833d71da9c440ee9e35327210b233d1', class: "pds-select__label-wrapper" }, hAsync("label", { key: '5a7743e84be49edf04deed503a27929d15fa8515', htmlFor: this.componentId }, hAsync("span", { key: 'df5e57ac95def4069ff07f081226d70ca5a15cc8', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), hasAction && this.renderAction())), hAsync("select", { key: '3e9faea02fe9449fdda224bf4f3ee157217640ff', "aria-label": this.hideLabel ? this.label : undefined, autocomplete: this.autocomplete || undefined, class: "pds-select__field", disabled: this.disabled, id: this.componentId, multiple: this.multiple, name: this.name, onChange: this.onSelectUpdate, part: "select", required: this.required, ref: (el) => (this.selectEl = el) }), hAsync("div", { key: '1a75cbfdca145e1d303c8c07de9cb8df5afa267e', "aria-hidden": "true", class: "hidden", ref: (el) => (this.slotContainer = el) }, hAsync("slot", { key: '2656e9edc098798b4a118c2a8b8a0f6283fc6f9a', onSlotchange: this.handleSlotChange })), this.renderMessages(), !this.multiple && hAsync("pds-icon", { key: 'ca5831acc4a4f72221a2d26be14e076daabd35b1', class: "pds-select__select-icon", icon: enlarge }))));
7205
9273
  }
9274
+ get el() { return getElement(this); }
7206
9275
  static get watchers() { return {
7207
9276
  "value": ["valueChanged"]
7208
9277
  }; }
@@ -7215,6 +9284,7 @@ class PdsSelect {
7215
9284
  "componentId": [1, "component-id"],
7216
9285
  "disabled": [4],
7217
9286
  "errorMessage": [1, "error-message"],
9287
+ "hideLabel": [4, "hide-label"],
7218
9288
  "helperMessage": [1, "helper-message"],
7219
9289
  "invalid": [4],
7220
9290
  "label": [1],
@@ -9940,7 +12010,7 @@ class PdsSortable {
9940
12010
  Sortable.create(this.el, sortableOptions);
9941
12011
  }
9942
12012
  render() {
9943
- return (hAsync(Host, { key: 'cbbd28ad002093f627befee44c5ae911f86b0221', class: this.classNames(), id: this.componentId }, hAsync("slot", { key: 'f4ef09a82d8e47b471a2463912fd37ac3b9b383f' })));
12013
+ return (hAsync(Host, { key: '1477131e596ce7320a0fd99164b330c3131ed148', class: this.classNames(), id: this.componentId }, hAsync("slot", { key: 'e5045a1937528b4cd269866dc5ec0f28361259d9' })));
9944
12014
  }
9945
12015
  get el() { return getElement(this); }
9946
12016
  static get style() { return pdsSortableCss; }
@@ -9987,7 +12057,7 @@ class PdsSortableItem {
9987
12057
  }
9988
12058
  }
9989
12059
  render() {
9990
- return (hAsync(Host, { key: 'b54ef05cc6a8f2dd3c6f7f971b32bd4566738600', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (hAsync("div", { key: 'fa402ec9c8ad9a75a73a23c28d2a5101bcf3d170', class: "pds-sortable-item__handle" }, hAsync("pds-icon", { key: 'def73620ade698eccc0fb8abb4dfeb5b7de46c95', icon: handle }))), hAsync("slot", { key: 'd9dfcc135b7bd8bf893360798baa30297d4fb4ea' }), this.enableActions && (hAsync("div", { key: 'd0852370b35b213238739cea2aa1c3dcd91cbd9d', class: "pds-sortable-item__actions" }, hAsync("slot", { key: 'cbf966a4c56be43ced57e200b91d64e68f5077d9', name: "sortable-item-actions" })))));
12060
+ return (hAsync(Host, { key: '221592dd0eec456c0baf58243f529ca463cbf135', class: "pds-sortable-item", id: this.componentId }, this.showHandle && (hAsync("div", { key: 'dbaff57b9faa68f8e72473b082108757b2283373', class: "pds-sortable-item__handle" }, hAsync("pds-icon", { key: '6d42dbe93a13bb6be2f76cccae9aa502d9940de5', icon: handle }))), hAsync("slot", { key: 'c4ae6785c184f6916ff4cc9b551e6cc07f4d0440' }), this.enableActions && (hAsync("div", { key: '4e2d581ae71cb669a06c0ec89c2f8e3e7a74cc65', class: "pds-sortable-item__actions" }, hAsync("slot", { key: '3ac9ddee2738b70fa2d4eec7fafa276d71125219', name: "sortable-item-actions" })))));
9991
12061
  }
9992
12062
  get el() { return getElement(this); }
9993
12063
  static get style() { return pdsSortableItemCss; }
@@ -10052,9 +12122,9 @@ class PdsSwitch {
10052
12122
  this.inheritedAttributes = Object.assign({}, inheritAriaAttributes(this.el));
10053
12123
  }
10054
12124
  render() {
10055
- return (hAsync(Host, { key: '04755f80f89f4eff8d44f8c8e76e6020f6be65fb', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, hAsync("label", { key: 'cdf1c4d58c640954ada9d50b4832fa26094b3476', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: 'f141885523b649f8dca4e9fe11494ebf640510bc', "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: 'f80b28bd0904dfae3a4e7b46bfecc46c82843764', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
10056
- hAsync("div", { key: '7b60b9c273f4773f9d0e90fd8132dc979c088183', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
10057
- hAsync("div", { key: '9d068c8da41e985ff63851a909f985a80bdabf89', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: '14a69e6ce04e3434f440f19d6ea0e9b347a9b352', icon: danger, size: "small" }), this.errorMessage)));
12125
+ return (hAsync(Host, { key: '128ed012fe386dea88e6da282084589b22453588', class: this.switchClassNames(), "aria-disabled": this.disabled ? 'true' : null }, hAsync("label", { key: '3407eeffca9a0f0c047e5d7c761526b488aafb62', htmlFor: this.componentId }, hAsync("input", Object.assign({ key: '3f16f928b2b96aa212923ba09ee80a3559b8103c', "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: '09c43ffbabce6a2fe133875ca15e0910d34064fa', class: this.hideLabel ? 'visually-hidden' : '' }, this.label)), this.helperMessage &&
12126
+ hAsync("div", { key: '90c9df8b2efef83cf238d540076bad04bf9aa2eb', class: `pds-switch__message`, id: messageId(this.componentId, 'helper') }, this.helperMessage), this.errorMessage &&
12127
+ hAsync("div", { key: 'e812446a907dc0ad822b0c5974fca5913117f051', class: `pds-switch__message pds-switch__message--error`, id: messageId(this.componentId, 'error'), "aria-live": "assertive" }, hAsync("pds-icon", { key: 'e1c93c8ac145e54a205f8bfecf465ba8e484313b', icon: danger, size: "small" }), this.errorMessage)));
10058
12128
  }
10059
12129
  get el() { return getElement(this); }
10060
12130
  static get style() { return labelCss$1 + pdsSwitchCss; }
@@ -10096,9 +12166,9 @@ class PdsTab {
10096
12166
  this.pdsTabClick.emit([index, parentComponentId]);
10097
12167
  }
10098
12168
  render() {
10099
- const availabilityTabEdgeInlineStart = (hAsync("span", { key: '5256039455be2b9e0dbfd18caf5a7a4f6ca2f047', class: "pds-tab-edge", role: "presentation" }));
10100
- const availabilityTabEdgeInlineEnd = (hAsync("span", { key: 'c65bc9ccb5a43ee1c1f634fa19c4ac6d66259747', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
10101
- return (hAsync(Host, { key: '0f379e0d4cce1590dc917196dd520b26bb5e89d9', variant: this.variant, slot: "tabs", index: this.index }, hAsync("button", { key: '70b033b21ff9093b2393565c026ff4954d74dbf3', role: "tab", id: this.parentComponentId + "__" + this.name, "aria-controls": this.parentComponentId + "__" + this.name + "-panel", tabindex: this.selected ? "0" : "-1", "aria-selected": this.selected ? "true" : "false", class: this.selected ? "pds-tab is-active" : "pds-tab", onClick: this.onTabClick.bind(this, this.index, this.parentComponentId) }, this.variant === "availability" && availabilityTabEdgeInlineStart, this.variant === "availability" && availabilityTabEdgeInlineEnd, hAsync("div", { key: 'b01547140256199ec4e829a83e11ea27d059e0ea', class: "pds-tab__content" }, hAsync("slot", { key: '7dce311009731af53a4b6fff4af6e90f91a060a7' })))));
12169
+ const availabilityTabEdgeInlineStart = (hAsync("span", { key: '4f66f8149bd22a451ddc9e2849dfb06110d9bad9', class: "pds-tab-edge", role: "presentation" }));
12170
+ const availabilityTabEdgeInlineEnd = (hAsync("span", { key: '2a8e8c25af220803c4b75d29f31d6381475a12dd', class: "pds-tab-edge pds-tab-edge--end", role: "presentation" }));
12171
+ return (hAsync(Host, { key: '62b2ccf5e478fc50b41bd837979311c535c78412', variant: this.variant, slot: "tabs", index: this.index }, hAsync("button", { key: 'e1b179b308791299b6d57441ea50f79da7bd8f21', role: "tab", id: this.parentComponentId + "__" + this.name, "aria-controls": this.parentComponentId + "__" + this.name + "-panel", tabindex: this.selected ? "0" : "-1", "aria-selected": this.selected ? "true" : "false", class: this.selected ? "pds-tab is-active" : "pds-tab", onClick: this.onTabClick.bind(this, this.index, this.parentComponentId) }, this.variant === "availability" && availabilityTabEdgeInlineStart, this.variant === "availability" && availabilityTabEdgeInlineEnd, hAsync("div", { key: 'fcf7b2db11eaa6e8f0c97b96f925540678a3c864', class: "pds-tab__content" }, hAsync("slot", { key: '2ee6ea6d01dc62bd177e9b8473602b9d5b2549b3' })))));
10102
12172
  }
10103
12173
  get el() { return getElement(this); }
10104
12174
  static get style() { return pdsTabCss; }
@@ -10207,7 +12277,7 @@ class PdsTable {
10207
12277
  headerCheckbox.indeterminate = !allSelectedRows && !noneSelectedRows;
10208
12278
  }
10209
12279
  render() {
10210
- return (hAsync(Host, { key: 'b874cdb2b0f0dcc313befdd557d5ce4203a183ac', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, hAsync("slot", { key: '52bcce99761712662828ba5a708155410de6e15d' })));
12280
+ return (hAsync(Host, { key: '994a8ae5aae1ddcc7dd0271187dd65718bc1401f', class: this.classNames(), id: this.componentId, role: "grid", selectable: this.selectable, tabindex: "0" }, hAsync("slot", { key: 'e07c97a88d1bf1b2efb92f2cdf0159fc93ca9f9a' })));
10211
12281
  }
10212
12282
  get el() { return getElement(this); }
10213
12283
  static get style() { return pdsTableCss; }
@@ -10236,7 +12306,7 @@ class PdsTableBody {
10236
12306
  registerInstance(this, hostRef);
10237
12307
  }
10238
12308
  render() {
10239
- return (hAsync(Host, { key: 'ec68d794fd59876a83f40077d29e97af4366f19a', role: "rowgroup" }, hAsync("slot", { key: '9d052cdf3c0ea8afa86a6900d492c9de5c9adaf1' })));
12309
+ return (hAsync(Host, { key: 'fc9edecfd03417cb9f6c4386b5fb4fd3a015138d', role: "rowgroup" }, hAsync("slot", { key: 'c79c6c1009b0afb456551d2e989491567fe73f43' })));
10240
12310
  }
10241
12311
  static get style() { return pdsTableBodyCss; }
10242
12312
  static get cmpMeta() { return {
@@ -10290,11 +12360,11 @@ class PdsTableCell {
10290
12360
  return classNames.join(' ');
10291
12361
  }
10292
12362
  render() {
10293
- return (hAsync(Host, { key: 'f86b2ae5eaee0f3bcb1cd55951a0e83bce4ccfca', class: this.classNames(), role: "gridcell", style: this.tableRef &&
12363
+ return (hAsync(Host, { key: '289640cb5d2d78067b4a32a26e2eb9200cdbde1a', class: this.classNames(), role: "gridcell", style: this.tableRef &&
10294
12364
  this.tableRef.fixedColumn &&
10295
12365
  this.tableRef.selectable
10296
12366
  ? { '--fixed-cell-position': '40px' }
10297
- : {} }, hAsync("slot", { key: '347d6487bc869bf9903c5e1fb8b05ca29d6e6d50' })));
12367
+ : {} }, hAsync("slot", { key: 'e961e93f1d6cbc3bd6b9aa476632741dfc603bfc' })));
10298
12368
  }
10299
12369
  get hostElement() { return getElement(this); }
10300
12370
  static get style() { return pdsTableCellCss; }
@@ -10355,7 +12425,7 @@ class PdsTableHead {
10355
12425
  }
10356
12426
  }
10357
12427
  render() {
10358
- return (hAsync(Host, { key: 'f74bfa35afc2f26957ffff431c5438fbb159e15b', role: "row" }, this.tableRef && this.tableRef.selectable && (hAsync("pds-table-head-cell", { key: '13bcfb69c1e8ab696ba702d39209944fa97f34ea', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, hAsync("pds-checkbox", { key: '898170f579ad89627621bb693908b1b04ca25f83', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected }))), hAsync("slot", { key: 'd7dc459310c32ee112e05df947b8c9da57180035' })));
12428
+ return (hAsync(Host, { key: '3f315b70b0c57570cbb81415a5590760242e6904', role: "row" }, this.tableRef && this.tableRef.selectable && (hAsync("pds-table-head-cell", { key: '09dc3a0630448be1112650ae34d6c09e0bf2539b', part: this.tableRef.selectable ? 'checkbox-cell' : '' }, hAsync("pds-checkbox", { key: '518ec4ad92e8b0b11fbff1c064a6811e13b442e0', componentId: this.generateUniqueId(), indeterminate: this.indeterminate, onInput: this.handleInput, label: "Select All Rows", hideLabel: true, checked: this.isSelected }))), hAsync("slot", { key: '527db0d141790c0d673cb81d4cca2266495b117e' })));
10359
12429
  }
10360
12430
  get hostElement() { return getElement(this); }
10361
12431
  static get style() { return pdsTableHeadCss; }
@@ -10437,11 +12507,11 @@ class PdsTableHeadCell {
10437
12507
  return classNames.join(' ');
10438
12508
  }
10439
12509
  render() {
10440
- return (hAsync(Host, { key: '9f9138f88914add530416fbf776d5a68685a3fab', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
12510
+ return (hAsync(Host, { key: 'bf2f29d2214ba308be7c8cca6b2afb66fdccc2fa', class: this.classNames(), role: "columnheader", onClick: this.toggleSort, style: this.tableRef &&
10441
12511
  this.tableRef.fixedColumn &&
10442
12512
  this.tableRef.selectable
10443
12513
  ? { '--fixed-cell-position': '40px' }
10444
- : {} }, hAsync("slot", { key: '84d3c20fc656b468d6c46cc9f5a8c49071af7d04' }), this.sortable && (hAsync("pds-icon", { key: '4ad357565f9542604c16ade571bc5e55b4fa1077', icon: this.sortingDirection === 'asc' ? upSmall : downSmall }))));
12514
+ : {} }, hAsync("slot", { key: '14a6849059768b901ec5be69cff37f56ce07c15b' }), this.sortable && (hAsync("pds-icon", { key: '29e0068115ec20dba39e4a798f11d0b0a0c6fef7', icon: this.sortingDirection === 'asc' ? upSmall : downSmall }))));
10445
12515
  }
10446
12516
  get hostElement() { return getElement(this); }
10447
12517
  static get style() { return pdsTableHeadCellCss; }
@@ -10507,7 +12577,7 @@ class PdsTableRow {
10507
12577
  }
10508
12578
  }
10509
12579
  render() {
10510
- return (hAsync(Host, { key: 'd3ebaeea3a8007634ea821da5a458189a36837a7', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (hAsync("pds-table-cell", { key: '62705fadc9cdb18de2eebd4c608c0dffa119cfba', part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, hAsync("pds-checkbox", { key: '19e01d4eef0657f7e34a5a9061e568a18eb9b7c6', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected }))), hAsync("slot", { key: '59b3c28a61f36f9ea6e891876bf007590a7cce51' })));
12580
+ return (hAsync(Host, { key: '3c2be878370bd35f97a3fc4cc1136a6fdb096a24', class: this.classNames(), role: "row" }, this.tableRef && this.tableRef.selectable && (hAsync("pds-table-cell", { key: '40541b11040d4c243d82779cf84e212f73541368', part: this.tableRef.fixedColumn ? 'checkbox-cell' : '', class: this.tableRef.selectable ? 'has-checkbox' : '' }, hAsync("pds-checkbox", { key: 'd20e734a91562340f3808297c2bb6f5f257d7a46', componentId: this.generateUniqueId(), onClick: this.handleClick, indeterminate: this.indeterminate, label: "Select Row", hideLabel: true, checked: this.isSelected }))), hAsync("slot", { key: '148434aa3dace85b0d48aa2a0ead93cda6850d2a' })));
10511
12581
  }
10512
12582
  get hostElement() { return getElement(this); }
10513
12583
  static get style() { return pdsTableRowCss; }
@@ -10536,7 +12606,7 @@ class PdsTabpanel {
10536
12606
  this.selected = false; // eslint-disable-line @stencil-community/strict-mutable
10537
12607
  }
10538
12608
  render() {
10539
- return (hAsync(Host, { key: 'fe7548d8da3149d13d23b41d6860beb1f351b3c6', slot: "tabpanels" }, hAsync("div", { key: 'bf50bfc20be721ba467ff22ba24f0410153223f5', role: "tabpanel", id: this.parentComponentId + "__" + this.name + '-panel', tabindex: "0", "aria-labelledby": this.parentComponentId + "__" + this.name, class: this.selected ? "pds-tabpanel is-active" : "pds-tabpanel" }, hAsync("slot", { key: '3de1657e963e7e9fca81fac07f78edc064cd86e7' }))));
12609
+ return (hAsync(Host, { key: '0465e33b28555596cc4a891a63a99c49153f577d', slot: "tabpanels" }, hAsync("div", { key: '8c2404f0aaee7dd7219552b51332d4194aa535ae', role: "tabpanel", id: this.parentComponentId + "__" + this.name + '-panel', tabindex: "0", "aria-labelledby": this.parentComponentId + "__" + this.name, class: this.selected ? "pds-tabpanel is-active" : "pds-tabpanel" }, hAsync("slot", { key: 'f7f9dc2a755aa726b8e46d8641087a8fdb1a9e5e' }))));
10540
12610
  }
10541
12611
  get el() { return getElement(this); }
10542
12612
  static get style() { return pdsTabpanelCss; }
@@ -10637,7 +12707,7 @@ class PdsTabs {
10637
12707
  this.passPropsToChildren();
10638
12708
  }
10639
12709
  render() {
10640
- return (hAsync(Host, { key: '571b33280e4473d1a8bef6e90103c4d42a29ed03', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, hAsync("div", { key: 'c50a6cd3b8a06e13ff14626258769b7918f57ed0', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, hAsync("slot", { key: '1fcbefc41181ce48f2a109ee0703d03f9975784f', name: "tabs" })), hAsync("slot", { key: '9762d5533cbbea5672f2a4235b90b3a766066179', name: "tabpanels" })));
12710
+ return (hAsync(Host, { key: '3b06654b1d2298a9cfa3fc42996ad72e80942ee4', "active-tab-name": this.activeTabName, class: this.classNames(), id: this.componentId }, hAsync("div", { key: '529e1aa48f7fea4754dbe8a3d8f655eb297e1a9a', class: "pds-tabs__tablist", role: "tablist", "aria-label": this.tablistLabel }, hAsync("slot", { key: 'cca3b75eec2a519e87878b39d8ca52a6c033dc4d', name: "tabs" })), hAsync("slot", { key: 'caf5abcc85eee1e45e197a7ec792a873cdfb104b', name: "tabpanels" })));
10641
12711
  }
10642
12712
  get el() { return getElement(this); }
10643
12713
  static get style() { return pdsTabsCss; }
@@ -10659,6 +12729,9 @@ class PdsTabs {
10659
12729
 
10660
12730
  const pdsTextCss = ":host{display:inline}:host([decoration=underline-dotted])>*{-webkit-text-decoration-color:var(--pine-color-grey-600);text-decoration-color:var(--pine-color-grey-600);-webkit-text-decoration-line:underline;text-decoration-line:underline;-webkit-text-decoration-style:dotted;text-decoration-style:dotted;text-decoration-thickness:12%;text-underline-offset:0.3rem;text-underline-position:under}:host([decoration=strikethrough])>*{text-decoration:line-through}h1{font:var(--pine-typography-heading-1);letter-spacing:var(--pine-letter-spacing-heading-1)}h2{font:var(--pine-typography-heading-2);letter-spacing:var(--pine-letter-spacing-heading-2)}h3{font:var(--pine-typography-heading-3);letter-spacing:var(--pine-letter-spacing-heading-3)}h4{font:var(--pine-typography-heading-4);letter-spacing:var(--pine-letter-spacing-heading-4)}h5{font:var(--pine-typography-heading-5);letter-spacing:var(--pine-letter-spacing-heading-5)}h6{font:var(--pine-typography-heading-6);letter-spacing:var(--pine-letter-spacing-heading-6)}code,em,p,pre,strong{font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing)}code,pre{font-family:monospace;letter-spacing:0;line-height:1}em{font-style:normal}strong{font-weight:bolder}:host([truncate])>*{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([italic])>*{font-style:italic}.pds-text{color:var(--color, var(--pine-color-text));margin:var(--pine-dimension-none)}.pds-text--size-2xl{font-size:var(--pine-font-size-body-2xl)}.pds-text--size-xl{font-size:var(--pine-font-size-body-xl)}.pds-text--size-lg{font-size:var(--pine-font-size-body-lg)}.pds-text--size-md{font-size:var(--pine-font-size-body-md)}.pds-text--size-sm{font-size:var(--pine-font-size-body-sm)}.pds-text--size-xs{font-size:var(--pine-font-size-body-xs)}.pds-text--size-2xs{font-size:var(--pine-font-size-body-2xs)}.pds-text--size-h1{font-size:var(--pine-font-size-heading-1)}.pds-text--size-h2{font-size:var(--pine-font-size-heading-2)}.pds-text--size-h3{font-size:var(--pine-font-size-heading-3)}.pds-text--size-h4{font-size:var(--pine-font-size-heading-4)}.pds-text--size-h5{font-size:var(--pine-font-size-heading-5)}.pds-text--size-h6{font-size:var(--pine-font-size-heading-6)}.pds-text--weight-extra-light{font-weight:var(--pine-font-weight-extra-light)}.pds-text--weight-light{font-weight:var(--pine-font-weight-light)}.pds-text--weight-regular{font-weight:var(--pine-font-weight-regular)}.pds-text--weight-medium{font-weight:var(--pine-font-weight-medium)}.pds-text--weight-semibold{font-weight:var(--pine-font-weight-semi-bold)}.pds-text--weight-bold{font-weight:var(--pine-font-weight-bold)}.pds-text--gutter-2xl{-webkit-margin-after:var(--pine-dimension-2xl);margin-block-end:var(--pine-dimension-2xl)}.pds-text--gutter-xl{-webkit-margin-after:var(--pine-dimension-xl);margin-block-end:var(--pine-dimension-xl)}.pds-text--gutter-lg{-webkit-margin-after:var(--pine-dimension-lg);margin-block-end:var(--pine-dimension-lg)}.pds-text--gutter-md{-webkit-margin-after:var(--pine-dimension-md);margin-block-end:var(--pine-dimension-md)}.pds-text--gutter-sm{-webkit-margin-after:var(--pine-dimension-sm);margin-block-end:var(--pine-dimension-sm)}.pds-text--gutter-xs{-webkit-margin-after:var(--pine-dimension-xs);margin-block-end:var(--pine-dimension-xs)}.pds-text--gutter-2xs{-webkit-margin-after:var(--pine-dimension-2xs);margin-block-end:var(--pine-dimension-2xs)}.pds-text--align-start{text-align:start}.pds-text--align-center{text-align:center}.pds-text--align-end{text-align:end}.pds-text--align-justify{text-align:justify}";
10661
12731
 
12732
+ /**
12733
+ * @part content - The text content container
12734
+ */
10662
12735
  class PdsText {
10663
12736
  constructor(hostRef) {
10664
12737
  registerInstance(this, hostRef);
@@ -10677,7 +12750,7 @@ class PdsText {
10677
12750
  ${this.weight !== undefined && this.weight.trim() !== '' ? `pds-text--weight-${this.weight}` : ''}
10678
12751
  ${this.decoration !== undefined && this.decoration.trim() !== '' ? `pds-text--decoration-${this.decoration}` : ''}
10679
12752
  `;
10680
- return (hAsync(Tag, { key: 'dbb51692cc782fcef771390934ca6efc7a2728b9', style: this.color && setColor(this.color), class: typeClasses }, hAsync("slot", { key: '9e7351a9de468132a213f3e26c20c8ca894881a8' })));
12753
+ return (hAsync(Tag, { key: '2b8a2f2aaafd342a7df51029213c82224774fd5f', style: this.color && setColor(this.color), class: typeClasses, part: "content" }, hAsync("slot", { key: '8dd80aaec576c1e1ab152529f94732d6074c5542' })));
10681
12754
  }
10682
12755
  get el() { return getElement(this); }
10683
12756
  static get style() { return pdsTextCss; }
@@ -10705,8 +12778,11 @@ const labelCss = ":host{display:inline-block}:host([aria-disabled=true]) label{c
10705
12778
 
10706
12779
  const pdsInputTokensCss = ":host{--pine-input-color-background-danger:var(--pine-color-red-050)}";
10707
12780
 
10708
- const pdsTextareaCss = ":host{display:inline}:host([aria-readonly=true]) textarea{background-color:var(--pine-color-background-container-disabled);color:var(--pine-color-text-readonly)}.pds-textarea{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}label{display:block;-webkit-margin-after:var(--pine-dimension-xs);margin-block-end:var(--pine-dimension-xs)}.pds-textarea__field{background-color:var(--pine-color-background-container);border:var(--pine-border);border-radius:calc(var(--pine-dimension-xs) * 1.25);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-textarea__field:hover:not(:disabled,.is-invalid){border:var(--pine-border-hover)}.pds-textarea__field:disabled{background-color:var(--pine-color-background-container-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-textarea__field:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-textarea__field::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field::placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field.is-invalid{background-color:var(--pine-input-color-background-danger);border-color:var(--pine-color-border-danger)}.pds-textarea__field.is-invalid:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-textarea__error-message,.pds-textarea__helper-message{font:var(--pine-typography-body-sm-medium);-webkit-margin-before:var(--pine-dimension-xs);margin-block-start:var(--pine-dimension-xs)}.pds-textarea__error-message{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}";
12781
+ const pdsTextareaCss = ":host{display:inline}:host([aria-readonly=true]) textarea{background-color:var(--pine-color-background-container-disabled);color:var(--pine-color-text-readonly)}.pds-textarea{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.pds-textarea__label-wrapper{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-webkit-margin-after:var(--pine-dimension-xs);margin-block-end:var(--pine-dimension-xs)}.pds-textarea__action{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:var(--pine-dimension-xs);-webkit-margin-start:var(--pine-dimension-xs);margin-inline-start:var(--pine-dimension-xs)}label{display:block;-webkit-margin-after:var(--pine-dimension-xs);margin-block-end:var(--pine-dimension-xs)}.pds-textarea__label-wrapper label{-webkit-margin-after:0;margin-block-end:0}.pds-textarea__field{background-color:var(--pine-color-background-container);border:var(--pine-border);border-radius:calc(var(--pine-dimension-xs) * 1.25);font:var(--pine-typography-body);letter-spacing:var(--pine-letter-spacing);padding:var(--pine-dimension-xs) var(--pine-dimension-sm)}.pds-textarea__field:hover:not(:disabled,.is-invalid){border:var(--pine-border-hover)}.pds-textarea__field:disabled{background-color:var(--pine-color-background-container-disabled);color:var(--pine-color-text-disabled);cursor:not-allowed}.pds-textarea__field:focus-visible{outline:var(--pine-outline-focus);outline-offset:var(--pine-border-width)}.pds-textarea__field::-webkit-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field::-moz-placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field:-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field::-ms-input-placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field::placeholder{color:var(--pine-color-text-placeholder)}.pds-textarea__field.is-invalid{background-color:var(--pine-input-color-background-danger);border-color:var(--pine-color-border-danger)}.pds-textarea__field.is-invalid:focus-visible{outline-color:var(--pine-color-focus-ring-danger)}.pds-textarea__error-message,.pds-textarea__helper-message{font:var(--pine-typography-body-sm-medium);-webkit-margin-before:var(--pine-dimension-xs);margin-block-start:var(--pine-dimension-xs)}.pds-textarea__error-message{-ms-flex-align:center;align-items:center;color:var(--pine-color-text-message-danger);display:-ms-flexbox;display:flex;gap:var(--pine-dimension-2xs)}";
10709
12782
 
12783
+ /**
12784
+ * @slot action - Content to be displayed in the label area, typically for help icons or links
12785
+ */
10710
12786
  class PdsTextarea {
10711
12787
  constructor(hostRef) {
10712
12788
  registerInstance(this, hostRef);
@@ -10744,6 +12820,10 @@ class PdsTextarea {
10744
12820
  */
10745
12821
  this.value = '';
10746
12822
  this.hasFocus = false;
12823
+ /**
12824
+ * If true, the textarea has action content in the label area
12825
+ */
12826
+ this.hasAction = false;
10747
12827
  this.onBlur = (ev) => {
10748
12828
  this.hasFocus = false;
10749
12829
  if (this.focusedValue !== this.value) {
@@ -10824,16 +12904,24 @@ class PdsTextarea {
10824
12904
  }
10825
12905
  componentWillLoad() {
10826
12906
  this.inheritedAttributes = Object.assign(Object.assign({}, inheritAriaAttributes(this.el)), inheritAttributes$1(this.el));
12907
+ this.hasAction = this.el.querySelector('[slot="action"]') !== null;
10827
12908
  }
10828
12909
  componentDidLoad() {
10829
12910
  this.originalPdsInput = this.pdsInput;
10830
12911
  }
12912
+ renderAction() {
12913
+ const hasAction = this.el.querySelector('[slot="action"]') !== null;
12914
+ if (hasAction) {
12915
+ return (hAsync("div", { class: "pds-textarea__action", part: "action" }, hAsync("slot", { name: "action" })));
12916
+ }
12917
+ return null;
12918
+ }
10831
12919
  render() {
10832
12920
  const value = this.getValue();
10833
- return (hAsync(Host, { key: 'a7db5e94c424af94616faae520aa8f39ee23cedd', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null }, hAsync("div", { key: '26c4a0b5e464e648f627c6de6d948a159e1b4603', class: "pds-textarea" }, this.label &&
10834
- hAsync("label", { key: 'b32a15274079ba8fdb4d911dfc4915da9437a57a', htmlFor: this.componentId }, this.label), hAsync("textarea", Object.assign({ key: '6348ed57813a044849a8de53a172f9f724d7b00e', 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, 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 }, this.inheritedAttributes), value), this.helperMessage &&
10835
- hAsync("p", { key: '0f9a7606295b5d020e4762f2dc66bc920a60f8da', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
10836
- hAsync("p", { key: 'badc7d45069955709993c594ed9792c7cdc8727b', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: '460955036713315d8dd7b125a50b09d0cb1a282d', icon: danger, size: "small" }), this.errorMessage))));
12921
+ return (hAsync(Host, { key: 'fa16663adc15f59b07b1d9b6f0ce4ae7d4664967', "aria-disabled": this.disabled ? 'true' : null, "aria-readonly": this.readonly ? 'true' : null, "has-action": this.hasAction ? 'true' : null }, hAsync("div", { key: '5f3406c079111f605a38da627db564ab8f1d2dbb', class: "pds-textarea" }, this.label &&
12922
+ hAsync("div", { key: '00cea607a59cdf31adb21c3b7d92b8dc21560fe8', class: "pds-textarea__label-wrapper" }, hAsync("label", { key: 'e94c947240141495b83329ae9bbc38aefe77cee1', htmlFor: this.componentId }, this.label), this.renderAction()), hAsync("textarea", Object.assign({ key: 'd29a1cc338533a20808060f37af1f784f4556a02', 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, 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 }, this.inheritedAttributes), value), this.helperMessage &&
12923
+ hAsync("p", { key: 'be35def46c67b7b333be13e0d0ccbf47b4db3e15', class: "pds-textarea__helper-message", id: messageId(this.componentId, 'helper') }, this.helperMessage), this.invalid &&
12924
+ hAsync("p", { key: 'e4636cb54fea2071896a03e17c965039f58ec790', "aria-live": "assertive", class: "pds-textarea__error-message", id: messageId(this.componentId, 'error') }, hAsync("pds-icon", { key: 'dec05eb0d1b7713c96148725a9278f0f62361ba5', icon: danger, size: "small" }), this.errorMessage))));
10837
12925
  }
10838
12926
  get el() { return getElement(this); }
10839
12927
  static get watchers() { return {
@@ -10860,6 +12948,7 @@ class PdsTextarea {
10860
12948
  "rows": [2],
10861
12949
  "value": [1025],
10862
12950
  "hasFocus": [32],
12951
+ "hasAction": [32],
10863
12952
  "setFocus": [64]
10864
12953
  },
10865
12954
  "$listeners$": undefined,
@@ -10950,13 +13039,13 @@ class PdsToast {
10950
13039
  return this.icon && hAsync("pds-icon", { name: this.icon, class: "pds-toast__icon" });
10951
13040
  }
10952
13041
  render() {
10953
- return (hAsync(Host, { key: 'c950cf3a269952f6048f79e5c6c793c65ff2b89a', hidden: !this.isVisible }, hAsync("div", { key: '0cec10124aecec0c7af86b460165a577c65d1571', class: {
13042
+ return (hAsync(Host, { key: '3fb4b7b3600555959e9ed09f9dfd3a725d4a2de7', hidden: !this.isVisible }, hAsync("div", { key: '4f8d554fc30a5e4fb3c498b8fa5a2972a60eb0ab', class: {
10954
13043
  'pds-toast': true,
10955
13044
  [`pds-toast--${this.type}`]: this.type !== 'default',
10956
13045
  'pds-toast--animating-out': this.isAnimatingOut
10957
- }, role: "alert", "aria-live": "polite" }, this.renderIcon(), hAsync("span", { key: '5dda529f788df94ed0e444924fb11a1061a20dd1', class: "pds-toast__message" }, hAsync("slot", { key: '29a6c93dbf14f92b1375eff7a3c8f4556babe67a' })), this.dismissible && (hAsync("button", { key: 'f3bcbcacceb5ef2b1d2127d408879e2a95418230', type: "button", class: "pds-toast__button", onClick: () => {
13046
+ }, role: "alert", "aria-live": "polite" }, this.renderIcon(), hAsync("span", { key: 'a70883e76524ce76e562f48d62df1a42fb65659c', class: "pds-toast__message" }, hAsync("slot", { key: '3e2fd182b97d1cd89c59ca109404d77e9f834806' })), this.dismissible && (hAsync("button", { key: '945b766572831b259f2ff36fdf628b254189d334', type: "button", class: "pds-toast__button", onClick: () => {
10958
13047
  this.dismiss();
10959
- }, "aria-label": "Dismiss message" }, hAsync("pds-icon", { key: '1ea48def81a89dc7ba38f493abb0107632005075', name: "remove" }))))));
13048
+ }, "aria-label": "Dismiss message" }, hAsync("pds-icon", { key: '9492720d544270179ae43bd3d1ecb4b1f6c0882b', name: "remove" }))))));
10960
13049
  }
10961
13050
  static get watchers() { return {
10962
13051
  "duration": ["handleDurationChange"]
@@ -11085,6 +13174,8 @@ class PdsTooltip {
11085
13174
  this.contentDiv = null;
11086
13175
  this.slotMutationObserver = null;
11087
13176
  this.overlayResizeObserver = null;
13177
+ this.currentPathname = '';
13178
+ this.pathnameCheckInterval = null;
11088
13179
  /**
11089
13180
  * Determines when the tooltip is open
11090
13181
  * @defaultValue false
@@ -11154,6 +13245,12 @@ class PdsTooltip {
11154
13245
  this.hideTooltip();
11155
13246
  this._isInteractiveOpen = false;
11156
13247
  };
13248
+ this.checkPathnameChange = () => {
13249
+ if (window.location.pathname !== this.currentPathname) {
13250
+ this.currentPathname = window.location.pathname;
13251
+ this.handleSpaNavigation();
13252
+ }
13253
+ };
11157
13254
  }
11158
13255
  handleOpenToggle(newValue, oldValue) {
11159
13256
  if (newValue === false && oldValue === true) {
@@ -11165,6 +13262,7 @@ class PdsTooltip {
11165
13262
  }
11166
13263
  componentDidLoad() {
11167
13264
  window.addEventListener('pageshow', this.handlePageShow);
13265
+ this.currentPathname = window.location.pathname;
11168
13266
  this.triggerEl = this.el.querySelector('.pds-tooltip__trigger');
11169
13267
  const contentSlotWrapper = this.el.querySelector('.pds-tooltip__content-slot-wrapper');
11170
13268
  if (contentSlotWrapper !== null) {
@@ -11323,6 +13421,8 @@ class PdsTooltip {
11323
13421
  window.addEventListener('scroll', this.handleScroll, true);
11324
13422
  window.addEventListener('popstate', this.handleSpaNavigation, true);
11325
13423
  window.addEventListener('hashchange', this.handleSpaNavigation, true);
13424
+ // Start pathname change detection
13425
+ this.pathnameCheckInterval = setInterval(this.checkPathnameChange, 100);
11326
13426
  // Add ARIA attribute to trigger, now that portalEl and its ID are confirmed
11327
13427
  if (this.triggerEl !== null && this.portalEl.id !== '') {
11328
13428
  this.triggerEl.setAttribute('aria-describedby', this.portalEl.id);
@@ -11333,6 +13433,11 @@ class PdsTooltip {
11333
13433
  this.overlayResizeObserver.unobserve(this.contentDiv);
11334
13434
  this.overlayResizeObserver = null;
11335
13435
  }
13436
+ // Stop pathname change detection
13437
+ if (this.pathnameCheckInterval !== null) {
13438
+ clearInterval(this.pathnameCheckInterval);
13439
+ this.pathnameCheckInterval = null;
13440
+ }
11336
13441
  if (this.portalEl !== null) {
11337
13442
  window.removeEventListener('scroll', this.handleScroll, true);
11338
13443
  window.removeEventListener('popstate', this.handleSpaNavigation, true);
@@ -11348,7 +13453,7 @@ class PdsTooltip {
11348
13453
  }
11349
13454
  render() {
11350
13455
  const hostId = this.componentId || undefined;
11351
- return (hAsync(Host, { key: '0fe2bea1ea0e8eaeb5879644694a2e129f1f4898', id: hostId, class: { 'pds-tooltip--is-open': this.opened } }, hAsync("span", { key: 'f26feb3c37957573d3b6b0a55091b2e7012ae31b', class: "pds-tooltip__trigger", onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocus: this.handleShow, onBlur: this.handleHide, ref: el => this.triggerEl = el }, hAsync("slot", { key: 'c7940e3aa7f17fc5d5fcdedc0a624204ceed291c' })), hAsync("div", { key: '0c8dc83e3b7f8c1337aae8641d80f63c0866c348', class: "pds-tooltip__content-slot-wrapper", style: { display: 'none' } }, hAsync("slot", { key: '2f6701768c0debdd69673da3ad7dc34b8b237f6a', name: "content" }))));
13456
+ return (hAsync(Host, { key: 'd0651080fc68d70a01d8c487d08a59f356f06e88', id: hostId, class: { 'pds-tooltip--is-open': this.opened } }, hAsync("span", { key: '9f8c246c63a80c0d30c73687faa133b213c6bb63', class: "pds-tooltip__trigger", onMouseEnter: this.handleShow, onMouseLeave: this.handleHide, onFocus: this.handleShow, onBlur: this.handleHide, ref: el => this.triggerEl = el }, hAsync("slot", { key: '2295b22ac9ec244f31410cd6a3764248100a1c48' })), hAsync("div", { key: '7c8a59703b7c6ff43b0aa9352a869d59bca9b2b1', class: "pds-tooltip__content-slot-wrapper", style: { display: 'none' } }, hAsync("slot", { key: '612dab7daf61394624177c45d47f542d551af52c', name: "content" }))));
11352
13457
  }
11353
13458
  get el() { return getElement(this); }
11354
13459
  static get watchers() { return {
@@ -11387,6 +13492,7 @@ registerComponents([
11387
13492
  PdsButton,
11388
13493
  PdsCheckbox,
11389
13494
  PdsChip,
13495
+ PdsCombobox,
11390
13496
  PdsCopytext,
11391
13497
  PdsDivider,
11392
13498
  PdsDropdownMenu,
@@ -11403,6 +13509,7 @@ registerComponents([
11403
13509
  PdsModalHeader,
11404
13510
  PdsPopover,
11405
13511
  PdsProgress,
13512
+ PdsProperty,
11406
13513
  PdsRadio,
11407
13514
  PdsRow,
11408
13515
  PdsSelect,