@pine-ds/core 4.4.4 → 4.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (546) hide show
  1. package/components/attributes.js +1 -1
  2. package/components/index.js +1 -1
  3. package/components/mock-pds-modal.js +1 -1
  4. package/components/pds-combobox.js +1 -1
  5. package/components/pds-container.js +1 -1
  6. package/components/pds-copytext.js +1 -1
  7. package/components/pds-datepicker.js +1 -1
  8. package/components/pds-divider.js +1 -1
  9. package/components/pds-drawer-content.js +1 -1
  10. package/components/pds-drawer-footer.js +1 -1
  11. package/components/pds-drawer-header.js +1 -1
  12. package/components/pds-drawer.js +1 -1
  13. package/components/pds-dropdown-menu-item.js +1 -1
  14. package/components/pds-dropdown-menu-separator.js +1 -1
  15. package/components/pds-dropdown-menu.js +1 -1
  16. package/components/pds-filter.js +1 -1
  17. package/components/pds-filters.js +1 -1
  18. package/components/pds-icon2.js +1 -1
  19. package/components/pds-image.js +1 -1
  20. package/components/pds-input2.js +1 -1
  21. package/components/pds-link2.js +1 -1
  22. package/components/pds-loader2.js +1 -1
  23. package/components/pds-modal-content.js +1 -1
  24. package/components/pds-modal-footer.js +1 -1
  25. package/components/pds-modal-header.js +1 -1
  26. package/components/pds-modal2.js +1 -1
  27. package/components/pds-multiselect.js +1 -1
  28. package/components/pds-popover.js +1 -1
  29. package/components/pds-progress.js +1 -1
  30. package/components/pds-property.js +1 -1
  31. package/components/pds-radio-group.js +1 -1
  32. package/components/pds-radio.js +1 -1
  33. package/components/pds-row.js +1 -1
  34. package/components/pds-select.js +1 -1
  35. package/components/pds-sortable-item.js +1 -1
  36. package/components/pds-sortable.js +1 -1
  37. package/components/pds-switch.js +1 -1
  38. package/components/pds-tab.js +1 -1
  39. package/components/pds-table-body.js +1 -1
  40. package/components/pds-table-cell2.js +1 -1
  41. package/components/pds-table-head-cell2.js +1 -1
  42. package/components/pds-table-head.js +1 -1
  43. package/components/pds-table-row.js +1 -1
  44. package/components/pds-tabpanel.js +1 -1
  45. package/components/pds-tabs.js +1 -1
  46. package/components/pds-text2.js +1 -1
  47. package/components/pds-textarea.js +1 -1
  48. package/components/pds-toast.js +1 -1
  49. package/components/pds-tooltip.js +1 -1
  50. package/dist/cjs/{attributes-DrQqSEv4.js → attributes-BJ7KBHql.js} +22 -25
  51. package/dist/cjs/{index-D-QQKB0y.js → index-5Azb8EQG.js} +1 -1
  52. package/dist/cjs/{index-D8Gl0bIB.js → index-jl_Q819j.js} +10 -1
  53. package/dist/cjs/index.cjs.js +3 -0
  54. package/dist/cjs/keep-hydrated-CiXgkEYd.js +196 -0
  55. package/dist/cjs/loader.cjs.js +3 -2
  56. package/dist/cjs/mock-pds-modal.cjs.entry.js +3 -2
  57. package/dist/cjs/pds-accordion.cjs.entry.js +3 -2
  58. package/dist/cjs/pds-alert.cjs.entry.js +2 -1
  59. package/dist/cjs/pds-avatar.cjs.entry.js +3 -2
  60. package/dist/cjs/pds-box.cjs.entry.js +3 -2
  61. package/dist/cjs/pds-button.cjs.entry.js +3 -2
  62. package/dist/cjs/pds-checkbox.cjs.entry.js +4 -3
  63. package/dist/cjs/pds-chip.cjs.entry.js +4 -3
  64. package/dist/cjs/pds-combobox.cjs.entry.js +156 -26
  65. package/dist/cjs/pds-container.cjs.entry.js +3 -2
  66. package/dist/cjs/pds-copytext.cjs.entry.js +5 -4
  67. package/dist/cjs/pds-datepicker.cjs.entry.js +6 -5
  68. package/dist/cjs/pds-divider.cjs.entry.js +3 -2
  69. package/dist/cjs/pds-drawer-content.cjs.entry.js +3 -2
  70. package/dist/cjs/pds-drawer-footer.cjs.entry.js +3 -2
  71. package/dist/cjs/pds-drawer-header.cjs.entry.js +3 -2
  72. package/dist/cjs/pds-drawer.cjs.entry.js +4 -3
  73. package/dist/cjs/pds-dropdown-menu-item.cjs.entry.js +3 -2
  74. package/dist/cjs/pds-dropdown-menu-separator.cjs.entry.js +3 -2
  75. package/dist/cjs/pds-dropdown-menu.cjs.entry.js +16 -7
  76. package/dist/cjs/pds-filter.cjs.entry.js +4 -3
  77. package/dist/cjs/pds-filters.cjs.entry.js +3 -2
  78. package/dist/cjs/pds-icon.cjs.entry.js +27 -3
  79. package/dist/cjs/pds-image.cjs.entry.js +4 -3
  80. package/dist/cjs/pds-input.cjs.entry.js +6 -5
  81. package/dist/cjs/pds-link.cjs.entry.js +5 -4
  82. package/dist/cjs/pds-loader.cjs.entry.js +4 -3
  83. package/dist/cjs/pds-modal-content.cjs.entry.js +4 -3
  84. package/dist/cjs/pds-modal-footer.cjs.entry.js +3 -2
  85. package/dist/cjs/pds-modal-header.cjs.entry.js +3 -2
  86. package/dist/cjs/pds-modal.cjs.entry.js +5 -4
  87. package/dist/cjs/pds-multiselect.cjs.entry.js +6 -5
  88. package/dist/cjs/pds-popover.cjs.entry.js +58 -11
  89. package/dist/cjs/pds-progress.cjs.entry.js +4 -3
  90. package/dist/cjs/pds-property.cjs.entry.js +3 -2
  91. package/dist/cjs/pds-radio-group.cjs.entry.js +6 -5
  92. package/dist/cjs/pds-radio.cjs.entry.js +7 -6
  93. package/dist/cjs/pds-row.cjs.entry.js +4 -3
  94. package/dist/cjs/pds-select.cjs.entry.js +5 -4
  95. package/dist/cjs/pds-sortable-item.cjs.entry.js +5 -4
  96. package/dist/cjs/pds-sortable.cjs.entry.js +4 -3
  97. package/dist/cjs/pds-switch.cjs.entry.js +7 -6
  98. package/dist/cjs/pds-tab.cjs.entry.js +13 -1
  99. package/dist/cjs/pds-table-body.cjs.entry.js +3 -2
  100. package/dist/cjs/pds-table-cell.cjs.entry.js +4 -3
  101. package/dist/cjs/pds-table-head-cell.cjs.entry.js +5 -4
  102. package/dist/cjs/pds-table-head.cjs.entry.js +3 -2
  103. package/dist/cjs/pds-table-row.cjs.entry.js +3 -2
  104. package/dist/cjs/pds-table.cjs.entry.js +2 -1
  105. package/dist/cjs/pds-tabpanel.cjs.entry.js +15 -2
  106. package/dist/cjs/pds-tabs.cjs.entry.js +111 -6
  107. package/dist/cjs/pds-text.cjs.entry.js +3 -2
  108. package/dist/cjs/pds-textarea.cjs.entry.js +8 -7
  109. package/dist/cjs/pds-toast.cjs.entry.js +5 -4
  110. package/dist/cjs/pds-tooltip.cjs.entry.js +4 -3
  111. package/dist/cjs/pine-core.cjs.js +3 -2
  112. package/dist/collection/collection-manifest.json +2 -1
  113. package/dist/collection/components/pds-combobox/grouped-options-panel.js +21 -3
  114. package/dist/collection/components/pds-combobox/pds-combobox.css +42 -13
  115. package/dist/collection/components/pds-combobox/pds-combobox.js +135 -22
  116. package/dist/collection/components/pds-combobox/stories/pds-combobox.stories.js +45 -0
  117. package/dist/collection/components/pds-container/pds-container.js +1 -1
  118. package/dist/collection/components/pds-copytext/pds-copytext.js +1 -1
  119. package/dist/collection/components/pds-datepicker/pds-datepicker.css +4 -2
  120. package/dist/collection/components/pds-datepicker/pds-datepicker.js +2 -2
  121. package/dist/collection/components/pds-divider/pds-divider.js +1 -1
  122. package/dist/collection/components/pds-drawer/pds-drawer-content/pds-drawer-content.js +1 -1
  123. package/dist/collection/components/pds-drawer/pds-drawer-footer/pds-drawer-footer.js +1 -1
  124. package/dist/collection/components/pds-drawer/pds-drawer-header/pds-drawer-header.js +1 -1
  125. package/dist/collection/components/pds-drawer/pds-drawer.js +2 -2
  126. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-item/pds-dropdown-menu-item.js +1 -1
  127. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu-separator/pds-dropdown-menu-separator.js +1 -1
  128. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.css +19 -5
  129. package/dist/collection/components/pds-dropdown-menu/pds-dropdown-menu.js +16 -5
  130. package/dist/collection/components/pds-filters/pds-filter/pds-filter.js +1 -1
  131. package/dist/collection/components/pds-filters/pds-filters.js +1 -1
  132. package/dist/collection/components/pds-image/pds-image.js +2 -2
  133. package/dist/collection/components/pds-input/pds-input.js +2 -2
  134. package/dist/collection/components/pds-link/pds-link.js +2 -2
  135. package/dist/collection/components/pds-loader/pds-loader.js +1 -1
  136. package/dist/collection/components/pds-modal/pds-modal-content/pds-modal-content.js +2 -2
  137. package/dist/collection/components/pds-modal/pds-modal-footer/pds-modal-footer.js +1 -1
  138. package/dist/collection/components/pds-modal/pds-modal-header/pds-modal-header.js +1 -1
  139. package/dist/collection/components/pds-modal/pds-modal.js +3 -3
  140. package/dist/collection/components/pds-modal/test/mock-pds-modal.js +1 -1
  141. package/dist/collection/components/pds-multiselect/pds-multiselect.js +3 -3
  142. package/dist/collection/components/pds-popover/pds-popover.js +15 -9
  143. package/dist/collection/components/pds-progress/pds-progress.js +1 -1
  144. package/dist/collection/components/pds-property/pds-property.js +1 -1
  145. package/dist/collection/components/pds-radio/pds-radio.js +3 -3
  146. package/dist/collection/components/pds-radio-group/pds-radio-group.js +3 -3
  147. package/dist/collection/components/pds-row/pds-row.js +1 -1
  148. package/dist/collection/components/pds-select/pds-select.js +1 -1
  149. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +1 -1
  150. package/dist/collection/components/pds-sortable/pds-sortable.js +1 -1
  151. package/dist/collection/components/pds-switch/pds-switch.js +3 -3
  152. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +1 -1
  153. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +2 -2
  154. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +1 -1
  155. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +2 -2
  156. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +1 -1
  157. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +11 -0
  158. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +13 -1
  159. package/dist/collection/components/pds-tabs/pds-tabs.js +111 -7
  160. package/dist/collection/components/pds-text/pds-text.js +1 -1
  161. package/dist/collection/components/pds-textarea/pds-textarea.js +4 -4
  162. package/dist/collection/components/pds-toast/pds-toast.js +3 -3
  163. package/dist/collection/components/pds-tooltip/pds-tooltip.js +2 -2
  164. package/dist/collection/global/pine-global.js +6 -0
  165. package/dist/collection/index.js +1 -0
  166. package/dist/collection/utils/attributes.js +20 -24
  167. package/dist/collection/utils/css.js +41 -0
  168. package/dist/collection/utils/keep-hydrated.js +188 -0
  169. package/dist/docs.json +15 -6
  170. package/dist/esm/{attributes-myrJDwbR.js → attributes-WXw_I_uJ.js} +21 -24
  171. package/dist/esm/{index-DxI-61GK.js → index-BJXk71tO.js} +1 -1
  172. package/dist/esm/{index-bLhIfh0N.js → index-Cw9J31qd.js} +10 -1
  173. package/dist/esm/index.js +2 -0
  174. package/dist/esm/keep-hydrated-BLG6RDBt.js +190 -0
  175. package/dist/esm/loader.js +4 -3
  176. package/dist/esm/mock-pds-modal.entry.js +3 -2
  177. package/dist/esm/pds-accordion.entry.js +3 -2
  178. package/dist/esm/pds-alert.entry.js +2 -1
  179. package/dist/esm/pds-avatar.entry.js +3 -2
  180. package/dist/esm/pds-box.entry.js +3 -2
  181. package/dist/esm/pds-button.entry.js +3 -2
  182. package/dist/esm/pds-checkbox.entry.js +4 -3
  183. package/dist/esm/pds-chip.entry.js +4 -3
  184. package/dist/esm/pds-combobox.entry.js +156 -26
  185. package/dist/esm/pds-container.entry.js +3 -2
  186. package/dist/esm/pds-copytext.entry.js +5 -4
  187. package/dist/esm/pds-datepicker.entry.js +6 -5
  188. package/dist/esm/pds-divider.entry.js +3 -2
  189. package/dist/esm/pds-drawer-content.entry.js +3 -2
  190. package/dist/esm/pds-drawer-footer.entry.js +3 -2
  191. package/dist/esm/pds-drawer-header.entry.js +3 -2
  192. package/dist/esm/pds-drawer.entry.js +4 -3
  193. package/dist/esm/pds-dropdown-menu-item.entry.js +3 -2
  194. package/dist/esm/pds-dropdown-menu-separator.entry.js +3 -2
  195. package/dist/esm/pds-dropdown-menu.entry.js +16 -7
  196. package/dist/esm/pds-filter.entry.js +4 -3
  197. package/dist/esm/pds-filters.entry.js +3 -2
  198. package/dist/esm/pds-icon.entry.js +27 -3
  199. package/dist/esm/pds-image.entry.js +4 -3
  200. package/dist/esm/pds-input.entry.js +6 -5
  201. package/dist/esm/pds-link.entry.js +5 -4
  202. package/dist/esm/pds-loader.entry.js +4 -3
  203. package/dist/esm/pds-modal-content.entry.js +4 -3
  204. package/dist/esm/pds-modal-footer.entry.js +3 -2
  205. package/dist/esm/pds-modal-header.entry.js +3 -2
  206. package/dist/esm/pds-modal.entry.js +5 -4
  207. package/dist/esm/pds-multiselect.entry.js +6 -5
  208. package/dist/esm/pds-popover.entry.js +58 -11
  209. package/dist/esm/pds-progress.entry.js +4 -3
  210. package/dist/esm/pds-property.entry.js +3 -2
  211. package/dist/esm/pds-radio-group.entry.js +6 -5
  212. package/dist/esm/pds-radio.entry.js +7 -6
  213. package/dist/esm/pds-row.entry.js +4 -3
  214. package/dist/esm/pds-select.entry.js +5 -4
  215. package/dist/esm/pds-sortable-item.entry.js +5 -4
  216. package/dist/esm/pds-sortable.entry.js +4 -3
  217. package/dist/esm/pds-switch.entry.js +7 -6
  218. package/dist/esm/pds-tab.entry.js +13 -1
  219. package/dist/esm/pds-table-body.entry.js +3 -2
  220. package/dist/esm/pds-table-cell.entry.js +4 -3
  221. package/dist/esm/pds-table-head-cell.entry.js +5 -4
  222. package/dist/esm/pds-table-head.entry.js +3 -2
  223. package/dist/esm/pds-table-row.entry.js +3 -2
  224. package/dist/esm/pds-table.entry.js +2 -1
  225. package/dist/esm/pds-tabpanel.entry.js +15 -2
  226. package/dist/esm/pds-tabs.entry.js +111 -6
  227. package/dist/esm/pds-text.entry.js +3 -2
  228. package/dist/esm/pds-textarea.entry.js +8 -7
  229. package/dist/esm/pds-toast.entry.js +5 -4
  230. package/dist/esm/pds-tooltip.entry.js +4 -3
  231. package/dist/esm/pine-core.js +4 -3
  232. package/dist/esm-es5/attributes-WXw_I_uJ.js +1 -0
  233. package/dist/esm-es5/{index-bLhIfh0N.js → index-Cw9J31qd.js} +2 -2
  234. package/dist/esm-es5/index.js +1 -1
  235. package/dist/esm-es5/keep-hydrated-BLG6RDBt.js +1 -0
  236. package/dist/esm-es5/loader.js +1 -1
  237. package/dist/esm-es5/mock-pds-modal.entry.js +1 -1
  238. package/dist/esm-es5/pds-accordion.entry.js +1 -1
  239. package/dist/esm-es5/pds-alert.entry.js +1 -1
  240. package/dist/esm-es5/pds-avatar.entry.js +1 -1
  241. package/dist/esm-es5/pds-box.entry.js +1 -1
  242. package/dist/esm-es5/pds-button.entry.js +1 -1
  243. package/dist/esm-es5/pds-checkbox.entry.js +1 -1
  244. package/dist/esm-es5/pds-chip.entry.js +1 -1
  245. package/dist/esm-es5/pds-combobox.entry.js +2 -2
  246. package/dist/esm-es5/pds-container.entry.js +1 -1
  247. package/dist/esm-es5/pds-copytext.entry.js +1 -1
  248. package/dist/esm-es5/pds-datepicker.entry.js +1 -1
  249. package/dist/esm-es5/pds-divider.entry.js +1 -1
  250. package/dist/esm-es5/pds-drawer-content.entry.js +1 -1
  251. package/dist/esm-es5/pds-drawer-footer.entry.js +1 -1
  252. package/dist/esm-es5/pds-drawer-header.entry.js +1 -1
  253. package/dist/esm-es5/pds-drawer.entry.js +1 -1
  254. package/dist/esm-es5/pds-dropdown-menu-item.entry.js +1 -1
  255. package/dist/esm-es5/pds-dropdown-menu-separator.entry.js +1 -1
  256. package/dist/esm-es5/pds-dropdown-menu.entry.js +1 -1
  257. package/dist/esm-es5/pds-filter.entry.js +1 -1
  258. package/dist/esm-es5/pds-filters.entry.js +1 -1
  259. package/dist/esm-es5/pds-icon.entry.js +1 -1
  260. package/dist/esm-es5/pds-image.entry.js +1 -1
  261. package/dist/esm-es5/pds-input.entry.js +1 -1
  262. package/dist/esm-es5/pds-link.entry.js +1 -1
  263. package/dist/esm-es5/pds-loader.entry.js +1 -1
  264. package/dist/esm-es5/pds-modal-content.entry.js +1 -1
  265. package/dist/esm-es5/pds-modal-footer.entry.js +1 -1
  266. package/dist/esm-es5/pds-modal-header.entry.js +1 -1
  267. package/dist/esm-es5/pds-modal.entry.js +1 -1
  268. package/dist/esm-es5/pds-multiselect.entry.js +1 -1
  269. package/dist/esm-es5/pds-popover.entry.js +1 -1
  270. package/dist/esm-es5/pds-progress.entry.js +1 -1
  271. package/dist/esm-es5/pds-property.entry.js +1 -1
  272. package/dist/esm-es5/pds-radio-group.entry.js +1 -1
  273. package/dist/esm-es5/pds-radio.entry.js +1 -1
  274. package/dist/esm-es5/pds-row.entry.js +1 -1
  275. package/dist/esm-es5/pds-select.entry.js +1 -1
  276. package/dist/esm-es5/pds-sortable-item.entry.js +1 -1
  277. package/dist/esm-es5/pds-sortable.entry.js +2 -2
  278. package/dist/esm-es5/pds-switch.entry.js +1 -1
  279. package/dist/esm-es5/pds-tab.entry.js +1 -1
  280. package/dist/esm-es5/pds-table-body.entry.js +1 -1
  281. package/dist/esm-es5/pds-table-cell.entry.js +1 -1
  282. package/dist/esm-es5/pds-table-head-cell.entry.js +1 -1
  283. package/dist/esm-es5/pds-table-head.entry.js +1 -1
  284. package/dist/esm-es5/pds-table-row.entry.js +1 -1
  285. package/dist/esm-es5/pds-table.entry.js +1 -1
  286. package/dist/esm-es5/pds-tabpanel.entry.js +1 -1
  287. package/dist/esm-es5/pds-tabs.entry.js +1 -1
  288. package/dist/esm-es5/pds-text.entry.js +1 -1
  289. package/dist/esm-es5/pds-textarea.entry.js +1 -1
  290. package/dist/esm-es5/pds-toast.entry.js +1 -1
  291. package/dist/esm-es5/pds-tooltip.entry.js +1 -1
  292. package/dist/esm-es5/pine-core.js +1 -1
  293. package/dist/pine-core/index.esm.js +1 -1
  294. package/dist/pine-core/p-0092444c.system.entry.js +1 -0
  295. package/dist/pine-core/p-01aa382c.system.entry.js +1 -0
  296. package/dist/pine-core/p-01c9b8f3.entry.js +1 -0
  297. package/dist/pine-core/p-02088776.entry.js +1 -0
  298. package/dist/pine-core/p-049f126a.entry.js +1 -0
  299. package/dist/pine-core/p-080cb087.system.entry.js +1 -0
  300. package/dist/pine-core/p-0913f696.system.entry.js +1 -0
  301. package/dist/pine-core/p-0a84d220.entry.js +1 -0
  302. package/dist/pine-core/{p-f3188c57.system.entry.js → p-0b71ecb6.system.entry.js} +2 -2
  303. package/dist/pine-core/p-1437585e.system.entry.js +1 -0
  304. package/dist/pine-core/p-1ee86d87.system.entry.js +1 -0
  305. package/dist/pine-core/p-208c7dbf.entry.js +1 -0
  306. package/dist/pine-core/p-258770cf.system.entry.js +1 -0
  307. package/dist/pine-core/p-258d5e83.entry.js +1 -0
  308. package/dist/pine-core/p-26642718.entry.js +1 -0
  309. package/dist/pine-core/p-2ac2457b.system.entry.js +1 -0
  310. package/dist/pine-core/p-2cb5483a.system.entry.js +1 -0
  311. package/dist/pine-core/p-341c38f1.system.entry.js +1 -0
  312. package/dist/pine-core/p-3a959459.system.entry.js +1 -0
  313. package/dist/pine-core/p-3c27088f.system.entry.js +1 -0
  314. package/dist/pine-core/p-432d5ec7.entry.js +1 -0
  315. package/dist/pine-core/p-4849fda7.entry.js +1 -0
  316. package/dist/pine-core/p-4d03d1e2.system.entry.js +1 -0
  317. package/dist/pine-core/p-4de8f333.entry.js +1 -0
  318. package/dist/pine-core/p-4f94b4f1.system.entry.js +1 -0
  319. package/dist/pine-core/p-4fa63723.system.entry.js +1 -0
  320. package/dist/pine-core/p-4fd454f6.entry.js +1 -0
  321. package/dist/pine-core/p-5442d983.system.entry.js +1 -0
  322. package/dist/pine-core/p-550c2fd3.entry.js +1 -0
  323. package/dist/pine-core/p-55224683.entry.js +1 -0
  324. package/dist/pine-core/p-57a2f927.entry.js +1 -0
  325. package/dist/pine-core/p-5870b092.system.entry.js +1 -0
  326. package/dist/pine-core/p-5c90091e.system.entry.js +1 -0
  327. package/dist/pine-core/p-602c197f.entry.js +1 -0
  328. package/dist/pine-core/p-646afbca.system.entry.js +1 -0
  329. package/dist/pine-core/p-6bf853c9.entry.js +1 -0
  330. package/dist/pine-core/p-6d3610f9.entry.js +1 -0
  331. package/dist/pine-core/p-6eec23a7.system.entry.js +1 -0
  332. package/dist/pine-core/p-72865997.entry.js +1 -0
  333. package/dist/pine-core/p-73eb47fa.entry.js +1 -0
  334. package/dist/pine-core/p-75ee0403.entry.js +1 -0
  335. package/dist/pine-core/p-77395d62.system.entry.js +1 -0
  336. package/dist/pine-core/p-7a287635.system.entry.js +1 -0
  337. package/dist/pine-core/p-7a5b21d2.system.entry.js +1 -0
  338. package/dist/pine-core/p-7bf6563a.system.entry.js +1 -0
  339. package/dist/pine-core/p-7f367db4.system.entry.js +1 -0
  340. package/dist/pine-core/p-8191498f.system.entry.js +1 -0
  341. package/dist/pine-core/p-82cf4ec6.entry.js +1 -0
  342. package/dist/pine-core/p-84e9b7da.entry.js +1 -0
  343. package/dist/pine-core/p-86040cac.system.entry.js +1 -0
  344. package/dist/pine-core/p-875b0436.system.entry.js +1 -0
  345. package/dist/pine-core/p-8c8cc079.system.entry.js +1 -0
  346. package/dist/pine-core/p-8cc302aa.system.entry.js +1 -0
  347. package/dist/pine-core/p-8d292b48.entry.js +1 -0
  348. package/dist/pine-core/p-8f531063.entry.js +1 -0
  349. package/dist/pine-core/p-9109b90a.entry.js +1 -0
  350. package/dist/pine-core/p-94593f20.system.entry.js +1 -0
  351. package/dist/pine-core/p-9880d251.system.entry.js +1 -0
  352. package/dist/pine-core/p-99459e27.entry.js +1 -0
  353. package/dist/pine-core/p-9a0083dd.system.entry.js +1 -0
  354. package/dist/pine-core/p-9ab95438.entry.js +1 -0
  355. package/dist/pine-core/{p-f83fe305.entry.js → p-9af131d6.system.entry.js} +1 -1
  356. package/dist/pine-core/p-9dcd2cdb.entry.js +1 -0
  357. package/dist/pine-core/p-9e0f920a.system.entry.js +1 -0
  358. package/dist/pine-core/p-BGLP3keB.js +1 -0
  359. package/dist/pine-core/p-BLG6RDBt.js +1 -0
  360. package/dist/pine-core/p-BR5nujVX.system.js +1 -0
  361. package/dist/pine-core/p-CGRdQc49.system.js +2 -0
  362. package/dist/pine-core/p-CmSJytt1.js +2 -0
  363. package/dist/pine-core/p-CuSNnuFu.system.js +1 -0
  364. package/dist/pine-core/p-Cy8cvR7I.system.js +1 -0
  365. package/dist/pine-core/p-XW4H0W6i.system.js +1 -0
  366. package/dist/pine-core/p-a0960b3d.system.entry.js +1 -0
  367. package/dist/pine-core/p-a1230a74.system.entry.js +1 -0
  368. package/dist/pine-core/p-a19cd59c.entry.js +1 -0
  369. package/dist/pine-core/p-a3735199.entry.js +1 -0
  370. package/dist/pine-core/p-a826f290.entry.js +1 -0
  371. package/dist/pine-core/p-a85a6ab9.system.entry.js +1 -0
  372. package/dist/pine-core/p-acce8eb2.entry.js +1 -0
  373. package/dist/pine-core/p-b1548a20.entry.js +1 -0
  374. package/dist/pine-core/p-b69f04b7.entry.js +1 -0
  375. package/dist/pine-core/p-b75b0d09.system.entry.js +1 -0
  376. package/dist/pine-core/p-b8e8a4ce.entry.js +1 -0
  377. package/dist/pine-core/{p-09d10e9e.entry.js → p-b914dde8.entry.js} +2 -2
  378. package/dist/pine-core/p-ba1f65c2.system.entry.js +1 -0
  379. package/dist/pine-core/p-bb68431a.entry.js +1 -0
  380. package/dist/pine-core/p-bd67156b.system.entry.js +1 -0
  381. package/dist/pine-core/p-beb23781.entry.js +1 -0
  382. package/dist/pine-core/p-bf30dec0.entry.js +1 -0
  383. package/dist/pine-core/p-bf7ee3b7.system.entry.js +1 -0
  384. package/dist/pine-core/p-c5c9ed36.system.entry.js +1 -0
  385. package/dist/pine-core/p-cb6a3e4c.system.entry.js +1 -0
  386. package/dist/pine-core/p-cde8eb81.entry.js +1 -0
  387. package/dist/pine-core/p-cf08a6dd.system.entry.js +1 -0
  388. package/dist/pine-core/p-cfd012d4.entry.js +1 -0
  389. package/dist/pine-core/p-d2c91e7a.entry.js +1 -0
  390. package/dist/pine-core/p-da103a54.system.entry.js +1 -0
  391. package/dist/pine-core/p-db17c626.system.entry.js +1 -0
  392. package/dist/pine-core/p-df539c42.system.entry.js +3 -0
  393. package/dist/pine-core/p-e0917a26.entry.js +1 -0
  394. package/dist/pine-core/p-e5420660.entry.js +1 -0
  395. package/dist/pine-core/p-e800a2b1.entry.js +1 -0
  396. package/dist/pine-core/p-e836a041.entry.js +1 -0
  397. package/dist/pine-core/p-e8cb76e8.entry.js +1 -0
  398. package/dist/pine-core/p-ea4d4741.system.entry.js +1 -0
  399. package/dist/pine-core/p-eb5465ce.entry.js +1 -0
  400. package/dist/pine-core/{p-48ab7da8.system.entry.js → p-ebd0bff2.entry.js} +1 -1
  401. package/dist/pine-core/p-ec5428fb.entry.js +1 -0
  402. package/dist/pine-core/p-ed4b979e.entry.js +1 -0
  403. package/dist/pine-core/p-f029b7da.system.entry.js +1 -0
  404. package/dist/pine-core/p-f0d24298.system.entry.js +1 -0
  405. package/dist/pine-core/p-f1702281.entry.js +1 -0
  406. package/dist/pine-core/p-f1f17940.entry.js +2 -0
  407. package/dist/pine-core/p-f25e4731.system.entry.js +1 -0
  408. package/dist/pine-core/p-f2c253d8.entry.js +1 -0
  409. package/dist/pine-core/p-f77905aa.system.entry.js +1 -0
  410. package/dist/pine-core/p-fc25b956.system.entry.js +1 -0
  411. package/dist/pine-core/p-ff3de72e.entry.js +1 -0
  412. package/dist/pine-core/pine-core.esm.js +1 -1
  413. package/dist/pine-core/pine-core.js +1 -1
  414. package/dist/types/components/pds-combobox/combobox-interface.d.ts +8 -1
  415. package/dist/types/components/pds-combobox/grouped-options-panel.d.ts +7 -1
  416. package/dist/types/components/pds-combobox/pds-combobox.d.ts +31 -0
  417. package/dist/types/components/pds-dropdown-menu/pds-dropdown-menu.d.ts +4 -0
  418. package/dist/types/components/pds-tabs/pds-tab/pds-tab.d.ts +3 -0
  419. package/dist/types/components/pds-tabs/pds-tabpanel/pds-tabpanel.d.ts +3 -0
  420. package/dist/types/components/pds-tabs/pds-tabs.d.ts +14 -2
  421. package/dist/types/components.d.ts +5 -5
  422. package/dist/types/global/pine-global.d.ts +2 -0
  423. package/dist/types/index.d.ts +1 -0
  424. package/dist/types/utils/attributes.d.ts +2 -6
  425. package/dist/types/utils/css.d.ts +7 -0
  426. package/dist/types/utils/keep-hydrated.d.ts +56 -0
  427. package/dist/vscode.html-data.json +2 -2
  428. package/hydrate/index.js +673 -144
  429. package/hydrate/index.mjs +673 -144
  430. package/package.json +2 -2
  431. package/dist/esm-es5/attributes-myrJDwbR.js +0 -1
  432. package/dist/pine-core/p-085c92aa.system.entry.js +0 -1
  433. package/dist/pine-core/p-0bfe152a.entry.js +0 -1
  434. package/dist/pine-core/p-0ce3bcf2.system.entry.js +0 -1
  435. package/dist/pine-core/p-1dd395d8.system.entry.js +0 -1
  436. package/dist/pine-core/p-1feace6a.system.entry.js +0 -1
  437. package/dist/pine-core/p-2126b4e4.system.entry.js +0 -1
  438. package/dist/pine-core/p-21abd971.entry.js +0 -1
  439. package/dist/pine-core/p-2212224a.system.entry.js +0 -1
  440. package/dist/pine-core/p-23044953.system.entry.js +0 -1
  441. package/dist/pine-core/p-26d8c4f7.system.entry.js +0 -1
  442. package/dist/pine-core/p-2806fa55.system.entry.js +0 -1
  443. package/dist/pine-core/p-28abc253.system.entry.js +0 -1
  444. package/dist/pine-core/p-2dd3ab72.entry.js +0 -1
  445. package/dist/pine-core/p-30784d57.entry.js +0 -1
  446. package/dist/pine-core/p-3088cd66.entry.js +0 -1
  447. package/dist/pine-core/p-3add97f7.system.entry.js +0 -1
  448. package/dist/pine-core/p-3e829372.system.entry.js +0 -1
  449. package/dist/pine-core/p-40928521.system.entry.js +0 -1
  450. package/dist/pine-core/p-40ebfe59.system.entry.js +0 -1
  451. package/dist/pine-core/p-44cbdf94.system.entry.js +0 -1
  452. package/dist/pine-core/p-468f0dab.system.entry.js +0 -1
  453. package/dist/pine-core/p-4765f7f0.entry.js +0 -1
  454. package/dist/pine-core/p-478e69d1.entry.js +0 -1
  455. package/dist/pine-core/p-4af5f936.entry.js +0 -1
  456. package/dist/pine-core/p-4d3f5098.system.entry.js +0 -1
  457. package/dist/pine-core/p-5064f007.system.entry.js +0 -1
  458. package/dist/pine-core/p-5081a96f.entry.js +0 -1
  459. package/dist/pine-core/p-517e04f6.entry.js +0 -1
  460. package/dist/pine-core/p-51eb36f4.system.entry.js +0 -3
  461. package/dist/pine-core/p-5527e825.system.entry.js +0 -1
  462. package/dist/pine-core/p-563ba784.entry.js +0 -1
  463. package/dist/pine-core/p-5bf397ca.entry.js +0 -1
  464. package/dist/pine-core/p-5c7c2ffa.entry.js +0 -1
  465. package/dist/pine-core/p-5db91557.entry.js +0 -1
  466. package/dist/pine-core/p-60393d52.entry.js +0 -1
  467. package/dist/pine-core/p-60a15bf7.system.entry.js +0 -1
  468. package/dist/pine-core/p-60e687ac.entry.js +0 -1
  469. package/dist/pine-core/p-61ae5a4b.system.entry.js +0 -1
  470. package/dist/pine-core/p-62377463.system.entry.js +0 -1
  471. package/dist/pine-core/p-62974869.entry.js +0 -1
  472. package/dist/pine-core/p-63644dbd.entry.js +0 -1
  473. package/dist/pine-core/p-686b526d.entry.js +0 -1
  474. package/dist/pine-core/p-69f60432.system.entry.js +0 -1
  475. package/dist/pine-core/p-6d6079f5.entry.js +0 -1
  476. package/dist/pine-core/p-6eb2070a.entry.js +0 -1
  477. package/dist/pine-core/p-7386bbdf.system.entry.js +0 -1
  478. package/dist/pine-core/p-74b1b841.entry.js +0 -1
  479. package/dist/pine-core/p-74d93179.system.entry.js +0 -1
  480. package/dist/pine-core/p-7647b568.system.entry.js +0 -1
  481. package/dist/pine-core/p-7698fcfa.system.entry.js +0 -1
  482. package/dist/pine-core/p-778a0228.system.entry.js +0 -1
  483. package/dist/pine-core/p-77e12080.system.entry.js +0 -1
  484. package/dist/pine-core/p-7a9c687d.system.entry.js +0 -1
  485. package/dist/pine-core/p-7fbb7037.entry.js +0 -1
  486. package/dist/pine-core/p-85d77b55.entry.js +0 -1
  487. package/dist/pine-core/p-86978a51.entry.js +0 -1
  488. package/dist/pine-core/p-88728d46.system.entry.js +0 -1
  489. package/dist/pine-core/p-893b02b7.entry.js +0 -1
  490. package/dist/pine-core/p-8d8512ae.system.entry.js +0 -1
  491. package/dist/pine-core/p-93341083.system.entry.js +0 -1
  492. package/dist/pine-core/p-9452adc4.entry.js +0 -1
  493. package/dist/pine-core/p-95649e1c.entry.js +0 -1
  494. package/dist/pine-core/p-977db8b2.entry.js +0 -1
  495. package/dist/pine-core/p-97c04215.system.entry.js +0 -1
  496. package/dist/pine-core/p-9903eb37.system.entry.js +0 -1
  497. package/dist/pine-core/p-9b18314c.entry.js +0 -1
  498. package/dist/pine-core/p-9ca1b473.system.entry.js +0 -1
  499. package/dist/pine-core/p-BwmzR47K.system.js +0 -1
  500. package/dist/pine-core/p-CrXTJmBd.system.js +0 -2
  501. package/dist/pine-core/p-DO9XKAkv.system.js +0 -1
  502. package/dist/pine-core/p-G3CPPJEt.system.js +0 -1
  503. package/dist/pine-core/p-a0f8a61a.entry.js +0 -1
  504. package/dist/pine-core/p-a232dc19.entry.js +0 -1
  505. package/dist/pine-core/p-a44316ad.entry.js +0 -1
  506. package/dist/pine-core/p-a8884f2d.system.entry.js +0 -1
  507. package/dist/pine-core/p-a8f23db0.system.entry.js +0 -1
  508. package/dist/pine-core/p-a9ea3c9d.entry.js +0 -1
  509. package/dist/pine-core/p-ae125139.entry.js +0 -1
  510. package/dist/pine-core/p-af9bce53.entry.js +0 -1
  511. package/dist/pine-core/p-b15777a2.entry.js +0 -1
  512. package/dist/pine-core/p-b2901e60.system.entry.js +0 -1
  513. package/dist/pine-core/p-b82a0693.entry.js +0 -1
  514. package/dist/pine-core/p-b852c82b.system.entry.js +0 -1
  515. package/dist/pine-core/p-b979105e.entry.js +0 -1
  516. package/dist/pine-core/p-bLhIfh0N.js +0 -2
  517. package/dist/pine-core/p-bb9d158c.system.entry.js +0 -1
  518. package/dist/pine-core/p-bc7ba7d3.system.entry.js +0 -1
  519. package/dist/pine-core/p-bd1bdb07.system.entry.js +0 -1
  520. package/dist/pine-core/p-c497d6c6.entry.js +0 -1
  521. package/dist/pine-core/p-c971cdb3.entry.js +0 -1
  522. package/dist/pine-core/p-cbae27a4.system.entry.js +0 -1
  523. package/dist/pine-core/p-cdd21cbe.entry.js +0 -1
  524. package/dist/pine-core/p-ce74a47e.entry.js +0 -2
  525. package/dist/pine-core/p-cf4758a7.entry.js +0 -1
  526. package/dist/pine-core/p-cfc9d4a8.entry.js +0 -1
  527. package/dist/pine-core/p-d1b0b372.entry.js +0 -1
  528. package/dist/pine-core/p-d6002d5b.entry.js +0 -1
  529. package/dist/pine-core/p-d8a6298c.system.entry.js +0 -1
  530. package/dist/pine-core/p-d933227e.system.entry.js +0 -1
  531. package/dist/pine-core/p-d962fc84.entry.js +0 -1
  532. package/dist/pine-core/p-da7a7cca.entry.js +0 -1
  533. package/dist/pine-core/p-daaf653f.system.entry.js +0 -1
  534. package/dist/pine-core/p-dafff7dd.system.entry.js +0 -1
  535. package/dist/pine-core/p-ea9468fb.entry.js +0 -1
  536. package/dist/pine-core/p-ed22da0c.system.entry.js +0 -1
  537. package/dist/pine-core/p-f0632690.system.entry.js +0 -1
  538. package/dist/pine-core/p-f1c6b23a.entry.js +0 -1
  539. package/dist/pine-core/p-f279f435.system.entry.js +0 -1
  540. package/dist/pine-core/p-f33d6417.entry.js +0 -1
  541. package/dist/pine-core/p-f832dcd9.entry.js +0 -1
  542. package/dist/pine-core/p-fe09b6fb.system.entry.js +0 -1
  543. package/dist/pine-core/p-myrJDwbR.js +0 -1
  544. /package/dist/esm-es5/{index-DxI-61GK.js → index-BJXk71tO.js} +0 -0
  545. /package/dist/pine-core/{p-DxI-61GK.js → p-BJXk71tO.js} +0 -0
  546. /package/dist/pine-core/{p-CnO10OxH.system.js → p-n3_ytl_p.system.js} +0 -0
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,o,r){function n(t){return t instanceof o?t:new o((function(i){i(t)}))}return new(o||(o=Promise))((function(o,e){function s(t){try{l(r.next(t))}catch(t){e(t)}}function a(t){try{l(r["throw"](t))}catch(t){e(t)}}function l(t){t.done?o(t.value):n(t.value).then(s,a)}l((r=r.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var o={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},r,n,e,s=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return s.next=a(0),s["throw"]=a(1),s["return"]=a(2),typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(i){return l([t,i])}}function l(a){if(r)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(o=0)),o)try{if(r=1,n&&(e=a[0]&2?n["return"]:a[0]?n["throw"]||((e=n["return"])&&e.call(n),0):n.next)&&!(e=e.call(n,a[1])).done)return e;if(n=0,e)a=[a[0]&2,e.value];switch(a[0]){case 0:case 1:e=a;break;case 4:o.label++;return{value:a[1],done:false};case 5:o.label++;n=a[1];a=[0];continue;case 7:a=o.ops.pop();o.trys.pop();continue;default:if(!(e=o.trys,e=e.length>0&&e[e.length-1])&&(a[0]===6||a[0]===2)){o=0;continue}if(a[0]===3&&(!e||a[1]>e[0]&&a[1]<e[3])){o.label=a[1];break}if(a[0]===6&&o.label<e[1]){o.label=e[1];e=a;break}if(e&&o.label<e[2]){o.label=e[2];o.ops.push(a);break}if(e[2])o.ops.pop();o.trys.pop();continue}a=i.call(t,o)}catch(t){a=[6,t];n=0}finally{r=e=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-CrXTJmBd.system.js","./p-COtCa1Md.system.js"],(function(t){"use strict";var i,o,r,n,e,s,a,l,p;return{setters:[function(t){i=t.r;o=t.h;r=t.H;n=t.a},function(t){e=t.c;s=t.a;a=t.o;l=t.f;p=t.s}],execute:function(){var d=function(){return'.pds-tooltip{--tooltip-border-width-arrow-down:var(--tooltip-sizing-arrow) var(--tooltip-sizing-arrow) 0;--tooltip-border-width-arrow-left:var(--tooltip-sizing-arrow) var(--tooltip-sizing-arrow) var(--tooltip-sizing-arrow) 0;--tooltip-border-width-arrow-right:var(--tooltip-sizing-arrow) 0 var(--tooltip-sizing-arrow) var(--tooltip-sizing-arrow);--tooltip-border-width-arrow-up:0 var(--tooltip-sizing-arrow) var(--tooltip-sizing-arrow);--tooltip-sizing-arrow:6px;--tooltip-sizing-arrow-offset:14px;--tooltip-dimension-max-width:320px}.pds-tooltip__content{background-color:var(--pine-color-primary);border-radius:calc(var(--pine-dimension-xs) * 1.25);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);color:var(--pine-color-text-primary);max-width:var(--tooltip-dimension-max-width);opacity:0;padding:var(--pine-dimension-xs) calc(var(--pine-dimension-md) / 2);position:relative;visibility:hidden;width:-webkit-max-content;width:-moz-max-content;width:max-content}.pds-tooltip--is-open .pds-tooltip__content{opacity:1;visibility:visible;z-index:var(--pine-z-index-raised)}.pds-tooltip.pds-tooltip--has-html-content .pds-tooltip__content{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.pds-tooltip__content::after{border-color:transparent;border-right-color:transparent;border-style:solid;border-width:var(--tooltip-border-width-arrow-left);content:"";height:0;position:absolute;width:0}.pds-tooltip--right .pds-tooltip__content::after{border-inline-end-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-left);left:calc(var(--tooltip-sizing-arrow) * -1);top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pds-tooltip--right-end .pds-tooltip__content::after{border-inline-end-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-left);bottom:var(--tooltip-sizing-arrow-offset);left:calc(var(--tooltip-sizing-arrow) * -1);top:initial}.pds-tooltip--right-start .pds-tooltip__content::after{border-inline-end-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-left);left:calc(var(--tooltip-sizing-arrow) * -1);top:var(--tooltip-sizing-arrow-offset)}.pds-tooltip--top .pds-tooltip__content::after{border-block-start-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-down);bottom:calc(var(--tooltip-sizing-arrow) * -1);left:50%;top:initial;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pds-tooltip--top-start .pds-tooltip__content::after{border-block-start-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-down);bottom:calc(var(--tooltip-sizing-arrow) * -1);left:var(--tooltip-sizing-arrow-offset);top:initial}.pds-tooltip--top-end .pds-tooltip__content::after{border-block-start-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-down);bottom:calc(var(--tooltip-sizing-arrow) * -1);left:initial;right:var(--tooltip-sizing-arrow-offset);top:initial}.pds-tooltip--left .pds-tooltip__content::after{border-inline-start-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-right);left:initial;right:calc(var(--tooltip-sizing-arrow) * -1);top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pds-tooltip--left-end .pds-tooltip__content::after{border-inline-start-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-right);bottom:var(--tooltip-sizing-arrow-offset);left:initial;right:calc(var(--tooltip-sizing-arrow) * -1);top:initial}.pds-tooltip--left-start .pds-tooltip__content::after{border-inline-start-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-right);left:initial;right:calc(var(--tooltip-sizing-arrow) * -1);top:var(--tooltip-sizing-arrow-offset)}.pds-tooltip--bottom .pds-tooltip__content::after{border-block-end-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-up);left:50%;top:calc(var(--tooltip-sizing-arrow) * -1);-webkit-transform:translateX(-50%);transform:translateX(-50%)}.pds-tooltip--bottom-end .pds-tooltip__content::after{border-block-end-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-up);left:initial;right:var(--tooltip-sizing-arrow-offset);top:calc(var(--tooltip-sizing-arrow) * -1)}.pds-tooltip--bottom-start .pds-tooltip__content::after{border-block-end-color:var(--pine-color-primary);border-width:var(--tooltip-border-width-arrow-up);left:var(--tooltip-sizing-arrow-offset);top:calc(var(--tooltip-sizing-arrow) * -1)}.pds-tooltip--no-arrow .pds-tooltip__content::after{border-width:0}'};var h=t("pds_tooltip",function(){function t(t){var o=this;i(this,t);this._isInteractiveOpen=false;this.portalEl=null;this.resolvedPlacement="right";this.triggerEl=null;this.contentDiv=null;this.slotMutationObserver=null;this.currentPathname="";this.pathnameCheckInterval=null;this.stopAutoUpdate=null;this.hasArrow=true;this.htmlContent=false;this.placement="right";this.maxWidth="352px";this.opened=false;this.hasCheckedReconnect=false;this.handleHide=function(){if(o.opened&&!o._isInteractiveOpen){return}o.hideTooltip();o._isInteractiveOpen=false};this.handleShow=function(){if(o.opened&&!o._isInteractiveOpen){return}o._isInteractiveOpen=true;o.showTooltip()};this.handlePageShow=function(){if(o.opened&&!o._isInteractiveOpen){return}o.opened=false;o._isInteractiveOpen=false};this.handleSpaNavigation=function(){if(o.opened&&!o._isInteractiveOpen){return}o.hideTooltip();o._isInteractiveOpen=false};this.checkPathnameChange=function(){if(window.location.pathname!==o.currentPathname){o.currentPathname=window.location.pathname;o.handleSpaNavigation()}}}t.prototype.handleOpenToggle=function(t,i){if(t===false&&i===true){this._isInteractiveOpen=false}};t.prototype.componentWillLoad=function(){this._isInteractiveOpen=false;this.resolvedPlacement=this.placement};t.prototype.componentDidLoad=function(){var t=this;window.addEventListener("pageshow",this.handlePageShow);this.currentPathname=window.location.pathname;this.triggerEl=this.el.querySelector(".pds-tooltip__trigger");var i=this.el.querySelector(".pds-tooltip__content-slot-wrapper");if(i!==null){this.slotMutationObserver=new MutationObserver((function(){if(t.opened&&t.portalEl!==null){t.removePortal();t.createPortal()}}));this.slotMutationObserver.observe(i,{childList:true,subtree:false})}};t.prototype.connectedCallback=function(){this.hasCheckedReconnect=false};t.prototype.disconnectedCallback=function(){window.removeEventListener("pageshow",this.handlePageShow);if(this.slotMutationObserver!==null){this.slotMutationObserver.disconnect();this.slotMutationObserver=null}if(this.portalEl!==null){this.removePortal()}if(this.pathnameCheckInterval!==null){clearInterval(this.pathnameCheckInterval);this.pathnameCheckInterval=null}if(this.stopAutoUpdate!==null){this.stopAutoUpdate();this.stopAutoUpdate=null}};t.prototype.unwrapReconnectedSlots=function(){var t=Array.from(this.el.children).find((function(t){return t.matches(".pds-tooltip__trigger")}));var i=Array.from(this.el.children).find((function(t){return t.matches(".pds-tooltip__content-slot-wrapper")}));if(t===undefined||i===undefined)return;var o=".pds-tooltip__trigger, .pds-tooltip__content-slot-wrapper";var r=function(t){return Array.from(t.children).find((function(t){return t.matches(o)}))};[t,i].forEach((function(o){var n=r(o);var e=function(){var e=n.matches(".pds-tooltip__content-slot-wrapper")?i:t;Array.from(n.childNodes).forEach((function(t){return e===o?o.insertBefore(t,n):e.appendChild(t)}));n.remove();n=r(o)};while(n!==undefined){e()}}))};t.prototype.componentDidRender=function(){if(!this.hasCheckedReconnect){this.unwrapReconnectedSlots();this.hasCheckedReconnect=true}if(this.opened&&this.portalEl===null){this.createPortal()}else if(!this.opened&&this.portalEl!==null){this.removePortal()}if(this.portalEl!==null){this.portalEl.className="pds-tooltip pds-tooltip--".concat(this.resolvedPlacement," ").concat(this.htmlContent?"pds-tooltip--has-html-content":""," ").concat(this.opened?"pds-tooltip--is-open":""," ").concat(this.hasArrow?"":"pds-tooltip--no-arrow");this.portalEl.setAttribute("aria-hidden",this.opened?"false":"true");this.portalEl.setAttribute("aria-live",this.opened?"polite":"off")}};t.prototype.showTooltip=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=true;return[2]}))}))};t.prototype.hideTooltip=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.opened=false;return[2]}))}))};t.prototype.determinePositioningAnchor=function(){var t=this.triggerEl;if(this.triggerEl!==null){var i=this.triggerEl.childNodes;for(var o=0;o<i.length;o++){var r=i[o];if(r.nodeType===Node.ELEMENT_NODE){t=r;break}}}return t};t.prototype.repositionPortal=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,o,r,n,s,d;return __generator(this,(function(h){switch(h.label){case 0:t=this.determinePositioningAnchor();if(!(t!==null&&this.portalEl!==null))return[3,4];h.label=1;case 1:h.trys.push([1,3,,4]);return[4,e(t,this.portalEl,{placement:this.placement,strategy:"fixed",middleware:[a(8),l(),p({padding:5})]})];case 2:i=h.sent(),o=i.x,r=i.y,n=i.placement;this.resolvedPlacement=n;Object.assign(this.portalEl.style,{left:"".concat(o,"px"),top:"".concat(r,"px"),position:"fixed"});this.portalEl.className="pds-tooltip pds-tooltip--".concat(this.resolvedPlacement," ").concat(this.htmlContent?"pds-tooltip--has-html-content":""," ").concat(this.opened?"pds-tooltip--is-open":""," ").concat(this.hasArrow?"":"pds-tooltip--no-arrow");return[3,4];case 3:s=h.sent();console.warn("Failed to position tooltip:",s);this.resolvedPlacement=this.placement;d=t.getBoundingClientRect();this.portalEl.style.left="".concat(d.right+8,"px");this.portalEl.style.top="".concat(d.top,"px");this.portalEl.style.position="fixed";return[3,4];case 4:return[2]}}))}))};t.prototype.createPortal=function(){var t=this;if(this.portalEl!==null)return;this.portalEl=document.createElement("div");this.portalEl.className="pds-tooltip pds-tooltip--".concat(this.resolvedPlacement," ").concat(this.htmlContent?"pds-tooltip--has-html-content":""," ").concat(this.opened?"pds-tooltip--is-open":""," ").concat(this.hasArrow?"":"pds-tooltip--no-arrow");this.portalEl.style.position="fixed";this.portalEl.style.zIndex="var(--pine-z-index-nuclear)";if(this.portalEl.id===""){var i=h.instanceCounter++;var o=this.componentId||this.el.id||"pds-tooltip";this.portalEl.id="".concat(o,"-portal-").concat(i)}if(this.portalEl.getAttribute("id")!==this.portalEl.id){this.portalEl.setAttribute("id",this.portalEl.id)}this.portalEl.setAttribute("role","tooltip");this.portalEl.setAttribute("aria-hidden",this.opened?"false":"true");this.portalEl.setAttribute("aria-live",this.opened?"polite":"off");this.portalEl.style.maxWidth=this.maxWidth;this.contentDiv=document.createElement("div");this.contentDiv.className="pds-tooltip__content";this.contentDiv.setAttribute("aria-hidden",this.opened?"false":"true");this.contentDiv.setAttribute("aria-live",this.opened?"polite":"off");var r=this.el.querySelector(".pds-tooltip__content-slot-wrapper");var n=r===null||r===void 0?void 0:r.querySelector('[slot="content"]');var e=false;if(n!==null){var a=Array.from(n.childNodes);if(a.length>0){var l=a.some((function(t){var i;return t.nodeType===Node.ELEMENT_NODE||t.nodeType===Node.TEXT_NODE&&((i=t.textContent)===null||i===void 0?void 0:i.trim())!==""}));if(l){e=true;a.forEach((function(i){var o;if(i.nodeType===Node.ELEMENT_NODE||i.nodeType===Node.TEXT_NODE&&((o=i.textContent)===null||o===void 0?void 0:o.trim())!==""){t.contentDiv.appendChild(i.cloneNode(true))}}))}}}if(!e&&typeof this.content==="string"&&this.content.trim()!==""){this.contentDiv.textContent=this.content}this.portalEl.appendChild(this.contentDiv);document.body.appendChild(this.portalEl);this.repositionPortal().catch((function(t){console.warn("Failed to position tooltip on creation:",t)}));if(this.triggerEl&&this.portalEl){this.stopAutoUpdate=s(this.triggerEl,this.portalEl,(function(){t.repositionPortal().catch((function(t){console.warn("Failed to reposition tooltip on auto update:",t)}))}))}window.addEventListener("popstate",this.handleSpaNavigation,true);window.addEventListener("hashchange",this.handleSpaNavigation,true);this.pathnameCheckInterval=setInterval(this.checkPathnameChange,100);if(this.triggerEl!==null&&this.portalEl.id!==""){this.triggerEl.setAttribute("aria-describedby",this.portalEl.id)}};t.prototype.removePortal=function(){if(this.stopAutoUpdate!==null){this.stopAutoUpdate();this.stopAutoUpdate=null}if(this.pathnameCheckInterval!==null){clearInterval(this.pathnameCheckInterval);this.pathnameCheckInterval=null}if(this.portalEl!==null){window.removeEventListener("popstate",this.handleSpaNavigation,true);window.removeEventListener("hashchange",this.handleSpaNavigation,true);try{if(this.portalEl.parentNode){this.portalEl.parentNode.removeChild(this.portalEl)}}catch(t){console.warn("Portal element could not be removed from DOM:",t)}this.portalEl=null}if(this.triggerEl!==null){this.triggerEl.removeAttribute("aria-describedby")}this.contentDiv=null};t.prototype.render=function(){var t=this;var i=this.componentId||undefined;return o(r,{key:"e80abb11248d9bf6aec1ae738c61692594975630",id:i,class:{"pds-tooltip--is-open":this.opened}},o("span",{key:"9ff484925a1792302eee230a5c37a0268d536935",class:"pds-tooltip__trigger",onMouseEnter:this.handleShow,onMouseLeave:this.handleHide,onFocusin:this.handleShow,onFocusout:this.handleHide,ref:function(i){return t.triggerEl=i}},o("slot",{key:"738c314a816e82fd81a0c0e9895d51af45b75eb2"})),o("div",{key:"5b0477cd433cae0b53c4d5ce5767dc703be28ee0",class:"pds-tooltip__content-slot-wrapper",hidden:true},o("slot",{key:"51ad497357c1d1547bba69d07fd7fa1b675c021f",name:"content"})))};Object.defineProperty(t.prototype,"el",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{opened:[{handleOpenToggle:0}]}},enumerable:false,configurable:true});return t}());h.instanceCounter=0;h.style=d()}}}));
@@ -1 +0,0 @@
1
- import{r as e,h as i,H as a,a as t}from"./p-bLhIfh0N.js";import{H as n}from"./p-myrJDwbR.js";import{r}from"./p-t3idJwV0.js";const o=class{constructor(i){e(this,i),this.hostKeeper=new n,this.isLoading=!0,this.showLabel=!1,this.size="md",this.variant="spinner",this.getSvgStyle=()=>{if(void 0!==this.size)return{height:this.loaderSize(),width:this.loaderSize()}}}connectedCallback(){this.hostKeeper.connect(this.el)}disconnectedCallback(){this.hostKeeper.disconnect()}restoreSizeDefault(e){this.size=r(this.el,"size",e,"md")}loaderSize(){const e={xs:"24px",sm:"32px",md:"48px",lg:"64px",xl:"80px"};return e[this.size]?e[this.size]:this.size}render(){const e="pds-loader "+(this.isLoading?"":"pds-loader--hidden"),t={"aria-hidden":this.isLoading?null:"true","aria-busy":this.isLoading?"true":null,"aria-live":"polite"};return this.hostKeeper.record(e,{},t),i(a,Object.assign({key:"81f97b8a6adf4d2c0e5516aa2af9054e200629e1",class:e},t),"spinner"===this.variant&&i("div",{key:"6e25806c83d6ddeb1141acdd083654867c6ff8a2",class:"pds-loader--spinner"},i("svg",{key:"4798f27facfcf57da8d408319527fc6083489107",style:this.getSvgStyle(),viewBox:"0 0 200 200",fill:"none",part:"loader-svg"},i("defs",{key:"0c64abfabc18ccd51ef41017e088f6ec10736d61"},i("linearGradient",{key:"3aa61edf6250dc827bf925938b69008860f96596",id:"spinner-secondHalf"},i("stop",{key:"2693d8a866492ef4ca98cbc4beb5f9f1a34a8b52",offset:"0%","stop-opacity":"0","stop-color":"currentColor"}),i("stop",{key:"ae229fdc73733e4d6ab15a6663e67b574bd49b40",offset:"100%","stop-opacity":"0.5","stop-color":"currentColor"})),i("linearGradient",{key:"8ddbb46a1a387113d74a82cc4e3e0e9c7e12d573",id:"spinner-firstHalf"},i("stop",{key:"d166a3c1ae37c3afa898351683b07f5c4d0ee906",offset:"0%","stop-opacity":"1","stop-color":"currentColor"}),i("stop",{key:"e4c9790bc9a645d752aa56c238fb8708310208b5",offset:"100%","stop-opacity":"0.5","stop-color":"currentColor"}))),i("g",{key:"8b3897ff925d4207f9060e2fb69afa657b1b8fe3",class:"pds-loader__spinner-path"},i("path",{key:"603ef195d1fc64d2059d9fbfeb9b14e2bdb1cabe",stroke:"url(#spinner-secondHalf)",d:"M 4 100 A 96 96 0 0 1 196 100"}),i("path",{key:"a649ac9538248f5a22d48008377e18f4407efad9",stroke:"url(#spinner-firstHalf)",d:"M 196 100 A 96 96 0 0 1 4 100"}),i("path",{key:"37f3772b61d1459959cc4d8c0b5c729dbd6953ff",stroke:"currentColor","stroke-linecap":"round",d:"M 4 100 A 96 96 0 0 1 4 98"})))),"typing"===this.variant&&i("div",{key:"e510c2e6498a5542ce6e6573fdc03e8770121cd7",class:"pds-loader--typing"},i("span",{key:"bbf4f5a328175f06b221d9abc73118505a09455d"}),i("span",{key:"9a7e80b28e1455ef9d0c1bdb330a6425a3037709"}),i("span",{key:"f8aa1eb4f822a6d0e2a14a982bbe99866a97815b"})),i("div",{key:"3492189495798a2ea861d0dcb460f1b25d43d565",class:"pds-loader__label "+(this.showLabel?"":"pds-loader--hidden")},i("slot",{key:"c1a19415b513a2a5f76a53d64b0ef5fbb4a5d100",name:"label"},"Loading...")))}get el(){return t(this)}static get watchers(){return{size:[{restoreSizeDefault:0}]}}};o.style=":host{--loader-color:var(--pine-color-primary);-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:var(--pine-dimension-xs)}:host(.pds-loader--hidden),.pds-loader--hidden{border-width:0;clip:rect(0, 0, 0, 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pds-loader--spinner svg{--number-spinner-timing:2s;--number-spinner-path-timing:1.5s;-webkit-animation:rotate var(--number-spinner-timing) linear infinite;animation:rotate var(--number-spinner-timing) linear infinite;color:var(--loader-color)}.pds-loader__spinner-path{stroke-width:8px}@-webkit-keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.pds-loader--typing{--number-typing-timing:1s;--opacity-typing-dot-default:0.4;--opacity-typing-dot-active:1;-ms-flex-align:center;align-items:center;background-color:var(--pine-color-background-muted);border-radius:var(--pine-dimension-sm);-webkit-box-shadow:var(--pine-box-shadow);box-shadow:var(--pine-box-shadow);display:-ms-inline-flexbox;display:inline-flex;gap:var(--pine-dimension-2xs);margin-block:var(--pine-dimension-none);margin-inline:auto;padding-block:15px;padding-inline:20px;position:relative}.pds-loader--typing span{background-color:var(--pine-color-border-hover);block-size:6px;border-radius:var(--pine-border-radius-full);inline-size:6px;opacity:var(--opacity-typing-dot-default)}.pds-loader--typing span:nth-of-type(1){-webkit-animation:var(--number-typing-timing) typing infinite 0.3333s;animation:var(--number-typing-timing) typing infinite 0.3333s}.pds-loader--typing span:nth-of-type(2){-webkit-animation:var(--number-typing-timing) typing infinite 0.6666s;animation:var(--number-typing-timing) typing infinite 0.6666s}.pds-loader--typing span:nth-of-type(3){-webkit-animation:var(--number-typing-timing) typing infinite 0.9999s;animation:var(--number-typing-timing) typing infinite 0.9999s}@-webkit-keyframes typing{50%{opacity:var(--opacity-typing-dot-active);-webkit-transform:scale(1.25);transform:scale(1.25)}}@keyframes typing{50%{opacity:var(--opacity-typing-dot-active);-webkit-transform:scale(1.25);transform:scale(1.25)}}.pds-loader__label{--typography-label-default:var(--pine-font-weight-medium) var(--pine-font-size-body-md)/var(--pine-line-height-body) var(--pine-font-family-body);font:var(--typography-label-default)}";export{o as pds_loader}
@@ -1 +0,0 @@
1
- System.register(["./p-CrXTJmBd.system.js"],(function(n){"use strict";var t,i,e;return{setters:[function(n){t=n.r;i=n.h;e=n.H}],execute:function(){var a=function(){return":host{display:block;margin-inline:auto;max-width:var(--pine-container-max-width, none);width:100%}:host(.pds-container--sm){--pine-container-max-width:340px}:host(.pds-container--md){--pine-container-max-width:520px}:host(.pds-container--lg){--pine-container-max-width:700px}:host(.pds-container--xl){--pine-container-max-width:1064px}:host(.pds-container--full){--pine-container-max-width:1440px}"};var c=new Set(["sm","md","lg","xl","full"]);var r=n("pds_container",function(){function n(n){t(this,n);this.tag="div";this.centered=true}n.prototype.render=function(){var n;var t=this.tag;var a=this.size!==undefined&&c.has(this.size);var r=this.size!==undefined&&!a?this.size:undefined;var s={};if(r)s["--pine-container-max-width"]=r;if(!this.centered)s["margin-inline"]="0";return i(e,{key:"8a01369c4d1817dd083b1ac714ff7c02920f817e",class:(n={},n["pds-container--".concat(this.size)]=a,n),style:Object.keys(s).length?s:undefined},i(t,{key:"7428cb0040896dc11004065cf91ae9d3c3a99c49",part:"container"},i("slot",{key:"5a5b5bbc87c03afc23f1c9a0523fced8c0795efb"})))};return n}());r.style=a()}}}));
@@ -1 +0,0 @@
1
- import{r as s,h as t,H as i,a}from"./p-bLhIfh0N.js";import{H as e}from"./p-myrJDwbR.js";const r=class{constructor(t){s(this,t),this.hostKeeper=new e,this.divider=!1,this.stretch=!1,this.nav=!1}connectedCallback(){this.hostKeeper.connect(this.el)}disconnectedCallback(){this.hostKeeper.disconnect()}tabClickHandler(s){this.componentId===s.detail[1]&&(this.activeTabIndex=s.detail[0],this.activeTabName=this.tabs[this.activeTabIndex].name)}handleKeyDown(s){if(this.isNav)return;const t=s.target.closest("pds-tab"),i=t&&t.closest("pds-tabs")===this.el;["ArrowLeft","ArrowRight","Home","End"].includes(s.key)&&i&&(s.preventDefault(),this.moveActiveTab(s.key))}get isNav(){return!!this.nav}warnOnNavConfig(){var s;if(!(null===(s=this.tabs)||void 0===s?void 0:s.length))return;const t=this.tabs.filter((s=>{const t=s.getAttribute("href");return null!=t&&""!==t})).length;this.nav&&t<this.tabs.length?console.warn("pds-tabs: `nav` is set, so every pds-tab needs an `href`."):!this.nav&&t>0&&console.warn("pds-tabs: a pds-tab has an `href` but `nav` is not set — add `nav` to pds-tabs for navigation mode; the href is ignored in panel mode.")}moveActiveTab(s){const t=this.tabs.length-1;let i=null;switch(s){case"ArrowLeft":i=0===this.activeTabIndex?t:this.activeTabIndex+-1;break;case"ArrowRight":i=this.activeTabIndex===t?0:this.activeTabIndex+1;break;case"Home":i=0;break;case"End":i=t}this.tabs[i].children[0].focus(),this.activeTabName=this.tabs[i].name,this.activeTabIndex=i}findAllChildren(){const s=Array.from(this.el.querySelectorAll("pds-tab")),t=Array.from(this.el.querySelectorAll("pds-tabpanel"));this.tabs=s.filter((s=>s.closest("pds-tabs")===this.el)),this.tabPanels=t.filter((s=>s.closest("pds-tabs")===this.el))}propGeneration(s,t=0){s.parentComponentId=this.componentId.toString(),s.variant=this.variant.toString(),s.selected=this.activeTabName===s.name,s.index=t}passPropsToChildren(){var s;if(!this.nav&&null==this.activeTabName&&this.tabs.length){const t=null!==(s=this.tabs.find((s=>!s.disabled)))&&void 0!==s?s:this.tabs[0];this.activeTabName=t.name}this.tabs.forEach(((s,t)=>{this.activeTabName===s.name&&(this.activeTabIndex=t),this.propGeneration(s,t),s.navMode=this.nav})),this.tabPanels.forEach((s=>{this.propGeneration(s),s.stretch=this.stretch}))}classNames(){let s="pds-tabs";return this.variant&&"primary"!=this.variant&&(s+=` pds-tabs--${this.variant}`),this.divider&&(s+=" pds-tabs--divider"),this.stretch&&(s+=" pds-tabs--stretch"),s}componentWillLoad(){this.findAllChildren(),this.warnOnNavConfig()}componentWillRender(){this.passPropsToChildren()}render(){const s=this.isNav?t("nav",{class:"pds-tabs__tablist","aria-label":this.tablistLabel||void 0,part:"tab-list"},t("slot",{name:"tabs"})):t("div",{class:"pds-tabs__tablist",role:"tablist","aria-label":this.tablistLabel,part:"tab-list"},t("slot",{name:"tabs"})),a=this.classNames();return this.hostKeeper.record(a),t(i,{key:"ea26bc4e4cadd4621511afa01ca2a353a053fd0e","active-tab-name":this.activeTabName,class:a,id:this.componentId},s,t("slot",{key:"3f920708c647920af3d0d50f74b5409d30d70af8",name:"tabpanels"}))}get el(){return a(this)}};r.style=":host{--tabs-dimension-panel-margin-top:var(--pine-dimension-none);--tabs-dimension-panel-padding:0;display:block}.pds-tabs__tablist{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;gap:var(--pine-dimension-md)}:host(.pds-tabs--divider) .pds-tabs__tablist{-webkit-border-after:var(--pine-border-width-thin) solid var(--pine-color-border-subtle);border-block-end:var(--pine-border-width-thin) solid var(--pine-color-border-subtle)}:host(.pds-tabs--stretch){block-size:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host(.pds-tabs--stretch) .pds-tabs__tablist{-ms-flex:0 0 auto;flex:0 0 auto}:host(.pds-tabs--availability) .pds-tabs__tablist{gap:var(--pine-dimension-xs)}:host(.pds-tabs--filter) .pds-tabs__tablist{gap:var(--pine-dimension-sm)}:host(.pds-tabs--pill) .pds-tabs__tablist{background-color:var(--pine-color-background-app);border:var(--pine-border-width-thin) solid var(--pine-color-border-subtle);border-radius:var(--pine-dimension-100);display:-ms-inline-flexbox;display:inline-flex;display:-ms-flexbox;display:flex;gap:0;height:var(--pine-dimension-450)}";export{r as pds_tabs}
@@ -1 +0,0 @@
1
- import{r as a,h as i,H as r,a as t}from"./p-bLhIfh0N.js";import{c as s,u as e}from"./p-DxI-61GK.js";import{r as n}from"./p-t3idJwV0.js";const o=class{constructor(r){a(this,r),this.alt=null,this.badge=!1,this.dropdown=!1,this.image=null,this.initials=null,this.size="lg",this.status=null,this.statusRing=!1,this.variant="customer",this.triggerLabel="Avatar dropdown trigger",this.renderAssetWrapper=()=>{const a={height:this.avatarSize(),width:this.avatarSize()};return i("div",{style:a,part:"asset-wrapper"},this.renderIconOrImage(),this.renderBadge(),this.renderStatus())},this.renderAvatar=()=>this.dropdown?i("button",{class:"pds-avatar__button",type:"button",part:"button","aria-label":this.triggerLabel},this.renderAssetWrapper()):this.renderAssetWrapper(),this.renderBadge=()=>this.badge&&!this.status&&i("pds-icon",{color:"var(--pine-color-purple-600)",class:"pds-avatar__badge",icon:s,size:"33.53%"}),this.renderStatus=()=>{var a;return this.status?i("span",this.dropdown?{class:"pds-avatar__status",part:"status","aria-hidden":"true"}:{class:"pds-avatar__status",part:"status",role:"img","aria-label":null!==(a=this.statusLabel)&&void 0!==a?a:`${this.status} status`}):null},this.renderIconOrImage=()=>this.image?i("img",{alt:this.alt,src:this.image}):this.initials?i("svg",{class:"pds-avatar__initials",part:"initials",viewBox:"0 0 32 32"},i("text",{x:"16",y:"20"},this.initials)):i("pds-icon",{color:"var(--pine-color-brand)",icon:e,size:"33.53%"}),this.classNames=()=>({"pds-avatar":!0,"pds-avatar--has-image":""!==this.image&&null!==this.image,"pds-avatar--has-initials":""!==this.initials&&null!==this.initials,[`pds-avatar--${this.variant}`]:"admin"===this.variant,"pds-avatar--status-ring":!!this.status&&this.statusRing})}restoreSizeDefault(a){this.size=n(this.el,"size",a,"lg")}restoreVariantDefault(a){this.variant=n(this.el,"variant",a,"customer")}avatarSize(){const a={xs:"24px",sm:"32px",md:"40px",lg:"56px",xl:"64px"};return a[this.size]?a[this.size]:this.size}render(){return i(r,{key:"2cfbbe25504088ba2cbb3dc923680365fa78a170",id:this.componentId,class:Object.assign({},this.classNames())},this.renderAvatar())}get el(){return t(this)}static get watchers(){return{size:[{restoreSizeDefault:0}],variant:[{restoreVariantDefault:0}]}}};o.style=":host{display:inline-block}div{--color-background-container:var(--pine-color-background-container-hover);-ms-flex-align:center;align-items:center;background-color:var(--color-background-container);border-radius:var(--border-radius-admin-round, var(--pine-border-radius-full));display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;position:relative}:host(.pds-avatar--admin) div{--border-radius-admin-round:var(--pine-dimension-150);border-radius:var(--border-radius-admin-round)}:host(.pds-avatar--has-image) div{background:transparent}@supports selector(:has){div:has(img){background-color:transparent}}.pds-avatar__button{-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:var(--pine-dimension-none);border-radius:var(--pine-border-radius-full);cursor:pointer;display:-ms-flexbox;display:flex;padding:var(--pine-dimension-none)}.pds-avatar__button:focus-visible{outline:var(--pine-outline-focus)}.pds-avatar__badge{background-color:transparent;border:var(--pine-dimension-none);border-color:transparent;border-radius:var(--pine-border-radius-round);inset-block-end:var(--pine-dimension-none);inset-inline-end:var(--pine-dimension-none);position:absolute}:host([status=online]){--pds-avatar-status-color:var(--pine-color-green-500)}:host([status=away]){--pds-avatar-status-color:var(--pine-color-yellow-500)}:host([status=offline]){--pds-avatar-status-color:var(--pine-color-background-inset-emphasized)}.pds-avatar__status{background-color:var(--pds-avatar-status-color, var(--pine-color-background-inset-emphasized));block-size:28%;border-radius:var(--pine-border-radius-full);-webkit-box-shadow:0 0 0 var(--pine-border-width-thick) var(--pine-color-background-container);box-shadow:0 0 0 var(--pine-border-width-thick) var(--pine-color-background-container);inline-size:28%;inset-block-end:var(--pine-dimension-none);inset-inline-end:var(--pine-dimension-none);min-block-size:var(--pine-dimension-100);min-inline-size:var(--pine-dimension-100);position:absolute}:host(.pds-avatar--status-ring) div{-webkit-box-shadow:0 0 0 var(--pine-border-width-thick) var(--pds-avatar-status-color, var(--pine-color-background-inset-emphasized));box-shadow:0 0 0 var(--pine-border-width-thick) var(--pds-avatar-status-color, var(--pine-color-background-inset-emphasized))}img{border-radius:var(--border-radius-admin-round, var(--pine-border-radius-full));height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.pds-avatar__initials{color:var(--pine-color-brand);fill:var(--pine-color-brand);font-size:var(--pine-font-size-085);font-weight:var(--pine-font-weight-semi-bold);height:100%;text-align:center;width:100%}.pds-avatar__initials text{text-anchor:middle}";export{o as pds_avatar}
@@ -1 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,i,r,n){function e(t){return t instanceof r?t:new r((function(i){i(t)}))}return new(r||(r=Promise))((function(r,o){function a(t){try{l(n.next(t))}catch(t){o(t)}}function s(t){try{l(n["throw"](t))}catch(t){o(t)}}function l(t){t.done?r(t.value):e(t.value).then(a,s)}l((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,e,o,a=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return a.next=s(0),a["throw"]=s(1),a["return"]=s(2),typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(t){return function(i){return l([t,i])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(n=1,e&&(o=s[0]&2?e["return"]:s[0]?e["throw"]||((o=e["return"])&&o.call(e),0):e.next)&&!(o=o.call(e,s[1])).done)return o;if(e=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;e=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=i.call(t,r)}catch(t){s=[6,t];e=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-CrXTJmBd.system.js","./p-DVra397g.system.js"],(function(t){"use strict";var i,r,n,e,o,a;return{setters:[function(t){i=t.r;r=t.c;n=t.h;e=t.H;o=t.a},function(t){a=t.g}],execute:function(){var s=function(){return'@charset "UTF-8";:host{--color-background-default:var(--pine-color-background-container);background:var(--color-background-default);border-collapse:separate;border-radius:inherit;-webkit-box-sizing:border-box;box-sizing:border-box;display:table;isolation:isolate;width:100%}:host(:focus-visible){outline:var(--pine-outline-focus)}:host(.pds-table-responsive-host){border-radius:inherit;-webkit-box-sizing:border-box !important;box-sizing:border-box !important;display:block !important;max-width:100% !important;overflow:hidden !important;position:relative !important;width:100% !important}.pds-table-responsive-container{border-radius:inherit;-webkit-box-sizing:border-box !important;box-sizing:border-box !important;overflow-x:auto !important;overflow-y:visible !important;position:relative !important;width:100% !important}.pds-table-responsive-wrapper{border-radius:inherit;-webkit-box-sizing:border-box !important;box-sizing:border-box !important;display:block !important;position:relative !important;width:100% !important}.pds-table-responsive-wrapper .pds-table{display:table !important;min-width:-webkit-max-content !important;min-width:-moz-max-content !important;min-width:max-content !important;table-layout:auto !important;white-space:nowrap !important;width:100% !important}.scroll-shadow-left,.scroll-shadow-right{height:100%;opacity:0;pointer-events:none;position:absolute;top:0;-webkit-transition:opacity 0.1s ease;transition:opacity 0.1s ease;width:4px;z-index:var(--pine-z-index)}.scroll-shadow-left{background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), to(transparent));background:linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent);border-end-start-radius:inherit;border-start-start-radius:inherit;inset-inline-start:0}:host-context([dir=rtl]) .scroll-shadow-left{background:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.1)), to(transparent));background:linear-gradient(to left, rgba(0, 0, 0, 0.1), transparent)}.scroll-shadow-right{background:-webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.1)), to(transparent));background:linear-gradient(to left, rgba(0, 0, 0, 0.1), transparent);border-end-end-radius:inherit;border-start-end-radius:inherit;inset-inline-end:0}:host-context([dir=rtl]) .scroll-shadow-right{background:-webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.1)), to(transparent));background:linear-gradient(to right, rgba(0, 0, 0, 0.1), transparent)}'};var l=t("pds_table",function(){function t(t){i(this,t);this.pdsTableSelectAll=r(this,"pdsTableSelectAll");this.scrollContainer=null;this._responsiveHandleScroll=null;this._responsiveHandleResize=null;this._responsiveResizeObserver=null;this._teardownResponsive=null;this.disableSelectAll=false;this.rowDividers=false;this.defaultSortDirection="asc";this.sortingColumn=null;this.sortingDirection="asc"}t.prototype.componentDidLoad=function(){var t=this;if(this.responsive){this.setupResponsiveScrolling()}if(this.defaultSortColumn){requestAnimationFrame((function(){void t.applyDefaultSort().catch((function(t){console.warn("Failed to apply default sort.",t)}))}))}};t.prototype.applyDefaultSort=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,r,n,e;var o=this;return __generator(this,(function(a){switch(a.label){case 0:i=this.defaultSortDirection==="desc"?"desc":"asc";r=Array.from(this.el.querySelectorAll("pds-table-head-cell[sortable]"));n=r.find((function(t){var i;return((i=t.textContent)!==null&&i!==void 0?i:"").trim()===o.defaultSortColumn}));if(!n)return[3,2];e=((t=n.textContent)!==null&&t!==void 0?t:"").trim();this.sortTable(e,i);this.sortingColumn=e;this.sortingDirection=i;return[4,n.setActiveSort(i)];case 1:a.sent();return[3,3];case 2:console.warn('Default sort column "'.concat(this.defaultSortColumn,'" not found.'));a.label=3;case 3:return[2]}}))}))};t.prototype.disconnectedCallback=function(){if(this._teardownResponsive){this._teardownResponsive();this._teardownResponsive=null}};t.prototype.setupResponsiveScrolling=function(){var t=this;var i,r,n;var e=(i=this.el.shadowRoot)===null||i===void 0?void 0:i.querySelector(".pds-table-responsive-container");var o=(r=this.el.shadowRoot)===null||r===void 0?void 0:r.querySelector(".scroll-shadow-left");var s=(n=this.el.shadowRoot)===null||n===void 0?void 0:n.querySelector(".scroll-shadow-right");if(!e||!o||!s)return;this.scrollContainer=e;this._responsiveHandleScroll=function(){if(!t.scrollContainer)return;var i=t.scrollContainer,r=i.scrollWidth,n=i.clientWidth;var e=r-n;var l=a(t.scrollContainer);o.style.opacity=l>0&&!t.fixedColumn?"1":"0";s.style.opacity=e>0&&l<e-1?"1":"0"};this.scrollContainer.addEventListener("scroll",this._responsiveHandleScroll,{passive:true});if(typeof window!=="undefined"&&window.ResizeObserver){try{this._responsiveResizeObserver=new ResizeObserver((function(){var i;(i=t._responsiveHandleScroll)===null||i===void 0?void 0:i.call(t)}));this._responsiveResizeObserver.observe(this.scrollContainer)}catch(t){}}if(typeof window!=="undefined"){this._responsiveHandleResize=function(){var i;(i=t._responsiveHandleScroll)===null||i===void 0?void 0:i.call(t)};window.addEventListener("resize",this._responsiveHandleResize)}this._teardownResponsive=function(){if(t.scrollContainer&&t._responsiveHandleScroll){t.scrollContainer.removeEventListener("scroll",t._responsiveHandleScroll);t.scrollContainer=null}if(t._responsiveResizeObserver){t._responsiveResizeObserver.disconnect();t._responsiveResizeObserver=null}if(typeof window!=="undefined"&&t._responsiveHandleResize){window.removeEventListener("resize",t._responsiveHandleResize);t._responsiveHandleResize=null}t._responsiveHandleScroll=null};this._responsiveHandleScroll()};t.prototype.classNames=function(){var t=["pds-table"];if(this.compact){t.push("is-compact")}if(this.responsive){t.push("is-responsive")}return t.join(" ")};t.prototype.sortTable=function(t,i){var r=this.el.querySelector("pds-table-body");if(!r)return;var n=Array.from(r.querySelectorAll("pds-table-row"));var e=Array.from(this.el.querySelectorAll("pds-table-head-cell[sortable]"));var o=e.find((function(i){return i.innerText.trim()===t}));if(!o){console.warn('Column "'.concat(t,'" not found.'));return}var a=e.indexOf(o);n.sort((function(t,r){var n=t.querySelector("pds-table-cell:nth-child(".concat(a+1,")")).textContent.trim();var e=r.querySelector("pds-table-cell:nth-child(".concat(a+1,")")).textContent.trim();if(i==="asc"){return n.localeCompare(e,undefined,{sensitivity:"base"})}else{return e.localeCompare(n,undefined,{sensitivity:"base"})}}));r.innerHTML="";n.forEach((function(t){r.appendChild(t)}))};t.prototype.handleTableSort=function(t){if(t.defaultPrevented)return;var i=t.detail.direction;this.sortTable(t.detail.column,i);this.sortingColumn=t.detail.column;this.sortingDirection=i};t.prototype.handleTableSelectAll=function(t){if(t.defaultPrevented)return;var i=this.el.querySelector("pds-table-body");var r=Array.from(i.querySelectorAll("pds-table-row"));r.forEach((function(i){i.isSelected=t.detail.isSelected}))};t.prototype.handleTableSelect=function(t){return __awaiter(this,void 0,void 0,(function(){var i,r,n,e,o;return __generator(this,(function(a){if(t.defaultPrevented)return[2];i=this.el.querySelectorAll("pds-table-row");r=Array.from(i).every((function(t){return t.isSelected}));n=Array.from(i).every((function(t){return!t.isSelected}));e=this.el.querySelector("pds-table-head");if(!e)return[2];o=e.shadowRoot.querySelector("pds-checkbox");if(o){o.checked=r;o.indeterminate=!r&&!n}return[2]}))}))};t.prototype.render=function(){if(this.responsive){return n(e,{class:"pds-table is-responsive pds-table-responsive-host",id:this.componentId,role:"grid",selectable:this.selectable,tabindex:"0",part:"table responsive-table"},n("div",{class:"scroll-shadow-left",part:"scroll-shadow-left"}),n("div",{class:"scroll-shadow-right",part:"scroll-shadow-right"}),n("div",{class:"pds-table-responsive-container",part:"responsive-container"},n("div",{class:"pds-table-responsive-wrapper",part:"responsive-wrapper"},n("div",{class:this.classNames(),part:"table-inner"},n("slot",null)))))}return n(e,{class:this.classNames(),id:this.componentId,role:"grid",selectable:this.selectable,tabindex:"0",part:"table"},n("slot",null))};Object.defineProperty(t.prototype,"el",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());l.style=s()}}}));
@@ -1 +0,0 @@
1
- const a=(a,r)=>{Object.entries(r).forEach((([r,e])=>{a.getAttribute(r)!==e&&a.setAttribute(r,e)}))},r=a=>"string"==typeof a?a.split(/\s+/).filter(Boolean):Object.keys(a).filter((r=>a[r])),e=(a,r=[])=>{const e={};return r.forEach((r=>{a.hasAttribute(r)&&(null!==a.getAttribute(r)&&(e[r]=a.getAttribute(r)),a.removeAttribute(r))})),e},i=["role","aria-activedescendant","aria-atomic","aria-autocomplete","aria-braillelabel","aria-brailleroledescription","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colindextext","aria-colspan","aria-controls","aria-current","aria-describedby","aria-description","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowindextext","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],t=a=>e(a,i);class s{constructor(){this.styling={classes:[],styles:{}},this.observer=null}record(a,e={},i={}){this.styling={classes:r(a),styles:e,attributes:i}}connect(a){var e;null!==(e=this.observer)&&void 0!==e||(this.observer=((a,e)=>{if("undefined"==typeof MutationObserver)return null;const i=new MutationObserver((i=>{const t=e(),s=i.filter((a=>"class"===a.attributeName&&null!=a.oldValue)).flatMap((e=>r(e.oldValue).filter((r=>((a,r)=>{const e=`sc-${a.localName}`;return"hydrated"===r||r===e||r===`${e}-h`||r===`${e}-s`})(a,r)))));((a,{classes:r,styles:e})=>{const i=r.filter((r=>!a.classList.contains(r)));i.length>0&&a.classList.add(...i),Object.entries(e).forEach((([r,e])=>{e&&""===a.style.getPropertyValue(r)&&a.style.setProperty(r,e)}))})(a,Object.assign(Object.assign({},t),{classes:[...t.classes,...s]})),i.forEach((({attributeName:r,oldValue:e})=>{var i;const s=null===(i=t.attributes)||void 0===i?void 0:i[r];null==e||null==s||!1===s||a.hasAttribute(r)||a.setAttribute(r,e)}))}));return i.observe(a,{attributes:!0,attributeOldValue:!0}),i})(a,(()=>this.styling)))}disconnect(){var a;null===(a=this.observer)||void 0===a||a.disconnect(),this.observer=null}}export{s as H,e as a,t as i,a as s}
File without changes